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 Mathlib.RingTheory.AdicCompletion.Functoriality |
| 2 | import Mathlib.RingTheory.Ideal.Maps |
| 3 | |
| 4 | /-! # Adic Scalar Restriction -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.FormalGeometry.Completion.AdicScalarRestriction.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Adic completion along an ideal of the base agrees with completion along its extension. |
| 11 | This permits Artin--Rees arguments on the actual affine chart rings. -/ |
| 12 | |
| 13 | set_option backward.defeqAttrib.useBackward true |
| 14 | set_option backward.isDefEq.respectTransparency false |
| 15 | |
| 16 | universe u |
| 17 | |
| 18 | variable {R S : Type u} [CommRing R] [CommRing S] [Algebra R S] |
| 19 | (I : Ideal R) (M : Type u) [AddCommGroup M] [Module R M] [Module S M] [IsScalarTower R S M] |
| 20 | |
| 21 | /-- Extending the base ideal and restricting scalars give the same quotient module. -/ |
| 22 | def adicScalarRestrictionQuotientEquiv (n : ℕ) : |
| 23 | (M ⧸ (I ^ n • ⊤ : Submodule R M)) ≃ₗ[R] |
| 24 | M ⧸ ((I.map (algebraMap R S)) ^ n • ⊤ : Submodule S M) := |
| 25 | (Submodule.quotEquivOfEq _ _ (by |
| 26 | rw [← Ideal.map_pow] |
| 27 | exact (Ideal.smul_restrictScalars (I ^ n) (⊤ : Submodule S M)).symm)).trans |
| 28 | (Submodule.Quotient.restrictScalarsEquiv R _) |
| 29 | |
| 30 | theorem adicScalarRestrictionQuotientEquiv_mk (n : ℕ) (m : M) : |
| 31 | adicScalarRestrictionQuotientEquiv (S := S) I M n (Submodule.Quotient.mk m) = |
| 32 | Submodule.Quotient.mk m := rfl |
| 33 | |
| 34 | theorem adicScalarRestrictionQuotientEquiv_transition {m n : ℕ} (h : m ≤ n) |
| 35 | (x : M ⧸ (I ^ n • ⊤ : Submodule R M)) : |
| 36 | AdicCompletion.transitionMap (I.map (algebraMap R S)) M h |
| 37 | (adicScalarRestrictionQuotientEquiv (S := S) I M n x) = |
| 38 | adicScalarRestrictionQuotientEquiv (S := S) I M m (AdicCompletion.transitionMap I M h x) := by |
| 39 | induction x using Submodule.Quotient.induction_on with | _ x => rfl |
| 40 | |
| 41 | /-- Completion at the base ideal equals completion at its extended ideal on the same module. -/ |
| 42 | def adicScalarRestrictionEquiv : |
| 43 | AdicCompletion I M ≃ₗ[R] AdicCompletion (I.map (algebraMap R S)) M where |
| 44 | toFun x := ⟨fun n => adicScalarRestrictionQuotientEquiv (S := S) I M n (x.val n), by |
| 45 | intro m n h |
| 46 | rw [adicScalarRestrictionQuotientEquiv_transition, x.property h]⟩ |
| 47 | invFun x := ⟨fun n => (adicScalarRestrictionQuotientEquiv (S := S) I M n).symm (x.val n), by |
| 48 | intro m n h |
| 49 | apply (adicScalarRestrictionQuotientEquiv (S := S) I M m).injective |
| 50 | rw [← adicScalarRestrictionQuotientEquiv_transition, LinearEquiv.apply_symm_apply, |
| 51 | LinearEquiv.apply_symm_apply, x.property h]⟩ |
| 52 | left_inv x := by apply AdicCompletion.ext; intro n; exact LinearEquiv.symm_apply_apply _ _ |
| 53 | right_inv x := by apply AdicCompletion.ext; intro n; exact LinearEquiv.apply_symm_apply _ _ |
| 54 | map_add' x y := by apply AdicCompletion.ext; intro n; exact map_add _ _ _ |
| 55 | map_smul' r x := by |
| 56 | apply AdicCompletion.ext |
| 57 | intro n |
| 58 | exact (adicScalarRestrictionQuotientEquiv (S := S) I M n).map_smul r (x.val n) |
| 59 | |
| 60 | theorem adicScalarRestrictionEquiv_apply_val (x : AdicCompletion I M) (n : ℕ) : |
| 61 | (adicScalarRestrictionEquiv (S := S) I M x).val n = |
| 62 | adicScalarRestrictionQuotientEquiv (S := S) I M n (x.val n) := rfl |
| 63 | |
| 64 | end |
| 65 | |
| 66 | end OAI.AlgebraicGeometry.FormalGeometry.Completion.AdicScalarRestriction.Construction |