ComparatorChallenges/TraceReconstruction.lean
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
16 declarations, 3 contain sorry, 0 declared as axioms
- abbrev
OAI.TraceReconstruction.Wordline 10Also declared: OAI/Probability/TraceReconstruction/Model.lean:19 (same declaration text).
- abbrev
OAI.TraceReconstruction.Maskline 11Also declared: OAI/Probability/TraceReconstruction/Model.lean:20 (same declaration text).
- abbrev
OAI.TraceReconstruction.Traceline 12Also declared: OAI/Probability/TraceReconstruction/Model.lean:21 (same declaration text).
- def
OAI.TraceReconstruction.traceOfMasktrueretains the bit line 15Source documentation
trueretains the bit. The observer gets only the resulting list.L4DEL explanation
trueretains the bit. The observer gets only the resulting list.- 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/TraceReconstruction/Model.lean:24 (same declaration text).
def traceOfMask {n : ℕ} (x : Word n) (a : Mask n) : Trace := …Mentions: OAI.TraceReconstruction.Word, OAI.TraceReconstruction.Mask, OAI.TraceReconstruction.Trace
- def
OAI.TraceReconstruction.maskWeightThe deletion-mask probability, with deletion probabilityqline 19Source documentation
The deletion-mask probability, with deletion probability
q.L4DEL explanation
The deletion-mask probability, with deletion probability
q.- 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/TraceReconstruction/Model.lean:28 (same declaration text).
def maskWeight {n : ℕ} (q : ℝ) (a : Mask n) : ℝ := …Mentions: OAI.TraceReconstruction.Mask
- def
OAI.TraceReconstruction.traceMassLaw of a single complete trace line 23Source documentation
Law of a single complete trace.
L4DEL explanation
Law of a single complete trace.
- 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/TraceReconstruction/Model.lean:32 (same declaration text).
def traceMass {n : ℕ} (q : ℝ) (x : Word n) (w : Trace) : ℝ := …Mentions: OAI.TraceReconstruction.Word, OAI.TraceReconstruction.Trace
- def
OAI.TraceReconstruction.traceSpaceAll possible complete outputs from length-n inputs, with lengths included line 27Source documentation
All possible complete outputs from length-n inputs, with lengths included.
L4DEL explanation
All possible complete outputs from length-n inputs, with lengths included.
- 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/TraceReconstruction/Model.lean:36 (same declaration text).
def traceSpace (n : ℕ) : Finset Trace := …
Mentions: OAI.TraceReconstruction.Trace
- def
OAI.TraceReconstruction.traceTV1/2 sum of absolute differences, on the full finite output space line 32Source documentation
1/2 sum of absolute differences, on the full finite output space.
L4DEL explanation
1/2 sum of absolute differences, on the full finite output space.
- 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/TraceReconstruction/Model.lean:41 (same declaration text).
def traceTV {n : ℕ} (q : ℝ) (x y : Word n) : ℝ := …Mentions: OAI.TraceReconstruction.Word
- def
OAI.TraceReconstruction.IsEstimatorThe estimator may depend arbitrarily on n, q and every complete sample line 37Source documentation
The estimator may depend arbitrarily on n, q and every complete sample. Its value is its conditional probability of reporting the given input.
L4DEL explanation
The estimator may depend arbitrarily on n, q and every complete sample. Its value is its conditional probability of reporting the given input.
- 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/TraceReconstruction/Model.lean:46 (same declaration text).
def IsEstimator {n m : ℕ} (A : (Fin m → Trace) → Word n → ℝ) : Prop := …Mentions: OAI.TraceReconstruction.Trace, OAI.TraceReconstruction.Word
- def
OAI.TraceReconstruction.reconstructionSuccessIndependent masks generate independent complete traces; no retained positions, boundaries or other latent variables are revealed to A line 42Source documentation
Independent masks generate independent complete traces; no retained positions, boundaries or other latent variables are revealed to A.
L4DEL explanation
Independent masks generate independent complete traces; no retained positions, boundaries or other latent variables are revealed to A.
- 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/TraceReconstruction/Model.lean:51 (same declaration text).
def reconstructionSuccess {n m : ℕ} (q : ℝ) (A : (Fin m → Trace) → Word n → ℝ) (x : Word n) : ℝ := …Mentions: OAI.TraceReconstruction.Trace, OAI.TraceReconstruction.Word
- def
OAI.TraceReconstruction.SufficientBudgetline 47Also declared: OAI/Probability/TraceReconstruction/Model.lean:56 (same declaration text).
- def
OAI.TraceReconstruction.sampleComplexityNatural fixed sample budget; infimum of the empty set is infinity line 52Source documentation
Natural fixed sample budget; infimum of the empty set is infinity.
L4DEL explanation
Natural fixed sample budget; infimum of the empty set is infinity.
- 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/TraceReconstruction/Model.lean:61 (same declaration text).
noncomputable def sampleComplexity (n : ℕ) (q s : ℝ) : ℝ≥0∞ := …
- def
OAI.TraceReconstruction.minTraceTVThe real infimum is a minimum for n>0 (a nonempty finite set) line 56Source documentation
The real infimum is a minimum for n>0 (a nonempty finite set).
L4DEL explanation
The real infimum is a minimum for n>0 (a nonempty finite set).
- 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)
Distinct definitions of this name: OAI/Probability/TraceReconstruction/Model.lean:65 (same statement text; different proof or body). Qualify references as OAI.TraceReconstruction.minTraceTV@path.
noncomputable def minTraceTV (n : ℕ) (q : ℝ) : ℝ := …
- theorem
OAI.TraceReconstruction.quantitative_sample_lower_boundChallenge statement: Quantitative trace-reconstruction bounds with a uniform decoder sorry line 62L4DEL explanation
The formalization proves superpolynomial sample lower bounds for exact worst-case reconstruction of binary words from independent deletion traces, with unrestricted computation and any fixed positive success probability. For every fixed deletion probability $q\in(0,1)$, sample complexity grows faster than every fixed power of the word length; the minimum total-variation distance between two one-trace laws decays faster than every inverse power. More quantitatively, along sequences with $q^3\log n\to\infty$, the required number of samples is at least $n^{c\log(q^3\log n)}$ eventually for every fixed $0<c<1/(4\log2)$. All logarithms are natural.
- This is an exact comparator target linked by the pinned repository's formalization note for this result.
- The repository's comparator configuration selects OAI.Probability.TraceReconstruction as the released solution module checked against this declaration.
Sources and attribution: Pinned Lean source (fd4aeeb2ee4f)
Distinct definitions of this name: OAI/Probability/TraceReconstruction.lean:213 (same statement text; different proof or body). Qualify references as OAI.TraceReconstruction.quantitative_sample_lower_bound@path.
theorem quantitative_sample_lower_bound (s c : ℝ) (hs : s ∈ Set.Ioc 0 1) (hc : c ∈ Set.Ioo 0 (1 / (4 * Real.log 2))) (n : ℕ → ℕ) (q : ℕ → ℝ) (hn : Tendsto n atTop atTop) (hq : ∀ k, q k ∈ Set.Ioo 0 1) (hscale : Tendsto (fun k => (q k) ^ 3 * Real.log (n k)) atTop atTop) : ∀ᶠ k in atTop, ENNReal.ofReal ((n k : ℝ) ^ (c * Real.log ((q k) ^ 3 * Real.log (n k)))) ≤ sampleComplexity (n k) (q k) s := by …Mentions: OAI.TraceReconstruction.sampleComplexity
- theorem
OAI.TraceReconstruction.superpolynomial_one_traceChallenge statement: Quantitative trace-reconstruction bounds with a uniform decoder sorry line 74L4DEL explanation
The formalization proves superpolynomial sample lower bounds for exact worst-case reconstruction of binary words from independent deletion traces, with unrestricted computation and any fixed positive success probability. For every fixed deletion probability $q\in(0,1)$, sample complexity grows faster than every fixed power of the word length; the minimum total-variation distance between two one-trace laws decays faster than every inverse power. More quantitatively, along sequences with $q^3\log n\to\infty$, the required number of samples is at least $n^{c\log(q^3\log n)}$ eventually for every fixed $0<c<1/(4\log2)$. All logarithms are natural.
- This is an exact comparator target linked by the pinned repository's formalization note for this result.
- The repository's comparator configuration selects OAI.Probability.TraceReconstruction as the released solution module checked against this declaration.
Sources and attribution: Pinned Lean source (fd4aeeb2ee4f)
Distinct definitions of this name: OAI/Probability/TraceReconstruction.lean:332 (different declaration text). Qualify references as OAI.TraceReconstruction.superpolynomial_one_trace@path.
theorem superpolynomial_one_trace (q : ℝ) (hq : q ∈ Set.Ioo 0 1) (C : ℝ) (hC : 0 < C) : Tendsto (fun n : ℕ => (n : ℝ) ^ C * minTraceTV n q) atTop (𝓝 0) := by … - theorem
OAI.TraceReconstruction.superpolynomial_sample_complexityChallenge statement: Quantitative trace-reconstruction bounds with a uniform decoder sorry line 79L4DEL explanation
The formalization proves superpolynomial sample lower bounds for exact worst-case reconstruction of binary words from independent deletion traces, with unrestricted computation and any fixed positive success probability. For every fixed deletion probability $q\in(0,1)$, sample complexity grows faster than every fixed power of the word length; the minimum total-variation distance between two one-trace laws decays faster than every inverse power. More quantitatively, along sequences with $q^3\log n\to\infty$, the required number of samples is at least $n^{c\log(q^3\log n)}$ eventually for every fixed $0<c<1/(4\log2)$. All logarithms are natural.
- This is an exact comparator target linked by the pinned repository's formalization note for this result.
- The repository's comparator configuration selects OAI.Probability.TraceReconstruction as the released solution module checked against this declaration.
Sources and attribution: Pinned Lean source (fd4aeeb2ee4f)
Distinct definitions of this name: OAI/Probability/TraceReconstruction.lean:378 (same statement text; different proof or body). Qualify references as OAI.TraceReconstruction.superpolynomial_sample_complexity@path.
theorem superpolynomial_sample_complexity (q : ℝ) (hq : q ∈ Set.Ioo 0 1) (s : ℝ) (hs : s ∈ Set.Ioc 0 1) (C : ℝ) (hC : 0 < C) : Tendsto (fun n : ℕ => sampleComplexity n q s / ENNReal.ofReal ((n : ℝ) ^ C)) atTop (𝓝 ⊤) := by …Mentions: OAI.TraceReconstruction.sampleComplexity