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.KoszulEulerDifference |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.CommutingDifferenceAnnihilation |
| 3 | |
| 4 | /-! # Tensor Euler Polynomial -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Generated.TensorEulerPolynomial |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Two actual generated tensor factors give a polynomial for every nonnegative tensor-power Euler characteristic. -/ |
| 11 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 12 | universe u |
| 13 | |
| 14 | theorem lineBundle_eulerPolynomial_of_two_generated |
| 15 | {k : Type u} [Field k] {X : Scheme.{u}} (p : X ⟶ Spec (.of k)) [IsProper p] |
| 16 | (L H : Line.Bundles.LineBundle X) (hH : Finite.GlobalModuleGenerators.HasFiniteGlobalGenerators H.sheaf) |
| 17 | (hLH : Finite.GlobalModuleGenerators.HasFiniteGlobalGenerators (L.tensor H).sheaf) : |
| 18 | ∃ P : Polynomial ℚ, ∀ n : ℕ, |
| 19 | P.eval (n : ℚ) = (CohomologyEulerCharacteristic.coefficientEulerCharacteristic p (L.tensorPower n).sheaf : ℚ) := by |
| 20 | obtain ⟨r, hr⟩ := KoszulEulerDifference.lineBundleEulerShift_difference_annihilates_of_generators p H hH |
| 21 | obtain ⟨s, hs⟩ := KoszulEulerDifference.lineBundleEulerShift_difference_annihilates_of_generators p (L.tensor H) hLH |
| 22 | let T := LineBundle.EulerShifts.lineBundleEulerShift X (Line.Bundles.LineBundle.classOf L) |
| 23 | let U := LineBundle.EulerShifts.lineBundleEulerShift X (Line.Bundles.LineBundle.classOf H) |
| 24 | let v := LineBundle.EulerShifts.lineBundleClassEuler p |
| 25 | have hTUv : ((T * U - 1) ^ s) v = 0 := by |
| 26 | change ((LineBundle.EulerShifts.lineBundleEulerShift X (Line.Bundles.LineBundle.classOf L * Line.Bundles.LineBundle.classOf H) - 1) ^ s) |
| 27 | (LineBundle.EulerShifts.lineBundleClassEuler p) = 0 at hs |
| 28 | rwa [(LineBundle.EulerShifts.lineBundleEulerShift X).map_mul] at hs |
| 29 | have hv := CommutingDifferenceAnnihilation.commuting_tensor_differences_annihilate T U |
| 30 | (LineBundle.EulerShifts.lineBundleEulerShift_commute X (Line.Bundles.LineBundle.classOf L) (Line.Bundles.LineBundle.classOf H)) v s r hTUv hr |
| 31 | let φ : (Line.Bundles.LineBundle.IsoClass X → ℤ) →+ ℤ := |
| 32 | { toFun := fun f => f 1, map_zero' := rfl, map_add' := fun _ _ => rfl } |
| 33 | have hφ (f : Line.Bundles.LineBundle.IsoClass X → ℤ) : φ f = f 1 := rfl |
| 34 | obtain ⟨P, hP⟩ := EndomorphismOrbitPolynomial.exists_polynomial_of_endomorphism_difference_annihilates T φ v (s + r) hv |
| 35 | refine ⟨P, fun n => ?_⟩ |
| 36 | calc |
| 37 | P.eval (n : ℚ) = (φ ((T ^ n) v) : ℚ) := hP n |
| 38 | _ = (((T ^ n) v) 1 : ℚ) := congrArg (fun z : ℤ => (z : ℚ)) (hφ _) |
| 39 | _ = (CohomologyEulerCharacteristic.coefficientEulerCharacteristic p (L.tensorPower n).sheaf : ℚ) := |
| 40 | congrArg (fun z : ℤ => (z : ℚ)) (LineBundle.EulerShifts.lineBundleEulerShift_power_eval_one p L n) |
| 41 | |
| 42 | end |
| 43 | |
| 44 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Generated.TensorEulerPolynomial |