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.IntegralComparison.RelativeCrystalline.Poincare |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Free.RelativeFormBasis |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.PD.ConstantShifts |
| 4 | |
| 5 | /-! # Basis -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.RelativeCrystalline.Basis |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! |
| 12 | # IntegralComparison: bases of actual relative forms from divided-coordinate identifications |
| 13 | -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 16 | |
| 17 | open OAI.NumberTheory.PadicHodge.IntegralComparison.BigCrystallineSite OAI.NumberTheory.PadicHodge.IntegralComparison.RelativeCrystalline.FormData OAI.NumberTheory.PadicHodge.IntegralComparison.RelativeCrystalline.Poincare |
| 18 | |
| 19 | universe u v w |
| 20 | |
| 21 | variable {C : Type v} [Category.{w} C] {p : ℕ} [Fact p.Prime] {B : Type u} [CommRing B] |
| 22 | {J : Ideal B} {δ : DividedPowers J} {X : Scheme.{u}} |
| 23 | {f : X ⟶ Spec (CommRingCat.of B)} |
| 24 | (H Q : C ⥤ BigCrystallineSite.Object p B J δ f) (π : H ⟶ Q) (σ : Type u) [LinearOrder σ] (U : C) |
| 25 | (e : Crystalline.DividedCoordinates.object (Q.obj U) σ ≅ H.obj U) |
| 26 | (he : e.hom ≫ π.app U = Crystalline.DividedCoordinates.projection (Q.obj U) σ) |
| 27 | |
| 28 | local notation "R" => OAI.NumberTheory.PadicHodge.IntegralComparison.BigCrystallineSite.Object.ring (Q.obj U) |
| 29 | local notation "G" => OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.DividedCoordinates.object (Q.obj U) σ |
| 30 | |
| 31 | def generator (i : σ) : (G).ring := AlgebraicGeometry.Crystalline.Cohomology.Multivariable.DividedAlgebra.MultivariableDividedAlgebra.generator R σ 1 i |
| 32 | |
| 33 | def basis (n : ℕ) : Module.Basis (Set.powersetCard σ n) (H.obj U).ring (FormData.Forms H Q π U n) := by |
| 34 | letI : Algebra R (H.obj U).ring := FormData.relativeAlgebra H Q π U |
| 35 | exact PD.FormBasisTransport.basis R (G).ring (H.obj U).ring (G).ideal (G).dividedPowers |
| 36 | (H.obj U).ideal (H.obj U).dividedPowers (Poincare.freeAlgEquiv H Q π σ U e he).symm |
| 37 | e.inv.ringMap.isDPMorphism e.hom.ringMap.isDPMorphism n |
| 38 | (Free.RelativeFormBasis.formBasis R σ (Q.obj U).ideal (Q.obj U).dividedPowers n) |
| 39 | |
| 40 | theorem formsEquiv_basis (n : ℕ) (s : Set.powersetCard σ n) : |
| 41 | Poincare.formsEquiv H Q π σ U e he n (basis H Q π σ U e he n s) = |
| 42 | Free.RelativeFormBasis.formBasis R σ (Q.obj U).ideal (Q.obj U).dividedPowers n s := by |
| 43 | let : Algebra R (H.obj U).ring := FormData.relativeAlgebra H Q π U |
| 44 | have hb := PD.FormBasisTransport.basis_apply R (G).ring (H.obj U).ring (G).ideal (G).dividedPowers |
| 45 | (H.obj U).ideal (H.obj U).dividedPowers (Poincare.freeAlgEquiv H Q π σ U e he).symm |
| 46 | e.inv.ringMap.isDPMorphism e.hom.ringMap.isDPMorphism n |
| 47 | (Free.RelativeFormBasis.formBasis R σ (Q.obj U).ideal (Q.obj U).dividedPowers n) s |
| 48 | exact (congrArg (Poincare.formsEquiv H Q π σ U e he n) hb).trans |
| 49 | (AlgebraicGeometry.Crystalline.Cohomology.PD.DeRhamEquivalence.PDDeRhamEquivalence.formMap_inverse (A := CommAlgCat.of R (G).ring) |
| 50 | (B := CommAlgCat.of R (H.obj U).ring) (Poincare.freeAlgEquiv H Q π σ U e he).symm |
| 51 | e.inv.ringMap.isDPMorphism e.hom.ringMap.isDPMorphism n _) |
| 52 | |
| 53 | theorem basis_eq_symbol (v : σ → (H.obj U).ring) (a : σ → R) |
| 54 | (hv : ∀ i, e.hom.ringMap (v i) = algebraMap R (G).ring (a i) + |
| 55 | generator Q σ U i) |
| 56 | (n : ℕ) (s : Set.powersetCard σ n) : |
| 57 | basis H Q π σ U e he n s = FormData.symbol H Q π U n 1 (fun j => v (Set.powersetCard.ofFinEmbEquiv.symm s j)) := by |
| 58 | apply (Poincare.formsEquiv H Q π σ U e he n).injective |
| 59 | refine (formsEquiv_basis H Q π σ U e he n s).trans ?_ |
| 60 | refine Eq.trans ?_ (Poincare.formsEquiv_symbol H Q π σ U e he n 1 |
| 61 | (fun j => v (Set.powersetCard.ofFinEmbEquiv.symm s j))).symm |
| 62 | have h1 : e.hom.ringMap (1 : (H.obj U).ring) = (1 : (G).ring) := e.hom.ringMap.toRingHom.map_one |
| 63 | have ht : (fun j => e.hom.ringMap (v (Set.powersetCard.ofFinEmbEquiv.symm s j))) = |
| 64 | (fun j => algebraMap R (G).ring (a (Set.powersetCard.ofFinEmbEquiv.symm s j)) + |
| 65 | generator Q σ U (Set.powersetCard.ofFinEmbEquiv.symm s j)) := |
| 66 | funext (fun j => hv (Set.powersetCard.ofFinEmbEquiv.symm s j)) |
| 67 | have hs := congrArg₂ (AlgebraicGeometry.Crystalline.Cohomology.PD.DeRham.PDDeRham.symbol R (G).ring (G).ideal (G).dividedPowers) h1 ht |
| 68 | exact (Free.RelativeFormBasis.formBasis_apply R σ (Q.obj U).ideal (Q.obj U).dividedPowers n s).trans |
| 69 | ((PD.ConstantShifts.symbol_base_add R (G).ring (G).ideal (G).dividedPowers 1 |
| 70 | (fun j => generator Q σ U (Set.powersetCard.ofFinEmbEquiv.symm s j)) |
| 71 | (fun j => a (Set.powersetCard.ofFinEmbEquiv.symm s j))).symm.trans hs.symm) |
| 72 | |
| 73 | end |
| 74 | |
| 75 | end OAI.NumberTheory.PadicHodge.IntegralComparison.RelativeCrystalline.Basis |