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

Theorem uvcff 22104
Description: Domain and codomain of the unit vector generator; ring condition required to be sure 1 and 0 are actually in the ring. (Contributed by Stefan O'Rear, 1-Feb-2015.) (Proof shortened by AV, 21-Jul-2019.)
Hypotheses
Ref Expression
uvcff.u 𝑈 = (𝑅 unitVec 𝐼)
uvcff.y 𝑌 = (𝑅 freeLMod 𝐼)
uvcff.b 𝐵 = (Base‘𝑌)
Assertion
Ref Expression
uvcff ((𝑅 ∈ Ring ∧ 𝐼 ∈ 𝑊) → 𝑈:𝐼⟶𝐵)

Proof of Theorem uvcff
Dummy variables 𝑖 𝑗 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 uvcff.u . . 3 𝑈 = (𝑅 unitVec 𝐼)
2 eqid 2760 . . 3 (1r‘𝑅) = (1r‘𝑅)
3 eqid 2760 . . 3 (0g‘𝑅) = (0g‘𝑅)
41, 2, 3uvcfval 22097 . 2 ((𝑅 ∈ Ring ∧ 𝐼 ∈ 𝑊) → 𝑈 = (𝑖 ∈ 𝐼 ↦ (𝑗 ∈ 𝐼 ↦ if(𝑗 = 𝑖, (1r‘𝑅), (0g‘𝑅)))))
5 eqid 2760 . . . . . . . 8 (Base‘𝑅) = (Base‘𝑅)
65, 2ringidcl 20501 . . . . . . 7 (𝑅 ∈ Ring → (1r‘𝑅) ∈ (Base‘𝑅))
75, 3ring0cl 20503 . . . . . . 7 (𝑅 ∈ Ring → (0g‘𝑅) ∈ (Base‘𝑅))
86, 7ifcld 4528 . . . . . 6 (𝑅 ∈ Ring → if(𝑗 = 𝑖, (1r‘𝑅), (0g‘𝑅)) ∈ (Base‘𝑅))
98ad3antrrr 743 . . . . 5 ((((𝑅 ∈ Ring ∧ 𝐼 ∈ 𝑊) ∧ 𝑖 ∈ 𝐼) ∧ 𝑗 ∈ 𝐼) → if(𝑗 = 𝑖, (1r‘𝑅), (0g‘𝑅)) ∈ (Base‘𝑅))
109fmpttd 7118 . . . 4 (((𝑅 ∈ Ring ∧ 𝐼 ∈ 𝑊) ∧ 𝑖 ∈ 𝐼) → (𝑗 ∈ 𝐼 ↦ if(𝑗 = 𝑖, (1r‘𝑅), (0g‘𝑅))):𝐼⟶(Base‘𝑅))
11 fvex 6901 . . . . . 6 (Base‘𝑅) ∈ V
12 elmapg 8864 . . . . . 6 (((Base‘𝑅) ∈ V ∧ 𝐼 ∈ 𝑊) → ((𝑗 ∈ 𝐼 ↦ if(𝑗 = 𝑖, (1r‘𝑅), (0g‘𝑅))) ∈ ((Base‘𝑅) ↑m 𝐼) ↔ (𝑗 ∈ 𝐼 ↦ if(𝑗 = 𝑖, (1r‘𝑅), (0g‘𝑅))):𝐼⟶(Base‘𝑅)))
1311, 12mpan 703 . . . . 5 (𝐼 ∈ 𝑊 → ((𝑗 ∈ 𝐼 ↦ if(𝑗 = 𝑖, (1r‘𝑅), (0g‘𝑅))) ∈ ((Base‘𝑅) ↑m 𝐼) ↔ (𝑗 ∈ 𝐼 ↦ if(𝑗 = 𝑖, (1r‘𝑅), (0g‘𝑅))):𝐼⟶(Base‘𝑅)))
1413ad2antlr 740 . . . 4 (((𝑅 ∈ Ring ∧ 𝐼 ∈ 𝑊) ∧ 𝑖 ∈ 𝐼) → ((𝑗 ∈ 𝐼 ↦ if(𝑗 = 𝑖, (1r‘𝑅), (0g‘𝑅))) ∈ ((Base‘𝑅) ↑m 𝐼) ↔ (𝑗 ∈ 𝐼 ↦ if(𝑗 = 𝑖, (1r‘𝑅), (0g‘𝑅))):𝐼⟶(Base‘𝑅)))
1510, 14mpbird 260 . . 3 (((𝑅 ∈ Ring ∧ 𝐼 ∈ 𝑊) ∧ 𝑖 ∈ 𝐼) → (𝑗 ∈ 𝐼 ↦ if(𝑗 = 𝑖, (1r‘𝑅), (0g‘𝑅))) ∈ ((Base‘𝑅) ↑m 𝐼))
16 mptexg 7229 . . . . 5 (𝐼 ∈ 𝑊 → (𝑗 ∈ 𝐼 ↦ if(𝑗 = 𝑖, (1r‘𝑅), (0g‘𝑅))) ∈ V)
1716ad2antlr 740 . . . 4 (((𝑅 ∈ Ring ∧ 𝐼 ∈ 𝑊) ∧ 𝑖 ∈ 𝐼) → (𝑗 ∈ 𝐼 ↦ if(𝑗 = 𝑖, (1r‘𝑅), (0g‘𝑅))) ∈ V)
18 funmpt 6581 . . . . 5 Fun (𝑗 ∈ 𝐼 ↦ if(𝑗 = 𝑖, (1r‘𝑅), (0g‘𝑅)))
1918a1i 11 . . . 4 (((𝑅 ∈ Ring ∧ 𝐼 ∈ 𝑊) ∧ 𝑖 ∈ 𝐼) → Fun (𝑗 ∈ 𝐼 ↦ if(𝑗 = 𝑖, (1r‘𝑅), (0g‘𝑅))))
20 fvex 6901 . . . . 5 (0g‘𝑅) ∈ V
2120a1i 11 . . . 4 (((𝑅 ∈ Ring ∧ 𝐼 ∈ 𝑊) ∧ 𝑖 ∈ 𝐼) → (0g‘𝑅) ∈ V)
22 snfi 9076 . . . . 5 {𝑖} ∈ Fin
2322a1i 11 . . . 4 (((𝑅 ∈ Ring ∧ 𝐼 ∈ 𝑊) ∧ 𝑖 ∈ 𝐼) → {𝑖} ∈ Fin)
24 eldifsni 4749 . . . . . . . 8 (𝑗 ∈ (𝐼 ∖ {𝑖}) → 𝑗 ≠ 𝑖)
2524adantl 487 . . . . . . 7 ((((𝑅 ∈ Ring ∧ 𝐼 ∈ 𝑊) ∧ 𝑖 ∈ 𝐼) ∧ 𝑗 ∈ (𝐼 ∖ {𝑖})) → 𝑗 ≠ 𝑖)
2625neneqd 2960 . . . . . 6 ((((𝑅 ∈ Ring ∧ 𝐼 ∈ 𝑊) ∧ 𝑖 ∈ 𝐼) ∧ 𝑗 ∈ (𝐼 ∖ {𝑖})) → ¬ 𝑗 = 𝑖)
2726iffalsed 4492 . . . . 5 ((((𝑅 ∈ Ring ∧ 𝐼 ∈ 𝑊) ∧ 𝑖 ∈ 𝐼) ∧ 𝑗 ∈ (𝐼 ∖ {𝑖})) → if(𝑗 = 𝑖, (1r‘𝑅), (0g‘𝑅)) = (0g‘𝑅))
28 simplr 781 . . . . 5 (((𝑅 ∈ Ring ∧ 𝐼 ∈ 𝑊) ∧ 𝑖 ∈ 𝐼) → 𝐼 ∈ 𝑊)
2927, 28suppss2 8222 . . . 4 (((𝑅 ∈ Ring ∧ 𝐼 ∈ 𝑊) ∧ 𝑖 ∈ 𝐼) → ((𝑗 ∈ 𝐼 ↦ if(𝑗 = 𝑖, (1r‘𝑅), (0g‘𝑅))) supp (0g‘𝑅)) ⊆ {𝑖})
30 suppssfifsupp 9377 . . . 4 ((((𝑗 ∈ 𝐼 ↦ if(𝑗 = 𝑖, (1r‘𝑅), (0g‘𝑅))) ∈ V ∧ Fun (𝑗 ∈ 𝐼 ↦ if(𝑗 = 𝑖, (1r‘𝑅), (0g‘𝑅))) ∧ (0g‘𝑅) ∈ V) ∧ ({𝑖} ∈ Fin ∧ ((𝑗 ∈ 𝐼 ↦ if(𝑗 = 𝑖, (1r‘𝑅), (0g‘𝑅))) supp (0g‘𝑅)) ⊆ {𝑖})) → (𝑗 ∈ 𝐼 ↦ if(𝑗 = 𝑖, (1r‘𝑅), (0g‘𝑅))) finSupp (0g‘𝑅))
3117, 19, 21, 23, 29, 30syl32anc 1405 . . 3 (((𝑅 ∈ Ring ∧ 𝐼 ∈ 𝑊) ∧ 𝑖 ∈ 𝐼) → (𝑗 ∈ 𝐼 ↦ if(𝑗 = 𝑖, (1r‘𝑅), (0g‘𝑅))) finSupp (0g‘𝑅))
32 uvcff.y . . . . 5 𝑌 = (𝑅 freeLMod 𝐼)
33 uvcff.b . . . . 5 𝐵 = (Base‘𝑌)
3432, 5, 3, 33frlmelbas 22069 . . . 4 ((𝑅 ∈ Ring ∧ 𝐼 ∈ 𝑊) → ((𝑗 ∈ 𝐼 ↦ if(𝑗 = 𝑖, (1r‘𝑅), (0g‘𝑅))) ∈ 𝐵 ↔ ((𝑗 ∈ 𝐼 ↦ if(𝑗 = 𝑖, (1r‘𝑅), (0g‘𝑅))) ∈ ((Base‘𝑅) ↑m 𝐼) ∧ (𝑗 ∈ 𝐼 ↦ if(𝑗 = 𝑖, (1r‘𝑅), (0g‘𝑅))) finSupp (0g‘𝑅))))
3534adantr 486 . . 3 (((𝑅 ∈ Ring ∧ 𝐼 ∈ 𝑊) ∧ 𝑖 ∈ 𝐼) → ((𝑗 ∈ 𝐼 ↦ if(𝑗 = 𝑖, (1r‘𝑅), (0g‘𝑅))) ∈ 𝐵 ↔ ((𝑗 ∈ 𝐼 ↦ if(𝑗 = 𝑖, (1r‘𝑅), (0g‘𝑅))) ∈ ((Base‘𝑅) ↑m 𝐼) ∧ (𝑗 ∈ 𝐼 ↦ if(𝑗 = 𝑖, (1r‘𝑅), (0g‘𝑅))) finSupp (0g‘𝑅))))
3615, 31, 35mpbir2and 726 . 2 (((𝑅 ∈ Ring ∧ 𝐼 ∈ 𝑊) ∧ 𝑖 ∈ 𝐼) → (𝑗 ∈ 𝐼 ↦ if(𝑗 = 𝑖, (1r‘𝑅), (0g‘𝑅))) ∈ 𝐵)
374, 36fmpt3d 7119 1 ((𝑅 ∈ Ring ∧ 𝐼 ∈ 𝑊) → 𝑈:𝐼⟶𝐵)
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ↔ wb 209   ∧ wa 401   = wceq 1569   ∈ wcel 2144   ≠ wne 2955  Vcvv 3450   ⊆ wss 3896   ∖ cdif 4044  ifcif 4481  {csn 4584   class class class wbr 5102   ↦ cmpt 5185  Fun wfun 6535  ⟶wf 6537  ‘cfv 6541  (class class class)co 7422   supp csupp 8181   ↑m cmap 8852  Fincfn 8978   finSupp cfsupp 9358  Basecbs 17394  0gc0g 17617  1rcur 20414  Ringcrg 20466   freeLMod cfrlm 22059   unitVec cuvc 22095
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 7753  ax-cnex 11261  ax-resscn 11262  ax-1cn 11263  ax-icn 11264  ax-addcl 11265  ax-addrcl 11266  ax-mulcl 11267  ax-mulrcl 11268  ax-mulcom 11269  ax-addass 11270  ax-mulass 11271  ax-distr 11272  ax-i2m1 11273  ax-1ne0 11274  ax-1rid 11275  ax-rnegex 11276  ax-rrecex 11277  ax-cnre 11278  ax-pre-lttri 11279  ax-pre-lttrn 11280  ax-pre-ltadd 11281  ax-pre-mulgt0 11282
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 3848  df-ss 3897  df-pss 4013  df-dif 4046  df-in 4090  df-un 4150  df-nul 4278  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 6306  df-ord 6367  df-on 6368  df-lim 6369  df-suc 6370  df-iota 6496  df-fun 6543  df-fn 6544  df-f 6545  df-f1 6546  df-fo 6547  df-f1o 6548  df-fv 6549  df-riota 7379  df-ov 7425  df-oprab 7426  df-mpo 7427  df-om 7880  df-1st 8003  df-2nd 8004  df-supp 8182  df-frecs 8304  df-wrecs 8335  df-recs 8384  df-rdg 8423  df-1o 8481  df-er 8722  df-map 8854  df-ixp 8931  df-en 8979  df-dom 8980  df-sdom 8981  df-fin 8982  df-fsupp 9359  df-sup 9439  df-pnf 11350  df-mnf 11351  df-xr 11352  df-ltxr 11353  df-le 11354  df-sub 11548  df-neg 11549  df-nn 12341  df-2 12410  df-3 12411  df-4 12412  df-5 12413  df-6 12414  df-7 12415  df-8 12416  df-9 12417  df-n0 12612  df-z 12699  df-dec 12820  df-uz 12971  df-fz 13645  df-struct 17332  df-sets 17349  df-slot 17367  df-ndx 17379  df-base 17395  df-ress 17416  df-plusg 17448  df-mulr 17449  df-sca 17451  df-vsca 17452  df-ip 17453  df-tset 17454  df-ple 17455  df-ds 17457  df-hom 17459  df-cco 17460  df-0g 17619  df-prds 17625  df-pws 17627  df-mgm 18823  df-sgrp 18915  df-mnd 18931  df-grp 19154  df-mgp 20368  df-ur 20415  df-ring 20468  df-sra 21455  df-rgmod 21456  df-dsmm 22045  df-frlm 22060  df-uvc 22096
This theorem is used by:  uvcf1  22105  uvcresum  22106  frlmssuvc1  22107  frlmssuvc2  22108  frlmsslsp  22109  frlmlbs  22110  frlmup2  22112  frlmup3  22113  frlmup4  22114  lindsdom  22163  matunitlindflem2  23002  uvccl  43712  aacllem  51121
  Copyright terms: Public domain W3C validator