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

Theorem gsumval 18941
Description: Expand out the substitutions in df-gsum 17688. (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-1onto𝑊 ∧ 𝑥 = (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 6945 . . . 4 𝐵 ∈ V
109a1i 11 . . 3 (𝜑 → 𝐵 ∈ V)
11 fex2 7998 . . 3 ((𝐹:𝐴⟶𝐵 ∧ 𝐴 ∈ 𝑋 ∧ 𝐵 ∈ V) → 𝐹 ∈ V)
127, 8, 10, 11syl3anc 1401 . 2 (𝜑 → 𝐹 ∈ V)
137fdmd 6765 . 2 (𝜑 → dom 𝐹 = 𝐴)
141, 2, 3, 4, 5, 6, 12, 13gsumvalx 18940 1 (𝜑 → (𝐺 Σg 𝐹) = if(ran 𝐹 ⊆ 𝑂, 0 , if(𝐴 ∈ ran ..., (℩𝑥∃𝑚∃𝑛 ∈ (ℤ≥‘𝑚)(𝐴 = (𝑚...𝑛) ∧ 𝑥 = (seq𝑚( + , 𝐹)‘𝑛))), (℩𝑥∃𝑓(𝑓:(1...(♯‘𝑊))⟶1-1onto𝑊 ∧ 𝑥 = (seq1( + , (𝐹 ∘ 𝑓))‘(♯‘𝑊)))))))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ∧ wa 401   = wceq 1572  ∃wex 1818   ∈ wcel 2156  ∀wral 3091  ∃wrex 3101  {crab 3423  Vcvv 3461   ⊆ wss 3907   ∖ cdif 4055  ifcif 4492  ◡ccnv 5665  ran crn 5667   “ cima 5669   ∘ ccom 5670  ℩cio 6530  ⟶wf 6574  ⟶1-1ontowf1o 6577  ‘cfv 6578  (class class class)co 7467  1c1 11256  ℤ≥cuz 13021  ...cfz 13695  seqcseq 14202  ♯chash 14533  Basecbs 17452  +gcplusg 17493  0gc0g 17685   Σg cgsu 17686
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1834  ax-4 1848  ax-5 1951  ax-6 2009  ax-7 2050  ax-8 2158  ax-9 2166  ax-10 2189  ax-11 2206  ax-12 2225  ax-ext 2746  ax-sep 5263  ax-nul 5274  ax-pow 5342  ax-pr 5406  ax-un 7799
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1106  df-tru 1575  df-fal 1585  df-ex 1819  df-nf 1823  df-sb 2110  df-mo 2576  df-eu 2606  df-clab 2753  df-cleq 2766  df-clel 2850  df-nfc 2924  df-ne 2971  df-ral 3092  df-rex 3102  df-rab 3424  df-v 3463  df-sbc 3750  df-csb 3859  df-ss 3908  df-dif 4057  df-in 4101  df-un 4161  df-nul 4289  df-if 4493  df-pw 4569  df-sn 4596  df-pr 4598  df-op 4849  df-uni 4881  df-br 5117  df-opab 5182  df-mpt 5201  df-id 5561  df-xp 5672  df-rel 5673  df-cnv 5674  df-co 5675  df-dm 5676  df-rn 5677  df-res 5678  df-ima 5679  df-pred 6342  df-iota 6532  df-fun 6580  df-fn 6581  df-f 6582  df-f1 6583  df-fo 6584  df-f1o 6585  df-fv 6586  df-ov 7470  df-oprab 7471  df-mpo 7472  df-frecs 8353  df-wrecs 8384  df-recs 8433  df-rdg 8472  df-seq 14203  df-gsum 17688
This theorem is used by:  gsumress  18946  gsumval1  18947  gsumval2a  18949  gsumval3a  20195
  Copyright terms: Public domain W3C validator