基本上,我想證明以下結果:雙誘導勒柯克
Lemma nat_ind_2 (P: nat -> Prop): P 0 -> P 1 -> (forall n, P n -> P (2+n)) ->
forall n, P n.
也就是所謂的雙感應復發的方案。
我試圖證明它應用感應兩次,但我不知道我會以這種方式得到任何地方。事實上,我被困在那一點:
Proof.
intros. elim n.
exact H.
intros. elim n0.
exact H0.
intros. apply (H1 n1).