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

Theorem gsum2d2lem 19086
Description: Lemma for gsum2d2 19087: show the function is finitely supported. (Contributed by Mario Carneiro, 28-Dec-2014.) (Revised by AV, 9-Jun-2019.)
Hypotheses
Ref Expression
gsum2d2.b 𝐵 = (Base‘𝐺)
gsum2d2.z 0 = (0g𝐺)
gsum2d2.g (𝜑𝐺 ∈ CMnd)
gsum2d2.a (𝜑𝐴𝑉)
gsum2d2.r ((𝜑𝑗𝐴) → 𝐶𝑊)
gsum2d2.f ((𝜑 ∧ (𝑗𝐴𝑘𝐶)) → 𝑋𝐵)
gsum2d2.u (𝜑𝑈 ∈ Fin)
gsum2d2.n ((𝜑 ∧ ((𝑗𝐴𝑘𝐶) ∧ ¬ 𝑗𝑈𝑘)) → 𝑋 = 0 )
Assertion
Ref Expression
gsum2d2lem (𝜑 → (𝑗𝐴, 𝑘𝐶𝑋) finSupp 0 )
Distinct variable groups:   𝑗,𝑘,𝐵   𝜑,𝑗,𝑘   𝐴,𝑗,𝑘   𝑗,𝐺,𝑘   𝑈,𝑗,𝑘   𝐶,𝑘   𝑗,𝑉   0 ,𝑗,𝑘
Allowed substitution hints:   𝐶(𝑗)   𝑉(𝑘)   𝑊(𝑗,𝑘)   𝑋(𝑗,𝑘)

