Repository navigation
v2 candidate: restructured proof body with the v1 statement layer, audits and provenance - #1
Merged
Merged
Conversation
Co-Authored-By: AxiomProver
Co-Authored-By: AxiomProver
…d lean_lib entries Co-Authored-By: AxiomProver
Lemma 2.1 (lemma_2_1 : ConditionalContinuity σ loc ℂ) along D2.4.1-D2.4.5, Lemma 2.2, D2.2, D2.5, D2.7-D2.11; textbook facts in AreaLawForMathlib/ (QuantumInfo/Entropy/ClassicalQuantum, QuantumInfo/Region, Data/Int/L1Ball). No sorry; #print axioms on every anchor: propext, Classical.choice, Quot.sound. Lines §2: before 4865 (Map.md), after 786 (S02) + 607 (library) = 1393. Co-Authored-By: AxiomProver
…2 anchors §2 lines: before 4865, after Step 1 1393 (S02 786 + AreaLawForMathlib 607). Co-Authored-By: AxiomProver
…ldren, D3.15 F_box, D3.16.6-8 recursion solving Co-Authored-By: AxiomProver
…ule, paper route), D3.6 harmonic weights, D3.14 conclusion step prop_3_3 takes Lemma 3.2 (BufferDiscount ℂ) as hypothesis until lemma_3_2 lands. Co-Authored-By: AxiomProver
…budget, D3.2.1-3 budget bound; sections in paper order Co-Authored-By: AxiomProver
…3 anchors S03_InitialBox: 10096 lines before (Map.md §3) -> 1162 lines after (partial: Lemma 3.1, Lemma 3.2 core D3.7-D3.13 open). Co-Authored-By: AxiomProver
….lean (§3.2: D3.2-D3.14), S03_InitialBox.lean (§3.3: D3.15-D3.16); 1162 -> 534 + 645 lines Co-Authored-By: AxiomProver
…(paper route, 8/e²), D3.10 choice of C_pad (with D3.6 a_j ≤ ½), D3.14.5 error ≤ C_buf r; BufferDiscount.lean 534 -> 786 lines Co-Authored-By: AxiomProver
…oped sum; BufferDiscount.lean 786 -> 844 lines Co-Authored-By: AxiomProver
…3.1.12, D3.1.13), strip (D3.1.7, D3.1.8 via Mathlib's higher-order Schwarz lemma), Schmidt coordinates and modular function (D3.1.3-D3.1.6), tilt (D3.1.1, D3.1.4), D3.1.1-D3.1.10 core step_3_1_10 Co-Authored-By: AxiomProver
…3.1.13 in order): cut transport to the eigenbasis of ρ (step_3_1_1, D3.1.6 matrix units), D3.1.11-D3.1.13; column/contraction L2-norm facts to AreaLawForMathlib/Analysis/CStarAlgebra/Matrix.lean; 2361 -> 1063 + 36 lines Co-Authored-By: AxiomProver
…er Lemma 3.1); BufferDiscount.lean imports it; 1081+844 -> 1135+790 lines Co-Authored-By: AxiomProver
… = 32(M+2)√((1+ϑ)C₁)); MarginalTails.lean 1134 -> 1180 lines Co-Authored-By: AxiomProver
…3.8.2-3, D3.9.4, D3.10, D3.11.4-5, D3.14.5 and the S03 split Co-Authored-By: AxiomProver
…ia CFC sqrt), D3.11.3 (step_3_11_3, Schatten Hölder); trace Hölder and simultaneous diagonalization to AreaLawForMathlib/Analysis/Matrix/TraceHolder.lean (from OpenAI/TraceHolder.lean) Co-Authored-By: AxiomProver
…er unitary conjugation), D3.7.3 (step_3_7_3, one peel) Co-Authored-By: AxiomProver
…tep_3_11_3_region, step_3_11_4_region: log ‖LΩ‖² ≤ -a S(X) + 1024eϑ𝓑a² from Lemma 3.1 at u=-a/(1-a)), D3.12.4 (step_3_12_4, unitaries to the left); extendId_mul, dotProduct_extendId_mulVec to AreaLawForMathlib/QuantumInfo/Region.lean Co-Authored-By: AxiomProver
…idt averaging) Co-Authored-By: AxiomProver
Co-Authored-By: AxiomProver
…D3.7.2-4, D3.9.1, D3.11.2-4, D3.12.4, D3.13), TraceHolder and Region additions; Next steps section Co-Authored-By: AxiomProver
…, D3.9.5 (step_3_9_5, split term ≤ (16/e²)a²∑‖c‖‖d‖); MarginalTails.lean: row/column block of D3.1.6 extracted as sum_add_mul_unitRow_le, reused by D3.9.5 Co-Authored-By: AxiomProver
…sFilter.isUnit_det, isFilter_uniform, filterProd, step_3_7_1: maximizer exists, N > 0); Matrix.isCompact_setOf_conjTranspose_mul_self_eq_one to AreaLawForMathlib/Analysis/CStarAlgebra/Matrix.lean; prodDesc moved before D3.7 Co-Authored-By: AxiomProver
…j, IsFilter.exp_conj (e^{tB} L e^{-tB} feasible for anti-Hermitian B)
Co-Authored-By: AxiomProver
…ext steps for D3.7.1, D3.9.3, D3.9.5 Co-Authored-By: AxiomProver
… run by ci-pages.sh); RefactoringResult Next steps: Step 3 paragraph Co-Authored-By: AxiomProver
…frozen proofs and every anchor, Lean-level closure) and D6.13 (b) restated literally
D6.13 (b): step_6_13 (S06_Replicas/Symbol.lean) now gives h = sum b_i a_i and polynomials p, q
with B_k = HasMarkedSymbol.compress (polyWord P Y a b p q) k, the compressed polynomial word in
the marked operators and the stars J_{Q,k}, with a common sup_k ||B_k|| bound and
||(O_k - B_k) Pi_k|| <= eps eventually; new TensorPower.exists_polyWord_approx
(Ported/MarkedSimilaritySymbol.lean) carries D6.13.6-D6.13.8.
Duplicate Matrix.mulVec_eq_smul_of_mul_self_mulVec (library, unused; S04's D4.10.2 is used)
removed with its file MatrixSqrtKernel.lean. Umbrellas regenerated by umbrella_sync.
Lines: AreaLawRefactored 72 459 -> 72 116, AreaLawForMathlib 26 803 -> 24 720 (total 99 262 -> 96 836).
Build of S08-S11/Transfer/Solution still running at commit time.
Co-Authored-By: AxiomProver
…sClosureComplete (scripts/patch_versoblueprint.py, run by ci-pages.sh); README Local: lake exe vbp build exit 0; vbp check ok (682/682 entries); check_dag.py: rendered graph 221 nodes, 759 edges = DAG §2.1. Co-Authored-By: AxiomProver
…y: 92 632 lines (from 96 836) Proof golf, single-use lemmas inlined, unused declarations deleted, Mathlib lemmas in place of local copies, provenance narration removed; no anchor name, statement or docstring changed. S06 Ported/: 13 303 -> about 11 000 lines; S06 anchor files golfed; AreaLawForMathlib/ RepresentationTheory/SchurWeyl: 9 624 -> 8 111. Every edited module compiled in lake build (S06, S08 importers built; S09-S11 still building at commit time). Co-Authored-By: AxiomProver
…d PosDef-free commute lemmas Moved (unchanged content, imports re-pointed): Ported/ReplicaSupport -> QuantumInfo/SiteSupport, ReplicaSiteOp -> SchurWeyl/SiteOp, UnitaryTwirl, SplitCopies, ExteriorPieri, WeylCharacter, TensorPowerRpow, CoherentResolution, HusimiIdentity, CoherentMeasure -> SchurWeyl/, InverseCompressionLowerPin -> Analysis/Matrix/CompressedInverse; the generic joint resolution (spectral projectors x label projectors, eigenvalue repetition) split from Ported/SchurSurprisal into SchurWeyl/JointResolution. Ported/: 45 files 13 540 lines -> 34 files 8 378 lines. Duplicates: Arealaw.extendId_extendId (QuantumInfo/Region.lean) replaces the S03, S05 and S10 copies; Matrix.commute_rpow_of_commute, Commute.geomMean_right, commute_geomMean_of_commute and Transport.MeanTree.commute_eval_right/commute_eval_eval lose their PosDef hypotheses and replace the private S08 copies in Labels.lean and Pin.lean; restrictX_replaceX once, in S08 Setup.lean. D6.13 (b) also states the coherent symbol of B_k. lake build AreaLawRefactored AreaLawForMathlib Solution: Build completed successfully (9091 jobs) (one unused-section-variable warning in S08 Lower.lean fixed after, checked with lake env lean). Lines: AreaLawRefactored 66 926, AreaLawForMathlib 25 630, total 92 556. Co-Authored-By: AxiomProver
…, S06/SchurWeyl golf, Ported/ library moves, duplicates; 92 556 lines; what remains) Full lake build: Build completed successfully (9116 jobs), warnings only the three frozen Challenge sorries. scripts/audit.lean: every frozen proof [propext, Classical.choice, Quot.sound]. Co-Authored-By: AxiomProver
Co-Authored-By: AxiomProver
…Transfer, module doc); every module reachable (161/161) Co-Authored-By: AxiomProver
Co-Authored-By: AxiomProver # Conflicts: # RefactoringResult.md
…es and 2 emptied files deleted, 14 files moved into AreaLawForMathlib/QuantumInfo/{Region,ClassicalInfo,Entropy}, Analysis/CStarAlgebra/Matrix, LinearAlgebra/Matrix/UnitaryCompletion; unused declarations cut); OpenAI/Statements.lean imports only Mathlib, Physlib, AreaLawForMathlib; docs/oai265/, HISTORY.md, quantum-arealaw docs deleted; README rewritten; library docstrings name the Mathlib file they extend; lakefile targets; Solution import re-pointed; scripts/check_roots.py; ci/ pending workflows; Map.md/RefactoringResult/blueprint paths
Co-Authored-By: AxiomProver
… workflow push, VersoBlueprint closure); -golf and -blueprint worktrees removed Co-Authored-By: AxiomProver
… split, Physlib), §8 cuts, §9 after-Step-2 column, §10 final numbers, Done checklist, gates (build 3 warnings = challenge sorries, audit, axiom_audit clean, adversarial_review not blocked, comparator okay, blueprint graph = DAG), handover Co-Authored-By: AxiomProver
… error Co-Authored-By: AxiomProver
…m 2 met Co-Authored-By: AxiomProver
…nAI); CI mk_all check back on; drop check_roots.py Co-Authored-By: AxiomProver
lake lint failed on AreaLawForMathlib (14 findings) and, run per library, on AreaLaw (45) and the frozen OpenAI.Statements / Challenge (1 each). - docBlame: docstrings for Matrix.weylShift, weylClock, weyl, reindexedWeyl, complementaryWeylTwirl, LiebRobinson.supportedCommutatorMap/Norm - defsWithUnderscore: instance named instMeasurableSpaceUnitaryGroup; paper notation defs renamed (C_h -> binEntropyConst, F_box -> boxEntropySup, B_M -> noninteriorBound, Z_r -> harmonicSum, X_j -> bufferRegion, C_M -> tailConst, Layout/Repair.S_star -> stopScale); the 26 anchor-label Prop defs (Lemma_5_3, Step_8_10, ...) get @[nolint defsWithUnderscore] (RefactoringResult §8) - simpNF: @[simp] dropped from Matrix.realProjection_ofReal_smul and from the Scanner copies of phys_mem_physReg / C_not_mem_physReg / R_not_mem_physReg - unusedArguments: unused instance arguments removed from hermitianSet, singleKrausMap, IsPositiveMap.toPositiveLinearMap, IsNPositiveMap.isPositiveMap_two, tracelessPart, GraphDomain.hamiltonian, smul_le_smul_of_le, RoughUpper, RoughLower, Scanner.up, isSupportedOn_truncated, step_10_6_2, dotProduct_restoredVec', and the lemmas that then carried them unused - lakefile: lintDriverArgs = AreaLawForMathlib, AreaLaw, Solution (not the frozen statement files); driver scripts/lint (a dependency-free package) runs runLinter once per module in its own process, since one process importing two of them ran out of memory - Map.md index regenerated; blueprint (lean := ...) names updated Co-Authored-By: AxiomProver
Co-Authored-By: AxiomProver
…919d1fb0eea Refactor the formalization into a one-to-one translation of the paper (RefactoringPlan.md)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@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.
Merges the restructured proof body (paper-shaped tree, AreaLaw/ and AreaLawForMathlib/, about half the lines of v1) with everything v1 provides: the frozen statement layer, the axiom audits, the comparator pair, the statement audit, HISTORY and the working record, NOTICE and the port headers.
Acceptance, all run on the branch and recorded in MERGE_NOTES.md:
Also on this branch: the first three-dimensional result, the cylinder area law derived from the planar one (OpenAI/Cylinder3D.lean), and the frozen 3D target statements with their document (docs/3D/).
Decisions for the maintainers are listed at the end of MERGE_NOTES.md: README wording, handling of AreaLaw/S06_Replicas/Ported, and whether the cylinder proof moves onto the v2 API. A follow-up PR rewriting the remaining ported code into independent proofs is in progress.