lean2/tests/lean/interactive/t7.lean

12 lines
256 B
Text
Raw Normal View History

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.