Skip to content

Import the invariant subspace counterexample on Hilbert space - #1147

Merged
Vilin97 merged 2 commits into
mainfrom
feature/import-hilbert-invariant-subspace-20261203
Dec 3, 2026
Merged

Vilin97 merged 2 commits into
mainfrom
feature/import-hilbert-invariant-subspace-20261203

Conversation

@Vilin97

@Vilin97 Vilin97 commented Dec 3, 2026 •

Copy link
Copy Markdown
Collaborator

Result

The formalization constructs a bounded complex-linear operator on ℓ²(ℕ, ℂ) whose only closed invariant subspaces are zero and the whole space. The proof builds a tower of compatible finite-dimensional cyclic nilpotent blocks and passes to a bounded operator on ℓ². The imported polynomial estimates, block constructions, and operator-limit argument can be used independently of the endpoint. Paper, Theorem 1.1 and Section 6

Source and scope

  • First published in Anthropic’s public repository on 2026-12-02 at 18:10:48 UTC, with the upstream PR merged at 18:16:58 UTC. Imports the 11 proof modules and the two statement and solution modules under isp-hilbert-spaces at commit 6bb031d7ecd6f25331359cd20e5d4333f389da9b, Apache-2.0. Upstream PR, Pinned upstream project
  • Provenance is AI. Anthropic credits an internal Claude research model with the proof and its Lean formalization. Anthropic researchers checked the paper and helped revise it. Imported files retain the upstream attribution and local notices for proofs that track Mathlib. Provenance and proof map, Upstream NOTICE

Port and verification

  • Ported from Lean 4.34.1 to Lean 4.36.0 and Mathlib fc4f59e577feb1a4956671bc04ac18aaaf8cd842. Updated the polynomial coefficient and completeness APIs, removed unused finite-dimensional hypotheses from auxiliary lemmas, added module and field documentation, and generated the public project index. Preserved the mathematical endpoints.
  • The port builds warning-free. Generated indexes, style lint, the declaration linter on all 588 owned declarations, project endpoint resolution, and axiom, compiler-message, and option-mechanism audits pass locally. The only permitted logical axioms are Classical.choice, propext, and Quot.sound. The upstream Comparator check passed on the source revision. Upstream verification
  • Rebuilt fresh project artifacts on four Azure VM cores with warm pinned dependencies and linter plugin, using /usr/bin/time taskset -c 4-7 lake --no-ansi --wfail build +LeanPool.HilbertInvariantSubspace.Imports. Replacing the two blanket Mathlib imports with specific analysis, algebra, and tactic modules reduced the build graph from 18,283 to 6,193 Lake jobs. In the limit step, additive normalization and a direct geometric-sum comparison replace general ring and nonlinear arithmetic search. Wall time was 47.67 s → 29.26 s, Limit 10 s → 6.5 s, and peak reported RSS 3,048,532 KiB → 1,595,948 KiB.

Review revision

The citation now distinguishes the paper's witness on ℓ² from the explicit existential formulation in the upstream Lean solution. Two operator proofs now elaborate under the standalone profiler using the continuous-linear-map composition and norm lemmas with explicit operands. Their statements are unchanged. Both files pass lake env lean --profile locally. The repaired clean build took 32.68 s and peak reported RSS was 1,638,204 KiB. All project validations passed, including declaration lint over 589 declarations. Upstream existential statement

@Vilin97 Vilin97 left a comment

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Verdict: approve. Reviewed head 50929e983c91c551b71140ad7221fc21c1210bc7.

  • Faithfulness and trust. The endpoint quantifies over every complex submodule of Mathlib’s lp (fun _ : ℕ => ℂ) 2 and assumes only closedness and invariance under the constructed continuous linear map. The two reformulations give the negation of the universal problem and an existential Hilbert-space form. ℓ2_separable and ℓ2_not_finiteDimensional discharge the corresponding hypotheses. The Tower, IsEmbed, and IsLimit properties consumed by the final proof are supplied by tower, exists_embed, and exists_limit. The port preserves these constructions and their endpoint statements.
  • Proof closure and reuse. Reviewed the 13 imported modules and the two entry points. The cyclic-block annihilator gives the dimension and reach lemmas. The multiplier proof constructs its congruence using truncated series and roots. The finite-dimensional step proves the perturbation estimates and upgrades qualitative reach by compactness. The tower supplies summable errors, and the compatible embeddings have dense union. The last argument uses orthogonal vectors and polynomial invariance to obtain a strict contradiction. The norm and polynomial estimates are exposed independently of the final example.
  • Sources and novelty. Theorem 1.1 and Section 6 of the pinned manuscript support the three headline statements. The notice retains the Mathlib credits and acknowledges the source of the construction’s inspiration. The existing Read import constructs a counterexample on ℓ¹. Tau Ceti’s invariant-subspace module concerns reducing subspaces and symmetric-operator criteria. Searches of the pinned Mathlib and Tau Ceti sources, pool cards and source, and PR and issue history found no counterpart to this ℓ² endpoint. Manuscript, Read import
  • Engineering. The local project, generated indexes, style and declaration linters, endpoint checks, compiler-message audit, and axiom and option audits passed. The narrower import closure and limit-proof changes brought clean wall time from 47.67 s to 29.26 s on the same four cores. The 15 modules contain ordinary Lean proofs and require no generated certifier or new dependency. The upstream Comparator check passed. GitHub validation and the configured GPT review of this head remain pending. Upstream Comparator

