MPE Home Metamath Proof Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >  uzin2 Structured version   Unicode version

Theorem uzin2 12816
Description: The upper integers are closed under intersection. (Contributed by Mario Carneiro, 24-Dec-2013.)
Assertion
Ref Expression
uzin2  |-  ( ( A  e.  ran  ZZ>=  /\  B  e.  ran  ZZ>= )  -> 
( A  i^i  B
)  e.  ran  ZZ>= )

Proof of Theorem uzin2
Dummy variables  x  y are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 uzf 10852 . . . 4  |-  ZZ>= : ZZ --> ~P ZZ
2 ffn 5547 . . . 4  |-  ( ZZ>= : ZZ --> ~P ZZ  ->  ZZ>=  Fn  ZZ )
31, 2ax-mp 5 . . 3  |-  ZZ>=  Fn  ZZ
4 fvelrnb 5727 . . 3  |-  ( ZZ>=  Fn  ZZ  ->  ( A  e.  ran  ZZ>= 
<->  E. x  e.  ZZ  ( ZZ>= `  x )  =  A ) )
53, 4ax-mp 5 . 2  |-  ( A  e.  ran  ZZ>=  <->  E. x  e.  ZZ  ( ZZ>= `  x
)  =  A )
6 fvelrnb 5727 . . 3  |-  ( ZZ>=  Fn  ZZ  ->  ( B  e.  ran  ZZ>= 
<->  E. y  e.  ZZ  ( ZZ>= `  y )  =  B ) )
73, 6ax-mp 5 . 2  |-  ( B  e.  ran  ZZ>=  <->  E. y  e.  ZZ  ( ZZ>= `  y
)  =  B )
8 ineq1 3533 . . 3  |-  ( (
ZZ>= `  x )  =  A  ->  ( ( ZZ>=
`  x )  i^i  ( ZZ>= `  y )
)  =  ( A  i^i  ( ZZ>= `  y
) ) )
98eleq1d 2499 . 2  |-  ( (
ZZ>= `  x )  =  A  ->  ( (
( ZZ>= `  x )  i^i  ( ZZ>= `  y )
)  e.  ran  ZZ>=  <->  ( A  i^i  ( ZZ>= `  y )
)  e.  ran  ZZ>= ) )
10 ineq2 3534 . . 3  |-  ( (
ZZ>= `  y )  =  B  ->  ( A  i^i  ( ZZ>= `  y )
)  =  ( A  i^i  B ) )
1110eleq1d 2499 . 2  |-  ( (
ZZ>= `  y )  =  B  ->  ( ( A  i^i  ( ZZ>= `  y
) )  e.  ran  ZZ>=  <->  ( A  i^i  B )  e. 
ran  ZZ>= ) )
12 uzin 10881 . . 3  |-  ( ( x  e.  ZZ  /\  y  e.  ZZ )  ->  ( ( ZZ>= `  x
)  i^i  ( ZZ>= `  y ) )  =  ( ZZ>= `  if (
x  <_  y , 
y ,  x ) ) )
13 ifcl 3819 . . . . 5  |-  ( ( y  e.  ZZ  /\  x  e.  ZZ )  ->  if ( x  <_ 
y ,  y ,  x )  e.  ZZ )
1413ancoms 450 . . . 4  |-  ( ( x  e.  ZZ  /\  y  e.  ZZ )  ->  if ( x  <_ 
y ,  y ,  x )  e.  ZZ )
15 fnfvelrn 5828 . . . 4  |-  ( (
ZZ>=  Fn  ZZ  /\  if ( x  <_  y ,  y ,  x )  e.  ZZ )  -> 
( ZZ>= `  if (
x  <_  y , 
y ,  x ) )  e.  ran  ZZ>= )
163, 14, 15sylancr 656 . . 3  |-  ( ( x  e.  ZZ  /\  y  e.  ZZ )  ->  ( ZZ>= `  if (
x  <_  y , 
y ,  x ) )  e.  ran  ZZ>= )
1712, 16eqeltrd 2507 . 2  |-  ( ( x  e.  ZZ  /\  y  e.  ZZ )  ->  ( ( ZZ>= `  x
)  i^i  ( ZZ>= `  y ) )  e. 
ran  ZZ>= )
185, 7, 9, 11, 172gencl 2992 1  |-  ( ( A  e.  ran  ZZ>=  /\  B  e.  ran  ZZ>= )  -> 
( A  i^i  B
)  e.  ran  ZZ>= )
Colors of variables: wff setvar class
Syntax hints:    -> wi 4    <-> wb 184    /\ wa 369    = wceq 1362    e. wcel 1755   E.wrex 2706    i^i cin 3315   ifcif 3779   ~Pcpw 3848   class class class wbr 4280   ran crn 4828    Fn wfn 5401   -->wf 5402   ` cfv 5406    <_ cle 9407   ZZcz 10634   ZZ>=cuz 10849
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1594  ax-4 1605  ax-5 1669  ax-6 1707  ax-7 1727  ax-8 1757  ax-9 1759  ax-10 1774  ax-11 1779  ax-12 1791  ax-13 1942  ax-ext 2414  ax-sep 4401  ax-nul 4409  ax-pow 4458  ax-pr 4519  ax-un 6361  ax-cnex 9326  ax-resscn 9327  ax-pre-lttri 9344  ax-pre-lttrn 9345
This theorem depends on definitions:  df-bi 185  df-or 370  df-an 371  df-3or 959  df-3an 960  df-tru 1365  df-ex 1590  df-nf 1593  df-sb 1700  df-eu 2258  df-mo 2259  df-clab 2420  df-cleq 2426  df-clel 2429  df-nfc 2558  df-ne 2598  df-nel 2599  df-ral 2710  df-rex 2711  df-rab 2714  df-v 2964  df-sbc 3176  df-csb 3277  df-dif 3319  df-un 3321  df-in 3323  df-ss 3330  df-nul 3626  df-if 3780  df-pw 3850  df-sn 3866  df-pr 3868  df-op 3872  df-uni 4080  df-br 4281  df-opab 4339  df-mpt 4340  df-id 4623  df-po 4628  df-so 4629  df-xp 4833  df-rel 4834  df-cnv 4835  df-co 4836  df-dm 4837  df-rn 4838  df-res 4839  df-ima 4840  df-iota 5369  df-fun 5408  df-fn 5409  df-f 5410  df-f1 5411  df-fo 5412  df-f1o 5413  df-fv 5414  df-ov 6083  df-er 7089  df-en 7299  df-dom 7300  df-sdom 7301  df-pnf 9408  df-mnf 9409  df-xr 9410  df-ltxr 9411  df-le 9412  df-neg 9586  df-z 10635  df-uz 10850
This theorem is referenced by:  rexanuz  12817  zfbas  19311  heibor1lem  28552
  Copyright terms: Public domain W3C validator