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

Theorem addnidpi 9907
Description: There is no identity element for addition on positive integers. (Contributed by NM, 28-Nov-1995.) (New usage is discouraged.)
Assertion
Ref Expression
addnidpi (𝐴N → ¬ (𝐴 +N 𝐵) = 𝐴)

Proof of Theorem addnidpi
StepHypRef Expression
1 pinn 9884 . . . . 5 (𝐴N𝐴 ∈ ω)
2 elni2 9883 . . . . . 6 (𝐵N ↔ (𝐵 ∈ ω ∧ ∅ ∈ 𝐵))
3 nnaordi 7859 . . . . . . . . 9 ((𝐵 ∈ ω ∧ 𝐴 ∈ ω) → (∅ ∈ 𝐵 → (𝐴 +𝑜 ∅) ∈ (𝐴 +𝑜 𝐵)))
4 nna0 7845 . . . . . . . . . . . 12 (𝐴 ∈ ω → (𝐴 +𝑜 ∅) = 𝐴)
54eleq1d 2816 . . . . . . . . . . 11 (𝐴 ∈ ω → ((𝐴 +𝑜 ∅) ∈ (𝐴 +𝑜 𝐵) ↔ 𝐴 ∈ (𝐴 +𝑜 𝐵)))
6 nnord 7230 . . . . . . . . . . . . . 14 (𝐴 ∈ ω → Ord 𝐴)
7 ordirr 5894 . . . . . . . . . . . . . 14 (Ord 𝐴 → ¬ 𝐴𝐴)
86, 7syl 17 . . . . . . . . . . . . 13 (𝐴 ∈ ω → ¬ 𝐴𝐴)
9 eleq2 2820 . . . . . . . . . . . . . 14 ((𝐴 +𝑜 𝐵) = 𝐴 → (𝐴 ∈ (𝐴 +𝑜 𝐵) ↔ 𝐴𝐴))
109notbid 307 . . . . . . . . . . . . 13 ((𝐴 +𝑜 𝐵) = 𝐴 → (¬ 𝐴 ∈ (𝐴 +𝑜 𝐵) ↔ ¬ 𝐴𝐴))
118, 10syl5ibrcom 237 . . . . . . . . . . . 12 (𝐴 ∈ ω → ((𝐴 +𝑜 𝐵) = 𝐴 → ¬ 𝐴 ∈ (𝐴 +𝑜 𝐵)))
1211con2d 129 . . . . . . . . . . 11 (𝐴 ∈ ω → (𝐴 ∈ (𝐴 +𝑜 𝐵) → ¬ (𝐴 +𝑜 𝐵) = 𝐴))
135, 12sylbid 230 . . . . . . . . . 10 (𝐴 ∈ ω → ((𝐴 +𝑜 ∅) ∈ (𝐴 +𝑜 𝐵) → ¬ (𝐴 +𝑜 𝐵) = 𝐴))
1413adantl 473 . . . . . . . . 9 ((𝐵 ∈ ω ∧ 𝐴 ∈ ω) → ((𝐴 +𝑜 ∅) ∈ (𝐴 +𝑜 𝐵) → ¬ (𝐴 +𝑜 𝐵) = 𝐴))
153, 14syld 47 . . . . . . . 8 ((𝐵 ∈ ω ∧ 𝐴 ∈ ω) → (∅ ∈ 𝐵 → ¬ (𝐴 +𝑜 𝐵) = 𝐴))
1615expcom 450 . . . . . . 7 (𝐴 ∈ ω → (𝐵 ∈ ω → (∅ ∈ 𝐵 → ¬ (𝐴 +𝑜 𝐵) = 𝐴)))
1716imp32 448 . . . . . 6 ((𝐴 ∈ ω ∧ (𝐵 ∈ ω ∧ ∅ ∈ 𝐵)) → ¬ (𝐴 +𝑜 𝐵) = 𝐴)
182, 17sylan2b 493 . . . . 5 ((𝐴 ∈ ω ∧ 𝐵N) → ¬ (𝐴 +𝑜 𝐵) = 𝐴)
191, 18sylan 489 . . . 4 ((𝐴N𝐵N) → ¬ (𝐴 +𝑜 𝐵) = 𝐴)
20 addpiord 9890 . . . . 5 ((𝐴N𝐵N) → (𝐴 +N 𝐵) = (𝐴 +𝑜 𝐵))
2120eqeq1d 2754 . . . 4 ((𝐴N𝐵N) → ((𝐴 +N 𝐵) = 𝐴 ↔ (𝐴 +𝑜 𝐵) = 𝐴))
2219, 21mtbird 314 . . 3 ((𝐴N𝐵N) → ¬ (𝐴 +N 𝐵) = 𝐴)
2322a1d 25 . 2 ((𝐴N𝐵N) → (𝐴N → ¬ (𝐴 +N 𝐵) = 𝐴))
24 dmaddpi 9896 . . . . . 6 dom +N = (N × N)
2524ndmov 6975 . . . . 5 (¬ (𝐴N𝐵N) → (𝐴 +N 𝐵) = ∅)
2625eqeq1d 2754 . . . 4 (¬ (𝐴N𝐵N) → ((𝐴 +N 𝐵) = 𝐴 ↔ ∅ = 𝐴))
27 0npi 9888 . . . . 5 ¬ ∅ ∈ N
28 eleq1 2819 . . . . 5 (∅ = 𝐴 → (∅ ∈ N𝐴N))
2927, 28mtbii 315 . . . 4 (∅ = 𝐴 → ¬ 𝐴N)
3026, 29syl6bi 243 . . 3 (¬ (𝐴N𝐵N) → ((𝐴 +N 𝐵) = 𝐴 → ¬ 𝐴N))
3130con2d 129 . 2 (¬ (𝐴N𝐵N) → (𝐴N → ¬ (𝐴 +N 𝐵) = 𝐴))
3223, 31pm2.61i 176 1 (𝐴N → ¬ (𝐴 +N 𝐵) = 𝐴)
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wa 383   = wceq 1624  wcel 2131  c0 4050  Ord word 5875  (class class class)co 6805  ωcom 7222   +𝑜 coa 7718  Ncnpi 9850   +N cpli 9851
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1863  ax-4 1878  ax-5 1980  ax-6 2046  ax-7 2082  ax-8 2133  ax-9 2140  ax-10 2160  ax-11 2175  ax-12 2188  ax-13 2383  ax-ext 2732  ax-sep 4925  ax-nul 4933  ax-pow 4984  ax-pr 5047  ax-un 7106
This theorem depends on definitions:  df-bi 197  df-or 384  df-an 385  df-3or 1073  df-3an 1074  df-tru 1627  df-ex 1846  df-nf 1851  df-sb 2039  df-eu 2603  df-mo 2604  df-clab 2739  df-cleq 2745  df-clel 2748  df-nfc 2883  df-ne 2925  df-ral 3047  df-rex 3048  df-reu 3049  df-rab 3051  df-v 3334  df-sbc 3569  df-csb 3667  df-dif 3710  df-un 3712  df-in 3714  df-ss 3721  df-pss 3723  df-nul 4051  df-if 4223  df-pw 4296  df-sn 4314  df-pr 4316  df-tp 4318  df-op 4320  df-uni 4581  df-iun 4666  df-br 4797  df-opab 4857  df-mpt 4874  df-tr 4897  df-id 5166  df-eprel 5171  df-po 5179  df-so 5180  df-fr 5217  df-we 5219  df-xp 5264  df-rel 5265  df-cnv 5266  df-co 5267  df-dm 5268  df-rn 5269  df-res 5270  df-ima 5271  df-pred 5833  df-ord 5879  df-on 5880  df-lim 5881  df-suc 5882  df-iota 6004  df-fun 6043  df-fn 6044  df-f 6045  df-f1 6046  df-fo 6047  df-f1o 6048  df-fv 6049  df-ov 6808  df-oprab 6809  df-mpt2 6810  df-om 7223  df-1st 7325  df-2nd 7326  df-wrecs 7568  df-recs 7629  df-rdg 7667  df-oadd 7725  df-ni 9878  df-pli 9879
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator