ComparatorChallenges/LogConcaveQuery.lean

GitHub source file

Explanation legend Lean4 Domain Explanation Language (L4DEL)

L4DEL explanations are a separate layer. They do not change the Lean source. Intuition is explanatory prose; numbered items are a reading path; sources link the wording back to evidence.

L4DEL
Lean4 Domain Explanation Language

Credit: OpenAI's pinned repository says an unreleased internal model produced the manuscripts and supporting proof artifacts. The collection builds on the mathematics community's accumulated problems, results, language, and formal libraries; each manuscript's BibTeX and bibliography are the authority for individual scholarly credit.

Project sources: Pinned openai/math documentation, Pinned formalization catalogue

17 declarations, 1 contain sorry, 0 declared as axioms

  1. abbrev OAI.LogConcaveSampling.Point line 12

    Also declared: OAI/Probability/LogConcave/Model.lean:16 (same declaration text).

  2. abbrev OAI.LogConcaveSampling.Reply line 13

    Also declared: OAI/Probability/LogConcave/Model.lean:17 (same declaration text).

  3. abbrev OAI.LogConcaveSampling.Transcript line 14

    Also declared: OAI/Probability/LogConcave/Model.lean:18 (same declaration text).

  4. structure OAI.LogConcaveSampling.Admissible Normalized twice continuously differentiable potentials with Hessian between the identity and twice the identity line 17

    Source documentation

    Normalized twice continuously differentiable potentials with Hessian between the identity and twice the identity.

    L4DEL explanation

    Normalized twice continuously differentiable potentials with Hessian between the identity and twice the identity.

    1. This explanation is a condensed rendering of the declaration's own doc comment at the pinned source commit; consult the exact Lean statement below for authority.

    Sources and attribution: Pinned Lean source (fd4aeeb2ee4f)

    Also declared: OAI/Probability/LogConcave/Model.lean:21 (same declaration text).

    structure Admissible {d : ℕ} (V : Point d → ℝ) : Prop where
    …

    Mentions: OAI.LogConcaveSampling.Point

  5. def OAI.LogConcaveSampling.gibbsDensity The unnormalized Gibbs density relative to Euclidean volume line 26

    Source documentation

    The unnormalized Gibbs density relative to Euclidean volume.

    L4DEL explanation

    The unnormalized Gibbs density relative to Euclidean volume.

    1. This explanation is a condensed rendering of the declaration's own doc comment at the pinned source commit; consult the exact Lean statement below for authority.

    Sources and attribution: Pinned Lean source (fd4aeeb2ee4f)

    Also declared: OAI/Probability/LogConcave/Model.lean:30 (same declaration text).

    def gibbsDensity {d : ℕ} (V : Point d → ℝ) (x : Point d) : ℝ≥0∞ :=
    …

    Mentions: OAI.LogConcaveSampling.Point

  6. def OAI.LogConcaveSampling.partition line 29

    Also declared: OAI/Probability/LogConcave/Model.lean:33 (same declaration text).

  7. def OAI.LogConcaveSampling.gibbs The Gibbs probability law, normalized by its partition function line 33

    Source documentation

    The Gibbs probability law, normalized by its partition function.

    L4DEL explanation

    The Gibbs probability law, normalized by its partition function.

    1. This explanation is a condensed rendering of the declaration's own doc comment at the pinned source commit; consult the exact Lean statement below for authority.

    Sources and attribution: Pinned Lean source (fd4aeeb2ee4f)

    Also declared: OAI/Probability/LogConcave/Model.lean:37 (same declaration text).

    def gibbs {d : ℕ} (V : Point d → ℝ) : Measure (Point d) :=
    …

    Mentions: OAI.LogConcaveSampling.Point

  8. def OAI.LogConcaveSampling.TVAtMost line 36

    Also declared: OAI/Probability/LogConcave/Model.lean:40 (same declaration text).

  9. def OAI.LogConcaveSampling.firstOrderReply line 40

    Also declared: OAI/Probability/LogConcave/Model.lean:44 (same declaration text).

  10. structure OAI.LogConcaveSampling.OracleAlgorithm Measurable adaptive queries and output, parametrized by private randomness line 44

    Source documentation

    Measurable adaptive queries and output, parametrized by private randomness.

    L4DEL explanation

    Measurable adaptive queries and output, parametrized by private randomness.

    1. This explanation is a condensed rendering of the declaration's own doc comment at the pinned source commit; consult the exact Lean statement below for authority.

    Sources and attribution: Pinned Lean source (fd4aeeb2ee4f)

    Also declared: OAI/Probability/LogConcave/Model.lean:48 (same declaration text).

    structure OracleAlgorithm (Ω : Type*) [MeasurableSpace Ω] (d q : ℕ) where
    …
  11. def OAI.LogConcaveSampling.OracleAlgorithm.history line 50

    Also declared: OAI/Probability/LogConcave/Model.lean:54 (same declaration text).

  12. def OAI.LogConcaveSampling.OracleAlgorithm.run line 59

    Also declared: OAI/Probability/LogConcave/Model.lean:63 (same declaration text).

  13. def OAI.LogConcaveSampling.CanSample A uniform sampler with a deterministic query budget on every execution and total-variation error at most one tenth line 64

    Source documentation

    A uniform sampler with a deterministic query budget on every execution and total-variation error at most one tenth.

    L4DEL explanation

    A uniform sampler with a deterministic query budget on every execution and total-variation error at most one tenth.

    1. This explanation is a condensed rendering of the declaration's own doc comment at the pinned source commit; consult the exact Lean statement below for authority.

    Sources and attribution: Pinned Lean source (fd4aeeb2ee4f)

    Also declared: OAI/Probability/LogConcave/Model.lean:68 (same declaration text).

    def CanSample (d q : ℕ) : Prop :=
    …
  14. def OAI.LogConcaveSampling.queryComplexity The smallest feasible integer query budget, or infinity when no budget is feasible line 71

    Source documentation

    The smallest feasible integer query budget, or infinity when no budget is feasible.

    L4DEL explanation

    The smallest feasible integer query budget, or infinity when no budget is feasible.

    1. This explanation is a condensed rendering of the declaration's own doc comment at the pinned source commit; consult the exact Lean statement below for authority.

    Sources and attribution: Pinned Lean source (fd4aeeb2ee4f)

    Also declared: OAI/Probability/LogConcave/Model.lean:75 (same declaration text).

    def queryComplexity (d : ℕ) : ℕ∞ :=
    …
  15. def OAI.LogConcaveSampling.ExponentBound The quantified dimension-exponent upper bound with every positive exponent slack line 75

    Source documentation

    The quantified dimension-exponent upper bound with every positive exponent slack.

    L4DEL explanation

    The quantified dimension-exponent upper bound with every positive exponent slack.

    1. This explanation is a condensed rendering of the declaration's own doc comment at the pinned source commit; consult the exact Lean statement below for authority.

    Sources and attribution: Pinned Lean source (fd4aeeb2ee4f)

    Also declared: OAI/Probability/LogConcave/Model.lean:79 (same declaration text).

    def ExponentBound (γ : ℝ) : Prop :=
    …
  16. def OAI.LogConcaveSampling.gammaStar line 79

    Also declared: OAI/Probability/LogConcave/Model.lean:83 (same declaration text).

  17. theorem OAI.LogConcaveSampling.exact_source_main Challenge statement: Subpolynomial query complexity for log-concave sampling sorry line 81

    L4DEL explanation

    The formalized result determines the dimension exponent of exact value-and-gradient query complexity for well-conditioned log-concave sampling. For potentials with $V(0)=0$, $\nabla V(0)=0$, and $I\le\nabla^2V\le2I$, the least worst-case query budget achieving total-variation error at most $1/10$ is at most $C_\varepsilon d^\varepsilon$ for every $\varepsilon>0$, and at least $c\log d$ eventually. Hence the infimal polynomial exponent is zero. Algorithms may be measurable, randomized, and adaptive; arithmetic and bit costs are not bounded.

    1. This is an exact comparator target linked by the pinned repository's formalization note for this result.
    2. The repository's comparator configuration selects OAI.Probability.LogConcave.Main as the released solution module checked against this declaration.

    Sources and attribution: Pinned Lean source (fd4aeeb2ee4f)

    Distinct definitions of this name: OAI/Probability/LogConcave/Main.lean:68 (same statement text; different proof or body). Qualify references as OAI.LogConcaveSampling.exact_source_main@path.

    theorem exact_source_main :
        (∀ ε : ℝ, 0 < ε → ∃ C : ℝ, ∀ d : ℕ, 2 ≤ d →
          (queryComplexity d).toENNReal ≤ ENNReal.ofReal (C * (d : ℝ) ^ ε)) ∧
        (∃ c : ℝ, 0 < c ∧ ∃ d₀ : ℕ, 2 ≤ d₀ ∧ ∀ d : ℕ, d₀ ≤ d →
          ENNReal.ofReal (c * Real.log (d : ℝ)) ≤ (queryComplexity d).toENNReal) ∧
        gammaStar = 0 := by
    …

    Mentions: OAI.LogConcaveSampling.queryComplexity, OAI.LogConcaveSampling.gammaStar