Metamath Proof Explorer


Theorem ttgds

Description: The metric of a subcomplex Hilbert space augmented with betweenness. (Contributed by Thierry Arnoux, 25-Mar-2019) (Revised by AV, 29-Oct-2024)

Ref Expression
Hypotheses ttgval.n ⊒G=to𝒒Tarski⁑H
ttgds.1 ⊒D=dist⁑H
Assertion ttgds ⊒D=dist⁑G

Proof

Step Hyp Ref Expression
1 ttgval.n ⊒G=to𝒒Tarski⁑H
2 ttgds.1 ⊒D=dist⁑H
3 dsid ⊒dist=Slotdist⁑ndx
4 slotslnbpsd ⊒Line𝒒⁑ndxβ‰ Basendx∧Line𝒒⁑ndxβ‰ +ndx∧Line𝒒⁑ndxβ‰ β‹…ndx∧Line𝒒⁑ndxβ‰ dist⁑ndx
5 simprr ⊒Line𝒒⁑ndxβ‰ Basendx∧Line𝒒⁑ndxβ‰ +ndx∧Line𝒒⁑ndxβ‰ β‹…ndx∧Line𝒒⁑ndxβ‰ dist⁑ndxβ†’Line𝒒⁑ndxβ‰ dist⁑ndx
6 4 5 ax-mp ⊒Line𝒒⁑ndxβ‰ dist⁑ndx
7 6 necomi ⊒dist⁑ndxβ‰ Line𝒒⁑ndx
8 slotsinbpsd ⊒Itv⁑ndxβ‰ Basendx∧Itv⁑ndxβ‰ +ndx∧Itv⁑ndxβ‰ β‹…ndx∧Itv⁑ndxβ‰ dist⁑ndx
9 simprr ⊒Itv⁑ndxβ‰ Basendx∧Itv⁑ndxβ‰ +ndx∧Itv⁑ndxβ‰ β‹…ndx∧Itv⁑ndxβ‰ dist⁑ndxβ†’Itv⁑ndxβ‰ dist⁑ndx
10 8 9 ax-mp ⊒Itv⁑ndxβ‰ dist⁑ndx
11 10 necomi ⊒dist⁑ndxβ‰ Itv⁑ndx
12 1 3 7 11 ttglem ⊒dist⁑H=dist⁑G
13 2 12 eqtri ⊒D=dist⁑G