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.HodgeConjecture.CMReduction.LocalTopSwitch |
| 2 | import OAI.AlgebraicGeometry.HodgeConjecture.CMReduction.SelectSlots |
| 3 | import OAI.AlgebraicGeometry.HodgeConjecture.CMReduction.PackedPermutation |
| 4 | |
| 5 | /-! # Two Slots -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.HodgeConjecture.CMReduction.TwoSlots.CM.Construction |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! A switch of two marked tuple entries, with every residual entry |
| 12 | pulled back from the target variety. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory |
| 15 | |
| 16 | theorem two_slot_contraction |
| 17 | (h_Functoriality : CycleOperations.CM.Construction.FunctorialityInput) (h_LineBundleCycles : CycleOperations.CM.Construction.LineBundleCyclesInput) (h_ThomClass : CycleOperations.CM.Construction.ExteriorInput) (h_PolarizedPairing : Pairing.CM.Construction.PolarizedPairingInput) |
| 18 | (hlefschetz : ComplexMultiplication.CMKnownResults.CM.KnownResults.LefschetzOneOne) |
| 19 | (hexterior : ComplexMultiplication.KnownExteriorCohomology.CM.KnownResults.AbelianExteriorCohomology) |
| 20 | (E : IntermediateField ℚ ℂ) |
| 21 | [NumberField E] [IsGalois ℚ E] [NumberField.IsCMField E] |
| 22 | (v₁ v₂ : Pairing.CM.Construction.SignType E) |
| 23 | (R₁ : ComplexMultiplication.CMKnownResults.CM.HodgeRealization (ComplexMultiplication.GaloisCMType.CM.CMCoefficientField.hodgeStructure E v₁)) |
| 24 | (R₂ : ComplexMultiplication.CMKnownResults.CM.HodgeRealization (ComplexMultiplication.GaloisCMType.CM.CMCoefficientField.hodgeStructure E v₂)) |
| 25 | (X : ComplexMultiplication.CMAbelianVariety.CM.AbelianVariety) (r : ℕ) |
| 26 | (a b : Fin ((r + 1) + (r + 1))) (hab : a ≠ b) |
| 27 | (x : Fin ((r + 1) + (r + 1)) → |
| 28 | (Bridge.CM.Construction.bridgeProduct R₁.abelianVariety R₂.abelianVariety X).variety.complexCohomology 1) |
| 29 | (y : Fin ((r + 1) + (r + 1)) → X.variety.complexCohomology 1) |
| 30 | (hrest : ∀ i, i ≠ a → i ≠ b → x i = |
| 31 | Betti.Scheme.schemeBettiMap (ModuleCat.of ℂ ℂ) 1 (Bridge.CM.Construction.bridgeBase R₁.abelianVariety R₂.abelianVariety X) (y i)) |
| 32 | (hxa : x a = Betti.Scheme.schemeBettiMap (ModuleCat.of ℂ ℂ) 1 |
| 33 | (Bridge.CM.Construction.bridgeFirst R₁.abelianVariety R₂.abelianVariety X) |
| 34 | (Endpoints.CM.Construction.realizedVector E R₁ (ComplexMultiplication.GaloisSigns.CM.CMCoefficientField.conjugation E))) |
| 35 | (hxb : x b = Betti.Scheme.schemeBettiMap (ModuleCat.of ℂ ℂ) 1 |
| 36 | (Bridge.CM.Construction.bridgeSecond R₁.abelianVariety R₂.abelianVariety X) |
| 37 | (Endpoints.CM.Construction.realizedVector E R₂ (ComplexMultiplication.GaloisSigns.CM.CMCoefficientField.conjugation E))) |
| 38 | (hprevious : PackedRegroup.CM.Construction.IsAlgebraicEven (Bridge.CM.Construction.bridgeProduct R₁.abelianVariety R₂.abelianVariety X).variety |
| 39 | (PackedRegroup.CM.Construction.packH1Cup (Betti.Scheme.schemePointSpace (Bridge.CM.Construction.bridgeProduct R₁.abelianVariety R₂.abelianVariety X).toOver) (r + 1) x)) |
| 40 | (hswitch : PackedRegroup.CM.Construction.IsAlgebraicEven (Bridge.CM.Construction.bridgeProduct R₁.abelianVariety R₂.abelianVariety X).variety |
| 41 | (Bridge.CM.Construction.switchPacked E R₁ R₂ X (y a) (y b))) : |
| 42 | PackedRegroup.CM.Construction.IsAlgebraicEven X.variety (PackedRegroup.CM.Construction.packH1Cup (Betti.Scheme.schemePointSpace X.toOver) (r + 1) y) := by |
| 43 | let W : ComplexMultiplication.CMAbelianVariety.CM.AbelianVariety := Bridge.CM.Construction.bridgeProduct R₁.abelianVariety R₂.abelianVariety X |
| 44 | let f : W.toOver ⟶ X.toOver := Bridge.CM.Construction.bridgeBase R₁.abelianVariety R₂.abelianVariety X |
| 45 | let F : X.variety.complexCohomology 1 → W.variety.complexCohomology 1 := |
| 46 | Betti.Scheme.schemeBettiMap (ModuleCat.of ℂ ℂ) 1 f |
| 47 | obtain ⟨σ, u, hx, hy⟩ := SelectSlots.CM.Construction.select_two_slots_map F r a b hab x y hrest |
| 48 | have hp := (PackedPermutation.CM.Construction.packH1Cup_perm_algebraic_iff hexterior W (r + 1) x σ).mpr hprevious |
| 49 | rw [hx, PackedRegroup.CM.Construction.packH1Cup_evenAppend, PackedRegroup.CM.Construction.packH1Cup_pair, hxa, hxb] at hp |
| 50 | have hpull : PackedRegroup.CM.Construction.packH1Cup (Betti.Scheme.schemePointSpace W.toOver) r (F ∘ u) = |
| 51 | PackedRegroup.CM.Construction.evenPullback f (PackedRegroup.CM.Construction.packH1Cup (Betti.Scheme.schemePointSpace X.toOver) r u) := |
| 52 | (PackedRegroup.CM.Construction.evenPullback_H1Cup f r u).symm |
| 53 | rw [hpull] at hp |
| 54 | have hc := LocalTopSwitch.CM.Construction.local_switch_contraction h_Functoriality h_LineBundleCycles h_ThomClass h_PolarizedPairing hlefschetz E v₁ v₂ R₁ R₂ X |
| 55 | (PackedRegroup.CM.Construction.packH1Cup (Betti.Scheme.schemePointSpace X.toOver) r u) (y a) (y b) hp hswitch |
| 56 | apply (PackedPermutation.CM.Construction.packH1Cup_perm_algebraic_iff hexterior X (r + 1) y σ).mp |
| 57 | rw [hy, PackedRegroup.CM.Construction.packH1Cup_evenAppend, PackedRegroup.CM.Construction.packH1Cup_pair] |
| 58 | exact hc |
| 59 | |
| 60 | end |
| 61 | |
| 62 | end OAI.AlgebraicGeometry.HodgeConjecture.CMReduction.TwoSlots.CM.Construction |