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.Divisors.LineBundles.Symmetric.LinearEquiv |
| 2 | import OAI.AlgebraicGeometry.Divisors.LineBundles.SymmetricInfinity.Kernel |
| 3 | import OAI.AlgebraicGeometry.Divisors.LineBundles.Augmented.SymmetricRegular |
| 4 | import OAI.AlgebraicGeometry.Divisors.LineBundles.RegularRingEquiv |
| 5 | |
| 6 | /-! # Split Hyperplane -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.Divisors.LineBundles.Symmetric.SplitHyperplane.BundleCycles |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! Splitting off a rank-one direct summand gives a genuine |
| 13 | regular homogeneous equation and its exact symmetric-algebra quotient. -/ |
| 14 | |
| 15 | variable {R M N : Type} [CommRing R] [AddCommGroup M] [Module R M] |
| 16 | [AddCommGroup N] [Module R N] (e : M ≃ₗ[R] R × N) |
| 17 | |
| 18 | def splitHyperplaneQuotient : M →ₗ[R] N := (LinearMap.snd R R N).comp e.toLinearMap |
| 19 | |
| 20 | theorem splitHyperplaneQuotient_surjective : Function.Surjective (splitHyperplaneQuotient e) := by |
| 21 | intro n |
| 22 | exact ⟨e.symm (0, n), by change (e (e.symm (0, n))).2 = n; rw [e.apply_symm_apply]⟩ |
| 23 | |
| 24 | def splitHyperplaneEquation : SymmetricAlgebra R M := SymmetricAlgebra.ι R M (e.symm (1, 0)) |
| 25 | |
| 26 | theorem splitHyperplaneEquation_regular : IsRegular (splitHyperplaneEquation e) := by |
| 27 | have h := RegularRingEquiv.BundleCycles.regular_ringEquiv (LinearEquiv.BundleCycles.symmetricLinearEquiv e.symm) (Augmented.SymmetricChart.BundleCycles.augmentedSymmetricVariable R N) |
| 28 | (Augmented.SymmetricRegular.BundleCycles.augmentedSymmetricVariable_isRegular R N) |
| 29 | have he : LinearEquiv.BundleCycles.symmetricLinearEquiv e.symm (Augmented.SymmetricChart.BundleCycles.augmentedSymmetricVariable R N) = splitHyperplaneEquation e := |
| 30 | LinearEquiv.BundleCycles.symmetricLinearEquiv_generator e.symm (1, 0) |
| 31 | exact he ▸ h |
| 32 | |
| 33 | theorem splitHyperplaneEquation_kernel : |
| 34 | RingHom.ker (GradedMap.BundleCycles.symmetricGradedMap (splitHyperplaneQuotient e)).toRingHom = |
| 35 | Ideal.span {splitHyperplaneEquation e} := by |
| 36 | have H := GradedMap.BundleCycles.symmetricGradedMap_comp e.toLinearMap (LinearMap.snd R R N) |
| 37 | have hc : RingHom.ker (GradedMap.BundleCycles.symmetricGradedMap (splitHyperplaneQuotient e)).toRingHom = |
| 38 | (RingHom.ker (GradedMap.BundleCycles.symmetricGradedMap (LinearMap.snd R R N)).toRingHom).comap |
| 39 | (LinearEquiv.BundleCycles.symmetricLinearEquiv e).toRingHom := by |
| 40 | ext a |
| 41 | exact (congrArg (fun b => b = 0) (DFunLike.congr_fun H a)).symm.to_iff |
| 42 | rw [hc, SymmetricInfinity.Kernel.BundleCycles.symmetricInfinity_kernel] |
| 43 | change (Ideal.span {Augmented.SymmetricChart.BundleCycles.augmentedSymmetricVariable R N}).comap (LinearEquiv.BundleCycles.symmetricLinearEquiv e) = _ |
| 44 | rw [← Ideal.map_symm (LinearEquiv.BundleCycles.symmetricLinearEquiv e), Ideal.map_span, Set.image_singleton] |
| 45 | exact congrArg (fun a => Ideal.span {a}) (LinearEquiv.BundleCycles.symmetricLinearEquiv_generator e.symm (1, 0)) |
| 46 | |
| 47 | end |
| 48 | |
| 49 | end OAI.AlgebraicGeometry.Divisors.LineBundles.Symmetric.SplitHyperplane.BundleCycles |