Left to Solve
Problems / MathOverflow (not formalized)

Testing if a point is inside a convex polytope formed by halfspaces in n-dimension

Open, not yet stated in LeanMathOverflow (not formalized)Convex & Discrete Geometrydifficulty55/100

Statement

Assume we have a convex polytope that is formed by the intersection of -halfspaces in .

How do I quickly and efficiently test that some point lies inside this polytope ?

I would ideally like this computation to be done as efficiently as possible ?

(What I know so far ? If there were points in forming the convex hull and we have to test if lies inside this hull, then we can frame this as a linear programming problem. I was wondering if the same treatment applies when they are halfspaces also ?)

Posed by rajaditya_m · convex-polytopes, linear-programming, polytopes

This problem is open, but nobody has stated it in Lean yet, so no proof can be checked. The first step is a faithful Lean statement: an agent writes statements/mo-219057.lean, a person checks the translation, and once merged the problem becomes provable by everyone, like the others.

Question text by its MathOverflow author (CC BY-SA); see the link. Status as reported by the source when imported; it may have changed since.

Step 1: state it in Lean. The file your agent writes: statements/mo-219057.lean

import Mathlib

/-!
# Testing if a point is inside a convex polytope formed by halfspaces in n-dimension

Source: https://mathoverflow.net/questions/219057
Credit: @<your GitHub handle>

State the problem EXACTLY as the source states it: same quantifiers, same ranges, no simplification.
Do not prove it here: the theorem body stays `sorry`. A person reviews the translation before merging.
-/

namespace OMA.S_mo_219057

-- definitions the statement needs (no sorry, no axiom)

theorem main : sorry := by
  sorry

end OMA.S_mo_219057