SubGroup.tex 2.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  1. \begin{code}
  2. \\[\AgdaEmptyExtraSkip]%
  3. \>[0]\AgdaKeyword{record}\AgdaSpace{}%
  4. \AgdaRecord{IsSubGroup}\AgdaSpace{}%
  5. \AgdaSymbol{\{}\AgdaBound{a}\AgdaSpace{}%
  6. \AgdaBound{b}\AgdaSpace{}%
  7. \AgdaBound{ℓ}\AgdaSpace{}%
  8. \AgdaSymbol{:}\AgdaSpace{}%
  9. \AgdaPostulate{Level}\AgdaSymbol{\}}\AgdaSpace{}%
  10. \AgdaSymbol{\{}\AgdaBound{A}\AgdaSpace{}%
  11. \AgdaSymbol{:}\AgdaSpace{}%
  12. \AgdaPrimitiveType{Set}\AgdaSpace{}%
  13. \AgdaBound{a}\AgdaSymbol{\}}\AgdaSpace{}%
  14. \AgdaSymbol{(}\AgdaOperator{\AgdaBound{\AgdaUnderscore{}≈\AgdaUnderscore{}}}\AgdaSpace{}%
  15. \AgdaSymbol{:}\AgdaSpace{}%
  16. \AgdaFunction{Rel}\AgdaSpace{}%
  17. \AgdaBound{A}\AgdaSpace{}%
  18. \AgdaBound{ℓ}\AgdaSymbol{)}\<%
  19. \\
  20. \>[0][@{}l@{\AgdaIndent{0}}]%
  21. \>[4]\AgdaSymbol{(}\AgdaBound{I}\AgdaSpace{}%
  22. \AgdaSymbol{:}\AgdaSpace{}%
  23. \AgdaFunction{Pred}\AgdaSpace{}%
  24. \AgdaBound{A}\AgdaSpace{}%
  25. \AgdaBound{b}\AgdaSymbol{)}\AgdaSpace{}%
  26. \AgdaSymbol{(}\AgdaOperator{\AgdaBound{\AgdaUnderscore{}∙\AgdaUnderscore{}}}\AgdaSpace{}%
  27. \AgdaSymbol{:}\AgdaSpace{}%
  28. \AgdaFunction{Op₂}\AgdaSpace{}%
  29. \AgdaBound{A}\AgdaSymbol{)}\AgdaSpace{}%
  30. \AgdaSymbol{(}\AgdaBound{\ensuremath{\epsilon}}\AgdaSpace{}%
  31. \AgdaSymbol{:}\AgdaSpace{}%
  32. \AgdaBound{A}\AgdaSymbol{)}\AgdaSpace{}%
  33. \AgdaSymbol{(}\AgdaOperator{\AgdaBound{\AgdaUnderscore{}⁻¹}}\AgdaSpace{}%
  34. \AgdaSymbol{:}\AgdaSpace{}%
  35. \AgdaFunction{Op₁}\AgdaSpace{}%
  36. \AgdaBound{A}\AgdaSymbol{)}\AgdaSpace{}%
  37. \AgdaSymbol{:}\AgdaSpace{}%
  38. \AgdaPrimitiveType{Set}\AgdaSpace{}%
  39. \AgdaSymbol{(}\AgdaBound{a}\AgdaSpace{}%
  40. \AgdaOperator{\AgdaPrimitive{⊔}}\AgdaSpace{}%
  41. \AgdaBound{ℓ}\AgdaSpace{}%
  42. \AgdaOperator{\AgdaPrimitive{⊔}}\AgdaSpace{}%
  43. \AgdaBound{b}\AgdaSymbol{)}\AgdaSpace{}%
  44. \AgdaKeyword{where}\<%
  45. \\
  46. \>[0][@{}l@{\AgdaIndent{0}}]%
  47. \>[2]\AgdaKeyword{field}\<%
  48. \\
  49. \>[2][@{}l@{\AgdaIndent{0}}]%
  50. \>[4]\AgdaField{isGroup}\AgdaSpace{}%
  51. \AgdaSymbol{:}\AgdaSpace{}%
  52. \AgdaRecord{IsGroup}\AgdaSpace{}%
  53. \AgdaOperator{\AgdaBound{\AgdaUnderscore{}≈\AgdaUnderscore{}}}\AgdaSpace{}%
  54. \AgdaOperator{\AgdaBound{\AgdaUnderscore{}∙\AgdaUnderscore{}}}\AgdaSpace{}%
  55. \AgdaBound{\ensuremath{\epsilon}}\AgdaSpace{}%
  56. \AgdaOperator{\AgdaBound{\AgdaUnderscore{}⁻¹}}\<%
  57. \\
  58. %
  59. \>[4]\AgdaField{isSubMonoid}\AgdaSpace{}%
  60. \AgdaSymbol{:}\AgdaSpace{}%
  61. \AgdaRecord{IsSubMonoid}\AgdaSpace{}%
  62. \AgdaOperator{\AgdaBound{\AgdaUnderscore{}≈\AgdaUnderscore{}}}\AgdaSpace{}%
  63. \AgdaBound{I}\AgdaSpace{}%
  64. \AgdaOperator{\AgdaBound{\AgdaUnderscore{}∙\AgdaUnderscore{}}}\AgdaSpace{}%
  65. \AgdaBound{\ensuremath{\epsilon}}\<%
  66. \\
  67. %
  68. \>[4]\AgdaOperator{\AgdaField{⁻¹\AgdaUnderscore{}isSubStructure}}\AgdaSpace{}%
  69. \AgdaSymbol{:}\AgdaSpace{}%
  70. \AgdaBound{I}\AgdaSpace{}%
  71. \AgdaOperator{\AgdaFunction{ClosedUnder₁}}\AgdaSpace{}%
  72. \AgdaOperator{\AgdaBound{\AgdaUnderscore{}⁻¹}}\<%
  73. \\
  74. \>[0]\<%
  75. \end{code}