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.BoundedTruncated.FrameProduct |
| 2 | import OAI.AlgebraicGeometry.Crystalline.Cohomology.Base.SmallEtaleCover |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.FrameDiagonalCoordinates |
| 4 | import OAI.NumberTheory.PadicHodge.GeometricComparison.BoundedFrame.OpenSectionsIso |
| 5 | import OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.SubchartResolution |
| 6 | |
| 7 | /-! # Frame Diagonal Iso -/ |
| 8 | |
| 9 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.FrameDiagonalIso |
| 10 | |
| 11 | noncomputable section |
| 12 | |
| 13 | /-! The actual frame-to-diagonal section map is invertible on each affine |
| 14 | subchart of the integral etale cover. -/ |
| 15 | |
| 16 | open _root_.CategoryTheory _root_.AlgebraicGeometry Opposite |
| 17 | |
| 18 | set_option backward.isDefEq.respectTransparency false |
| 19 | set_option backward.isDefEq.respectTransparency.types false |
| 20 | |
| 21 | variable (p : ℕ) [Fact p.Prime] (k : Type) [Field k] [Fintype k] [CharP k p] |
| 22 | (n : ℕ) (X : Over (Spec (CommRingCat.of (Truncated.Witt.Ring p k n)))) |
| 23 | [IsProper X.hom] [Smooth X.hom] |
| 24 | (Y : Over (Spec (CommRingCat.of k))) [IsSeparated Y.hom] (f : Y.left ⟶ X.left) |
| 25 | (hp : IsPullback f Y.hom X.hom |
| 26 | (Spec.map (CommRingCat.ofHom (Truncated.Witt.reduction p k n)))) |
| 27 | (I : X.left.affineOpens) |
| 28 | |
| 29 | local notation "W" => WittVector p k |
| 30 | local notation "C" => OAI.NumberTheory.PadicHodge.IntegralComparison.Truncated.AffineModelFrame.targetRing p k n X Y f I.val |
| 31 | local instance specialAlgebra : Algebra k C := AlgebraicGeometry.Crystalline.Cohomology.AlgebraicForms.AlgebraicDeRham.sectionAlgebra k Y (f ⁻¹ᵁ I.val) |
| 32 | local notation "w" => OAI.NumberTheory.PadicHodge.IntegralComparison.Witt.Crystalline.wittStructureMap p k Y |
| 33 | local notation "wI" => OAI.NumberTheory.PadicHodge.IntegralComparison.Witt.Crystalline.wittStructureMap p k (OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.Presentation.affineScheme k C) |
| 34 | local notation "γ" => OAI.AlgebraicGeometry.Crystalline.Cohomology.Witt.DividedPowers.WittDividedPowers.wittDividedPowers p k |
| 35 | local notation "Flocal" => OAI.NumberTheory.PadicHodge.IntegralComparison.Truncated.AffineModelFrame.localFrame p k n X Y f hp I.val I.property |
| 36 | local notation "Fglobal" => OAI.NumberTheory.PadicHodge.IntegralComparison.Truncated.AffineModelFrame.frame p k n X Y f hp I.val I.property |
| 37 | local notation "g" => OAI.NumberTheory.PadicHodge.IntegralComparison.Truncated.AffineModelFrame.chart p k n X Y f hp I.val I.property |
| 38 | local notation "hg" => (OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.OpenPresentation.overWitt p k C Y (OAI.NumberTheory.PadicHodge.IntegralComparison.Truncated.AffineModelFrame.chart p k n X Y f hp I.val I.property) (OAI.NumberTheory.PadicHodge.IntegralComparison.Truncated.AffineModelFrame.chart_over p k n X Y f hp I.val I.property)) |
| 39 | |
| 40 | local instance separated : IsSeparated w := by |
| 41 | dsimp only [Witt.Crystalline.wittStructureMap] |
| 42 | infer_instance |
| 43 | local instance separatedLocal : IsSeparated wI := BoundedTruncated.FrameProduct.structureMap_separated p k C |
| 44 | local instance chartOpen : IsOpenImmersion g := Truncated.AffineModelFrame.chart_open p k n X Y f hp I.val I.property |
| 45 | |
| 46 | omit [IsProper X.hom] in |
| 47 | theorem component_eq : |
| 48 | (FrameDiagonalMap.transformation p k n X Y f hp).app (op I) = |
| 49 | GeometricComparison.BoundedFrame.OpenSectionsIso.BoundedFrameOpenSectionsIso.map n (FY := Fglobal) (f ⁻¹ᵁ I.val) := by |
| 50 | apply HomologicalComplex.Hom.ext |
| 51 | funext degree |
| 52 | exact FrameDiagonalCoordinates.app_f p k n X Y f hp I degree |
| 53 | |
| 54 | variable (i : AlgebraicGeometry.Crystalline.Cohomology.Base.SmallEtaleCover.BaseSmallEtaleCover.Index (Truncated.Witt.Ring p k n) X) |
| 55 | (hi : I.val ≤ (AlgebraicGeometry.Crystalline.Cohomology.Base.SmallEtaleCover.BaseSmallEtaleCover.opens (Truncated.Witt.Ring p k n) X i).val) |
| 56 | |
| 57 | include hi in |
| 58 | theorem isIso : IsIso ((FrameDiagonalMap.transformation p k n X Y f hp).app (op I)) := by |
| 59 | let e : Fglobal ≅ Fglobal := Iso.refl Fglobal |
| 60 | rw [component_eq p k n X Y f hp I] |
| 61 | exact GeometricComparison.BoundedFrame.OpenSectionsIso.BoundedFrameOpenSectionsIso.isIso g hg n (FX := Flocal) (FY := Fglobal) e |
| 62 | (SubchartResolution.sections_isIso p k n X Y f hp I (AlgebraicGeometry.Crystalline.Cohomology.Base.SmallEtaleCover.BaseSmallEtaleCover.originalIndex (Truncated.Witt.Ring p k n) X i) hi) |
| 63 | (f ⁻¹ᵁ I.val) (IsAffineOpen.opensRange_fromSpec (Truncated.AffineModelFrame.residue_affine p k n X Y f hp I.val I.property)).symm |
| 64 | |
| 65 | end |
| 66 | |
| 67 | end OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.FrameDiagonalIso |