lean2/tests/lean/calc1.lean
Leonardo de Moura 4ba097a141 feat(frontends/lean): use lowercase commands, replace 'endscope' and 'endnamespace' with 'end'
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
2014-01-05 13:06:36 -08:00

13 lines
240 B
Text

import tactic.
variables a b c d e : Bool.
axiom H1 : a => b.
axiom H2 : b = c.
axiom H3 : c => d.
axiom H4 : d <=> e.
theorem T : a => e
:= calc a => b : H1
... = c : H2
... => d : (by apply H3)
... <=> e : H4.