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.Scalar.ProjectiveCoordinateAction |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Section.ProjectiveMorphismBundleComparison |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Configuration.ProjectiveTransport |
| 4 | |
| 5 | /-! # Projective Point Orbit Reflection -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Scalar.ProjectivePointOrbitReflection |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Equality of scalar-coordinate projective points reflects an actual |
| 12 | unit multiple. An invertible change of the coefficient module therefore |
| 13 | reflects a common linear change and independent unit multiples of an |
| 14 | ordered configuration, over any base scheme. -/ |
| 15 | |
| 16 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 17 | universe u v |
| 18 | |
| 19 | section Coordinates |
| 20 | variable {R : Type u} [CommRing R] {ι : Type v} [Fintype ι] |
| 21 | |
| 22 | /-- The dual pairing converts a coefficient-module automorphism into |
| 23 | an automorphism of point coordinates. -/ |
| 24 | def coefficientCoordinatePointTransform |
| 25 | (C : (ι →₀ R) ≃ₗ[R] (ι →₀ R)) : (ι → R) ≃ₗ[R] (ι → R) := |
| 26 | (Finsupp.llift R R R ι).trans |
| 27 | (C.dualMap.trans (Finsupp.llift R R R ι).symm) |
| 28 | |
| 29 | theorem coefficientCoordinatePointTransform_coefficient |
| 30 | (C : (ι →₀ R) ≃ₗ[R] (ι →₀ R)) : |
| 31 | Dual.CoordinateTransform.pointCoordinateCoefficientTransform (coefficientCoordinatePointTransform C) = C := by |
| 32 | apply LinearEquiv.ext |
| 33 | intro a |
| 34 | apply (Module.evalEquiv R (ι →₀ R)).injective |
| 35 | apply LinearMap.ext |
| 36 | intro φ |
| 37 | change φ (Dual.CoordinateTransform.pointCoordinateCoefficientTransform |
| 38 | (coefficientCoordinatePointTransform C) a) = φ (C a) |
| 39 | rw [Dual.CoordinateTransform.pointCoordinateCoefficientTransform_pairing] |
| 40 | simp only [Dual.CoordinateTransform.pointCoordinateDualTransform, coefficientCoordinatePointTransform, |
| 41 | LinearEquiv.trans_apply, LinearEquiv.apply_symm_apply, |
| 42 | LinearEquiv.dualMap_apply] |
| 43 | |
| 44 | end Coordinates |
| 45 | |
| 46 | variable {S : Scheme.{u}} {n : ℕ} |
| 47 | |
| 48 | private theorem structureEndValue_comp (f g : End (Line.Bundles.structureModule S)) : |
| 49 | Global.Sections.structureModuleEndRingEquiv S (f ≫ g) = |
| 50 | Global.Sections.structureModuleEndRingEquiv S g * Global.Sections.structureModuleEndRingEquiv S f := |
| 51 | (Global.Sections.structureModuleEndRingEquiv S).map_mul g f |
| 52 | |
| 53 | theorem scalarCoordinateProjectivePoint_eq_implies_unit_multiple |
| 54 | (v w : Fin (n + 1) → Γ(S, ⊤)) |
| 55 | (hv : ∀ x : S, ∃ i, x ∈ S.basicOpen (v i)) |
| 56 | (hw : ∀ x : S, ∃ i, x ∈ S.basicOpen (w i)) |
| 57 | (h : Family.SectionProjectiveCoordinates.scalarCoordinateProjectivePoint v hv = |
| 58 | Family.SectionProjectiveCoordinates.scalarCoordinateProjectivePoint w hw) : |
| 59 | ∃ a : Γ(S, ⊤)ˣ, w = (a : Γ(S, ⊤)) • v := by |
| 60 | dsimp only [Family.SectionProjectiveCoordinates.scalarCoordinateProjectivePoint] at h |
| 61 | let e : Line.Bundles.structureModule S ≅ Line.Bundles.structureModule S := |
| 62 | Section.ProjectiveComparisonComponents.sameProjectiveMapBundleIso (𝟙 S) (Family.SectionProjectiveCoordinates.scalarCoordinateSections v) |
| 63 | (Family.SectionProjectiveCoordinates.scalarCoordinateSections w) (Family.SectionProjectiveCoordinates.scalarCoordinateSections_cover v hv) |
| 64 | (Family.SectionProjectiveCoordinates.scalarCoordinateSections_cover w hw) h |
| 65 | have he : IsUnit (Global.Sections.structureModuleEndRingEquiv S e.hom) := |
| 66 | (Global.Sections.structureModuleEnd_isIso_iff e.hom).mp inferInstance |
| 67 | refine ⟨he.unit, ?_⟩ |
| 68 | funext i |
| 69 | have hc : Family.SectionProjectiveCoordinates.scalarCoordinateSections v i ≫ e.hom = Family.SectionProjectiveCoordinates.scalarCoordinateSections w i := by |
| 70 | dsimp only [e, Section.ProjectiveComparisonComponents.sameProjectiveMapBundleIso] |
| 71 | dsimp only [Section.ComparisonTransport.sectionComparisonIso] |
| 72 | convert (Section.ProjectiveMorphismBundleComparison.sameProjectiveMapBundleIso_section (𝟙 S) (Family.SectionProjectiveCoordinates.scalarCoordinateSections v) |
| 73 | (Family.SectionProjectiveCoordinates.scalarCoordinateSections w) (Family.SectionProjectiveCoordinates.scalarCoordinateSections_cover v hv) |
| 74 | (Family.SectionProjectiveCoordinates.scalarCoordinateSections_cover w hw) h i) using 2 <;> rfl |
| 75 | have hi := congrArg (Global.Sections.structureModuleEndRingEquiv S) hc |
| 76 | rw [structureEndValue_comp] at hi |
| 77 | simp only [Family.SectionProjectiveCoordinates.scalarCoordinateSections, RingEquiv.apply_symm_apply] at hi |
| 78 | change w i = (he.unit : Γ(S, ⊤)) * v i |
| 79 | rw [he.unit_spec] |
| 80 | exact hi.symm |
| 81 | |
| 82 | theorem scalarCoordinateProjectivePoint_linear_cover |
| 83 | (v : Fin (n + 1) → Γ(S, ⊤)) |
| 84 | (T : (Fin (n + 1) → Γ(S, ⊤)) ≃ₗ[Γ(S, ⊤)] (Fin (n + 1) → Γ(S, ⊤))) |
| 85 | (hv : ∀ x : S, ∃ i, x ∈ S.basicOpen (v i)) : |
| 86 | ∀ x : S, ∃ i, x ∈ S.basicOpen (T v i) := by |
| 87 | have h := GeneratingSectionFrameChanges.transformSectionFamily_covers (RingHom.id Γ(S, ⊤)) |
| 88 | (Line.Bundles.LineBundle.trivial S) (Family.SectionProjectiveCoordinates.scalarCoordinateSections v) |
| 89 | (Family.SectionProjectiveCoordinates.scalarCoordinateSections_cover v hv) |
| 90 | (Dual.CoordinateTransform.pointCoordinateCoefficientTransform T).toLinearMap |
| 91 | (Dual.CoordinateTransform.pointCoordinateCoefficientTransform T).surjective |
| 92 | change ∀ x : S, ∃ i, x ∈ Ample.LineBundles.sectionNonvanishing |
| 93 | (Section.CoefficientTransformations.transformSectionFamily (RingHom.id Γ(S, ⊤)) (Line.Bundles.structureModule S) (Family.SectionProjectiveCoordinates.scalarCoordinateSections v) |
| 94 | (Dual.CoordinateTransform.pointCoordinateCoefficientTransform T).toLinearMap i) at h |
| 95 | rw [ProjectiveCoordinateAction.scalarCoordinateSections_transform S v T] at h |
| 96 | intro x |
| 97 | obtain ⟨i, hi⟩ := h x |
| 98 | refine ⟨i, ?_⟩ |
| 99 | rw [Nonvanishing.sectionNonvanishing_scalar] at hi |
| 100 | change x ∈ S.basicOpen (Global.Sections.structureModuleEndRingEquiv S |
| 101 | ((Global.Sections.structureModuleEndRingEquiv S).symm (T v i))) at hi |
| 102 | simpa only [Family.SectionProjectiveCoordinates.scalarCoordinateSections, RingEquiv.apply_symm_apply] using hi |
| 103 | |
| 104 | /-- A projective coordinate change carrying all specified scalar points |
| 105 | gives the actual orbit relation used by the balanced quotient. -/ |
| 106 | theorem configurationFrameRelated_of_projective_coordinate_change |
| 107 | {κ : Type v} (v w : κ → Fin (n + 1) → Γ(S, ⊤)) |
| 108 | (hv : ∀ a, ∀ x : S, ∃ i, x ∈ S.basicOpen (v a i)) |
| 109 | (hw : ∀ a, ∀ x : S, ∃ i, x ∈ S.basicOpen (w a i)) |
| 110 | (C : (Fin (n + 1) →₀ Γ(S, ⊤)) ≃ₗ[Γ(S, ⊤)] (Fin (n + 1) →₀ Γ(S, ⊤))) |
| 111 | (h : ∀ a, Family.SectionProjectiveCoordinates.scalarCoordinateProjectivePoint (v a) (hv a) ≫ |
| 112 | (Relative.LinearCoordinateIsomorphism.relativeLinearCoordinateIso n S C).hom = |
| 113 | Family.SectionProjectiveCoordinates.scalarCoordinateProjectivePoint (w a) (hw a)) : |
| 114 | Configuration.ProjectiveTransport.ConfigurationFrameRelated v w := by |
| 115 | let T := coefficientCoordinatePointTransform C.symm |
| 116 | have hT a : ∀ x : S, ∃ i, x ∈ S.basicOpen (T (v a) i) := |
| 117 | scalarCoordinateProjectivePoint_linear_cover (v a) T (hv a) |
| 118 | have hp a : Family.SectionProjectiveCoordinates.scalarCoordinateProjectivePoint (T (v a)) (hT a) = |
| 119 | Family.SectionProjectiveCoordinates.scalarCoordinateProjectivePoint (w a) (hw a) := by |
| 120 | have ha := ProjectiveCoordinateAction.scalarCoordinateProjectivePoint_linear_action S (v a) T (hv a) (hT a) |
| 121 | have hC : (Dual.CoordinateTransform.pointCoordinateCoefficientTransform T).symm = C := by |
| 122 | rw [coefficientCoordinatePointTransform_coefficient, LinearEquiv.symm_symm] |
| 123 | rw [hC] at ha |
| 124 | exact ha.symm.trans (h a) |
| 125 | choose s hs using fun a => |
| 126 | scalarCoordinateProjectivePoint_eq_implies_unit_multiple (T (v a)) (w a) |
| 127 | (hT a) (hw a) (hp a) |
| 128 | exact ⟨T, s, hs⟩ |
| 129 | |
| 130 | end |
| 131 | |
| 132 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Scalar.ProjectivePointOrbitReflection |