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

Theorem dfnn3 11640
Description: Alternate definition of the set of positive integers. Definition of positive integers in [Apostol] p. 22. (Contributed by NM, 3-Jul-2005.)
Assertion
Ref Expression
dfnn3 ℕ = {𝑥 ∣ (𝑥 ⊆ ℝ ∧ 1 ∈ 𝑥 ∧ ∀𝑦𝑥 (𝑦 + 1) ∈ 𝑥)}
Distinct variable group:   𝑥,𝑦

Proof of Theorem dfnn3
Dummy variable 𝑧 is distinct from all other variables.
StepHypRef Expression
1 eleq2 2898 . . . 4 (𝑥 = 𝑧 → (1 ∈ 𝑥 ↔ 1 ∈ 𝑧))
2 eleq2 2898 . . . . 5 (𝑥 = 𝑧 → ((𝑦 + 1) ∈ 𝑥 ↔ (𝑦 + 1) ∈ 𝑧))
32raleqbi1dv 3401 . . . 4 (𝑥 = 𝑧 → (∀𝑦𝑥 (𝑦 + 1) ∈ 𝑥 ↔ ∀𝑦𝑧 (𝑦 + 1) ∈ 𝑧))
41, 3anbi12d 630 . . 3 (𝑥 = 𝑧 → ((1 ∈ 𝑥 ∧ ∀𝑦𝑥 (𝑦 + 1) ∈ 𝑥) ↔ (1 ∈ 𝑧 ∧ ∀𝑦𝑧 (𝑦 + 1) ∈ 𝑧)))
5 dfnn2 11639 . . . . 5 ℕ = {𝑧 ∣ (1 ∈ 𝑧 ∧ ∀𝑦𝑧 (𝑦 + 1) ∈ 𝑧)}
65eqeq2i 2831 . . . 4 (𝑥 = ℕ ↔ 𝑥 = {𝑧 ∣ (1 ∈ 𝑧 ∧ ∀𝑦𝑧 (𝑦 + 1) ∈ 𝑧)})
7 eleq2 2898 . . . . 5 (𝑥 = ℕ → (1 ∈ 𝑥 ↔ 1 ∈ ℕ))
8 eleq2 2898 . . . . . 6 (𝑥 = ℕ → ((𝑦 + 1) ∈ 𝑥 ↔ (𝑦 + 1) ∈ ℕ))
98raleqbi1dv 3401 . . . . 5 (𝑥 = ℕ → (∀𝑦𝑥 (𝑦 + 1) ∈ 𝑥 ↔ ∀𝑦 ∈ ℕ (𝑦 + 1) ∈ ℕ))
107, 9anbi12d 630 . . . 4 (𝑥 = ℕ → ((1 ∈ 𝑥 ∧ ∀𝑦𝑥 (𝑦 + 1) ∈ 𝑥) ↔ (1 ∈ ℕ ∧ ∀𝑦 ∈ ℕ (𝑦 + 1) ∈ ℕ)))
116, 10sylbir 236 . . 3 (𝑥 = {𝑧 ∣ (1 ∈ 𝑧 ∧ ∀𝑦𝑧 (𝑦 + 1) ∈ 𝑧)} → ((1 ∈ 𝑥 ∧ ∀𝑦𝑥 (𝑦 + 1) ∈ 𝑥) ↔ (1 ∈ ℕ ∧ ∀𝑦 ∈ ℕ (𝑦 + 1) ∈ ℕ)))
12 nnssre 11630 . . . . 5 ℕ ⊆ ℝ
135, 12eqsstrri 3999 . . . 4 {𝑧 ∣ (1 ∈ 𝑧 ∧ ∀𝑦𝑧 (𝑦 + 1) ∈ 𝑧)} ⊆ ℝ
14 1nn 11637 . . . . 5 1 ∈ ℕ
15 peano2nn 11638 . . . . . 6 (𝑦 ∈ ℕ → (𝑦 + 1) ∈ ℕ)
1615rgen 3145 . . . . 5 𝑦 ∈ ℕ (𝑦 + 1) ∈ ℕ
1714, 16pm3.2i 471 . . . 4 (1 ∈ ℕ ∧ ∀𝑦 ∈ ℕ (𝑦 + 1) ∈ ℕ)
1813, 17pm3.2i 471 . . 3 ( {𝑧 ∣ (1 ∈ 𝑧 ∧ ∀𝑦𝑧 (𝑦 + 1) ∈ 𝑧)} ⊆ ℝ ∧ (1 ∈ ℕ ∧ ∀𝑦 ∈ ℕ (𝑦 + 1) ∈ ℕ))
194, 11, 18intabs 5236 . 2 {𝑥 ∣ (𝑥 ⊆ ℝ ∧ (1 ∈ 𝑥 ∧ ∀𝑦𝑥 (𝑦 + 1) ∈ 𝑥))} = {𝑥 ∣ (1 ∈ 𝑥 ∧ ∀𝑦𝑥 (𝑦 + 1) ∈ 𝑥)}
20 3anass 1087 . . . 4 ((𝑥 ⊆ ℝ ∧ 1 ∈ 𝑥 ∧ ∀𝑦𝑥 (𝑦 + 1) ∈ 𝑥) ↔ (𝑥 ⊆ ℝ ∧ (1 ∈ 𝑥 ∧ ∀𝑦𝑥 (𝑦 + 1) ∈ 𝑥)))
2120abbii 2883 . . 3 {𝑥 ∣ (𝑥 ⊆ ℝ ∧ 1 ∈ 𝑥 ∧ ∀𝑦𝑥 (𝑦 + 1) ∈ 𝑥)} = {𝑥 ∣ (𝑥 ⊆ ℝ ∧ (1 ∈ 𝑥 ∧ ∀𝑦𝑥 (𝑦 + 1) ∈ 𝑥))}
2221inteqi 4871 . 2 {𝑥 ∣ (𝑥 ⊆ ℝ ∧ 1 ∈ 𝑥 ∧ ∀𝑦𝑥 (𝑦 + 1) ∈ 𝑥)} = {𝑥 ∣ (𝑥 ⊆ ℝ ∧ (1 ∈ 𝑥 ∧ ∀𝑦𝑥 (𝑦 + 1) ∈ 𝑥))}
23 dfnn2 11639 . 2 ℕ = {𝑥 ∣ (1 ∈ 𝑥 ∧ ∀𝑦𝑥 (𝑦 + 1) ∈ 𝑥)}
2419, 22, 233eqtr4ri 2852 1 ℕ = {𝑥 ∣ (𝑥 ⊆ ℝ ∧ 1 ∈ 𝑥 ∧ ∀𝑦𝑥 (𝑦 + 1) ∈ 𝑥)}
Colors of variables: wff setvar class
Syntax hints:  wb 207  wa 396  w3a 1079   = wceq 1528  wcel 2105  {cab 2796  wral 3135  wss 3933   cint 4867  (class class class)co 7145  cr 10524  1c1 10526   + caddc 10528  cn 11626
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1787  ax-4 1801  ax-5 1902  ax-6 1961  ax-7 2006  ax-8 2107  ax-9 2115  ax-10 2136  ax-11 2151  ax-12 2167  ax-ext 2790  ax-sep 5194  ax-nul 5201  ax-pow 5257  ax-pr 5320  ax-un 7450  ax-cnex 10581  ax-1cn 10583  ax-icn 10584  ax-addcl 10585  ax-addrcl 10586  ax-mulcl 10587  ax-mulrcl 10588  ax-i2m1 10593  ax-1ne0 10594  ax-rrecex 10597  ax-cnre 10598
This theorem depends on definitions:  df-bi 208  df-an 397  df-or 842  df-3or 1080  df-3an 1081  df-tru 1531  df-ex 1772  df-nf 1776  df-sb 2061  df-mo 2615  df-eu 2647  df-clab 2797  df-cleq 2811  df-clel 2890  df-nfc 2960  df-ne 3014  df-ral 3140  df-rex 3141  df-reu 3142  df-rab 3144  df-v 3494  df-sbc 3770  df-csb 3881  df-dif 3936  df-un 3938  df-in 3940  df-ss 3949  df-pss 3951  df-nul 4289  df-if 4464  df-pw 4537  df-sn 4558  df-pr 4560  df-tp 4562  df-op 4564  df-uni 4831  df-int 4868  df-iun 4912  df-br 5058  df-opab 5120  df-mpt 5138  df-tr 5164  df-id 5453  df-eprel 5458  df-po 5467  df-so 5468  df-fr 5507  df-we 5509  df-xp 5554  df-rel 5555  df-cnv 5556  df-co 5557  df-dm 5558  df-rn 5559  df-res 5560  df-ima 5561  df-pred 6141  df-ord 6187  df-on 6188  df-lim 6189  df-suc 6190  df-iota 6307  df-fun 6350  df-fn 6351  df-f 6352  df-f1 6353  df-fo 6354  df-f1o 6355  df-fv 6356  df-ov 7148  df-om 7570  df-wrecs 7936  df-recs 7997  df-rdg 8035  df-nn 11627
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator