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.Level.Data |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Level.IsoCalculus |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Level.LevelFamilies |
| 4 | |
| 5 | /-! # Added Level Isomorphisms -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Actual isomorphisms and pullbacks for the two-level pure family. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 14 | open scoped _root_.CategoryTheory.MonObj _root_.CategoryTheory.Obj |
| 15 | |
| 16 | variable {S T V : Scheme.{0}} {g L N : ℕ} {δ : Fin g → ℕ} |
| 17 | |
| 18 | def Level.Data.AddedFullLevel.pullback (A : Level.Data.AddedFullLevel g δ L N S) (f : T ⟶ S) : Level.Data.AddedFullLevel g δ L N T where |
| 19 | auxiliary := A.auxiliary.pullback f |
| 20 | prescribed := A.prescribed.pullback f |
| 21 | |
| 22 | structure Level.Data.AddedFullLevel.Iso (A B : Level.Data.AddedFullLevel g δ L N S) where |
| 23 | auxiliary : HilbertConstruction.Moduli.Isomorphisms.LevelPreservingIso A.auxiliary B.auxiliary |
| 24 | prescribed : A.prescribed.transport auxiliary.abelian = B.prescribed |
| 25 | |
| 26 | section |
| 27 | |
| 28 | variable {A B C : Level.Data.AddedFullLevel g δ L N S} |
| 29 | |
| 30 | def Level.Data.AddedFullLevel.Iso.refl (A : Level.Data.AddedFullLevel g δ L N S) : Level.Data.AddedFullLevel.Iso A A where |
| 31 | auxiliary := HilbertConstruction.Moduli.Isomorphisms.LevelPreservingIso.refl A.auxiliary |
| 32 | prescribed := Level.IsoCalculus.fullLevel_transport_refl A.prescribed |
| 33 | |
| 34 | def Level.Data.AddedFullLevel.Iso.trans (a : Level.Data.AddedFullLevel.Iso A B) (b : Level.Data.AddedFullLevel.Iso B C) : Level.Data.AddedFullLevel.Iso A C where |
| 35 | auxiliary := a.auxiliary.trans b.auxiliary |
| 36 | prescribed := (Level.IsoCalculus.fullLevel_transport_trans A.prescribed a.auxiliary.abelian b.auxiliary.abelian).symm.trans |
| 37 | ((congrArg (fun α => α.transport b.auxiliary.abelian) a.prescribed).trans b.prescribed) |
| 38 | |
| 39 | def Level.Data.AddedFullLevel.Iso.symm (a : Level.Data.AddedFullLevel.Iso A B) : Level.Data.AddedFullLevel.Iso B A where |
| 40 | auxiliary := a.auxiliary.symm |
| 41 | prescribed := (congrArg (fun α => α.transport a.auxiliary.abelian.symm) a.prescribed).symm.trans |
| 42 | (Level.IsoCalculus.fullLevel_transport_symm A.prescribed a.auxiliary.abelian) |
| 43 | |
| 44 | def Level.Data.AddedFullLevel.Iso.pullback (a : Level.Data.AddedFullLevel.Iso A B) (f : T ⟶ S) : Level.Data.AddedFullLevel.Iso (A.pullback f) (B.pullback f) where |
| 45 | auxiliary := a.auxiliary.pullback f |
| 46 | prescribed := (Level.IsoCalculus.fullLevel_transport_pullback A.prescribed a.auxiliary.abelian f).symm.trans |
| 47 | (congrArg (fun α => α.pullback f) a.prescribed) |
| 48 | |
| 49 | theorem Level.Data.AddedFullLevel.Iso.prescribed_basis (a : Level.Data.AddedFullLevel.Iso A B) (U : Over S) |
| 50 | (c : LocallyConstant U.left (Multiplicative (Fin (2 * g) → ZMod N))) : |
| 51 | (A.prescribed.hom.app (.op U) c).val ≫ a.auxiliary.abelian.hom = |
| 52 | (B.prescribed.hom.app (.op U) c).val := |
| 53 | congrArg (fun α : B.auxiliary.abelian.FullLevel N => (α.hom.app (.op U) c).val) a.prescribed |
| 54 | |
| 55 | end |
| 56 | |
| 57 | def Level.Data.AddedFullLevel.pullbackCompIso (A : Level.Data.AddedFullLevel g δ L N S) (f : T ⟶ S) (h : V ⟶ T) : |
| 58 | Level.Data.AddedFullLevel.Iso ((A.pullback f).pullback h) (A.pullback (h ≫ f)) where |
| 59 | auxiliary := HilbertConstruction.Moduli.Isomorphisms.LevelPreservingIso.pullbackComp A.auxiliary f h |
| 60 | prescribed := A.prescribed.transport_pullbackComp f h |
| 61 | |
| 62 | def Level.Data.AddedFullLevel.pullbackCongrIso (A : Level.Data.AddedFullLevel g δ L N S) (f h : T ⟶ S) (w : f = h) : |
| 63 | Level.Data.AddedFullLevel.Iso (A.pullback f) (A.pullback h) := by |
| 64 | subst h |
| 65 | exact Level.Data.AddedFullLevel.Iso.refl _ |
| 66 | |
| 67 | end |
| 68 | |
| 69 | end OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily |