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.PrescribedPointCriterion |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.StableHilbert.ScalarCoordinateCoverage |
| 3 | |
| 4 | /-! # Affine Prescribed Points -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.StableHilbert.AffinePrescribedPoints |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The prescribed marks of a stable Hilbert chart are the actual |
| 11 | affine projective points of its normalized coefficient vectors. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 14 | universe u |
| 15 | |
| 16 | private theorem affinePoint_congr |
| 17 | {C : Type u} [CommRing C] {n : ℕ} {v w : Fin (n + 1) → C} |
| 18 | (h : v = w) (i : Fin (n + 1)) (hv : v i = 1) (hw : w i = 1) : |
| 19 | AffineProjective.CoordinateMaps.affineProjectiveCoordinateMap (.of C) C v i hv = |
| 20 | AffineProjective.CoordinateMaps.affineProjectiveCoordinateMap (.of C) C w i hw := by |
| 21 | cases h |
| 22 | rfl |
| 23 | |
| 24 | variable (R : Type u) [CommRing R] [IsNoetherianRing R] |
| 25 | {C : Type u} [CommRing C] {n m : ℕ} |
| 26 | (i : Fin m) (j : Stable.BalancedFrameIndex.StableBalancedFrameIndex.{u} (n + 1) m) |
| 27 | (D : ℕ) (H : Polynomial ℚ) {f : Spec (.of C) ⟶ Spec (.of R)} |
| 28 | |
| 29 | omit [IsNoetherianRing R] in |
| 30 | theorem stableChartRawCoordinates_cover |
| 31 | (x : Over.mk f ⟶ Stable.ConfigurationPolynomialRankLocus.stableConfigurationPolynomialRankAmbient R i j) (z : Fin m) : |
| 32 | ∀ p : Spec (.of C), ∃ t, p ∈ (Spec (.of C)).basicOpen |
| 33 | ((Scheme.ΓSpecIso (.of C)).inv (Stable.PolynomialMatrixCoefficients.stablePolynomialChartPointVectors R i j (.of C) x ⟨z⟩ t)) := by |
| 34 | intro p |
| 35 | refine ⟨j.coordinate z, ?_⟩ |
| 36 | rw [Stable.PolynomialMatrixCoefficients.stablePolynomialChartPointVectors_selected, map_one] |
| 37 | exact ((Spec (.of C)).basicOpen_of_isUnit |
| 38 | (isUnit_one : IsUnit (1 : Γ(Spec (.of C), ⊤)))).symm ▸ trivial |
| 39 | |
| 40 | omit [IsNoetherianRing R] in |
| 41 | theorem stableHilbertPrescribedPoint_scalar |
| 42 | (c : Over.mk f ⟶ Stable.ConfigurationLocus.stableConfigurationHilbertLocus R i j D H) (z : Fin m) : |
| 43 | PrescribedPointCriterion.stableHilbertPrescribedPoint R i j D H c z = |
| 44 | Family.SectionProjectiveCoordinates.scalarCoordinateProjectivePoint |
| 45 | (fun t => (Scheme.ΓSpecIso (.of C)).inv |
| 46 | (Stable.PolynomialMatrixCoefficients.stablePolynomialChartPointVectors R i j (.of C) |
| 47 | (c ≫ IntrinsicTransport.stableHilbertChartAmbientMap R i j D H) ⟨z⟩ t)) |
| 48 | (stableChartRawCoordinates_cover R i j |
| 49 | (c ≫ IntrinsicTransport.stableHilbertChartAmbientMap R i j D H) z) := by |
| 50 | let q : Spec (.of C) ⟶ Balanced.FrameChartProjectivePoints.balancedFrameChartScheme R i j.exponent j.balanced := |
| 51 | (c ≫ IntrinsicTransport.stableHilbertChartAmbientMap R i j D H).left |
| 52 | change Projective.SectionBaseChange.projectiveSectionBaseChange |
| 53 | (Balanced.FrameChartProjectivePoints.balancedFrameChartUniversalPoint R i j.frame j.additional j.coordinate |
| 54 | j.exponent j.complement j.balanced j.complete z) q = _ |
| 55 | refine (Balanced.FramePointBaseChange.balancedFrameChartUniversalPoint_baseChange R i j.frame j.additional |
| 56 | j.coordinate j.exponent j.complement j.balanced j.complete q z).trans ?_ |
| 57 | apply Balanced.FrameChartProjectivePoints.scalarCoordinateProjectivePoint_congr |
| 58 | funext t |
| 59 | exact ((Scheme.ΓSpecIso (.of C)).commRingCatIsoToRingEquiv.symm_apply_apply _).symm |
| 60 | |
| 61 | omit [IsNoetherianRing R] in |
| 62 | theorem stableHilbertPrescribedPoint_affine |
| 63 | (c : Over.mk f ⟶ Stable.ConfigurationLocus.stableConfigurationHilbertLocus R i j D H) (z : Fin m) : |
| 64 | (PrescribedPointCriterion.stableHilbertPrescribedPoint R i j D H c z).left = |
| 65 | AffineProjective.CoordinateMaps.affineProjectiveCoordinateMap (.of C) C |
| 66 | (Stable.PolynomialMatrixCoefficients.stablePolynomialChartPointVectors R i j (.of C) |
| 67 | (c ≫ IntrinsicTransport.stableHilbertChartAmbientMap R i j D H) ⟨z⟩) |
| 68 | (j.coordinate z) |
| 69 | (Stable.PolynomialMatrixCoefficients.stablePolynomialChartPointVectors_selected R i j (.of C) |
| 70 | (c ≫ IntrinsicTransport.stableHilbertChartAmbientMap R i j D H) ⟨z⟩) ≫ |
| 71 | AffineProjective.Charts.affineProjectiveChartMap (𝟙 (Spec (.of C))) n := by |
| 72 | let w := Stable.PolynomialMatrixCoefficients.stablePolynomialChartPointVectors R i j (.of C) |
| 73 | (c ≫ IntrinsicTransport.stableHilbertChartAmbientMap R i j D H) ⟨z⟩ |
| 74 | let v := fun t => (Scheme.ΓSpecIso (.of C)).inv (w t) |
| 75 | have hv := stableChartRawCoordinates_cover R i j |
| 76 | (c ≫ IntrinsicTransport.stableHilbertChartAmbientMap R i j D H) z |
| 77 | have hi : v (j.coordinate z) = 1 := by |
| 78 | exact (congrArg (Scheme.ΓSpecIso (.of C)).inv |
| 79 | (Stable.PolynomialMatrixCoefficients.stablePolynomialChartPointVectors_selected R i j (.of C) |
| 80 | (c ≫ IntrinsicTransport.stableHilbertChartAmbientMap R i j D H) ⟨z⟩)).trans (map_one _) |
| 81 | have hs := ScalarCoordinateCoverage.StableHilbertCoverage.scalarCoordinateProjectivePoint_affine |
| 82 | C v hv (j.coordinate z) hi |
| 83 | have hw : (fun t => (Scheme.ΓSpecIso (.of C)).hom (v t)) = w := by |
| 84 | funext t |
| 85 | exact ConcreteCategory.congr_hom (Scheme.ΓSpecIso (.of C)).inv_hom_id (w t) |
| 86 | have hscalar := congrArg Over.Hom.left (stableHilbertPrescribedPoint_scalar R i j D H c z) |
| 87 | have hpoint := affinePoint_congr hw (j.coordinate z) |
| 88 | ((congrArg (Scheme.ΓSpecIso (.of C)).hom hi).trans (map_one _)) |
| 89 | (Stable.PolynomialMatrixCoefficients.stablePolynomialChartPointVectors_selected R i j (.of C) |
| 90 | (c ≫ IntrinsicTransport.stableHilbertChartAmbientMap R i j D H) ⟨z⟩) |
| 91 | exact hscalar.trans (hs.trans (congrArg |
| 92 | (fun a => a ≫ AffineProjective.Charts.affineProjectiveChartMap (𝟙 (Spec (.of C))) n) hpoint)) |
| 93 | |
| 94 | end |
| 95 | |
| 96 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.StableHilbert.AffinePrescribedPoints |