Skip to content

feat(Complexity): Deterministic Decision Trees - #925

Open
Lsonic233 wants to merge 15 commits into
leanprover:mainfrom
Lsonic233:query-complexity-decision-trees
Open

Lsonic233 wants to merge 15 commits into
leanprover:mainfrom
Lsonic233:query-complexity-decision-trees

Conversation

@Lsonic233

@Lsonic233 Lsonic233 commented Sep 18, 2026 •

Copy link
Copy Markdown
Contributor

This PR defines deterministic decision trees and decision tree complexity. It completes the chain of inequalities : s(f) ≤ bs(f) ≤ C(f) ≤ D(f) ≤ n.

@Lsonic233 Lsonic233 changed the title Query complexity decision trees feat(Complexity) : Deterministic Decision Trees Sep 18, 2026
@Lsonic233 Lsonic233 changed the title feat(Complexity) : Deterministic Decision Trees feat(Complexity): Deterministic Decision Trees Sep 18, 2026
@Lsonic233
Lsonic233 force-pushed the query-complexity-decision-trees branch from 9e51ebd to f85dc03 Compare September 22, 2026 21:08
@Lsonic233
Lsonic233 force-pushed the query-complexity-decision-trees branch 2 times, most recently from 2793780 to f85dc03 Compare October 5, 2026 12:49
@SamuelSchlesinger

Copy link
Copy Markdown
Collaborator

Thanks, the definitions match Jukna's Chapter 14 exactly and C(f) ≤ D(f) is right. It needs a rebase now that #923 is in: five renames, listed in the merge commit of Lsonic233#1.

Rather than a list of comments I put my suggestions in that PR against your branch, so you can discuss them on the diff and merge whatever you agree with; that updates this PR automatically. The two with any weight are recording queries as a Finset and the continuation form of the brute-force tree; the rest is optional.

@SamuelSchlesinger

Copy link
Copy Markdown
Collaborator

I pushed the merge with main (just the rebase plus the five renames) onto your branch, so Lsonic233#1 now shows only the proposed changes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants