1module Syntax.PreorderReasoning
5-- QED is first to get the precedence to work out. It's just Refl with an explicit argument.
6syntax [expr] "QED" = qed expr
7-- foo ={ prf }= bar ={ prf' }= fnord QED
8-- is a proof that foo is related to fnord, with the intermediate step being bar, justified by prf and prf'
9syntax [from] "={" [prf] "}=" [to] = step from prf to
12 using (a : Type, x : a, y : a, z : a)
13 qed : (x : a) -> x = x
14 qed x = the (x = x) Refl
15 step : (x : a) -> x = y -> (y = z) -> x = z
16 step x Refl Refl = Refl
keysesc to close
- j k
- move down, up
- enter
- open
- esc
- back, or up a level
- 1 2 3 4
- readme, files, commits, refs
- /
- filter
- y
- copy the clone command
- c
- compare the chosen commit with another (or shift-click both)
- ?
- show or hide this list