ILE Home Intuitionistic Logic Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  ILE Home  >  Th. List  >  gsumpropd2 GIF version

Theorem gsumpropd2 13275
Description: A stronger version of gsumpropd 13274, working for magma, where only the closure of the addition operation on a common base is required, see gsummgmpropd 13276. (Contributed by Thierry Arnoux, 28-Jun-2017.)
Hypotheses
Ref Expression
gsumpropd2.f (𝜑𝐹𝑉)
gsumpropd2.g (𝜑𝐺𝑊)
gsumpropd2.h (𝜑𝐻𝑋)
gsumpropd2.b (𝜑 → (Base‘𝐺) = (Base‘𝐻))
gsumpropd2.c ((𝜑 ∧ (𝑠 ∈ (Base‘𝐺) ∧ 𝑡 ∈ (Base‘𝐺))) → (𝑠(+g𝐺)𝑡) ∈ (Base‘𝐺))
gsumpropd2.e ((𝜑 ∧ (𝑠 ∈ (Base‘𝐺) ∧ 𝑡 ∈ (Base‘𝐺))) → (𝑠(+g𝐺)𝑡) = (𝑠(+g𝐻)𝑡))
gsumpropd2.n (𝜑 → Fun 𝐹)
gsumpropd2.r (𝜑 → ran 𝐹 ⊆ (Base‘𝐺))
Assertion
Ref Expression
gsumpropd2 (𝜑 → (𝐺 Σg 𝐹) = (𝐻 Σg 𝐹))
Distinct variable groups:   𝐹,𝑠,𝑡   𝐺,𝑠,𝑡   𝐻,𝑠,𝑡   𝜑,𝑠,𝑡
Allowed substitution hints:   𝑉(𝑡,𝑠)   𝑊(𝑡,𝑠)   𝑋(𝑡,𝑠)

