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

Theorem 2sqlem1 27479
Description: Lemma for 2sq 27492. (Contributed by Mario Carneiro, 19-Jun-2015.)
Hypothesis
Ref Expression
2sq.1 𝑆 = ran (𝑤 ∈ ℤ[i] ↦ ((abs‘𝑤)↑2))
Assertion
Ref Expression
2sqlem1 (𝐴𝑆 ↔ ∃𝑥 ∈ ℤ[i] 𝐴 = ((abs‘𝑥)↑2))
Distinct variable groups:   𝑥,𝑤   𝑥,𝐴   𝑥,𝑆
Allowed substitution hints:   𝐴(𝑤)   𝑆(𝑤)

Proof of Theorem 2sqlem1
StepHypRef Expression
1 2sq.1 . . 3 𝑆 = ran (𝑤 ∈ ℤ[i] ↦ ((abs‘𝑤)↑2))
21eleq2i 2836 . 2 (𝐴𝑆𝐴 ∈ ran (𝑤 ∈ ℤ[i] ↦ ((abs‘𝑤)↑2)))
3 fveq2 6920 . . . . 5 (𝑤 = 𝑥 → (abs‘𝑤) = (abs‘𝑥))
43oveq1d 7463 . . . 4 (𝑤 = 𝑥 → ((abs‘𝑤)↑2) = ((abs‘𝑥)↑2))
54cbvmptv 5279 . . 3 (𝑤 ∈ ℤ[i] ↦ ((abs‘𝑤)↑2)) = (𝑥 ∈ ℤ[i] ↦ ((abs‘𝑥)↑2))
6 ovex 7481 . . 3 ((abs‘𝑥)↑2) ∈ V
75, 6elrnmpti 5985 . 2 (𝐴 ∈ ran (𝑤 ∈ ℤ[i] ↦ ((abs‘𝑤)↑2)) ↔ ∃𝑥 ∈ ℤ[i] 𝐴 = ((abs‘𝑥)↑2))
82, 7bitri 275 1 (𝐴𝑆 ↔ ∃𝑥 ∈ ℤ[i] 𝐴 = ((abs‘𝑥)↑2))
Colors of variables: wff setvar class
Syntax hints:  wb 206   = wceq 1537  wcel 2108  wrex 3076  cmpt 5249  ran crn 5701  cfv 6573  (class class class)co 7448  2c2 12348  cexp 14112  abscabs 15283  ℤ[i]cgz 16976
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1793  ax-4 1807  ax-5 1909  ax-6 1967  ax-7 2007  ax-8 2110  ax-9 2118  ax-10 2141  ax-11 2158  ax-12 2178  ax-ext 2711  ax-sep 5317  ax-nul 5324  ax-pr 5447
This theorem depends on definitions:  df-bi 207  df-an 396  df-or 847  df-3an 1089  df-tru 1540  df-fal 1550  df-ex 1778  df-nf 1782  df-sb 2065  df-mo 2543  df-eu 2572  df-clab 2718  df-cleq 2732  df-clel 2819  df-nfc 2895  df-ne 2947  df-ral 3068  df-rex 3077  df-rab 3444  df-v 3490  df-dif 3979  df-un 3981  df-ss 3993  df-nul 4353  df-if 4549  df-sn 4649  df-pr 4651  df-op 4655  df-uni 4932  df-br 5167  df-opab 5229  df-mpt 5250  df-cnv 5708  df-dm 5710  df-rn 5711  df-iota 6525  df-fv 6581  df-ov 7451
This theorem is referenced by:  2sqlem2  27480  mul2sq  27481  2sqlem3  27482  2sqlem9  27489  2sqlem10  27490
  Copyright terms: Public domain W3C validator