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.AbelianScheme.FrobeniusKernel.ParameterPicardSurjectivity |
| 2 | import OAI.AlgebraicGeometry.AbelianScheme.FrobeniusKernel.CharacterPicard |
| 3 | |
| 4 | /-! # Family Picard Characters -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianScheme.FrobeniusKernel.FamilyPicardCharacters |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The exact kernel of pullback on family line classes over an affine |
| 11 | test scheme is the group of actual kernel-character sections. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 14 | open _root_.CategoryTheory.MonoidalCategory _root_.CategoryTheory.CartesianMonoidalCategory |
| 15 | open scoped _root_.CategoryTheory.MonObj _root_.CategoryTheory.Obj |
| 16 | |
| 17 | attribute [local instance] Over.cartesianMonoidalCategory |
| 18 | |
| 19 | namespace Construction |
| 20 | |
| 21 | universe u |
| 22 | |
| 23 | variable {k : Type u} [Field k] |
| 24 | variable {A B : Over (Spec (.of k))} [GrpObj A] [GrpObj B] |
| 25 | variable [Smooth A.hom] [IsProper A.hom] [GeometricallyConnected A.hom] |
| 26 | variable (f : A ⟶ B) [IsMonHom f] |
| 27 | variable [IsFinite f.left] [Flat f.left] [Surjective f.left] |
| 28 | [LocallyOfFinitePresentation f.left] |
| 29 | variable (Q : Over (Spec (.of k))) [IsAffine Q.left] |
| 30 | |
| 31 | theorem familyLine_kernel_character_exists (c : AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.IsoClass (Q ⊗ B).left) |
| 32 | (hc : AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.pullbackClass (Q ◁ f).left c = AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.trivialClass (Q ⊗ A).left) : |
| 33 | ∃ χ : (CartierDuality.CharacterSheaf.Construction.Schemes.characterSheaf (Spec (.of k)) (Grp.mk (Picard.Homomorphisms.Kernel.Construction.kernelScheme f))).obj.obj (.op Q), |
| 34 | c = CartierDuality.ParameterizedCharacterLines.Construction.KernelCharacters.parameterLineClass B Q (CartierDuality.ParameterizedCharacterLines.Construction.KernelCharacters.parameterCharacterLine f Q χ) := by |
| 35 | let eA : (Q ⊗ A).left ≅ ((Over.pullback Q.hom).obj A).left := pullbackSymmetry Q.hom A.hom |
| 36 | let eB : (Q ⊗ B).left ≅ ((Over.pullback Q.hom).obj B).left := pullbackSymmetry Q.hom B.hom |
| 37 | let c' := (AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.pullbackIso eB).symm c |
| 38 | have hec : AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.pullbackClass eB.hom c' = c := (AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.pullbackIso eB).apply_symm_apply c |
| 39 | have hs : (Q ◁ f).left ≫ eB.hom = eA.hom ≫ ((Over.pullback Q.hom).map f).left := by |
| 40 | have h := CharacterPicard.Construction.characterParameterFamilyMap_square f Q |
| 41 | rw [CartierDuality.ParameterFamily.Construction.KernelCharacters.parameterFamilyMap_eq_symmetry, CartierDuality.ParameterFamily.Construction.KernelCharacters.parameterFamilyMap_eq_symmetry] at h |
| 42 | exact h |
| 43 | have hk : AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.pullbackClass ((Over.pullback Q.hom).map f).left c' = |
| 44 | AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.trivialClass ((Over.pullback Q.hom).obj A).left := by |
| 45 | apply (AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.pullbackIso eA).injective |
| 46 | change AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.pullbackClass eA.hom |
| 47 | (AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.pullbackClass ((Over.pullback Q.hom).map f).left c') = |
| 48 | AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.pullbackClass eA.hom (AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.trivialClass _) |
| 49 | rw [← AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.pullbackClass_comp, ← hs, AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.pullbackClass_comp, |
| 50 | hec, hc, AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.pullbackClass_trivial] |
| 51 | obtain ⟨L, hL⟩ := Quotient.exists_rep c' |
| 52 | have hframe : Nonempty |
| 53 | ((Scheme.Modules.pullback ((Over.pullback Q.hom).map f).left).obj L.sheaf ≅ |
| 54 | AbelianModuli.HilbertConstruction.Line.Bundles.structureModule ((Over.pullback Q.hom).obj A).left) := |
| 55 | Quotient.exact ((congrArg (AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.pullbackClass ((Over.pullback Q.hom).map f).left) hL).trans hk) |
| 56 | obtain ⟨χ, hχ⟩ := ParameterPicardSurjectivity.Construction.parameterLine_kernel_character_exists f Q L hframe.some |
| 57 | refine ⟨χ, ?_⟩ |
| 58 | have hp : c = AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.pullbackClass eB.hom (AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.classOf L) := |
| 59 | (congrArg (AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.pullbackClass eB.hom) hL).trans hec |>.symm |
| 60 | have he : c = AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.pullbackClass eB.hom (AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.classOf (CartierDuality.ParameterizedCharacterLines.Construction.KernelCharacters.parameterCharacterLine f Q χ)) := |
| 61 | hp.trans (congrArg (AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.pullbackClass eB.hom) (Quotient.sound hχ)) |
| 62 | exact he.trans (by |
| 63 | rw [CartierDuality.ParameterizedCharacterLines.Construction.KernelCharacters.parameterLineClass, CartierDuality.ParameterFamily.Construction.KernelCharacters.parameterFamilyMap_eq_symmetry] |
| 64 | rfl) |
| 65 | |
| 66 | theorem familyLine_kernel_character_unique (c : AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.IsoClass (Q ⊗ B).left) |
| 67 | (hc : AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.pullbackClass (Q ◁ f).left c = AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.trivialClass (Q ⊗ A).left) : |
| 68 | ∃! χ : (CartierDuality.CharacterSheaf.Construction.Schemes.characterSheaf (Spec (.of k)) (Grp.mk (Picard.Homomorphisms.Kernel.Construction.kernelScheme f))).obj.obj (.op Q), |
| 69 | c = CartierDuality.ParameterizedCharacterLines.Construction.KernelCharacters.parameterLineClass B Q (CartierDuality.ParameterizedCharacterLines.Construction.KernelCharacters.parameterCharacterLine f Q χ) := by |
| 70 | obtain ⟨χ, hχ⟩ := familyLine_kernel_character_exists f Q c hc |
| 71 | refine ⟨χ, hχ, ?_⟩ |
| 72 | intro ψ hψ |
| 73 | have : IsIso ((Over.pullback Q.hom).obj A).hom.appTop := CartierDuality.CharacterLineFaithfulness.Construction.KernelCharacters.properGroup_parameter_appTop_isIso A Q |
| 74 | exact CartierDuality.CharacterLineFaithfulness.Construction.KernelCharacters.parameterLineClass_injective f Q |
| 75 | (ConcreteCategory.bijective_of_isIso ((Over.pullback Q.hom).obj A).hom.appTop).surjective |
| 76 | (hψ.symm.trans hχ) |
| 77 | |
| 78 | end Construction |
| 79 | |
| 80 | end |
| 81 | |
| 82 | end OAI.AlgebraicGeometry.AbelianScheme.FrobeniusKernel.FamilyPicardCharacters |