blob: 3b4452f4afcebbdb99e19aca4aea6301f18d2cd7 [file] [edit]
example (p q : Prop) : p ∧ q → p := by
refine fun ⟨a, b⟩ => a
example (p q : Prop) : p ∧ q → p := by
refine fun a => ?hp
trace_state
exact a.1
example (p q : Prop) : p ∧ q → p := by
refine fun ⟨a, b⟩ => a
example (p q : Prop) : p ∧ q → p := by
refine fun ⟨a, b⟩ => ?hp
trace_state
exact a
example (p q : Prop) : p ∧ q → p := by
refine fun a => ?hp
case hp => exact a.1
example (p q : Prop) : p ∧ q → p := by
refine fun ⟨a, b⟩ => ?hp
case hp => exact a
example (p q : Prop) : p ∧ q → p := by
refine λ ⟨a, b⟩ => ?hp
trace_state
exact a