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.FamilyCharacterEqualityOpen |
| 2 | import OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.CartierCharacterRecoveryOpen |
| 3 | |
| 4 | /-! # Family Cartier Recovery Open -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.FamilyCartierRecoveryOpen.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The Cartier recovery open for a line on a parameter family lies |
| 11 | inside the product of that parameter with the original Cartier dual. |
| 12 | It covers the full parameter scheme, including its nilpotent structure. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.CategoryTheory.Limits |
| 15 | open _root_.CategoryTheory.MonoidalCategory _root_.CategoryTheory.CartesianMonoidalCategory |
| 16 | open scoped _root_.CategoryTheory.MonObj _root_.CategoryTheory.Obj |
| 17 | |
| 18 | universe u |
| 19 | variable {S : Scheme.{u}} {A B : Over S} [GrpObj A] [GrpObj B] |
| 20 | [IsProper A.hom] [Smooth A.hom] [GeometricallyConnected A.hom] |
| 21 | [IsProper B.hom] [Smooth B.hom] [GeometricallyConnected B.hom] |
| 22 | (f : A ⟶ B) [IsMonHom f] |
| 23 | [IsFinite f.left] [Flat f.left] [Surjective f.left] [LocallyOfFinitePresentation f.left] |
| 24 | (T : Over S) (L : AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle ((Over.pullback T.hom).obj B).left) |
| 25 | (hL : AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.pullbackClass ((Over.pullback T.hom).map f).left (AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.classOf L) = |
| 26 | AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.trivialClass ((Over.pullback T.hom).obj 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 familyCartierRecoveryOpen : (T ⊗ C.dual.X).left.Opens := |
| 32 | FamilyCharacterEqualityOpen.Construction.familyCharacterEqualityOpen f T L hL (fst T C.dual.X) |
| 33 | (C.sectionEquiv (T ⊗ C.dual.X) (snd T C.dual.X)) |
| 34 | |
| 35 | omit [IsProper A.hom] [Smooth A.hom] [GeometricallyConnected A.hom] |
| 36 | [Smooth B.hom] [GeometricallyConnected B.hom] in |
| 37 | theorem familyCartierRecoveryOpen_restrict_class {P : Over S} (b : P ⟶ T ⊗ C.dual.X) |
| 38 | (hb : ∀ x : P.left, b.left x ∈ familyCartierRecoveryOpen f T L hL C) : |
| 39 | AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.classOf (L.pullback (CartierDuality.ParameterFamily.Construction.KernelCharacters.parameterPullbackMap B (b ≫ fst T C.dual.X))) = |
| 40 | AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.classOf (CartierDuality.ParameterizedCharacterLines.Construction.KernelCharacters.parameterCharacterLine f P |
| 41 | ((CartierDuality.CharacterSheaf.Construction.Schemes.characterSheaf S (Grp.mk (Picard.Homomorphisms.Kernel.Construction.kernelScheme f))).obj.map b.op |
| 42 | (C.sectionEquiv (T ⊗ C.dual.X) (snd T C.dual.X)))) := |
| 43 | FamilyCharacterEqualityOpen.Construction.familyCharacterEqualityOpen_restrict_class f T L hL (fst T C.dual.X) |
| 44 | (C.sectionEquiv (T ⊗ C.dual.X) (snd T C.dual.X)) b hb |
| 45 | |
| 46 | set_option backward.isDefEq.respectTransparency false in |
| 47 | theorem familyCartierRecoveryOpen_field_lift |
| 48 | {k : Type u} [Field k] [CharZero k] (t : Spec (.of k) ⟶ S) |
| 49 | (e : Over.mk t ⟶ T) (s : Spec (.of k)) : |
| 50 | ∃ d : Over.mk t ⟶ T ⊗ C.dual.X, |
| 51 | d ≫ fst T C.dual.X = e ∧ d.left s ∈ familyCartierRecoveryOpen f T L hL C := by |
| 52 | have : IsIso (fst (Picard.Homomorphisms.Kernel.Construction.kernelScheme ((Over.pullback (Over.mk t).hom).map f)) |
| 53 | ((Over.pullback (Over.mk t).hom).obj A)).left.appTop := |
| 54 | Geometric.ParameterCharacterRecovery.Construction.fieldParameterKernel_projection_appTop_isIso f t |
| 55 | let L' := L.pullback (CartierDuality.ParameterFamily.Construction.KernelCharacters.parameterPullbackMap B e) |
| 56 | let hframe := Classical.choice (Quotient.exact (Parameter.LineComposition.Construction.parameterFamilyLine_pullback_trivial B f e L hL)) |
| 57 | obtain ⟨χ, hχ⟩ := Parameter.CharacterFrameRecovery.Construction.exists_parameterCharacter_of_pullback_frame f (Over.mk t) L' hframe |
| 58 | let c := (C.sectionEquiv (Over.mk t)).symm χ |
| 59 | let d := lift e c |
| 60 | have hd : (CartierDuality.CharacterSheaf.Construction.Schemes.characterSheaf S (Grp.mk (Picard.Homomorphisms.Kernel.Construction.kernelScheme f))).obj.map d.op |
| 61 | (C.sectionEquiv (T ⊗ C.dual.X) (snd T C.dual.X)) = χ := by |
| 62 | rw [← C.sectionEquiv_natural, show d ≫ snd T C.dual.X = c from lift_snd e c] |
| 63 | exact (C.sectionEquiv (Over.mk t)).apply_symm_apply χ |
| 64 | refine ⟨d, lift_fst e c, FamilyCharacterEqualityOpen.Construction.familyCharacterEqualityOpen_contains_field_character f T L hL |
| 65 | (fst T C.dual.X) (C.sectionEquiv (T ⊗ C.dual.X) (snd T C.dual.X)) t d ?_ s⟩ |
| 66 | rw [hd, show d ≫ fst T C.dual.X = e from lift_fst e c] |
| 67 | exact hχ |
| 68 | |
| 69 | set_option backward.isDefEq.respectTransparency false in |
| 70 | theorem familyCartierRecoveryOpen_surjective |
| 71 | {k : Type u} [Field k] [CharZero k] (p : S ⟶ Spec (.of k)) : |
| 72 | Surjective ((familyCartierRecoveryOpen f T L hL C).ι ≫ (fst T C.dual.X).left) := by |
| 73 | constructor |
| 74 | intro x |
| 75 | have : CharZero (T.left.residueField x) := CharZeroFieldParameters.Construction.residueField_charZero_of_map_to_field (T.hom ≫ p) x |
| 76 | let s : Spec (T.left.residueField x) := ⟨⊥, inferInstance⟩ |
| 77 | let t := T.left.fromSpecResidueField x ≫ T.hom |
| 78 | let e : Over.mk t ⟶ T := Over.homMk (T.left.fromSpecResidueField x) rfl |
| 79 | obtain ⟨d, hd, hV⟩ := familyCartierRecoveryOpen_field_lift f T L hL C |
| 80 | (k := T.left.residueField x) t e s |
| 81 | refine ⟨⟨d.left s, hV⟩, ?_⟩ |
| 82 | change (fst T C.dual.X).left (d.left s) = x |
| 83 | exact (congrArg (fun a : Over.mk t ⟶ T => a.left s) hd).trans |
| 84 | (T.left.fromSpecResidueField_apply x s) |
| 85 | |
| 86 | omit [IsProper A.hom] [Smooth A.hom] [GeometricallyConnected A.hom] |
| 87 | [Smooth B.hom] [GeometricallyConnected B.hom] in |
| 88 | theorem familyCartierRecoveryOpen_etale |
| 89 | {k : Type u} [Field k] [CharZero k] (p : S ⟶ Spec (.of k)) |
| 90 | (n : ℕ) (hn : 0 < n) (hk : ∀ (U : Over S) (x : U ⟶ Picard.Homomorphisms.Kernel.Construction.kernelScheme f), x ^ n = 1) : |
| 91 | Etale ((familyCartierRecoveryOpen f T L hL C).ι ≫ (fst T C.dual.X).left) := by |
| 92 | have : Etale C.dual.X.hom := KilledGroupEtale.Construction.cartierRepresentative_etale_of_killed (Grp.mk (Picard.Homomorphisms.Kernel.Construction.kernelScheme f)) C n |
| 93 | (Relative.DegreeBaseChange.Construction.positiveNat_isUnit_on_charZero_field_scheme p n hn) hk |
| 94 | have : Etale (fst T C.dual.X).left := inferInstanceAs (Etale (pullback.fst T.hom C.dual.X.hom)) |
| 95 | infer_instance |
| 96 | |
| 97 | end |
| 98 | |
| 99 | end OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.FamilyCartierRecoveryOpen.Construction |