Hodge conjecture: the CM case in Lean, read and discussed
OpenAI's Lean proof of the Hodge conjecture for CM abelian varieties: rerun it, read its statement, and keep the open questions with their sources. The conjecture is open

Comparing changes
Choose two branches to see what changed, then open a pull request to bring the work across.
Able to merge. These branches can be merged automatically.
A pull request is already open: #58 refactor: use Mathlib for pointwise finite sums in Lp
2 commits
+2 −2 OAI/AlgebraicGeometry/ComplexMultiplication/HodgeComparison/GlobalRellich.lean View file
| @@ -70,8 +70,8 @@ theorem varietyL2_finite_reconstruction (V : Foundations.Scheme.IntegralProjecti | ||
| 70 | 70 | (ChartCutoffLp.CM.Construction.varietyChartCutoffL2 V (C.chart i) (C.chart_mem i) (G.cutoff i) (G.compact_support i) (G.supported i) u) x = |
| 71 | 71 | (C.piece i).indicator u x := |
| 72 | 72 | ae_all_iff.mpr (fun i => varietyL2PieceReconstruction_cutoff_coe V C G i u) |
| 73 | - filter_upwards [hall, LpComponents.CM.Construction.lp_coe_finsetSum (fun i => varietyL2PieceReconstruction V C G i | |
| 74 | - (ChartCutoffLp.CM.Construction.varietyChartCutoffL2 V (C.chart i) (C.chart_mem i) (G.cutoff i) (G.compact_support i) (G.supported i) u)) Finset.univ] | |
| 73 | + filter_upwards [hall, Lp.coeFn_fun_finsetSum Finset.univ (fun i => varietyL2PieceReconstruction V C G i | |
| 74 | + (ChartCutoffLp.CM.Construction.varietyChartCutoffL2 V (C.chart i) (C.chart_mem i) (G.cutoff i) (G.compact_support i) (G.supported i) u))] | |
| 75 | 75 | with x hx hsum |
| 76 | 76 | rw [hsum] |
| 77 | 77 | simp only [hx] |
+2 −16 OAI/AlgebraicGeometry/ComplexMultiplication/HodgeComparison/LpComponents.lean View file
| @@ -18,20 +18,6 @@ open scoped ComplexConjugate | ||
| 18 | 18 | variable {α 𝕜 E ι : Type*} [MeasurableSpace α] [RCLike 𝕜] |
| 19 | 19 | [NormedAddCommGroup E] [InnerProductSpace 𝕜 E] [Fintype ι] {μ : Measure α} |
| 20 | 20 | |
| 21 | -omit [RCLike 𝕜] [InnerProductSpace 𝕜 E] [Fintype ι] in | |
| 22 | -theorem lp_coe_finsetSum (u : ι → Lp E 2 μ) (s : Finset ι) : | |
| 23 | - ∀ᵐ x ∂μ, (∑ i ∈ s, u i) x = ∑ i ∈ s, u i x := by | |
| 24 | - classical | |
| 25 | - induction s using Finset.induction_on with | |
| 26 | - | empty => | |
| 27 | - simp only [Finset.sum_empty] | |
| 28 | - filter_upwards [Lp.coeFn_zero E 2 μ] with x hx | |
| 29 | - exact hx | |
| 30 | - | @insert i s hi ih => | |
| 31 | - simp only [Finset.sum_insert hi] | |
| 32 | - filter_upwards [Lp.coeFn_add (u i) (∑ j ∈ s, u j), ih] with x hx hy | |
| 33 | - simp only [hx, Pi.add_apply, hy] | |
| 34 | - | |
| 35 | 21 | def lpOrthonormalSynthesis (b : OrthonormalBasis ι 𝕜 E) : |
| 36 | 22 | PiLp 2 (fun _ : ι => Lp 𝕜 2 μ) →L[𝕜] Lp E 2 μ := |
| 37 | 23 | ∑ i, (((ContinuousLinearMap.id 𝕜 𝕜).smulRight (b i)).compLpL 2 μ).comp |
| @@ -44,8 +30,8 @@ theorem lpOrthonormalSynthesis_coe (b : OrthonormalBasis ι 𝕜 E) | ||
| 44 | 30 | have hcoe : ∀ᵐ x ∂μ, ∀ i : ι, |
| 45 | 31 | (((ContinuousLinearMap.id 𝕜 𝕜).smulRight (b i)).compLpL 2 μ (u i)) x = u i x • b i := |
| 46 | 32 | ae_all_iff.mpr (fun i => ((ContinuousLinearMap.id 𝕜 𝕜).smulRight (b i)).coeFn_compLpL (u i)) |
| 47 | - have hsum := lp_coe_finsetSum (fun i => | |
| 48 | - ((ContinuousLinearMap.id 𝕜 𝕜).smulRight (b i)).compLpL 2 μ (u i)) Finset.univ | |
| 33 | + have hsum := Lp.coeFn_fun_finsetSum Finset.univ (fun i => | |
| 34 | + ((ContinuousLinearMap.id 𝕜 𝕜).smulRight (b i)).compLpL 2 μ (u i)) | |
| 49 | 35 | filter_upwards [hcoe, hsum] with x hx hsumx |
| 50 | 36 | simp only [lpOrthonormalSynthesis, sum_apply, ContinuousLinearMap.comp_apply] |
| 51 | 37 | change (∑ i, ((ContinuousLinearMap.id 𝕜 𝕜).smulRight (b i)).compLpL 2 μ (u i)) x = _ |
+1 −1 OAI/AlgebraicGeometry/ComplexMultiplication/HodgeComparison/NestedCutoffIdentities.lean View file
| @@ -31,7 +31,7 @@ theorem cutoffGradientMultiply_coe (b : OrthonormalBasis ι ℝ E) (g : 𝓢(E, | ||
| 31 | 31 | (CutoffDifferential.CM.Construction.schwartzL2Multiply (∂_{b i} g : 𝓢(E, ℂ)) u), |
| 32 | 32 | CutoffDifferential.CM.Construction.schwartzL2Multiply_coe (∂_{b i} g : 𝓢(E, ℂ)) u] with x hT hg |
| 33 | 33 | exact hT.trans (congrArg (StrongCutoffGradient.CM.Construction.cutoffGradientInsertion i) hg) |
| 34 | - filter_upwards [LpComponents.CM.Construction.lp_coe_finsetSum term Finset.univ, hc] with x hs hx | |
| 34 | + filter_upwards [Lp.coeFn_fun_finsetSum Finset.univ term, hc] with x hs hx | |
| 35 | 35 | exact hs.trans (Finset.sum_congr rfl (fun i _ => hx i)) |
| 36 | 36 | |
| 37 | 37 | theorem cutoffGradientMultiply_zero_on_locally_one (b : OrthonormalBasis ι ℝ E) |
+2 −2 OAI/Analysis/HodgeTheory/Decomposition/CompactFieldSobolev.lean View file
| @@ -37,8 +37,8 @@ theorem schwartzFiniteFieldL2_coe (g : ι → 𝓢(E, ℂ)) (L : ι → F →L[ | ||
| 37 | 37 | filter_upwards [(L i).coeFn_compLpL (AlgebraicGeometry.ComplexMultiplication.HodgeComparison.CutoffDifferential.CM.Construction.schwartzL2Multiply (g i) u), |
| 38 | 38 | AlgebraicGeometry.ComplexMultiplication.HodgeComparison.CutoffDifferential.CM.Construction.schwartzL2Multiply_coe (g i) u] with x hL hg |
| 39 | 39 | rw [hL, hg, map_smul] |
| 40 | - filter_upwards [AlgebraicGeometry.ComplexMultiplication.HodgeComparison.LpComponents.CM.Construction.lp_coe_finsetSum (fun i => (L i).compLpL 2 volume (AlgebraicGeometry.ComplexMultiplication.HodgeComparison.CutoffDifferential.CM.Construction.schwartzL2Multiply (g i) u)) Finset.univ, | |
| 41 | - hterm] with x hsum hx | |
| 40 | + filter_upwards [Lp.coeFn_fun_finsetSum Finset.univ (fun i => | |
| 41 | + (L i).compLpL 2 volume (schwartzL2Multiply (g i) u)), hterm] with x hsum hx | |
| 42 | 42 | simp only [schwartzFiniteFieldL2, sum_apply, ContinuousLinearMap.comp_apply] |
| 43 | 43 | rw [hsum] |
| 44 | 44 | exact Finset.sum_congr rfl (fun i _ => hx i) |
+2 −2 OAI/Analysis/HodgeTheory/Decomposition/FiniteLp.lean View file
| @@ -40,8 +40,8 @@ theorem finiteLpSynthesis_coe (u : PiLp 2 (fun _ : ι => Lp F 2 μ)) : | ||
| 40 | 40 | have h := (finiteHilbertSingle (𝕜 := 𝕜) i).coeFn_compLpL (u i) |
| 41 | 41 | filter_upwards [h] with x hx |
| 42 | 42 | exact hx.trans (finiteHilbertSingle_apply i (u i x))) |
| 43 | - have hsum := AlgebraicGeometry.ComplexMultiplication.HodgeComparison.LpComponents.CM.Construction.lp_coe_finsetSum (fun i => | |
| 44 | - (finiteHilbertSingle (𝕜 := 𝕜) (F := F) i).compLpL 2 μ (u i)) Finset.univ | |
| 43 | + have hsum := Lp.coeFn_fun_finsetSum Finset.univ (fun i => | |
| 44 | + (finiteHilbertSingle (𝕜 := 𝕜) (F := F) i).compLpL 2 μ (u i)) | |
| 45 | 45 | filter_upwards [hcoe, hsum] with x hx hsumx |
| 46 | 46 | simp only [finiteLpSynthesis, sum_apply, ContinuousLinearMap.comp_apply] |
| 47 | 47 | change (∑ i, (finiteHilbertSingle (𝕜 := 𝕜) i).compLpL 2 μ (u i)) x = _ |
+1 −1 OAI/Analysis/HodgeTheory/Decomposition/VectorNestedCutoffs.lean View file
| @@ -34,7 +34,7 @@ theorem vectorCutoffGradientMultiply_coe (b : OrthonormalBasis ι ℝ E) (g : | ||
| 34 | 34 | (AlgebraicGeometry.ComplexMultiplication.HodgeComparison.CutoffDifferential.CM.Construction.schwartzL2Multiply (∂_{b i} g : 𝓢(E, ℂ)) u), |
| 35 | 35 | AlgebraicGeometry.ComplexMultiplication.HodgeComparison.CutoffDifferential.CM.Construction.schwartzL2Multiply_coe (∂_{b i} g : 𝓢(E, ℂ)) u] with x hT hg |
| 36 | 36 | exact hT.trans (congrArg (VectorCutoffInsertion.Constructions.vectorCutoffGradientInsertion i) hg) |
| 37 | - filter_upwards [AlgebraicGeometry.ComplexMultiplication.HodgeComparison.LpComponents.CM.Construction.lp_coe_finsetSum term Finset.univ, hc] with x hs hx | |
| 37 | + filter_upwards [Lp.coeFn_fun_finsetSum Finset.univ term, hc] with x hs hx | |
| 38 | 38 | exact hs.trans (Finset.sum_congr rfl (fun i _ => hx i)) |
| 39 | 39 | |
| 40 | 40 | omit [CompleteSpace F] in |
+15 −0 routes/m1-mathlib-lemma/README.md added View file
| @@ -0,0 +1,15 @@ | ||
| 1 | +--- | |
| 2 | +issue: 42 | |
| 3 | +status: done | |
| 4 | +--- | |
| 5 | +# Finite sums of L² representatives | |
| 6 | + | |
| 7 | +The local lemma `lp_coe_finsetSum` proved by induction that the representative of a finite sum equals the pointwise sum almost everywhere. Mathlib already proves this for arbitrary exponent `p`. At `p = 2`, its almost-everywhere equality unfolds to the local statement, with the same measure, finite set and family of functions. All six callers now use the library declaration directly. | |
| 8 | + | |
| 9 | +The source is [MeasureTheory.Lp.coeFn_fun_finsetSum in the pinned Mathlib](https://github.com/leanprover-community/mathlib4/blob/d13f23b723b8a846827a245b89c10fc7d3f11612/Mathlib/MeasureTheory/Function/LpSpace/Basic.lean#L213-L216). Its right-hand side is explicitly a pointwise sum. | |
| 10 | + | |
| 11 | +To reproduce the source check, run `python3 checks/challenge.py .` at the repository root. To locate all replacements, search the Lean diff against main for `Lp.coeFn_fun_finsetSum`. The site runs the full build. | |
| 12 | + | |
| 13 | +## Next | |
| 14 | + | |
| 15 | +Review the challenge and build verdicts on the pull request head. Once both pass, the maintainer runs Comparator and files the replay report for that commit. | |