| Intuitionistic Logic Explorer | 
      
      
      < Previous  
      Next >
      
       Nearby theorems  | 
  ||
| Mirrors > Home > ILE Home > Th. List > nnind | GIF version | ||
| Description: Principle of Mathematical Induction (inference schema). The first four hypotheses give us the substitution instances we need; the last two are the basis and the induction step. See nnaddcl 9010 for an example of its use. This is an alternative for Metamath 100 proof #74. (Contributed by NM, 10-Jan-1997.) (Revised by Mario Carneiro, 16-Jun-2013.) | 
| Ref | Expression | 
|---|---|
| nnind.1 | ⊢ (𝑥 = 1 → (𝜑 ↔ 𝜓)) | 
| nnind.2 | ⊢ (𝑥 = 𝑦 → (𝜑 ↔ 𝜒)) | 
| nnind.3 | ⊢ (𝑥 = (𝑦 + 1) → (𝜑 ↔ 𝜃)) | 
| nnind.4 | ⊢ (𝑥 = 𝐴 → (𝜑 ↔ 𝜏)) | 
| nnind.5 | ⊢ 𝜓 | 
| nnind.6 | ⊢ (𝑦 ∈ ℕ → (𝜒 → 𝜃)) | 
| Ref | Expression | 
|---|---|
| nnind | ⊢ (𝐴 ∈ ℕ → 𝜏) | 
| Step | Hyp | Ref | Expression | 
|---|---|---|---|
| 1 | 1nn 9001 | . . . . . 6 ⊢ 1 ∈ ℕ | |
| 2 | nnind.5 | . . . . . 6 ⊢ 𝜓 | |
| 3 | nnind.1 | . . . . . . 7 ⊢ (𝑥 = 1 → (𝜑 ↔ 𝜓)) | |
| 4 | 3 | elrab 2920 | . . . . . 6 ⊢ (1 ∈ {𝑥 ∈ ℕ ∣ 𝜑} ↔ (1 ∈ ℕ ∧ 𝜓)) | 
| 5 | 1, 2, 4 | mpbir2an 944 | . . . . 5 ⊢ 1 ∈ {𝑥 ∈ ℕ ∣ 𝜑} | 
| 6 | elrabi 2917 | . . . . . . 7 ⊢ (𝑦 ∈ {𝑥 ∈ ℕ ∣ 𝜑} → 𝑦 ∈ ℕ) | |
| 7 | peano2nn 9002 | . . . . . . . . . 10 ⊢ (𝑦 ∈ ℕ → (𝑦 + 1) ∈ ℕ) | |
| 8 | 7 | a1d 22 | . . . . . . . . 9 ⊢ (𝑦 ∈ ℕ → (𝑦 ∈ ℕ → (𝑦 + 1) ∈ ℕ)) | 
| 9 | nnind.6 | . . . . . . . . 9 ⊢ (𝑦 ∈ ℕ → (𝜒 → 𝜃)) | |
| 10 | 8, 9 | anim12d 335 | . . . . . . . 8 ⊢ (𝑦 ∈ ℕ → ((𝑦 ∈ ℕ ∧ 𝜒) → ((𝑦 + 1) ∈ ℕ ∧ 𝜃))) | 
| 11 | nnind.2 | . . . . . . . . 9 ⊢ (𝑥 = 𝑦 → (𝜑 ↔ 𝜒)) | |
| 12 | 11 | elrab 2920 | . . . . . . . 8 ⊢ (𝑦 ∈ {𝑥 ∈ ℕ ∣ 𝜑} ↔ (𝑦 ∈ ℕ ∧ 𝜒)) | 
| 13 | nnind.3 | . . . . . . . . 9 ⊢ (𝑥 = (𝑦 + 1) → (𝜑 ↔ 𝜃)) | |
| 14 | 13 | elrab 2920 | . . . . . . . 8 ⊢ ((𝑦 + 1) ∈ {𝑥 ∈ ℕ ∣ 𝜑} ↔ ((𝑦 + 1) ∈ ℕ ∧ 𝜃)) | 
| 15 | 10, 12, 14 | 3imtr4g 205 | . . . . . . 7 ⊢ (𝑦 ∈ ℕ → (𝑦 ∈ {𝑥 ∈ ℕ ∣ 𝜑} → (𝑦 + 1) ∈ {𝑥 ∈ ℕ ∣ 𝜑})) | 
| 16 | 6, 15 | mpcom 36 | . . . . . 6 ⊢ (𝑦 ∈ {𝑥 ∈ ℕ ∣ 𝜑} → (𝑦 + 1) ∈ {𝑥 ∈ ℕ ∣ 𝜑}) | 
| 17 | 16 | rgen 2550 | . . . . 5 ⊢ ∀𝑦 ∈ {𝑥 ∈ ℕ ∣ 𝜑} (𝑦 + 1) ∈ {𝑥 ∈ ℕ ∣ 𝜑} | 
| 18 | peano5nni 8993 | . . . . 5 ⊢ ((1 ∈ {𝑥 ∈ ℕ ∣ 𝜑} ∧ ∀𝑦 ∈ {𝑥 ∈ ℕ ∣ 𝜑} (𝑦 + 1) ∈ {𝑥 ∈ ℕ ∣ 𝜑}) → ℕ ⊆ {𝑥 ∈ ℕ ∣ 𝜑}) | |
| 19 | 5, 17, 18 | mp2an 426 | . . . 4 ⊢ ℕ ⊆ {𝑥 ∈ ℕ ∣ 𝜑} | 
| 20 | 19 | sseli 3179 | . . 3 ⊢ (𝐴 ∈ ℕ → 𝐴 ∈ {𝑥 ∈ ℕ ∣ 𝜑}) | 
| 21 | nnind.4 | . . . 4 ⊢ (𝑥 = 𝐴 → (𝜑 ↔ 𝜏)) | |
| 22 | 21 | elrab 2920 | . . 3 ⊢ (𝐴 ∈ {𝑥 ∈ ℕ ∣ 𝜑} ↔ (𝐴 ∈ ℕ ∧ 𝜏)) | 
| 23 | 20, 22 | sylib 122 | . 2 ⊢ (𝐴 ∈ ℕ → (𝐴 ∈ ℕ ∧ 𝜏)) | 
| 24 | 23 | simprd 114 | 1 ⊢ (𝐴 ∈ ℕ → 𝜏) | 
| Colors of variables: wff set class | 
| Syntax hints: → wi 4 ∧ wa 104 ↔ wb 105 = wceq 1364 ∈ wcel 2167 ∀wral 2475 {crab 2479 ⊆ wss 3157 (class class class)co 5922 1c1 7880 + caddc 7882 ℕcn 8990 | 
| This theorem was proved from axioms: ax-mp 5 ax-1 6 ax-2 7 ax-ia1 106 ax-ia2 107 ax-ia3 108 ax-io 710 ax-5 1461 ax-7 1462 ax-gen 1463 ax-ie1 1507 ax-ie2 1508 ax-8 1518 ax-10 1519 ax-11 1520 ax-i12 1521 ax-bndl 1523 ax-4 1524 ax-17 1540 ax-i9 1544 ax-ial 1548 ax-i5r 1549 ax-ext 2178 ax-sep 4151 ax-cnex 7970 ax-resscn 7971 ax-1re 7973 ax-addrcl 7976 | 
| This theorem depends on definitions: df-bi 117 df-3an 982 df-tru 1367 df-nf 1475 df-sb 1777 df-clab 2183 df-cleq 2189 df-clel 2192 df-nfc 2328 df-ral 2480 df-rex 2481 df-rab 2484 df-v 2765 df-un 3161 df-in 3163 df-ss 3170 df-sn 3628 df-pr 3629 df-op 3631 df-uni 3840 df-int 3875 df-br 4034 df-iota 5219 df-fv 5266 df-ov 5925 df-inn 8991 | 
| This theorem is referenced by: nnindALT 9007 nn1m1nn 9008 nnaddcl 9010 nnmulcl 9011 nnge1 9013 nn1gt1 9024 nnsub 9029 zaddcllempos 9363 zaddcllemneg 9365 nneoor 9428 peano5uzti 9434 nn0ind-raph 9443 indstr 9667 exbtwnzlemshrink 10338 exp3vallem 10632 expcllem 10642 expap0 10661 apexp1 10810 seq3coll 10934 resqrexlemover 11175 resqrexlemlo 11178 resqrexlemcalc3 11181 gcdmultiple 12187 rplpwr 12194 prmind2 12288 prmdvdsexp 12316 sqrt2irr 12330 pw2dvdslemn 12333 pcmpt 12512 prmpwdvds 12524 mulgnnass 13287 dvexp 14947 plycolemc 14994 2sqlem10 15366 | 
| Copyright terms: Public domain | W3C validator |