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

Theorem nnmordi 7868
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 (((𝐵 ∈ ω ∧ 𝐶 ∈ ω) ∧ ∅ ∈ 𝐶) → (𝐴𝐵 → (𝐶 ·𝑜 𝐴) ∈ (𝐶 ·𝑜 𝐵)))

Proof of Theorem nnmordi
Dummy variables 𝑥 𝑦 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 elnn 7228 . . . . . 6 ((𝐴𝐵𝐵 ∈ ω) → 𝐴 ∈ ω)
21expcom 450 . . . . 5 (𝐵 ∈ ω → (𝐴𝐵𝐴 ∈ ω))
3 eleq2 2816 . . . . . . . . . . 11 (𝑥 = 𝐵 → (𝐴𝑥𝐴𝐵))
4 oveq2 6809 . . . . . . . . . . . 12 (𝑥 = 𝐵 → (𝐶 ·𝑜 𝑥) = (𝐶 ·𝑜 𝐵))
54eleq2d 2813 . . . . . . . . . . 11 (𝑥 = 𝐵 → ((𝐶 ·𝑜 𝐴) ∈ (𝐶 ·𝑜 𝑥) ↔ (𝐶 ·𝑜 𝐴) ∈ (𝐶 ·𝑜 𝐵)))
63, 5imbi12d 333 . . . . . . . . . 10 (𝑥 = 𝐵 → ((𝐴𝑥 → (𝐶 ·𝑜 𝐴) ∈ (𝐶 ·𝑜 𝑥)) ↔ (𝐴𝐵 → (𝐶 ·𝑜 𝐴) ∈ (𝐶 ·𝑜 𝐵))))
76imbi2d 329 . . . . . . . . 9 (𝑥 = 𝐵 → ((((𝐴 ∈ ω ∧ 𝐶 ∈ ω) ∧ ∅ ∈ 𝐶) → (𝐴𝑥 → (𝐶 ·𝑜 𝐴) ∈ (𝐶 ·𝑜 𝑥))) ↔ (((𝐴 ∈ ω ∧ 𝐶 ∈ ω) ∧ ∅ ∈ 𝐶) → (𝐴𝐵 → (𝐶 ·𝑜 𝐴) ∈ (𝐶 ·𝑜 𝐵)))))
8 eleq2 2816 . . . . . . . . . . 11 (𝑥 = ∅ → (𝐴𝑥𝐴 ∈ ∅))
9 oveq2 6809 . . . . . . . . . . . 12 (𝑥 = ∅ → (𝐶 ·𝑜 𝑥) = (𝐶 ·𝑜 ∅))
109eleq2d 2813 . . . . . . . . . . 11 (𝑥 = ∅ → ((𝐶 ·𝑜 𝐴) ∈ (𝐶 ·𝑜 𝑥) ↔ (𝐶 ·𝑜 𝐴) ∈ (𝐶 ·𝑜 ∅)))
118, 10imbi12d 333 . . . . . . . . . 10 (𝑥 = ∅ → ((𝐴𝑥 → (𝐶 ·𝑜 𝐴) ∈ (𝐶 ·𝑜 𝑥)) ↔ (𝐴 ∈ ∅ → (𝐶 ·𝑜 𝐴) ∈ (𝐶 ·𝑜 ∅))))
12 eleq2 2816 . . . . . . . . . . 11 (𝑥 = 𝑦 → (𝐴𝑥𝐴𝑦))
13 oveq2 6809 . . . . . . . . . . . 12 (𝑥 = 𝑦 → (𝐶 ·𝑜 𝑥) = (𝐶 ·𝑜 𝑦))
1413eleq2d 2813 . . . . . . . . . . 11 (𝑥 = 𝑦 → ((𝐶 ·𝑜 𝐴) ∈ (𝐶 ·𝑜 𝑥) ↔ (𝐶 ·𝑜 𝐴) ∈ (𝐶 ·𝑜 𝑦)))
1512, 14imbi12d 333 . . . . . . . . . 10 (𝑥 = 𝑦 → ((𝐴𝑥 → (𝐶 ·𝑜 𝐴) ∈ (𝐶 ·𝑜 𝑥)) ↔ (𝐴𝑦 → (𝐶 ·𝑜 𝐴) ∈ (𝐶 ·𝑜 𝑦))))
16 eleq2 2816 . . . . . . . . . . 11 (𝑥 = suc 𝑦 → (𝐴𝑥𝐴 ∈ suc 𝑦))
17 oveq2 6809 . . . . . . . . . . . 12 (𝑥 = suc 𝑦 → (𝐶 ·𝑜 𝑥) = (𝐶 ·𝑜 suc 𝑦))
1817eleq2d 2813 . . . . . . . . . . 11 (𝑥 = suc 𝑦 → ((𝐶 ·𝑜 𝐴) ∈ (𝐶 ·𝑜 𝑥) ↔ (𝐶 ·𝑜 𝐴) ∈ (𝐶 ·𝑜 suc 𝑦)))
1916, 18imbi12d 333 . . . . . . . . . 10 (𝑥 = suc 𝑦 → ((𝐴𝑥 → (𝐶 ·𝑜 𝐴) ∈ (𝐶 ·𝑜 𝑥)) ↔ (𝐴 ∈ suc 𝑦 → (𝐶 ·𝑜 𝐴) ∈ (𝐶 ·𝑜 suc 𝑦))))
20 noel 4050 . . . . . . . . . . . 12 ¬ 𝐴 ∈ ∅
2120pm2.21i 116 . . . . . . . . . . 11 (𝐴 ∈ ∅ → (𝐶 ·𝑜 𝐴) ∈ (𝐶 ·𝑜 ∅))
2221a1i 11 . . . . . . . . . 10 (((𝐴 ∈ ω ∧ 𝐶 ∈ ω) ∧ ∅ ∈ 𝐶) → (𝐴 ∈ ∅ → (𝐶 ·𝑜 𝐴) ∈ (𝐶 ·𝑜 ∅)))
23 elsuci 5940 . . . . . . . . . . . . . . . 16 (𝐴 ∈ suc 𝑦 → (𝐴𝑦𝐴 = 𝑦))
24 nnmcl 7849 . . . . . . . . . . . . . . . . . 18 ((𝐶 ∈ ω ∧ 𝑦 ∈ ω) → (𝐶 ·𝑜 𝑦) ∈ ω)
25 simpl 474 . . . . . . . . . . . . . . . . . 18 ((𝐶 ∈ ω ∧ 𝑦 ∈ ω) → 𝐶 ∈ ω)
2624, 25jca 555 . . . . . . . . . . . . . . . . 17 ((𝐶 ∈ ω ∧ 𝑦 ∈ ω) → ((𝐶 ·𝑜 𝑦) ∈ ω ∧ 𝐶 ∈ ω))
27 nnaword1 7866 . . . . . . . . . . . . . . . . . . . . . 22 (((𝐶 ·𝑜 𝑦) ∈ ω ∧ 𝐶 ∈ ω) → (𝐶 ·𝑜 𝑦) ⊆ ((𝐶 ·𝑜 𝑦) +𝑜 𝐶))
2827sseld 3731 . . . . . . . . . . . . . . . . . . . . 21 (((𝐶 ·𝑜 𝑦) ∈ ω ∧ 𝐶 ∈ ω) → ((𝐶 ·𝑜 𝐴) ∈ (𝐶 ·𝑜 𝑦) → (𝐶 ·𝑜 𝐴) ∈ ((𝐶 ·𝑜 𝑦) +𝑜 𝐶)))
2928imim2d 57 . . . . . . . . . . . . . . . . . . . 20 (((𝐶 ·𝑜 𝑦) ∈ ω ∧ 𝐶 ∈ ω) → ((𝐴𝑦 → (𝐶 ·𝑜 𝐴) ∈ (𝐶 ·𝑜 𝑦)) → (𝐴𝑦 → (𝐶 ·𝑜 𝐴) ∈ ((𝐶 ·𝑜 𝑦) +𝑜 𝐶))))
3029imp 444 . . . . . . . . . . . . . . . . . . 19 ((((𝐶 ·𝑜 𝑦) ∈ ω ∧ 𝐶 ∈ ω) ∧ (𝐴𝑦 → (𝐶 ·𝑜 𝐴) ∈ (𝐶 ·𝑜 𝑦))) → (𝐴𝑦 → (𝐶 ·𝑜 𝐴) ∈ ((𝐶 ·𝑜 𝑦) +𝑜 𝐶)))
3130adantrl 754 . . . . . . . . . . . . . . . . . 18 ((((𝐶 ·𝑜 𝑦) ∈ ω ∧ 𝐶 ∈ ω) ∧ (∅ ∈ 𝐶 ∧ (𝐴𝑦 → (𝐶 ·𝑜 𝐴) ∈ (𝐶 ·𝑜 𝑦)))) → (𝐴𝑦 → (𝐶 ·𝑜 𝐴) ∈ ((𝐶 ·𝑜 𝑦) +𝑜 𝐶)))
32 nna0 7841 . . . . . . . . . . . . . . . . . . . . . 22 ((𝐶 ·𝑜 𝑦) ∈ ω → ((𝐶 ·𝑜 𝑦) +𝑜 ∅) = (𝐶 ·𝑜 𝑦))
3332ad2antrr 764 . . . . . . . . . . . . . . . . . . . . 21 ((((𝐶 ·𝑜 𝑦) ∈ ω ∧ 𝐶 ∈ ω) ∧ ∅ ∈ 𝐶) → ((𝐶 ·𝑜 𝑦) +𝑜 ∅) = (𝐶 ·𝑜 𝑦))
34 nnaordi 7855 . . . . . . . . . . . . . . . . . . . . . . 23 ((𝐶 ∈ ω ∧ (𝐶 ·𝑜 𝑦) ∈ ω) → (∅ ∈ 𝐶 → ((𝐶 ·𝑜 𝑦) +𝑜 ∅) ∈ ((𝐶 ·𝑜 𝑦) +𝑜 𝐶)))
3534ancoms 468 . . . . . . . . . . . . . . . . . . . . . 22 (((𝐶 ·𝑜 𝑦) ∈ ω ∧ 𝐶 ∈ ω) → (∅ ∈ 𝐶 → ((𝐶 ·𝑜 𝑦) +𝑜 ∅) ∈ ((𝐶 ·𝑜 𝑦) +𝑜 𝐶)))
3635imp 444 . . . . . . . . . . . . . . . . . . . . 21 ((((𝐶 ·𝑜 𝑦) ∈ ω ∧ 𝐶 ∈ ω) ∧ ∅ ∈ 𝐶) → ((𝐶 ·𝑜 𝑦) +𝑜 ∅) ∈ ((𝐶 ·𝑜 𝑦) +𝑜 𝐶))
3733, 36eqeltrrd 2828 . . . . . . . . . . . . . . . . . . . 20 ((((𝐶 ·𝑜 𝑦) ∈ ω ∧ 𝐶 ∈ ω) ∧ ∅ ∈ 𝐶) → (𝐶 ·𝑜 𝑦) ∈ ((𝐶 ·𝑜 𝑦) +𝑜 𝐶))
38 oveq2 6809 . . . . . . . . . . . . . . . . . . . . 21 (𝐴 = 𝑦 → (𝐶 ·𝑜 𝐴) = (𝐶 ·𝑜 𝑦))
3938eleq1d 2812 . . . . . . . . . . . . . . . . . . . 20 (𝐴 = 𝑦 → ((𝐶 ·𝑜 𝐴) ∈ ((𝐶 ·𝑜 𝑦) +𝑜 𝐶) ↔ (𝐶 ·𝑜 𝑦) ∈ ((𝐶 ·𝑜 𝑦) +𝑜 𝐶)))
4037, 39syl5ibrcom 237 . . . . . . . . . . . . . . . . . . 19 ((((𝐶 ·𝑜 𝑦) ∈ ω ∧ 𝐶 ∈ ω) ∧ ∅ ∈ 𝐶) → (𝐴 = 𝑦 → (𝐶 ·𝑜 𝐴) ∈ ((𝐶 ·𝑜 𝑦) +𝑜 𝐶)))
4140adantrr 755 . . . . . . . . . . . . . . . . . 18 ((((𝐶 ·𝑜 𝑦) ∈ ω ∧ 𝐶 ∈ ω) ∧ (∅ ∈ 𝐶 ∧ (𝐴𝑦 → (𝐶 ·𝑜 𝐴) ∈ (𝐶 ·𝑜 𝑦)))) → (𝐴 = 𝑦 → (𝐶 ·𝑜 𝐴) ∈ ((𝐶 ·𝑜 𝑦) +𝑜 𝐶)))
4231, 41jaod 394 . . . . . . . . . . . . . . . . 17 ((((𝐶 ·𝑜 𝑦) ∈ ω ∧ 𝐶 ∈ ω) ∧ (∅ ∈ 𝐶 ∧ (𝐴𝑦 → (𝐶 ·𝑜 𝐴) ∈ (𝐶 ·𝑜 𝑦)))) → ((𝐴𝑦𝐴 = 𝑦) → (𝐶 ·𝑜 𝐴) ∈ ((𝐶 ·𝑜 𝑦) +𝑜 𝐶)))
4326, 42sylan 489 . . . . . . . . . . . . . . . 16 (((𝐶 ∈ ω ∧ 𝑦 ∈ ω) ∧ (∅ ∈ 𝐶 ∧ (𝐴𝑦 → (𝐶 ·𝑜 𝐴) ∈ (𝐶 ·𝑜 𝑦)))) → ((𝐴𝑦𝐴 = 𝑦) → (𝐶 ·𝑜 𝐴) ∈ ((𝐶 ·𝑜 𝑦) +𝑜 𝐶)))
4423, 43syl5 34 . . . . . . . . . . . . . . 15 (((𝐶 ∈ ω ∧ 𝑦 ∈ ω) ∧ (∅ ∈ 𝐶 ∧ (𝐴𝑦 → (𝐶 ·𝑜 𝐴) ∈ (𝐶 ·𝑜 𝑦)))) → (𝐴 ∈ suc 𝑦 → (𝐶 ·𝑜 𝐴) ∈ ((𝐶 ·𝑜 𝑦) +𝑜 𝐶)))
45 nnmsuc 7844 . . . . . . . . . . . . . . . . 17 ((𝐶 ∈ ω ∧ 𝑦 ∈ ω) → (𝐶 ·𝑜 suc 𝑦) = ((𝐶 ·𝑜 𝑦) +𝑜 𝐶))
4645eleq2d 2813 . . . . . . . . . . . . . . . 16 ((𝐶 ∈ ω ∧ 𝑦 ∈ ω) → ((𝐶 ·𝑜 𝐴) ∈ (𝐶 ·𝑜 suc 𝑦) ↔ (𝐶 ·𝑜 𝐴) ∈ ((𝐶 ·𝑜 𝑦) +𝑜 𝐶)))
4746adantr 472 . . . . . . . . . . . . . . 15 (((𝐶 ∈ ω ∧ 𝑦 ∈ ω) ∧ (∅ ∈ 𝐶 ∧ (𝐴𝑦 → (𝐶 ·𝑜 𝐴) ∈ (𝐶 ·𝑜 𝑦)))) → ((𝐶 ·𝑜 𝐴) ∈ (𝐶 ·𝑜 suc 𝑦) ↔ (𝐶 ·𝑜 𝐴) ∈ ((𝐶 ·𝑜 𝑦) +𝑜 𝐶)))
4844, 47sylibrd 249 . . . . . . . . . . . . . 14 (((𝐶 ∈ ω ∧ 𝑦 ∈ ω) ∧ (∅ ∈ 𝐶 ∧ (𝐴𝑦 → (𝐶 ·𝑜 𝐴) ∈ (𝐶 ·𝑜 𝑦)))) → (𝐴 ∈ suc 𝑦 → (𝐶 ·𝑜 𝐴) ∈ (𝐶 ·𝑜 suc 𝑦)))
4948exp43 641 . . . . . . . . . . . . 13 (𝐶 ∈ ω → (𝑦 ∈ ω → (∅ ∈ 𝐶 → ((𝐴𝑦 → (𝐶 ·𝑜 𝐴) ∈ (𝐶 ·𝑜 𝑦)) → (𝐴 ∈ suc 𝑦 → (𝐶 ·𝑜 𝐴) ∈ (𝐶 ·𝑜 suc 𝑦))))))
5049com12 32 . . . . . . . . . . . 12 (𝑦 ∈ ω → (𝐶 ∈ ω → (∅ ∈ 𝐶 → ((𝐴𝑦 → (𝐶 ·𝑜 𝐴) ∈ (𝐶 ·𝑜 𝑦)) → (𝐴 ∈ suc 𝑦 → (𝐶 ·𝑜 𝐴) ∈ (𝐶 ·𝑜 suc 𝑦))))))
5150adantld 484 . . . . . . . . . . 11 (𝑦 ∈ ω → ((𝐴 ∈ ω ∧ 𝐶 ∈ ω) → (∅ ∈ 𝐶 → ((𝐴𝑦 → (𝐶 ·𝑜 𝐴) ∈ (𝐶 ·𝑜 𝑦)) → (𝐴 ∈ suc 𝑦 → (𝐶 ·𝑜 𝐴) ∈ (𝐶 ·𝑜 suc 𝑦))))))
5251impd 446 . . . . . . . . . 10 (𝑦 ∈ ω → (((𝐴 ∈ ω ∧ 𝐶 ∈ ω) ∧ ∅ ∈ 𝐶) → ((𝐴𝑦 → (𝐶 ·𝑜 𝐴) ∈ (𝐶 ·𝑜 𝑦)) → (𝐴 ∈ suc 𝑦 → (𝐶 ·𝑜 𝐴) ∈ (𝐶 ·𝑜 suc 𝑦)))))
5311, 15, 19, 22, 52finds2 7247 . . . . . . . . 9 (𝑥 ∈ ω → (((𝐴 ∈ ω ∧ 𝐶 ∈ ω) ∧ ∅ ∈ 𝐶) → (𝐴𝑥 → (𝐶 ·𝑜 𝐴) ∈ (𝐶 ·𝑜 𝑥))))
547, 53vtoclga 3400 . . . . . . . 8 (𝐵 ∈ ω → (((𝐴 ∈ ω ∧ 𝐶 ∈ ω) ∧ ∅ ∈ 𝐶) → (𝐴𝐵 → (𝐶 ·𝑜 𝐴) ∈ (𝐶 ·𝑜 𝐵))))
5554com23 86 . . . . . . 7 (𝐵 ∈ ω → (𝐴𝐵 → (((𝐴 ∈ ω ∧ 𝐶 ∈ ω) ∧ ∅ ∈ 𝐶) → (𝐶 ·𝑜 𝐴) ∈ (𝐶 ·𝑜 𝐵))))
5655exp4a 634 . . . . . 6 (𝐵 ∈ ω → (𝐴𝐵 → ((𝐴 ∈ ω ∧ 𝐶 ∈ ω) → (∅ ∈ 𝐶 → (𝐶 ·𝑜 𝐴) ∈ (𝐶 ·𝑜 𝐵)))))
5756exp4a 634 . . . . 5 (𝐵 ∈ ω → (𝐴𝐵 → (𝐴 ∈ ω → (𝐶 ∈ ω → (∅ ∈ 𝐶 → (𝐶 ·𝑜 𝐴) ∈ (𝐶 ·𝑜 𝐵))))))
582, 57mpdd 43 . . . 4 (𝐵 ∈ ω → (𝐴𝐵 → (𝐶 ∈ ω → (∅ ∈ 𝐶 → (𝐶 ·𝑜 𝐴) ∈ (𝐶 ·𝑜 𝐵)))))
5958com34 91 . . 3 (𝐵 ∈ ω → (𝐴𝐵 → (∅ ∈ 𝐶 → (𝐶 ∈ ω → (𝐶 ·𝑜 𝐴) ∈ (𝐶 ·𝑜 𝐵)))))
6059com24 95 . 2 (𝐵 ∈ ω → (𝐶 ∈ ω → (∅ ∈ 𝐶 → (𝐴𝐵 → (𝐶 ·𝑜 𝐴) ∈ (𝐶 ·𝑜 𝐵)))))
6160imp31 447 1 (((𝐵 ∈ ω ∧ 𝐶 ∈ ω) ∧ ∅ ∈ 𝐶) → (𝐴𝐵 → (𝐶 ·𝑜 𝐴) ∈ (𝐶 ·𝑜 𝐵)))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 196  wo 382  wa 383   = wceq 1620  wcel 2127  c0 4046  suc csuc 5874  (class class class)co 6801  ωcom 7218   +𝑜 coa 7714   ·𝑜 comu 7715
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1859  ax-4 1874  ax-5 1976  ax-6 2042  ax-7 2078  ax-8 2129  ax-9 2136  ax-10 2156  ax-11 2171  ax-12 2184  ax-13 2379  ax-ext 2728  ax-sep 4921  ax-nul 4929  ax-pow 4980  ax-pr 5043  ax-un 7102
This theorem depends on definitions:  df-bi 197  df-or 384  df-an 385  df-3or 1073  df-3an 1074  df-tru 1623  df-ex 1842  df-nf 1847  df-sb 2035  df-eu 2599  df-mo 2600  df-clab 2735  df-cleq 2741  df-clel 2744  df-nfc 2879  df-ne 2921  df-ral 3043  df-rex 3044  df-reu 3045  df-rab 3047  df-v 3330  df-sbc 3565  df-csb 3663  df-dif 3706  df-un 3708  df-in 3710  df-ss 3717  df-pss 3719  df-nul 4047  df-if 4219  df-pw 4292  df-sn 4310  df-pr 4312  df-tp 4314  df-op 4316  df-uni 4577  df-iun 4662  df-br 4793  df-opab 4853  df-mpt 4870  df-tr 4893  df-id 5162  df-eprel 5167  df-po 5175  df-so 5176  df-fr 5213  df-we 5215  df-xp 5260  df-rel 5261  df-cnv 5262  df-co 5263  df-dm 5264  df-rn 5265  df-res 5266  df-ima 5267  df-pred 5829  df-ord 5875  df-on 5876  df-lim 5877  df-suc 5878  df-iota 6000  df-fun 6039  df-fn 6040  df-f 6041  df-f1 6042  df-fo 6043  df-f1o 6044  df-fv 6045  df-ov 6804  df-oprab 6805  df-mpt2 6806  df-om 7219  df-wrecs 7564  df-recs 7625  df-rdg 7663  df-oadd 7721  df-omul 7722
This theorem is referenced by:  nnmord  7869  mulclpi  9878
  Copyright terms: Public domain W3C validator