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

Theorem omopthi 8276
Description: An ordered pair theorem for ω. Theorem 17.3 of [Quine] p. 124. This proof is adapted from nn0opthi 13633. (Contributed by Scott Fenton, 16-Apr-2012.) (Revised by Mario Carneiro, 17-Nov-2014.)
Hypotheses
Ref Expression
omopth.1 𝐴 ∈ ω
omopth.2 𝐵 ∈ ω
omopth.3 𝐶 ∈ ω
omopth.4 𝐷 ∈ ω
Assertion
Ref Expression
omopthi ((((𝐴 +o 𝐵) ·o (𝐴 +o 𝐵)) +o 𝐵) = (((𝐶 +o 𝐷) ·o (𝐶 +o 𝐷)) +o 𝐷) ↔ (𝐴 = 𝐶𝐵 = 𝐷))

Proof of Theorem omopthi
StepHypRef Expression
1 omopth.1 . . . . . . . . . . . . 13 𝐴 ∈ ω
2 omopth.2 . . . . . . . . . . . . 13 𝐵 ∈ ω
31, 2nnacli 8232 . . . . . . . . . . . 12 (𝐴 +o 𝐵) ∈ ω
43nnoni 7578 . . . . . . . . . . 11 (𝐴 +o 𝐵) ∈ On
54onordi 6283 . . . . . . . . . 10 Ord (𝐴 +o 𝐵)
6 omopth.3 . . . . . . . . . . . . 13 𝐶 ∈ ω
7 omopth.4 . . . . . . . . . . . . 13 𝐷 ∈ ω
86, 7nnacli 8232 . . . . . . . . . . . 12 (𝐶 +o 𝐷) ∈ ω
98nnoni 7578 . . . . . . . . . . 11 (𝐶 +o 𝐷) ∈ On
109onordi 6283 . . . . . . . . . 10 Ord (𝐶 +o 𝐷)
11 ordtri3 6215 . . . . . . . . . 10 ((Ord (𝐴 +o 𝐵) ∧ Ord (𝐶 +o 𝐷)) → ((𝐴 +o 𝐵) = (𝐶 +o 𝐷) ↔ ¬ ((𝐴 +o 𝐵) ∈ (𝐶 +o 𝐷) ∨ (𝐶 +o 𝐷) ∈ (𝐴 +o 𝐵))))
125, 10, 11mp2an 691 . . . . . . . . 9 ((𝐴 +o 𝐵) = (𝐶 +o 𝐷) ↔ ¬ ((𝐴 +o 𝐵) ∈ (𝐶 +o 𝐷) ∨ (𝐶 +o 𝐷) ∈ (𝐴 +o 𝐵)))
1312con2bii 361 . . . . . . . 8 (((𝐴 +o 𝐵) ∈ (𝐶 +o 𝐷) ∨ (𝐶 +o 𝐷) ∈ (𝐴 +o 𝐵)) ↔ ¬ (𝐴 +o 𝐵) = (𝐶 +o 𝐷))
141, 2, 8, 7omopthlem2 8275 . . . . . . . . . 10 ((𝐴 +o 𝐵) ∈ (𝐶 +o 𝐷) → ¬ (((𝐶 +o 𝐷) ·o (𝐶 +o 𝐷)) +o 𝐷) = (((𝐴 +o 𝐵) ·o (𝐴 +o 𝐵)) +o 𝐵))
15 eqcom 2831 . . . . . . . . . 10 ((((𝐶 +o 𝐷) ·o (𝐶 +o 𝐷)) +o 𝐷) = (((𝐴 +o 𝐵) ·o (𝐴 +o 𝐵)) +o 𝐵) ↔ (((𝐴 +o 𝐵) ·o (𝐴 +o 𝐵)) +o 𝐵) = (((𝐶 +o 𝐷) ·o (𝐶 +o 𝐷)) +o 𝐷))
1614, 15sylnib 331 . . . . . . . . 9 ((𝐴 +o 𝐵) ∈ (𝐶 +o 𝐷) → ¬ (((𝐴 +o 𝐵) ·o (𝐴 +o 𝐵)) +o 𝐵) = (((𝐶 +o 𝐷) ·o (𝐶 +o 𝐷)) +o 𝐷))
176, 7, 3, 2omopthlem2 8275 . . . . . . . . 9 ((𝐶 +o 𝐷) ∈ (𝐴 +o 𝐵) → ¬ (((𝐴 +o 𝐵) ·o (𝐴 +o 𝐵)) +o 𝐵) = (((𝐶 +o 𝐷) ·o (𝐶 +o 𝐷)) +o 𝐷))
1816, 17jaoi 854 . . . . . . . 8 (((𝐴 +o 𝐵) ∈ (𝐶 +o 𝐷) ∨ (𝐶 +o 𝐷) ∈ (𝐴 +o 𝐵)) → ¬ (((𝐴 +o 𝐵) ·o (𝐴 +o 𝐵)) +o 𝐵) = (((𝐶 +o 𝐷) ·o (𝐶 +o 𝐷)) +o 𝐷))
1913, 18sylbir 238 . . . . . . 7 (¬ (𝐴 +o 𝐵) = (𝐶 +o 𝐷) → ¬ (((𝐴 +o 𝐵) ·o (𝐴 +o 𝐵)) +o 𝐵) = (((𝐶 +o 𝐷) ·o (𝐶 +o 𝐷)) +o 𝐷))
2019con4i 114 . . . . . 6 ((((𝐴 +o 𝐵) ·o (𝐴 +o 𝐵)) +o 𝐵) = (((𝐶 +o 𝐷) ·o (𝐶 +o 𝐷)) +o 𝐷) → (𝐴 +o 𝐵) = (𝐶 +o 𝐷))
21 id 22 . . . . . . . . 9 ((((𝐴 +o 𝐵) ·o (𝐴 +o 𝐵)) +o 𝐵) = (((𝐶 +o 𝐷) ·o (𝐶 +o 𝐷)) +o 𝐷) → (((𝐴 +o 𝐵) ·o (𝐴 +o 𝐵)) +o 𝐵) = (((𝐶 +o 𝐷) ·o (𝐶 +o 𝐷)) +o 𝐷))
2220, 20oveq12d 7164 . . . . . . . . . 10 ((((𝐴 +o 𝐵) ·o (𝐴 +o 𝐵)) +o 𝐵) = (((𝐶 +o 𝐷) ·o (𝐶 +o 𝐷)) +o 𝐷) → ((𝐴 +o 𝐵) ·o (𝐴 +o 𝐵)) = ((𝐶 +o 𝐷) ·o (𝐶 +o 𝐷)))
2322oveq1d 7161 . . . . . . . . 9 ((((𝐴 +o 𝐵) ·o (𝐴 +o 𝐵)) +o 𝐵) = (((𝐶 +o 𝐷) ·o (𝐶 +o 𝐷)) +o 𝐷) → (((𝐴 +o 𝐵) ·o (𝐴 +o 𝐵)) +o 𝐷) = (((𝐶 +o 𝐷) ·o (𝐶 +o 𝐷)) +o 𝐷))
2421, 23eqtr4d 2862 . . . . . . . 8 ((((𝐴 +o 𝐵) ·o (𝐴 +o 𝐵)) +o 𝐵) = (((𝐶 +o 𝐷) ·o (𝐶 +o 𝐷)) +o 𝐷) → (((𝐴 +o 𝐵) ·o (𝐴 +o 𝐵)) +o 𝐵) = (((𝐴 +o 𝐵) ·o (𝐴 +o 𝐵)) +o 𝐷))
253, 3nnmcli 8233 . . . . . . . . 9 ((𝐴 +o 𝐵) ·o (𝐴 +o 𝐵)) ∈ ω
26 nnacan 8246 . . . . . . . . 9 ((((𝐴 +o 𝐵) ·o (𝐴 +o 𝐵)) ∈ ω ∧ 𝐵 ∈ ω ∧ 𝐷 ∈ ω) → ((((𝐴 +o 𝐵) ·o (𝐴 +o 𝐵)) +o 𝐵) = (((𝐴 +o 𝐵) ·o (𝐴 +o 𝐵)) +o 𝐷) ↔ 𝐵 = 𝐷))
2725, 2, 7, 26mp3an 1458 . . . . . . . 8 ((((𝐴 +o 𝐵) ·o (𝐴 +o 𝐵)) +o 𝐵) = (((𝐴 +o 𝐵) ·o (𝐴 +o 𝐵)) +o 𝐷) ↔ 𝐵 = 𝐷)
2824, 27sylib 221 . . . . . . 7 ((((𝐴 +o 𝐵) ·o (𝐴 +o 𝐵)) +o 𝐵) = (((𝐶 +o 𝐷) ·o (𝐶 +o 𝐷)) +o 𝐷) → 𝐵 = 𝐷)
2928oveq2d 7162 . . . . . 6 ((((𝐴 +o 𝐵) ·o (𝐴 +o 𝐵)) +o 𝐵) = (((𝐶 +o 𝐷) ·o (𝐶 +o 𝐷)) +o 𝐷) → (𝐶 +o 𝐵) = (𝐶 +o 𝐷))
3020, 29eqtr4d 2862 . . . . 5 ((((𝐴 +o 𝐵) ·o (𝐴 +o 𝐵)) +o 𝐵) = (((𝐶 +o 𝐷) ·o (𝐶 +o 𝐷)) +o 𝐷) → (𝐴 +o 𝐵) = (𝐶 +o 𝐵))
31 nnacom 8235 . . . . . 6 ((𝐵 ∈ ω ∧ 𝐴 ∈ ω) → (𝐵 +o 𝐴) = (𝐴 +o 𝐵))
322, 1, 31mp2an 691 . . . . 5 (𝐵 +o 𝐴) = (𝐴 +o 𝐵)
33 nnacom 8235 . . . . . 6 ((𝐵 ∈ ω ∧ 𝐶 ∈ ω) → (𝐵 +o 𝐶) = (𝐶 +o 𝐵))
342, 6, 33mp2an 691 . . . . 5 (𝐵 +o 𝐶) = (𝐶 +o 𝐵)
3530, 32, 343eqtr4g 2884 . . . 4 ((((𝐴 +o 𝐵) ·o (𝐴 +o 𝐵)) +o 𝐵) = (((𝐶 +o 𝐷) ·o (𝐶 +o 𝐷)) +o 𝐷) → (𝐵 +o 𝐴) = (𝐵 +o 𝐶))
36 nnacan 8246 . . . . 5 ((𝐵 ∈ ω ∧ 𝐴 ∈ ω ∧ 𝐶 ∈ ω) → ((𝐵 +o 𝐴) = (𝐵 +o 𝐶) ↔ 𝐴 = 𝐶))
372, 1, 6, 36mp3an 1458 . . . 4 ((𝐵 +o 𝐴) = (𝐵 +o 𝐶) ↔ 𝐴 = 𝐶)
3835, 37sylib 221 . . 3 ((((𝐴 +o 𝐵) ·o (𝐴 +o 𝐵)) +o 𝐵) = (((𝐶 +o 𝐷) ·o (𝐶 +o 𝐷)) +o 𝐷) → 𝐴 = 𝐶)
3938, 28jca 515 . 2 ((((𝐴 +o 𝐵) ·o (𝐴 +o 𝐵)) +o 𝐵) = (((𝐶 +o 𝐷) ·o (𝐶 +o 𝐷)) +o 𝐷) → (𝐴 = 𝐶𝐵 = 𝐷))
40 oveq12 7155 . . . 4 ((𝐴 = 𝐶𝐵 = 𝐷) → (𝐴 +o 𝐵) = (𝐶 +o 𝐷))
4140, 40oveq12d 7164 . . 3 ((𝐴 = 𝐶𝐵 = 𝐷) → ((𝐴 +o 𝐵) ·o (𝐴 +o 𝐵)) = ((𝐶 +o 𝐷) ·o (𝐶 +o 𝐷)))
42 simpr 488 . . 3 ((𝐴 = 𝐶𝐵 = 𝐷) → 𝐵 = 𝐷)
4341, 42oveq12d 7164 . 2 ((𝐴 = 𝐶𝐵 = 𝐷) → (((𝐴 +o 𝐵) ·o (𝐴 +o 𝐵)) +o 𝐵) = (((𝐶 +o 𝐷) ·o (𝐶 +o 𝐷)) +o 𝐷))
4439, 43impbii 212 1 ((((𝐴 +o 𝐵) ·o (𝐴 +o 𝐵)) +o 𝐵) = (((𝐶 +o 𝐷) ·o (𝐶 +o 𝐷)) +o 𝐷) ↔ (𝐴 = 𝐶𝐵 = 𝐷))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wb 209  wa 399  wo 844   = wceq 1538  wcel 2115  Ord word 6178  (class class class)co 7146  ωcom 7571   +o coa 8091   ·o comu 8092
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1797  ax-4 1811  ax-5 1912  ax-6 1971  ax-7 2016  ax-8 2117  ax-9 2125  ax-10 2146  ax-11 2162  ax-12 2179  ax-ext 2796  ax-sep 5190  ax-nul 5197  ax-pow 5254  ax-pr 5318  ax-un 7452
This theorem depends on definitions:  df-bi 210  df-an 400  df-or 845  df-3or 1085  df-3an 1086  df-tru 1541  df-ex 1782  df-nf 1786  df-sb 2071  df-mo 2624  df-eu 2655  df-clab 2803  df-cleq 2817  df-clel 2896  df-nfc 2964  df-ne 3015  df-ral 3138  df-rex 3139  df-reu 3140  df-rab 3142  df-v 3482  df-sbc 3759  df-csb 3867  df-dif 3922  df-un 3924  df-in 3926  df-ss 3936  df-pss 3938  df-nul 4277  df-if 4451  df-pw 4524  df-sn 4551  df-pr 4553  df-tp 4555  df-op 4557  df-uni 4826  df-iun 4908  df-br 5054  df-opab 5116  df-mpt 5134  df-tr 5160  df-id 5448  df-eprel 5453  df-po 5462  df-so 5463  df-fr 5502  df-we 5504  df-xp 5549  df-rel 5550  df-cnv 5551  df-co 5552  df-dm 5553  df-rn 5554  df-res 5555  df-ima 5556  df-pred 6136  df-ord 6182  df-on 6183  df-lim 6184  df-suc 6185  df-iota 6303  df-fun 6346  df-fn 6347  df-f 6348  df-f1 6349  df-fo 6350  df-f1o 6351  df-fv 6352  df-ov 7149  df-oprab 7150  df-mpo 7151  df-om 7572  df-wrecs 7939  df-recs 8000  df-rdg 8038  df-1o 8094  df-2o 8095  df-oadd 8098  df-omul 8099
This theorem is referenced by:  omopth  8277
  Copyright terms: Public domain W3C validator