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.GeometricComparison.SmallCrystallineDpow |
| 2 | import OAI.NumberTheory.PadicHodge.GeometricComparison.Crystalline.FrameComplexFunctor |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.PD.DeRhamAlgebraCoordinates |
| 4 | import OAI.AlgebraicGeometry.Crystalline.Cohomology.ComplexAssemblyQuasi |
| 5 | |
| 6 | /-! # PD Complex Coordinates -/ |
| 7 | |
| 8 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Small.PDComplexCoordinates |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! The original small-site divided-power forms and their big-site |
| 13 | presentation are the same complex with canonically equal algebra actions. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.AlgebraicGeometry Opposite |
| 16 | |
| 17 | set_option backward.isDefEq.respectTransparency false |
| 18 | set_option backward.isDefEq.respectTransparency.types false |
| 19 | |
| 20 | universe u |
| 21 | variable (p : ℕ) [Fact p.Prime] (k : Type u) [Field k] [CharP k p] |
| 22 | (X : Over (Spec (CommRingCat.of k))) |
| 23 | |
| 24 | local notation "W" => WittVector p k |
| 25 | local notation "C" => OAI.AlgebraicGeometry.Crystalline.Cohomology.Site.Object p k X |
| 26 | |
| 27 | def originalFunctor : Cᵒᵖ ⥤ CochainComplex (ModuleCat.{u} W) ℕ where |
| 28 | obj Q := AlgebraicGeometry.Crystalline.Cohomology.PD.DeRham.PDDeRham.complex W Q.unop.thickening.ring |
| 29 | (RingHom.ker Q.unop.thickening.reduction) Q.unop.thickening.dividedPowers |
| 30 | map a := PD.DeRhamComplexMap.map (CommAlgCat.ofHom a.unop.ambientMap) a.unop.dp_comp |
| 31 | map_id Q := PD.DeRhamComplexMap.map_id (𝟙 Q).unop.dp_comp |
| 32 | map_comp a b := PD.DeRhamComplexMap.map_comp |
| 33 | (CommAlgCat.ofHom a.unop.ambientMap) (CommAlgCat.ofHom b.unop.ambientMap) |
| 34 | a.unop.dp_comp b.unop.dp_comp (a ≫ b).unop.dp_comp |
| 35 | |
| 36 | def targetFunctor : Cᵒᵖ ⥤ CochainComplex (ModuleCat.{u} W) ℕ := |
| 37 | (GeometricComparison.SmallCrystallineDpow.SmallCrystallineAdapter.to65 ⋙ BigCrystallineSite.fromSmall).op ⋙ |
| 38 | GeometricComparison.Crystalline.FrameComplexFunctor.CrystallineFrameComplexFunctor.functor (Witt.Crystalline.wittStructureMap p k X) |
| 39 | |
| 40 | def pointIso (Q : Cᵒᵖ) : (originalFunctor p k X).obj Q ≅ (targetFunctor p k X).obj Q := |
| 41 | PD.DeRhamAlgebraCoordinates.iso W Q.unop.thickening.ring |
| 42 | (RingHom.ker Q.unop.thickening.reduction) Q.unop.thickening.dividedPowers |
| 43 | inferInstance (algebraMap W Q.unop.thickening.ring).toAlgebra toAlgebra_algebraMap.symm |
| 44 | |
| 45 | theorem naturality {P Q : Cᵒᵖ} (a : P ⟶ Q) : |
| 46 | (originalFunctor p k X).map a ≫ (pointIso p k X Q).hom = |
| 47 | (pointIso p k X P).hom ≫ (targetFunctor p k X).map a := |
| 48 | PD.DeRhamAlgebraCoordinates.naturality W P.unop.thickening.ring |
| 49 | (RingHom.ker P.unop.thickening.reduction) P.unop.thickening.dividedPowers |
| 50 | Q.unop.thickening.ring (RingHom.ker Q.unop.thickening.reduction) Q.unop.thickening.dividedPowers |
| 51 | inferInstance (algebraMap W P.unop.thickening.ring).toAlgebra |
| 52 | inferInstance (algebraMap W Q.unop.thickening.ring).toAlgebra |
| 53 | toAlgebra_algebraMap.symm toAlgebra_algebraMap.symm a.unop.ambientMap.toRingHom |
| 54 | a.unop.ambientMap.commutes a.unop.ambientMap.commutes a.unop.dp_comp |
| 55 | |
| 56 | def iso : originalFunctor p k X ≅ targetFunctor p k X := |
| 57 | NatIso.ofComponents (pointIso p k X) (naturality p k X) |
| 58 | |
| 59 | def originalAssemblyIso : AlgebraicGeometry.Crystalline.Cohomology.ComplexAssemblyQuasi.ComplexAssembly.complex (.up ℕ) (originalFunctor p k X) ≅ |
| 60 | AlgebraicGeometry.Crystalline.Cohomology.PD.DeRhamGlobal.PDDeRhamGlobal.presheafComplex p k X := |
| 61 | HomologicalComplex.Hom.isoOfComponents (fun _ => Iso.refl _) (by |
| 62 | intro i j hij |
| 63 | change i + 1 = j at hij |
| 64 | subst j |
| 65 | simp only [Iso.refl_hom] |
| 66 | apply NatTrans.ext |
| 67 | funext Q |
| 68 | change ((AlgebraicGeometry.Crystalline.Cohomology.PD.DeRhamGlobal.PDDeRhamGlobal.presheafComplex p k X).d i (i + 1)).app Q = |
| 69 | (AlgebraicGeometry.Crystalline.Cohomology.PD.DeRham.PDDeRham.complex W Q.unop.thickening.ring |
| 70 | (RingHom.ker Q.unop.thickening.reduction) Q.unop.thickening.dividedPowers).d i (i + 1) |
| 71 | dsimp only [AlgebraicGeometry.Crystalline.Cohomology.PD.DeRhamGlobal.PDDeRhamGlobal.presheafComplex, AlgebraicGeometry.Crystalline.Cohomology.PD.DeRham.PDDeRham.complex] |
| 72 | rw [CochainComplex.of_d, CochainComplex.of_d] |
| 73 | rfl) |
| 74 | |
| 75 | def assembledIso : AlgebraicGeometry.Crystalline.Cohomology.PD.DeRhamGlobal.PDDeRhamGlobal.presheafComplex p k X ≅ |
| 76 | AlgebraicGeometry.Crystalline.Cohomology.ComplexAssemblyQuasi.ComplexAssembly.complex (.up ℕ) (targetFunctor p k X) := |
| 77 | (originalAssemblyIso p k X).symm ≪≫ (AlgebraicGeometry.Crystalline.Cohomology.ComplexAssemblyQuasi.ComplexAssembly.functor (.up ℕ)).mapIso (iso p k X) |
| 78 | |
| 79 | end |
| 80 | |
| 81 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Small.PDComplexCoordinates |