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.IsogenyQuotient.Parameter.CharacterEqualityOpen |
| 2 | import OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.Geometric.ParameterCharacterRecovery |
| 3 | import OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.CharZeroFieldParameters |
| 4 | import OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.KilledGroupEtale |
| 5 | |
| 6 | /-! # Cartier Character Recovery Open -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.CartierCharacterRecoveryOpen.Construction |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! The equality open inside the actual Cartier representative maps |
| 13 | surjectively to the base. It is an etale cover when an invertible |
| 14 | integer kills the original kernel. -/ |
| 15 | |
| 16 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.CategoryTheory.Limits |
| 17 | open scoped _root_.CategoryTheory.MonObj _root_.CategoryTheory.Obj |
| 18 | |
| 19 | universe u |
| 20 | variable {S : Scheme.{u}} {A B : Over S} [GrpObj A] [GrpObj B] |
| 21 | [IsProper A.hom] [Smooth A.hom] [GeometricallyConnected A.hom] |
| 22 | [IsProper B.hom] [Smooth B.hom] [GeometricallyConnected B.hom] |
| 23 | (f : A ⟶ B) [IsMonHom f] |
| 24 | [IsFinite f.left] [Flat f.left] [Surjective f.left] [LocallyOfFinitePresentation f.left] |
| 25 | (L : AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle B.left) |
| 26 | (hL : AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.pullbackClass f.left (AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.classOf L) = AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.trivialClass A.left) |
| 27 | (C : CartierDuality.GroupRepresentatives.Construction.Schemes.CharacterGroupRepresentation S (Grp.mk (Picard.Homomorphisms.Kernel.Construction.kernelScheme f))) |
| 28 | |
| 29 | omit [IsProper A.hom] [Smooth A.hom] [GeometricallyConnected A.hom] |
| 30 | [Smooth B.hom] [GeometricallyConnected B.hom] in |
| 31 | def cartierCharacterRecoveryOpen : C.dual.X.left.Opens := |
| 32 | Parameter.CharacterEqualityOpen.Construction.parameterCharacterEqualityOpen f L hL C.dual.X (C.sectionEquiv C.dual.X (𝟙 C.dual.X)) |
| 33 | |
| 34 | set_option backward.isDefEq.respectTransparency false in |
| 35 | theorem cartierCharacterRecoveryOpen_field_lift |
| 36 | {k : Type u} [Field k] [CharZero k] (t : Spec (.of k) ⟶ S) (s : Spec (.of k)) : |
| 37 | ∃ d : Over.mk t ⟶ C.dual.X, d.left s ∈ cartierCharacterRecoveryOpen f L hL C := by |
| 38 | have : IsIso (CategoryTheory.CartesianMonoidalCategory.fst |
| 39 | (Picard.Homomorphisms.Kernel.Construction.kernelScheme ((Over.pullback (Over.mk t).hom).map f)) |
| 40 | ((Over.pullback (Over.mk t).hom).obj A)).left.appTop := |
| 41 | Geometric.ParameterCharacterRecovery.Construction.fieldParameterKernel_projection_appTop_isIso f t |
| 42 | let L' := L.pullback (pullback.fst B.hom t) |
| 43 | let e := Classical.choice (Quotient.exact (Parameter.LinePullbackKernel.Construction.originalLineParameter_pullback_trivial f L hL (Over.mk t))) |
| 44 | obtain ⟨χ, hχ⟩ := Parameter.CharacterFrameRecovery.Construction.exists_parameterCharacter_of_pullback_frame f (Over.mk t) L' e |
| 45 | let d := (C.sectionEquiv (Over.mk t)).symm χ |
| 46 | have hd : (CartierDuality.CharacterSheaf.Construction.Schemes.characterSheaf S (Grp.mk (Picard.Homomorphisms.Kernel.Construction.kernelScheme f))).obj.map d.op |
| 47 | (C.sectionEquiv C.dual.X (𝟙 C.dual.X)) = χ := by |
| 48 | rw [← C.sectionEquiv_natural, Category.comp_id] |
| 49 | exact (C.sectionEquiv (Over.mk t)).apply_symm_apply χ |
| 50 | refine ⟨d, Parameter.CharacterEqualityOpen.Construction.parameterCharacterEqualityOpen_contains_field_character f L hL C.dual.X |
| 51 | (C.sectionEquiv C.dual.X (𝟙 C.dual.X)) t d ?_ s⟩ |
| 52 | rw [hd] |
| 53 | exact hχ |
| 54 | |
| 55 | set_option backward.isDefEq.respectTransparency false in |
| 56 | theorem cartierCharacterRecoveryOpen_surjective |
| 57 | {k : Type u} [Field k] [CharZero k] (p : S ⟶ Spec (.of k)) : |
| 58 | Surjective ((cartierCharacterRecoveryOpen f L hL C).ι ≫ C.dual.X.hom) := by |
| 59 | constructor |
| 60 | intro x |
| 61 | have : CharZero (S.residueField x) := CharZeroFieldParameters.Construction.residueField_charZero_of_map_to_field p x |
| 62 | let s : Spec (S.residueField x) := ⟨⊥, inferInstance⟩ |
| 63 | obtain ⟨d, hd⟩ := cartierCharacterRecoveryOpen_field_lift f L hL C |
| 64 | (k := S.residueField x) (S.fromSpecResidueField x) s |
| 65 | refine ⟨⟨d.left s, hd⟩, ?_⟩ |
| 66 | change C.dual.X.hom (d.left s) = x |
| 67 | exact (congrArg (fun a : Spec (S.residueField x) ⟶ S => a s) d.w).trans |
| 68 | (S.fromSpecResidueField_apply x s) |
| 69 | |
| 70 | omit [IsProper A.hom] [Smooth A.hom] [GeometricallyConnected A.hom] |
| 71 | [Smooth B.hom] [GeometricallyConnected B.hom] in |
| 72 | theorem cartierCharacterRecoveryOpen_etale |
| 73 | {k : Type u} [Field k] [CharZero k] (p : S ⟶ Spec (.of k)) |
| 74 | (n : ℕ) (hn : 0 < n) (hk : ∀ (T : Over S) (x : T ⟶ Picard.Homomorphisms.Kernel.Construction.kernelScheme f), x ^ n = 1) : |
| 75 | Etale ((cartierCharacterRecoveryOpen f L hL C).ι ≫ C.dual.X.hom) := by |
| 76 | have : Etale C.dual.X.hom := KilledGroupEtale.Construction.cartierRepresentative_etale_of_killed (Grp.mk (Picard.Homomorphisms.Kernel.Construction.kernelScheme f)) C n |
| 77 | (Relative.DegreeBaseChange.Construction.positiveNat_isUnit_on_charZero_field_scheme p n hn) hk |
| 78 | infer_instance |
| 79 | |
| 80 | end |
| 81 | |
| 82 | end OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.CartierCharacterRecoveryOpen.Construction |