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.AlgebraicGeometry.DivisorClass.Chern.Open.SheafOrientationCoefficients |
| 2 | import OAI.AlgebraicGeometry.DivisorClass.Chern.ThomOrientationCoefficients |
| 3 | import OAI.AlgebraicGeometry.DivisorClass.Chern.Rational.ConstantSheaf |
| 4 | import OAI.AlgebraicGeometry.CycleClass.Geometric.RegularFundamentalTrace |
| 5 | |
| 6 | /-! # Thom Orientation Sheaf -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.DivisorClass.Chern.ThomOrientationSheaf |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! |
| 13 | # ChernClass: the original Thom orientation sheaf on the full regular support |
| 14 | |
| 15 | The actual cohomology sheaf of supported singular cochains is identified, |
| 16 | on every ambient open set, with locally constant rational functions on |
| 17 | its inverse image in the original regular support. The maps preserve all |
| 18 | restrictions and send the original Thom section to the constant one. |
| 19 | -/ |
| 20 | |
| 21 | open _root_.CategoryTheory _root_.CategoryTheory.Limits Opposite _root_.TopologicalSpace |
| 22 | open OAI.AlgebraicGeometry.CycleClass.Geometric.RegularFundamentalTrace.Cycles |
| 23 | |
| 24 | set_option backward.isDefEq.respectTransparency false |
| 25 | set_option backward.isDefEq.respectTransparency.types false |
| 26 | set_option backward.defeqAttrib.useBackward true |
| 27 | |
| 28 | variable {V : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety} {p : ℕ} (Z : CycleClass.Geometric.DimensionCycles.DimensionCycleSupport V p) |
| 29 | |
| 30 | def regularThomOrientationPresheafIso : |
| 31 | (Z.regularThomSheafComplex.homology (2 * p)).obj ≅ |
| 32 | Open.SheafOrientationCoefficients.supportLocallyConstantPresheaf Z.regularComplementTopCatMap := |
| 33 | Open.SheafOrientationCoefficients.orientationCoefficientsPresheafIso (Z.regularThomSheafComplex.homology (2 * p)) |
| 34 | Z.regularComplementTopCatMap (ThomOrientationCoefficients.regularThomOrientationStalkIso Z) |
| 35 | (Z.regularThomFirstCohomologyIso.hom Z.regularThomClass) |
| 36 | (ThomOrientationCoefficients.regularThomOrientationSection_normalization Z) |
| 37 | Z.isClosedEmbedding_regularComplementInclusion (ThomOrientationCoefficients.regularThomOrientationStalk_zero Z) |
| 38 | |
| 39 | def regularThomCoefficientSheaf : TopCat.Sheaf (ModuleCat.{0} ℚ) |
| 40 | (TopCat.of Z.regularAmbientSpace) := |
| 41 | (TopCat.Sheaf.pushforward (ModuleCat.{0} ℚ) Z.regularComplementTopCatMap).obj |
| 42 | (Rational.ConstantSheaf.RationalCech.locallyConstantRationalSheaf (TopCat.of Z.regularAnalyticSpace)) |
| 43 | |
| 44 | def regularThomOrientationSheafIso : |
| 45 | Z.regularThomSheafComplex.homology (2 * p) ≅ regularThomCoefficientSheaf Z where |
| 46 | hom := ⟨(regularThomOrientationPresheafIso Z).hom⟩ |
| 47 | inv := ⟨(regularThomOrientationPresheafIso Z).inv⟩ |
| 48 | hom_inv_id := by |
| 49 | apply Sheaf.hom_ext |
| 50 | exact (regularThomOrientationPresheafIso Z).hom_inv_id |
| 51 | inv_hom_id := by |
| 52 | apply Sheaf.hom_ext |
| 53 | exact (regularThomOrientationPresheafIso Z).inv_hom_id |
| 54 | |
| 55 | theorem regularThomOrientationSheafIso_apply |
| 56 | (U : Opens Z.regularAmbientSpace) |
| 57 | (s : (Z.regularThomSheafComplex.homology (2 * p)).obj.obj (op U)) |
| 58 | (x : (Opens.map Z.regularComplementTopCatMap).obj U) : |
| 59 | LocallyConstant.toFun ((regularThomOrientationSheafIso Z).hom.hom.app (op U) s : |
| 60 | LocallyConstant ((Opens.map Z.regularComplementTopCatMap).obj U) ℚ) x = |
| 61 | (ThomOrientationCoefficients.regularThomOrientationStalkIso Z x.val).hom |
| 62 | ((Z.regularThomSheafComplex.homology (2 * p)).presheaf.germ U |
| 63 | (Z.regularComplementInclusion x.val) x.property s) := rfl |
| 64 | |
| 65 | theorem regularThomOrientationSheafIso_thom |
| 66 | (U : Opens Z.regularAmbientSpace) : |
| 67 | (regularThomOrientationSheafIso Z).hom.hom.app (op U) |
| 68 | ((Z.regularThomSheafComplex.homology (2 * p)).obj.map |
| 69 | (homOfLE (le_top : U ≤ ⊤)).op |
| 70 | (Z.regularThomFirstCohomologyIso.hom Z.regularThomClass)) = |
| 71 | (1 : LocallyConstant ((Opens.map Z.regularComplementTopCatMap).obj U) ℚ) := by |
| 72 | apply LocallyConstant.ext |
| 73 | intro x |
| 74 | exact (regularThomOrientationSheafIso_apply Z U _ x).trans |
| 75 | ((congrArg (ThomOrientationCoefficients.regularThomOrientationStalkIso Z x.val).hom |
| 76 | (TopCat.Presheaf.germ_res_apply |
| 77 | (Z.regularThomSheafComplex.homology (2 * p)).presheaf |
| 78 | (homOfLE (le_top : U ≤ ⊤)) (Z.regularComplementInclusion x.val) x.property |
| 79 | (Z.regularThomFirstCohomologyIso.hom Z.regularThomClass))).trans |
| 80 | (Z.regularThomClass_normalization x.val)) |
| 81 | |
| 82 | end |
| 83 | |
| 84 | end OAI.AlgebraicGeometry.DivisorClass.Chern.ThomOrientationSheaf |