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

Theorem pmatcollpw3lem 20811
Description: Lemma for pmatcollpw3 20812 and pmatcollpw3fi 20813: Write a polynomial matrix (over a commutative ring) as a sum of products of variable powers and constant matrices with scalar entries. (Contributed by AV, 8-Dec-2019.)
Hypotheses
Ref Expression
pmatcollpw.p 𝑃 = (Poly1𝑅)
pmatcollpw.c 𝐶 = (𝑁 Mat 𝑃)
pmatcollpw.b 𝐵 = (Base‘𝐶)
pmatcollpw.m = ( ·𝑠𝐶)
pmatcollpw.e = (.g‘(mulGrp‘𝑃))
pmatcollpw.x 𝑋 = (var1𝑅)
pmatcollpw.t 𝑇 = (𝑁 matToPolyMat 𝑅)
pmatcollpw3.a 𝐴 = (𝑁 Mat 𝑅)
pmatcollpw3.d 𝐷 = (Base‘𝐴)
Assertion
Ref Expression
pmatcollpw3lem (((𝑁 ∈ Fin ∧ 𝑅 ∈ CRing ∧ 𝑀𝐵) ∧ (𝐼 ⊆ ℕ0𝐼 ≠ ∅)) → (𝑀 = (𝐶 Σg (𝑛𝐼 ↦ ((𝑛 𝑋) (𝑇‘(𝑀 decompPMat 𝑛))))) → ∃𝑓 ∈ (𝐷𝑚 𝐼)𝑀 = (𝐶 Σg (𝑛𝐼 ↦ ((𝑛 𝑋) (𝑇‘(𝑓𝑛)))))))
Distinct variable groups:   𝐵,𝑛   𝑛,𝑀   𝑛,𝑁   𝑃,𝑛   𝑅,𝑛   𝑛,𝑋   ,𝑛   𝐶,𝑛   𝐵,𝑓   𝐶,𝑓,𝑛   𝐷,𝑓   𝑓,𝐼,𝑛   𝑓,𝑀   𝑓,𝑁   𝑅,𝑓   𝑇,𝑓   𝑓,𝑋   ,𝑓   ,𝑓
Allowed substitution hints:   𝐴(𝑓,𝑛)   𝐷(𝑛)   𝑃(𝑓)   𝑇(𝑛)   (𝑛)

