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.Isogenies.NeighborCounting.Parameter.SubgroupComparisons |
| 2 | |
| 3 | /-! # Kernel -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Parameter.Kernel |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! The whole original chosen/opposite kernel passes to its parameter |
| 10 | scheme with its actual pairing and every factor retained. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 13 | open scoped _root_.CategoryTheory.MonObj _root_.CategoryTheory.Obj |
| 14 | |
| 15 | open OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Parameter.ImageComparison |
| 16 | open OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Parameter.KernelProducts OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Parameter.SubgroupComparisons |
| 17 | attribute [local instance] AbelianScheme.FrobeniusKernel.BaseChange.Construction.pulledBackGroup AbelianScheme.IsogenyQuotient.PairingBaseChange.Construction.pulledbackGroup_commutative |
| 18 | |
| 19 | universe u |
| 20 | |
| 21 | variable {S : Scheme.{u}} {s : ℕ} (A : Grp (Over S)) [IsCommMonObj A.X] |
| 22 | (G H : Fin s → Grp (Over S)) [∀ v, IsCommMonObj (G v).X] [∀ v, IsCommMonObj (H v).X] |
| 23 | (i : ∀ v, G v ⟶ A) (j : ∀ v, H v ⟶ A) (P : Over S) |
| 24 | (e : ∀ v, AbelianScheme.IsogenyQuotient.Annihilator.Construction.SchemeBicharacter (A := (G v).X) (B := (H v).X) |
| 25 | (W := (AbelianScheme.CartierDuality.CharacterSheaf.Construction.Schemes.multiplicativeGroupOver S).X)) |
| 26 | (active : Fin s) (c : Fin s → Bool) (F : AbelianScheme.TorsionQuotient.SubgroupFunctor.RelativeSubgroup A.X P) |
| 27 | |
| 28 | omit [∀ v, IsCommMonObj (G v).X] in |
| 29 | theorem relativeParameter_chosen (v : Fin s) : |
| 30 | AbelianScheme.IsogenyQuotient.Relative.ParameterBaseChange.Construction.relativeSubgroupOverParameter A P |
| 31 | (Kernel.Base.chosenKernel (fun w => (G w).X) (fun w => (i w).hom.hom) active c F v) = |
| 32 | Kernel.Base.chosenKernel (fun w => ((Over.pullback P.hom).mapGrp.obj (G w)).X) |
| 33 | (fun w => ((Over.pullback P.hom).mapGrp.map (i w)).hom.hom) active c |
| 34 | (AbelianScheme.IsogenyQuotient.Relative.ParameterBaseChange.Construction.relativeSubgroupOverParameter A P F) v := by |
| 35 | classical |
| 36 | unfold Kernel.Base.chosenKernel |
| 37 | split_ifs |
| 38 | · rfl |
| 39 | · exact SubgroupComparisons.relativeParameter_fixed_kernel (G v) A P (i v) |
| 40 | · exact KernelProducts.relativeParameter_trivial A P |
| 41 | |
| 42 | omit [IsCommMonObj A.X] in |
| 43 | theorem relativeParameter_opposite (v : Fin s) : |
| 44 | AbelianScheme.IsogenyQuotient.Relative.ParameterBaseChange.Construction.relativeSubgroupOverParameter A P |
| 45 | (Kernel.Base.forcedOpposite (fun w => (G w).X) (fun w => (H w).X) |
| 46 | (fun w => (i w).hom.hom) (fun w => (j w).hom.hom) e v F) = |
| 47 | Kernel.Base.forcedOpposite (fun w => ((Over.pullback P.hom).mapGrp.obj (G w)).X) |
| 48 | (fun w => ((Over.pullback P.hom).mapGrp.obj (H w)).X) |
| 49 | (fun w => ((Over.pullback P.hom).mapGrp.map (i w)).hom.hom) |
| 50 | (fun w => ((Over.pullback P.hom).mapGrp.map (j w)).hom.hom) |
| 51 | (fun w => AbelianScheme.IsogenyQuotient.PairingBaseChange.Construction.nativePairingPullback P.hom (G w) (H w) (e w)) v |
| 52 | (AbelianScheme.IsogenyQuotient.Relative.ParameterBaseChange.Construction.relativeSubgroupOverParameter A P F) := by |
| 53 | unfold Kernel.Base.forcedOpposite |
| 54 | rw [← ImageComparison.relativeParameter_image_comparison, AbelianScheme.IsogenyQuotient.Parameter.AnnihilatorComparison.Construction.relativeParameter_annihilator_comparison, |
| 55 | SubgroupComparisons.relativeParameter_pullback_comparison] |
| 56 | |
| 57 | theorem relativeParameter_fullKernel : |
| 58 | AbelianScheme.IsogenyQuotient.Relative.ParameterBaseChange.Construction.relativeSubgroupOverParameter A P |
| 59 | (Kernel.Base.fullKernel (fun w => (G w).X) (fun w => (H w).X) |
| 60 | (fun w => (i w).hom.hom) (fun w => (j w).hom.hom) e active c F) = |
| 61 | Kernel.Base.fullKernel (fun w => ((Over.pullback P.hom).mapGrp.obj (G w)).X) |
| 62 | (fun w => ((Over.pullback P.hom).mapGrp.obj (H w)).X) |
| 63 | (fun w => ((Over.pullback P.hom).mapGrp.map (i w)).hom.hom) |
| 64 | (fun w => ((Over.pullback P.hom).mapGrp.map (j w)).hom.hom) |
| 65 | (fun w => AbelianScheme.IsogenyQuotient.PairingBaseChange.Construction.nativePairingPullback P.hom (G w) (H w) (e w)) active c |
| 66 | (AbelianScheme.IsogenyQuotient.Relative.ParameterBaseChange.Construction.relativeSubgroupOverParameter A P F) := by |
| 67 | unfold Kernel.Base.fullKernel |
| 68 | rw [KernelProducts.relativeParameter_tuple] |
| 69 | congr 1 |
| 70 | funext v |
| 71 | rw [KernelProducts.relativeParameter_product, relativeParameter_opposite, relativeParameter_chosen] |
| 72 | |
| 73 | end |
| 74 | |
| 75 | end OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Parameter.Kernel |