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

Theorem nnsucuniel 6343
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 4384). The forward direction for all ordinals implies excluded middle (ordsucunielexmid 4404). (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 3331 . . . . . . 7 ¬ 𝐴 ∈ ∅
2 uni0 3727 . . . . . . . 8 ∅ = ∅
32eleq2i 2179 . . . . . . 7 (𝐴 ∅ ↔ 𝐴 ∈ ∅)
41, 3mtbir 643 . . . . . 6 ¬ 𝐴
5 unieq 3709 . . . . . . 7 (𝐵 = ∅ → 𝐵 = ∅)
65eleq2d 2182 . . . . . 6 (𝐵 = ∅ → (𝐴 𝐵𝐴 ∅))
74, 6mtbiri 647 . . . . 5 (𝐵 = ∅ → ¬ 𝐴 𝐵)
87pm2.21d 591 . . . 4 (𝐵 = ∅ → (𝐴 𝐵 → suc 𝐴𝐵))
98adantl 273 . . 3 ((𝐵 ∈ ω ∧ 𝐵 = ∅) → (𝐴 𝐵 → suc 𝐴𝐵))
10 unieq 3709 . . . . . . . . . . . 12 (𝐵 = suc 𝑛 𝐵 = suc 𝑛)
1110eleq2d 2182 . . . . . . . . . . 11 (𝐵 = suc 𝑛 → (𝐴 𝐵𝐴 suc 𝑛))
1211ad2antll 480 . . . . . . . . . 10 ((𝐵 ∈ ω ∧ (𝑛 ∈ ω ∧ 𝐵 = suc 𝑛)) → (𝐴 𝐵𝐴 suc 𝑛))
1312biimpa 292 . . . . . . . . 9 (((𝐵 ∈ ω ∧ (𝑛 ∈ ω ∧ 𝐵 = suc 𝑛)) ∧ 𝐴 𝐵) → 𝐴 suc 𝑛)
14 simplrl 507 . . . . . . . . . . 11 (((𝐵 ∈ ω ∧ (𝑛 ∈ ω ∧ 𝐵 = suc 𝑛)) ∧ 𝐴 𝐵) → 𝑛 ∈ ω)
15 nnord 4483 . . . . . . . . . . . . 13 (𝑛 ∈ ω → Ord 𝑛)
16 ordtr 4258 . . . . . . . . . . . . 13 (Ord 𝑛 → Tr 𝑛)
1715, 16syl 14 . . . . . . . . . . . 12 (𝑛 ∈ ω → Tr 𝑛)
18 vex 2658 . . . . . . . . . . . . 13 𝑛 ∈ V
1918unisuc 4293 . . . . . . . . . . . 12 (Tr 𝑛 suc 𝑛 = 𝑛)
2017, 19sylib 121 . . . . . . . . . . 11 (𝑛 ∈ ω → suc 𝑛 = 𝑛)
2114, 20syl 14 . . . . . . . . . 10 (((𝐵 ∈ ω ∧ (𝑛 ∈ ω ∧ 𝐵 = suc 𝑛)) ∧ 𝐴 𝐵) → suc 𝑛 = 𝑛)
2221eleq2d 2182 . . . . . . . . 9 (((𝐵 ∈ ω ∧ (𝑛 ∈ ω ∧ 𝐵 = suc 𝑛)) ∧ 𝐴 𝐵) → (𝐴 suc 𝑛𝐴𝑛))
2313, 22mpbid 146 . . . . . . . 8 (((𝐵 ∈ ω ∧ (𝑛 ∈ ω ∧ 𝐵 = suc 𝑛)) ∧ 𝐴 𝐵) → 𝐴𝑛)
24 nnsucelsuc 6339 . . . . . . . . 9 (𝑛 ∈ ω → (𝐴𝑛 ↔ suc 𝐴 ∈ suc 𝑛))
2514, 24syl 14 . . . . . . . 8 (((𝐵 ∈ ω ∧ (𝑛 ∈ ω ∧ 𝐵 = suc 𝑛)) ∧ 𝐴 𝐵) → (𝐴𝑛 ↔ suc 𝐴 ∈ suc 𝑛))
2623, 25mpbid 146 . . . . . . 7 (((𝐵 ∈ ω ∧ (𝑛 ∈ ω ∧ 𝐵 = suc 𝑛)) ∧ 𝐴 𝐵) → suc 𝐴 ∈ suc 𝑛)
27 simplrr 508 . . . . . . 7 (((𝐵 ∈ ω ∧ (𝑛 ∈ ω ∧ 𝐵 = suc 𝑛)) ∧ 𝐴 𝐵) → 𝐵 = suc 𝑛)
2826, 27eleqtrrd 2192 . . . . . 6 (((𝐵 ∈ ω ∧ (𝑛 ∈ ω ∧ 𝐵 = suc 𝑛)) ∧ 𝐴 𝐵) → suc 𝐴𝐵)
2928ex 114 . . . . 5 ((𝐵 ∈ ω ∧ (𝑛 ∈ ω ∧ 𝐵 = suc 𝑛)) → (𝐴 𝐵 → suc 𝐴𝐵))
3029rexlimdvaa 2522 . . . 4 (𝐵 ∈ ω → (∃𝑛 ∈ ω 𝐵 = suc 𝑛 → (𝐴 𝐵 → suc 𝐴𝐵)))
3130imp 123 . . 3 ((𝐵 ∈ ω ∧ ∃𝑛 ∈ ω 𝐵 = suc 𝑛) → (𝐴 𝐵 → suc 𝐴𝐵))
32 nn0suc 4476 . . 3 (𝐵 ∈ ω → (𝐵 = ∅ ∨ ∃𝑛 ∈ ω 𝐵 = suc 𝑛))
339, 31, 32mpjaodan 770 . 2 (𝐵 ∈ ω → (𝐴 𝐵 → suc 𝐴𝐵))
34 sucunielr 4384 . 2 (suc 𝐴𝐵𝐴 𝐵)
3533, 34impbid1 141 1 (𝐵 ∈ ω → (𝐴 𝐵 ↔ suc 𝐴𝐵))
Colors of variables: wff set class
Syntax hints:  wi 4  wa 103  wb 104   = wceq 1312  wcel 1461  wrex 2389  c0 3327   cuni 3700  Tr wtr 3984  Ord word 4242  suc csuc 4245  ωcom 4462
This theorem was proved from axioms:  ax-1 5  ax-2 6  ax-mp 7  ax-ia1 105  ax-ia2 106  ax-ia3 107  ax-in1 586  ax-in2 587  ax-io 681  ax-5 1404  ax-7 1405  ax-gen 1406  ax-ie1 1450  ax-ie2 1451  ax-8 1463  ax-10 1464  ax-11 1465  ax-i12 1466  ax-bndl 1467  ax-4 1468  ax-13 1472  ax-14 1473  ax-17 1487  ax-i9 1491  ax-ial 1495  ax-i5r 1496  ax-ext 2095  ax-sep 4004  ax-nul 4012  ax-pow 4056  ax-pr 4089  ax-un 4313  ax-iinf 4460
This theorem depends on definitions:  df-bi 116  df-3an 945  df-tru 1315  df-fal 1318  df-nf 1418  df-sb 1717  df-clab 2100  df-cleq 2106  df-clel 2109  df-nfc 2242  df-ral 2393  df-rex 2394  df-v 2657  df-dif 3037  df-un 3039  df-in 3041  df-ss 3048  df-nul 3328  df-pw 3476  df-sn 3497  df-pr 3498  df-uni 3701  df-int 3736  df-tr 3985  df-iord 4246  df-on 4248  df-suc 4251  df-iom 4463
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator