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

Theorem zringunit 21773
Description: The units of ℤ are the integers with norm 1, i.e. 1 and -1. (Contributed by Mario Carneiro, 5-Dec-2014.) (Revised by AV, 10-Jun-2019.)
Assertion
Ref Expression
zringunit (𝐴 ∈ (Unit‘ℤring) ↔ (𝐴 ∈ ℤ ∧ (abs‘𝐴) = 1))

Proof of Theorem zringunit
StepHypRef Expression
1 zringbas 21760 . . . 4 ℤ = (Base‘ℤring)
2 eqid 2761 . . . 4 (Unit‘ℤring) = (Unit‘ℤring)
31, 2unitcl 20606 . . 3 (𝐴 ∈ (Unit‘ℤring) → 𝐴 ∈ ℤ)
4 zsubrg 21727 . . . . . . 7 ℤ ∈ (SubRing‘ℂfld)
5 zgz 17112 . . . . . . . 8 (𝑥 ∈ ℤ → 𝑥 ∈ ℤ[i])
65ssriv 3933 . . . . . . 7 ℤ ⊆ ℤ[i]
7 gzsubrg 21728 . . . . . . . 8 ℤ[i] ∈ (SubRing‘ℂfld)
8 eqid 2761 . . . . . . . . 9 (ℂfld ↾s ℤ[i]) = (ℂfld ↾s ℤ[i])
98subsubrg 20851 . . . . . . . 8 (ℤ[i] ∈ (SubRing‘ℂfld) → (ℤ ∈ (SubRing‘(ℂfld ↾s ℤ[i])) ↔ (ℤ ∈ (SubRing‘ℂfld) ∧ ℤ ⊆ ℤ[i])))
107, 9ax-mp 5 . . . . . . 7 (ℤ ∈ (SubRing‘(ℂfld ↾s ℤ[i])) ↔ (ℤ ∈ (SubRing‘ℂfld) ∧ ℤ ⊆ ℤ[i]))
114, 6, 10mpbir2an 724 . . . . . 6 ℤ ∈ (SubRing‘(ℂfld ↾s ℤ[i]))
12 df-zring 21754 . . . . . . . 8 ℤring = (ℂfld ↾s ℤ)
13 ressabs 17427 . . . . . . . . 9 ((ℤ[i] ∈ (SubRing‘ℂfld) ∧ ℤ ⊆ ℤ[i]) → ((ℂfld ↾s ℤ[i]) ↾s ℤ) = (ℂfld ↾s ℤ))
147, 6, 13mp2an 705 . . . . . . . 8 ((ℂfld ↾s ℤ[i]) ↾s ℤ) = (ℂfld ↾s ℤ)
1512, 14eqtr4i 2787 . . . . . . 7 ℤring = ((ℂfld ↾s ℤ[i]) ↾s ℤ)
16 eqid 2761 . . . . . . 7 (Unit‘(ℂfld ↾s ℤ[i])) = (Unit‘(ℂfld ↾s ℤ[i]))
1715, 16, 2subrguss 20840 . . . . . 6 (ℤ ∈ (SubRing‘(ℂfld ↾s ℤ[i])) → (Unit‘ℤring) ⊆ (Unit‘(ℂfld ↾s ℤ[i])))
1811, 17ax-mp 5 . . . . 5 (Unit‘ℤring) ⊆ (Unit‘(ℂfld ↾s ℤ[i]))
1918sseli 3925 . . . 4 (𝐴 ∈ (Unit‘ℤring) → 𝐴 ∈ (Unit‘(ℂfld ↾s ℤ[i])))
208gzrngunit 21740 . . . . 5 (𝐴 ∈ (Unit‘(ℂfld ↾s ℤ[i])) ↔ (𝐴 ∈ ℤ[i] ∧ (abs‘𝐴) = 1))
2120simprbi 503 . . . 4 (𝐴 ∈ (Unit‘(ℂfld ↾s ℤ[i])) → (abs‘𝐴) = 1)
2219, 21syl 18 . . 3 (𝐴 ∈ (Unit‘ℤring) → (abs‘𝐴) = 1)
233, 22jca 521 . 2 (𝐴 ∈ (Unit‘ℤring) → (𝐴 ∈ ℤ ∧ (abs‘𝐴) = 1))
24 zcn 12699 . . . . 5 (𝐴 ∈ ℤ → 𝐴 ∈ ℂ)
2524adantr 486 . . . 4 ((𝐴 ∈ ℤ ∧ (abs‘𝐴) = 1) → 𝐴 ∈ ℂ)
26 simpr 490 . . . . . 6 ((𝐴 ∈ ℤ ∧ (abs‘𝐴) = 1) → (abs‘𝐴) = 1)
27 ax-1ne0 11270 . . . . . . 7 1 ≠ 0
2827a1i 11 . . . . . 6 ((𝐴 ∈ ℤ ∧ (abs‘𝐴) = 1) → 1 ≠ 0)
2926, 28eqnetrd 3023 . . . . 5 ((𝐴 ∈ ℤ ∧ (abs‘𝐴) = 1) → (abs‘𝐴) ≠ 0)
30 fveq2 6886 . . . . . . 7 (𝐴 = 0 → (abs‘𝐴) = (abs‘0))
31 abs0 15453 . . . . . . 7 (abs‘0) = 0
3230, 31eqtrdi 2812 . . . . . 6 (𝐴 = 0 → (abs‘𝐴) = 0)
3332necon3i 2988 . . . . 5 ((abs‘𝐴) ≠ 0 → 𝐴 ≠ 0)
3429, 33syl 18 . . . 4 ((𝐴 ∈ ℤ ∧ (abs‘𝐴) = 1) → 𝐴 ≠ 0)
35 eldifsn 4748 . . . 4 (𝐴 ∈ (ℂ ∖ {0}) ↔ (𝐴 ∈ ℂ ∧ 𝐴 ≠ 0))
3625, 34, 35sylanbrc 595 . . 3 ((𝐴 ∈ ℤ ∧ (abs‘𝐴) = 1) → 𝐴 ∈ (ℂ ∖ {0}))
37 simpl 488 . . 3 ((𝐴 ∈ ℤ ∧ (abs‘𝐴) = 1) → 𝐴 ∈ ℤ)
38 cnfldinv 21710 . . . . . 6 ((𝐴 ∈ ℂ ∧ 𝐴 ≠ 0) → ((invr‘ℂfld)‘𝐴) = (1 / 𝐴))
3925, 34, 38syl2anc 596 . . . . 5 ((𝐴 ∈ ℤ ∧ (abs‘𝐴) = 1) → ((invr‘ℂfld)‘𝐴) = (1 / 𝐴))
40 zre 12698 . . . . . . . . 9 (𝐴 ∈ ℤ → 𝐴 ∈ ℝ)
4140adantr 486 . . . . . . . 8 ((𝐴 ∈ ℤ ∧ (abs‘𝐴) = 1) → 𝐴 ∈ ℝ)
42 absresq 15470 . . . . . . . 8 (𝐴 ∈ ℝ → ((abs‘𝐴)↑2) = (𝐴↑2))
4341, 42syl 18 . . . . . . 7 ((𝐴 ∈ ℤ ∧ (abs‘𝐴) = 1) → ((abs‘𝐴)↑2) = (𝐴↑2))
4426oveq1d 7436 . . . . . . . 8 ((𝐴 ∈ ℤ ∧ (abs‘𝐴) = 1) → ((abs‘𝐴)↑2) = (1↑2))
45 sq1 14339 . . . . . . . 8 (1↑2) = 1
4644, 45eqtrdi 2812 . . . . . . 7 ((𝐴 ∈ ℤ ∧ (abs‘𝐴) = 1) → ((abs‘𝐴)↑2) = 1)
4725sqvald 14287 . . . . . . 7 ((𝐴 ∈ ℤ ∧ (abs‘𝐴) = 1) → (𝐴↑2) = (𝐴 · 𝐴))
4843, 46, 473eqtr3rd 2805 . . . . . 6 ((𝐴 ∈ ℤ ∧ (abs‘𝐴) = 1) → (𝐴 · 𝐴) = 1)
49 1cnd 11303 . . . . . . 7 ((𝐴 ∈ ℤ ∧ (abs‘𝐴) = 1) → 1 ∈ ℂ)
5049, 25, 25, 34divmuld 12116 . . . . . 6 ((𝐴 ∈ ℤ ∧ (abs‘𝐴) = 1) → ((1 / 𝐴) = 𝐴 ↔ (𝐴 · 𝐴) = 1))
5148, 50mpbird 260 . . . . 5 ((𝐴 ∈ ℤ ∧ (abs‘𝐴) = 1) → (1 / 𝐴) = 𝐴)
5239, 51eqtrd 2796 . . . 4 ((𝐴 ∈ ℤ ∧ (abs‘𝐴) = 1) → ((invr‘ℂfld)‘𝐴) = 𝐴)
5352, 37eqeltrd 2861 . . 3 ((𝐴 ∈ ℤ ∧ (abs‘𝐴) = 1) → ((invr‘ℂfld)‘𝐴) ∈ ℤ)
54 cnfldbas 21683 . . . . . 6 ℂ = (Base‘ℂfld)
55 cnfld0 21703 . . . . . 6 0 = (0g‘ℂfld)
56 cndrng 21708 . . . . . 6 ℂfld ∈ DivRing
5754, 55, 56drngui 20987 . . . . 5 (ℂ ∖ {0}) = (Unit‘ℂfld)
58 eqid 2761 . . . . 5 (invr‘ℂfld) = (invr‘ℂfld)
5912, 57, 2, 58subrgunit 20843 . . . 4 (ℤ ∈ (SubRing‘ℂfld) → (𝐴 ∈ (Unit‘ℤring) ↔ (𝐴 ∈ (ℂ ∖ {0}) ∧ 𝐴 ∈ ℤ ∧ ((invr‘ℂfld)‘𝐴) ∈ ℤ)))
604, 59ax-mp 5 . . 3 (𝐴 ∈ (Unit‘ℤring) ↔ (𝐴 ∈ (ℂ ∖ {0}) ∧ 𝐴 ∈ ℤ ∧ ((invr‘ℂfld)‘𝐴) ∈ ℤ))
6136, 37, 53, 60syl3anbrc 1362 . 2 ((𝐴 ∈ ℤ ∧ (abs‘𝐴) = 1) → 𝐴 ∈ (Unit‘ℤring))
6223, 61impbii 212 1 (𝐴 ∈ (Unit‘ℤring) ↔ (𝐴 ∈ ℤ ∧ (abs‘𝐴) = 1))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   ↔ wb 209   ∧ wa 401   ∧ w3a 1103   = wceq 1570   ∈ wcel 2145   ≠ wne 2956   ∖ cdif 3896   ⊆ wss 3914  {csn 4584  ‘cfv 6539  (class class class)co 7421  ℂcc 11199  ℝcr 11200  0cc0 11201  1c1 11202   · cmul 11206   / cdiv 11974  2c2 12398  ℤcz 12694  ↑cexp 14205  abscabs 15402  ℤ[i]cgz 17108   ↾s cress 17409  Unitcui 20586  invrcinvr 20618  SubRingcsubrg 20822  ℂfldccnfld 21679  ℤringczring 21753
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1828  ax-4 1842  ax-5 1943  ax-6 2000  ax-7 2041  ax-8 2147  ax-9 2155  ax-10 2178  ax-11 2194  ax-12 2213  ax-ext 2733  ax-rep 5232  ax-sep 5249  ax-nul 5260  ax-pow 5327  ax-pr 5391  ax-un 7752  ax-cnex 11257  ax-resscn 11258  ax-1cn 11259  ax-icn 11260  ax-addcl 11261  ax-addrcl 11262  ax-mulcl 11263  ax-mulrcl 11264  ax-mulcom 11265  ax-addass 11266  ax-mulass 11267  ax-distr 11268  ax-i2m1 11269  ax-1ne0 11270  ax-1rid 11271  ax-rnegex 11272  ax-rrecex 11273  ax-cnre 11274  ax-pre-lttri 11275  ax-pre-lttrn 11276  ax-pre-ltadd 11277  ax-pre-mulgt0 11278  ax-pre-sup 11279  ax-addf 11280
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3or 1104  df-3an 1105  df-tru 1573  df-fal 1583  df-ex 1813  df-nf 1817  df-sb 2100  df-mo 2565  df-eu 2595  df-clab 2740  df-cleq 2753  df-clel 2836  df-nfc 2910  df-ne 2957  df-nel 3063  df-ral 3078  df-rex 3088  df-rmo 3366  df-reu 3367  df-rab 3414  df-v 3453  df-sbc 3740  df-csb 3848  df-dif 3900  df-un 3902  df-in 3904  df-ss 3915  df-pss 4035  df-nul 4280  df-if 4483  df-pw 4559  df-sn 4585  df-pr 4587  df-tp 4589  df-op 4591  df-uni 4868  df-iun 4953  df-br 5104  df-opab 5168  df-mpt 5187  df-tr 5213  df-id 5546  df-eprel 5551  df-po 5559  df-so 5560  df-fr 5604  df-we 5606  df-xp 5657  df-rel 5658  df-cnv 5659  df-co 5660  df-dm 5661  df-rn 5662  df-res 5663  df-ima 5664  df-pred 6305  df-ord 6366  df-on 6367  df-lim 6368  df-suc 6369  df-iota 6495  df-fun 6541  df-fn 6542  df-f 6543  df-f1 6544  df-fo 6545  df-f1o 6546  df-fv 6547  df-riota 7378  df-ov 7424  df-oprab 7425  df-mpo 7426  df-om 7879  df-1st 8002  df-2nd 8003  df-tpos 8244  df-frecs 8300  df-wrecs 8331  df-recs 8380  df-rdg 8419  df-1o 8477  df-er 8718  df-en 8975  df-dom 8976  df-sdom 8977  df-fin 8978  df-sup 9435  df-pnf 11346  df-mnf 11347  df-xr 11348  df-ltxr 11349  df-le 11350  df-sub 11544  df-neg 11545  df-div 11975  df-nn 12337  df-2 12406  df-3 12407  df-4 12408  df-5 12409  df-6 12410  df-7 12411  df-8 12412  df-9 12413  df-n0 12608  df-z 12695  df-dec 12816  df-uz 12967  df-rp 13122  df-fz 13641  df-seq 14146  df-exp 14206  df-cj 15267  df-re 15268  df-im 15269  df-sqrt 15403  df-abs 15404  df-gz 17109  df-struct 17326  df-sets 17343  df-slot 17361  df-ndx 17373  df-base 17389  df-ress 17410  df-plusg 17442  df-mulr 17443  df-starv 17444  df-tset 17448  df-ple 17449  df-ds 17451  df-unif 17452  df-0g 17613  df-mgm 18817  df-sgrp 18909  df-mnd 18925  df-grp 19148  df-minusg 19149  df-subg 19334  df-cmn 19997  df-abl 19998  df-mgp 20362  df-rng 20376  df-ur 20409  df-ring 20462  df-cring 20463  df-oppr 20568  df-dvdsr 20588  df-unit 20589  df-invr 20619  df-dvr 20632  df-subrng 20799  df-subrg 20823  df-drng 20983  df-cnfld 21680  df-zring 21754
This theorem is used by:  zringndrg  21775  prmirredlem  21779  qqhval2lem  34614
  Copyright terms: Public domain W3C validator