@greptile-apps

greptile-apps Bot commented Dec 3, 2026 •

Copy link
Copy Markdown
Contributor

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 code issue was established, but external source fidelity and licensing remain unverified.

RetriggerView in Greptile

Summary

Imports the invariant-subspace counterexample and its supporting block, tower, and limit proofs.

  • Finite blocks support the estimates used to grow the operator.
  • Growing blocks form a tower that defines an operator on ℓ².
  • The invariant-subspace result is available as a public Lean theorem.

Reviews (2) · Last reviewed commit: "Correct the existential result citation ..." · Reviewed by Greptile

@github-actions

github-actions Bot commented Dec 3, 2026 •

Copy link
Copy Markdown
Contributor

Proof profile (new / modified Lean files)

lake build wall time (changed modules): 43.29 s (= 0.72 min) — user 71.39 s, sys 7.65 s.

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: 1,444,802 maxHeartbeats units across 15 valid files (4,083 added LOC).

Sum of lean --profile: 59218.5 ms (= 59.22 s) across 15 valid files. Import-excluded time: 48894.5 ms (= 48.89 s).

Count-heartbeats wall-clock total: 162.30 s. Repeated import cost inside lean --profile: 10324.0 ms (= 10.32 s).

Heartbeat values sum disjoint root command traces with trace.profiler.useHeartbeats and synchronous elaboration, converted from raw allocations to maxHeartbeats units by dividing by 1000. They include command elaboration and kernel checking, exclude imports, and include profiler overhead; they are not comparable to the deprecated linter's totals. Per-file wall clocks are measured under parallel load and are noisier than heartbeats.

LOC counts added lines in the profiled Lean files from this PR diff.

File LOC Heartbeats (maxHB) Count wall (s) lean --profile (s) Without import (s) Import (s) Commands Errors
LeanPool/HilbertInvariantSubspace/Lemma2Split.lean 406 289,424 31.35 10.55 9.86 0.69 40 0
LeanPool/HilbertInvariantSubspace/Tower.lean 558 195,758 19.89 8.51 7.91 0.59 55 0
LeanPool/HilbertInvariantSubspace/Limit.lean 648 185,286 17.79 7.57 6.98 0.60 77 0
LeanPool/HilbertInvariantSubspace/Construction.lean 245 166,512 12.13 3.64 2.96 0.68 22 0
LeanPool/HilbertInvariantSubspace/Blocks.lean 497 153,639 16.18 6.20 5.59 0.61 82 0
LeanPool/HilbertInvariantSubspace/Lemma2Setup.lean 468 138,146 18.44 5.65 4.98 0.67 41 0
LeanPool/HilbertInvariantSubspace/Slots.lean 375 113,697 14.61 4.63 4.01 0.62 95 0
LeanPool/HilbertInvariantSubspace/Lemma2Reach.lean 156 93,028 6.47 2.31 1.63 0.68 21 0
LeanPool/HilbertInvariantSubspace/Lemma2.lean 96 48,471 7.63 1.99 1.31 0.68 11 0
LeanPool/HilbertInvariantSubspace/Lemma1.lean 384 33,442 6.51 2.69 2.02 0.67 34 0
LeanPool/HilbertInvariantSubspace/Main.lean 95 21,108 3.59 1.48 0.79 0.69 12 0
LeanPool/HilbertInvariantSubspace/Statement.lean 52 3,767 2.15 0.81 0.26 0.55 9 0
LeanPool/HilbertInvariantSubspace/Solution.lean 44 2,524 2.17 0.96 0.26 0.69 9 0
LeanPool/HilbertInvariantSubspace.lean 37 0 1.99 1.42 0.18 1.24 3 0
LeanPool/HilbertInvariantSubspace/Imports.lean 22 0 1.40 0.84 0.17 0.67 1 0
Total 4,083 1,444,802 162.30 59.22 48.89 10.32 512 0

