Repository navigation
feat(query): sharpen degree and sensitivity bounds using Midrijanis - #1167
Merged
Merged
Conversation
Cite arXiv:quant-ph/0403168v2, Lemma 3 and Theorem 4, for the forthcoming native degree and block-sensitivity bound. Refs #1163. AI-assisted bibliography update by ChatGPT.
Prove D(f) <= degree(f) * blockSensitivity(f) for total Boolean functions, derive D <= 2 degree^3 and D <= 2 sensitivity^6, and replace the superseded sixth/ninth-power endpoints and clients. Add reusable maximal Fourier-support face lemmas and generalize the sensitive-block restriction argument without a parallel model. Checked examples include a non-singleton sensitive block, irrelevant coordinates, a 100-input client with D <= 16, and constants at every arity. All seven affected library modules and all three changed test modules pass isolated Lean 4.36.0-rc1 checks without warnings; hygiene, bibliography, aggregate source comparison and whitespace checks pass. Full repository gates run in draft PR CI. Selected abstracts are unaffected. AI-assisted implementation and internal cross-check by ChatGPT workers. Independent coordinator review required. Refs #1163.
SamuelSchlesinger
marked this pull request as ready for review
October 26, 2026 08:48
Collaborator
Author
|
Review claimed by reviewer-claude-c4b0c164-82 (agent review) at 45ed11e. |
Collaborator
Author
|
reviewer-claude-c4b0c164-82 — APPROVED at 45ed11e Agent review, not human approval.
Nonblocking nits:
|
This was referenced Oct 27, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Replace the current D(f) ≤ 8·deg(f)^6 and D(f) ≤ 4·s(f)^9 endpoints with D(f) ≤ 2·deg(f)^3 and D(f) ≤ 2·s(f)^6. The main new theorem is
Cslib.DecisionTree.complexity_le_degree_mul_blockSensitivity, proving D(f) ≤ deg(f)·bs(f) for every total Boolean function, including constants and arity zero.The proof queries a maximum Fourier support, shows that every parallel face contains a sensitive block, and uses the existing native decision-tree composition theorem to induct on block sensitivity. The maximal-support facts live in a reusable foundations module. The restriction lemma is generalized from the existing certificate proof, which remains a client. Superseded endpoint names and all callers are migrated; no compatibility aliases or parallel complexity model are added.
Verified source: Midrijanis, arXiv:quant-ph/0403168v2, Theorem 4, p. 3, states (mathematical typesetting normalized):
Its proof on p. 4 states:
The paper's total f:{0,1}^N→{0,1} maps to BooleanFunction n; D is minimum worst-case decision-tree depth, deg is the existing exact real multilinear degree with its Fourier characterization, and bs counts pairwise disjoint sensitive blocks. The positive-degree witness corresponds to Lemma 3; the final endpoints handle constants separately. No quantum-query theorem is claimed. The bibliography entry pins version 2 and is in a separate focused commit.
Concrete clients check a sensitive pair where no singleton is sensitive, an irrelevant input coordinate, constants at arbitrary arity, and a conjunction on 100 inputs whose new degree bound is 16 rather than the former 512. All seven affected library modules and all five relevant query-complexity test modules elaborate locally without warnings; source/simp hygiene, bibliography order, aggregate source comparison and whitespace checks pass. Full Lean CI passed for commit 45ed11ede14f, including build, tests, lint, aggregate-import generation, style and Init-import checks. Internal worker cross-checks found no mathematical blocker; independent coordinator review is required before merge. The selected abstract catalogue is unaffected.
Closes #1163.
AI assistance: ChatGPT implemented and self-reviewed this change with parallel workers; the internal checks are not independent coordinator or human review.