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.CycleClass.Thom.Tensor.BalanceIdeal |
| 2 | import OAI.AlgebraicGeometry.CycleClass.Thom.UnramifiedDiagonalLocalization |
| 3 | import OAI.AlgebraicGeometry.CycleClass.Thom.LocalizedCompositeKernel |
| 4 | |
| 5 | /-! # Relative Diagonal Ideal -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.CycleClass.Thom.Local.RelativeDiagonalIdeal.Constructions |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! At a point on the diagonal, an unramified intermediate algebra |
| 12 | allows the full diagonal ideal to be replaced by the balancing ideal. |
| 13 | This is equality of ideals in the actual localized tensor algebra. -/ |
| 14 | |
| 15 | open scoped TensorProduct |
| 16 | |
| 17 | open OAI.AlgebraicGeometry.CycleClass.Thom.Tensor.BalanceIdeal.Constructions |
| 18 | |
| 19 | set_option backward.isDefEq.respectTransparency false |
| 20 | set_option backward.isDefEq.respectTransparency.types false |
| 21 | |
| 22 | universe u |
| 23 | variable (k P R : Type u) [CommRing k] [CommRing P] [CommRing R] |
| 24 | [Algebra k P] [Algebra k R] [Algebra P R] [IsScalarTower k P R] |
| 25 | |
| 26 | theorem multiplication_comp_balance : |
| 27 | (Algebra.TensorProduct.lmul' P (S := R)).toRingHom.comp (Tensor.BalanceIdeal.Constructions.balanceMap k P R).toRingHom = |
| 28 | (Algebra.TensorProduct.lmul' k (S := R)).toRingHom := by |
| 29 | have h : (Algebra.TensorProduct.lmul'' P (S := R)).comp (Tensor.BalanceIdeal.Constructions.balanceMap k P R) = |
| 30 | Algebra.TensorProduct.lmul'' k (S := R) := by |
| 31 | ext x |
| 32 | rfl |
| 33 | exact congrArg AlgHom.toRingHom h |
| 34 | |
| 35 | variable [Algebra.FormallyUnramified P R] [IsNoetherianRing (R ⊗[P] R)] |
| 36 | |
| 37 | theorem localized_diagonal_eq_balance (q : PrimeSpectrum R) : |
| 38 | (KaehlerDifferential.ideal k R).map |
| 39 | (algebraMap (R ⊗[k] R) |
| 40 | (Localization.AtPrime (q.asIdeal.comap (Algebra.TensorProduct.lmul' k).toRingHom))) = |
| 41 | (RingHom.ker (Tensor.BalanceIdeal.Constructions.balanceMap k P R).toRingHom).map |
| 42 | (algebraMap (R ⊗[k] R) |
| 43 | (Localization.AtPrime (q.asIdeal.comap (Algebra.TensorProduct.lmul' k).toRingHom))) := by |
| 44 | have hp : (q.asIdeal.comap (Algebra.TensorProduct.lmul' P).toRingHom).comap |
| 45 | (Tensor.BalanceIdeal.Constructions.balanceMap k P R).toRingHom = q.asIdeal.comap (Algebra.TensorProduct.lmul' k).toRingHom := by |
| 46 | change q.asIdeal.comap ((Algebra.TensorProduct.lmul' P).toRingHom.comp |
| 47 | (Tensor.BalanceIdeal.Constructions.balanceMap k P R).toRingHom) = _ |
| 48 | rw [multiplication_comp_balance] |
| 49 | have h := LocalizedCompositeKernel.Constructions.kernel_comp_map_eq_at (R ⊗[k] R) (R ⊗[P] R) R |
| 50 | (Tensor.BalanceIdeal.Constructions.balanceMap k P R).toRingHom (Algebra.TensorProduct.lmul' P).toRingHom |
| 51 | (Algebra.TensorProduct.mapOfCompatibleSMul_surjective P k R R R) |
| 52 | (PrimeSpectrum.comap (Algebra.TensorProduct.lmul' P).toRingHom q) |
| 53 | (PrimeSpectrum.comap (Algebra.TensorProduct.lmul' k).toRingHom q) hp |
| 54 | (UnramifiedDiagonalLocalization.Constructions.local_diagonal_eq_bot P R q) |
| 55 | rw [multiplication_comp_balance] at h |
| 56 | exact h |
| 57 | |
| 58 | end |
| 59 | |
| 60 | end OAI.AlgebraicGeometry.CycleClass.Thom.Local.RelativeDiagonalIdeal.Constructions |