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.PELModuli.IntegralModel.LieRankCharacter |
| 2 | |
| 3 | /-! # Scheme Character Lie Predicate -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.PELModuli.IntegralModel.SchemeCharacterLiePredicate |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! The actual geometric character Lie condition as a scheme-point |
| 10 | subfunctor, including its geometric-test detection property. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 13 | |
| 14 | variable {S : Scheme.{0}} {g : ℕ} {R : Type} [CommRing R] |
| 15 | (A : AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme g S) (ρ : AbelianModuli.ReferenceFamily.ActionData.IntegralAction R A) |
| 16 | (χ : R →+* Γ(S, ⊤)) (r : ℕ) |
| 17 | |
| 18 | def HasCharacterLieRankOnSchemeMap {T : Scheme.{0}} (x : T ⟶ S) : Prop := |
| 19 | ∀ (k : Type) [Field k] [IsAlgClosed k] (p : Spec (.of k) ⟶ T), |
| 20 | LieRankCharacter.CharacterLieRank A ρ χ r (p ≫ x) |
| 21 | |
| 22 | theorem hasCharacterLieRankOnSchemeMap_comp {T U : Scheme.{0}} (x : T ⟶ S) |
| 23 | (h : HasCharacterLieRankOnSchemeMap A ρ χ r x) (f : U ⟶ T) : |
| 24 | HasCharacterLieRankOnSchemeMap A ρ χ r (f ≫ x) := by |
| 25 | intro k hk ha p |
| 26 | exact (LieRankCharacter.characterLieRank_congr A ρ χ r (Category.assoc p f x)).mp (h k (p ≫ f)) |
| 27 | |
| 28 | def schemeCharacterLieRankSubfunctor : Subfunctor (yoneda.obj S) where |
| 29 | obj _T := {x | HasCharacterLieRankOnSchemeMap A ρ χ r x} |
| 30 | map f x hx := hasCharacterLieRankOnSchemeMap_comp A ρ χ r x hx f.unop |
| 31 | |
| 32 | theorem schemeCharacterLieRank_geometric_detection (T : Scheme.{0}) (x : T ⟶ S) |
| 33 | (h : ∀ (k : Type) [Field k] [IsAlgClosed k] (p : Spec (.of k) ⟶ T), |
| 34 | p ≫ x ∈ (schemeCharacterLieRankSubfunctor A ρ χ r).obj (.op (Spec (.of k)))) : |
| 35 | x ∈ (schemeCharacterLieRankSubfunctor A ρ χ r).obj (.op T) := by |
| 36 | intro k hk ha p |
| 37 | exact (LieRankCharacter.characterLieRank_congr A ρ χ r (Category.id_comp (p ≫ x))).mp |
| 38 | (h k p k (𝟙 (Spec (.of k)))) |
| 39 | |
| 40 | end |
| 41 | |
| 42 | end OAI.AlgebraicGeometry.PELModuli.IntegralModel.SchemeCharacterLiePredicate |