Metamath Proof Explorer


Theorem resspwsds

Description: Restriction of a power metric. (Contributed by Mario Carneiro, 16-Sep-2015)

Ref Expression
Hypotheses resspwsds.y ( 𝜑𝑌 = ( 𝑅s 𝐼 ) )
resspwsds.h ( 𝜑𝐻 = ( ( 𝑅s 𝐴 ) ↑s 𝐼 ) )
resspwsds.b 𝐵 = ( Base ‘ 𝐻 )
resspwsds.d 𝐷 = ( dist ‘ 𝑌 )
resspwsds.e 𝐸 = ( dist ‘ 𝐻 )
resspwsds.i ( 𝜑𝐼𝑉 )
resspwsds.r ( 𝜑𝑅𝑊 )
resspwsds.a ( 𝜑𝐴𝑋 )
Assertion resspwsds ( 𝜑𝐸 = ( 𝐷 ↾ ( 𝐵 × 𝐵 ) ) )

Proof

Step Hyp Ref Expression
1 resspwsds.y ( 𝜑𝑌 = ( 𝑅s 𝐼 ) )
2 resspwsds.h ( 𝜑𝐻 = ( ( 𝑅s 𝐴 ) ↑s 𝐼 ) )
3 resspwsds.b 𝐵 = ( Base ‘ 𝐻 )
4 resspwsds.d 𝐷 = ( dist ‘ 𝑌 )
5 resspwsds.e 𝐸 = ( dist ‘ 𝐻 )
6 resspwsds.i ( 𝜑𝐼𝑉 )
7 resspwsds.r ( 𝜑𝑅𝑊 )
8 resspwsds.a ( 𝜑𝐴𝑋 )
9 eqid ( 𝑅s 𝐼 ) = ( 𝑅s 𝐼 )
10 eqid ( Scalar ‘ 𝑅 ) = ( Scalar ‘ 𝑅 )
11 9 10 pwsval ( ( 𝑅𝑊𝐼𝑉 ) → ( 𝑅s 𝐼 ) = ( ( Scalar ‘ 𝑅 ) Xs ( 𝐼 × { 𝑅 } ) ) )
12 7 6 11 syl2anc ( 𝜑 → ( 𝑅s 𝐼 ) = ( ( Scalar ‘ 𝑅 ) Xs ( 𝐼 × { 𝑅 } ) ) )
13 fconstmpt ( 𝐼 × { 𝑅 } ) = ( 𝑥𝐼𝑅 )
14 13 oveq2i ( ( Scalar ‘ 𝑅 ) Xs ( 𝐼 × { 𝑅 } ) ) = ( ( Scalar ‘ 𝑅 ) Xs ( 𝑥𝐼𝑅 ) )
15 12 14 eqtrdi ( 𝜑 → ( 𝑅s 𝐼 ) = ( ( Scalar ‘ 𝑅 ) Xs ( 𝑥𝐼𝑅 ) ) )
16 1 15 eqtrd ( 𝜑𝑌 = ( ( Scalar ‘ 𝑅 ) Xs ( 𝑥𝐼𝑅 ) ) )
17 ovex ( 𝑅s 𝐴 ) ∈ V
18 eqid ( ( 𝑅s 𝐴 ) ↑s 𝐼 ) = ( ( 𝑅s 𝐴 ) ↑s 𝐼 )
19 eqid ( Scalar ‘ ( 𝑅s 𝐴 ) ) = ( Scalar ‘ ( 𝑅s 𝐴 ) )
20 18 19 pwsval ( ( ( 𝑅s 𝐴 ) ∈ V ∧ 𝐼𝑉 ) → ( ( 𝑅s 𝐴 ) ↑s 𝐼 ) = ( ( Scalar ‘ ( 𝑅s 𝐴 ) ) Xs ( 𝐼 × { ( 𝑅s 𝐴 ) } ) ) )
21 17 6 20 sylancr ( 𝜑 → ( ( 𝑅s 𝐴 ) ↑s 𝐼 ) = ( ( Scalar ‘ ( 𝑅s 𝐴 ) ) Xs ( 𝐼 × { ( 𝑅s 𝐴 ) } ) ) )
22 fconstmpt ( 𝐼 × { ( 𝑅s 𝐴 ) } ) = ( 𝑥𝐼 ↦ ( 𝑅s 𝐴 ) )
23 22 oveq2i ( ( Scalar ‘ ( 𝑅s 𝐴 ) ) Xs ( 𝐼 × { ( 𝑅s 𝐴 ) } ) ) = ( ( Scalar ‘ ( 𝑅s 𝐴 ) ) Xs ( 𝑥𝐼 ↦ ( 𝑅s 𝐴 ) ) )
24 21 23 eqtrdi ( 𝜑 → ( ( 𝑅s 𝐴 ) ↑s 𝐼 ) = ( ( Scalar ‘ ( 𝑅s 𝐴 ) ) Xs ( 𝑥𝐼 ↦ ( 𝑅s 𝐴 ) ) ) )
25 2 24 eqtrd ( 𝜑𝐻 = ( ( Scalar ‘ ( 𝑅s 𝐴 ) ) Xs ( 𝑥𝐼 ↦ ( 𝑅s 𝐴 ) ) ) )
26 fvexd ( 𝜑 → ( Scalar ‘ 𝑅 ) ∈ V )
27 fvexd ( 𝜑 → ( Scalar ‘ ( 𝑅s 𝐴 ) ) ∈ V )
28 7 adantr ( ( 𝜑𝑥𝐼 ) → 𝑅𝑊 )
29 8 adantr ( ( 𝜑𝑥𝐼 ) → 𝐴𝑋 )
30 16 25 3 4 5 26 27 6 28 29 ressprdsds ( 𝜑𝐸 = ( 𝐷 ↾ ( 𝐵 × 𝐵 ) ) )