Proof of Theorem gsum2d2lem
Dummy variable 𝑧 is distinct from all other variables.
StepHypRef Expression
1 eqid 2798 . . . 4 (𝑗𝐴, 𝑘𝐶𝑋) = (𝑗𝐴, 𝑘𝐶𝑋)
21mpofun 7255 . . 3 Fun (𝑗𝐴, 𝑘𝐶𝑋)
32a1i 11 . 2 (𝜑 → Fun (𝑗𝐴, 𝑘𝐶𝑋))
4 gsum2d2.u . . 3 (𝜑𝑈 ∈ Fin)
5 gsum2d2.f . . . . . 6 ((𝜑 ∧ (𝑗𝐴𝑘𝐶)) → 𝑋𝐵)
65ralrimivva 3156 . . . . 5 (𝜑 → ∀𝑗𝐴𝑘𝐶 𝑋𝐵)
71fmpox 7747 . . . . 5 (∀𝑗𝐴𝑘𝐶 𝑋𝐵 ↔ (𝑗𝐴, 𝑘𝐶𝑋): 𝑗𝐴 ({𝑗} × 𝐶)⟶𝐵)
86, 7sylib 221 . . . 4 (𝜑 → (𝑗𝐴, 𝑘𝐶𝑋): 𝑗𝐴 ({𝑗} × 𝐶)⟶𝐵)
9 nfv 1915 . . . . . 6 𝑗𝜑
10 nfiu1 4915 . . . . . . . 8 𝑗 𝑗𝐴 ({𝑗} × 𝐶)
11 nfcv 2955 . . . . . . . 8 𝑗𝑈
1210, 11nfdif 4053 . . . . . . 7 𝑗( 𝑗𝐴 ({𝑗} × 𝐶) ∖ 𝑈)
1312nfcri 2943 . . . . . 6 𝑗 𝑧 ∈ ( 𝑗𝐴 ({𝑗} × 𝐶) ∖ 𝑈)
149, 13nfan 1900 . . . . 5 𝑗(𝜑𝑧 ∈ ( 𝑗𝐴 ({𝑗} × 𝐶) ∖ 𝑈))
15 nfmpo1 7213 . . . . . . 7 𝑗(𝑗𝐴, 𝑘𝐶𝑋)
16 nfcv 2955 . . . . . . 7 𝑗𝑧
1715, 16nffv 6655 . . . . . 6 𝑗((𝑗𝐴, 𝑘𝐶𝑋)‘𝑧)
1817nfeq1 2970 . . . . 5 𝑗((𝑗𝐴, 𝑘𝐶𝑋)‘𝑧) = 0
19 relxp 5537 . . . . . . . 8 Rel ({𝑗} × 𝐶)
2019rgenw 3118 . . . . . . 7 𝑗𝐴 Rel ({𝑗} × 𝐶)
21 reliun 5653 . . . . . . 7 (Rel 𝑗𝐴 ({𝑗} × 𝐶) ↔ ∀𝑗𝐴 Rel ({𝑗} × 𝐶))
2220, 21mpbir 234 . . . . . 6 Rel 𝑗𝐴 ({𝑗} × 𝐶)
23 eldifi 4054 . . . . . . 7 (𝑧 ∈ ( 𝑗𝐴 ({𝑗} × 𝐶) ∖ 𝑈) → 𝑧 𝑗𝐴 ({𝑗} × 𝐶))
2423adantl 485 . . . . . 6 ((𝜑𝑧 ∈ ( 𝑗𝐴 ({𝑗} × 𝐶) ∖ 𝑈)) → 𝑧 𝑗𝐴 ({𝑗} × 𝐶))
25 elrel 5635 . . . . . 6 ((Rel 𝑗𝐴 ({𝑗} × 𝐶) ∧ 𝑧 𝑗𝐴 ({𝑗} × 𝐶)) → ∃𝑗𝑘 𝑧 = ⟨𝑗, 𝑘⟩)
2622, 24, 25sylancr 590 . . . . 5 ((𝜑𝑧 ∈ ( 𝑗𝐴 ({𝑗} × 𝐶) ∖ 𝑈)) → ∃𝑗𝑘 𝑧 = ⟨𝑗, 𝑘⟩)
27 nfv 1915 . . . . . 6 𝑘(𝜑𝑧 ∈ ( 𝑗𝐴 ({𝑗} × 𝐶) ∖ 𝑈))
28 nfmpo2 7214 . . . . . . . 8 𝑘(𝑗𝐴, 𝑘𝐶𝑋)
29 nfcv 2955 . . . . . . . 8 𝑘𝑧
3028, 29nffv 6655 . . . . . . 7 𝑘((𝑗𝐴, 𝑘𝐶𝑋)‘𝑧)
3130nfeq1 2970 . . . . . 6 𝑘((𝑗𝐴, 𝑘𝐶𝑋)‘𝑧) = 0
32 simprr 772 . . . . . . . . 9 ((𝜑 ∧ (𝑧 ∈ ( 𝑗𝐴 ({𝑗} × 𝐶) ∖ 𝑈) ∧ 𝑧 = ⟨𝑗, 𝑘⟩)) → 𝑧 = ⟨𝑗, 𝑘⟩)
3332fveq2d 6649 . . . . . . . 8 ((𝜑 ∧ (𝑧 ∈ ( 𝑗𝐴 ({𝑗} × 𝐶) ∖ 𝑈) ∧ 𝑧 = ⟨𝑗, 𝑘⟩)) → ((𝑗𝐴, 𝑘𝐶𝑋)‘𝑧) = ((𝑗𝐴, 𝑘𝐶𝑋)‘⟨𝑗, 𝑘⟩))
34 df-ov 7138 . . . . . . . . 9 (𝑗(𝑗𝐴, 𝑘𝐶𝑋)𝑘) = ((𝑗𝐴, 𝑘𝐶𝑋)‘⟨𝑗, 𝑘⟩)
35 simprl 770 . . . . . . . . . . . . . 14 ((𝜑 ∧ (𝑧 ∈ ( 𝑗𝐴 ({𝑗} × 𝐶) ∖ 𝑈) ∧ 𝑧 = ⟨𝑗, 𝑘⟩)) → 𝑧 ∈ ( 𝑗𝐴 ({𝑗} × 𝐶) ∖ 𝑈))
3632, 35eqeltrrd 2891 . . . . . . . . . . . . 13 ((𝜑 ∧ (𝑧 ∈ ( 𝑗𝐴 ({𝑗} × 𝐶) ∖ 𝑈) ∧ 𝑧 = ⟨𝑗, 𝑘⟩)) → ⟨𝑗, 𝑘⟩ ∈ ( 𝑗𝐴 ({𝑗} × 𝐶) ∖ 𝑈))
3736eldifad 3893 . . . . . . . . . . . 12 ((𝜑 ∧ (𝑧 ∈ ( 𝑗𝐴 ({𝑗} × 𝐶) ∖ 𝑈) ∧ 𝑧 = ⟨𝑗, 𝑘⟩)) → ⟨𝑗, 𝑘⟩ ∈ 𝑗𝐴 ({𝑗} × 𝐶))
38 opeliunxp 5583 . . . . . . . . . . . 12 (⟨𝑗, 𝑘⟩ ∈ 𝑗𝐴 ({𝑗} × 𝐶) ↔ (𝑗𝐴𝑘𝐶))
3937, 38sylib 221 . . . . . . . . . . 11 ((𝜑 ∧ (𝑧 ∈ ( 𝑗𝐴 ({𝑗} × 𝐶) ∖ 𝑈) ∧ 𝑧 = ⟨𝑗, 𝑘⟩)) → (𝑗𝐴𝑘𝐶))
4039simpld 498 . . . . . . . . . 10 ((𝜑 ∧ (𝑧 ∈ ( 𝑗𝐴 ({𝑗} × 𝐶) ∖ 𝑈) ∧ 𝑧 = ⟨𝑗, 𝑘⟩)) → 𝑗𝐴)
4139simprd 499 . . . . . . . . . 10 ((𝜑 ∧ (𝑧 ∈ ( 𝑗𝐴 ({𝑗} × 𝐶) ∖ 𝑈) ∧ 𝑧 = ⟨𝑗, 𝑘⟩)) → 𝑘𝐶)
4239, 5syldan 594 . . . . . . . . . 10 ((𝜑 ∧ (𝑧 ∈ ( 𝑗𝐴 ({𝑗} × 𝐶) ∖ 𝑈) ∧ 𝑧 = ⟨𝑗, 𝑘⟩)) → 𝑋𝐵)
431ovmpt4g 7276 . . . . . . . . . 10 ((𝑗𝐴𝑘𝐶𝑋𝐵) → (𝑗(𝑗𝐴, 𝑘𝐶𝑋)𝑘) = 𝑋)
4440, 41, 42, 43syl3anc 1368 . . . . . . . . 9 ((𝜑 ∧ (𝑧 ∈ ( 𝑗𝐴 ({𝑗} × 𝐶) ∖ 𝑈) ∧ 𝑧 = ⟨𝑗, 𝑘⟩)) → (𝑗(𝑗𝐴, 𝑘𝐶𝑋)𝑘) = 𝑋)
4534, 44syl5eqr 2847 . . . . . . . 8 ((𝜑 ∧ (𝑧 ∈ ( 𝑗𝐴 ({𝑗} × 𝐶) ∖ 𝑈) ∧ 𝑧 = ⟨𝑗, 𝑘⟩)) → ((𝑗𝐴, 𝑘𝐶𝑋)‘⟨𝑗, 𝑘⟩) = 𝑋)
46 eldifn 4055 . . . . . . . . . . . 12 (𝑧 ∈ ( 𝑗𝐴 ({𝑗} × 𝐶) ∖ 𝑈) → ¬ 𝑧𝑈)
4746ad2antrl 727 . . . . . . . . . . 11 ((𝜑 ∧ (𝑧 ∈ ( 𝑗𝐴 ({𝑗} × 𝐶) ∖ 𝑈) ∧ 𝑧 = ⟨𝑗, 𝑘⟩)) → ¬ 𝑧𝑈)
4832eleq1d 2874 . . . . . . . . . . . 12 ((𝜑 ∧ (𝑧 ∈ ( 𝑗𝐴 ({𝑗} × 𝐶) ∖ 𝑈) ∧ 𝑧 = ⟨𝑗, 𝑘⟩)) → (𝑧𝑈 ↔ ⟨𝑗, 𝑘⟩ ∈ 𝑈))
49 df-br 5031 . . . . . . . . . . . 12 (𝑗𝑈𝑘 ↔ ⟨𝑗, 𝑘⟩ ∈ 𝑈)
5048, 49syl6bbr 292 . . . . . . . . . . 11 ((𝜑 ∧ (𝑧 ∈ ( 𝑗𝐴 ({𝑗} × 𝐶) ∖ 𝑈) ∧ 𝑧 = ⟨𝑗, 𝑘⟩)) → (𝑧𝑈𝑗𝑈𝑘))
5147, 50mtbid 327 . . . . . . . . . 10 ((𝜑 ∧ (𝑧 ∈ ( 𝑗𝐴 ({𝑗} × 𝐶) ∖ 𝑈) ∧ 𝑧 = ⟨𝑗, 𝑘⟩)) → ¬ 𝑗𝑈𝑘)
5239, 51jca 515 . . . . . . . . 9 ((𝜑 ∧ (𝑧 ∈ ( 𝑗𝐴 ({𝑗} × 𝐶) ∖ 𝑈) ∧ 𝑧 = ⟨𝑗, 𝑘⟩)) → ((𝑗𝐴𝑘𝐶) ∧ ¬ 𝑗𝑈𝑘))
53 gsum2d2.n . . . . . . . . 9 ((𝜑 ∧ ((𝑗𝐴𝑘𝐶) ∧ ¬ 𝑗𝑈𝑘)) → 𝑋 = 0 )
5452, 53syldan 594 . . . . . . . 8 ((𝜑 ∧ (𝑧 ∈ ( 𝑗𝐴 ({𝑗} × 𝐶) ∖ 𝑈) ∧ 𝑧 = ⟨𝑗, 𝑘⟩)) → 𝑋 = 0 )
5533, 45, 543eqtrd 2837 . . . . . . 7 ((𝜑 ∧ (𝑧 ∈ ( 𝑗𝐴 ({𝑗} × 𝐶) ∖ 𝑈) ∧ 𝑧 = ⟨𝑗, 𝑘⟩)) → ((𝑗𝐴, 𝑘𝐶𝑋)‘𝑧) = 0 )
5655expr 460 . . . . . 6 ((𝜑𝑧 ∈ ( 𝑗𝐴 ({𝑗} × 𝐶) ∖ 𝑈)) → (𝑧 = ⟨𝑗, 𝑘⟩ → ((𝑗𝐴, 𝑘𝐶𝑋)‘𝑧) = 0 ))
5727, 31, 56exlimd 2216 . . . . 5 ((𝜑𝑧 ∈ ( 𝑗𝐴 ({𝑗} × 𝐶) ∖ 𝑈)) → (∃𝑘 𝑧 = ⟨𝑗, 𝑘⟩ → ((𝑗𝐴, 𝑘𝐶𝑋)‘𝑧) = 0 ))
5814, 18, 26, 57exlimimdd 2217 . . . 4 ((𝜑𝑧 ∈ ( 𝑗𝐴 ({𝑗} × 𝐶) ∖ 𝑈)) → ((𝑗𝐴, 𝑘𝐶𝑋)‘𝑧) = 0 )
598, 58suppss 7843 . . 3 (𝜑 → ((𝑗𝐴, 𝑘𝐶𝑋) supp 0 ) ⊆ 𝑈)
604, 59ssfid 8725 . 2 (𝜑 → ((𝑗𝐴, 𝑘𝐶𝑋) supp 0 ) ∈ Fin)
61 gsum2d2.a . . . 4 (𝜑𝐴𝑉)
62 gsum2d2.r . . . . 5 ((𝜑𝑗𝐴) → 𝐶𝑊)
6362ralrimiva 3149 . . . 4 (𝜑 → ∀𝑗𝐴 𝐶𝑊)
641mpoexxg 7756 . . . 4 ((𝐴𝑉 ∧ ∀𝑗𝐴 𝐶𝑊) → (𝑗𝐴, 𝑘𝐶𝑋) ∈ V)
6561, 63, 64syl2anc 587 . . 3 (𝜑 → (𝑗𝐴, 𝑘𝐶𝑋) ∈ V)
66 gsum2d2.z . . . . 5 0 = (0g𝐺)
6766fvexi 6659 . . . 4 0 ∈ V
6867a1i 11 . . 3 (𝜑0 ∈ V)
69 isfsupp 8821 . . 3 (((𝑗𝐴, 𝑘𝐶𝑋) ∈ V ∧ 0 ∈ V) → ((𝑗𝐴, 𝑘𝐶𝑋) finSupp 0 ↔ (Fun (𝑗𝐴, 𝑘𝐶𝑋) ∧ ((𝑗𝐴, 𝑘𝐶𝑋) supp 0 ) ∈ Fin)))
7065, 68, 69syl2anc 587 . 2 (𝜑 → ((𝑗𝐴, 𝑘𝐶𝑋) finSupp 0 ↔ (Fun (𝑗𝐴, 𝑘𝐶𝑋) ∧ ((𝑗𝐴, 𝑘𝐶𝑋) supp 0 ) ∈ Fin)))
713, 60, 70mpbir2and 712 1 (𝜑 → (𝑗𝐴, 𝑘𝐶𝑋) finSupp 0 )
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 209  wa 399   = wceq 1538  wex 1781  wcel 2111  wral 3106  Vcvv 3441  cdif 3878  {csn 4525  cop 4531   ciun 4881   class class class wbr 5030   × cxp 5517  Rel wrel 5524  Fun wfun 6318  wf 6320  cfv 6324  (class class class)co 7135  cmpo 7137   supp csupp 7813  Fincfn 8492   finSupp cfsupp 8817  Basecbs 16475  0gc0g 16705  CMndccmn 18898
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1797  ax-4 1811  ax-5 1911  ax-6 1970  ax-7 2015  ax-8 2113  ax-9 2121  ax-10 2142  ax-11 2158  ax-12 2175  ax-ext 2770  ax-rep 5154  ax-sep 5167  ax-nul 5174  ax-pow 5231  ax-pr 5295  ax-un 7441
This theorem depends on definitions:  df-bi 210  df-an 400  df-or 845  df-3or 1085  df-3an 1086  df-tru 1541  df-ex 1782  df-nf 1786  df-sb 2070  df-mo 2598  df-eu 2629  df-clab 2777  df-cleq 2791  df-clel 2870  df-nfc 2938  df-ne 2988  df-ral 3111  df-rex 3112  df-reu 3113  df-rab 3115  df-v 3443  df-sbc 3721  df-csb 3829  df-dif 3884  df-un 3886  df-in 3888  df-ss 3898  df-pss 3900  df-nul 4244  df-if 4426  df-pw 4499  df-sn 4526  df-pr 4528  df-tp 4530  df-op 4532  df-uni 4801  df-iun 4883  df-br 5031  df-opab 5093  df-mpt 5111  df-tr 5137  df-id 5425  df-eprel 5430  df-po 5438  df-so 5439  df-fr 5478  df-we 5480  df-xp 5525  df-rel 5526  df-cnv 5527  df-co 5528  df-dm 5529  df-rn 5530  df-res 5531  df-ima 5532  df-ord 6162  df-on 6163  df-lim 6164  df-suc 6165  df-iota 6283  df-fun 6326  df-fn 6327  df-f 6328  df-f1 6329  df-fo 6330  df-f1o 6331  df-fv 6332  df-ov 7138  df-oprab 7139  df-mpo 7140  df-om 7561  df-1st 7671  df-2nd 7672  df-supp 7814  df-er 8272  df-en 8493  df-fin 8496  df-fsupp 8818
This theorem is referenced by:  gsum2d2  19087  gsumcom2  19088
  Copyright terms: Public domain W3C validator