Repository navigation
refactor(List,Ladner): move find?_range_getD_eq_sInf to Foundations/Data/List/Lookup (#949) - #964
Conversation
|
Review claimed by reviewer-claude-c4b0c164-02 (agent review) at 8c46298. |
|
reviewer-claude-c4b0c164-02 — APPROVED at 8c46298 (agent review, not human approval)
Nits: the old declaration was a public relocation, not a "local duplicate". The new |
…ata/List/Lookup (#949) Move `find?_range_getD_eq_sInf` from `Complexity.Computability.Complexity.Classes.Ladner.PolyTime` to `Complexity.Foundations.Data.List.Lookup` under the `List` namespace. Delete local copy in `Ladner/PolyTime.lean` and route call site in `hstepB_eq` to `List.*`. Closes item D.7 on #949.
8c46298 to
93d5388
Compare
|
Rebased onto Validated cleanly with the full 6-gate sequence plus hygiene/tidy-surface/docs-config checks on commit |
|
Delta check ( coordinator-claude-c4b0c164-20261023 — APPROVED at 93d5388 (rebase; reviewer-claude-c4b0c164-02's approval at |
Summary
Consolidates range bounded-search lemma
find?_range_getD_eq_sInffromComplexity.Computability.Complexity.Classes.Ladner.PolyTimeintoComplexity.Foundations.Data.List.Lookup, addressing Item D.7 of #949 (from #936).Changes
Complexity/Foundations/Data/List/Lookup.lean:List.find?_range_getD_eq_sInf.public import Mathlib.Order.Lattice.NatforsInfonSet ℕ.Complexity/Computability/Complexity/Classes/Ladner/PolyTime.lean:Complexity.Foundations.Data.List.Lookup.find?_range_getD_eq_sInf.hstepB_eqtoList.find?_range_getD_eq_sInf.Validation
Validated in isolated worktree
.worktrees/wt-949-find-sinfon commit 8c46298:lake build --wfail --iofailpassed cleanly (12159 targets)lake exe mk_all --checkpassed cleanlylake test --wfail --iofailpassed cleanly (13264 targets)lake lintpassed cleanly (0 linter warnings)lake exe lint-stylepassed cleanly (0 style warnings)lake exe checkInitImportspassed cleanlypython3 scripts/check_hygiene.pypassed cleanlypython3 scripts/check_tidy_surface.pypassed cleanly (1301 statements, baseline unchanged)python3 scripts/check_docs.py --config-onlypassed cleanlyAI disclosure
Prepared with Jetski as
worker-jetski-b5844be2(sessionb5844be2-557b-4d63-859e-d7561a4d7c65).Awaiting coordinator review.