Aggregate phase totals

Phase Time
typeclass inference 17447.5 ms (= 17.45 s)
import 10324.0 ms (= 10.32 s)
interpretation 9198.0 ms (= 9.20 s)
tactic execution 8970.8 ms (= 8.97 s)
type checking 4397.4 ms (= 4.40 s)
elaboration 2480.5 ms (= 2.48 s)
simp 1607.5 ms (= 1.61 s)
norm_num 917.8 ms (= 0.92 s)
blocked (unaccounted) 721.5 ms (= 0.72 s)
linting 578.8 ms (= 0.58 s)
ring 559.5 ms (= 0.56 s)
initialization 436.5 ms (= 0.44 s)

Slowest changed modules (from lake build)

Changed module Lake time
LeanPool.HilbertInvariantSubspace.Tower 8.10 s
LeanPool.HilbertInvariantSubspace.Lemma2Split 8.10 s
LeanPool.HilbertInvariantSubspace.Limit 6.80 s
LeanPool.HilbertInvariantSubspace.Slots 5.10 s
LeanPool.HilbertInvariantSubspace.Lemma2Reach 4.00 s
LeanPool.HilbertInvariantSubspace.Blocks 3.70 s
LeanPool.HilbertInvariantSubspace.Construction 3.50 s
LeanPool.HilbertInvariantSubspace.Lemma1 3.40 s
LeanPool.HilbertInvariantSubspace.Lemma2Setup 3.30 s
LeanPool.HilbertInvariantSubspace.Statement 2.10 s
LeanPool.HilbertInvariantSubspace.Main 1.30 s
LeanPool.HilbertInvariantSubspace.Lemma2 1.00 s
Per-file `lean --profile` output

LeanPool/HilbertInvariantSubspace.lean

import took 1.24s
cumulative profiling times:
	declTypeLinter 0.743ms
	elaboration 0.186ms
	import 1.24s
	initialization 33.6ms
	interpretation 142ms
	linting 0.582ms
	module linting 0.0194ms
	parsing 0.0822ms
	tacticAnalysis 0.724ms
real 1.92
user 0.89
sys 0.61

LeanPool/HilbertInvariantSubspace/Blocks.lean

import took 606ms
simp took 135ms
cumulative profiling times:
	attribute application 0.698ms
	blocked (unaccounted) 0.765ms
	compilation (IR) 0.118ms
	compilation (LCNF base) 2.07ms
	compilation (LCNF impure) 0.333ms
	compilation (LCNF mono) 0.44ms
	congr simp thm 9.38ms
	declTypeLinter 23ms
	elaboration 343ms
	fix level params 4.7ms
	import 606ms
	initialization 36.7ms
	instantiate metavars 13.8ms
	interpretation 512ms
	let-to-have transformation 1.63ms
	linting 75.3ms
	module linting 0.0231ms
	norm_num 5.89ms
	parsing 31.5ms
	process pre-definitions 51.7ms
	ring 68.4ms
	share common exprs 39.2ms
	simp 388ms
	tactic execution 822ms
	tacticAnalysis 12.4ms
	type checking 466ms
	typeclass inference 2.68s
real 2.95
user 6.18
sys 0.53

LeanPool/HilbertInvariantSubspace/Construction.lean

import took 684ms
interpretation of Mathlib.Tactic._aux_Mathlib_Tactic_Linarith_Frontend___elabRules_Mathlib_Tactic_nlinarith_1._boxed took 468ms
type checking took 129ms
cumulative profiling times:
	attribute application 0.387ms
	blocked (unaccounted) 25.4ms
	congr simp thm 34.2ms
	declTypeLinter 3.71ms
	elaboration 136ms
	fix level params 1.07ms
	import 684ms
	initialization 26.9ms
	instantiate metavars 5.09ms
	interpretation 1.04s
	let-to-have transformation 0.0574ms
	linting 16.8ms
	module linting 0.0196ms
	norm_num 80.7ms
	parsing 8.73ms
	process pre-definitions 21ms
	ring 53.6ms
	share common exprs 12.2ms
	simp 55.2ms
	tactic execution 415ms
	tacticAnalysis 3.65ms
	type checking 397ms
	typeclass inference 619ms
