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

Theorem elgz 13291
Description: Elementhood in the gaussian integers. (Contributed by Mario Carneiro, 14-Jul-2014.)
Assertion
Ref Expression
elgz  |-  ( A  e.  ZZ [ _i ] 
<->  ( A  e.  CC  /\  ( Re `  A
)  e.  ZZ  /\  ( Im `  A )  e.  ZZ ) )

Proof of Theorem elgz
Dummy variable  x is distinct from all other variables.
StepHypRef Expression
1 fveq2 5720 . . . . 5  |-  ( x  =  A  ->  (
Re `  x )  =  ( Re `  A ) )
21eleq1d 2501 . . . 4  |-  ( x  =  A  ->  (
( Re `  x
)  e.  ZZ  <->  ( Re `  A )  e.  ZZ ) )
3 fveq2 5720 . . . . 5  |-  ( x  =  A  ->  (
Im `  x )  =  ( Im `  A ) )
43eleq1d 2501 . . . 4  |-  ( x  =  A  ->  (
( Im `  x
)  e.  ZZ  <->  ( Im `  A )  e.  ZZ ) )
52, 4anbi12d 692 . . 3  |-  ( x  =  A  ->  (
( ( Re `  x )  e.  ZZ  /\  ( Im `  x
)  e.  ZZ )  <-> 
( ( Re `  A )  e.  ZZ  /\  ( Im `  A
)  e.  ZZ ) ) )
6 df-gz 13290 . . 3  |-  ZZ [
_i ]  =  {
x  e.  CC  | 
( ( Re `  x )  e.  ZZ  /\  ( Im `  x
)  e.  ZZ ) }
75, 6elrab2 3086 . 2  |-  ( A  e.  ZZ [ _i ] 
<->  ( A  e.  CC  /\  ( ( Re `  A )  e.  ZZ  /\  ( Im `  A
)  e.  ZZ ) ) )
8 3anass 940 . 2  |-  ( ( A  e.  CC  /\  ( Re `  A )  e.  ZZ  /\  (
Im `  A )  e.  ZZ )  <->  ( A  e.  CC  /\  ( ( Re `  A )  e.  ZZ  /\  (
Im `  A )  e.  ZZ ) ) )
97, 8bitr4i 244 1  |-  ( A  e.  ZZ [ _i ] 
<->  ( A  e.  CC  /\  ( Re `  A
)  e.  ZZ  /\  ( Im `  A )  e.  ZZ ) )
Colors of variables: wff set class
Syntax hints:    <-> wb 177    /\ wa 359    /\ w3a 936    = wceq 1652    e. wcel 1725   ` cfv 5446   CCcc 8980   ZZcz 10274   Recre 11894   Imcim 11895   ZZ [ _i ]cgz 13289
This theorem is referenced by:  gzcn  13292  zgz  13293  igz  13294  gznegcl  13295  gzcjcl  13296  gzaddcl  13297  gzmulcl  13298  gzabssqcl  13301  4sqlem4a  13311  2sqlem2  21140  2sqlem3  21142  cntotbnd  26496
This theorem was proved from axioms:  ax-1 5  ax-2 6  ax-3 7  ax-mp 8  ax-gen 1555  ax-5 1566  ax-17 1626  ax-9 1666  ax-8 1687  ax-6 1744  ax-7 1749  ax-11 1761  ax-12 1950  ax-ext 2416
This theorem depends on definitions:  df-bi 178  df-or 360  df-an 361  df-3an 938  df-tru 1328  df-ex 1551  df-nf 1554  df-sb 1659  df-clab 2422  df-cleq 2428  df-clel 2431  df-nfc 2560  df-rex 2703  df-rab 2706  df-v 2950  df-dif 3315  df-un 3317  df-in 3319  df-ss 3326  df-nul 3621  df-if 3732  df-sn 3812  df-pr 3813  df-op 3815  df-uni 4008  df-br 4205  df-iota 5410  df-fv 5454  df-gz 13290
  Copyright terms: Public domain W3C validator