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.IntersectionTheory.ProjectionFormula.AnnihilatedFiberTor |
| 2 | |
| 3 | /-! # Fiber Prime Tor -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.FiberPrimeTor |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! A prime quotient lying on the parameter fiber is identified with |
| 10 | the actual mapped quotient on that fiber. Its native Tor pairing with |
| 11 | a parameter-regular module is therefore the fiber Tor pairing. -/ |
| 12 | |
| 13 | set_option backward.isDefEq.respectTransparency false |
| 14 | set_option backward.isDefEq.respectTransparency.types false |
| 15 | |
| 16 | open _root_.CategoryTheory |
| 17 | |
| 18 | universe u |
| 19 | |
| 20 | variable (R S : Type u) [CommRing R] [CommRing S] [Algebra R S] |
| 21 | (hs : Function.Surjective (algebraMap R S)) |
| 22 | |
| 23 | def quotientEquiv (q : Ideal R) (hq : RingHom.ker (algebraMap R S) ≤ q) : |
| 24 | (R ⧸ q) ≃ₗ[R] (ModuleCat.restrictScalars (algebraMap R S)).obj (.of S (S ⧸ q.map (algebraMap R S))) := by |
| 25 | let T := S ⧸ q.map (algebraMap R S) |
| 26 | let f := Algebra.ofId R T |
| 27 | have hf : Function.Surjective f := Ideal.Quotient.mk_surjective.comp hs |
| 28 | have hk : RingHom.ker f.toRingHom = q := by |
| 29 | change RingHom.ker ((Ideal.Quotient.mk (q.map (algebraMap R S))).comp (algebraMap R S)) = q |
| 30 | rw [← RingHom.comap_ker, Ideal.mk_ker, Ideal.comap_map_of_surjective _ hs, |
| 31 | ← RingHom.ker_eq_comap_bot, sup_eq_left.mpr hq] |
| 32 | let eT : T ≃ₗ[R] (ModuleCat.restrictScalars (algebraMap R S)).obj (.of S T) := |
| 33 | { toFun := id |
| 34 | invFun := id |
| 35 | left_inv := fun _ => rfl |
| 36 | right_inv := fun _ => rfl |
| 37 | map_add' := fun _ _ => rfl |
| 38 | map_smul' := fun r t => (IsScalarTower.algebraMap_smul S r t).symm } |
| 39 | exact ((Submodule.quotEquivOfEq _ _ hk.symm).trans |
| 40 | (Ideal.quotientKerAlgEquivOfSurjective hf).toLinearEquiv).trans eT |
| 41 | |
| 42 | theorem annihilated (q : Ideal R) (r : R) (hrq : r ∈ q) : |
| 43 | ∀ m : R ⧸ q, r • m = 0 := by |
| 44 | intro m |
| 45 | obtain ⟨a, rfl⟩ := Ideal.Quotient.mk_surjective m |
| 46 | change Ideal.Quotient.mk q (r * a) = 0 |
| 47 | exact (Ideal.Quotient.eq_zero_iff_mem (I := q)).mpr (q.mul_mem_right a hrq) |
| 48 | |
| 49 | include hs in |
| 50 | theorem euler (r : R) (hr : IsSMulRegular R r) |
| 51 | (hk : RingHom.ker (algebraMap R S) = Ideal.span {r}) (q : Ideal R) (hrq : r ∈ q) |
| 52 | (N : ModuleCat.{u} R) (hN : IsSMulRegular N r) (N₀ : ModuleCat.{u} S) |
| 53 | (eN : QuotSMulTop r N ≃ₗ[R] (ModuleCat.restrictScalars (algebraMap R S)).obj N₀) (d : ℕ) : |
| 54 | Tor.Euler.euler R (.of R (R ⧸ q)) N d = |
| 55 | Tor.Euler.euler S (.of S (S ⧸ q.map (algebraMap R S))) N₀ d := by |
| 56 | have hq : RingHom.ker (algebraMap R S) ≤ q := by |
| 57 | rw [hk] |
| 58 | exact Ideal.span_le.mpr (Set.singleton_subset_iff.mpr hrq) |
| 59 | let M := ModuleCat.of R (R ⧸ q) |
| 60 | have hM : ∀ m : M, r • m = 0 := annihilated R q r hrq |
| 61 | let eM : QuotSMulTop r M ≃ₗ[R] M := |
| 62 | Submodule.quotEquivOfEqBot _ (AnnihilatedParameterComplex.submodule_eq_bot R r M hM) |
| 63 | exact AnnihilatedFiberTor.euler R S r hr (algebraMap R S) hs hk M N hM hN |
| 64 | (.of S (S ⧸ q.map (algebraMap R S))) N₀ (eM.trans (quotientEquiv R S hs q hq)) eN d |
| 65 | |
| 66 | end |
| 67 | |
| 68 | end OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.FiberPrimeTor |