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

Theorem mulgfvalALT 18691
Description: Shorter proof of mulgfval 18690 using ax-rep 5209. (Contributed by Mario Carneiro, 11-Dec-2014.) (Proof modification is discouraged.) (New usage is discouraged.)
Hypotheses
Ref Expression
mulgval.b 𝐵 = (Base‘𝐺)
mulgval.p + = (+g𝐺)
mulgval.o 0 = (0g𝐺)
mulgval.i 𝐼 = (invg𝐺)
mulgval.t · = (.g𝐺)
Assertion
Ref Expression
mulgfvalALT · = (𝑛 ∈ ℤ, 𝑥𝐵 ↦ if(𝑛 = 0, 0 , if(0 < 𝑛, (seq1( + , (ℕ × {𝑥}))‘𝑛), (𝐼‘(seq1( + , (ℕ × {𝑥}))‘-𝑛)))))
Distinct variable groups:   𝑥, 0 ,𝑛   𝑥,𝐵,𝑛   𝑥, + ,𝑛   𝑥,𝐺,𝑛   𝑥,𝐼,𝑛
Allowed substitution hints:   · (𝑥,𝑛)

Proof of Theorem mulgfvalALT
Dummy variables 𝑤 𝑠 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 mulgval.t . 2 · = (.g𝐺)
2 eqidd 2739 . . . . 5 (𝑤 = 𝐺 → ℤ = ℤ)
3 fveq2 6767 . . . . . 6 (𝑤 = 𝐺 → (Base‘𝑤) = (Base‘𝐺))
4 mulgval.b . . . . . 6 𝐵 = (Base‘𝐺)
53, 4eqtr4di 2796 . . . . 5 (𝑤 = 𝐺 → (Base‘𝑤) = 𝐵)
6 fveq2 6767 . . . . . . 7 (𝑤 = 𝐺 → (0g𝑤) = (0g𝐺))
7 mulgval.o . . . . . . 7 0 = (0g𝐺)
86, 7eqtr4di 2796 . . . . . 6 (𝑤 = 𝐺 → (0g𝑤) = 0 )
9 seqex 13711 . . . . . . . 8 seq1((+g𝑤), (ℕ × {𝑥})) ∈ V
109a1i 11 . . . . . . 7 (𝑤 = 𝐺 → seq1((+g𝑤), (ℕ × {𝑥})) ∈ V)
11 id 22 . . . . . . . . . 10 (𝑠 = seq1((+g𝑤), (ℕ × {𝑥})) → 𝑠 = seq1((+g𝑤), (ℕ × {𝑥})))
12 fveq2 6767 . . . . . . . . . . . 12 (𝑤 = 𝐺 → (+g𝑤) = (+g𝐺))
13 mulgval.p . . . . . . . . . . . 12 + = (+g𝐺)
1412, 13eqtr4di 2796 . . . . . . . . . . 11 (𝑤 = 𝐺 → (+g𝑤) = + )
1514seqeq2d 13716 . . . . . . . . . 10 (𝑤 = 𝐺 → seq1((+g𝑤), (ℕ × {𝑥})) = seq1( + , (ℕ × {𝑥})))
1611, 15sylan9eqr 2800 . . . . . . . . 9 ((𝑤 = 𝐺𝑠 = seq1((+g𝑤), (ℕ × {𝑥}))) → 𝑠 = seq1( + , (ℕ × {𝑥})))
1716fveq1d 6769 . . . . . . . 8 ((𝑤 = 𝐺𝑠 = seq1((+g𝑤), (ℕ × {𝑥}))) → (𝑠𝑛) = (seq1( + , (ℕ × {𝑥}))‘𝑛))
18 simpl 483 . . . . . . . . . . 11 ((𝑤 = 𝐺𝑠 = seq1((+g𝑤), (ℕ × {𝑥}))) → 𝑤 = 𝐺)
1918fveq2d 6771 . . . . . . . . . 10 ((𝑤 = 𝐺𝑠 = seq1((+g𝑤), (ℕ × {𝑥}))) → (invg𝑤) = (invg𝐺))
20 mulgval.i . . . . . . . . . 10 𝐼 = (invg𝐺)
2119, 20eqtr4di 2796 . . . . . . . . 9 ((𝑤 = 𝐺𝑠 = seq1((+g𝑤), (ℕ × {𝑥}))) → (invg𝑤) = 𝐼)
2216fveq1d 6769 . . . . . . . . 9 ((𝑤 = 𝐺𝑠 = seq1((+g𝑤), (ℕ × {𝑥}))) → (𝑠‘-𝑛) = (seq1( + , (ℕ × {𝑥}))‘-𝑛))
2321, 22fveq12d 6774 . . . . . . . 8 ((𝑤 = 𝐺𝑠 = seq1((+g𝑤), (ℕ × {𝑥}))) → ((invg𝑤)‘(𝑠‘-𝑛)) = (𝐼‘(seq1( + , (ℕ × {𝑥}))‘-𝑛)))
2417, 23ifeq12d 4481 . . . . . . 7 ((𝑤 = 𝐺𝑠 = seq1((+g𝑤), (ℕ × {𝑥}))) → if(0 < 𝑛, (𝑠𝑛), ((invg𝑤)‘(𝑠‘-𝑛))) = if(0 < 𝑛, (seq1( + , (ℕ × {𝑥}))‘𝑛), (𝐼‘(seq1( + , (ℕ × {𝑥}))‘-𝑛))))
2510, 24csbied 3870 . . . . . 6 (𝑤 = 𝐺seq1((+g𝑤), (ℕ × {𝑥})) / 𝑠if(0 < 𝑛, (𝑠𝑛), ((invg𝑤)‘(𝑠‘-𝑛))) = if(0 < 𝑛, (seq1( + , (ℕ × {𝑥}))‘𝑛), (𝐼‘(seq1( + , (ℕ × {𝑥}))‘-𝑛))))
268, 25ifeq12d 4481 . . . . 5 (𝑤 = 𝐺 → if(𝑛 = 0, (0g𝑤), seq1((+g𝑤), (ℕ × {𝑥})) / 𝑠if(0 < 𝑛, (𝑠𝑛), ((invg𝑤)‘(𝑠‘-𝑛)))) = if(𝑛 = 0, 0 , if(0 < 𝑛, (seq1( + , (ℕ × {𝑥}))‘𝑛), (𝐼‘(seq1( + , (ℕ × {𝑥}))‘-𝑛)))))
272, 5, 26mpoeq123dv 7341 . . . 4 (𝑤 = 𝐺 → (𝑛 ∈ ℤ, 𝑥 ∈ (Base‘𝑤) ↦ if(𝑛 = 0, (0g𝑤), seq1((+g𝑤), (ℕ × {𝑥})) / 𝑠if(0 < 𝑛, (𝑠𝑛), ((invg𝑤)‘(𝑠‘-𝑛))))) = (𝑛 ∈ ℤ, 𝑥𝐵 ↦ if(𝑛 = 0, 0 , if(0 < 𝑛, (seq1( + , (ℕ × {𝑥}))‘𝑛), (𝐼‘(seq1( + , (ℕ × {𝑥}))‘-𝑛))))))
28 df-mulg 18689 . . . 4 .g = (𝑤 ∈ V ↦ (𝑛 ∈ ℤ, 𝑥 ∈ (Base‘𝑤) ↦ if(𝑛 = 0, (0g𝑤), seq1((+g𝑤), (ℕ × {𝑥})) / 𝑠if(0 < 𝑛, (𝑠𝑛), ((invg𝑤)‘(𝑠‘-𝑛))))))
29 zex 12316 . . . . 5 ℤ ∈ V
304fvexi 6781 . . . . 5 𝐵 ∈ V
3129, 30mpoex 7910 . . . 4 (𝑛 ∈ ℤ, 𝑥𝐵 ↦ if(𝑛 = 0, 0 , if(0 < 𝑛, (seq1( + , (ℕ × {𝑥}))‘𝑛), (𝐼‘(seq1( + , (ℕ × {𝑥}))‘-𝑛))))) ∈ V
3227, 28, 31fvmpt 6868 . . 3 (𝐺 ∈ V → (.g𝐺) = (𝑛 ∈ ℤ, 𝑥𝐵 ↦ if(𝑛 = 0, 0 , if(0 < 𝑛, (seq1( + , (ℕ × {𝑥}))‘𝑛), (𝐼‘(seq1( + , (ℕ × {𝑥}))‘-𝑛))))))
33 fvprc 6759 . . . 4 𝐺 ∈ V → (.g𝐺) = ∅)
34 eqid 2738 . . . . . . 7 (𝑛 ∈ ℤ, 𝑥𝐵 ↦ if(𝑛 = 0, 0 , if(0 < 𝑛, (seq1( + , (ℕ × {𝑥}))‘𝑛), (𝐼‘(seq1( + , (ℕ × {𝑥}))‘-𝑛))))) = (𝑛 ∈ ℤ, 𝑥𝐵 ↦ if(𝑛 = 0, 0 , if(0 < 𝑛, (seq1( + , (ℕ × {𝑥}))‘𝑛), (𝐼‘(seq1( + , (ℕ × {𝑥}))‘-𝑛)))))
357fvexi 6781 . . . . . . . 8 0 ∈ V
36 fvex 6780 . . . . . . . . 9 (seq1( + , (ℕ × {𝑥}))‘𝑛) ∈ V
37 fvex 6780 . . . . . . . . 9 (𝐼‘(seq1( + , (ℕ × {𝑥}))‘-𝑛)) ∈ V
3836, 37ifex 4510 . . . . . . . 8 if(0 < 𝑛, (seq1( + , (ℕ × {𝑥}))‘𝑛), (𝐼‘(seq1( + , (ℕ × {𝑥}))‘-𝑛))) ∈ V
3935, 38ifex 4510 . . . . . . 7 if(𝑛 = 0, 0 , if(0 < 𝑛, (seq1( + , (ℕ × {𝑥}))‘𝑛), (𝐼‘(seq1( + , (ℕ × {𝑥}))‘-𝑛)))) ∈ V
4034, 39fnmpoi 7900 . . . . . 6 (𝑛 ∈ ℤ, 𝑥𝐵 ↦ if(𝑛 = 0, 0 , if(0 < 𝑛, (seq1( + , (ℕ × {𝑥}))‘𝑛), (𝐼‘(seq1( + , (ℕ × {𝑥}))‘-𝑛))))) Fn (ℤ × 𝐵)
41 fvprc 6759 . . . . . . . . . 10 𝐺 ∈ V → (Base‘𝐺) = ∅)
424, 41eqtrid 2790 . . . . . . . . 9 𝐺 ∈ V → 𝐵 = ∅)
4342xpeq2d 5615 . . . . . . . 8 𝐺 ∈ V → (ℤ × 𝐵) = (ℤ × ∅))
44 xp0 6055 . . . . . . . 8 (ℤ × ∅) = ∅
4543, 44eqtrdi 2794 . . . . . . 7 𝐺 ∈ V → (ℤ × 𝐵) = ∅)
4645fneq2d 6520 . . . . . 6 𝐺 ∈ V → ((𝑛 ∈ ℤ, 𝑥𝐵 ↦ if(𝑛 = 0, 0 , if(0 < 𝑛, (seq1( + , (ℕ × {𝑥}))‘𝑛), (𝐼‘(seq1( + , (ℕ × {𝑥}))‘-𝑛))))) Fn (ℤ × 𝐵) ↔ (𝑛 ∈ ℤ, 𝑥𝐵 ↦ if(𝑛 = 0, 0 , if(0 < 𝑛, (seq1( + , (ℕ × {𝑥}))‘𝑛), (𝐼‘(seq1( + , (ℕ × {𝑥}))‘-𝑛))))) Fn ∅))
4740, 46mpbii 232 . . . . 5 𝐺 ∈ V → (𝑛 ∈ ℤ, 𝑥𝐵 ↦ if(𝑛 = 0, 0 , if(0 < 𝑛, (seq1( + , (ℕ × {𝑥}))‘𝑛), (𝐼‘(seq1( + , (ℕ × {𝑥}))‘-𝑛))))) Fn ∅)
48 fn0 6557 . . . . 5 ((𝑛 ∈ ℤ, 𝑥𝐵 ↦ if(𝑛 = 0, 0 , if(0 < 𝑛, (seq1( + , (ℕ × {𝑥}))‘𝑛), (𝐼‘(seq1( + , (ℕ × {𝑥}))‘-𝑛))))) Fn ∅ ↔ (𝑛 ∈ ℤ, 𝑥𝐵 ↦ if(𝑛 = 0, 0 , if(0 < 𝑛, (seq1( + , (ℕ × {𝑥}))‘𝑛), (𝐼‘(seq1( + , (ℕ × {𝑥}))‘-𝑛))))) = ∅)
4947, 48sylib 217 . . . 4 𝐺 ∈ V → (𝑛 ∈ ℤ, 𝑥𝐵 ↦ if(𝑛 = 0, 0 , if(0 < 𝑛, (seq1( + , (ℕ × {𝑥}))‘𝑛), (𝐼‘(seq1( + , (ℕ × {𝑥}))‘-𝑛))))) = ∅)
5033, 49eqtr4d 2781 . . 3 𝐺 ∈ V → (.g𝐺) = (𝑛 ∈ ℤ, 𝑥𝐵 ↦ if(𝑛 = 0, 0 , if(0 < 𝑛, (seq1( + , (ℕ × {𝑥}))‘𝑛), (𝐼‘(seq1( + , (ℕ × {𝑥}))‘-𝑛))))))
5132, 50pm2.61i 182 . 2 (.g𝐺) = (𝑛 ∈ ℤ, 𝑥𝐵 ↦ if(𝑛 = 0, 0 , if(0 < 𝑛, (seq1( + , (ℕ × {𝑥}))‘𝑛), (𝐼‘(seq1( + , (ℕ × {𝑥}))‘-𝑛)))))
521, 51eqtri 2766 1 · = (𝑛 ∈ ℤ, 𝑥𝐵 ↦ if(𝑛 = 0, 0 , if(0 < 𝑛, (seq1( + , (ℕ × {𝑥}))‘𝑛), (𝐼‘(seq1( + , (ℕ × {𝑥}))‘-𝑛)))))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wa 396   = wceq 1539  wcel 2106  Vcvv 3430  csb 3832  c0 4257  ifcif 4460  {csn 4562   class class class wbr 5074   × cxp 5583   Fn wfn 6422  cfv 6427  cmpo 7270  0cc0 10859  1c1 10860   < clt 10997  -cneg 11194  cn 11961  cz 12307  seqcseq 13709  Basecbs 16900  +gcplusg 16950  0gc0g 17138  invgcminusg 18566  .gcmg 18688
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1798  ax-4 1812  ax-5 1913  ax-6 1971  ax-7 2011  ax-8 2108  ax-9 2116  ax-10 2137  ax-11 2154  ax-12 2171  ax-ext 2709  ax-rep 5209  ax-sep 5222  ax-nul 5229  ax-pow 5287  ax-pr 5351  ax-un 7579  ax-inf2 9387  ax-cnex 10915  ax-resscn 10916
This theorem depends on definitions:  df-bi 206  df-an 397  df-or 845  df-3or 1087  df-3an 1088  df-tru 1542  df-fal 1552  df-ex 1783  df-nf 1787  df-sb 2068  df-mo 2540  df-eu 2569  df-clab 2716  df-cleq 2730  df-clel 2816  df-nfc 2889  df-ne 2944  df-ral 3069  df-rex 3070  df-reu 3071  df-rab 3073  df-v 3432  df-sbc 3717  df-csb 3833  df-dif 3890  df-un 3892  df-in 3894  df-ss 3904  df-pss 3906  df-nul 4258  df-if 4461  df-pw 4536  df-sn 4563  df-pr 4565  df-op 4569  df-uni 4841  df-iun 4927  df-br 5075  df-opab 5137  df-mpt 5158  df-tr 5192  df-id 5485  df-eprel 5491  df-po 5499  df-so 5500  df-fr 5540  df-we 5542  df-xp 5591  df-rel 5592  df-cnv 5593  df-co 5594  df-dm 5595  df-rn 5596  df-res 5597  df-ima 5598  df-pred 6196  df-ord 6263  df-on 6264  df-lim 6265  df-suc 6266  df-iota 6385  df-fun 6429  df-fn 6430  df-f 6431  df-f1 6432  df-fo 6433  df-f1o 6434  df-fv 6435  df-ov 7271  df-oprab 7272  df-mpo 7273  df-om 7704  df-1st 7821  df-2nd 7822  df-frecs 8085  df-wrecs 8116  df-recs 8190  df-rdg 8229  df-neg 11196  df-z 12308  df-seq 13710  df-mulg 18689
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator