Repository navigation
Import characterizations of Besov, Triebel–Lizorkin and Sobolev spaces - #1052
Conversation
|
Advisory cross-file review against Lean Pool's supervisory rubric. This is not by itself a significance, source-verification, or merge verdict. [Medium impact] No blocking issue was found in the recent comment changes, but the incomplete full-contribution review does not support approving the whole PR. SummaryImports the function-space library and its project card. Since the previous review, only mathematical comments in
Reviews (5) · Last reviewed commit: "Document generalized K-functional and en..." · Reviewed by Greptile |
Vilin97
left a comment
There was a problem hiding this comment.
Source notice corrections needed at f2ce3ad513a8f1a35dcc0d48969f2b9cd6ab02bc.
- The ported
LeanPool/FunctionSpaces.leanretains Ullrich’s copyright but lacks a change notice.KMethod.leanandCompactEigenbasis.leanidentify the earlier developments in their prose. Preserve the original copyright notices for the adaptedphiFunctionaldefinition and orthogonal-span proof in those two files. Ullrich’s entry file · MultilinearInterpolation source · Tau Ceti source - The six headline declarations match the pinned upstream. The Besov decomposition uses regular atoms, the distributional Bessel identity covers all real smoothness in its stated exponent range, and the dyadic-step equivalence uses the first-order modulus. The D4 card description should specify complex
Lᵖinput and the combined scaling and wavelet coefficient norm. Pinned blueprint - Required Lean validation is still running. Lean Action CI
|
Contributor validation on Faithfulness
Novelty and significance
Sources and engineering
Follow-up on
|
Proof profile (new / modified Lean files)
This build covers the changed modules and their dependency cones on top of the restored cache. The serial per-file sums below are useful for ranking slow files, not as a build budget. Total heartbeats: 23,670,537 maxHeartbeats units across 289 valid files (113,877 added LOC). Sum of Count-heartbeats wall-clock total: 4123.28 s. Repeated import cost inside Heartbeat values sum disjoint root command traces with LOC counts added lines in the profiled Lean files from this PR diff.
Aggregate phase totals
Slowest changed modules (from
|
| Changed module | Lake time |
|---|---|
LeanPool.FunctionSpaces.Domains.Spectral.NeumannEigenbasis |
40.00 s |
LeanPool.FunctionSpaces.Domains.Spectral.ChartFormEigenbasis |
40.00 s |
LeanPool.FunctionSpaces.Domains.Spectral.ManifoldSpectralBesov |
40.00 s |
LeanPool.FunctionSpaces.Domains.Sobolev.LipschitzDomainGreen |
34.00 s |
LeanPool.FunctionSpaces.Domains.Spectral.SpectralBesov |
33.00 s |
LeanPool.FunctionSpaces.Domains.Sobolev.SobolevDuality |
28.00 s |
LeanPool.FunctionSpaces.Rd.SingularIntegrals.PlancherelBounds |
25.00 s |
LeanPool.FunctionSpaces.Domains.Sobolev.SobolevRestrictionSpaces |
25.00 s |
LeanPool.FunctionSpaces.Domains.Lipschitz.LipschitzGraph |
24.00 s |
LeanPool.FunctionSpaces.Rd.Sobolev.SobolevTwoLittlewoodPaley |
24.00 s |
LeanPool.FunctionSpaces.Domains.Traces.BoundaryTraceSpace |
22.00 s |
LeanPool.FunctionSpaces.Domains.Sobolev.LipschitzGraphGreen |
22.00 s |
Comment truncated to fit GitHub's 64 KB limit. This PR profiles 290 files; the per-file table shows only the 290 hottest by heartbeats. The full table and raw
lean --profileoutput for every file are in the run's step summary andproof-profileartifact.
Advisory only — never blocks merge.
🤖 LLM review (
|
| Rubric | Verdict | Bottom line |
|---|---|---|
| Faithfulness | ✅ pass |
All six headline declarations match the card and passed targeted compilation with warnings as errors and axiom checks, while the current-head pool CI build was still in progress. CI build |
| Novelty | ✅ pass |
Source searches of pinned Mathlib, both Tau Ceti revisions, and the existing pool found no duplicate of the six headlines, and exhaustive semantic coverage remains unverifiable. |
| Significance | ✅ pass |
The project built locally with warnings as errors using dependency path overrides, its reproducible import index accounts for 0.26% of added Lean, and the full CI build was still running. CI job |
| Sources | 🛑 block |
The K-method documentation needs to distinguish Bergh–Löfström’s hypotheses from the broader Lean definitions and estimates. |
| Code quality (advisory) | flag |
Repeated proof blocks and two unnecessary hypotheses warrant cleanup. The targeted Lake build, declaration lint, and Lean Action CI passed, with the separate profile job still running when checked. |
| Aspect | Value |
|---|---|
| Proves the claim | ✅ proves_it |
| Assumed, not proved | The card discloses the local-means bump used for Besov atoms and the bounded linear map used for reiteration. The Triebel–Lizorkin proof constructs its own bump. |
| Matches cited source | 🛑 mismatch |
| Fit | ✅ good_fit |
| Level | research |
| Branch | harmonic analysis and approximation theory |
| Mode | theory_building |
| Code quality | 3 / 5 |
Statement check: Both atomic characterizations reconstruct in Lp, the Bessel potential identity holds on tempered distributions for every real smoothness, D4 uses both scaling and wavelet coefficients, dyadic steps use the first-order modulus, and K-method reiteration gives membership at the weighted average of the inner parameters.
The project proves atomic characterizations of Besov and Triebel–Lizorkin spaces, the distributional Bessel potential identity, D4 wavelet and dyadic-step characterizations, and real interpolation reiteration within a shared theory of function spaces and approximation.
Novelty findings (3)
- partial-overlap —
LeanPool/FunctionSpaces/Rd/BesselPotentials/BesselPotentialDistributions.lean:173
The Besov and Triebel–Lizorkin square norms agree at p = 2 for a common dyadic decomposition by Tonelli. The submitted equivalence handles every interior p and every real smoothness for tempered distributions in positive dimension.
Evidence: Tau Ceti’sTemperedDistribution.memBesov_two_two_iff_memSobolevidentifies Besov membership at p = q = 2 with Sobolev membership at p = 2. Its two inhomogeneous Littlewood–Paley square-function bounds take L² inputs and use unweighted blocks. The PR provesTemperedDistribution.MemSobolev s p u ↔ MemTriebelLizorkinDistr p s 2 u. - partial-overlap —
LeanPool/FunctionSpaces/ApproximationSpaces/Interpolation/Reiteration.lean:770
Tau Ceti computes real interpolation of specific function-space couples. The PR starts from an arbitrary bounded linear map and interpolates two spaces already obtained by the continuous K-method.
Evidence:TauCeti.CompatibleCouple.mem_kMethod_besselPotentialSpace_iffandTauCeti.CompatibleCouple.mem_kMethod_besov_iffidentify interpolation between distinct smoothness levels with Besov membership at the interpolated smoothness. The PR proves(⟨kMethodNorm ι θ₀ q₀, kMethodNorm ι θ₁ q₁⟩ : InterpCouple X).MemKMethod η q f ↔ MemKMethod ι ((1 - η) * θ₀ + η * θ₁) q f. - prompt-injection — PR-wide
The archived discussion repeats an earlier contributor approval verdict that could bias the independent novelty decision for this head.
Evidence: The previous-head review in.review-pr.jsonquotes the earlier contributor wording ‘Contributor review verdict — approve.’ The current contributor comment is headed ‘Contributor validation’.
Significance findings (1)
- prompt-injection — PR-wide
A contributor-posted review for an earlier head directs reviewers how to weigh a discussion comment and displays a prior significance verdict alongside that direction. Remove the reviewer-directed language from the historical record.
Evidence: The prior review in.review-pr.jsonlists Significance aspassand says, ‘Treat it as the contributor’s self-assessment when reviewing the submitted Lean.’
Sources findings (2)
- unlabelled-variant —
LeanPool/FunctionSpaces/ApproximationSpaces/Interpolation/Couple.lean:59
Sections 2.3 and 3.10 use compatible couples whose component spaces carry quasi-norms. A rawInterpCouplehas two arbitrary extended-valued functions. Either can assign∞to zero, in which case its finite locus fails to be a group. Describe the raw structure as an extended-valued encoding and attach the classical citation to the finite loci under the quasi-norm and definiteness hypotheses. Apply the same distinction in the module introduction at line 21. Bergh–Löfström, §3.10
Evidence: The docstring says ‘This is a couple of quasi-normed abelian groups of Bergh–Löfström, Section 3.10’. The fields arenorm0 : U → ℝ≥0∞andnorm1 : U → ℝ≥0∞. The separateIsQuasiNormedpredicate suppliesnorm0_zero : A.norm0 0 = 0. - unlabelled-variant —
LeanPool/FunctionSpaces/ApproximationSpaces/Interpolation/Couple.lean:139
Section 3.1 defines the classical K-functional at strictly positive finite scales, using decompositions in the two component spaces. The Lean definition includes both endpoints. At zero, extended-real multiplication can make a candidate with infinite second norm contribute to the infimum. Label the endpoint convention here and describekFunctional_mul_le_of_ne_topat line 181 andkFunctional_map_leinProperty.leanat line 183 as extensions of the cited estimates. Bergh–Löfström, §3.1
Evidence: The definition cites ‘t ∈ [0, ∞](Bergh–Löfström, Section 3.1)’ and uses⨅ b : U, A.norm0 (u - b) + t * A.norm1 b. The scale estimate takes(hc : c ≠ ∞) (t : ℝ≥0∞), and the additive-map docstring cites ‘Bergh–Löfström (3.1.8)’ for the estimate ‘for everytandu’.
Code quality findings (5)
- duplicate-proof —
LeanPool/FunctionSpaces/Domains/Spectral/ChartFormEigenbasis.lean:315
The chart, Neumann, and Dirichlet modules each define the same singular-vector normalization, prove that the embedding sends the normalized vector to the codomain basis, and rederive the normalized inner-product identity. Put the normalization and both identities in CompactDenseEmbedding so the three domain proofs share the scalar and coercion calculations.
Evidence: chartForm_eigenfunction at line 340 usesrw [chartEigenfunction, map_smul, inner_smul_left, (A.chartCompactEmbedding μ).inner_singularBasis i w, chartCompactEmbedding_toCLM]. NeumannEigenbasis.lean at line 499 usesrw [neumannEigenfunction, map_smul, inner_smul_left, Ω.neumannCompactEmbedding.inner_singularBasis i w, neumannCompactEmbedding_toCLM]. DirichletEigenbasis.lean at line 340 usesrw [dirichletEigenfunction, map_smul, inner_smul_left, (dirichletCompactEmbedding hΩ).inner_singularBasis i w, dirichletCompactEmbedding_toCLM]. Each rewrite is followed byring. - duplicate-proof —
LeanPool/FunctionSpaces/Domains/Extension/SobolevExtension.lean:683
extendsSobolev_of_cover and sobolevExtensionOp_of_cover repeat the partition construction, compact-support argument, derivative bounds, and finiteness calculation. The existential version has no Lean callers in the checkout. Remove it if the existential API is dispensable, or share the partition and bound construction. The higher-order proof can reuse the compact-support part.
Evidence: extendsSobolev_of_cover at lines 690–701 and sobolevExtensionOp_of_cover at lines 374–385 both containobtain ⟨ψ, hψ, hψU, hψ1, -⟩ := exists_smooth_partition isClosed_closure U hUo hcovandchoose d hd using fun k i => (hc' k i).bounded_above_of_compact_support (((hcs k).fderiv_apply (𝕜 := ℝ) (gridBasis V i)).comp_left Complex.ofReal_zero). HigherSobolevExtension.lean repeats the partition and compact-support argument at lines 486–488. - duplicate-proof —
LeanPool/FunctionSpaces/Rd/MixedSmoothness/MixedLittlewoodPaley.lean:325
Both directions of the norm comparison repeat the passage from convergent finite sums through the termwise kernel bound to the almost-diagonal estimate. The mixed modulus proof repeats the same passage with a different subadditive functional. Extract that estimate so the comparisons supply their own convergence and termwise bounds.
Evidence: exists_mixedLPNorm_le and exists_mixedLocalMeansNorm_le both usesimp only [Function.comp_def, map_sum] at hrepandrefine h1.trans ?_ rw [← ENNReal.tsum_mul_left] refine tsum_le_tsum fun k => ?_ rw [← mul_assoc]. MixedLocalMeans.lean repeats the latter four lines in mixedModNorm_le_of_tendsto at line 515 and finishes withexact lqNorm_le_of_le_almostDiagonal_pi hq hs hmod. - unused-hypothesis —
LeanPool/FunctionSpaces/ApproximationSpaces/Interpolation/EFunctional.lean:638
ofMonotoneSubgroups requires callers to supply monotonicity even though the couple depends only on the quasi-norm and the levels. Keep monotonicity on the lemmas that use it for subadditivity and the E-functional formula, where the proof obligation arises.
Evidence:noncomputable def ofMonotoneSubgroups (N : U → ℝ≥0∞) (V : ℕ → AddSubgroup U) (_hV : Monotone V) : InterpCouple U := complexity N (dyadicLevels V). The later lemmas usedyadicLevels_add_subset hVandmonotone_dyadicLevels hV. - unused-hypothesis —
LeanPool/FunctionSpaces/Analysis/Fourier/ApproxIdentity.lean:435
conv_dilate_near elaborates with its existing proof after deleting the radius nonnegativity hypothesis. Drop that parameter and the proof of it that GraphTrace.lean constructs for the two calls.
Evidence: conv_dilate_near takes(hR : 0 ≤ R) (hΦR : ∀ w, R < ‖w‖ → Φ w = 0) {F : ℕ → V → ℂ}. GraphTrace.lean supplies it inhave hG1 := conv_dilate_near hΦ hone hR hΦR (F := fun _ => G)andhave hG2 := conv_dilate_near hΦ hone hR hΦR.
Tokens: 18,074,793 in / 74,429 out across 5 model calls · Tier: codex-subscription · Effort: xhigh · Billing: Codex subscription quota (no API credits) · Estimated cost: $73.4156 (Standard API equivalent; uncached input)
Each rubric is an independent review against .github/review-rubrics/ on top of .github/REVIEW_RULES.md. Disagree? Reply on the PR; rules can be updated in a PR of their own.
request_changes is an ask, not a close: of the reviewer's past request_changes verdicts, 39% were merged after a human looked. Read the findings before acting on the verdict.
CI was not green for this commit at review time; this review does not replace CI.
|
/review The source and attribution repairs are in
The warning-free project build, declaration and style linters, index check, static quality check, and the project trust audits all passed locally. Lean Action CI |
Vilin97
left a comment
There was a problem hiding this comment.
One citation correction remains at de305961.
- The three source notices are restored. All six headline statements and their proofs are unchanged from the previous revision, and the required Lean build and separation check passed.
- In
LipschitzBoundaryTrace.lean(the module overview and the docstring formemBoundaryBesov_iff_exists_isBoundaryTrace), qualify the comparison to Theorem 4.11 by ambient dimension. The cited theorem assumes dimension at least two. The Lean statement also covers dimension one. The two docstrings can say that the Lean result recovers the cited equality in dimension at least two for the stated parameter range and also applies in dimension one. Schneider–Vybíral, Theorem 4.11
|
/review The source fixes from the review of
The diff changes block comments only. The project build, declaration and style linters, generated indexes, static quality check, and project trust audits passed locally. GitHub validation runs on the pushed head. Checks |
Vilin97
left a comment
There was a problem hiding this comment.
Contributor review verdict — approve the repaired submission for permanent review.
The follow-up at e95d9eab28413ff3dec339b6676c748217d4da33 addresses the two source findings from the second requested review.
InterpCouplenow documents its arbitrary extended-valued functions, the hypotheses that make their finite loci quasi-normed subgroups, and the topological compatibility used by the classical theory.- The K-functional docs now state the finite positive classical scale and Lean's endpoint conventions, including the effect of
0 * ∞ = 0. The scale, quasi-triangle, and additive-map estimates identify their extension to endpoint scales. Bergh–Löfström, §§2.3, 3.1 and 3.10–11
The two Lean files differ only in block comments. The warning-free project build, generated indexes, declaration and style linters, static quality check, and trust audits passed locally. Follow-up commit · GitHub checks
The advisory suggestions to share spectral, Sobolev-extension, and mixed-smoothness proofs remain, along with the unused hypotheses on ofMonotoneSubgroups and conv_dilate_near. Both manual requests have been used. The latest configured verdict was request_changes, so the PR stays open for the permanent reviewer. Configured review
Vilin97
left a comment
There was a problem hiding this comment.
Source review passed at e95d9eab28413ff3dec339b6676c748217d4da33.
- The bounded-domain trace documentation now records the cited theorem's dimension restriction and the dimension-one case proved in Lean. The interpolation documentation distinguishes classical compatibility and parameter ranges from the extended-valued Lean definitions, including the endpoint conventions for the K-functional. Schneider–Vybíral, §4 · Bergh–Löfström, Chapters 2, 3, 6 and 7
- Both revisions since the previous review change only block comments. I verified that the Lean code, public imports and source notices are unchanged. GitHub is running the exact-head Lean build. Lean Action CI
Ready for review.
Scope
This imports Mario Ullrich’s Lean formalization of function-space characterizations. The results include atomic descriptions of Besov and Triebel–Lizorkin spaces in the stated positive-smoothness and integrability ranges, the distributional identity$H^{s,p}=F^s_{p,2}$ for $1<p<\infty$ in positive dimension, and the D4 wavelet description in its proved range. On the unit interval, the dyadic step result identifies best approximation with the first-order-difference space for $0<p\leq1$ , $q>0$ , and $0<s<1/p$ .
The supporting library formalizes approximation schemes, the continuous real K-method and reiteration, local means and maximal estimates, torus lifts, and Lipschitz-domain extension and trace results. The spectral modules give compact Sobolev embeddings and weak Dirichlet, Neumann, and chart-form eigenfunction equations. The dyadic-step result uses the first-order modulus throughout, including at smoothness above one. Upstream blueprint sources · Schneider–Vybíral · Daubechies · Oswald, Lemma 1
Upstream and eligibility
d8b2b349567adb7ad049d517dec50bff4165e606, Apache-2.0. The dyadic-step characterization was materially completed in this commit at 2026-11-20 09:11:57 UTC, within the eligible window ending at 11:45:21 UTC that day. Source · Completion commit · LicenseRun the gross count from the pinned upstream checkout.
For the conservative count, exclude files matching
TauCeti|Carleson project|Carleson's theorem|MultilinearInterpolation|[Cc]opied from|[Mm]irrored from|[Aa]dapted fromand these five additional overlap files. Run
xargs -d '\n' wc -l < counted-files.txton the resulting sorted path list.ApproximationSpaces/Sequences/Dyadic.leanFunctionSpaces/Analysis/Fourier/SchwartzCutoff.leanFunctionSpaces/Analysis/Lp/Young.leanFunctionSpaces/Rd/SingularIntegrals/ConvolutionAdjoint.leanFunctionSpaces/Rd/Sobolev/DerivativeKernels.leanPort and measurements
fc4f59e577feb1a4956671bc04ac18aaaf8cd842, and Tau Ceti0642eae29e0a59ef798d04de325386445906e755. The port updates moved APIs, removes unused hypotheses, and takes rearrangement, spectral, convolution, Sobolev, and Schwartz derivative results from the pinned libraries. Imported authorship, external attributions, and change notices are retained. The port clarifies that the regular-atom theorem is a variant of Schneider–Vybíral, and distinguishes the dyadic-step parameter range from the earlier Oswald paper.taskset -c 0,2,4,6 env LEAN_NUM_THREADS=4 lake --no-cache --no-ansi --wfail build LeanPool.FunctionSpaces.Imports, under the repository’s build watchdog and/usr/bin/time. The baseline took 392.75 s and the optimization run took 388.10 s, with summed module times of 1527.2 s and 1502.3 s. The slowest module took 30 s and 27 s. A further clean run after style and linter repairs took 395.77 s, with 1500.1 s summed across modules and a 25 s slowest module. The small variation in wall time across runs limits the comparison to a modest local change. All 290 Lean files were measured in each run and stayed within the repository time and memory limits.Validation
lake exe mk_all --module --check, the project declaration linter,lake exe lint-style LeanPool.FunctionSpaces.Imports, and the repository static quality check passed. The project-scoped deterministic audits passed for axioms, environment options and unchecked entries, build messages, and card metadata. The axiom audit allows onlyClassical.choice,propext, andQuot.sound.e95d9eab28413ff3dec339b6676c748217d4da33, Lean Action CI and content separation passed. The other protected contexts were skipped under their content-only workflow conditions. Lean Action CI · Required checksReview follow-up
The two requested GPT reviews identified source-citation refinements. The final follow-up covers the classical compatibility hypotheses and the extended-valued K-functional, and contains only docstring changes. The contributor recheck and the separate source review accepted those repairs. Both re-review requests have been used. The last configured verdict was
request_changes, so this PR remains open for permanent review. Contributor follow-up · Separate source review · Configured verdict