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.AbelianModuli.HilbertConstruction.Section.TwistingTransitionValues |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.OpenFrame.PullbackIsomorphism |
| 3 | |
| 4 | /-! # Projective Twisting Frames -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Section.ProjectiveTwistingFrames |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Actual frames and a sheaf isomorphism identify the pullback of the projective twisting line bundle with the line bundle supplying a projective map's generating sections. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 13 | |
| 14 | universe u |
| 15 | |
| 16 | variable {X S : Scheme.{u}} {M : X.Modules} {n : ℕ} (f : X ⟶ S) |
| 17 | variable (s : Fin (n + 1) → (Line.Bundles.structureModule X ⟶ M)) |
| 18 | variable (hs : ∀ x : X, ∃ i, x ∈ Ample.LineBundles.sectionNonvanishing (s i)) |
| 19 | variable (I : HomogeneousIdeal (HilbertScheme.Presentations.Hilbert.Polynomial.GradedHilbert.grading Γ(S, ⊤) n)) (m : X ⟶ Proj (HilbertScheme.Presentations.Graded.Quotient.GradedHilbert.quotientGrading I)) |
| 20 | variable (hm : m ≫ HilbertScheme.Presentations.Projective.Quotient.GradedHilbert.projectiveQuotientInclusion I = SectionsProjectiveMorphism.sectionAbsoluteMorphism f s hs) |
| 21 | |
| 22 | def sectionQuotientTwistingFrames : |
| 23 | CompatibleSheaf.CompatibleSheafFrames ((ProjectiveTwisting.Bundle.projectiveTwistingTransitions I 1).pullback m) M where |
| 24 | frame V i hi := LocalLinearFrames.sectionLocalFrameEquiv (s i.down) V |
| 25 | (hi.trans (QuotientCoordinatePullback.sectionQuotient_coordinate_preimage f s hs I m hm i.down).le) |
| 26 | restrict V W h i hi r := |
| 27 | (FrameCocycles.sectionNaturalFrames s).restrict V W h i.down |
| 28 | (hi.trans (QuotientCoordinatePullback.sectionQuotient_coordinate_preimage f s hs I m hm i.down).le) r |
| 29 | change V i j hi hj r := by |
| 30 | have hsi := hi.trans (QuotientCoordinatePullback.sectionQuotient_coordinate_preimage f s hs I m hm i.down).le |
| 31 | have hsj := hj.trans (QuotientCoordinatePullback.sectionQuotient_coordinate_preimage f s hs I m hm j.down).le |
| 32 | have he : ((((ProjectiveTwisting.Bundle.projectiveTwistingTransitions I 1).pullback m).value V i j hi hj).val) = |
| 33 | ((FrameCocycles.sectionFrameTransitions s).value V i.down j.down hsi hsj).val := |
| 34 | (TwistingTransitionValues.sectionQuotient_twistingTransition f s hs I m hm V i j hi hj hsi).trans |
| 35 | (FrameCocycles.sectionFrameTransitions_value s V i.down j.down hsi hsj).symm |
| 36 | exact (congrArg (fun a : Γ(X, V) => LocalLinearFrames.sectionLocalFrameEquiv (s i.down) V hsi (a * r)) he).trans |
| 37 | ((FrameCocycles.sectionNaturalFrames s).compatible.change V i.down j.down hsi hsj r) |
| 38 | |
| 39 | def sectionQuotientTwistingBundleIso : ((ProjectiveTwisting.Bundle.projectiveTwistingBundle I 1).pullback m).sheaf ≅ M := |
| 40 | OpenFrame.PullbackIsomorphism.lineBundleFromOpenFrames_pullbackIso (ProjectiveTwisting.Bundle.projectiveTwistingTransitions I 1) m (ProjectiveTwisting.Bundle.projectiveTwistingCover I) ≪≫ |
| 41 | Sheaf.FrameRecognition.openFrameSheafRecognitionIso ((ProjectiveTwisting.Bundle.projectiveTwistingTransitions I 1).pullback m) |
| 42 | (sectionQuotientTwistingFrames f s hs I m hm) |
| 43 | (PulledBackFrameTransitions.OpenFrameTransitions.pullback_cover m (ProjectiveTwisting.Bundle.projectiveTwistingCover I)) |
| 44 | |
| 45 | end |
| 46 | |
| 47 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Section.ProjectiveTwistingFrames |