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.Relative.CartierInjection |
| 2 | import OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.Kernel.CharacterPicardValue |
| 3 | import OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.KilledGroupEtale |
| 4 | import OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.Geometric.Points |
| 5 | |
| 6 | /-! # Character Picard Injection -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.Relative.CharacterPicardInjection.Construction |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! The character-line map itself is injective on all test schemes |
| 13 | when the original kernel has invertible exponent. No dual or other |
| 14 | representability assumption on the target Picard sheaf is required. -/ |
| 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 | (f : A ⟶ B) [IsMonHom f] |
| 23 | [IsAffineHom f.left] [Flat f.left] [Surjective f.left] [LocallyOfFinitePresentation f.left] |
| 24 | |
| 25 | theorem parameterCharacterPicardHom_geometric_injective |
| 26 | {k : Type u} [Field k] [IsAlgClosed k] (t : Spec (.of k) ⟶ S) : |
| 27 | Function.Injective (CartierDuality.ParameterizedCharacterProducts.Construction.KernelCharacters.parameterCharacterPicardHom f (Over.mk t)) := by |
| 28 | let Q : Over S := Over.mk t |
| 29 | let A' := (Over.pullback t).obj A |
| 30 | have : Smooth A'.hom := inferInstanceAs (Smooth (pullback.snd A.hom t)) |
| 31 | have : IsProper A'.hom := inferInstanceAs (IsProper (pullback.snd A.hom t)) |
| 32 | have : GeometricallyConnected A'.hom := inferInstanceAs (GeometricallyConnected (pullback.snd A.hom t)) |
| 33 | have : IsIso A'.hom.appTop := Picard.Homomorphisms.ProperGroupFunctions.Construction.properGroup_appTop_isIso A' |
| 34 | have hp : Function.Surjective ((Over.pullback Q.hom).obj A).hom.appTop := |
| 35 | (ConcreteCategory.bijective_of_isIso A'.hom.appTop).surjective |
| 36 | intro χ ψ h |
| 37 | apply CartierDuality.CharacterLineFaithfulness.Construction.KernelCharacters.parameterLineClass_injective f Q hp |
| 38 | apply (CartierInjection.Construction.toSheafify_geometric_bijective t (AbelianModuli.HilbertConstruction.Picard.PicardSheaf.relativePicardPresheaf B)).injective |
| 39 | exact (Kernel.CharacterPicardValue.Construction.kernelCharacterPicardHom_relative_value f Q χ).symm.trans |
| 40 | ((congrArg ((Picard.Homomorphisms.UnbundledHomogeneous.Construction.UnbundledPicard.homogeneousPicardSheafInclusion B).hom.app (.op Q)) h).trans |
| 41 | (Kernel.CharacterPicardValue.Construction.kernelCharacterPicardHom_relative_value f Q ψ)) |
| 42 | |
| 43 | theorem parameterCharacterPicardHom_injective |
| 44 | (C : CartierDuality.GroupRepresentatives.Construction.Schemes.CharacterGroupRepresentation S (Grp.mk (Picard.Homomorphisms.Kernel.Construction.kernelScheme f))) |
| 45 | (n : ℕ) (hn : ∀ s : S, IsUnit (n : S.presheaf.stalk s)) |
| 46 | (hk : ∀ (T : Over S) (x : T ⟶ Picard.Homomorphisms.Kernel.Construction.kernelScheme f), x ^ n = 1) |
| 47 | (T : Over S) : Function.Injective (CartierDuality.ParameterizedCharacterProducts.Construction.KernelCharacters.parameterCharacterPicardHom f T) := by |
| 48 | have : Etale C.dual.X.hom := KilledGroupEtale.Construction.cartierRepresentative_etale_of_killed (Grp.mk (Picard.Homomorphisms.Kernel.Construction.kernelScheme f)) C n hn hk |
| 49 | intro χ ψ h |
| 50 | let x := (C.sectionEquiv T).symm χ |
| 51 | let y := (C.sectionEquiv T).symm ψ |
| 52 | have heq : x = y := by |
| 53 | apply Geometric.Points.Construction.etale_ext_of_geometric_points |
| 54 | intro k _ _ t a |
| 55 | apply (C.sectionEquiv (Over.mk t)).injective |
| 56 | apply parameterCharacterPicardHom_geometric_injective f t |
| 57 | rw [C.sectionEquiv_natural, C.sectionEquiv_natural, |
| 58 | show C.sectionEquiv T x = χ from (C.sectionEquiv T).apply_symm_apply χ, |
| 59 | show C.sectionEquiv T y = ψ from (C.sectionEquiv T).apply_symm_apply ψ, |
| 60 | ← CartierDuality.ParameterLineNaturality.Construction.KernelCharacters.parameterCharacterPicardHom_natural, ← CartierDuality.ParameterLineNaturality.Construction.KernelCharacters.parameterCharacterPicardHom_natural, h] |
| 61 | exact ((C.sectionEquiv T).apply_symm_apply χ).symm.trans |
| 62 | ((congrArg (C.sectionEquiv T) heq).trans ((C.sectionEquiv T).apply_symm_apply ψ)) |
| 63 | |
| 64 | end |
| 65 | |
| 66 | end OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.Relative.CharacterPicardInjection.Construction |