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

Theorem mulgfvalALT 18703
Description: Shorter proof of mulgfval 18702 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 6774 . . . . . 6 (𝑤 = 𝐺 → (Base‘𝑤) = (Base‘𝐺))
4 mulgval.b . . . . . 6 𝐵 = (Base‘𝐺)
53, 4eqtr4di 2796 . . . . 5 (𝑤 = 𝐺 → (Base‘𝑤) = 𝐵)
6 fveq2 6774 . . . . . . 7 (𝑤 = 𝐺 → (0g𝑤) = (0g𝐺))
7 mulgval.o . . . . . . 7 0 = (0g𝐺)
86, 7eqtr4di 2796 . . . . . 6 (𝑤 = 𝐺 → (0g𝑤) = 0 )
9 seqex 13723 . . . . . . . 8 seq1((+g𝑤), (ℕ × {𝑥})) ∈ V
109a1i 11 . . . . . . 7 (𝑤 = 𝐺 → seq1((+g𝑤), (ℕ × {𝑥})) ∈ V)
11 id 22 . . . . . . . . . 10 (𝑠 = seq1((+g𝑤), (ℕ × {𝑥})) → 𝑠 = seq1((+g𝑤), (ℕ × {𝑥})))
12 fveq2 6774 . . . . . . . . . . . 12 (𝑤 = 𝐺 → (+g𝑤) = (+g𝐺))
13 mulgval.p . . . . . . . . . . . 12 + = (+g𝐺)
1412, 13eqtr4di 2796 . . . . . . . . . . 11 (𝑤 = 𝐺 → (+g𝑤) = + )
1514seqeq2d 13728 . . . . . . . . . 10 (𝑤 = 𝐺 → seq1((+g𝑤), (ℕ × {𝑥})) = seq1( + , (ℕ × {𝑥})))
1611, 15sylan9eqr 2800 . . . . . . . . 9 ((𝑤 = 𝐺𝑠 = seq1((+g𝑤), (ℕ × {𝑥}))) → 𝑠 = seq1( + , (ℕ × {𝑥})))
1716fveq1d 6776 . . . . . . . 8 ((𝑤 = 𝐺𝑠 = seq1((+g𝑤), (ℕ × {𝑥}))) → (𝑠𝑛) = (seq1( + , (ℕ × {𝑥}))‘𝑛))
18 simpl 483 . . . . . . . . . . 11 ((𝑤 = 𝐺𝑠 = seq1((+g𝑤), (ℕ × {𝑥}))) → 𝑤 = 𝐺)
1918fveq2d 6778 . . . . . . . . . 10 ((𝑤 = 𝐺𝑠 = seq1((+g𝑤), (ℕ × {𝑥}))) → (invg𝑤) = (invg𝐺))
20 mulgval.i . . . . . . . . . 10 𝐼 = (invg𝐺)
2119, 20eqtr4di 2796 . . . . . . . . 9 ((𝑤 = 𝐺𝑠 = seq1((+g𝑤), (ℕ × {𝑥}))) → (invg𝑤) = 𝐼)
2216fveq1d 6776 . . . . . . . . 9 ((𝑤 = 𝐺𝑠 = seq1((+g𝑤), (ℕ × {𝑥}))) → (𝑠‘-𝑛) = (seq1( + , (ℕ × {𝑥}))‘-𝑛))
2321, 22fveq12d 6781 . . . . . . . 8 ((𝑤 = 𝐺𝑠 = seq1((+g𝑤), (ℕ × {𝑥}))) → ((invg𝑤)‘(𝑠‘-𝑛)) = (𝐼‘(seq1( + , (ℕ × {𝑥}))‘-𝑛)))
2417, 23ifeq12d 4480 . . . . . . 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 4480 . . . . 5 (𝑤 = 𝐺 → if(𝑛 = 0, (0g𝑤), seq1((+g𝑤), (ℕ × {𝑥})) / 𝑠if(0 < 𝑛, (𝑠𝑛), ((invg𝑤)‘(𝑠‘-𝑛)))) = if(𝑛 = 0, 0 , if(0 < 𝑛, (seq1( + , (ℕ × {𝑥}))‘𝑛), (𝐼‘(seq1( + , (ℕ × {𝑥}))‘-𝑛)))))
272, 5, 26mpoeq123dv 7350 . . . 4 (𝑤 = 𝐺 → (𝑛 ∈ ℤ, 𝑥 ∈ (Base‘𝑤) ↦ if(𝑛 = 0, (0g𝑤), seq1((+g𝑤), (ℕ × {𝑥})) / 𝑠if(0 < 𝑛, (𝑠𝑛), ((invg𝑤)‘(𝑠‘-𝑛))))) = (𝑛 ∈ ℤ, 𝑥𝐵 ↦ if(𝑛 = 0, 0 , if(0 < 𝑛, (seq1( + , (ℕ × {𝑥}))‘𝑛), (𝐼‘(seq1( + , (ℕ × {𝑥}))‘-𝑛))))))
28 df-mulg 18701 . . . 4 .g = (𝑤 ∈ V ↦ (𝑛 ∈ ℤ, 𝑥 ∈ (Base‘𝑤) ↦ if(𝑛 = 0, (0g𝑤), seq1((+g𝑤), (ℕ × {𝑥})) / 𝑠if(0 < 𝑛, (𝑠𝑛), ((invg𝑤)‘(𝑠‘-𝑛))))))
29 zex 12328 . . . . 5 ℤ ∈ V
304fvexi 6788 . . . . 5 𝐵 ∈ V
3129, 30mpoex 7920 . . . 4 (𝑛 ∈ ℤ, 𝑥𝐵 ↦ if(𝑛 = 0, 0 , if(0 < 𝑛, (seq1( + , (ℕ × {𝑥}))‘𝑛), (𝐼‘(seq1( + , (ℕ × {𝑥}))‘-𝑛))))) ∈ V
3227, 28, 31fvmpt 6875 . . 3 (𝐺 ∈ V → (.g𝐺) = (𝑛 ∈ ℤ, 𝑥𝐵 ↦ if(𝑛 = 0, 0 , if(0 < 𝑛, (seq1( + , (ℕ × {𝑥}))‘𝑛), (𝐼‘(seq1( + , (ℕ × {𝑥}))‘-𝑛))))))
33 fvprc 6766 . . . 4 𝐺 ∈ V → (.g𝐺) = ∅)
34 eqid 2738 . . . . . . 7 (𝑛 ∈ ℤ, 𝑥𝐵 ↦ if(𝑛 = 0, 0 , if(0 < 𝑛, (seq1( + , (ℕ × {𝑥}))‘𝑛), (𝐼‘(seq1( + , (ℕ × {𝑥}))‘-𝑛))))) = (𝑛 ∈ ℤ, 𝑥𝐵 ↦ if(𝑛 = 0, 0 , if(0 < 𝑛, (seq1( + , (ℕ × {𝑥}))‘𝑛), (𝐼‘(seq1( + , (ℕ × {𝑥}))‘-𝑛)))))
357fvexi 6788 . . . . . . . 8 0 ∈ V
36 fvex 6787 . . . . . . . . 9 (seq1( + , (ℕ × {𝑥}))‘𝑛) ∈ V
37 fvex 6787 . . . . . . . . 9 (𝐼‘(seq1( + , (ℕ × {𝑥}))‘-𝑛)) ∈ V
3836, 37ifex 4509 . . . . . . . 8 if(0 < 𝑛, (seq1( + , (ℕ × {𝑥}))‘𝑛), (𝐼‘(seq1( + , (ℕ × {𝑥}))‘-𝑛))) ∈ V
3935, 38ifex 4509 . . . . . . 7 if(𝑛 = 0, 0 , if(0 < 𝑛, (seq1( + , (ℕ × {𝑥}))‘𝑛), (𝐼‘(seq1( + , (ℕ × {𝑥}))‘-𝑛)))) ∈ V
4034, 39fnmpoi 7910 . . . . . 6 (𝑛 ∈ ℤ, 𝑥𝐵 ↦ if(𝑛 = 0, 0 , if(0 < 𝑛, (seq1( + , (ℕ × {𝑥}))‘𝑛), (𝐼‘(seq1( + , (ℕ × {𝑥}))‘-𝑛))))) Fn (ℤ × 𝐵)
41 fvprc 6766 . . . . . . . . . 10 𝐺 ∈ V → (Base‘𝐺) = ∅)
424, 41eqtrid 2790 . . . . . . . . 9 𝐺 ∈ V → 𝐵 = ∅)
4342xpeq2d 5619 . . . . . . . 8 𝐺 ∈ V → (ℤ × 𝐵) = (ℤ × ∅))
44 xp0 6061 . . . . . . . 8 (ℤ × ∅) = ∅
4543, 44eqtrdi 2794 . . . . . . 7 𝐺 ∈ V → (ℤ × 𝐵) = ∅)
4645fneq2d 6527 . . . . . 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 6564 . . . . 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 3432  csb 3832  c0 4256  ifcif 4459  {csn 4561   class class class wbr 5074   × cxp 5587   Fn wfn 6428  cfv 6433  cmpo 7277  0cc0 10871  1c1 10872   < clt 11009  -cneg 11206  cn 11973  cz 12319  seqcseq 13721  Basecbs 16912  +gcplusg 16962  0gc0g 17150  invgcminusg 18578  .gcmg 18700
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 5223  ax-nul 5230  ax-pow 5288  ax-pr 5352  ax-un 7588  ax-inf2 9399  ax-cnex 10927  ax-resscn 10928
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 3072  df-rab 3073  df-v 3434  df-sbc 3717  df-csb 3833  df-dif 3890  df-un 3892  df-in 3894  df-ss 3904  df-pss 3906  df-nul 4257  df-if 4460  df-pw 4535  df-sn 4562  df-pr 4564  df-op 4568  df-uni 4840  df-iun 4926  df-br 5075  df-opab 5137  df-mpt 5158  df-tr 5192  df-id 5489  df-eprel 5495  df-po 5503  df-so 5504  df-fr 5544  df-we 5546  df-xp 5595  df-rel 5596  df-cnv 5597  df-co 5598  df-dm 5599  df-rn 5600  df-res 5601  df-ima 5602  df-pred 6202  df-ord 6269  df-on 6270  df-lim 6271  df-suc 6272  df-iota 6391  df-fun 6435  df-fn 6436  df-f 6437  df-f1 6438  df-fo 6439  df-f1o 6440  df-fv 6441  df-ov 7278  df-oprab 7279  df-mpo 7280  df-om 7713  df-1st 7831  df-2nd 7832  df-frecs 8097  df-wrecs 8128  df-recs 8202  df-rdg 8241  df-neg 11208  df-z 12320  df-seq 13722  df-mulg 18701
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator