Proof map · Lean-derived structure

An asymptotic formula for the number of totients

The pinned Lean comparator and solution module record a structure for this family: the formal target, the named theorems, and the permitted axioms. It is machine-extracted, unreviewed, and not a Proofweave replay.

Family 024Number theory1 manuscriptLean scope documentedProofweave replay not run
Lean-derived structure

Lean-derived structure: comparator source filenames, configured theorem names and permitted axioms are unverified metadata, not proof relationships or a platform replay.

Replace the machine-extracted structure with a curated theorem-level proof spine, then open independent review.

Lean-derived structure · machine-extracted

Comparator metadata from the pinned source.

2 comparators · 5 theorem names

The comparator configuration lists target identifiers, theorem names, and permitted axioms. These are unverified metadata; no proof relationship, kernel check, or replay is inferred.

Source-pinned claim

Gives an asymptotic equivalent for the number V(x) of distinct totient values up to x , with a positive bounded phase-dependent factor determined by convergent arithmetic approximations. In particular, V(cx)/V(x) c for every fixed c > 0,…

Open the publication record →

Interactive structure

Explore comparator metadata.

Nodes are source metadata, not verified proof relationships.

Shortest TotientCompanionZero.lean · pages not recorded · 5 nodesLongest TotientAsymptotic.lean · pages not recorded · 8 nodesLanes are comparators. The nodes are metadata and do not assert proof dependencies or establish the family claim.
Proof dependencyUses an object fromMentions / namesProves / impliesSame mathematical roleReplacesBypassessame-role is not a logical dependency

Scroll horizontally to follow the structure. Click any node for its source.

Comparator source file
Theorem names in comparator metadata
Permitted axioms
Comparator 1TotientCompanionZero.lean ↗
Comparator source fileTotientCompanionZero.leanSource filename of the comparator; it is not the formal target statement.
Theorem names in comparator metadata
  • OAI.TotientAsymptotic.companion_zero_case
Permitted axioms
propextQuot.soundClassical.choice
Comparator 2TotientAsymptotic.lean ↗
Comparator source fileTotientAsymptotic.leanSource filename of the comparator; it is not the formal target statement.
Theorem names in comparator metadata
  • OAI.TotientAsymptotic.totient_asymptotic_formula
  • OAI.TotientAsymptotic.weighted_totient_asymptotic
  • OAI.TotientAsymptotic.weighted_totient_one_two
  • OAI.TotientAsymptotic.coefficient_nonnegative
Permitted axioms
propextQuot.soundClassical.choice

Names and permitted axioms are comparator metadata, not independently verified proof steps or dependencies. Consult the linked sources.

Source record

Manuscripts

1 manuscript
2026-09-25OpenAI

An asymptotic formula for the number of totients

Let V(x)V(x) count the distinct values of Euler's totient function up to x. We give an explicit asymptotic equivalent for V(x)V(x). Its coefficient is a uniform limit of functions defined from finite arithmetic data. We also prove that V(cx)/V(x)→cV(cx)/V(x)\to c as x→∞x\to\infty for every fixed c > 0, answering a question of Erdős and Hall.

Upstream Lean

Scope & evidence

2 comparator links

Let V(x)V(x) count the distinct values of Euler's totient function up to xx. The formalization constructs the paper's explicit positive main term from finite arithmetic approximants and proves that their ratio tends to one. In particular, V(cx)/V(x)→cV(cx)/V(x)\to c for every fixed c>0c>0, answering the Erdős–Hall regular-variation question.

The formalization also gives asymptotics for totients v≤xv\le x whose least preimage ℓ(v)=min⁡{n≥1:φ(n)=v}\ell(v)=\min\{n\ge1:\varphi(n)=v\} lies between kxkx and (k+1)x(k+1)x. The associated coefficient is positive under the stated existence condition; when no totient dd satisfies kd<ℓ(d)kd<\ell(d), the count and coefficient are identically zero. The cases k=1,2k=1,2 have positive coefficients.

Proofweave replay
Not run
Statement review
Not started for this family
Independent review
Not recorded
Receipt
None
Upstream linked
1 manuscript named in the Lean scope or formalization index

Scope text describes upstream coverage. It is not a Proofweave replay, review, or receipt.

Upstream Lean · extracted structure

Comparator-linked modules and declarations

extracted
Comparators22 solution modules fetched
Theorem names5from comparator JSON
Textual sorry0solution modules · direct scan
Textual axioms0solution modules · direct scan
TotientCompanionZero.leanOAI.NumberTheory.TotientAsymptotic.Main · 1 theorem · 208 lines
solution fetched
Theorem names
  • OAI.TotientAsymptotic.companion_zero_case
Permitted axioms
propextQuot.soundClassical.choice
Solution moduleOAI.NumberTheory.TotientAsymptotic.Main208 lines · 203 direct imports · solution sorry 0 · solution axiom 0 · challenge sorry 1
Direct imports
  • OAI.NumberTheory.TotientAsymptotic.FailedRowCountBound
  • OAI.NumberTheory.TotientAsymptotic.PrimeProductValueMass
  • OAI.NumberTheory.TotientAsymptotic.FailedRowTotalMass
  • OAI.NumberTheory.TotientAsymptotic.CoordinateDeviationCount
  • OAI.NumberTheory.TotientAsymptotic.ExceptionalRowMass
  • OAI.NumberTheory.TotientAsymptotic.CofactorRowDeviation
  • OAI.NumberTheory.TotientAsymptotic.SmoothTotientMass
  • OAI.NumberTheory.TotientAsymptotic.PositiveGridCount
  • OAI.NumberTheory.TotientAsymptotic.CoordinateActivePrefix
  • OAI.NumberTheory.TotientAsymptotic.UniformRegularity
  • OAI.NumberTheory.TotientAsymptotic.BootstrapRealCount
  • OAI.NumberTheory.TotientAsymptotic.BandUnionCount
  • OAI.NumberTheory.TotientAsymptotic.BootstrapResidualSize
  • OAI.NumberTheory.TotientAsymptotic.BootstrapGoodValues
  • OAI.NumberTheory.TotientAsymptotic.BootstrapViolation
  • OAI.NumberTheory.TotientAsymptotic.TwoCoordinateCount
  • OAI.NumberTheory.TotientAsymptotic.ExceptionalValueCount
  • OAI.NumberTheory.TotientAsymptotic.TwoBandCount
  • OAI.NumberTheory.TotientAsymptotic.PartitionedBandMass
  • OAI.NumberTheory.TotientAsymptotic.CoarseTotientBounds
  • OAI.NumberTheory.TotientAsymptotic.PreimageLoglogBound
  • OAI.NumberTheory.TotientAsymptotic.PrimeExtensionCoverage
  • OAI.NumberTheory.TotientAsymptotic.SmoothTotientCount
  • OAI.NumberTheory.TotientAsymptotic.FordBandExponent
  • OAI.NumberTheory.TotientAsymptotic.FordTerminalMass
  • OAI.NumberTheory.TotientAsymptotic.FordStateTransfer
  • OAI.NumberTheory.TotientAsymptotic.SquarefreeRoughMass
  • OAI.NumberTheory.TotientAsymptotic.BandStateMass
  • OAI.NumberTheory.TotientAsymptotic.SmoothTerminalBound
  • OAI.NumberTheory.TotientAsymptotic.TerminalLogBudget
  • OAI.NumberTheory.TotientAsymptotic.NormalTerminalFactors
  • OAI.NumberTheory.TotientAsymptotic.CollisionBandMass
  • OAI.NumberTheory.TotientAsymptotic.NormalBandAllocation
  • OAI.NumberTheory.TotientAsymptotic.CommonLargestPrime
  • OAI.NumberTheory.TotientAsymptotic.DistinctPrimeTail
  • OAI.NumberTheory.TotientAsymptotic.PrimeFactorBands
  • OAI.NumberTheory.TotientAsymptotic.PrimeReciprocalTails
  • OAI.NumberTheory.TotientAsymptotic.UniformPrimeTripleBound
  • OAI.NumberTheory.TotientAsymptotic.UniformPrimePairBound
  • OAI.NumberTheory.TotientAsymptotic.NormalityIntervalTail
  • OAI.NumberTheory.TotientAsymptotic.FullOmegaMoment
  • OAI.NumberTheory.TotientAsymptotic.FordInputs
  • OAI.NumberTheory.TotientAsymptotic.MertensProduct
  • OAI.NumberTheory.TotientAsymptotic.PrimeNumberTheorem
  • OAI.NumberTheory.TotientAsymptotic.SeedConsequences
  • OAI.NumberTheory.TotientAsymptotic.SeedMinimum
  • OAI.NumberTheory.TotientAsymptotic.ConditionalCompanion
  • OAI.NumberTheory.TotientAsymptotic.WeightedFiber
  • OAI.NumberTheory.TotientAsymptotic.GoodDiscard
  • OAI.NumberTheory.TotientAsymptotic.TailBounds
  • OAI.NumberTheory.TotientAsymptotic.Phase
  • OAI.NumberTheory.TotientAsymptotic.Companion
  • OAI.NumberTheory.TotientAsymptotic.PublishedFiber
  • OAI.NumberTheory.TotientAsymptotic.Normalization
  • OAI.NumberTheory.TotientAsymptotic.Scaling
  • OAI.NumberTheory.TotientAsymptotic.FiniteMap
  • OAI.NumberTheory.TotientAsymptotic.BandComparison
  • OAI.NumberTheory.TotientAsymptotic.Mass
  • OAI.NumberTheory.TotientAsymptotic.BandExtraction
  • OAI.NumberTheory.TotientAsymptotic.SimplexVolume
  • OAI.NumberTheory.TotientAsymptotic.TupleRecovery
  • OAI.NumberTheory.TotientAsymptotic.PublishedComparison
  • OAI.NumberTheory.TotientAsymptotic.NormalityAlignment
  • OAI.NumberTheory.TotientAsymptotic.CollisionAlgebra
  • OAI.NumberTheory.TotientAsymptotic.IntersectionLimit
  • OAI.NumberTheory.TotientAsymptotic.UnionVolume
  • OAI.NumberTheory.TotientAsymptotic.CollisionCount
  • OAI.NumberTheory.TotientAsymptotic.CollisionSlack
  • OAI.NumberTheory.TotientAsymptotic.UniformPrefactor
  • OAI.NumberTheory.TotientAsymptotic.NormalitySize
  • OAI.NumberTheory.TotientAsymptotic.CollisionCost
  • OAI.NumberTheory.TotientAsymptotic.PrefixLower
  • OAI.NumberTheory.TotientAsymptotic.PrimeBox
  • OAI.NumberTheory.TotientAsymptotic.OrderedAlignment
  • OAI.NumberTheory.TotientAsymptotic.CollisionTail
  • OAI.NumberTheory.TotientAsymptotic.PrimeGrid
  • OAI.NumberTheory.TotientAsymptotic.GridVolume
  • OAI.NumberTheory.TotientAsymptotic.BandPrimeError
  • OAI.NumberTheory.TotientAsymptotic.RenewalLower
  • OAI.NumberTheory.TotientAsymptotic.RegionLower
  • OAI.NumberTheory.TotientAsymptotic.CofactorMass
  • OAI.NumberTheory.TotientAsymptotic.SimplexShell
  • OAI.NumberTheory.TotientAsymptotic.CubeBoundary
  • OAI.NumberTheory.TotientAsymptotic.ShellCost
  • OAI.NumberTheory.TotientAsymptotic.CofactorEnvelope
  • OAI.NumberTheory.TotientAsymptotic.TailCofactor
  • OAI.NumberTheory.TotientAsymptotic.RenewalMagnitude
  • OAI.NumberTheory.TotientAsymptotic.CofactorGrowth
  • OAI.NumberTheory.TotientAsymptotic.CofactorShellDecay
  • OAI.NumberTheory.TotientAsymptotic.ExtractTail
  • OAI.NumberTheory.TotientAsymptotic.MassTailSupport
  • OAI.NumberTheory.TotientAsymptotic.AttachTail
  • OAI.NumberTheory.TotientAsymptotic.RemainderSplit
  • OAI.NumberTheory.TotientAsymptotic.WitnessPrefix
  • OAI.NumberTheory.TotientAsymptotic.PrefixRelaxation
  • OAI.NumberTheory.TotientAsymptotic.PerturbationCost
  • OAI.NumberTheory.TotientAsymptotic.PrimeBoxGeometry
  • OAI.NumberTheory.TotientAsymptotic.BandGrid
  • OAI.NumberTheory.TotientAsymptotic.GridApproximation
  • OAI.NumberTheory.TotientAsymptotic.MassMajorant
  • OAI.NumberTheory.TotientAsymptotic.DyadicSuffix
  • OAI.NumberTheory.TotientAsymptotic.CollisionDyadicCount
  • OAI.NumberTheory.TotientAsymptotic.FordSimplexEmbedding
  • OAI.NumberTheory.TotientAsymptotic.PublishedConcentration
  • OAI.NumberTheory.TotientAsymptotic.CenterComparison
  • OAI.NumberTheory.TotientAsymptotic.TruncatedConcentration
  • OAI.NumberTheory.TotientAsymptotic.ConcentrationTail
  • OAI.NumberTheory.TotientAsymptotic.SimplexScaling
  • OAI.NumberTheory.TotientAsymptotic.EnlargementCost
  • OAI.NumberTheory.TotientAsymptotic.EnlargementTail
  • OAI.NumberTheory.TotientAsymptotic.TailBoxAggregation
  • OAI.NumberTheory.TotientAsymptotic.TailBoxCoordinates
  • OAI.NumberTheory.TotientAsymptotic.SimplexCube
  • OAI.NumberTheory.TotientAsymptotic.BasicCube
  • OAI.NumberTheory.TotientAsymptotic.FullPrimeGrid
  • OAI.NumberTheory.TotientAsymptotic.MassUpper
  • OAI.NumberTheory.TotientAsymptotic.UnbandedLower
  • OAI.NumberTheory.TotientAsymptotic.ScaledConcentration
  • OAI.NumberTheory.TotientAsymptotic.PhaseBandTransfer
  • OAI.NumberTheory.TotientAsymptotic.FullBoxConcentration
  • OAI.NumberTheory.TotientAsymptotic.TailCutScale
  • OAI.NumberTheory.TotientAsymptotic.NormalizedConcentration
  • OAI.NumberTheory.TotientAsymptotic.TailArray
  • OAI.NumberTheory.TotientAsymptotic.JoinedSimplex
  • OAI.NumberTheory.TotientAsymptotic.PointEnclosure
  • OAI.NumberTheory.TotientAsymptotic.ThickenedWitness
  • OAI.NumberTheory.TotientAsymptotic.TailEncoding
  • OAI.NumberTheory.TotientAsymptotic.WitnessAggregation
  • OAI.NumberTheory.TotientAsymptotic.WitnessGrid
  • OAI.NumberTheory.TotientAsymptotic.CofactorWitnessAggregation
  • OAI.NumberTheory.TotientAsymptotic.BandRemoval
  • OAI.NumberTheory.TotientAsymptotic.WitnessUnionLoss
  • OAI.NumberTheory.TotientAsymptotic.AdditiveShell
  • OAI.NumberTheory.TotientAsymptotic.AdditiveEnclosure
  • OAI.NumberTheory.TotientAsymptotic.AdditiveCost
  • OAI.NumberTheory.TotientAsymptotic.AdditiveShellUnion
  • OAI.NumberTheory.TotientAsymptotic.NormalizedShell
  • OAI.NumberTheory.TotientAsymptotic.PerturbationEnclosure
  • OAI.NumberTheory.TotientAsymptotic.PerturbationRemoval
  • OAI.NumberTheory.TotientAsymptotic.UnionPerturbation
  • OAI.NumberTheory.TotientAsymptotic.VolumeComparison
  • OAI.NumberTheory.TotientAsymptotic.MassVolumeApproximation
  • OAI.NumberTheory.TotientAsymptotic.CollisionScale
  • OAI.NumberTheory.TotientAsymptotic.CollisionCutoff
  • OAI.NumberTheory.TotientAsymptotic.ResidualAlignment
  • OAI.NumberTheory.TotientAsymptotic.SeparatedBands
  • OAI.NumberTheory.TotientAsymptotic.SuffixFactorization
  • OAI.NumberTheory.TotientAsymptotic.CollisionTuples
  • OAI.NumberTheory.TotientAsymptotic.CollisionIndices
  • OAI.NumberTheory.TotientAsymptotic.TupleCounting
  • OAI.NumberTheory.TotientAsymptotic.LargestPrimeCount
  • OAI.NumberTheory.TotientAsymptotic.TupleMassBound
  • OAI.NumberTheory.TotientAsymptotic.SmoothSuffix
  • OAI.NumberTheory.TotientAsymptotic.ResidualCutoff
  • OAI.NumberTheory.TotientAsymptotic.WitnessCollision
  • OAI.NumberTheory.TotientAsymptotic.TupleCoefficient
  • OAI.NumberTheory.TotientAsymptotic.GoodTuples
  • OAI.NumberTheory.TotientAsymptotic.StrictSlackDiscard
  • OAI.NumberTheory.TotientAsymptotic.FordCollisionCutoffs
  • OAI.NumberTheory.TotientAsymptotic.NormalPrimeBands
  • OAI.NumberTheory.TotientAsymptotic.SurvivingCollision
  • OAI.NumberTheory.TotientAsymptotic.ResidualTupleRecovery
  • OAI.NumberTheory.TotientAsymptotic.ChosenCollision
  • OAI.NumberTheory.TotientAsymptotic.ActualComparison
  • OAI.NumberTheory.TotientAsymptotic.ComparisonSizes
  • OAI.NumberTheory.TotientAsymptotic.ComparisonLargePart
  • OAI.NumberTheory.TotientAsymptotic.CollisionSuffixSize
  • OAI.NumberTheory.TotientAsymptotic.CollisionDyadicSize
  • OAI.NumberTheory.TotientAsymptotic.CollisionCanceled
  • OAI.NumberTheory.TotientAsymptotic.SurvivingComparison
  • OAI.NumberTheory.TotientAsymptotic.CollisionGrid
  • OAI.NumberTheory.TotientAsymptotic.CollisionLogBudget
  • OAI.NumberTheory.TotientAsymptotic.NormalFactorBands
  • OAI.NumberTheory.TotientAsymptotic.SurvivingBands
  • OAI.NumberTheory.TotientAsymptotic.SurvivingAlignment
  • OAI.NumberTheory.TotientAsymptotic.SurvivingBlockSize
  • OAI.NumberTheory.TotientAsymptotic.CollisionGridScale
  • OAI.NumberTheory.TotientAsymptotic.ComparisonErrorBudget
  • OAI.NumberTheory.TotientAsymptotic.CollisionGridCount
  • OAI.NumberTheory.TotientAsymptotic.SmoothResidualMass
  • OAI.NumberTheory.TotientAsymptotic.CanceledPrimeMass
  • OAI.NumberTheory.TotientAsymptotic.FordCostBudget
  • OAI.NumberTheory.TotientAsymptotic.CollisionHeadSize
  • OAI.NumberTheory.TotientAsymptotic.NormalHeadBand
  • OAI.NumberTheory.TotientAsymptotic.CollisionNormalityDomain
  • OAI.NumberTheory.TotientAsymptotic.NormalizedComparison
  • OAI.NumberTheory.TotientAsymptotic.PairedComparisonGrid
  • OAI.NumberTheory.TotientAsymptotic.CollisionFactorHeights
  • OAI.NumberTheory.TotientAsymptotic.CollisionEndpointDomain
  • OAI.NumberTheory.TotientAsymptotic.SurvivingHeights
  • OAI.NumberTheory.TotientAsymptotic.SurvivingGridGeometry
  • OAI.NumberTheory.TotientAsymptotic.ActualSurvivingGeometry
  • OAI.NumberTheory.TotientAsymptotic.ComparisonGridFromHeights
  • OAI.NumberTheory.TotientAsymptotic.HeightAlignment
  • OAI.NumberTheory.TotientAsymptotic.ActualComparisonCutoffs
  • OAI.NumberTheory.TotientAsymptotic.SurvivingSlack
  • OAI.NumberTheory.TotientAsymptotic.ComparisonExponentSaving
  • OAI.NumberTheory.TotientAsymptotic.CollisionHeadCount
  • OAI.NumberTheory.TotientAsymptotic.AllCollisionCount
  • OAI.NumberTheory.TotientAsymptotic.NormalityDiscard
  • OAI.NumberTheory.TotientAsymptotic.OmegaReciprocal
  • OAI.NumberTheory.TotientAsymptotic.OmegaDiscard
  • OAI.NumberTheory.TotientAsymptotic.UnconditionalMain

