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.NumberTheory.PadicHodge.WeakAdmissibility.ThetaDividedPowers |
| 2 | import OAI.NumberTheory.PadicHodge.WeakAdmissibility.BoundedCompletion |
| 3 | |
| 4 | /-! # Divided Power Completion -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.WeakAdmissibility.DividedPowerCompletion |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! A surjective completed divided-power presentation of the actual A_cris. -/ |
| 11 | |
| 12 | open OAI.NumberTheory.PadicHodge.WeakAdmissibility.Logarithm.PeriodRings OAI.NumberTheory.PadicHodge.WeakAdmissibility.ThetaDividedPowers OAI.NumberTheory.PadicHodge.WeakAdmissibility.BoundedCompletion |
| 13 | |
| 14 | theorem modp_surjective_of_remainders {R M N : Type*} [CommRing R] |
| 15 | [AddCommGroup M] [Module R M] [AddCommGroup N] [Module R N] |
| 16 | (q : R) (f : M →ₗ[R] N) (h : ∀ y : N, ∃ x : M, ∃ z : N, y = f x + q • z) : |
| 17 | Function.Surjective (Submodule.mkQ (Ideal.span {q} • (⊤ : Submodule R N)) ∘ₗ f) := by |
| 18 | intro y |
| 19 | obtain ⟨y, rfl⟩ := Submodule.mkQ_surjective _ y |
| 20 | obtain ⟨x, z, rfl⟩ := h y |
| 21 | refine ⟨x, (Submodule.Quotient.eq _).mpr ?_⟩ |
| 22 | rw [Submodule.ideal_span_singleton_smul, Submodule.mem_smul_pointwise_iff_exists] |
| 23 | exact ⟨-z, Submodule.mem_top, by simp only [smul_neg, sub_add_cancel_left]⟩ |
| 24 | |
| 25 | variable (p : ℕ) [Fact p.Prime] |
| 26 | |
| 27 | instance aCrisAInfComplete : IsAdicComplete (Ideal.span {(p : Logarithm.PeriodRings.AInf p)}) (Logarithm.PeriodRings.ACris p) := by |
| 28 | apply (IsAdicComplete.map_algebraMap_iff (S := Logarithm.PeriodRings.ACrisUncompleted p) |
| 29 | (Ideal.span {(p : Logarithm.PeriodRings.AInf p)}) (Logarithm.PeriodRings.ACris p)).mp |
| 30 | rw [Ideal.map_span, Set.image_singleton, map_natCast] |
| 31 | exact AdicCompletion.isAdicComplete (Submodule.fg_span_singleton _) |
| 32 | |
| 33 | def dividedPowerCombination : (ℕ →₀ Logarithm.PeriodRings.AInf p) →ₗ[Logarithm.PeriodRings.AInf p] Logarithm.PeriodRings.ACrisUncompleted p := |
| 34 | Finsupp.linearCombination (Logarithm.PeriodRings.AInf p) (ThetaDividedPowers.thetaDividedPower p) |
| 35 | |
| 36 | theorem dividedPowerCombination_surjective : Function.Surjective (dividedPowerCombination p) := by |
| 37 | apply (span_range_eq_top_iff_surjective_finsuppLinearCombination (Logarithm.PeriodRings.AInf p) (v := ThetaDividedPowers.thetaDividedPower p)).mp |
| 38 | exact top_unique (fun x _ => ThetaDividedPowers.uncompleted_mem_span p x) |
| 39 | |
| 40 | def dividedPowerToCompletion : (ℕ →₀ Logarithm.PeriodRings.AInf p) →ₗ[Logarithm.PeriodRings.AInf p] Logarithm.PeriodRings.ACris p := |
| 41 | (IsScalarTower.toAlgHom (Logarithm.PeriodRings.AInf p) (Logarithm.PeriodRings.ACrisUncompleted p) (Logarithm.PeriodRings.ACris p)).toLinearMap.comp |
| 42 | (dividedPowerCombination p) |
| 43 | |
| 44 | def completedDividedPowers : |
| 45 | AdicCompletion (Ideal.span {(p : Logarithm.PeriodRings.AInf p)}) (ℕ →₀ Logarithm.PeriodRings.AInf p) →ₗ[Logarithm.PeriodRings.AInf p] Logarithm.PeriodRings.ACris p := |
| 46 | (AdicCompletion.ofLinearEquiv (Ideal.span {(p : Logarithm.PeriodRings.AInf p)}) (Logarithm.PeriodRings.ACris p)).symm.toLinearMap.comp |
| 47 | ((AdicCompletion.map (Ideal.span {(p : Logarithm.PeriodRings.AInf p)}) (dividedPowerToCompletion p)).restrictScalars (Logarithm.PeriodRings.AInf p)) |
| 48 | |
| 49 | theorem completedDividedPowers_of (c : ℕ →₀ Logarithm.PeriodRings.AInf p) : |
| 50 | completedDividedPowers p (AdicCompletion.of (Ideal.span {(p : Logarithm.PeriodRings.AInf p)}) (ℕ →₀ Logarithm.PeriodRings.AInf p) c) = |
| 51 | algebraMap (Logarithm.PeriodRings.ACrisUncompleted p) (Logarithm.PeriodRings.ACris p) (dividedPowerCombination p c) := by |
| 52 | change (AdicCompletion.ofLinearEquiv (Ideal.span {(p : Logarithm.PeriodRings.AInf p)}) (Logarithm.PeriodRings.ACris p)).symm |
| 53 | (AdicCompletion.map (Ideal.span {(p : Logarithm.PeriodRings.AInf p)}) (dividedPowerToCompletion p) |
| 54 | (AdicCompletion.of (Ideal.span {(p : Logarithm.PeriodRings.AInf p)}) (ℕ →₀ Logarithm.PeriodRings.AInf p) c)) = _ |
| 55 | rw [AdicCompletion.map_of, AdicCompletion.ofLinearEquiv_symm_of] |
| 56 | rfl |
| 57 | |
| 58 | theorem completedDividedPowers_remainder (y : Logarithm.PeriodRings.ACris p) : |
| 59 | ∃ c : ℕ →₀ Logarithm.PeriodRings.AInf p, ∃ z : Logarithm.PeriodRings.ACris p, |
| 60 | y = completedDividedPowers p (AdicCompletion.of (Ideal.span {(p : Logarithm.PeriodRings.AInf p)}) (ℕ →₀ Logarithm.PeriodRings.AInf p) c) + |
| 61 | (p : Logarithm.PeriodRings.AInf p) • z := by |
| 62 | obtain ⟨a, z, hy⟩ := BoundedCompletion.exists_remainder p y 1 |
| 63 | obtain ⟨c, hc⟩ := dividedPowerCombination_surjective p a |
| 64 | refine ⟨c, z, ?_⟩ |
| 65 | have he := (completedDividedPowers_of p c).trans (congrArg (algebraMap (Logarithm.PeriodRings.ACrisUncompleted p) (Logarithm.PeriodRings.ACris p)) hc) |
| 66 | have hs : (p : Logarithm.PeriodRings.AInf p) • z = (p : Logarithm.PeriodRings.ACris p) * z := by rw [Algebra.smul_def, map_natCast] |
| 67 | exact hy.trans ((congrArg₂ (· + ·) he.symm (by simpa only [pow_one] using hs.symm))) |
| 68 | |
| 69 | theorem completedDividedPowers_modp : |
| 70 | Function.Surjective (Submodule.mkQ ((Ideal.span {(p : Logarithm.PeriodRings.AInf p)}) • |
| 71 | (⊤ : Submodule (Logarithm.PeriodRings.AInf p) (Logarithm.PeriodRings.ACris p))) ∘ₗ completedDividedPowers p) := by |
| 72 | apply modp_surjective_of_remainders |
| 73 | intro y |
| 74 | obtain ⟨c, z, hz⟩ := completedDividedPowers_remainder p y |
| 75 | exact ⟨AdicCompletion.of (Ideal.span {(p : Logarithm.PeriodRings.AInf p)}) (ℕ →₀ Logarithm.PeriodRings.AInf p) c, z, hz⟩ |
| 76 | |
| 77 | theorem completedDividedPowers_surjective : Function.Surjective (completedDividedPowers p) := by |
| 78 | let : IsAdicComplete (Ideal.span {(p : Logarithm.PeriodRings.AInf p)}) |
| 79 | (AdicCompletion (Ideal.span {(p : Logarithm.PeriodRings.AInf p)}) (ℕ →₀ Logarithm.PeriodRings.AInf p)) := |
| 80 | AdicCompletion.isAdicComplete (Submodule.fg_span_singleton _) |
| 81 | exact surjective_of_mkQ_comp_surjective (I := Ideal.span {(p : Logarithm.PeriodRings.AInf p)}) |
| 82 | (completedDividedPowers_modp p) |
| 83 | |
| 84 | end |
| 85 | |
| 86 | end OAI.NumberTheory.PadicHodge.WeakAdmissibility.DividedPowerCompletion |