Repository navigation
State the phase-sharp pre-wrapper extension of factor_iff_pre. - #4132
Merged
Mister-Meeseeks merged 1 commit intoOct 20, 2026
Merged
Conversation
Labels.lean fixes only the unscaled pre-wrapper. This package proves the scalar form and binds it to the three certified Exact.lean pairs, with a singular-residual control and a phase-shift failure test. No new kappa. Co-authored-by: unpaidmoon <unpaidmoon@users.noreply.github.com>
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.
Change and mathematical scope
One interface lemma. No new κ, no supplier admission, and no selected-frontier change. Selected κ stays
0.001672660197076918.HyperplaneEnd/Labels.leanprovesfactor_iff_preonly at scale 1: if(N)holds andCis invertible, thenL^{-1} T_U T_E^{-1} R'^{-1} = C ⊗ idif and only ifR' = R. This package states the scalar extensionand checks it. A rank-1 residual can satisfy the scaled equation for an
R'that is notλ^{-1} R, so invertibility ofCis necessary. For monomial wrappers the only scales are fourth roots of unity, and the pre-wrapper phase field is the whole freedom.Task and overlap
Base
bb4bccbf42844d2801487450727c2f63e10d1d0f, priority revision 6. Taskformal-interface-lemma, scope refined: the post-side phase-sharp lemma is already inresearch/hpe-post-wrapper-lemma, which explicitly does not claim this pre-side extension.research/hpe-prewrapper-binding(PR #2706) separates the pre-side implication and leaves the arithmetic unrun.Item 24 of the chronological open-#1166 list after dropping tasks already delivered or performed by an open PR through #4123, then catalogue cards not already on that list. The full numbered list is in the #1166 finding text prepared with this PR.
Nearest overlap: Jeremy Kothe PR #593 (
factor_iff_pre), Aaron Wangresearch/hpe-post-wrapper-lemma(post side only), Riquelme Soares PR #2706. This does not restate those results.Validation
CPython 3.12, standard library only. Registered replay passed locally:
PASS_REGISTERED_RESEARCH_PACKAGE research/hpe-pre-wrapper-phase outcome=completedEvidence: ten equational replays over
Q(i)at sizes 2 and 3, each with an invertible one-entry failure shift; one singular-Ccontrol; exactZ[i]circuits on certified pairs 1–3 (shipped and dead-bit pre-wrappers only atλ = 1; three phase shifts only ati^{-t}; four non-phase pre-wrappers miss all four roots;C8rejected).--self-testrejects a phase-shifted shipped pre-wrapper asλ = 1(it holds ati^3).Not run: Lean/Mathlib 4.21.0, a selected cold replay, hosted CI. No cold
(E = 0)pair is inExact.lean.Credit
Jeremy Kothe, PR #593, for
factor_iff_preand the certified pairs. Aaron Wang for the post-side phase lemma. Riquelme Soares, PR #2706, for the pre-side audit that left this arithmetic open. Gate semantics follow the five kinds inHyperplaneEnd/Clifford.lean.Prepared by unpaidmoon with substantial Cursor Grok assistance. Apache-2.0. No independent human or formal-kernel review.
Open next questions
Kernel-check the scalar statement beside
factor_iff_prein a successor ofLabels.lean. Blocked here by no Lean toolchain; the frozen file is not edited.Bind one cold
(E = 0)literal with the same gate semantics. Blocked becauseExact.leanhas no cold pair.Workflow feedback (optional)
#1200 — no separate session report.