Metamath Proof Explorer


Theorem norm-ii

Description: Triangle inequality for norms. Theorem 3.3(ii) of Beran p. 97. (Contributed by NM, 10-Mar-2006) (New usage is discouraged.)

Ref Expression
Assertion norm-ii
|- ( ( A e. ~H /\ B e. ~H ) -> ( normh ` ( A +h B ) ) <_ ( ( normh ` A ) + ( normh ` B ) ) )

Proof

Step Hyp Ref Expression
1 fvoveq1
 |-  ( A = if ( A e. ~H , A , 0h ) -> ( normh ` ( A +h B ) ) = ( normh ` ( if ( A e. ~H , A , 0h ) +h B ) ) )
2 fveq2
 |-  ( A = if ( A e. ~H , A , 0h ) -> ( normh ` A ) = ( normh ` if ( A e. ~H , A , 0h ) ) )
3 2 oveq1d
 |-  ( A = if ( A e. ~H , A , 0h ) -> ( ( normh ` A ) + ( normh ` B ) ) = ( ( normh ` if ( A e. ~H , A , 0h ) ) + ( normh ` B ) ) )
4 1 3 breq12d
 |-  ( A = if ( A e. ~H , A , 0h ) -> ( ( normh ` ( A +h B ) ) <_ ( ( normh ` A ) + ( normh ` B ) ) <-> ( normh ` ( if ( A e. ~H , A , 0h ) +h B ) ) <_ ( ( normh ` if ( A e. ~H , A , 0h ) ) + ( normh ` B ) ) ) )
5 oveq2
 |-  ( B = if ( B e. ~H , B , 0h ) -> ( if ( A e. ~H , A , 0h ) +h B ) = ( if ( A e. ~H , A , 0h ) +h if ( B e. ~H , B , 0h ) ) )
6 5 fveq2d
 |-  ( B = if ( B e. ~H , B , 0h ) -> ( normh ` ( if ( A e. ~H , A , 0h ) +h B ) ) = ( normh ` ( if ( A e. ~H , A , 0h ) +h if ( B e. ~H , B , 0h ) ) ) )
7 fveq2
 |-  ( B = if ( B e. ~H , B , 0h ) -> ( normh ` B ) = ( normh ` if ( B e. ~H , B , 0h ) ) )
8 7 oveq2d
 |-  ( B = if ( B e. ~H , B , 0h ) -> ( ( normh ` if ( A e. ~H , A , 0h ) ) + ( normh ` B ) ) = ( ( normh ` if ( A e. ~H , A , 0h ) ) + ( normh ` if ( B e. ~H , B , 0h ) ) ) )
9 6 8 breq12d
 |-  ( B = if ( B e. ~H , B , 0h ) -> ( ( normh ` ( if ( A e. ~H , A , 0h ) +h B ) ) <_ ( ( normh ` if ( A e. ~H , A , 0h ) ) + ( normh ` B ) ) <-> ( normh ` ( if ( A e. ~H , A , 0h ) +h if ( B e. ~H , B , 0h ) ) ) <_ ( ( normh ` if ( A e. ~H , A , 0h ) ) + ( normh ` if ( B e. ~H , B , 0h ) ) ) ) )
10 ifhvhv0
 |-  if ( A e. ~H , A , 0h ) e. ~H
11 ifhvhv0
 |-  if ( B e. ~H , B , 0h ) e. ~H
12 10 11 norm-ii-i
 |-  ( normh ` ( if ( A e. ~H , A , 0h ) +h if ( B e. ~H , B , 0h ) ) ) <_ ( ( normh ` if ( A e. ~H , A , 0h ) ) + ( normh ` if ( B e. ~H , B , 0h ) ) )
13 4 9 12 dedth2h
 |-  ( ( A e. ~H /\ B e. ~H ) -> ( normh ` ( A +h B ) ) <_ ( ( normh ` A ) + ( normh ` B ) ) )