lean2/tests/lean/interactive/t7.lean

10 lines
220 B
Text
Raw Normal View History

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).
apply imp_tac.
apply (Ax a).
assumption.
done.