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.TorAlgebra.FlatLength |
| 2 | import OAI.AlgebraicGeometry.CycleClass.Thom.TorAlgebra.IsolatedEuler |
| 3 | import OAI.AlgebraicGeometry.CycleClass.Thom.TorAlgebra.EulerTransport |
| 4 | import Mathlib.RingTheory.TensorProduct.Quotient |
| 5 | |
| 6 | /-! # Quotient Euler Equiv -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.CycleClass.Thom.Local.QuotientEulerEquiv.Constructions |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! The exact native Tor Euler sum for two quotient modules is |
| 13 | invariant under local ring isomorphisms, including its infinite-length |
| 14 | and truncation conventions. -/ |
| 15 | |
| 16 | open _root_.CategoryTheory |
| 17 | open scoped TensorProduct |
| 18 | |
| 19 | open OAI.AlgebraicGeometry.CycleClass.Thom.TorAlgebra.Euler.Tor OAI.AlgebraicGeometry.CycleClass.Thom.TorAlgebra.FlatExtension OAI.AlgebraicGeometry.CycleClass.Thom.TorAlgebra.FlatLength.Tor |
| 20 | open OAI.AlgebraicGeometry.CycleClass.Thom.TorAlgebra.IsolatedEuler OAI.AlgebraicGeometry.CycleClass.Thom.TorAlgebra.EulerTransport.Tor |
| 21 | |
| 22 | set_option backward.isDefEq.respectTransparency false |
| 23 | set_option backward.isDefEq.respectTransparency.types false |
| 24 | |
| 25 | universe u |
| 26 | |
| 27 | theorem euler_quotients_congr (R : Type u) [CommRing R] (I J I' J' : Ideal R) |
| 28 | (hI : I = I') (hJ : J = J') (d : ℕ) : |
| 29 | TorAlgebra.Euler.Tor.euler R (ModuleCat.of R (R ⧸ I)) (ModuleCat.of R (R ⧸ J)) d = |
| 30 | TorAlgebra.Euler.Tor.euler R (ModuleCat.of R (R ⧸ I')) (ModuleCat.of R (R ⧸ J')) d := by |
| 31 | cases hI |
| 32 | cases hJ |
| 33 | rfl |
| 34 | |
| 35 | variable (R S : Type u) [CommRing R] [CommRing S] [Algebra R S] |
| 36 | |
| 37 | def quotientBaseChangeIso (I : Ideal R) : |
| 38 | (TorAlgebra.FlatExtension.baseChange R S).obj (ModuleCat.of R (R ⧸ I)) ≅ ModuleCat.of S (S ⧸ I.map (algebraMap R S)) := |
| 39 | (Algebra.TensorProduct.quotIdealMapEquivTensorQuot S I).symm.toLinearEquiv.toModuleIso |
| 40 | |
| 41 | theorem euler_quotients_baseChange [IsLocalRing R] [IsLocalRing S] |
| 42 | [IsLocalHom (algebraMap R S)] [Module.Flat R S] |
| 43 | (I J : Ideal R) (d : ℕ) |
| 44 | (h : (IsLocalRing.maximalIdeal R).map (algebraMap R S) = IsLocalRing.maximalIdeal S) : |
| 45 | TorAlgebra.Euler.Tor.euler R (ModuleCat.of R (R ⧸ I)) (ModuleCat.of R (R ⧸ J)) d = |
| 46 | TorAlgebra.Euler.Tor.euler S (ModuleCat.of S (S ⧸ I.map (algebraMap R S))) |
| 47 | (ModuleCat.of S (S ⧸ J.map (algebraMap R S))) d := by |
| 48 | have he := TorAlgebra.FlatLength.Tor.euler_length_of_maximalIdeal R S (ModuleCat.of R (R ⧸ I)) (ModuleCat.of R (R ⧸ J)) d h |
| 49 | change TorAlgebra.Euler.Tor.euler S ((TorAlgebra.FlatExtension.baseChange R S).obj (ModuleCat.of R (R ⧸ I))) |
| 50 | ((TorAlgebra.FlatExtension.baseChange R S).obj (ModuleCat.of R (R ⧸ J))) d = _ at he |
| 51 | exact he.symm.trans ((TorAlgebra.IsolatedEuler.euler_iso_left S (quotientBaseChangeIso R S I) _ d).trans |
| 52 | (TorAlgebra.EulerTransport.Tor.iso_right S _ (quotientBaseChangeIso R S J) d)) |
| 53 | |
| 54 | omit [Algebra R S] in |
| 55 | theorem euler_quotients_ringEquiv [IsLocalRing R] [IsLocalRing S] |
| 56 | (e : R ≃+* S) (I J : Ideal R) (d : ℕ) : |
| 57 | TorAlgebra.Euler.Tor.euler R (ModuleCat.of R (R ⧸ I)) (ModuleCat.of R (R ⧸ J)) d = |
| 58 | TorAlgebra.Euler.Tor.euler S (ModuleCat.of S (S ⧸ I.map e.toRingHom)) (ModuleCat.of S (S ⧸ J.map e.toRingHom)) d := by |
| 59 | let : Algebra R S := e.toRingHom.toAlgebra |
| 60 | let ea : R ≃ₐ[R] S := { e with commutes' := fun _ => rfl } |
| 61 | let : Module.Flat R S := Module.Flat.of_linearEquiv ea.toLinearEquiv.symm |
| 62 | let : IsLocalHom (algebraMap R S) := ⟨fun b hb => |
| 63 | (congrArg IsUnit (e.symm_apply_apply b)).mp (hb.map e.symm.toMonoidHom)⟩ |
| 64 | apply euler_quotients_baseChange R S I J d |
| 65 | rw [← IsLocalRing.maximalIdeal_comap (algebraMap R S)] |
| 66 | exact Ideal.map_comap_of_surjective _ e.surjective _ |
| 67 | |
| 68 | end |
| 69 | |
| 70 | end OAI.AlgebraicGeometry.CycleClass.Thom.Local.QuotientEulerEquiv.Constructions |