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.HilbertScheme.Presentations.Finite.HomologySequences |
| 2 | |
| 3 | /-! # Cohomology Representatives -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.HilbertScheme.Presentations.Finite.CohomologyRepresentatives |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! A finite submodule containing representatives modulo boundaries gives finite actual module homology. -/ |
| 10 | |
| 11 | open _root_.CategoryTheory |
| 12 | |
| 13 | universe u v w |
| 14 | |
| 15 | variable (R : Type u) [CommRing R] [IsNoetherianRing R] |
| 16 | |
| 17 | theorem finite_comap_of_injective |
| 18 | {M : Type v} [AddCommGroup M] [Module R M] |
| 19 | {N : Type w} [AddCommGroup N] [Module R N] |
| 20 | (f : M →ₗ[R] N) (hf : Function.Injective f) (U : Submodule R N) [Module.Finite R U] : |
| 21 | Module.Finite R (U.comap f) := by |
| 22 | let j : U.comap f →ₗ[R] U := (f.comp (U.comap f).subtype).codRestrict U (fun x => x.property) |
| 23 | apply Module.Finite.of_injective j |
| 24 | intro x y hxy |
| 25 | apply Subtype.ext |
| 26 | exact hf (congrArg Subtype.val hxy) |
| 27 | |
| 28 | theorem finite_shortComplex_homology_of_representatives |
| 29 | (S : ShortComplex (ModuleCat.{v} R)) (U : Submodule R S.X₂) [Module.Finite R U] |
| 30 | (hrep : ∀ b : S.X₂, S.g b = 0 → ∃ a : S.X₁, b - S.f a ∈ U) : |
| 31 | Module.Finite R S.homology := by |
| 32 | let T := U.comap S.g.hom.ker.subtype |
| 33 | let : Module.Finite R T := finite_comap_of_injective R S.g.hom.ker.subtype |
| 34 | (Submodule.subtype_injective _) U |
| 35 | let π : T →ₗ[R] (S.g.hom.ker ⧸ S.moduleCatToCycles.range) := |
| 36 | S.moduleCatToCycles.range.mkQ.comp T.subtype |
| 37 | have hπ : Function.Surjective π := by |
| 38 | intro x |
| 39 | obtain ⟨b, rfl⟩ := Submodule.Quotient.mk_surjective S.moduleCatToCycles.range x |
| 40 | obtain ⟨a, ha⟩ := hrep b.val b.property |
| 41 | let c : S.g.hom.ker := ⟨b.val - S.f a, by |
| 42 | change S.g.hom (b.val - S.f a) = 0 |
| 43 | rw [map_sub, b.property, S.moduleCat_zero_apply, sub_self]⟩ |
| 44 | refine ⟨⟨c, ha⟩, ?_⟩ |
| 45 | change S.moduleCatToCycles.range.mkQ c = S.moduleCatToCycles.range.mkQ b |
| 46 | apply (Submodule.Quotient.eq _).mpr |
| 47 | refine ⟨-a, ?_⟩ |
| 48 | apply Subtype.ext |
| 49 | change S.f.hom (-a) = (b.val - S.f a) - b.val |
| 50 | rw [map_neg] |
| 51 | abel |
| 52 | let : Module.Finite R (S.g.hom.ker ⧸ S.moduleCatToCycles.range) := Module.Finite.of_surjective π hπ |
| 53 | let : Module.Finite R S.moduleCatLeftHomologyData.H := |
| 54 | inferInstanceAs (Module.Finite R (S.g.hom.ker ⧸ S.moduleCatToCycles.range)) |
| 55 | exact Module.Finite.of_surjective S.moduleCatHomologyIso.inv.hom |
| 56 | ((ModuleCat.epi_iff_surjective _).mp inferInstance) |
| 57 | |
| 58 | end |
| 59 | |
| 60 | end OAI.AlgebraicGeometry.HilbertScheme.Presentations.Finite.CohomologyRepresentatives |