return to top
source
by_cases (h :)? p splits the main goal into two cases, assuming h : p in the first branch, and h : ¬ p in the second branch.
by_cases (h :)? p
h : p
h : ¬ p
A function applied to a dite is a dite of that function applied to each of the branches.
dite
A function applied to a ite is a ite of that function applied to each of the branches.
ite
A dite whose results do not actually depend on the condition may be reduced to an ite.