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

Theorem mulgfvalALT 18618
Description: Shorter proof of mulgfval 18617 using ax-rep 5205. (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 6756 . . . . . 6 (𝑤 = 𝐺 → (Base‘𝑤) = (Base‘𝐺))
4 mulgval.b . . . . . 6 𝐵 = (Base‘𝐺)
53, 4eqtr4di 2797 . . . . 5 (𝑤 = 𝐺 → (Base‘𝑤) = 𝐵)
6 fveq2 6756 . . . . . . 7 (𝑤 = 𝐺 → (0g𝑤) = (0g𝐺))
7 mulgval.o . . . . . . 7 0 = (0g𝐺)
86, 7eqtr4di 2797 . . . . . 6 (𝑤 = 𝐺 → (0g𝑤) = 0 )
9 seqex 13651 . . . . . . . 8 seq1((+g𝑤), (ℕ × {𝑥})) ∈ V
109a1i 11 . . . . . . 7 (𝑤 = 𝐺 → seq1((+g𝑤), (ℕ × {𝑥})) ∈ V)
11 id 22 . . . . . . . . . 10 (𝑠 = seq1((+g𝑤), (ℕ × {𝑥})) → 𝑠 = seq1((+g𝑤), (ℕ × {𝑥})))
12 fveq2 6756 . . . . . . . . . . . 12 (𝑤 = 𝐺 → (+g𝑤) = (+g𝐺))
13 mulgval.p . . . . . . . . . . . 12 + = (+g𝐺)
1412, 13eqtr4di 2797 . . . . . . . . . . 11 (𝑤 = 𝐺 → (+g𝑤) = + )
1514seqeq2d 13656 . . . . . . . . . 10 (𝑤 = 𝐺 → seq1((+g𝑤), (ℕ × {𝑥})) = seq1( + , (ℕ × {𝑥})))
1611, 15sylan9eqr 2801 . . . . . . . . 9 ((𝑤 = 𝐺𝑠 = seq1((+g𝑤), (ℕ × {𝑥}))) → 𝑠 = seq1( + , (ℕ × {𝑥})))
1716fveq1d 6758 . . . . . . . 8 ((𝑤 = 𝐺𝑠 = seq1((+g𝑤), (ℕ × {𝑥}))) → (𝑠𝑛) = (seq1( + , (ℕ × {𝑥}))‘𝑛))
18 simpl 482 . . . . . . . . . . 11 ((𝑤 = 𝐺𝑠 = seq1((+g𝑤), (ℕ × {𝑥}))) → 𝑤 = 𝐺)
1918fveq2d 6760 . . . . . . . . . 10 ((𝑤 = 𝐺𝑠 = seq1((+g𝑤), (ℕ × {𝑥}))) → (invg𝑤) = (invg𝐺))
20 mulgval.i . . . . . . . . . 10 𝐼 = (invg𝐺)
2119, 20eqtr4di 2797 . . . . . . . . 9 ((𝑤 = 𝐺𝑠 = seq1((+g𝑤), (ℕ × {𝑥}))) → (invg𝑤) = 𝐼)
2216fveq1d 6758 . . . . . . . . 9 ((𝑤 = 𝐺𝑠 = seq1((+g𝑤), (ℕ × {𝑥}))) → (𝑠‘-𝑛) = (seq1( + , (ℕ × {𝑥}))‘-𝑛))
2321, 22fveq12d 6763 . . . . . . . 8 ((𝑤 = 𝐺𝑠 = seq1((+g𝑤), (ℕ × {𝑥}))) → ((invg𝑤)‘(𝑠‘-𝑛)) = (𝐼‘(seq1( + , (ℕ × {𝑥}))‘-𝑛)))
2417, 23ifeq12d 4477 . . . . . . 7 ((𝑤 = 𝐺𝑠 = seq1((+g𝑤), (ℕ × {𝑥}))) → if(0 < 𝑛, (𝑠𝑛), ((invg𝑤)‘(𝑠‘-𝑛))) = if(0 < 𝑛, (seq1( + , (ℕ × {𝑥}))‘𝑛), (𝐼‘(seq1( + , (ℕ × {𝑥}))‘-𝑛))))
2510, 24csbied 3866 . . . . . 6 (𝑤 = 𝐺seq1((+g𝑤), (ℕ × {𝑥})) / 𝑠if(0 < 𝑛, (𝑠𝑛), ((invg𝑤)‘(𝑠‘-𝑛))) = if(0 < 𝑛, (seq1( + , (ℕ × {𝑥}))‘𝑛), (𝐼‘(seq1( + , (ℕ × {𝑥}))‘-𝑛))))
268, 25ifeq12d 4477 . . . . 5 (𝑤 = 𝐺 → if(𝑛 = 0, (0g𝑤), seq1((+g𝑤), (ℕ × {𝑥})) / 𝑠if(0 < 𝑛, (𝑠𝑛), ((invg𝑤)‘(𝑠‘-𝑛)))) = if(𝑛 = 0, 0 , if(0 < 𝑛, (seq1( + , (ℕ × {𝑥}))‘𝑛), (𝐼‘(seq1( + , (ℕ × {𝑥}))‘-𝑛)))))
272, 5, 26mpoeq123dv 7328 . . . 4 (𝑤 = 𝐺 → (𝑛 ∈ ℤ, 𝑥 ∈ (Base‘𝑤) ↦ if(𝑛 = 0, (0g𝑤), seq1((+g𝑤), (ℕ × {𝑥})) / 𝑠if(0 < 𝑛, (𝑠𝑛), ((invg𝑤)‘(𝑠‘-𝑛))))) = (𝑛 ∈ ℤ, 𝑥𝐵 ↦ if(𝑛 = 0, 0 , if(0 < 𝑛, (seq1( + , (ℕ × {𝑥}))‘𝑛), (𝐼‘(seq1( + , (ℕ × {𝑥}))‘-𝑛))))))
28 df-mulg 18616 . . . 4 .g = (𝑤 ∈ V ↦ (𝑛 ∈ ℤ, 𝑥 ∈ (Base‘𝑤) ↦ if(𝑛 = 0, (0g𝑤), seq1((+g𝑤), (ℕ × {𝑥})) / 𝑠if(0 < 𝑛, (𝑠𝑛), ((invg𝑤)‘(𝑠‘-𝑛))))))
29 zex 12258 . . . . 5 ℤ ∈ V
304fvexi 6770 . . . . 5 𝐵 ∈ V
3129, 30mpoex 7893 . . . 4 (𝑛 ∈ ℤ, 𝑥𝐵 ↦ if(𝑛 = 0, 0 , if(0 < 𝑛, (seq1( + , (ℕ × {𝑥}))‘𝑛), (𝐼‘(seq1( + , (ℕ × {𝑥}))‘-𝑛))))) ∈ V
3227, 28, 31fvmpt 6857 . . 3 (𝐺 ∈ V → (.g𝐺) = (𝑛 ∈ ℤ, 𝑥𝐵 ↦ if(𝑛 = 0, 0 , if(0 < 𝑛, (seq1( + , (ℕ × {𝑥}))‘𝑛), (𝐼‘(seq1( + , (ℕ × {𝑥}))‘-𝑛))))))
33 fvprc 6748 . . . 4 𝐺 ∈ V → (.g𝐺) = ∅)
34 eqid 2738 . . . . . . 7 (𝑛 ∈ ℤ, 𝑥𝐵 ↦ if(𝑛 = 0, 0 , if(0 < 𝑛, (seq1( + , (ℕ × {𝑥}))‘𝑛), (𝐼‘(seq1( + , (ℕ × {𝑥}))‘-𝑛))))) = (𝑛 ∈ ℤ, 𝑥𝐵 ↦ if(𝑛 = 0, 0 , if(0 < 𝑛, (seq1( + , (ℕ × {𝑥}))‘𝑛), (𝐼‘(seq1( + , (ℕ × {𝑥}))‘-𝑛)))))
357fvexi 6770 . . . . . . . 8 0 ∈ V
36 fvex 6769 . . . . . . . . 9 (seq1( + , (ℕ × {𝑥}))‘𝑛) ∈ V
37 fvex 6769 . . . . . . . . 9 (𝐼‘(seq1( + , (ℕ × {𝑥}))‘-𝑛)) ∈ V
3836, 37ifex 4506 . . . . . . . 8 if(0 < 𝑛, (seq1( + , (ℕ × {𝑥}))‘𝑛), (𝐼‘(seq1( + , (ℕ × {𝑥}))‘-𝑛))) ∈ V
3935, 38ifex 4506 . . . . . . 7 if(𝑛 = 0, 0 , if(0 < 𝑛, (seq1( + , (ℕ × {𝑥}))‘𝑛), (𝐼‘(seq1( + , (ℕ × {𝑥}))‘-𝑛)))) ∈ V
4034, 39fnmpoi 7883 . . . . . 6 (𝑛 ∈ ℤ, 𝑥𝐵 ↦ if(𝑛 = 0, 0 , if(0 < 𝑛, (seq1( + , (ℕ × {𝑥}))‘𝑛), (𝐼‘(seq1( + , (ℕ × {𝑥}))‘-𝑛))))) Fn (ℤ × 𝐵)
41 fvprc 6748 . . . . . . . . . 10 𝐺 ∈ V → (Base‘𝐺) = ∅)
424, 41eqtrid 2790 . . . . . . . . 9 𝐺 ∈ V → 𝐵 = ∅)
4342xpeq2d 5610 . . . . . . . 8 𝐺 ∈ V → (ℤ × 𝐵) = (ℤ × ∅))
44 xp0 6050 . . . . . . . 8 (ℤ × ∅) = ∅
4543, 44eqtrdi 2795 . . . . . . 7 𝐺 ∈ V → (ℤ × 𝐵) = ∅)
4645fneq2d 6511 . . . . . 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 6548 . . . . 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 395   = wceq 1539  wcel 2108  Vcvv 3422  csb 3828  c0 4253  ifcif 4456  {csn 4558   class class class wbr 5070   × cxp 5578   Fn wfn 6413  cfv 6418  cmpo 7257  0cc0 10802  1c1 10803   < clt 10940  -cneg 11136  cn 11903  cz 12249  seqcseq 13649  Basecbs 16840  +gcplusg 16888  0gc0g 17067  invgcminusg 18493  .gcmg 18615
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1799  ax-4 1813  ax-5 1914  ax-6 1972  ax-7 2012  ax-8 2110  ax-9 2118  ax-10 2139  ax-11 2156  ax-12 2173  ax-ext 2709  ax-rep 5205  ax-sep 5218  ax-nul 5225  ax-pow 5283  ax-pr 5347  ax-un 7566  ax-inf2 9329  ax-cnex 10858  ax-resscn 10859
This theorem depends on definitions:  df-bi 206  df-an 396  df-or 844  df-3or 1086  df-3an 1087  df-tru 1542  df-fal 1552  df-ex 1784  df-nf 1788  df-sb 2069  df-mo 2540  df-eu 2569  df-clab 2716  df-cleq 2730  df-clel 2817  df-nfc 2888  df-ne 2943  df-ral 3068  df-rex 3069  df-reu 3070  df-rab 3072  df-v 3424  df-sbc 3712  df-csb 3829  df-dif 3886  df-un 3888  df-in 3890  df-ss 3900  df-pss 3902  df-nul 4254  df-if 4457  df-pw 4532  df-sn 4559  df-pr 4561  df-tp 4563  df-op 4565  df-uni 4837  df-iun 4923  df-br 5071  df-opab 5133  df-mpt 5154  df-tr 5188  df-id 5480  df-eprel 5486  df-po 5494  df-so 5495  df-fr 5535  df-we 5537  df-xp 5586  df-rel 5587  df-cnv 5588  df-co 5589  df-dm 5590  df-rn 5591  df-res 5592  df-ima 5593  df-pred 6191  df-ord 6254  df-on 6255  df-lim 6256  df-suc 6257  df-iota 6376  df-fun 6420  df-fn 6421  df-f 6422  df-f1 6423  df-fo 6424  df-f1o 6425  df-fv 6426  df-ov 7258  df-oprab 7259  df-mpo 7260  df-om 7688  df-1st 7804  df-2nd 7805  df-frecs 8068  df-wrecs 8099  df-recs 8173  df-rdg 8212  df-neg 11138  df-z 12250  df-seq 13650  df-mulg 18616
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator