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.AbelianModuli.HilbertConstruction.KernelDimensionCriterion |
| 2 | |
| 3 | /-! # Kernel Exact Criterion -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Linear.KernelExactCriterion |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Bijectivity of the specified cycle comparison is equivalent to |
| 10 | injectivity and exactness, over an arbitrary coefficient ring. -/ |
| 11 | universe u v w z |
| 12 | variable {R : Type u} [CommRing R] |
| 13 | variable {V : Type v} [AddCommGroup V] [Module R V] |
| 14 | variable {M : Type w} [AddCommGroup M] [Module R M] |
| 15 | variable {N : Type z} [AddCommGroup N] [Module R N] |
| 16 | |
| 17 | theorem linearKernelComparison_injective_iff |
| 18 | (s : V →ₗ[R] M) (d : M →ₗ[R] N) (h : d.comp s = 0) : |
| 19 | Function.Injective (KernelDimensionCriterion.linearKernelComparison s d h) ↔ Function.Injective s := by |
| 20 | constructor |
| 21 | · intro hs x y hxy |
| 22 | exact hs (Subtype.ext hxy) |
| 23 | · intro hs x y hxy |
| 24 | exact hs (congrArg Subtype.val hxy) |
| 25 | |
| 26 | theorem linearKernelComparison_surjective_iff_range |
| 27 | (s : V →ₗ[R] M) (d : M →ₗ[R] N) (h : d.comp s = 0) : |
| 28 | Function.Surjective (KernelDimensionCriterion.linearKernelComparison s d h) ↔ s.range = d.ker := by |
| 29 | constructor |
| 30 | · intro hs |
| 31 | apply le_antisymm |
| 32 | · rintro _ ⟨x, rfl⟩ |
| 33 | exact LinearMap.congr_fun h x |
| 34 | · intro x hx |
| 35 | obtain ⟨y, hy⟩ := hs ⟨x, hx⟩ |
| 36 | exact ⟨y, congrArg Subtype.val hy⟩ |
| 37 | · intro hs x |
| 38 | have hx : x.val ∈ s.range := hs.symm ▸ x.property |
| 39 | obtain ⟨y, hy⟩ := hx |
| 40 | exact ⟨y, Subtype.ext hy⟩ |
| 41 | |
| 42 | theorem linearKernelComparison_bijective_iff_exact |
| 43 | (s : V →ₗ[R] M) (d : M →ₗ[R] N) (h : d.comp s = 0) : |
| 44 | Function.Bijective (KernelDimensionCriterion.linearKernelComparison s d h) ↔ |
| 45 | Function.Injective s ∧ s.range = d.ker := by |
| 46 | exact and_congr (linearKernelComparison_injective_iff s d h) |
| 47 | (linearKernelComparison_surjective_iff_range s d h) |
| 48 | |
| 49 | theorem linearKernelComparison_bijective_iff_values |
| 50 | (s : V →ₗ[R] M) (d : M →ₗ[R] N) (h : d.comp s = 0) : |
| 51 | Function.Bijective (KernelDimensionCriterion.linearKernelComparison s d h) ↔ |
| 52 | Function.Injective s ∧ ∀ x, d x = 0 → ∃ y, s y = x := by |
| 53 | constructor |
| 54 | · intro hs |
| 55 | refine ⟨(linearKernelComparison_injective_iff s d h).mp hs.injective, ?_⟩ |
| 56 | intro x hx |
| 57 | obtain ⟨y, hy⟩ := hs.surjective ⟨x, hx⟩ |
| 58 | exact ⟨y, congrArg Subtype.val hy⟩ |
| 59 | · rintro ⟨hi, he⟩ |
| 60 | refine ⟨(linearKernelComparison_injective_iff s d h).mpr hi, ?_⟩ |
| 61 | intro x |
| 62 | obtain ⟨y, hy⟩ := he x.val x.property |
| 63 | exact ⟨y, Subtype.ext hy⟩ |
| 64 | |
| 65 | end |
| 66 | |
| 67 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Linear.KernelExactCriterion |