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

Theorem ltmpi 9605
 Description: Ordering property of multiplication for positive integers. (Contributed by NM, 8-Feb-1996.) (New usage is discouraged.)
Assertion
Ref Expression
ltmpi (𝐶N → (𝐴 <N 𝐵 ↔ (𝐶 ·N 𝐴) <N (𝐶 ·N 𝐵)))

Proof of Theorem ltmpi
StepHypRef Expression
1 dmmulpi 9592 . 2 dom ·N = (N × N)
2 ltrelpi 9590 . 2 <N ⊆ (N × N)
3 0npi 9583 . 2 ¬ ∅ ∈ N
4 pinn 9579 . . . . . 6 (𝐴N𝐴 ∈ ω)
5 pinn 9579 . . . . . 6 (𝐵N𝐵 ∈ ω)
6 elni2 9578 . . . . . . 7 (𝐶N ↔ (𝐶 ∈ ω ∧ ∅ ∈ 𝐶))
7 iba 523 . . . . . . . . . 10 (∅ ∈ 𝐶 → (𝐴𝐵 ↔ (𝐴𝐵 ∧ ∅ ∈ 𝐶)))
8 nnmord 7599 . . . . . . . . . 10 ((𝐴 ∈ ω ∧ 𝐵 ∈ ω ∧ 𝐶 ∈ ω) → ((𝐴𝐵 ∧ ∅ ∈ 𝐶) ↔ (𝐶 ·𝑜 𝐴) ∈ (𝐶 ·𝑜 𝐵)))
97, 8sylan9bbr 733 . . . . . . . . 9 (((𝐴 ∈ ω ∧ 𝐵 ∈ ω ∧ 𝐶 ∈ ω) ∧ ∅ ∈ 𝐶) → (𝐴𝐵 ↔ (𝐶 ·𝑜 𝐴) ∈ (𝐶 ·𝑜 𝐵)))
1093exp1 1275 . . . . . . . 8 (𝐴 ∈ ω → (𝐵 ∈ ω → (𝐶 ∈ ω → (∅ ∈ 𝐶 → (𝐴𝐵 ↔ (𝐶 ·𝑜 𝐴) ∈ (𝐶 ·𝑜 𝐵))))))
1110imp4b 611 . . . . . . 7 ((𝐴 ∈ ω ∧ 𝐵 ∈ ω) → ((𝐶 ∈ ω ∧ ∅ ∈ 𝐶) → (𝐴𝐵 ↔ (𝐶 ·𝑜 𝐴) ∈ (𝐶 ·𝑜 𝐵))))
126, 11syl5bi 231 . . . . . 6 ((𝐴 ∈ ω ∧ 𝐵 ∈ ω) → (𝐶N → (𝐴𝐵 ↔ (𝐶 ·𝑜 𝐴) ∈ (𝐶 ·𝑜 𝐵))))
134, 5, 12syl2an 493 . . . . 5 ((𝐴N𝐵N) → (𝐶N → (𝐴𝐵 ↔ (𝐶 ·𝑜 𝐴) ∈ (𝐶 ·𝑜 𝐵))))
1413imp 444 . . . 4 (((𝐴N𝐵N) ∧ 𝐶N) → (𝐴𝐵 ↔ (𝐶 ·𝑜 𝐴) ∈ (𝐶 ·𝑜 𝐵)))
15 ltpiord 9588 . . . . 5 ((𝐴N𝐵N) → (𝐴 <N 𝐵𝐴𝐵))
1615adantr 480 . . . 4 (((𝐴N𝐵N) ∧ 𝐶N) → (𝐴 <N 𝐵𝐴𝐵))
17 mulclpi 9594 . . . . . . . 8 ((𝐶N𝐴N) → (𝐶 ·N 𝐴) ∈ N)
18 mulclpi 9594 . . . . . . . 8 ((𝐶N𝐵N) → (𝐶 ·N 𝐵) ∈ N)
19 ltpiord 9588 . . . . . . . 8 (((𝐶 ·N 𝐴) ∈ N ∧ (𝐶 ·N 𝐵) ∈ N) → ((𝐶 ·N 𝐴) <N (𝐶 ·N 𝐵) ↔ (𝐶 ·N 𝐴) ∈ (𝐶 ·N 𝐵)))
2017, 18, 19syl2an 493 . . . . . . 7 (((𝐶N𝐴N) ∧ (𝐶N𝐵N)) → ((𝐶 ·N 𝐴) <N (𝐶 ·N 𝐵) ↔ (𝐶 ·N 𝐴) ∈ (𝐶 ·N 𝐵)))
21 mulpiord 9586 . . . . . . . . 9 ((𝐶N𝐴N) → (𝐶 ·N 𝐴) = (𝐶 ·𝑜 𝐴))
2221adantr 480 . . . . . . . 8 (((𝐶N𝐴N) ∧ (𝐶N𝐵N)) → (𝐶 ·N 𝐴) = (𝐶 ·𝑜 𝐴))
23 mulpiord 9586 . . . . . . . . 9 ((𝐶N𝐵N) → (𝐶 ·N 𝐵) = (𝐶 ·𝑜 𝐵))
2423adantl 481 . . . . . . . 8 (((𝐶N𝐴N) ∧ (𝐶N𝐵N)) → (𝐶 ·N 𝐵) = (𝐶 ·𝑜 𝐵))
2522, 24eleq12d 2682 . . . . . . 7 (((𝐶N𝐴N) ∧ (𝐶N𝐵N)) → ((𝐶 ·N 𝐴) ∈ (𝐶 ·N 𝐵) ↔ (𝐶 ·𝑜 𝐴) ∈ (𝐶 ·𝑜 𝐵)))
2620, 25bitrd 267 . . . . . 6 (((𝐶N𝐴N) ∧ (𝐶N𝐵N)) → ((𝐶 ·N 𝐴) <N (𝐶 ·N 𝐵) ↔ (𝐶 ·𝑜 𝐴) ∈ (𝐶 ·𝑜 𝐵)))
2726anandis 869 . . . . 5 ((𝐶N ∧ (𝐴N𝐵N)) → ((𝐶 ·N 𝐴) <N (𝐶 ·N 𝐵) ↔ (𝐶 ·𝑜 𝐴) ∈ (𝐶 ·𝑜 𝐵)))
2827ancoms 468 . . . 4 (((𝐴N𝐵N) ∧ 𝐶N) → ((𝐶 ·N 𝐴) <N (𝐶 ·N 𝐵) ↔ (𝐶 ·𝑜 𝐴) ∈ (𝐶 ·𝑜 𝐵)))
2914, 16, 283bitr4d 299 . . 3 (((𝐴N𝐵N) ∧ 𝐶N) → (𝐴 <N 𝐵 ↔ (𝐶 ·N 𝐴) <N (𝐶 ·N 𝐵)))
30293impa 1251 . 2 ((𝐴N𝐵N𝐶N) → (𝐴 <N 𝐵 ↔ (𝐶 ·N 𝐴) <N (𝐶 ·N 𝐵)))
311, 2, 3, 30ndmovord 6722 1 (𝐶N → (𝐴 <N 𝐵 ↔ (𝐶 ·N 𝐴) <N (𝐶 ·N 𝐵)))
 Colors of variables: wff setvar class Syntax hints:   → wi 4   ↔ wb 195   ∧ wa 383   ∧ w3a 1031   = wceq 1475   ∈ wcel 1977  ∅c0 3874   class class class wbr 4583  (class class class)co 6549  ωcom 6957   ·𝑜 comu 7445  Ncnpi 9545   ·N cmi 9547
 Copyright terms: Public domain W3C validator