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.AdicAlgebraExactness |
| 2 | import OAI.AlgebraicGeometry.FormalGeometry.Completion.CompatibleReducedKernels |
| 3 | |
| 4 | /-! # Adic Kernel Scalar Restriction -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.FormalGeometry.Completion.AdicKernelScalarRestriction.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Actual completed-kernel surjectivity is preserved under restricting scalars. -/ |
| 11 | |
| 12 | set_option backward.defeqAttrib.useBackward true |
| 13 | set_option backward.isDefEq.respectTransparency false |
| 14 | |
| 15 | universe u |
| 16 | |
| 17 | variable {R S : Type u} [CommRing R] [CommRing S] [Algebra R S] (I : Ideal R) |
| 18 | {M N : Type u} [AddCommGroup M] [Module R M] [Module S M] [IsScalarTower R S M] |
| 19 | [AddCommGroup N] [Module R N] [Module S N] [IsScalarTower R S N] |
| 20 | (f : M →ₗ[S] N) |
| 21 | |
| 22 | /-- The kernel elements are unchanged by restriction of scalars. -/ |
| 23 | def restrictedKernelEquiv : (f.restrictScalars R).ker ≃ₗ[R] f.ker where |
| 24 | toFun x := ⟨x.val, x.property⟩ |
| 25 | invFun x := ⟨x.val, x.property⟩ |
| 26 | left_inv _ := rfl |
| 27 | right_inv _ := rfl |
| 28 | map_add' _ _ := rfl |
| 29 | map_smul' _ _ := rfl |
| 30 | |
| 31 | theorem adicKernelMap_surjective_restrictScalars |
| 32 | (h : Function.Surjective (AdicKernel.Construction.adicKernelMap (I.map (algebraMap R S)) f)) : |
| 33 | Function.Surjective (AdicKernel.Construction.adicKernelMap I (f.restrictScalars R)) := by |
| 34 | intro x |
| 35 | have hx : AdicCompletion.map (I.map (algebraMap R S)) f |
| 36 | (AdicScalarRestriction.Construction.adicScalarRestrictionEquiv (S := S) I M x.val) = 0 := by |
| 37 | rw [← AdicAlgebraExactness.Construction.adicScalarRestrictionEquiv_naturality, x.property, map_zero] |
| 38 | obtain ⟨y, hy⟩ := h ⟨_, hx⟩ |
| 39 | let z := (AdicScalarRestriction.Construction.adicScalarRestrictionEquiv (S := S) I f.ker).symm y |
| 40 | let w := (AdicCompletion.congr I (restrictedKernelEquiv (R := R) f)).symm z |
| 41 | refine ⟨w, Subtype.ext ?_⟩ |
| 42 | apply (AdicScalarRestriction.Construction.adicScalarRestrictionEquiv (S := S) I M).injective |
| 43 | have hw : AdicCompletion.map I (f.restrictScalars R).ker.subtype w = |
| 44 | AdicCompletion.map I (f.ker.subtype.restrictScalars R) z := by |
| 45 | change AdicCompletion.map I (f.restrictScalars R).ker.subtype |
| 46 | (AdicCompletion.map I (restrictedKernelEquiv (R := R) f).symm.toLinearMap z) = _ |
| 47 | rw [AdicCompletion.map_comp_apply] |
| 48 | rfl |
| 49 | change AdicScalarRestriction.Construction.adicScalarRestrictionEquiv (S := S) I M |
| 50 | (AdicCompletion.map I (f.restrictScalars R).ker.subtype w) = _ |
| 51 | rw [hw, AdicAlgebraExactness.Construction.adicScalarRestrictionEquiv_naturality] |
| 52 | change AdicCompletion.map (I.map (algebraMap R S)) f.ker.subtype |
| 53 | (AdicScalarRestriction.Construction.adicScalarRestrictionEquiv (S := S) I f.ker |
| 54 | ((AdicScalarRestriction.Construction.adicScalarRestrictionEquiv (S := S) I f.ker).symm y)) = _ |
| 55 | rw [LinearEquiv.apply_symm_apply] |
| 56 | exact congrArg Subtype.val hy |
| 57 | |
| 58 | /-- The literal reduced-kernel comparison stays surjective over the original coefficient ring. -/ |
| 59 | theorem reducedKernelComparison_surjective_restrictScalars |
| 60 | (h : Function.Surjective (CompatibleReducedKernels.Construction.reducedKernelComparison (I.map (algebraMap R S)) f)) : |
| 61 | Function.Surjective (CompatibleReducedKernels.Construction.reducedKernelComparison I (f.restrictScalars R)) := by |
| 62 | have hs : Function.Surjective (AdicKernel.Construction.adicKernelMap (I.map (algebraMap R S)) f) := by |
| 63 | intro x |
| 64 | obtain ⟨y, hy⟩ := h (CompatibleReducedKernels.Construction.completedKernelCompatibleEquiv (I.map (algebraMap R S)) f x) |
| 65 | exact ⟨y, (CompatibleReducedKernels.Construction.completedKernelCompatibleEquiv (I.map (algebraMap R S)) f).injective hy⟩ |
| 66 | exact (CompatibleReducedKernels.Construction.completedKernelCompatibleEquiv I (f.restrictScalars R)).surjective.comp |
| 67 | (adicKernelMap_surjective_restrictScalars I f hs) |
| 68 | |
| 69 | end |
| 70 | |
| 71 | end OAI.AlgebraicGeometry.FormalGeometry.Completion.AdicKernelScalarRestriction.Construction |