lean4-htt/tests/lean/run/tactic22.lean
2016-06-10 18:29:41 -07:00

10 lines
286 B
Text

exit
import logic
open tactic
notation `(` h `|` r:(foldl `|` (e r, tactic.or_else r e) h) `)` := r
infixl `;`:15 := tactic.and_then
theorem T (a b c d : Prop) (Ha : a) (Hb : b) (Hc : c) (Hd : d) : a ∧ b ∧ c ∧ d
:= by fixpoint (λ f, (apply and.intro; f | assumption; f | id))