Proof of Theorem gsumpropd2
Dummy variables 𝑚 𝑛 𝑥 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 eqidd 2207 . . . . . . 7 (𝜑 → (Base‘𝐺) = (Base‘𝐺))
2 gsumpropd2.b . . . . . . 7 (𝜑 → (Base‘𝐺) = (Base‘𝐻))
3 gsumpropd2.g . . . . . . 7 (𝜑𝐺𝑊)
4 gsumpropd2.h . . . . . . 7 (𝜑𝐻𝑋)
5 gsumpropd2.e . . . . . . 7 ((𝜑 ∧ (𝑠 ∈ (Base‘𝐺) ∧ 𝑡 ∈ (Base‘𝐺))) → (𝑠(+g𝐺)𝑡) = (𝑠(+g𝐻)𝑡))
61, 2, 3, 4, 5grpidpropdg 13256 . . . . . 6 (𝜑 → (0g𝐺) = (0g𝐻))
76eqeq2d 2218 . . . . 5 (𝜑 → (𝑥 = (0g𝐺) ↔ 𝑥 = (0g𝐻)))
87anbi2d 464 . . . 4 (𝜑 → ((dom 𝐹 = ∅ ∧ 𝑥 = (0g𝐺)) ↔ (dom 𝐹 = ∅ ∧ 𝑥 = (0g𝐻))))
9 simprl 529 . . . . . . . . . 10 ((𝜑 ∧ (𝑛 ∈ (ℤ𝑚) ∧ dom 𝐹 = (𝑚...𝑛))) → 𝑛 ∈ (ℤ𝑚))
10 gsumpropd2.r . . . . . . . . . . . 12 (𝜑 → ran 𝐹 ⊆ (Base‘𝐺))
1110ad2antrr 488 . . . . . . . . . . 11 (((𝜑 ∧ (𝑛 ∈ (ℤ𝑚) ∧ dom 𝐹 = (𝑚...𝑛))) ∧ 𝑠 ∈ (𝑚...𝑛)) → ran 𝐹 ⊆ (Base‘𝐺))
12 gsumpropd2.n . . . . . . . . . . . . 13 (𝜑 → Fun 𝐹)
1312ad2antrr 488 . . . . . . . . . . . 12 (((𝜑 ∧ (𝑛 ∈ (ℤ𝑚) ∧ dom 𝐹 = (𝑚...𝑛))) ∧ 𝑠 ∈ (𝑚...𝑛)) → Fun 𝐹)
14 simpr 110 . . . . . . . . . . . . 13 (((𝜑 ∧ (𝑛 ∈ (ℤ𝑚) ∧ dom 𝐹 = (𝑚...𝑛))) ∧ 𝑠 ∈ (𝑚...𝑛)) → 𝑠 ∈ (𝑚...𝑛))
15 simplrr 536 . . . . . . . . . . . . 13 (((𝜑 ∧ (𝑛 ∈ (ℤ𝑚) ∧ dom 𝐹 = (𝑚...𝑛))) ∧ 𝑠 ∈ (𝑚...𝑛)) → dom 𝐹 = (𝑚...𝑛))
1614, 15eleqtrrd 2286 . . . . . . . . . . . 12 (((𝜑 ∧ (𝑛 ∈ (ℤ𝑚) ∧ dom 𝐹 = (𝑚...𝑛))) ∧ 𝑠 ∈ (𝑚...𝑛)) → 𝑠 ∈ dom 𝐹)
17 fvelrn 5721 . . . . . . . . . . . 12 ((Fun 𝐹𝑠 ∈ dom 𝐹) → (𝐹𝑠) ∈ ran 𝐹)
1813, 16, 17syl2anc 411 . . . . . . . . . . 11 (((𝜑 ∧ (𝑛 ∈ (ℤ𝑚) ∧ dom 𝐹 = (𝑚...𝑛))) ∧ 𝑠 ∈ (𝑚...𝑛)) → (𝐹𝑠) ∈ ran 𝐹)
1911, 18sseldd 3196 . . . . . . . . . 10 (((𝜑 ∧ (𝑛 ∈ (ℤ𝑚) ∧ dom 𝐹 = (𝑚...𝑛))) ∧ 𝑠 ∈ (𝑚...𝑛)) → (𝐹𝑠) ∈ (Base‘𝐺))
20 gsumpropd2.f . . . . . . . . . . 11 (𝜑𝐹𝑉)
2120adantr 276 . . . . . . . . . 10 ((𝜑 ∧ (𝑛 ∈ (ℤ𝑚) ∧ dom 𝐹 = (𝑚...𝑛))) → 𝐹𝑉)
22 plusgslid 12994 . . . . . . . . . . . . 13 (+g = Slot (+g‘ndx) ∧ (+g‘ndx) ∈ ℕ)
2322slotex 12909 . . . . . . . . . . . 12 (𝐺𝑊 → (+g𝐺) ∈ V)
243, 23syl 14 . . . . . . . . . . 11 (𝜑 → (+g𝐺) ∈ V)
2524adantr 276 . . . . . . . . . 10 ((𝜑 ∧ (𝑛 ∈ (ℤ𝑚) ∧ dom 𝐹 = (𝑚...𝑛))) → (+g𝐺) ∈ V)
2622slotex 12909 . . . . . . . . . . . 12 (𝐻𝑋 → (+g𝐻) ∈ V)
274, 26syl 14 . . . . . . . . . . 11 (𝜑 → (+g𝐻) ∈ V)
2827adantr 276 . . . . . . . . . 10 ((𝜑 ∧ (𝑛 ∈ (ℤ𝑚) ∧ dom 𝐹 = (𝑚...𝑛))) → (+g𝐻) ∈ V)
29 gsumpropd2.c . . . . . . . . . . 11 ((𝜑 ∧ (𝑠 ∈ (Base‘𝐺) ∧ 𝑡 ∈ (Base‘𝐺))) → (𝑠(+g𝐺)𝑡) ∈ (Base‘𝐺))
3029adantlr 477 . . . . . . . . . 10 (((𝜑 ∧ (𝑛 ∈ (ℤ𝑚) ∧ dom 𝐹 = (𝑚...𝑛))) ∧ (𝑠 ∈ (Base‘𝐺) ∧ 𝑡 ∈ (Base‘𝐺))) → (𝑠(+g𝐺)𝑡) ∈ (Base‘𝐺))
315adantlr 477 . . . . . . . . . 10 (((𝜑 ∧ (𝑛 ∈ (ℤ𝑚) ∧ dom 𝐹 = (𝑚...𝑛))) ∧ (𝑠 ∈ (Base‘𝐺) ∧ 𝑡 ∈ (Base‘𝐺))) → (𝑠(+g𝐺)𝑡) = (𝑠(+g𝐻)𝑡))
329, 19, 21, 25, 28, 30, 31seqfeq4g 10689 . . . . . . . . 9 ((𝜑 ∧ (𝑛 ∈ (ℤ𝑚) ∧ dom 𝐹 = (𝑚...𝑛))) → (seq𝑚((+g𝐺), 𝐹)‘𝑛) = (seq𝑚((+g𝐻), 𝐹)‘𝑛))
3332eqeq2d 2218 . . . . . . . 8 ((𝜑 ∧ (𝑛 ∈ (ℤ𝑚) ∧ dom 𝐹 = (𝑚...𝑛))) → (𝑥 = (seq𝑚((+g𝐺), 𝐹)‘𝑛) ↔ 𝑥 = (seq𝑚((+g𝐻), 𝐹)‘𝑛)))
3433anassrs 400 . . . . . . 7 (((𝜑𝑛 ∈ (ℤ𝑚)) ∧ dom 𝐹 = (𝑚...𝑛)) → (𝑥 = (seq𝑚((+g𝐺), 𝐹)‘𝑛) ↔ 𝑥 = (seq𝑚((+g𝐻), 𝐹)‘𝑛)))
3534pm5.32da 452 . . . . . 6 ((𝜑𝑛 ∈ (ℤ𝑚)) → ((dom 𝐹 = (𝑚...𝑛) ∧ 𝑥 = (seq𝑚((+g𝐺), 𝐹)‘𝑛)) ↔ (dom 𝐹 = (𝑚...𝑛) ∧ 𝑥 = (seq𝑚((+g𝐻), 𝐹)‘𝑛))))
3635rexbidva 2504 . . . . 5 (𝜑 → (∃𝑛 ∈ (ℤ𝑚)(dom 𝐹 = (𝑚...𝑛) ∧ 𝑥 = (seq𝑚((+g𝐺), 𝐹)‘𝑛)) ↔ ∃𝑛 ∈ (ℤ𝑚)(dom 𝐹 = (𝑚...𝑛) ∧ 𝑥 = (seq𝑚((+g𝐻), 𝐹)‘𝑛))))
3736exbidv 1849 . . . 4 (𝜑 → (∃𝑚𝑛 ∈ (ℤ𝑚)(dom 𝐹 = (𝑚...𝑛) ∧ 𝑥 = (seq𝑚((+g𝐺), 𝐹)‘𝑛)) ↔ ∃𝑚𝑛 ∈ (ℤ𝑚)(dom 𝐹 = (𝑚...𝑛) ∧ 𝑥 = (seq𝑚((+g𝐻), 𝐹)‘𝑛))))
388, 37orbi12d 795 . . 3 (𝜑 → (((dom 𝐹 = ∅ ∧ 𝑥 = (0g𝐺)) ∨ ∃𝑚𝑛 ∈ (ℤ𝑚)(dom 𝐹 = (𝑚...𝑛) ∧ 𝑥 = (seq𝑚((+g𝐺), 𝐹)‘𝑛))) ↔ ((dom 𝐹 = ∅ ∧ 𝑥 = (0g𝐻)) ∨ ∃𝑚𝑛 ∈ (ℤ𝑚)(dom 𝐹 = (𝑚...𝑛) ∧ 𝑥 = (seq𝑚((+g𝐻), 𝐹)‘𝑛)))))
3938iotabidv 5260 . 2 (𝜑 → (℩𝑥((dom 𝐹 = ∅ ∧ 𝑥 = (0g𝐺)) ∨ ∃𝑚𝑛 ∈ (ℤ𝑚)(dom 𝐹 = (𝑚...𝑛) ∧ 𝑥 = (seq𝑚((+g𝐺), 𝐹)‘𝑛)))) = (℩𝑥((dom 𝐹 = ∅ ∧ 𝑥 = (0g𝐻)) ∨ ∃𝑚𝑛 ∈ (ℤ𝑚)(dom 𝐹 = (𝑚...𝑛) ∧ 𝑥 = (seq𝑚((+g𝐻), 𝐹)‘𝑛)))))
40 eqid 2206 . . 3 (Base‘𝐺) = (Base‘𝐺)
41 eqid 2206 . . 3 (0g𝐺) = (0g𝐺)
42 eqid 2206 . . 3 (+g𝐺) = (+g𝐺)
43 eqidd 2207 . . 3 (𝜑 → dom 𝐹 = dom 𝐹)
4440, 41, 42, 3, 20, 43igsumvalx 13271 . 2 (𝜑 → (𝐺 Σg 𝐹) = (℩𝑥((dom 𝐹 = ∅ ∧ 𝑥 = (0g𝐺)) ∨ ∃𝑚𝑛 ∈ (ℤ𝑚)(dom 𝐹 = (𝑚...𝑛) ∧ 𝑥 = (seq𝑚((+g𝐺), 𝐹)‘𝑛)))))
45 eqid 2206 . . 3 (Base‘𝐻) = (Base‘𝐻)
46 eqid 2206 . . 3 (0g𝐻) = (0g𝐻)
47 eqid 2206 . . 3 (+g𝐻) = (+g𝐻)
4845, 46, 47, 4, 20, 43igsumvalx 13271 . 2 (𝜑 → (𝐻 Σg 𝐹) = (℩𝑥((dom 𝐹 = ∅ ∧ 𝑥 = (0g𝐻)) ∨ ∃𝑚𝑛 ∈ (ℤ𝑚)(dom 𝐹 = (𝑚...𝑛) ∧ 𝑥 = (seq𝑚((+g𝐻), 𝐹)‘𝑛)))))
4939, 44, 483eqtr4d 2249 1 (𝜑 → (𝐺 Σg 𝐹) = (𝐻 Σg 𝐹))
Colors of variables: wff set class
Syntax hints:  wi 4  wa 104  wb 105  wo 710   = wceq 1373  wex 1516  wcel 2177  wrex 2486  Vcvv 2773  wss 3168  c0 3462  dom cdm 4680  ran crn 4681  cio 5236  Fun wfun 5271  cfv 5277  (class class class)co 5954  cuz 9661  ...cfz 10143  seqcseq 10605  Basecbs 12882  +gcplusg 12959  0gc0g 13138   Σg cgsu 13139
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-ia1 106  ax-ia2 107  ax-ia3 108  ax-in1 615  ax-in2 616  ax-io 711  ax-5 1471  ax-7 1472  ax-gen 1473  ax-ie1 1517  ax-ie2 1518  ax-8 1528  ax-10 1529  ax-11 1530  ax-i12 1531  ax-bndl 1533  ax-4 1534  ax-17 1550  ax-i9 1554  ax-ial 1558  ax-i5r 1559  ax-13 2179  ax-14 2180  ax-ext 2188  ax-coll 4164  ax-sep 4167  ax-nul 4175  ax-pow 4223  ax-pr 4258  ax-un 4485  ax-setind 4590  ax-iinf 4641  ax-cnex 8029  ax-resscn 8030  ax-1cn 8031  ax-1re 8032  ax-icn 8033  ax-addcl 8034  ax-addrcl 8035  ax-mulcl 8036  ax-addcom 8038  ax-addass 8040  ax-distr 8042  ax-i2m1 8043  ax-0lt1 8044  ax-0id 8046  ax-rnegex 8047  ax-cnre 8049  ax-pre-ltirr 8050  ax-pre-ltwlin 8051  ax-pre-lttrn 8052  ax-pre-ltadd 8054
This theorem depends on definitions:  df-bi 117  df-3or 982  df-3an 983  df-tru 1376  df-fal 1379  df-nf 1485  df-sb 1787  df-eu 2058  df-mo 2059  df-clab 2193  df-cleq 2199  df-clel 2202  df-nfc 2338  df-ne 2378  df-nel 2473  df-ral 2490  df-rex 2491  df-reu 2492  df-rab 2494  df-v 2775  df-sbc 3001  df-csb 3096  df-dif 3170  df-un 3172  df-in 3174  df-ss 3181  df-nul 3463  df-pw 3620  df-sn 3641  df-pr 3642  df-op 3644  df-uni 3854  df-int 3889  df-iun 3932  df-br 4049  df-opab 4111  df-mpt 4112  df-tr 4148  df-id 4345  df-iord 4418  df-on 4420  df-ilim 4421  df-suc 4423  df-iom 4644  df-xp 4686  df-rel 4687  df-cnv 4688  df-co 4689  df-dm 4690  df-rn 4691  df-res 4692  df-ima 4693  df-iota 5238  df-fun 5279  df-fn 5280  df-f 5281  df-f1 5282  df-fo 5283  df-f1o 5284  df-fv 5285  df-riota 5909  df-ov 5957  df-oprab 5958  df-mpo 5959  df-1st 6236  df-2nd 6237  df-recs 6401  df-frec 6487  df-pnf 8122  df-mnf 8123  df-xr 8124  df-ltxr 8125  df-le 8126  df-sub 8258  df-neg 8259  df-inn 9050  df-2 9108  df-n0 9309  df-z 9386  df-uz 9662  df-fz 10144  df-fzo 10278  df-seqfrec 10606  df-ndx 12885  df-slot 12886  df-base 12888  df-plusg 12972  df-0g 13140  df-igsum 13141
This theorem is referenced by:  gsummgmpropd  13276
  Copyright terms: Public domain W3C validator