IdealProp.tex 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. \begin{code}
  2. \>[0]\AgdaFunction{IdealProp}\AgdaSpace{}%
  3. \AgdaSymbol{:}\AgdaSpace{}%
  4. \AgdaSymbol{\{}\AgdaBound{a}\AgdaSpace{}%
  5. \AgdaBound{p}\AgdaSpace{}%
  6. \AgdaSymbol{:}\AgdaSpace{}%
  7. \AgdaPostulate{Level}\AgdaSymbol{\}}\AgdaSpace{}%
  8. \AgdaSymbol{\{}\AgdaBound{A}\AgdaSpace{}%
  9. \AgdaSymbol{:}\AgdaSpace{}%
  10. \AgdaPrimitiveType{Set}\AgdaSpace{}%
  11. \AgdaBound{a}\AgdaSymbol{\}}\AgdaSpace{}%
  12. \AgdaSymbol{(}\AgdaBound{I}\AgdaSpace{}%
  13. \AgdaSymbol{:}\AgdaSpace{}%
  14. \AgdaFunction{Pred}\AgdaSpace{}%
  15. \AgdaBound{A}\AgdaSpace{}%
  16. \AgdaBound{p}\AgdaSymbol{)}\AgdaSpace{}%
  17. \AgdaSymbol{(}\AgdaBound{∙}\AgdaSpace{}%
  18. \AgdaSymbol{:}\AgdaSpace{}%
  19. \AgdaFunction{Op₂}\AgdaSpace{}%
  20. \AgdaBound{A}\AgdaSymbol{)}\AgdaSpace{}%
  21. \AgdaSymbol{→}\<%
  22. \\
  23. \>[0][@{}l@{\AgdaIndent{0}}]%
  24. \>[2]\AgdaSymbol{(}\AgdaBound{r}\AgdaSpace{}%
  25. \AgdaSymbol{:}\AgdaSpace{}%
  26. \AgdaBound{A}\AgdaSymbol{)}\AgdaSpace{}%
  27. \AgdaSymbol{→}%
  28. \>[13]\AgdaSymbol{(}\AgdaBound{x}\AgdaSpace{}%
  29. \AgdaSymbol{:}\AgdaSpace{}%
  30. \AgdaBound{A}\AgdaSymbol{)}\AgdaSpace{}%
  31. \AgdaSymbol{→}\AgdaSpace{}%
  32. \AgdaSymbol{(}\AgdaBound{\AgdaUnderscore{}}\AgdaSpace{}%
  33. \AgdaSymbol{:}\AgdaSpace{}%
  34. \AgdaBound{I}\AgdaSpace{}%
  35. \AgdaBound{x}\AgdaSymbol{)}\AgdaSpace{}%
  36. \AgdaSymbol{→}\AgdaSpace{}%
  37. \AgdaPrimitiveType{Set}\AgdaSpace{}%
  38. \AgdaBound{p}\<%
  39. \\
  40. \>[0]\AgdaFunction{IdealProp}\AgdaSpace{}%
  41. \AgdaBound{I}\AgdaSpace{}%
  42. \AgdaOperator{\AgdaBound{\AgdaUnderscore{}∙\AgdaUnderscore{}}}\AgdaSpace{}%
  43. \AgdaBound{r}\AgdaSpace{}%
  44. \AgdaBound{x}\AgdaSpace{}%
  45. \AgdaBound{ix}\AgdaSpace{}%
  46. \AgdaSymbol{=}\AgdaSpace{}%
  47. \AgdaSymbol{((}\AgdaBound{r}\AgdaSpace{}%
  48. \AgdaOperator{\AgdaBound{∙}}\AgdaSpace{}%
  49. \AgdaBound{x}\AgdaSymbol{)}\AgdaSpace{}%
  50. \AgdaOperator{\AgdaFunction{∈}}\AgdaSpace{}%
  51. \AgdaBound{I}\AgdaSymbol{)}\AgdaSpace{}%
  52. \AgdaOperator{\AgdaFunction{×}}\AgdaSpace{}%
  53. \AgdaSymbol{((}\AgdaBound{x}\AgdaSpace{}%
  54. \AgdaOperator{\AgdaBound{∙}}\AgdaSpace{}%
  55. \AgdaBound{r}\AgdaSymbol{)}\AgdaSpace{}%
  56. \AgdaOperator{\AgdaFunction{∈}}\AgdaSpace{}%
  57. \AgdaBound{I}\AgdaSymbol{)}\<%
  58. \end{code}