Metamath Proof Explorer


Theorem ngpds2

Description: Write the distance between two points in terms of distance from zero. (Contributed by Mario Carneiro, 2-Oct-2015)

Ref Expression
Hypotheses ngpds2.x X = Base G
ngpds2.z 0 ˙ = 0 G
ngpds2.m - ˙ = - G
ngpds2.d D = dist G
Assertion ngpds2 G NrmGrp A X B X A D B = A - ˙ B D 0 ˙

Proof

Step Hyp Ref Expression
1 ngpds2.x X = Base G
2 ngpds2.z 0 ˙ = 0 G
3 ngpds2.m - ˙ = - G
4 ngpds2.d D = dist G
5 eqid norm G = norm G
6 5 1 3 4 ngpds G NrmGrp A X B X A D B = norm G A - ˙ B
7 ngpgrp G NrmGrp G Grp
8 1 3 grpsubcl G Grp A X B X A - ˙ B X
9 7 8 syl3an1 G NrmGrp A X B X A - ˙ B X
10 5 1 2 4 nmval A - ˙ B X norm G A - ˙ B = A - ˙ B D 0 ˙
11 9 10 syl G NrmGrp A X B X norm G A - ˙ B = A - ˙ B D 0 ˙
12 6 11 eqtrd G NrmGrp A X B X A D B = A - ˙ B D 0 ˙