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.FormalGeometry.Completion.Projective.ConstantFamily |
| 2 | import OAI.AlgebraicGeometry.FormalGeometry.Completion.Polarization.FamilyBundle |
| 3 | import OAI.AlgebraicGeometry.FormalGeometry.Completion.GlobalFrameTriviality |
| 4 | |
| 5 | /-! # Chart -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.FormalGeometry.Completion.PolarizationKernel.Chart |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Over an affine Noetherian parameter scheme, the actual polarization |
| 12 | kernel condition is represented by a finite-type monomorphism. The |
| 13 | projective presentation, line bundle, and rigidification are all derived. -/ |
| 14 | |
| 15 | set_option backward.isDefEq.respectTransparency false |
| 16 | |
| 17 | open _root_.AlgebraicGeometry _root_.CategoryTheory _root_.CategoryTheory.Limits |
| 18 | open _root_.CategoryTheory.MonoidalCategory _root_.CategoryTheory.CartesianMonoidalCategory |
| 19 | open scoped _root_.CategoryTheory.MonObj |
| 20 | |
| 21 | namespace Construction |
| 22 | |
| 23 | universe u |
| 24 | variable {K : Type u} [Field K] [IsAlgClosed K] |
| 25 | (A : Over (Spec (CommRingCat.of K))) [GrpObj A] [IsCommMonObj A] |
| 26 | [IsProper A.hom] [Smooth A.hom] [GeometricallyIntegral A.hom] |
| 27 | (L : AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle A.left) {T : Over (Spec (CommRingCat.of K))} |
| 28 | [IsAffine T.left] [IsNoetherianRing Γ(T.left, ⊤)] (a : T ⟶ A) |
| 29 | |
| 30 | instance tensorFamilyOver_flat : Flat (Projective.ConstantFamily.Construction.tensorFamilyOver A T).hom := |
| 31 | inferInstanceAs (Flat (pullback.fst T.hom A.hom)) |
| 32 | |
| 33 | def polarizationFamilyAxis : T.left ⟶ (T ⊗ A).left := (lift (𝟙 T) (1 : T ⟶ A)).left |
| 34 | |
| 35 | omit [IsAlgClosed K] [IsProper A.hom] [Smooth A.hom] [GeometricallyIntegral A.hom] |
| 36 | [IsAffine T.left] [IsNoetherianRing Γ(T.left, ⊤)] in |
| 37 | theorem polarizationFamilyAxis_section : |
| 38 | polarizationFamilyAxis A (T := T) ≫ (Projective.ConstantFamily.Construction.tensorFamilyOver A T).hom = 𝟙 T.left := |
| 39 | congrArg Over.Hom.left (lift_fst (𝟙 T) (1 : T ⟶ A)) |
| 40 | |
| 41 | def polarizationKernelChart : Over T.left := |
| 42 | Projective.RigidifiedFrames.Construction.projectiveLineBundleRigidifiedFrameScheme (Projective.ConstantFamily.Construction.tensorFamilyOver A T) |
| 43 | (Projective.ConstantFamily.Construction.geometricGroupFamilyProjectivePresentation A T) (Polarization.FamilyBundle.Construction.polarizationFamilyBundle A L a) |
| 44 | (polarizationFamilyAxis A) (polarizationFamilyAxis_section A) (Polarization.FamilyBundle.Construction.polarizationFamilyRigidification A L a) |
| 45 | |
| 46 | instance polarizationKernelChart_locallyOfFiniteType : LocallyOfFiniteType (polarizationKernelChart A L a).hom := |
| 47 | inferInstanceAs (LocallyOfFiniteType (Projective.RigidifiedFrames.Construction.projectiveLineBundleRigidifiedFrameScheme (Projective.ConstantFamily.Construction.tensorFamilyOver A T) |
| 48 | (Projective.ConstantFamily.Construction.geometricGroupFamilyProjectivePresentation A T) (Polarization.FamilyBundle.Construction.polarizationFamilyBundle A L a) |
| 49 | (polarizationFamilyAxis A) (polarizationFamilyAxis_section A) (Polarization.FamilyBundle.Construction.polarizationFamilyRigidification A L a)).hom) |
| 50 | |
| 51 | instance polarizationKernelChart_quasiCompact : QuasiCompact (polarizationKernelChart A L a).hom := |
| 52 | inferInstanceAs (QuasiCompact (Projective.RigidifiedFrames.Construction.projectiveLineBundleRigidifiedFrameScheme (Projective.ConstantFamily.Construction.tensorFamilyOver A T) |
| 53 | (Projective.ConstantFamily.Construction.geometricGroupFamilyProjectivePresentation A T) (Polarization.FamilyBundle.Construction.polarizationFamilyBundle A L a) |
| 54 | (polarizationFamilyAxis A) (polarizationFamilyAxis_section A) (Polarization.FamilyBundle.Construction.polarizationFamilyRigidification A L a)).hom) |
| 55 | |
| 56 | instance polarizationKernelChart_mono : Mono (polarizationKernelChart A L a).hom := by |
| 57 | have : IsIntegral A.left := GeometricallyIntegral.isIntegral_of_subsingleton A.hom |
| 58 | exact Projective.RigidifiedFrames.Construction.projectiveLineBundleRigidifiedFrameScheme_mono (Projective.ConstantFamily.Construction.tensorFamilyOver A T) |
| 59 | (Projective.ConstantFamily.Construction.geometricGroupFamilyProjectivePresentation A T) (Polarization.FamilyBundle.Construction.polarizationFamilyBundle A L a) |
| 60 | (polarizationFamilyAxis A) (polarizationFamilyAxis_section A) (Polarization.FamilyBundle.Construction.polarizationFamilyRigidification A L a) |
| 61 | A.hom (snd T A).left T.hom (IsPullback.of_hasPullback T.hom A.hom).flip |
| 62 | |
| 63 | theorem polarizationKernelChart_hasLift_iff {U : Over (Spec (CommRingCat.of K))} (j : U ⟶ T) : |
| 64 | Nonempty (Over.mk j.left ⟶ polarizationKernelChart A L a) ↔ |
| 65 | Polarization.Family.Construction.polarizationFamilyClass A L (j ≫ a) = 0 := by |
| 66 | have : IsIntegral A.left := GeometricallyIntegral.isIntegral_of_subsingleton A.hom |
| 67 | have hc := GlobalFrameTriviality.Construction.projectiveLineBundleRigidifiedFrame_hasPoint_iff_trivialClass A.hom |
| 68 | (Projective.ConstantFamily.Construction.tensorFamilyOver A T) (Projective.ConstantFamily.Construction.geometricGroupFamilyProjectivePresentation A T) |
| 69 | (snd T A).left T.hom (IsPullback.of_hasPullback T.hom A.hom).flip |
| 70 | (Polarization.FamilyBundle.Construction.polarizationFamilyBundle A L a) (polarizationFamilyAxis A) (polarizationFamilyAxis_section A) |
| 71 | (Polarization.FamilyBundle.Construction.polarizationFamilyRigidification A L a) (j ⊗ₘ 𝟙 A).left (fst U A).left j.left (Projective.ConstantFamily.Construction.tensorFamily_isPullback A T j) |
| 72 | refine hc.trans ?_ |
| 73 | rw [Polarization.FamilyBundle.Construction.polarizationFamilyBundle_pullback] |
| 74 | constructor |
| 75 | · intro h |
| 76 | exact Additive.toMul.injective h |
| 77 | · intro h |
| 78 | exact congrArg Additive.toMul h |
| 79 | |
| 80 | end Construction |
| 81 | |
| 82 | end |
| 83 | |
| 84 | end OAI.AlgebraicGeometry.FormalGeometry.Completion.PolarizationKernel.Chart |