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.IntrinsicPadic.FirstThreeCrystalline |
| 2 | import OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.SmallQuotientLevel |
| 3 | import OAI.NumberTheory.PadicHodge.GeometricComparison.AffineQuotientCechLevel |
| 4 | import OAI.NumberTheory.PadicHodge.GeometricComparison.CochainQuotientTransitionCoordinates |
| 5 | |
| 6 | /-! # First Three Source Level -/ |
| 7 | |
| 8 | namespace OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.FirstThreeSourceLevel.IntrinsicPadicFirstThreeSourceLevel |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! The actual small p-adic quotient Cech H-one identifies naturally |
| 13 | with the original principal quotient tower used by integral completion. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 16 | |
| 17 | private theorem three_squares {A : Type*} [Category* A] {W X Y Z W' X' Y' Z' : A} |
| 18 | (p : W ⟶ W') (q : X ⟶ X') (r : Y ⟶ Y') (s : Z ⟶ Z') |
| 19 | (a : W ⟶ X) (b : X ⟶ Y) (c : Y ⟶ Z) |
| 20 | (a' : W' ⟶ X') (b' : X' ⟶ Y') (c' : Y' ⟶ Z') |
| 21 | (h₁ : p ≫ a' = a ≫ q) (h₂ : q ≫ b' = b ≫ r) (h₃ : r ≫ c' = c ≫ s) : |
| 22 | p ≫ (a' ≫ b' ≫ c') = (a ≫ b ≫ c) ≫ s := by |
| 23 | have h := ExactHomology.ExactHomologyComparison.compose _ _ _ _ _ _ _ h₁ h₂ |
| 24 | have h' := ExactHomology.ExactHomologyComparison.compose _ _ _ _ _ _ _ h h₃ |
| 25 | simpa only [Category.assoc] using h' |
| 26 | |
| 27 | variable (p : ℕ) [Fact p.Prime] |
| 28 | (X : Over (Spec (CommRingCat.of ℤ_[p]))) [IsProper X.hom] [Smooth X.hom] [X.left.IsSeparated] |
| 29 | (n m : ℕ) (hnm : n ≤ m) |
| 30 | |
| 31 | local notation "U" => OAI.NumberTheory.PadicHodge.GeometricComparison.Integral.EtaleAffineCover.IntegralEtaleAffineCoverSections.opens ℤ_[p] X |
| 32 | local notation "C" => OAI.NumberTheory.PadicHodge.GeometricComparison.IntegralFirst.ThreeCechCompletion.IntegralFirstThreeCechCompletion.complex ℤ_[p] X U |
| 33 | local notation "Im" => (Ideal.span {(p : ℤ_[p])}) ^ (m + 1) |
| 34 | local notation "In" => (Ideal.span {(p : ℤ_[p])}) ^ (n + 1) |
| 35 | local notation "hI" => Ideal.pow_le_pow_right (I := Ideal.span {(p : ℤ_[p])}) (Nat.add_le_add_right hnm 1) |
| 36 | |
| 37 | def principalMap : PrincipalCochainExact.PrincipalCochainQuotient.quotient ℤ_[p] C (p : ℤ_[p]) (m + 1) ⟶ |
| 38 | PrincipalCochainExact.PrincipalCochainQuotient.quotient ℤ_[p] C (p : ℤ_[p]) (n + 1) := |
| 39 | PrincipalCochainExact.PrincipalCochainQuotient.transition ℤ_[p] C (p : ℤ_[p]) (n + 1) (m + 1) (Nat.add_le_add_right hnm 1) |
| 40 | |
| 41 | theorem full_open : SmallQuotientLevel.IntrinsicPadicSmallQuotientLevel.map p X n m hnm ≫ (Coefficient.IntrinsicPadicSmallQuotientTotal.fullOpenIso p X n).hom = |
| 42 | (Coefficient.IntrinsicPadicSmallQuotientTotal.fullOpenIso p X m).hom ≫ IntegralCech.CechQuotientLevel.IntegralCechQuotientLevel.map ℤ_[p] X U Im In hI := |
| 43 | AffineQuotientCechLevel.OrdinaryAffineQuotientCechLevel.natural ℤ_[p] X (CechSliceResolution.IntrinsicPadicCechSliceResolution.opens p X) Im In hI |
| 44 | |
| 45 | theorem full_open_homology : HomologicalComplex.homologyMap (SmallQuotientLevel.IntrinsicPadicSmallQuotientLevel.map p X n m hnm) 1 ≫ |
| 46 | HomologicalComplex.homologyMap (Coefficient.IntrinsicPadicSmallQuotientTotal.fullOpenIso p X n).hom 1 = |
| 47 | HomologicalComplex.homologyMap (Coefficient.IntrinsicPadicSmallQuotientTotal.fullOpenIso p X m).hom 1 ≫ |
| 48 | HomologicalComplex.homologyMap (IntegralCech.CechQuotientLevel.IntegralCechQuotientLevel.map ℤ_[p] X U Im In hI) 1 := |
| 49 | (HomologicalComplex.homologyMap_comp (SmallQuotientLevel.IntrinsicPadicSmallQuotientLevel.map p X n m hnm) |
| 50 | (Coefficient.IntrinsicPadicSmallQuotientTotal.fullOpenIso p X n).hom 1).symm.trans |
| 51 | ((congrArg (fun q => HomologicalComplex.homologyMap q 1) (full_open p X n m hnm)).trans |
| 52 | (HomologicalComplex.homologyMap_comp (Coefficient.IntrinsicPadicSmallQuotientTotal.fullOpenIso p X m).hom |
| 53 | (IntegralCech.CechQuotientLevel.IntegralCechQuotientLevel.map ℤ_[p] X U Im In hI) 1)) |
| 54 | |
| 55 | omit [X.left.IsSeparated] in |
| 56 | theorem principal : principalMap p X n m hnm ≫ (IntegralCech.QuotientTotal.IntegralCechQuotientTotal.iso ℤ_[p] X U In).hom = |
| 57 | (IntegralCech.QuotientTotal.IntegralCechQuotientTotal.iso ℤ_[p] X U Im).hom ≫ IntegralCech.QuotientLevel.IntegralCechQuotientLevel.map ℤ_[p] X U Im In hI := |
| 58 | (congrArg (fun q => q ≫ (IntegralCech.QuotientTotal.IntegralCechQuotientTotal.iso ℤ_[p] X U In).hom) |
| 59 | (CochainQuotientTransitionCoordinates.PrincipalCochainQuotientTransitionCoordinates.transition ℤ_[p] C (p : ℤ_[p]) |
| 60 | (n + 1) (m + 1) (Nat.add_le_add_right hnm 1))).trans |
| 61 | (IntegralCech.QuotientLevel.IntegralCechQuotientLevel.natural ℤ_[p] X U Im In hI) |
| 62 | |
| 63 | omit [X.left.IsSeparated] in |
| 64 | theorem inverse_principal : IntegralCech.QuotientLevel.IntegralCechQuotientLevel.map ℤ_[p] X U Im In hI ≫ |
| 65 | (IntegralCech.QuotientTotal.IntegralCechQuotientTotal.iso ℤ_[p] X U In).inv = |
| 66 | (IntegralCech.QuotientTotal.IntegralCechQuotientTotal.iso ℤ_[p] X U Im).inv ≫ principalMap p X n m hnm := |
| 67 | IntegralComparison.InverseCoordinateHomology.inverse (IntegralCech.QuotientTotal.IntegralCechQuotientTotal.iso ℤ_[p] X U Im) |
| 68 | (IntegralCech.QuotientTotal.IntegralCechQuotientTotal.iso ℤ_[p] X U In) (principalMap p X n m hnm) |
| 69 | (IntegralCech.QuotientLevel.IntegralCechQuotientLevel.map ℤ_[p] X U Im In hI) (principal p X n m hnm) |
| 70 | |
| 71 | omit [X.left.IsSeparated] in |
| 72 | theorem inverse_principal_homology : HomologicalComplex.homologyMap (IntegralCech.QuotientLevel.IntegralCechQuotientLevel.map ℤ_[p] X U Im In hI) 1 ≫ |
| 73 | (IntegralCech.QuotientTotal.IntegralCechQuotientTotal.homologyIso ℤ_[p] X U In 1).inv = |
| 74 | (IntegralCech.QuotientTotal.IntegralCechQuotientTotal.homologyIso ℤ_[p] X U Im 1).inv ≫ HomologicalComplex.homologyMap (principalMap p X n m hnm) 1 := |
| 75 | (HomologicalComplex.homologyMap_comp (IntegralCech.QuotientLevel.IntegralCechQuotientLevel.map ℤ_[p] X U Im In hI) |
| 76 | (IntegralCech.QuotientTotal.IntegralCechQuotientTotal.iso ℤ_[p] X U In).inv 1).symm.trans |
| 77 | ((congrArg (fun q => HomologicalComplex.homologyMap q 1) (inverse_principal p X n m hnm)).trans |
| 78 | (HomologicalComplex.homologyMap_comp (IntegralCech.QuotientTotal.IntegralCechQuotientTotal.iso ℤ_[p] X U Im).inv (principalMap p X n m hnm) 1)) |
| 79 | |
| 80 | theorem natural : HomologicalComplex.homologyMap (SmallQuotientLevel.IntrinsicPadicSmallQuotientLevel.map p X n m hnm) 1 ≫ |
| 81 | (FirstThreeCrystalline.IntrinsicPadicFirstThreeCrystalline.sourceHomologyIso p X n).hom = |
| 82 | (FirstThreeCrystalline.IntrinsicPadicFirstThreeCrystalline.sourceHomologyIso p X m).hom ≫ HomologicalComplex.homologyMap (principalMap p X n m hnm) 1 := |
| 83 | three_squares _ _ _ _ _ _ _ _ _ _ (full_open_homology p X n m hnm) |
| 84 | (IntegralCech.CechQuotientLevel.IntegralCechQuotientLevel.homology ℤ_[p] X U Im In hI) (inverse_principal_homology p X n m hnm) |
| 85 | |
| 86 | end |
| 87 | |
| 88 | end OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.FirstThreeSourceLevel.IntrinsicPadicFirstThreeSourceLevel |