real 3.79
user 3.64
sys 0.53

LeanPool/HilbertInvariantSubspace/Imports.lean

import took 669ms
cumulative profiling times:
	declTypeLinter 0.0982ms
	elaboration 0.0795ms
	import 669ms
	initialization 32.1ms
	interpretation 134ms
	linting 0.194ms
	module linting 0.0174ms
	parsing 0.00247ms
	tacticAnalysis 0.115ms
real 1.34
user 0.87
sys 0.52

LeanPool/HilbertInvariantSubspace/Lemma1.lean

import took 667ms
cumulative profiling times:
	attribute application 0.209ms
	blocked (unaccounted) 0.526ms
	congr simp thm 6.48ms
	declTypeLinter 7.73ms
	dsimp 1.35ms
	elaboration 86.4ms
	fix level params 1.58ms
	import 667ms
	initialization 26.8ms
	instantiate metavars 3.98ms
	interpretation 384ms
	let-to-have transformation 0.372ms
	linting 39.3ms
	module linting 0.0217ms
	norm_num 25.5ms
	parsing 17.9ms
	process pre-definitions 24.3ms
	ring 47ms
	share common exprs 15.3ms
	simp 174ms
	tactic execution 409ms
	tacticAnalysis 7.15ms
	type checking 165ms
	typeclass inference 576ms
real 1.92
user 2.68
sys 0.54

LeanPool/HilbertInvariantSubspace/Lemma2.lean

import took 678ms
cumulative profiling times:
	attribute application 0.0338ms
	congr simp thm 0.685ms
	declTypeLinter 4.47ms
	elaboration 66.1ms
	fix level params 1ms
	import 678ms
	initialization 27.3ms
	instantiate metavars 4.89ms
	interpretation 231ms
	let-to-have transformation 0.199ms
	linting 13.1ms
	module linting 0.0215ms
	norm_num 2.03ms
	parsing 3.77ms
	process pre-definitions 6.13ms
	ring 10.1ms
	share common exprs 7.46ms
	simp 9.08ms
	tactic execution 439ms
	tacticAnalysis 2.51ms
	type checking 98.5ms
	typeclass inference 383ms
real 2.33
user 2.01
sys 0.52

LeanPool/HilbertInvariantSubspace/Lemma2Reach.lean

import took 679ms
typeclass inference of Semiring took 134ms
interpretation of Mathlib.Tactic._aux_Mathlib_Tactic_Linarith_Frontend___elabRules_Mathlib_Tactic_nlinarith_1._boxed took 105ms
cumulative profiling times:
	attribute application 0.0334ms
	blocked (unaccounted) 12.9ms
	congr simp thm 1.53ms
	declTypeLinter 4.5ms
	elaboration 49.6ms
	fix level params 0.781ms
	import 679ms
	initialization 26.9ms
	instantiate metavars 2.07ms
	interpretation 396ms
	let-to-have transformation 0.218ms
	linting 17.7ms
	module linting 0.0212ms
	norm_num 9.92ms
	parsing 5.34ms
	process pre-definitions 6.89ms
	ring 6.94ms
	share common exprs 6.48ms
	simp 31.8ms
	tactic execution 250ms
	tacticAnalysis 3.11ms
	type checking 68.3ms
	typeclass inference 725ms
real 2.31
user 2.32
sys 0.52

LeanPool/HilbertInvariantSubspace/Lemma2Setup.lean

import took 665ms
tactic execution of Lean.Parser.Tactic.exact took 140ms
cumulative profiling times:
	attribute application 8.86ms
	blocked (unaccounted) 0.0197ms
	compilation (IR) 0.324ms
	compilation (LCNF base) 3.7ms
	compilation (LCNF impure) 1.44ms
	compilation (LCNF mono) 5.05ms
	congr simp thm 4.35ms
	declTypeLinter 15.8ms
	elaboration 209ms
	fix level params 3.17ms
	import 665ms
	initialization 27.3ms
	instantiate metavars 13.9ms
	interpretation 320ms
	let-to-have transformation 1.27ms
	linting 64.1ms
	module linting 0.0232ms
	norm_num 2.22ms
	parsing 25.2ms
	process pre-definitions 36.6ms
	ring 5.65ms
	share common exprs 25.5ms
	simp 198ms
	tactic execution 1.3s
	tacticAnalysis 9.57ms
	type checking 360ms
	typeclass inference 2.34s
