triangle_homothet
def
For points $p, q \in \mathbb{R}^2$, triangle_homothet p q is defined as the set of points $r \in \mathbb{R}^2$ such that $\min(p.1, q.1) \le r.1$, $\min(p.2, q.2) \le r.2$, and $r.1 + r.2 \le \max(p.1 + p.2, q.1 + q.2)$.
Statement
def triangle_homothet (p q : ℝ × ℝ) : Set (ℝ × ℝ)- Defined in
- arXiv:2611.08835 Section 4, eq. (22)
- Verified
- 09 Nov 2026
- Axioms
- none listed
- Used by 2
- triangle_homothet_mem_iff_avoid_regionsFor a finite set $P \subset \mathbb{R}^2$ and points $p, q, r \in \mathbb{R}^2$ with $p, q \in P$, $r \in \text{triangle\_homothet}(p, q)$…
- triangle_homothet_mem_leftFor points $p, q \in \mathbb{R}^2$, the point $p$ belongs to $\text{triangle\_homothet}(p, q)$.
Read back from the Lean
triangle_homothet p q defines the set of all points r : ℝ × ℝ satisfying the three conditions:
1. min p.1 q.1 ≤ r.1
2. min p.2 q.2 ≤ r.2
3. r.1 + r.2 ≤ max (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
/-- Minimal homothet of the triangle Δ containing two points p and q in ℝ². -/ def triangle_homothet (p q : ℝ × ℝ) : Set (ℝ × ℝ) := {r : ℝ × ℝ | min p.1 q.1 ≤ r.1 ∧ min p.2 q.2 ≤ r.2 ∧ r.1 + r.2 ≤ max (p.1 + p.2) (q.1 + q.2)}