Pythagoras' theorem has a variety of geometric proofs, such as:
I want to teach at least one of these proofs to my high school students, because it shows that the formula $\|(x,y)\| = \sqrt{x^2 + y^2}$ doesn't just come out of nowhere.
However I'm a bit confused about what these "proofs" are actually achieving.
From a higher mathematics perspective, Pythagoras' theorem isn't a theorem, it's a definition. We define the distance between two points in $\mathcal{l}^2(\{e_1,e_2\})$ a certain way, because that's how the space $l^p(X)$ is defined. Or, alternatively, we can think of $l^2(X)$ as an inner product space, and recover the metric by defining $$\|x\| = \sqrt{\langle x, x\rangle}.$$ In either case, these kinds of geometric proofs play no role, and the distance between two points is either by definition, or is recovered almost immediately from the definitions.
In light of this, I'm not sure what these geometric arguments are really telling us. I think what's going on is that if we assume $\mathbb{R}^2$ is a measure space and a metric space in a compatible way, then these geometric proofs show us that the metric structure has to be a very specific structure. However, I don't understand the details. So, my question is:
Question. What is the epistemological status of the usual proof(s) of Pythagoras' theorem?