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.BalancedChart.OrbitInvariance |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Homogeneous.ChartAlgebraEvaluation |
| 3 | |
| 4 | /-! # Configuration Orbits -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.BalancedChart.ConfigurationOrbits |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The configurations with invertible balanced denominator carry the |
| 11 | equivalence relation generated by common linear coordinate changes and |
| 12 | independent unit scalings of the labeled vectors. -/ |
| 13 | open scoped Classical |
| 14 | universe u v |
| 15 | set_option backward.isDefEq.respectTransparency false |
| 16 | set_option backward.isDefEq.respectTransparency.types false |
| 17 | variable (A : Type u) [CommRing A] {r m : ℕ} (a : (Fin r → Fin m) → ℕ) |
| 18 | |
| 19 | structure BalancedChartConfiguration where |
| 20 | vector : Fin m → Fin r → A |
| 21 | denominatorUnit : IsUnit (Balanced.MonomialAlgebra.exponentMonomial (fun τ => LabeledDeterminantPolynomials.labeledDeterminant τ vector) a) |
| 22 | |
| 23 | def balancedChartConfigurationOrbit (v w : BalancedChartConfiguration A a) : Prop := |
| 24 | ∃ T : (Fin r → A) ≃ₗ[A] (Fin r → A), ∃ s : Fin m → Aˣ, |
| 25 | ∀ z, w.vector z = (s z : A) • T (v.vector z) |
| 26 | |
| 27 | def balancedChartConfigurationSetoid : Setoid (BalancedChartConfiguration A a) where |
| 28 | r := balancedChartConfigurationOrbit A a |
| 29 | iseqv := { |
| 30 | refl := by |
| 31 | intro v |
| 32 | refine ⟨LinearEquiv.refl A _, fun _ => 1, ?_⟩ |
| 33 | intro z |
| 34 | simp only [Units.val_one, LinearEquiv.refl_apply, one_smul] |
| 35 | symm := by |
| 36 | rintro v w ⟨T, s, h⟩ |
| 37 | refine ⟨T.symm, fun z => (s z)⁻¹, ?_⟩ |
| 38 | intro z |
| 39 | rw [h z, map_smul, T.symm_apply_apply, ← mul_smul, Units.inv_mul, one_smul] |
| 40 | trans := by |
| 41 | rintro v w t ⟨T, s, h⟩ ⟨U, q, h'⟩ |
| 42 | refine ⟨T.trans U, fun z => q z * s z, ?_⟩ |
| 43 | intro z |
| 44 | rw [h' z, h z, map_smul, smul_smul, Units.val_mul] |
| 45 | rfl } |
| 46 | |
| 47 | variable {R : Type v} [CommRing R] [Algebra R A] |
| 48 | |
| 49 | def balancedConfigurationChartAlgebraEvaluation (i : Fin m) |
| 50 | (ha : a ∈ Balanced.ExponentFiniteGeneration.balancedExponentMonoid DeterminantBlockDegrees.labeledDeterminantWeight) (v : BalancedChartConfiguration A a) : |
| 51 | Balanced.FrameChartCoordinates.balancedDeterminantChartRing R i a ha →ₐ[R] A := |
| 52 | Homogeneous.ChartAlgebraEvaluation.homogeneousAwayAlgebraEvaluation (Balanced.DeterminantGrading.balancedDeterminantGrading R r m i) |
| 53 | (Balanced.FrameCoordinatePolynomials.balancedDeterminantMonomialElement R a ha) |
| 54 | (Balanced.ConfigurationChartEvaluation.balancedConfigurationPolynomialEvaluation (R := R) v.vector) |
| 55 | ((Balanced.ConfigurationChartEvaluation.balancedConfigurationPolynomialEvaluation_denominator (R := R) v.vector a ha).symm ▸ v.denominatorUnit) |
| 56 | |
| 57 | theorem balancedConfigurationChartAlgebraEvaluation_eq_of_orbit (hr : 0 < r) |
| 58 | (i : Fin m) (ha : a ∈ Balanced.ExponentFiniteGeneration.balancedExponentMonoid DeterminantBlockDegrees.labeledDeterminantWeight) |
| 59 | {v w : BalancedChartConfiguration A a} (h : balancedChartConfigurationOrbit A a v w) : |
| 60 | balancedConfigurationChartAlgebraEvaluation (R := R) A a i ha v = |
| 61 | balancedConfigurationChartAlgebraEvaluation (R := R) A a i ha w := by |
| 62 | obtain ⟨T, s, hs⟩ := h |
| 63 | apply AlgHom.ext |
| 64 | intro x |
| 65 | exact RingHom.congr_fun (OrbitInvariance.balancedConfigurationChartEvaluation_invariant (R := R) hr i v.vector w.vector a ha |
| 66 | v.denominatorUnit w.denominatorUnit T s hs) x |
| 67 | |
| 68 | end |
| 69 | |
| 70 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.BalancedChart.ConfigurationOrbits |