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

Theorem nneneqOLD 8978
Description: Obsolete version of nneneq 8965 as of 11-Nov-2024. (Contributed by NM, 28-May-1998.) (Proof modification is discouraged.) (New usage is discouraged.)
Assertion
Ref Expression
nneneqOLD ((𝐴 ∈ ω ∧ 𝐵 ∈ ω) → (𝐴𝐵𝐴 = 𝐵))

Proof of Theorem nneneqOLD
Dummy variables 𝑥 𝑦 𝑧 𝑤 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 breq1 5082 . . . . . 6 (𝑥 = ∅ → (𝑥𝑧 ↔ ∅ ≈ 𝑧))
2 eqeq1 2744 . . . . . 6 (𝑥 = ∅ → (𝑥 = 𝑧 ↔ ∅ = 𝑧))
31, 2imbi12d 345 . . . . 5 (𝑥 = ∅ → ((𝑥𝑧𝑥 = 𝑧) ↔ (∅ ≈ 𝑧 → ∅ = 𝑧)))
43ralbidv 3123 . . . 4 (𝑥 = ∅ → (∀𝑧 ∈ ω (𝑥𝑧𝑥 = 𝑧) ↔ ∀𝑧 ∈ ω (∅ ≈ 𝑧 → ∅ = 𝑧)))
5 breq1 5082 . . . . . 6 (𝑥 = 𝑦 → (𝑥𝑧𝑦𝑧))
6 eqeq1 2744 . . . . . 6 (𝑥 = 𝑦 → (𝑥 = 𝑧𝑦 = 𝑧))
75, 6imbi12d 345 . . . . 5 (𝑥 = 𝑦 → ((𝑥𝑧𝑥 = 𝑧) ↔ (𝑦𝑧𝑦 = 𝑧)))
87ralbidv 3123 . . . 4 (𝑥 = 𝑦 → (∀𝑧 ∈ ω (𝑥𝑧𝑥 = 𝑧) ↔ ∀𝑧 ∈ ω (𝑦𝑧𝑦 = 𝑧)))
9 breq1 5082 . . . . . 6 (𝑥 = suc 𝑦 → (𝑥𝑧 ↔ suc 𝑦𝑧))
10 eqeq1 2744 . . . . . 6 (𝑥 = suc 𝑦 → (𝑥 = 𝑧 ↔ suc 𝑦 = 𝑧))
119, 10imbi12d 345 . . . . 5 (𝑥 = suc 𝑦 → ((𝑥𝑧𝑥 = 𝑧) ↔ (suc 𝑦𝑧 → suc 𝑦 = 𝑧)))
1211ralbidv 3123 . . . 4 (𝑥 = suc 𝑦 → (∀𝑧 ∈ ω (𝑥𝑧𝑥 = 𝑧) ↔ ∀𝑧 ∈ ω (suc 𝑦𝑧 → suc 𝑦 = 𝑧)))
13 breq1 5082 . . . . . 6 (𝑥 = 𝐴 → (𝑥𝑧𝐴𝑧))
14 eqeq1 2744 . . . . . 6 (𝑥 = 𝐴 → (𝑥 = 𝑧𝐴 = 𝑧))
1513, 14imbi12d 345 . . . . 5 (𝑥 = 𝐴 → ((𝑥𝑧𝑥 = 𝑧) ↔ (𝐴𝑧𝐴 = 𝑧)))
1615ralbidv 3123 . . . 4 (𝑥 = 𝐴 → (∀𝑧 ∈ ω (𝑥𝑧𝑥 = 𝑧) ↔ ∀𝑧 ∈ ω (𝐴𝑧𝐴 = 𝑧)))
17 ensym 8764 . . . . . 6 (∅ ≈ 𝑧𝑧 ≈ ∅)
18 en0 8778 . . . . . . 7 (𝑧 ≈ ∅ ↔ 𝑧 = ∅)
19 eqcom 2747 . . . . . . 7 (𝑧 = ∅ ↔ ∅ = 𝑧)
2018, 19bitri 274 . . . . . 6 (𝑧 ≈ ∅ ↔ ∅ = 𝑧)
2117, 20sylib 217 . . . . 5 (∅ ≈ 𝑧 → ∅ = 𝑧)
2221rgenw 3078 . . . 4 𝑧 ∈ ω (∅ ≈ 𝑧 → ∅ = 𝑧)
23 nn0suc 7730 . . . . . . 7 (𝑤 ∈ ω → (𝑤 = ∅ ∨ ∃𝑧 ∈ ω 𝑤 = suc 𝑧))
24 en0 8778 . . . . . . . . . . . 12 (suc 𝑦 ≈ ∅ ↔ suc 𝑦 = ∅)
25 breq2 5083 . . . . . . . . . . . . 13 (𝑤 = ∅ → (suc 𝑦𝑤 ↔ suc 𝑦 ≈ ∅))
26 eqeq2 2752 . . . . . . . . . . . . 13 (𝑤 = ∅ → (suc 𝑦 = 𝑤 ↔ suc 𝑦 = ∅))
2725, 26bibi12d 346 . . . . . . . . . . . 12 (𝑤 = ∅ → ((suc 𝑦𝑤 ↔ suc 𝑦 = 𝑤) ↔ (suc 𝑦 ≈ ∅ ↔ suc 𝑦 = ∅)))
2824, 27mpbiri 257 . . . . . . . . . . 11 (𝑤 = ∅ → (suc 𝑦𝑤 ↔ suc 𝑦 = 𝑤))
2928biimpd 228 . . . . . . . . . 10 (𝑤 = ∅ → (suc 𝑦𝑤 → suc 𝑦 = 𝑤))
3029a1i 11 . . . . . . . . 9 ((𝑦 ∈ ω ∧ ∀𝑧 ∈ ω (𝑦𝑧𝑦 = 𝑧)) → (𝑤 = ∅ → (suc 𝑦𝑤 → suc 𝑦 = 𝑤)))
31 nfv 1921 . . . . . . . . . . 11 𝑧 𝑦 ∈ ω
32 nfra1 3145 . . . . . . . . . . 11 𝑧𝑧 ∈ ω (𝑦𝑧𝑦 = 𝑧)
3331, 32nfan 1906 . . . . . . . . . 10 𝑧(𝑦 ∈ ω ∧ ∀𝑧 ∈ ω (𝑦𝑧𝑦 = 𝑧))
34 nfv 1921 . . . . . . . . . 10 𝑧(suc 𝑦𝑤 → suc 𝑦 = 𝑤)
35 vex 3435 . . . . . . . . . . . . . . . . 17 𝑦 ∈ V
36 vex 3435 . . . . . . . . . . . . . . . . 17 𝑧 ∈ V
3735, 36phplem4OLD 8977 . . . . . . . . . . . . . . . 16 ((𝑦 ∈ ω ∧ 𝑧 ∈ ω) → (suc 𝑦 ≈ suc 𝑧𝑦𝑧))
3837imim1d 82 . . . . . . . . . . . . . . 15 ((𝑦 ∈ ω ∧ 𝑧 ∈ ω) → ((𝑦𝑧𝑦 = 𝑧) → (suc 𝑦 ≈ suc 𝑧𝑦 = 𝑧)))
3938ex 413 . . . . . . . . . . . . . 14 (𝑦 ∈ ω → (𝑧 ∈ ω → ((𝑦𝑧𝑦 = 𝑧) → (suc 𝑦 ≈ suc 𝑧𝑦 = 𝑧))))
4039a2d 29 . . . . . . . . . . . . 13 (𝑦 ∈ ω → ((𝑧 ∈ ω → (𝑦𝑧𝑦 = 𝑧)) → (𝑧 ∈ ω → (suc 𝑦 ≈ suc 𝑧𝑦 = 𝑧))))
41 rsp 3132 . . . . . . . . . . . . 13 (∀𝑧 ∈ ω (𝑦𝑧𝑦 = 𝑧) → (𝑧 ∈ ω → (𝑦𝑧𝑦 = 𝑧)))
4240, 41impel 506 . . . . . . . . . . . 12 ((𝑦 ∈ ω ∧ ∀𝑧 ∈ ω (𝑦𝑧𝑦 = 𝑧)) → (𝑧 ∈ ω → (suc 𝑦 ≈ suc 𝑧𝑦 = 𝑧)))
43 suceq 6329 . . . . . . . . . . . 12 (𝑦 = 𝑧 → suc 𝑦 = suc 𝑧)
4442, 43syl8 76 . . . . . . . . . . 11 ((𝑦 ∈ ω ∧ ∀𝑧 ∈ ω (𝑦𝑧𝑦 = 𝑧)) → (𝑧 ∈ ω → (suc 𝑦 ≈ suc 𝑧 → suc 𝑦 = suc 𝑧)))
45 breq2 5083 . . . . . . . . . . . . 13 (𝑤 = suc 𝑧 → (suc 𝑦𝑤 ↔ suc 𝑦 ≈ suc 𝑧))
46 eqeq2 2752 . . . . . . . . . . . . 13 (𝑤 = suc 𝑧 → (suc 𝑦 = 𝑤 ↔ suc 𝑦 = suc 𝑧))
4745, 46imbi12d 345 . . . . . . . . . . . 12 (𝑤 = suc 𝑧 → ((suc 𝑦𝑤 → suc 𝑦 = 𝑤) ↔ (suc 𝑦 ≈ suc 𝑧 → suc 𝑦 = suc 𝑧)))
4847biimprcd 249 . . . . . . . . . . 11 ((suc 𝑦 ≈ suc 𝑧 → suc 𝑦 = suc 𝑧) → (𝑤 = suc 𝑧 → (suc 𝑦𝑤 → suc 𝑦 = 𝑤)))
4944, 48syl6 35 . . . . . . . . . 10 ((𝑦 ∈ ω ∧ ∀𝑧 ∈ ω (𝑦𝑧𝑦 = 𝑧)) → (𝑧 ∈ ω → (𝑤 = suc 𝑧 → (suc 𝑦𝑤 → suc 𝑦 = 𝑤))))
5033, 34, 49rexlimd 3248 . . . . . . . . 9 ((𝑦 ∈ ω ∧ ∀𝑧 ∈ ω (𝑦𝑧𝑦 = 𝑧)) → (∃𝑧 ∈ ω 𝑤 = suc 𝑧 → (suc 𝑦𝑤 → suc 𝑦 = 𝑤)))
5130, 50jaod 856 . . . . . . . 8 ((𝑦 ∈ ω ∧ ∀𝑧 ∈ ω (𝑦𝑧𝑦 = 𝑧)) → ((𝑤 = ∅ ∨ ∃𝑧 ∈ ω 𝑤 = suc 𝑧) → (suc 𝑦𝑤 → suc 𝑦 = 𝑤)))
5251ex 413 . . . . . . 7 (𝑦 ∈ ω → (∀𝑧 ∈ ω (𝑦𝑧𝑦 = 𝑧) → ((𝑤 = ∅ ∨ ∃𝑧 ∈ ω 𝑤 = suc 𝑧) → (suc 𝑦𝑤 → suc 𝑦 = 𝑤))))
5323, 52syl7 74 . . . . . 6 (𝑦 ∈ ω → (∀𝑧 ∈ ω (𝑦𝑧𝑦 = 𝑧) → (𝑤 ∈ ω → (suc 𝑦𝑤 → suc 𝑦 = 𝑤))))
5453ralrimdv 3114 . . . . 5 (𝑦 ∈ ω → (∀𝑧 ∈ ω (𝑦𝑧𝑦 = 𝑧) → ∀𝑤 ∈ ω (suc 𝑦𝑤 → suc 𝑦 = 𝑤)))
55 breq2 5083 . . . . . . 7 (𝑤 = 𝑧 → (suc 𝑦𝑤 ↔ suc 𝑦𝑧))
56 eqeq2 2752 . . . . . . 7 (𝑤 = 𝑧 → (suc 𝑦 = 𝑤 ↔ suc 𝑦 = 𝑧))
5755, 56imbi12d 345 . . . . . 6 (𝑤 = 𝑧 → ((suc 𝑦𝑤 → suc 𝑦 = 𝑤) ↔ (suc 𝑦𝑧 → suc 𝑦 = 𝑧)))
5857cbvralvw 3381 . . . . 5 (∀𝑤 ∈ ω (suc 𝑦𝑤 → suc 𝑦 = 𝑤) ↔ ∀𝑧 ∈ ω (suc 𝑦𝑧 → suc 𝑦 = 𝑧))
5954, 58syl6ib 250 . . . 4 (𝑦 ∈ ω → (∀𝑧 ∈ ω (𝑦𝑧𝑦 = 𝑧) → ∀𝑧 ∈ ω (suc 𝑦𝑧 → suc 𝑦 = 𝑧)))
604, 8, 12, 16, 22, 59finds 7733 . . 3 (𝐴 ∈ ω → ∀𝑧 ∈ ω (𝐴𝑧𝐴 = 𝑧))
61 breq2 5083 . . . . 5 (𝑧 = 𝐵 → (𝐴𝑧𝐴𝐵))
62 eqeq2 2752 . . . . 5 (𝑧 = 𝐵 → (𝐴 = 𝑧𝐴 = 𝐵))
6361, 62imbi12d 345 . . . 4 (𝑧 = 𝐵 → ((𝐴𝑧𝐴 = 𝑧) ↔ (𝐴𝐵𝐴 = 𝐵)))
6463rspcv 3556 . . 3 (𝐵 ∈ ω → (∀𝑧 ∈ ω (𝐴𝑧𝐴 = 𝑧) → (𝐴𝐵𝐴 = 𝐵)))
6560, 64mpan9 507 . 2 ((𝐴 ∈ ω ∧ 𝐵 ∈ ω) → (𝐴𝐵𝐴 = 𝐵))
66 eqeng 8749 . . 3 (𝐴 ∈ ω → (𝐴 = 𝐵𝐴𝐵))
6766adantr 481 . 2 ((𝐴 ∈ ω ∧ 𝐵 ∈ ω) → (𝐴 = 𝐵𝐴𝐵))
6865, 67impbid 211 1 ((𝐴 ∈ ω ∧ 𝐵 ∈ ω) → (𝐴𝐵𝐴 = 𝐵))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 205  wa 396  wo 844   = wceq 1542  wcel 2110  wral 3066  wrex 3067  c0 4262   class class class wbr 5079  suc csuc 6266  ωcom 7701  cen 8705
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1802  ax-4 1816  ax-5 1917  ax-6 1975  ax-7 2015  ax-8 2112  ax-9 2120  ax-10 2141  ax-11 2158  ax-12 2175  ax-ext 2711  ax-sep 5227  ax-nul 5234  ax-pow 5292  ax-pr 5356  ax-un 7580
This theorem depends on definitions:  df-bi 206  df-an 397  df-or 845  df-3or 1087  df-3an 1088  df-tru 1545  df-fal 1555  df-ex 1787  df-nf 1791  df-sb 2072  df-mo 2542  df-eu 2571  df-clab 2718  df-cleq 2732  df-clel 2818  df-nfc 2891  df-ne 2946  df-ral 3071  df-rex 3072  df-rab 3075  df-v 3433  df-dif 3895  df-un 3897  df-in 3899  df-ss 3909  df-pss 3911  df-nul 4263  df-if 4466  df-pw 4541  df-sn 4568  df-pr 4570  df-tp 4572  df-op 4574  df-uni 4846  df-br 5080  df-opab 5142  df-tr 5197  df-id 5489  df-eprel 5495  df-po 5503  df-so 5504  df-fr 5544  df-we 5546  df-xp 5595  df-rel 5596  df-cnv 5597  df-co 5598  df-dm 5599  df-rn 5600  df-res 5601  df-ima 5602  df-ord 6267  df-on 6268  df-lim 6269  df-suc 6270  df-iota 6389  df-fun 6433  df-fn 6434  df-f 6435  df-f1 6436  df-fo 6437  df-f1o 6438  df-fv 6439  df-om 7702  df-er 8473  df-en 8709
This theorem is referenced by:  phpOLD  8979
  Copyright terms: Public domain W3C validator