• Kogasa@programming.dev
    link
    fedilink
    English
    arrow-up
    2
    ·
    27 days ago

    That’s not a metric. In any metric, distances are positive between distinct points and 0 between equal points

    • OrganicMustard@lemmy.world
      link
      fedilink
      English
      arrow-up
      1
      ·
      edit-2
      26 days ago

      It depends which metric definition are you using. The one I wrote is a pseudo-Riemannian metric that is not positive defined.

      Normally physicists use that generalized metric definition because spacetime in most cases has a metric signature of (-1, 1, 1, 1). Points with zero distance are not necessarily the same point, they just are in the same null geodesic.

      • Kogasa@programming.dev
        link
        fedilink
        English
        arrow-up
        1
        ·
        26 days ago

        You’re talking about a metric tensor on a pseudo-Riemannian manifold, I’m talking about a metric space. A metric in the sense of a metric space takes nonnegative real values. If you relax the condition that distinct points have nonzero distance, it’s a pseudometric.