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.Balanced.FrameChartNormalization |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Homogeneous.ChartAlgebraEmbedding |
| 3 | |
| 4 | /-! # Ambient Normalization -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.BalancedChart.AmbientNormalization |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The chart coordinates, embedded in the ambient localization, are |
| 11 | obtained by one linear change of coordinates and invertible point scalings. -/ |
| 12 | open scoped Classical |
| 13 | universe u |
| 14 | set_option backward.isDefEq.respectTransparency false |
| 15 | set_option backward.isDefEq.respectTransparency.types false |
| 16 | variable (R : Type u) [CommRing R] {r m : ℕ} |
| 17 | |
| 18 | theorem balancedChartAmbientVectors_aeval (a : (Fin r → Fin m) → ℕ) |
| 19 | (p : MvPolynomial (Fin m × Fin r) R) : |
| 20 | MvPolynomial.aeval (fun jk : Fin m × Fin r => AmbientFrame.balancedChartAmbientVectors R a jk.1 jk.2) p = |
| 21 | algebraMap (MvPolynomial (Fin m × Fin r) R) (AmbientFrame.balancedChartAmbientRing R a) p := by |
| 22 | let φ := IsScalarTower.toAlgHom R (MvPolynomial (Fin m × Fin r) R) (AmbientFrame.balancedChartAmbientRing R a) |
| 23 | have h : MvPolynomial.aeval (fun jk : Fin m × Fin r => AmbientFrame.balancedChartAmbientVectors R a jk.1 jk.2) = φ := by |
| 24 | ext jk |
| 25 | exact MvPolynomial.aeval_X _ jk |
| 26 | exact congrArg (fun f : MvPolynomial (Fin m × Fin r) R →ₐ[R] AmbientFrame.balancedChartAmbientRing R a => f p) h |
| 27 | |
| 28 | theorem balancedFrameChartVectors_ambient_rescale |
| 29 | (i : Fin m) (σ : Fin r → Fin m) (e : Fin m) (c : Fin m → Fin r) |
| 30 | (a : (Fin r → Fin m) → ℕ) (C : Fin m → (Fin r → Fin m) → ℕ) |
| 31 | (ha : a ∈ Balanced.ExponentFiniteGeneration.balancedExponentMonoid DeterminantBlockDegrees.labeledDeterminantWeight) |
| 32 | (hC : ∀ z, C z + Frame.CoordinateExponents.frameCoordinateExponent σ e z (c z) = a) : |
| 33 | ∃ s : Fin m → AmbientFrame.balancedChartAmbientRing R a, (∀ z, IsUnit (s z)) ∧ ∀ z k, |
| 34 | Homogeneous.SubalgebraChartEmbedding.homogeneousSubalgebraChartEmbedding (Balanced.DeterminantAlgebra.balancedDeterminantAlgebra R r m) |
| 35 | (Balanced.DeterminantGrading.balancedDeterminantGrading R r m i) (Balanced.FrameCoordinatePolynomials.balancedDeterminantMonomialElement R a ha) |
| 36 | (Balanced.FrameChartNormalization.balancedFrameChartVectors R i σ e c a C ha hC z k) = |
| 37 | s z * DeterminantFrameLinearMap.determinantFrameLinearMap (Pi.basisFun (AmbientFrame.balancedChartAmbientRing R a) (Fin r)) |
| 38 | (fun j => AmbientFrame.balancedChartAmbientVectors R a (σ j)) (AmbientFrame.balancedChartAmbientVectors R a e) |
| 39 | (AmbientFrame.balancedChartAmbientVectors R a z) k := by |
| 40 | let v := AmbientFrame.balancedChartAmbientVectors R a |
| 41 | let T := DeterminantFrameLinearMap.determinantFrameLinearMap (Pi.basisFun (AmbientFrame.balancedChartAmbientRing R a) (Fin r)) |
| 42 | (fun j => v (σ j)) (v e) |
| 43 | have hu (z : Fin m) : IsUnit (T (v z) (c z)) := by |
| 44 | apply AmbientFrame.balancedChartAmbientVectors_coordinate_isUnit R σ e z (c z) a |
| 45 | intro τ |
| 46 | calc |
| 47 | Frame.CoordinateExponents.frameCoordinateExponent σ e z (c z) τ ≤ C z τ + Frame.CoordinateExponents.frameCoordinateExponent σ e z (c z) τ := |
| 48 | Nat.le_add_left _ _ |
| 49 | _ = a τ := congrFun (hC z) τ |
| 50 | let s : Fin m → AmbientFrame.balancedChartAmbientRing R a := fun z => ↑(hu z).unit⁻¹ |
| 51 | refine ⟨s, fun z => Units.isUnit _, ?_⟩ |
| 52 | intro z k |
| 53 | apply (hu z).mul_right_cancel |
| 54 | calc |
| 55 | _ = T (v z) k := by |
| 56 | have h := AmbientFrame.balancedFrameChartCoordinate_ambient_crossMultiply R i σ e z (c z) k a (C z) ha (hC z) |
| 57 | simp only [Frame.CoordinateMonomials.frameCoordinateExponent_linearMap] at h |
| 58 | exact h |
| 59 | _ = (s z * T (v z) (c z)) * T (v z) k := by rw [(hu z).val_inv_mul, one_mul] |
| 60 | _ = (s z * T (v z) k) * T (v z) (c z) := by ring |
| 61 | |
| 62 | end |
| 63 | |
| 64 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.BalancedChart.AmbientNormalization |