IsIdeal.tex 5.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159
  1. \begin{code}
  2. \>[0]\AgdaKeyword{record}\AgdaSpace{}%
  3. \AgdaRecord{IsIdeal}%
  4. \>[154I]\AgdaSymbol{\{}\AgdaBound{a}\AgdaSpace{}%
  5. \AgdaBound{p}\AgdaSpace{}%
  6. \AgdaBound{ℓ}\AgdaSpace{}%
  7. \AgdaSymbol{:}\AgdaSpace{}%
  8. \AgdaPostulate{Level}\AgdaSymbol{\}}\AgdaSpace{}%
  9. \AgdaSymbol{\{}\AgdaBound{A}\AgdaSpace{}%
  10. \AgdaSymbol{:}\AgdaSpace{}%
  11. \AgdaPrimitiveType{Set}\AgdaSpace{}%
  12. \AgdaBound{a}\AgdaSpace{}%
  13. \AgdaSymbol{\}}\AgdaSpace{}%
  14. \AgdaSymbol{(}\AgdaBound{I}\AgdaSpace{}%
  15. \AgdaSymbol{:}\AgdaSpace{}%
  16. \AgdaFunction{Pred}\AgdaSpace{}%
  17. \AgdaBound{A}\AgdaSpace{}%
  18. \AgdaBound{p}\AgdaSymbol{)}\AgdaSpace{}%
  19. \AgdaSymbol{(}\AgdaOperator{\AgdaBound{\AgdaUnderscore{}≈\AgdaUnderscore{}}}\AgdaSpace{}%
  20. \AgdaSymbol{:}\AgdaSpace{}%
  21. \AgdaFunction{Rel}\AgdaSpace{}%
  22. \AgdaBound{A}\AgdaSpace{}%
  23. \AgdaBound{ℓ}\AgdaSymbol{)}\<%
  24. \\
  25. \>[.]\<[154I]%
  26. \>[15]\AgdaSymbol{(}\AgdaBound{+}\AgdaSpace{}%
  27. \AgdaBound{∙}\AgdaSpace{}%
  28. \AgdaSymbol{:}\AgdaSpace{}%
  29. \AgdaFunction{Op₂}\AgdaSpace{}%
  30. \AgdaBound{A}\AgdaSymbol{)}\AgdaSpace{}%
  31. \AgdaSymbol{(}\AgdaOperator{\AgdaBound{{-}\AgdaUnderscore{}}}\AgdaSpace{}%
  32. \AgdaSymbol{:}\AgdaSpace{}%
  33. \AgdaFunction{Op₁}\AgdaSpace{}%
  34. \AgdaBound{A}\AgdaSymbol{)}\AgdaSpace{}%
  35. \AgdaSymbol{(}\AgdaBound{0\#}\AgdaSpace{}%
  36. \AgdaBound{1\#}\AgdaSpace{}%
  37. \AgdaSymbol{:}\AgdaSpace{}%
  38. \AgdaBound{A}\AgdaSymbol{)}\AgdaSpace{}%
  39. \AgdaSymbol{:}\AgdaSpace{}%
  40. \AgdaPrimitiveType{Set}\AgdaSpace{}%
  41. \AgdaSymbol{(}\AgdaBound{a}\AgdaSpace{}%
  42. \AgdaOperator{\AgdaPrimitive{⊔}}\AgdaSpace{}%
  43. \AgdaBound{ℓ}\AgdaSpace{}%
  44. \AgdaOperator{\AgdaPrimitive{⊔}}\AgdaSpace{}%
  45. \AgdaBound{p}\AgdaSymbol{)}\AgdaSpace{}%
  46. \AgdaKeyword{where}\<%
  47. \\
  48. \>[0][@{}l@{\AgdaIndent{0}}]%
  49. \>[2]\AgdaKeyword{field}\<%
  50. \\
  51. \>[2][@{}l@{\AgdaIndent{0}}]%
  52. \>[4]\AgdaField{isRing}\AgdaSpace{}%
  53. \AgdaSymbol{:}\AgdaSpace{}%
  54. \AgdaRecord{IsRing}\AgdaSpace{}%
  55. \AgdaOperator{\AgdaBound{\AgdaUnderscore{}≈\AgdaUnderscore{}}}\AgdaSpace{}%
  56. \AgdaBound{+}\AgdaSpace{}%
  57. \AgdaBound{∙}\AgdaSpace{}%
  58. \AgdaOperator{\AgdaBound{{-}\AgdaUnderscore{}}}\AgdaSpace{}%
  59. \AgdaBound{0\#}\AgdaSpace{}%
  60. \AgdaBound{1\#}\<%
  61. \\
  62. %
  63. \>[4]\AgdaField{isSubGroup}\AgdaSpace{}%
  64. \AgdaSymbol{:}\AgdaSpace{}%
  65. \AgdaRecord{IsSubGroup}\AgdaSpace{}%
  66. \AgdaOperator{\AgdaBound{\AgdaUnderscore{}≈\AgdaUnderscore{}}}\AgdaSpace{}%
  67. \AgdaBound{I}\AgdaSpace{}%
  68. \AgdaBound{+}\AgdaSpace{}%
  69. \AgdaBound{0\#}\AgdaSpace{}%
  70. \AgdaOperator{\AgdaBound{{-}\AgdaUnderscore{}}}\<%
  71. \\
  72. %
  73. \>[4]\AgdaField{idealProp}\AgdaSpace{}%
  74. \AgdaSymbol{:}\AgdaSpace{}%
  75. \AgdaSymbol{(}\AgdaBound{r}\AgdaSpace{}%
  76. \AgdaSymbol{:}\AgdaSpace{}%
  77. \AgdaBound{A}\AgdaSymbol{)}\AgdaSpace{}%
  78. \AgdaSymbol{\{}\AgdaBound{x}\AgdaSpace{}%
  79. \AgdaSymbol{:}\AgdaSpace{}%
  80. \AgdaBound{A}\AgdaSymbol{\}}\AgdaSpace{}%
  81. \AgdaSymbol{(}\AgdaBound{ix}\AgdaSpace{}%
  82. \AgdaSymbol{:}\AgdaSpace{}%
  83. \AgdaBound{I}\AgdaSpace{}%
  84. \AgdaBound{x}\AgdaSymbol{)}\AgdaSpace{}%
  85. \AgdaSymbol{→}\AgdaSpace{}%
  86. \AgdaFunction{IdealProp}\AgdaSpace{}%
  87. \AgdaBound{I}\AgdaSpace{}%
  88. \AgdaBound{∙}\AgdaSpace{}%
  89. \AgdaBound{r}\AgdaSpace{}%
  90. \AgdaBound{x}\AgdaSpace{}%
  91. \AgdaBound{ix}\<%
  92. %% \\
  93. %% %
  94. %% \\[\AgdaEmptyExtraSkip]%
  95. %% %
  96. %% \>[2]\AgdaFunction{ideal$^l$}\AgdaSpace{}%
  97. %% \AgdaSymbol{:}\AgdaSpace{}%
  98. %% \AgdaSymbol{(}\AgdaBound{r}\AgdaSpace{}%
  99. %% \AgdaSymbol{:}\AgdaSpace{}%
  100. %% \AgdaBound{A}\AgdaSymbol{)}\AgdaSpace{}%
  101. %% \AgdaSymbol{\{}\AgdaBound{x}\AgdaSpace{}%
  102. %% \AgdaSymbol{:}\AgdaSpace{}%
  103. %% \AgdaBound{A}\AgdaSymbol{\}}\AgdaSpace{}%
  104. %% \AgdaSymbol{(}\AgdaBound{ix}\AgdaSpace{}%
  105. %% \AgdaSymbol{:}\AgdaSpace{}%
  106. %% \AgdaBound{I}\AgdaSpace{}%
  107. %% \AgdaBound{x}\AgdaSymbol{)}\AgdaSpace{}%
  108. %% \AgdaSymbol{→}\AgdaSpace{}%
  109. %% \AgdaSymbol{(}\AgdaBound{∙}\AgdaSpace{}%
  110. %% \AgdaBound{r}\AgdaSpace{}%
  111. %% \AgdaBound{x}\AgdaSymbol{)}\AgdaSpace{}%
  112. %% \AgdaOperator{\AgdaFunction{∈}}\AgdaSpace{}%
  113. %% \AgdaBound{I}\<%
  114. %% \\
  115. %% %
  116. %% \>[2]\AgdaFunction{ideal$^l$}\AgdaSpace{}%
  117. %% \AgdaBound{r}\AgdaSpace{}%
  118. %% \AgdaSymbol{\{}\AgdaBound{x}\AgdaSymbol{\}}\AgdaSpace{}%
  119. %% \AgdaBound{ix}\AgdaSpace{}%
  120. %% \AgdaSymbol{=}\AgdaSpace{}%
  121. %% \AgdaField{proj₁}\AgdaSpace{}%
  122. %% \AgdaOperator{\AgdaFunction{\$}}\AgdaSpace{}%
  123. %% \AgdaField{idealProp}\AgdaSpace{}%
  124. %% \AgdaBound{r}\AgdaSpace{}%
  125. %% \AgdaBound{ix}\<%
  126. %% \\
  127. %% %
  128. %% \>[2]\AgdaFunction{ideal$^r$}\AgdaSpace{}%
  129. %% \AgdaSymbol{:}\AgdaSpace{}%
  130. %% \AgdaSymbol{(}\AgdaBound{r}\AgdaSpace{}%
  131. %% \AgdaSymbol{:}\AgdaSpace{}%
  132. %% \AgdaBound{A}\AgdaSymbol{)}\AgdaSpace{}%
  133. %% \AgdaSymbol{\{}\AgdaBound{x}\AgdaSpace{}%
  134. %% \AgdaSymbol{:}\AgdaSpace{}%
  135. %% \AgdaBound{A}\AgdaSymbol{\}}\AgdaSpace{}%
  136. %% \AgdaSymbol{(}\AgdaBound{ix}\AgdaSpace{}%
  137. %% \AgdaSymbol{:}\AgdaSpace{}%
  138. %% \AgdaBound{I}\AgdaSpace{}%
  139. %% \AgdaBound{x}\AgdaSymbol{)}\AgdaSpace{}%
  140. %% \AgdaSymbol{→}\AgdaSpace{}%
  141. %% \AgdaSymbol{(}\AgdaBound{∙}\AgdaSpace{}%
  142. %% \AgdaBound{x}\AgdaSpace{}%
  143. %% \AgdaBound{r}\AgdaSymbol{)}\AgdaSpace{}%
  144. %% \AgdaOperator{\AgdaFunction{∈}}\AgdaSpace{}%
  145. %% \AgdaBound{I}\<%
  146. %% \\
  147. %% %
  148. %% \>[2]\AgdaFunction{ideal$^r$}\AgdaSpace{}%
  149. %% \AgdaBound{r}\AgdaSpace{}%
  150. %% \AgdaSymbol{\{}\AgdaBound{x}\AgdaSymbol{\}}\AgdaSpace{}%
  151. %% \AgdaBound{ix}\AgdaSpace{}%
  152. %% \AgdaSymbol{=}\AgdaSpace{}%
  153. %% \AgdaField{proj₂}\AgdaSpace{}%
  154. %% \AgdaOperator{\AgdaFunction{\$}}\AgdaSpace{}%
  155. %% \AgdaField{idealProp}\AgdaSpace{}%
  156. %% \AgdaBound{r}\AgdaSpace{}%
  157. %% \AgdaBound{ix}\<%
  158. \end{code}