Add builds (2026-11-10)
Browse files
README.md
CHANGED
|
@@ -38,9 +38,14 @@ Every value below is read from the build folder's own reports; "not run" and "no
|
|
| 38 |
|
| 39 |
What the columns mean:
|
| 40 |
- **`sorry` warnings:** declarations the build reported as using `sorry`. Anything depending on them is not proved.
|
|
|
|
|
|
|
|
|
|
| 41 |
- **Axiom audit:** every declaration in the package's modules traced to the axioms it uses. "passed" means only
|
| 42 |
-
`propext`, `Classical.choice` and `Quot.sound`.
|
| 43 |
-
|
|
|
|
|
|
|
| 44 |
- **Round trip:** a separate user with empty Lean and Lake caches restored the build from the archive and Lake reported
|
| 45 |
every target up to date. It shows the archive is complete, not that the proofs are right.
|
| 46 |
|
|
|
|
| 38 |
|
| 39 |
What the columns mean:
|
| 40 |
- **`sorry` warnings:** declarations the build reported as using `sorry`. Anything depending on them is not proved.
|
| 41 |
+
"problem statements only" means every one is in a `problem.lean` or challenge file: in that layout the
|
| 42 |
+
statement file states the theorems with `sorry`, a matching solution file proves them, and a comparator checks
|
| 43 |
+
that the two match. The axiom audit then shows whether the solutions are clean.
|
| 44 |
- **Axiom audit:** every declaration in the package's modules traced to the axioms it uses. "passed" means only
|
| 45 |
+
`propext`, `Classical.choice` and `Quot.sound`. "passed outside problem statements" means a module-by-module audit
|
| 46 |
+
found `sorryAx` only in problem or challenge statement modules, and every other module, including every solution,
|
| 47 |
+
uses only those three. Neither says a statement is the intended one: a theorem that takes a hard fact as a
|
| 48 |
+
hypothesis passes.
|
| 49 |
- **Round trip:** a separate user with empty Lean and Lake caches restored the build from the archive and Lake reported
|
| 50 |
every target up to date. It shows the archive is complete, not that the proofs are right.
|
| 51 |
|
builds/v4.33.0-rc1/x86_64-unknown-linux-gnu/6641780bb6ba-9911ac92997e70ec/SHA256SUMS.txt
CHANGED
|
@@ -1,5 +1,6 @@
|
|
| 1 |
71d3e6d4ccd6ac89fd6fa578d83bce9f66cde10af751961cbb696f425a1c6665 lake-manifest.json
|
| 2 |
5f65e674bea350b3c0edca888adf1d7d75edeae618690e78efd091eccc1a6216 manifest.json
|
|
|
|
| 3 |
009fcb9dc2bc4d6fc60a46047c443e96bbf829f11b10d9e1e40b02d3b6b8d3a0 reports/axiom_audit.txt
|
| 4 |
f090bf4ad9adadc6a8fd5209c17da7ea405b8b91d8bf6a679f5fa4c9f53230db reports/axiom_audit_result.json
|
| 5 |
178c35add365cfae7112ff7be685baa7230dbbd8eeda2e2d89c2226ded772c60 reports/build.log
|
|
|
|
| 1 |
71d3e6d4ccd6ac89fd6fa578d83bce9f66cde10af751961cbb696f425a1c6665 lake-manifest.json
|
| 2 |
5f65e674bea350b3c0edca888adf1d7d75edeae618690e78efd091eccc1a6216 manifest.json
|
| 3 |
+
e7dff62c089299a4fa876e082ce4d806094db6f809ac737bb647308b1406d1fe reports/axiom_audit.lean
|
| 4 |
009fcb9dc2bc4d6fc60a46047c443e96bbf829f11b10d9e1e40b02d3b6b8d3a0 reports/axiom_audit.txt
|
| 5 |
f090bf4ad9adadc6a8fd5209c17da7ea405b8b91d8bf6a679f5fa4c9f53230db reports/axiom_audit_result.json
|
| 6 |
178c35add365cfae7112ff7be685baa7230dbbd8eeda2e2d89c2226ded772c60 reports/build.log
|
builds/v4.33.0-rc1/x86_64-unknown-linux-gnu/6641780bb6ba-9911ac92997e70ec/reports/axiom_audit.lean
ADDED
|
@@ -0,0 +1,304 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import Lean
|
| 2 |
+
import Gap212
|
| 3 |
+
import Gap212.Aliases
|
| 4 |
+
import Gap212.Attr
|
| 5 |
+
import Gap212.Auxiliary.Certificate
|
| 6 |
+
import Gap212.Auxiliary.Estimates
|
| 7 |
+
import Gap212.Auxiliary.Logarithms
|
| 8 |
+
import Gap212.Basic
|
| 9 |
+
import Gap212.Challenge.ChallengePairing
|
| 10 |
+
import Gap212.Challenge.ObligationPairing
|
| 11 |
+
import Gap212.Challenge.Pairing
|
| 12 |
+
import Gap212.Challenge.ResidualReduction
|
| 13 |
+
import Gap212.Consequences.Basic
|
| 14 |
+
import Gap212.Consequences.BundleNormalization
|
| 15 |
+
import Gap212.Consequences.CheckSetEmptyAboveThirteen
|
| 16 |
+
import Gap212.Consequences.DconvCoefficientSequence
|
| 17 |
+
import Gap212.Consequences.PointwiseFromEventual
|
| 18 |
+
import Gap212.Definitions
|
| 19 |
+
import Gap212.Defs
|
| 20 |
+
import Gap212.Endgame.DHL
|
| 21 |
+
import Gap212.Equidistribution.Basic
|
| 22 |
+
import Gap212.Equidistribution.CoefficientSequence
|
| 23 |
+
import Gap212.Equidistribution.Corrected
|
| 24 |
+
import Gap212.Equidistribution.Defs.FiveEstimates
|
| 25 |
+
import Gap212.Equidistribution.Estimates
|
| 26 |
+
import Gap212.Equidistribution.Estimates.Assumed
|
| 27 |
+
import Gap212.Equidistribution.Moduli
|
| 28 |
+
import Gap212.Equidistribution.SmoothAtScale
|
| 29 |
+
import Gap212.Extraction.Chambers
|
| 30 |
+
import Gap212.Extraction.Degenerate
|
| 31 |
+
import Gap212.Extraction.FourFactor
|
| 32 |
+
import Gap212.Extraction.Setup
|
| 33 |
+
import Gap212.Extraction.ThreeFactor
|
| 34 |
+
import Gap212.Extraction.TwoFactor
|
| 35 |
+
import Gap212.Harman
|
| 36 |
+
import Gap212.Harman.Challenge
|
| 37 |
+
import Gap212.Harman.ScalarConditions
|
| 38 |
+
import Gap212.Inputs.BVRangeAtScale
|
| 39 |
+
import Gap212.Inputs.BilinearBV
|
| 40 |
+
import Gap212.Main
|
| 41 |
+
import Gap212.Notation
|
| 42 |
+
import Gap212.Packing.Append
|
| 43 |
+
import Gap212.Packing.Basic
|
| 44 |
+
import Gap212.Packing.ConditionD
|
| 45 |
+
import Gap212.Packing.ContinuumPacking
|
| 46 |
+
import Gap212.Packing.DatumConditionD
|
| 47 |
+
import Gap212.Packing.DatumConditionDPairs
|
| 48 |
+
import Gap212.Packing.DatumConditionE
|
| 49 |
+
import Gap212.Packing.DatumConditions
|
| 50 |
+
import Gap212.Packing.DatumFacts
|
| 51 |
+
import Gap212.Packing.Divisors
|
| 52 |
+
import Gap212.Packing.Farkas
|
| 53 |
+
import Gap212.Packing.LogBridge
|
| 54 |
+
import Gap212.Packing.PackingCertificate
|
| 55 |
+
import Gap212.Packing.PackingCertificateProof
|
| 56 |
+
import Gap212.Packing.SortedCell
|
| 57 |
+
import Gap212.Packing.SortedCellCut
|
| 58 |
+
import Gap212.Packing.SortedCellsCut
|
| 59 |
+
import Gap212.Packing.SortedCellsEight
|
| 60 |
+
import Gap212.Packing.SortedCellsGamma
|
| 61 |
+
import Gap212.Packing.SortedCellsMid
|
| 62 |
+
import Gap212.Packing.SortedCellsPair
|
| 63 |
+
import Gap212.Packing.SortedCellsRest
|
| 64 |
+
import Gap212.Packing.SortedCellsSub
|
| 65 |
+
import Gap212.Packing.SortedCellsUncut1
|
| 66 |
+
import Gap212.Packing.SortedCellsUncut2
|
| 67 |
+
import Gap212.Packing.SortedCellsUncut3
|
| 68 |
+
import Gap212.Packing.SortedCellsUncut4
|
| 69 |
+
import Gap212.Packing.SortedCone
|
| 70 |
+
import Gap212.Packing.SortedCut
|
| 71 |
+
import Gap212.Packing.SortedCutMid
|
| 72 |
+
import Gap212.Packing.SortedTranspose
|
| 73 |
+
import Gap212.Packing.TypeI
|
| 74 |
+
import Gap212.Packing.TypeIIc
|
| 75 |
+
import Gap212.Parameters.Challenge
|
| 76 |
+
import Gap212.Parameters.PointA
|
| 77 |
+
import Gap212.Ranges
|
| 78 |
+
import Gap212.Routing.Assembly
|
| 79 |
+
import Gap212.Routing.AssemblyAtScale
|
| 80 |
+
import Gap212.Routing.BandUnionAtScale
|
| 81 |
+
import Gap212.Routing.Consequences
|
| 82 |
+
import Gap212.Routing.Containment
|
| 83 |
+
import Gap212.Routing.ContainmentIIc
|
| 84 |
+
import Gap212.Routing.ContainmentsAtScale
|
| 85 |
+
import Gap212.Routing.Convolution
|
| 86 |
+
import Gap212.Routing.Crude
|
| 87 |
+
import Gap212.Routing.DatumAssembly
|
| 88 |
+
import Gap212.Routing.Defs.Equidistribution
|
| 89 |
+
import Gap212.Routing.Defs.GeneratedModuli
|
| 90 |
+
import Gap212.Routing.Defs.HarmanClass
|
| 91 |
+
import Gap212.Routing.Dyadic
|
| 92 |
+
import Gap212.Routing.DyadicCover
|
| 93 |
+
import Gap212.Routing.HalfLevelAtScale
|
| 94 |
+
import Gap212.Routing.HarmanAtScale
|
| 95 |
+
import Gap212.Routing.Localize
|
| 96 |
+
import Gap212.Routing.Monotone
|
| 97 |
+
import Gap212.Routing.Patch
|
| 98 |
+
import Gap212.Routing.PointABridge
|
| 99 |
+
import Gap212.Routing.RangeCompare
|
| 100 |
+
import Gap212.Routing.Retreat
|
| 101 |
+
import Gap212.Routing.RoutePacking
|
| 102 |
+
import Gap212.Routing.Routes
|
| 103 |
+
import Gap212.Routing.Swap
|
| 104 |
+
import Gap212.Routing.SwapAtScale
|
| 105 |
+
import Gap212.Routing.Thresholds
|
| 106 |
+
import Gap212.Routing.TrivialDiscrepancy
|
| 107 |
+
import Gap212.Routing.TrivialMajorant
|
| 108 |
+
import Gap212.Routing.TypeIIAtScale
|
| 109 |
+
import Gap212.Routing.TypeIIIAssembly
|
| 110 |
+
import Gap212.Routing.TypeIIRanges
|
| 111 |
+
import Gap212.Routing.TypeIIScale
|
| 112 |
+
import Gap212.Routing.TypeIISubHalf
|
| 113 |
+
import Gap212.Routing.TypeIIaRoute
|
| 114 |
+
import Gap212.Routing.TypeIIbWorstValues
|
| 115 |
+
import Gap212.Routing.TypeIIcRoute
|
| 116 |
+
import Gap212.Routing.Union
|
| 117 |
+
import Gap212.Routing.Widths
|
| 118 |
+
import Gap212.Sieve.AbelSummationBound
|
| 119 |
+
import Gap212.Sieve.AbsorptionConstant
|
| 120 |
+
import Gap212.Sieve.Asymptotics
|
| 121 |
+
import Gap212.Sieve.AveragingFacts
|
| 122 |
+
import Gap212.Sieve.BlockCount
|
| 123 |
+
import Gap212.Sieve.BufferedFacts
|
| 124 |
+
import Gap212.Sieve.Certificate
|
| 125 |
+
import Gap212.Sieve.Criterion
|
| 126 |
+
import Gap212.Sieve.CriterionAssembly
|
| 127 |
+
import Gap212.Sieve.CriterionAtScale
|
| 128 |
+
import Gap212.Sieve.CriterionFromObligations
|
| 129 |
+
import Gap212.Sieve.CutoffContinuity
|
| 130 |
+
import Gap212.Sieve.DivisorMoment
|
| 131 |
+
import Gap212.Sieve.DivisorSumAssembly
|
| 132 |
+
import Gap212.Sieve.DivisorSumDefs
|
| 133 |
+
import Gap212.Sieve.DivisorSumFacts
|
| 134 |
+
import Gap212.Sieve.DivisorSumOverQstar
|
| 135 |
+
import Gap212.Sieve.DyadicPNT
|
| 136 |
+
import Gap212.Sieve.EndgameDefs
|
| 137 |
+
import Gap212.Sieve.GPY
|
| 138 |
+
import Gap212.Sieve.GPYDefs
|
| 139 |
+
import Gap212.Sieve.GramDatum
|
| 140 |
+
import Gap212.Sieve.GramDefectMeanSquare
|
| 141 |
+
import Gap212.Sieve.GramDefectTopBlock
|
| 142 |
+
import Gap212.Sieve.GramRiemannSum
|
| 143 |
+
import Gap212.Sieve.GramSingularSeries
|
| 144 |
+
import Gap212.Sieve.GramSumLimitDefect
|
| 145 |
+
import Gap212.Sieve.InnerSumReciprocal
|
| 146 |
+
import Gap212.Sieve.InnerSumTotient
|
| 147 |
+
import Gap212.Sieve.Integrals
|
| 148 |
+
import Gap212.Sieve.JintMarginal
|
| 149 |
+
import Gap212.Sieve.L2Approximation
|
| 150 |
+
import Gap212.Sieve.MarginalFacts
|
| 151 |
+
import Gap212.Sieve.MertensCoprimeCorrection
|
| 152 |
+
import Gap212.Sieve.MertensMoebiusSq
|
| 153 |
+
import Gap212.Sieve.MertensMuPhi
|
| 154 |
+
import Gap212.Sieve.MertensVonMangoldtRate
|
| 155 |
+
import Gap212.Sieve.MoebiusDecay
|
| 156 |
+
import Gap212.Sieve.MoebiusPartialSumDecay
|
| 157 |
+
import Gap212.Sieve.MoebiusReciprocalAbel
|
| 158 |
+
import Gap212.Sieve.MoebiusReciprocalSeries
|
| 159 |
+
import Gap212.Sieve.MoebiusRenewal
|
| 160 |
+
import Gap212.Sieve.MoebiusTotient
|
| 161 |
+
import Gap212.Sieve.MoebiusTotientAbel
|
| 162 |
+
import Gap212.Sieve.MoebiusTotientAsymptotic
|
| 163 |
+
import Gap212.Sieve.MoebiusTotientDecay
|
| 164 |
+
import Gap212.Sieve.MoebiusTotientSeries
|
| 165 |
+
import Gap212.Sieve.MoebiusTotientTransfer
|
| 166 |
+
import Gap212.Sieve.NuDenominatorBridge
|
| 167 |
+
import Gap212.Sieve.NuDenominatorDefect
|
| 168 |
+
import Gap212.Sieve.NuDenominatorFromObligations
|
| 169 |
+
import Gap212.Sieve.NumeratorFromObligations
|
| 170 |
+
import Gap212.Sieve.OneCoordLcmRefutation
|
| 171 |
+
import Gap212.Sieve.OneCoordLcmSelberg
|
| 172 |
+
import Gap212.Sieve.OneCoordTotientRefutation
|
| 173 |
+
import Gap212.Sieve.OneCoordTotientSelberg
|
| 174 |
+
import Gap212.Sieve.PairwiseCoprimeMoebius
|
| 175 |
+
import Gap212.Sieve.Polymath41
|
| 176 |
+
import Gap212.Sieve.Polymath41AssembleDirichlet
|
| 177 |
+
import Gap212.Sieve.Polymath41AssembleEuler
|
| 178 |
+
import Gap212.Sieve.Polymath41AssembleLimitDeriv
|
| 179 |
+
import Gap212.Sieve.Polymath41AssembleLimitParseval
|
| 180 |
+
import Gap212.Sieve.Polymath41AssemblePoleFactors
|
| 181 |
+
import Gap212.Sieve.Polymath41AssemblePoleKernel
|
| 182 |
+
import Gap212.Sieve.Polymath41AssemblePoleKpEst
|
| 183 |
+
import Gap212.Sieve.Polymath41AssemblePoleLimit
|
| 184 |
+
import Gap212.Sieve.Polymath41AssemblePoleTail
|
| 185 |
+
import Gap212.Sieve.Polymath41AssemblePoleZeta
|
| 186 |
+
import Gap212.Sieve.Polymath41AssembleRecipCoprime
|
| 187 |
+
import Gap212.Sieve.Polymath41AssembleRecipReduction
|
| 188 |
+
import Gap212.Sieve.Polymath41AssembleTotientCoprime
|
| 189 |
+
import Gap212.Sieve.Polymath41AssembleTotientEstimate
|
| 190 |
+
import Gap212.Sieve.Polymath41AssembleTotientReduction
|
| 191 |
+
import Gap212.Sieve.Polymath41AssembleTotientSum
|
| 192 |
+
import Gap212.Sieve.Polymath41Carriers
|
| 193 |
+
import Gap212.Sieve.Polymath41CloseBounds
|
| 194 |
+
import Gap212.Sieve.Polymath41CloseLimit
|
| 195 |
+
import Gap212.Sieve.Polymath41CloseRatio
|
| 196 |
+
import Gap212.Sieve.Polymath41CloseRecip
|
| 197 |
+
import Gap212.Sieve.Polymath41CloseTotient
|
| 198 |
+
import Gap212.Sieve.Polymath41Euler
|
| 199 |
+
import Gap212.Sieve.Polymath41Fourier
|
| 200 |
+
import Gap212.Sieve.Polymath41Fubini
|
| 201 |
+
import Gap212.Sieve.Polymath41FubiniTotient
|
| 202 |
+
import Gap212.Sieve.Polymath41Kernel
|
| 203 |
+
import Gap212.Sieve.Polymath41Majorant
|
| 204 |
+
import Gap212.Sieve.Polymath41MajorantTotient
|
| 205 |
+
import Gap212.Sieve.Polymath41MajorantTotientSharp
|
| 206 |
+
import Gap212.Sieve.Polymath41Pole
|
| 207 |
+
import Gap212.Sieve.Polymath41PoleUniform
|
| 208 |
+
import Gap212.Sieve.Polymath41PoleWProduct
|
| 209 |
+
import Gap212.Sieve.PreSieved
|
| 210 |
+
import Gap212.Sieve.PrimeTailProduct
|
| 211 |
+
import Gap212.Sieve.RenewalBootstrap
|
| 212 |
+
import Gap212.Sieve.RetreatFacts
|
| 213 |
+
import Gap212.Sieve.RetreatGap
|
| 214 |
+
import Gap212.Sieve.RetreatOneLe
|
| 215 |
+
import Gap212.Sieve.ScaleCalC
|
| 216 |
+
import Gap212.Sieve.SelbergAssembly
|
| 217 |
+
import Gap212.Sieve.SelbergDecoupling
|
| 218 |
+
import Gap212.Sieve.SelbergErrorTerm
|
| 219 |
+
import Gap212.Sieve.SelbergMainTerm
|
| 220 |
+
import Gap212.Sieve.SelbergProgressionSum
|
| 221 |
+
import Gap212.Sieve.SieveAsymptoticDefect
|
| 222 |
+
import Gap212.Sieve.SieveAsymptoticFromObligations
|
| 223 |
+
import Gap212.Sieve.SieveWeights
|
| 224 |
+
import Gap212.Sieve.SievingErrorReduction
|
| 225 |
+
import Gap212.Sieve.SievingErrorTails
|
| 226 |
+
import Gap212.Sieve.SimplexVolume
|
| 227 |
+
import Gap212.Sieve.SmoothMoebiusInner
|
| 228 |
+
import Gap212.Sieve.SmoothNumberSum
|
| 229 |
+
import Gap212.Sieve.SmoothTotientInner
|
| 230 |
+
import Gap212.Sieve.Support
|
| 231 |
+
import Gap212.Sieve.TensorDensity
|
| 232 |
+
import Gap212.Sieve.TensorFacts
|
| 233 |
+
import Gap212.Sieve.TensorGapTransfer
|
| 234 |
+
import Gap212.Sieve.TensorMesh
|
| 235 |
+
import Gap212.Sieve.TotientGramDefectMeanSquare
|
| 236 |
+
import Gap212.Sieve.TotientGramDefectTopBlock
|
| 237 |
+
import Gap212.Sieve.TotientGramMeasure
|
| 238 |
+
import Gap212.Sieve.TotientGramRiemannSum
|
| 239 |
+
import Gap212.Sieve.TruncatedPartialSummation
|
| 240 |
+
import Gap212.Sieve.TruncatedReciprocalSummation
|
| 241 |
+
import Gap212.Sieve.UStrip
|
| 242 |
+
import Gap212.Sieve.UniformModulusInput
|
| 243 |
+
import Gap212.Sieve.WSieve
|
| 244 |
+
import Gap212.Sieve.WeightedError
|
| 245 |
+
import Gap212.Support.Hereditary
|
| 246 |
+
import Gap212.Transition.Transport
|
| 247 |
+
import Gap212.Transition.Window
|
| 248 |
+
import Gap212.Tuple.H45
|
| 249 |
+
import Gap212.Windows.Arithmetic
|
| 250 |
+
import Gap212.Windows.Bridges
|
| 251 |
+
import Gap212.Windows.TypeIIcWalls
|
| 252 |
+
|
| 253 |
+
open Lean Elab Command
|
| 254 |
+
|
| 255 |
+
namespace AxAudit
|
| 256 |
+
structure St where
|
| 257 |
+
seen : NameMap (Array Name) := {}
|
| 258 |
+
axioms : NameSet := {}
|
| 259 |
+
abbrev M := ReaderT Environment (StateM St)
|
| 260 |
+
|
| 261 |
+
partial def collect (c : Name) : M Unit := do
|
| 262 |
+
let env ← read
|
| 263 |
+
let s ← get
|
| 264 |
+
if let some axs := s.seen.find? c then
|
| 265 |
+
modify fun s => { s with axioms := axs.foldl (fun a x => a.insert x) s.axioms }
|
| 266 |
+
return
|
| 267 |
+
let saved := s.axioms
|
| 268 |
+
modify fun s => { s with axioms := {}, seen := s.seen.insert c #[] }
|
| 269 |
+
let ce (e : Expr) : M Unit := e.getUsedConstants.forM collect
|
| 270 |
+
match env.find? c with
|
| 271 |
+
| some (.axiomInfo v) => modify (fun s => { s with axioms := s.axioms.insert c }); ce v.type
|
| 272 |
+
| some (.defnInfo v) => ce v.type *> ce v.value
|
| 273 |
+
| some (.thmInfo v) => ce v.type *> ce v.value
|
| 274 |
+
| some (.opaqueInfo v) => ce v.type *> ce v.value
|
| 275 |
+
| some (.quotInfo _) => pure ()
|
| 276 |
+
| some (.ctorInfo v) => ce v.type
|
| 277 |
+
| some (.recInfo v) => ce v.type
|
| 278 |
+
| some (.inductInfo v) => ce v.type *> v.ctors.forM collect
|
| 279 |
+
| none => pure ()
|
| 280 |
+
let res := (← get).axioms.toArray.qsort Name.lt
|
| 281 |
+
modify fun s => { s with seen := s.seen.insert c res, axioms := res.foldl (fun a x => a.insert x) saved }
|
| 282 |
+
end AxAudit
|
| 283 |
+
|
| 284 |
+
run_cmd do
|
| 285 |
+
let env ← getEnv
|
| 286 |
+
let penv := env.setExporting false
|
| 287 |
+
let mods : NameSet := (#[`Gap212, `Gap212.Aliases, `Gap212.Attr, `Gap212.Auxiliary.Certificate, `Gap212.Auxiliary.Estimates, `Gap212.Auxiliary.Logarithms, `Gap212.Basic, `Gap212.Challenge.ChallengePairing, `Gap212.Challenge.ObligationPairing, `Gap212.Challenge.Pairing, `Gap212.Challenge.ResidualReduction, `Gap212.Consequences.Basic, `Gap212.Consequences.BundleNormalization, `Gap212.Consequences.CheckSetEmptyAboveThirteen, `Gap212.Consequences.DconvCoefficientSequence, `Gap212.Consequences.PointwiseFromEventual, `Gap212.Definitions, `Gap212.Defs, `Gap212.Endgame.DHL, `Gap212.Equidistribution.Basic, `Gap212.Equidistribution.CoefficientSequence, `Gap212.Equidistribution.Corrected, `Gap212.Equidistribution.Defs.FiveEstimates, `Gap212.Equidistribution.Estimates, `Gap212.Equidistribution.Estimates.Assumed, `Gap212.Equidistribution.Moduli, `Gap212.Equidistribution.SmoothAtScale, `Gap212.Extraction.Chambers, `Gap212.Extraction.Degenerate, `Gap212.Extraction.FourFactor, `Gap212.Extraction.Setup, `Gap212.Extraction.ThreeFactor, `Gap212.Extraction.TwoFactor, `Gap212.Harman, `Gap212.Harman.Challenge, `Gap212.Harman.ScalarConditions, `Gap212.Inputs.BVRangeAtScale, `Gap212.Inputs.BilinearBV, `Gap212.Main, `Gap212.Notation, `Gap212.Packing.Append, `Gap212.Packing.Basic, `Gap212.Packing.ConditionD, `Gap212.Packing.ContinuumPacking, `Gap212.Packing.DatumConditionD, `Gap212.Packing.DatumConditionDPairs, `Gap212.Packing.DatumConditionE, `Gap212.Packing.DatumConditions, `Gap212.Packing.DatumFacts, `Gap212.Packing.Divisors, `Gap212.Packing.Farkas, `Gap212.Packing.LogBridge, `Gap212.Packing.PackingCertificate, `Gap212.Packing.PackingCertificateProof, `Gap212.Packing.SortedCell, `Gap212.Packing.SortedCellCut, `Gap212.Packing.SortedCellsCut, `Gap212.Packing.SortedCellsEight, `Gap212.Packing.SortedCellsGamma, `Gap212.Packing.SortedCellsMid, `Gap212.Packing.SortedCellsPair, `Gap212.Packing.SortedCellsRest, `Gap212.Packing.SortedCellsSub, `Gap212.Packing.SortedCellsUncut1, `Gap212.Packing.SortedCellsUncut2, `Gap212.Packing.SortedCellsUncut3, `Gap212.Packing.SortedCellsUncut4, `Gap212.Packing.SortedCone, `Gap212.Packing.SortedCut, `Gap212.Packing.SortedCutMid, `Gap212.Packing.SortedTranspose, `Gap212.Packing.TypeI, `Gap212.Packing.TypeIIc, `Gap212.Parameters.Challenge, `Gap212.Parameters.PointA, `Gap212.Ranges, `Gap212.Routing.Assembly, `Gap212.Routing.AssemblyAtScale, `Gap212.Routing.BandUnionAtScale, `Gap212.Routing.Consequences, `Gap212.Routing.Containment, `Gap212.Routing.ContainmentIIc, `Gap212.Routing.ContainmentsAtScale, `Gap212.Routing.Convolution, `Gap212.Routing.Crude, `Gap212.Routing.DatumAssembly, `Gap212.Routing.Defs.Equidistribution, `Gap212.Routing.Defs.GeneratedModuli, `Gap212.Routing.Defs.HarmanClass, `Gap212.Routing.Dyadic, `Gap212.Routing.DyadicCover, `Gap212.Routing.HalfLevelAtScale, `Gap212.Routing.HarmanAtScale, `Gap212.Routing.Localize, `Gap212.Routing.Monotone, `Gap212.Routing.Patch, `Gap212.Routing.PointABridge, `Gap212.Routing.RangeCompare, `Gap212.Routing.Retreat, `Gap212.Routing.RoutePacking, `Gap212.Routing.Routes, `Gap212.Routing.Swap, `Gap212.Routing.SwapAtScale, `Gap212.Routing.Thresholds, `Gap212.Routing.TrivialDiscrepancy, `Gap212.Routing.TrivialMajorant, `Gap212.Routing.TypeIIAtScale, `Gap212.Routing.TypeIIIAssembly, `Gap212.Routing.TypeIIRanges, `Gap212.Routing.TypeIIScale, `Gap212.Routing.TypeIISubHalf, `Gap212.Routing.TypeIIaRoute, `Gap212.Routing.TypeIIbWorstValues, `Gap212.Routing.TypeIIcRoute, `Gap212.Routing.Union, `Gap212.Routing.Widths, `Gap212.Sieve.AbelSummationBound, `Gap212.Sieve.AbsorptionConstant, `Gap212.Sieve.Asymptotics, `Gap212.Sieve.AveragingFacts, `Gap212.Sieve.BlockCount, `Gap212.Sieve.BufferedFacts, `Gap212.Sieve.Certificate, `Gap212.Sieve.Criterion, `Gap212.Sieve.CriterionAssembly, `Gap212.Sieve.CriterionAtScale, `Gap212.Sieve.CriterionFromObligations, `Gap212.Sieve.CutoffContinuity, `Gap212.Sieve.DivisorMoment, `Gap212.Sieve.DivisorSumAssembly, `Gap212.Sieve.DivisorSumDefs, `Gap212.Sieve.DivisorSumFacts, `Gap212.Sieve.DivisorSumOverQstar, `Gap212.Sieve.DyadicPNT, `Gap212.Sieve.EndgameDefs, `Gap212.Sieve.GPY, `Gap212.Sieve.GPYDefs, `Gap212.Sieve.GramDatum, `Gap212.Sieve.GramDefectMeanSquare, `Gap212.Sieve.GramDefectTopBlock, `Gap212.Sieve.GramRiemannSum, `Gap212.Sieve.GramSingularSeries, `Gap212.Sieve.GramSumLimitDefect, `Gap212.Sieve.InnerSumReciprocal, `Gap212.Sieve.InnerSumTotient, `Gap212.Sieve.Integrals, `Gap212.Sieve.JintMarginal, `Gap212.Sieve.L2Approximation, `Gap212.Sieve.MarginalFacts, `Gap212.Sieve.MertensCoprimeCorrection, `Gap212.Sieve.MertensMoebiusSq, `Gap212.Sieve.MertensMuPhi, `Gap212.Sieve.MertensVonMangoldtRate, `Gap212.Sieve.MoebiusDecay, `Gap212.Sieve.MoebiusPartialSumDecay, `Gap212.Sieve.MoebiusReciprocalAbel, `Gap212.Sieve.MoebiusReciprocalSeries, `Gap212.Sieve.MoebiusRenewal, `Gap212.Sieve.MoebiusTotient, `Gap212.Sieve.MoebiusTotientAbel, `Gap212.Sieve.MoebiusTotientAsymptotic, `Gap212.Sieve.MoebiusTotientDecay, `Gap212.Sieve.MoebiusTotientSeries, `Gap212.Sieve.MoebiusTotientTransfer, `Gap212.Sieve.NuDenominatorBridge, `Gap212.Sieve.NuDenominatorDefect, `Gap212.Sieve.NuDenominatorFromObligations, `Gap212.Sieve.NumeratorFromObligations, `Gap212.Sieve.OneCoordLcmRefutation, `Gap212.Sieve.OneCoordLcmSelberg, `Gap212.Sieve.OneCoordTotientRefutation, `Gap212.Sieve.OneCoordTotientSelberg, `Gap212.Sieve.PairwiseCoprimeMoebius, `Gap212.Sieve.Polymath41, `Gap212.Sieve.Polymath41AssembleDirichlet, `Gap212.Sieve.Polymath41AssembleEuler, `Gap212.Sieve.Polymath41AssembleLimitDeriv, `Gap212.Sieve.Polymath41AssembleLimitParseval, `Gap212.Sieve.Polymath41AssemblePoleFactors, `Gap212.Sieve.Polymath41AssemblePoleKernel, `Gap212.Sieve.Polymath41AssemblePoleKpEst, `Gap212.Sieve.Polymath41AssemblePoleLimit, `Gap212.Sieve.Polymath41AssemblePoleTail, `Gap212.Sieve.Polymath41AssemblePoleZeta, `Gap212.Sieve.Polymath41AssembleRecipCoprime, `Gap212.Sieve.Polymath41AssembleRecipReduction, `Gap212.Sieve.Polymath41AssembleTotientCoprime, `Gap212.Sieve.Polymath41AssembleTotientEstimate, `Gap212.Sieve.Polymath41AssembleTotientReduction, `Gap212.Sieve.Polymath41AssembleTotientSum, `Gap212.Sieve.Polymath41Carriers, `Gap212.Sieve.Polymath41CloseBounds, `Gap212.Sieve.Polymath41CloseLimit, `Gap212.Sieve.Polymath41CloseRatio, `Gap212.Sieve.Polymath41CloseRecip, `Gap212.Sieve.Polymath41CloseTotient, `Gap212.Sieve.Polymath41Euler, `Gap212.Sieve.Polymath41Fourier, `Gap212.Sieve.Polymath41Fubini, `Gap212.Sieve.Polymath41FubiniTotient, `Gap212.Sieve.Polymath41Kernel, `Gap212.Sieve.Polymath41Majorant, `Gap212.Sieve.Polymath41MajorantTotient, `Gap212.Sieve.Polymath41MajorantTotientSharp, `Gap212.Sieve.Polymath41Pole, `Gap212.Sieve.Polymath41PoleUniform, `Gap212.Sieve.Polymath41PoleWProduct, `Gap212.Sieve.PreSieved, `Gap212.Sieve.PrimeTailProduct, `Gap212.Sieve.RenewalBootstrap, `Gap212.Sieve.RetreatFacts, `Gap212.Sieve.RetreatGap, `Gap212.Sieve.RetreatOneLe, `Gap212.Sieve.ScaleCalC, `Gap212.Sieve.SelbergAssembly, `Gap212.Sieve.SelbergDecoupling, `Gap212.Sieve.SelbergErrorTerm, `Gap212.Sieve.SelbergMainTerm, `Gap212.Sieve.SelbergProgressionSum, `Gap212.Sieve.SieveAsymptoticDefect, `Gap212.Sieve.SieveAsymptoticFromObligations, `Gap212.Sieve.SieveWeights, `Gap212.Sieve.SievingErrorReduction, `Gap212.Sieve.SievingErrorTails, `Gap212.Sieve.SimplexVolume, `Gap212.Sieve.SmoothMoebiusInner, `Gap212.Sieve.SmoothNumberSum, `Gap212.Sieve.SmoothTotientInner, `Gap212.Sieve.Support, `Gap212.Sieve.TensorDensity, `Gap212.Sieve.TensorFacts, `Gap212.Sieve.TensorGapTransfer, `Gap212.Sieve.TensorMesh, `Gap212.Sieve.TotientGramDefectMeanSquare, `Gap212.Sieve.TotientGramDefectTopBlock, `Gap212.Sieve.TotientGramMeasure, `Gap212.Sieve.TotientGramRiemannSum, `Gap212.Sieve.TruncatedPartialSummation, `Gap212.Sieve.TruncatedReciprocalSummation, `Gap212.Sieve.UStrip, `Gap212.Sieve.UniformModulusInput, `Gap212.Sieve.WSieve, `Gap212.Sieve.WeightedError, `Gap212.Support.Hereditary, `Gap212.Transition.Transport, `Gap212.Transition.Window, `Gap212.Tuple.H45, `Gap212.Windows.Arithmetic, `Gap212.Windows.Bridges, `Gap212.Windows.TypeIIcWalls] : Array Name).foldl (fun s n => s.insert n) {}
|
| 288 |
+
let std : NameSet := (#[``propext, ``Classical.choice, ``Quot.sound] : Array Name).foldl (fun s n => s.insert n) {}
|
| 289 |
+
let mut roots : Array Name := #[]
|
| 290 |
+
let mut declared : Array Name := #[]
|
| 291 |
+
for (c, ci) in env.constants.map₁.toList do
|
| 292 |
+
let some idx := env.getModuleIdxFor? c | continue
|
| 293 |
+
unless mods.contains env.header.moduleNames[idx.toNat]! do continue
|
| 294 |
+
roots := roots.push c
|
| 295 |
+
if let .axiomInfo _ := ci then declared := declared.push c
|
| 296 |
+
let (_, st) := ((roots.forM AxAudit.collect).run penv).run {}
|
| 297 |
+
let mut used : NameSet := {}
|
| 298 |
+
let mut nonstd : Array (Name × Array Name) := #[]
|
| 299 |
+
for c in roots do
|
| 300 |
+
let axs := (st.seen.find? c).getD #[]
|
| 301 |
+
for a in axs do used := used.insert a
|
| 302 |
+
let bad := axs.filter (fun a => !std.contains a)
|
| 303 |
+
unless bad.isEmpty do nonstd := nonstd.push (c, bad)
|
| 304 |
+
logInfo m!"AXIOM-AUDIT decls={roots.size} declared_axioms={declared.toList} axioms_used={used.toList} nonstandard_count={nonstd.size} nonstandard_first={nonstd.toList.take 10} constants_walked={st.seen.size} AXIOM-AUDIT-END"
|