lean2/tests/lean/run/have2.lean
Leonardo de Moura 4560413a92 feat(frontends/lean): add '[fact]' modifier for 'have' expression
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
2014-06-20 11:58:05 -07:00

8 lines
No EOL
174 B
Text

abbreviation Bool : Type.{1} := Type.{0}
variables a b c : Bool
axiom Ha : a
axiom Hb : b
axiom Hc : c
check have H1 [fact] : a, from Ha,
have H2 : a, from H1,
H2