Example. Definitions, Datatypes, Induction, Functions › Proving the axioms for nand [isa-001E]

We use the unfold method with the lemma generated by Definition [isa-001D] to replace nand with its definition in our goal:

lemma nandI1: ‹¬A ⟹ nand A B›

lemma nandI2: ‹¬B ⟹ nand A B›

lemma nandE: ‹⟦ nand A B; ¬ A ⟹ C; ¬ B ⟹ C ⟧ ⟹ C›