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.Augmented.SymmetricChartDegreeOne |
| 2 | import Mathlib.Algebra.Polynomial.AlgebraMap |
| 3 | |
| 4 | /-! # Symmetric Polynomial -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Divisors.LineBundles.Augmented.SymmetricPolynomial.BundleCycles |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | section |
| 11 | |
| 12 | /-! The distinguished summand of an augmented symmetric algebra is |
| 13 | an actual polynomial variable over the module's symmetric algebra. -/ |
| 14 | |
| 15 | variable (R M : Type) [CommRing R] [AddCommGroup M] [Module R M] |
| 16 | |
| 17 | def augmentedSymmetricPolynomialLinear : R × M →ₗ[R] Polynomial (SymmetricAlgebra R M) := |
| 18 | (LinearMap.fst R R M).smulRight Polynomial.X + |
| 19 | ((Polynomial.CAlgHom (R := R) (A := SymmetricAlgebra R M)).toLinearMap.comp |
| 20 | (SymmetricAlgebra.ι R M)).comp (LinearMap.snd R R M) |
| 21 | |
| 22 | def augmentedSymmetricPolynomialMap : SymmetricAlgebra R (R × M) →ₐ[R] Polynomial (SymmetricAlgebra R M) := |
| 23 | SymmetricAlgebra.lift (augmentedSymmetricPolynomialLinear R M) |
| 24 | |
| 25 | theorem augmentedSymmetricPolynomialMap_generator (r : R) (m : M) : |
| 26 | augmentedSymmetricPolynomialMap R M (SymmetricAlgebra.ι R (R × M) (r, m)) = |
| 27 | r • Polynomial.X + Polynomial.C (SymmetricAlgebra.ι R M m) := |
| 28 | SymmetricAlgebra.lift_ι_apply _ _ |
| 29 | |
| 30 | theorem augmentedSymmetricPolynomialMap_variable : |
| 31 | augmentedSymmetricPolynomialMap R M (SymmetricChart.BundleCycles.augmentedSymmetricVariable R M) = Polynomial.X := by |
| 32 | change augmentedSymmetricPolynomialMap R M (SymmetricAlgebra.ι R (R × M) (1, 0)) = _ |
| 33 | rw [augmentedSymmetricPolynomialMap_generator, one_smul, map_zero, map_zero, add_zero] |
| 34 | |
| 35 | def augmentedSymmetricCoefficientMap : SymmetricAlgebra R M →ₐ[R] SymmetricAlgebra R (R × M) := |
| 36 | SymmetricAlgebra.lift (SymmetricChartGenerators.BundleCycles.augmentedSymmetricModuleLinear R M) |
| 37 | |
| 38 | theorem augmentedSymmetricCoefficientMap_generator (m : M) : |
| 39 | augmentedSymmetricCoefficientMap R M (SymmetricAlgebra.ι R M m) = |
| 40 | SymmetricChartGenerators.BundleCycles.augmentedSymmetricModuleLinear R M m := SymmetricAlgebra.lift_ι_apply _ _ |
| 41 | |
| 42 | def augmentedSymmetricPolynomialInverse : Polynomial (SymmetricAlgebra R M) →ₐ[R] SymmetricAlgebra R (R × M) := |
| 43 | Polynomial.eval₂AlgHom (augmentedSymmetricCoefficientMap R M) (SymmetricChart.BundleCycles.augmentedSymmetricVariable R M) |
| 44 | (fun _ => Commute.all _ _) |
| 45 | |
| 46 | theorem augmentedSymmetricPolynomialInverse_C (a : SymmetricAlgebra R M) : |
| 47 | augmentedSymmetricPolynomialInverse R M (Polynomial.C a) = augmentedSymmetricCoefficientMap R M a := |
| 48 | Polynomial.eval₂_C _ _ |
| 49 | |
| 50 | theorem augmentedSymmetricPolynomialInverse_X : |
| 51 | augmentedSymmetricPolynomialInverse R M Polynomial.X = SymmetricChart.BundleCycles.augmentedSymmetricVariable R M := |
| 52 | Polynomial.eval₂_X _ _ |
| 53 | |
| 54 | end |
| 55 | |
| 56 | /-! The actual polynomial decomposition of the augmented symmetric |
| 57 | algebra, including regularity of its distinguished coordinate. -/ |
| 58 | |
| 59 | variable (R M : Type) [CommRing R] [AddCommGroup M] [Module R M] |
| 60 | |
| 61 | theorem augmentedSymmetricPolynomial_leftInverse : |
| 62 | Function.LeftInverse (augmentedSymmetricPolynomialInverse R M) (augmentedSymmetricPolynomialMap R M) := by |
| 63 | have h : (augmentedSymmetricPolynomialInverse R M).comp (augmentedSymmetricPolynomialMap R M) = |
| 64 | AlgHom.id R (SymmetricAlgebra R (R × M)) := by |
| 65 | apply SymmetricAlgebra.algHom_ext |
| 66 | apply LinearMap.ext |
| 67 | intro v |
| 68 | obtain ⟨r, m⟩ := v |
| 69 | change augmentedSymmetricPolynomialInverse R M |
| 70 | (augmentedSymmetricPolynomialMap R M (SymmetricAlgebra.ι R (R × M) (r, m))) = |
| 71 | SymmetricAlgebra.ι R (R × M) (r, m) |
| 72 | rw [augmentedSymmetricPolynomialMap_generator, map_add, map_smul, |
| 73 | augmentedSymmetricPolynomialInverse_X, augmentedSymmetricPolynomialInverse_C, |
| 74 | augmentedSymmetricCoefficientMap_generator] |
| 75 | exact (SymmetricChartDegreeOne.BundleCycles.augmentedSymmetricGenerator_split R M r m).symm |
| 76 | exact fun a => DFunLike.congr_fun h a |
| 77 | |
| 78 | theorem augmentedSymmetricPolynomial_coefficient : |
| 79 | (augmentedSymmetricPolynomialMap R M).comp (augmentedSymmetricCoefficientMap R M) = |
| 80 | Polynomial.CAlgHom := by |
| 81 | apply SymmetricAlgebra.algHom_ext |
| 82 | apply LinearMap.ext |
| 83 | intro m |
| 84 | change augmentedSymmetricPolynomialMap R M |
| 85 | (augmentedSymmetricCoefficientMap R M (SymmetricAlgebra.ι R M m)) = |
| 86 | Polynomial.C (SymmetricAlgebra.ι R M m) |
| 87 | rw [augmentedSymmetricCoefficientMap_generator] |
| 88 | change augmentedSymmetricPolynomialMap R M (SymmetricAlgebra.ι R (R × M) (0, m)) = _ |
| 89 | rw [augmentedSymmetricPolynomialMap_generator, zero_smul, zero_add] |
| 90 | |
| 91 | theorem augmentedSymmetricPolynomial_rightInverse : |
| 92 | Function.RightInverse (augmentedSymmetricPolynomialInverse R M) (augmentedSymmetricPolynomialMap R M) := by |
| 93 | have h : (augmentedSymmetricPolynomialMap R M).comp (augmentedSymmetricPolynomialInverse R M) = |
| 94 | AlgHom.id R (Polynomial (SymmetricAlgebra R M)) := by |
| 95 | apply Polynomial.algHom_ext' |
| 96 | · apply AlgHom.ext |
| 97 | intro a |
| 98 | change augmentedSymmetricPolynomialMap R M |
| 99 | (augmentedSymmetricPolynomialInverse R M (Polynomial.C a)) = Polynomial.C a |
| 100 | rw [augmentedSymmetricPolynomialInverse_C] |
| 101 | exact DFunLike.congr_fun (augmentedSymmetricPolynomial_coefficient R M) a |
| 102 | · change augmentedSymmetricPolynomialMap R M |
| 103 | (augmentedSymmetricPolynomialInverse R M Polynomial.X) = Polynomial.X |
| 104 | rw [augmentedSymmetricPolynomialInverse_X, augmentedSymmetricPolynomialMap_variable] |
| 105 | exact fun a => DFunLike.congr_fun h a |
| 106 | |
| 107 | def augmentedSymmetricPolynomialEquiv : SymmetricAlgebra R (R × M) ≃ₐ[R] Polynomial (SymmetricAlgebra R M) := |
| 108 | { augmentedSymmetricPolynomialMap R M with |
| 109 | invFun := augmentedSymmetricPolynomialInverse R M |
| 110 | left_inv := augmentedSymmetricPolynomial_leftInverse R M |
| 111 | right_inv := augmentedSymmetricPolynomial_rightInverse R M } |
| 112 | |
| 113 | end |
| 114 | |
| 115 | end OAI.AlgebraicGeometry.Divisors.LineBundles.Augmented.SymmetricPolynomial.BundleCycles |