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.Crystalline.Cohomology.FormsEquivalenceD |
| 2 | import OAI.NumberTheory.PadicHodge.GeometricComparison.FrobeniusDifferential |
| 3 | |
| 4 | /-! # One Forms -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.GeometricComparison.Integral.OneForms.IntegralOneForms |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! In degree one, the original differential-symbol presentation equals Kähler differentials over any coefficient ring, before inverting the prime. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory |
| 13 | |
| 14 | open OAI.AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation |
| 15 | |
| 16 | universe u |
| 17 | |
| 18 | variable (R A : Type u) [CommRing R] [CommRing A] [Algebra R A] |
| 19 | |
| 20 | def toOne : AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.Form R A 1 →ₗ[A] KaehlerDifferential R A := |
| 21 | (exteriorPower.oneEquiv A (KaehlerDifferential R A)).toLinearMap.comp (AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.toExterior R A 1) |
| 22 | |
| 23 | def fromOne : KaehlerDifferential R A →ₗ[A] AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.Form R A 1 := |
| 24 | (AlgebraicGeometry.Crystalline.Cohomology.FormsEquivalenceD.FormsEquivalence.liftedSymbols R A 1).toLinearMap (fun _ => 0) 0 |
| 25 | |
| 26 | theorem toOne_symbol (a : A) (v : Fin 1 → A) : |
| 27 | toOne R A (AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.symbol R A a v) = a • KaehlerDifferential.D R A (v 0) := by |
| 28 | rw [toOne, LinearMap.comp_apply, AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.toExterior_symbol, map_smul] |
| 29 | exact congrArg (fun x => a • x) |
| 30 | (exteriorPower.oneEquiv_ιMulti (fun i => KaehlerDifferential.D R A (v i))) |
| 31 | |
| 32 | theorem fromOne_D (a : A) : fromOne R A (KaehlerDifferential.D R A a) = |
| 33 | AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.symbol R A 1 (fun _ => a) := by |
| 34 | change AlgebraicGeometry.Crystalline.Cohomology.FormsEquivalenceD.FormsEquivalence.liftedSymbols R A 1 |
| 35 | (Function.update (fun _ => 0) 0 (KaehlerDifferential.D R A a)) = _ |
| 36 | rw [show Function.update (fun _ : Fin 1 => (0 : KaehlerDifferential R A)) 0 |
| 37 | (KaehlerDifferential.D R A a) = (fun _ => KaehlerDifferential.D R A a) by |
| 38 | funext i; have hi : i = 0 := Subsingleton.elim _ _; subst i; simp] |
| 39 | exact AlgebraicGeometry.Crystalline.Cohomology.FormsEquivalenceD.FormsEquivalence.liftedSymbols_D R A 1 (fun _ => a) |
| 40 | |
| 41 | theorem left_inverse : Function.LeftInverse (fromOne R A) (toOne R A) := by |
| 42 | intro ω |
| 43 | obtain ⟨a, rfl⟩ := Submodule.mkQ_surjective (AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.relations R A 1) ω |
| 44 | induction a using Finsupp.induction_linear with |
| 45 | | zero => simp |
| 46 | | add a b ha hb => simp only [map_add, ha, hb] |
| 47 | | single v a => |
| 48 | change fromOne R A (toOne R A (AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.symbol R A a v)) = AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.symbol R A a v |
| 49 | rw [toOne_symbol, map_smul, fromOne_D, ← AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.symbol_smul_one] |
| 50 | congr 1 |
| 51 | funext i |
| 52 | exact congrArg v (Subsingleton.elim _ _) |
| 53 | |
| 54 | def equiv : AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.Form R A 1 ≃ₗ[A] KaehlerDifferential R A := |
| 55 | LinearEquiv.ofBijective (toOne R A) ⟨(left_inverse R A).injective, |
| 56 | (exteriorPower.oneEquiv A (KaehlerDifferential R A)).surjective.comp (AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.toExterior_surjective R A 1)⟩ |
| 57 | |
| 58 | variable {R A} |
| 59 | |
| 60 | theorem naturality {B C : CommAlgCat.{u} R} (f : B ⟶ C) (ω : AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.Form R B 1) : |
| 61 | equiv R C (AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.formMap f 1 ω) = AlgebraicGeometry.Crystalline.Cohomology.AlgebraicForms.AlgebraicDeRham.oneFormsMap f (equiv R B ω) := by |
| 62 | obtain ⟨a, rfl⟩ := Submodule.mkQ_surjective (AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.relations R B 1) ω |
| 63 | induction a using Finsupp.induction_linear with |
| 64 | | zero => simp |
| 65 | | add a b ha hb => simp only [map_add, ha, hb] |
| 66 | | single v a => |
| 67 | change toOne R C (AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.formMap f 1 (AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.symbol R B a v)) = |
| 68 | AlgebraicGeometry.Crystalline.Cohomology.AlgebraicForms.AlgebraicDeRham.oneFormsMap f (toOne R B (AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.symbol R B a v)) |
| 69 | rw [AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.formMap_symbol, toOne_symbol, toOne_symbol, |
| 70 | AlgebraicGeometry.Crystalline.Cohomology.AlgebraicForms.AlgebraicDeRham.oneFormsMap_smul, AlgebraicGeometry.Crystalline.Cohomology.AlgebraicForms.AlgebraicDeRham.oneFormsMap_D] |
| 71 | |
| 72 | theorem frobenius_divisible (p : ℕ) (B : CommAlgCat.{u} R) (f : B ⟶ B) |
| 73 | (h : ∀ a : B, ∃ b : B, f a = a ^ p + (p : B) * b) (ω : AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.Form R B 1) : |
| 74 | ∃ η : AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.Form R B 1, AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.formMap f 1 ω = p • η := by |
| 75 | obtain ⟨η, hη⟩ := FrobeniusDifferential.FrobeniusDifferentialDivisibility.on_oneForms p B f h (equiv R B ω) |
| 76 | refine ⟨(equiv R B).symm η, (equiv R B).injective ?_⟩ |
| 77 | rw [naturality, map_nsmul, LinearEquiv.apply_symm_apply] |
| 78 | exact hη |
| 79 | |
| 80 | end |
| 81 | |
| 82 | end OAI.NumberTheory.PadicHodge.GeometricComparison.Integral.OneForms.IntegralOneForms |