Proof of Theorem pmatcollpw3lem
Dummy variables 𝑖 𝑗 𝑘 𝑙 𝑥 𝑦 𝑚 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 dmeq 5480 . . . . . . . . 9 (𝑥 = 𝑦 → dom 𝑥 = dom 𝑦)
21dmeqd 5482 . . . . . . . 8 (𝑥 = 𝑦 → dom dom 𝑥 = dom dom 𝑦)
3 oveq 6821 . . . . . . . . . 10 (𝑥 = 𝑦 → (𝑖𝑥𝑗) = (𝑖𝑦𝑗))
43fveq2d 6358 . . . . . . . . 9 (𝑥 = 𝑦 → (coe1‘(𝑖𝑥𝑗)) = (coe1‘(𝑖𝑦𝑗)))
54fveq1d 6356 . . . . . . . 8 (𝑥 = 𝑦 → ((coe1‘(𝑖𝑥𝑗))‘𝑘) = ((coe1‘(𝑖𝑦𝑗))‘𝑘))
62, 2, 5mpt2eq123dv 6884 . . . . . . 7 (𝑥 = 𝑦 → (𝑖 ∈ dom dom 𝑥, 𝑗 ∈ dom dom 𝑥 ↦ ((coe1‘(𝑖𝑥𝑗))‘𝑘)) = (𝑖 ∈ dom dom 𝑦, 𝑗 ∈ dom dom 𝑦 ↦ ((coe1‘(𝑖𝑦𝑗))‘𝑘)))
7 fveq2 6354 . . . . . . . 8 (𝑘 = 𝑙 → ((coe1‘(𝑖𝑦𝑗))‘𝑘) = ((coe1‘(𝑖𝑦𝑗))‘𝑙))
87mpt2eq3dv 6888 . . . . . . 7 (𝑘 = 𝑙 → (𝑖 ∈ dom dom 𝑦, 𝑗 ∈ dom dom 𝑦 ↦ ((coe1‘(𝑖𝑦𝑗))‘𝑘)) = (𝑖 ∈ dom dom 𝑦, 𝑗 ∈ dom dom 𝑦 ↦ ((coe1‘(𝑖𝑦𝑗))‘𝑙)))
96, 8cbvmpt2v 6902 . . . . . 6 (𝑥𝐵, 𝑘𝐼 ↦ (𝑖 ∈ dom dom 𝑥, 𝑗 ∈ dom dom 𝑥 ↦ ((coe1‘(𝑖𝑥𝑗))‘𝑘))) = (𝑦𝐵, 𝑙𝐼 ↦ (𝑖 ∈ dom dom 𝑦, 𝑗 ∈ dom dom 𝑦 ↦ ((coe1‘(𝑖𝑦𝑗))‘𝑙)))
10 dmexg 7264 . . . . . . . . . . 11 (𝑦𝐵 → dom 𝑦 ∈ V)
11 dmexg 7264 . . . . . . . . . . 11 (dom 𝑦 ∈ V → dom dom 𝑦 ∈ V)
1210, 11syl 17 . . . . . . . . . 10 (𝑦𝐵 → dom dom 𝑦 ∈ V)
1312, 12jca 555 . . . . . . . . 9 (𝑦𝐵 → (dom dom 𝑦 ∈ V ∧ dom dom 𝑦 ∈ V))
1413ad2antrl 766 . . . . . . . 8 ((((𝑁 ∈ Fin ∧ 𝑅 ∈ CRing ∧ 𝑀𝐵) ∧ (𝐼 ⊆ ℕ0𝐼 ≠ ∅)) ∧ (𝑦𝐵𝑙𝐼)) → (dom dom 𝑦 ∈ V ∧ dom dom 𝑦 ∈ V))
15 mpt2exga 7416 . . . . . . . 8 ((dom dom 𝑦 ∈ V ∧ dom dom 𝑦 ∈ V) → (𝑖 ∈ dom dom 𝑦, 𝑗 ∈ dom dom 𝑦 ↦ ((coe1‘(𝑖𝑦𝑗))‘𝑙)) ∈ V)
1614, 15syl 17 . . . . . . 7 ((((𝑁 ∈ Fin ∧ 𝑅 ∈ CRing ∧ 𝑀𝐵) ∧ (𝐼 ⊆ ℕ0𝐼 ≠ ∅)) ∧ (𝑦𝐵𝑙𝐼)) → (𝑖 ∈ dom dom 𝑦, 𝑗 ∈ dom dom 𝑦 ↦ ((coe1‘(𝑖𝑦𝑗))‘𝑙)) ∈ V)
1716ralrimivva 3110 . . . . . 6 (((𝑁 ∈ Fin ∧ 𝑅 ∈ CRing ∧ 𝑀𝐵) ∧ (𝐼 ⊆ ℕ0𝐼 ≠ ∅)) → ∀𝑦𝐵𝑙𝐼 (𝑖 ∈ dom dom 𝑦, 𝑗 ∈ dom dom 𝑦 ↦ ((coe1‘(𝑖𝑦𝑗))‘𝑙)) ∈ V)
18 simprr 813 . . . . . 6 (((𝑁 ∈ Fin ∧ 𝑅 ∈ CRing ∧ 𝑀𝐵) ∧ (𝐼 ⊆ ℕ0𝐼 ≠ ∅)) → 𝐼 ≠ ∅)
19 nn0ex 11511 . . . . . . . 8 0 ∈ V
2019ssex 4955 . . . . . . 7 (𝐼 ⊆ ℕ0𝐼 ∈ V)
2120ad2antrl 766 . . . . . 6 (((𝑁 ∈ Fin ∧ 𝑅 ∈ CRing ∧ 𝑀𝐵) ∧ (𝐼 ⊆ ℕ0𝐼 ≠ ∅)) → 𝐼 ∈ V)
22 simp3 1133 . . . . . . 7 ((𝑁 ∈ Fin ∧ 𝑅 ∈ CRing ∧ 𝑀𝐵) → 𝑀𝐵)
2322adantr 472 . . . . . 6 (((𝑁 ∈ Fin ∧ 𝑅 ∈ CRing ∧ 𝑀𝐵) ∧ (𝐼 ⊆ ℕ0𝐼 ≠ ∅)) → 𝑀𝐵)
249, 17, 18, 21, 23mpt2curryvald 7567 . . . . 5 (((𝑁 ∈ Fin ∧ 𝑅 ∈ CRing ∧ 𝑀𝐵) ∧ (𝐼 ⊆ ℕ0𝐼 ≠ ∅)) → (curry (𝑥𝐵, 𝑘𝐼 ↦ (𝑖 ∈ dom dom 𝑥, 𝑗 ∈ dom dom 𝑥 ↦ ((coe1‘(𝑖𝑥𝑗))‘𝑘)))‘𝑀) = (𝑙𝐼𝑀 / 𝑦(𝑖 ∈ dom dom 𝑦, 𝑗 ∈ dom dom 𝑦 ↦ ((coe1‘(𝑖𝑦𝑗))‘𝑙))))
25 fveq2 6354 . . . . . . . . 9 (𝑙 = 𝑘 → ((coe1‘(𝑖𝑦𝑗))‘𝑙) = ((coe1‘(𝑖𝑦𝑗))‘𝑘))
2625mpt2eq3dv 6888 . . . . . . . 8 (𝑙 = 𝑘 → (𝑖 ∈ dom dom 𝑦, 𝑗 ∈ dom dom 𝑦 ↦ ((coe1‘(𝑖𝑦𝑗))‘𝑙)) = (𝑖 ∈ dom dom 𝑦, 𝑗 ∈ dom dom 𝑦 ↦ ((coe1‘(𝑖𝑦𝑗))‘𝑘)))
2726csbeq2dv 4136 . . . . . . 7 (𝑙 = 𝑘𝑀 / 𝑦(𝑖 ∈ dom dom 𝑦, 𝑗 ∈ dom dom 𝑦 ↦ ((coe1‘(𝑖𝑦𝑗))‘𝑙)) = 𝑀 / 𝑦(𝑖 ∈ dom dom 𝑦, 𝑗 ∈ dom dom 𝑦 ↦ ((coe1‘(𝑖𝑦𝑗))‘𝑘)))
28 eqcom 2768 . . . . . . . . 9 (𝑥 = 𝑦𝑦 = 𝑥)
29 eqcom 2768 . . . . . . . . 9 ((𝑖 ∈ dom dom 𝑥, 𝑗 ∈ dom dom 𝑥 ↦ ((coe1‘(𝑖𝑥𝑗))‘𝑘)) = (𝑖 ∈ dom dom 𝑦, 𝑗 ∈ dom dom 𝑦 ↦ ((coe1‘(𝑖𝑦𝑗))‘𝑘)) ↔ (𝑖 ∈ dom dom 𝑦, 𝑗 ∈ dom dom 𝑦 ↦ ((coe1‘(𝑖𝑦𝑗))‘𝑘)) = (𝑖 ∈ dom dom 𝑥, 𝑗 ∈ dom dom 𝑥 ↦ ((coe1‘(𝑖𝑥𝑗))‘𝑘)))
306, 28, 293imtr3i 280 . . . . . . . 8 (𝑦 = 𝑥 → (𝑖 ∈ dom dom 𝑦, 𝑗 ∈ dom dom 𝑦 ↦ ((coe1‘(𝑖𝑦𝑗))‘𝑘)) = (𝑖 ∈ dom dom 𝑥, 𝑗 ∈ dom dom 𝑥 ↦ ((coe1‘(𝑖𝑥𝑗))‘𝑘)))
3130cbvcsbv 3681 . . . . . . 7 𝑀 / 𝑦(𝑖 ∈ dom dom 𝑦, 𝑗 ∈ dom dom 𝑦 ↦ ((coe1‘(𝑖𝑦𝑗))‘𝑘)) = 𝑀 / 𝑥(𝑖 ∈ dom dom 𝑥, 𝑗 ∈ dom dom 𝑥 ↦ ((coe1‘(𝑖𝑥𝑗))‘𝑘))
3227, 31syl6eq 2811 . . . . . 6 (𝑙 = 𝑘𝑀 / 𝑦(𝑖 ∈ dom dom 𝑦, 𝑗 ∈ dom dom 𝑦 ↦ ((coe1‘(𝑖𝑦𝑗))‘𝑙)) = 𝑀 / 𝑥(𝑖 ∈ dom dom 𝑥, 𝑗 ∈ dom dom 𝑥 ↦ ((coe1‘(𝑖𝑥𝑗))‘𝑘)))
3332cbvmptv 4903 . . . . 5 (𝑙𝐼𝑀 / 𝑦(𝑖 ∈ dom dom 𝑦, 𝑗 ∈ dom dom 𝑦 ↦ ((coe1‘(𝑖𝑦𝑗))‘𝑙))) = (𝑘𝐼𝑀 / 𝑥(𝑖 ∈ dom dom 𝑥, 𝑗 ∈ dom dom 𝑥 ↦ ((coe1‘(𝑖𝑥𝑗))‘𝑘)))
3424, 33syl6eq 2811 . . . 4 (((𝑁 ∈ Fin ∧ 𝑅 ∈ CRing ∧ 𝑀𝐵) ∧ (𝐼 ⊆ ℕ0𝐼 ≠ ∅)) → (curry (𝑥𝐵, 𝑘𝐼 ↦ (𝑖 ∈ dom dom 𝑥, 𝑗 ∈ dom dom 𝑥 ↦ ((coe1‘(𝑖𝑥𝑗))‘𝑘)))‘𝑀) = (𝑘𝐼𝑀 / 𝑥(𝑖 ∈ dom dom 𝑥, 𝑗 ∈ dom dom 𝑥 ↦ ((coe1‘(𝑖𝑥𝑗))‘𝑘))))
35 dmeq 5480 . . . . . . . . . . 11 (𝑥 = 𝑀 → dom 𝑥 = dom 𝑀)
3635dmeqd 5482 . . . . . . . . . 10 (𝑥 = 𝑀 → dom dom 𝑥 = dom dom 𝑀)
37 oveq 6821 . . . . . . . . . . . 12 (𝑥 = 𝑀 → (𝑖𝑥𝑗) = (𝑖𝑀𝑗))
3837fveq2d 6358 . . . . . . . . . . 11 (𝑥 = 𝑀 → (coe1‘(𝑖𝑥𝑗)) = (coe1‘(𝑖𝑀𝑗)))
3938fveq1d 6356 . . . . . . . . . 10 (𝑥 = 𝑀 → ((coe1‘(𝑖𝑥𝑗))‘𝑘) = ((coe1‘(𝑖𝑀𝑗))‘𝑘))
4036, 36, 39mpt2eq123dv 6884 . . . . . . . . 9 (𝑥 = 𝑀 → (𝑖 ∈ dom dom 𝑥, 𝑗 ∈ dom dom 𝑥 ↦ ((coe1‘(𝑖𝑥𝑗))‘𝑘)) = (𝑖 ∈ dom dom 𝑀, 𝑗 ∈ dom dom 𝑀 ↦ ((coe1‘(𝑖𝑀𝑗))‘𝑘)))
4140adantl 473 . . . . . . . 8 (((𝑁 ∈ Fin ∧ 𝑅 ∈ CRing ∧ 𝑀𝐵) ∧ 𝑥 = 𝑀) → (𝑖 ∈ dom dom 𝑥, 𝑗 ∈ dom dom 𝑥 ↦ ((coe1‘(𝑖𝑥𝑗))‘𝑘)) = (𝑖 ∈ dom dom 𝑀, 𝑗 ∈ dom dom 𝑀 ↦ ((coe1‘(𝑖𝑀𝑗))‘𝑘)))
4222, 41csbied 3702 . . . . . . 7 ((𝑁 ∈ Fin ∧ 𝑅 ∈ CRing ∧ 𝑀𝐵) → 𝑀 / 𝑥(𝑖 ∈ dom dom 𝑥, 𝑗 ∈ dom dom 𝑥 ↦ ((coe1‘(𝑖𝑥𝑗))‘𝑘)) = (𝑖 ∈ dom dom 𝑀, 𝑗 ∈ dom dom 𝑀 ↦ ((coe1‘(𝑖𝑀𝑗))‘𝑘)))
43 pmatcollpw.c . . . . . . . . . . . . 13 𝐶 = (𝑁 Mat 𝑃)
44 eqid 2761 . . . . . . . . . . . . 13 (Base‘𝑃) = (Base‘𝑃)
45 pmatcollpw.b . . . . . . . . . . . . 13 𝐵 = (Base‘𝐶)
4643, 44, 45matbas2i 20451 . . . . . . . . . . . 12 (𝑀𝐵𝑀 ∈ ((Base‘𝑃) ↑𝑚 (𝑁 × 𝑁)))
47 elmapi 8048 . . . . . . . . . . . 12 (𝑀 ∈ ((Base‘𝑃) ↑𝑚 (𝑁 × 𝑁)) → 𝑀:(𝑁 × 𝑁)⟶(Base‘𝑃))
48 fdm 6213 . . . . . . . . . . . . . 14 (𝑀:(𝑁 × 𝑁)⟶(Base‘𝑃) → dom 𝑀 = (𝑁 × 𝑁))
4948dmeqd 5482 . . . . . . . . . . . . 13 (𝑀:(𝑁 × 𝑁)⟶(Base‘𝑃) → dom dom 𝑀 = dom (𝑁 × 𝑁))
50 dmxpid 5501 . . . . . . . . . . . . 13 dom (𝑁 × 𝑁) = 𝑁
5149, 50syl6req 2812 . . . . . . . . . . . 12 (𝑀:(𝑁 × 𝑁)⟶(Base‘𝑃) → 𝑁 = dom dom 𝑀)
5246, 47, 513syl 18 . . . . . . . . . . 11 (𝑀𝐵𝑁 = dom dom 𝑀)
53523ad2ant3 1130 . . . . . . . . . 10 ((𝑁 ∈ Fin ∧ 𝑅 ∈ CRing ∧ 𝑀𝐵) → 𝑁 = dom dom 𝑀)
5453adantr 472 . . . . . . . . 9 (((𝑁 ∈ Fin ∧ 𝑅 ∈ CRing ∧ 𝑀𝐵) ∧ 𝑚 = 𝑀) → 𝑁 = dom dom 𝑀)
55 simpr 479 . . . . . . . . . . . 12 (((𝑁 ∈ Fin ∧ 𝑅 ∈ CRing ∧ 𝑀𝐵) ∧ 𝑚 = 𝑀) → 𝑚 = 𝑀)
5655oveqd 6832 . . . . . . . . . . 11 (((𝑁 ∈ Fin ∧ 𝑅 ∈ CRing ∧ 𝑀𝐵) ∧ 𝑚 = 𝑀) → (𝑖𝑚𝑗) = (𝑖𝑀𝑗))
5756fveq2d 6358 . . . . . . . . . 10 (((𝑁 ∈ Fin ∧ 𝑅 ∈ CRing ∧ 𝑀𝐵) ∧ 𝑚 = 𝑀) → (coe1‘(𝑖𝑚𝑗)) = (coe1‘(𝑖𝑀𝑗)))
5857fveq1d 6356 . . . . . . . . 9 (((𝑁 ∈ Fin ∧ 𝑅 ∈ CRing ∧ 𝑀𝐵) ∧ 𝑚 = 𝑀) → ((coe1‘(𝑖𝑚𝑗))‘𝑘) = ((coe1‘(𝑖𝑀𝑗))‘𝑘))
5954, 54, 58mpt2eq123dv 6884 . . . . . . . 8 (((𝑁 ∈ Fin ∧ 𝑅 ∈ CRing ∧ 𝑀𝐵) ∧ 𝑚 = 𝑀) → (𝑖𝑁, 𝑗𝑁 ↦ ((coe1‘(𝑖𝑚𝑗))‘𝑘)) = (𝑖 ∈ dom dom 𝑀, 𝑗 ∈ dom dom 𝑀 ↦ ((coe1‘(𝑖𝑀𝑗))‘𝑘)))
6022, 59csbied 3702 . . . . . . 7 ((𝑁 ∈ Fin ∧ 𝑅 ∈ CRing ∧ 𝑀𝐵) → 𝑀 / 𝑚(𝑖𝑁, 𝑗𝑁 ↦ ((coe1‘(𝑖𝑚𝑗))‘𝑘)) = (𝑖 ∈ dom dom 𝑀, 𝑗 ∈ dom dom 𝑀 ↦ ((coe1‘(𝑖𝑀𝑗))‘𝑘)))
6142, 60eqtr4d 2798 . . . . . 6 ((𝑁 ∈ Fin ∧ 𝑅 ∈ CRing ∧ 𝑀𝐵) → 𝑀 / 𝑥(𝑖 ∈ dom dom 𝑥, 𝑗 ∈ dom dom 𝑥 ↦ ((coe1‘(𝑖𝑥𝑗))‘𝑘)) = 𝑀 / 𝑚(𝑖𝑁, 𝑗𝑁 ↦ ((coe1‘(𝑖𝑚𝑗))‘𝑘)))
6261adantr 472 . . . . 5 (((𝑁 ∈ Fin ∧ 𝑅 ∈ CRing ∧ 𝑀𝐵) ∧ (𝐼 ⊆ ℕ0𝐼 ≠ ∅)) → 𝑀 / 𝑥(𝑖 ∈ dom dom 𝑥, 𝑗 ∈ dom dom 𝑥 ↦ ((coe1‘(𝑖𝑥𝑗))‘𝑘)) = 𝑀 / 𝑚(𝑖𝑁, 𝑗𝑁 ↦ ((coe1‘(𝑖𝑚𝑗))‘𝑘)))
6362mpteq2dv 4898 . . . 4 (((𝑁 ∈ Fin ∧ 𝑅 ∈ CRing ∧ 𝑀𝐵) ∧ (𝐼 ⊆ ℕ0𝐼 ≠ ∅)) → (𝑘𝐼𝑀 / 𝑥(𝑖 ∈ dom dom 𝑥, 𝑗 ∈ dom dom 𝑥 ↦ ((coe1‘(𝑖𝑥𝑗))‘𝑘))) = (𝑘𝐼𝑀 / 𝑚(𝑖𝑁, 𝑗𝑁 ↦ ((coe1‘(𝑖𝑚𝑗))‘𝑘))))
6434, 63eqtrd 2795 . . 3 (((𝑁 ∈ Fin ∧ 𝑅 ∈ CRing ∧ 𝑀𝐵) ∧ (𝐼 ⊆ ℕ0𝐼 ≠ ∅)) → (curry (𝑥𝐵, 𝑘𝐼 ↦ (𝑖 ∈ dom dom 𝑥, 𝑗 ∈ dom dom 𝑥 ↦ ((coe1‘(𝑖𝑥𝑗))‘𝑘)))‘𝑀) = (𝑘𝐼𝑀 / 𝑚(𝑖𝑁, 𝑗𝑁 ↦ ((coe1‘(𝑖𝑚𝑗))‘𝑘))))
65 oveq 6821 . . . . . . . . . . . 12 (𝑚 = 𝑀 → (𝑖𝑚𝑗) = (𝑖𝑀𝑗))
6665adantl 473 . . . . . . . . . . 11 (((𝑁 ∈ Fin ∧ 𝑅 ∈ CRing ∧ 𝑀𝐵) ∧ 𝑚 = 𝑀) → (𝑖𝑚𝑗) = (𝑖𝑀𝑗))
6766fveq2d 6358 . . . . . . . . . 10 (((𝑁 ∈ Fin ∧ 𝑅 ∈ CRing ∧ 𝑀𝐵) ∧ 𝑚 = 𝑀) → (coe1‘(𝑖𝑚𝑗)) = (coe1‘(𝑖𝑀𝑗)))
6867fveq1d 6356 . . . . . . . . 9 (((𝑁 ∈ Fin ∧ 𝑅 ∈ CRing ∧ 𝑀𝐵) ∧ 𝑚 = 𝑀) → ((coe1‘(𝑖𝑚𝑗))‘𝑘) = ((coe1‘(𝑖𝑀𝑗))‘𝑘))
6968mpt2eq3dv 6888 . . . . . . . 8 (((𝑁 ∈ Fin ∧ 𝑅 ∈ CRing ∧ 𝑀𝐵) ∧ 𝑚 = 𝑀) → (𝑖𝑁, 𝑗𝑁 ↦ ((coe1‘(𝑖𝑚𝑗))‘𝑘)) = (𝑖𝑁, 𝑗𝑁 ↦ ((coe1‘(𝑖𝑀𝑗))‘𝑘)))
7022, 69csbied 3702 . . . . . . 7 ((𝑁 ∈ Fin ∧ 𝑅 ∈ CRing ∧ 𝑀𝐵) → 𝑀 / 𝑚(𝑖𝑁, 𝑗𝑁 ↦ ((coe1‘(𝑖𝑚𝑗))‘𝑘)) = (𝑖𝑁, 𝑗𝑁 ↦ ((coe1‘(𝑖𝑀𝑗))‘𝑘)))
7170ad2antrr 764 . . . . . 6 ((((𝑁 ∈ Fin ∧ 𝑅 ∈ CRing ∧ 𝑀𝐵) ∧ (𝐼 ⊆ ℕ0𝐼 ≠ ∅)) ∧ 𝑘𝐼) → 𝑀 / 𝑚(𝑖𝑁, 𝑗𝑁 ↦ ((coe1‘(𝑖𝑚𝑗))‘𝑘)) = (𝑖𝑁, 𝑗𝑁 ↦ ((coe1‘(𝑖𝑀𝑗))‘𝑘)))
72 pmatcollpw3.a . . . . . . 7 𝐴 = (𝑁 Mat 𝑅)
73 eqid 2761 . . . . . . 7 (Base‘𝑅) = (Base‘𝑅)
74 pmatcollpw3.d . . . . . . 7 𝐷 = (Base‘𝐴)
75 simpll1 1255 . . . . . . 7 ((((𝑁 ∈ Fin ∧ 𝑅 ∈ CRing ∧ 𝑀𝐵) ∧ (𝐼 ⊆ ℕ0𝐼 ≠ ∅)) ∧ 𝑘𝐼) → 𝑁 ∈ Fin)
76 simpll2 1257 . . . . . . 7 ((((𝑁 ∈ Fin ∧ 𝑅 ∈ CRing ∧ 𝑀𝐵) ∧ (𝐼 ⊆ ℕ0𝐼 ≠ ∅)) ∧ 𝑘𝐼) → 𝑅 ∈ CRing)
77 simp2 1132 . . . . . . . . 9 (((((𝑁 ∈ Fin ∧ 𝑅 ∈ CRing ∧ 𝑀𝐵) ∧ (𝐼 ⊆ ℕ0𝐼 ≠ ∅)) ∧ 𝑘𝐼) ∧ 𝑖𝑁𝑗𝑁) → 𝑖𝑁)
78 simp3 1133 . . . . . . . . 9 (((((𝑁 ∈ Fin ∧ 𝑅 ∈ CRing ∧ 𝑀𝐵) ∧ (𝐼 ⊆ ℕ0𝐼 ≠ ∅)) ∧ 𝑘𝐼) ∧ 𝑖𝑁𝑗𝑁) → 𝑗𝑁)
7923adantr 472 . . . . . . . . . 10 ((((𝑁 ∈ Fin ∧ 𝑅 ∈ CRing ∧ 𝑀𝐵) ∧ (𝐼 ⊆ ℕ0𝐼 ≠ ∅)) ∧ 𝑘𝐼) → 𝑀𝐵)
80793ad2ant1 1128 . . . . . . . . 9 (((((𝑁 ∈ Fin ∧ 𝑅 ∈ CRing ∧ 𝑀𝐵) ∧ (𝐼 ⊆ ℕ0𝐼 ≠ ∅)) ∧ 𝑘𝐼) ∧ 𝑖𝑁𝑗𝑁) → 𝑀𝐵)
8143, 44, 45, 77, 78, 80matecld 20455 . . . . . . . 8 (((((𝑁 ∈ Fin ∧ 𝑅 ∈ CRing ∧ 𝑀𝐵) ∧ (𝐼 ⊆ ℕ0𝐼 ≠ ∅)) ∧ 𝑘𝐼) ∧ 𝑖𝑁𝑗𝑁) → (𝑖𝑀𝑗) ∈ (Base‘𝑃))
82 ssel 3739 . . . . . . . . . . 11 (𝐼 ⊆ ℕ0 → (𝑘𝐼𝑘 ∈ ℕ0))
8382ad2antrl 766 . . . . . . . . . 10 (((𝑁 ∈ Fin ∧ 𝑅 ∈ CRing ∧ 𝑀𝐵) ∧ (𝐼 ⊆ ℕ0𝐼 ≠ ∅)) → (𝑘𝐼𝑘 ∈ ℕ0))
8483imp 444 . . . . . . . . 9 ((((𝑁 ∈ Fin ∧ 𝑅 ∈ CRing ∧ 𝑀𝐵) ∧ (𝐼 ⊆ ℕ0𝐼 ≠ ∅)) ∧ 𝑘𝐼) → 𝑘 ∈ ℕ0)
85843ad2ant1 1128 . . . . . . . 8 (((((𝑁 ∈ Fin ∧ 𝑅 ∈ CRing ∧ 𝑀𝐵) ∧ (𝐼 ⊆ ℕ0𝐼 ≠ ∅)) ∧ 𝑘𝐼) ∧ 𝑖𝑁𝑗𝑁) → 𝑘 ∈ ℕ0)
86 eqid 2761 . . . . . . . . 9 (coe1‘(𝑖𝑀𝑗)) = (coe1‘(𝑖𝑀𝑗))
87 pmatcollpw.p . . . . . . . . 9 𝑃 = (Poly1𝑅)
8886, 44, 87, 73coe1fvalcl 19805 . . . . . . . 8 (((𝑖𝑀𝑗) ∈ (Base‘𝑃) ∧ 𝑘 ∈ ℕ0) → ((coe1‘(𝑖𝑀𝑗))‘𝑘) ∈ (Base‘𝑅))
8981, 85, 88syl2anc 696 . . . . . . 7 (((((𝑁 ∈ Fin ∧ 𝑅 ∈ CRing ∧ 𝑀𝐵) ∧ (𝐼 ⊆ ℕ0𝐼 ≠ ∅)) ∧ 𝑘𝐼) ∧ 𝑖𝑁𝑗𝑁) → ((coe1‘(𝑖𝑀𝑗))‘𝑘) ∈ (Base‘𝑅))
9072, 73, 74, 75, 76, 89matbas2d 20452 . . . . . 6 ((((𝑁 ∈ Fin ∧ 𝑅 ∈ CRing ∧ 𝑀𝐵) ∧ (𝐼 ⊆ ℕ0𝐼 ≠ ∅)) ∧ 𝑘𝐼) → (𝑖𝑁, 𝑗𝑁 ↦ ((coe1‘(𝑖𝑀𝑗))‘𝑘)) ∈ 𝐷)
9171, 90eqeltrd 2840 . . . . 5 ((((𝑁 ∈ Fin ∧ 𝑅 ∈ CRing ∧ 𝑀𝐵) ∧ (𝐼 ⊆ ℕ0𝐼 ≠ ∅)) ∧ 𝑘𝐼) → 𝑀 / 𝑚(𝑖𝑁, 𝑗𝑁 ↦ ((coe1‘(𝑖𝑚𝑗))‘𝑘)) ∈ 𝐷)
92 eqid 2761 . . . . 5 (𝑘𝐼𝑀 / 𝑚(𝑖𝑁, 𝑗𝑁 ↦ ((coe1‘(𝑖𝑚𝑗))‘𝑘))) = (𝑘𝐼𝑀 / 𝑚(𝑖𝑁, 𝑗𝑁 ↦ ((coe1‘(𝑖𝑚𝑗))‘𝑘)))
9391, 92fmptd 6550 . . . 4 (((𝑁 ∈ Fin ∧ 𝑅 ∈ CRing ∧ 𝑀𝐵) ∧ (𝐼 ⊆ ℕ0𝐼 ≠ ∅)) → (𝑘𝐼𝑀 / 𝑚(𝑖𝑁, 𝑗𝑁 ↦ ((coe1‘(𝑖𝑚𝑗))‘𝑘))):𝐼𝐷)
94 fvex 6364 . . . . . . 7 (Base‘𝐴) ∈ V
9574, 94eqeltri 2836 . . . . . 6 𝐷 ∈ V
9695a1i 11 . . . . 5 ((𝑁 ∈ Fin ∧ 𝑅 ∈ CRing ∧ 𝑀𝐵) → 𝐷 ∈ V)
9720adantr 472 . . . . 5 ((𝐼 ⊆ ℕ0𝐼 ≠ ∅) → 𝐼 ∈ V)
98 elmapg 8039 . . . . 5 ((𝐷 ∈ V ∧ 𝐼 ∈ V) → ((𝑘𝐼𝑀 / 𝑚(𝑖𝑁, 𝑗𝑁 ↦ ((coe1‘(𝑖𝑚𝑗))‘𝑘))) ∈ (𝐷𝑚 𝐼) ↔ (𝑘𝐼𝑀 / 𝑚(𝑖𝑁, 𝑗𝑁 ↦ ((coe1‘(𝑖𝑚𝑗))‘𝑘))):𝐼𝐷))
9996, 97, 98syl2an 495 . . . 4 (((𝑁 ∈ Fin ∧ 𝑅 ∈ CRing ∧ 𝑀𝐵) ∧ (𝐼 ⊆ ℕ0𝐼 ≠ ∅)) → ((𝑘𝐼𝑀 / 𝑚(𝑖𝑁, 𝑗𝑁 ↦ ((coe1‘(𝑖𝑚𝑗))‘𝑘))) ∈ (𝐷𝑚 𝐼) ↔ (𝑘𝐼𝑀 / 𝑚(𝑖𝑁, 𝑗𝑁 ↦ ((coe1‘(𝑖𝑚𝑗))‘𝑘))):𝐼𝐷))
10093, 99mpbird 247 . . 3 (((𝑁 ∈ Fin ∧ 𝑅 ∈ CRing ∧ 𝑀𝐵) ∧ (𝐼 ⊆ ℕ0𝐼 ≠ ∅)) → (𝑘𝐼𝑀 / 𝑚(𝑖𝑁, 𝑗𝑁 ↦ ((coe1‘(𝑖𝑚𝑗))‘𝑘))) ∈ (𝐷𝑚 𝐼))
10164, 100eqeltrd 2840 . 2 (((𝑁 ∈ Fin ∧ 𝑅 ∈ CRing ∧ 𝑀𝐵) ∧ (𝐼 ⊆ ℕ0𝐼 ≠ ∅)) → (curry (𝑥𝐵, 𝑘𝐼 ↦ (𝑖 ∈ dom dom 𝑥, 𝑗 ∈ dom dom 𝑥 ↦ ((coe1‘(𝑖𝑥𝑗))‘𝑘)))‘𝑀) ∈ (𝐷𝑚 𝐼))
102 fveq1 6353 . . . . . . . . . . 11 (𝑓 = (curry (𝑥𝐵, 𝑘𝐼 ↦ (𝑖 ∈ dom dom 𝑥, 𝑗 ∈ dom dom 𝑥 ↦ ((coe1‘(𝑖𝑥𝑗))‘𝑘)))‘𝑀) → (𝑓𝑛) = ((curry (𝑥𝐵, 𝑘𝐼 ↦ (𝑖 ∈ dom dom 𝑥, 𝑗 ∈ dom dom 𝑥 ↦ ((coe1‘(𝑖𝑥𝑗))‘𝑘)))‘𝑀)‘𝑛))
103102adantl 473 . . . . . . . . . 10 ((((𝑁 ∈ Fin ∧ 𝑅 ∈ CRing ∧ 𝑀𝐵) ∧ (𝐼 ⊆ ℕ0𝐼 ≠ ∅)) ∧ 𝑓 = (curry (𝑥𝐵, 𝑘𝐼 ↦ (𝑖 ∈ dom dom 𝑥, 𝑗 ∈ dom dom 𝑥 ↦ ((coe1‘(𝑖𝑥𝑗))‘𝑘)))‘𝑀)) → (𝑓𝑛) = ((curry (𝑥𝐵, 𝑘𝐼 ↦ (𝑖 ∈ dom dom 𝑥, 𝑗 ∈ dom dom 𝑥 ↦ ((coe1‘(𝑖𝑥𝑗))‘𝑘)))‘𝑀)‘𝑛))
104103adantr 472 . . . . . . . . 9 (((((𝑁 ∈ Fin ∧ 𝑅 ∈ CRing ∧ 𝑀𝐵) ∧ (𝐼 ⊆ ℕ0𝐼 ≠ ∅)) ∧ 𝑓 = (curry (𝑥𝐵, 𝑘𝐼 ↦ (𝑖 ∈ dom dom 𝑥, 𝑗 ∈ dom dom 𝑥 ↦ ((coe1‘(𝑖𝑥𝑗))‘𝑘)))‘𝑀)) ∧ 𝑛𝐼) → (𝑓𝑛) = ((curry (𝑥𝐵, 𝑘𝐼 ↦ (𝑖 ∈ dom dom 𝑥, 𝑗 ∈ dom dom 𝑥 ↦ ((coe1‘(𝑖𝑥𝑗))‘𝑘)))‘𝑀)‘𝑛))
105 eqid 2761 . . . . . . . . . . . 12 (𝑥𝐵, 𝑘𝐼 ↦ (𝑖 ∈ dom dom 𝑥, 𝑗 ∈ dom dom 𝑥 ↦ ((coe1‘(𝑖𝑥𝑗))‘𝑘))) = (𝑥𝐵, 𝑘𝐼 ↦ (𝑖 ∈ dom dom 𝑥, 𝑗 ∈ dom dom 𝑥 ↦ ((coe1‘(𝑖𝑥𝑗))‘𝑘)))
106 dmexg 7264 . . . . . . . . . . . . . . . . 17 (𝑥𝐵 → dom 𝑥 ∈ V)
107 dmexg 7264 . . . . . . . . . . . . . . . . 17 (dom 𝑥 ∈ V → dom dom 𝑥 ∈ V)
108106, 107syl 17 . . . . . . . . . . . . . . . 16 (𝑥𝐵 → dom dom 𝑥 ∈ V)
109108, 108jca 555 . . . . . . . . . . . . . . 15 (𝑥𝐵 → (dom dom 𝑥 ∈ V ∧ dom dom 𝑥 ∈ V))
110109ad2antrl 766 . . . . . . . . . . . . . 14 (((((𝑁 ∈ Fin ∧ 𝑅 ∈ CRing ∧ 𝑀𝐵) ∧ (𝐼 ⊆ ℕ0𝐼 ≠ ∅)) ∧ 𝑛𝐼) ∧ (𝑥𝐵𝑘𝐼)) → (dom dom 𝑥 ∈ V ∧ dom dom 𝑥 ∈ V))
111 mpt2exga 7416 . . . . . . . . . . . . . 14 ((dom dom 𝑥 ∈ V ∧ dom dom 𝑥 ∈ V) → (𝑖 ∈ dom dom 𝑥, 𝑗 ∈ dom dom 𝑥 ↦ ((coe1‘(𝑖𝑥𝑗))‘𝑘)) ∈ V)
112110, 111syl 17 . . . . . . . . . . . . 13 (((((𝑁 ∈ Fin ∧ 𝑅 ∈ CRing ∧ 𝑀𝐵) ∧ (𝐼 ⊆ ℕ0𝐼 ≠ ∅)) ∧ 𝑛𝐼) ∧ (𝑥𝐵𝑘𝐼)) → (𝑖 ∈ dom dom 𝑥, 𝑗 ∈ dom dom 𝑥 ↦ ((coe1‘(𝑖𝑥𝑗))‘𝑘)) ∈ V)
113112ralrimivva 3110 . . . . . . . . . . . 12 ((((𝑁 ∈ Fin ∧ 𝑅 ∈ CRing ∧ 𝑀𝐵) ∧ (𝐼 ⊆ ℕ0𝐼 ≠ ∅)) ∧ 𝑛𝐼) → ∀𝑥𝐵𝑘𝐼 (𝑖 ∈ dom dom 𝑥, 𝑗 ∈ dom dom 𝑥 ↦ ((coe1‘(𝑖𝑥𝑗))‘𝑘)) ∈ V)
11421adantr 472 . . . . . . . . . . . 12 ((((𝑁 ∈ Fin ∧ 𝑅 ∈ CRing ∧ 𝑀𝐵) ∧ (𝐼 ⊆ ℕ0𝐼 ≠ ∅)) ∧ 𝑛𝐼) → 𝐼 ∈ V)
11523adantr 472 . . . . . . . . . . . 12 ((((𝑁 ∈ Fin ∧ 𝑅 ∈ CRing ∧ 𝑀𝐵) ∧ (𝐼 ⊆ ℕ0𝐼 ≠ ∅)) ∧ 𝑛𝐼) → 𝑀𝐵)
116 simpr 479 . . . . . . . . . . . 12 ((((𝑁 ∈ Fin ∧ 𝑅 ∈ CRing ∧ 𝑀𝐵) ∧ (𝐼 ⊆ ℕ0𝐼 ≠ ∅)) ∧ 𝑛𝐼) → 𝑛𝐼)
117105, 113, 114, 115, 116fvmpt2curryd 7568 . . . . . . . . . . 11 ((((𝑁 ∈ Fin ∧ 𝑅 ∈ CRing ∧ 𝑀𝐵) ∧ (𝐼 ⊆ ℕ0𝐼 ≠ ∅)) ∧ 𝑛𝐼) → ((curry (𝑥𝐵, 𝑘𝐼 ↦ (𝑖 ∈ dom dom 𝑥, 𝑗 ∈ dom dom 𝑥 ↦ ((coe1‘(𝑖𝑥𝑗))‘𝑘)))‘𝑀)‘𝑛) = (𝑀(𝑥𝐵, 𝑘𝐼 ↦ (𝑖 ∈ dom dom 𝑥, 𝑗 ∈ dom dom 𝑥 ↦ ((coe1‘(𝑖𝑥𝑗))‘𝑘)))𝑛))
118 df-decpmat 20791 . . . . . . . . . . . . . 14 decompPMat = (𝑥 ∈ V, 𝑘 ∈ ℕ0 ↦ (𝑖 ∈ dom dom 𝑥, 𝑗 ∈ dom dom 𝑥 ↦ ((coe1‘(𝑖𝑥𝑗))‘𝑘)))
119118reseq1i 5548 . . . . . . . . . . . . 13 ( decompPMat ↾ (𝐵 × 𝐼)) = ((𝑥 ∈ V, 𝑘 ∈ ℕ0 ↦ (𝑖 ∈ dom dom 𝑥, 𝑗 ∈ dom dom 𝑥 ↦ ((coe1‘(𝑖𝑥𝑗))‘𝑘))) ↾ (𝐵 × 𝐼))
120 ssv 3767 . . . . . . . . . . . . . . . . 17 𝐵 ⊆ V
121120a1i 11 . . . . . . . . . . . . . . . 16 ((𝑁 ∈ Fin ∧ 𝑅 ∈ CRing ∧ 𝑀𝐵) → 𝐵 ⊆ V)
122 simpl 474 . . . . . . . . . . . . . . . 16 ((𝐼 ⊆ ℕ0𝐼 ≠ ∅) → 𝐼 ⊆ ℕ0)
123121, 122anim12i 591 . . . . . . . . . . . . . . 15 (((𝑁 ∈ Fin ∧ 𝑅 ∈ CRing ∧ 𝑀𝐵) ∧ (𝐼 ⊆ ℕ0𝐼 ≠ ∅)) → (𝐵 ⊆ V ∧ 𝐼 ⊆ ℕ0))
124123adantr 472 . . . . . . . . . . . . . 14 ((((𝑁 ∈ Fin ∧ 𝑅 ∈ CRing ∧ 𝑀𝐵) ∧ (𝐼 ⊆ ℕ0𝐼 ≠ ∅)) ∧ 𝑛𝐼) → (𝐵 ⊆ V ∧ 𝐼 ⊆ ℕ0))
125 resmpt2 6925 . . . . . . . . . . . . . 14 ((𝐵 ⊆ V ∧ 𝐼 ⊆ ℕ0) → ((𝑥 ∈ V, 𝑘 ∈ ℕ0 ↦ (𝑖 ∈ dom dom 𝑥, 𝑗 ∈ dom dom 𝑥 ↦ ((coe1‘(𝑖𝑥𝑗))‘𝑘))) ↾ (𝐵 × 𝐼)) = (𝑥𝐵, 𝑘𝐼 ↦ (𝑖 ∈ dom dom 𝑥, 𝑗 ∈ dom dom 𝑥 ↦ ((coe1‘(𝑖𝑥𝑗))‘𝑘))))
126124, 125syl 17 . . . . . . . . . . . . 13 ((((𝑁 ∈ Fin ∧ 𝑅 ∈ CRing ∧ 𝑀𝐵) ∧ (𝐼 ⊆ ℕ0𝐼 ≠ ∅)) ∧ 𝑛𝐼) → ((𝑥 ∈ V, 𝑘 ∈ ℕ0 ↦ (𝑖 ∈ dom dom 𝑥, 𝑗 ∈ dom dom 𝑥 ↦ ((coe1‘(𝑖𝑥𝑗))‘𝑘))) ↾ (𝐵 × 𝐼)) = (𝑥𝐵, 𝑘𝐼 ↦ (𝑖 ∈ dom dom 𝑥, 𝑗 ∈ dom dom 𝑥 ↦ ((coe1‘(𝑖𝑥𝑗))‘𝑘))))
127119, 126syl5req 2808 . . . . . . . . . . . 12 ((((𝑁 ∈ Fin ∧ 𝑅 ∈ CRing ∧ 𝑀𝐵) ∧ (𝐼 ⊆ ℕ0𝐼 ≠ ∅)) ∧ 𝑛𝐼) → (𝑥𝐵, 𝑘𝐼 ↦ (𝑖 ∈ dom dom 𝑥, 𝑗 ∈ dom dom 𝑥 ↦ ((coe1‘(𝑖𝑥𝑗))‘𝑘))) = ( decompPMat ↾ (𝐵 × 𝐼)))
128127oveqd 6832 . . . . . . . . . . 11 ((((𝑁 ∈ Fin ∧ 𝑅 ∈ CRing ∧ 𝑀𝐵) ∧ (𝐼 ⊆ ℕ0𝐼 ≠ ∅)) ∧ 𝑛𝐼) → (𝑀(𝑥𝐵, 𝑘𝐼 ↦ (𝑖 ∈ dom dom 𝑥, 𝑗 ∈ dom dom 𝑥 ↦ ((coe1‘(𝑖𝑥𝑗))‘𝑘)))𝑛) = (𝑀( decompPMat ↾ (𝐵 × 𝐼))𝑛))
129117, 128eqtrd 2795 . . . . . . . . . 10 ((((𝑁 ∈ Fin ∧ 𝑅 ∈ CRing ∧ 𝑀𝐵) ∧ (𝐼 ⊆ ℕ0𝐼 ≠ ∅)) ∧ 𝑛𝐼) → ((curry (𝑥𝐵, 𝑘𝐼 ↦ (𝑖 ∈ dom dom 𝑥, 𝑗 ∈ dom dom 𝑥 ↦ ((coe1‘(𝑖𝑥𝑗))‘𝑘)))‘𝑀)‘𝑛) = (𝑀( decompPMat ↾ (𝐵 × 𝐼))𝑛))
130129adantlr 753 . . . . . . . . 9 (((((𝑁 ∈ Fin ∧ 𝑅 ∈ CRing ∧ 𝑀𝐵) ∧ (𝐼 ⊆ ℕ0𝐼 ≠ ∅)) ∧ 𝑓 = (curry (𝑥𝐵, 𝑘𝐼 ↦ (𝑖 ∈ dom dom 𝑥, 𝑗 ∈ dom dom 𝑥 ↦ ((coe1‘(𝑖𝑥𝑗))‘𝑘)))‘𝑀)) ∧ 𝑛𝐼) → ((curry (𝑥𝐵, 𝑘𝐼 ↦ (𝑖 ∈ dom dom 𝑥, 𝑗 ∈ dom dom 𝑥 ↦ ((coe1‘(𝑖𝑥𝑗))‘𝑘)))‘𝑀)‘𝑛) = (𝑀( decompPMat ↾ (𝐵 × 𝐼))𝑛))
131104, 130eqtrd 2795 . . . . . . . 8 (((((𝑁 ∈ Fin ∧ 𝑅 ∈ CRing ∧ 𝑀𝐵) ∧ (𝐼 ⊆ ℕ0𝐼 ≠ ∅)) ∧ 𝑓 = (curry (𝑥𝐵, 𝑘𝐼 ↦ (𝑖 ∈ dom dom 𝑥, 𝑗 ∈ dom dom 𝑥 ↦ ((coe1‘(𝑖𝑥𝑗))‘𝑘)))‘𝑀)) ∧ 𝑛𝐼) → (𝑓𝑛) = (𝑀( decompPMat ↾ (𝐵 × 𝐼))𝑛))
132131fveq2d 6358 . . . . . . 7 (((((𝑁 ∈ Fin ∧ 𝑅 ∈ CRing ∧ 𝑀𝐵) ∧ (𝐼 ⊆ ℕ0𝐼 ≠ ∅)) ∧ 𝑓 = (curry (𝑥𝐵, 𝑘𝐼 ↦ (𝑖 ∈ dom dom 𝑥, 𝑗 ∈ dom dom 𝑥 ↦ ((coe1‘(𝑖𝑥𝑗))‘𝑘)))‘𝑀)) ∧ 𝑛𝐼) → (𝑇‘(𝑓𝑛)) = (𝑇‘(𝑀( decompPMat ↾ (𝐵 × 𝐼))𝑛)))
13322ad2antrr 764 . . . . . . . . 9 ((((𝑁 ∈ Fin ∧ 𝑅 ∈ CRing ∧ 𝑀𝐵) ∧ (𝐼 ⊆ ℕ0𝐼 ≠ ∅)) ∧ 𝑓 = (curry (𝑥𝐵, 𝑘𝐼 ↦ (𝑖 ∈ dom dom 𝑥, 𝑗 ∈ dom dom 𝑥 ↦ ((coe1‘(𝑖𝑥𝑗))‘𝑘)))‘𝑀)) → 𝑀𝐵)
134 ovres 6967 . . . . . . . . 9 ((𝑀𝐵𝑛𝐼) → (𝑀( decompPMat ↾ (𝐵 × 𝐼))𝑛) = (𝑀 decompPMat 𝑛))
135133, 134sylan 489 . . . . . . . 8 (((((𝑁 ∈ Fin ∧ 𝑅 ∈ CRing ∧ 𝑀𝐵) ∧ (𝐼 ⊆ ℕ0𝐼 ≠ ∅)) ∧ 𝑓 = (curry (𝑥𝐵, 𝑘𝐼 ↦ (𝑖 ∈ dom dom 𝑥, 𝑗 ∈ dom dom 𝑥 ↦ ((coe1‘(𝑖𝑥𝑗))‘𝑘)))‘𝑀)) ∧ 𝑛𝐼) → (𝑀( decompPMat ↾ (𝐵 × 𝐼))𝑛) = (𝑀 decompPMat 𝑛))
136135fveq2d 6358 . . . . . . 7 (((((𝑁 ∈ Fin ∧ 𝑅 ∈ CRing ∧ 𝑀𝐵) ∧ (𝐼 ⊆ ℕ0𝐼 ≠ ∅)) ∧ 𝑓 = (curry (𝑥𝐵, 𝑘𝐼 ↦ (𝑖 ∈ dom dom 𝑥, 𝑗 ∈ dom dom 𝑥 ↦ ((coe1‘(𝑖𝑥𝑗))‘𝑘)))‘𝑀)) ∧ 𝑛𝐼) → (𝑇‘(𝑀( decompPMat ↾ (𝐵 × 𝐼))𝑛)) = (𝑇‘(𝑀 decompPMat 𝑛)))
137132, 136eqtrd 2795 . . . . . 6 (((((𝑁 ∈ Fin ∧ 𝑅 ∈ CRing ∧ 𝑀𝐵) ∧ (𝐼 ⊆ ℕ0𝐼 ≠ ∅)) ∧ 𝑓 = (curry (𝑥𝐵, 𝑘𝐼 ↦ (𝑖 ∈ dom dom 𝑥, 𝑗 ∈ dom dom 𝑥 ↦ ((coe1‘(𝑖𝑥𝑗))‘𝑘)))‘𝑀)) ∧ 𝑛𝐼) → (𝑇‘(𝑓𝑛)) = (𝑇‘(𝑀 decompPMat 𝑛)))
138137oveq2d 6831 . . . . 5 (((((𝑁 ∈ Fin ∧ 𝑅 ∈ CRing ∧ 𝑀𝐵) ∧ (𝐼 ⊆ ℕ0𝐼 ≠ ∅)) ∧ 𝑓 = (curry (𝑥𝐵, 𝑘𝐼 ↦ (𝑖 ∈ dom dom 𝑥, 𝑗 ∈ dom dom 𝑥 ↦ ((coe1‘(𝑖𝑥𝑗))‘𝑘)))‘𝑀)) ∧ 𝑛𝐼) → ((𝑛 𝑋) (𝑇‘(𝑓𝑛))) = ((𝑛 𝑋) (𝑇‘(𝑀 decompPMat 𝑛))))
139138mpteq2dva 4897 . . . 4 ((((𝑁 ∈ Fin ∧ 𝑅 ∈ CRing ∧ 𝑀𝐵) ∧ (𝐼 ⊆ ℕ0𝐼 ≠ ∅)) ∧ 𝑓 = (curry (𝑥𝐵, 𝑘𝐼 ↦ (𝑖 ∈ dom dom 𝑥, 𝑗 ∈ dom dom 𝑥 ↦ ((coe1‘(𝑖𝑥𝑗))‘𝑘)))‘𝑀)) → (𝑛𝐼 ↦ ((𝑛 𝑋) (𝑇‘(𝑓𝑛)))) = (𝑛𝐼 ↦ ((𝑛 𝑋) (𝑇‘(𝑀 decompPMat 𝑛)))))
140139oveq2d 6831 . . 3 ((((𝑁 ∈ Fin ∧ 𝑅 ∈ CRing ∧ 𝑀𝐵) ∧ (𝐼 ⊆ ℕ0𝐼 ≠ ∅)) ∧ 𝑓 = (curry (𝑥𝐵, 𝑘𝐼 ↦ (𝑖 ∈ dom dom 𝑥, 𝑗 ∈ dom dom 𝑥 ↦ ((coe1‘(𝑖𝑥𝑗))‘𝑘)))‘𝑀)) → (𝐶 Σg (𝑛𝐼 ↦ ((𝑛 𝑋) (𝑇‘(𝑓𝑛))))) = (𝐶 Σg (𝑛𝐼 ↦ ((𝑛 𝑋) (𝑇‘(𝑀 decompPMat 𝑛))))))
141140eqeq2d 2771 . 2 ((((𝑁 ∈ Fin ∧ 𝑅 ∈ CRing ∧ 𝑀𝐵) ∧ (𝐼 ⊆ ℕ0𝐼 ≠ ∅)) ∧ 𝑓 = (curry (𝑥𝐵, 𝑘𝐼 ↦ (𝑖 ∈ dom dom 𝑥, 𝑗 ∈ dom dom 𝑥 ↦ ((coe1‘(𝑖𝑥𝑗))‘𝑘)))‘𝑀)) → (𝑀 = (𝐶 Σg (𝑛𝐼 ↦ ((𝑛 𝑋) (𝑇‘(𝑓𝑛))))) ↔ 𝑀 = (𝐶 Σg (𝑛𝐼 ↦ ((𝑛 𝑋) (𝑇‘(𝑀 decompPMat 𝑛)))))))
142101, 141rspcedv 3454 1 (((𝑁 ∈ Fin ∧ 𝑅 ∈ CRing ∧ 𝑀𝐵) ∧ (𝐼 ⊆ ℕ0𝐼 ≠ ∅)) → (𝑀 = (𝐶 Σg (𝑛𝐼 ↦ ((𝑛 𝑋) (𝑇‘(𝑀 decompPMat 𝑛))))) → ∃𝑓 ∈ (𝐷𝑚 𝐼)𝑀 = (𝐶 Σg (𝑛𝐼 ↦ ((𝑛 𝑋) (𝑇‘(𝑓𝑛)))))))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 196  wa 383  w3a 1072   = wceq 1632  wcel 2140  wne 2933  wrex 3052  Vcvv 3341  csb 3675  wss 3716  c0 4059  cmpt 4882   × cxp 5265  dom cdm 5267  cres 5269  wf 6046  cfv 6050  (class class class)co 6815  cmpt2 6817  curry ccur 7562  𝑚 cmap 8026  Fincfn 8124  0cn0 11505  Basecbs 16080   ·𝑠 cvsca 16168   Σg cgsu 16324  .gcmg 17762  mulGrpcmgp 18710  CRingccrg 18769  var1cv1 19769  Poly1cpl1 19770  coe1cco1 19771   Mat cmat 20436   matToPolyMat cmat2pmat 20732   decompPMat cdecpmat 20790
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1871  ax-4 1886  ax-5 1989  ax-6 2055  ax-7 2091  ax-8 2142  ax-9 2149  ax-10 2169  ax-11 2184  ax-12 2197  ax-13 2392  ax-ext 2741  ax-rep 4924  ax-sep 4934  ax-nul 4942  ax-pow 4993  ax-pr 5056  ax-un 7116  ax-cnex 10205  ax-resscn 10206  ax-1cn 10207  ax-icn 10208  ax-addcl 10209  ax-addrcl 10210  ax-mulcl 10211  ax-mulrcl 10212  ax-mulcom 10213  ax-addass 10214  ax-mulass 10215  ax-distr 10216  ax-i2m1 10217  ax-1ne0 10218  ax-1rid 10219  ax-rnegex 10220  ax-rrecex 10221  ax-cnre 10222  ax-pre-lttri 10223  ax-pre-lttrn 10224  ax-pre-ltadd 10225  ax-pre-mulgt0 10226
This theorem depends on definitions:  df-bi 197  df-or 384  df-an 385  df-3or 1073  df-3an 1074  df-tru 1635  df-fal 1638  df-ex 1854  df-nf 1859  df-sb 2048  df-eu 2612  df-mo 2613  df-clab 2748  df-cleq 2754  df-clel 2757  df-nfc 2892  df-ne 2934  df-nel 3037  df-ral 3056  df-rex 3057  df-reu 3058  df-rab 3060  df-v 3343  df-sbc 3578  df-csb 3676  df-dif 3719  df-un 3721  df-in 3723  df-ss 3730  df-pss 3732  df-nul 4060  df-if 4232  df-pw 4305  df-sn 4323  df-pr 4325  df-tp 4327  df-op 4329  df-ot 4331  df-uni 4590  df-int 4629  df-iun 4675  df-br 4806  df-opab 4866  df-mpt 4883  df-tr 4906  df-id 5175  df-eprel 5180  df-po 5188  df-so 5189  df-fr 5226  df-we 5228  df-xp 5273  df-rel 5274  df-cnv 5275  df-co 5276  df-dm 5277  df-rn 5278  df-res 5279  df-ima 5280  df-pred 5842  df-ord 5888  df-on 5889  df-lim 5890  df-suc 5891  df-iota 6013  df-fun 6052  df-fn 6053  df-f 6054  df-f1 6055  df-fo 6056  df-f1o 6057  df-fv 6058  df-riota 6776  df-ov 6818  df-oprab 6819  df-mpt2 6820  df-of 7064  df-om 7233  df-1st 7335  df-2nd 7336  df-supp 7466  df-cur 7564  df-wrecs 7578  df-recs 7639  df-rdg 7677  df-1o 7731  df-oadd 7735  df-er 7914  df-map 8028  df-ixp 8078  df-en 8125  df-dom 8126  df-sdom 8127  df-fin 8128  df-fsupp 8444  df-sup 8516  df-pnf 10289  df-mnf 10290  df-xr 10291  df-ltxr 10292  df-le 10293  df-sub 10481  df-neg 10482  df-nn 11234  df-2 11292  df-3 11293  df-4 11294  df-5 11295  df-6 11296  df-7 11297  df-8 11298  df-9 11299  df-n0 11506  df-z 11591  df-dec 11707  df-uz 11901  df-fz 12541  df-struct 16082  df-ndx 16083  df-slot 16084  df-base 16086  df-sets 16087  df-ress 16088  df-plusg 16177  df-mulr 16178  df-sca 16180  df-vsca 16181  df-ip 16182  df-tset 16183  df-ple 16184  df-ds 16187  df-hom 16189  df-cco 16190  df-0g 16325  df-prds 16331  df-pws 16333  df-sra 19395  df-rgmod 19396  df-psr 19579  df-opsr 19583  df-psr1 19773  df-ply1 19775  df-coe1 19776  df-dsmm 20299  df-frlm 20314  df-mat 20437  df-decpmat 20791
This theorem is referenced by:  pmatcollpw3  20812  pmatcollpw3fi  20813
  Copyright terms: Public domain W3C validator