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.PerfectSplitPairing |
| 2 | import OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.Relative.DoubleAnnihilator |
| 3 | import OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.ChoiceIsotropy |
| 4 | import OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.Torsion.Construction |
| 5 | import OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.Multiplication |
| 6 | |
| 7 | /-! # Perfect Choice Kernel -/ |
| 8 | |
| 9 | namespace OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.Relative.PerfectChoiceKernel.Construction |
| 10 | |
| 11 | noncomputable section |
| 12 | |
| 13 | /-! |
| 14 | The exact quotient kernel of an arbitrary family of supported choices |
| 15 | is self-annihilating for the original perfect alternating source pairing. |
| 16 | Actual CartierDuality duality supplies the double-annihilator equations on every |
| 17 | test scheme; TorsionQuotient supplies all finite torsion-block geometry. |
| 18 | -/ |
| 19 | |
| 20 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 21 | open scoped _root_.CategoryTheory.MonObj _root_.CategoryTheory.Obj BigOperators |
| 22 | |
| 23 | universe u |
| 24 | |
| 25 | theorem supported_relative_double_annihilator_from_perfect_pairing |
| 26 | {K : Type u} [Field K] [CharZero K] {S : Scheme.{u}} |
| 27 | (base : S ⟶ Spec (.of K)) {d : ℕ} (A : AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme d S) {P : Over S} |
| 28 | (F : TorsionQuotient.SubgroupFunctor.RelativeSubgroup A.scheme P) (R : F.Model) |
| 29 | (n : ℕ) (hn : 0 < n) (p r : A.scheme ⟶ A.scheme) [IsMonHom p] [IsMonHom r] |
| 30 | (hkilled : F.KilledBy n) (hsupport : SubgroupFunctor.Construction.SupportedOn F p) |
| 31 | (e : Annihilator.Construction.SchemeBicharacter (A := OppositeKernel.Construction.torsionBlock n p) (B := OppositeKernel.Construction.torsionBlock n r) |
| 32 | (W := (CartierDuality.CharacterSheaf.Construction.Schemes.multiplicativeGroupOver S).X)) (he : e.toSheafPairing.IsPerfect) : |
| 33 | let H := SubgroupTransport.Construction.relativeSubgroupPullback (OppositeKernel.Construction.torsionBlockInclusion n p) F |
| 34 | e.flip.relativeAnnihilator (e.relativeAnnihilator H) = H := by |
| 35 | have hblock := OppositeKernel.Construction.torsionBlock_finite_etale n p |
| 36 | (Kernel.Assembly.Construction.torsion_finite_etale_from_TorsionQuotient (A := A.scheme) base n hn Torsion.Construction.verified_TorsionQuotientInput) |
| 37 | let : IsFinite (OppositeKernel.Construction.torsionBlock n p).hom := hblock.1 |
| 38 | let : Etale (OppositeKernel.Construction.torsionBlock n p).hom := hblock.2 |
| 39 | exact DoubleAnnihilator.Construction.relative_double_annihilator_from_perfect_pairing (Grp.mk (OppositeKernel.Construction.torsionBlock n p)) |
| 40 | (Grp.mk (OppositeKernel.Construction.torsionBlock n r)) P (SubgroupTransport.Construction.relativeSubgroupPullback (OppositeKernel.Construction.torsionBlockInclusion n p) F) |
| 41 | (OppositeKernel.Construction.supportedTorsionBlock_model n p F R hkilled hsupport) e he |
| 42 | |
| 43 | theorem relativeChoiceFullKernel_self_annihilating_from_perfect_source |
| 44 | {K : Type u} [Field K] [CharZero K] {S : Scheme.{u}} |
| 45 | (base : S ⟶ Spec (.of K)) {d : ℕ} (A : AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme d S) {P : Over S} |
| 46 | (n s : ℕ) (hn : 0 < n) (M : Fin s → Type u) |
| 47 | [∀ i, AddCommGroup (M i)] [∀ i, Module (ZMod n) (M i)] [∀ i, Finite (M i)] |
| 48 | (p r : Fin s → (A.scheme ⟶ A.scheme)) [∀ i, IsMonHom (p i)] [∀ i, IsMonHom (r i)] |
| 49 | (U : ∀ i, SubgroupFunctor.Construction.SupportedChoice A.scheme n (M i) (p i) P) |
| 50 | (horth : ∀ i j : ChoiceKernel.Construction.KernelIndex s, i ≠ j → |
| 51 | ChoiceIsotropy.Construction.choiceTorsionProjector n s p r i ≫ ChoiceIsotropy.Construction.choiceTorsionProjector n s p r j = 1) |
| 52 | (hcomplete : (∏ i, ChoiceIsotropy.Construction.choiceTorsionProjector n s p r i) = 𝟙 (Torsion.Groups.Construction.nativeTorsionScheme A.scheme n)) |
| 53 | (b : Annihilator.Construction.SchemeBicharacter (A := Torsion.Groups.Construction.nativeTorsionScheme A.scheme n) |
| 54 | (B := Torsion.Groups.Construction.nativeTorsionScheme A.scheme n) (W := (CartierDuality.CharacterSheaf.Construction.Schemes.multiplicativeGroupOver S).X)) |
| 55 | (hb : b.toSheafPairing.IsPerfect) |
| 56 | (halt : ∀ (X : Over S) (x : X ⟶ Torsion.Groups.Construction.nativeTorsionScheme A.scheme n), b.pairValue x x = 1) |
| 57 | (hadjoint : ∀ (i : ChoiceKernel.Construction.KernelIndex s) (X : Over S) (x y : X ⟶ Torsion.Groups.Construction.nativeTorsionScheme A.scheme n), |
| 58 | b.pairValue (x ≫ ChoiceIsotropy.Construction.choiceTorsionProjector n s p r i) y = |
| 59 | b.pairValue x (y ≫ ChoiceIsotropy.Construction.choiceTorsionProjector n s p r (Sum.swap i))) : |
| 60 | let e : ∀ i : Fin s, Annihilator.Construction.SchemeBicharacter (A := OppositeKernel.Construction.torsionBlock n (p i)) |
| 61 | (B := OppositeKernel.Construction.torsionBlock n (r i)) (W := (CartierDuality.CharacterSheaf.Construction.Schemes.multiplicativeGroupOver S).X) := |
| 62 | SourcePairingFormula.Construction.sourceBlockPairing (ChoiceIsotropy.Construction.choiceTorsionProjector n s p r) b |
| 63 | let H := SubgroupTransport.Construction.relativeSubgroupPullback (Torsion.Groups.Construction.nativeTorsionInclusion A.scheme n) (ChoiceKernel.Construction.choiceFullKernel n s M p r e U) |
| 64 | b.relativeAnnihilator H = H := by |
| 65 | let e : ∀ i : Fin s, Annihilator.Construction.SchemeBicharacter (A := OppositeKernel.Construction.torsionBlock n (p i)) |
| 66 | (B := OppositeKernel.Construction.torsionBlock n (r i)) (W := (CartierDuality.CharacterSheaf.Construction.Schemes.multiplicativeGroupOver S).X) := |
| 67 | SourcePairingFormula.Construction.sourceBlockPairing (ChoiceIsotropy.Construction.choiceTorsionProjector n s p r) b |
| 68 | have hdouble (i : Fin s) : (e i).flip.relativeAnnihilator |
| 69 | ((e i).relativeAnnihilator |
| 70 | (SubgroupTransport.Construction.relativeSubgroupPullback (OppositeKernel.Construction.torsionBlockInclusion n (p i)) (U i).val.subgroup)) = |
| 71 | SubgroupTransport.Construction.relativeSubgroupPullback (OppositeKernel.Construction.torsionBlockInclusion n (p i)) (U i).val.subgroup := |
| 72 | supported_relative_double_annihilator_from_perfect_pairing base A (U i).val.subgroup |
| 73 | (Classical.choice (U i).val.geometric) n hn (p i) (r i) (U i).val.killed (U i).property (e i) |
| 74 | (PerfectSplitPairing.Construction.sourceBlockPairing_isPerfect _ horth hcomplete b hb hadjoint i) |
| 75 | have he : b = ChoiceIsotropy.Construction.choiceTorsionPairing n s p r e horth hcomplete := |
| 76 | SourcePairingFormula.Construction.sourcePairing_eq_fullSplit _ horth hcomplete b halt hadjoint |
| 77 | exact (congrArg (fun c : Annihilator.Construction.SchemeBicharacter (A := Torsion.Groups.Construction.nativeTorsionScheme A.scheme n) |
| 78 | (B := Torsion.Groups.Construction.nativeTorsionScheme A.scheme n) (W := (CartierDuality.CharacterSheaf.Construction.Schemes.multiplicativeGroupOver S).X) => |
| 79 | c.relativeAnnihilator |
| 80 | (SubgroupTransport.Construction.relativeSubgroupPullback (Torsion.Groups.Construction.nativeTorsionInclusion A.scheme n) (ChoiceKernel.Construction.choiceFullKernel n s M p r e U))) he).trans |
| 81 | (ChoiceIsotropy.Construction.choiceFullKernel_self_annihilating_of_CartierDuality n s M p r e U horth hcomplete hdouble) |
| 82 | |
| 83 | end |
| 84 | |
| 85 | end OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.Relative.PerfectChoiceKernel.Construction |