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.AbelianScheme.IsogenyQuotient.FramedTraceBaseChange |
| 2 | import OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.NormSquareComposition |
| 3 | |
| 4 | /-! # Trace Square Composition -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.TraceSquareComposition.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Trace sections agree under successive base changes, including |
| 11 | the canonical comparison between iterated and composite pullbacks. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 14 | |
| 15 | universe u v |
| 16 | |
| 17 | def traceSquareSection {X Y X' Y' : Scheme.{u}} |
| 18 | (q : X ⟶ Y) (q' : X' ⟶ Y') (j : X' ⟶ X) (i : Y' ⟶ Y) |
| 19 | (h : j ≫ q = q' ≫ i) (L : AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle Y) |
| 20 | (e : AbelianModuli.HilbertConstruction.Line.Bundles.structureModule Y' ≅ (L.pullback i).sheaf) |
| 21 | (z : AbelianModuli.HilbertConstruction.Line.Bundles.structureModule X ⟶ (L.pullback q).sheaf) : |
| 22 | AbelianModuli.HilbertConstruction.Line.Bundles.structureModule Y' ⟶ (L.pullback i).sheaf := |
| 23 | FramedTraceSection.Construction.framedTraceSection q' e.hom (SquareSectionComposition.Construction.pullbackSquareSection q q' j i h z) |
| 24 | |
| 25 | set_option backward.isDefEq.respectTransparency false in |
| 26 | theorem traceSquareSection_comp |
| 27 | {X Y X₁ Y₁ X₂ Y₂ : Scheme.{u}} |
| 28 | [IsAffine X₁] [IsAffine Y₁] [IsAffine X₂] [IsAffine Y₂] |
| 29 | (q : X ⟶ Y) (q₁ : X₁ ⟶ Y₁) (q₂ : X₂ ⟶ Y₂) |
| 30 | (j₁ : X₁ ⟶ X) (i₁ : Y₁ ⟶ Y) (j₂ : X₂ ⟶ X₁) (i₂ : Y₂ ⟶ Y₁) |
| 31 | (h₁ : j₁ ≫ q = q₁ ≫ i₁) (hs : IsPullback j₂ q₂ q₁ i₂) |
| 32 | (hc : (j₂ ≫ j₁) ≫ q = q₂ ≫ (i₂ ≫ i₁)) |
| 33 | {ι : Type v} [Fintype ι] |
| 34 | (b : letI := q₁.appTop.hom.toAlgebra; Module.Basis ι Γ(Y₁, ⊤) Γ(X₁, ⊤)) |
| 35 | (L : AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle Y) (e : AbelianModuli.HilbertConstruction.Line.Bundles.structureModule Y₁ ≅ (L.pullback i₁).sheaf) |
| 36 | (z : AbelianModuli.HilbertConstruction.Line.Bundles.structureModule X ⟶ (L.pullback q).sheaf) : |
| 37 | AbelianModuli.HilbertConstruction.Ample.LineBundles.pullbackSection i₂ (traceSquareSection q q₁ j₁ i₁ h₁ L e z) ≫ |
| 38 | (Scheme.Modules.pullbackComp i₂ i₁).hom.app L.sheaf = |
| 39 | traceSquareSection q q₂ (j₂ ≫ j₁) (i₂ ≫ i₁) hc L |
| 40 | (NormSquareComposition.Construction.compositeNormFrame i₁ i₂ L e) z := by |
| 41 | let z₁ := SquareSectionComposition.Construction.pullbackSquareSection q q₁ j₁ i₁ h₁ z |
| 42 | let z₂ := SquareSectionComposition.Construction.pullbackSquareSection q₁ q₂ j₂ i₂ hs.w z₁ |
| 43 | let zc := SquareSectionComposition.Construction.pullbackSquareSection q q₂ (j₂ ≫ j₁) (i₂ ≫ i₁) hc z |
| 44 | let c := (Scheme.Modules.pullbackComp i₂ i₁).app L.sheaf |
| 45 | have hbase : AbelianModuli.HilbertConstruction.Ample.LineBundles.pullbackSection i₂ (FramedTraceSection.Construction.framedTraceSection q₁ e.hom z₁) = |
| 46 | FramedTraceSection.Construction.framedTraceSection q₂ (AbelianModuli.HilbertConstruction.Ample.LineBundles.pullbackSection i₂ e.hom) z₂ := |
| 47 | FramedTraceBaseChange.Construction.framedTraceSection_baseChange q₁ q₂ j₂ i₂ hs b e.hom z₁ |
| 48 | have hinput : z₂ ≫ (Scheme.Modules.pullback q₂).map c.hom = zc := |
| 49 | SquareSectionComposition.Construction.pullbackSquareSection_comp q q₁ q₂ j₁ i₁ j₂ i₂ h₁ hs.w hc z |
| 50 | change AbelianModuli.HilbertConstruction.Ample.LineBundles.pullbackSection i₂ (FramedTraceSection.Construction.framedTraceSection q₁ e.hom z₁) ≫ c.hom = _ |
| 51 | rw [hbase] |
| 52 | exact (FramedTraceSection.Construction.framedTraceSection_mapIso q₂ (AbelianModuli.HilbertConstruction.Ample.LineBundles.pullbackSection i₂ e.hom) c z₂).symm.trans |
| 53 | (congrArg (FramedTraceSection.Construction.framedTraceSection q₂ (NormSquareComposition.Construction.compositeNormFrame i₁ i₂ L e).hom) hinput) |
| 54 | |
| 55 | set_option backward.isDefEq.respectTransparency false in |
| 56 | theorem traceSquareSection_congr {X Y X' Y' : Scheme.{u}} |
| 57 | (q : X ⟶ Y) (q' : X' ⟶ Y') (j j' : X' ⟶ X) (i i' : Y' ⟶ Y) |
| 58 | (h : j ≫ q = q' ≫ i) (h' : j' ≫ q = q' ≫ i') (hj : j = j') (hi : i = i') |
| 59 | (L : AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle Y) (e : AbelianModuli.HilbertConstruction.Line.Bundles.structureModule Y' ≅ (L.pullback i).sheaf) |
| 60 | (e' : AbelianModuli.HilbertConstruction.Line.Bundles.structureModule Y' ≅ (L.pullback i').sheaf) |
| 61 | (z : AbelianModuli.HilbertConstruction.Line.Bundles.structureModule X ⟶ (L.pullback q).sheaf) : |
| 62 | traceSquareSection q q' j i h L e z ≫ |
| 63 | (Scheme.Modules.pullbackCongr hi).hom.app L.sheaf = |
| 64 | traceSquareSection q q' j' i' h' L e' z := by |
| 65 | subst j' |
| 66 | subst i' |
| 67 | simp only [Scheme.Modules.pullbackCongr, eqToIso_refl, Iso.refl_hom, |
| 68 | NatTrans.id_app] |
| 69 | exact FramedTraceSection.Construction.framedTraceSection_frame_independent q' e.hom e'.hom _ |
| 70 | |
| 71 | end |
| 72 | |
| 73 | end OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.TraceSquareComposition.Construction |