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.SectionFrameCriterion |
| 2 | |
| 3 | /-! # Coefficient Transformations -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Section.CoefficientTransformations |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Coefficient vectors form actual linear combinations of sheaf sections. |
| 10 | Changing the coefficient vectors by a linear map composes the corresponding |
| 11 | section map, including families that are not complete. -/ |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 13 | open scoped BigOperators |
| 14 | universe u v w |
| 15 | variable {X : Scheme.{u}} {R : Type u} [CommRing R] {ι : Type v} {κ : Type w} |
| 16 | variable (c : R →+* Γ(X, ⊤)) (M : X.Modules) |
| 17 | |
| 18 | def coefficientSectionCombination (s : ι → (Line.Bundles.structureModule X ⟶ M)) (a : ι →₀ R) : |
| 19 | Line.Bundles.structureModule X ⟶ M := |
| 20 | (Coefficient.RingSectionBasis.coefficientRingSectionAddEquiv c M).symm (Coefficient.SectionFrameCriterion.coefficientSectionLinearCombination c M s a) |
| 21 | |
| 22 | theorem coefficientSectionCombination_value (s : ι → (Line.Bundles.structureModule X ⟶ M)) (a : ι →₀ R) : |
| 23 | Coefficient.RingSectionBasis.coefficientRingSectionAddEquiv c M (coefficientSectionCombination c M s a) = |
| 24 | Coefficient.SectionFrameCriterion.coefficientSectionLinearCombination c M s a := |
| 25 | (Coefficient.RingSectionBasis.coefficientRingSectionAddEquiv c M).apply_symm_apply _ |
| 26 | |
| 27 | theorem coefficientSectionCombination_single (s : ι → (Line.Bundles.structureModule X ⟶ M)) (i : ι) : |
| 28 | coefficientSectionCombination c M s (Finsupp.single i 1) = s i := by |
| 29 | apply (Coefficient.RingSectionBasis.coefficientRingSectionAddEquiv c M).injective |
| 30 | exact (coefficientSectionCombination_value c M s _).trans |
| 31 | (Coefficient.SectionFrameCriterion.coefficientSectionLinearCombination_single c M s i) |
| 32 | |
| 33 | theorem coefficientSectionCombination_sum (s : ι → (Line.Bundles.structureModule X ⟶ M)) (a : ι →₀ R) : |
| 34 | coefficientSectionCombination c M s a = ∑ i ∈ a.support, Scalar.SectionValues.scalarSection (c (a i)) (s i) := by |
| 35 | apply (Coefficient.RingSectionBasis.coefficientRingSectionAddEquiv c M).injective |
| 36 | rw [coefficientSectionCombination_value, map_sum] |
| 37 | simp only [Coefficient.RingSectionBasis.coefficientRingSectionAddEquiv_scalar] |
| 38 | rfl |
| 39 | |
| 40 | def transformSectionFamily (s : ι → (Line.Bundles.structureModule X ⟶ M)) (T : (κ →₀ R) →ₗ[R] (ι →₀ R)) : |
| 41 | κ → (Line.Bundles.structureModule X ⟶ M) := fun i => coefficientSectionCombination c M s (T (Finsupp.single i 1)) |
| 42 | |
| 43 | private theorem freeCoefficientMap_reconstruct {V : Type*} [AddCommGroup V] [Module R V] |
| 44 | (f : (κ →₀ R) →ₗ[R] V) : |
| 45 | Finsupp.linearCombination R (fun i => f (Finsupp.single i 1)) = f := by |
| 46 | apply Finsupp.lhom_ext |
| 47 | intro i r |
| 48 | rw [Finsupp.linearCombination_single, ← f.map_smul, Finsupp.smul_single', mul_one] |
| 49 | |
| 50 | theorem transformSectionFamily_linearCombination (s : ι → (Line.Bundles.structureModule X ⟶ M)) |
| 51 | (T : (κ →₀ R) →ₗ[R] (ι →₀ R)) : |
| 52 | Coefficient.SectionFrameCriterion.coefficientSectionLinearCombination c M (transformSectionFamily c M s T) = |
| 53 | (Coefficient.SectionFrameCriterion.coefficientSectionLinearCombination c M s).comp T := by |
| 54 | have hv : (fun i => Coefficient.RingSectionBasis.coefficientRingSectionAddEquiv c M (transformSectionFamily c M s T i)) = |
| 55 | fun i => (Coefficient.SectionFrameCriterion.coefficientSectionLinearCombination c M s).comp T (Finsupp.single i 1) := by |
| 56 | funext i |
| 57 | exact coefficientSectionCombination_value c M s _ |
| 58 | change Finsupp.linearCombination R _ = _ |
| 59 | rw [hv] |
| 60 | exact freeCoefficientMap_reconstruct _ |
| 61 | |
| 62 | theorem coefficientSectionCombination_transform (s : ι → (Line.Bundles.structureModule X ⟶ M)) |
| 63 | (T : (κ →₀ R) →ₗ[R] (ι →₀ R)) (a : κ →₀ R) : |
| 64 | coefficientSectionCombination c M (transformSectionFamily c M s T) a = |
| 65 | coefficientSectionCombination c M s (T a) := by |
| 66 | apply (Coefficient.RingSectionBasis.coefficientRingSectionAddEquiv c M).injective |
| 67 | rw [coefficientSectionCombination_value, coefficientSectionCombination_value, |
| 68 | transformSectionFamily_linearCombination] |
| 69 | rfl |
| 70 | |
| 71 | end |
| 72 | |
| 73 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Section.CoefficientTransformations |