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.ProjectiveBaseChange |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Power.SectionTransitions |
| 3 | |
| 4 | /-! # Projective Target Iso -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Section.ProjectiveTargetIso |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Changing the sheaf presentation of a line bundle preserves the |
| 11 | projective morphism defined by its transported sections. -/ |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 13 | universe u |
| 14 | set_option backward.isDefEq.respectTransparency false |
| 15 | set_option backward.isDefEq.respectTransparency.types false |
| 16 | variable {S X : Scheme.{u}} {M Q : X.Modules} {n : ℕ} |
| 17 | |
| 18 | theorem sectionProjectiveMorphism_congr (f : X ⟶ S) |
| 19 | {s t : Fin (n + 1) → (Line.Bundles.structureModule X ⟶ M)} (h : s = t) |
| 20 | (hs : ∀ x : X, ∃ i, x ∈ Ample.LineBundles.sectionNonvanishing (s i)) |
| 21 | (ht : ∀ x : X, ∃ i, x ∈ Ample.LineBundles.sectionNonvanishing (t i)) : |
| 22 | SectionsProjectiveMorphism.sectionProjectiveMorphism f s hs = SectionsProjectiveMorphism.sectionProjectiveMorphism f t ht := by |
| 23 | subst t |
| 24 | rfl |
| 25 | |
| 26 | theorem sections_compIso_covers (e : M ≅ Q) |
| 27 | (s : Fin (n + 1) → (Line.Bundles.structureModule X ⟶ M)) |
| 28 | (hs : ∀ x : X, ∃ i, x ∈ Ample.LineBundles.sectionNonvanishing (s i)) : |
| 29 | ∀ x : X, ∃ i, x ∈ Ample.LineBundles.sectionNonvanishing (s i ≫ e.hom) := by |
| 30 | intro x |
| 31 | obtain ⟨i, hi⟩ := hs x |
| 32 | exact ⟨i, (Ample.Powers.sectionNonvanishing_comp_iso (s i) e).symm ▸ hi⟩ |
| 33 | |
| 34 | theorem sectionAbsoluteMorphism_targetIso (f : X ⟶ S) (e : M ≅ Q) |
| 35 | (s : Fin (n + 1) → (Line.Bundles.structureModule X ⟶ M)) |
| 36 | (hs : ∀ x : X, ∃ i, x ∈ Ample.LineBundles.sectionNonvanishing (s i)) |
| 37 | (ht : ∀ x : X, ∃ i, x ∈ Ample.LineBundles.sectionNonvanishing (s i ≫ e.hom)) : |
| 38 | SectionsProjectiveMorphism.sectionAbsoluteMorphism f s hs = |
| 39 | SectionsProjectiveMorphism.sectionAbsoluteMorphism f (fun i => s i ≫ e.hom) ht := by |
| 40 | apply (SectionsProjectiveMorphism.sectionOpenCover s hs).hom_ext |
| 41 | intro i |
| 42 | change Fin (n + 1) at i |
| 43 | let U := Ample.LineBundles.sectionNonvanishing (s i) |
| 44 | let V := Ample.LineBundles.sectionNonvanishing (s i ≫ e.hom) |
| 45 | have hUV : U = V := (Ample.Powers.sectionNonvanishing_comp_iso (s i) e).symm |
| 46 | let a : U.toScheme ⟶ V.toScheme := (X.isoOfEq hUV).hom |
| 47 | have ha : a ≫ V.ι = U.ι := X.isoOfEq_hom_ι hUV |
| 48 | let : IsIso (Ample.LineBundles.pullbackSection U.ι (s i ≫ e.hom)) := by |
| 49 | rw [Power.SectionTransitions.pullbackSection_postcomp] |
| 50 | infer_instance |
| 51 | calc |
| 52 | U.ι ≫ SectionsProjectiveMorphism.sectionAbsoluteMorphism f s hs = ChartOverlaps.sectionAbsoluteChart f s i := |
| 53 | SectionsProjectiveMorphism.sectionAbsoluteMorphism_restrict f s hs i |
| 54 | _ = a ≫ ChartOverlaps.sectionAbsoluteChart f (fun k => s k ≫ e.hom) i := by |
| 55 | symm |
| 56 | refine (ChartArbitraryPullback.sectionAbsoluteChart_arbitraryPullback f (fun k => s k ≫ e.hom) i a).trans ?_ |
| 57 | apply Framed.ProjectiveMaps.projectiveChartMap_congr_coefficients |
| 58 | · exact congrArg (fun q => (q ≫ f).appTop.hom) ha |
| 59 | · funext k |
| 60 | exact (Frame.PullbackCoherence.frameCoordinate_pullbackCongr ha (s i ≫ e.hom) (s k ≫ e.hom)).trans |
| 61 | ((Power.SectionTransitions.frameCoordinate_pullback_postcomp U.ι (s i) (s i ≫ e.hom) e.hom rfl (s k)).trans |
| 62 | (Frame.Coordinates.sectionRatio_eq_frameCoordinate (s i) (s k)).symm) |
| 63 | _ = U.ι ≫ SectionsProjectiveMorphism.sectionAbsoluteMorphism f (fun k => s k ≫ e.hom) ht := by |
| 64 | rw [← SectionsProjectiveMorphism.sectionAbsoluteMorphism_restrict f (fun k => s k ≫ e.hom) ht i, |
| 65 | ← Category.assoc, ha] |
| 66 | |
| 67 | theorem sectionProjectiveMorphism_targetIso (f : X ⟶ S) (e : M ≅ Q) |
| 68 | (s : Fin (n + 1) → (Line.Bundles.structureModule X ⟶ M)) |
| 69 | (hs : ∀ x : X, ∃ i, x ∈ Ample.LineBundles.sectionNonvanishing (s i)) |
| 70 | (ht : ∀ x : X, ∃ i, x ∈ Ample.LineBundles.sectionNonvanishing (s i ≫ e.hom)) : |
| 71 | SectionsProjectiveMorphism.sectionProjectiveMorphism f s hs = |
| 72 | SectionsProjectiveMorphism.sectionProjectiveMorphism f (fun i => s i ≫ e.hom) ht := by |
| 73 | apply Over.OverMorphism.ext |
| 74 | apply (RelativeProjective.BaseMaps.relativeProjectiveCoefficientProjection_isPullback S n).hom_ext |
| 75 | · rw [ProjectiveBaseChange.sectionProjectiveMorphism_coefficientProjection, ProjectiveBaseChange.sectionProjectiveMorphism_coefficientProjection] |
| 76 | exact sectionAbsoluteMorphism_targetIso f e s hs ht |
| 77 | · rw [SectionsProjectiveMorphism.sectionProjectiveMorphism_over, SectionsProjectiveMorphism.sectionProjectiveMorphism_over] |
| 78 | |
| 79 | end |
| 80 | |
| 81 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Section.ProjectiveTargetIso |