lean2/tests/lean/interactive/t7.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

11 lines
256 B
Text

import Int.
(* import("tactic.lua") *)
variable q : Int -> Int -> Bool.
variable p : Int -> Bool.
axiom Ax (a b : Int) (H : q a b) : p b.
variable a : Int.
theorem T (x : Int) : (q a x) => (p x).
(* imp_tac() *).
apply (Ax a).
exact.
done.