real 3.05
user 5.65
sys 0.54

LeanPool/HilbertInvariantSubspace/Lemma2Split.lean

import took 688ms
tactic execution of Lean.Parser.Tactic.exact took 115ms
tactic execution of Lean.Parser.Tactic.refine took 156ms
interpretation of Mathlib.Tactic._aux_Mathlib_Tactic_Linarith_Frontend___elabRules_Mathlib_Tactic_nlinarith_1._boxed took 385ms
interpretation of Mathlib.Tactic._aux_Mathlib_Tactic_Linarith_Frontend___elabRules_Mathlib_Tactic_nlinarith_1._boxed took 638ms
type checking took 152ms
cumulative profiling times:
	attribute application 0.304ms
	compilation (IR) 0.0917ms
	compilation (LCNF base) 1.54ms
	compilation (LCNF impure) 0.371ms
	compilation (LCNF mono) 0.696ms
	congr simp thm 3.35ms
	declTypeLinter 18.6ms
	elaboration 363ms
	fix level params 4.09ms
	import 688ms
	initialization 26.9ms
	instantiate metavars 14.8ms
	interpretation 1.66s
	let-to-have transformation 1.66ms
	linting 93.9ms
	module linting 0.0266ms
	norm_num 115ms
	parsing 23.5ms
	process pre-definitions 61.6ms
	ring 72.3ms
	share common exprs 42.2ms
	simp 151ms
	tactic execution 2.53s
	tacticAnalysis 11.6ms
	type checking 921ms
	typeclass inference 3.74s
real 5.85
user 10.55
sys 0.54

LeanPool/HilbertInvariantSubspace/Limit.lean

import took 596ms
cumulative profiling times:
	attribute application 0.375ms
	blocked (unaccounted) 590ms
	congr simp thm 10.3ms
	declTypeLinter 22.4ms
	dsimp 1.53ms
	elaboration 250ms
	fix level params 4.66ms
	import 596ms
	initialization 35.7ms
	instantiate metavars 20.5ms
	interpretation 1.11s
	let-to-have transformation 0.982ms
	linting 110ms
	module linting 0.0211ms
	norm_num 250ms
	parsing 38.2ms
	process pre-definitions 57.1ms
	ring 129ms
	share common exprs 56ms
	simp 122ms
	tactic execution 1.22s
	tacticAnalysis 12.7ms
	type checking 474ms
	typeclass inference 2.46s
real 4.26
user 6.98
sys 0.55

LeanPool/HilbertInvariantSubspace/Main.lean

import took 688ms
cumulative profiling times:
	attribute application 0.0482ms
	congr simp thm 0.531ms
	declTypeLinter 1.93ms
	elaboration 25.4ms
	fix level params 0.201ms
	import 688ms
	initialization 26.9ms
	instantiate metavars 0.321ms
	interpretation 164ms
	let-to-have transformation 0.109ms
	linting 4.62ms
	module linting 0.0218ms
	parsing 2.67ms
	process pre-definitions 4.01ms
	share common exprs 1.53ms
	simp 21.4ms
	tactic execution 119ms
	tacticAnalysis 2.09ms
	type checking 38.1ms
	typeclass inference 378ms
real 1.72
user 1.49
sys 0.53

LeanPool/HilbertInvariantSubspace/Slots.lean

import took 623ms
cumulative profiling times:
	attribute application 99.8ms
	blocked (unaccounted) 0.08ms
	compilation (IR) 0.211ms
	compilation (LCNF base) 7.8ms
	compilation (LCNF impure) 0.84ms
	compilation (LCNF mono) 2.29ms
	congr simp thm 2.72ms
	declTypeLinter 28.5ms
	elaboration 529ms
	fix level params 3.45ms
	import 623ms
	initialization 27.5ms
	instantiate metavars 5.93ms
	interpretation 374ms
	let-to-have transformation 2.08ms
	linting 51.7ms
	module linting 0.0221ms
	norm_num 21.5ms
	parsing 22.8ms
	process pre-definitions 38.9ms
	ring 19.5ms
	share common exprs 24.1ms
	simp 189ms
	tactic execution 565ms
	tacticAnalysis 11.2ms
	type checking 484ms
	typeclass inference 1.5s
real 2.87
user 4.67
sys 0.52

LeanPool/HilbertInvariantSubspace/Solution.lean

