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

Theorem nnaord 7466
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 7465 . . 3 ((𝐵 ∈ ω ∧ 𝐶 ∈ ω) → (𝐴𝐵 → (𝐶 +𝑜 𝐴) ∈ (𝐶 +𝑜 𝐵)))
213adant1 1071 . 2 ((𝐴 ∈ ω ∧ 𝐵 ∈ ω ∧ 𝐶 ∈ ω) → (𝐴𝐵 → (𝐶 +𝑜 𝐴) ∈ (𝐶 +𝑜 𝐵)))
3 oveq2 6439 . . . . . 6 (𝐴 = 𝐵 → (𝐶 +𝑜 𝐴) = (𝐶 +𝑜 𝐵))
43a1i 11 . . . . 5 ((𝐴 ∈ ω ∧ 𝐵 ∈ ω ∧ 𝐶 ∈ ω) → (𝐴 = 𝐵 → (𝐶 +𝑜 𝐴) = (𝐶 +𝑜 𝐵)))
5 nnaordi 7465 . . . . . 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 7458 . . . . . . 7 ((𝐶 ∈ ω ∧ 𝐴 ∈ ω) → (𝐶 +𝑜 𝐴) ∈ ω)
14 nnord 6846 . . . . . . 7 ((𝐶 +𝑜 𝐴) ∈ ω → Ord (𝐶 +𝑜 𝐴))
1513, 14syl 17 . . . . . 6 ((𝐶 ∈ ω ∧ 𝐴 ∈ ω) → Ord (𝐶 +𝑜 𝐴))
16 nnacl 7458 . . . . . . 7 ((𝐶 ∈ ω ∧ 𝐵 ∈ ω) → (𝐶 +𝑜 𝐵) ∈ ω)
17 nnord 6846 . . . . . . 7 ((𝐶 +𝑜 𝐵) ∈ ω → Ord (𝐶 +𝑜 𝐵))
1816, 17syl 17 . . . . . 6 ((𝐶 ∈ ω ∧ 𝐵 ∈ ω) → Ord (𝐶 +𝑜 𝐵))
1915, 18anim12i 587 . . . . 5 (((𝐶 ∈ ω ∧ 𝐴 ∈ ω) ∧ (𝐶 ∈ ω ∧ 𝐵 ∈ ω)) → (Ord (𝐶 +𝑜 𝐴) ∧ Ord (𝐶 +𝑜 𝐵)))
2012, 19sylbi 205 . . . 4 ((𝐴 ∈ ω ∧ 𝐵 ∈ ω ∧ 𝐶 ∈ ω) → (Ord (𝐶 +𝑜 𝐴) ∧ Ord (𝐶 +𝑜 𝐵)))
21 ordtri2 5565 . . . 4 ((Ord (𝐶 +𝑜 𝐴) ∧ Ord (𝐶 +𝑜 𝐵)) → ((𝐶 +𝑜 𝐴) ∈ (𝐶 +𝑜 𝐵) ↔ ¬ ((𝐶 +𝑜 𝐴) = (𝐶 +𝑜 𝐵) ∨ (𝐶 +𝑜 𝐵) ∈ (𝐶 +𝑜 𝐴))))
2220, 21syl 17 . . 3 ((𝐴 ∈ ω ∧ 𝐵 ∈ ω ∧ 𝐶 ∈ ω) → ((𝐶 +𝑜 𝐴) ∈ (𝐶 +𝑜 𝐵) ↔ ¬ ((𝐶 +𝑜 𝐴) = (𝐶 +𝑜 𝐵) ∨ (𝐶 +𝑜 𝐵) ∈ (𝐶 +𝑜 𝐴))))
23 nnord 6846 . . . . . 6 (𝐴 ∈ ω → Ord 𝐴)
24 nnord 6846 . . . . . 6 (𝐵 ∈ ω → Ord 𝐵)
2523, 24anim12i 587 . . . . 5 ((𝐴 ∈ ω ∧ 𝐵 ∈ ω) → (Ord 𝐴 ∧ Ord 𝐵))
26253adant3 1073 . . . 4 ((𝐴 ∈ ω ∧ 𝐵 ∈ ω ∧ 𝐶 ∈ ω) → (Ord 𝐴 ∧ Ord 𝐵))
27 ordtri2 5565 . . . 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 1938  Ord word 5529  (class class class)co 6431  ωcom 6838   +𝑜 coa 7324
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1700  ax-4 1713  ax-5 1793  ax-6 1838  ax-7 1885  ax-8 1940  ax-9 1947  ax-10 1966  ax-11 1971  ax-12 1983  ax-13 2137  ax-ext 2494  ax-sep 4607  ax-nul 4616  ax-pow 4668  ax-pr 4732  ax-un 6728
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 1699  df-sb 1831  df-eu 2366  df-mo 2367  df-clab 2501  df-cleq 2507  df-clel 2510  df-nfc 2644  df-ne 2686  df-ral 2805  df-rex 2806  df-reu 2807  df-rab 2809  df-v 3079  df-sbc 3307  df-csb 3404  df-dif 3447  df-un 3449  df-in 3451  df-ss 3458  df-pss 3460  df-nul 3778  df-if 3940  df-pw 4013  df-sn 4029  df-pr 4031  df-tp 4033  df-op 4035  df-uni 4271  df-iun 4355  df-br 4482  df-opab 4542  df-mpt 4543  df-tr 4579  df-eprel 4843  df-id 4847  df-po 4853  df-so 4854  df-fr 4891  df-we 4893  df-xp 4938  df-rel 4939  df-cnv 4940  df-co 4941  df-dm 4942  df-rn 4943  df-res 4944  df-ima 4945  df-pred 5487  df-ord 5533  df-on 5534  df-lim 5535  df-suc 5536  df-iota 5658  df-fun 5696  df-fn 5697  df-f 5698  df-f1 5699  df-fo 5700  df-f1o 5701  df-fv 5702  df-ov 6434  df-oprab 6435  df-mpt2 6436  df-om 6839  df-wrecs 7174  df-recs 7235  df-rdg 7273  df-oadd 7331
This theorem is referenced by:  nnaordr  7467  nnaword  7474  nnaordex  7485  nnneo  7498  unfilem1  7989  ltapi  9484  1lt2pi  9486
  Copyright terms: Public domain W3C validator