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.Quotients.FiniteDescent.CochainZero |
| 2 | import Mathlib.Algebra.Category.ModuleCat.ChangeOfRings |
| 3 | |
| 4 | /-! # Cochain Base Change Cycles -/ |
| 5 | |
| 6 | namespace OAI.ArithmeticGeometry.OrdinaryLocus.Openness.CochainBaseChangeCycles.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Canonical base change of degree-zero cochain cycles. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits |
| 13 | open scoped ChangeOfRings |
| 14 | |
| 15 | universe u |
| 16 | |
| 17 | variable {R A : Type u} [CommRing R] [CommRing A] (r : R →+* A) |
| 18 | |
| 19 | abbrev cochainExtendScalars (C : CochainComplex (ModuleCat.{u} R) ℕ) := |
| 20 | ((ModuleCat.extendScalars r).mapHomologicalComplex (ComplexShape.up ℕ)).obj C |
| 21 | |
| 22 | def cochainBaseChangeFirstCycle (C : CochainComplex (ModuleCat.{u} R) ℕ) |
| 23 | (x : (C.d 0 1).hom.ker) : ((cochainExtendScalars r C).d 0 1).hom.ker := |
| 24 | ⟨(1 : A) ⊗ₜ[R,r] x.val, by |
| 25 | change (ModuleCat.extendScalars r).map (C.d 0 1) ((1 : A) ⊗ₜ[R,r] x.val) = 0 |
| 26 | rw [ModuleCat.ExtendScalars.map_tmul] |
| 27 | have hx : C.d 0 1 x.val = 0 := x.property |
| 28 | rw [hx, TensorProduct.tmul_zero] |
| 29 | rfl⟩ |
| 30 | |
| 31 | theorem cochainBaseChangeFirstCycle_naturality |
| 32 | {C D : CochainComplex (ModuleCat.{u} R) ℕ} (φ : C ⟶ D) |
| 33 | [QuasiIsoAt φ 0] |
| 34 | [QuasiIsoAt (((ModuleCat.extendScalars r).mapHomologicalComplex |
| 35 | (ComplexShape.up ℕ)).map φ) 0] |
| 36 | (x : (C.d 0 1).hom.ker) : |
| 37 | AlgebraicGeometry.Quotients.FiniteDescent.CochainZero.Construction.CochainZeroCycles.kernelEquiv |
| 38 | (((ModuleCat.extendScalars r).mapHomologicalComplex (ComplexShape.up ℕ)).map φ) |
| 39 | (cochainBaseChangeFirstCycle r C x) = |
| 40 | cochainBaseChangeFirstCycle r D (AlgebraicGeometry.Quotients.FiniteDescent.CochainZero.Construction.CochainZeroCycles.kernelEquiv φ x) := by |
| 41 | apply Subtype.ext |
| 42 | rw [AlgebraicGeometry.Quotients.FiniteDescent.CochainZero.Construction.CochainZeroCycles.kernelEquiv_apply_val] |
| 43 | change (ModuleCat.extendScalars r).map (φ.f 0) ((1 : A) ⊗ₜ[R,r] x.val) = |
| 44 | (1 : A) ⊗ₜ[R,r] (AlgebraicGeometry.Quotients.FiniteDescent.CochainZero.Construction.CochainZeroCycles.kernelEquiv φ x).val |
| 45 | rw [ModuleCat.ExtendScalars.map_tmul, AlgebraicGeometry.Quotients.FiniteDescent.CochainZero.Construction.CochainZeroCycles.kernelEquiv_apply_val] |
| 46 | |
| 47 | theorem cochain_cycle_lifting_iff_of_universal_quasiIso |
| 48 | {C D : CochainComplex (ModuleCat.{u} R) ℕ} (φ : C ⟶ D) |
| 49 | [QuasiIsoAt φ 0] |
| 50 | [QuasiIsoAt (((ModuleCat.extendScalars r).mapHomologicalComplex |
| 51 | (ComplexShape.up ℕ)).map φ) 0] : |
| 52 | Function.Surjective (cochainBaseChangeFirstCycle r C) ↔ |
| 53 | Function.Surjective (cochainBaseChangeFirstCycle r D) := by |
| 54 | let e := AlgebraicGeometry.Quotients.FiniteDescent.CochainZero.Construction.CochainZeroCycles.kernelEquiv φ |
| 55 | let eA := AlgebraicGeometry.Quotients.FiniteDescent.CochainZero.Construction.CochainZeroCycles.kernelEquiv |
| 56 | (((ModuleCat.extendScalars r).mapHomologicalComplex (ComplexShape.up ℕ)).map φ) |
| 57 | constructor |
| 58 | · intro h z |
| 59 | obtain ⟨x, hx⟩ := h (eA.symm z) |
| 60 | refine ⟨e x, ?_⟩ |
| 61 | rw [← cochainBaseChangeFirstCycle_naturality r φ, hx, LinearEquiv.apply_symm_apply] |
| 62 | · intro h z |
| 63 | obtain ⟨x, hx⟩ := h (eA z) |
| 64 | refine ⟨e.symm x, eA.injective ?_⟩ |
| 65 | rw [cochainBaseChangeFirstCycle_naturality r φ, LinearEquiv.apply_symm_apply] |
| 66 | exact hx |
| 67 | |
| 68 | end |
| 69 | |
| 70 | end OAI.ArithmeticGeometry.OrdinaryLocus.Openness.CochainBaseChangeCycles.Construction |