MPE Home Metamath Proof Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >  findsg Structured version   Visualization version   GIF version

Theorem findsg 7720
Description: Principle of Finite Induction (inference schema), using implicit substitutions. The first four hypotheses establish the substitutions we need. The last two are the basis and the induction step. The basis of this version is an arbitrary natural number 𝐵 instead of zero. (Contributed by NM, 16-Sep-1995.)
Hypotheses
Ref Expression
findsg.1 (𝑥 = 𝐵 → (𝜑𝜓))
findsg.2 (𝑥 = 𝑦 → (𝜑𝜒))
findsg.3 (𝑥 = suc 𝑦 → (𝜑𝜃))
findsg.4 (𝑥 = 𝐴 → (𝜑𝜏))
findsg.5 (𝐵 ∈ ω → 𝜓)
findsg.6 (((𝑦 ∈ ω ∧ 𝐵 ∈ ω) ∧ 𝐵𝑦) → (𝜒𝜃))
Assertion
Ref Expression
findsg (((𝐴 ∈ ω ∧ 𝐵 ∈ ω) ∧ 𝐵𝐴) → 𝜏)
Distinct variable groups:   𝑥,𝐴   𝑥,𝑦,𝐵   𝜓,𝑥   𝜒,𝑥   𝜃,𝑥   𝜏,𝑥   𝜑,𝑦
Allowed substitution hints:   𝜑(𝑥)   𝜓(𝑦)   𝜒(𝑦)   𝜃(𝑦)   𝜏(𝑦)   𝐴(𝑦)

