ILE Home Intuitionistic Logic Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  ILE Home  >  Th. List  >  addcanpig GIF version

Theorem addcanpig 7559
Description: Addition cancellation law for positive integers. (Contributed by Jim Kingdon, 27-Aug-2019.)
Assertion
Ref Expression
addcanpig ((𝐴N𝐵N𝐶N) → ((𝐴 +N 𝐵) = (𝐴 +N 𝐶) ↔ 𝐵 = 𝐶))

Proof of Theorem addcanpig
StepHypRef Expression
1 addpiord 7541 . . . . 5 ((𝐴N𝐵N) → (𝐴 +N 𝐵) = (𝐴 +o 𝐵))
213adant3 1043 . . . 4 ((𝐴N𝐵N𝐶N) → (𝐴 +N 𝐵) = (𝐴 +o 𝐵))
3 addpiord 7541 . . . . 5 ((𝐴N𝐶N) → (𝐴 +N 𝐶) = (𝐴 +o 𝐶))
433adant2 1042 . . . 4 ((𝐴N𝐵N𝐶N) → (𝐴 +N 𝐶) = (𝐴 +o 𝐶))
52, 4eqeq12d 2245 . . 3 ((𝐴N𝐵N𝐶N) → ((𝐴 +N 𝐵) = (𝐴 +N 𝐶) ↔ (𝐴 +o 𝐵) = (𝐴 +o 𝐶)))
6 pinn 7534 . . . 4 (𝐴N𝐴 ∈ ω)
7 pinn 7534 . . . 4 (𝐵N𝐵 ∈ ω)
8 pinn 7534 . . . 4 (𝐶N𝐶 ∈ ω)
9 nnacan 6685 . . . . 5 ((𝐴 ∈ ω ∧ 𝐵 ∈ ω ∧ 𝐶 ∈ ω) → ((𝐴 +o 𝐵) = (𝐴 +o 𝐶) ↔ 𝐵 = 𝐶))
109biimpd 144 . . . 4 ((𝐴 ∈ ω ∧ 𝐵 ∈ ω ∧ 𝐶 ∈ ω) → ((𝐴 +o 𝐵) = (𝐴 +o 𝐶) → 𝐵 = 𝐶))
116, 7, 8, 10syl3an 1315 . . 3 ((𝐴N𝐵N𝐶N) → ((𝐴 +o 𝐵) = (𝐴 +o 𝐶) → 𝐵 = 𝐶))
125, 11sylbid 150 . 2 ((𝐴N𝐵N𝐶N) → ((𝐴 +N 𝐵) = (𝐴 +N 𝐶) → 𝐵 = 𝐶))
13 oveq2 6031 . 2 (𝐵 = 𝐶 → (𝐴 +N 𝐵) = (𝐴 +N 𝐶))
1412, 13impbid1 142 1 ((𝐴N𝐵N𝐶N) → ((𝐴 +N 𝐵) = (𝐴 +N 𝐶) ↔ 𝐵 = 𝐶))
Colors of variables: wff set class
Syntax hints:  wi 4  wb 105  w3a 1004   = wceq 1397  wcel 2201  ωcom 4690  (class class class)co 6023   +o coa 6584  Ncnpi 7497   +N cpli 7498
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 619  ax-in2 620  ax-io 716  ax-5 1495  ax-7 1496  ax-gen 1497  ax-ie1 1541  ax-ie2 1542  ax-8 1552  ax-10 1553  ax-11 1554  ax-i12 1555  ax-bndl 1557  ax-4 1558  ax-17 1574  ax-i9 1578  ax-ial 1582  ax-i5r 1583  ax-13 2203  ax-14 2204  ax-ext 2212  ax-coll 4205  ax-sep 4208  ax-nul 4216  ax-pow 4266  ax-pr 4301  ax-un 4532  ax-setind 4637  ax-iinf 4688
This theorem depends on definitions:  df-bi 117  df-3an 1006  df-tru 1400  df-fal 1403  df-nf 1509  df-sb 1810  df-eu 2081  df-mo 2082  df-clab 2217  df-cleq 2223  df-clel 2226  df-nfc 2362  df-ne 2402  df-ral 2514  df-rex 2515  df-reu 2516  df-rab 2518  df-v 2803  df-sbc 3031  df-csb 3127  df-dif 3201  df-un 3203  df-in 3205  df-ss 3212  df-nul 3494  df-pw 3655  df-sn 3676  df-pr 3677  df-op 3679  df-uni 3895  df-int 3930  df-iun 3973  df-br 4090  df-opab 4152  df-mpt 4153  df-tr 4189  df-id 4392  df-iord 4465  df-on 4467  df-suc 4470  df-iom 4691  df-xp 4733  df-rel 4734  df-cnv 4735  df-co 4736  df-dm 4737  df-rn 4738  df-res 4739  df-ima 4740  df-iota 5288  df-fun 5330  df-fn 5331  df-f 5332  df-f1 5333  df-fo 5334  df-f1o 5335  df-fv 5336  df-ov 6026  df-oprab 6027  df-mpo 6028  df-1st 6308  df-2nd 6309  df-recs 6476  df-irdg 6541  df-oadd 6591  df-ni 7529  df-pli 7530
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator