Metamath Proof Explorer


Theorem gsum0

Description: Value of the empty group sum. (Contributed by Mario Carneiro, 7-Dec-2014)

Ref Expression
Hypothesis gsum0.z 0 = ( 0g𝐺 )
Assertion gsum0 ( 𝐺 Σg ∅ ) = 0

Proof

Step Hyp Ref Expression
1 gsum0.z 0 = ( 0g𝐺 )
2 eqid ( Base ‘ 𝐺 ) = ( Base ‘ 𝐺 )
3 eqid ( +g𝐺 ) = ( +g𝐺 )
4 eqid { 𝑥 ∈ ( Base ‘ 𝐺 ) ∣ ∀ 𝑦 ∈ ( Base ‘ 𝐺 ) ( ( 𝑥 ( +g𝐺 ) 𝑦 ) = 𝑦 ∧ ( 𝑦 ( +g𝐺 ) 𝑥 ) = 𝑦 ) } = { 𝑥 ∈ ( Base ‘ 𝐺 ) ∣ ∀ 𝑦 ∈ ( Base ‘ 𝐺 ) ( ( 𝑥 ( +g𝐺 ) 𝑦 ) = 𝑦 ∧ ( 𝑦 ( +g𝐺 ) 𝑥 ) = 𝑦 ) }
5 id ( 𝐺 ∈ V → 𝐺 ∈ V )
6 0ex ∅ ∈ V
7 6 a1i ( 𝐺 ∈ V → ∅ ∈ V )
8 f0 ∅ : ∅ ⟶ { 𝑥 ∈ ( Base ‘ 𝐺 ) ∣ ∀ 𝑦 ∈ ( Base ‘ 𝐺 ) ( ( 𝑥 ( +g𝐺 ) 𝑦 ) = 𝑦 ∧ ( 𝑦 ( +g𝐺 ) 𝑥 ) = 𝑦 ) }
9 8 a1i ( 𝐺 ∈ V → ∅ : ∅ ⟶ { 𝑥 ∈ ( Base ‘ 𝐺 ) ∣ ∀ 𝑦 ∈ ( Base ‘ 𝐺 ) ( ( 𝑥 ( +g𝐺 ) 𝑦 ) = 𝑦 ∧ ( 𝑦 ( +g𝐺 ) 𝑥 ) = 𝑦 ) } )
10 2 1 3 4 5 7 9 gsumval1 ( 𝐺 ∈ V → ( 𝐺 Σg ∅ ) = 0 )
11 df-gsum Σg = ( 𝑤 ∈ V , 𝑓 ∈ V ↦ { 𝑥 ∈ ( Base ‘ 𝑤 ) ∣ ∀ 𝑦 ∈ ( Base ‘ 𝑤 ) ( ( 𝑥 ( +g𝑤 ) 𝑦 ) = 𝑦 ∧ ( 𝑦 ( +g𝑤 ) 𝑥 ) = 𝑦 ) } / 𝑜 if ( ran 𝑓𝑜 , ( 0g𝑤 ) , if ( dom 𝑓 ∈ ran ... , ( ℩ 𝑥𝑚𝑛 ∈ ( ℤ𝑚 ) ( dom 𝑓 = ( 𝑚 ... 𝑛 ) ∧ 𝑥 = ( seq 𝑚 ( ( +g𝑤 ) , 𝑓 ) ‘ 𝑛 ) ) ) , ( ℩ 𝑥𝑔 [ ( 𝑓 “ ( V ∖ 𝑜 ) ) / 𝑦 ] ( 𝑔 : ( 1 ... ( ♯ ‘ 𝑦 ) ) –1-1-onto𝑦𝑥 = ( seq 1 ( ( +g𝑤 ) , ( 𝑓𝑔 ) ) ‘ ( ♯ ‘ 𝑦 ) ) ) ) ) ) )
12 11 reldmmpo Rel dom Σg
13 12 ovprc1 ( ¬ 𝐺 ∈ V → ( 𝐺 Σg ∅ ) = ∅ )
14 fvprc ( ¬ 𝐺 ∈ V → ( 0g𝐺 ) = ∅ )
15 1 14 eqtrid ( ¬ 𝐺 ∈ V → 0 = ∅ )
16 13 15 eqtr4d ( ¬ 𝐺 ∈ V → ( 𝐺 Σg ∅ ) = 0 )
17 10 16 pm2.61i ( 𝐺 Σg ∅ ) = 0