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.Quotients.FiniteDescent.CartesianBundle |
| 2 | import OAI.AlgebraicGeometry.Quotients.FiniteDescent.PullbackSectionCongr |
| 3 | import Mathlib.AlgebraicGeometry.Restrict |
| 4 | |
| 5 | /-! # Base Changed -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.Quotients.FiniteDescent.BaseChanged |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Transport of actual line-bundle frames along axis squares, rational |
| 12 | fibers, and Cartesian models of an open inverse image. -/ |
| 13 | |
| 14 | set_option backward.isDefEq.respectTransparency false |
| 15 | |
| 16 | open _root_.AlgebraicGeometry _root_.CategoryTheory _root_.CategoryTheory.Limits |
| 17 | |
| 18 | universe u |
| 19 | |
| 20 | namespace Construction.BaseChangedBundleFrames |
| 21 | |
| 22 | def axis {X Y X' Y' : Scheme.{u}} (i : Y ⟶ X) (p : X' ⟶ X) (q : Y' ⟶ Y) (j : Y' ⟶ X') |
| 23 | (h : q ≫ i = j ≫ p) (M : X.Modules) |
| 24 | (e : (Scheme.Modules.pullback i).obj M ≅ AbelianModuli.HilbertConstruction.Line.Bundles.structureModule Y) : |
| 25 | (Scheme.Modules.pullback j).obj ((Scheme.Modules.pullback p).obj M) ≅ AbelianModuli.HilbertConstruction.Line.Bundles.structureModule Y' := |
| 26 | (PullbackSectionCongr.Construction.PullbackSectionSquare.iso i p q j h M).symm ≪≫ |
| 27 | (Scheme.Modules.pullback q).mapIso e ≪≫ AbelianModuli.HilbertConstruction.Line.Bundles.structureModulePullbackIso q |
| 28 | |
| 29 | def fiber {X Y S T B : Scheme.{u}} (p : Y ⟶ X) (π : X ⟶ S) (ρ : Y ⟶ T) (t : T ⟶ S) |
| 30 | (h : IsPullback p ρ π t) (s : B ⟶ T) (s₀ : B ⟶ S) (hs : s ≫ t = s₀) (M : X.Modules) |
| 31 | (e : (Scheme.Modules.pullback (pullback.fst π s₀)).obj M ≅ AbelianModuli.HilbertConstruction.Line.Bundles.structureModule (pullback π s₀)) : |
| 32 | (Scheme.Modules.pullback (pullback.fst ρ s)).obj ((Scheme.Modules.pullback p).obj M) ≅ |
| 33 | AbelianModuli.HilbertConstruction.Line.Bundles.structureModule (pullback ρ s) := by |
| 34 | have H : IsPullback (pullback.fst ρ s ≫ p) (pullback.snd ρ s) π s₀ := by |
| 35 | rw [← hs] |
| 36 | exact (IsPullback.of_hasPullback ρ s).paste_horiz h |
| 37 | exact (Scheme.Modules.pullbackComp (pullback.fst ρ s) p).app M ≪≫ |
| 38 | CartesianBundle.Construction.CartesianBundleTriviality.iso (pullback.fst ρ s ≫ p) π (pullback.snd ρ s) s₀ H M e |
| 39 | |
| 40 | def openFrame {X Y S : Scheme.{u}} (p : Y ⟶ X) (π : X ⟶ S) (U : S.Opens) |
| 41 | (ρ : Y ⟶ U.toScheme) (h : IsPullback p ρ π U.ι) (M : X.Modules) |
| 42 | (e : (Scheme.Modules.pullback p).obj M ≅ AbelianModuli.HilbertConstruction.Line.Bundles.structureModule Y) : |
| 43 | (Scheme.Modules.pullback (π ⁻¹ᵁ U).ι).obj M ≅ AbelianModuli.HilbertConstruction.Line.Bundles.structureModule (π ⁻¹ᵁ U).toScheme := by |
| 44 | let E : Y ≅ (π ⁻¹ᵁ U).toScheme := h.isoPullback ≪≫ pullbackRestrictIsoRestrict π U |
| 45 | have hE : E.hom ≫ (π ⁻¹ᵁ U).ι = p := by |
| 46 | simp only [E, Iso.trans_hom, Category.assoc, pullbackRestrictIsoRestrict_hom_ι, |
| 47 | h.isoPullback_hom_fst] |
| 48 | have hi : E.inv ≫ p = (π ⁻¹ᵁ U).ι := by |
| 49 | apply (cancel_epi E.hom).mp |
| 50 | rw [← Category.assoc, E.hom_inv_id, Category.id_comp, hE] |
| 51 | exact (Scheme.Modules.pullbackCongr hi.symm).app M ≪≫ |
| 52 | ((Scheme.Modules.pullbackComp E.inv p).app M).symm ≪≫ |
| 53 | (Scheme.Modules.pullback E.inv).mapIso e ≪≫ AbelianModuli.HilbertConstruction.Line.Bundles.structureModulePullbackIso E.inv |
| 54 | |
| 55 | end Construction.BaseChangedBundleFrames |
| 56 | |
| 57 | end |
| 58 | |
| 59 | end OAI.AlgebraicGeometry.Quotients.FiniteDescent.BaseChanged |