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.Coefficient.SectionTensorScalarMap |
| 2 | import Mathlib.LinearAlgebra.TensorProduct.Basis |
| 3 | |
| 4 | /-! # Section Coefficient Basis Change -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.SectionCoefficientBasisChange |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The basis of the free coefficient module identifies the scalar |
| 11 | extension of specified sections with the actual coefficient map of their |
| 12 | pulled-back section family, including the full new-ring scalar action. -/ |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 14 | open scoped TensorProduct |
| 15 | universe u v |
| 16 | variable {X Y : Scheme.{u}} {R B : Type u} [CommRing R] [CommRing B] [Algebra R B] |
| 17 | variable (a : Y ⟶ X) (c : R →+* Γ(X, ⊤)) (M : X.Modules) (q : B →+* Γ(Y, ⊤)) |
| 18 | variable (hq : q.comp (algebraMap R B) = a.appTop.hom.comp c) |
| 19 | variable {κ : Type v} |
| 20 | |
| 21 | def freeCoefficientBaseChangeEquiv : (B ⊗[R] (κ →₀ R)) ≃ₗ[B] (κ →₀ B) := |
| 22 | ((Finsupp.basisSingleOne : Module.Basis κ R (κ →₀ R)).baseChange B).repr |
| 23 | |
| 24 | theorem freeCoefficientBaseChangeEquiv_symm_single (i : κ) : |
| 25 | (freeCoefficientBaseChangeEquiv (R := R) (B := B)).symm (Finsupp.single i 1) = |
| 26 | (1 : B) ⊗ₜ[R] Finsupp.single i 1 := by |
| 27 | change ((Finsupp.basisSingleOne : Module.Basis κ R (κ →₀ R)).baseChange B).repr.symm |
| 28 | (Finsupp.single i 1) = _ |
| 29 | rw [Module.Basis.repr_symm_single_one, Module.Basis.baseChange_apply] |
| 30 | rfl |
| 31 | |
| 32 | theorem pulledSectionCoefficientMap_baseChange |
| 33 | (s : κ → (Line.Bundles.structureModule X ⟶ M)) : |
| 34 | (Coefficient.SectionTensorScalarMap.coefficientSectionTensorScalarMap a c M q hq).comp |
| 35 | ((Coefficient.SectionFrameCriterion.coefficientSectionLinearCombination c M s).baseChange B) = |
| 36 | (Coefficient.SectionFrameCriterion.coefficientSectionLinearCombination q ((Scheme.Modules.pullback a).obj M) |
| 37 | (fun i => Ample.LineBundles.pullbackSection a (s i))).comp freeCoefficientBaseChangeEquiv.toLinearMap := by |
| 38 | apply LinearMap.ext |
| 39 | intro z |
| 40 | obtain ⟨x, rfl⟩ := (freeCoefficientBaseChangeEquiv (R := R) (B := B) (κ := κ)).symm.surjective z |
| 41 | have he : (Coefficient.SectionTensorScalarMap.coefficientSectionTensorScalarMap a c M q hq).comp |
| 42 | (((Coefficient.SectionFrameCriterion.coefficientSectionLinearCombination c M s).baseChange B).comp |
| 43 | freeCoefficientBaseChangeEquiv.symm.toLinearMap) = |
| 44 | Coefficient.SectionFrameCriterion.coefficientSectionLinearCombination q ((Scheme.Modules.pullback a).obj M) |
| 45 | (fun i => Ample.LineBundles.pullbackSection a (s i)) := by |
| 46 | apply Finsupp.lhom_ext |
| 47 | intro i b |
| 48 | have hx : Finsupp.single i b = b • Finsupp.single i (1 : B) := by |
| 49 | rw [Finsupp.smul_single', mul_one] |
| 50 | rw [hx, map_smul, map_smul] |
| 51 | apply congrArg (fun w => b • w) |
| 52 | change Coefficient.SectionTensorScalarMap.coefficientSectionTensorScalarMap a c M q hq |
| 53 | (((Coefficient.SectionFrameCriterion.coefficientSectionLinearCombination c M s).baseChange B) |
| 54 | (freeCoefficientBaseChangeEquiv.symm (Finsupp.single i 1))) = _ |
| 55 | rw [freeCoefficientBaseChangeEquiv_symm_single] |
| 56 | change Coefficient.SectionTensorScalarMap.coefficientSectionTensorScalarMap a c M q hq |
| 57 | ((1 : B) ⊗ₜ[R] Coefficient.SectionFrameCriterion.coefficientSectionLinearCombination c M s (Finsupp.single i 1)) = _ |
| 58 | rw [Coefficient.SectionFrameCriterion.coefficientSectionLinearCombination_single, Coefficient.SectionTensorScalarMap.coefficientSectionTensorScalarMap_section, |
| 59 | one_smul, Coefficient.SectionFrameCriterion.coefficientSectionLinearCombination_single] |
| 60 | exact (LinearMap.congr_fun he x).trans |
| 61 | (congrArg (Coefficient.SectionFrameCriterion.coefficientSectionLinearCombination q ((Scheme.Modules.pullback a).obj M) |
| 62 | (fun i => Ample.LineBundles.pullbackSection a (s i))) |
| 63 | (freeCoefficientBaseChangeEquiv.apply_symm_apply x).symm) |
| 64 | |
| 65 | end |
| 66 | |
| 67 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.SectionCoefficientBasisChange |