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

Theorem pmatcollpw3lem 20507
Description: Lemma for pmatcollpw3 20508 and pmatcollpw3fi 20509: Write a polynomial matrix (over a commutative ring) as 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 5284 . . . . . . . . 9 (𝑥 = 𝑦 → dom 𝑥 = dom 𝑦)
21dmeqd 5286 . . . . . . . 8 (𝑥 = 𝑦 → dom dom 𝑥 = dom dom 𝑦)
3 oveq 6610 . . . . . . . . . 10 (𝑥 = 𝑦 → (𝑖𝑥𝑗) = (𝑖𝑦𝑗))
43fveq2d 6152 . . . . . . . . 9 (𝑥 = 𝑦 → (coe1‘(𝑖𝑥𝑗)) = (coe1‘(𝑖𝑦𝑗)))
54fveq1d 6150 . . . . . . . 8 (𝑥 = 𝑦 → ((coe1‘(𝑖𝑥𝑗))‘𝑘) = ((coe1‘(𝑖𝑦𝑗))‘𝑘))
62, 2, 5mpt2eq123dv 6670 . . . . . . 7 (𝑥 = 𝑦 → (𝑖 ∈ dom dom 𝑥, 𝑗 ∈ dom dom 𝑥 ↦ ((coe1‘(𝑖𝑥𝑗))‘𝑘)) = (𝑖 ∈ dom dom 𝑦, 𝑗 ∈ dom dom 𝑦 ↦ ((coe1‘(𝑖𝑦𝑗))‘𝑘)))
7 fveq2 6148 . . . . . . . 8 (𝑘 = 𝑙 → ((coe1‘(𝑖𝑦𝑗))‘𝑘) = ((coe1‘(𝑖𝑦𝑗))‘𝑙))
87mpt2eq3dv 6674 . . . . . . 7 (𝑘 = 𝑙 → (𝑖 ∈ dom dom 𝑦, 𝑗 ∈ dom dom 𝑦 ↦ ((coe1‘(𝑖𝑦𝑗))‘𝑘)) = (𝑖 ∈ dom dom 𝑦, 𝑗 ∈ dom dom 𝑦 ↦ ((coe1‘(𝑖𝑦𝑗))‘𝑙)))
96, 8cbvmpt2v 6688 . . . . . 6 (𝑥𝐵, 𝑘𝐼 ↦ (𝑖 ∈ dom dom 𝑥, 𝑗 ∈ dom dom 𝑥 ↦ ((coe1‘(𝑖𝑥𝑗))‘𝑘))) = (𝑦𝐵, 𝑙𝐼 ↦ (𝑖 ∈ dom dom 𝑦, 𝑗 ∈ dom dom 𝑦 ↦ ((coe1‘(𝑖𝑦𝑗))‘𝑙)))
10 dmexg 7044 . . . . . . . . . . 11 (𝑦𝐵 → dom 𝑦 ∈ V)
11 dmexg 7044 . . . . . . . . . . 11 (dom 𝑦 ∈ V → dom dom 𝑦 ∈ V)
1210, 11syl 17 . . . . . . . . . 10 (𝑦𝐵 → dom dom 𝑦 ∈ V)
1312, 12jca 554 . . . . . . . . 9 (𝑦𝐵 → (dom dom 𝑦 ∈ V ∧ dom dom 𝑦 ∈ V))
1413ad2antrl 763 . . . . . . . 8 ((((𝑁 ∈ Fin ∧ 𝑅 ∈ CRing ∧ 𝑀𝐵) ∧ (𝐼 ⊆ ℕ0𝐼 ≠ ∅)) ∧ (𝑦𝐵𝑙𝐼)) → (dom dom 𝑦 ∈ V ∧ dom dom 𝑦 ∈ V))
15 mpt2exga 7191 . . . . . . . 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 2965 . . . . . 6 (((𝑁 ∈ Fin ∧ 𝑅 ∈ CRing ∧ 𝑀𝐵) ∧ (𝐼 ⊆ ℕ0𝐼 ≠ ∅)) → ∀𝑦𝐵𝑙𝐼 (𝑖 ∈ dom dom 𝑦, 𝑗 ∈ dom dom 𝑦 ↦ ((coe1‘(𝑖𝑦𝑗))‘𝑙)) ∈ V)
18 simprr 795 . . . . . 6 (((𝑁 ∈ Fin ∧ 𝑅 ∈ CRing ∧ 𝑀𝐵) ∧ (𝐼 ⊆ ℕ0𝐼 ≠ ∅)) → 𝐼 ≠ ∅)
19 nn0ex 11242 . . . . . . . 8 0 ∈ V
2019ssex 4762 . . . . . . 7 (𝐼 ⊆ ℕ0𝐼 ∈ V)
2120ad2antrl 763 . . . . . 6 (((𝑁 ∈ Fin ∧ 𝑅 ∈ CRing ∧ 𝑀𝐵) ∧ (𝐼 ⊆ ℕ0𝐼 ≠ ∅)) → 𝐼 ∈ V)
22 simp3 1061 . . . . . . 7 ((𝑁 ∈ Fin ∧ 𝑅 ∈ CRing ∧ 𝑀𝐵) → 𝑀𝐵)
2322adantr 481 . . . . . 6 (((𝑁 ∈ Fin ∧ 𝑅 ∈ CRing ∧ 𝑀𝐵) ∧ (𝐼 ⊆ ℕ0𝐼 ≠ ∅)) → 𝑀𝐵)
249, 17, 18, 21, 23mpt2curryvald 7341 . . . . 5 (((𝑁 ∈ Fin ∧ 𝑅 ∈ CRing ∧ 𝑀𝐵) ∧ (𝐼 ⊆ ℕ0𝐼 ≠ ∅)) → (curry (𝑥𝐵, 𝑘𝐼 ↦ (𝑖 ∈ dom dom 𝑥, 𝑗 ∈ dom dom 𝑥 ↦ ((coe1‘(𝑖𝑥𝑗))‘𝑘)))‘𝑀) = (𝑙𝐼𝑀 / 𝑦(𝑖 ∈ dom dom 𝑦, 𝑗 ∈ dom dom 𝑦 ↦ ((coe1‘(𝑖𝑦𝑗))‘𝑙))))
25 fveq2 6148 . . . . . . . . 9 (𝑙 = 𝑘 → ((coe1‘(𝑖𝑦𝑗))‘𝑙) = ((coe1‘(𝑖𝑦𝑗))‘𝑘))
2625mpt2eq3dv 6674 . . . . . . . 8 (𝑙 = 𝑘 → (𝑖 ∈ dom dom 𝑦, 𝑗 ∈ dom dom 𝑦 ↦ ((coe1‘(𝑖𝑦𝑗))‘𝑙)) = (𝑖 ∈ dom dom 𝑦, 𝑗 ∈ dom dom 𝑦 ↦ ((coe1‘(𝑖𝑦𝑗))‘𝑘)))
2726csbeq2dv 3964 . . . . . . 7 (𝑙 = 𝑘𝑀 / 𝑦(𝑖 ∈ dom dom 𝑦, 𝑗 ∈ dom dom 𝑦 ↦ ((coe1‘(𝑖𝑦𝑗))‘𝑙)) = 𝑀 / 𝑦(𝑖 ∈ dom dom 𝑦, 𝑗 ∈ dom dom 𝑦 ↦ ((coe1‘(𝑖𝑦𝑗))‘𝑘)))
28 eqcom 2628 . . . . . . . . 9 (𝑥 = 𝑦𝑦 = 𝑥)
29 eqcom 2628 . . . . . . . . 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 3520 . . . . . . 7 𝑀 / 𝑦(𝑖 ∈ dom dom 𝑦, 𝑗 ∈ dom dom 𝑦 ↦ ((coe1‘(𝑖𝑦𝑗))‘𝑘)) = 𝑀 / 𝑥(𝑖 ∈ dom dom 𝑥, 𝑗 ∈ dom dom 𝑥 ↦ ((coe1‘(𝑖𝑥𝑗))‘𝑘))
3227, 31syl6eq 2671 . . . . . 6 (𝑙 = 𝑘𝑀 / 𝑦(𝑖 ∈ dom dom 𝑦, 𝑗 ∈ dom dom 𝑦 ↦ ((coe1‘(𝑖𝑦𝑗))‘𝑙)) = 𝑀 / 𝑥(𝑖 ∈ dom dom 𝑥, 𝑗 ∈ dom dom 𝑥 ↦ ((coe1‘(𝑖𝑥𝑗))‘𝑘)))
3332cbvmptv 4710 . . . . 5 (𝑙𝐼𝑀 / 𝑦(𝑖 ∈ dom dom 𝑦, 𝑗 ∈ dom dom 𝑦 ↦ ((coe1‘(𝑖𝑦𝑗))‘𝑙))) = (𝑘𝐼𝑀 / 𝑥(𝑖 ∈ dom dom 𝑥, 𝑗 ∈ dom dom 𝑥 ↦ ((coe1‘(𝑖𝑥𝑗))‘𝑘)))
3424, 33syl6eq 2671 . . . 4 (((𝑁 ∈ Fin ∧ 𝑅 ∈ CRing ∧ 𝑀𝐵) ∧ (𝐼 ⊆ ℕ0𝐼 ≠ ∅)) → (curry (𝑥𝐵, 𝑘𝐼 ↦ (𝑖 ∈ dom dom 𝑥, 𝑗 ∈ dom dom 𝑥 ↦ ((coe1‘(𝑖𝑥𝑗))‘𝑘)))‘𝑀) = (𝑘𝐼𝑀 / 𝑥(𝑖 ∈ dom dom 𝑥, 𝑗 ∈ dom dom 𝑥 ↦ ((coe1‘(𝑖𝑥𝑗))‘𝑘))))
35 dmeq 5284 . . . . . . . . . . 11 (𝑥 = 𝑀 → dom 𝑥 = dom 𝑀)
3635dmeqd 5286 . . . . . . . . . 10 (𝑥 = 𝑀 → dom dom 𝑥 = dom dom 𝑀)
37 oveq 6610 . . . . . . . . . . . 12 (𝑥 = 𝑀 → (𝑖𝑥𝑗) = (𝑖𝑀𝑗))
3837fveq2d 6152 . . . . . . . . . . 11 (𝑥 = 𝑀 → (coe1‘(𝑖𝑥𝑗)) = (coe1‘(𝑖𝑀𝑗)))
3938fveq1d 6150 . . . . . . . . . 10 (𝑥 = 𝑀 → ((coe1‘(𝑖𝑥𝑗))‘𝑘) = ((coe1‘(𝑖𝑀𝑗))‘𝑘))
4036, 36, 39mpt2eq123dv 6670 . . . . . . . . 9 (𝑥 = 𝑀 → (𝑖 ∈ dom dom 𝑥, 𝑗 ∈ dom dom 𝑥 ↦ ((coe1‘(𝑖𝑥𝑗))‘𝑘)) = (𝑖 ∈ dom dom 𝑀, 𝑗 ∈ dom dom 𝑀 ↦ ((coe1‘(𝑖𝑀𝑗))‘𝑘)))
4140adantl 482 . . . . . . . 8 (((𝑁 ∈ Fin ∧ 𝑅 ∈ CRing ∧ 𝑀𝐵) ∧ 𝑥 = 𝑀) → (𝑖 ∈ dom dom 𝑥, 𝑗 ∈ dom dom 𝑥 ↦ ((coe1‘(𝑖𝑥𝑗))‘𝑘)) = (𝑖 ∈ dom dom 𝑀, 𝑗 ∈ dom dom 𝑀 ↦ ((coe1‘(𝑖𝑀𝑗))‘𝑘)))
4222, 41csbied 3541 . . . . . . 7 ((𝑁 ∈ Fin ∧ 𝑅 ∈ CRing ∧ 𝑀𝐵) → 𝑀 / 𝑥(𝑖 ∈ dom dom 𝑥, 𝑗 ∈ dom dom 𝑥 ↦ ((coe1‘(𝑖𝑥𝑗))‘𝑘)) = (𝑖 ∈ dom dom 𝑀, 𝑗 ∈ dom dom 𝑀 ↦ ((coe1‘(𝑖𝑀𝑗))‘𝑘)))
43 pmatcollpw.c . . . . . . . . . . . . 13 𝐶 = (𝑁 Mat 𝑃)
44 eqid 2621 . . . . . . . . . . . . 13 (Base‘𝑃) = (Base‘𝑃)
45 pmatcollpw.b . . . . . . . . . . . . 13 𝐵 = (Base‘𝐶)
4643, 44, 45matbas2i 20147 . . . . . . . . . . . 12 (𝑀𝐵𝑀 ∈ ((Base‘𝑃) ↑𝑚 (𝑁 × 𝑁)))
47 elmapi 7823 . . . . . . . . . . . 12 (𝑀 ∈ ((Base‘𝑃) ↑𝑚 (𝑁 × 𝑁)) → 𝑀:(𝑁 × 𝑁)⟶(Base‘𝑃))
48 fdm 6008 . . . . . . . . . . . . . 14 (𝑀:(𝑁 × 𝑁)⟶(Base‘𝑃) → dom 𝑀 = (𝑁 × 𝑁))
4948dmeqd 5286 . . . . . . . . . . . . 13 (𝑀:(𝑁 × 𝑁)⟶(Base‘𝑃) → dom dom 𝑀 = dom (𝑁 × 𝑁))
50 dmxpid 5305 . . . . . . . . . . . . 13 dom (𝑁 × 𝑁) = 𝑁
5149, 50syl6req 2672 . . . . . . . . . . . 12 (𝑀:(𝑁 × 𝑁)⟶(Base‘𝑃) → 𝑁 = dom dom 𝑀)
5246, 47, 513syl 18 . . . . . . . . . . 11 (𝑀𝐵𝑁 = dom dom 𝑀)
53523ad2ant3 1082 . . . . . . . . . 10 ((𝑁 ∈ Fin ∧ 𝑅 ∈ CRing ∧ 𝑀𝐵) → 𝑁 = dom dom 𝑀)
5453adantr 481 . . . . . . . . 9 (((𝑁 ∈ Fin ∧ 𝑅 ∈ CRing ∧ 𝑀𝐵) ∧ 𝑚 = 𝑀) → 𝑁 = dom dom 𝑀)
55 simpr 477 . . . . . . . . . . . 12 (((𝑁 ∈ Fin ∧ 𝑅 ∈ CRing ∧ 𝑀𝐵) ∧ 𝑚 = 𝑀) → 𝑚 = 𝑀)
5655oveqd 6621 . . . . . . . . . . 11 (((𝑁 ∈ Fin ∧ 𝑅 ∈ CRing ∧ 𝑀𝐵) ∧ 𝑚 = 𝑀) → (𝑖𝑚𝑗) = (𝑖𝑀𝑗))
5756fveq2d 6152 . . . . . . . . . 10 (((𝑁 ∈ Fin ∧ 𝑅 ∈ CRing ∧ 𝑀𝐵) ∧ 𝑚 = 𝑀) → (coe1‘(𝑖𝑚𝑗)) = (coe1‘(𝑖𝑀𝑗)))
5857fveq1d 6150 . . . . . . . . 9 (((𝑁 ∈ Fin ∧ 𝑅 ∈ CRing ∧ 𝑀𝐵) ∧ 𝑚 = 𝑀) → ((coe1‘(𝑖𝑚𝑗))‘𝑘) = ((coe1‘(𝑖𝑀𝑗))‘𝑘))
5954, 54, 58mpt2eq123dv 6670 . . . . . . . 8 (((𝑁 ∈ Fin ∧ 𝑅 ∈ CRing ∧ 𝑀𝐵) ∧ 𝑚 = 𝑀) → (𝑖𝑁, 𝑗𝑁 ↦ ((coe1‘(𝑖𝑚𝑗))‘𝑘)) = (𝑖 ∈ dom dom 𝑀, 𝑗 ∈ dom dom 𝑀 ↦ ((coe1‘(𝑖𝑀𝑗))‘𝑘)))
6022, 59csbied 3541 . . . . . . 7 ((𝑁 ∈ Fin ∧ 𝑅 ∈ CRing ∧ 𝑀𝐵) → 𝑀 / 𝑚(𝑖𝑁, 𝑗𝑁 ↦ ((coe1‘(𝑖𝑚𝑗))‘𝑘)) = (𝑖 ∈ dom dom 𝑀, 𝑗 ∈ dom dom 𝑀 ↦ ((coe1‘(𝑖𝑀𝑗))‘𝑘)))
6142, 60eqtr4d 2658 . . . . . 6 ((𝑁 ∈ Fin ∧ 𝑅 ∈ CRing ∧ 𝑀𝐵) → 𝑀 / 𝑥(𝑖 ∈ dom dom 𝑥, 𝑗 ∈ dom dom 𝑥 ↦ ((coe1‘(𝑖𝑥𝑗))‘𝑘)) = 𝑀 / 𝑚(𝑖𝑁, 𝑗𝑁 ↦ ((coe1‘(𝑖𝑚𝑗))‘𝑘)))
6261adantr 481 . . . . 5 (((𝑁 ∈ Fin ∧ 𝑅 ∈ CRing ∧ 𝑀𝐵) ∧ (𝐼 ⊆ ℕ0𝐼 ≠ ∅)) → 𝑀 / 𝑥(𝑖 ∈ dom dom 𝑥, 𝑗 ∈ dom dom 𝑥 ↦ ((coe1‘(𝑖𝑥𝑗))‘𝑘)) = 𝑀 / 𝑚(𝑖𝑁, 𝑗𝑁 ↦ ((coe1‘(𝑖𝑚𝑗))‘𝑘)))
6362mpteq2dv 4705 . . . 4 (((𝑁 ∈ Fin ∧ 𝑅 ∈ CRing ∧ 𝑀𝐵) ∧ (𝐼 ⊆ ℕ0𝐼 ≠ ∅)) → (𝑘𝐼𝑀 / 𝑥(𝑖 ∈ dom dom 𝑥, 𝑗 ∈ dom dom 𝑥 ↦ ((coe1‘(𝑖𝑥𝑗))‘𝑘))) = (𝑘𝐼𝑀 / 𝑚(𝑖𝑁, 𝑗𝑁 ↦ ((coe1‘(𝑖𝑚𝑗))‘𝑘))))
6434, 63eqtrd 2655 . . 3 (((𝑁 ∈ Fin ∧ 𝑅 ∈ CRing ∧ 𝑀𝐵) ∧ (𝐼 ⊆ ℕ0𝐼 ≠ ∅)) → (curry (𝑥𝐵, 𝑘𝐼 ↦ (𝑖 ∈ dom dom 𝑥, 𝑗 ∈ dom dom 𝑥 ↦ ((coe1‘(𝑖𝑥𝑗))‘𝑘)))‘𝑀) = (𝑘𝐼𝑀 / 𝑚(𝑖𝑁, 𝑗𝑁 ↦ ((coe1‘(𝑖𝑚𝑗))‘𝑘))))
65 oveq 6610 . . . . . . . . . . . 12 (𝑚 = 𝑀 → (𝑖𝑚𝑗) = (𝑖𝑀𝑗))
6665adantl 482 . . . . . . . . . . 11 (((𝑁 ∈ Fin ∧ 𝑅 ∈ CRing ∧ 𝑀𝐵) ∧ 𝑚 = 𝑀) → (𝑖𝑚𝑗) = (𝑖𝑀𝑗))
6766fveq2d 6152 . . . . . . . . . 10 (((𝑁 ∈ Fin ∧ 𝑅 ∈ CRing ∧ 𝑀𝐵) ∧ 𝑚 = 𝑀) → (coe1‘(𝑖𝑚𝑗)) = (coe1‘(𝑖𝑀𝑗)))
6867fveq1d 6150 . . . . . . . . 9 (((𝑁 ∈ Fin ∧ 𝑅 ∈ CRing ∧ 𝑀𝐵) ∧ 𝑚 = 𝑀) → ((coe1‘(𝑖𝑚𝑗))‘𝑘) = ((coe1‘(𝑖𝑀𝑗))‘𝑘))
6968mpt2eq3dv 6674 . . . . . . . 8 (((𝑁 ∈ Fin ∧ 𝑅 ∈ CRing ∧ 𝑀𝐵) ∧ 𝑚 = 𝑀) → (𝑖𝑁, 𝑗𝑁 ↦ ((coe1‘(𝑖𝑚𝑗))‘𝑘)) = (𝑖𝑁, 𝑗𝑁 ↦ ((coe1‘(𝑖𝑀𝑗))‘𝑘)))
7022, 69csbied 3541 . . . . . . 7 ((𝑁 ∈ Fin ∧ 𝑅 ∈ CRing ∧ 𝑀𝐵) → 𝑀 / 𝑚(𝑖𝑁, 𝑗𝑁 ↦ ((coe1‘(𝑖𝑚𝑗))‘𝑘)) = (𝑖𝑁, 𝑗𝑁 ↦ ((coe1‘(𝑖𝑀𝑗))‘𝑘)))
7170ad2antrr 761 . . . . . 6 ((((𝑁 ∈ Fin ∧ 𝑅 ∈ CRing ∧ 𝑀𝐵) ∧ (𝐼 ⊆ ℕ0𝐼 ≠ ∅)) ∧ 𝑘𝐼) → 𝑀 / 𝑚(𝑖𝑁, 𝑗𝑁 ↦ ((coe1‘(𝑖𝑚𝑗))‘𝑘)) = (𝑖𝑁, 𝑗𝑁 ↦ ((coe1‘(𝑖𝑀𝑗))‘𝑘)))
72 pmatcollpw3.a . . . . . . 7 𝐴 = (𝑁 Mat 𝑅)
73 eqid 2621 . . . . . . 7 (Base‘𝑅) = (Base‘𝑅)
74 pmatcollpw3.d . . . . . . 7 𝐷 = (Base‘𝐴)
75 simpll1 1098 . . . . . . 7 ((((𝑁 ∈ Fin ∧ 𝑅 ∈ CRing ∧ 𝑀𝐵) ∧ (𝐼 ⊆ ℕ0𝐼 ≠ ∅)) ∧ 𝑘𝐼) → 𝑁 ∈ Fin)
76 simpll2 1099 . . . . . . 7 ((((𝑁 ∈ Fin ∧ 𝑅 ∈ CRing ∧ 𝑀𝐵) ∧ (𝐼 ⊆ ℕ0𝐼 ≠ ∅)) ∧ 𝑘𝐼) → 𝑅 ∈ CRing)
77 simp2 1060 . . . . . . . . 9 (((((𝑁 ∈ Fin ∧ 𝑅 ∈ CRing ∧ 𝑀𝐵) ∧ (𝐼 ⊆ ℕ0𝐼 ≠ ∅)) ∧ 𝑘𝐼) ∧ 𝑖𝑁𝑗𝑁) → 𝑖𝑁)
78 simp3 1061 . . . . . . . . 9 (((((𝑁 ∈ Fin ∧ 𝑅 ∈ CRing ∧ 𝑀𝐵) ∧ (𝐼 ⊆ ℕ0𝐼 ≠ ∅)) ∧ 𝑘𝐼) ∧ 𝑖𝑁𝑗𝑁) → 𝑗𝑁)
7923adantr 481 . . . . . . . . . 10 ((((𝑁 ∈ Fin ∧ 𝑅 ∈ CRing ∧ 𝑀𝐵) ∧ (𝐼 ⊆ ℕ0𝐼 ≠ ∅)) ∧ 𝑘𝐼) → 𝑀𝐵)
80793ad2ant1 1080 . . . . . . . . 9 (((((𝑁 ∈ Fin ∧ 𝑅 ∈ CRing ∧ 𝑀𝐵) ∧ (𝐼 ⊆ ℕ0𝐼 ≠ ∅)) ∧ 𝑘𝐼) ∧ 𝑖𝑁𝑗𝑁) → 𝑀𝐵)
8143, 44, 45, 77, 78, 80matecld 20151 . . . . . . . 8 (((((𝑁 ∈ Fin ∧ 𝑅 ∈ CRing ∧ 𝑀𝐵) ∧ (𝐼 ⊆ ℕ0𝐼 ≠ ∅)) ∧ 𝑘𝐼) ∧ 𝑖𝑁𝑗𝑁) → (𝑖𝑀𝑗) ∈ (Base‘𝑃))
82 ssel 3577 . . . . . . . . . . 11 (𝐼 ⊆ ℕ0 → (𝑘𝐼𝑘 ∈ ℕ0))
8382ad2antrl 763 . . . . . . . . . 10 (((𝑁 ∈ Fin ∧ 𝑅 ∈ CRing ∧ 𝑀𝐵) ∧ (𝐼 ⊆ ℕ0𝐼 ≠ ∅)) → (𝑘𝐼𝑘 ∈ ℕ0))
8483imp 445 . . . . . . . . 9 ((((𝑁 ∈ Fin ∧ 𝑅 ∈ CRing ∧ 𝑀𝐵) ∧ (𝐼 ⊆ ℕ0𝐼 ≠ ∅)) ∧ 𝑘𝐼) → 𝑘 ∈ ℕ0)
85843ad2ant1 1080 . . . . . . . 8 (((((𝑁 ∈ Fin ∧ 𝑅 ∈ CRing ∧ 𝑀𝐵) ∧ (𝐼 ⊆ ℕ0𝐼 ≠ ∅)) ∧ 𝑘𝐼) ∧ 𝑖𝑁𝑗𝑁) → 𝑘 ∈ ℕ0)
86 eqid 2621 . . . . . . . . 9 (coe1‘(𝑖𝑀𝑗)) = (coe1‘(𝑖𝑀𝑗))
87 pmatcollpw.p . . . . . . . . 9 𝑃 = (Poly1𝑅)
8886, 44, 87, 73coe1fvalcl 19501 . . . . . . . 8 (((𝑖𝑀𝑗) ∈ (Base‘𝑃) ∧ 𝑘 ∈ ℕ0) → ((coe1‘(𝑖𝑀𝑗))‘𝑘) ∈ (Base‘𝑅))
8981, 85, 88syl2anc 692 . . . . . . 7 (((((𝑁 ∈ Fin ∧ 𝑅 ∈ CRing ∧ 𝑀𝐵) ∧ (𝐼 ⊆ ℕ0𝐼 ≠ ∅)) ∧ 𝑘𝐼) ∧ 𝑖𝑁𝑗𝑁) → ((coe1‘(𝑖𝑀𝑗))‘𝑘) ∈ (Base‘𝑅))
9072, 73, 74, 75, 76, 89matbas2d 20148 . . . . . 6 ((((𝑁 ∈ Fin ∧ 𝑅 ∈ CRing ∧ 𝑀𝐵) ∧ (𝐼 ⊆ ℕ0𝐼 ≠ ∅)) ∧ 𝑘𝐼) → (𝑖𝑁, 𝑗𝑁 ↦ ((coe1‘(𝑖𝑀𝑗))‘𝑘)) ∈ 𝐷)
9171, 90eqeltrd 2698 . . . . 5 ((((𝑁 ∈ Fin ∧ 𝑅 ∈ CRing ∧ 𝑀𝐵) ∧ (𝐼 ⊆ ℕ0𝐼 ≠ ∅)) ∧ 𝑘𝐼) → 𝑀 / 𝑚(𝑖𝑁, 𝑗𝑁 ↦ ((coe1‘(𝑖𝑚𝑗))‘𝑘)) ∈ 𝐷)
92 eqid 2621 . . . . 5 (𝑘𝐼𝑀 / 𝑚(𝑖𝑁, 𝑗𝑁 ↦ ((coe1‘(𝑖𝑚𝑗))‘𝑘))) = (𝑘𝐼𝑀 / 𝑚(𝑖𝑁, 𝑗𝑁 ↦ ((coe1‘(𝑖𝑚𝑗))‘𝑘)))
9391, 92fmptd 6340 . . . 4 (((𝑁 ∈ Fin ∧ 𝑅 ∈ CRing ∧ 𝑀𝐵) ∧ (𝐼 ⊆ ℕ0𝐼 ≠ ∅)) → (𝑘𝐼𝑀 / 𝑚(𝑖𝑁, 𝑗𝑁 ↦ ((coe1‘(𝑖𝑚𝑗))‘𝑘))):𝐼𝐷)
94 fvex 6158 . . . . . . 7 (Base‘𝐴) ∈ V
9574, 94eqeltri 2694 . . . . . 6 𝐷 ∈ V
9695a1i 11 . . . . 5 ((𝑁 ∈ Fin ∧ 𝑅 ∈ CRing ∧ 𝑀𝐵) → 𝐷 ∈ V)
9720adantr 481 . . . . 5 ((𝐼 ⊆ ℕ0𝐼 ≠ ∅) → 𝐼 ∈ V)
98 elmapg 7815 . . . . 5 ((𝐷 ∈ V ∧ 𝐼 ∈ V) → ((𝑘𝐼𝑀 / 𝑚(𝑖𝑁, 𝑗𝑁 ↦ ((coe1‘(𝑖𝑚𝑗))‘𝑘))) ∈ (𝐷𝑚 𝐼) ↔ (𝑘𝐼𝑀 / 𝑚(𝑖𝑁, 𝑗𝑁 ↦ ((coe1‘(𝑖𝑚𝑗))‘𝑘))):𝐼𝐷))
9996, 97, 98syl2an 494 . . . 4 (((𝑁 ∈ Fin ∧ 𝑅 ∈ CRing ∧ 𝑀𝐵) ∧ (𝐼 ⊆ ℕ0𝐼 ≠ ∅)) → ((𝑘𝐼𝑀 / 𝑚(𝑖𝑁, 𝑗𝑁 ↦ ((coe1‘(𝑖𝑚𝑗))‘𝑘))) ∈ (𝐷𝑚 𝐼) ↔ (𝑘𝐼𝑀 / 𝑚(𝑖𝑁, 𝑗𝑁 ↦ ((coe1‘(𝑖𝑚𝑗))‘𝑘))):𝐼𝐷))
10093, 99mpbird 247 . . 3 (((𝑁 ∈ Fin ∧ 𝑅 ∈ CRing ∧ 𝑀𝐵) ∧ (𝐼 ⊆ ℕ0𝐼 ≠ ∅)) → (𝑘𝐼𝑀 / 𝑚(𝑖𝑁, 𝑗𝑁 ↦ ((coe1‘(𝑖𝑚𝑗))‘𝑘))) ∈ (𝐷𝑚 𝐼))
10164, 100eqeltrd 2698 . 2 (((𝑁 ∈ Fin ∧ 𝑅 ∈ CRing ∧ 𝑀𝐵) ∧ (𝐼 ⊆ ℕ0𝐼 ≠ ∅)) → (curry (𝑥𝐵, 𝑘𝐼 ↦ (𝑖 ∈ dom dom 𝑥, 𝑗 ∈ dom dom 𝑥 ↦ ((coe1‘(𝑖𝑥𝑗))‘𝑘)))‘𝑀) ∈ (𝐷𝑚 𝐼))
102 fveq1 6147 . . . . . . . . . . 11 (𝑓 = (curry (𝑥𝐵, 𝑘𝐼 ↦ (𝑖 ∈ dom dom 𝑥, 𝑗 ∈ dom dom 𝑥 ↦ ((coe1‘(𝑖𝑥𝑗))‘𝑘)))‘𝑀) → (𝑓𝑛) = ((curry (𝑥𝐵, 𝑘𝐼 ↦ (𝑖 ∈ dom dom 𝑥, 𝑗 ∈ dom dom 𝑥 ↦ ((coe1‘(𝑖𝑥𝑗))‘𝑘)))‘𝑀)‘𝑛))
103102adantl 482 . . . . . . . . . 10 ((((𝑁 ∈ Fin ∧ 𝑅 ∈ CRing ∧ 𝑀𝐵) ∧ (𝐼 ⊆ ℕ0𝐼 ≠ ∅)) ∧ 𝑓 = (curry (𝑥𝐵, 𝑘𝐼 ↦ (𝑖 ∈ dom dom 𝑥, 𝑗 ∈ dom dom 𝑥 ↦ ((coe1‘(𝑖𝑥𝑗))‘𝑘)))‘𝑀)) → (𝑓𝑛) = ((curry (𝑥𝐵, 𝑘𝐼 ↦ (𝑖 ∈ dom dom 𝑥, 𝑗 ∈ dom dom 𝑥 ↦ ((coe1‘(𝑖𝑥𝑗))‘𝑘)))‘𝑀)‘𝑛))
104103adantr 481 . . . . . . . . 9 (((((𝑁 ∈ Fin ∧ 𝑅 ∈ CRing ∧ 𝑀𝐵) ∧ (𝐼 ⊆ ℕ0𝐼 ≠ ∅)) ∧ 𝑓 = (curry (𝑥𝐵, 𝑘𝐼 ↦ (𝑖 ∈ dom dom 𝑥, 𝑗 ∈ dom dom 𝑥 ↦ ((coe1‘(𝑖𝑥𝑗))‘𝑘)))‘𝑀)) ∧ 𝑛𝐼) → (𝑓𝑛) = ((curry (𝑥𝐵, 𝑘𝐼 ↦ (𝑖 ∈ dom dom 𝑥, 𝑗 ∈ dom dom 𝑥 ↦ ((coe1‘(𝑖𝑥𝑗))‘𝑘)))‘𝑀)‘𝑛))
105 eqid 2621 . . . . . . . . . . . 12 (𝑥𝐵, 𝑘𝐼 ↦ (𝑖 ∈ dom dom 𝑥, 𝑗 ∈ dom dom 𝑥 ↦ ((coe1‘(𝑖𝑥𝑗))‘𝑘))) = (𝑥𝐵, 𝑘𝐼 ↦ (𝑖 ∈ dom dom 𝑥, 𝑗 ∈ dom dom 𝑥 ↦ ((coe1‘(𝑖𝑥𝑗))‘𝑘)))
106 dmexg 7044 . . . . . . . . . . . . . . . . 17 (𝑥𝐵 → dom 𝑥 ∈ V)
107 dmexg 7044 . . . . . . . . . . . . . . . . 17 (dom 𝑥 ∈ V → dom dom 𝑥 ∈ V)
108106, 107syl 17 . . . . . . . . . . . . . . . 16 (𝑥𝐵 → dom dom 𝑥 ∈ V)
109108, 108jca 554 . . . . . . . . . . . . . . 15 (𝑥𝐵 → (dom dom 𝑥 ∈ V ∧ dom dom 𝑥 ∈ V))
110109ad2antrl 763 . . . . . . . . . . . . . 14 (((((𝑁 ∈ Fin ∧ 𝑅 ∈ CRing ∧ 𝑀𝐵) ∧ (𝐼 ⊆ ℕ0𝐼 ≠ ∅)) ∧ 𝑛𝐼) ∧ (𝑥𝐵𝑘𝐼)) → (dom dom 𝑥 ∈ V ∧ dom dom 𝑥 ∈ V))
111 mpt2exga 7191 . . . . . . . . . . . . . 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 2965 . . . . . . . . . . . 12 ((((𝑁 ∈ Fin ∧ 𝑅 ∈ CRing ∧ 𝑀𝐵) ∧ (𝐼 ⊆ ℕ0𝐼 ≠ ∅)) ∧ 𝑛𝐼) → ∀𝑥𝐵𝑘𝐼 (𝑖 ∈ dom dom 𝑥, 𝑗 ∈ dom dom 𝑥 ↦ ((coe1‘(𝑖𝑥𝑗))‘𝑘)) ∈ V)
11421adantr 481 . . . . . . . . . . . 12 ((((𝑁 ∈ Fin ∧ 𝑅 ∈ CRing ∧ 𝑀𝐵) ∧ (𝐼 ⊆ ℕ0𝐼 ≠ ∅)) ∧ 𝑛𝐼) → 𝐼 ∈ V)
11523adantr 481 . . . . . . . . . . . 12 ((((𝑁 ∈ Fin ∧ 𝑅 ∈ CRing ∧ 𝑀𝐵) ∧ (𝐼 ⊆ ℕ0𝐼 ≠ ∅)) ∧ 𝑛𝐼) → 𝑀𝐵)
116 simpr 477 . . . . . . . . . . . 12 ((((𝑁 ∈ Fin ∧ 𝑅 ∈ CRing ∧ 𝑀𝐵) ∧ (𝐼 ⊆ ℕ0𝐼 ≠ ∅)) ∧ 𝑛𝐼) → 𝑛𝐼)
117105, 113, 114, 115, 116fvmpt2curryd 7342 . . . . . . . . . . 11 ((((𝑁 ∈ Fin ∧ 𝑅 ∈ CRing ∧ 𝑀𝐵) ∧ (𝐼 ⊆ ℕ0𝐼 ≠ ∅)) ∧ 𝑛𝐼) → ((curry (𝑥𝐵, 𝑘𝐼 ↦ (𝑖 ∈ dom dom 𝑥, 𝑗 ∈ dom dom 𝑥 ↦ ((coe1‘(𝑖𝑥𝑗))‘𝑘)))‘𝑀)‘𝑛) = (𝑀(𝑥𝐵, 𝑘𝐼 ↦ (𝑖 ∈ dom dom 𝑥, 𝑗 ∈ dom dom 𝑥 ↦ ((coe1‘(𝑖𝑥𝑗))‘𝑘)))𝑛))
118 df-decpmat 20487 . . . . . . . . . . . . . 14 decompPMat = (𝑥 ∈ V, 𝑘 ∈ ℕ0 ↦ (𝑖 ∈ dom dom 𝑥, 𝑗 ∈ dom dom 𝑥 ↦ ((coe1‘(𝑖𝑥𝑗))‘𝑘)))
119118reseq1i 5352 . . . . . . . . . . . . 13 ( decompPMat ↾ (𝐵 × 𝐼)) = ((𝑥 ∈ V, 𝑘 ∈ ℕ0 ↦ (𝑖 ∈ dom dom 𝑥, 𝑗 ∈ dom dom 𝑥 ↦ ((coe1‘(𝑖𝑥𝑗))‘𝑘))) ↾ (𝐵 × 𝐼))
120 ssv 3604 . . . . . . . . . . . . . . . . 17 𝐵 ⊆ V
121120a1i 11 . . . . . . . . . . . . . . . 16 ((𝑁 ∈ Fin ∧ 𝑅 ∈ CRing ∧ 𝑀𝐵) → 𝐵 ⊆ V)
122 simpl 473 . . . . . . . . . . . . . . . 16 ((𝐼 ⊆ ℕ0𝐼 ≠ ∅) → 𝐼 ⊆ ℕ0)
123121, 122anim12i 589 . . . . . . . . . . . . . . 15 (((𝑁 ∈ Fin ∧ 𝑅 ∈ CRing ∧ 𝑀𝐵) ∧ (𝐼 ⊆ ℕ0𝐼 ≠ ∅)) → (𝐵 ⊆ V ∧ 𝐼 ⊆ ℕ0))
124123adantr 481 . . . . . . . . . . . . . 14 ((((𝑁 ∈ Fin ∧ 𝑅 ∈ CRing ∧ 𝑀𝐵) ∧ (𝐼 ⊆ ℕ0𝐼 ≠ ∅)) ∧ 𝑛𝐼) → (𝐵 ⊆ V ∧ 𝐼 ⊆ ℕ0))
125 resmpt2 6711 . . . . . . . . . . . . . 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 2668 . . . . . . . . . . . 12 ((((𝑁 ∈ Fin ∧ 𝑅 ∈ CRing ∧ 𝑀𝐵) ∧ (𝐼 ⊆ ℕ0𝐼 ≠ ∅)) ∧ 𝑛𝐼) → (𝑥𝐵, 𝑘𝐼 ↦ (𝑖 ∈ dom dom 𝑥, 𝑗 ∈ dom dom 𝑥 ↦ ((coe1‘(𝑖𝑥𝑗))‘𝑘))) = ( decompPMat ↾ (𝐵 × 𝐼)))
128127oveqd 6621 . . . . . . . . . . 11 ((((𝑁 ∈ Fin ∧ 𝑅 ∈ CRing ∧ 𝑀𝐵) ∧ (𝐼 ⊆ ℕ0𝐼 ≠ ∅)) ∧ 𝑛𝐼) → (𝑀(𝑥𝐵, 𝑘𝐼 ↦ (𝑖 ∈ dom dom 𝑥, 𝑗 ∈ dom dom 𝑥 ↦ ((coe1‘(𝑖𝑥𝑗))‘𝑘)))𝑛) = (𝑀( decompPMat ↾ (𝐵 × 𝐼))𝑛))
129117, 128eqtrd 2655 . . . . . . . . . 10 ((((𝑁 ∈ Fin ∧ 𝑅 ∈ CRing ∧ 𝑀𝐵) ∧ (𝐼 ⊆ ℕ0𝐼 ≠ ∅)) ∧ 𝑛𝐼) → ((curry (𝑥𝐵, 𝑘𝐼 ↦ (𝑖 ∈ dom dom 𝑥, 𝑗 ∈ dom dom 𝑥 ↦ ((coe1‘(𝑖𝑥𝑗))‘𝑘)))‘𝑀)‘𝑛) = (𝑀( decompPMat ↾ (𝐵 × 𝐼))𝑛))
130129adantlr 750 . . . . . . . . 9 (((((𝑁 ∈ Fin ∧ 𝑅 ∈ CRing ∧ 𝑀𝐵) ∧ (𝐼 ⊆ ℕ0𝐼 ≠ ∅)) ∧ 𝑓 = (curry (𝑥𝐵, 𝑘𝐼 ↦ (𝑖 ∈ dom dom 𝑥, 𝑗 ∈ dom dom 𝑥 ↦ ((coe1‘(𝑖𝑥𝑗))‘𝑘)))‘𝑀)) ∧ 𝑛𝐼) → ((curry (𝑥𝐵, 𝑘𝐼 ↦ (𝑖 ∈ dom dom 𝑥, 𝑗 ∈ dom dom 𝑥 ↦ ((coe1‘(𝑖𝑥𝑗))‘𝑘)))‘𝑀)‘𝑛) = (𝑀( decompPMat ↾ (𝐵 × 𝐼))𝑛))
131104, 130eqtrd 2655 . . . . . . . 8 (((((𝑁 ∈ Fin ∧ 𝑅 ∈ CRing ∧ 𝑀𝐵) ∧ (𝐼 ⊆ ℕ0𝐼 ≠ ∅)) ∧ 𝑓 = (curry (𝑥𝐵, 𝑘𝐼 ↦ (𝑖 ∈ dom dom 𝑥, 𝑗 ∈ dom dom 𝑥 ↦ ((coe1‘(𝑖𝑥𝑗))‘𝑘)))‘𝑀)) ∧ 𝑛𝐼) → (𝑓𝑛) = (𝑀( decompPMat ↾ (𝐵 × 𝐼))𝑛))
132131fveq2d 6152 . . . . . . 7 (((((𝑁 ∈ Fin ∧ 𝑅 ∈ CRing ∧ 𝑀𝐵) ∧ (𝐼 ⊆ ℕ0𝐼 ≠ ∅)) ∧ 𝑓 = (curry (𝑥𝐵, 𝑘𝐼 ↦ (𝑖 ∈ dom dom 𝑥, 𝑗 ∈ dom dom 𝑥 ↦ ((coe1‘(𝑖𝑥𝑗))‘𝑘)))‘𝑀)) ∧ 𝑛𝐼) → (𝑇‘(𝑓𝑛)) = (𝑇‘(𝑀( decompPMat ↾ (𝐵 × 𝐼))𝑛)))
13322ad2antrr 761 . . . . . . . . 9 ((((𝑁 ∈ Fin ∧ 𝑅 ∈ CRing ∧ 𝑀𝐵) ∧ (𝐼 ⊆ ℕ0𝐼 ≠ ∅)) ∧ 𝑓 = (curry (𝑥𝐵, 𝑘𝐼 ↦ (𝑖 ∈ dom dom 𝑥, 𝑗 ∈ dom dom 𝑥 ↦ ((coe1‘(𝑖𝑥𝑗))‘𝑘)))‘𝑀)) → 𝑀𝐵)
134 ovres 6753 . . . . . . . . 9 ((𝑀𝐵𝑛𝐼) → (𝑀( decompPMat ↾ (𝐵 × 𝐼))𝑛) = (𝑀 decompPMat 𝑛))
135133, 134sylan 488 . . . . . . . 8 (((((𝑁 ∈ Fin ∧ 𝑅 ∈ CRing ∧ 𝑀𝐵) ∧ (𝐼 ⊆ ℕ0𝐼 ≠ ∅)) ∧ 𝑓 = (curry (𝑥𝐵, 𝑘𝐼 ↦ (𝑖 ∈ dom dom 𝑥, 𝑗 ∈ dom dom 𝑥 ↦ ((coe1‘(𝑖𝑥𝑗))‘𝑘)))‘𝑀)) ∧ 𝑛𝐼) → (𝑀( decompPMat ↾ (𝐵 × 𝐼))𝑛) = (𝑀 decompPMat 𝑛))
136135fveq2d 6152 . . . . . . 7 (((((𝑁 ∈ Fin ∧ 𝑅 ∈ CRing ∧ 𝑀𝐵) ∧ (𝐼 ⊆ ℕ0𝐼 ≠ ∅)) ∧ 𝑓 = (curry (𝑥𝐵, 𝑘𝐼 ↦ (𝑖 ∈ dom dom 𝑥, 𝑗 ∈ dom dom 𝑥 ↦ ((coe1‘(𝑖𝑥𝑗))‘𝑘)))‘𝑀)) ∧ 𝑛𝐼) → (𝑇‘(𝑀( decompPMat ↾ (𝐵 × 𝐼))𝑛)) = (𝑇‘(𝑀 decompPMat 𝑛)))
137132, 136eqtrd 2655 . . . . . 6 (((((𝑁 ∈ Fin ∧ 𝑅 ∈ CRing ∧ 𝑀𝐵) ∧ (𝐼 ⊆ ℕ0𝐼 ≠ ∅)) ∧ 𝑓 = (curry (𝑥𝐵, 𝑘𝐼 ↦ (𝑖 ∈ dom dom 𝑥, 𝑗 ∈ dom dom 𝑥 ↦ ((coe1‘(𝑖𝑥𝑗))‘𝑘)))‘𝑀)) ∧ 𝑛𝐼) → (𝑇‘(𝑓𝑛)) = (𝑇‘(𝑀 decompPMat 𝑛)))
138137oveq2d 6620 . . . . 5 (((((𝑁 ∈ Fin ∧ 𝑅 ∈ CRing ∧ 𝑀𝐵) ∧ (𝐼 ⊆ ℕ0𝐼 ≠ ∅)) ∧ 𝑓 = (curry (𝑥𝐵, 𝑘𝐼 ↦ (𝑖 ∈ dom dom 𝑥, 𝑗 ∈ dom dom 𝑥 ↦ ((coe1‘(𝑖𝑥𝑗))‘𝑘)))‘𝑀)) ∧ 𝑛𝐼) → ((𝑛 𝑋) (𝑇‘(𝑓𝑛))) = ((𝑛 𝑋) (𝑇‘(𝑀 decompPMat 𝑛))))
139138mpteq2dva 4704 . . . 4 ((((𝑁 ∈ Fin ∧ 𝑅 ∈ CRing ∧ 𝑀𝐵) ∧ (𝐼 ⊆ ℕ0𝐼 ≠ ∅)) ∧ 𝑓 = (curry (𝑥𝐵, 𝑘𝐼 ↦ (𝑖 ∈ dom dom 𝑥, 𝑗 ∈ dom dom 𝑥 ↦ ((coe1‘(𝑖𝑥𝑗))‘𝑘)))‘𝑀)) → (𝑛𝐼 ↦ ((𝑛 𝑋) (𝑇‘(𝑓𝑛)))) = (𝑛𝐼 ↦ ((𝑛 𝑋) (𝑇‘(𝑀 decompPMat 𝑛)))))
140139oveq2d 6620 . . 3 ((((𝑁 ∈ Fin ∧ 𝑅 ∈ CRing ∧ 𝑀𝐵) ∧ (𝐼 ⊆ ℕ0𝐼 ≠ ∅)) ∧ 𝑓 = (curry (𝑥𝐵, 𝑘𝐼 ↦ (𝑖 ∈ dom dom 𝑥, 𝑗 ∈ dom dom 𝑥 ↦ ((coe1‘(𝑖𝑥𝑗))‘𝑘)))‘𝑀)) → (𝐶 Σg (𝑛𝐼 ↦ ((𝑛 𝑋) (𝑇‘(𝑓𝑛))))) = (𝐶 Σg (𝑛𝐼 ↦ ((𝑛 𝑋) (𝑇‘(𝑀 decompPMat 𝑛))))))
141140eqeq2d 2631 . 2 ((((𝑁 ∈ Fin ∧ 𝑅 ∈ CRing ∧ 𝑀𝐵) ∧ (𝐼 ⊆ ℕ0𝐼 ≠ ∅)) ∧ 𝑓 = (curry (𝑥𝐵, 𝑘𝐼 ↦ (𝑖 ∈ dom dom 𝑥, 𝑗 ∈ dom dom 𝑥 ↦ ((coe1‘(𝑖𝑥𝑗))‘𝑘)))‘𝑀)) → (𝑀 = (𝐶 Σg (𝑛𝐼 ↦ ((𝑛 𝑋) (𝑇‘(𝑓𝑛))))) ↔ 𝑀 = (𝐶 Σg (𝑛𝐼 ↦ ((𝑛 𝑋) (𝑇‘(𝑀 decompPMat 𝑛)))))))
142101, 141rspcedv 3299 1 (((𝑁 ∈ Fin ∧ 𝑅 ∈ CRing ∧ 𝑀𝐵) ∧ (𝐼 ⊆ ℕ0𝐼 ≠ ∅)) → (𝑀 = (𝐶 Σg (𝑛𝐼 ↦ ((𝑛 𝑋) (𝑇‘(𝑀 decompPMat 𝑛))))) → ∃𝑓 ∈ (𝐷𝑚 𝐼)𝑀 = (𝐶 Σg (𝑛𝐼 ↦ ((𝑛 𝑋) (𝑇‘(𝑓𝑛)))))))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 196  wa 384  w3a 1036   = wceq 1480  wcel 1987  wne 2790  wrex 2908  Vcvv 3186  csb 3514  wss 3555  c0 3891  cmpt 4673   × cxp 5072  dom cdm 5074  cres 5076  wf 5843  cfv 5847  (class class class)co 6604  cmpt2 6606  curry ccur 7336  𝑚 cmap 7802  Fincfn 7899  0cn0 11236  Basecbs 15781   ·𝑠 cvsca 15866   Σg cgsu 16022  .gcmg 17461  mulGrpcmgp 18410  CRingccrg 18469  var1cv1 19465  Poly1cpl1 19466  coe1cco1 19467   Mat cmat 20132   matToPolyMat cmat2pmat 20428   decompPMat cdecpmat 20486
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1719  ax-4 1734  ax-5 1836  ax-6 1885  ax-7 1932  ax-8 1989  ax-9 1996  ax-10 2016  ax-11 2031  ax-12 2044  ax-13 2245  ax-ext 2601  ax-rep 4731  ax-sep 4741  ax-nul 4749  ax-pow 4803  ax-pr 4867  ax-un 6902  ax-cnex 9936  ax-resscn 9937  ax-1cn 9938  ax-icn 9939  ax-addcl 9940  ax-addrcl 9941  ax-mulcl 9942  ax-mulrcl 9943  ax-mulcom 9944  ax-addass 9945  ax-mulass 9946  ax-distr 9947  ax-i2m1 9948  ax-1ne0 9949  ax-1rid 9950  ax-rnegex 9951  ax-rrecex 9952  ax-cnre 9953  ax-pre-lttri 9954  ax-pre-lttrn 9955  ax-pre-ltadd 9956  ax-pre-mulgt0 9957
This theorem depends on definitions:  df-bi 197  df-or 385  df-an 386  df-3or 1037  df-3an 1038  df-tru 1483  df-fal 1486  df-ex 1702  df-nf 1707  df-sb 1878  df-eu 2473  df-mo 2474  df-clab 2608  df-cleq 2614  df-clel 2617  df-nfc 2750  df-ne 2791  df-nel 2894  df-ral 2912  df-rex 2913  df-reu 2914  df-rab 2916  df-v 3188  df-sbc 3418  df-csb 3515  df-dif 3558  df-un 3560  df-in 3562  df-ss 3569  df-pss 3571  df-nul 3892  df-if 4059  df-pw 4132  df-sn 4149  df-pr 4151  df-tp 4153  df-op 4155  df-ot 4157  df-uni 4403  df-int 4441  df-iun 4487  df-br 4614  df-opab 4674  df-mpt 4675  df-tr 4713  df-eprel 4985  df-id 4989  df-po 4995  df-so 4996  df-fr 5033  df-we 5035  df-xp 5080  df-rel 5081  df-cnv 5082  df-co 5083  df-dm 5084  df-rn 5085  df-res 5086  df-ima 5087  df-pred 5639  df-ord 5685  df-on 5686  df-lim 5687  df-suc 5688  df-iota 5810  df-fun 5849  df-fn 5850  df-f 5851  df-f1 5852  df-fo 5853  df-f1o 5854  df-fv 5855  df-riota 6565  df-ov 6607  df-oprab 6608  df-mpt2 6609  df-of 6850  df-om 7013  df-1st 7113  df-2nd 7114  df-supp 7241  df-cur 7338  df-wrecs 7352  df-recs 7413  df-rdg 7451  df-1o 7505  df-oadd 7509  df-er 7687  df-map 7804  df-ixp 7853  df-en 7900  df-dom 7901  df-sdom 7902  df-fin 7903  df-fsupp 8220  df-sup 8292  df-pnf 10020  df-mnf 10021  df-xr 10022  df-ltxr 10023  df-le 10024  df-sub 10212  df-neg 10213  df-nn 10965  df-2 11023  df-3 11024  df-4 11025  df-5 11026  df-6 11027  df-7 11028  df-8 11029  df-9 11030  df-n0 11237  df-z 11322  df-dec 11438  df-uz 11632  df-fz 12269  df-struct 15783  df-ndx 15784  df-slot 15785  df-base 15786  df-sets 15787  df-ress 15788  df-plusg 15875  df-mulr 15876  df-sca 15878  df-vsca 15879  df-ip 15880  df-tset 15881  df-ple 15882  df-ds 15885  df-hom 15887  df-cco 15888  df-0g 16023  df-prds 16029  df-pws 16031  df-sra 19091  df-rgmod 19092  df-psr 19275  df-opsr 19279  df-psr1 19469  df-ply1 19471  df-coe1 19472  df-dsmm 19995  df-frlm 20010  df-mat 20133  df-decpmat 20487
This theorem is referenced by:  pmatcollpw3  20508  pmatcollpw3fi  20509
  Copyright terms: Public domain W3C validator