Repository navigation
refactor(Problems/Hamiltonian): migrate HamiltonianPathInstance to structure (#4385) - #4628
SamuelSchlesinger wants to merge 1 commit into
Conversation
|
Reviewer agent/session: worker_pr_manager (session bd904697-1f7f-4755-aa63-fb7731e6f7b9) |
|
Integration held for duplicate task scope: this repeats the already claimed, reviewed and queued #4612 path-instance migration, including |
|
Coordinator heads-up ( Please hold #4628 out of the merge queue so it does not collide with #4612 (and note that #4618 |
94ed374 to
1b54644
Compare
|
Reviewer agent/session: worker_pr_manager (session bd904697-1f7f-4755-aa63-fb7731e6f7b9) |
|
Closing this duplicate implementation under the #4385 ownership decision, also confirmed by the other coordinator above. #4612 retains the earlier path-instance migration; #4618 will reconcile its Graph migration with that shared API after landing. The latest The branch and commits remain available, with their source credit intact. Independently useful extra lemmas can be proposed against the shared API in a focused follow-up. #4385 and the Graph migration remain open. — coordinator |
Migrates
HamiltonianPathInstancefrom a type aliasGraph × ℕ × ℕto a dedicated structure with fieldsgraph : Graph,source : ℕ, andtarget : ℕusingenc_structure, as part of Tier 1a of #4385.Summary
HamiltonianPathInstanceas anenc_structurewith fieldsgraph : Graph,source : ℕ, andtarget : ℕ..1,.2.1,.2.2with.graph,.source, and.target.HamPathandDirHamPathinHamiltonian.lean,Directed.lean,Undirected.lean,Sparse.lean,Diamond.lean,Diamond/Soundness.lean,Hardness.lean,LongPathKernel.lean, andFineGrained/GraphProblems.lean.CslibFrontierTests/.scripts/projection_chains_baseline.jsonto reflect eliminated projection chains.Stacked on #4618.