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

Theorem nnmordi 7657
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 7023 . . . . . 6 ((𝐴𝐵𝐵 ∈ ω) → 𝐴 ∈ ω)
21expcom 451 . . . . 5 (𝐵 ∈ ω → (𝐴𝐵𝐴 ∈ ω))
3 eleq2 2693 . . . . . . . . . . 11 (𝑥 = 𝐵 → (𝐴𝑥𝐴𝐵))
4 oveq2 6613 . . . . . . . . . . . 12 (𝑥 = 𝐵 → (𝐶 ·𝑜 𝑥) = (𝐶 ·𝑜 𝐵))
54eleq2d 2689 . . . . . . . . . . 11 (𝑥 = 𝐵 → ((𝐶 ·𝑜 𝐴) ∈ (𝐶 ·𝑜 𝑥) ↔ (𝐶 ·𝑜 𝐴) ∈ (𝐶 ·𝑜 𝐵)))
63, 5imbi12d 334 . . . . . . . . . 10 (𝑥 = 𝐵 → ((𝐴𝑥 → (𝐶 ·𝑜 𝐴) ∈ (𝐶 ·𝑜 𝑥)) ↔ (𝐴𝐵 → (𝐶 ·𝑜 𝐴) ∈ (𝐶 ·𝑜 𝐵))))
76imbi2d 330 . . . . . . . . 9 (𝑥 = 𝐵 → ((((𝐴 ∈ ω ∧ 𝐶 ∈ ω) ∧ ∅ ∈ 𝐶) → (𝐴𝑥 → (𝐶 ·𝑜 𝐴) ∈ (𝐶 ·𝑜 𝑥))) ↔ (((𝐴 ∈ ω ∧ 𝐶 ∈ ω) ∧ ∅ ∈ 𝐶) → (𝐴𝐵 → (𝐶 ·𝑜 𝐴) ∈ (𝐶 ·𝑜 𝐵)))))
8 eleq2 2693 . . . . . . . . . . 11 (𝑥 = ∅ → (𝐴𝑥𝐴 ∈ ∅))
9 oveq2 6613 . . . . . . . . . . . 12 (𝑥 = ∅ → (𝐶 ·𝑜 𝑥) = (𝐶 ·𝑜 ∅))
109eleq2d 2689 . . . . . . . . . . 11 (𝑥 = ∅ → ((𝐶 ·𝑜 𝐴) ∈ (𝐶 ·𝑜 𝑥) ↔ (𝐶 ·𝑜 𝐴) ∈ (𝐶 ·𝑜 ∅)))
118, 10imbi12d 334 . . . . . . . . . 10 (𝑥 = ∅ → ((𝐴𝑥 → (𝐶 ·𝑜 𝐴) ∈ (𝐶 ·𝑜 𝑥)) ↔ (𝐴 ∈ ∅ → (𝐶 ·𝑜 𝐴) ∈ (𝐶 ·𝑜 ∅))))
12 eleq2 2693 . . . . . . . . . . 11 (𝑥 = 𝑦 → (𝐴𝑥𝐴𝑦))
13 oveq2 6613 . . . . . . . . . . . 12 (𝑥 = 𝑦 → (𝐶 ·𝑜 𝑥) = (𝐶 ·𝑜 𝑦))
1413eleq2d 2689 . . . . . . . . . . 11 (𝑥 = 𝑦 → ((𝐶 ·𝑜 𝐴) ∈ (𝐶 ·𝑜 𝑥) ↔ (𝐶 ·𝑜 𝐴) ∈ (𝐶 ·𝑜 𝑦)))
1512, 14imbi12d 334 . . . . . . . . . 10 (𝑥 = 𝑦 → ((𝐴𝑥 → (𝐶 ·𝑜 𝐴) ∈ (𝐶 ·𝑜 𝑥)) ↔ (𝐴𝑦 → (𝐶 ·𝑜 𝐴) ∈ (𝐶 ·𝑜 𝑦))))
16 eleq2 2693 . . . . . . . . . . 11 (𝑥 = suc 𝑦 → (𝐴𝑥𝐴 ∈ suc 𝑦))
17 oveq2 6613 . . . . . . . . . . . 12 (𝑥 = suc 𝑦 → (𝐶 ·𝑜 𝑥) = (𝐶 ·𝑜 suc 𝑦))
1817eleq2d 2689 . . . . . . . . . . 11 (𝑥 = suc 𝑦 → ((𝐶 ·𝑜 𝐴) ∈ (𝐶 ·𝑜 𝑥) ↔ (𝐶 ·𝑜 𝐴) ∈ (𝐶 ·𝑜 suc 𝑦)))
1916, 18imbi12d 334 . . . . . . . . . 10 (𝑥 = suc 𝑦 → ((𝐴𝑥 → (𝐶 ·𝑜 𝐴) ∈ (𝐶 ·𝑜 𝑥)) ↔ (𝐴 ∈ suc 𝑦 → (𝐶 ·𝑜 𝐴) ∈ (𝐶 ·𝑜 suc 𝑦))))
20 noel 3900 . . . . . . . . . . . 12 ¬ 𝐴 ∈ ∅
2120pm2.21i 116 . . . . . . . . . . 11 (𝐴 ∈ ∅ → (𝐶 ·𝑜 𝐴) ∈ (𝐶 ·𝑜 ∅))
2221a1i 11 . . . . . . . . . 10 (((𝐴 ∈ ω ∧ 𝐶 ∈ ω) ∧ ∅ ∈ 𝐶) → (𝐴 ∈ ∅ → (𝐶 ·𝑜 𝐴) ∈ (𝐶 ·𝑜 ∅)))
23 elsuci 5753 . . . . . . . . . . . . . . . 16 (𝐴 ∈ suc 𝑦 → (𝐴𝑦𝐴 = 𝑦))
24 nnmcl 7638 . . . . . . . . . . . . . . . . . 18 ((𝐶 ∈ ω ∧ 𝑦 ∈ ω) → (𝐶 ·𝑜 𝑦) ∈ ω)
25 simpl 473 . . . . . . . . . . . . . . . . . 18 ((𝐶 ∈ ω ∧ 𝑦 ∈ ω) → 𝐶 ∈ ω)
2624, 25jca 554 . . . . . . . . . . . . . . . . 17 ((𝐶 ∈ ω ∧ 𝑦 ∈ ω) → ((𝐶 ·𝑜 𝑦) ∈ ω ∧ 𝐶 ∈ ω))
27 nnaword1 7655 . . . . . . . . . . . . . . . . . . . . . 22 (((𝐶 ·𝑜 𝑦) ∈ ω ∧ 𝐶 ∈ ω) → (𝐶 ·𝑜 𝑦) ⊆ ((𝐶 ·𝑜 𝑦) +𝑜 𝐶))
2827sseld 3587 . . . . . . . . . . . . . . . . . . . . 21 (((𝐶 ·𝑜 𝑦) ∈ ω ∧ 𝐶 ∈ ω) → ((𝐶 ·𝑜 𝐴) ∈ (𝐶 ·𝑜 𝑦) → (𝐶 ·𝑜 𝐴) ∈ ((𝐶 ·𝑜 𝑦) +𝑜 𝐶)))
2928imim2d 57 . . . . . . . . . . . . . . . . . . . 20 (((𝐶 ·𝑜 𝑦) ∈ ω ∧ 𝐶 ∈ ω) → ((𝐴𝑦 → (𝐶 ·𝑜 𝐴) ∈ (𝐶 ·𝑜 𝑦)) → (𝐴𝑦 → (𝐶 ·𝑜 𝐴) ∈ ((𝐶 ·𝑜 𝑦) +𝑜 𝐶))))
3029imp 445 . . . . . . . . . . . . . . . . . . 19 ((((𝐶 ·𝑜 𝑦) ∈ ω ∧ 𝐶 ∈ ω) ∧ (𝐴𝑦 → (𝐶 ·𝑜 𝐴) ∈ (𝐶 ·𝑜 𝑦))) → (𝐴𝑦 → (𝐶 ·𝑜 𝐴) ∈ ((𝐶 ·𝑜 𝑦) +𝑜 𝐶)))
3130adantrl 751 . . . . . . . . . . . . . . . . . 18 ((((𝐶 ·𝑜 𝑦) ∈ ω ∧ 𝐶 ∈ ω) ∧ (∅ ∈ 𝐶 ∧ (𝐴𝑦 → (𝐶 ·𝑜 𝐴) ∈ (𝐶 ·𝑜 𝑦)))) → (𝐴𝑦 → (𝐶 ·𝑜 𝐴) ∈ ((𝐶 ·𝑜 𝑦) +𝑜 𝐶)))
32 nna0 7630 . . . . . . . . . . . . . . . . . . . . . 22 ((𝐶 ·𝑜 𝑦) ∈ ω → ((𝐶 ·𝑜 𝑦) +𝑜 ∅) = (𝐶 ·𝑜 𝑦))
3332ad2antrr 761 . . . . . . . . . . . . . . . . . . . . 21 ((((𝐶 ·𝑜 𝑦) ∈ ω ∧ 𝐶 ∈ ω) ∧ ∅ ∈ 𝐶) → ((𝐶 ·𝑜 𝑦) +𝑜 ∅) = (𝐶 ·𝑜 𝑦))
34 nnaordi 7644 . . . . . . . . . . . . . . . . . . . . . . 23 ((𝐶 ∈ ω ∧ (𝐶 ·𝑜 𝑦) ∈ ω) → (∅ ∈ 𝐶 → ((𝐶 ·𝑜 𝑦) +𝑜 ∅) ∈ ((𝐶 ·𝑜 𝑦) +𝑜 𝐶)))
3534ancoms 469 . . . . . . . . . . . . . . . . . . . . . 22 (((𝐶 ·𝑜 𝑦) ∈ ω ∧ 𝐶 ∈ ω) → (∅ ∈ 𝐶 → ((𝐶 ·𝑜 𝑦) +𝑜 ∅) ∈ ((𝐶 ·𝑜 𝑦) +𝑜 𝐶)))
3635imp 445 . . . . . . . . . . . . . . . . . . . . 21 ((((𝐶 ·𝑜 𝑦) ∈ ω ∧ 𝐶 ∈ ω) ∧ ∅ ∈ 𝐶) → ((𝐶 ·𝑜 𝑦) +𝑜 ∅) ∈ ((𝐶 ·𝑜 𝑦) +𝑜 𝐶))
3733, 36eqeltrrd 2705 . . . . . . . . . . . . . . . . . . . 20 ((((𝐶 ·𝑜 𝑦) ∈ ω ∧ 𝐶 ∈ ω) ∧ ∅ ∈ 𝐶) → (𝐶 ·𝑜 𝑦) ∈ ((𝐶 ·𝑜 𝑦) +𝑜 𝐶))
38 oveq2 6613 . . . . . . . . . . . . . . . . . . . . 21 (𝐴 = 𝑦 → (𝐶 ·𝑜 𝐴) = (𝐶 ·𝑜 𝑦))
3938eleq1d 2688 . . . . . . . . . . . . . . . . . . . 20 (𝐴 = 𝑦 → ((𝐶 ·𝑜 𝐴) ∈ ((𝐶 ·𝑜 𝑦) +𝑜 𝐶) ↔ (𝐶 ·𝑜 𝑦) ∈ ((𝐶 ·𝑜 𝑦) +𝑜 𝐶)))
4037, 39syl5ibrcom 237 . . . . . . . . . . . . . . . . . . 19 ((((𝐶 ·𝑜 𝑦) ∈ ω ∧ 𝐶 ∈ ω) ∧ ∅ ∈ 𝐶) → (𝐴 = 𝑦 → (𝐶 ·𝑜 𝐴) ∈ ((𝐶 ·𝑜 𝑦) +𝑜 𝐶)))
4140adantrr 752 . . . . . . . . . . . . . . . . . 18 ((((𝐶 ·𝑜 𝑦) ∈ ω ∧ 𝐶 ∈ ω) ∧ (∅ ∈ 𝐶 ∧ (𝐴𝑦 → (𝐶 ·𝑜 𝐴) ∈ (𝐶 ·𝑜 𝑦)))) → (𝐴 = 𝑦 → (𝐶 ·𝑜 𝐴) ∈ ((𝐶 ·𝑜 𝑦) +𝑜 𝐶)))
4231, 41jaod 395 . . . . . . . . . . . . . . . . 17 ((((𝐶 ·𝑜 𝑦) ∈ ω ∧ 𝐶 ∈ ω) ∧ (∅ ∈ 𝐶 ∧ (𝐴𝑦 → (𝐶 ·𝑜 𝐴) ∈ (𝐶 ·𝑜 𝑦)))) → ((𝐴𝑦𝐴 = 𝑦) → (𝐶 ·𝑜 𝐴) ∈ ((𝐶 ·𝑜 𝑦) +𝑜 𝐶)))
4326, 42sylan 488 . . . . . . . . . . . . . . . 16 (((𝐶 ∈ ω ∧ 𝑦 ∈ ω) ∧ (∅ ∈ 𝐶 ∧ (𝐴𝑦 → (𝐶 ·𝑜 𝐴) ∈ (𝐶 ·𝑜 𝑦)))) → ((𝐴𝑦𝐴 = 𝑦) → (𝐶 ·𝑜 𝐴) ∈ ((𝐶 ·𝑜 𝑦) +𝑜 𝐶)))
4423, 43syl5 34 . . . . . . . . . . . . . . 15 (((𝐶 ∈ ω ∧ 𝑦 ∈ ω) ∧ (∅ ∈ 𝐶 ∧ (𝐴𝑦 → (𝐶 ·𝑜 𝐴) ∈ (𝐶 ·𝑜 𝑦)))) → (𝐴 ∈ suc 𝑦 → (𝐶 ·𝑜 𝐴) ∈ ((𝐶 ·𝑜 𝑦) +𝑜 𝐶)))
45 nnmsuc 7633 . . . . . . . . . . . . . . . . 17 ((𝐶 ∈ ω ∧ 𝑦 ∈ ω) → (𝐶 ·𝑜 suc 𝑦) = ((𝐶 ·𝑜 𝑦) +𝑜 𝐶))
4645eleq2d 2689 . . . . . . . . . . . . . . . 16 ((𝐶 ∈ ω ∧ 𝑦 ∈ ω) → ((𝐶 ·𝑜 𝐴) ∈ (𝐶 ·𝑜 suc 𝑦) ↔ (𝐶 ·𝑜 𝐴) ∈ ((𝐶 ·𝑜 𝑦) +𝑜 𝐶)))
4746adantr 481 . . . . . . . . . . . . . . 15 (((𝐶 ∈ ω ∧ 𝑦 ∈ ω) ∧ (∅ ∈ 𝐶 ∧ (𝐴𝑦 → (𝐶 ·𝑜 𝐴) ∈ (𝐶 ·𝑜 𝑦)))) → ((𝐶 ·𝑜 𝐴) ∈ (𝐶 ·𝑜 suc 𝑦) ↔ (𝐶 ·𝑜 𝐴) ∈ ((𝐶 ·𝑜 𝑦) +𝑜 𝐶)))
4844, 47sylibrd 249 . . . . . . . . . . . . . 14 (((𝐶 ∈ ω ∧ 𝑦 ∈ ω) ∧ (∅ ∈ 𝐶 ∧ (𝐴𝑦 → (𝐶 ·𝑜 𝐴) ∈ (𝐶 ·𝑜 𝑦)))) → (𝐴 ∈ suc 𝑦 → (𝐶 ·𝑜 𝐴) ∈ (𝐶 ·𝑜 suc 𝑦)))
4948exp43 639 . . . . . . . . . . . . 13 (𝐶 ∈ ω → (𝑦 ∈ ω → (∅ ∈ 𝐶 → ((𝐴𝑦 → (𝐶 ·𝑜 𝐴) ∈ (𝐶 ·𝑜 𝑦)) → (𝐴 ∈ suc 𝑦 → (𝐶 ·𝑜 𝐴) ∈ (𝐶 ·𝑜 suc 𝑦))))))
5049com12 32 . . . . . . . . . . . 12 (𝑦 ∈ ω → (𝐶 ∈ ω → (∅ ∈ 𝐶 → ((𝐴𝑦 → (𝐶 ·𝑜 𝐴) ∈ (𝐶 ·𝑜 𝑦)) → (𝐴 ∈ suc 𝑦 → (𝐶 ·𝑜 𝐴) ∈ (𝐶 ·𝑜 suc 𝑦))))))
5150adantld 483 . . . . . . . . . . 11 (𝑦 ∈ ω → ((𝐴 ∈ ω ∧ 𝐶 ∈ ω) → (∅ ∈ 𝐶 → ((𝐴𝑦 → (𝐶 ·𝑜 𝐴) ∈ (𝐶 ·𝑜 𝑦)) → (𝐴 ∈ suc 𝑦 → (𝐶 ·𝑜 𝐴) ∈ (𝐶 ·𝑜 suc 𝑦))))))
5251impd 447 . . . . . . . . . 10 (𝑦 ∈ ω → (((𝐴 ∈ ω ∧ 𝐶 ∈ ω) ∧ ∅ ∈ 𝐶) → ((𝐴𝑦 → (𝐶 ·𝑜 𝐴) ∈ (𝐶 ·𝑜 𝑦)) → (𝐴 ∈ suc 𝑦 → (𝐶 ·𝑜 𝐴) ∈ (𝐶 ·𝑜 suc 𝑦)))))
5311, 15, 19, 22, 52finds2 7042 . . . . . . . . 9 (𝑥 ∈ ω → (((𝐴 ∈ ω ∧ 𝐶 ∈ ω) ∧ ∅ ∈ 𝐶) → (𝐴𝑥 → (𝐶 ·𝑜 𝐴) ∈ (𝐶 ·𝑜 𝑥))))
547, 53vtoclga 3263 . . . . . . . 8 (𝐵 ∈ ω → (((𝐴 ∈ ω ∧ 𝐶 ∈ ω) ∧ ∅ ∈ 𝐶) → (𝐴𝐵 → (𝐶 ·𝑜 𝐴) ∈ (𝐶 ·𝑜 𝐵))))
5554com23 86 . . . . . . 7 (𝐵 ∈ ω → (𝐴𝐵 → (((𝐴 ∈ ω ∧ 𝐶 ∈ ω) ∧ ∅ ∈ 𝐶) → (𝐶 ·𝑜 𝐴) ∈ (𝐶 ·𝑜 𝐵))))
5655exp4a 632 . . . . . 6 (𝐵 ∈ ω → (𝐴𝐵 → ((𝐴 ∈ ω ∧ 𝐶 ∈ ω) → (∅ ∈ 𝐶 → (𝐶 ·𝑜 𝐴) ∈ (𝐶 ·𝑜 𝐵)))))
5756exp4a 632 . . . . 5 (𝐵 ∈ ω → (𝐴𝐵 → (𝐴 ∈ ω → (𝐶 ∈ ω → (∅ ∈ 𝐶 → (𝐶 ·𝑜 𝐴) ∈ (𝐶 ·𝑜 𝐵))))))
582, 57mpdd 43 . . . 4 (𝐵 ∈ ω → (𝐴𝐵 → (𝐶 ∈ ω → (∅ ∈ 𝐶 → (𝐶 ·𝑜 𝐴) ∈ (𝐶 ·𝑜 𝐵)))))
5958com34 91 . . 3 (𝐵 ∈ ω → (𝐴𝐵 → (∅ ∈ 𝐶 → (𝐶 ∈ ω → (𝐶 ·𝑜 𝐴) ∈ (𝐶 ·𝑜 𝐵)))))
6059com24 95 . 2 (𝐵 ∈ ω → (𝐶 ∈ ω → (∅ ∈ 𝐶 → (𝐴𝐵 → (𝐶 ·𝑜 𝐴) ∈ (𝐶 ·𝑜 𝐵)))))
6160imp31 448 1 (((𝐵 ∈ ω ∧ 𝐶 ∈ ω) ∧ ∅ ∈ 𝐶) → (𝐴𝐵 → (𝐶 ·𝑜 𝐴) ∈ (𝐶 ·𝑜 𝐵)))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 196  wo 383  wa 384   = wceq 1480  wcel 1992  c0 3896  suc csuc 5687  (class class class)co 6605  ωcom 7013   +𝑜 coa 7503   ·𝑜 comu 7504
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1719  ax-4 1734  ax-5 1841  ax-6 1890  ax-7 1937  ax-8 1994  ax-9 2001  ax-10 2021  ax-11 2036  ax-12 2049  ax-13 2250  ax-ext 2606  ax-sep 4746  ax-nul 4754  ax-pow 4808  ax-pr 4872  ax-un 6903
This theorem depends on definitions:  df-bi 197  df-or 385  df-an 386  df-3or 1037  df-3an 1038  df-tru 1483  df-ex 1702  df-nf 1707  df-sb 1883  df-eu 2478  df-mo 2479  df-clab 2613  df-cleq 2619  df-clel 2622  df-nfc 2756  df-ne 2797  df-ral 2917  df-rex 2918  df-reu 2919  df-rab 2921  df-v 3193  df-sbc 3423  df-csb 3520  df-dif 3563  df-un 3565  df-in 3567  df-ss 3574  df-pss 3576  df-nul 3897  df-if 4064  df-pw 4137  df-sn 4154  df-pr 4156  df-tp 4158  df-op 4160  df-uni 4408  df-iun 4492  df-br 4619  df-opab 4679  df-mpt 4680  df-tr 4718  df-eprel 4990  df-id 4994  df-po 5000  df-so 5001  df-fr 5038  df-we 5040  df-xp 5085  df-rel 5086  df-cnv 5087  df-co 5088  df-dm 5089  df-rn 5090  df-res 5091  df-ima 5092  df-pred 5642  df-ord 5688  df-on 5689  df-lim 5690  df-suc 5691  df-iota 5813  df-fun 5852  df-fn 5853  df-f 5854  df-f1 5855  df-fo 5856  df-f1o 5857  df-fv 5858  df-ov 6608  df-oprab 6609  df-mpt2 6610  df-om 7014  df-wrecs 7353  df-recs 7414  df-rdg 7452  df-oadd 7510  df-omul 7511
This theorem is referenced by:  nnmord  7658  mulclpi  9660
  Copyright terms: Public domain W3C validator