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.Isogenies.NeighborCounting.FramedHom |
| 2 | import OAI.AlgebraicGeometry.Isogenies.NeighborCounting.PullbackUnitCoherence |
| 3 | |
| 4 | /-! # Framed Pullback -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Isogenies.NeighborCounting.FramedPullback |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Morphism coordinates under iterated native pullback and equal |
| 11 | composite scheme morphisms. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 14 | |
| 15 | universe u |
| 16 | |
| 17 | open OAI.AlgebraicGeometry.Isogenies.NeighborCounting.FramedHom OAI.AlgebraicGeometry.Isogenies.NeighborCounting.PullbackUnitCoherence |
| 18 | |
| 19 | variable {X Y Z : Scheme.{u}} (f : X ⟶ Y) (g : Y ⟶ Z) |
| 20 | variable {M N : Z.Modules} |
| 21 | |
| 22 | theorem pullbackFrame_comp (eM : M ≅ ArithmeticGeometry.OrdinaryLocus.Openness.LineBundle.Construction.structureSheafModule Z) : |
| 23 | FramedHom.pullbackFrame f (FramedHom.pullbackFrame g eM) = |
| 24 | (Scheme.Modules.pullbackComp f g).app M ≪≫ FramedHom.pullbackFrame (f ≫ g) eM := by |
| 25 | apply Iso.ext |
| 26 | let Lf := Scheme.Modules.pullback f |
| 27 | let Lg := Scheme.Modules.pullback g |
| 28 | let L := Scheme.Modules.pullback (f ≫ g) |
| 29 | let c := Scheme.Modules.pullbackComp f g |
| 30 | change Lf.map (Lg.map eM.hom ≫ (ArithmeticGeometry.OrdinaryLocus.Openness.LineBundle.Construction.pullbackStructureSheafIso g).hom) ≫ |
| 31 | (ArithmeticGeometry.OrdinaryLocus.Openness.LineBundle.Construction.pullbackStructureSheafIso f).hom = |
| 32 | c.hom.app M ≫ (L.map eM.hom ≫ (ArithmeticGeometry.OrdinaryLocus.Openness.LineBundle.Construction.pullbackStructureSheafIso (f ≫ g)).hom) |
| 33 | rw [Lf.map_comp, Category.assoc, ← PullbackUnitCoherence.pullbackStructureSheafIso_comp] |
| 34 | change (Lg ⋙ Lf).map eM.hom ≫ |
| 35 | (c.hom.app (ArithmeticGeometry.OrdinaryLocus.Openness.LineBundle.Construction.structureSheafModule Z) ≫ (ArithmeticGeometry.OrdinaryLocus.Openness.LineBundle.Construction.pullbackStructureSheafIso (f ≫ g)).hom) = _ |
| 36 | rw [← Category.assoc, c.hom.naturality, Category.assoc] |
| 37 | |
| 38 | def pullbackHomTo (p : X ⟶ Z) (h : f ≫ g = p) |
| 39 | (q : (Scheme.Modules.pullback g).obj M ⟶ (Scheme.Modules.pullback g).obj N) : |
| 40 | (Scheme.Modules.pullback p).obj M ⟶ (Scheme.Modules.pullback p).obj N := |
| 41 | ((Scheme.Modules.pullbackComp f g ≪≫ Scheme.Modules.pullbackCongr h).app M).inv ≫ |
| 42 | (Scheme.Modules.pullback f).map q ≫ |
| 43 | ((Scheme.Modules.pullbackComp f g ≪≫ Scheme.Modules.pullbackCongr h).app N).hom |
| 44 | |
| 45 | def pullbackIsoTo (p : X ⟶ Z) (h : f ≫ g = p) |
| 46 | (e : (Scheme.Modules.pullback g).obj M ≅ (Scheme.Modules.pullback g).obj N) : |
| 47 | (Scheme.Modules.pullback p).obj M ≅ (Scheme.Modules.pullback p).obj N := |
| 48 | ((Scheme.Modules.pullbackComp f g ≪≫ Scheme.Modules.pullbackCongr h).app M).symm ≪≫ |
| 49 | (Scheme.Modules.pullback f).mapIso e ≪≫ |
| 50 | ((Scheme.Modules.pullbackComp f g ≪≫ Scheme.Modules.pullbackCongr h).app N) |
| 51 | |
| 52 | theorem pullbackIsoTo_hom (p : X ⟶ Z) (h : f ≫ g = p) |
| 53 | (e : (Scheme.Modules.pullback g).obj M ≅ (Scheme.Modules.pullback g).obj N) : |
| 54 | (pullbackIsoTo f g p h e).hom = pullbackHomTo f g p h e.hom := |
| 55 | Category.assoc _ _ _ |
| 56 | |
| 57 | theorem framedCoefficient_pullbackHomTo |
| 58 | (eM : M ≅ ArithmeticGeometry.OrdinaryLocus.Openness.LineBundle.Construction.structureSheafModule Z) (eN : N ≅ ArithmeticGeometry.OrdinaryLocus.Openness.LineBundle.Construction.structureSheafModule Z) |
| 59 | (p : X ⟶ Z) (h : f ≫ g = p) |
| 60 | (q : (Scheme.Modules.pullback g).obj M ⟶ (Scheme.Modules.pullback g).obj N) : |
| 61 | FramedHom.framedCoefficient (FramedHom.pullbackFrame p eM) (FramedHom.pullbackFrame p eN) (pullbackHomTo f g p h q) = |
| 62 | f.appTop (FramedHom.framedCoefficient (FramedHom.pullbackFrame g eM) (FramedHom.pullbackFrame g eN) q) := by |
| 63 | subst p |
| 64 | have hc := FramedHom.framedCoefficient_pullback (FramedHom.pullbackFrame g eM) (FramedHom.pullbackFrame g eN) f q |
| 65 | rw [pullbackFrame_comp, pullbackFrame_comp, FramedHom.framedCoefficient_congr] at hc |
| 66 | exact hc |
| 67 | |
| 68 | end |
| 69 | |
| 70 | end OAI.AlgebraicGeometry.Isogenies.NeighborCounting.FramedPullback |