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.Local.LinearSectionCoordinates |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Linear.ProjectiveChartCoordinateChange |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Section.MorphismOpenFrame |
| 4 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Section.PowerLocus |
| 5 | |
| 6 | /-! # Absolute Linear Coordinate Action -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Section.AbsoluteLinearCoordinateAction |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! The actual projective automorphism induced by an invertible |
| 13 | coefficient map takes a section-defined morphism to the morphism defined |
| 14 | by the inverse transformation of its coordinate sections. -/ |
| 15 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 16 | universe u |
| 17 | variable {X S : Scheme.{u}} {M : X.Modules} {n : ℕ} (f : X ⟶ S) |
| 18 | variable (s : Fin (n + 1) → (Line.Bundles.structureModule X ⟶ M)) |
| 19 | variable (hs : ∀ x : X, ∃ i, x ∈ Ample.LineBundles.sectionNonvanishing (s i)) |
| 20 | variable (e : (Fin (n + 1) →₀ Γ(S, ⊤)) ≃ₗ[Γ(S, ⊤)] (Fin (n + 1) →₀ Γ(S, ⊤))) |
| 21 | variable (ht : ∀ x : X, ∃ i, |
| 22 | x ∈ Ample.LineBundles.sectionNonvanishing (CoefficientTransformations.transformSectionFamily f.appTop.hom M s e.symm.toLinearMap i)) |
| 23 | |
| 24 | theorem sectionAbsoluteMorphism_linearCoordinateIso : |
| 25 | SectionsProjectiveMorphism.sectionAbsoluteMorphism f s hs ≫ (Relative.LinearCoordinateIsomorphism.affineLinearCoordinateIso n e).hom.left = |
| 26 | SectionsProjectiveMorphism.sectionAbsoluteMorphism f (CoefficientTransformations.transformSectionFamily f.appTop.hom M s e.symm.toLinearMap) ht := by |
| 27 | let t := CoefficientTransformations.transformSectionFamily f.appTop.hom M s e.symm.toLinearMap |
| 28 | let V (ij : Fin (n + 1) × Fin (n + 1)) : X.Opens := |
| 29 | Ample.LineBundles.sectionNonvanishing (s ij.1) ⊓ Ample.LineBundles.sectionNonvanishing (t ij.2) |
| 30 | let C : Scheme.OpenCover.{0} X := { |
| 31 | I₀ := Fin (n + 1) × Fin (n + 1) |
| 32 | X ij := (V ij).toScheme |
| 33 | f ij := (V ij).ι |
| 34 | mem₀ := by |
| 35 | rw [Scheme.presieve₀_mem_precoverage_iff] |
| 36 | refine ⟨fun x => ?_, inferInstance⟩ |
| 37 | obtain ⟨i, hi⟩ := hs x |
| 38 | obtain ⟨j, hj⟩ := ht x |
| 39 | exact ⟨(i, j), ⟨⟨x, hi, hj⟩, rfl⟩⟩ } |
| 40 | apply C.hom_ext |
| 41 | rintro ⟨i, j⟩ |
| 42 | let U := V (i, j) |
| 43 | have : IsIso (Ample.LineBundles.pullbackSection U.ι (s i)) := |
| 44 | PowerLocus.pullbackSection_isIso_of_le (show U ≤ Ample.LineBundles.sectionNonvanishing (s i) from inf_le_left) (s i) |
| 45 | have : IsIso (Ample.LineBundles.pullbackSection U.ι (t j)) := |
| 46 | PowerLocus.pullbackSection_isIso_of_le (show U ≤ Ample.LineBundles.sectionNonvanishing (t j) from inf_le_right) (t j) |
| 47 | let c := (U.ι ≫ f).appTop.hom |
| 48 | let v := fun k => Frame.Coordinates.frameCoordinate (Ample.LineBundles.pullbackSection U.ι (s i)) (Ample.LineBundles.pullbackSection U.ι (s k)) |
| 49 | let w := GradedCoordinateEvaluation.gradedCoordinateValues (GradedLinearCoordinateIsomorphism.gradedLinearCoordinateMap e.symm.toLinearMap) c v |
| 50 | have hw (k : Fin (n + 1)) : |
| 51 | Frame.Coordinates.frameCoordinate (Ample.LineBundles.pullbackSection U.ι (s i)) (Ample.LineBundles.pullbackSection U.ι (t k)) = w k := |
| 52 | Local.LinearSectionCoordinates.transformedSection_frameCoordinate U.ι f.appTop.hom s e.symm.toLinearMap i k |
| 53 | have hu := Frame.Coordinates.frameCoordinate_isUnit (Ample.LineBundles.pullbackSection U.ι (s i)) (Ample.LineBundles.pullbackSection U.ι (t j)) |
| 54 | let a : Γ(U.toScheme, ⊤)ˣ := hu.unit |
| 55 | have ha : Frame.Coordinates.frameCoordinate (Ample.LineBundles.pullbackSection U.ι (s i)) (Ample.LineBundles.pullbackSection U.ι (t j)) = a := hu.unit_spec.symm |
| 56 | have hj : w j = a := (hw j).symm.trans ha |
| 57 | have hnorm : (fun k => (↑a⁻¹ : Γ(U.toScheme, ⊤)) * w k) = |
| 58 | fun k => Frame.Coordinates.frameCoordinate (Ample.LineBundles.pullbackSection U.ι (t j)) (Ample.LineBundles.pullbackSection U.ι (t k)) := by |
| 59 | funext k |
| 60 | rw [← hw k, Frame.Coordinates.frameCoordinate_change (Ample.LineBundles.pullbackSection U.ι (s i)) |
| 61 | (Ample.LineBundles.pullbackSection U.ι (t j)) (Ample.LineBundles.pullbackSection U.ι (t k)), ha, ← mul_assoc, a.inv_mul, one_mul] |
| 62 | change U.ι ≫ (SectionsProjectiveMorphism.sectionAbsoluteMorphism f s hs ≫ (Relative.LinearCoordinateIsomorphism.affineLinearCoordinateIso n e).hom.left) = |
| 63 | U.ι ≫ SectionsProjectiveMorphism.sectionAbsoluteMorphism f t ht |
| 64 | rw [← Category.assoc, MorphismOpenFrame.sectionAbsoluteMorphism_on_open_frame f s hs U i] |
| 65 | exact (Linear.ProjectiveChartCoordinateChange.projectiveChartMap_linearCoordinates e c v i j |
| 66 | (Frame.Coordinates.frameCoordinate_self (Ample.LineBundles.pullbackSection U.ι (s i))) a hj).trans |
| 67 | ((Framed.ProjectiveMaps.projectiveChartMap_congr c hnorm j _ (Frame.Coordinates.frameCoordinate_self (Ample.LineBundles.pullbackSection U.ι (t j)))).trans |
| 68 | (MorphismOpenFrame.sectionAbsoluteMorphism_on_open_frame f t ht U j).symm) |
| 69 | |
| 70 | end |
| 71 | |
| 72 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Section.AbsoluteLinearCoordinateAction |