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.AdicKernel |
| 2 | |
| 3 | /-! # Compatible Reduced Kernels -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.FormalGeometry.Completion.CompatibleReducedKernels.Construction |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! |
| 10 | # Completion: the inverse limit of the actual reduced differential kernels |
| 11 | |
| 12 | Compatible zero-cycles modulo all powers of an ideal are the kernel of the |
| 13 | completed differential. For finite modules, Artin--Rees identifies this |
| 14 | with the completion of the original kernel, with the actual coordinate maps. |
| 15 | -/ |
| 16 | |
| 17 | set_option backward.defeqAttrib.useBackward true |
| 18 | set_option backward.isDefEq.respectTransparency false |
| 19 | |
| 20 | universe u |
| 21 | |
| 22 | variable {R : Type u} [CommRing R] (I : Ideal R) |
| 23 | {M N : Type u} [AddCommGroup M] [Module R M] [AddCommGroup N] [Module R N] |
| 24 | (f : M →ₗ[R] N) |
| 25 | |
| 26 | /-- Compatible families in the kernels of the actual reduced differential. -/ |
| 27 | def compatibleReducedKernels : Submodule R |
| 28 | (∀ n : ℕ, M ⧸ (I ^ n • ⊤ : Submodule R M)) where |
| 29 | carrier := {x | (∀ {m n} (h : m ≤ n), AdicCompletion.transitionMap I M h (x n) = x m) ∧ |
| 30 | ∀ n, f.reduceModIdeal (I ^ n) (x n) = 0} |
| 31 | zero_mem' := ⟨fun _ => map_zero _, fun _ => map_zero _⟩ |
| 32 | add_mem' hx hy := ⟨fun h => by simp only [Pi.add_apply, map_add, hx.1 h, hy.1 h], |
| 33 | fun n => by simp only [Pi.add_apply, map_add, hx.2 n, hy.2 n, add_zero]⟩ |
| 34 | smul_mem' r x hx := ⟨fun h => by simp only [Pi.smul_apply, map_smul, hx.1 h], |
| 35 | fun n => by |
| 36 | change ((f.reduceModIdeal (I ^ n)).restrictScalars R) (r • x n) = 0 |
| 37 | rw [map_smul, LinearMap.restrictScalars_apply, hx.2 n, smul_zero]⟩ |
| 38 | |
| 39 | /-- Evaluation identifies the kernel of completion with compatible reduced kernels. -/ |
| 40 | def completedKernelCompatibleEquiv : |
| 41 | (AdicCompletion.map I f).ker ≃ₗ[R] compatibleReducedKernels I f where |
| 42 | toFun x := ⟨x.val.val, x.val.property, fun n => by |
| 43 | have h := congrArg (fun z : AdicCompletion I N => z.val n) x.property |
| 44 | exact h⟩ |
| 45 | invFun x := ⟨⟨x.val, x.property.1⟩, by |
| 46 | apply AdicCompletion.ext |
| 47 | exact x.property.2⟩ |
| 48 | left_inv _ := rfl |
| 49 | right_inv _ := rfl |
| 50 | map_add' _ _ := rfl |
| 51 | map_smul' _ _ := rfl |
| 52 | |
| 53 | /-- The canonical comparison from completed zero-cycles to all reduced zero-cycles. -/ |
| 54 | def reducedKernelComparison : |
| 55 | AdicCompletion I f.ker →ₗ[R] compatibleReducedKernels I f := |
| 56 | (completedKernelCompatibleEquiv I f).toLinearMap.comp |
| 57 | ((AdicKernel.Construction.adicKernelMap I f).restrictScalars R) |
| 58 | |
| 59 | theorem reducedKernelComparison_apply (x : AdicCompletion I f.ker) (n : ℕ) : |
| 60 | (reducedKernelComparison I f x).val n = |
| 61 | f.ker.subtype.reduceModIdeal (I ^ n) (x.val n) := rfl |
| 62 | |
| 63 | /-- The finite-module formal zero-cycle comparison is surjective. -/ |
| 64 | theorem reducedKernelComparison_bijective |
| 65 | [IsNoetherianRing R] [Module.Finite R M] [Module.Finite R N] : |
| 66 | Function.Bijective (reducedKernelComparison I f) := |
| 67 | (completedKernelCompatibleEquiv I f).bijective.comp (AdicKernel.Construction.adicKernelMap_bijective I f) |
| 68 | |
| 69 | /-- Every compatible family of reduced zero-cycles comes from completed zero-cycles. -/ |
| 70 | theorem exists_completedKernel_lift |
| 71 | [IsNoetherianRing R] [Module.Finite R M] [Module.Finite R N] |
| 72 | (x : ∀ n : ℕ, M ⧸ (I ^ n • ⊤ : Submodule R M)) |
| 73 | (hcompat : ∀ {m n} (h : m ≤ n), AdicCompletion.transitionMap I M h (x n) = x m) |
| 74 | (hzero : ∀ n, f.reduceModIdeal (I ^ n) (x n) = 0) : |
| 75 | ∃ y : AdicCompletion I f.ker, |
| 76 | ∀ n, f.ker.subtype.reduceModIdeal (I ^ n) (y.val n) = x n := by |
| 77 | obtain ⟨y, hy⟩ := (reducedKernelComparison_bijective I f).surjective ⟨x, hcompat, hzero⟩ |
| 78 | exact ⟨y, fun n => congrArg (fun z : compatibleReducedKernels I f => z.val n) hy⟩ |
| 79 | |
| 80 | end |
| 81 | |
| 82 | end OAI.AlgebraicGeometry.FormalGeometry.Completion.CompatibleReducedKernels.Construction |