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.HilbertConstruction.Constant.CharacterSectionProjectors |
| 2 | |
| 3 | /-! # Character Sheaf Sections -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Constant.CharacterSheafSections |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Every actual constant-torsor character sheaf has a constructed free rank-one section module over every base open in the tame case. -/ |
| 10 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 11 | universe u |
| 12 | variable {K : Type u} [Field K] {S : Scheme.{u}} (c : K →+* Γ(S, ⊤)) |
| 13 | (G : Type u) [CommGroup G] [Fintype G] |
| 14 | |
| 15 | def constantCharacterSheaf (χ : G →* Kˣ) : S.Modules := |
| 16 | IdempotentSheafSummands.idempotentSheafSummand |
| 17 | (Sheaf.CharacterAverages.sheafCharacterAverage c (StructureRepresentation.constantStructurePushforward S G) (StructureRepresentation.constantStructureRepresentation S G) χ) |
| 18 | |
| 19 | def constantCharacterSheafSectionsEquiv [HasEnoughRootsOfUnity K (Monoid.exponent G)] |
| 20 | (χ : G →* Kˣ) (hG : (Fintype.card G : K) ≠ 0) (U : S.Opens) : |
| 21 | Γ(constantCharacterSheaf c G χ, U) ≃ₗ[Γ(S, U)] Γ(S, U) := |
| 22 | IdempotentSheafSectionRanges.idempotentSheafSectionRangeEquiv _ (Sheaf.CharacterAverages.sheafCharacterAverage_idempotent c _ _ χ hG) U ≪≫ₗ |
| 23 | LinearEquiv.ofEq _ _ (congrArg LinearMap.range (CharacterSectionProjectors.constantCharacterSectionProjector_eq c G U χ hG)) ≪≫ₗ |
| 24 | Linear.ConjugateRanges.linearConjugateRangeEquiv (StructureSectionEquivalence.constantStructureSectionEquiv S G U) (CharacterSectionProjectors.openRegularCharacterProjector c G U χ) ≪≫ₗ |
| 25 | CharacterSectionProjectors.openRegularCharacterProjectorRangeEquiv c G U χ |
| 26 | |
| 27 | theorem constantCharacterSheafSections_finite_free [HasEnoughRootsOfUnity K (Monoid.exponent G)] |
| 28 | (χ : G →* Kˣ) (hG : (Fintype.card G : K) ≠ 0) (U : S.Opens) : |
| 29 | Module.Finite Γ(S, U) Γ(constantCharacterSheaf c G χ, U) ∧ |
| 30 | Module.Free Γ(S, U) Γ(constantCharacterSheaf c G χ, U) := |
| 31 | ⟨Module.Finite.equiv (constantCharacterSheafSectionsEquiv c G χ hG U).symm, |
| 32 | Module.Free.of_equiv (constantCharacterSheafSectionsEquiv c G χ hG U).symm⟩ |
| 33 | |
| 34 | end |
| 35 | |
| 36 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Constant.CharacterSheafSections |