Comparator challenge files contain a sorry by design; the solution module is the fetched proof file. This extraction records direct imports, theorem names, and textual sorry/axiom counts. It is not a kernel build, #print axioms run, or Proofweave replay.

TotientAsymptotic.leanOAI.NumberTheory.TotientAsymptotic.UnconditionalMain · 4 theorems · 52 lines
solution fetched
Theorem names
  • OAI.TotientAsymptotic.totient_asymptotic_formula
  • OAI.TotientAsymptotic.weighted_totient_asymptotic
  • OAI.TotientAsymptotic.weighted_totient_one_two
  • OAI.TotientAsymptotic.coefficient_nonnegative
Permitted axioms
propextQuot.soundClassical.choice
Solution moduleOAI.NumberTheory.TotientAsymptotic.UnconditionalMain52 lines · 2 direct imports · solution sorry 0 · solution axiom 0 · challenge sorry 4
Direct imports
  • OAI.NumberTheory.TotientAsymptotic.FordInputs
  • OAI.NumberTheory.TotientAsymptotic.PPTFixedBandLimit

Comparator challenge files contain a sorry by design; the solution module is the fetched proof file. This extraction records direct imports, theorem names, and textual sorry/axiom counts. It is not a kernel build, #print axioms run, or Proofweave replay.

Structure extracted from the pinned OpenAI repository revision. Direct imports only; transitive dependency closure and kernel acceptance remain separate curation steps.

Continuous curation

What to fill next

Status: Lean-derived structure
  1. Read the pinned paper's proof spine. Compare the listed names and permitted axioms with the pinned sources; their proof roles have not been verified.
  2. Replace structure with sourced dependencies. Add lemma-level nodes and directed edges only where the paper or a located declaration states them, then remove machinery the proof does not use.
  3. Align declarations and open review. Map each node to a comparator or solution declaration, record toolchain and axioms, then hand it to a different owner for review.

Replace the machine-extracted structure with a curated theorem-level proof spine, then open independent review.