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

Theorem dfuzi 12664
Description: An expression for the upper integers that start at 𝑁 that is analogous to dfnn2 12223 for positive integers. (Contributed by NM, 6-Jul-2005.) (Proof shortened by Mario Carneiro, 3-May-2014.)
Hypothesis
Ref Expression
dfuzi.1 𝑁 ∈ ℤ
Assertion
Ref Expression
dfuzi {𝑧 ∈ ℤ ∣ 𝑁𝑧} = {𝑥 ∣ (𝑁𝑥 ∧ ∀𝑦𝑥 (𝑦 + 1) ∈ 𝑥)}
Distinct variable group:   𝑥,𝑦,𝑧,𝑁

Proof of Theorem dfuzi
StepHypRef Expression
1 ssintab 4923 . . 3 ({𝑧 ∈ ℤ ∣ 𝑁𝑧} ⊆ {𝑥 ∣ (𝑁𝑥 ∧ ∀𝑦𝑥 (𝑦 + 1) ∈ 𝑥)} ↔ ∀𝑥((𝑁𝑥 ∧ ∀𝑦𝑥 (𝑦 + 1) ∈ 𝑥) → {𝑧 ∈ ℤ ∣ 𝑁𝑧} ⊆ 𝑥))
2 dfuzi.1 . . . 4 𝑁 ∈ ℤ
32peano5uzi 12662 . . 3 ((𝑁𝑥 ∧ ∀𝑦𝑥 (𝑦 + 1) ∈ 𝑥) → {𝑧 ∈ ℤ ∣ 𝑁𝑧} ⊆ 𝑥)
41, 3mpgbir 1819 . 2 {𝑧 ∈ ℤ ∣ 𝑁𝑧} ⊆ {𝑥 ∣ (𝑁𝑥 ∧ ∀𝑦𝑥 (𝑦 + 1) ∈ 𝑥)}
52zrei 12574 . . . . . 6 𝑁 ∈ ℝ
65leidi 11721 . . . . 5 𝑁𝑁
7 breq2 5104 . . . . . 6 (𝑧 = 𝑁 → (𝑁𝑧𝑁𝑁))
87elrab 3650 . . . . 5 (𝑁 ∈ {𝑧 ∈ ℤ ∣ 𝑁𝑧} ↔ (𝑁 ∈ ℤ ∧ 𝑁𝑁))
92, 6, 8mpbir2an 721 . . . 4 𝑁 ∈ {𝑧 ∈ ℤ ∣ 𝑁𝑧}
10 peano2uz2 12661 . . . . . 6 ((𝑁 ∈ ℤ ∧ 𝑦 ∈ {𝑧 ∈ ℤ ∣ 𝑁𝑧}) → (𝑦 + 1) ∈ {𝑧 ∈ ℤ ∣ 𝑁𝑧})
112, 10mpan 700 . . . . 5 (𝑦 ∈ {𝑧 ∈ ℤ ∣ 𝑁𝑧} → (𝑦 + 1) ∈ {𝑧 ∈ ℤ ∣ 𝑁𝑧})
1211rgen 3078 . . . 4 𝑦 ∈ {𝑧 ∈ ℤ ∣ 𝑁𝑧} (𝑦 + 1) ∈ {𝑧 ∈ ℤ ∣ 𝑁𝑧}
13 zex 12577 . . . . . 6 ℤ ∈ V
1413rabex 5295 . . . . 5 {𝑧 ∈ ℤ ∣ 𝑁𝑧} ∈ V
15 eleq2 2851 . . . . . 6 (𝑥 = {𝑧 ∈ ℤ ∣ 𝑁𝑧} → (𝑁𝑥𝑁 ∈ {𝑧 ∈ ℤ ∣ 𝑁𝑧}))
16 eleq2 2851 . . . . . . 7 (𝑥 = {𝑧 ∈ ℤ ∣ 𝑁𝑧} → ((𝑦 + 1) ∈ 𝑥 ↔ (𝑦 + 1) ∈ {𝑧 ∈ ℤ ∣ 𝑁𝑧}))
1716raleqbi1dv 3330 . . . . . 6 (𝑥 = {𝑧 ∈ ℤ ∣ 𝑁𝑧} → (∀𝑦𝑥 (𝑦 + 1) ∈ 𝑥 ↔ ∀𝑦 ∈ {𝑧 ∈ ℤ ∣ 𝑁𝑧} (𝑦 + 1) ∈ {𝑧 ∈ ℤ ∣ 𝑁𝑧}))
1815, 17anbi12d 641 . . . . 5 (𝑥 = {𝑧 ∈ ℤ ∣ 𝑁𝑧} → ((𝑁𝑥 ∧ ∀𝑦𝑥 (𝑦 + 1) ∈ 𝑥) ↔ (𝑁 ∈ {𝑧 ∈ ℤ ∣ 𝑁𝑧} ∧ ∀𝑦 ∈ {𝑧 ∈ ℤ ∣ 𝑁𝑧} (𝑦 + 1) ∈ {𝑧 ∈ ℤ ∣ 𝑁𝑧})))
1914, 18elab 3638 . . . 4 ({𝑧 ∈ ℤ ∣ 𝑁𝑧} ∈ {𝑥 ∣ (𝑁𝑥 ∧ ∀𝑦𝑥 (𝑦 + 1) ∈ 𝑥)} ↔ (𝑁 ∈ {𝑧 ∈ ℤ ∣ 𝑁𝑧} ∧ ∀𝑦 ∈ {𝑧 ∈ ℤ ∣ 𝑁𝑧} (𝑦 + 1) ∈ {𝑧 ∈ ℤ ∣ 𝑁𝑧}))
209, 12, 19mpbir2an 721 . . 3 {𝑧 ∈ ℤ ∣ 𝑁𝑧} ∈ {𝑥 ∣ (𝑁𝑥 ∧ ∀𝑦𝑥 (𝑦 + 1) ∈ 𝑥)}
21 intss1 4921 . . 3 ({𝑧 ∈ ℤ ∣ 𝑁𝑧} ∈ {𝑥 ∣ (𝑁𝑥 ∧ ∀𝑦𝑥 (𝑦 + 1) ∈ 𝑥)} → {𝑥 ∣ (𝑁𝑥 ∧ ∀𝑦𝑥 (𝑦 + 1) ∈ 𝑥)} ⊆ {𝑧 ∈ ℤ ∣ 𝑁𝑧})
2220, 21ax-mp 5 . 2 {𝑥 ∣ (𝑁𝑥 ∧ ∀𝑦𝑥 (𝑦 + 1) ∈ 𝑥)} ⊆ {𝑧 ∈ ℤ ∣ 𝑁𝑧}
234, 22eqssi 3952 1 {𝑧 ∈ ℤ ∣ 𝑁𝑧} = {𝑥 ∣ (𝑁𝑥 ∧ ∀𝑦𝑥 (𝑦 + 1) ∈ 𝑥)}
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 399   = wceq 1560  wcel 2142  {cab 2740  wral 3076  {crab 3414  wss 3904   cint 4905   class class class wbr 5100  (class class class)co 7396  1c1 11074   + caddc 11076  cle 11217  cz 12568
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1815  ax-4 1829  ax-5 1930  ax-6 1987  ax-7 2028  ax-8 2144  ax-9 2152  ax-10 2175  ax-11 2191  ax-12 2212  ax-ext 2734  ax-sep 5246  ax-nul 5256  ax-pow 5322  ax-pr 5390  ax-un 7718  ax-cnex 11129  ax-resscn 11130  ax-1cn 11131  ax-icn 11132  ax-addcl 11133  ax-addrcl 11134  ax-mulcl 11135  ax-mulrcl 11136  ax-mulcom 11137  ax-addass 11138  ax-mulass 11139  ax-distr 11140  ax-i2m1 11141  ax-1ne0 11142  ax-1rid 11143  ax-rnegex 11144  ax-rrecex 11145  ax-cnre 11146  ax-pre-lttri 11147  ax-pre-lttrn 11148  ax-pre-ltadd 11149  ax-pre-mulgt0 11150
This theorem depends on definitions:  df-bi 209  df-an 400  df-or 859  df-3or 1099  df-3an 1100  df-tru 1563  df-fal 1573  df-ex 1800  df-nf 1804  df-sb 2091  df-mo 2566  df-eu 2596  df-clab 2741  df-cleq 2754  df-clel 2837  df-nfc 2911  df-ne 2958  df-nel 3062  df-ral 3077  df-rex 3087  df-reu 3368  df-rab 3415  df-v 3456  df-sbc 3745  df-csb 3853  df-dif 3907  df-un 3909  df-in 3911  df-ss 3921  df-pss 3924  df-nul 4286  df-if 4481  df-pw 4557  df-sn 4583  df-pr 4585  df-op 4589  df-uni 4866  df-int 4906  df-iun 4951  df-br 5101  df-opab 5163  df-mpt 5182  df-tr 5208  df-id 5542  df-eprel 5547  df-po 5555  df-so 5556  df-fr 5600  df-we 5602  df-xp 5653  df-rel 5654  df-cnv 5655  df-co 5656  df-dm 5657  df-rn 5658  df-res 5659  df-ima 5660  df-pred 6288  df-ord 6349  df-on 6350  df-lim 6351  df-suc 6352  df-iota 6477  df-fun 6523  df-fn 6524  df-f 6525  df-f1 6526  df-fo 6527  df-f1o 6528  df-fv 6529  df-riota 7353  df-ov 7399  df-oprab 7400  df-mpo 7401  df-om 7847  df-2nd 7971  df-frecs 8262  df-wrecs 8293  df-recs 8342  df-rdg 8381  df-er 8678  df-en 8928  df-dom 8929  df-sdom 8930  df-pnf 11218  df-mnf 11219  df-xr 11220  df-ltxr 11221  df-le 11222  df-sub 11416  df-neg 11417  df-nn 12211  df-n0 12482  df-z 12569
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator