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

Theorem gsumval 18859
Description: Expand out the substitutions in df-gsum 17606. (Contributed by Mario Carneiro, 7-Dec-2014.)
Hypotheses
Ref Expression
gsumval.b 𝐵 = (Base‘𝐺)
gsumval.z 0 = (0g‘𝐺)
gsumval.p + = (+g‘𝐺)
gsumval.o 𝑂 = {𝑠 ∈ 𝐵 ∣ ∀𝑡 ∈ 𝐵 ((𝑠 + 𝑡) = 𝑡 ∧ (𝑡 + 𝑠) = 𝑡)}
gsumval.w (𝜑 → 𝑊 = (◡𝐹 “ (V ∖ 𝑂)))
gsumval.g (𝜑 → 𝐺 ∈ 𝑉)
gsumval.a (𝜑 → 𝐴 ∈ 𝑋)
gsumval.f (𝜑 → 𝐹:𝐴⟶𝐵)
Assertion
Ref Expression
gsumval (𝜑 → (𝐺 Σg 𝐹) = if(ran 𝐹 ⊆ 𝑂, 0 , if(𝐴 ∈ ran ..., (℩𝑥∃𝑚∃𝑛 ∈ (ℤ≥‘𝑚)(𝐴 = (𝑚...𝑛) ∧ 𝑥 = (seq𝑚( + , 𝐹)‘𝑛))), (℩𝑥∃𝑓(𝑓:(1...(♯‘𝑊))–1-1-onto→𝑊 ∧ 𝑥 = (seq1( + , (𝐹 ∘ 𝑓))‘(♯‘𝑊)))))))
Distinct variable groups:   𝑡,𝑠,𝑥,𝐵   𝑓,𝑚,𝑛,𝑥,𝜑   𝑓,𝐹,𝑚,𝑛,𝑥   𝑓,𝐺,𝑚,𝑛,𝑥   + ,𝑠,𝑡,𝑥   𝑓,𝑂,𝑚,𝑛,𝑥
Allowed substitution hints:   𝜑(𝑡, 𝑠)   𝐴(𝑥, 𝑡, 𝑓, 𝑚, 𝑛, 𝑠)   𝐵(𝑓, 𝑚, 𝑛)   + (𝑓, 𝑚, 𝑛)   𝐹(𝑡, 𝑠)   𝐺(𝑡, 𝑠)   𝑂(𝑡, 𝑠)   𝑉(𝑥, 𝑡, 𝑓, 𝑚, 𝑛, 𝑠)   𝑊(𝑥, 𝑡, 𝑓, 𝑚, 𝑛, 𝑠)   𝑋(𝑥, 𝑡, 𝑓, 𝑚, 𝑛, 𝑠)   0 (𝑥, 𝑡, 𝑓, 𝑚, 𝑛, 𝑠)

Proof of Theorem gsumval
StepHypRef Expression
1 gsumval.b . 2 𝐵 = (Base‘𝐺)
2 gsumval.z . 2 0 = (0g‘𝐺)
3 gsumval.p . 2 + = (+g‘𝐺)
4 gsumval.o . 2 𝑂 = {𝑠 ∈ 𝐵 ∣ ∀𝑡 ∈ 𝐵 ((𝑠 + 𝑡) = 𝑡 ∧ (𝑡 + 𝑠) = 𝑡)}
5 gsumval.w . 2 (𝜑 → 𝑊 = (◡𝐹 “ (V ∖ 𝑂)))
6 gsumval.g . 2 (𝜑 → 𝐺 ∈ 𝑉)
7 gsumval.f . . 3 (𝜑 → 𝐹:𝐴⟶𝐵)
8 gsumval.a . . 3 (𝜑 → 𝐴 ∈ 𝑋)
91fvexi 6897 . . . 4 𝐵 ∈ V
109a1i 11 . . 3 (𝜑 → 𝐵 ∈ V)
11 fex2 7946 . . 3 ((𝐹:𝐴⟶𝐵 ∧ 𝐴 ∈ 𝑋 ∧ 𝐵 ∈ V) → 𝐹 ∈ V)
127, 8, 10, 11syl3anc 1398 . 2 (𝜑 → 𝐹 ∈ V)
137fdmd 6718 . 2 (𝜑 → dom 𝐹 = 𝐴)
141, 2, 3, 4, 5, 6, 12, 13gsumvalx 18858 1 (𝜑 → (𝐺 Σg 𝐹) = if(ran 𝐹 ⊆ 𝑂, 0 , if(𝐴 ∈ ran ..., (℩𝑥∃𝑚∃𝑛 ∈ (ℤ≥‘𝑚)(𝐴 = (𝑚...𝑛) ∧ 𝑥 = (seq𝑚( + , 𝐹)‘𝑛))), (℩𝑥∃𝑓(𝑓:(1...(♯‘𝑊))–1-1-onto→𝑊 ∧ 𝑥 = (seq1( + , (𝐹 ∘ 𝑓))‘(♯‘𝑊)))))))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ∧ wa 401   = wceq 1570  ∃wex 1812   ∈ wcel 2145  ∀wral 3077  ∃wrex 3087  {crab 3413  Vcvv 3451   ∖ cdif 3896   ⊆ wss 3899  ifcif 4482  ◡ccnv 5650  ran crn 5652   “ cima 5654   ∘ ccom 5655  ℩cio 6491  ⟶wf 6533  –1-1-onto→wf1o 6536  ‘cfv 6537  (class class class)co 7418  1c1 11194  ℤ≥cuz 12958  ...cfz 13632  seqcseq 14137  ♯chash 14467  Basecbs 17380  +gcplusg 17421  0gc0g 17603   Σg cgsu 17604
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-sep 5249  ax-nul 5260  ax-pow 5327  ax-pr 5391  ax-un 7749
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  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-ral 3078  df-rex 3088  df-rab 3414  df-v 3453  df-sbc 3740  df-csb 3848  df-dif 3902  df-un 3904  df-in 3906  df-ss 3916  df-nul 4280  df-if 4483  df-pw 4559  df-sn 4585  df-pr 4587  df-op 4591  df-uni 4868  df-br 5104  df-opab 5168  df-mpt 5187  df-id 5546  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 6303  df-iota 6493  df-fun 6539  df-fn 6540  df-f 6541  df-f1 6542  df-fo 6543  df-f1o 6544  df-fv 6545  df-ov 7421  df-oprab 7422  df-mpo 7423  df-frecs 8292  df-wrecs 8323  df-recs 8372  df-rdg 8411  df-seq 14138  df-gsum 17606
This theorem is used by:  gsumress  18864  gsumval1  18865  gsumval2a  18867  gsumval3a  20110
  Copyright terms: Public domain W3C validator