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

Theorem wfisg 6183
Description: Well-Founded Induction Schema. If a property passes from all elements less than 𝑦 of a well-founded class 𝐴 to 𝑦 itself (induction hypothesis), then the property holds for all elements of 𝐴. (Contributed by Scott Fenton, 11-Feb-2011.)
Hypothesis
Ref Expression
wfisg.1 (𝑦𝐴 → (∀𝑧 ∈ Pred (𝑅, 𝐴, 𝑦)[𝑧 / 𝑦]𝜑𝜑))
Assertion
Ref Expression
wfisg ((𝑅 We 𝐴𝑅 Se 𝐴) → ∀𝑦𝐴 𝜑)
Distinct variable groups:   𝑦,𝐴,𝑧   𝜑,𝑧   𝑦,𝑅,𝑧
Allowed substitution hint:   𝜑(𝑦)

Proof of Theorem wfisg
Dummy variable 𝑤 is distinct from all other variables.
StepHypRef Expression
1 ssrab2 4056 . . 3 {𝑦𝐴𝜑} ⊆ 𝐴
2 dfss3 3956 . . . . . . . 8 (Pred(𝑅, 𝐴, 𝑤) ⊆ {𝑦𝐴𝜑} ↔ ∀𝑧 ∈ Pred (𝑅, 𝐴, 𝑤)𝑧 ∈ {𝑦𝐴𝜑})
3 nfcv 2977 . . . . . . . . . . 11 𝑦𝐴
43elrabsf 3816 . . . . . . . . . 10 (𝑧 ∈ {𝑦𝐴𝜑} ↔ (𝑧𝐴[𝑧 / 𝑦]𝜑))
54simprbi 499 . . . . . . . . 9 (𝑧 ∈ {𝑦𝐴𝜑} → [𝑧 / 𝑦]𝜑)
65ralimi 3160 . . . . . . . 8 (∀𝑧 ∈ Pred (𝑅, 𝐴, 𝑤)𝑧 ∈ {𝑦𝐴𝜑} → ∀𝑧 ∈ Pred (𝑅, 𝐴, 𝑤)[𝑧 / 𝑦]𝜑)
72, 6sylbi 219 . . . . . . 7 (Pred(𝑅, 𝐴, 𝑤) ⊆ {𝑦𝐴𝜑} → ∀𝑧 ∈ Pred (𝑅, 𝐴, 𝑤)[𝑧 / 𝑦]𝜑)
8 nfv 1915 . . . . . . . . 9 𝑦 𝑤𝐴
9 nfcv 2977 . . . . . . . . . . 11 𝑦Pred(𝑅, 𝐴, 𝑤)
10 nfsbc1v 3792 . . . . . . . . . . 11 𝑦[𝑧 / 𝑦]𝜑
119, 10nfralw 3225 . . . . . . . . . 10 𝑦𝑧 ∈ Pred (𝑅, 𝐴, 𝑤)[𝑧 / 𝑦]𝜑
12 nfsbc1v 3792 . . . . . . . . . 10 𝑦[𝑤 / 𝑦]𝜑
1311, 12nfim 1897 . . . . . . . . 9 𝑦(∀𝑧 ∈ Pred (𝑅, 𝐴, 𝑤)[𝑧 / 𝑦]𝜑[𝑤 / 𝑦]𝜑)
148, 13nfim 1897 . . . . . . . 8 𝑦(𝑤𝐴 → (∀𝑧 ∈ Pred (𝑅, 𝐴, 𝑤)[𝑧 / 𝑦]𝜑[𝑤 / 𝑦]𝜑))
15 eleq1w 2895 . . . . . . . . 9 (𝑦 = 𝑤 → (𝑦𝐴𝑤𝐴))
16 predeq3 6152 . . . . . . . . . . 11 (𝑦 = 𝑤 → Pred(𝑅, 𝐴, 𝑦) = Pred(𝑅, 𝐴, 𝑤))
1716raleqdv 3415 . . . . . . . . . 10 (𝑦 = 𝑤 → (∀𝑧 ∈ Pred (𝑅, 𝐴, 𝑦)[𝑧 / 𝑦]𝜑 ↔ ∀𝑧 ∈ Pred (𝑅, 𝐴, 𝑤)[𝑧 / 𝑦]𝜑))
18 sbceq1a 3783 . . . . . . . . . 10 (𝑦 = 𝑤 → (𝜑[𝑤 / 𝑦]𝜑))
1917, 18imbi12d 347 . . . . . . . . 9 (𝑦 = 𝑤 → ((∀𝑧 ∈ Pred (𝑅, 𝐴, 𝑦)[𝑧 / 𝑦]𝜑𝜑) ↔ (∀𝑧 ∈ Pred (𝑅, 𝐴, 𝑤)[𝑧 / 𝑦]𝜑[𝑤 / 𝑦]𝜑)))
2015, 19imbi12d 347 . . . . . . . 8 (𝑦 = 𝑤 → ((𝑦𝐴 → (∀𝑧 ∈ Pred (𝑅, 𝐴, 𝑦)[𝑧 / 𝑦]𝜑𝜑)) ↔ (𝑤𝐴 → (∀𝑧 ∈ Pred (𝑅, 𝐴, 𝑤)[𝑧 / 𝑦]𝜑[𝑤 / 𝑦]𝜑))))
21 wfisg.1 . . . . . . . 8 (𝑦𝐴 → (∀𝑧 ∈ Pred (𝑅, 𝐴, 𝑦)[𝑧 / 𝑦]𝜑𝜑))
2214, 20, 21chvarfv 2242 . . . . . . 7 (𝑤𝐴 → (∀𝑧 ∈ Pred (𝑅, 𝐴, 𝑤)[𝑧 / 𝑦]𝜑[𝑤 / 𝑦]𝜑))
237, 22syl5 34 . . . . . 6 (𝑤𝐴 → (Pred(𝑅, 𝐴, 𝑤) ⊆ {𝑦𝐴𝜑} → [𝑤 / 𝑦]𝜑))
2423anc2li 558 . . . . 5 (𝑤𝐴 → (Pred(𝑅, 𝐴, 𝑤) ⊆ {𝑦𝐴𝜑} → (𝑤𝐴[𝑤 / 𝑦]𝜑)))
253elrabsf 3816 . . . . 5 (𝑤 ∈ {𝑦𝐴𝜑} ↔ (𝑤𝐴[𝑤 / 𝑦]𝜑))
2624, 25syl6ibr 254 . . . 4 (𝑤𝐴 → (Pred(𝑅, 𝐴, 𝑤) ⊆ {𝑦𝐴𝜑} → 𝑤 ∈ {𝑦𝐴𝜑}))
2726rgen 3148 . . 3 𝑤𝐴 (Pred(𝑅, 𝐴, 𝑤) ⊆ {𝑦𝐴𝜑} → 𝑤 ∈ {𝑦𝐴𝜑})
28 wfi 6181 . . 3 (((𝑅 We 𝐴𝑅 Se 𝐴) ∧ ({𝑦𝐴𝜑} ⊆ 𝐴 ∧ ∀𝑤𝐴 (Pred(𝑅, 𝐴, 𝑤) ⊆ {𝑦𝐴𝜑} → 𝑤 ∈ {𝑦𝐴𝜑}))) → 𝐴 = {𝑦𝐴𝜑})
291, 27, 28mpanr12 703 . 2 ((𝑅 We 𝐴𝑅 Se 𝐴) → 𝐴 = {𝑦𝐴𝜑})
30 rabid2 3381 . 2 (𝐴 = {𝑦𝐴𝜑} ↔ ∀𝑦𝐴 𝜑)
3129, 30sylib 220 1 ((𝑅 We 𝐴𝑅 Se 𝐴) → ∀𝑦𝐴 𝜑)
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 398   = wceq 1537  wcel 2114  wral 3138  {crab 3142  [wsbc 3772  wss 3936   Se wse 5512   We wwe 5513  Predcpred 6147
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1796  ax-4 1810  ax-5 1911  ax-6 1970  ax-7 2015  ax-8 2116  ax-9 2124  ax-10 2145  ax-11 2161  ax-12 2177  ax-ext 2793  ax-sep 5203  ax-nul 5210  ax-pr 5330
This theorem depends on definitions:  df-bi 209  df-an 399  df-or 844  df-3or 1084  df-3an 1085  df-tru 1540  df-ex 1781  df-nf 1785  df-sb 2070  df-mo 2622  df-eu 2654  df-clab 2800  df-cleq 2814  df-clel 2893  df-nfc 2963  df-ne 3017  df-ral 3143  df-rex 3144  df-reu 3145  df-rmo 3146  df-rab 3147  df-v 3496  df-sbc 3773  df-dif 3939  df-un 3941  df-in 3943  df-ss 3952  df-nul 4292  df-if 4468  df-sn 4568  df-pr 4570  df-op 4574  df-br 5067  df-opab 5129  df-po 5474  df-so 5475  df-fr 5514  df-se 5515  df-we 5516  df-xp 5561  df-cnv 5563  df-dm 5565  df-rn 5566  df-res 5567  df-ima 5568  df-pred 6148
This theorem is referenced by:  wfis  6184  wfis2fg  6185
  Copyright terms: Public domain W3C validator