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.InternalHomComplex |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Principal.LineFrame |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.HomCoefficientNaturality |
| 4 | |
| 5 | /-! # Framed Hom Complex -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Principal.FramedHomComplex |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The original internal-Hom section complex, trivialized by one |
| 12 | ambient target frame, on every principal subopen at once. -/ |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry Opposite |
| 14 | set_option backward.defeqAttrib.useBackward true |
| 15 | set_option backward.isDefEq.respectTransparency false |
| 16 | set_option backward.isDefEq.respectTransparency.types false |
| 17 | universe u |
| 18 | open OAI.NumberTheory.PadicHodge.IntegralComparison.Principal.SectionPresheaf |
| 19 | variable {X : Scheme.{u}} (U : X.Opens) (hU : IsAffineOpen U) |
| 20 | (N : X.Modules) [N.IsQuasicoherent] |
| 21 | (e : Γ(N, U) ≃ₗ[Γ(X, U)] Γ(X, U)) |
| 22 | {ι : Type*} (c : ComplexShape ι) (K : HomologicalComplex X.Modules c) |
| 23 | [∀ n, (K.X n).IsQuasicoherent] |
| 24 | |
| 25 | local instance sections_additive : (AffineOpen.InternalHom.sections U hU).Additive where |
| 26 | map_add {_M _N} _f _g := rfl |
| 27 | |
| 28 | local instance op_qc (n : ι) : (K.op.X n).unop.IsQuasicoherent := |
| 29 | show (K.X n).IsQuasicoherent from inferInstance |
| 30 | |
| 31 | abbrev sections := ((Affine.ModuleExactSections.sections U).mapHomologicalComplex c).obj K |
| 32 | |
| 33 | def literalIso : |
| 34 | (((InternalHomComplex.sectionHom U hU N).mapHomologicalComplex c.symm).obj K.op) ≅ |
| 35 | HomCoefficientFunctor.complex Γ(X, U) (SectionPresheaf.modules U hU N) (sections U c K) := |
| 36 | InternalHomComplex.iso U hU N c.symm K.op |
| 37 | |
| 38 | def iso : |
| 39 | (((InternalHomComplex.sectionHom U hU N).mapHomologicalComplex c.symm).obj K.op) ≅ |
| 40 | HomCoefficientFunctor.complex Γ(X, U) (LineFrame.scalars U hU) |
| 41 | (sections U c K) := |
| 42 | literalIso U hU N c K ≪≫ |
| 43 | HomCoefficientNaturality.complexIso Γ(X, U) (LineFrame.iso U hU N e) |
| 44 | (sections U c K) |
| 45 | |
| 46 | def chartIso : sections U c K ≅ |
| 47 | ((AffineOpen.InternalHom.sections U hU).mapHomologicalComplex c).obj K := |
| 48 | (NatIso.mapHomologicalComplex (AffineOpen.LinearHom.sectionsIso U hU) c).app K |
| 49 | |
| 50 | def chartHomIso : |
| 51 | HomCoefficientFunctor.complex Γ(X, U) (LineFrame.scalars U hU) |
| 52 | (sections U c K) ≅ |
| 53 | HomCoefficientFunctor.complex Γ(X, U) (LineFrame.scalars U hU) |
| 54 | (((AffineOpen.InternalHom.sections U hU).mapHomologicalComplex c).obj K) := |
| 55 | ((HomCoefficientFunctor.functor Γ(X, U) (LineFrame.scalars U hU)).mapHomologicalComplex |
| 56 | c.symm).mapIso (HomologicalComplex.opFunctor _ c |>.mapIso (chartIso U hU c K).symm.op) |
| 57 | |
| 58 | end |
| 59 | |
| 60 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Principal.FramedHomComplex |