ILE Home Intuitionistic Logic Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  ILE Home  >  Th. List  >  nnsucuniel GIF version

Theorem nnsucuniel 6639
Description: Given an element 𝐴 of the union of a natural number 𝐵, suc 𝐴 is an element of 𝐵 itself. The reverse direction holds for all ordinals (sucunielr 4601). The forward direction for all ordinals implies excluded middle (ordsucunielexmid 4622). (Contributed by Jim Kingdon, 13-Mar-2022.)
Assertion
Ref Expression
nnsucuniel (𝐵 ∈ ω → (𝐴 𝐵 ↔ suc 𝐴𝐵))

Proof of Theorem nnsucuniel
Dummy variable 𝑛 is distinct from all other variables.
StepHypRef Expression
1 noel 3495 . . . . . . 7 ¬ 𝐴 ∈ ∅
2 uni0 3914 . . . . . . . 8 ∅ = ∅
32eleq2i 2296 . . . . . . 7 (𝐴 ∅ ↔ 𝐴 ∈ ∅)
41, 3mtbir 675 . . . . . 6 ¬ 𝐴
5 unieq 3896 . . . . . . 7 (𝐵 = ∅ → 𝐵 = ∅)
65eleq2d 2299 . . . . . 6 (𝐵 = ∅ → (𝐴 𝐵𝐴 ∅))
74, 6mtbiri 679 . . . . 5 (𝐵 = ∅ → ¬ 𝐴 𝐵)
87pm2.21d 622 . . . 4 (𝐵 = ∅ → (𝐴 𝐵 → suc 𝐴𝐵))
98adantl 277 . . 3 ((𝐵 ∈ ω ∧ 𝐵 = ∅) → (𝐴 𝐵 → suc 𝐴𝐵))
10 unieq 3896 . . . . . . . . . . . 12 (𝐵 = suc 𝑛 𝐵 = suc 𝑛)
1110eleq2d 2299 . . . . . . . . . . 11 (𝐵 = suc 𝑛 → (𝐴 𝐵𝐴 suc 𝑛))
1211ad2antll 491 . . . . . . . . . 10 ((𝐵 ∈ ω ∧ (𝑛 ∈ ω ∧ 𝐵 = suc 𝑛)) → (𝐴 𝐵𝐴 suc 𝑛))
1312biimpa 296 . . . . . . . . 9 (((𝐵 ∈ ω ∧ (𝑛 ∈ ω ∧ 𝐵 = suc 𝑛)) ∧ 𝐴 𝐵) → 𝐴 suc 𝑛)
14 simplrl 535 . . . . . . . . . . 11 (((𝐵 ∈ ω ∧ (𝑛 ∈ ω ∧ 𝐵 = suc 𝑛)) ∧ 𝐴 𝐵) → 𝑛 ∈ ω)
15 nnord 4703 . . . . . . . . . . . . 13 (𝑛 ∈ ω → Ord 𝑛)
16 ordtr 4468 . . . . . . . . . . . . 13 (Ord 𝑛 → Tr 𝑛)
1715, 16syl 14 . . . . . . . . . . . 12 (𝑛 ∈ ω → Tr 𝑛)
18 vex 2802 . . . . . . . . . . . . 13 𝑛 ∈ V
1918unisuc 4503 . . . . . . . . . . . 12 (Tr 𝑛 suc 𝑛 = 𝑛)
2017, 19sylib 122 . . . . . . . . . . 11 (𝑛 ∈ ω → suc 𝑛 = 𝑛)
2114, 20syl 14 . . . . . . . . . 10 (((𝐵 ∈ ω ∧ (𝑛 ∈ ω ∧ 𝐵 = suc 𝑛)) ∧ 𝐴 𝐵) → suc 𝑛 = 𝑛)
2221eleq2d 2299 . . . . . . . . 9 (((𝐵 ∈ ω ∧ (𝑛 ∈ ω ∧ 𝐵 = suc 𝑛)) ∧ 𝐴 𝐵) → (𝐴 suc 𝑛𝐴𝑛))
2313, 22mpbid 147 . . . . . . . 8 (((𝐵 ∈ ω ∧ (𝑛 ∈ ω ∧ 𝐵 = suc 𝑛)) ∧ 𝐴 𝐵) → 𝐴𝑛)
24 nnsucelsuc 6635 . . . . . . . . 9 (𝑛 ∈ ω → (𝐴𝑛 ↔ suc 𝐴 ∈ suc 𝑛))
2514, 24syl 14 . . . . . . . 8 (((𝐵 ∈ ω ∧ (𝑛 ∈ ω ∧ 𝐵 = suc 𝑛)) ∧ 𝐴 𝐵) → (𝐴𝑛 ↔ suc 𝐴 ∈ suc 𝑛))
2623, 25mpbid 147 . . . . . . 7 (((𝐵 ∈ ω ∧ (𝑛 ∈ ω ∧ 𝐵 = suc 𝑛)) ∧ 𝐴 𝐵) → suc 𝐴 ∈ suc 𝑛)
27 simplrr 536 . . . . . . 7 (((𝐵 ∈ ω ∧ (𝑛 ∈ ω ∧ 𝐵 = suc 𝑛)) ∧ 𝐴 𝐵) → 𝐵 = suc 𝑛)
2826, 27eleqtrrd 2309 . . . . . 6 (((𝐵 ∈ ω ∧ (𝑛 ∈ ω ∧ 𝐵 = suc 𝑛)) ∧ 𝐴 𝐵) → suc 𝐴𝐵)
2928ex 115 . . . . 5 ((𝐵 ∈ ω ∧ (𝑛 ∈ ω ∧ 𝐵 = suc 𝑛)) → (𝐴 𝐵 → suc 𝐴𝐵))
3029rexlimdvaa 2649 . . . 4 (𝐵 ∈ ω → (∃𝑛 ∈ ω 𝐵 = suc 𝑛 → (𝐴 𝐵 → suc 𝐴𝐵)))
3130imp 124 . . 3 ((𝐵 ∈ ω ∧ ∃𝑛 ∈ ω 𝐵 = suc 𝑛) → (𝐴 𝐵 → suc 𝐴𝐵))
32 nn0suc 4695 . . 3 (𝐵 ∈ ω → (𝐵 = ∅ ∨ ∃𝑛 ∈ ω 𝐵 = suc 𝑛))
339, 31, 32mpjaodan 803 . 2 (𝐵 ∈ ω → (𝐴 𝐵 → suc 𝐴𝐵))
34 sucunielr 4601 . 2 (suc 𝐴𝐵𝐴 𝐵)
3533, 34impbid1 142 1 (𝐵 ∈ ω → (𝐴 𝐵 ↔ suc 𝐴𝐵))
Colors of variables: wff set class
Syntax hints:  wi 4  wa 104  wb 105   = wceq 1395  wcel 2200  wrex 2509  c0 3491   cuni 3887  Tr wtr 4181  Ord word 4452  suc csuc 4455  ωcom 4681
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-in1 617  ax-in2 618  ax-io 714  ax-5 1493  ax-7 1494  ax-gen 1495  ax-ie1 1539  ax-ie2 1540  ax-8 1550  ax-10 1551  ax-11 1552  ax-i12 1553  ax-bndl 1555  ax-4 1556  ax-17 1572  ax-i9 1576  ax-ial 1580  ax-i5r 1581  ax-13 2202  ax-14 2203  ax-ext 2211  ax-sep 4201  ax-nul 4209  ax-pow 4257  ax-pr 4292  ax-un 4523  ax-iinf 4679
This theorem depends on definitions:  df-bi 117  df-3an 1004  df-tru 1398  df-fal 1401  df-nf 1507  df-sb 1809  df-clab 2216  df-cleq 2222  df-clel 2225  df-nfc 2361  df-ral 2513  df-rex 2514  df-v 2801  df-dif 3199  df-un 3201  df-in 3203  df-ss 3210  df-nul 3492  df-pw 3651  df-sn 3672  df-pr 3673  df-uni 3888  df-int 3923  df-tr 4182  df-iord 4456  df-on 4458  df-suc 4461  df-iom 4682
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator