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.ArithmeticGeometry.OrdinaryLocus.Openness.LineBundle |
| 2 | import Mathlib.AlgebraicGeometry.Fiber |
| 3 | |
| 4 | /-! # Fiber Triviality Base Change -/ |
| 5 | |
| 6 | namespace OAI.ArithmeticGeometry.OrdinaryLocus.Openness.FiberTrivialityBaseChange.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! A fiber trivialization pulls back along any commuting square of schemes. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 13 | |
| 14 | universe u |
| 15 | |
| 16 | def pullbackTrivialization_comp |
| 17 | {X Y Z : Scheme.{u}} (f : Y ⟶ X) (g : Z ⟶ Y) (L : X.Modules) |
| 18 | (e : (Scheme.Modules.pullback f).obj L ≅ LineBundle.Construction.structureSheafModule Y) : |
| 19 | (Scheme.Modules.pullback (g ≫ f)).obj L ≅ LineBundle.Construction.structureSheafModule Z := |
| 20 | ((Scheme.Modules.pullbackComp g f).app L).symm ≪≫ |
| 21 | (Scheme.Modules.pullback g).mapIso e ≪≫ LineBundle.Construction.pullbackStructureSheafIso g |
| 22 | |
| 23 | def lineBundleFiberMap |
| 24 | {X Y S T : Scheme.{u}} (f : Y ⟶ X) (π : X ⟶ S) (ρ : Y ⟶ T) (g : T ⟶ S) |
| 25 | (h : f ≫ π = ρ ≫ g) (t : T) : ρ.fiber t ⟶ π.fiber (g t) := |
| 26 | pullback.lift (ρ.fiberι t ≫ f) |
| 27 | (ρ.fiberToSpecResidueField t ≫ Spec.map (g.residueFieldMap t)) (by |
| 28 | rw [Category.assoc, h, ← Category.assoc, ρ.fiber_fac, |
| 29 | Category.assoc, Category.assoc, g.SpecMap_residueFieldMap_fromSpecResidueField]) |
| 30 | |
| 31 | theorem lineBundleFiberMap_ι |
| 32 | {X Y S T : Scheme.{u}} (f : Y ⟶ X) (π : X ⟶ S) (ρ : Y ⟶ T) (g : T ⟶ S) |
| 33 | (h : f ≫ π = ρ ≫ g) (t : T) : |
| 34 | lineBundleFiberMap f π ρ g h t ≫ π.fiberι (g t) = ρ.fiberι t ≫ f := |
| 35 | pullback.lift_fst _ _ _ |
| 36 | |
| 37 | def lineBundleFiberTrivialization_baseChange |
| 38 | {X Y S T : Scheme.{u}} (f : Y ⟶ X) (π : X ⟶ S) (ρ : Y ⟶ T) (g : T ⟶ S) |
| 39 | (h : f ≫ π = ρ ≫ g) (L : X.Modules) (t : T) |
| 40 | (e : (Scheme.Modules.pullback (π.fiberι (g t))).obj L ≅ LineBundle.Construction.structureSheafModule (π.fiber (g t))) : |
| 41 | (Scheme.Modules.pullback (ρ.fiberι t)).obj ((Scheme.Modules.pullback f).obj L) ≅ |
| 42 | LineBundle.Construction.structureSheafModule (ρ.fiber t) := |
| 43 | (Scheme.Modules.pullbackComp (ρ.fiberι t) f).app L ≪≫ |
| 44 | (Scheme.Modules.pullbackCongr (lineBundleFiberMap_ι f π ρ g h t).symm).app L ≪≫ |
| 45 | pullbackTrivialization_comp (π.fiberι (g t)) (lineBundleFiberMap f π ρ g h t) L e |
| 46 | |
| 47 | end |
| 48 | |
| 49 | end OAI.ArithmeticGeometry.OrdinaryLocus.Openness.FiberTrivialityBaseChange.Construction |