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

Theorem gzrngunit 19860
Description: The units on ℤ[i] are the gaussian integers with norm 1. (Contributed by Mario Carneiro, 4-Dec-2014.)
Hypothesis
Ref Expression
gzrng.1 𝑍 = (ℂflds ℤ[i])
Assertion
Ref Expression
gzrngunit (𝐴 ∈ (Unit‘𝑍) ↔ (𝐴 ∈ ℤ[i] ∧ (abs‘𝐴) = 1))

Proof of Theorem gzrngunit
StepHypRef Expression
1 gzsubrg 19848 . . . . 5 ℤ[i] ∈ (SubRing‘ℂfld)
2 gzrng.1 . . . . . 6 𝑍 = (ℂflds ℤ[i])
32subrgbas 18837 . . . . 5 (ℤ[i] ∈ (SubRing‘ℂfld) → ℤ[i] = (Base‘𝑍))
41, 3ax-mp 5 . . . 4 ℤ[i] = (Base‘𝑍)
5 eqid 2651 . . . 4 (Unit‘𝑍) = (Unit‘𝑍)
64, 5unitcl 18705 . . 3 (𝐴 ∈ (Unit‘𝑍) → 𝐴 ∈ ℤ[i])
7 eqid 2651 . . . . . . . . . . . 12 (invr‘ℂfld) = (invr‘ℂfld)
8 eqid 2651 . . . . . . . . . . . 12 (invr𝑍) = (invr𝑍)
92, 7, 5, 8subrginv 18844 . . . . . . . . . . 11 ((ℤ[i] ∈ (SubRing‘ℂfld) ∧ 𝐴 ∈ (Unit‘𝑍)) → ((invr‘ℂfld)‘𝐴) = ((invr𝑍)‘𝐴))
101, 9mpan 706 . . . . . . . . . 10 (𝐴 ∈ (Unit‘𝑍) → ((invr‘ℂfld)‘𝐴) = ((invr𝑍)‘𝐴))
11 gzcn 15683 . . . . . . . . . . . 12 (𝐴 ∈ ℤ[i] → 𝐴 ∈ ℂ)
126, 11syl 17 . . . . . . . . . . 11 (𝐴 ∈ (Unit‘𝑍) → 𝐴 ∈ ℂ)
13 0red 10079 . . . . . . . . . . . . . 14 (𝐴 ∈ (Unit‘𝑍) → 0 ∈ ℝ)
14 1re 10077 . . . . . . . . . . . . . . 15 1 ∈ ℝ
1514a1i 11 . . . . . . . . . . . . . 14 (𝐴 ∈ (Unit‘𝑍) → 1 ∈ ℝ)
1612abscld 14219 . . . . . . . . . . . . . 14 (𝐴 ∈ (Unit‘𝑍) → (abs‘𝐴) ∈ ℝ)
17 0lt1 10588 . . . . . . . . . . . . . . 15 0 < 1
1817a1i 11 . . . . . . . . . . . . . 14 (𝐴 ∈ (Unit‘𝑍) → 0 < 1)
192gzrngunitlem 19859 . . . . . . . . . . . . . 14 (𝐴 ∈ (Unit‘𝑍) → 1 ≤ (abs‘𝐴))
2013, 15, 16, 18, 19ltletrd 10235 . . . . . . . . . . . . 13 (𝐴 ∈ (Unit‘𝑍) → 0 < (abs‘𝐴))
2120gt0ne0d 10630 . . . . . . . . . . . 12 (𝐴 ∈ (Unit‘𝑍) → (abs‘𝐴) ≠ 0)
2212abs00ad 14074 . . . . . . . . . . . . 13 (𝐴 ∈ (Unit‘𝑍) → ((abs‘𝐴) = 0 ↔ 𝐴 = 0))
2322necon3bid 2867 . . . . . . . . . . . 12 (𝐴 ∈ (Unit‘𝑍) → ((abs‘𝐴) ≠ 0 ↔ 𝐴 ≠ 0))
2421, 23mpbid 222 . . . . . . . . . . 11 (𝐴 ∈ (Unit‘𝑍) → 𝐴 ≠ 0)
25 cnfldinv 19825 . . . . . . . . . . 11 ((𝐴 ∈ ℂ ∧ 𝐴 ≠ 0) → ((invr‘ℂfld)‘𝐴) = (1 / 𝐴))
2612, 24, 25syl2anc 694 . . . . . . . . . 10 (𝐴 ∈ (Unit‘𝑍) → ((invr‘ℂfld)‘𝐴) = (1 / 𝐴))
2710, 26eqtr3d 2687 . . . . . . . . 9 (𝐴 ∈ (Unit‘𝑍) → ((invr𝑍)‘𝐴) = (1 / 𝐴))
282subrgring 18831 . . . . . . . . . . 11 (ℤ[i] ∈ (SubRing‘ℂfld) → 𝑍 ∈ Ring)
291, 28ax-mp 5 . . . . . . . . . 10 𝑍 ∈ Ring
305, 8unitinvcl 18720 . . . . . . . . . 10 ((𝑍 ∈ Ring ∧ 𝐴 ∈ (Unit‘𝑍)) → ((invr𝑍)‘𝐴) ∈ (Unit‘𝑍))
3129, 30mpan 706 . . . . . . . . 9 (𝐴 ∈ (Unit‘𝑍) → ((invr𝑍)‘𝐴) ∈ (Unit‘𝑍))
3227, 31eqeltrrd 2731 . . . . . . . 8 (𝐴 ∈ (Unit‘𝑍) → (1 / 𝐴) ∈ (Unit‘𝑍))
332gzrngunitlem 19859 . . . . . . . 8 ((1 / 𝐴) ∈ (Unit‘𝑍) → 1 ≤ (abs‘(1 / 𝐴)))
3432, 33syl 17 . . . . . . 7 (𝐴 ∈ (Unit‘𝑍) → 1 ≤ (abs‘(1 / 𝐴)))
35 1cnd 10094 . . . . . . . 8 (𝐴 ∈ (Unit‘𝑍) → 1 ∈ ℂ)
3635, 12, 24absdivd 14238 . . . . . . 7 (𝐴 ∈ (Unit‘𝑍) → (abs‘(1 / 𝐴)) = ((abs‘1) / (abs‘𝐴)))
3734, 36breqtrd 4711 . . . . . 6 (𝐴 ∈ (Unit‘𝑍) → 1 ≤ ((abs‘1) / (abs‘𝐴)))
38 1div1e1 10755 . . . . . 6 (1 / 1) = 1
39 abs1 14081 . . . . . . . 8 (abs‘1) = 1
4039eqcomi 2660 . . . . . . 7 1 = (abs‘1)
4140oveq1i 6700 . . . . . 6 (1 / (abs‘𝐴)) = ((abs‘1) / (abs‘𝐴))
4237, 38, 413brtr4g 4719 . . . . 5 (𝐴 ∈ (Unit‘𝑍) → (1 / 1) ≤ (1 / (abs‘𝐴)))
43 lerec 10944 . . . . . 6 ((((abs‘𝐴) ∈ ℝ ∧ 0 < (abs‘𝐴)) ∧ (1 ∈ ℝ ∧ 0 < 1)) → ((abs‘𝐴) ≤ 1 ↔ (1 / 1) ≤ (1 / (abs‘𝐴))))
4416, 20, 15, 18, 43syl22anc 1367 . . . . 5 (𝐴 ∈ (Unit‘𝑍) → ((abs‘𝐴) ≤ 1 ↔ (1 / 1) ≤ (1 / (abs‘𝐴))))
4542, 44mpbird 247 . . . 4 (𝐴 ∈ (Unit‘𝑍) → (abs‘𝐴) ≤ 1)
46 letri3 10161 . . . . 5 (((abs‘𝐴) ∈ ℝ ∧ 1 ∈ ℝ) → ((abs‘𝐴) = 1 ↔ ((abs‘𝐴) ≤ 1 ∧ 1 ≤ (abs‘𝐴))))
4716, 14, 46sylancl 695 . . . 4 (𝐴 ∈ (Unit‘𝑍) → ((abs‘𝐴) = 1 ↔ ((abs‘𝐴) ≤ 1 ∧ 1 ≤ (abs‘𝐴))))
4845, 19, 47mpbir2and 977 . . 3 (𝐴 ∈ (Unit‘𝑍) → (abs‘𝐴) = 1)
496, 48jca 553 . 2 (𝐴 ∈ (Unit‘𝑍) → (𝐴 ∈ ℤ[i] ∧ (abs‘𝐴) = 1))
5011adantr 480 . . . 4 ((𝐴 ∈ ℤ[i] ∧ (abs‘𝐴) = 1) → 𝐴 ∈ ℂ)
51 simpr 476 . . . . . 6 ((𝐴 ∈ ℤ[i] ∧ (abs‘𝐴) = 1) → (abs‘𝐴) = 1)
52 ax-1ne0 10043 . . . . . . 7 1 ≠ 0
5352a1i 11 . . . . . 6 ((𝐴 ∈ ℤ[i] ∧ (abs‘𝐴) = 1) → 1 ≠ 0)
5451, 53eqnetrd 2890 . . . . 5 ((𝐴 ∈ ℤ[i] ∧ (abs‘𝐴) = 1) → (abs‘𝐴) ≠ 0)
55 fveq2 6229 . . . . . . 7 (𝐴 = 0 → (abs‘𝐴) = (abs‘0))
56 abs0 14069 . . . . . . 7 (abs‘0) = 0
5755, 56syl6eq 2701 . . . . . 6 (𝐴 = 0 → (abs‘𝐴) = 0)
5857necon3i 2855 . . . . 5 ((abs‘𝐴) ≠ 0 → 𝐴 ≠ 0)
5954, 58syl 17 . . . 4 ((𝐴 ∈ ℤ[i] ∧ (abs‘𝐴) = 1) → 𝐴 ≠ 0)
60 eldifsn 4350 . . . 4 (𝐴 ∈ (ℂ ∖ {0}) ↔ (𝐴 ∈ ℂ ∧ 𝐴 ≠ 0))
6150, 59, 60sylanbrc 699 . . 3 ((𝐴 ∈ ℤ[i] ∧ (abs‘𝐴) = 1) → 𝐴 ∈ (ℂ ∖ {0}))
62 simpl 472 . . 3 ((𝐴 ∈ ℤ[i] ∧ (abs‘𝐴) = 1) → 𝐴 ∈ ℤ[i])
6350, 59, 25syl2anc 694 . . . . 5 ((𝐴 ∈ ℤ[i] ∧ (abs‘𝐴) = 1) → ((invr‘ℂfld)‘𝐴) = (1 / 𝐴))
6450absvalsqd 14225 . . . . . . 7 ((𝐴 ∈ ℤ[i] ∧ (abs‘𝐴) = 1) → ((abs‘𝐴)↑2) = (𝐴 · (∗‘𝐴)))
6551oveq1d 6705 . . . . . . . 8 ((𝐴 ∈ ℤ[i] ∧ (abs‘𝐴) = 1) → ((abs‘𝐴)↑2) = (1↑2))
66 sq1 12998 . . . . . . . 8 (1↑2) = 1
6765, 66syl6eq 2701 . . . . . . 7 ((𝐴 ∈ ℤ[i] ∧ (abs‘𝐴) = 1) → ((abs‘𝐴)↑2) = 1)
6864, 67eqtr3d 2687 . . . . . 6 ((𝐴 ∈ ℤ[i] ∧ (abs‘𝐴) = 1) → (𝐴 · (∗‘𝐴)) = 1)
6968oveq1d 6705 . . . . 5 ((𝐴 ∈ ℤ[i] ∧ (abs‘𝐴) = 1) → ((𝐴 · (∗‘𝐴)) / 𝐴) = (1 / 𝐴))
7050cjcld 13980 . . . . . 6 ((𝐴 ∈ ℤ[i] ∧ (abs‘𝐴) = 1) → (∗‘𝐴) ∈ ℂ)
7170, 50, 59divcan3d 10844 . . . . 5 ((𝐴 ∈ ℤ[i] ∧ (abs‘𝐴) = 1) → ((𝐴 · (∗‘𝐴)) / 𝐴) = (∗‘𝐴))
7263, 69, 713eqtr2d 2691 . . . 4 ((𝐴 ∈ ℤ[i] ∧ (abs‘𝐴) = 1) → ((invr‘ℂfld)‘𝐴) = (∗‘𝐴))
73 gzcjcl 15687 . . . . 5 (𝐴 ∈ ℤ[i] → (∗‘𝐴) ∈ ℤ[i])
7473adantr 480 . . . 4 ((𝐴 ∈ ℤ[i] ∧ (abs‘𝐴) = 1) → (∗‘𝐴) ∈ ℤ[i])
7572, 74eqeltrd 2730 . . 3 ((𝐴 ∈ ℤ[i] ∧ (abs‘𝐴) = 1) → ((invr‘ℂfld)‘𝐴) ∈ ℤ[i])
76 cnfldbas 19798 . . . . . 6 ℂ = (Base‘ℂfld)
77 cnfld0 19818 . . . . . 6 0 = (0g‘ℂfld)
78 cndrng 19823 . . . . . 6 fld ∈ DivRing
7976, 77, 78drngui 18801 . . . . 5 (ℂ ∖ {0}) = (Unit‘ℂfld)
802, 79, 5, 7subrgunit 18846 . . . 4 (ℤ[i] ∈ (SubRing‘ℂfld) → (𝐴 ∈ (Unit‘𝑍) ↔ (𝐴 ∈ (ℂ ∖ {0}) ∧ 𝐴 ∈ ℤ[i] ∧ ((invr‘ℂfld)‘𝐴) ∈ ℤ[i])))
811, 80ax-mp 5 . . 3 (𝐴 ∈ (Unit‘𝑍) ↔ (𝐴 ∈ (ℂ ∖ {0}) ∧ 𝐴 ∈ ℤ[i] ∧ ((invr‘ℂfld)‘𝐴) ∈ ℤ[i]))
8261, 62, 75, 81syl3anbrc 1265 . 2 ((𝐴 ∈ ℤ[i] ∧ (abs‘𝐴) = 1) → 𝐴 ∈ (Unit‘𝑍))
8349, 82impbii 199 1 (𝐴 ∈ (Unit‘𝑍) ↔ (𝐴 ∈ ℤ[i] ∧ (abs‘𝐴) = 1))
Colors of variables: wff setvar class
Syntax hints:  wb 196  wa 383  w3a 1054   = wceq 1523  wcel 2030  wne 2823  cdif 3604  {csn 4210   class class class wbr 4685  cfv 5926  (class class class)co 6690  cc 9972  cr 9973  0cc0 9974  1c1 9975   · cmul 9979   < clt 10112  cle 10113   / cdiv 10722  2c2 11108  cexp 12900  ccj 13880  abscabs 14018  ℤ[i]cgz 15680  Basecbs 15904  s cress 15905  Ringcrg 18593  Unitcui 18685  invrcinvr 18717  SubRingcsubrg 18824  fldccnfld 19794
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1762  ax-4 1777  ax-5 1879  ax-6 1945  ax-7 1981  ax-8 2032  ax-9 2039  ax-10 2059  ax-11 2074  ax-12 2087  ax-13 2282  ax-ext 2631  ax-rep 4804  ax-sep 4814  ax-nul 4822  ax-pow 4873  ax-pr 4936  ax-un 6991  ax-cnex 10030  ax-resscn 10031  ax-1cn 10032  ax-icn 10033  ax-addcl 10034  ax-addrcl 10035  ax-mulcl 10036  ax-mulrcl 10037  ax-mulcom 10038  ax-addass 10039  ax-mulass 10040  ax-distr 10041  ax-i2m1 10042  ax-1ne0 10043  ax-1rid 10044  ax-rnegex 10045  ax-rrecex 10046  ax-cnre 10047  ax-pre-lttri 10048  ax-pre-lttrn 10049  ax-pre-ltadd 10050  ax-pre-mulgt0 10051  ax-pre-sup 10052  ax-addf 10053  ax-mulf 10054
This theorem depends on definitions:  df-bi 197  df-or 384  df-an 385  df-3or 1055  df-3an 1056  df-tru 1526  df-ex 1745  df-nf 1750  df-sb 1938  df-eu 2502  df-mo 2503  df-clab 2638  df-cleq 2644  df-clel 2647  df-nfc 2782  df-ne 2824  df-nel 2927  df-ral 2946  df-rex 2947  df-reu 2948  df-rmo 2949  df-rab 2950  df-v 3233  df-sbc 3469  df-csb 3567  df-dif 3610  df-un 3612  df-in 3614  df-ss 3621  df-pss 3623  df-nul 3949  df-if 4120  df-pw 4193  df-sn 4211  df-pr 4213  df-tp 4215  df-op 4217  df-uni 4469  df-int 4508  df-iun 4554  df-br 4686  df-opab 4746  df-mpt 4763  df-tr 4786  df-id 5053  df-eprel 5058  df-po 5064  df-so 5065  df-fr 5102  df-we 5104  df-xp 5149  df-rel 5150  df-cnv 5151  df-co 5152  df-dm 5153  df-rn 5154  df-res 5155  df-ima 5156  df-pred 5718  df-ord 5764  df-on 5765  df-lim 5766  df-suc 5767  df-iota 5889  df-fun 5928  df-fn 5929  df-f 5930  df-f1 5931  df-fo 5932  df-f1o 5933  df-fv 5934  df-riota 6651  df-ov 6693  df-oprab 6694  df-mpt2 6695  df-om 7108  df-1st 7210  df-2nd 7211  df-tpos 7397  df-wrecs 7452  df-recs 7513  df-rdg 7551  df-1o 7605  df-oadd 7609  df-er 7787  df-en 7998  df-dom 7999  df-sdom 8000  df-fin 8001  df-sup 8389  df-pnf 10114  df-mnf 10115  df-xr 10116  df-ltxr 10117  df-le 10118  df-sub 10306  df-neg 10307  df-div 10723  df-nn 11059  df-2 11117  df-3 11118  df-4 11119  df-5 11120  df-6 11121  df-7 11122  df-8 11123  df-9 11124  df-n0 11331  df-z 11416  df-dec 11532  df-uz 11726  df-rp 11871  df-fz 12365  df-seq 12842  df-exp 12901  df-cj 13883  df-re 13884  df-im 13885  df-sqrt 14019  df-abs 14020  df-gz 15681  df-struct 15906  df-ndx 15907  df-slot 15908  df-base 15910  df-sets 15911  df-ress 15912  df-plusg 16001  df-mulr 16002  df-starv 16003  df-tset 16007  df-ple 16008  df-ds 16011  df-unif 16012  df-0g 16149  df-mgm 17289  df-sgrp 17331  df-mnd 17342  df-grp 17472  df-minusg 17473  df-subg 17638  df-cmn 18241  df-mgp 18536  df-ur 18548  df-ring 18595  df-cring 18596  df-oppr 18669  df-dvdsr 18687  df-unit 18688  df-invr 18718  df-dvr 18729  df-drng 18797  df-subrg 18826  df-cnfld 19795
This theorem is referenced by:  zringunit  19884
  Copyright terms: Public domain W3C validator