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.Affine.SheafLocalLifts |
| 2 | import OAI.NumberTheory.PadicHodge.GeometricComparison.Cech.DegreeZero |
| 3 | import OAI.NumberTheory.PadicHodge.GeometricComparison.Cech.CechSheaf |
| 4 | import OAI.NumberTheory.PadicHodge.GeometricComparison.Cech.CechLift |
| 5 | |
| 6 | /-! # Section Lifting -/ |
| 7 | |
| 8 | namespace OAI.NumberTheory.PadicHodge.GeometricComparison.Affine.SectionLifting.AffineSectionLifting |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! Vanishing of first principal Čech cohomology of the kernel makes an actual epimorphism of affine sheaves surjective on global sections. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory Limits _root_.AlgebraicGeometry Opposite |
| 15 | |
| 16 | variable (R : Type) [CommRing R] (A : CommRingCat) (g : Spec A ⟶ Spec (CommRingCat.of R)) |
| 17 | |
| 18 | local notation "X" => Over.mk g |
| 19 | local notation "J" => Opens.grothendieckTopology (Spec (A)) |
| 20 | |
| 21 | theorem surjective (S : ShortComplex (Sheaf J (ModuleCat R))) (hS : S.ShortExact) |
| 22 | (hA : ∀ t : Finset A, Ideal.span (t : Set A) = ⊤ → |
| 23 | ((Cech.CechSheaf.functor R X (fun a : t => PrimeSpectrum.basicOpen a.val)).obj S.X₁).ExactAt 1) : |
| 24 | Function.Surjective (S.g.hom.app (op ⊤)) := by |
| 25 | have := hS.mono_f |
| 26 | have := hS.epi_g |
| 27 | intro x |
| 28 | obtain ⟨t, ht, hl⟩ := SheafLocalLifts.AffineSheafLocalLifts.exists_principal_lifts R (A) S.g x |
| 29 | let U : t → (Spec (A)).Opens := fun a => PrimeSpectrum.basicOpen a.val |
| 30 | have hU : iSup U = ⊤ := by |
| 31 | apply PrimeSpectrum.iSup_basicOpen_eq_top_iff.mpr |
| 32 | simpa only [Subtype.range_coe_subtype, Finset.setOfPred_mem] using ht |
| 33 | let y := fun a : t => (hl a).choose |
| 34 | have hy := fun a : t => (hl a).choose_spec |
| 35 | let C := Cech.CechSheaf.functor R X U |
| 36 | let z := Cech.CechLift.assemble R X U S.X₂.obj y |
| 37 | have hz : (C.map S.g).f 0 z = (AlgebraicGeometry.Crystalline.Cohomology.Cech.Descent.CechDescent.augmentation R X U S.X₃.obj).f 0 x := |
| 38 | Cech.CechLift.map_assemble R X U S.g.hom x y hy |
| 39 | have ha : (AlgebraicGeometry.Crystalline.Cohomology.Cech.Descent.CechDescent.augmentation R X U S.X₃.obj).f 0 ≫ |
| 40 | (C.obj S.X₃).d 0 1 = 0 := |
| 41 | (congrArg (fun f => f ≫ (C.obj S.X₃).d 0 1) |
| 42 | (Cech.CechLift.augmentation_f_zero R X U S.X₃.obj)).trans |
| 43 | (AlgebraicGeometry.Crystalline.Cohomology.Cech.Descent.CechDescent.restriction_cocycle R X U S.X₃.obj) |
| 44 | have hdz : (C.map S.g).f 1 ((C.obj S.X₂).d 0 1 z) = 0 := |
| 45 | (congrArg (fun f => f z) ((C.map S.g).comm 0 1)).symm.trans |
| 46 | ((congrArg ((C.obj S.X₃).d 0 1) hz).trans (congrArg (fun f => f x) ha)) |
| 47 | obtain ⟨z', hz', hg⟩ := Cech.CechSheaf.exists_corrected_cycle R X U S hS.exact 0 (hA t ht) z hdz |
| 48 | obtain ⟨x', hx'⟩ := Cech.DegreeZero.CechDegreeZero.exists_augmentation R X S.X₂ U hU z' hz' |
| 49 | refine ⟨x', ?_⟩ |
| 50 | apply Cech.DegreeZero.CechDegreeZero.augmentation_injective R X S.X₃ U hU |
| 51 | have hn := congrArg (fun f => f.f 0 x') |
| 52 | (AlgebraicGeometry.Crystalline.Cohomology.Cech.Descent.CechDescent.augmentation_natural R X U S.g.hom) |
| 53 | exact hn.trans ((congrArg ((C.map S.g).f 0) hx').trans (hg.trans hz)) |
| 54 | |
| 55 | end |
| 56 | |
| 57 | end OAI.NumberTheory.PadicHodge.GeometricComparison.Affine.SectionLifting.AffineSectionLifting |