lean4-htt/tests/lean/run/have6.lean
Leonardo de Moura 0f64b6088c chore(frontends/lean): remove then have ... notation
This notation was a leftover from Lean 0.1.
2017-06-19 14:20:52 -07:00

19 lines
600 B
Text

prelude
definition Prop : Type.{1} := Type.{0}
constant and : Prop → Prop → Prop
infixl `∧`:25 := and
constant and_intro : forall (a b : Prop), a → b → a ∧ b
constants a b c d : Prop
axiom Ha : a
axiom Hb : b
axiom Hc : c
#check
have a ∧ b, from and_intro a b Ha Hb,
have b ∧ a, from and_intro b a Hb Ha,
have H : a ∧ b, from and_intro a b Ha Hb,
have H : a ∧ b, from and_intro a b Ha Hb,
have a ∧ b, from and_intro a b Ha Hb,
have b ∧ a, from and_intro b a Hb Ha,
have H : a ∧ b, from and_intro a b Ha Hb,
have H : a ∧ b, from and_intro a b Ha Hb,
Ha