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.SquareSectionComposition |
| 2 | import OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.NormSectionLineIsomorphism |
| 3 | import OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.NormSectionBaseChange |
| 4 | |
| 5 | /-! # Norm Square Composition -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.NormSquareComposition.Construction |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Norm sections transported to the original line-power sheaf agree |
| 12 | under successive affine base changes. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 15 | |
| 16 | universe u v |
| 17 | |
| 18 | def normSquareSection {X Y X' Y' : Scheme.{u}} |
| 19 | (q : X ⟶ Y) (q' : X' ⟶ Y') (j : X' ⟶ X) (i : Y' ⟶ Y) |
| 20 | (h : j ≫ q = q' ≫ i) (L : AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle Y) |
| 21 | (e : AbelianModuli.HilbertConstruction.Line.Bundles.structureModule Y' ≅ (L.pullback i).sheaf) (d : ℕ) |
| 22 | (z : AbelianModuli.HilbertConstruction.Line.Bundles.structureModule X ⟶ (L.pullback q).sheaf) : |
| 23 | AbelianModuli.HilbertConstruction.Line.Bundles.structureModule Y' ⟶ ((L.tensorPower d).pullback i).sheaf := |
| 24 | FramedNormSection.Construction.framedNormSection q' e.hom d (SquareSectionComposition.Construction.pullbackSquareSection q q' j i h z) ≫ |
| 25 | (L.powerBaseChangeIso i d).inv |
| 26 | |
| 27 | def compositeNormFrame {Y Y₁ Y₂ : Scheme.{u}} (i₁ : Y₁ ⟶ Y) (i₂ : Y₂ ⟶ Y₁) |
| 28 | (L : AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle Y) (e : AbelianModuli.HilbertConstruction.Line.Bundles.structureModule Y₁ ≅ (L.pullback i₁).sheaf) : |
| 29 | AbelianModuli.HilbertConstruction.Line.Bundles.structureModule Y₂ ≅ (L.pullback (i₂ ≫ i₁)).sheaf := |
| 30 | (AbelianModuli.HilbertConstruction.Line.Bundles.structureModulePullbackIso i₂).symm ≪≫ (Scheme.Modules.pullback i₂).mapIso e ≪≫ |
| 31 | (Scheme.Modules.pullbackComp i₂ i₁).app L.sheaf |
| 32 | |
| 33 | set_option backward.isDefEq.respectTransparency false in |
| 34 | theorem normSquareSection_comp |
| 35 | {X Y X₁ Y₁ X₂ Y₂ : Scheme.{u}} |
| 36 | [IsAffine X₁] [IsAffine Y₁] [IsAffine X₂] [IsAffine Y₂] |
| 37 | (q : X ⟶ Y) (q₁ : X₁ ⟶ Y₁) (q₂ : X₂ ⟶ Y₂) |
| 38 | (j₁ : X₁ ⟶ X) (i₁ : Y₁ ⟶ Y) (j₂ : X₂ ⟶ X₁) (i₂ : Y₂ ⟶ Y₁) |
| 39 | (h₁ : j₁ ≫ q = q₁ ≫ i₁) (hs : IsPullback j₂ q₂ q₁ i₂) |
| 40 | (hc : (j₂ ≫ j₁) ≫ q = q₂ ≫ (i₂ ≫ i₁)) |
| 41 | {ι : Type v} [Fintype ι] |
| 42 | (b : letI := q₁.appTop.hom.toAlgebra; Module.Basis ι Γ(Y₁, ⊤) Γ(X₁, ⊤)) |
| 43 | (L : AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle Y) (e : AbelianModuli.HilbertConstruction.Line.Bundles.structureModule Y₁ ≅ (L.pullback i₁).sheaf) (d : ℕ) |
| 44 | (z : AbelianModuli.HilbertConstruction.Line.Bundles.structureModule X ⟶ (L.pullback q).sheaf) : |
| 45 | AbelianModuli.HilbertConstruction.Ample.LineBundles.pullbackSection i₂ (normSquareSection q q₁ j₁ i₁ h₁ L e d z) ≫ |
| 46 | (Scheme.Modules.pullbackComp i₂ i₁).hom.app (L.tensorPower d).sheaf = |
| 47 | normSquareSection q q₂ (j₂ ≫ j₁) (i₂ ≫ i₁) hc L (compositeNormFrame i₁ i₂ L e) d z := by |
| 48 | let z₁ := SquareSectionComposition.Construction.pullbackSquareSection q q₁ j₁ i₁ h₁ z |
| 49 | let z₂ := SquareSectionComposition.Construction.pullbackSquareSection q₁ q₂ j₂ i₂ hs.w z₁ |
| 50 | let zc := SquareSectionComposition.Construction.pullbackSquareSection q q₂ (j₂ ≫ j₁) (i₂ ≫ i₁) hc z |
| 51 | let c := (Scheme.Modules.pullbackComp i₂ i₁).app L.sheaf |
| 52 | let n₁ := FramedNormSection.Construction.framedNormSection q₁ e.hom d z₁ |
| 53 | have hbase : AbelianModuli.HilbertConstruction.Ample.LineBundles.pullbackSection i₂ n₁ ≫ AbelianModuli.HilbertConstruction.Power.PullbackComparison.powerPullbackComparison i₂ (L.pullback i₁).sheaf d = |
| 54 | FramedNormSection.Construction.framedNormSection q₂ (AbelianModuli.HilbertConstruction.Ample.LineBundles.pullbackSection i₂ e.hom) d z₂ := |
| 55 | NormSectionBaseChange.Construction.framedNormSection_baseChange q₁ q₂ j₂ i₂ hs b e.hom d z₁ |
| 56 | have hinput : z₂ ≫ (Scheme.Modules.pullback q₂).map c.hom = zc := |
| 57 | SquareSectionComposition.Construction.pullbackSquareSection_comp q q₁ q₂ j₁ i₁ j₂ i₂ h₁ hs.w hc z |
| 58 | have hraw : AbelianModuli.HilbertConstruction.Ample.LineBundles.pullbackSection i₂ n₁ ≫ AbelianModuli.HilbertConstruction.Power.PullbackComparison.powerPullbackComparison i₂ (L.pullback i₁).sheaf d ≫ |
| 59 | AbelianModuli.HilbertConstruction.TensorPower.Maps.tensorPowerMap c.hom d = |
| 60 | FramedNormSection.Construction.framedNormSection q₂ (compositeNormFrame i₁ i₂ L e).hom d zc := by |
| 61 | rw [← Category.assoc, hbase] |
| 62 | exact (NormSectionLineIsomorphism.Construction.framedNormSection_mapIso q₂ (AbelianModuli.HilbertConstruction.Ample.LineBundles.pullbackSection i₂ e.hom) c d z₂).symm.trans |
| 63 | (congrArg (FramedNormSection.Construction.framedNormSection q₂ (compositeNormFrame i₁ i₂ L e).hom d) hinput) |
| 64 | apply (cancel_mono (L.powerBaseChangeIso (i₂ ≫ i₁) d).hom).mp |
| 65 | change (AbelianModuli.HilbertConstruction.Ample.LineBundles.pullbackSection i₂ (n₁ ≫ (L.powerBaseChangeIso i₁ d).inv) ≫ |
| 66 | (Scheme.Modules.pullbackComp i₂ i₁).hom.app (AbelianModuli.HilbertConstruction.TensorPower.PowerSheaf.tensorPowerModule L.sheaf d)) ≫ |
| 67 | AbelianModuli.HilbertConstruction.Power.PullbackComparison.powerPullbackComparison (i₂ ≫ i₁) L.sheaf d = |
| 68 | (FramedNormSection.Construction.framedNormSection q₂ (compositeNormFrame i₁ i₂ L e).hom d zc ≫ |
| 69 | (L.powerBaseChangeIso (i₂ ≫ i₁) d).inv) ≫ (L.powerBaseChangeIso (i₂ ≫ i₁) d).hom |
| 70 | simp only [Category.assoc, Iso.inv_hom_id, Category.comp_id] |
| 71 | rw [AbelianModuli.HilbertConstruction.Power.SectionTransitions.pullbackSection_postcomp] |
| 72 | simp only [Category.assoc] |
| 73 | rw [← AbelianModuli.HilbertConstruction.Power.PullbackComposition.powerPullbackComparison_comp] |
| 74 | change AbelianModuli.HilbertConstruction.Ample.LineBundles.pullbackSection i₂ n₁ ≫ (Scheme.Modules.pullback i₂).map (L.powerBaseChangeIso i₁ d).inv ≫ |
| 75 | (Scheme.Modules.pullback i₂).map (L.powerBaseChangeIso i₁ d).hom ≫ |
| 76 | AbelianModuli.HilbertConstruction.Power.PullbackComparison.powerPullbackComparison i₂ (L.pullback i₁).sheaf d ≫ AbelianModuli.HilbertConstruction.TensorPower.Maps.tensorPowerMap c.hom d = _ |
| 77 | rw [← Functor.map_comp_assoc, Iso.inv_hom_id] |
| 78 | erw [(Scheme.Modules.pullback i₂).map_id] |
| 79 | rw [Category.id_comp] |
| 80 | exact hraw |
| 81 | |
| 82 | end |
| 83 | |
| 84 | end OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.NormSquareComposition.Construction |