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.AbelianModuli.ReferenceFamily.TorusIntegralInjection |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.IntegerSheafCoefficient |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.SheafCoefficientInjection |
| 4 | import OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.LatticeQuotientLocalTopology |
| 5 | import OAI.AlgebraicGeometry.DivisorClass.Chern.Rational.HolomorphicPeriod |
| 6 | |
| 7 | /-! # Integral Sheaf Coefficients -/ |
| 8 | |
| 9 | namespace OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.IntegralSheafCoefficients |
| 10 | |
| 11 | noncomputable section |
| 12 | |
| 13 | section |
| 14 | |
| 15 | /-! The actual integral, rational, and rational-mod-integral locally |
| 16 | constant sequence detects the integral degree-two obstruction. -/ |
| 17 | |
| 18 | open _root_.CategoryTheory _root_.TopologicalSpace |
| 19 | |
| 20 | instance rationalModuloIntegral_divisible : DivisibleBy TorusIntegralInjection.RationalModuloIntegral ℤ := by |
| 21 | let : DivisibleBy ℚ ℕ := AddGroup.divisibleByNatOfDivisibleByInt ℚ |
| 22 | let : DivisibleBy TorusIntegralInjection.RationalModuloIntegral ℕ := inferInstance |
| 23 | exact AddGroup.divisibleByIntOfDivisibleByNat TorusIntegralInjection.RationalModuloIntegral |
| 24 | |
| 25 | theorem integralRationalModulo_comp_zero (a : ℤ) : |
| 26 | TorusIntegralInjection.rationalModuloCoefficient (TorusIntegralInjection.integralRationalCoefficient a) = 0 := |
| 27 | (TorusIntegralInjection.integralRationalModulo_exact _).mpr ⟨a, rfl⟩ |
| 28 | |
| 29 | def integerRationalSheafSequence (X : TopCat.{0}) := |
| 30 | LocallyConstantCoefficientExact.locallyConstantCoefficientSequence TorusIntegralInjection.integralRationalCoefficient TorusIntegralInjection.rationalModuloCoefficient X |
| 31 | integralRationalModulo_comp_zero |
| 32 | |
| 33 | theorem integerRationalSheafSequence_shortExact (X : TopCat.{0}) : |
| 34 | (integerRationalSheafSequence X).ShortExact := |
| 35 | LocallyConstantCoefficientExact.locallyConstantCoefficientSequence_shortExact TorusIntegralInjection.integralRationalCoefficient TorusIntegralInjection.rationalModuloCoefficient X |
| 36 | integralRationalModulo_comp_zero TorusIntegralInjection.integralRationalCoefficient_injective TorusIntegralInjection.rationalModuloCoefficient_surjective |
| 37 | (fun b => (TorusIntegralInjection.integralRationalModulo_exact b).mp) |
| 38 | |
| 39 | theorem integralSheafH2_injective_of_singularModuloLift (X : TopCat.{0}) |
| 40 | [MetrizableSpace X] [StronglyLocallyContractibleSpace X] [LocallyPathConnectedSpace X] |
| 41 | (h1 : Function.Surjective (AlgebraicTopology.Cohomology.Singular.Coefficients.coefficientMap TorusIntegralInjection.rationalModuloCoefficient X 1)) : |
| 42 | Function.Injective ((Sheaf.functorH (Opens.grothendieckTopology X) 2).map |
| 43 | (LocallyConstantCoefficientExact.integerLocallyConstantSheafMap TorusIntegralInjection.integralRationalCoefficient X)) := by |
| 44 | have := AlgebraicTopology.Cohomology.Singular.IntegralCoefficientInjective.injective_intModule_of_divisible (ModuleCat.of ℤ TorusIntegralInjection.RationalModuloIntegral) |
| 45 | have h := IntegerSheafCoefficient.sheafH1_coefficient_surjective_of_singular TorusIntegralInjection.rationalModuloCoefficient X h1 |
| 46 | exact SheafCoefficientInjection.sheafH2_injective_of_H1_surjective (X := X) (S := integerRationalSheafSequence X) |
| 47 | (integerRationalSheafSequence_shortExact X) h |
| 48 | |
| 49 | theorem torus_integralSheafH2_rational_injective |
| 50 | {V : Type} [NormedAddCommGroup V] [NormedSpace ℝ V] [SecondCountableTopology V] |
| 51 | (Λ : Submodule ℤ V) [DiscreteTopology Λ] [Module.Free ℤ Λ] : |
| 52 | Function.Injective ((Sheaf.functorH (Opens.grothendieckTopology (HodgeConjecture.DegreeTwo.SingularPeriodsD.Constructions.SingularPeriods.Base Λ)) 2).map |
| 53 | (LocallyConstantCoefficientExact.integerLocallyConstantSheafMap TorusIntegralInjection.integralRationalCoefficient (HodgeConjecture.DegreeTwo.SingularPeriodsD.Constructions.SingularPeriods.Base Λ))) := by |
| 54 | let := LatticeQuotientLocalTopology.latticeQuotient_stronglyLocallyContractible Λ |
| 55 | let := LatticeQuotientLocalTopology.latticeQuotient_locallyPathConnected Λ |
| 56 | let := LatticeQuotientLocalTopology.latticeQuotient_metrizable Λ |
| 57 | exact integralSheafH2_injective_of_singularModuloLift (HodgeConjecture.DegreeTwo.SingularPeriodsD.Constructions.SingularPeriods.Base Λ) |
| 58 | (SingularCoefficientLift.singularH1_coefficient_surjective TorusIntegralInjection.rationalModuloCoefficient TorusIntegralInjection.rationalModuloCoefficient_surjective Λ) |
| 59 | |
| 60 | end |
| 61 | |
| 62 | /-! Identify the constructed coefficient sheaves and maps with the |
| 63 | original ChernClass integral and rational sheaves. -/ |
| 64 | |
| 65 | open _root_.CategoryTheory _root_.TopologicalSpace Opposite |
| 66 | |
| 67 | open OAI.AlgebraicGeometry.DivisorClass.Chern.Rational.HolomorphicPeriod |
| 68 | |
| 69 | variable (X : TopCat.{0}) |
| 70 | |
| 71 | def originalIntegralConstantIso : |
| 72 | IntegerSingularSheafComparison.integerLocallyConstantAbelianSheaf (ModuleCat.of ℤ ℤ) X ≅ DivisorClass.Chern.IntegralConstantSheaf.integralConstantSheaf X := by |
| 73 | apply (fullyFaithfulSheafToPresheaf (Opens.grothendieckTopology X) AddCommGrpCat.{0}).preimageIso |
| 74 | exact NatIso.ofComponents (fun _ => Iso.refl _) (by |
| 75 | intro U V i |
| 76 | apply AddCommGrpCat.hom_ext |
| 77 | apply AddMonoidHom.ext |
| 78 | intro a |
| 79 | apply LocallyConstant.ext |
| 80 | intro x |
| 81 | rfl) |
| 82 | |
| 83 | def originalRationalConstantIso : |
| 84 | IntegerSingularSheafComparison.integerLocallyConstantAbelianSheaf (ModuleCat.of ℤ ℚ) X ≅ DivisorClass.Chern.Rational.HolomorphicPeriod.rationalConstantAbelianSheaf X := by |
| 85 | apply (fullyFaithfulSheafToPresheaf (Opens.grothendieckTopology X) AddCommGrpCat.{0}).preimageIso |
| 86 | exact NatIso.ofComponents (fun _ => Iso.refl _) (by |
| 87 | intro U V i |
| 88 | apply AddCommGrpCat.hom_ext |
| 89 | apply AddMonoidHom.ext |
| 90 | intro a |
| 91 | apply LocallyConstant.ext |
| 92 | intro x |
| 93 | rfl) |
| 94 | |
| 95 | theorem originalIntegralRationalConstantMap : |
| 96 | LocallyConstantCoefficientExact.integerLocallyConstantSheafMap TorusIntegralInjection.integralRationalCoefficient X ≫ (originalRationalConstantIso X).hom = |
| 97 | (originalIntegralConstantIso X).hom ≫ DivisorClass.Chern.Rational.HolomorphicPeriod.integralToRationalConstantSheaf X := by |
| 98 | apply Sheaf.hom_ext |
| 99 | apply NatTrans.ext |
| 100 | funext U |
| 101 | apply AddCommGrpCat.hom_ext |
| 102 | apply AddMonoidHom.ext |
| 103 | intro a |
| 104 | apply LocallyConstant.ext |
| 105 | intro x |
| 106 | rfl |
| 107 | |
| 108 | theorem additiveMap_injective_of_comparison_isos |
| 109 | {A B C D : AddCommGrpCat.{0}} (f : A ⟶ B) (g : C ⟶ D) (eA : A ≅ C) (eB : B ≅ D) |
| 110 | (h : f ≫ eB.hom = eA.hom ≫ g) (hf : Function.Injective f) : Function.Injective g := by |
| 111 | have he (x : C) : eB.hom (f (eA.inv x)) = g x := by |
| 112 | have hx := ConcreteCategory.congr_hom h (eA.inv x) |
| 113 | simpa only [ConcreteCategory.comp_apply, Iso.inv_hom_id_apply] using hx |
| 114 | intro a b hab |
| 115 | apply eA.addCommGroupIsoToAddEquiv.symm.injective |
| 116 | apply hf |
| 117 | apply eB.addCommGroupIsoToAddEquiv.injective |
| 118 | exact (he a).trans (hab.trans (he b).symm) |
| 119 | |
| 120 | theorem originalIntegralSheafH2_injective_of_singularModuloLift |
| 121 | [MetrizableSpace X] [StronglyLocallyContractibleSpace X] [LocallyPathConnectedSpace X] |
| 122 | (h1 : Function.Surjective (AlgebraicTopology.Cohomology.Singular.Coefficients.coefficientMap TorusIntegralInjection.rationalModuloCoefficient X 1)) : |
| 123 | Function.Injective ((Sheaf.functorH (Opens.grothendieckTopology X) 2).map |
| 124 | (DivisorClass.Chern.Rational.HolomorphicPeriod.integralToRationalConstantSheaf X)) := by |
| 125 | let H := Sheaf.functorH (Opens.grothendieckTopology X) 2 |
| 126 | have hp := congrArg H.map (originalIntegralRationalConstantMap X) |
| 127 | have hp' : H.map (LocallyConstantCoefficientExact.integerLocallyConstantSheafMap TorusIntegralInjection.integralRationalCoefficient X) ≫ |
| 128 | H.map (originalRationalConstantIso X).hom = |
| 129 | H.map (originalIntegralConstantIso X).hom ≫ H.map (DivisorClass.Chern.Rational.HolomorphicPeriod.integralToRationalConstantSheaf X) := |
| 130 | (H.map_comp _ _).symm.trans (hp.trans (H.map_comp _ _)) |
| 131 | exact additiveMap_injective_of_comparison_isos _ _ |
| 132 | (H.mapIso (originalIntegralConstantIso X)) (H.mapIso (originalRationalConstantIso X)) hp' |
| 133 | (integralSheafH2_injective_of_singularModuloLift X h1) |
| 134 | |
| 135 | end |
| 136 | |
| 137 | end OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.IntegralSheafCoefficients |