Metamath Proof Explorer


Theorem prdssca

Description: Scalar ring of a structure product. (Contributed by Stefan O'Rear, 5-Jan-2015) (Revised by Mario Carneiro, 15-Aug-2015) (Revised by Thierry Arnoux, 16-Jun-2019) (Revised by Zhi Wang, 18-Aug-2024)

Ref Expression
Hypotheses prdsbas.p 𝑃 = ( 𝑆 Xs 𝑅 )
prdsbas.s ( 𝜑𝑆𝑉 )
prdsbas.r ( 𝜑𝑅𝑊 )
Assertion prdssca ( 𝜑𝑆 = ( Scalar ‘ 𝑃 ) )

Proof

Step Hyp Ref Expression
1 prdsbas.p 𝑃 = ( 𝑆 Xs 𝑅 )
2 prdsbas.s ( 𝜑𝑆𝑉 )
3 prdsbas.r ( 𝜑𝑅𝑊 )
4 eqid ( Base ‘ 𝑆 ) = ( Base ‘ 𝑆 )
5 eqidd ( 𝜑 → dom 𝑅 = dom 𝑅 )
6 eqidd ( 𝜑X 𝑥 ∈ dom 𝑅 ( Base ‘ ( 𝑅𝑥 ) ) = X 𝑥 ∈ dom 𝑅 ( Base ‘ ( 𝑅𝑥 ) ) )
7 eqidd ( 𝜑 → ( 𝑓X 𝑥 ∈ dom 𝑅 ( Base ‘ ( 𝑅𝑥 ) ) , 𝑔X 𝑥 ∈ dom 𝑅 ( Base ‘ ( 𝑅𝑥 ) ) ↦ ( 𝑥 ∈ dom 𝑅 ↦ ( ( 𝑓𝑥 ) ( +g ‘ ( 𝑅𝑥 ) ) ( 𝑔𝑥 ) ) ) ) = ( 𝑓X 𝑥 ∈ dom 𝑅 ( Base ‘ ( 𝑅𝑥 ) ) , 𝑔X 𝑥 ∈ dom 𝑅 ( Base ‘ ( 𝑅𝑥 ) ) ↦ ( 𝑥 ∈ dom 𝑅 ↦ ( ( 𝑓𝑥 ) ( +g ‘ ( 𝑅𝑥 ) ) ( 𝑔𝑥 ) ) ) ) )
8 eqidd ( 𝜑 → ( 𝑓X 𝑥 ∈ dom 𝑅 ( Base ‘ ( 𝑅𝑥 ) ) , 𝑔X 𝑥 ∈ dom 𝑅 ( Base ‘ ( 𝑅𝑥 ) ) ↦ ( 𝑥 ∈ dom 𝑅 ↦ ( ( 𝑓𝑥 ) ( .r ‘ ( 𝑅𝑥 ) ) ( 𝑔𝑥 ) ) ) ) = ( 𝑓X 𝑥 ∈ dom 𝑅 ( Base ‘ ( 𝑅𝑥 ) ) , 𝑔X 𝑥 ∈ dom 𝑅 ( Base ‘ ( 𝑅𝑥 ) ) ↦ ( 𝑥 ∈ dom 𝑅 ↦ ( ( 𝑓𝑥 ) ( .r ‘ ( 𝑅𝑥 ) ) ( 𝑔𝑥 ) ) ) ) )
9 eqidd ( 𝜑 → ( 𝑓 ∈ ( Base ‘ 𝑆 ) , 𝑔X 𝑥 ∈ dom 𝑅 ( Base ‘ ( 𝑅𝑥 ) ) ↦ ( 𝑥 ∈ dom 𝑅 ↦ ( 𝑓 ( ·𝑠 ‘ ( 𝑅𝑥 ) ) ( 𝑔𝑥 ) ) ) ) = ( 𝑓 ∈ ( Base ‘ 𝑆 ) , 𝑔X 𝑥 ∈ dom 𝑅 ( Base ‘ ( 𝑅𝑥 ) ) ↦ ( 𝑥 ∈ dom 𝑅 ↦ ( 𝑓 ( ·𝑠 ‘ ( 𝑅𝑥 ) ) ( 𝑔𝑥 ) ) ) ) )
10 eqidd ( 𝜑 → ( 𝑓X 𝑥 ∈ dom 𝑅 ( Base ‘ ( 𝑅𝑥 ) ) , 𝑔X 𝑥 ∈ dom 𝑅 ( Base ‘ ( 𝑅𝑥 ) ) ↦ ( 𝑆 Σg ( 𝑥 ∈ dom 𝑅 ↦ ( ( 𝑓𝑥 ) ( ·𝑖 ‘ ( 𝑅𝑥 ) ) ( 𝑔𝑥 ) ) ) ) ) = ( 𝑓X 𝑥 ∈ dom 𝑅 ( Base ‘ ( 𝑅𝑥 ) ) , 𝑔X 𝑥 ∈ dom 𝑅 ( Base ‘ ( 𝑅𝑥 ) ) ↦ ( 𝑆 Σg ( 𝑥 ∈ dom 𝑅 ↦ ( ( 𝑓𝑥 ) ( ·𝑖 ‘ ( 𝑅𝑥 ) ) ( 𝑔𝑥 ) ) ) ) ) )
11 eqidd ( 𝜑 → ( ∏t ‘ ( TopOpen ∘ 𝑅 ) ) = ( ∏t ‘ ( TopOpen ∘ 𝑅 ) ) )
12 eqidd ( 𝜑 → { ⟨ 𝑓 , 𝑔 ⟩ ∣ ( { 𝑓 , 𝑔 } ⊆ X 𝑥 ∈ dom 𝑅 ( Base ‘ ( 𝑅𝑥 ) ) ∧ ∀ 𝑥 ∈ dom 𝑅 ( 𝑓𝑥 ) ( le ‘ ( 𝑅𝑥 ) ) ( 𝑔𝑥 ) ) } = { ⟨ 𝑓 , 𝑔 ⟩ ∣ ( { 𝑓 , 𝑔 } ⊆ X 𝑥 ∈ dom 𝑅 ( Base ‘ ( 𝑅𝑥 ) ) ∧ ∀ 𝑥 ∈ dom 𝑅 ( 𝑓𝑥 ) ( le ‘ ( 𝑅𝑥 ) ) ( 𝑔𝑥 ) ) } )
13 eqidd ( 𝜑 → ( 𝑓X 𝑥 ∈ dom 𝑅 ( Base ‘ ( 𝑅𝑥 ) ) , 𝑔X 𝑥 ∈ dom 𝑅 ( Base ‘ ( 𝑅𝑥 ) ) ↦ sup ( ( ran ( 𝑥 ∈ dom 𝑅 ↦ ( ( 𝑓𝑥 ) ( dist ‘ ( 𝑅𝑥 ) ) ( 𝑔𝑥 ) ) ) ∪ { 0 } ) , ℝ* , < ) ) = ( 𝑓X 𝑥 ∈ dom 𝑅 ( Base ‘ ( 𝑅𝑥 ) ) , 𝑔X 𝑥 ∈ dom 𝑅 ( Base ‘ ( 𝑅𝑥 ) ) ↦ sup ( ( ran ( 𝑥 ∈ dom 𝑅 ↦ ( ( 𝑓𝑥 ) ( dist ‘ ( 𝑅𝑥 ) ) ( 𝑔𝑥 ) ) ) ∪ { 0 } ) , ℝ* , < ) ) )
14 eqidd ( 𝜑 → ( 𝑓X 𝑥 ∈ dom 𝑅 ( Base ‘ ( 𝑅𝑥 ) ) , 𝑔X 𝑥 ∈ dom 𝑅 ( Base ‘ ( 𝑅𝑥 ) ) ↦ X 𝑥 ∈ dom 𝑅 ( ( 𝑓𝑥 ) ( Hom ‘ ( 𝑅𝑥 ) ) ( 𝑔𝑥 ) ) ) = ( 𝑓X 𝑥 ∈ dom 𝑅 ( Base ‘ ( 𝑅𝑥 ) ) , 𝑔X 𝑥 ∈ dom 𝑅 ( Base ‘ ( 𝑅𝑥 ) ) ↦ X 𝑥 ∈ dom 𝑅 ( ( 𝑓𝑥 ) ( Hom ‘ ( 𝑅𝑥 ) ) ( 𝑔𝑥 ) ) ) )
15 eqidd ( 𝜑 → ( 𝑎 ∈ ( X 𝑥 ∈ dom 𝑅 ( Base ‘ ( 𝑅𝑥 ) ) × X 𝑥 ∈ dom 𝑅 ( Base ‘ ( 𝑅𝑥 ) ) ) , 𝑐X 𝑥 ∈ dom 𝑅 ( Base ‘ ( 𝑅𝑥 ) ) ↦ ( 𝑑 ∈ ( ( 2nd𝑎 ) ( 𝑓X 𝑥 ∈ dom 𝑅 ( Base ‘ ( 𝑅𝑥 ) ) , 𝑔X 𝑥 ∈ dom 𝑅 ( Base ‘ ( 𝑅𝑥 ) ) ↦ X 𝑥 ∈ dom 𝑅 ( ( 𝑓𝑥 ) ( Hom ‘ ( 𝑅𝑥 ) ) ( 𝑔𝑥 ) ) ) 𝑐 ) , 𝑒 ∈ ( ( 𝑓X 𝑥 ∈ dom 𝑅 ( Base ‘ ( 𝑅𝑥 ) ) , 𝑔X 𝑥 ∈ dom 𝑅 ( Base ‘ ( 𝑅𝑥 ) ) ↦ X 𝑥 ∈ dom 𝑅 ( ( 𝑓𝑥 ) ( Hom ‘ ( 𝑅𝑥 ) ) ( 𝑔𝑥 ) ) ) ‘ 𝑎 ) ↦ ( 𝑥 ∈ dom 𝑅 ↦ ( ( 𝑑𝑥 ) ( ⟨ ( ( 1st𝑎 ) ‘ 𝑥 ) , ( ( 2nd𝑎 ) ‘ 𝑥 ) ⟩ ( comp ‘ ( 𝑅𝑥 ) ) ( 𝑐𝑥 ) ) ( 𝑒𝑥 ) ) ) ) ) = ( 𝑎 ∈ ( X 𝑥 ∈ dom 𝑅 ( Base ‘ ( 𝑅𝑥 ) ) × X 𝑥 ∈ dom 𝑅 ( Base ‘ ( 𝑅𝑥 ) ) ) , 𝑐X 𝑥 ∈ dom 𝑅 ( Base ‘ ( 𝑅𝑥 ) ) ↦ ( 𝑑 ∈ ( ( 2nd𝑎 ) ( 𝑓X 𝑥 ∈ dom 𝑅 ( Base ‘ ( 𝑅𝑥 ) ) , 𝑔X 𝑥 ∈ dom 𝑅 ( Base ‘ ( 𝑅𝑥 ) ) ↦ X 𝑥 ∈ dom 𝑅 ( ( 𝑓𝑥 ) ( Hom ‘ ( 𝑅𝑥 ) ) ( 𝑔𝑥 ) ) ) 𝑐 ) , 𝑒 ∈ ( ( 𝑓X 𝑥 ∈ dom 𝑅 ( Base ‘ ( 𝑅𝑥 ) ) , 𝑔X 𝑥 ∈ dom 𝑅 ( Base ‘ ( 𝑅𝑥 ) ) ↦ X 𝑥 ∈ dom 𝑅 ( ( 𝑓𝑥 ) ( Hom ‘ ( 𝑅𝑥 ) ) ( 𝑔𝑥 ) ) ) ‘ 𝑎 ) ↦ ( 𝑥 ∈ dom 𝑅 ↦ ( ( 𝑑𝑥 ) ( ⟨ ( ( 1st𝑎 ) ‘ 𝑥 ) , ( ( 2nd𝑎 ) ‘ 𝑥 ) ⟩ ( comp ‘ ( 𝑅𝑥 ) ) ( 𝑐𝑥 ) ) ( 𝑒𝑥 ) ) ) ) ) )
16 1 4 5 6 7 8 9 10 11 12 13 14 15 2 3 prdsval ( 𝜑𝑃 = ( ( { ⟨ ( Base ‘ ndx ) , X 𝑥 ∈ dom 𝑅 ( Base ‘ ( 𝑅𝑥 ) ) ⟩ , ⟨ ( +g ‘ ndx ) , ( 𝑓X 𝑥 ∈ dom 𝑅 ( Base ‘ ( 𝑅𝑥 ) ) , 𝑔X 𝑥 ∈ dom 𝑅 ( Base ‘ ( 𝑅𝑥 ) ) ↦ ( 𝑥 ∈ dom 𝑅 ↦ ( ( 𝑓𝑥 ) ( +g ‘ ( 𝑅𝑥 ) ) ( 𝑔𝑥 ) ) ) ) ⟩ , ⟨ ( .r ‘ ndx ) , ( 𝑓X 𝑥 ∈ dom 𝑅 ( Base ‘ ( 𝑅𝑥 ) ) , 𝑔X 𝑥 ∈ dom 𝑅 ( Base ‘ ( 𝑅𝑥 ) ) ↦ ( 𝑥 ∈ dom 𝑅 ↦ ( ( 𝑓𝑥 ) ( .r ‘ ( 𝑅𝑥 ) ) ( 𝑔𝑥 ) ) ) ) ⟩ } ∪ { ⟨ ( Scalar ‘ ndx ) , 𝑆 ⟩ , ⟨ ( ·𝑠 ‘ ndx ) , ( 𝑓 ∈ ( Base ‘ 𝑆 ) , 𝑔X 𝑥 ∈ dom 𝑅 ( Base ‘ ( 𝑅𝑥 ) ) ↦ ( 𝑥 ∈ dom 𝑅 ↦ ( 𝑓 ( ·𝑠 ‘ ( 𝑅𝑥 ) ) ( 𝑔𝑥 ) ) ) ) ⟩ , ⟨ ( ·𝑖 ‘ ndx ) , ( 𝑓X 𝑥 ∈ dom 𝑅 ( Base ‘ ( 𝑅𝑥 ) ) , 𝑔X 𝑥 ∈ dom 𝑅 ( Base ‘ ( 𝑅𝑥 ) ) ↦ ( 𝑆 Σg ( 𝑥 ∈ dom 𝑅 ↦ ( ( 𝑓𝑥 ) ( ·𝑖 ‘ ( 𝑅𝑥 ) ) ( 𝑔𝑥 ) ) ) ) ) ⟩ } ) ∪ ( { ⟨ ( TopSet ‘ ndx ) , ( ∏t ‘ ( TopOpen ∘ 𝑅 ) ) ⟩ , ⟨ ( le ‘ ndx ) , { ⟨ 𝑓 , 𝑔 ⟩ ∣ ( { 𝑓 , 𝑔 } ⊆ X 𝑥 ∈ dom 𝑅 ( Base ‘ ( 𝑅𝑥 ) ) ∧ ∀ 𝑥 ∈ dom 𝑅 ( 𝑓𝑥 ) ( le ‘ ( 𝑅𝑥 ) ) ( 𝑔𝑥 ) ) } ⟩ , ⟨ ( dist ‘ ndx ) , ( 𝑓X 𝑥 ∈ dom 𝑅 ( Base ‘ ( 𝑅𝑥 ) ) , 𝑔X 𝑥 ∈ dom 𝑅 ( Base ‘ ( 𝑅𝑥 ) ) ↦ sup ( ( ran ( 𝑥 ∈ dom 𝑅 ↦ ( ( 𝑓𝑥 ) ( dist ‘ ( 𝑅𝑥 ) ) ( 𝑔𝑥 ) ) ) ∪ { 0 } ) , ℝ* , < ) ) ⟩ } ∪ { ⟨ ( Hom ‘ ndx ) , ( 𝑓X 𝑥 ∈ dom 𝑅 ( Base ‘ ( 𝑅𝑥 ) ) , 𝑔X 𝑥 ∈ dom 𝑅 ( Base ‘ ( 𝑅𝑥 ) ) ↦ X 𝑥 ∈ dom 𝑅 ( ( 𝑓𝑥 ) ( Hom ‘ ( 𝑅𝑥 ) ) ( 𝑔𝑥 ) ) ) ⟩ , ⟨ ( comp ‘ ndx ) , ( 𝑎 ∈ ( X 𝑥 ∈ dom 𝑅 ( Base ‘ ( 𝑅𝑥 ) ) × X 𝑥 ∈ dom 𝑅 ( Base ‘ ( 𝑅𝑥 ) ) ) , 𝑐X 𝑥 ∈ dom 𝑅 ( Base ‘ ( 𝑅𝑥 ) ) ↦ ( 𝑑 ∈ ( ( 2nd𝑎 ) ( 𝑓X 𝑥 ∈ dom 𝑅 ( Base ‘ ( 𝑅𝑥 ) ) , 𝑔X 𝑥 ∈ dom 𝑅 ( Base ‘ ( 𝑅𝑥 ) ) ↦ X 𝑥 ∈ dom 𝑅 ( ( 𝑓𝑥 ) ( Hom ‘ ( 𝑅𝑥 ) ) ( 𝑔𝑥 ) ) ) 𝑐 ) , 𝑒 ∈ ( ( 𝑓X 𝑥 ∈ dom 𝑅 ( Base ‘ ( 𝑅𝑥 ) ) , 𝑔X 𝑥 ∈ dom 𝑅 ( Base ‘ ( 𝑅𝑥 ) ) ↦ X 𝑥 ∈ dom 𝑅 ( ( 𝑓𝑥 ) ( Hom ‘ ( 𝑅𝑥 ) ) ( 𝑔𝑥 ) ) ) ‘ 𝑎 ) ↦ ( 𝑥 ∈ dom 𝑅 ↦ ( ( 𝑑𝑥 ) ( ⟨ ( ( 1st𝑎 ) ‘ 𝑥 ) , ( ( 2nd𝑎 ) ‘ 𝑥 ) ⟩ ( comp ‘ ( 𝑅𝑥 ) ) ( 𝑐𝑥 ) ) ( 𝑒𝑥 ) ) ) ) ) ⟩ } ) ) )
17 eqid ( Scalar ‘ 𝑃 ) = ( Scalar ‘ 𝑃 )
18 scaid Scalar = Slot ( Scalar ‘ ndx )
19 snsstp1 { ⟨ ( Scalar ‘ ndx ) , 𝑆 ⟩ } ⊆ { ⟨ ( Scalar ‘ ndx ) , 𝑆 ⟩ , ⟨ ( ·𝑠 ‘ ndx ) , ( 𝑓 ∈ ( Base ‘ 𝑆 ) , 𝑔X 𝑥 ∈ dom 𝑅 ( Base ‘ ( 𝑅𝑥 ) ) ↦ ( 𝑥 ∈ dom 𝑅 ↦ ( 𝑓 ( ·𝑠 ‘ ( 𝑅𝑥 ) ) ( 𝑔𝑥 ) ) ) ) ⟩ , ⟨ ( ·𝑖 ‘ ndx ) , ( 𝑓X 𝑥 ∈ dom 𝑅 ( Base ‘ ( 𝑅𝑥 ) ) , 𝑔X 𝑥 ∈ dom 𝑅 ( Base ‘ ( 𝑅𝑥 ) ) ↦ ( 𝑆 Σg ( 𝑥 ∈ dom 𝑅 ↦ ( ( 𝑓𝑥 ) ( ·𝑖 ‘ ( 𝑅𝑥 ) ) ( 𝑔𝑥 ) ) ) ) ) ⟩ }
20 ssun2 { ⟨ ( Scalar ‘ ndx ) , 𝑆 ⟩ , ⟨ ( ·𝑠 ‘ ndx ) , ( 𝑓 ∈ ( Base ‘ 𝑆 ) , 𝑔X 𝑥 ∈ dom 𝑅 ( Base ‘ ( 𝑅𝑥 ) ) ↦ ( 𝑥 ∈ dom 𝑅 ↦ ( 𝑓 ( ·𝑠 ‘ ( 𝑅𝑥 ) ) ( 𝑔𝑥 ) ) ) ) ⟩ , ⟨ ( ·𝑖 ‘ ndx ) , ( 𝑓X 𝑥 ∈ dom 𝑅 ( Base ‘ ( 𝑅𝑥 ) ) , 𝑔X 𝑥 ∈ dom 𝑅 ( Base ‘ ( 𝑅𝑥 ) ) ↦ ( 𝑆 Σg ( 𝑥 ∈ dom 𝑅 ↦ ( ( 𝑓𝑥 ) ( ·𝑖 ‘ ( 𝑅𝑥 ) ) ( 𝑔𝑥 ) ) ) ) ) ⟩ } ⊆ ( { ⟨ ( Base ‘ ndx ) , X 𝑥 ∈ dom 𝑅 ( Base ‘ ( 𝑅𝑥 ) ) ⟩ , ⟨ ( +g ‘ ndx ) , ( 𝑓X 𝑥 ∈ dom 𝑅 ( Base ‘ ( 𝑅𝑥 ) ) , 𝑔X 𝑥 ∈ dom 𝑅 ( Base ‘ ( 𝑅𝑥 ) ) ↦ ( 𝑥 ∈ dom 𝑅 ↦ ( ( 𝑓𝑥 ) ( +g ‘ ( 𝑅𝑥 ) ) ( 𝑔𝑥 ) ) ) ) ⟩ , ⟨ ( .r ‘ ndx ) , ( 𝑓X 𝑥 ∈ dom 𝑅 ( Base ‘ ( 𝑅𝑥 ) ) , 𝑔X 𝑥 ∈ dom 𝑅 ( Base ‘ ( 𝑅𝑥 ) ) ↦ ( 𝑥 ∈ dom 𝑅 ↦ ( ( 𝑓𝑥 ) ( .r ‘ ( 𝑅𝑥 ) ) ( 𝑔𝑥 ) ) ) ) ⟩ } ∪ { ⟨ ( Scalar ‘ ndx ) , 𝑆 ⟩ , ⟨ ( ·𝑠 ‘ ndx ) , ( 𝑓 ∈ ( Base ‘ 𝑆 ) , 𝑔X 𝑥 ∈ dom 𝑅 ( Base ‘ ( 𝑅𝑥 ) ) ↦ ( 𝑥 ∈ dom 𝑅 ↦ ( 𝑓 ( ·𝑠 ‘ ( 𝑅𝑥 ) ) ( 𝑔𝑥 ) ) ) ) ⟩ , ⟨ ( ·𝑖 ‘ ndx ) , ( 𝑓X 𝑥 ∈ dom 𝑅 ( Base ‘ ( 𝑅𝑥 ) ) , 𝑔X 𝑥 ∈ dom 𝑅 ( Base ‘ ( 𝑅𝑥 ) ) ↦ ( 𝑆 Σg ( 𝑥 ∈ dom 𝑅 ↦ ( ( 𝑓𝑥 ) ( ·𝑖 ‘ ( 𝑅𝑥 ) ) ( 𝑔𝑥 ) ) ) ) ) ⟩ } )
21 19 20 sstri { ⟨ ( Scalar ‘ ndx ) , 𝑆 ⟩ } ⊆ ( { ⟨ ( Base ‘ ndx ) , X 𝑥 ∈ dom 𝑅 ( Base ‘ ( 𝑅𝑥 ) ) ⟩ , ⟨ ( +g ‘ ndx ) , ( 𝑓X 𝑥 ∈ dom 𝑅 ( Base ‘ ( 𝑅𝑥 ) ) , 𝑔X 𝑥 ∈ dom 𝑅 ( Base ‘ ( 𝑅𝑥 ) ) ↦ ( 𝑥 ∈ dom 𝑅 ↦ ( ( 𝑓𝑥 ) ( +g ‘ ( 𝑅𝑥 ) ) ( 𝑔𝑥 ) ) ) ) ⟩ , ⟨ ( .r ‘ ndx ) , ( 𝑓X 𝑥 ∈ dom 𝑅 ( Base ‘ ( 𝑅𝑥 ) ) , 𝑔X 𝑥 ∈ dom 𝑅 ( Base ‘ ( 𝑅𝑥 ) ) ↦ ( 𝑥 ∈ dom 𝑅 ↦ ( ( 𝑓𝑥 ) ( .r ‘ ( 𝑅𝑥 ) ) ( 𝑔𝑥 ) ) ) ) ⟩ } ∪ { ⟨ ( Scalar ‘ ndx ) , 𝑆 ⟩ , ⟨ ( ·𝑠 ‘ ndx ) , ( 𝑓 ∈ ( Base ‘ 𝑆 ) , 𝑔X 𝑥 ∈ dom 𝑅 ( Base ‘ ( 𝑅𝑥 ) ) ↦ ( 𝑥 ∈ dom 𝑅 ↦ ( 𝑓 ( ·𝑠 ‘ ( 𝑅𝑥 ) ) ( 𝑔𝑥 ) ) ) ) ⟩ , ⟨ ( ·𝑖 ‘ ndx ) , ( 𝑓X 𝑥 ∈ dom 𝑅 ( Base ‘ ( 𝑅𝑥 ) ) , 𝑔X 𝑥 ∈ dom 𝑅 ( Base ‘ ( 𝑅𝑥 ) ) ↦ ( 𝑆 Σg ( 𝑥 ∈ dom 𝑅 ↦ ( ( 𝑓𝑥 ) ( ·𝑖 ‘ ( 𝑅𝑥 ) ) ( 𝑔𝑥 ) ) ) ) ) ⟩ } )
22 ssun1 ( { ⟨ ( Base ‘ ndx ) , X 𝑥 ∈ dom 𝑅 ( Base ‘ ( 𝑅𝑥 ) ) ⟩ , ⟨ ( +g ‘ ndx ) , ( 𝑓X 𝑥 ∈ dom 𝑅 ( Base ‘ ( 𝑅𝑥 ) ) , 𝑔X 𝑥 ∈ dom 𝑅 ( Base ‘ ( 𝑅𝑥 ) ) ↦ ( 𝑥 ∈ dom 𝑅 ↦ ( ( 𝑓𝑥 ) ( +g ‘ ( 𝑅𝑥 ) ) ( 𝑔𝑥 ) ) ) ) ⟩ , ⟨ ( .r ‘ ndx ) , ( 𝑓X 𝑥 ∈ dom 𝑅 ( Base ‘ ( 𝑅𝑥 ) ) , 𝑔X 𝑥 ∈ dom 𝑅 ( Base ‘ ( 𝑅𝑥 ) ) ↦ ( 𝑥 ∈ dom 𝑅 ↦ ( ( 𝑓𝑥 ) ( .r ‘ ( 𝑅𝑥 ) ) ( 𝑔𝑥 ) ) ) ) ⟩ } ∪ { ⟨ ( Scalar ‘ ndx ) , 𝑆 ⟩ , ⟨ ( ·𝑠 ‘ ndx ) , ( 𝑓 ∈ ( Base ‘ 𝑆 ) , 𝑔X 𝑥 ∈ dom 𝑅 ( Base ‘ ( 𝑅𝑥 ) ) ↦ ( 𝑥 ∈ dom 𝑅 ↦ ( 𝑓 ( ·𝑠 ‘ ( 𝑅𝑥 ) ) ( 𝑔𝑥 ) ) ) ) ⟩ , ⟨ ( ·𝑖 ‘ ndx ) , ( 𝑓X 𝑥 ∈ dom 𝑅 ( Base ‘ ( 𝑅𝑥 ) ) , 𝑔X 𝑥 ∈ dom 𝑅 ( Base ‘ ( 𝑅𝑥 ) ) ↦ ( 𝑆 Σg ( 𝑥 ∈ dom 𝑅 ↦ ( ( 𝑓𝑥 ) ( ·𝑖 ‘ ( 𝑅𝑥 ) ) ( 𝑔𝑥 ) ) ) ) ) ⟩ } ) ⊆ ( ( { ⟨ ( Base ‘ ndx ) , X 𝑥 ∈ dom 𝑅 ( Base ‘ ( 𝑅𝑥 ) ) ⟩ , ⟨ ( +g ‘ ndx ) , ( 𝑓X 𝑥 ∈ dom 𝑅 ( Base ‘ ( 𝑅𝑥 ) ) , 𝑔X 𝑥 ∈ dom 𝑅 ( Base ‘ ( 𝑅𝑥 ) ) ↦ ( 𝑥 ∈ dom 𝑅 ↦ ( ( 𝑓𝑥 ) ( +g ‘ ( 𝑅𝑥 ) ) ( 𝑔𝑥 ) ) ) ) ⟩ , ⟨ ( .r ‘ ndx ) , ( 𝑓X 𝑥 ∈ dom 𝑅 ( Base ‘ ( 𝑅𝑥 ) ) , 𝑔X 𝑥 ∈ dom 𝑅 ( Base ‘ ( 𝑅𝑥 ) ) ↦ ( 𝑥 ∈ dom 𝑅 ↦ ( ( 𝑓𝑥 ) ( .r ‘ ( 𝑅𝑥 ) ) ( 𝑔𝑥 ) ) ) ) ⟩ } ∪ { ⟨ ( Scalar ‘ ndx ) , 𝑆 ⟩ , ⟨ ( ·𝑠 ‘ ndx ) , ( 𝑓 ∈ ( Base ‘ 𝑆 ) , 𝑔X 𝑥 ∈ dom 𝑅 ( Base ‘ ( 𝑅𝑥 ) ) ↦ ( 𝑥 ∈ dom 𝑅 ↦ ( 𝑓 ( ·𝑠 ‘ ( 𝑅𝑥 ) ) ( 𝑔𝑥 ) ) ) ) ⟩ , ⟨ ( ·𝑖 ‘ ndx ) , ( 𝑓X 𝑥 ∈ dom 𝑅 ( Base ‘ ( 𝑅𝑥 ) ) , 𝑔X 𝑥 ∈ dom 𝑅 ( Base ‘ ( 𝑅𝑥 ) ) ↦ ( 𝑆 Σg ( 𝑥 ∈ dom 𝑅 ↦ ( ( 𝑓𝑥 ) ( ·𝑖 ‘ ( 𝑅𝑥 ) ) ( 𝑔𝑥 ) ) ) ) ) ⟩ } ) ∪ ( { ⟨ ( TopSet ‘ ndx ) , ( ∏t ‘ ( TopOpen ∘ 𝑅 ) ) ⟩ , ⟨ ( le ‘ ndx ) , { ⟨ 𝑓 , 𝑔 ⟩ ∣ ( { 𝑓 , 𝑔 } ⊆ X 𝑥 ∈ dom 𝑅 ( Base ‘ ( 𝑅𝑥 ) ) ∧ ∀ 𝑥 ∈ dom 𝑅 ( 𝑓𝑥 ) ( le ‘ ( 𝑅𝑥 ) ) ( 𝑔𝑥 ) ) } ⟩ , ⟨ ( dist ‘ ndx ) , ( 𝑓X 𝑥 ∈ dom 𝑅 ( Base ‘ ( 𝑅𝑥 ) ) , 𝑔X 𝑥 ∈ dom 𝑅 ( Base ‘ ( 𝑅𝑥 ) ) ↦ sup ( ( ran ( 𝑥 ∈ dom 𝑅 ↦ ( ( 𝑓𝑥 ) ( dist ‘ ( 𝑅𝑥 ) ) ( 𝑔𝑥 ) ) ) ∪ { 0 } ) , ℝ* , < ) ) ⟩ } ∪ { ⟨ ( Hom ‘ ndx ) , ( 𝑓X 𝑥 ∈ dom 𝑅 ( Base ‘ ( 𝑅𝑥 ) ) , 𝑔X 𝑥 ∈ dom 𝑅 ( Base ‘ ( 𝑅𝑥 ) ) ↦ X 𝑥 ∈ dom 𝑅 ( ( 𝑓𝑥 ) ( Hom ‘ ( 𝑅𝑥 ) ) ( 𝑔𝑥 ) ) ) ⟩ , ⟨ ( comp ‘ ndx ) , ( 𝑎 ∈ ( X 𝑥 ∈ dom 𝑅 ( Base ‘ ( 𝑅𝑥 ) ) × X 𝑥 ∈ dom 𝑅 ( Base ‘ ( 𝑅𝑥 ) ) ) , 𝑐X 𝑥 ∈ dom 𝑅 ( Base ‘ ( 𝑅𝑥 ) ) ↦ ( 𝑑 ∈ ( ( 2nd𝑎 ) ( 𝑓X 𝑥 ∈ dom 𝑅 ( Base ‘ ( 𝑅𝑥 ) ) , 𝑔X 𝑥 ∈ dom 𝑅 ( Base ‘ ( 𝑅𝑥 ) ) ↦ X 𝑥 ∈ dom 𝑅 ( ( 𝑓𝑥 ) ( Hom ‘ ( 𝑅𝑥 ) ) ( 𝑔𝑥 ) ) ) 𝑐 ) , 𝑒 ∈ ( ( 𝑓X 𝑥 ∈ dom 𝑅 ( Base ‘ ( 𝑅𝑥 ) ) , 𝑔X 𝑥 ∈ dom 𝑅 ( Base ‘ ( 𝑅𝑥 ) ) ↦ X 𝑥 ∈ dom 𝑅 ( ( 𝑓𝑥 ) ( Hom ‘ ( 𝑅𝑥 ) ) ( 𝑔𝑥 ) ) ) ‘ 𝑎 ) ↦ ( 𝑥 ∈ dom 𝑅 ↦ ( ( 𝑑𝑥 ) ( ⟨ ( ( 1st𝑎 ) ‘ 𝑥 ) , ( ( 2nd𝑎 ) ‘ 𝑥 ) ⟩ ( comp ‘ ( 𝑅𝑥 ) ) ( 𝑐𝑥 ) ) ( 𝑒𝑥 ) ) ) ) ) ⟩ } ) )
23 21 22 sstri { ⟨ ( Scalar ‘ ndx ) , 𝑆 ⟩ } ⊆ ( ( { ⟨ ( Base ‘ ndx ) , X 𝑥 ∈ dom 𝑅 ( Base ‘ ( 𝑅𝑥 ) ) ⟩ , ⟨ ( +g ‘ ndx ) , ( 𝑓X 𝑥 ∈ dom 𝑅 ( Base ‘ ( 𝑅𝑥 ) ) , 𝑔X 𝑥 ∈ dom 𝑅 ( Base ‘ ( 𝑅𝑥 ) ) ↦ ( 𝑥 ∈ dom 𝑅 ↦ ( ( 𝑓𝑥 ) ( +g ‘ ( 𝑅𝑥 ) ) ( 𝑔𝑥 ) ) ) ) ⟩ , ⟨ ( .r ‘ ndx ) , ( 𝑓X 𝑥 ∈ dom 𝑅 ( Base ‘ ( 𝑅𝑥 ) ) , 𝑔X 𝑥 ∈ dom 𝑅 ( Base ‘ ( 𝑅𝑥 ) ) ↦ ( 𝑥 ∈ dom 𝑅 ↦ ( ( 𝑓𝑥 ) ( .r ‘ ( 𝑅𝑥 ) ) ( 𝑔𝑥 ) ) ) ) ⟩ } ∪ { ⟨ ( Scalar ‘ ndx ) , 𝑆 ⟩ , ⟨ ( ·𝑠 ‘ ndx ) , ( 𝑓 ∈ ( Base ‘ 𝑆 ) , 𝑔X 𝑥 ∈ dom 𝑅 ( Base ‘ ( 𝑅𝑥 ) ) ↦ ( 𝑥 ∈ dom 𝑅 ↦ ( 𝑓 ( ·𝑠 ‘ ( 𝑅𝑥 ) ) ( 𝑔𝑥 ) ) ) ) ⟩ , ⟨ ( ·𝑖 ‘ ndx ) , ( 𝑓X 𝑥 ∈ dom 𝑅 ( Base ‘ ( 𝑅𝑥 ) ) , 𝑔X 𝑥 ∈ dom 𝑅 ( Base ‘ ( 𝑅𝑥 ) ) ↦ ( 𝑆 Σg ( 𝑥 ∈ dom 𝑅 ↦ ( ( 𝑓𝑥 ) ( ·𝑖 ‘ ( 𝑅𝑥 ) ) ( 𝑔𝑥 ) ) ) ) ) ⟩ } ) ∪ ( { ⟨ ( TopSet ‘ ndx ) , ( ∏t ‘ ( TopOpen ∘ 𝑅 ) ) ⟩ , ⟨ ( le ‘ ndx ) , { ⟨ 𝑓 , 𝑔 ⟩ ∣ ( { 𝑓 , 𝑔 } ⊆ X 𝑥 ∈ dom 𝑅 ( Base ‘ ( 𝑅𝑥 ) ) ∧ ∀ 𝑥 ∈ dom 𝑅 ( 𝑓𝑥 ) ( le ‘ ( 𝑅𝑥 ) ) ( 𝑔𝑥 ) ) } ⟩ , ⟨ ( dist ‘ ndx ) , ( 𝑓X 𝑥 ∈ dom 𝑅 ( Base ‘ ( 𝑅𝑥 ) ) , 𝑔X 𝑥 ∈ dom 𝑅 ( Base ‘ ( 𝑅𝑥 ) ) ↦ sup ( ( ran ( 𝑥 ∈ dom 𝑅 ↦ ( ( 𝑓𝑥 ) ( dist ‘ ( 𝑅𝑥 ) ) ( 𝑔𝑥 ) ) ) ∪ { 0 } ) , ℝ* , < ) ) ⟩ } ∪ { ⟨ ( Hom ‘ ndx ) , ( 𝑓X 𝑥 ∈ dom 𝑅 ( Base ‘ ( 𝑅𝑥 ) ) , 𝑔X 𝑥 ∈ dom 𝑅 ( Base ‘ ( 𝑅𝑥 ) ) ↦ X 𝑥 ∈ dom 𝑅 ( ( 𝑓𝑥 ) ( Hom ‘ ( 𝑅𝑥 ) ) ( 𝑔𝑥 ) ) ) ⟩ , ⟨ ( comp ‘ ndx ) , ( 𝑎 ∈ ( X 𝑥 ∈ dom 𝑅 ( Base ‘ ( 𝑅𝑥 ) ) × X 𝑥 ∈ dom 𝑅 ( Base ‘ ( 𝑅𝑥 ) ) ) , 𝑐X 𝑥 ∈ dom 𝑅 ( Base ‘ ( 𝑅𝑥 ) ) ↦ ( 𝑑 ∈ ( ( 2nd𝑎 ) ( 𝑓X 𝑥 ∈ dom 𝑅 ( Base ‘ ( 𝑅𝑥 ) ) , 𝑔X 𝑥 ∈ dom 𝑅 ( Base ‘ ( 𝑅𝑥 ) ) ↦ X 𝑥 ∈ dom 𝑅 ( ( 𝑓𝑥 ) ( Hom ‘ ( 𝑅𝑥 ) ) ( 𝑔𝑥 ) ) ) 𝑐 ) , 𝑒 ∈ ( ( 𝑓X 𝑥 ∈ dom 𝑅 ( Base ‘ ( 𝑅𝑥 ) ) , 𝑔X 𝑥 ∈ dom 𝑅 ( Base ‘ ( 𝑅𝑥 ) ) ↦ X 𝑥 ∈ dom 𝑅 ( ( 𝑓𝑥 ) ( Hom ‘ ( 𝑅𝑥 ) ) ( 𝑔𝑥 ) ) ) ‘ 𝑎 ) ↦ ( 𝑥 ∈ dom 𝑅 ↦ ( ( 𝑑𝑥 ) ( ⟨ ( ( 1st𝑎 ) ‘ 𝑥 ) , ( ( 2nd𝑎 ) ‘ 𝑥 ) ⟩ ( comp ‘ ( 𝑅𝑥 ) ) ( 𝑐𝑥 ) ) ( 𝑒𝑥 ) ) ) ) ) ⟩ } ) )
24 16 17 18 2 23 prdsbaslem ( 𝜑 → ( Scalar ‘ 𝑃 ) = 𝑆 )
25 24 eqcomd ( 𝜑𝑆 = ( Scalar ‘ 𝑃 ) )