| Intuitionistic Logic Explorer |
< Previous
Next >
Nearby theorems |
||
| Mirrors > Home > ILE Home > Th. List > mulcanpig | GIF version | ||
| Description: Multiplication cancellation law for positive integers. (Contributed by Jim Kingdon, 29-Aug-2019.) |
| Ref | Expression |
|---|---|
| mulcanpig | ⊢ ((𝐴 ∈ N ∧ 𝐵 ∈ N ∧ 𝐶 ∈ N) → ((𝐴 ·N 𝐵) = (𝐴 ·N 𝐶) ↔ 𝐵 = 𝐶)) |
| Step | Hyp | Ref | Expression |
|---|---|---|---|
| 1 | mulpiord 7472 | . . . . . 6 ⊢ ((𝐴 ∈ N ∧ 𝐵 ∈ N) → (𝐴 ·N 𝐵) = (𝐴 ·o 𝐵)) | |
| 2 | 1 | adantr 276 | . . . . 5 ⊢ (((𝐴 ∈ N ∧ 𝐵 ∈ N) ∧ 𝐶 ∈ N) → (𝐴 ·N 𝐵) = (𝐴 ·o 𝐵)) |
| 3 | mulpiord 7472 | . . . . . 6 ⊢ ((𝐴 ∈ N ∧ 𝐶 ∈ N) → (𝐴 ·N 𝐶) = (𝐴 ·o 𝐶)) | |
| 4 | 3 | adantlr 477 | . . . . 5 ⊢ (((𝐴 ∈ N ∧ 𝐵 ∈ N) ∧ 𝐶 ∈ N) → (𝐴 ·N 𝐶) = (𝐴 ·o 𝐶)) |
| 5 | 2, 4 | eqeq12d 2224 | . . . 4 ⊢ (((𝐴 ∈ N ∧ 𝐵 ∈ N) ∧ 𝐶 ∈ N) → ((𝐴 ·N 𝐵) = (𝐴 ·N 𝐶) ↔ (𝐴 ·o 𝐵) = (𝐴 ·o 𝐶))) |
| 6 | pinn 7464 | . . . . . . . . 9 ⊢ (𝐴 ∈ N → 𝐴 ∈ ω) | |
| 7 | pinn 7464 | . . . . . . . . 9 ⊢ (𝐵 ∈ N → 𝐵 ∈ ω) | |
| 8 | pinn 7464 | . . . . . . . . 9 ⊢ (𝐶 ∈ N → 𝐶 ∈ ω) | |
| 9 | elni2 7469 | . . . . . . . . . . . 12 ⊢ (𝐴 ∈ N ↔ (𝐴 ∈ ω ∧ ∅ ∈ 𝐴)) | |
| 10 | 9 | simprbi 275 | . . . . . . . . . . 11 ⊢ (𝐴 ∈ N → ∅ ∈ 𝐴) |
| 11 | nnmcan 6635 | . . . . . . . . . . . 12 ⊢ (((𝐴 ∈ ω ∧ 𝐵 ∈ ω ∧ 𝐶 ∈ ω) ∧ ∅ ∈ 𝐴) → ((𝐴 ·o 𝐵) = (𝐴 ·o 𝐶) ↔ 𝐵 = 𝐶)) | |
| 12 | 11 | biimpd 144 | . . . . . . . . . . 11 ⊢ (((𝐴 ∈ ω ∧ 𝐵 ∈ ω ∧ 𝐶 ∈ ω) ∧ ∅ ∈ 𝐴) → ((𝐴 ·o 𝐵) = (𝐴 ·o 𝐶) → 𝐵 = 𝐶)) |
| 13 | 10, 12 | sylan2 286 | . . . . . . . . . 10 ⊢ (((𝐴 ∈ ω ∧ 𝐵 ∈ ω ∧ 𝐶 ∈ ω) ∧ 𝐴 ∈ N) → ((𝐴 ·o 𝐵) = (𝐴 ·o 𝐶) → 𝐵 = 𝐶)) |
| 14 | 13 | ex 115 | . . . . . . . . 9 ⊢ ((𝐴 ∈ ω ∧ 𝐵 ∈ ω ∧ 𝐶 ∈ ω) → (𝐴 ∈ N → ((𝐴 ·o 𝐵) = (𝐴 ·o 𝐶) → 𝐵 = 𝐶))) |
| 15 | 6, 7, 8, 14 | syl3an 1294 | . . . . . . . 8 ⊢ ((𝐴 ∈ N ∧ 𝐵 ∈ N ∧ 𝐶 ∈ N) → (𝐴 ∈ N → ((𝐴 ·o 𝐵) = (𝐴 ·o 𝐶) → 𝐵 = 𝐶))) |
| 16 | 15 | 3exp 1207 | . . . . . . 7 ⊢ (𝐴 ∈ N → (𝐵 ∈ N → (𝐶 ∈ N → (𝐴 ∈ N → ((𝐴 ·o 𝐵) = (𝐴 ·o 𝐶) → 𝐵 = 𝐶))))) |
| 17 | 16 | com4r 86 | . . . . . 6 ⊢ (𝐴 ∈ N → (𝐴 ∈ N → (𝐵 ∈ N → (𝐶 ∈ N → ((𝐴 ·o 𝐵) = (𝐴 ·o 𝐶) → 𝐵 = 𝐶))))) |
| 18 | 17 | pm2.43i 49 | . . . . 5 ⊢ (𝐴 ∈ N → (𝐵 ∈ N → (𝐶 ∈ N → ((𝐴 ·o 𝐵) = (𝐴 ·o 𝐶) → 𝐵 = 𝐶)))) |
| 19 | 18 | imp31 256 | . . . 4 ⊢ (((𝐴 ∈ N ∧ 𝐵 ∈ N) ∧ 𝐶 ∈ N) → ((𝐴 ·o 𝐵) = (𝐴 ·o 𝐶) → 𝐵 = 𝐶)) |
| 20 | 5, 19 | sylbid 150 | . . 3 ⊢ (((𝐴 ∈ N ∧ 𝐵 ∈ N) ∧ 𝐶 ∈ N) → ((𝐴 ·N 𝐵) = (𝐴 ·N 𝐶) → 𝐵 = 𝐶)) |
| 21 | 20 | 3impa 1199 | . 2 ⊢ ((𝐴 ∈ N ∧ 𝐵 ∈ N ∧ 𝐶 ∈ N) → ((𝐴 ·N 𝐵) = (𝐴 ·N 𝐶) → 𝐵 = 𝐶)) |
| 22 | oveq2 5982 | . 2 ⊢ (𝐵 = 𝐶 → (𝐴 ·N 𝐵) = (𝐴 ·N 𝐶)) | |
| 23 | 21, 22 | impbid1 142 | 1 ⊢ ((𝐴 ∈ N ∧ 𝐵 ∈ N ∧ 𝐶 ∈ N) → ((𝐴 ·N 𝐵) = (𝐴 ·N 𝐶) ↔ 𝐵 = 𝐶)) |
| Colors of variables: wff set class |
| Syntax hints: → wi 4 ∧ wa 104 ↔ wb 105 ∧ w3a 983 = wceq 1375 ∈ wcel 2180 ∅c0 3471 ωcom 4659 (class class class)co 5974 ·o comu 6530 Ncnpi 7427 ·N cmi 7429 |
| This theorem was proved from axioms: ax-mp 5 ax-1 6 ax-2 7 ax-ia1 106 ax-ia2 107 ax-ia3 108 ax-in1 617 ax-in2 618 ax-io 713 ax-5 1473 ax-7 1474 ax-gen 1475 ax-ie1 1519 ax-ie2 1520 ax-8 1530 ax-10 1531 ax-11 1532 ax-i12 1533 ax-bndl 1535 ax-4 1536 ax-17 1552 ax-i9 1556 ax-ial 1560 ax-i5r 1561 ax-13 2182 ax-14 2183 ax-ext 2191 ax-coll 4178 ax-sep 4181 ax-nul 4189 ax-pow 4237 ax-pr 4272 ax-un 4501 ax-setind 4606 ax-iinf 4657 |
| This theorem depends on definitions: df-bi 117 df-dc 839 df-3or 984 df-3an 985 df-tru 1378 df-fal 1381 df-nf 1487 df-sb 1789 df-eu 2060 df-mo 2061 df-clab 2196 df-cleq 2202 df-clel 2205 df-nfc 2341 df-ne 2381 df-ral 2493 df-rex 2494 df-reu 2495 df-rab 2497 df-v 2781 df-sbc 3009 df-csb 3105 df-dif 3179 df-un 3181 df-in 3183 df-ss 3190 df-nul 3472 df-pw 3631 df-sn 3652 df-pr 3653 df-op 3655 df-uni 3868 df-int 3903 df-iun 3946 df-br 4063 df-opab 4125 df-mpt 4126 df-tr 4162 df-id 4361 df-iord 4434 df-on 4436 df-suc 4439 df-iom 4660 df-xp 4702 df-rel 4703 df-cnv 4704 df-co 4705 df-dm 4706 df-rn 4707 df-res 4708 df-ima 4709 df-iota 5254 df-fun 5296 df-fn 5297 df-f 5298 df-f1 5299 df-fo 5300 df-f1o 5301 df-fv 5302 df-ov 5977 df-oprab 5978 df-mpo 5979 df-1st 6256 df-2nd 6257 df-recs 6421 df-irdg 6486 df-oadd 6536 df-omul 6537 df-ni 7459 df-mi 7461 |
| This theorem is referenced by: enqer 7513 |
| Copyright terms: Public domain | W3C validator |