Box intersected with the ordered simplex
DefinitionLL_Decomp587f_domainFor and vectors , indexed by , the set of that are monotone, meaning whenever , and satisfy for every .
import Mathlib
open Real Set MeasureTheory
open scoped Classical
namespace LL_Decomp587f
def domain {n : ℕ} (lo hi : Fin n → ℝ) : Set (Fin n → ℝ) :=
{x | Monotone x ∧ ∀ j, lo j ≤ x j ∧ x j ≤ hi j}
end LL_Decomp587fRead-back
What the Lean code literally says, in plain math · claude-haiku
Read-back: LL_Decomp587f.domain
This is a definition, in the namespace LL_Decomp587f, of a subset of . It takes a natural number and two vectors , indexed by Fin n. The body is fully visible and imports nothing beyond Mathlib. The set is
So it is the box intersected with the cone of weakly increasing vectors. Both the box constraints and the ordering are closed conditions, so the set is closed.
Concerns: (1) The ordering constraint Monotone x means the set is only part of the box, not the whole box. Any integral over this set is over an ordered piece, and this matters for any numerical constant. (2) If for some , the set is empty and any integral over it is . (3) The set is defined only through Monotone and the bounds, so the file does not show whether the author intended the ordered region. This is the kind of point an auditor should check against the intended integration domain.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.