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.Tor.Euler |
| 2 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Tor.FiniteLength |
| 3 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Truncation |
| 4 | |
| 5 | /-! # Isolated Tor Euler -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.IsolatedTorEuler |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! At an isolated support intersection, finiteness for every term of a |
| 12 | short exact sequence follows from the middle module. Smooth stalk bounds |
| 13 | then give additivity of the exact local intersection formula. -/ |
| 14 | |
| 15 | set_option backward.isDefEq.respectTransparency false |
| 16 | |
| 17 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 18 | |
| 19 | universe u |
| 20 | |
| 21 | theorem additivity (R : Type u) [CommRing R] [IsNoetherianRing R] |
| 22 | (N : ModuleCat.{u} R) (S : ShortComplex (ModuleCat R)) (hS : S.ShortExact) |
| 23 | [Module.Finite R S.X₂] [Module.Finite R N] (d : ℕ) [HasProjectiveDimensionLE N d] |
| 24 | (p : PrimeSpectrum R) (hp : Module.support R S.X₂ ∩ Module.support R N ⊆ {p}) : |
| 25 | Tor.Euler.euler R S.X₂ N d = |
| 26 | Tor.Euler.euler R S.X₁ N d + Tor.Euler.euler R S.X₃ N d := by |
| 27 | let : Mono S.f := hS.mono_f |
| 28 | let : Epi S.g := hS.epi_g |
| 29 | have hf := (ModuleCat.mono_iff_injective S.f).mp inferInstance |
| 30 | have hg := (ModuleCat.epi_iff_surjective S.g).mp inferInstance |
| 31 | let : Module.Finite R S.X₁ := Module.Finite.of_injective S.f.hom hf |
| 32 | let : Module.Finite R S.X₃ := Module.Finite.of_surjective S.g.hom hg |
| 33 | have hp₁ : Module.support R S.X₁ ∩ Module.support R N ⊆ {p} := |
| 34 | (Set.inter_subset_inter_left _ (Module.support_subset_of_injective S.f.hom hf)).trans hp |
| 35 | have hp₃ : Module.support R S.X₃ ∩ Module.support R N ⊆ {p} := |
| 36 | (Set.inter_subset_inter_left _ (Module.support_subset_of_surjective S.g.hom hg)).trans hp |
| 37 | exact Tor.Euler.additivity R N S hS d |
| 38 | (Tor.FiniteLength.tor_length_ne_top R S.X₁ N p hp₁) |
| 39 | (Tor.FiniteLength.tor_length_ne_top R S.X₂ N p hp) |
| 40 | (Tor.FiniteLength.tor_length_ne_top R S.X₃ N p hp₃) |
| 41 | (BoundedResolution.tor_isZero R S.X₃ N d (d + 1) (by omega)) |
| 42 | |
| 43 | def submoduleSequence (R : Type u) [CommRing R] (M : ModuleCat.{u} R) (L : Submodule R M) : |
| 44 | ShortComplex (ModuleCat R) := |
| 45 | ShortComplex.mk (ModuleCat.ofHom L.subtype) (ModuleCat.ofHom L.mkQ) |
| 46 | (ModuleCat.hom_ext (by ext; simp)) |
| 47 | |
| 48 | theorem submoduleSequence_shortExact (R : Type u) [CommRing R] |
| 49 | (M : ModuleCat.{u} R) (L : Submodule R M) : (submoduleSequence R M L).ShortExact := by |
| 50 | exact |
| 51 | { mono_f := (ModuleCat.mono_iff_injective (ModuleCat.ofHom L.subtype)).mpr L.subtype_injective |
| 52 | exact := (ShortComplex.ShortExact.moduleCat_exact_iff_function_exact |
| 53 | (submoduleSequence R M L)).mpr (LinearMap.exact_subtype_mkQ L) |
| 54 | epi_g := (ModuleCat.epi_iff_surjective (ModuleCat.ofHom L.mkQ)).mpr L.mkQ_surjective } |
| 55 | |
| 56 | theorem intersectionMultiplicity_eq_submodule_sum |
| 57 | (X : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) (m d : ℕ) [SmoothOfRelativeDimension m X.structureMap] |
| 58 | (A B : IrreducibleCloseds X.carrier) |
| 59 | (hproper : ∀ D : IrreducibleCloseds X.carrier, |
| 60 | (D : Set X.carrier) ⊆ (A : Set X.carrier) ∩ B → d ≤ X.supportCodimension D) |
| 61 | (C : X.DimensionCycleSupport d) |
| 62 | (hxA : CycleClass.Thom.IntersectionGeometry.supportPoint C.val ∈ (A : Set X.carrier)) |
| 63 | (hxB : CycleClass.Thom.IntersectionGeometry.supportPoint C.val ∈ (B : Set X.carrier)) |
| 64 | (L : Submodule (X.carrier.presheaf.stalk (CycleClass.Thom.IntersectionGeometry.supportPoint C.val)) |
| 65 | (CycleClass.Thom.IntersectionGeometry.localSupportModule X.carrier A (CycleClass.Thom.IntersectionGeometry.supportPoint C.val) hxA)) : |
| 66 | CycleClass.Thom.IntersectionGeometry.intersectionMultiplicity X A B C.val = |
| 67 | Tor.Euler.euler _ (.of _ L) (CycleClass.Thom.IntersectionGeometry.localSupportModule X.carrier B (CycleClass.Thom.IntersectionGeometry.supportPoint C.val) hxB) m + |
| 68 | Tor.Euler.euler _ (.of _ ((CycleClass.Thom.IntersectionGeometry.localSupportModule X.carrier A (CycleClass.Thom.IntersectionGeometry.supportPoint C.val) hxA) ⧸ L)) |
| 69 | (CycleClass.Thom.IntersectionGeometry.localSupportModule X.carrier B (CycleClass.Thom.IntersectionGeometry.supportPoint C.val) hxB) m := by |
| 70 | let R := X.carrier.presheaf.stalk (CycleClass.Thom.IntersectionGeometry.supportPoint C.val) |
| 71 | let M := CycleClass.Thom.IntersectionGeometry.localSupportModule X.carrier A (CycleClass.Thom.IntersectionGeometry.supportPoint C.val) hxA |
| 72 | let N := CycleClass.Thom.IntersectionGeometry.localSupportModule X.carrier B (CycleClass.Thom.IntersectionGeometry.supportPoint C.val) hxB |
| 73 | let : Module.Finite R M := Local.TorFinite.localSupportModule_finite _ _ _ _ |
| 74 | let : Module.Finite R N := Local.TorFinite.localSupportModule_finite _ _ _ _ |
| 75 | let : Module.Finite R (submoduleSequence R M L).X₂ := |
| 76 | (inferInstance : Module.Finite R M) |
| 77 | let : HasProjectiveDimensionLE N m := |
| 78 | Smooth.StalkDimension.stalk_bound X.structureMap m (CycleClass.Thom.IntersectionGeometry.supportPoint C.val) N |
| 79 | rw [Truncation.intersectionMultiplicity_eq_relative_sum X m A B C.val hxA hxB] |
| 80 | exact additivity R N (submoduleSequence R M L) (submoduleSequence_shortExact R M L) m |
| 81 | (IsLocalRing.closedPoint R) |
| 82 | (Proper.TorLength.local_support_intersection_subset X m d A B hproper C hxA hxB) |
| 83 | |
| 84 | end |
| 85 | |
| 86 | end OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.IsolatedTorEuler |