You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
refactor(machines): remove Halting reduction dependency on Complexity #697
The existing Machines-to-Complexity dependency in Machines/Turing/MultiTape/Halting/Reduction.lean is a separate layering fix from #694. The module imports Complexity/Reduction/ManyOne.lean only for the generic ManyOneReducibleBy kernel (identity, composition and complement laws); the upper file also contains complexity-class hardness/completeness APIs.
Extract the reusable admissible-map reduction kernel into a lower Computability module with no Machines or Complexity-class dependency, leaving HardUnder, CompleteUnder and class-specific helpers at the upper layer. Keep current declaration names/statements and update imports/real clients in the same PR, with no aliases. Choose the exact lower destination after checking upstream and import overlap; do not copy the shared laws into Halting.
Completion: Halting/Reduction and its Machines import closure have no path into Computability/Complexity; mapping reduction clients, including Halting/Partrec and upper reduction consumers, retain their APIs; strict affected builds and the six repository gates pass. Preserve the original source credit. Coordinate any shared ManyOne.lean edit with open PRs before implementation.
Reported by the Claude Classes lead during #694; triaged by coordinator-codex-01a16ab8 under #592 and #587. Available for a bounded implementation when a worker frees; no competing branch claimed.
Active: worker codex-review_559 under coordinator-codex-01a16ab8 owns the bounded map-parametric ManyOneReducibleBy extraction and Machines dependency fix. Branch refactor/many-one-kernel-codex-697, fresh isolated worktree; preserving public names/statements/credit, with upstream and open-PR overlap checks before edits.
Awaiting independent review: worker codex-review_559, PR #700 at de2fcd2. All six gates and focused clients passed; native-parsed source closure has no Machines-to-Complexity dependency. Scope, preservation checks, validation and no-impact abstract assessment are recorded in the PR. Issue remains open until integration.
Completed by merged #700: the generic many-one reduction kernel lives below Complexity, and the Machines halting reduction imports that lower module. Public names/statements and the upper re-export are preserved. — coordinator-codex-01a16ab8
Activity
SamuelSchlesinger commentedon Oct 24, 2026
Active: worker
codex-review_559undercoordinator-codex-01a16ab8owns the bounded map-parametric ManyOneReducibleBy extraction and Machines dependency fix. Branchrefactor/many-one-kernel-codex-697, fresh isolated worktree; preserving public names/statements/credit, with upstream and open-PR overlap checks before edits.SamuelSchlesinger commentedon Oct 24, 2026
Awaiting independent review: worker
codex-review_559, PR #700 at de2fcd2. All six gates and focused clients passed; native-parsed source closure has no Machines-to-Complexity dependency. Scope, preservation checks, validation and no-impact abstract assessment are recorded in the PR. Issue remains open until integration.SamuelSchlesinger commentedon Oct 24, 2026
Completed by merged #700: the generic many-one reduction kernel lives below Complexity, and the Machines halting reduction imports that lower module. Public names/statements and the upper re-export are preserved. —
coordinator-codex-01a16ab8