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

Theorem omopthi 8472
Description: An ordered pair theorem for ω. Theorem 17.3 of [Quine] p. 124. This proof is adapted from nn0opthi 13980. (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 8428 . . . . . . . . . . . 12 (𝐴 +o 𝐵) ∈ ω
43nnoni 7711 . . . . . . . . . . 11 (𝐴 +o 𝐵) ∈ On
54onordi 6369 . . . . . . . . . 10 Ord (𝐴 +o 𝐵)
6 omopth.3 . . . . . . . . . . . . 13 𝐶 ∈ ω
7 omopth.4 . . . . . . . . . . . . 13 𝐷 ∈ ω
86, 7nnacli 8428 . . . . . . . . . . . 12 (𝐶 +o 𝐷) ∈ ω
98nnoni 7711 . . . . . . . . . . 11 (𝐶 +o 𝐷) ∈ On
109onordi 6369 . . . . . . . . . 10 Ord (𝐶 +o 𝐷)
11 ordtri3 6300 . . . . . . . . . 10 ((Ord (𝐴 +o 𝐵) ∧ Ord (𝐶 +o 𝐷)) → ((𝐴 +o 𝐵) = (𝐶 +o 𝐷) ↔ ¬ ((𝐴 +o 𝐵) ∈ (𝐶 +o 𝐷) ∨ (𝐶 +o 𝐷) ∈ (𝐴 +o 𝐵))))
125, 10, 11mp2an 689 . . . . . . . . 9 ((𝐴 +o 𝐵) = (𝐶 +o 𝐷) ↔ ¬ ((𝐴 +o 𝐵) ∈ (𝐶 +o 𝐷) ∨ (𝐶 +o 𝐷) ∈ (𝐴 +o 𝐵)))
1312con2bii 358 . . . . . . . 8 (((𝐴 +o 𝐵) ∈ (𝐶 +o 𝐷) ∨ (𝐶 +o 𝐷) ∈ (𝐴 +o 𝐵)) ↔ ¬ (𝐴 +o 𝐵) = (𝐶 +o 𝐷))
141, 2, 8, 7omopthlem2 8471 . . . . . . . . . 10 ((𝐴 +o 𝐵) ∈ (𝐶 +o 𝐷) → ¬ (((𝐶 +o 𝐷) ·o (𝐶 +o 𝐷)) +o 𝐷) = (((𝐴 +o 𝐵) ·o (𝐴 +o 𝐵)) +o 𝐵))
15 eqcom 2747 . . . . . . . . . 10 ((((𝐶 +o 𝐷) ·o (𝐶 +o 𝐷)) +o 𝐷) = (((𝐴 +o 𝐵) ·o (𝐴 +o 𝐵)) +o 𝐵) ↔ (((𝐴 +o 𝐵) ·o (𝐴 +o 𝐵)) +o 𝐵) = (((𝐶 +o 𝐷) ·o (𝐶 +o 𝐷)) +o 𝐷))
1614, 15sylnib 328 . . . . . . . . 9 ((𝐴 +o 𝐵) ∈ (𝐶 +o 𝐷) → ¬ (((𝐴 +o 𝐵) ·o (𝐴 +o 𝐵)) +o 𝐵) = (((𝐶 +o 𝐷) ·o (𝐶 +o 𝐷)) +o 𝐷))
176, 7, 3, 2omopthlem2 8471 . . . . . . . . 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 234 . . . . . . 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 7287 . . . . . . . . . 10 ((((𝐴 +o 𝐵) ·o (𝐴 +o 𝐵)) +o 𝐵) = (((𝐶 +o 𝐷) ·o (𝐶 +o 𝐷)) +o 𝐷) → ((𝐴 +o 𝐵) ·o (𝐴 +o 𝐵)) = ((𝐶 +o 𝐷) ·o (𝐶 +o 𝐷)))
2322oveq1d 7284 . . . . . . . . 9 ((((𝐴 +o 𝐵) ·o (𝐴 +o 𝐵)) +o 𝐵) = (((𝐶 +o 𝐷) ·o (𝐶 +o 𝐷)) +o 𝐷) → (((𝐴 +o 𝐵) ·o (𝐴 +o 𝐵)) +o 𝐷) = (((𝐶 +o 𝐷) ·o (𝐶 +o 𝐷)) +o 𝐷))
2421, 23eqtr4d 2783 . . . . . . . 8 ((((𝐴 +o 𝐵) ·o (𝐴 +o 𝐵)) +o 𝐵) = (((𝐶 +o 𝐷) ·o (𝐶 +o 𝐷)) +o 𝐷) → (((𝐴 +o 𝐵) ·o (𝐴 +o 𝐵)) +o 𝐵) = (((𝐴 +o 𝐵) ·o (𝐴 +o 𝐵)) +o 𝐷))
253, 3nnmcli 8429 . . . . . . . . 9 ((𝐴 +o 𝐵) ·o (𝐴 +o 𝐵)) ∈ ω
26 nnacan 8442 . . . . . . . . 9 ((((𝐴 +o 𝐵) ·o (𝐴 +o 𝐵)) ∈ ω ∧ 𝐵 ∈ ω ∧ 𝐷 ∈ ω) → ((((𝐴 +o 𝐵) ·o (𝐴 +o 𝐵)) +o 𝐵) = (((𝐴 +o 𝐵) ·o (𝐴 +o 𝐵)) +o 𝐷) ↔ 𝐵 = 𝐷))
2725, 2, 7, 26mp3an 1460 . . . . . . . 8 ((((𝐴 +o 𝐵) ·o (𝐴 +o 𝐵)) +o 𝐵) = (((𝐴 +o 𝐵) ·o (𝐴 +o 𝐵)) +o 𝐷) ↔ 𝐵 = 𝐷)
2824, 27sylib 217 . . . . . . 7 ((((𝐴 +o 𝐵) ·o (𝐴 +o 𝐵)) +o 𝐵) = (((𝐶 +o 𝐷) ·o (𝐶 +o 𝐷)) +o 𝐷) → 𝐵 = 𝐷)
2928oveq2d 7285 . . . . . 6 ((((𝐴 +o 𝐵) ·o (𝐴 +o 𝐵)) +o 𝐵) = (((𝐶 +o 𝐷) ·o (𝐶 +o 𝐷)) +o 𝐷) → (𝐶 +o 𝐵) = (𝐶 +o 𝐷))
3020, 29eqtr4d 2783 . . . . 5 ((((𝐴 +o 𝐵) ·o (𝐴 +o 𝐵)) +o 𝐵) = (((𝐶 +o 𝐷) ·o (𝐶 +o 𝐷)) +o 𝐷) → (𝐴 +o 𝐵) = (𝐶 +o 𝐵))
31 nnacom 8431 . . . . . 6 ((𝐵 ∈ ω ∧ 𝐴 ∈ ω) → (𝐵 +o 𝐴) = (𝐴 +o 𝐵))
322, 1, 31mp2an 689 . . . . 5 (𝐵 +o 𝐴) = (𝐴 +o 𝐵)
33 nnacom 8431 . . . . . 6 ((𝐵 ∈ ω ∧ 𝐶 ∈ ω) → (𝐵 +o 𝐶) = (𝐶 +o 𝐵))
342, 6, 33mp2an 689 . . . . 5 (𝐵 +o 𝐶) = (𝐶 +o 𝐵)
3530, 32, 343eqtr4g 2805 . . . 4 ((((𝐴 +o 𝐵) ·o (𝐴 +o 𝐵)) +o 𝐵) = (((𝐶 +o 𝐷) ·o (𝐶 +o 𝐷)) +o 𝐷) → (𝐵 +o 𝐴) = (𝐵 +o 𝐶))
36 nnacan 8442 . . . . 5 ((𝐵 ∈ ω ∧ 𝐴 ∈ ω ∧ 𝐶 ∈ ω) → ((𝐵 +o 𝐴) = (𝐵 +o 𝐶) ↔ 𝐴 = 𝐶))
372, 1, 6, 36mp3an 1460 . . . 4 ((𝐵 +o 𝐴) = (𝐵 +o 𝐶) ↔ 𝐴 = 𝐶)
3835, 37sylib 217 . . 3 ((((𝐴 +o 𝐵) ·o (𝐴 +o 𝐵)) +o 𝐵) = (((𝐶 +o 𝐷) ·o (𝐶 +o 𝐷)) +o 𝐷) → 𝐴 = 𝐶)
3938, 28jca 512 . 2 ((((𝐴 +o 𝐵) ·o (𝐴 +o 𝐵)) +o 𝐵) = (((𝐶 +o 𝐷) ·o (𝐶 +o 𝐷)) +o 𝐷) → (𝐴 = 𝐶𝐵 = 𝐷))
40 oveq12 7278 . . . 4 ((𝐴 = 𝐶𝐵 = 𝐷) → (𝐴 +o 𝐵) = (𝐶 +o 𝐷))
4140, 40oveq12d 7287 . . 3 ((𝐴 = 𝐶𝐵 = 𝐷) → ((𝐴 +o 𝐵) ·o (𝐴 +o 𝐵)) = ((𝐶 +o 𝐷) ·o (𝐶 +o 𝐷)))
42 simpr 485 . . 3 ((𝐴 = 𝐶𝐵 = 𝐷) → 𝐵 = 𝐷)
4341, 42oveq12d 7287 . 2 ((𝐴 = 𝐶𝐵 = 𝐷) → (((𝐴 +o 𝐵) ·o (𝐴 +o 𝐵)) +o 𝐵) = (((𝐶 +o 𝐷) ·o (𝐶 +o 𝐷)) +o 𝐷))
4439, 43impbii 208 1 ((((𝐴 +o 𝐵) ·o (𝐴 +o 𝐵)) +o 𝐵) = (((𝐶 +o 𝐷) ·o (𝐶 +o 𝐷)) +o 𝐷) ↔ (𝐴 = 𝐶𝐵 = 𝐷))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wb 205  wa 396  wo 844   = wceq 1542  wcel 2110  Ord word 6263  (class class class)co 7269  ωcom 7704   +o coa 8283   ·o comu 8284
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-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-reu 3073  df-rab 3075  df-v 3433  df-sbc 3721  df-csb 3838  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-op 4574  df-uni 4846  df-iun 4932  df-br 5080  df-opab 5142  df-mpt 5163  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-pred 6200  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-ov 7272  df-oprab 7273  df-mpo 7274  df-om 7705  df-2nd 7823  df-frecs 8086  df-wrecs 8117  df-recs 8191  df-rdg 8230  df-1o 8286  df-2o 8287  df-oadd 8290  df-omul 8291
This theorem is referenced by:  omopth  8473
  Copyright terms: Public domain W3C validator