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

Theorem prdsidlem 18968
Description: Characterization of identity in a structure product. (Contributed by Mario Carneiro, 10-Jan-2015.)
Hypotheses
Ref Expression
prdsplusgcl.y 𝑌 = (𝑆Xs𝑅)
prdsplusgcl.b 𝐵 = (Base‘𝑌)
prdsplusgcl.p + = (+g‘𝑌)
prdsplusgcl.s (𝜑 → 𝑆 ∈ 𝑉)
prdsplusgcl.i (𝜑 → 𝐼 ∈ 𝑊)
prdsplusgcl.r (𝜑 → 𝑅:𝐼⟶Mnd)
prdsidlem.z 0 = (0g ∘ 𝑅)
Assertion
Ref Expression
prdsidlem (𝜑 → ( 0 ∈ 𝐵 ∧ ∀𝑥 ∈ 𝐵 (( 0 + 𝑥) = 𝑥 ∧ (𝑥 + 0 ) = 𝑥)))
Distinct variable groups:   𝑥, +   𝑥,𝐵   𝑥,𝐼   𝑥,𝑅   𝜑,𝑥   𝑥,𝑆   𝑥,𝑉   𝑥,𝑊   𝑥,𝑌
Allowed substitution hint:   0 (𝑥)

Proof of Theorem prdsidlem
Dummy variable 𝑦 is distinct from all other variables.
StepHypRef Expression
1 prdsidlem.z . . . 4 0 = (0g ∘ 𝑅)
2 fvexd 6900 . . . . 5 ((𝜑 ∧ 𝑦 ∈ 𝐼) → (𝑅‘𝑦) ∈ V)
3 prdsplusgcl.r . . . . . 6 (𝜑 → 𝑅:𝐼⟶Mnd)
43feqmptd 6953 . . . . 5 (𝜑 → 𝑅 = (𝑦 ∈ 𝐼 ↦ (𝑅‘𝑦)))
5 fn0g 18848 . . . . . . 7 0g Fn V
65a1i 11 . . . . . 6 (𝜑 → 0g Fn V)
7 dffn5 6943 . . . . . 6 (0g Fn V ↔ 0g = (𝑥 ∈ V ↦ (0g‘𝑥)))
86, 7sylib 221 . . . . 5 (𝜑 → 0g = (𝑥 ∈ V ↦ (0g‘𝑥)))
9 fveq2 6885 . . . . 5 (𝑥 = (𝑅‘𝑦) → (0g‘𝑥) = (0g‘(𝑅‘𝑦)))
102, 4, 8, 9fmptco 7130 . . . 4 (𝜑 → (0g ∘ 𝑅) = (𝑦 ∈ 𝐼 ↦ (0g‘(𝑅‘𝑦))))
111, 10eqtrid 2807 . . 3 (𝜑 → 0 = (𝑦 ∈ 𝐼 ↦ (0g‘(𝑅‘𝑦))))
123ffvelcdmda 7084 . . . . . 6 ((𝜑 ∧ 𝑦 ∈ 𝐼) → (𝑅‘𝑦) ∈ Mnd)
13 eqid 2760 . . . . . . 7 (Base‘(𝑅‘𝑦)) = (Base‘(𝑅‘𝑦))
14 eqid 2760 . . . . . . 7 (0g‘(𝑅‘𝑦)) = (0g‘(𝑅‘𝑦))
1513, 14mndidcl 18944 . . . . . 6 ((𝑅‘𝑦) ∈ Mnd → (0g‘(𝑅‘𝑦)) ∈ (Base‘(𝑅‘𝑦)))
1612, 15syl 18 . . . . 5 ((𝜑 ∧ 𝑦 ∈ 𝐼) → (0g‘(𝑅‘𝑦)) ∈ (Base‘(𝑅‘𝑦)))
1716ralrimiva 3154 . . . 4 (𝜑 → ∀𝑦 ∈ 𝐼 (0g‘(𝑅‘𝑦)) ∈ (Base‘(𝑅‘𝑦)))
18 prdsplusgcl.y . . . . 5 𝑌 = (𝑆Xs𝑅)
19 prdsplusgcl.b . . . . 5 𝐵 = (Base‘𝑌)
20 prdsplusgcl.s . . . . 5 (𝜑 → 𝑆 ∈ 𝑉)
21 prdsplusgcl.i . . . . 5 (𝜑 → 𝐼 ∈ 𝑊)
223ffnd 6710 . . . . 5 (𝜑 → 𝑅 Fn 𝐼)
2318, 19, 20, 21, 22prdsbasmpt 17646 . . . 4 (𝜑 → ((𝑦 ∈ 𝐼 ↦ (0g‘(𝑅‘𝑦))) ∈ 𝐵 ↔ ∀𝑦 ∈ 𝐼 (0g‘(𝑅‘𝑦)) ∈ (Base‘(𝑅‘𝑦))))
2417, 23mpbird 260 . . 3 (𝜑 → (𝑦 ∈ 𝐼 ↦ (0g‘(𝑅‘𝑦))) ∈ 𝐵)
2511, 24eqeltrd 2860 . 2 (𝜑 → 0 ∈ 𝐵)
261fveq1i 6886 . . . . . . . . . 10 ( 0 ‘𝑦) = ((0g ∘ 𝑅)‘𝑦)
27 fvco2 6982 . . . . . . . . . . 11 ((𝑅 Fn 𝐼 ∧ 𝑦 ∈ 𝐼) → ((0g ∘ 𝑅)‘𝑦) = (0g‘(𝑅‘𝑦)))
2822, 27sylan 592 . . . . . . . . . 10 ((𝜑 ∧ 𝑦 ∈ 𝐼) → ((0g ∘ 𝑅)‘𝑦) = (0g‘(𝑅‘𝑦)))
2926, 28eqtrid 2807 . . . . . . . . 9 ((𝜑 ∧ 𝑦 ∈ 𝐼) → ( 0 ‘𝑦) = (0g‘(𝑅‘𝑦)))
3029adantlr 728 . . . . . . . 8 (((𝜑 ∧ 𝑥 ∈ 𝐵) ∧ 𝑦 ∈ 𝐼) → ( 0 ‘𝑦) = (0g‘(𝑅‘𝑦)))
3130oveq1d 7435 . . . . . . 7 (((𝜑 ∧ 𝑥 ∈ 𝐵) ∧ 𝑦 ∈ 𝐼) → (( 0 ‘𝑦)(+g‘(𝑅‘𝑦))(𝑥‘𝑦)) = ((0g‘(𝑅‘𝑦))(+g‘(𝑅‘𝑦))(𝑥‘𝑦)))
323adantr 486 . . . . . . . . 9 ((𝜑 ∧ 𝑥 ∈ 𝐵) → 𝑅:𝐼⟶Mnd)
3332ffvelcdmda 7084 . . . . . . . 8 (((𝜑 ∧ 𝑥 ∈ 𝐵) ∧ 𝑦 ∈ 𝐼) → (𝑅‘𝑦) ∈ Mnd)
3420ad2antrr 739 . . . . . . . . 9 (((𝜑 ∧ 𝑥 ∈ 𝐵) ∧ 𝑦 ∈ 𝐼) → 𝑆 ∈ 𝑉)
3521ad2antrr 739 . . . . . . . . 9 (((𝜑 ∧ 𝑥 ∈ 𝐵) ∧ 𝑦 ∈ 𝐼) → 𝐼 ∈ 𝑊)
3622ad2antrr 739 . . . . . . . . 9 (((𝜑 ∧ 𝑥 ∈ 𝐵) ∧ 𝑦 ∈ 𝐼) → 𝑅 Fn 𝐼)
37 simplr 781 . . . . . . . . 9 (((𝜑 ∧ 𝑥 ∈ 𝐵) ∧ 𝑦 ∈ 𝐼) → 𝑥 ∈ 𝐵)
38 simpr 490 . . . . . . . . 9 (((𝜑 ∧ 𝑥 ∈ 𝐵) ∧ 𝑦 ∈ 𝐼) → 𝑦 ∈ 𝐼)
3918, 19, 34, 35, 36, 37, 38prdsbasprj 17648 . . . . . . . 8 (((𝜑 ∧ 𝑥 ∈ 𝐵) ∧ 𝑦 ∈ 𝐼) → (𝑥‘𝑦) ∈ (Base‘(𝑅‘𝑦)))
40 eqid 2760 . . . . . . . . 9 (+g‘(𝑅‘𝑦)) = (+g‘(𝑅‘𝑦))
4113, 40, 14mndlid 18949 . . . . . . . 8 (((𝑅‘𝑦) ∈ Mnd ∧ (𝑥‘𝑦) ∈ (Base‘(𝑅‘𝑦))) → ((0g‘(𝑅‘𝑦))(+g‘(𝑅‘𝑦))(𝑥‘𝑦)) = (𝑥‘𝑦))
4233, 39, 41syl2anc 596 . . . . . . 7 (((𝜑 ∧ 𝑥 ∈ 𝐵) ∧ 𝑦 ∈ 𝐼) → ((0g‘(𝑅‘𝑦))(+g‘(𝑅‘𝑦))(𝑥‘𝑦)) = (𝑥‘𝑦))
4331, 42eqtrd 2795 . . . . . 6 (((𝜑 ∧ 𝑥 ∈ 𝐵) ∧ 𝑦 ∈ 𝐼) → (( 0 ‘𝑦)(+g‘(𝑅‘𝑦))(𝑥‘𝑦)) = (𝑥‘𝑦))
4443mpteq2dva 5197 . . . . 5 ((𝜑 ∧ 𝑥 ∈ 𝐵) → (𝑦 ∈ 𝐼 ↦ (( 0 ‘𝑦)(+g‘(𝑅‘𝑦))(𝑥‘𝑦))) = (𝑦 ∈ 𝐼 ↦ (𝑥‘𝑦)))
4520adantr 486 . . . . . 6 ((𝜑 ∧ 𝑥 ∈ 𝐵) → 𝑆 ∈ 𝑉)
4621adantr 486 . . . . . 6 ((𝜑 ∧ 𝑥 ∈ 𝐵) → 𝐼 ∈ 𝑊)
4722adantr 486 . . . . . 6 ((𝜑 ∧ 𝑥 ∈ 𝐵) → 𝑅 Fn 𝐼)
4825adantr 486 . . . . . 6 ((𝜑 ∧ 𝑥 ∈ 𝐵) → 0 ∈ 𝐵)
49 simpr 490 . . . . . 6 ((𝜑 ∧ 𝑥 ∈ 𝐵) → 𝑥 ∈ 𝐵)
50 prdsplusgcl.p . . . . . 6 + = (+g‘𝑌)
5118, 19, 45, 46, 47, 48, 49, 50prdsplusgval 17649 . . . . 5 ((𝜑 ∧ 𝑥 ∈ 𝐵) → ( 0 + 𝑥) = (𝑦 ∈ 𝐼 ↦ (( 0 ‘𝑦)(+g‘(𝑅‘𝑦))(𝑥‘𝑦))))
5218, 19, 45, 46, 47, 49prdsbasfn 17647 . . . . . 6 ((𝜑 ∧ 𝑥 ∈ 𝐵) → 𝑥 Fn 𝐼)
53 dffn5 6943 . . . . . 6 (𝑥 Fn 𝐼 ↔ 𝑥 = (𝑦 ∈ 𝐼 ↦ (𝑥‘𝑦)))
5452, 53sylib 221 . . . . 5 ((𝜑 ∧ 𝑥 ∈ 𝐵) → 𝑥 = (𝑦 ∈ 𝐼 ↦ (𝑥‘𝑦)))
5544, 51, 543eqtr4d 2805 . . . 4 ((𝜑 ∧ 𝑥 ∈ 𝐵) → ( 0 + 𝑥) = 𝑥)
5630oveq2d 7436 . . . . . . 7 (((𝜑 ∧ 𝑥 ∈ 𝐵) ∧ 𝑦 ∈ 𝐼) → ((𝑥‘𝑦)(+g‘(𝑅‘𝑦))( 0 ‘𝑦)) = ((𝑥‘𝑦)(+g‘(𝑅‘𝑦))(0g‘(𝑅‘𝑦))))
5713, 40, 14mndrid 18950 . . . . . . . 8 (((𝑅‘𝑦) ∈ Mnd ∧ (𝑥‘𝑦) ∈ (Base‘(𝑅‘𝑦))) → ((𝑥‘𝑦)(+g‘(𝑅‘𝑦))(0g‘(𝑅‘𝑦))) = (𝑥‘𝑦))
5833, 39, 57syl2anc 596 . . . . . . 7 (((𝜑 ∧ 𝑥 ∈ 𝐵) ∧ 𝑦 ∈ 𝐼) → ((𝑥‘𝑦)(+g‘(𝑅‘𝑦))(0g‘(𝑅‘𝑦))) = (𝑥‘𝑦))
5956, 58eqtrd 2795 . . . . . 6 (((𝜑 ∧ 𝑥 ∈ 𝐵) ∧ 𝑦 ∈ 𝐼) → ((𝑥‘𝑦)(+g‘(𝑅‘𝑦))( 0 ‘𝑦)) = (𝑥‘𝑦))
6059mpteq2dva 5197 . . . . 5 ((𝜑 ∧ 𝑥 ∈ 𝐵) → (𝑦 ∈ 𝐼 ↦ ((𝑥‘𝑦)(+g‘(𝑅‘𝑦))( 0 ‘𝑦))) = (𝑦 ∈ 𝐼 ↦ (𝑥‘𝑦)))
6118, 19, 45, 46, 47, 49, 48, 50prdsplusgval 17649 . . . . 5 ((𝜑 ∧ 𝑥 ∈ 𝐵) → (𝑥 + 0 ) = (𝑦 ∈ 𝐼 ↦ ((𝑥‘𝑦)(+g‘(𝑅‘𝑦))( 0 ‘𝑦))))
6260, 61, 543eqtr4d 2805 . . . 4 ((𝜑 ∧ 𝑥 ∈ 𝐵) → (𝑥 + 0 ) = 𝑥)
6355, 62jca 521 . . 3 ((𝜑 ∧ 𝑥 ∈ 𝐵) → (( 0 + 𝑥) = 𝑥 ∧ (𝑥 + 0 ) = 𝑥))
6463ralrimiva 3154 . 2 (𝜑 → ∀𝑥 ∈ 𝐵 (( 0 + 𝑥) = 𝑥 ∧ (𝑥 + 0 ) = 𝑥))
6525, 64jca 521 1 (𝜑 → ( 0 ∈ 𝐵 ∧ ∀𝑥 ∈ 𝐵 (( 0 + 𝑥) = 𝑥 ∧ (𝑥 + 0 ) = 𝑥)))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ∧ wa 401   = wceq 1569   ∈ wcel 2144  ∀wral 3076  Vcvv 3450   ↦ cmpt 5185   ∘ ccom 5654   Fn wfn 6533  ⟶wf 6534  ‘cfv 6538  (class class class)co 7420  Basecbs 17392  +gcplusg 17433  0gc0g 17615  Xscprds 17621  Mndcmnd 18928
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1827  ax-4 1841  ax-5 1942  ax-6 1999  ax-7 2040  ax-8 2146  ax-9 2154  ax-10 2177  ax-11 2193  ax-12 2212  ax-ext 2732  ax-rep 5231  ax-sep 5248  ax-nul 5259  ax-pow 5326  ax-pr 5390  ax-un 7751  ax-cnex 11259  ax-resscn 11260  ax-1cn 11261  ax-icn 11262  ax-addcl 11263  ax-addrcl 11264  ax-mulcl 11265  ax-mulrcl 11266  ax-mulcom 11267  ax-addass 11268  ax-mulass 11269  ax-distr 11270  ax-i2m1 11271  ax-1ne0 11272  ax-1rid 11273  ax-rnegex 11274  ax-rrecex 11275  ax-cnre 11276  ax-pre-lttri 11277  ax-pre-lttrn 11278  ax-pre-ltadd 11279  ax-pre-mulgt0 11280
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3or 1104  df-3an 1105  df-tru 1572  df-fal 1582  df-ex 1812  df-nf 1816  df-sb 2099  df-mo 2564  df-eu 2594  df-clab 2739  df-cleq 2752  df-clel 2835  df-nfc 2909  df-ne 2956  df-nel 3062  df-ral 3077  df-rex 3087  df-rmo 3365  df-reu 3366  df-rab 3413  df-v 3452  df-sbc 3739  df-csb 3847  df-ss 3896  df-pss 4014  df-dif 4047  df-in 4091  df-un 4151  df-nul 4279  df-if 4482  df-pw 4558  df-sn 4585  df-pr 4587  df-tp 4589  df-op 4835  df-uni 4867  df-iun 4952  df-br 5103  df-opab 5167  df-mpt 5186  df-tr 5212  df-id 5545  df-eprel 5550  df-po 5558  df-so 5559  df-fr 5603  df-we 5605  df-xp 5656  df-rel 5657  df-cnv 5658  df-co 5659  df-dm 5660  df-rn 5661  df-res 5662  df-ima 5663  df-pred 6304  df-ord 6365  df-on 6366  df-lim 6367  df-suc 6368  df-iota 6494  df-fun 6540  df-fn 6541  df-f 6542  df-f1 6543  df-fo 6544  df-f1o 6545  df-fv 6546  df-riota 7377  df-ov 7423  df-oprab 7424  df-mpo 7425  df-om 7878  df-1st 8001  df-2nd 8002  df-frecs 8302  df-wrecs 8333  df-recs 8382  df-rdg 8421  df-1o 8479  df-er 8720  df-map 8852  df-ixp 8929  df-en 8977  df-dom 8978  df-sdom 8979  df-fin 8980  df-sup 9437  df-pnf 11348  df-mnf 11349  df-xr 11350  df-ltxr 11351  df-le 11352  df-sub 11546  df-neg 11547  df-nn 12339  df-2 12408  df-3 12409  df-4 12410  df-5 12411  df-6 12412  df-7 12413  df-8 12414  df-9 12415  df-n0 12610  df-z 12697  df-dec 12818  df-uz 12969  df-fz 13643  df-struct 17330  df-slot 17365  df-ndx 17377  df-base 17393  df-plusg 17446  df-mulr 17447  df-sca 17449  df-vsca 17450  df-ip 17451  df-tset 17452  df-ple 17453  df-ds 17455  df-hom 17457  df-cco 17458  df-0g 17617  df-prds 17623  df-mgm 18821  df-sgrp 18913  df-mnd 18929
This theorem is used by:  prdsmndd  18969  prds0g  18970
  Copyright terms: Public domain W3C validator