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

Theorem nnmordi 7756
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 7117 . . . . . 6 ((𝐴𝐵𝐵 ∈ ω) → 𝐴 ∈ ω)
21expcom 450 . . . . 5 (𝐵 ∈ ω → (𝐴𝐵𝐴 ∈ ω))
3 eleq2 2719 . . . . . . . . . . 11 (𝑥 = 𝐵 → (𝐴𝑥𝐴𝐵))
4 oveq2 6698 . . . . . . . . . . . 12 (𝑥 = 𝐵 → (𝐶 ·𝑜 𝑥) = (𝐶 ·𝑜 𝐵))
54eleq2d 2716 . . . . . . . . . . 11 (𝑥 = 𝐵 → ((𝐶 ·𝑜 𝐴) ∈ (𝐶 ·𝑜 𝑥) ↔ (𝐶 ·𝑜 𝐴) ∈ (𝐶 ·𝑜 𝐵)))
63, 5imbi12d 333 . . . . . . . . . 10 (𝑥 = 𝐵 → ((𝐴𝑥 → (𝐶 ·𝑜 𝐴) ∈ (𝐶 ·𝑜 𝑥)) ↔ (𝐴𝐵 → (𝐶 ·𝑜 𝐴) ∈ (𝐶 ·𝑜 𝐵))))
76imbi2d 329 . . . . . . . . 9 (𝑥 = 𝐵 → ((((𝐴 ∈ ω ∧ 𝐶 ∈ ω) ∧ ∅ ∈ 𝐶) → (𝐴𝑥 → (𝐶 ·𝑜 𝐴) ∈ (𝐶 ·𝑜 𝑥))) ↔ (((𝐴 ∈ ω ∧ 𝐶 ∈ ω) ∧ ∅ ∈ 𝐶) → (𝐴𝐵 → (𝐶 ·𝑜 𝐴) ∈ (𝐶 ·𝑜 𝐵)))))
8 eleq2 2719 . . . . . . . . . . 11 (𝑥 = ∅ → (𝐴𝑥𝐴 ∈ ∅))
9 oveq2 6698 . . . . . . . . . . . 12 (𝑥 = ∅ → (𝐶 ·𝑜 𝑥) = (𝐶 ·𝑜 ∅))
109eleq2d 2716 . . . . . . . . . . 11 (𝑥 = ∅ → ((𝐶 ·𝑜 𝐴) ∈ (𝐶 ·𝑜 𝑥) ↔ (𝐶 ·𝑜 𝐴) ∈ (𝐶 ·𝑜 ∅)))
118, 10imbi12d 333 . . . . . . . . . 10 (𝑥 = ∅ → ((𝐴𝑥 → (𝐶 ·𝑜 𝐴) ∈ (𝐶 ·𝑜 𝑥)) ↔ (𝐴 ∈ ∅ → (𝐶 ·𝑜 𝐴) ∈ (𝐶 ·𝑜 ∅))))
12 eleq2 2719 . . . . . . . . . . 11 (𝑥 = 𝑦 → (𝐴𝑥𝐴𝑦))
13 oveq2 6698 . . . . . . . . . . . 12 (𝑥 = 𝑦 → (𝐶 ·𝑜 𝑥) = (𝐶 ·𝑜 𝑦))
1413eleq2d 2716 . . . . . . . . . . 11 (𝑥 = 𝑦 → ((𝐶 ·𝑜 𝐴) ∈ (𝐶 ·𝑜 𝑥) ↔ (𝐶 ·𝑜 𝐴) ∈ (𝐶 ·𝑜 𝑦)))
1512, 14imbi12d 333 . . . . . . . . . 10 (𝑥 = 𝑦 → ((𝐴𝑥 → (𝐶 ·𝑜 𝐴) ∈ (𝐶 ·𝑜 𝑥)) ↔ (𝐴𝑦 → (𝐶 ·𝑜 𝐴) ∈ (𝐶 ·𝑜 𝑦))))
16 eleq2 2719 . . . . . . . . . . 11 (𝑥 = suc 𝑦 → (𝐴𝑥𝐴 ∈ suc 𝑦))
17 oveq2 6698 . . . . . . . . . . . 12 (𝑥 = suc 𝑦 → (𝐶 ·𝑜 𝑥) = (𝐶 ·𝑜 suc 𝑦))
1817eleq2d 2716 . . . . . . . . . . 11 (𝑥 = suc 𝑦 → ((𝐶 ·𝑜 𝐴) ∈ (𝐶 ·𝑜 𝑥) ↔ (𝐶 ·𝑜 𝐴) ∈ (𝐶 ·𝑜 suc 𝑦)))
1916, 18imbi12d 333 . . . . . . . . . 10 (𝑥 = suc 𝑦 → ((𝐴𝑥 → (𝐶 ·𝑜 𝐴) ∈ (𝐶 ·𝑜 𝑥)) ↔ (𝐴 ∈ suc 𝑦 → (𝐶 ·𝑜 𝐴) ∈ (𝐶 ·𝑜 suc 𝑦))))
20 noel 3952 . . . . . . . . . . . 12 ¬ 𝐴 ∈ ∅
2120pm2.21i 116 . . . . . . . . . . 11 (𝐴 ∈ ∅ → (𝐶 ·𝑜 𝐴) ∈ (𝐶 ·𝑜 ∅))
2221a1i 11 . . . . . . . . . 10 (((𝐴 ∈ ω ∧ 𝐶 ∈ ω) ∧ ∅ ∈ 𝐶) → (𝐴 ∈ ∅ → (𝐶 ·𝑜 𝐴) ∈ (𝐶 ·𝑜 ∅)))
23 elsuci 5829 . . . . . . . . . . . . . . . 16 (𝐴 ∈ suc 𝑦 → (𝐴𝑦𝐴 = 𝑦))
24 nnmcl 7737 . . . . . . . . . . . . . . . . . 18 ((𝐶 ∈ ω ∧ 𝑦 ∈ ω) → (𝐶 ·𝑜 𝑦) ∈ ω)
25 simpl 472 . . . . . . . . . . . . . . . . . 18 ((𝐶 ∈ ω ∧ 𝑦 ∈ ω) → 𝐶 ∈ ω)
2624, 25jca 553 . . . . . . . . . . . . . . . . 17 ((𝐶 ∈ ω ∧ 𝑦 ∈ ω) → ((𝐶 ·𝑜 𝑦) ∈ ω ∧ 𝐶 ∈ ω))
27 nnaword1 7754 . . . . . . . . . . . . . . . . . . . . . 22 (((𝐶 ·𝑜 𝑦) ∈ ω ∧ 𝐶 ∈ ω) → (𝐶 ·𝑜 𝑦) ⊆ ((𝐶 ·𝑜 𝑦) +𝑜 𝐶))
2827sseld 3635 . . . . . . . . . . . . . . . . . . . . 21 (((𝐶 ·𝑜 𝑦) ∈ ω ∧ 𝐶 ∈ ω) → ((𝐶 ·𝑜 𝐴) ∈ (𝐶 ·𝑜 𝑦) → (𝐶 ·𝑜 𝐴) ∈ ((𝐶 ·𝑜 𝑦) +𝑜 𝐶)))
2928imim2d 57 . . . . . . . . . . . . . . . . . . . 20 (((𝐶 ·𝑜 𝑦) ∈ ω ∧ 𝐶 ∈ ω) → ((𝐴𝑦 → (𝐶 ·𝑜 𝐴) ∈ (𝐶 ·𝑜 𝑦)) → (𝐴𝑦 → (𝐶 ·𝑜 𝐴) ∈ ((𝐶 ·𝑜 𝑦) +𝑜 𝐶))))
3029imp 444 . . . . . . . . . . . . . . . . . . 19 ((((𝐶 ·𝑜 𝑦) ∈ ω ∧ 𝐶 ∈ ω) ∧ (𝐴𝑦 → (𝐶 ·𝑜 𝐴) ∈ (𝐶 ·𝑜 𝑦))) → (𝐴𝑦 → (𝐶 ·𝑜 𝐴) ∈ ((𝐶 ·𝑜 𝑦) +𝑜 𝐶)))
3130adantrl 752 . . . . . . . . . . . . . . . . . 18 ((((𝐶 ·𝑜 𝑦) ∈ ω ∧ 𝐶 ∈ ω) ∧ (∅ ∈ 𝐶 ∧ (𝐴𝑦 → (𝐶 ·𝑜 𝐴) ∈ (𝐶 ·𝑜 𝑦)))) → (𝐴𝑦 → (𝐶 ·𝑜 𝐴) ∈ ((𝐶 ·𝑜 𝑦) +𝑜 𝐶)))
32 nna0 7729 . . . . . . . . . . . . . . . . . . . . . 22 ((𝐶 ·𝑜 𝑦) ∈ ω → ((𝐶 ·𝑜 𝑦) +𝑜 ∅) = (𝐶 ·𝑜 𝑦))
3332ad2antrr 762 . . . . . . . . . . . . . . . . . . . . 21 ((((𝐶 ·𝑜 𝑦) ∈ ω ∧ 𝐶 ∈ ω) ∧ ∅ ∈ 𝐶) → ((𝐶 ·𝑜 𝑦) +𝑜 ∅) = (𝐶 ·𝑜 𝑦))
34 nnaordi 7743 . . . . . . . . . . . . . . . . . . . . . . 23 ((𝐶 ∈ ω ∧ (𝐶 ·𝑜 𝑦) ∈ ω) → (∅ ∈ 𝐶 → ((𝐶 ·𝑜 𝑦) +𝑜 ∅) ∈ ((𝐶 ·𝑜 𝑦) +𝑜 𝐶)))
3534ancoms 468 . . . . . . . . . . . . . . . . . . . . . 22 (((𝐶 ·𝑜 𝑦) ∈ ω ∧ 𝐶 ∈ ω) → (∅ ∈ 𝐶 → ((𝐶 ·𝑜 𝑦) +𝑜 ∅) ∈ ((𝐶 ·𝑜 𝑦) +𝑜 𝐶)))
3635imp 444 . . . . . . . . . . . . . . . . . . . . 21 ((((𝐶 ·𝑜 𝑦) ∈ ω ∧ 𝐶 ∈ ω) ∧ ∅ ∈ 𝐶) → ((𝐶 ·𝑜 𝑦) +𝑜 ∅) ∈ ((𝐶 ·𝑜 𝑦) +𝑜 𝐶))
3733, 36eqeltrrd 2731 . . . . . . . . . . . . . . . . . . . 20 ((((𝐶 ·𝑜 𝑦) ∈ ω ∧ 𝐶 ∈ ω) ∧ ∅ ∈ 𝐶) → (𝐶 ·𝑜 𝑦) ∈ ((𝐶 ·𝑜 𝑦) +𝑜 𝐶))
38 oveq2 6698 . . . . . . . . . . . . . . . . . . . . 21 (𝐴 = 𝑦 → (𝐶 ·𝑜 𝐴) = (𝐶 ·𝑜 𝑦))
3938eleq1d 2715 . . . . . . . . . . . . . . . . . . . 20 (𝐴 = 𝑦 → ((𝐶 ·𝑜 𝐴) ∈ ((𝐶 ·𝑜 𝑦) +𝑜 𝐶) ↔ (𝐶 ·𝑜 𝑦) ∈ ((𝐶 ·𝑜 𝑦) +𝑜 𝐶)))
4037, 39syl5ibrcom 237 . . . . . . . . . . . . . . . . . . 19 ((((𝐶 ·𝑜 𝑦) ∈ ω ∧ 𝐶 ∈ ω) ∧ ∅ ∈ 𝐶) → (𝐴 = 𝑦 → (𝐶 ·𝑜 𝐴) ∈ ((𝐶 ·𝑜 𝑦) +𝑜 𝐶)))
4140adantrr 753 . . . . . . . . . . . . . . . . . 18 ((((𝐶 ·𝑜 𝑦) ∈ ω ∧ 𝐶 ∈ ω) ∧ (∅ ∈ 𝐶 ∧ (𝐴𝑦 → (𝐶 ·𝑜 𝐴) ∈ (𝐶 ·𝑜 𝑦)))) → (𝐴 = 𝑦 → (𝐶 ·𝑜 𝐴) ∈ ((𝐶 ·𝑜 𝑦) +𝑜 𝐶)))
4231, 41jaod 394 . . . . . . . . . . . . . . . . 17 ((((𝐶 ·𝑜 𝑦) ∈ ω ∧ 𝐶 ∈ ω) ∧ (∅ ∈ 𝐶 ∧ (𝐴𝑦 → (𝐶 ·𝑜 𝐴) ∈ (𝐶 ·𝑜 𝑦)))) → ((𝐴𝑦𝐴 = 𝑦) → (𝐶 ·𝑜 𝐴) ∈ ((𝐶 ·𝑜 𝑦) +𝑜 𝐶)))
4326, 42sylan 487 . . . . . . . . . . . . . . . 16 (((𝐶 ∈ ω ∧ 𝑦 ∈ ω) ∧ (∅ ∈ 𝐶 ∧ (𝐴𝑦 → (𝐶 ·𝑜 𝐴) ∈ (𝐶 ·𝑜 𝑦)))) → ((𝐴𝑦𝐴 = 𝑦) → (𝐶 ·𝑜 𝐴) ∈ ((𝐶 ·𝑜 𝑦) +𝑜 𝐶)))
4423, 43syl5 34 . . . . . . . . . . . . . . 15 (((𝐶 ∈ ω ∧ 𝑦 ∈ ω) ∧ (∅ ∈ 𝐶 ∧ (𝐴𝑦 → (𝐶 ·𝑜 𝐴) ∈ (𝐶 ·𝑜 𝑦)))) → (𝐴 ∈ suc 𝑦 → (𝐶 ·𝑜 𝐴) ∈ ((𝐶 ·𝑜 𝑦) +𝑜 𝐶)))
45 nnmsuc 7732 . . . . . . . . . . . . . . . . 17 ((𝐶 ∈ ω ∧ 𝑦 ∈ ω) → (𝐶 ·𝑜 suc 𝑦) = ((𝐶 ·𝑜 𝑦) +𝑜 𝐶))
4645eleq2d 2716 . . . . . . . . . . . . . . . 16 ((𝐶 ∈ ω ∧ 𝑦 ∈ ω) → ((𝐶 ·𝑜 𝐴) ∈ (𝐶 ·𝑜 suc 𝑦) ↔ (𝐶 ·𝑜 𝐴) ∈ ((𝐶 ·𝑜 𝑦) +𝑜 𝐶)))
4746adantr 480 . . . . . . . . . . . . . . 15 (((𝐶 ∈ ω ∧ 𝑦 ∈ ω) ∧ (∅ ∈ 𝐶 ∧ (𝐴𝑦 → (𝐶 ·𝑜 𝐴) ∈ (𝐶 ·𝑜 𝑦)))) → ((𝐶 ·𝑜 𝐴) ∈ (𝐶 ·𝑜 suc 𝑦) ↔ (𝐶 ·𝑜 𝐴) ∈ ((𝐶 ·𝑜 𝑦) +𝑜 𝐶)))
4844, 47sylibrd 249 . . . . . . . . . . . . . 14 (((𝐶 ∈ ω ∧ 𝑦 ∈ ω) ∧ (∅ ∈ 𝐶 ∧ (𝐴𝑦 → (𝐶 ·𝑜 𝐴) ∈ (𝐶 ·𝑜 𝑦)))) → (𝐴 ∈ suc 𝑦 → (𝐶 ·𝑜 𝐴) ∈ (𝐶 ·𝑜 suc 𝑦)))
4948exp43 639 . . . . . . . . . . . . 13 (𝐶 ∈ ω → (𝑦 ∈ ω → (∅ ∈ 𝐶 → ((𝐴𝑦 → (𝐶 ·𝑜 𝐴) ∈ (𝐶 ·𝑜 𝑦)) → (𝐴 ∈ suc 𝑦 → (𝐶 ·𝑜 𝐴) ∈ (𝐶 ·𝑜 suc 𝑦))))))
5049com12 32 . . . . . . . . . . . 12 (𝑦 ∈ ω → (𝐶 ∈ ω → (∅ ∈ 𝐶 → ((𝐴𝑦 → (𝐶 ·𝑜 𝐴) ∈ (𝐶 ·𝑜 𝑦)) → (𝐴 ∈ suc 𝑦 → (𝐶 ·𝑜 𝐴) ∈ (𝐶 ·𝑜 suc 𝑦))))))
5150adantld 482 . . . . . . . . . . 11 (𝑦 ∈ ω → ((𝐴 ∈ ω ∧ 𝐶 ∈ ω) → (∅ ∈ 𝐶 → ((𝐴𝑦 → (𝐶 ·𝑜 𝐴) ∈ (𝐶 ·𝑜 𝑦)) → (𝐴 ∈ suc 𝑦 → (𝐶 ·𝑜 𝐴) ∈ (𝐶 ·𝑜 suc 𝑦))))))
5251impd 446 . . . . . . . . . 10 (𝑦 ∈ ω → (((𝐴 ∈ ω ∧ 𝐶 ∈ ω) ∧ ∅ ∈ 𝐶) → ((𝐴𝑦 → (𝐶 ·𝑜 𝐴) ∈ (𝐶 ·𝑜 𝑦)) → (𝐴 ∈ suc 𝑦 → (𝐶 ·𝑜 𝐴) ∈ (𝐶 ·𝑜 suc 𝑦)))))
5311, 15, 19, 22, 52finds2 7136 . . . . . . . . 9 (𝑥 ∈ ω → (((𝐴 ∈ ω ∧ 𝐶 ∈ ω) ∧ ∅ ∈ 𝐶) → (𝐴𝑥 → (𝐶 ·𝑜 𝐴) ∈ (𝐶 ·𝑜 𝑥))))
547, 53vtoclga 3303 . . . . . . . 8 (𝐵 ∈ ω → (((𝐴 ∈ ω ∧ 𝐶 ∈ ω) ∧ ∅ ∈ 𝐶) → (𝐴𝐵 → (𝐶 ·𝑜 𝐴) ∈ (𝐶 ·𝑜 𝐵))))
5554com23 86 . . . . . . 7 (𝐵 ∈ ω → (𝐴𝐵 → (((𝐴 ∈ ω ∧ 𝐶 ∈ ω) ∧ ∅ ∈ 𝐶) → (𝐶 ·𝑜 𝐴) ∈ (𝐶 ·𝑜 𝐵))))
5655exp4a 632 . . . . . 6 (𝐵 ∈ ω → (𝐴𝐵 → ((𝐴 ∈ ω ∧ 𝐶 ∈ ω) → (∅ ∈ 𝐶 → (𝐶 ·𝑜 𝐴) ∈ (𝐶 ·𝑜 𝐵)))))
5756exp4a 632 . . . . 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 1523  wcel 2030  c0 3948  suc csuc 5763  (class class class)co 6690  ωcom 7107   +𝑜 coa 7602   ·𝑜 comu 7603
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1762  ax-4 1777  ax-5 1879  ax-6 1945  ax-7 1981  ax-8 2032  ax-9 2039  ax-10 2059  ax-11 2074  ax-12 2087  ax-13 2282  ax-ext 2631  ax-sep 4814  ax-nul 4822  ax-pow 4873  ax-pr 4936  ax-un 6991
This theorem depends on definitions:  df-bi 197  df-or 384  df-an 385  df-3or 1055  df-3an 1056  df-tru 1526  df-ex 1745  df-nf 1750  df-sb 1938  df-eu 2502  df-mo 2503  df-clab 2638  df-cleq 2644  df-clel 2647  df-nfc 2782  df-ne 2824  df-ral 2946  df-rex 2947  df-reu 2948  df-rab 2950  df-v 3233  df-sbc 3469  df-csb 3567  df-dif 3610  df-un 3612  df-in 3614  df-ss 3621  df-pss 3623  df-nul 3949  df-if 4120  df-pw 4193  df-sn 4211  df-pr 4213  df-tp 4215  df-op 4217  df-uni 4469  df-iun 4554  df-br 4686  df-opab 4746  df-mpt 4763  df-tr 4786  df-id 5053  df-eprel 5058  df-po 5064  df-so 5065  df-fr 5102  df-we 5104  df-xp 5149  df-rel 5150  df-cnv 5151  df-co 5152  df-dm 5153  df-rn 5154  df-res 5155  df-ima 5156  df-pred 5718  df-ord 5764  df-on 5765  df-lim 5766  df-suc 5767  df-iota 5889  df-fun 5928  df-fn 5929  df-f 5930  df-f1 5931  df-fo 5932  df-f1o 5933  df-fv 5934  df-ov 6693  df-oprab 6694  df-mpt2 6695  df-om 7108  df-wrecs 7452  df-recs 7513  df-rdg 7551  df-oadd 7609  df-omul 7610
This theorem is referenced by:  nnmord  7757  mulclpi  9753
  Copyright terms: Public domain W3C validator