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.StableHilbert.CoordinateCoverage |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.PowerEmbedding.LinearCoordinateChange |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.ProjectiveFrame.PointNormalization |
| 4 | |
| 5 | /-! # Embedding Coverage -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.StableHilbert.EmbeddingCoverage.StableHilbertCoverage |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The stable chart coordinates are obtained by an actual invertible |
| 12 | coordinate change of the original power embedding. The original source, |
| 13 | tensor power, and complete linear system are retained. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 16 | universe u |
| 17 | variable (R : Type u) [CommRing R] (B : Over (Spec (.of R))) |
| 18 | variable {X : Over B.left} {L : Line.Bundles.LineBundle X.left} |
| 19 | variable (E : Power.ProjectiveEmbeddings.PowerProjectiveEmbedding L X.hom) {m : ℕ} |
| 20 | variable (i : Fin m) (j : Stable.BalancedFrameIndex.StableBalancedFrameIndex.{u} (E.dimension + 1) m) |
| 21 | variable (x : Fin m → (Over.mk (𝟙 B.left) ⟶ X)) |
| 22 | variable (e : ∀ z, (E.power.pullback (x z).left).sheaf ≅ Line.Bundles.structureModule B.left) |
| 23 | |
| 24 | def embeddingVectors : Fin m → Fin (E.dimension + 1) → Γ(B.left, ⊤) := |
| 25 | fun z k => Family.FramedSectionEvaluation.familyFramedSectionValue E.power (x z).left (e z) (E.sections k) |
| 26 | |
| 27 | variable (hv : IsUnit (Balanced.MonomialAlgebra.exponentMonomial |
| 28 | (fun τ => LabeledDeterminantPolynomials.labeledDeterminant τ (embeddingVectors R B E x e)) j.exponent)) |
| 29 | |
| 30 | def embeddingChartPoint : B ⟶ Stable.ConfigurationPolynomialRankLocus.stableConfigurationPolynomialRankAmbient R i j := |
| 31 | CoordinateCoverage.StableHilbertCoverage.chartPoint R i j B (embeddingVectors R B E x e) hv |
| 32 | |
| 33 | theorem exists_chart_normalizing_coordinates : |
| 34 | ∃ a : (Fin (E.dimension + 1) →₀ Γ(B.left, ⊤)) ≃ₗ[Γ(B.left, ⊤)] |
| 35 | (Fin (E.dimension + 1) →₀ Γ(B.left, ⊤)), |
| 36 | (E.HasCompleteSections → (E.changeCoordinates a).HasCompleteSections) ∧ |
| 37 | ∀ z, |
| 38 | x z ≫ (E.changeCoordinates a).projectivePresentation.embedding = |
| 39 | Balanced.FrameChartProjectivePoints.balancedFrameChartProjectivePoint R i j.frame j.additional j.coordinate |
| 40 | j.exponent j.complement j.balanced j.complete B.left |
| 41 | ((embeddingChartPoint R B E i j x e hv).left.appTop.hom.comp |
| 42 | (Scheme.ΓSpecIso (.of (Balanced.FrameChartCoordinates.balancedDeterminantChartRing R i j.exponent j.balanced))).inv.hom) z := by |
| 43 | let v := embeddingVectors R B E x e |
| 44 | let ρ := (embeddingChartPoint R B E i j x e hv).left.appTop.hom.comp |
| 45 | (Scheme.ΓSpecIso (.of (Balanced.FrameChartCoordinates.balancedDeterminantChartRing R i j.exponent j.balanced))).inv.hom |
| 46 | let w := fun z k => ρ (Balanced.FrameChartNormalization.balancedFrameChartVectors R i j.frame j.additional j.coordinate |
| 47 | j.exponent j.complement j.balanced j.complete z k) |
| 48 | obtain ⟨U, c, hc⟩ := CoordinateCoverage.StableHilbertCoverage.chartPoint_normalization R i j B v hv |
| 49 | have hcoord (z k) : w z k = (c z : Γ(B.left, ⊤)) * U (v z) k := hc z k |
| 50 | have hw (z) : ∀ y : B.left, ∃ k, y ∈ B.left.basicOpen (w z k) := |
| 51 | Balanced.FrameChartProjectivePoints.balancedFrameChartProjectiveCoordinates_cover R i j.frame j.additional j.coordinate |
| 52 | j.exponent j.complement j.balanced j.complete B.left ρ z |
| 53 | have hU (z) : ∀ y : B.left, ∃ k, y ∈ B.left.basicOpen (U (v z) k) := by |
| 54 | intro y |
| 55 | obtain ⟨k, hk⟩ := hw z y |
| 56 | rw [hcoord, B.left.basicOpen_mul] at hk |
| 57 | exact ⟨k, hk.2⟩ |
| 58 | refine ⟨(Dual.CoordinateTransform.pointCoordinateCoefficientTransform U).symm, |
| 59 | fun h => Power.ProjectiveEmbeddings.PowerProjectiveEmbedding.HasCompleteSections.changeCoordinates E |
| 60 | (Dual.CoordinateTransform.pointCoordinateCoefficientTransform U).symm h, fun z => ?_⟩ |
| 61 | let p₀ : X ⟶ Projective.ProjectivePresentations.projectiveSpaceOver B.left E.dimension := E.projectivePresentation.embedding |
| 62 | let p₁ : X ⟶ Projective.ProjectivePresentations.projectiveSpaceOver B.left E.dimension := |
| 63 | (E.changeCoordinates (Dual.CoordinateTransform.pointCoordinateCoefficientTransform U).symm).projectivePresentation.embedding |
| 64 | let q := Relative.LinearCoordinateIsomorphism.relativeLinearCoordinateIso E.dimension B.left (Dual.CoordinateTransform.pointCoordinateCoefficientTransform U).symm |
| 65 | have hp : p₁ = p₀ ≫ q.hom := E.changeCoordinates_embedding _ |
| 66 | have hz : ∀ y : B.left, ∃ k, y ∈ B.left.basicOpen (v z k) := |
| 67 | Family.SectionProjectiveCoordinates.familySectionCoordinates_cover E.power E.sections E.covers (x z).left (e z) |
| 68 | have hx : x z ≫ p₀ = Family.SectionProjectiveCoordinates.scalarCoordinateProjectivePoint (v z) hz := |
| 69 | Family.SectionProjectiveCoordinates.familySection_projectivePoint X.hom E.power E.sections E.covers |
| 70 | (x z).left (x z).w (e z) |
| 71 | change x z ≫ p₁ = Family.SectionProjectiveCoordinates.scalarCoordinateProjectivePoint (w z) (hw z) |
| 72 | calc |
| 73 | x z ≫ p₁ = x z ≫ (p₀ ≫ q.hom) := congrArg (fun k => x z ≫ k) hp |
| 74 | _ = (x z ≫ p₀) ≫ q.hom := (Category.assoc _ _ _).symm |
| 75 | _ = Family.SectionProjectiveCoordinates.scalarCoordinateProjectivePoint (v z) hz ≫ q.hom := congrArg (fun k => k ≫ q.hom) hx |
| 76 | _ = Family.SectionProjectiveCoordinates.scalarCoordinateProjectivePoint (U (v z)) (hU z) := |
| 77 | Scalar.ProjectiveCoordinateAction.scalarCoordinateProjectivePoint_linear_action B.left (v z) U hz (hU z) |
| 78 | _ = Family.SectionProjectiveCoordinates.scalarCoordinateProjectivePoint (w z) (hw z) := |
| 79 | (ProjectiveFrame.PointNormalization.scalarCoordinateProjectivePoint_eq_of_unit_mul B.left (w z) (U (v z)) |
| 80 | (c z) (hcoord z) (hw z) (hU z)).symm |
| 81 | |
| 82 | end |
| 83 | |
| 84 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.StableHilbert.EmbeddingCoverage.StableHilbertCoverage |