lean2/tests/lean/norm_tac.lean
Leonardo de Moura 9f08156a73 feat(frontends/lean/parser): combine Echo and Show commands into the 'print' command
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
2014-01-05 11:03:35 -08:00

13 lines
441 B
Text

Import Int
Import tactic
SetOption pp::implicit true
SetOption pp::coercion true
SetOption pp::notation false
Variable vector (A : Type) (sz : Nat) : Type
Variable read {A : Type} {sz : Nat} (v : vector A sz) (i : Nat) (H : i < sz) : A
Variable V1 : vector Int 10
Definition D := read V1 1 (by trivial)
print Environment 1
Variable b : Bool
Definition a := b
Theorem T : b => a := (by (* imp_tac() .. normalize_tac() .. assumption_tac() *))