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.Open.BaseFunctorRepresentation |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Open.Representations |
| 3 | |
| 4 | /-! # Base Functor Representation -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Open.BaseFunctorRepresentation |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! A representation over an open base gives a literal local |
| 11 | representation of the original functor, on all tests mapping into that open. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry Opposite |
| 14 | |
| 15 | open OAI.AlgebraicGeometry.PELModuli.IntegralModel.Open.BaseFunctorRepresentation |
| 16 | variable {S : Scheme.{0}} (F : (Over S)ᵒᵖ ⥤ Type) (U : S.Opens) |
| 17 | |
| 18 | def openRepresentationOfBase (Z : Over U.toScheme) |
| 19 | (u : F.obj (op ((Over.map U.ι).obj Z))) |
| 20 | (h : ∀ (T : Over U.toScheme), Function.Bijective |
| 21 | (fun f : T ⟶ Z => F.map ((Over.map U.ι).map f).op u)) : Representations.OpenRepresentation F U where |
| 22 | space := (Over.map U.ι).obj Z |
| 23 | mapsTo z := (Z.hom z).property |
| 24 | sectionValue := u |
| 25 | classifies T hT := by |
| 26 | let e := PELModuli.IntegralModel.Open.BaseFunctorRepresentation.OpenBaseTest.homEquiv U T hT Z |
| 27 | let q := PELModuli.IntegralModel.Open.BaseFunctorRepresentation.OpenBaseTest.comparison U T hT |
| 28 | have hb := (ConcreteCategory.bijective_of_isIso (F.map q.hom.op)).comp |
| 29 | ((h (PELModuli.IntegralModel.Open.BaseFunctorRepresentation.OpenBaseTest.over U T hT)).comp e.bijective) |
| 30 | convert hb using 1 |
| 31 | funext f |
| 32 | change F.map f.op u = F.map q.hom.op (F.map ((Over.map U.ι).map (e f)).op u) |
| 33 | rw [← F.map_comp_apply] |
| 34 | exact congrArg (fun a : T ⟶ (Over.map U.ι).obj Z => F.map a.op u) |
| 35 | (PELModuli.IntegralModel.Open.BaseFunctorRepresentation.OpenBaseTest.homEquiv_comparison U T hT Z f).symm |
| 36 | |
| 37 | end |
| 38 | |
| 39 | end OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Open.BaseFunctorRepresentation |