b4793df653
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
18 lines
653 B
Text
18 lines
653 B
Text
abbreviation Prop : Type.{1} := Type.{0}
|
|
variable and : Prop → Prop → Prop
|
|
infixl `∧`:25 := and
|
|
variable and_intro : forall (a b : Prop), a → b → a ∧ b
|
|
variables 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 [visible] b ∧ a, from and_intro b a Hb Ha,
|
|
have H : a ∧ b, from and_intro a b Ha Hb,
|
|
have H [visible] : a ∧ b, from and_intro a b Ha Hb,
|
|
then have a ∧ b, from and_intro a b Ha Hb,
|
|
then have [visible] b ∧ a, from and_intro b a Hb Ha,
|
|
then have H : a ∧ b, from and_intro a b Ha Hb,
|
|
then have H [visible] : a ∧ b, from and_intro a b Ha Hb,
|
|
Ha
|