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.ComplementaryKernelMap |
| 2 | import OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.CoprimeKernelAdjustment |
| 3 | import OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.FppfPowerComplement |
| 4 | import OAI.AlgebraicGeometry.Picard.PoincareBundle.Kernel.DecompositionQuotient |
| 5 | |
| 6 | /-! # Complementary Kernel Iso -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.ComplementaryKernelIso.Construction |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! A coprime kernel adjustment identifies the complementary kernel |
| 13 | with the Picard source-map kernel through the actual quotient map. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 16 | open _root_.CategoryTheory.MonoidalCategory |
| 17 | open scoped _root_.CategoryTheory.MonObj |
| 18 | |
| 19 | open OAI.AlgebraicGeometry.Picard.PoincareBundle.Kernel.Scheme |
| 20 | attribute [local instance] Picard.PoincareBundle.Kernel.Scheme.kernelGroup |
| 21 | |
| 22 | universe u |
| 23 | variable {S : Scheme.{u}} {A B C Z : Over S} |
| 24 | [GrpObj A] [GrpObj B] [GrpObj C] [GrpObj Z] [IsCommMonObj A] [IsCommMonObj B] |
| 25 | (f : A ⟶ B) [IsMonHom f] (r : B ⟶ A) [IsMonHom r] |
| 26 | (q : B ⟶ C) [IsMonHom q] (g : C ⟶ Z) [IsMonHom g] (φ : A ⟶ Z) [IsMonHom φ] |
| 27 | (h : r ≫ φ = q ≫ g) (n d : ℕ) (hnd : n.Coprime d) |
| 28 | (hfr : f ≫ r = (𝟙 A) ^ n) (hrf : r ≫ f = (𝟙 B) ^ n) |
| 29 | (hφ : ∀ (T : Over S) (x : T ⟶ A), x ≫ φ = 1 → x ^ d = 1) |
| 30 | (hf : ∀ (T : Over S) (x : T ⟶ A), x ≫ φ = 1 → (x ≫ f) ≫ q = 1) |
| 31 | (hq : ∀ (T : Over S) (x : T ⟶ B), x ≫ q = 1 → x ^ d = 1) |
| 32 | |
| 33 | include h hnd hfr hφ hf in |
| 34 | theorem complementaryKernel_decomposition (T : Over S) (x : T ⟶ Picard.PoincareBundle.Kernel.Scheme.kernelObject (q ≫ g)) : |
| 35 | ∃ a : T ⟶ Picard.PoincareBundle.Kernel.Scheme.kernelObject q, ∃ b : T ⟶ Picard.PoincareBundle.Kernel.Scheme.kernelObject r, |
| 36 | x ≫ Picard.PoincareBundle.Kernel.Scheme.kernelInclusion (q ≫ g) = (a ≫ Picard.PoincareBundle.Kernel.Scheme.kernelInclusion q) * (b ≫ Picard.PoincareBundle.Kernel.Scheme.kernelInclusion r) := by |
| 37 | let u := x ≫ Picard.PoincareBundle.Kernel.Scheme.kernelInclusion (q ≫ g) |
| 38 | have hu : (u ≫ r) ≫ φ = 1 := by |
| 39 | rw [Category.assoc, h] |
| 40 | change (x ≫ Picard.PoincareBundle.Kernel.Scheme.kernelInclusion (q ≫ g)) ≫ (q ≫ g) = 1 |
| 41 | rw [Category.assoc, Picard.PoincareBundle.Kernel.Scheme.kernelInclusion_comp, MonObj.comp_one] |
| 42 | have hfr' (a : T ⟶ A) : (a ≫ f) ≫ r = a ^ n := by |
| 43 | rw [Category.assoc, hfr, MonObj.comp_pow, Category.comp_id] |
| 44 | obtain ⟨a, b, ha, hb, hab⟩ := CoprimeKernelAdjustment.Construction.coprimeKernel_adjustment (Picard.PoincareBundle.Kernel.Scheme.pointsMap φ T) (Picard.PoincareBundle.Kernel.Scheme.pointsMap f T) |
| 45 | (Picard.PoincareBundle.Kernel.Scheme.pointsMap r T) (Picard.PoincareBundle.Kernel.Scheme.pointsMap q T) n d hnd hfr' (hφ T) (hf T) u hu |
| 46 | refine ⟨(Picard.PoincareBundle.Kernel.Scheme.kernelPointsEquiv q T).symm ⟨a, ha⟩, (Picard.PoincareBundle.Kernel.Scheme.kernelPointsEquiv r T).symm ⟨b, hb⟩, ?_⟩ |
| 47 | have ha' : (Picard.PoincareBundle.Kernel.Scheme.kernelPointsEquiv q T).symm ⟨a, ha⟩ ≫ Picard.PoincareBundle.Kernel.Scheme.kernelInclusion q = a := |
| 48 | congrArg Subtype.val ((Picard.PoincareBundle.Kernel.Scheme.kernelPointsEquiv q T).apply_symm_apply ⟨a, ha⟩) |
| 49 | have hb' : (Picard.PoincareBundle.Kernel.Scheme.kernelPointsEquiv r T).symm ⟨b, hb⟩ ≫ Picard.PoincareBundle.Kernel.Scheme.kernelInclusion r = b := |
| 50 | congrArg Subtype.val ((Picard.PoincareBundle.Kernel.Scheme.kernelPointsEquiv r T).apply_symm_apply ⟨b, hb⟩) |
| 51 | rw [ha', hb'] |
| 52 | exact hab |
| 53 | |
| 54 | variable [IsFinite q.left] [Flat q.left] [Surjective q.left] |
| 55 | |
| 56 | include h hnd hfr hrf hφ hf hq in |
| 57 | def complementaryKernelIso : Picard.PoincareBundle.Kernel.Scheme.kernelObject r ≅ Picard.PoincareBundle.Kernel.Scheme.kernelObject g := by |
| 58 | have : Mono (ComplementaryKernelMap.Construction.complementaryKernelMap r q g φ h) := |
| 59 | ComplementaryKernelMap.Construction.complementaryKernelMap_mono r q g φ h n d hnd (FppfPowerComplement.Construction.powerComplement_kernel_torsion f r n hrf) hq |
| 60 | exact Picard.PoincareBundle.Kernel.DecompositionQuotient.kernelIso q g r |
| 61 | (ComplementaryKernelMap.Construction.complementaryKernelMap r q g φ h) (ComplementaryKernelMap.Construction.complementaryKernelMap_inclusion r q g φ h) |
| 62 | (complementaryKernel_decomposition f r q g φ h n d hnd hfr hφ hf) |
| 63 | |
| 64 | include hnd hfr hrf hφ hf hq in |
| 65 | theorem complementaryKernelIso_inclusion : |
| 66 | (complementaryKernelIso f r q g φ h n d hnd hfr hrf hφ hf hq).hom ≫ Picard.PoincareBundle.Kernel.Scheme.kernelInclusion g = |
| 67 | Picard.PoincareBundle.Kernel.Scheme.kernelInclusion r ≫ q := |
| 68 | ComplementaryKernelMap.Construction.complementaryKernelMap_inclusion r q g φ h |
| 69 | |
| 70 | end |
| 71 | |
| 72 | end OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.ComplementaryKernelIso.Construction |