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

Theorem nnmordi 7575
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 6944 . . . . . 6 ((𝐴𝐵𝐵 ∈ ω) → 𝐴 ∈ ω)
21expcom 449 . . . . 5 (𝐵 ∈ ω → (𝐴𝐵𝐴 ∈ ω))
3 eleq2 2676 . . . . . . . . . . 11 (𝑥 = 𝐵 → (𝐴𝑥𝐴𝐵))
4 oveq2 6535 . . . . . . . . . . . 12 (𝑥 = 𝐵 → (𝐶 ·𝑜 𝑥) = (𝐶 ·𝑜 𝐵))
54eleq2d 2672 . . . . . . . . . . 11 (𝑥 = 𝐵 → ((𝐶 ·𝑜 𝐴) ∈ (𝐶 ·𝑜 𝑥) ↔ (𝐶 ·𝑜 𝐴) ∈ (𝐶 ·𝑜 𝐵)))
63, 5imbi12d 332 . . . . . . . . . 10 (𝑥 = 𝐵 → ((𝐴𝑥 → (𝐶 ·𝑜 𝐴) ∈ (𝐶 ·𝑜 𝑥)) ↔ (𝐴𝐵 → (𝐶 ·𝑜 𝐴) ∈ (𝐶 ·𝑜 𝐵))))
76imbi2d 328 . . . . . . . . 9 (𝑥 = 𝐵 → ((((𝐴 ∈ ω ∧ 𝐶 ∈ ω) ∧ ∅ ∈ 𝐶) → (𝐴𝑥 → (𝐶 ·𝑜 𝐴) ∈ (𝐶 ·𝑜 𝑥))) ↔ (((𝐴 ∈ ω ∧ 𝐶 ∈ ω) ∧ ∅ ∈ 𝐶) → (𝐴𝐵 → (𝐶 ·𝑜 𝐴) ∈ (𝐶 ·𝑜 𝐵)))))
8 eleq2 2676 . . . . . . . . . . 11 (𝑥 = ∅ → (𝐴𝑥𝐴 ∈ ∅))
9 oveq2 6535 . . . . . . . . . . . 12 (𝑥 = ∅ → (𝐶 ·𝑜 𝑥) = (𝐶 ·𝑜 ∅))
109eleq2d 2672 . . . . . . . . . . 11 (𝑥 = ∅ → ((𝐶 ·𝑜 𝐴) ∈ (𝐶 ·𝑜 𝑥) ↔ (𝐶 ·𝑜 𝐴) ∈ (𝐶 ·𝑜 ∅)))
118, 10imbi12d 332 . . . . . . . . . 10 (𝑥 = ∅ → ((𝐴𝑥 → (𝐶 ·𝑜 𝐴) ∈ (𝐶 ·𝑜 𝑥)) ↔ (𝐴 ∈ ∅ → (𝐶 ·𝑜 𝐴) ∈ (𝐶 ·𝑜 ∅))))
12 eleq2 2676 . . . . . . . . . . 11 (𝑥 = 𝑦 → (𝐴𝑥𝐴𝑦))
13 oveq2 6535 . . . . . . . . . . . 12 (𝑥 = 𝑦 → (𝐶 ·𝑜 𝑥) = (𝐶 ·𝑜 𝑦))
1413eleq2d 2672 . . . . . . . . . . 11 (𝑥 = 𝑦 → ((𝐶 ·𝑜 𝐴) ∈ (𝐶 ·𝑜 𝑥) ↔ (𝐶 ·𝑜 𝐴) ∈ (𝐶 ·𝑜 𝑦)))
1512, 14imbi12d 332 . . . . . . . . . 10 (𝑥 = 𝑦 → ((𝐴𝑥 → (𝐶 ·𝑜 𝐴) ∈ (𝐶 ·𝑜 𝑥)) ↔ (𝐴𝑦 → (𝐶 ·𝑜 𝐴) ∈ (𝐶 ·𝑜 𝑦))))
16 eleq2 2676 . . . . . . . . . . 11 (𝑥 = suc 𝑦 → (𝐴𝑥𝐴 ∈ suc 𝑦))
17 oveq2 6535 . . . . . . . . . . . 12 (𝑥 = suc 𝑦 → (𝐶 ·𝑜 𝑥) = (𝐶 ·𝑜 suc 𝑦))
1817eleq2d 2672 . . . . . . . . . . 11 (𝑥 = suc 𝑦 → ((𝐶 ·𝑜 𝐴) ∈ (𝐶 ·𝑜 𝑥) ↔ (𝐶 ·𝑜 𝐴) ∈ (𝐶 ·𝑜 suc 𝑦)))
1916, 18imbi12d 332 . . . . . . . . . 10 (𝑥 = suc 𝑦 → ((𝐴𝑥 → (𝐶 ·𝑜 𝐴) ∈ (𝐶 ·𝑜 𝑥)) ↔ (𝐴 ∈ suc 𝑦 → (𝐶 ·𝑜 𝐴) ∈ (𝐶 ·𝑜 suc 𝑦))))
20 noel 3877 . . . . . . . . . . . 12 ¬ 𝐴 ∈ ∅
2120pm2.21i 114 . . . . . . . . . . 11 (𝐴 ∈ ∅ → (𝐶 ·𝑜 𝐴) ∈ (𝐶 ·𝑜 ∅))
2221a1i 11 . . . . . . . . . 10 (((𝐴 ∈ ω ∧ 𝐶 ∈ ω) ∧ ∅ ∈ 𝐶) → (𝐴 ∈ ∅ → (𝐶 ·𝑜 𝐴) ∈ (𝐶 ·𝑜 ∅)))
23 elsuci 5694 . . . . . . . . . . . . . . . 16 (𝐴 ∈ suc 𝑦 → (𝐴𝑦𝐴 = 𝑦))
24 nnmcl 7556 . . . . . . . . . . . . . . . . . 18 ((𝐶 ∈ ω ∧ 𝑦 ∈ ω) → (𝐶 ·𝑜 𝑦) ∈ ω)
25 simpl 471 . . . . . . . . . . . . . . . . . 18 ((𝐶 ∈ ω ∧ 𝑦 ∈ ω) → 𝐶 ∈ ω)
2624, 25jca 552 . . . . . . . . . . . . . . . . 17 ((𝐶 ∈ ω ∧ 𝑦 ∈ ω) → ((𝐶 ·𝑜 𝑦) ∈ ω ∧ 𝐶 ∈ ω))
27 nnaword1 7573 . . . . . . . . . . . . . . . . . . . . . 22 (((𝐶 ·𝑜 𝑦) ∈ ω ∧ 𝐶 ∈ ω) → (𝐶 ·𝑜 𝑦) ⊆ ((𝐶 ·𝑜 𝑦) +𝑜 𝐶))
2827sseld 3566 . . . . . . . . . . . . . . . . . . . . 21 (((𝐶 ·𝑜 𝑦) ∈ ω ∧ 𝐶 ∈ ω) → ((𝐶 ·𝑜 𝐴) ∈ (𝐶 ·𝑜 𝑦) → (𝐶 ·𝑜 𝐴) ∈ ((𝐶 ·𝑜 𝑦) +𝑜 𝐶)))
2928imim2d 54 . . . . . . . . . . . . . . . . . . . 20 (((𝐶 ·𝑜 𝑦) ∈ ω ∧ 𝐶 ∈ ω) → ((𝐴𝑦 → (𝐶 ·𝑜 𝐴) ∈ (𝐶 ·𝑜 𝑦)) → (𝐴𝑦 → (𝐶 ·𝑜 𝐴) ∈ ((𝐶 ·𝑜 𝑦) +𝑜 𝐶))))
3029imp 443 . . . . . . . . . . . . . . . . . . 19 ((((𝐶 ·𝑜 𝑦) ∈ ω ∧ 𝐶 ∈ ω) ∧ (𝐴𝑦 → (𝐶 ·𝑜 𝐴) ∈ (𝐶 ·𝑜 𝑦))) → (𝐴𝑦 → (𝐶 ·𝑜 𝐴) ∈ ((𝐶 ·𝑜 𝑦) +𝑜 𝐶)))
3130adantrl 747 . . . . . . . . . . . . . . . . . 18 ((((𝐶 ·𝑜 𝑦) ∈ ω ∧ 𝐶 ∈ ω) ∧ (∅ ∈ 𝐶 ∧ (𝐴𝑦 → (𝐶 ·𝑜 𝐴) ∈ (𝐶 ·𝑜 𝑦)))) → (𝐴𝑦 → (𝐶 ·𝑜 𝐴) ∈ ((𝐶 ·𝑜 𝑦) +𝑜 𝐶)))
32 nna0 7548 . . . . . . . . . . . . . . . . . . . . . 22 ((𝐶 ·𝑜 𝑦) ∈ ω → ((𝐶 ·𝑜 𝑦) +𝑜 ∅) = (𝐶 ·𝑜 𝑦))
3332ad2antrr 757 . . . . . . . . . . . . . . . . . . . . 21 ((((𝐶 ·𝑜 𝑦) ∈ ω ∧ 𝐶 ∈ ω) ∧ ∅ ∈ 𝐶) → ((𝐶 ·𝑜 𝑦) +𝑜 ∅) = (𝐶 ·𝑜 𝑦))
34 nnaordi 7562 . . . . . . . . . . . . . . . . . . . . . . 23 ((𝐶 ∈ ω ∧ (𝐶 ·𝑜 𝑦) ∈ ω) → (∅ ∈ 𝐶 → ((𝐶 ·𝑜 𝑦) +𝑜 ∅) ∈ ((𝐶 ·𝑜 𝑦) +𝑜 𝐶)))
3534ancoms 467 . . . . . . . . . . . . . . . . . . . . . 22 (((𝐶 ·𝑜 𝑦) ∈ ω ∧ 𝐶 ∈ ω) → (∅ ∈ 𝐶 → ((𝐶 ·𝑜 𝑦) +𝑜 ∅) ∈ ((𝐶 ·𝑜 𝑦) +𝑜 𝐶)))
3635imp 443 . . . . . . . . . . . . . . . . . . . . 21 ((((𝐶 ·𝑜 𝑦) ∈ ω ∧ 𝐶 ∈ ω) ∧ ∅ ∈ 𝐶) → ((𝐶 ·𝑜 𝑦) +𝑜 ∅) ∈ ((𝐶 ·𝑜 𝑦) +𝑜 𝐶))
3733, 36eqeltrrd 2688 . . . . . . . . . . . . . . . . . . . 20 ((((𝐶 ·𝑜 𝑦) ∈ ω ∧ 𝐶 ∈ ω) ∧ ∅ ∈ 𝐶) → (𝐶 ·𝑜 𝑦) ∈ ((𝐶 ·𝑜 𝑦) +𝑜 𝐶))
38 oveq2 6535 . . . . . . . . . . . . . . . . . . . . 21 (𝐴 = 𝑦 → (𝐶 ·𝑜 𝐴) = (𝐶 ·𝑜 𝑦))
3938eleq1d 2671 . . . . . . . . . . . . . . . . . . . 20 (𝐴 = 𝑦 → ((𝐶 ·𝑜 𝐴) ∈ ((𝐶 ·𝑜 𝑦) +𝑜 𝐶) ↔ (𝐶 ·𝑜 𝑦) ∈ ((𝐶 ·𝑜 𝑦) +𝑜 𝐶)))
4037, 39syl5ibrcom 235 . . . . . . . . . . . . . . . . . . 19 ((((𝐶 ·𝑜 𝑦) ∈ ω ∧ 𝐶 ∈ ω) ∧ ∅ ∈ 𝐶) → (𝐴 = 𝑦 → (𝐶 ·𝑜 𝐴) ∈ ((𝐶 ·𝑜 𝑦) +𝑜 𝐶)))
4140adantrr 748 . . . . . . . . . . . . . . . . . 18 ((((𝐶 ·𝑜 𝑦) ∈ ω ∧ 𝐶 ∈ ω) ∧ (∅ ∈ 𝐶 ∧ (𝐴𝑦 → (𝐶 ·𝑜 𝐴) ∈ (𝐶 ·𝑜 𝑦)))) → (𝐴 = 𝑦 → (𝐶 ·𝑜 𝐴) ∈ ((𝐶 ·𝑜 𝑦) +𝑜 𝐶)))
4231, 41jaod 393 . . . . . . . . . . . . . . . . 17 ((((𝐶 ·𝑜 𝑦) ∈ ω ∧ 𝐶 ∈ ω) ∧ (∅ ∈ 𝐶 ∧ (𝐴𝑦 → (𝐶 ·𝑜 𝐴) ∈ (𝐶 ·𝑜 𝑦)))) → ((𝐴𝑦𝐴 = 𝑦) → (𝐶 ·𝑜 𝐴) ∈ ((𝐶 ·𝑜 𝑦) +𝑜 𝐶)))
4326, 42sylan 486 . . . . . . . . . . . . . . . 16 (((𝐶 ∈ ω ∧ 𝑦 ∈ ω) ∧ (∅ ∈ 𝐶 ∧ (𝐴𝑦 → (𝐶 ·𝑜 𝐴) ∈ (𝐶 ·𝑜 𝑦)))) → ((𝐴𝑦𝐴 = 𝑦) → (𝐶 ·𝑜 𝐴) ∈ ((𝐶 ·𝑜 𝑦) +𝑜 𝐶)))
4423, 43syl5 33 . . . . . . . . . . . . . . 15 (((𝐶 ∈ ω ∧ 𝑦 ∈ ω) ∧ (∅ ∈ 𝐶 ∧ (𝐴𝑦 → (𝐶 ·𝑜 𝐴) ∈ (𝐶 ·𝑜 𝑦)))) → (𝐴 ∈ suc 𝑦 → (𝐶 ·𝑜 𝐴) ∈ ((𝐶 ·𝑜 𝑦) +𝑜 𝐶)))
45 nnmsuc 7551 . . . . . . . . . . . . . . . . 17 ((𝐶 ∈ ω ∧ 𝑦 ∈ ω) → (𝐶 ·𝑜 suc 𝑦) = ((𝐶 ·𝑜 𝑦) +𝑜 𝐶))
4645eleq2d 2672 . . . . . . . . . . . . . . . 16 ((𝐶 ∈ ω ∧ 𝑦 ∈ ω) → ((𝐶 ·𝑜 𝐴) ∈ (𝐶 ·𝑜 suc 𝑦) ↔ (𝐶 ·𝑜 𝐴) ∈ ((𝐶 ·𝑜 𝑦) +𝑜 𝐶)))
4746adantr 479 . . . . . . . . . . . . . . 15 (((𝐶 ∈ ω ∧ 𝑦 ∈ ω) ∧ (∅ ∈ 𝐶 ∧ (𝐴𝑦 → (𝐶 ·𝑜 𝐴) ∈ (𝐶 ·𝑜 𝑦)))) → ((𝐶 ·𝑜 𝐴) ∈ (𝐶 ·𝑜 suc 𝑦) ↔ (𝐶 ·𝑜 𝐴) ∈ ((𝐶 ·𝑜 𝑦) +𝑜 𝐶)))
4844, 47sylibrd 247 . . . . . . . . . . . . . 14 (((𝐶 ∈ ω ∧ 𝑦 ∈ ω) ∧ (∅ ∈ 𝐶 ∧ (𝐴𝑦 → (𝐶 ·𝑜 𝐴) ∈ (𝐶 ·𝑜 𝑦)))) → (𝐴 ∈ suc 𝑦 → (𝐶 ·𝑜 𝐴) ∈ (𝐶 ·𝑜 suc 𝑦)))
4948exp43 637 . . . . . . . . . . . . 13 (𝐶 ∈ ω → (𝑦 ∈ ω → (∅ ∈ 𝐶 → ((𝐴𝑦 → (𝐶 ·𝑜 𝐴) ∈ (𝐶 ·𝑜 𝑦)) → (𝐴 ∈ suc 𝑦 → (𝐶 ·𝑜 𝐴) ∈ (𝐶 ·𝑜 suc 𝑦))))))
5049com12 32 . . . . . . . . . . . 12 (𝑦 ∈ ω → (𝐶 ∈ ω → (∅ ∈ 𝐶 → ((𝐴𝑦 → (𝐶 ·𝑜 𝐴) ∈ (𝐶 ·𝑜 𝑦)) → (𝐴 ∈ suc 𝑦 → (𝐶 ·𝑜 𝐴) ∈ (𝐶 ·𝑜 suc 𝑦))))))
5150adantld 481 . . . . . . . . . . 11 (𝑦 ∈ ω → ((𝐴 ∈ ω ∧ 𝐶 ∈ ω) → (∅ ∈ 𝐶 → ((𝐴𝑦 → (𝐶 ·𝑜 𝐴) ∈ (𝐶 ·𝑜 𝑦)) → (𝐴 ∈ suc 𝑦 → (𝐶 ·𝑜 𝐴) ∈ (𝐶 ·𝑜 suc 𝑦))))))
5251impd 445 . . . . . . . . . 10 (𝑦 ∈ ω → (((𝐴 ∈ ω ∧ 𝐶 ∈ ω) ∧ ∅ ∈ 𝐶) → ((𝐴𝑦 → (𝐶 ·𝑜 𝐴) ∈ (𝐶 ·𝑜 𝑦)) → (𝐴 ∈ suc 𝑦 → (𝐶 ·𝑜 𝐴) ∈ (𝐶 ·𝑜 suc 𝑦)))))
5311, 15, 19, 22, 52finds2 6963 . . . . . . . . 9 (𝑥 ∈ ω → (((𝐴 ∈ ω ∧ 𝐶 ∈ ω) ∧ ∅ ∈ 𝐶) → (𝐴𝑥 → (𝐶 ·𝑜 𝐴) ∈ (𝐶 ·𝑜 𝑥))))
547, 53vtoclga 3244 . . . . . . . 8 (𝐵 ∈ ω → (((𝐴 ∈ ω ∧ 𝐶 ∈ ω) ∧ ∅ ∈ 𝐶) → (𝐴𝐵 → (𝐶 ·𝑜 𝐴) ∈ (𝐶 ·𝑜 𝐵))))
5554com23 83 . . . . . . 7 (𝐵 ∈ ω → (𝐴𝐵 → (((𝐴 ∈ ω ∧ 𝐶 ∈ ω) ∧ ∅ ∈ 𝐶) → (𝐶 ·𝑜 𝐴) ∈ (𝐶 ·𝑜 𝐵))))
5655exp4a 630 . . . . . 6 (𝐵 ∈ ω → (𝐴𝐵 → ((𝐴 ∈ ω ∧ 𝐶 ∈ ω) → (∅ ∈ 𝐶 → (𝐶 ·𝑜 𝐴) ∈ (𝐶 ·𝑜 𝐵)))))
5756exp4a 630 . . . . 5 (𝐵 ∈ ω → (𝐴𝐵 → (𝐴 ∈ ω → (𝐶 ∈ ω → (∅ ∈ 𝐶 → (𝐶 ·𝑜 𝐴) ∈ (𝐶 ·𝑜 𝐵))))))
582, 57mpdd 41 . . . 4 (𝐵 ∈ ω → (𝐴𝐵 → (𝐶 ∈ ω → (∅ ∈ 𝐶 → (𝐶 ·𝑜 𝐴) ∈ (𝐶 ·𝑜 𝐵)))))
5958com34 88 . . 3 (𝐵 ∈ ω → (𝐴𝐵 → (∅ ∈ 𝐶 → (𝐶 ∈ ω → (𝐶 ·𝑜 𝐴) ∈ (𝐶 ·𝑜 𝐵)))))
6059com24 92 . 2 (𝐵 ∈ ω → (𝐶 ∈ ω → (∅ ∈ 𝐶 → (𝐴𝐵 → (𝐶 ·𝑜 𝐴) ∈ (𝐶 ·𝑜 𝐵)))))
6160imp31 446 1 (((𝐵 ∈ ω ∧ 𝐶 ∈ ω) ∧ ∅ ∈ 𝐶) → (𝐴𝐵 → (𝐶 ·𝑜 𝐴) ∈ (𝐶 ·𝑜 𝐵)))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 194  wo 381  wa 382   = wceq 1474  wcel 1976  c0 3873  suc csuc 5628  (class class class)co 6527  ωcom 6934   +𝑜 coa 7421   ·𝑜 comu 7422
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1712  ax-4 1727  ax-5 1826  ax-6 1874  ax-7 1921  ax-8 1978  ax-9 1985  ax-10 2005  ax-11 2020  ax-12 2033  ax-13 2233  ax-ext 2589  ax-sep 4703  ax-nul 4712  ax-pow 4764  ax-pr 4828  ax-un 6824
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 1700  df-sb 1867  df-eu 2461  df-mo 2462  df-clab 2596  df-cleq 2602  df-clel 2605  df-nfc 2739  df-ne 2781  df-ral 2900  df-rex 2901  df-reu 2902  df-rab 2904  df-v 3174  df-sbc 3402  df-csb 3499  df-dif 3542  df-un 3544  df-in 3546  df-ss 3553  df-pss 3555  df-nul 3874  df-if 4036  df-pw 4109  df-sn 4125  df-pr 4127  df-tp 4129  df-op 4131  df-uni 4367  df-iun 4451  df-br 4578  df-opab 4638  df-mpt 4639  df-tr 4675  df-eprel 4939  df-id 4943  df-po 4949  df-so 4950  df-fr 4987  df-we 4989  df-xp 5034  df-rel 5035  df-cnv 5036  df-co 5037  df-dm 5038  df-rn 5039  df-res 5040  df-ima 5041  df-pred 5583  df-ord 5629  df-on 5630  df-lim 5631  df-suc 5632  df-iota 5754  df-fun 5792  df-fn 5793  df-f 5794  df-f1 5795  df-fo 5796  df-f1o 5797  df-fv 5798  df-ov 6530  df-oprab 6531  df-mpt2 6532  df-om 6935  df-wrecs 7271  df-recs 7332  df-rdg 7370  df-oadd 7428  df-omul 7429
This theorem is referenced by:  nnmord  7576  mulclpi  9571
  Copyright terms: Public domain W3C validator