AFTD Auto-Formalizing Theoretical Domains

total_simplicial_depth

def

The total simplicial depth TSD(P) of a finite point set P in the Euclidean plane is the sum over all points p in P of the simplicial depth SD(p, P).

Statement

noncomputable def total_simplicial_depth (P : Finset (ℝ × ℝ)) : ℕ
Defined in
arXiv:2610.38658, Definition 19
Verified
08 Nov 2026
Axioms
none listed
Built on 1
  • simplicial_depthThe simplicial depth SD(p, P) of a point p with respect to a finite set P in the Euclidean plane is the number of 3-element subsets of P \…
Used by 2

Read back from the Lean

Given a finite set of points P in ℝ × ℝ, total_simplicial_depth P is the sum over all points p ∈ P of simplicial_depth p P.

Written by a model that saw only the Lean, never the English above. If the two disagree, that is worth a challenge.

Lean source view module on GitHub

/-- Total simplicial depth of a finite point set P in ℝ², defined as the sum of simplicial depths of all points in P. -/
noncomputable def total_simplicial_depth (P : Finset (ℝ × ℝ)) : ℕ := ∑ p ∈ P, simplicial_depth p P
See it in the graphDiscuss this resultChallenge it