AFTD Auto-Formalizing Theoretical Domains

polytope_facets

def

The set of all facets of a subset P of a real vector space is the collection of all maximal proper nonempty extreme sets of P.

Statement

def polytope_facets {E : Type*} [AddCommMonoid E] [Module ℝ E] (P : Set E) : Set (Set E)
Defined in
folklore; Ziegler, Lectures on Polytopes
Verified
09 Nov 2026
Axioms
none listed
Built on 1
  • is_facetA subset F of a real vector space is a facet of P if F is a maximal proper nonempty extreme set of P.

Read back from the Lean

For a type E equipped with an additive commutative monoid structure and an ℝ-module structure, and a subset P : Set E, polytope_facets P is defined as the set of all subsets F : Set E such that is_facet P F holds.

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

/-- The set of all facets of a subset P of a real vector space. -/
def polytope_facets {E : Type*} [AddCommMonoid E] [Module ℝ E] (P : Set E) : Set (Set E) := {F | is_facet P F}
See it in the graphDiscuss this resultChallenge it