Standard_Discrete_Metric_is_Metric_v2
Proveddiscrete-metricmetric-spaceproofwikitopology
The standard discrete metric satisfies the triangle inequality.
Preamble
import Mathlib.Analysis.Complex.Basic
Formal statement
theorem Standard_Discrete_Metric_is_Metric_v2 {α : Type _} [DecidableEq α] : ∀ (x y z : α), (if x = z then (0 : ℝ) else 1) ≤ (if x = y then 0 else 1) + (if y = z then 0 else 1) := by sorrySource