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.IntrinsicFrameAugmentation |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Mapped.TotalQuasiIso |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Lifted.Bijective |
| 4 | |
| 5 | /-! # Intrinsic Bijective -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Balanced.IntrinsicBijective.IntrinsicComparison |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! A genuine section-total quasi-isomorphism makes the literal |
| 12 | augmentation-normalized comparison with original Ext bijective. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits |
| 15 | |
| 16 | universe u v z w |
| 17 | variable {C : Type (max u v)} [Category.{v} C] [HasBinaryProducts C] |
| 18 | {κ : Type v} (F : κ → C) (R : Type (max u v)) [CommRing R] (J : GrothendieckTopology C) |
| 19 | [HasExt.{max u v z} (Sheaf J (ModuleCat.{max u v} R))] |
| 20 | (hcover : ∀ U, CoveringObjectsSheafDetection.sieve F U ∈ J U) |
| 21 | {Y : Sheaf J (ModuleCat.{max u v} R)} (I : InjectiveResolution Y) |
| 22 | (K : CochainComplex (Sheaf J (ModuleCat.{max u v} R)) ℕ) (g : K ⟶ I.cocomplex) |
| 23 | |
| 24 | private instance moduleCoproducts (S : Type*) [CommRing S] : HasCoproducts.{0} (ModuleCat.{w} S) := |
| 25 | fun T => (ModuleCat.hasColimitsOfSize.{w, _, 0, 0} S).has_colimits_of_shape (Discrete T) |
| 26 | |
| 27 | local instance coefficientProducts : HasProducts.{v} (ModuleCat.{max u v} R) := |
| 28 | fun T => (ModuleCat.hasLimitsOfSize.{v,v,max u v,max u v}).has_limits_of_shape (Discrete T) |
| 29 | |
| 30 | local instance cechAdditive : |
| 31 | (NonemptyCechNerve.complexFunctor F (A := ModuleCat.{max u v} R)).Additive := by |
| 32 | dsimp only [NonemptyCechNerve.complexFunctor] |
| 33 | infer_instance |
| 34 | |
| 35 | def bicomplexMap : FrameCech.IntrinsicTotalCoordinates.Intrinsic.bicomplex.{u,v} F R J K ⟶ |
| 36 | FrameCech.IntrinsicTotalCoordinates.Intrinsic.bicomplex.{u,v} F R J I.cocomplex := |
| 37 | ((NonemptyCechNerve.complexFunctor F).mapHomologicalComplex (.up ℕ)).map |
| 38 | (((sheafToPresheaf J (ModuleCat.{max u v} R)).mapHomologicalComplex (.up ℕ)).map g) |
| 39 | |
| 40 | def totalMap := HomologicalComplex₂.total.map (bicomplexMap F R J I K g) (.up ℕ) |
| 41 | |
| 42 | variable [hTotal : QuasiIso (totalMap F R J I K g)] |
| 43 | |
| 44 | include hTotal in |
| 45 | theorem lifted_quasiIso : QuasiIso |
| 46 | (FrameCech.AugmentationNaturality.totalMap.{u,v,z} F R J K I.cocomplex g) := by |
| 47 | let : QuasiIso (HomologicalComplex₂.total.map (bicomplexMap F R J I K g) (.up ℕ)) := hTotal |
| 48 | exact Mapped.TotalQuasiIso.quasiIso (ModuleCat.uliftFunctor.{z,max u v} R) |
| 49 | (bicomplexMap F R J I K g) |
| 50 | |
| 51 | include hTotal in |
| 52 | theorem bijective (i : ℕ) : Function.Bijective |
| 53 | (IntrinsicFrameAugmentation.Intrinsic.comparison.{u,v,z} F R J hcover I K g i) := by |
| 54 | let := lifted_quasiIso F R J I K g |
| 55 | have hc : IsIso (FrameAugmentation.comparison.{u,v,z} F R J hcover I K g i) := by |
| 56 | dsimp only [FrameAugmentation.comparison] |
| 57 | infer_instance |
| 58 | exact Lifted.Bijective.Comparison.bijective |
| 59 | (FrameCech.IntrinsicTotalCoordinates.Intrinsic.totalIso.{u,v,z} F R J K) i |
| 60 | (FrameAugmentation.comparison.{u,v,z} F R J hcover I K g i).hom |
| 61 | ((asIso (FrameAugmentation.comparison.{u,v,z} F R J hcover I K g i)).toLinearEquiv.bijective) |
| 62 | |
| 63 | end |
| 64 | |
| 65 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Balanced.IntrinsicBijective.IntrinsicComparison |