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.GlobalTraceSection |
| 2 | import OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.Relative.DegreeBaseChange |
| 3 | |
| 4 | /-! # Trace Pullback Frame -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.TracePullbackFrame.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! In characteristic zero, the trace of a pulled-back frame is a |
| 11 | frame. Positivity and invertibility of the local degree are derived |
| 12 | from surjectivity and the map to the field. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 15 | |
| 16 | universe u |
| 17 | variable {X Y : Scheme.{u}} (q : X ⟶ Y) |
| 18 | [IsFinite q] [Flat q] [Surjective q] [LocallyOfFinitePresentation q] |
| 19 | (L : AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle Y) |
| 20 | |
| 21 | omit [IsFinite q] [Flat q] [Surjective q] [LocallyOfFinitePresentation q] in |
| 22 | set_option backward.isDefEq.respectTransparency false in |
| 23 | theorem localTraceSection_pullback_frame_coordinate (U : LocalTraceSections.Construction.TraceFrameOpen q L) |
| 24 | (s : AbelianModuli.HilbertConstruction.Line.Bundles.structureModule Y ⟶ L.sheaf) [IsIso s] : |
| 25 | AbelianModuli.HilbertConstruction.Frame.Coordinates.frameCoordinate (AbelianModuli.HilbertConstruction.Ample.LineBundles.pullbackSection U.2.openSet.ι s) |
| 26 | (LocalTraceSections.Construction.localTraceSection q L U (AbelianModuli.HilbertConstruction.Ample.LineBundles.pullbackSection q s)) = (U.1 : Γ(U.2.openSet.toScheme, ⊤)) := by |
| 27 | let e := AbelianModuli.HilbertConstruction.Ample.LineBundles.pullbackSection U.2.openSet.ι s |
| 28 | have hi : LocalNormSections.Construction.localNormInput U.2.openSet (AbelianModuli.HilbertConstruction.Ample.LineBundles.pullbackSection q s) = |
| 29 | AbelianModuli.HilbertConstruction.Ample.LineBundles.pullbackSection (q ∣_ U.2.openSet) e := |
| 30 | PullbackSectionSquares.Construction.sectionPullbackSquareIso_section q (q ∣_ U.2.openSet) (q ⁻¹ᵁ U.2.openSet).ι |
| 31 | U.2.openSet.ι (morphismRestrict_ι q U.2.openSet).symm s |
| 32 | have ht : LocalTraceSections.Construction.localTraceSection q L U (AbelianModuli.HilbertConstruction.Ample.LineBundles.pullbackSection q s) = |
| 33 | FramedTraceSection.Construction.framedTraceSection (q ∣_ U.2.openSet) e (AbelianModuli.HilbertConstruction.Ample.LineBundles.pullbackSection (q ∣_ U.2.openSet) e) := |
| 34 | (FramedTraceSection.Construction.framedTraceSection_frame_independent (q ∣_ U.2.openSet) U.2.frame.hom e _).trans |
| 35 | (congrArg (FramedTraceSection.Construction.framedTraceSection (q ∣_ U.2.openSet) e) hi) |
| 36 | rw [ht, FramedTraceSection.Construction.framedTraceSection_coordinate, AbelianModuli.HilbertConstruction.Frame.Coordinates.frameCoordinate_self] |
| 37 | simpa only [map_one, Fintype.card_fin, nsmul_eq_mul, mul_one] using |
| 38 | Trace.Construction.schemeTrace_pullback (q ∣_ U.2.openSet) U.2.basis (1 : Γ(U.2.openSet.toScheme, ⊤)) |
| 39 | |
| 40 | set_option backward.isDefEq.respectTransparency false in |
| 41 | theorem finiteFlatTraceSection_pullback_frame_isIso |
| 42 | {k : Type u} [Field k] [CharZero k] (p : Y ⟶ Spec (.of k)) |
| 43 | (s : AbelianModuli.HilbertConstruction.Line.Bundles.structureModule Y ⟶ L.sheaf) [IsIso s] : |
| 44 | IsIso (GlobalTraceSection.Construction.finiteFlatTraceSection q L (AbelianModuli.HilbertConstruction.Ample.LineBundles.pullbackSection q s)) := by |
| 45 | apply (AbelianModuli.HilbertConstruction.Section.Frames.isIso_iff_sectionNonvanishing_eq_top _).mpr |
| 46 | ext y |
| 47 | apply iff_true_intro |
| 48 | obtain ⟨U, hy⟩ := LocalTraceSections.Construction.traceFrameOpens_cover q L y |
| 49 | have : IsAffine U.2.openSet.toScheme := U.2.affine |
| 50 | have : IsAffine (q ⁻¹ᵁ U.2.openSet).toScheme := isAffine_of_isAffineHom (q ∣_ U.2.openSet) |
| 51 | let yU : U.2.openSet.toScheme := ⟨y, hy⟩ |
| 52 | have hd : 0 < U.1 := by |
| 53 | rw [← NormRankBasis.Construction.affine_finrank_eq_basis_card (q ∣_ U.2.openSet) U.2.basis yU, |
| 54 | Scheme.Hom.finrank_of_isPullback _ _ _ _ (isPullback_morphismRestrict q U.2.openSet).flip yU] |
| 55 | exact NormRankBasis.Construction.finiteFlat_surjective_rank_pos q y |
| 56 | have hlocal : yU ∈ AbelianModuli.HilbertConstruction.Ample.LineBundles.sectionNonvanishing (LocalTraceSections.Construction.localTraceSection q L U (AbelianModuli.HilbertConstruction.Ample.LineBundles.pullbackSection q s)) := by |
| 57 | rw [AbelianModuli.HilbertConstruction.Scalar.Nonvanishing.sectionNonvanishing_frameCoordinate (AbelianModuli.HilbertConstruction.Ample.LineBundles.pullbackSection U.2.openSet.ι s), |
| 58 | localTraceSection_pullback_frame_coordinate] |
| 59 | apply (U.2.openSet.toScheme.mem_basicOpen_top _ yU).mpr |
| 60 | simpa only [map_natCast] using |
| 61 | Relative.DegreeBaseChange.Construction.positiveNat_isUnit_on_charZero_field_scheme (U.2.openSet.ι ≫ p) U.1 hd yU |
| 62 | have h := congrArg AbelianModuli.HilbertConstruction.Ample.LineBundles.sectionNonvanishing |
| 63 | (GlobalTraceSection.Construction.finiteFlatTraceSection_restrict q L (AbelianModuli.HilbertConstruction.Ample.LineBundles.pullbackSection q s) U) |
| 64 | rw [AbelianModuli.HilbertConstruction.Section.Nonvanishing.sectionNonvanishing_pullback] at h |
| 65 | exact (congrArg (fun V : U.2.openSet.toScheme.Opens => yU ∈ V) h).mpr hlocal |
| 66 | |
| 67 | end |
| 68 | |
| 69 | end OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.TracePullbackFrame.Construction |