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.FormalGeometry.Completion.AdicReduction |
| 2 | |
| 3 | /-! # Cochain Reduced Kernels -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.FormalGeometry.Completion.CochainReducedKernels.Construction |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Compatible reduced zero-cycles are invariant under a cochain map |
| 10 | which is a degree-zero quasi-isomorphism at every actual ideal-power reduction. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory |
| 13 | |
| 14 | set_option backward.defeqAttrib.useBackward true |
| 15 | set_option backward.isDefEq.respectTransparency false |
| 16 | |
| 17 | universe u |
| 18 | |
| 19 | variable {R : Type u} [CommRing R] |
| 20 | {C D : CochainComplex (ModuleCat.{u} R) ℕ} (φ : C ⟶ D) |
| 21 | |
| 22 | /-- The actual degree-zero component restricted to differential kernels. -/ |
| 23 | def cochainKernelMap : (C.d 0 1).hom.ker →ₗ[R] (D.d 0 1).hom.ker where |
| 24 | toFun x := ⟨φ.f 0 x.val, by |
| 25 | change (φ.f 0 ≫ D.d 0 1) x.val = 0 |
| 26 | rw [φ.comm] |
| 27 | change φ.f 1 (C.d 0 1 x.val) = 0 |
| 28 | rw [x.property, map_zero]⟩ |
| 29 | map_add' _ _ := Subtype.ext (map_add _ _ _) |
| 30 | map_smul' _ _ := Subtype.ext (map_smul _ _ _) |
| 31 | |
| 32 | theorem cochainKernelMap_bijective [QuasiIsoAt φ 0] : |
| 33 | Function.Bijective (cochainKernelMap φ) := by |
| 34 | have he : cochainKernelMap φ = (Quotients.FiniteDescent.CochainZero.Construction.CochainZeroCycles.kernelEquiv φ).toLinearMap := by |
| 35 | ext x |
| 36 | exact (Quotients.FiniteDescent.CochainZero.Construction.CochainZeroCycles.kernelEquiv_apply_val φ x).symm |
| 37 | rw [he] |
| 38 | exact (Quotients.FiniteDescent.CochainZero.Construction.CochainZeroCycles.kernelEquiv φ).bijective |
| 39 | |
| 40 | variable (I : Ideal R) |
| 41 | |
| 42 | /-- The actual quotient transition sends reduced cycles to reduced cycles. -/ |
| 43 | def reducedCycleTransition (C : CochainComplex (ModuleCat.{u} R) ℕ) |
| 44 | {m n : ℕ} (h : m ≤ n) : |
| 45 | ((AdicReduction.Construction.adicReductionComplex (I ^ n) C).d 0 1).hom.ker →ₗ[R] |
| 46 | ((AdicReduction.Construction.adicReductionComplex (I ^ m) C).d 0 1).hom.ker where |
| 47 | toFun x := ⟨AdicCompletion.transitionMap I (C.X 0) h x.val, by |
| 48 | change (C.d 0 1).hom.reduceModIdeal (I ^ m) |
| 49 | (AdicCompletion.transitionMap I (C.X 0) h x.val) = 0 |
| 50 | have hc := LinearMap.congr_fun |
| 51 | (AdicCompletion.transitionMap_comp_reduceModIdeal I (C.d 0 1).hom h) x.val |
| 52 | calc |
| 53 | _ = AdicCompletion.transitionMap I (C.X 1) h |
| 54 | ((C.d 0 1).hom.reduceModIdeal (I ^ n) x.val) := hc.symm |
| 55 | _ = 0 := by |
| 56 | have hx : (C.d 0 1).hom.reduceModIdeal (I ^ n) x.val = 0 := x.property |
| 57 | rw [hx, map_zero]⟩ |
| 58 | map_add' _ _ := Subtype.ext (map_add _ _ _) |
| 59 | map_smul' _ _ := Subtype.ext (map_smul _ _ _) |
| 60 | |
| 61 | theorem reducedCycleTransition_naturality {m n : ℕ} (h : m ≤ n) |
| 62 | (x : ((AdicReduction.Construction.adicReductionComplex (I ^ n) C).d 0 1).hom.ker) : |
| 63 | cochainKernelMap (AdicReduction.Construction.adicReductionMap (I ^ m) φ) (reducedCycleTransition I C h x) = |
| 64 | reducedCycleTransition I D h (cochainKernelMap (AdicReduction.Construction.adicReductionMap (I ^ n) φ) x) := by |
| 65 | apply Subtype.ext |
| 66 | exact (LinearMap.congr_fun |
| 67 | (AdicCompletion.transitionMap_comp_reduceModIdeal I (φ.f 0).hom h) x.val).symm |
| 68 | |
| 69 | /-- The original cochain map acts coordinatewise on compatible reduced cycles. -/ |
| 70 | def compatibleReducedCochainMap : |
| 71 | CompatibleReducedKernels.Construction.compatibleReducedKernels I (C.d 0 1).hom →ₗ[R] |
| 72 | CompatibleReducedKernels.Construction.compatibleReducedKernels I (D.d 0 1).hom where |
| 73 | toFun x := ⟨fun n => (φ.f 0).hom.reduceModIdeal (I ^ n) (x.val n), |
| 74 | (fun h => by |
| 75 | have hc := LinearMap.congr_fun |
| 76 | (AdicCompletion.transitionMap_comp_reduceModIdeal I (φ.f 0).hom h) (x.val _) |
| 77 | exact hc.trans (congrArg ((φ.f 0).hom.reduceModIdeal _) (x.property.1 h))), |
| 78 | fun n => (cochainKernelMap (AdicReduction.Construction.adicReductionMap (I ^ n) φ) |
| 79 | ⟨x.val n, x.property.2 n⟩).property⟩ |
| 80 | map_add' _ _ := by apply Subtype.ext; funext n; exact map_add _ _ _ |
| 81 | map_smul' r x := by |
| 82 | apply Subtype.ext |
| 83 | funext n |
| 84 | exact ((φ.f 0).hom.reduceModIdeal (I ^ n)).restrictScalars R |>.map_smul r (x.val n) |
| 85 | |
| 86 | theorem compatibleReducedCochainMap_bijective |
| 87 | [∀ n, QuasiIsoAt (AdicReduction.Construction.adicReductionMap (I ^ n) φ) 0] : |
| 88 | Function.Bijective (compatibleReducedCochainMap φ I) := by |
| 89 | constructor |
| 90 | · intro x y hxy |
| 91 | apply Subtype.ext |
| 92 | funext n |
| 93 | exact congrArg Subtype.val ((cochainKernelMap_bijective |
| 94 | (AdicReduction.Construction.adicReductionMap (I ^ n) φ)).injective |
| 95 | (a₁ := ⟨x.val n, x.property.2 n⟩) (a₂ := ⟨y.val n, y.property.2 n⟩) |
| 96 | (Subtype.ext (congrArg (fun z : CompatibleReducedKernels.Construction.compatibleReducedKernels I (D.d 0 1).hom => z.val n) hxy))) |
| 97 | · intro x |
| 98 | let e (n : ℕ) := Quotients.FiniteDescent.CochainZero.Construction.CochainZeroCycles.kernelEquiv (AdicReduction.Construction.adicReductionMap (I ^ n) φ) |
| 99 | let y (n : ℕ) := (e n).symm ⟨x.val n, x.property.2 n⟩ |
| 100 | have hy (n : ℕ) : cochainKernelMap (AdicReduction.Construction.adicReductionMap (I ^ n) φ) (y n) = |
| 101 | ⟨x.val n, x.property.2 n⟩ := by |
| 102 | apply Subtype.ext |
| 103 | change (AdicReduction.Construction.adicReductionMap (I ^ n) φ).f 0 (y n).val = x.val n |
| 104 | rw [← Quotients.FiniteDescent.CochainZero.Construction.CochainZeroCycles.kernelEquiv_apply_val] |
| 105 | exact congrArg Subtype.val ((e n).apply_symm_apply _) |
| 106 | have hc {m n : ℕ} (h : m ≤ n) : |
| 107 | AdicCompletion.transitionMap I (C.X 0) h (y n).val = (y m).val := by |
| 108 | change (reducedCycleTransition I C h (y n)).val = (y m).val |
| 109 | apply congrArg Subtype.val |
| 110 | apply (cochainKernelMap_bijective (AdicReduction.Construction.adicReductionMap (I ^ m) φ)).injective |
| 111 | rw [reducedCycleTransition_naturality, hy, hy] |
| 112 | exact Subtype.ext (x.property.1 h) |
| 113 | refine ⟨⟨fun n => (y n).val, fun h => hc h, fun n => (y n).property⟩, ?_⟩ |
| 114 | apply Subtype.ext |
| 115 | funext n |
| 116 | exact congrArg Subtype.val (hy n) |
| 117 | |
| 118 | end |
| 119 | |
| 120 | end OAI.AlgebraicGeometry.FormalGeometry.Completion.CochainReducedKernels.Construction |