equal
deleted
inserted
replaced
1805 % |
1805 % |
1806 % we also have the ind_cases method, but what does it do? |
1806 % we also have the ind_cases method, but what does it do? |
1807 In some situations, induction is overkill and a case distinction over all |
1807 In some situations, induction is overkill and a case distinction over all |
1808 constructors of the datatype suffices. |
1808 constructors of the datatype suffices. |
1809 \begin{ttdescription} |
1809 \begin{ttdescription} |
1810 \item[\methdx{Inductive.case_tac} $x$] |
1810 \item[\methdx{case_tac} $x$] |
1811 performs a case analysis for the variable~$x$. |
1811 performs a case analysis for the variable~$x$. |
1812 \end{ttdescription} |
1812 \end{ttdescription} |
1813 |
1813 |
1814 Both tactics can only be applied to a variable, whose typing must be given in |
1814 Both tactics can only be applied to a variable, whose typing must be given in |
1815 some assumption, for example the assumption \isa{x \isasymin \ list(A)}. The tactics |
1815 some assumption, for example the assumption \isa{x \isasymin \ list(A)}. The tactics |