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.Normalized.BalancedChartEvaluation |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.BalancedChart.AmbientNormalization |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Balanced.HomogeneousTransformations |
| 4 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Homogeneous.ChartEndomorphismIdentity |
| 5 | |
| 6 | /-! # Balanced Chart Identity -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Normalized.BalancedChartIdentity |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! Normalization fixes every balanced degree-zero fraction. The result |
| 13 | is an equality of ring morphisms on the whole affine chart. -/ |
| 14 | open scoped BigOperators Classical |
| 15 | universe u |
| 16 | set_option backward.isDefEq.respectTransparency false |
| 17 | set_option backward.isDefEq.respectTransparency.types false |
| 18 | variable (R : Type u) [CommRing R] {r m : ℕ} |
| 19 | |
| 20 | theorem normalizedBalancedChartEndomorphism_eq_id (hr : 0 < r) |
| 21 | (i : Fin m) (σ : Fin r → Fin m) (e : Fin m) (c : Fin m → Fin r) |
| 22 | (a : (Fin r → Fin m) → ℕ) (C : Fin m → (Fin r → Fin m) → ℕ) |
| 23 | (ha : a ∈ Balanced.ExponentFiniteGeneration.balancedExponentMonoid DeterminantBlockDegrees.labeledDeterminantWeight) |
| 24 | (hC : ∀ z, C z + Frame.CoordinateExponents.frameCoordinateExponent σ e z (c z) = a) |
| 25 | (hframe : Frame.ChartDenominators.frameDiscriminantExponent σ e ≤ a) : |
| 26 | BalancedChartEvaluation.normalizedBalancedChartEndomorphism R i σ e c a C ha hC hr hframe = RingHom.id _ := by |
| 27 | let S := Balanced.DeterminantAlgebra.balancedDeterminantAlgebra R r m |
| 28 | let g := Balanced.DeterminantGrading.balancedDeterminantGrading R r m i |
| 29 | let f := Balanced.FrameCoordinatePolynomials.balancedDeterminantMonomialElement R a ha |
| 30 | let φ := BalancedChartEvaluation.normalizedBalancedPolynomialEvaluation R i σ e c a C ha hC |
| 31 | let E : Balanced.FrameChartCoordinates.balancedDeterminantChartRing R i a ha →ₐ[R] BalancedChart.AmbientFrame.balancedChartAmbientRing R a := |
| 32 | Homogeneous.ChartAlgebraEmbedding.homogeneousSubalgebraChartAlgEmbedding S g f |
| 33 | let v := BalancedChart.AmbientFrame.balancedChartAmbientVectors R a |
| 34 | let u := Balanced.FrameChartNormalization.balancedFrameChartVectors R i σ e c a C ha hC |
| 35 | let T := DeterminantFrameLinearMap.determinantFrameLinearMap (Pi.basisFun (BalancedChart.AmbientFrame.balancedChartAmbientRing R a) (Fin r)) |
| 36 | (fun j => v (σ j)) (v e) |
| 37 | obtain ⟨s, _, hs⟩ := BalancedChart.AmbientNormalization.balancedFrameChartVectors_ambient_rescale R i σ e c a C ha hC |
| 38 | have hE (p : S) : E (φ p) = |
| 39 | MvPolynomial.aeval (fun jk : Fin m × Fin r => s jk.1 * T (v jk.1) jk.2) p.val := by |
| 40 | change E (MvPolynomial.aeval (fun jk : Fin m × Fin r => u jk.1 jk.2) p.val) = _ |
| 41 | rw [MvPolynomial.comp_aeval_apply] |
| 42 | exact congrArg (fun w : Fin m × Fin r → BalancedChart.AmbientFrame.balancedChartAmbientRing R a => MvPolynomial.aeval w p.val) |
| 43 | (funext fun jk => hs jk.1 jk.2) |
| 44 | apply Homogeneous.ChartEndomorphismIdentity.homogeneousChartEndomorphism_eq_id S g f |
| 45 | (Balanced.FrameCoordinatePolynomials.balancedDeterminantMonomialElement_mem_grading R a ha i) φ.toRingHom |
| 46 | (BalancedChartEvaluation.normalizedBalancedPolynomialEvaluation_denominator_isUnit R i σ e c a C ha hC hr hframe) |
| 47 | intro k p hp |
| 48 | have hka : k • a ∈ Balanced.ExponentFiniteGeneration.balancedExponentMonoid DeterminantBlockDegrees.labeledDeterminantWeight := |
| 49 | (Balanced.ExponentFiniteGeneration.balancedExponentMonoid _).nsmul_mem ha k |
| 50 | have hp' : p.val ∈ Balanced.MonomialSpan.balancedMonomialDegreeSpan (R := R) (LabeledDeterminantPolynomials.labeledDeterminantPolynomial R) |
| 51 | DeterminantBlockDegrees.labeledDeterminantWeight i (Balanced.ExponentFiniteGeneration.monomialMultiDegree DeterminantBlockDegrees.labeledDeterminantWeight (k • a) i) := by |
| 52 | rw [Balanced.ExponentCompletion.monomialMultiDegree_nsmul] |
| 53 | exact hp |
| 54 | have hq : Balanced.MonomialAlgebra.exponentMonomial (LabeledDeterminantPolynomials.labeledDeterminantPolynomial R) (k • a) ∈ |
| 55 | Balanced.MonomialSpan.balancedMonomialDegreeSpan (R := R) (LabeledDeterminantPolynomials.labeledDeterminantPolynomial R) |
| 56 | DeterminantBlockDegrees.labeledDeterminantWeight i (Balanced.ExponentFiniteGeneration.monomialMultiDegree DeterminantBlockDegrees.labeledDeterminantWeight (k • a) i) := |
| 57 | Submodule.subset_span ⟨k • a, ⟨hka, rfl⟩, rfl⟩ |
| 58 | have h := Balanced.HomogeneousTransformations.balancedHomogeneousPolynomial_cross_invariant hr v T s (k • a) hka i |
| 59 | p.val (Balanced.MonomialAlgebra.exponentMonomial (LabeledDeterminantPolynomials.labeledDeterminantPolynomial R) (k • a)) hp' hq |
| 60 | rw [NonvanishingMonomialCompletion.exponentMonomial_nsmul, map_pow, map_pow, |
| 61 | BalancedChart.AmbientNormalization.balancedChartAmbientVectors_aeval, BalancedChart.AmbientNormalization.balancedChartAmbientVectors_aeval] at h |
| 62 | change E (φ p) * (algebraMap (MvPolynomial (Fin m × Fin r) R) |
| 63 | (BalancedChart.AmbientFrame.balancedChartAmbientRing R a) f.val) ^ k = |
| 64 | E (φ f) ^ k * algebraMap (MvPolynomial (Fin m × Fin r) R) (BalancedChart.AmbientFrame.balancedChartAmbientRing R a) p.val |
| 65 | rw [hE p, hE f] |
| 66 | exact h |
| 67 | |
| 68 | end |
| 69 | |
| 70 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Normalized.BalancedChartIdentity |