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

Theorem nnmord 8256
Description: Ordering property of multiplication. Proposition 8.19 of [TakeutiZaring] p. 63, limited to natural numbers. (Contributed by NM, 22-Jan-1996.) (Revised by Mario Carneiro, 15-Nov-2014.)
Assertion
Ref Expression
nnmord ((𝐴 ∈ ω ∧ 𝐵 ∈ ω ∧ 𝐶 ∈ ω) → ((𝐴𝐵 ∧ ∅ ∈ 𝐶) ↔ (𝐶 ·o 𝐴) ∈ (𝐶 ·o 𝐵)))

Proof of Theorem nnmord
StepHypRef Expression
1 nnmordi 8255 . . . . 5 (((𝐵 ∈ ω ∧ 𝐶 ∈ ω) ∧ ∅ ∈ 𝐶) → (𝐴𝐵 → (𝐶 ·o 𝐴) ∈ (𝐶 ·o 𝐵)))
21ex 416 . . . 4 ((𝐵 ∈ ω ∧ 𝐶 ∈ ω) → (∅ ∈ 𝐶 → (𝐴𝐵 → (𝐶 ·o 𝐴) ∈ (𝐶 ·o 𝐵))))
32impcomd 415 . . 3 ((𝐵 ∈ ω ∧ 𝐶 ∈ ω) → ((𝐴𝐵 ∧ ∅ ∈ 𝐶) → (𝐶 ·o 𝐴) ∈ (𝐶 ·o 𝐵)))
433adant1 1127 . 2 ((𝐴 ∈ ω ∧ 𝐵 ∈ ω ∧ 𝐶 ∈ ω) → ((𝐴𝐵 ∧ ∅ ∈ 𝐶) → (𝐶 ·o 𝐴) ∈ (𝐶 ·o 𝐵)))
5 ne0i 4283 . . . . . . . 8 ((𝐶 ·o 𝐴) ∈ (𝐶 ·o 𝐵) → (𝐶 ·o 𝐵) ≠ ∅)
6 nnm0r 8234 . . . . . . . . . 10 (𝐵 ∈ ω → (∅ ·o 𝐵) = ∅)
7 oveq1 7158 . . . . . . . . . . 11 (𝐶 = ∅ → (𝐶 ·o 𝐵) = (∅ ·o 𝐵))
87eqeq1d 2826 . . . . . . . . . 10 (𝐶 = ∅ → ((𝐶 ·o 𝐵) = ∅ ↔ (∅ ·o 𝐵) = ∅))
96, 8syl5ibrcom 250 . . . . . . . . 9 (𝐵 ∈ ω → (𝐶 = ∅ → (𝐶 ·o 𝐵) = ∅))
109necon3d 3035 . . . . . . . 8 (𝐵 ∈ ω → ((𝐶 ·o 𝐵) ≠ ∅ → 𝐶 ≠ ∅))
115, 10syl5 34 . . . . . . 7 (𝐵 ∈ ω → ((𝐶 ·o 𝐴) ∈ (𝐶 ·o 𝐵) → 𝐶 ≠ ∅))
1211adantr 484 . . . . . 6 ((𝐵 ∈ ω ∧ 𝐶 ∈ ω) → ((𝐶 ·o 𝐴) ∈ (𝐶 ·o 𝐵) → 𝐶 ≠ ∅))
13 nnord 7584 . . . . . . . 8 (𝐶 ∈ ω → Ord 𝐶)
14 ord0eln0 6234 . . . . . . . 8 (Ord 𝐶 → (∅ ∈ 𝐶𝐶 ≠ ∅))
1513, 14syl 17 . . . . . . 7 (𝐶 ∈ ω → (∅ ∈ 𝐶𝐶 ≠ ∅))
1615adantl 485 . . . . . 6 ((𝐵 ∈ ω ∧ 𝐶 ∈ ω) → (∅ ∈ 𝐶𝐶 ≠ ∅))
1712, 16sylibrd 262 . . . . 5 ((𝐵 ∈ ω ∧ 𝐶 ∈ ω) → ((𝐶 ·o 𝐴) ∈ (𝐶 ·o 𝐵) → ∅ ∈ 𝐶))
18173adant1 1127 . . . 4 ((𝐴 ∈ ω ∧ 𝐵 ∈ ω ∧ 𝐶 ∈ ω) → ((𝐶 ·o 𝐴) ∈ (𝐶 ·o 𝐵) → ∅ ∈ 𝐶))
19 oveq2 7159 . . . . . . . . . 10 (𝐴 = 𝐵 → (𝐶 ·o 𝐴) = (𝐶 ·o 𝐵))
2019a1i 11 . . . . . . . . 9 (((𝐴 ∈ ω ∧ 𝐵 ∈ ω ∧ 𝐶 ∈ ω) ∧ ∅ ∈ 𝐶) → (𝐴 = 𝐵 → (𝐶 ·o 𝐴) = (𝐶 ·o 𝐵)))
21 nnmordi 8255 . . . . . . . . . 10 (((𝐴 ∈ ω ∧ 𝐶 ∈ ω) ∧ ∅ ∈ 𝐶) → (𝐵𝐴 → (𝐶 ·o 𝐵) ∈ (𝐶 ·o 𝐴)))
22213adantl2 1164 . . . . . . . . 9 (((𝐴 ∈ ω ∧ 𝐵 ∈ ω ∧ 𝐶 ∈ ω) ∧ ∅ ∈ 𝐶) → (𝐵𝐴 → (𝐶 ·o 𝐵) ∈ (𝐶 ·o 𝐴)))
2320, 22orim12d 962 . . . . . . . 8 (((𝐴 ∈ ω ∧ 𝐵 ∈ ω ∧ 𝐶 ∈ ω) ∧ ∅ ∈ 𝐶) → ((𝐴 = 𝐵𝐵𝐴) → ((𝐶 ·o 𝐴) = (𝐶 ·o 𝐵) ∨ (𝐶 ·o 𝐵) ∈ (𝐶 ·o 𝐴))))
2423con3d 155 . . . . . . 7 (((𝐴 ∈ ω ∧ 𝐵 ∈ ω ∧ 𝐶 ∈ ω) ∧ ∅ ∈ 𝐶) → (¬ ((𝐶 ·o 𝐴) = (𝐶 ·o 𝐵) ∨ (𝐶 ·o 𝐵) ∈ (𝐶 ·o 𝐴)) → ¬ (𝐴 = 𝐵𝐵𝐴)))
25 simpl3 1190 . . . . . . . . 9 (((𝐴 ∈ ω ∧ 𝐵 ∈ ω ∧ 𝐶 ∈ ω) ∧ ∅ ∈ 𝐶) → 𝐶 ∈ ω)
26 simpl1 1188 . . . . . . . . 9 (((𝐴 ∈ ω ∧ 𝐵 ∈ ω ∧ 𝐶 ∈ ω) ∧ ∅ ∈ 𝐶) → 𝐴 ∈ ω)
27 nnmcl 8236 . . . . . . . . 9 ((𝐶 ∈ ω ∧ 𝐴 ∈ ω) → (𝐶 ·o 𝐴) ∈ ω)
2825, 26, 27syl2anc 587 . . . . . . . 8 (((𝐴 ∈ ω ∧ 𝐵 ∈ ω ∧ 𝐶 ∈ ω) ∧ ∅ ∈ 𝐶) → (𝐶 ·o 𝐴) ∈ ω)
29 simpl2 1189 . . . . . . . . 9 (((𝐴 ∈ ω ∧ 𝐵 ∈ ω ∧ 𝐶 ∈ ω) ∧ ∅ ∈ 𝐶) → 𝐵 ∈ ω)
30 nnmcl 8236 . . . . . . . . 9 ((𝐶 ∈ ω ∧ 𝐵 ∈ ω) → (𝐶 ·o 𝐵) ∈ ω)
3125, 29, 30syl2anc 587 . . . . . . . 8 (((𝐴 ∈ ω ∧ 𝐵 ∈ ω ∧ 𝐶 ∈ ω) ∧ ∅ ∈ 𝐶) → (𝐶 ·o 𝐵) ∈ ω)
32 nnord 7584 . . . . . . . . 9 ((𝐶 ·o 𝐴) ∈ ω → Ord (𝐶 ·o 𝐴))
33 nnord 7584 . . . . . . . . 9 ((𝐶 ·o 𝐵) ∈ ω → Ord (𝐶 ·o 𝐵))
34 ordtri2 6215 . . . . . . . . 9 ((Ord (𝐶 ·o 𝐴) ∧ Ord (𝐶 ·o 𝐵)) → ((𝐶 ·o 𝐴) ∈ (𝐶 ·o 𝐵) ↔ ¬ ((𝐶 ·o 𝐴) = (𝐶 ·o 𝐵) ∨ (𝐶 ·o 𝐵) ∈ (𝐶 ·o 𝐴))))
3532, 33, 34syl2an 598 . . . . . . . 8 (((𝐶 ·o 𝐴) ∈ ω ∧ (𝐶 ·o 𝐵) ∈ ω) → ((𝐶 ·o 𝐴) ∈ (𝐶 ·o 𝐵) ↔ ¬ ((𝐶 ·o 𝐴) = (𝐶 ·o 𝐵) ∨ (𝐶 ·o 𝐵) ∈ (𝐶 ·o 𝐴))))
3628, 31, 35syl2anc 587 . . . . . . 7 (((𝐴 ∈ ω ∧ 𝐵 ∈ ω ∧ 𝐶 ∈ ω) ∧ ∅ ∈ 𝐶) → ((𝐶 ·o 𝐴) ∈ (𝐶 ·o 𝐵) ↔ ¬ ((𝐶 ·o 𝐴) = (𝐶 ·o 𝐵) ∨ (𝐶 ·o 𝐵) ∈ (𝐶 ·o 𝐴))))
37 nnord 7584 . . . . . . . . 9 (𝐴 ∈ ω → Ord 𝐴)
38 nnord 7584 . . . . . . . . 9 (𝐵 ∈ ω → Ord 𝐵)
39 ordtri2 6215 . . . . . . . . 9 ((Ord 𝐴 ∧ Ord 𝐵) → (𝐴𝐵 ↔ ¬ (𝐴 = 𝐵𝐵𝐴)))
4037, 38, 39syl2an 598 . . . . . . . 8 ((𝐴 ∈ ω ∧ 𝐵 ∈ ω) → (𝐴𝐵 ↔ ¬ (𝐴 = 𝐵𝐵𝐴)))
4126, 29, 40syl2anc 587 . . . . . . 7 (((𝐴 ∈ ω ∧ 𝐵 ∈ ω ∧ 𝐶 ∈ ω) ∧ ∅ ∈ 𝐶) → (𝐴𝐵 ↔ ¬ (𝐴 = 𝐵𝐵𝐴)))
4224, 36, 413imtr4d 297 . . . . . 6 (((𝐴 ∈ ω ∧ 𝐵 ∈ ω ∧ 𝐶 ∈ ω) ∧ ∅ ∈ 𝐶) → ((𝐶 ·o 𝐴) ∈ (𝐶 ·o 𝐵) → 𝐴𝐵))
4342ex 416 . . . . 5 ((𝐴 ∈ ω ∧ 𝐵 ∈ ω ∧ 𝐶 ∈ ω) → (∅ ∈ 𝐶 → ((𝐶 ·o 𝐴) ∈ (𝐶 ·o 𝐵) → 𝐴𝐵)))
4443com23 86 . . . 4 ((𝐴 ∈ ω ∧ 𝐵 ∈ ω ∧ 𝐶 ∈ ω) → ((𝐶 ·o 𝐴) ∈ (𝐶 ·o 𝐵) → (∅ ∈ 𝐶𝐴𝐵)))
4518, 44mpdd 43 . . 3 ((𝐴 ∈ ω ∧ 𝐵 ∈ ω ∧ 𝐶 ∈ ω) → ((𝐶 ·o 𝐴) ∈ (𝐶 ·o 𝐵) → 𝐴𝐵))
4645, 18jcad 516 . 2 ((𝐴 ∈ ω ∧ 𝐵 ∈ ω ∧ 𝐶 ∈ ω) → ((𝐶 ·o 𝐴) ∈ (𝐶 ·o 𝐵) → (𝐴𝐵 ∧ ∅ ∈ 𝐶)))
474, 46impbid 215 1 ((𝐴 ∈ ω ∧ 𝐵 ∈ ω ∧ 𝐶 ∈ ω) → ((𝐴𝐵 ∧ ∅ ∈ 𝐶) ↔ (𝐶 ·o 𝐴) ∈ (𝐶 ·o 𝐵)))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 209  wa 399  wo 844  w3a 1084   = wceq 1538  wcel 2115  wne 3014  c0 4276  Ord word 6179  (class class class)co 7151  ωcom 7576   ·o comu 8098
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 7457
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 4825  df-iun 4907  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 6137  df-ord 6183  df-on 6184  df-lim 6185  df-suc 6186  df-iota 6304  df-fun 6347  df-fn 6348  df-f 6349  df-f1 6350  df-fo 6351  df-f1o 6352  df-fv 6353  df-ov 7154  df-oprab 7155  df-mpo 7156  df-om 7577  df-wrecs 7945  df-recs 8006  df-rdg 8044  df-oadd 8104  df-omul 8105
This theorem is referenced by:  nnmword  8257  nnneo  8276  ltmpi  10326
  Copyright terms: Public domain W3C validator