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.DeRhamGlobalId |
| 2 | |
| 3 | /-! # Base Ring Map -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.GeometricComparison.Forms.BaseRingMap.FormsBaseChange |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Changing the base ring induces the canonical quotient map on actual differential forms in every degree. -/ |
| 10 | |
| 11 | open OAI.AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation |
| 12 | |
| 13 | universe u |
| 14 | |
| 15 | variable (R S A : Type u) [CommRing R] [CommRing S] [CommRing A] |
| 16 | [Algebra R S] [Algebra R A] [Algebra S A] [IsScalarTower R S A] |
| 17 | |
| 18 | def baseRelation {n : ℕ} : AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.RelationIndex R A n → AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.RelationIndex S A n |
| 19 | | .add v i x y => .add v i x y |
| 20 | | .mul v i x y => .mul v i x y |
| 21 | | .base v i r => .base v i (algebraMap R S r) |
| 22 | | .alt v i j hij hne => .alt v i j hij hne |
| 23 | |
| 24 | theorem relation_baseRelation {n : ℕ} (r : AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.RelationIndex R A n) : |
| 25 | AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.relation R A n r = AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.relation S A n (baseRelation R S A r) := by |
| 26 | cases r with |
| 27 | | base v i r => |
| 28 | change Finsupp.single (Function.update v i (algebraMap R A r)) 1 = |
| 29 | Finsupp.single (Function.update v i (algebraMap S A (algebraMap R S r))) 1 |
| 30 | rw [IsScalarTower.algebraMap_apply R S A] |
| 31 | | add => rfl |
| 32 | | mul => rfl |
| 33 | | alt => rfl |
| 34 | |
| 35 | theorem base_relations_le (n : ℕ) : AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.relations R A n ≤ AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.relations S A n := by |
| 36 | apply Submodule.span_le.mpr |
| 37 | rintro _ ⟨r, rfl⟩ |
| 38 | rw [relation_baseRelation R S A r] |
| 39 | exact Submodule.subset_span (Set.mem_range_self _) |
| 40 | |
| 41 | def formBaseMap (n : ℕ) : AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.Form R A n →ₗ[A] AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.Form S A n := |
| 42 | (AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.relations R A n).liftQ (AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.relations S A n).mkQ |
| 43 | (fun _ hx => Submodule.Quotient.mk_eq_zero _ |>.mpr (base_relations_le R S A n hx)) |
| 44 | |
| 45 | theorem formBaseMap_symbol {n : ℕ} (a : A) (v : Fin n → A) : |
| 46 | formBaseMap R S A n (AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.symbol R A a v) = AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.symbol S A a v := rfl |
| 47 | |
| 48 | theorem formBaseMap_differential (n : ℕ) (ω : AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.Form R A n) : |
| 49 | formBaseMap R S A (n + 1) (AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.differential R A n ω) = |
| 50 | AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.differential S A n (formBaseMap R S A n ω) := by |
| 51 | obtain ⟨x, rfl⟩ := Submodule.mkQ_surjective (AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.relations R A n) ω |
| 52 | induction x using Finsupp.induction_linear with |
| 53 | | zero => simp only [map_zero] |
| 54 | | add x y hx hy => simp only [map_add, hx, hy] |
| 55 | | single v a => |
| 56 | change formBaseMap R S A (n + 1) (AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.differential R A n (AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.symbol R A a v)) = |
| 57 | AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.differential S A n (formBaseMap R S A n (AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.symbol R A a v)) |
| 58 | simp only [AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.differential_symbol, formBaseMap_symbol] |
| 59 | |
| 60 | end |
| 61 | |
| 62 | end OAI.NumberTheory.PadicHodge.GeometricComparison.Forms.BaseRingMap.FormsBaseChange |