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.FiltrationBaseLength |
| 2 | |
| 3 | /-! # Filtration Euler -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Flat.FiltrationEuler |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! A fixed affine prime filtration computes native Tor Euler |
| 10 | pairings after flat base change. The same filtration can therefore be |
| 11 | used at all native stalks before moving the other intersection cycle. -/ |
| 12 | |
| 13 | set_option backward.isDefEq.respectTransparency false |
| 14 | set_option backward.isDefEq.respectTransparency.types false |
| 15 | |
| 16 | open _root_.CategoryTheory |
| 17 | open scoped TensorProduct |
| 18 | |
| 19 | universe u |
| 20 | |
| 21 | variable (R S : Type u) [CommRing R] [CommRing S] [IsNoetherianRing R] [IsNoetherianRing S] |
| 22 | [Algebra R S] [Module.Flat R S] |
| 23 | (M : ModuleCat.{u} R) [Module.Finite R M] |
| 24 | (N : ModuleCat.{u} S) [Module.Finite S N] (d : ℕ) [HasProjectiveDimensionLE N d] |
| 25 | (p : PrimeSpectrum S) |
| 26 | (hp : Module.support S ((Extension.baseChange R S).obj M) ∩ Module.support S N ⊆ {p}) |
| 27 | |
| 28 | include hp in |
| 29 | theorem submodule_step (L K : Submodule R M) (hLK : L ≤ K) : |
| 30 | Tor.Euler.euler S ((Extension.baseChange R S).obj (.of R K)) N d = |
| 31 | Tor.Euler.euler S ((Extension.baseChange R S).obj (.of R L)) N d + |
| 32 | Tor.Euler.euler S ((Extension.baseChange R S).obj (.of R (K ⧸ L.submoduleOf K))) N d := by |
| 33 | let F := Extension.baseChange R S |
| 34 | let T := IsolatedTorEuler.submoduleSequence R (.of R K) (L.submoduleOf K) |
| 35 | have hT := IsolatedTorEuler.submoduleSequence_shortExact R (.of R K) (L.submoduleOf K) |
| 36 | let : Mono T.f := hT.mono_f |
| 37 | let : Epi T.g := hT.epi_g |
| 38 | let i : ModuleCat.of R K ⟶ M := ModuleCat.ofHom K.subtype |
| 39 | let : Mono i := (ModuleCat.mono_iff_injective i).mpr K.subtype_injective |
| 40 | have hK : Module.support S (F.obj (.of R K)) ∩ Module.support S N ⊆ {p} := |
| 41 | (Set.inter_subset_inter_left _ (Module.support_subset_of_injective (F.map i).hom |
| 42 | ((ModuleCat.mono_iff_injective _).mp (inferInstance : Mono (F.map i))))).trans hp |
| 43 | let : Module.Finite S (T.map F).X₂ := by |
| 44 | change Module.Finite S (S ⊗[R] K) |
| 45 | infer_instance |
| 46 | have he := IsolatedTorEuler.additivity S N (T.map F) (hT.map F) d p hK |
| 47 | change Tor.Euler.euler S (F.obj (.of R K)) N d = |
| 48 | Tor.Euler.euler S (F.obj (.of R (L.submoduleOf K))) N d + |
| 49 | Tor.Euler.euler S (F.obj (.of R (K ⧸ L.submoduleOf K))) N d at he |
| 50 | rw [PrimeFiltrationEuler.euler_iso_left S |
| 51 | (F.mapIso (Submodule.submoduleOfEquivOfLe hLK).toModuleIso) N d] at he |
| 52 | exact he |
| 53 | |
| 54 | include hp in |
| 55 | theorem filtration_sum |
| 56 | (s : RelSeries {(L, K) | Submodule.IsQuotientEquivQuotientPrime (A := R) (M := M) L K}) |
| 57 | (h₀ : s.head = ⊥) (ht : s.last = ⊤) : |
| 58 | Tor.Euler.euler S ((Extension.baseChange R S).obj M) N d = |
| 59 | ∑ i : Fin s.length, Tor.Euler.euler S ((Extension.baseChange R S).obj |
| 60 | (.of R (s i.succ ⧸ (s i.castSucc).submoduleOf (s i.succ)))) N d := by |
| 61 | let F := Extension.baseChange R S |
| 62 | have hs (n : ℕ) (hn : n < s.length + 1) : |
| 63 | Tor.Euler.euler S (F.obj (.of R (s ⟨n, hn⟩))) N d = |
| 64 | ∑ i : Fin n, Tor.Euler.euler S (F.obj |
| 65 | (.of R (s ⟨i.val + 1, (Nat.succ_le_of_lt i.isLt).trans_lt hn⟩ ⧸ |
| 66 | (s ⟨i.val, i.isLt.trans hn⟩).submoduleOf |
| 67 | (s ⟨i.val + 1, (Nat.succ_le_of_lt i.isLt).trans_lt hn⟩)))) N d := by |
| 68 | induction n with |
| 69 | | zero => |
| 70 | change Tor.Euler.euler S (F.obj (.of R s.head)) N d = _ |
| 71 | rw [h₀] |
| 72 | let : Subsingleton (F.obj (.of R (⊥ : Submodule R M))) := by |
| 73 | change Subsingleton (S ⊗[R] (⊥ : Submodule R M)) |
| 74 | infer_instance |
| 75 | rw [PrimeFiltrationEuler.euler_zero_left] |
| 76 | simp |
| 77 | | succ n ih => |
| 78 | rw [Fin.sum_univ_castSucc, submodule_step R S M N d p hp |
| 79 | (s ⟨n, by omega⟩) (s ⟨n + 1, hn⟩) (s.step ⟨n, by omega⟩).1, ih (by omega)] |
| 80 | rfl |
| 81 | have he := hs s.length (by omega) |
| 82 | change Tor.Euler.euler S (F.obj (.of R s.last)) N d = _ at he |
| 83 | rw [ht, PrimeFiltrationEuler.euler_iso_left S |
| 84 | (F.mapIso (Submodule.topEquiv : (⊤ : Submodule R M) ≃ₗ[R] M).toModuleIso) N d] at he |
| 85 | exact he |
| 86 | |
| 87 | end |
| 88 | |
| 89 | end OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Flat.FiltrationEuler |