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

| 1 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Grassmann.GenerationCharts |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Affine.ChartRelations |
| 3 | |
| 4 | /-! # Generation Coordinates -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Affine.GenerationCoordinates |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! On a normalized affine chart, the generation open detects equality of the actual classified relation modules. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 13 | |
| 14 | universe u |
| 15 | |
| 16 | variable {ι ν κ μ α : Type u} |
| 17 | variable [Fintype ι] [Fintype ν] [Fintype κ] [Fintype μ] [Fintype α] |
| 18 | variable [DecidableEq ι] [DecidableEq ν] [DecidableEq κ] [DecidableEq μ] [DecidableEq α] |
| 19 | variable {S : Scheme.{u}} (R : CommRingCat.{u}) (f : Spec R ⟶ S) |
| 20 | |
| 21 | theorem grassmannParameterAffine_chart_kernel_coefficients |
| 22 | (N : Module.Grassmannian R (ν → R) (Fintype.card ι)) (a : ι → ν) |
| 23 | (v : Over.mk f ⟶ HilbertScheme.Presentations.Normalized.Chart.Grassmannian.normalizedChart a S) |
| 24 | (hv : v ≫ HilbertScheme.Presentations.Grassmannian.Gluing.grassmannianChartOverMap a S = Grassmann.ParameterScheme.grassmannParameterAffinePointEquiv R f N) : |
| 25 | (Matrix.toLin' ((HilbertScheme.Presentations.Normalized.AtlasMaps.Grassmannian.chartMatrix a S v).map (Scheme.ΓSpecIso R).hom.hom)).ker = N.toSubmodule := by |
| 26 | rw [← HilbertScheme.Presentations.Normalized.KernelBaseChange.Grassmannian.normalizedKernel_baseChange (Scheme.ΓSpecIso R).hom.hom a (HilbertScheme.Presentations.Normalized.AtlasMaps.Grassmannian.chartMatrix a S v) |
| 27 | (HilbertScheme.Presentations.Normalized.AtlasMaps.Grassmannian.chartMatrix_normalized a S v), ChartRelations.grassmannParameterAffine_chart_kernel R f N a v hv, |
| 28 | ← HilbertScheme.Presentations.Coordinate.SubmoduleExtension.Grassmannian.coordinateSubmoduleExtension_comp] |
| 29 | have he : (Scheme.ΓSpecIso R).hom.hom.comp (Scheme.ΓSpecIso R).inv.hom = RingHom.id R := by |
| 30 | ext x |
| 31 | exact ConcreteCategory.congr_hom (Scheme.ΓSpecIso R).inv_hom_id x |
| 32 | rw [he, HilbertScheme.Presentations.Coordinate.SubmoduleExtension.Grassmannian.coordinateSubmoduleExtension_id] |
| 33 | |
| 34 | theorem grassmannChartGenerationOpen_affine_iff |
| 35 | (N : Module.Grassmannian R (ν → R) (Fintype.card ι)) |
| 36 | (K : Module.Grassmannian R (μ → R) (Fintype.card κ)) |
| 37 | (a : ι → ν) (b : κ → μ) (v : Over.mk f ⟶ HilbertScheme.Presentations.Normalized.Chart.Grassmannian.normalizedChart a S) |
| 38 | (w : Over.mk f ⟶ HilbertScheme.Presentations.Normalized.Chart.Grassmannian.normalizedChart b S) |
| 39 | (hv : v ≫ HilbertScheme.Presentations.Grassmannian.Gluing.grassmannianChartOverMap a S = Grassmann.ParameterScheme.grassmannParameterAffinePointEquiv R f N) |
| 40 | (hw : w ≫ HilbertScheme.Presentations.Grassmannian.Gluing.grassmannianChartOverMap b S = Grassmann.ParameterScheme.grassmannParameterAffinePointEquiv R f K) |
| 41 | (F : α → Matrix μ ν R) (hF : ∀ t, N.toSubmodule ≤ K.toSubmodule.comap (Matrix.toLin' (F t))) : |
| 42 | Grassmann.GenerationCharts.grassmannChartGenerationOpen a b v (fun t => (F t).map (Scheme.ΓSpecIso R).inv.hom) = ⊤ ↔ |
| 43 | K.toSubmodule = ⨆ t, N.toSubmodule.map (Matrix.toLin' (F t)) := by |
| 44 | let Q : Matrix ι ν Γ(Spec R, ⊤) := HilbertScheme.Presentations.Normalized.AtlasMaps.Grassmannian.chartMatrix a S v |
| 45 | let L : Matrix κ μ Γ(Spec R, ⊤) := HilbertScheme.Presentations.Normalized.AtlasMaps.Grassmannian.chartMatrix b S w |
| 46 | have hQ : (Matrix.toLin' (Q.map (Scheme.ΓSpecIso R).hom.hom)).ker = N.toSubmodule := |
| 47 | grassmannParameterAffine_chart_kernel_coefficients R f N a v hv |
| 48 | have hL : (Matrix.toLin' (L.map (Scheme.ΓSpecIso R).hom.hom)).ker = K.toSubmodule := |
| 49 | grassmannParameterAffine_chart_kernel_coefficients R f K b w hw |
| 50 | have hround : (fun t => ((F t).map (Scheme.ΓSpecIso R).inv.hom).map (Scheme.ΓSpecIso R).hom.hom) = F := by |
| 51 | funext t |
| 52 | ext i j |
| 53 | exact ConcreteCategory.congr_hom (Scheme.ΓSpecIso R).inv_hom_id (F t i j) |
| 54 | change HilbertConstruction.Matrix.SurjectivityOpen.matrixSurjectiveOpen (HilbertConstruction.Matrix.GeneratedImages.normalizedGenerationMatrix a b Q |
| 55 | (fun t => (F t).map (Scheme.ΓSpecIso R).inv.hom)) = ⊤ ↔ _ |
| 56 | rw [HilbertConstruction.Matrix.SurjectivityOpen.matrixSurjectiveOpen_affine, Normalized.GenerationOpen.normalizedGenerationMatrix_map, hround] |
| 57 | have hi : ∀ t, (Matrix.toLin' (Q.map (Scheme.ΓSpecIso R).hom.hom)).ker ≤ |
| 58 | ((Matrix.toLin' (L.map (Scheme.ΓSpecIso R).hom.hom)).ker).comap (Matrix.toLin' (F t)) := by |
| 59 | rw [hQ, hL] |
| 60 | exact hF |
| 61 | have h := Normalized.GenerationCriterion.normalizedGenerationMatrix_surjective_iff a b _ _ |
| 62 | ((HilbertScheme.Presentations.Normalized.AtlasMaps.Grassmannian.chartMatrix_normalized a S v).map (Scheme.ΓSpecIso R).hom.hom) |
| 63 | ((HilbertScheme.Presentations.Normalized.AtlasMaps.Grassmannian.chartMatrix_normalized b S w).map (Scheme.ΓSpecIso R).hom.hom) F hi |
| 64 | rw [hQ, hL] at h |
| 65 | exact h |
| 66 | |
| 67 | end |
| 68 | |
| 69 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Affine.GenerationCoordinates |