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.Scalar.BaseChange |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.NonvanishingFunctorComparison |
| 3 | |
| 4 | /-! # Nonvanishing Base Change -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.LineBundle.NonvanishingBaseChange |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Nonvanishing opens of line-bundle sections commute with arbitrary base change. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 13 | |
| 14 | universe u |
| 15 | |
| 16 | variable {X Y : Scheme.{u}} |
| 17 | |
| 18 | theorem sectionNonvanishing_lineBundle_baseChange (f : X ⟶ Y) (L : Line.Bundles.LineBundle Y) |
| 19 | (s : Line.Bundles.structureModule Y ⟶ L.sheaf) : |
| 20 | Ample.LineBundles.sectionNonvanishing (Ample.LineBundles.pullbackSection f s) = f ⁻¹ᵁ Ample.LineBundles.sectionNonvanishing s := by |
| 21 | ext x |
| 22 | change x ∈ Ample.LineBundles.sectionNonvanishing (Ample.LineBundles.pullbackSection f s) ↔ f x ∈ Ample.LineBundles.sectionNonvanishing s |
| 23 | obtain ⟨U, hxU, ⟨e⟩⟩ := L.locallyTrivial (f x) |
| 24 | let y : (f ⁻¹ᵁ U).toScheme := ⟨x, hxU⟩ |
| 25 | have hc : Ample.LineBundles.sectionNonvanishing (Ample.LineBundles.pullbackSection (f ⁻¹ᵁ U).ι (Ample.LineBundles.pullbackSection f s)) = |
| 26 | Ample.LineBundles.sectionNonvanishing (Ample.LineBundles.pullbackSection (f ∣_ U) (Ample.LineBundles.pullbackSection U.ι s)) := |
| 27 | (NonvanishingFunctorComparison.sectionNonvanishing_pullback_comp f (f ⁻¹ᵁ U).ι s).trans |
| 28 | ((congrArg (fun k : (f ⁻¹ᵁ U).toScheme ⟶ Y => Ample.LineBundles.sectionNonvanishing (Ample.LineBundles.pullbackSection k s)) |
| 29 | (morphismRestrict_ι f U).symm).trans |
| 30 | (NonvanishingFunctorComparison.sectionNonvanishing_pullback_comp U.ι (f ∣_ U) s).symm) |
| 31 | calc |
| 32 | x ∈ Ample.LineBundles.sectionNonvanishing (Ample.LineBundles.pullbackSection f s) ↔ |
| 33 | y ∈ Ample.LineBundles.sectionNonvanishing (Ample.LineBundles.pullbackSection (f ⁻¹ᵁ U).ι (Ample.LineBundles.pullbackSection f s)) := by |
| 34 | rw [Section.Nonvanishing.sectionNonvanishing_pullback (f ⁻¹ᵁ U).ι (Ample.LineBundles.pullbackSection f s)] |
| 35 | rfl |
| 36 | _ ↔ y ∈ Ample.LineBundles.sectionNonvanishing (Ample.LineBundles.pullbackSection (f ∣_ U) (Ample.LineBundles.pullbackSection U.ι s)) := |
| 37 | (congrArg (fun V => y ∈ V) hc).to_iff |
| 38 | _ ↔ (f ∣_ U) y ∈ Ample.LineBundles.sectionNonvanishing (Ample.LineBundles.pullbackSection U.ι s) := by |
| 39 | rw [Scalar.BaseChange.sectionNonvanishing_baseChange_of_frame (f ∣_ U) e.inv (Ample.LineBundles.pullbackSection U.ι s)] |
| 40 | rfl |
| 41 | _ ↔ f x ∈ Ample.LineBundles.sectionNonvanishing s := by |
| 42 | rw [Section.Nonvanishing.sectionNonvanishing_pullback U.ι s] |
| 43 | change ((f ∣_ U) ≫ U.ι) y ∈ Ample.LineBundles.sectionNonvanishing s ↔ f x ∈ Ample.LineBundles.sectionNonvanishing s |
| 44 | rw [morphismRestrict_ι] |
| 45 | rfl |
| 46 | |
| 47 | end |
| 48 | |
| 49 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.LineBundle.NonvanishingBaseChange |