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

Theorem wfi 5675
Description: The Principle of Well-Founded Induction. Theorem 6.27 of [TakeutiZaring] p. 32. This principle states that if 𝐵 is a subclass of a well-ordered class 𝐴 with the property that every element of 𝐵 whose inital segment is included in 𝐴 is itself equal to 𝐴. (Contributed by Scott Fenton, 29-Jan-2011.) (Revised by Mario Carneiro, 26-Jun-2015.)
Assertion
Ref Expression
wfi (((𝑅 We 𝐴𝑅 Se 𝐴) ∧ (𝐵𝐴 ∧ ∀𝑦𝐴 (Pred(𝑅, 𝐴, 𝑦) ⊆ 𝐵𝑦𝐵))) → 𝐴 = 𝐵)
Distinct variable groups:   𝑦,𝐴   𝑦,𝐵   𝑦,𝑅

Proof of Theorem wfi
StepHypRef Expression
1 ssdif0 3921 . . . . . . 7 (𝐴𝐵 ↔ (𝐴𝐵) = ∅)
21necon3bbii 2843 . . . . . 6 𝐴𝐵 ↔ (𝐴𝐵) ≠ ∅)
3 difss 3720 . . . . . . 7 (𝐴𝐵) ⊆ 𝐴
4 tz6.26 5673 . . . . . . . . 9 (((𝑅 We 𝐴𝑅 Se 𝐴) ∧ ((𝐴𝐵) ⊆ 𝐴 ∧ (𝐴𝐵) ≠ ∅)) → ∃𝑦 ∈ (𝐴𝐵)Pred(𝑅, (𝐴𝐵), 𝑦) = ∅)
5 eldif 3570 . . . . . . . . . . . . 13 (𝑦 ∈ (𝐴𝐵) ↔ (𝑦𝐴 ∧ ¬ 𝑦𝐵))
65anbi1i 730 . . . . . . . . . . . 12 ((𝑦 ∈ (𝐴𝐵) ∧ Pred(𝑅, (𝐴𝐵), 𝑦) = ∅) ↔ ((𝑦𝐴 ∧ ¬ 𝑦𝐵) ∧ Pred(𝑅, (𝐴𝐵), 𝑦) = ∅))
7 anass 680 . . . . . . . . . . . 12 (((𝑦𝐴 ∧ ¬ 𝑦𝐵) ∧ Pred(𝑅, (𝐴𝐵), 𝑦) = ∅) ↔ (𝑦𝐴 ∧ (¬ 𝑦𝐵 ∧ Pred(𝑅, (𝐴𝐵), 𝑦) = ∅)))
8 ancom 466 . . . . . . . . . . . . . 14 ((¬ 𝑦𝐵 ∧ Pred(𝑅, (𝐴𝐵), 𝑦) = ∅) ↔ (Pred(𝑅, (𝐴𝐵), 𝑦) = ∅ ∧ ¬ 𝑦𝐵))
9 indif2 3851 . . . . . . . . . . . . . . . . . 18 ((𝑅 “ {𝑦}) ∩ (𝐴𝐵)) = (((𝑅 “ {𝑦}) ∩ 𝐴) ∖ 𝐵)
10 df-pred 5642 . . . . . . . . . . . . . . . . . . 19 Pred(𝑅, (𝐴𝐵), 𝑦) = ((𝐴𝐵) ∩ (𝑅 “ {𝑦}))
11 incom 3788 . . . . . . . . . . . . . . . . . . 19 ((𝐴𝐵) ∩ (𝑅 “ {𝑦})) = ((𝑅 “ {𝑦}) ∩ (𝐴𝐵))
1210, 11eqtri 2648 . . . . . . . . . . . . . . . . . 18 Pred(𝑅, (𝐴𝐵), 𝑦) = ((𝑅 “ {𝑦}) ∩ (𝐴𝐵))
13 df-pred 5642 . . . . . . . . . . . . . . . . . . . 20 Pred(𝑅, 𝐴, 𝑦) = (𝐴 ∩ (𝑅 “ {𝑦}))
14 incom 3788 . . . . . . . . . . . . . . . . . . . 20 (𝐴 ∩ (𝑅 “ {𝑦})) = ((𝑅 “ {𝑦}) ∩ 𝐴)
1513, 14eqtri 2648 . . . . . . . . . . . . . . . . . . 19 Pred(𝑅, 𝐴, 𝑦) = ((𝑅 “ {𝑦}) ∩ 𝐴)
1615difeq1i 3707 . . . . . . . . . . . . . . . . . 18 (Pred(𝑅, 𝐴, 𝑦) ∖ 𝐵) = (((𝑅 “ {𝑦}) ∩ 𝐴) ∖ 𝐵)
179, 12, 163eqtr4i 2658 . . . . . . . . . . . . . . . . 17 Pred(𝑅, (𝐴𝐵), 𝑦) = (Pred(𝑅, 𝐴, 𝑦) ∖ 𝐵)
1817eqeq1i 2631 . . . . . . . . . . . . . . . 16 (Pred(𝑅, (𝐴𝐵), 𝑦) = ∅ ↔ (Pred(𝑅, 𝐴, 𝑦) ∖ 𝐵) = ∅)
19 ssdif0 3921 . . . . . . . . . . . . . . . 16 (Pred(𝑅, 𝐴, 𝑦) ⊆ 𝐵 ↔ (Pred(𝑅, 𝐴, 𝑦) ∖ 𝐵) = ∅)
2018, 19bitr4i 267 . . . . . . . . . . . . . . 15 (Pred(𝑅, (𝐴𝐵), 𝑦) = ∅ ↔ Pred(𝑅, 𝐴, 𝑦) ⊆ 𝐵)
2120anbi1i 730 . . . . . . . . . . . . . 14 ((Pred(𝑅, (𝐴𝐵), 𝑦) = ∅ ∧ ¬ 𝑦𝐵) ↔ (Pred(𝑅, 𝐴, 𝑦) ⊆ 𝐵 ∧ ¬ 𝑦𝐵))
228, 21bitri 264 . . . . . . . . . . . . 13 ((¬ 𝑦𝐵 ∧ Pred(𝑅, (𝐴𝐵), 𝑦) = ∅) ↔ (Pred(𝑅, 𝐴, 𝑦) ⊆ 𝐵 ∧ ¬ 𝑦𝐵))
2322anbi2i 729 . . . . . . . . . . . 12 ((𝑦𝐴 ∧ (¬ 𝑦𝐵 ∧ Pred(𝑅, (𝐴𝐵), 𝑦) = ∅)) ↔ (𝑦𝐴 ∧ (Pred(𝑅, 𝐴, 𝑦) ⊆ 𝐵 ∧ ¬ 𝑦𝐵)))
246, 7, 233bitri 286 . . . . . . . . . . 11 ((𝑦 ∈ (𝐴𝐵) ∧ Pred(𝑅, (𝐴𝐵), 𝑦) = ∅) ↔ (𝑦𝐴 ∧ (Pred(𝑅, 𝐴, 𝑦) ⊆ 𝐵 ∧ ¬ 𝑦𝐵)))
2524rexbii2 3037 . . . . . . . . . 10 (∃𝑦 ∈ (𝐴𝐵)Pred(𝑅, (𝐴𝐵), 𝑦) = ∅ ↔ ∃𝑦𝐴 (Pred(𝑅, 𝐴, 𝑦) ⊆ 𝐵 ∧ ¬ 𝑦𝐵))
26 rexanali 2997 . . . . . . . . . 10 (∃𝑦𝐴 (Pred(𝑅, 𝐴, 𝑦) ⊆ 𝐵 ∧ ¬ 𝑦𝐵) ↔ ¬ ∀𝑦𝐴 (Pred(𝑅, 𝐴, 𝑦) ⊆ 𝐵𝑦𝐵))
2725, 26bitri 264 . . . . . . . . 9 (∃𝑦 ∈ (𝐴𝐵)Pred(𝑅, (𝐴𝐵), 𝑦) = ∅ ↔ ¬ ∀𝑦𝐴 (Pred(𝑅, 𝐴, 𝑦) ⊆ 𝐵𝑦𝐵))
284, 27sylib 208 . . . . . . . 8 (((𝑅 We 𝐴𝑅 Se 𝐴) ∧ ((𝐴𝐵) ⊆ 𝐴 ∧ (𝐴𝐵) ≠ ∅)) → ¬ ∀𝑦𝐴 (Pred(𝑅, 𝐴, 𝑦) ⊆ 𝐵𝑦𝐵))
2928ex 450 . . . . . . 7 ((𝑅 We 𝐴𝑅 Se 𝐴) → (((𝐴𝐵) ⊆ 𝐴 ∧ (𝐴𝐵) ≠ ∅) → ¬ ∀𝑦𝐴 (Pred(𝑅, 𝐴, 𝑦) ⊆ 𝐵𝑦𝐵)))
303, 29mpani 711 . . . . . 6 ((𝑅 We 𝐴𝑅 Se 𝐴) → ((𝐴𝐵) ≠ ∅ → ¬ ∀𝑦𝐴 (Pred(𝑅, 𝐴, 𝑦) ⊆ 𝐵𝑦𝐵)))
312, 30syl5bi 232 . . . . 5 ((𝑅 We 𝐴𝑅 Se 𝐴) → (¬ 𝐴𝐵 → ¬ ∀𝑦𝐴 (Pred(𝑅, 𝐴, 𝑦) ⊆ 𝐵𝑦𝐵)))
3231con4d 114 . . . 4 ((𝑅 We 𝐴𝑅 Se 𝐴) → (∀𝑦𝐴 (Pred(𝑅, 𝐴, 𝑦) ⊆ 𝐵𝑦𝐵) → 𝐴𝐵))
3332imp 445 . . 3 (((𝑅 We 𝐴𝑅 Se 𝐴) ∧ ∀𝑦𝐴 (Pred(𝑅, 𝐴, 𝑦) ⊆ 𝐵𝑦𝐵)) → 𝐴𝐵)
3433adantrl 751 . 2 (((𝑅 We 𝐴𝑅 Se 𝐴) ∧ (𝐵𝐴 ∧ ∀𝑦𝐴 (Pred(𝑅, 𝐴, 𝑦) ⊆ 𝐵𝑦𝐵))) → 𝐴𝐵)
35 simprl 793 . 2 (((𝑅 We 𝐴𝑅 Se 𝐴) ∧ (𝐵𝐴 ∧ ∀𝑦𝐴 (Pred(𝑅, 𝐴, 𝑦) ⊆ 𝐵𝑦𝐵))) → 𝐵𝐴)
3634, 35eqssd 3605 1 (((𝑅 We 𝐴𝑅 Se 𝐴) ∧ (𝐵𝐴 ∧ ∀𝑦𝐴 (Pred(𝑅, 𝐴, 𝑦) ⊆ 𝐵𝑦𝐵))) → 𝐴 = 𝐵)
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wa 384   = wceq 1480  wcel 1992  wne 2796  wral 2912  wrex 2913  cdif 3557  cin 3559  wss 3560  c0 3896  {csn 4153   Se wse 5036   We wwe 5037  ccnv 5078  cima 5082  Predcpred 5641
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1719  ax-4 1734  ax-5 1841  ax-6 1890  ax-7 1937  ax-9 2001  ax-10 2021  ax-11 2036  ax-12 2049  ax-13 2250  ax-ext 2606  ax-sep 4746  ax-nul 4754  ax-pr 4872
This theorem depends on definitions:  df-bi 197  df-or 385  df-an 386  df-3or 1037  df-3an 1038  df-tru 1483  df-ex 1702  df-nf 1707  df-sb 1883  df-eu 2478  df-mo 2479  df-clab 2613  df-cleq 2619  df-clel 2622  df-nfc 2756  df-ne 2797  df-ral 2917  df-rex 2918  df-reu 2919  df-rmo 2920  df-rab 2921  df-v 3193  df-sbc 3423  df-dif 3563  df-un 3565  df-in 3567  df-ss 3574  df-nul 3897  df-if 4064  df-sn 4154  df-pr 4156  df-op 4160  df-br 4619  df-opab 4679  df-po 5000  df-so 5001  df-fr 5038  df-se 5039  df-we 5040  df-xp 5085  df-cnv 5087  df-dm 5089  df-rn 5090  df-res 5091  df-ima 5092  df-pred 5642
This theorem is referenced by:  wfii  5676  wfisg  5677
  Copyright terms: Public domain W3C validator