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.Balanced.FrameAugmentation |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Balanced.SourceNormalization |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.FrameCech.GlobalEdge |
| 4 | |
| 5 | /-! # Frame Source Normalization -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Balanced.FrameSourceNormalization |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The native covering-frame comparison is normalized by the genuine |
| 12 | source-augmentation sections, for arbitrary intermediate complexes. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits |
| 15 | |
| 16 | universe u z |
| 17 | variable {C : Type u} [Category.{0} C] [HasBinaryProducts C] |
| 18 | {ι : Type} [Finite ι] (F : ι → C) (R : Type u) [CommRing R] (J : GrothendieckTopology C) |
| 19 | [HasExt.{max u z} (Sheaf J (ModuleCat.{u} R))] |
| 20 | (hcover : ∀ V, CoveringObjectsSheafDetection.sieve F V ∈ J V) |
| 21 | {Y : Sheaf J (ModuleCat.{u} R)} (I : InjectiveResolution Y) |
| 22 | (K : CochainComplex (Sheaf J (ModuleCat.{u} R)) ℕ) (g : K ⟶ I.cocomplex) |
| 23 | |
| 24 | local instance coproducts : HasCoproducts.{0} (ModuleCat.{max u z} R) := |
| 25 | fun T => (ModuleCat.hasColimitsOfSize.{max u z,u,0,0} R).has_colimits_of_shape (Discrete T) |
| 26 | local notation "P" => OAI.NumberTheory.PadicHodge.IntegralComparison.CoveringPresentationResolution.complex J R F |
| 27 | local notation "ε" => OAI.NumberTheory.PadicHodge.IntegralComparison.CoveringPresentationResolution.augmentation J R F |
| 28 | |
| 29 | omit [Finite ι] in |
| 30 | theorem total_natural : ResolutionHom.SourceNaturality.totalMap R P g ≫ |
| 31 | (FrameCech.ExtCoefficientEdge.totalIso.{u,0,z} F R J I.cocomplex).hom = |
| 32 | (FrameCech.ExtCoefficientEdge.totalIso.{u,0,z} F R J K).hom ≫ |
| 33 | FrameCech.AugmentationNaturality.totalMap.{u,0,z} F R J K I.cocomplex g := |
| 34 | (HomologicalComplex₂.total.map_comp _ _ (.up ℕ)).symm.trans |
| 35 | ((congrArg (fun a => HomologicalComplex₂.total.map a (.up ℕ)) |
| 36 | (FrameCech.ExtBicomplex.naturality.{u,0,z} F R J K g)).trans |
| 37 | (HomologicalComplex₂.total.map_comp _ _ (.up ℕ))) |
| 38 | |
| 39 | def edge := ResolutionHom.Total.edge R P ε K ≫ |
| 40 | (FrameCech.ExtCoefficientEdge.totalIso.{u,0,z} F R J K).hom |
| 41 | |
| 42 | private theorem through_coordinates {A : Type*} [Category A] |
| 43 | {U V V' W W' E : A} (a : U ⟶ V) (e : V ≅ V') (d : W ≅ W') |
| 44 | (f : V ⟶ W) (g : V' ⟶ W') (c : W ⟶ E) |
| 45 | (h : f ≫ d.hom = e.hom ≫ g) : |
| 46 | (a ≫ e.hom) ≫ (g ≫ d.inv ≫ c) = a ≫ (f ≫ c) := by |
| 47 | have hi := InverseCoordinateHomology.inverse e d f g h |
| 48 | simp only [Category.assoc] |
| 49 | rw [← Category.assoc g d.inv c, hi] |
| 50 | simp only [Category.assoc, Iso.hom_inv_id_assoc] |
| 51 | |
| 52 | abbrev source_homology (i : ℕ) := by |
| 53 | let : QuasiIso ε := CoveringPresentationResolution.augmentation_quasiIso J R F hcover |
| 54 | have hc := (HomologicalComplex.homologyMap_comp |
| 55 | (ResolutionHom.SourceNaturality.totalMap R P g) |
| 56 | (FrameCech.ExtCoefficientEdge.totalIso.{u,0,z} F R J I.cocomplex).hom i).symm.trans |
| 57 | ((congrArg (fun a => HomologicalComplex.homologyMap a i) (total_natural F R J I K g)).trans |
| 58 | (HomologicalComplex.homologyMap_comp |
| 59 | (FrameCech.ExtCoefficientEdge.totalIso.{u,0,z} F R J K).hom |
| 60 | (FrameCech.AugmentationNaturality.totalMap.{u,0,z} F R J K I.cocomplex g) i)) |
| 61 | have h := through_coordinates |
| 62 | (HomologicalComplex.homologyMap (ResolutionHom.Total.edge R P ε K) i) |
| 63 | (HomologicalComplex.homologyMapIso (FrameCech.ExtCoefficientEdge.totalIso.{u,0,z} F R J K) i) |
| 64 | (HomologicalComplex.homologyMapIso (FrameCech.ExtCoefficientEdge.totalIso.{u,0,z} F R J I.cocomplex) i) |
| 65 | (HomologicalComplex.homologyMap (ResolutionHom.SourceNaturality.totalMap R P g) i) |
| 66 | (HomologicalComplex.homologyMap (FrameCech.AugmentationNaturality.totalMap.{u,0,z} F R J K I.cocomplex g) i) |
| 67 | (ResolutionHom.Total.homologyIso R P ε I i).hom hc |
| 68 | exact (congrArg (fun a => a ≫ FrameAugmentation.comparison.{u,0,z} F R J hcover I K g i) |
| 69 | (HomologicalComplex.homologyMap_comp (ResolutionHom.Total.edge R P ε K) |
| 70 | (FrameCech.ExtCoefficientEdge.totalIso.{u,0,z} F R J K).hom i)).trans |
| 71 | (h.trans (SourceNormalization.source_edge R P ε I K g i)) |
| 72 | |
| 73 | end |
| 74 | |
| 75 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Balanced.FrameSourceNormalization |