import took 695ms
cumulative profiling times:
	attribute application 0.0268ms
	declTypeLinter 1.46ms
	elaboration 15.6ms
	fix level params 0.036ms
	import 695ms
	initialization 27.2ms
	instantiate metavars 0.0791ms
	interpretation 151ms
	let-to-have transformation 0.0217ms
	linting 2.07ms
	module linting 0.0185ms
	parsing 1.08ms
	process pre-definitions 2.1ms
	share common exprs 0.182ms
	tactic execution 40.8ms
	tacticAnalysis 1.32ms
	type checking 8.52ms
	typeclass inference 10.5ms
real 1.44
user 1.01
sys 0.50

LeanPool/HilbertInvariantSubspace/Statement.lean

import took 553ms
cumulative profiling times:
	attribute application 0.0578ms
	declTypeLinter 2.04ms
	elaboration 13.1ms
	fix level params 0.0505ms
	import 553ms
	initialization 27.8ms
	instantiate metavars 0.0309ms
	interpretation 130ms
	let-to-have transformation 0.0456ms
	linting 2.41ms
	module linting 0.0206ms
	parsing 1.81ms
	process pre-definitions 2.69ms
	share common exprs 0.29ms
	tacticAnalysis 1.02ms
	type checking 10ms
	typeclass inference 66ms
real 1.28
user 0.90
sys 0.46

LeanPool/HilbertInvariantSubspace/Tower.lean

import took 593ms
elaboration took 116ms
type checking took 147ms
interpretation of Mathlib.Tactic._aux_Mathlib_Tactic_Linarith_Frontend___elabRules_Mathlib_Tactic_nlinarith_1._boxed took 113ms
interpretation of Mathlib.Tactic._aux_Mathlib_Tactic_Linarith_Frontend___elabRules_Mathlib_Tactic_nlinarith_1._boxed took 310ms
interpretation of Mathlib.Tactic._aux_Mathlib_Tactic_Linarith_Frontend___elabRules_Mathlib_Tactic_nlinarith_1._boxed took 283ms
interpretation of Mathlib.Tactic._aux_Mathlib_Tactic_Linarith_Frontend___elabRules_Mathlib_Tactic_nlinarith_1._boxed took 175ms
interpretation of Mathlib.Tactic._aux_Mathlib_Tactic_Linarith_Frontend___elabRules_Mathlib_Tactic_nlinarith_1._boxed took 222ms
interpretation of Mathlib.Tactic._aux_Mathlib_Tactic_Linarith_Frontend___elabRules_Mathlib_Tactic_nlinarith_1._boxed took 236ms
cumulative profiling times:
	attribute application 8.85ms
	blocked (unaccounted) 91.8ms
	compilation (IR) 0.45ms
	compilation (LCNF base) 6.11ms
	compilation (LCNF impure) 1.72ms
	compilation (LCNF mono) 6.87ms
	congr simp thm 73.4ms
	declTypeLinter 14.7ms
	elaboration 394ms
	fix level params 4.59ms
	import 593ms
	initialization 26.9ms
	instantiate metavars 14.8ms
	interpretation 2.45s
	let-to-have transformation 1.27ms
	linting 87ms
	module linting 0.0224ms
	norm_num 405ms
	parsing 31.4ms
	process pre-definitions 71.1ms
	ring 147ms
	share common exprs 58.2ms
	simp 268ms
	tactic execution 861ms
	tacticAnalysis 11.5ms
	type checking 907ms
	typeclass inference 1.97s
real 5.35
user 8.51
sys 0.53

Advisory only — never blocks merge. Full log uploaded as the proof-profile artifact.

@Vilin97

Vilin97 commented Dec 3, 2026 •

Copy link
Copy Markdown
Collaborator Author

🤖 LLM review (gpt-6.2-sol, 5 rubrics)

Reviewed head: e914bbb9358b4c8faf3c27074e4e45b3f2f08c0a

Verdict: ✅ approve — computed from the rubric verdicts below, not chosen by a model.

