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.EmbeddingFrameCriterion |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Coefficient.SectionBundleTransport |
| 3 | |
| 4 | /-! # Frame Changes -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Section.FrameChanges |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Two complete section families of isomorphic line bundles differ by |
| 11 | an actual invertible coefficient transformation. The transformation |
| 12 | commutes with the section maps and has an explicit inverse. -/ |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 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 Q : X.Modules} |
| 17 | variable (s : ι → (Line.Bundles.structureModule X ⟶ M)) (t : κ → (Line.Bundles.structureModule X ⟶ Q)) |
| 18 | variable (hs : Function.Bijective (Coefficient.SectionFrameCriterion.coefficientSectionLinearCombination c M s)) |
| 19 | variable (ht : Function.Bijective (Coefficient.SectionFrameCriterion.coefficientSectionLinearCombination c Q t)) |
| 20 | variable (e : M ≅ Q) |
| 21 | |
| 22 | def completeSectionFrameChange : (ι →₀ R) ≃ₗ[R] (κ →₀ R) := |
| 23 | (LinearEquiv.ofBijective (Coefficient.SectionFrameCriterion.coefficientSectionLinearCombination c M s) hs).trans |
| 24 | ((Coefficient.SectionBundleTransport.coefficientBundleSectionEquiv c e).trans |
| 25 | (LinearEquiv.ofBijective (Coefficient.SectionFrameCriterion.coefficientSectionLinearCombination c Q t) ht).symm) |
| 26 | |
| 27 | theorem completeSectionFrameChange_commutes (a : ι →₀ R) : |
| 28 | Coefficient.SectionFrameCriterion.coefficientSectionLinearCombination c Q t (completeSectionFrameChange c s t hs ht e a) = |
| 29 | Coefficient.SectionBundleTransport.coefficientBundleSectionEquiv c e (Coefficient.SectionFrameCriterion.coefficientSectionLinearCombination c M s a) := |
| 30 | (LinearEquiv.ofBijective (Coefficient.SectionFrameCriterion.coefficientSectionLinearCombination c Q t) ht).apply_symm_apply _ |
| 31 | |
| 32 | theorem completeSectionFrameChange_inverse (a : ι →₀ R) : |
| 33 | (completeSectionFrameChange c s t hs ht e).symm |
| 34 | (completeSectionFrameChange c s t hs ht e a) = a := |
| 35 | (completeSectionFrameChange c s t hs ht e).symm_apply_apply a |
| 36 | |
| 37 | theorem completeSectionFrameChange_single (i : ι) : |
| 38 | Coefficient.SectionFrameCriterion.coefficientSectionLinearCombination c Q t |
| 39 | (completeSectionFrameChange c s t hs ht e (Finsupp.single i 1)) = |
| 40 | Coefficient.RingSectionBasis.coefficientRingSectionAddEquiv c Q (s i ≫ e.hom) := by |
| 41 | exact (completeSectionFrameChange_commutes c s t hs ht e _).trans |
| 42 | ((congrArg (Coefficient.SectionBundleTransport.coefficientBundleSectionEquiv c e) |
| 43 | (Coefficient.SectionFrameCriterion.coefficientSectionLinearCombination_single c M s i)).trans |
| 44 | (Coefficient.SectionBundleTransport.coefficientRingSectionAddEquiv_postcomp c e.hom (s i)).symm) |
| 45 | |
| 46 | end |
| 47 | |
| 48 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Section.FrameChanges |