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.NormSectionBaseChange |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.LineBundle.NonvanishingBaseChange |
| 3 | import OAI.AlgebraicGeometry.Quotients.FiniteDescent.AffineBasis |
| 4 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Affine.Frames |
| 5 | |
| 6 | /-! # Local Norm Sections -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.LocalNormSections.Construction |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! Actual local norm sections on affine opens of a finite morphism. |
| 13 | Their input is the original global section, transported through the |
| 14 | canonical restriction square. -/ |
| 15 | |
| 16 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 17 | |
| 18 | open OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.LineBundle.NonvanishingBaseChange |
| 19 | |
| 20 | universe u |
| 21 | variable {X Y : Scheme.{u}} (q : X ⟶ Y) [IsFinite q] (L : AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle Y) (d : ℕ) |
| 22 | |
| 23 | structure NormFrameOpen where |
| 24 | openSet : Y.Opens |
| 25 | affine : IsAffineOpen openSet |
| 26 | basis : letI := (q ∣_ openSet).appTop.hom.toAlgebra |
| 27 | Module.Basis (Fin d) Γ(openSet.toScheme, ⊤) Γ((q ⁻¹ᵁ openSet).toScheme, ⊤) |
| 28 | frame : AbelianModuli.HilbertConstruction.Line.Bundles.structureModule openSet.toScheme ≅ (L.pullback openSet.ι).sheaf |
| 29 | |
| 30 | variable {q L d} |
| 31 | |
| 32 | def localNormInput (U : Y.Opens) |
| 33 | (z : AbelianModuli.HilbertConstruction.Line.Bundles.structureModule X ⟶ (L.pullback q).sheaf) : |
| 34 | AbelianModuli.HilbertConstruction.Line.Bundles.structureModule (q ⁻¹ᵁ U).toScheme ⟶ ((L.pullback U.ι).pullback (q ∣_ U)).sheaf := |
| 35 | AbelianModuli.HilbertConstruction.Ample.LineBundles.pullbackSection (q ⁻¹ᵁ U).ι z ≫ |
| 36 | (PullbackSectionSquares.Construction.sectionPullbackSquareIso q (q ∣_ U) (q ⁻¹ᵁ U).ι U.ι |
| 37 | (morphismRestrict_ι q U).symm L.sheaf).hom |
| 38 | |
| 39 | def localNormSection (U : NormFrameOpen q L d) |
| 40 | (z : AbelianModuli.HilbertConstruction.Line.Bundles.structureModule X ⟶ (L.pullback q).sheaf) : |
| 41 | AbelianModuli.HilbertConstruction.Line.Bundles.structureModule U.openSet.toScheme ⟶ ((L.tensorPower d).pullback U.openSet.ι).sheaf := |
| 42 | FramedNormSection.Construction.framedNormSection (q ∣_ U.openSet) U.frame.hom d (localNormInput U.openSet z) ≫ |
| 43 | (L.powerBaseChangeIso U.openSet.ι d).inv |
| 44 | |
| 45 | omit [IsFinite q] in |
| 46 | theorem localNormInput_nonvanishing (U : Y.Opens) |
| 47 | (z : AbelianModuli.HilbertConstruction.Line.Bundles.structureModule X ⟶ (L.pullback q).sheaf) : |
| 48 | AbelianModuli.HilbertConstruction.Ample.LineBundles.sectionNonvanishing (localNormInput U z) = (q ⁻¹ᵁ U).ι ⁻¹ᵁ AbelianModuli.HilbertConstruction.Ample.LineBundles.sectionNonvanishing z := |
| 49 | (AbelianModuli.HilbertConstruction.Ample.Powers.sectionNonvanishing_comp_iso (AbelianModuli.HilbertConstruction.Ample.LineBundles.pullbackSection (q ⁻¹ᵁ U).ι z) |
| 50 | (PullbackSectionSquares.Construction.sectionPullbackSquareIso q (q ∣_ U) (q ⁻¹ᵁ U).ι U.ι |
| 51 | (morphismRestrict_ι q U).symm L.sheaf)).trans |
| 52 | (AbelianModuli.HilbertConstruction.Section.Nonvanishing.sectionNonvanishing_pullback (q ⁻¹ᵁ U).ι z) |
| 53 | |
| 54 | set_option backward.isDefEq.respectTransparency false in |
| 55 | theorem localNormSection_mem_nonvanishing (U : NormFrameOpen q L d) |
| 56 | (z : AbelianModuli.HilbertConstruction.Line.Bundles.structureModule X ⟶ (L.pullback q).sheaf) (y : U.openSet.toScheme) : |
| 57 | y ∈ AbelianModuli.HilbertConstruction.Ample.LineBundles.sectionNonvanishing (localNormSection U z) ↔ |
| 58 | ∀ x : X, q x = U.openSet.ι y → x ∈ AbelianModuli.HilbertConstruction.Ample.LineBundles.sectionNonvanishing z := by |
| 59 | have : IsAffine U.openSet.toScheme := U.affine |
| 60 | have : IsAffine (q ⁻¹ᵁ U.openSet).toScheme := isAffine_of_isAffineHom (q ∣_ U.openSet) |
| 61 | have hD : AbelianModuli.HilbertConstruction.Ample.LineBundles.sectionNonvanishing (localNormSection U z) = |
| 62 | AbelianModuli.HilbertConstruction.Ample.LineBundles.sectionNonvanishing (FramedNormSection.Construction.framedNormSection (q ∣_ U.openSet) U.frame.hom d (localNormInput U.openSet z)) := |
| 63 | AbelianModuli.HilbertConstruction.Ample.Powers.sectionNonvanishing_comp_iso _ (L.powerBaseChangeIso U.openSet.ι d).symm |
| 64 | rw [hD, FramedNormSection.Construction.framedNormSection_mem_nonvanishing (q ∣_ U.openSet) U.basis, |
| 65 | localNormInput_nonvanishing] |
| 66 | constructor |
| 67 | · intro h x hx |
| 68 | have hxU : x ∈ q ⁻¹ᵁ U.openSet := |
| 69 | (congrArg (fun y : Y => y ∈ U.openSet) hx).mpr y.property |
| 70 | have hy : (q ∣_ U.openSet) (⟨x, hxU⟩ : (q ⁻¹ᵁ U.openSet).toScheme) = y := by |
| 71 | apply U.openSet.ι.isOpenEmbedding.injective |
| 72 | exact (congrArg (fun f => f (⟨x, hxU⟩ : (q ⁻¹ᵁ U.openSet).toScheme)) |
| 73 | (morphismRestrict_ι q U.openSet)).trans hx |
| 74 | exact h ⟨x, hxU⟩ hy |
| 75 | · intro h x hx |
| 76 | exact h x.val ((congrArg (fun f => f x) (morphismRestrict_ι q U.openSet)).symm.trans |
| 77 | (congrArg U.openSet.ι hx)) |
| 78 | |
| 79 | end |
| 80 | |
| 81 | end OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.LocalNormSections.Construction |