Rubric Verdict Bottom line
Faithfulness ✅ pass The targeted build, all three endpoint and axiom checks, and profiling of both previously failing modules passed locally while full CI was still restoring its build cache. CI build
Novelty ✅ pass No duplicate of any of the three headlines surfaced in Lean Pool or in targeted searches of pinned Mathlib and Tau Ceti sources, and broader prior art remains unverifiable.
Significance ✅ pass The self-contained proof of not_ISP builds locally and both previously failing standalone profiles pass at this head, with full CI still in progress.
Sources ✅ pass Theorem 1.1 and Section 6 support the ℓ² counterexample and the negative answer to ISP, and the credited upstream Lean solution gives the matching existential statement. Paper, Upstream Lean solution
Code quality (advisory) ⚠️ flag Repeated estimates and avoidable assumptions warrant cleanup, and the targeted build and both previously failing standalone profiles passed with pinned local dependencies while the hosted build was still in progress. Lean Action CI
Aspect Value
Proves the claim ✅ proves_it
Matches cited source ✅ matches
Fit ✅ good_fit
Level research
Branch operator theory
Mode theory_building
Code quality 3 / 5

Statement check: The Lean constructs a bounded complex-linear operator on ℓ²(ℕ, ℂ) whose only closed invariant subspaces are zero and the whole space, then uses the same witness to refute ISP and prove the existential statement for a separable infinite-dimensional complex Hilbert space.

The development uses polynomial estimates and a tower of finite-dimensional cyclic nilpotent blocks to construct a bounded complex-linear operator on ℓ²(ℕ, ℂ) whose only closed invariant subspaces are zero and the whole space.

Code quality findings (7)

  • repeated-proof-terms — LeanPool/HilbertInvariantSubspace/Limit.lean:548
    Tower.limit_step spells out each of four error terms in the expansion, its norm bound, and its real-part bound. A change to a projection or level index requires synchronized edits. Bind the level, projected vectors, and error terms once. The paired projection bounds at lines 518 and 521 and the paired averaging bounds in Tower.fibers at lines 525 and 531 can each share one estimate.
    Evidence: have e1 : ‖⟪ζ - J (b + 1 + k) (adj (J (b + 1 + k)) ζ), aeval T (X ^ 2 * p) ξ⟫_ℂ‖ ≤ repeats the term in have r1 := Complex.abs_re_le_norm ⟪ζ - J (b + 1 + k) (adj (J (b + 1 + k)) ζ), aeval T (X ^ 2 * p) ξ⟫_ℂ. Both averaging proofs use intro s; rw [map_sub, Vs_up] followed by exact (𝔗.sum_norm_sq_Vs_le (b + 1) k _).trans.
  • redundant-abstraction — LeanPool/HilbertInvariantSubspace/Construction.lean:174
    Level.exists_next converts the operator-norm bound from split into a bilinear bound for Link.split and Tower.split. The sole consumer, Tower.split_op, converts it back at Tower.lean:380. Store the operator-norm bound against the adjoint-based separation operator and use inner_sepOp_V once to identify it with the concrete slot operator.
    Evidence: rw [← inner_sepOp_V hd1, ← inner_sub_right, ← sub_apply] in Level.exists_next and refine ⟨G, hG, opNorm_le_of_inner_le _ (𝔗.gam_nonneg _) fun v w => ?_⟩ in Tower.split_op.
  • duplicate-lemma — LeanPool/HilbertInvariantSubspace/Lemma2Split.lean:55
    The local norm_mul_le_of_le and Slots.le_of_sq_le duplicate Mathlib's norm_mul_le_of_le and le_of_sq_le_sq. Use the Mathlib lemmas at their call sites. In Limit.lean, adj_J and norm_sub_proj_le can also delegate to LinearIsometry.adjoint_comp_self and ContinuousLinearMap.forall_norm_sub_apply_le_iff_adjoint_apply_sub_eq_zero. These replacements elaborate in scratch copies.
    Evidence: theorem norm_mul_le_of_le {A B : E →L[ℂ] E} {a b : ℝ} (ha : ‖A‖ ≤ a) (hb : ‖B‖ ≤ b) :; theorem le_of_sq_le {a b : ℝ} (hb : 0 ≤ b) (h : a ^ 2 ≤ b ^ 2) : a ≤ b :=; theorem adj_J (J : E →ₗᵢ[ℂ] H) (v : E) : adj J (J v) = v := by; theorem norm_sub_proj_le (J : E →ₗᵢ[ℂ] H) (x : H) (u : E) : ‖x - proj J x‖ ≤ ‖x - J u‖ := by.
  • duplicate-lemma — LeanPool/HilbertInvariantSubspace/Main.lean:75
    ℓ2_not_finiteDimensional repeats the standard unit-vector orthonormality proof from Limit.lean:128, and ℓ2_separable repeats the scalar-multiple identity from Limit.lean:135. Share the standard basis facts so changes to the coordinate representation only need one update.
    Evidence: Both orthonormality proofs use rw [lp.inner_single_left, lp.single_apply, Pi.single_apply]. Both scalar-multiple proofs use rw [← lp.single_smul, smul_eq_mul, mul_one].
  • overstrong-typeclass — LeanPool/HilbertInvariantSubspace/Slots.lean:47
    The slot constructors and norm estimates inherit an inner-product assumption, which propagates to the operator setup and split estimates. Scratch copies of Slots.lean, Lemma2Setup.lean, and Lemma2Split.lean elaborate with NormedSpace ℂ K for those declarations. Reserve the inner-product assumption for inner_sing, inner_sepOp, and inner_sepOp_V.
    Evidence: variable {K : Type} [NormedAddCommGroup K] [InnerProductSpace ℂ K] {d : ℕ} governs def lift (d : ℕ) (A : K →L[ℂ] K) : Pw d K →L[ℂ] Pw d K := coord (fun _ => A) and theorem norm_coord_le (A : Fin (d + 1) → K →L[ℂ] K) (C : ℝ) (hA : ∀ t, ‖A t‖ ≤ C) :.
  • unused-hypothesis — LeanPool/HilbertInvariantSubspace/Lemma2Setup.lean:354
    Drop the unused positivity argument for D from exists_chain and its caller exists_S. Also remove the dead product bound in Lemma1.lean:106 and the unused hτ facts in Lemma2Split.lean:277 and :304. The proofs elaborate after these deletions.
    Evidence: (q D : ℕ) (hq : 1 ≤ q) (_hD : 1 ≤ D) (hc : Commute Φ L); have hp : 0 ≤ ∏ j ∈ Finset.range m, (ε + (j : ℝ)) :=; have hτ : 0 ≤ τ := (norm_nonneg _).trans hη.
  • unused-api — LeanPool/HilbertInvariantSubspace/Lemma2Split.lean:139
    Zop_eq has no caller, and it is the sole consumer of the two public projection definitions in Slots.lean. The split proof operates on Zop through its coordinate definition. Remove the unused decomposition and its projections to reduce the public API for the same operator.
    Evidence: theorem Zop_eq (hd : 1 ≤ d) (t : K →L[ℂ] K) : Zop d t = lift d t * (Eplus d K - Eminus d K) := by and def Zop (d : ℕ) (t : K →L[ℂ] K) : Pw d K →L[ℂ] Pw d K := coord (fun j => sigma d j • t).

