lean4-htt/tests/lean/run/french_quote.lean
2021-03-04 09:43:59 -08:00

14 lines
393 B
Text
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

theorem ex1 (p q : Prop) : p → q → p ∧ q := by
intros
apply And.intro
exact p
exact q
theorem ex2 (p q : Prop) : p → q → p ∧ q :=
fun _ _ => And.intro p q
theorem ex3 (p q : Prop) : p → q → p ∧ q :=
fun _ _ => ⟨p, q
theorem ex4 {a b c : Nat} : a = b → b = c → a = c :=
fun _ _ => Eq.trans a = _ _ = c