...whichcorrespondsto"proof by case analysis"inclassicalmath.Fornon-recursiveinductivetypes,thetwotacticswillalwayshaveidenticalbehavior.Oftencaseanalysisissufficient,eveninproofsaboutrecursivetypes,anditisnicetoavoidintroducingunneededinductionhypotheses.
(**Thoughapencil-and-paperproofmightclockoutatthispoint,writing"by a routine induction on [e],"itturnsoutnottomakesensetoattackthisproofdirectly.Weneedtousethestandardtrickof%\textit{%#<i>#strengtheningtheinductionhypothesis#</i>#%}%.Wedothatbyprovinganauxiliarylemma:
(**Thoughapencil-and-paperproofmightclockoutatthispoint,writing"by a routine induction on [e],"itturnsoutnottomakesensetoattackthisproofdirectly.Weneedtousethestandardtrickof%\textit{%#<i>#strengtheningtheinductionhypothesis#</i>#%}%.Wedothatbyprovinganauxiliarylemma: