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.PELModuli.IntegralModel.PrimitivePolynomialDenominators |
| 2 | import Mathlib.LinearAlgebra.FreeModule.Finite.Basic |
| 3 | |
| 4 | /-! # Generator Reconstruction -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.PELModuli.IntegralModel.CM.GeneratorReconstruction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! A single primitive integral element determines every integral |
| 11 | endomorphism of a CM action after multiplication by one fixed integer. -/ |
| 12 | |
| 13 | open _root_.Polynomial |
| 14 | |
| 15 | variable (E : Type*) [Field E] [NumberField E] [Algebra ℚ E] |
| 16 | |
| 17 | theorem integral_primitive_polynomial_reconstruction |
| 18 | (v : NumberField.RingOfIntegers E) |
| 19 | (hv : IntermediateField.adjoin ℚ {(v : E)} = ⊤) : |
| 20 | ∃ (c : ℤ) (p : NumberField.RingOfIntegers E →ₗ[ℤ] ℤ[X]), c ≠ 0 ∧ |
| 21 | ∀ a, aeval (v : E) (p a) = (c : E) * (a : E) := by |
| 22 | let b := Module.finBasis ℤ (NumberField.RingOfIntegers E) |
| 23 | obtain ⟨c, P, hc, hP⟩ := PrimitivePolynomialDenominators.finite_primitive_integer_polynomial_multiples (v : E) hv |
| 24 | (fun i => (b i : E)) |
| 25 | let p : NumberField.RingOfIntegers E →ₗ[ℤ] ℤ[X] := b.constr ℤ P |
| 26 | let j : NumberField.RingOfIntegers E →ₗ[ℤ] E := |
| 27 | (algebraMap (NumberField.RingOfIntegers E) E).toIntAlgHom.toLinearMap |
| 28 | have he : (aeval (v : E) : ℤ[X] →ₐ[ℤ] E).toLinearMap.comp p = c • j := by |
| 29 | apply b.ext |
| 30 | intro i |
| 31 | change aeval (v : E) (p (b i)) = c • j (b i) |
| 32 | rw [show p (b i) = P i from b.constr_basis ℤ P i] |
| 33 | exact (hP i).trans (zsmul_eq_mul (b i : E) c).symm |
| 34 | refine ⟨c, p, hc, ?_⟩ |
| 35 | intro a |
| 36 | have h := LinearMap.congr_fun he a |
| 37 | change aeval (v : E) (p a) = c • (a : E) at h |
| 38 | exact h.trans (zsmul_eq_mul (a : E) c) |
| 39 | |
| 40 | theorem integral_primitive_natural_reconstruction |
| 41 | (v : NumberField.RingOfIntegers E) |
| 42 | (hv : IntermediateField.adjoin ℚ {(v : E)} = ⊤) : |
| 43 | ∃ (c : ℕ) (p : NumberField.RingOfIntegers E →ₗ[ℤ] ℤ[X]), c ≠ 0 ∧ |
| 44 | ∀ a, aeval (v : E) (p a) = (c : E) * (a : E) := by |
| 45 | obtain ⟨c, p, hc, hp⟩ := integral_primitive_polynomial_reconstruction E v hv |
| 46 | have hs : (c.natAbs : E) ^ 2 = (c : E) ^ 2 := by |
| 47 | have h := congrArg (fun z : ℤ => (z : E)) (Int.natAbs_pow_two c) |
| 48 | simpa only [Int.cast_pow, Int.cast_natCast] using h |
| 49 | refine ⟨c.natAbs ^ 2, c • p, pow_ne_zero 2 (Int.natAbs_ne_zero.mpr hc), ?_⟩ |
| 50 | intro a |
| 51 | rw [LinearMap.smul_apply, map_zsmul, hp, zsmul_eq_mul, Nat.cast_pow, hs] |
| 52 | ring |
| 53 | |
| 54 | structure CMIntegralGeneratorData [NumberField.IsCMField E] where |
| 55 | multiplier : ℕ |
| 56 | multiplier_ne_zero : multiplier ≠ 0 |
| 57 | generator : NumberField.RingOfIntegers E |
| 58 | primitive : IntermediateField.adjoin ℚ {(generator : E)} = ⊤ |
| 59 | norm : generator * NumberField.IsCMField.ringOfIntegersComplexConj E generator = |
| 60 | (multiplier : NumberField.RingOfIntegers E) ^ 2 |
| 61 | conductor : ℕ |
| 62 | conductor_ne_zero : conductor ≠ 0 |
| 63 | polynomial : NumberField.RingOfIntegers E →ₗ[ℤ] ℤ[X] |
| 64 | reconstruction : ∀ a, aeval (generator : E) (polynomial a) = (conductor : E) * (a : E) |
| 65 | |
| 66 | theorem cm_integral_generator_data_exists [NumberField.IsCMField E] : |
| 67 | Nonempty (CMIntegralGeneratorData E) := by |
| 68 | obtain ⟨d, v, hd, hv, hnorm⟩ := Generator.cm_integral_primitive_similitude_generator E |
| 69 | obtain ⟨c, p, hc, hp⟩ := integral_primitive_natural_reconstruction E v hv |
| 70 | exact ⟨⟨d, hd, v, hv, hnorm, c, hc, p, hp⟩⟩ |
| 71 | |
| 72 | end |
| 73 | |
| 74 | end OAI.AlgebraicGeometry.PELModuli.IntegralModel.CM.GeneratorReconstruction |