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

Theorem nnaord 7563
Description: Ordering property of addition. Proposition 8.4 of [TakeutiZaring] p. 58, limited to natural numbers, and its converse. (Contributed by NM, 7-Mar-1996.) (Revised by Mario Carneiro, 15-Nov-2014.)
Assertion
Ref Expression
nnaord ((𝐴 ∈ ω ∧ 𝐵 ∈ ω ∧ 𝐶 ∈ ω) → (𝐴𝐵 ↔ (𝐶 +𝑜 𝐴) ∈ (𝐶 +𝑜 𝐵)))

Proof of Theorem nnaord
StepHypRef Expression
1 nnaordi 7562 . . 3 ((𝐵 ∈ ω ∧ 𝐶 ∈ ω) → (𝐴𝐵 → (𝐶 +𝑜 𝐴) ∈ (𝐶 +𝑜 𝐵)))
213adant1 1071 . 2 ((𝐴 ∈ ω ∧ 𝐵 ∈ ω ∧ 𝐶 ∈ ω) → (𝐴𝐵 → (𝐶 +𝑜 𝐴) ∈ (𝐶 +𝑜 𝐵)))
3 oveq2 6535 . . . . . 6 (𝐴 = 𝐵 → (𝐶 +𝑜 𝐴) = (𝐶 +𝑜 𝐵))
43a1i 11 . . . . 5 ((𝐴 ∈ ω ∧ 𝐵 ∈ ω ∧ 𝐶 ∈ ω) → (𝐴 = 𝐵 → (𝐶 +𝑜 𝐴) = (𝐶 +𝑜 𝐵)))
5 nnaordi 7562 . . . . . 6 ((𝐴 ∈ ω ∧ 𝐶 ∈ ω) → (𝐵𝐴 → (𝐶 +𝑜 𝐵) ∈ (𝐶 +𝑜 𝐴)))
653adant2 1072 . . . . 5 ((𝐴 ∈ ω ∧ 𝐵 ∈ ω ∧ 𝐶 ∈ ω) → (𝐵𝐴 → (𝐶 +𝑜 𝐵) ∈ (𝐶 +𝑜 𝐴)))
74, 6orim12d 878 . . . 4 ((𝐴 ∈ ω ∧ 𝐵 ∈ ω ∧ 𝐶 ∈ ω) → ((𝐴 = 𝐵𝐵𝐴) → ((𝐶 +𝑜 𝐴) = (𝐶 +𝑜 𝐵) ∨ (𝐶 +𝑜 𝐵) ∈ (𝐶 +𝑜 𝐴))))
87con3d 146 . . 3 ((𝐴 ∈ ω ∧ 𝐵 ∈ ω ∧ 𝐶 ∈ ω) → (¬ ((𝐶 +𝑜 𝐴) = (𝐶 +𝑜 𝐵) ∨ (𝐶 +𝑜 𝐵) ∈ (𝐶 +𝑜 𝐴)) → ¬ (𝐴 = 𝐵𝐵𝐴)))
9 df-3an 1032 . . . . . 6 ((𝐴 ∈ ω ∧ 𝐵 ∈ ω ∧ 𝐶 ∈ ω) ↔ ((𝐴 ∈ ω ∧ 𝐵 ∈ ω) ∧ 𝐶 ∈ ω))
10 ancom 464 . . . . . 6 (((𝐴 ∈ ω ∧ 𝐵 ∈ ω) ∧ 𝐶 ∈ ω) ↔ (𝐶 ∈ ω ∧ (𝐴 ∈ ω ∧ 𝐵 ∈ ω)))
11 anandi 866 . . . . . 6 ((𝐶 ∈ ω ∧ (𝐴 ∈ ω ∧ 𝐵 ∈ ω)) ↔ ((𝐶 ∈ ω ∧ 𝐴 ∈ ω) ∧ (𝐶 ∈ ω ∧ 𝐵 ∈ ω)))
129, 10, 113bitri 284 . . . . 5 ((𝐴 ∈ ω ∧ 𝐵 ∈ ω ∧ 𝐶 ∈ ω) ↔ ((𝐶 ∈ ω ∧ 𝐴 ∈ ω) ∧ (𝐶 ∈ ω ∧ 𝐵 ∈ ω)))
13 nnacl 7555 . . . . . . 7 ((𝐶 ∈ ω ∧ 𝐴 ∈ ω) → (𝐶 +𝑜 𝐴) ∈ ω)
14 nnord 6942 . . . . . . 7 ((𝐶 +𝑜 𝐴) ∈ ω → Ord (𝐶 +𝑜 𝐴))
1513, 14syl 17 . . . . . 6 ((𝐶 ∈ ω ∧ 𝐴 ∈ ω) → Ord (𝐶 +𝑜 𝐴))
16 nnacl 7555 . . . . . . 7 ((𝐶 ∈ ω ∧ 𝐵 ∈ ω) → (𝐶 +𝑜 𝐵) ∈ ω)
17 nnord 6942 . . . . . . 7 ((𝐶 +𝑜 𝐵) ∈ ω → Ord (𝐶 +𝑜 𝐵))
1816, 17syl 17 . . . . . 6 ((𝐶 ∈ ω ∧ 𝐵 ∈ ω) → Ord (𝐶 +𝑜 𝐵))
1915, 18anim12i 587 . . . . 5 (((𝐶 ∈ ω ∧ 𝐴 ∈ ω) ∧ (𝐶 ∈ ω ∧ 𝐵 ∈ ω)) → (Ord (𝐶 +𝑜 𝐴) ∧ Ord (𝐶 +𝑜 𝐵)))
2012, 19sylbi 205 . . . 4 ((𝐴 ∈ ω ∧ 𝐵 ∈ ω ∧ 𝐶 ∈ ω) → (Ord (𝐶 +𝑜 𝐴) ∧ Ord (𝐶 +𝑜 𝐵)))
21 ordtri2 5661 . . . 4 ((Ord (𝐶 +𝑜 𝐴) ∧ Ord (𝐶 +𝑜 𝐵)) → ((𝐶 +𝑜 𝐴) ∈ (𝐶 +𝑜 𝐵) ↔ ¬ ((𝐶 +𝑜 𝐴) = (𝐶 +𝑜 𝐵) ∨ (𝐶 +𝑜 𝐵) ∈ (𝐶 +𝑜 𝐴))))
2220, 21syl 17 . . 3 ((𝐴 ∈ ω ∧ 𝐵 ∈ ω ∧ 𝐶 ∈ ω) → ((𝐶 +𝑜 𝐴) ∈ (𝐶 +𝑜 𝐵) ↔ ¬ ((𝐶 +𝑜 𝐴) = (𝐶 +𝑜 𝐵) ∨ (𝐶 +𝑜 𝐵) ∈ (𝐶 +𝑜 𝐴))))
23 nnord 6942 . . . . . 6 (𝐴 ∈ ω → Ord 𝐴)
24 nnord 6942 . . . . . 6 (𝐵 ∈ ω → Ord 𝐵)
2523, 24anim12i 587 . . . . 5 ((𝐴 ∈ ω ∧ 𝐵 ∈ ω) → (Ord 𝐴 ∧ Ord 𝐵))
26253adant3 1073 . . . 4 ((𝐴 ∈ ω ∧ 𝐵 ∈ ω ∧ 𝐶 ∈ ω) → (Ord 𝐴 ∧ Ord 𝐵))
27 ordtri2 5661 . . . 4 ((Ord 𝐴 ∧ Ord 𝐵) → (𝐴𝐵 ↔ ¬ (𝐴 = 𝐵𝐵𝐴)))
2826, 27syl 17 . . 3 ((𝐴 ∈ ω ∧ 𝐵 ∈ ω ∧ 𝐶 ∈ ω) → (𝐴𝐵 ↔ ¬ (𝐴 = 𝐵𝐵𝐴)))
298, 22, 283imtr4d 281 . 2 ((𝐴 ∈ ω ∧ 𝐵 ∈ ω ∧ 𝐶 ∈ ω) → ((𝐶 +𝑜 𝐴) ∈ (𝐶 +𝑜 𝐵) → 𝐴𝐵))
302, 29impbid 200 1 ((𝐴 ∈ ω ∧ 𝐵 ∈ ω ∧ 𝐶 ∈ ω) → (𝐴𝐵 ↔ (𝐶 +𝑜 𝐴) ∈ (𝐶 +𝑜 𝐵)))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 194  wo 381  wa 382  w3a 1030   = wceq 1474  wcel 1976  Ord word 5625  (class class class)co 6527  ωcom 6934   +𝑜 coa 7421
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1712  ax-4 1727  ax-5 1826  ax-6 1874  ax-7 1921  ax-8 1978  ax-9 1985  ax-10 2005  ax-11 2020  ax-12 2033  ax-13 2233  ax-ext 2589  ax-sep 4703  ax-nul 4712  ax-pow 4764  ax-pr 4828  ax-un 6824
This theorem depends on definitions:  df-bi 195  df-or 383  df-an 384  df-3or 1031  df-3an 1032  df-tru 1477  df-ex 1695  df-nf 1700  df-sb 1867  df-eu 2461  df-mo 2462  df-clab 2596  df-cleq 2602  df-clel 2605  df-nfc 2739  df-ne 2781  df-ral 2900  df-rex 2901  df-reu 2902  df-rab 2904  df-v 3174  df-sbc 3402  df-csb 3499  df-dif 3542  df-un 3544  df-in 3546  df-ss 3553  df-pss 3555  df-nul 3874  df-if 4036  df-pw 4109  df-sn 4125  df-pr 4127  df-tp 4129  df-op 4131  df-uni 4367  df-iun 4451  df-br 4578  df-opab 4638  df-mpt 4639  df-tr 4675  df-eprel 4939  df-id 4943  df-po 4949  df-so 4950  df-fr 4987  df-we 4989  df-xp 5034  df-rel 5035  df-cnv 5036  df-co 5037  df-dm 5038  df-rn 5039  df-res 5040  df-ima 5041  df-pred 5583  df-ord 5629  df-on 5630  df-lim 5631  df-suc 5632  df-iota 5754  df-fun 5792  df-fn 5793  df-f 5794  df-f1 5795  df-fo 5796  df-f1o 5797  df-fv 5798  df-ov 6530  df-oprab 6531  df-mpt2 6532  df-om 6935  df-wrecs 7271  df-recs 7332  df-rdg 7370  df-oadd 7428
This theorem is referenced by:  nnaordr  7564  nnaword  7571  nnaordex  7582  nnneo  7595  unfilem1  8086  ltapi  9581  1lt2pi  9583
  Copyright terms: Public domain W3C validator