lean4-htt/tests/lean/cases_induction_fresh.lean
2017-03-09 18:41:19 -08:00

19 lines
334 B
Text

example (p q r s: Prop): p ∧ q → r ∧ s → s ∧ q :=
begin
intros h1 h2,
cases h1,
cases h2,
trace_state,
constructor; assumption
end
#print "------------"
example (p q r s: Prop): p ∧ q → r ∧ s → s ∧ q :=
begin
intros h1 h2,
induction h1,
induction h2,
trace_state,
constructor; assumption
end