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.NumberTheory.PadicHodge.IntegralComparison.Principal.FramedHomComplex |
| 2 | |
| 3 | /-! # Framed Hom Naturality -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Principal.FramedHomNaturality |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! The framed principal-open comparison commutes with the original |
| 10 | maps of sheaf resolutions. The square uses literal affine chart maps. -/ |
| 11 | open _root_.CategoryTheory _root_.AlgebraicGeometry Opposite |
| 12 | set_option backward.defeqAttrib.useBackward true |
| 13 | set_option backward.isDefEq.respectTransparency false |
| 14 | set_option backward.isDefEq.respectTransparency.types false |
| 15 | universe u |
| 16 | open OAI.NumberTheory.PadicHodge.IntegralComparison.Principal.SectionPresheaf |
| 17 | variable {X : Scheme.{u}} (U : X.Opens) (hU : IsAffineOpen U) |
| 18 | (N : X.Modules) [N.IsQuasicoherent] |
| 19 | (e : Γ(N, U) ≃ₗ[Γ(X, U)] Γ(X, U)) |
| 20 | {ι : Type*} (c : ComplexShape ι) |
| 21 | |
| 22 | local instance sections_additive : (AffineOpen.InternalHom.sections U hU).Additive where |
| 23 | map_add {_M _N} _f _g := rfl |
| 24 | |
| 25 | def iso (K : HomologicalComplex X.Modules c) [∀ n, (K.X n).IsQuasicoherent] := |
| 26 | (FramedHomComplex.iso U hU N e c K) ≪≫ |
| 27 | FramedHomComplex.chartHomIso U hU c K |
| 28 | |
| 29 | theorem naturality {K L : HomologicalComplex X.Modules c} |
| 30 | [∀ n, (K.X n).IsQuasicoherent] [∀ n, (L.X n).IsQuasicoherent] (f : K ⟶ L) : |
| 31 | ((InternalHomComplex.sectionHom U hU N).mapHomologicalComplex c.symm).map |
| 32 | ((HomologicalComplex.opFunctor X.Modules c).map f.op) ≫ (iso U hU N e c K).hom = |
| 33 | (iso U hU N e c L).hom ≫ HomCoefficientFunctor.map Γ(X, U) |
| 34 | (LineFrame.scalars U hU) |
| 35 | (((AffineOpen.InternalHom.sections U hU).mapHomologicalComplex c).map f) := by |
| 36 | apply HomologicalComplex.Hom.ext |
| 37 | funext i |
| 38 | apply NatTrans.ext |
| 39 | funext r |
| 40 | apply ModuleCat.hom_ext |
| 41 | apply LinearMap.ext |
| 42 | intro q |
| 43 | apply LinearMap.ext |
| 44 | intro m |
| 45 | change LineFrame.frame U hU N e r.unop |
| 46 | (LiteralHomEquiv.equiv U hU r.unop.val (K.X i) N |
| 47 | ((ArithmeticGeometry.OrdinaryLocus.Openness.SheafHomFunctoriality.Construction.sheafHomMap (f.f i) (𝟙 N)).val.app (op (SectionPresheaf.openSubset U r.unop)) q) |
| 48 | ((Affine.ChartSections.iso U hU (K.X i)).inv m)) = |
| 49 | LineFrame.frame U hU N e r.unop |
| 50 | (LiteralHomEquiv.equiv U hU r.unop.val (L.X i) N q |
| 51 | ((Affine.ChartSections.iso U hU (L.X i)).inv |
| 52 | ((AffineOpen.InternalHom.sections U hU).map (f.f i) m))) |
| 53 | apply congrArg (LineFrame.frame U hU N e r.unop) |
| 54 | rw [LiteralHomEquiv.precomp] |
| 55 | apply congrArg (LiteralHomEquiv.equiv U hU r.unop.val (L.X i) N q) |
| 56 | exact (ConcreteCategory.congr_hom |
| 57 | ((AffineOpen.LinearHom.sectionsIso U hU).inv.naturality (f.f i)) m).symm |
| 58 | |
| 59 | end |
| 60 | |
| 61 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Principal.FramedHomNaturality |