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.BoundedResolution |
| 2 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Finite.Projectives |
| 3 | import Mathlib.RingTheory.LocalRing.Module |
| 4 | |
| 5 | /-! # Bounded Resolution -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Finite.BoundedResolution |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Finite modules of bounded projective dimension over Noetherian rings |
| 12 | have bounded resolutions by finite projectives. Over a local ring every |
| 13 | term of such a resolution is finite free. -/ |
| 14 | |
| 15 | set_option backward.isDefEq.respectTransparency false |
| 16 | |
| 17 | open _root_.CategoryTheory _root_.CategoryTheory.Limits |
| 18 | |
| 19 | universe u |
| 20 | |
| 21 | variable (R : Type u) [CommRing R] [IsNoetherianRing R] |
| 22 | |
| 23 | theorem exists_finite_bounded_resolution (M : ModuleCat.{u} R) [Module.Finite R M] |
| 24 | (d : ℕ) [HasProjectiveDimensionLE M d] : |
| 25 | ∃ P : ProjectiveResolution M, (∀ n, Module.Finite R (P.complex.X n)) ∧ |
| 26 | ∀ n, d < n → IsZero (P.complex.X n) := by |
| 27 | induction d generalizing M with |
| 28 | | zero => |
| 29 | let : Projective M := (projective_iff_hasProjectiveDimensionLE_zero M).mpr inferInstance |
| 30 | refine ⟨ProjectiveResolution.self M, ?_, ?_⟩ |
| 31 | · intro n |
| 32 | cases n with |
| 33 | | zero => exact inferInstanceAs (Module.Finite R M) |
| 34 | | succ n => |
| 35 | let : Subsingleton ((ProjectiveResolution.self M).complex.X (n + 1)) := |
| 36 | ModuleCat.subsingleton_of_isZero |
| 37 | (HomologicalComplex.isZero_single_obj_X (ComplexShape.down ℕ) 0 M (n + 1) (by omega)) |
| 38 | infer_instance |
| 39 | · intro n hn |
| 40 | exact HomologicalComplex.isZero_single_obj_X _ _ _ _ (by omega) |
| 41 | | succ d ih => |
| 42 | obtain ⟨F, _, _, _, _, f, hf⟩ := Module.exists_finite_presentation R M |
| 43 | let π : ModuleCat.of R F ⟶ M := ModuleCat.ofHom f |
| 44 | let : Epi π := (ModuleCat.epi_iff_surjective π).mpr hf |
| 45 | let S := ShortComplex.mk (kernel.ι π) π (kernel.condition π) |
| 46 | have hS : S.ShortExact := |
| 47 | { exact := ShortComplex.exact_of_f_is_kernel S (kernelIsKernel π) |
| 48 | mono_f := inferInstanceAs (Mono (kernel.ι π)) |
| 49 | epi_g := inferInstanceAs (Epi π) } |
| 50 | let : Projective S.X₂ := inferInstanceAs (Projective (ModuleCat.of R F)) |
| 51 | let : Module.Finite R S.X₁ := Module.Finite.of_injective (kernel.ι π).hom |
| 52 | ((ModuleCat.mono_iff_injective (kernel.ι π)).mp inferInstance) |
| 53 | let : HasProjectiveDimensionLE S.X₁ d := |
| 54 | (hS.hasProjectiveDimensionLT_X₃_iff d inferInstance).mp inferInstance |
| 55 | obtain ⟨Q, hQfin, hQbound⟩ := ih S.X₁ |
| 56 | refine ⟨ResolutionAugment.resolution S hS Q, ?_, ?_⟩ |
| 57 | · intro n |
| 58 | cases n with |
| 59 | | zero => exact inferInstanceAs (Module.Finite R F) |
| 60 | | succ n => exact hQfin n |
| 61 | · intro n hn |
| 62 | cases n with |
| 63 | | zero => omega |
| 64 | | succ n => exact hQbound n (by omega) |
| 65 | |
| 66 | theorem exists_finite_free_bounded_resolution [IsLocalRing R] |
| 67 | (M : ModuleCat.{u} R) [Module.Finite R M] (d : ℕ) [HasProjectiveDimensionLE M d] : |
| 68 | ∃ P : ProjectiveResolution M, |
| 69 | (∀ n, Module.Finite R (P.complex.X n) ∧ Module.Free R (P.complex.X n)) ∧ |
| 70 | ∀ n, d < n → IsZero (P.complex.X n) := by |
| 71 | obtain ⟨P, hPfin, hPbound⟩ := exists_finite_bounded_resolution R M d |
| 72 | refine ⟨P, ?_, hPbound⟩ |
| 73 | intro n |
| 74 | let := hPfin n |
| 75 | let : Module.Projective R (P.complex.X n) := ModuleCat.projective_of_module_projective _ |
| 76 | exact ⟨hPfin n, Module.free_of_flat_of_isLocalRing⟩ |
| 77 | |
| 78 | end |
| 79 | |
| 80 | end OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Finite.BoundedResolution |