triangle_general_position
def
A finite set of points $P \subset \mathbb{R}^2$ is in general position for the triangle $\triangle$ if no two distinct points share an $x$-coordinate, a $y$-coordinate, or the sum of their coordinates.
Statement
def triangle_general_position (P : Finset (ℝ × ℝ)) : Prop
- Defined in
- arXiv:2611.08835 Section 4
- Verified
- 09 Nov 2026
- Axioms
- none listed
Read back from the Lean
A finite set of points P : Finset (ℝ × ℝ) satisfies triangle_general_position if and only if for every pair of points p, q ∈ P, if p ≠ q, then the first coordinates are distinct (p.1 ≠ q.1), the second coordinates are distinct (p.2 ≠ q.2), and the sums of the coordinates are distinct (p.1 + p.2 ≠ q.1 + q.2).
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
/-- General position predicate for points in ℝ² with respect to the triangle Δ. -/ def triangle_general_position (P : Finset (ℝ × ℝ)) : Prop := ∀ p ∈ P, ∀ q ∈ P, p ≠ q → p.1 ≠ q.1 ∧ p.2 ≠ q.2 ∧ p.1 + p.2 ≠ q.1 + q.2