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
- rectilinear_crossing_number_add_total_simplicial_depth_eq_choose_of_fourIf every 4-element subset Q of a finite point set P in the Euclidean plane satisfies cr(Q) + TSD(Q) = 1, then cr(P) + TSD(P) = (|P| choose…
- total_simplicial_depth_eq_sum_powersetCard_fourThe total simplicial depth of a finite point set P in the Euclidean plane is the sum over all 4-element subsets Q of P of the total…
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