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.Level.ParameterBaseChange |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.EtaleDescentLocal |
| 3 | |
| 4 | /-! # Pullback Injection -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Level.PullbackInjection |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! An ordered full level is detected after a surjective base change, |
| 11 | using its actual locally constant change-of-basis labels. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 14 | |
| 15 | open OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Level.ParameterBaseChange |
| 16 | |
| 17 | theorem fullLevel_pullback_injective {S T : Scheme.{0}} {g N : ℕ} [NeZero N] |
| 18 | (A : HilbertConstruction.Abelian.Schemes.AbelianScheme g S) (u : T ⟶ S) [Surjective u] : |
| 19 | Function.Injective (fun α : A.FullLevel N => α.pullback u) := by |
| 20 | intro α β h |
| 21 | apply α.labelsEquiv.injective |
| 22 | have he : (α.labelsEquiv α).comap ⟨u, u.continuous⟩ = |
| 23 | (α.labelsEquiv β).comap ⟨u, u.continuous⟩ := |
| 24 | (HilbertConstruction.Abelian.Schemes.AbelianScheme.FullLevel.labelsEquiv_pullback α α u).symm.trans |
| 25 | ((congrArg (α.pullback u).labelsEquiv h).trans (HilbertConstruction.Abelian.Schemes.AbelianScheme.FullLevel.labelsEquiv_pullback α β u)) |
| 26 | apply LocallyConstant.ext |
| 27 | intro s |
| 28 | obtain ⟨t, ht⟩ := u.surjective s |
| 29 | exact ht ▸ congrArg (fun b : LocallyConstant T (HilbertConstruction.Level.Parameters.LevelLabelAut g N) => b t) he |
| 30 | |
| 31 | end |
| 32 | |
| 33 | end OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Level.PullbackInjection |