Sublogarithmic reconstruction

Lax100001.Unrestricted · concepts/Lax100001/Unrestricted.lean · lax-100001

proven

Natural Language Statement

Theorem

Every binary word can be reconstructed using ordinary exact counts. The number of queries on a word of length nn is at most a constant times the square root of log⁡2n⋅log⁡2log⁡2n\log_2 n \cdot \log_2 \log_2 n, where log⁡2\log_2 is the integer logarithm, which rounds down.

Concept map
100%

Preparing this local graph with the browser’s fonts…

Proven claimDefinitionThis conceptRelated conceptA → B: B builds on A
Evidence

Each proof establishes this claim relative to its assumptions.

In the paper

  • page 2 of this submission's paper

Lean source

1/-
2Copyright (c) 2026 Anonymous. All rights reserved.
3Released under Apache 2.0 license as described in the file LICENSE.
4Authors: ChatGPT (OpenAI), Claude (Anthropic)
5-/
6import Lax100001.Counting
7import Mathlib.Analysis.Real.Sqrt
8import Mathlib.Data.Nat.Log
9
10/-!
11---
12title: Sublogarithmic reconstruction
13type: theorem
14---
15Every binary word can be reconstructed using ordinary exact counts. The number of queries on a
16word of length nn is at most a constant times the square root of log⁡2n⋅log⁡2log⁡2n\log_2 n \cdot \log_2 \log_2 n,
17where log⁡2\log_2 is the integer logarithm, which rounds down.
18-/
19
20namespace Lax100001.Unrestricted
21
22/-- The bound log⁡2n⋅log⁡2log⁡2n\sqrt{\log_2 n \cdot \log_2 \log_2 n} on the number of queries for a word of length
23nn. The integer logarithm Nat.log 2 n\texttt{Nat.log 2 n} is the largest kk with 2k≤n2^k \le n, and 00 when
24n=0n = 0. For example Nat.log 2 8=3\texttt{Nat.log 2 8} = 3 and Nat.log 2 9=3\texttt{Nat.log 2 9} = 3. -/
25noncomputable def rate (n : ℕ) : ℝ :=
26 √((Nat.log 2 n : ℝ) * (Nat.log 2 (Nat.log 2 n) : ℝ))
27
28/-- One rule reconstructs every binary word with any queries allowed, using a number of queries
29that is at most a constant times rate\mathit{rate}. -/
30axiom reconstruction : Counting.Reconstructs (fun _ ↦ True) rate
31
32end Lax100001.Unrestricted
33