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.TruncatedModel.AdditiveTopFractionCoordinates |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.OrdinaryFractionRestriction |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.AugmentedCech.TopCoefficientIso |
| 4 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Augmented.TopClassLift |
| 5 | |
| 6 | /-! # Ordinary Fraction Lift -/ |
| 7 | |
| 8 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.OrdinaryFractionLift.Ordinary |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! The original additive fractional class has the native coefficient |
| 13 | coordinate through the same two universe lifts and the actual Cech |
| 14 | homology comparison. -/ |
| 15 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry Opposite _root_.HomologicalComplex |
| 16 | set_option backward.defeqAttrib.useBackward true |
| 17 | set_option backward.isDefEq.respectTransparency false |
| 18 | set_option backward.isDefEq.respectTransparency.types false |
| 19 | |
| 20 | variable (p : ℕ) [Fact p.Prime] (k : Type) [Field k] [Fintype k] [CharP k p] |
| 21 | (n : ℕ) (X : Over (Spec (CommRingCat.of (Truncated.Witt.Ring p k n)))) |
| 22 | [IsProper X.hom] [Smooth X.hom] [X.left.IsSeparated] |
| 23 | (Y : Over (Spec (CommRingCat.of k))) [IsSeparated Y.hom] (f : Y.left ⟶ X.left) |
| 24 | (hp : IsPullback f Y.hom X.hom |
| 25 | (Spec.map (CommRingCat.ofHom (Truncated.Witt.reduction p k n)))) |
| 26 | (V : X.left.affineOpens) (g : ℕ) [SmoothOfRelativeDimension g X.hom] |
| 27 | (a : Fin g → Γ(X.left,V.val)) |
| 28 | |
| 29 | abbrev diagram := PrincipalSource.OpenTopClass.target V.val V.property |
| 30 | (GeometricComparison.Integral.FormsModules.IntegralFormsModules.sheaf (Truncated.Witt.Ring p k n) X g) |
| 31 | |
| 32 | abbrev family := Supported.Comparison.family p k n X V g a |
| 33 | |
| 34 | def liftIso (m : ℕ) := AugmentedCech.TopClassCoefficients.homologyIso |
| 35 | (family p k n X V g a) AdditiveTop.Comparison.lift |
| 36 | (diagram p k n X V g) m |
| 37 | |
| 38 | omit [Fintype k] [CharP k p] [IsProper X.hom] [Smooth X.hom] [X.left.IsSeparated] [SmoothOfRelativeDimension g X.hom] in |
| 39 | private theorem native_top |
| 40 | (x : (PrincipalTopSingle.coefficient p k n X V g).obj |
| 41 | (op (AugmentedOrdered.CechCoordinates.topObject (family p k n X V g a) g (by simp)))) : |
| 42 | (PrincipalTopHomology.coefficientIso p k n X V g a g).hom |
| 43 | (AugmentedOrdered.CechTopClass.topClass (family p k n X V g a) |
| 44 | (PrincipalTopSingle.coefficient p k n X V g) g (by simp) x) = |
| 45 | AugmentedCech.TopClassMap.map (family p k n X V g a) |
| 46 | (PrincipalTopSingle.coefficient p k n X V g ⋙ |
| 47 | AdditiveTop.Comparison.forget p k) g (by simp) x := by |
| 48 | dsimp only [PrincipalTopHomology.coefficientIso] |
| 49 | rw [AugmentedCech.TopCoefficientIso.eq] |
| 50 | exact Augmented.TopClassLift.forget (family p k n X V g a) |
| 51 | (PrincipalTopSingle.coefficient p k n X V g) g (by simp) x |
| 52 | |
| 53 | omit [IsSeparated Y.hom] in |
| 54 | omit [IsProper X.hom] [X.left.IsSeparated] [SmoothOfRelativeDimension g X.hom] in |
| 55 | theorem ordinaryClass (r : WittVector p k) : |
| 56 | AdditiveTopFractionCoordinates.ordinaryClass p k n X Y f hp V g a r = |
| 57 | (liftIso p k n X V g a g).hom |
| 58 | (ULift.up.{2,1} (ULift.up.{1,0} |
| 59 | (AugmentedCech.TopClassMap.map (family p k n X V g a) (diagram p k n X V g) |
| 60 | g (by simp) |
| 61 | (Integral.FormSectionUnit.unit (Truncated.Witt.Ring p k n) X g |
| 62 | (PrincipalFraction.topOpen p k n X Y f hp V g a).val |
| 63 | (PrincipalFraction.fraction p k n X Y f hp V g a r))))) := by |
| 64 | dsimp only [AdditiveTopFractionCoordinates.ordinaryClass, |
| 65 | PrincipalTopFraction.ordinaryClass] |
| 66 | rw [native_top] |
| 67 | exact (Augmented.TopClassLift.lift (family p k n X V g a) |
| 68 | (diagram p k n X V g) g (by simp) |
| 69 | (Integral.FormSectionUnit.unit (Truncated.Witt.Ring p k n) X g |
| 70 | (PrincipalFraction.topOpen p k n X Y f hp V g a).val |
| 71 | (PrincipalFraction.fraction p k n X Y f hp V g a r))).symm |
| 72 | |
| 73 | variable (Z : Over (Spec (CommRingCat.of (Truncated.Witt.Ring p k n)))) |
| 74 | (π : X ⟶ Z) (U : Z.left.Opens) (hVU : V.val ≤ π.left ⁻¹ᵁ U) |
| 75 | (t : Fin g → Γ(Z.left,U)) |
| 76 | |
| 77 | omit [IsSeparated Y.hom] in |
| 78 | omit [IsProper X.hom] [X.left.IsSeparated] [SmoothOfRelativeDimension g X.hom] in |
| 79 | theorem targetClass (r : WittVector p k) : |
| 80 | AdditiveTopFractionCoordinates.ordinaryClass p k n X Y f hp V g |
| 81 | (ResidueFraction.localParameters p k n X Z π U V hVU g t) r = |
| 82 | (liftIso p k n X V g |
| 83 | (ResidueFraction.localParameters p k n X Z π U V hVU g t) g).hom |
| 84 | (ULift.up.{2,1} (ULift.up.{1,0} |
| 85 | (OrdinaryFractionRestriction.Ordinary.targetClass p k n X Y f hp Z π U V hVU g t r))) := |
| 86 | ordinaryClass p k n X Y f hp V g |
| 87 | (ResidueFraction.localParameters p k n X Z π U V hVU g t) r |
| 88 | |
| 89 | end |
| 90 | |
| 91 | end OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.OrdinaryFractionLift.Ordinary |