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.Universal.KernelFieldCriterion |
| 2 | |
| 3 | /-! # Kernel Field Criterion -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Tensor.KernelFieldCriterion |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! The universal completeness criterion is unchanged when tensor |
| 10 | complexes are viewed over the original coefficient ring. This matches |
| 11 | the coefficient convention of the geometric Cech tensor comparison. -/ |
| 12 | open _root_.CategoryTheory |
| 13 | open scoped TensorProduct |
| 14 | universe u |
| 15 | variable {R : Type u} [CommRing R] |
| 16 | variable {V M N : Type u} |
| 17 | variable [AddCommGroup V] [Module R V] |
| 18 | variable [AddCommGroup M] [Module R M] |
| 19 | variable [AddCommGroup N] [Module R N] |
| 20 | variable (s : V →ₗ[R] M) (d : M →ₗ[R] N) (h : d.comp s = 0) |
| 21 | |
| 22 | def tensorCycleComparison (A : Type u) [AddCommGroup A] [Module R A] : |
| 23 | (A ⊗[R] V) →ₗ[R] (d.lTensor A).ker := |
| 24 | KernelDimensionCriterion.linearKernelComparison (s.lTensor A) (d.lTensor A) (by |
| 25 | rw [← LinearMap.lTensor_comp, h] |
| 26 | exact LinearMap.lTensor_zero A) |
| 27 | |
| 28 | theorem scalarExtendedCycleComparison_bijective_iff_tensor |
| 29 | (B : Type u) [CommRing B] [Algebra R B] : |
| 30 | Function.Bijective (Universal.KernelFieldCriterion.scalarExtendedCycleComparison s d h B) ↔ |
| 31 | Function.Bijective (tensorCycleComparison s d h B) := by |
| 32 | change Function.Bijective (KernelDimensionCriterion.linearKernelComparison (s.baseChange B) (d.baseChange B) _) ↔ |
| 33 | Function.Bijective (KernelDimensionCriterion.linearKernelComparison (s.lTensor B) (d.lTensor B) _) |
| 34 | rw [Linear.KernelExactCriterion.linearKernelComparison_bijective_iff_values, Linear.KernelExactCriterion.linearKernelComparison_bijective_iff_values] |
| 35 | simp only [LinearMap.baseChange_eq_ltensor] |
| 36 | |
| 37 | theorem completeKernel_tensor_universal_of_field_tests |
| 38 | [Module.Finite R V] [Module.Projective R V] |
| 39 | [Module.Finite R M] [Module.Projective R M] |
| 40 | [Module.Finite R N] [Module.Projective R N] |
| 41 | (hfield : ∀ (K : Type u) [Field K] (q : R →+* K), |
| 42 | letI := q.toAlgebra |
| 43 | Function.Bijective (tensorCycleComparison s d h K)) |
| 44 | (B : Type u) [CommRing B] [Algebra R B] : |
| 45 | Function.Bijective (tensorCycleComparison s d h B) := by |
| 46 | apply (scalarExtendedCycleComparison_bijective_iff_tensor s d h B).mp |
| 47 | apply Universal.KernelFieldCriterion.completeKernel_universal_of_field_tests s d h |
| 48 | intro K _ q |
| 49 | let := q.toAlgebra |
| 50 | exact (scalarExtendedCycleComparison_bijective_iff_tensor s d h K).mpr (hfield K q) |
| 51 | |
| 52 | end |
| 53 | |
| 54 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Tensor.KernelFieldCriterion |