Mathbox for Scott Fenton < Previous   Next > Nearby theorems Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  frinsg Structured version   Visualization version   GIF version

Theorem frinsg 31870
 Description: Founded Induction Schema. If a property passes from all elements less than 𝑦 of a founded class 𝐴 to 𝑦 itself (induction hypothesis), then the property holds for all elements of 𝐴. (Contributed by Scott Fenton, 7-Feb-2011.) (Revised by Mario Carneiro, 26-Jun-2015.)
Hypothesis
Ref Expression
frinsg.1 (𝑦𝐴 → (∀𝑧 ∈ Pred (𝑅, 𝐴, 𝑦)[𝑧 / 𝑦]𝜑𝜑))
Assertion
Ref Expression
frinsg ((𝑅 Fr 𝐴𝑅 Se 𝐴) → ∀𝑦𝐴 𝜑)
Distinct variable groups:   𝑦,𝐴,𝑧   𝜑,𝑧   𝑦,𝑅,𝑧
Allowed substitution hint:   𝜑(𝑦)

Proof of Theorem frinsg
Dummy variable 𝑤 is distinct from all other variables.
StepHypRef Expression
1 ssrab2 3720 . . 3 {𝑦𝐴𝜑} ⊆ 𝐴
2 dfss3 3625 . . . . . . . 8 (Pred(𝑅, 𝐴, 𝑤) ⊆ {𝑦𝐴𝜑} ↔ ∀𝑧 ∈ Pred (𝑅, 𝐴, 𝑤)𝑧 ∈ {𝑦𝐴𝜑})
3 nfcv 2793 . . . . . . . . . . 11 𝑦𝐴
43elrabsf 3507 . . . . . . . . . 10 (𝑧 ∈ {𝑦𝐴𝜑} ↔ (𝑧𝐴[𝑧 / 𝑦]𝜑))
54simprbi 479 . . . . . . . . 9 (𝑧 ∈ {𝑦𝐴𝜑} → [𝑧 / 𝑦]𝜑)
65ralimi 2981 . . . . . . . 8 (∀𝑧 ∈ Pred (𝑅, 𝐴, 𝑤)𝑧 ∈ {𝑦𝐴𝜑} → ∀𝑧 ∈ Pred (𝑅, 𝐴, 𝑤)[𝑧 / 𝑦]𝜑)
72, 6sylbi 207 . . . . . . 7 (Pred(𝑅, 𝐴, 𝑤) ⊆ {𝑦𝐴𝜑} → ∀𝑧 ∈ Pred (𝑅, 𝐴, 𝑤)[𝑧 / 𝑦]𝜑)
8 nfv 1883 . . . . . . . . 9 𝑦 𝑤𝐴
9 nfcv 2793 . . . . . . . . . . 11 𝑦Pred(𝑅, 𝐴, 𝑤)
10 nfsbc1v 3488 . . . . . . . . . . 11 𝑦[𝑧 / 𝑦]𝜑
119, 10nfral 2974 . . . . . . . . . 10 𝑦𝑧 ∈ Pred (𝑅, 𝐴, 𝑤)[𝑧 / 𝑦]𝜑
12 nfsbc1v 3488 . . . . . . . . . 10 𝑦[𝑤 / 𝑦]𝜑
1311, 12nfim 1865 . . . . . . . . 9 𝑦(∀𝑧 ∈ Pred (𝑅, 𝐴, 𝑤)[𝑧 / 𝑦]𝜑[𝑤 / 𝑦]𝜑)
148, 13nfim 1865 . . . . . . . 8 𝑦(𝑤𝐴 → (∀𝑧 ∈ Pred (𝑅, 𝐴, 𝑤)[𝑧 / 𝑦]𝜑[𝑤 / 𝑦]𝜑))
15 eleq1 2718 . . . . . . . . 9 (𝑦 = 𝑤 → (𝑦𝐴𝑤𝐴))
16 predeq3 5722 . . . . . . . . . . 11 (𝑦 = 𝑤 → Pred(𝑅, 𝐴, 𝑦) = Pred(𝑅, 𝐴, 𝑤))
1716raleqdv 3174 . . . . . . . . . 10 (𝑦 = 𝑤 → (∀𝑧 ∈ Pred (𝑅, 𝐴, 𝑦)[𝑧 / 𝑦]𝜑 ↔ ∀𝑧 ∈ Pred (𝑅, 𝐴, 𝑤)[𝑧 / 𝑦]𝜑))
18 sbceq1a 3479 . . . . . . . . . 10 (𝑦 = 𝑤 → (𝜑[𝑤 / 𝑦]𝜑))
1917, 18imbi12d 333 . . . . . . . . 9 (𝑦 = 𝑤 → ((∀𝑧 ∈ Pred (𝑅, 𝐴, 𝑦)[𝑧 / 𝑦]𝜑𝜑) ↔ (∀𝑧 ∈ Pred (𝑅, 𝐴, 𝑤)[𝑧 / 𝑦]𝜑[𝑤 / 𝑦]𝜑)))
2015, 19imbi12d 333 . . . . . . . 8 (𝑦 = 𝑤 → ((𝑦𝐴 → (∀𝑧 ∈ Pred (𝑅, 𝐴, 𝑦)[𝑧 / 𝑦]𝜑𝜑)) ↔ (𝑤𝐴 → (∀𝑧 ∈ Pred (𝑅, 𝐴, 𝑤)[𝑧 / 𝑦]𝜑[𝑤 / 𝑦]𝜑))))
21 frinsg.1 . . . . . . . 8 (𝑦𝐴 → (∀𝑧 ∈ Pred (𝑅, 𝐴, 𝑦)[𝑧 / 𝑦]𝜑𝜑))
2214, 20, 21chvar 2298 . . . . . . 7 (𝑤𝐴 → (∀𝑧 ∈ Pred (𝑅, 𝐴, 𝑤)[𝑧 / 𝑦]𝜑[𝑤 / 𝑦]𝜑))
237, 22syl5 34 . . . . . 6 (𝑤𝐴 → (Pred(𝑅, 𝐴, 𝑤) ⊆ {𝑦𝐴𝜑} → [𝑤 / 𝑦]𝜑))
2423anc2li 579 . . . . 5 (𝑤𝐴 → (Pred(𝑅, 𝐴, 𝑤) ⊆ {𝑦𝐴𝜑} → (𝑤𝐴[𝑤 / 𝑦]𝜑)))
253elrabsf 3507 . . . . 5 (𝑤 ∈ {𝑦𝐴𝜑} ↔ (𝑤𝐴[𝑤 / 𝑦]𝜑))
2624, 25syl6ibr 242 . . . 4 (𝑤𝐴 → (Pred(𝑅, 𝐴, 𝑤) ⊆ {𝑦𝐴𝜑} → 𝑤 ∈ {𝑦𝐴𝜑}))
2726rgen 2951 . . 3 𝑤𝐴 (Pred(𝑅, 𝐴, 𝑤) ⊆ {𝑦𝐴𝜑} → 𝑤 ∈ {𝑦𝐴𝜑})
28 frind 31868 . . 3 (((𝑅 Fr 𝐴𝑅 Se 𝐴) ∧ ({𝑦𝐴𝜑} ⊆ 𝐴 ∧ ∀𝑤𝐴 (Pred(𝑅, 𝐴, 𝑤) ⊆ {𝑦𝐴𝜑} → 𝑤 ∈ {𝑦𝐴𝜑}))) → 𝐴 = {𝑦𝐴𝜑})
291, 27, 28mpanr12 721 . 2 ((𝑅 Fr 𝐴𝑅 Se 𝐴) → 𝐴 = {𝑦𝐴𝜑})
30 rabid2 3148 . 2 (𝐴 = {𝑦𝐴𝜑} ↔ ∀𝑦𝐴 𝜑)
3129, 30sylib 208 1 ((𝑅 Fr 𝐴𝑅 Se 𝐴) → ∀𝑦𝐴 𝜑)
 Colors of variables: wff setvar class Syntax hints:   → wi 4   ∧ wa 383   = wceq 1523   ∈ wcel 2030  ∀wral 2941  {crab 2945  [wsbc 3468   ⊆ wss 3607   Fr wfr 5099   Se wse 5100  Predcpred 5717 This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1762  ax-4 1777  ax-5 1879  ax-6 1945  ax-7 1981  ax-8 2032  ax-9 2039  ax-10 2059  ax-11 2074  ax-12 2087  ax-13 2282  ax-ext 2631  ax-rep 4804  ax-sep 4814  ax-nul 4822  ax-pow 4873  ax-pr 4936  ax-un 6991  ax-inf2 8576 This theorem depends on definitions:  df-bi 197  df-or 384  df-an 385  df-3or 1055  df-3an 1056  df-tru 1526  df-ex 1745  df-nf 1750  df-sb 1938  df-eu 2502  df-mo 2503  df-clab 2638  df-cleq 2644  df-clel 2647  df-nfc 2782  df-ne 2824  df-ral 2946  df-rex 2947  df-reu 2948  df-rab 2950  df-v 3233  df-sbc 3469  df-csb 3567  df-dif 3610  df-un 3612  df-in 3614  df-ss 3621  df-pss 3623  df-nul 3949  df-if 4120  df-pw 4193  df-sn 4211  df-pr 4213  df-tp 4215  df-op 4217  df-uni 4469  df-iun 4554  df-br 4686  df-opab 4746  df-mpt 4763  df-tr 4786  df-id 5053  df-eprel 5058  df-po 5064  df-so 5065  df-fr 5102  df-se 5103  df-we 5104  df-xp 5149  df-rel 5150  df-cnv 5151  df-co 5152  df-dm 5153  df-rn 5154  df-res 5155  df-ima 5156  df-pred 5718  df-ord 5764  df-on 5765  df-lim 5766  df-suc 5767  df-iota 5889  df-fun 5928  df-fn 5929  df-f 5930  df-f1 5931  df-fo 5932  df-f1o 5933  df-fv 5934  df-om 7108  df-wrecs 7452  df-recs 7513  df-rdg 7551  df-trpred 31842 This theorem is referenced by:  frins  31871  frins2fg  31872
 Copyright terms: Public domain W3C validator