Proof of Theorem findsg
StepHypRef Expression
1 sseq2 3943 . . . . . . 7 (𝑥 = ∅ → (𝐵𝑥𝐵 ⊆ ∅))
21adantl 481 . . . . . 6 ((𝐵 = ∅ ∧ 𝑥 = ∅) → (𝐵𝑥𝐵 ⊆ ∅))
3 eqeq2 2750 . . . . . . . 8 (𝐵 = ∅ → (𝑥 = 𝐵𝑥 = ∅))
4 findsg.1 . . . . . . . 8 (𝑥 = 𝐵 → (𝜑𝜓))
53, 4syl6bir 253 . . . . . . 7 (𝐵 = ∅ → (𝑥 = ∅ → (𝜑𝜓)))
65imp 406 . . . . . 6 ((𝐵 = ∅ ∧ 𝑥 = ∅) → (𝜑𝜓))
72, 6imbi12d 344 . . . . 5 ((𝐵 = ∅ ∧ 𝑥 = ∅) → ((𝐵𝑥𝜑) ↔ (𝐵 ⊆ ∅ → 𝜓)))
81imbi1d 341 . . . . . 6 (𝑥 = ∅ → ((𝐵𝑥𝜑) ↔ (𝐵 ⊆ ∅ → 𝜑)))
9 ss0 4329 . . . . . . . . 9 (𝐵 ⊆ ∅ → 𝐵 = ∅)
109con3i 154 . . . . . . . 8 𝐵 = ∅ → ¬ 𝐵 ⊆ ∅)
1110pm2.21d 121 . . . . . . 7 𝐵 = ∅ → (𝐵 ⊆ ∅ → (𝜑𝜓)))
1211pm5.74d 272 . . . . . 6 𝐵 = ∅ → ((𝐵 ⊆ ∅ → 𝜑) ↔ (𝐵 ⊆ ∅ → 𝜓)))
138, 12sylan9bbr 510 . . . . 5 ((¬ 𝐵 = ∅ ∧ 𝑥 = ∅) → ((𝐵𝑥𝜑) ↔ (𝐵 ⊆ ∅ → 𝜓)))
147, 13pm2.61ian 808 . . . 4 (𝑥 = ∅ → ((𝐵𝑥𝜑) ↔ (𝐵 ⊆ ∅ → 𝜓)))
1514imbi2d 340 . . 3 (𝑥 = ∅ → ((𝐵 ∈ ω → (𝐵𝑥𝜑)) ↔ (𝐵 ∈ ω → (𝐵 ⊆ ∅ → 𝜓))))
16 sseq2 3943 . . . . 5 (𝑥 = 𝑦 → (𝐵𝑥𝐵𝑦))
17 findsg.2 . . . . 5 (𝑥 = 𝑦 → (𝜑𝜒))
1816, 17imbi12d 344 . . . 4 (𝑥 = 𝑦 → ((𝐵𝑥𝜑) ↔ (𝐵𝑦𝜒)))
1918imbi2d 340 . . 3 (𝑥 = 𝑦 → ((𝐵 ∈ ω → (𝐵𝑥𝜑)) ↔ (𝐵 ∈ ω → (𝐵𝑦𝜒))))
20 sseq2 3943 . . . . 5 (𝑥 = suc 𝑦 → (𝐵𝑥𝐵 ⊆ suc 𝑦))
21 findsg.3 . . . . 5 (𝑥 = suc 𝑦 → (𝜑𝜃))
2220, 21imbi12d 344 . . . 4 (𝑥 = suc 𝑦 → ((𝐵𝑥𝜑) ↔ (𝐵 ⊆ suc 𝑦𝜃)))
2322imbi2d 340 . . 3 (𝑥 = suc 𝑦 → ((𝐵 ∈ ω → (𝐵𝑥𝜑)) ↔ (𝐵 ∈ ω → (𝐵 ⊆ suc 𝑦𝜃))))
24 sseq2 3943 . . . . 5 (𝑥 = 𝐴 → (𝐵𝑥𝐵𝐴))
25 findsg.4 . . . . 5 (𝑥 = 𝐴 → (𝜑𝜏))
2624, 25imbi12d 344 . . . 4 (𝑥 = 𝐴 → ((𝐵𝑥𝜑) ↔ (𝐵𝐴𝜏)))
2726imbi2d 340 . . 3 (𝑥 = 𝐴 → ((𝐵 ∈ ω → (𝐵𝑥𝜑)) ↔ (𝐵 ∈ ω → (𝐵𝐴𝜏))))
28 findsg.5 . . . 4 (𝐵 ∈ ω → 𝜓)
2928a1d 25 . . 3 (𝐵 ∈ ω → (𝐵 ⊆ ∅ → 𝜓))
30 vex 3426 . . . . . . . . . . . . . 14 𝑦 ∈ V
3130sucex 7633 . . . . . . . . . . . . 13 suc 𝑦 ∈ V
3231eqvinc 3571 . . . . . . . . . . . 12 (suc 𝑦 = 𝐵 ↔ ∃𝑥(𝑥 = suc 𝑦𝑥 = 𝐵))
3328, 4syl5ibr 245 . . . . . . . . . . . . . 14 (𝑥 = 𝐵 → (𝐵 ∈ ω → 𝜑))
3421biimpd 228 . . . . . . . . . . . . . 14 (𝑥 = suc 𝑦 → (𝜑𝜃))
3533, 34sylan9r 508 . . . . . . . . . . . . 13 ((𝑥 = suc 𝑦𝑥 = 𝐵) → (𝐵 ∈ ω → 𝜃))
3635exlimiv 1934 . . . . . . . . . . . 12 (∃𝑥(𝑥 = suc 𝑦𝑥 = 𝐵) → (𝐵 ∈ ω → 𝜃))
3732, 36sylbi 216 . . . . . . . . . . 11 (suc 𝑦 = 𝐵 → (𝐵 ∈ ω → 𝜃))
3837eqcoms 2746 . . . . . . . . . 10 (𝐵 = suc 𝑦 → (𝐵 ∈ ω → 𝜃))
3938imim2i 16 . . . . . . . . 9 ((𝐵 ⊆ suc 𝑦𝐵 = suc 𝑦) → (𝐵 ⊆ suc 𝑦 → (𝐵 ∈ ω → 𝜃)))
4039a1d 25 . . . . . . . 8 ((𝐵 ⊆ suc 𝑦𝐵 = suc 𝑦) → ((𝐵𝑦𝜒) → (𝐵 ⊆ suc 𝑦 → (𝐵 ∈ ω → 𝜃))))
4140com4r 94 . . . . . . 7 (𝐵 ∈ ω → ((𝐵 ⊆ suc 𝑦𝐵 = suc 𝑦) → ((𝐵𝑦𝜒) → (𝐵 ⊆ suc 𝑦𝜃))))
4241adantl 481 . . . . . 6 ((𝑦 ∈ ω ∧ 𝐵 ∈ ω) → ((𝐵 ⊆ suc 𝑦𝐵 = suc 𝑦) → ((𝐵𝑦𝜒) → (𝐵 ⊆ suc 𝑦𝜃))))
43 df-ne 2943 . . . . . . . . 9 (𝐵 ≠ suc 𝑦 ↔ ¬ 𝐵 = suc 𝑦)
4443anbi2i 622 . . . . . . . 8 ((𝐵 ⊆ suc 𝑦𝐵 ≠ suc 𝑦) ↔ (𝐵 ⊆ suc 𝑦 ∧ ¬ 𝐵 = suc 𝑦))
45 annim 403 . . . . . . . 8 ((𝐵 ⊆ suc 𝑦 ∧ ¬ 𝐵 = suc 𝑦) ↔ ¬ (𝐵 ⊆ suc 𝑦𝐵 = suc 𝑦))
4644, 45bitri 274 . . . . . . 7 ((𝐵 ⊆ suc 𝑦𝐵 ≠ suc 𝑦) ↔ ¬ (𝐵 ⊆ suc 𝑦𝐵 = suc 𝑦))
47 nnon 7693 . . . . . . . . 9 (𝐵 ∈ ω → 𝐵 ∈ On)
48 nnon 7693 . . . . . . . . 9 (𝑦 ∈ ω → 𝑦 ∈ On)
49 onsssuc 6338 . . . . . . . . . 10 ((𝐵 ∈ On ∧ 𝑦 ∈ On) → (𝐵𝑦𝐵 ∈ suc 𝑦))
50 suceloni 7635 . . . . . . . . . . 11 (𝑦 ∈ On → suc 𝑦 ∈ On)
51 onelpss 6291 . . . . . . . . . . 11 ((𝐵 ∈ On ∧ suc 𝑦 ∈ On) → (𝐵 ∈ suc 𝑦 ↔ (𝐵 ⊆ suc 𝑦𝐵 ≠ suc 𝑦)))
5250, 51sylan2 592 . . . . . . . . . 10 ((𝐵 ∈ On ∧ 𝑦 ∈ On) → (𝐵 ∈ suc 𝑦 ↔ (𝐵 ⊆ suc 𝑦𝐵 ≠ suc 𝑦)))
5349, 52bitrd 278 . . . . . . . . 9 ((𝐵 ∈ On ∧ 𝑦 ∈ On) → (𝐵𝑦 ↔ (𝐵 ⊆ suc 𝑦𝐵 ≠ suc 𝑦)))
5447, 48, 53syl2anr 596 . . . . . . . 8 ((𝑦 ∈ ω ∧ 𝐵 ∈ ω) → (𝐵𝑦 ↔ (𝐵 ⊆ suc 𝑦𝐵 ≠ suc 𝑦)))
55 findsg.6 . . . . . . . . . . . 12 (((𝑦 ∈ ω ∧ 𝐵 ∈ ω) ∧ 𝐵𝑦) → (𝜒𝜃))
5655ex 412 . . . . . . . . . . 11 ((𝑦 ∈ ω ∧ 𝐵 ∈ ω) → (𝐵𝑦 → (𝜒𝜃)))
5756a1ddd 80 . . . . . . . . . 10 ((𝑦 ∈ ω ∧ 𝐵 ∈ ω) → (𝐵𝑦 → (𝜒 → (𝐵 ⊆ suc 𝑦𝜃))))
5857a2d 29 . . . . . . . . 9 ((𝑦 ∈ ω ∧ 𝐵 ∈ ω) → ((𝐵𝑦𝜒) → (𝐵𝑦 → (𝐵 ⊆ suc 𝑦𝜃))))
5958com23 86 . . . . . . . 8 ((𝑦 ∈ ω ∧ 𝐵 ∈ ω) → (𝐵𝑦 → ((𝐵𝑦𝜒) → (𝐵 ⊆ suc 𝑦𝜃))))
6054, 59sylbird 259 . . . . . . 7 ((𝑦 ∈ ω ∧ 𝐵 ∈ ω) → ((𝐵 ⊆ suc 𝑦𝐵 ≠ suc 𝑦) → ((𝐵𝑦𝜒) → (𝐵 ⊆ suc 𝑦𝜃))))
6146, 60syl5bir 242 . . . . . 6 ((𝑦 ∈ ω ∧ 𝐵 ∈ ω) → (¬ (𝐵 ⊆ suc 𝑦𝐵 = suc 𝑦) → ((𝐵𝑦𝜒) → (𝐵 ⊆ suc 𝑦𝜃))))
6242, 61pm2.61d 179 . . . . 5 ((𝑦 ∈ ω ∧ 𝐵 ∈ ω) → ((𝐵𝑦𝜒) → (𝐵 ⊆ suc 𝑦𝜃)))
6362ex 412 . . . 4 (𝑦 ∈ ω → (𝐵 ∈ ω → ((𝐵𝑦𝜒) → (𝐵 ⊆ suc 𝑦𝜃))))
6463a2d 29 . . 3 (𝑦 ∈ ω → ((𝐵 ∈ ω → (𝐵𝑦𝜒)) → (𝐵 ∈ ω → (𝐵 ⊆ suc 𝑦𝜃))))
6515, 19, 23, 27, 29, 64finds 7719 . 2 (𝐴 ∈ ω → (𝐵 ∈ ω → (𝐵𝐴𝜏)))
6665imp31 417 1 (((𝐴 ∈ ω ∧ 𝐵 ∈ ω) ∧ 𝐵𝐴) → 𝜏)
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 205  wa 395   = wceq 1539  wex 1783  wcel 2108  wne 2942  wss 3883  c0 4253  Oncon0 6251  suc csuc 6253  ωcom 7687
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1799  ax-4 1813  ax-5 1914  ax-6 1972  ax-7 2012  ax-8 2110  ax-9 2118  ax-11 2156  ax-ext 2709  ax-sep 5218  ax-nul 5225  ax-pr 5347  ax-un 7566
This theorem depends on definitions:  df-bi 206  df-an 396  df-or 844  df-3or 1086  df-3an 1087  df-tru 1542  df-fal 1552  df-ex 1784  df-sb 2069  df-clab 2716  df-cleq 2730  df-clel 2817  df-ne 2943  df-ral 3068  df-rex 3069  df-rab 3072  df-v 3424  df-dif 3886  df-un 3888  df-in 3890  df-ss 3900  df-pss 3902  df-nul 4254  df-if 4457  df-pw 4532  df-sn 4559  df-pr 4561  df-tp 4563  df-op 4565  df-uni 4837  df-br 5071  df-opab 5133  df-tr 5188  df-eprel 5486  df-po 5494  df-so 5495  df-fr 5535  df-we 5537  df-ord 6254  df-on 6255  df-lim 6256  df-suc 6257  df-om 7688
This theorem is referenced by:  nnaordi  8411  inf3lem5  9320  ackbij2lem4  9929  sornom  9964  fin23lem15  10021  fin23lem36  10035  isf32lem1  10040  isf32lem2  10041  wunex2  10425  indpi  10594  satfsschain  33226
  Copyright terms: Public domain W3C validator