Tokens: 16,782,184 in / 50,599 out across 5 model calls · Tier: codex-subscription · Effort: xhigh · Billing: Codex subscription quota (no API credits) · Estimated cost: $67.8877 (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.

CI was not green for this commit at review time; this review does not replace CI.

@Vilin97

Vilin97 commented Dec 3, 2026

Copy link
Copy Markdown
Collaborator Author

/review

The blocking citation finding is repaired on e914bbb935. The card cites Theorem 1.1 as the witness on ℓ² and attributes the explicit existential formulation to hilbert_space_form in the upstream solution. Pinned upstream solution

This revision also replaces fragile generic rewrites and norm arguments with explicit continuous-linear-map proofs in the two files whose advisory profiling failed. Both now pass standalone lake env lean --profile locally, along with the project build, linters, indexes, endpoints, and trust audits. No statement changed.

@Vilin97 Vilin97 left a comment

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Source review passed at e914bbb9358b4c8faf3c27074e4e45b3f2f08c0a. Hosted validation is pending.

  • The revision makes the operator composition and norm operands explicit and proves the scalar-power identity by induction. The five changed proof bodies preserve their statements, imports, and public endpoints.
  • The updated source reference correctly distinguishes the paper’s witness on ℓ² from the explicit existential formulation in the upstream Lean solution. Paper Upstream statement

@Vilin97 Vilin97 left a comment

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Verdict: approve the revised head e914bbb9358b4c8faf3c27074e4e45b3f2f08c0a.

The citation credits the upstream Lean solution for the existential statement and the manuscript for the ℓ² witness. The two proof edits leave the statements intact and address all errors reported by standalone profiling. The refreshed GitHub profile measured all 15 changed Lean modules with zero errors. Hosted Lean CI, declaration and style lint, repository quality checks, and content separation passed on this revision. The configured re-review approved it. Lean CI, Proof profile, Configured re-review

@Vilin97
Vilin97 added this pull request to the merge queue Dec 3, 2026
Merged via the queue into main with commit 101d7b2 Dec 3, 2026
25 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant