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

Theorem nnmordi 7995
 Description: Ordering property of multiplication. Half of Proposition 8.19 of [TakeutiZaring] p. 63, limited to natural numbers. (Contributed by NM, 18-Sep-1995.) (Revised by Mario Carneiro, 15-Nov-2014.)
Assertion
Ref Expression
nnmordi (((𝐵 ∈ ω ∧ 𝐶 ∈ ω) ∧ ∅ ∈ 𝐶) → (𝐴𝐵 → (𝐶 ·o 𝐴) ∈ (𝐶 ·o 𝐵)))

Proof of Theorem nnmordi
Dummy variables 𝑥 𝑦 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 elnn 7353 . . . . . 6 ((𝐴𝐵𝐵 ∈ ω) → 𝐴 ∈ ω)
21expcom 404 . . . . 5 (𝐵 ∈ ω → (𝐴𝐵𝐴 ∈ ω))
3 eleq2 2848 . . . . . . . . . . 11 (𝑥 = 𝐵 → (𝐴𝑥𝐴𝐵))
4 oveq2 6930 . . . . . . . . . . . 12 (𝑥 = 𝐵 → (𝐶 ·o 𝑥) = (𝐶 ·o 𝐵))
54eleq2d 2845 . . . . . . . . . . 11 (𝑥 = 𝐵 → ((𝐶 ·o 𝐴) ∈ (𝐶 ·o 𝑥) ↔ (𝐶 ·o 𝐴) ∈ (𝐶 ·o 𝐵)))
63, 5imbi12d 336 . . . . . . . . . 10 (𝑥 = 𝐵 → ((𝐴𝑥 → (𝐶 ·o 𝐴) ∈ (𝐶 ·o 𝑥)) ↔ (𝐴𝐵 → (𝐶 ·o 𝐴) ∈ (𝐶 ·o 𝐵))))
76imbi2d 332 . . . . . . . . 9 (𝑥 = 𝐵 → ((((𝐴 ∈ ω ∧ 𝐶 ∈ ω) ∧ ∅ ∈ 𝐶) → (𝐴𝑥 → (𝐶 ·o 𝐴) ∈ (𝐶 ·o 𝑥))) ↔ (((𝐴 ∈ ω ∧ 𝐶 ∈ ω) ∧ ∅ ∈ 𝐶) → (𝐴𝐵 → (𝐶 ·o 𝐴) ∈ (𝐶 ·o 𝐵)))))
8 eleq2 2848 . . . . . . . . . . 11 (𝑥 = ∅ → (𝐴𝑥𝐴 ∈ ∅))
9 oveq2 6930 . . . . . . . . . . . 12 (𝑥 = ∅ → (𝐶 ·o 𝑥) = (𝐶 ·o ∅))
109eleq2d 2845 . . . . . . . . . . 11 (𝑥 = ∅ → ((𝐶 ·o 𝐴) ∈ (𝐶 ·o 𝑥) ↔ (𝐶 ·o 𝐴) ∈ (𝐶 ·o ∅)))
118, 10imbi12d 336 . . . . . . . . . 10 (𝑥 = ∅ → ((𝐴𝑥 → (𝐶 ·o 𝐴) ∈ (𝐶 ·o 𝑥)) ↔ (𝐴 ∈ ∅ → (𝐶 ·o 𝐴) ∈ (𝐶 ·o ∅))))
12 eleq2 2848 . . . . . . . . . . 11 (𝑥 = 𝑦 → (𝐴𝑥𝐴𝑦))
13 oveq2 6930 . . . . . . . . . . . 12 (𝑥 = 𝑦 → (𝐶 ·o 𝑥) = (𝐶 ·o 𝑦))
1413eleq2d 2845 . . . . . . . . . . 11 (𝑥 = 𝑦 → ((𝐶 ·o 𝐴) ∈ (𝐶 ·o 𝑥) ↔ (𝐶 ·o 𝐴) ∈ (𝐶 ·o 𝑦)))
1512, 14imbi12d 336 . . . . . . . . . 10 (𝑥 = 𝑦 → ((𝐴𝑥 → (𝐶 ·o 𝐴) ∈ (𝐶 ·o 𝑥)) ↔ (𝐴𝑦 → (𝐶 ·o 𝐴) ∈ (𝐶 ·o 𝑦))))
16 eleq2 2848 . . . . . . . . . . 11 (𝑥 = suc 𝑦 → (𝐴𝑥𝐴 ∈ suc 𝑦))
17 oveq2 6930 . . . . . . . . . . . 12 (𝑥 = suc 𝑦 → (𝐶 ·o 𝑥) = (𝐶 ·o suc 𝑦))
1817eleq2d 2845 . . . . . . . . . . 11 (𝑥 = suc 𝑦 → ((𝐶 ·o 𝐴) ∈ (𝐶 ·o 𝑥) ↔ (𝐶 ·o 𝐴) ∈ (𝐶 ·o suc 𝑦)))
1916, 18imbi12d 336 . . . . . . . . . 10 (𝑥 = suc 𝑦 → ((𝐴𝑥 → (𝐶 ·o 𝐴) ∈ (𝐶 ·o 𝑥)) ↔ (𝐴 ∈ suc 𝑦 → (𝐶 ·o 𝐴) ∈ (𝐶 ·o suc 𝑦))))
20 noel 4146 . . . . . . . . . . . 12 ¬ 𝐴 ∈ ∅
2120pm2.21i 117 . . . . . . . . . . 11 (𝐴 ∈ ∅ → (𝐶 ·o 𝐴) ∈ (𝐶 ·o ∅))
2221a1i 11 . . . . . . . . . 10 (((𝐴 ∈ ω ∧ 𝐶 ∈ ω) ∧ ∅ ∈ 𝐶) → (𝐴 ∈ ∅ → (𝐶 ·o 𝐴) ∈ (𝐶 ·o ∅)))
23 elsuci 6042 . . . . . . . . . . . . . . . 16 (𝐴 ∈ suc 𝑦 → (𝐴𝑦𝐴 = 𝑦))
24 nnmcl 7976 . . . . . . . . . . . . . . . . . 18 ((𝐶 ∈ ω ∧ 𝑦 ∈ ω) → (𝐶 ·o 𝑦) ∈ ω)
25 simpl 476 . . . . . . . . . . . . . . . . . 18 ((𝐶 ∈ ω ∧ 𝑦 ∈ ω) → 𝐶 ∈ ω)
2624, 25jca 507 . . . . . . . . . . . . . . . . 17 ((𝐶 ∈ ω ∧ 𝑦 ∈ ω) → ((𝐶 ·o 𝑦) ∈ ω ∧ 𝐶 ∈ ω))
27 nnaword1 7993 . . . . . . . . . . . . . . . . . . . . . 22 (((𝐶 ·o 𝑦) ∈ ω ∧ 𝐶 ∈ ω) → (𝐶 ·o 𝑦) ⊆ ((𝐶 ·o 𝑦) +o 𝐶))
2827sseld 3820 . . . . . . . . . . . . . . . . . . . . 21 (((𝐶 ·o 𝑦) ∈ ω ∧ 𝐶 ∈ ω) → ((𝐶 ·o 𝐴) ∈ (𝐶 ·o 𝑦) → (𝐶 ·o 𝐴) ∈ ((𝐶 ·o 𝑦) +o 𝐶)))
2928imim2d 57 . . . . . . . . . . . . . . . . . . . 20 (((𝐶 ·o 𝑦) ∈ ω ∧ 𝐶 ∈ ω) → ((𝐴𝑦 → (𝐶 ·o 𝐴) ∈ (𝐶 ·o 𝑦)) → (𝐴𝑦 → (𝐶 ·o 𝐴) ∈ ((𝐶 ·o 𝑦) +o 𝐶))))
3029imp 397 . . . . . . . . . . . . . . . . . . 19 ((((𝐶 ·o 𝑦) ∈ ω ∧ 𝐶 ∈ ω) ∧ (𝐴𝑦 → (𝐶 ·o 𝐴) ∈ (𝐶 ·o 𝑦))) → (𝐴𝑦 → (𝐶 ·o 𝐴) ∈ ((𝐶 ·o 𝑦) +o 𝐶)))
3130adantrl 706 . . . . . . . . . . . . . . . . . 18 ((((𝐶 ·o 𝑦) ∈ ω ∧ 𝐶 ∈ ω) ∧ (∅ ∈ 𝐶 ∧ (𝐴𝑦 → (𝐶 ·o 𝐴) ∈ (𝐶 ·o 𝑦)))) → (𝐴𝑦 → (𝐶 ·o 𝐴) ∈ ((𝐶 ·o 𝑦) +o 𝐶)))
32 nna0 7968 . . . . . . . . . . . . . . . . . . . . . 22 ((𝐶 ·o 𝑦) ∈ ω → ((𝐶 ·o 𝑦) +o ∅) = (𝐶 ·o 𝑦))
3332ad2antrr 716 . . . . . . . . . . . . . . . . . . . . 21 ((((𝐶 ·o 𝑦) ∈ ω ∧ 𝐶 ∈ ω) ∧ ∅ ∈ 𝐶) → ((𝐶 ·o 𝑦) +o ∅) = (𝐶 ·o 𝑦))
34 nnaordi 7982 . . . . . . . . . . . . . . . . . . . . . . 23 ((𝐶 ∈ ω ∧ (𝐶 ·o 𝑦) ∈ ω) → (∅ ∈ 𝐶 → ((𝐶 ·o 𝑦) +o ∅) ∈ ((𝐶 ·o 𝑦) +o 𝐶)))
3534ancoms 452 . . . . . . . . . . . . . . . . . . . . . 22 (((𝐶 ·o 𝑦) ∈ ω ∧ 𝐶 ∈ ω) → (∅ ∈ 𝐶 → ((𝐶 ·o 𝑦) +o ∅) ∈ ((𝐶 ·o 𝑦) +o 𝐶)))
3635imp 397 . . . . . . . . . . . . . . . . . . . . 21 ((((𝐶 ·o 𝑦) ∈ ω ∧ 𝐶 ∈ ω) ∧ ∅ ∈ 𝐶) → ((𝐶 ·o 𝑦) +o ∅) ∈ ((𝐶 ·o 𝑦) +o 𝐶))
3733, 36eqeltrrd 2860 . . . . . . . . . . . . . . . . . . . 20 ((((𝐶 ·o 𝑦) ∈ ω ∧ 𝐶 ∈ ω) ∧ ∅ ∈ 𝐶) → (𝐶 ·o 𝑦) ∈ ((𝐶 ·o 𝑦) +o 𝐶))
38 oveq2 6930 . . . . . . . . . . . . . . . . . . . . 21 (𝐴 = 𝑦 → (𝐶 ·o 𝐴) = (𝐶 ·o 𝑦))
3938eleq1d 2844 . . . . . . . . . . . . . . . . . . . 20 (𝐴 = 𝑦 → ((𝐶 ·o 𝐴) ∈ ((𝐶 ·o 𝑦) +o 𝐶) ↔ (𝐶 ·o 𝑦) ∈ ((𝐶 ·o 𝑦) +o 𝐶)))
4037, 39syl5ibrcom 239 . . . . . . . . . . . . . . . . . . 19 ((((𝐶 ·o 𝑦) ∈ ω ∧ 𝐶 ∈ ω) ∧ ∅ ∈ 𝐶) → (𝐴 = 𝑦 → (𝐶 ·o 𝐴) ∈ ((𝐶 ·o 𝑦) +o 𝐶)))
4140adantrr 707 . . . . . . . . . . . . . . . . . 18 ((((𝐶 ·o 𝑦) ∈ ω ∧ 𝐶 ∈ ω) ∧ (∅ ∈ 𝐶 ∧ (𝐴𝑦 → (𝐶 ·o 𝐴) ∈ (𝐶 ·o 𝑦)))) → (𝐴 = 𝑦 → (𝐶 ·o 𝐴) ∈ ((𝐶 ·o 𝑦) +o 𝐶)))
4231, 41jaod 848 . . . . . . . . . . . . . . . . 17 ((((𝐶 ·o 𝑦) ∈ ω ∧ 𝐶 ∈ ω) ∧ (∅ ∈ 𝐶 ∧ (𝐴𝑦 → (𝐶 ·o 𝐴) ∈ (𝐶 ·o 𝑦)))) → ((𝐴𝑦𝐴 = 𝑦) → (𝐶 ·o 𝐴) ∈ ((𝐶 ·o 𝑦) +o 𝐶)))
4326, 42sylan 575 . . . . . . . . . . . . . . . 16 (((𝐶 ∈ ω ∧ 𝑦 ∈ ω) ∧ (∅ ∈ 𝐶 ∧ (𝐴𝑦 → (𝐶 ·o 𝐴) ∈ (𝐶 ·o 𝑦)))) → ((𝐴𝑦𝐴 = 𝑦) → (𝐶 ·o 𝐴) ∈ ((𝐶 ·o 𝑦) +o 𝐶)))
4423, 43syl5 34 . . . . . . . . . . . . . . 15 (((𝐶 ∈ ω ∧ 𝑦 ∈ ω) ∧ (∅ ∈ 𝐶 ∧ (𝐴𝑦 → (𝐶 ·o 𝐴) ∈ (𝐶 ·o 𝑦)))) → (𝐴 ∈ suc 𝑦 → (𝐶 ·o 𝐴) ∈ ((𝐶 ·o 𝑦) +o 𝐶)))
45 nnmsuc 7971 . . . . . . . . . . . . . . . . 17 ((𝐶 ∈ ω ∧ 𝑦 ∈ ω) → (𝐶 ·o suc 𝑦) = ((𝐶 ·o 𝑦) +o 𝐶))
4645eleq2d 2845 . . . . . . . . . . . . . . . 16 ((𝐶 ∈ ω ∧ 𝑦 ∈ ω) → ((𝐶 ·o 𝐴) ∈ (𝐶 ·o suc 𝑦) ↔ (𝐶 ·o 𝐴) ∈ ((𝐶 ·o 𝑦) +o 𝐶)))
4746adantr 474 . . . . . . . . . . . . . . 15 (((𝐶 ∈ ω ∧ 𝑦 ∈ ω) ∧ (∅ ∈ 𝐶 ∧ (𝐴𝑦 → (𝐶 ·o 𝐴) ∈ (𝐶 ·o 𝑦)))) → ((𝐶 ·o 𝐴) ∈ (𝐶 ·o suc 𝑦) ↔ (𝐶 ·o 𝐴) ∈ ((𝐶 ·o 𝑦) +o 𝐶)))
4844, 47sylibrd 251 . . . . . . . . . . . . . 14 (((𝐶 ∈ ω ∧ 𝑦 ∈ ω) ∧ (∅ ∈ 𝐶 ∧ (𝐴𝑦 → (𝐶 ·o 𝐴) ∈ (𝐶 ·o 𝑦)))) → (𝐴 ∈ suc 𝑦 → (𝐶 ·o 𝐴) ∈ (𝐶 ·o suc 𝑦)))
4948exp43 429 . . . . . . . . . . . . 13 (𝐶 ∈ ω → (𝑦 ∈ ω → (∅ ∈ 𝐶 → ((𝐴𝑦 → (𝐶 ·o 𝐴) ∈ (𝐶 ·o 𝑦)) → (𝐴 ∈ suc 𝑦 → (𝐶 ·o 𝐴) ∈ (𝐶 ·o suc 𝑦))))))
5049com12 32 . . . . . . . . . . . 12 (𝑦 ∈ ω → (𝐶 ∈ ω → (∅ ∈ 𝐶 → ((𝐴𝑦 → (𝐶 ·o 𝐴) ∈ (𝐶 ·o 𝑦)) → (𝐴 ∈ suc 𝑦 → (𝐶 ·o 𝐴) ∈ (𝐶 ·o suc 𝑦))))))
5150adantld 486 . . . . . . . . . . 11 (𝑦 ∈ ω → ((𝐴 ∈ ω ∧ 𝐶 ∈ ω) → (∅ ∈ 𝐶 → ((𝐴𝑦 → (𝐶 ·o 𝐴) ∈ (𝐶 ·o 𝑦)) → (𝐴 ∈ suc 𝑦 → (𝐶 ·o 𝐴) ∈ (𝐶 ·o suc 𝑦))))))
5251impd 400 . . . . . . . . . 10 (𝑦 ∈ ω → (((𝐴 ∈ ω ∧ 𝐶 ∈ ω) ∧ ∅ ∈ 𝐶) → ((𝐴𝑦 → (𝐶 ·o 𝐴) ∈ (𝐶 ·o 𝑦)) → (𝐴 ∈ suc 𝑦 → (𝐶 ·o 𝐴) ∈ (𝐶 ·o suc 𝑦)))))
5311, 15, 19, 22, 52finds2 7372 . . . . . . . . 9 (𝑥 ∈ ω → (((𝐴 ∈ ω ∧ 𝐶 ∈ ω) ∧ ∅ ∈ 𝐶) → (𝐴𝑥 → (𝐶 ·o 𝐴) ∈ (𝐶 ·o 𝑥))))
547, 53vtoclga 3474 . . . . . . . 8 (𝐵 ∈ ω → (((𝐴 ∈ ω ∧ 𝐶 ∈ ω) ∧ ∅ ∈ 𝐶) → (𝐴𝐵 → (𝐶 ·o 𝐴) ∈ (𝐶 ·o 𝐵))))
5554com23 86 . . . . . . 7 (𝐵 ∈ ω → (𝐴𝐵 → (((𝐴 ∈ ω ∧ 𝐶 ∈ ω) ∧ ∅ ∈ 𝐶) → (𝐶 ·o 𝐴) ∈ (𝐶 ·o 𝐵))))
5655exp4a 424 . . . . . 6 (𝐵 ∈ ω → (𝐴𝐵 → ((𝐴 ∈ ω ∧ 𝐶 ∈ ω) → (∅ ∈ 𝐶 → (𝐶 ·o 𝐴) ∈ (𝐶 ·o 𝐵)))))
5756exp4a 424 . . . . 5 (𝐵 ∈ ω → (𝐴𝐵 → (𝐴 ∈ ω → (𝐶 ∈ ω → (∅ ∈ 𝐶 → (𝐶 ·o 𝐴) ∈ (𝐶 ·o 𝐵))))))
582, 57mpdd 43 . . . 4 (𝐵 ∈ ω → (𝐴𝐵 → (𝐶 ∈ ω → (∅ ∈ 𝐶 → (𝐶 ·o 𝐴) ∈ (𝐶 ·o 𝐵)))))
5958com34 91 . . 3 (𝐵 ∈ ω → (𝐴𝐵 → (∅ ∈ 𝐶 → (𝐶 ∈ ω → (𝐶 ·o 𝐴) ∈ (𝐶 ·o 𝐵)))))
6059com24 95 . 2 (𝐵 ∈ ω → (𝐶 ∈ ω → (∅ ∈ 𝐶 → (𝐴𝐵 → (𝐶 ·o 𝐴) ∈ (𝐶 ·o 𝐵)))))
6160imp31 410 1 (((𝐵 ∈ ω ∧ 𝐶 ∈ ω) ∧ ∅ ∈ 𝐶) → (𝐴𝐵 → (𝐶 ·o 𝐴) ∈ (𝐶 ·o 𝐵)))
 Colors of variables: wff setvar class Syntax hints:   → wi 4   ↔ wb 198   ∧ wa 386   ∨ wo 836   = wceq 1601   ∈ wcel 2107  ∅c0 4141  suc csuc 5978  (class class class)co 6922  ωcom 7343   +o coa 7840   ·o comu 7841 This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1839  ax-4 1853  ax-5 1953  ax-6 2021  ax-7 2055  ax-8 2109  ax-9 2116  ax-10 2135  ax-11 2150  ax-12 2163  ax-13 2334  ax-ext 2754  ax-sep 5017  ax-nul 5025  ax-pow 5077  ax-pr 5138  ax-un 7226 This theorem depends on definitions:  df-bi 199  df-an 387  df-or 837  df-3or 1072  df-3an 1073  df-tru 1605  df-ex 1824  df-nf 1828  df-sb 2012  df-mo 2551  df-eu 2587  df-clab 2764  df-cleq 2770  df-clel 2774  df-nfc 2921  df-ne 2970  df-ral 3095  df-rex 3096  df-reu 3097  df-rab 3099  df-v 3400  df-sbc 3653  df-csb 3752  df-dif 3795  df-un 3797  df-in 3799  df-ss 3806  df-pss 3808  df-nul 4142  df-if 4308  df-pw 4381  df-sn 4399  df-pr 4401  df-tp 4403  df-op 4405  df-uni 4672  df-iun 4755  df-br 4887  df-opab 4949  df-mpt 4966  df-tr 4988  df-id 5261  df-eprel 5266  df-po 5274  df-so 5275  df-fr 5314  df-we 5316  df-xp 5361  df-rel 5362  df-cnv 5363  df-co 5364  df-dm 5365  df-rn 5366  df-res 5367  df-ima 5368  df-pred 5933  df-ord 5979  df-on 5980  df-lim 5981  df-suc 5982  df-iota 6099  df-fun 6137  df-fn 6138  df-f 6139  df-f1 6140  df-fo 6141  df-f1o 6142  df-fv 6143  df-ov 6925  df-oprab 6926  df-mpt2 6927  df-om 7344  df-wrecs 7689  df-recs 7751  df-rdg 7789  df-oadd 7847  df-omul 7848 This theorem is referenced by:  nnmord  7996  mulclpi  10050
 Copyright terms: Public domain W3C validator