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.EvenAppend |
| 2 | import OAI.AlgebraicGeometry.HodgeConjecture.CMReduction.CupPermutation |
| 3 | import OAI.AlgebraicGeometry.HodgeConjecture.CMReduction.CanonicalExterior |
| 4 | import OAI.AlgebraicGeometry.HodgeConjecture.CMReduction.AmplePowers |
| 5 | import Mathlib.Logic.Equiv.Sum |
| 6 | |
| 7 | /-! # Pair Products -/ |
| 8 | |
| 9 | namespace OAI.AlgebraicGeometry.HodgeConjecture.CMReduction.PairProducts.CM.Construction |
| 10 | |
| 11 | noncomputable section |
| 12 | |
| 13 | /-! Arbitrarily many algebraic opposite pairs give an algebraic endpoint |
| 14 | tensor. A concrete index equivalence relates pair order to endpoint order. -/ |
| 15 | |
| 16 | open _root_.CategoryTheory |
| 17 | |
| 18 | def pairedIndexEquiv : (n : ℕ) → Fin (n + n) ≃ Fin n ⊕ Fin n |
| 19 | | 0 => Equiv.equivOfIsEmpty (Fin 0) (Fin 0 ⊕ Fin 0) |
| 20 | | n + 1 => |
| 21 | (finCongr (add_add_add_comm n n 1 1).symm).trans |
| 22 | (finSumFinEquiv.symm.trans |
| 23 | ((Equiv.sumCongr (pairedIndexEquiv n) |
| 24 | (finSumFinEquiv : Fin 1 ⊕ Fin 1 ≃ Fin (1 + 1)).symm).trans |
| 25 | ((Equiv.sumSumSumComm (Fin n) (Fin n) (Fin 1) (Fin 1)).trans |
| 26 | (Equiv.sumCongr finSumFinEquiv finSumFinEquiv)))) |
| 27 | |
| 28 | def pairedTuple {α : Type*} (n : ℕ) (x y : Fin n → α) : Fin (n + n) → α := |
| 29 | Sum.elim x y ∘ Construction.pairedIndexEquiv n |
| 30 | |
| 31 | theorem pairedTuple_succ {α : Type*} (n : ℕ) (x y : Fin (n + 1) → α) : |
| 32 | pairedTuple (n + 1) x y = EvenAppend.CM.Construction.evenAppend n 1 |
| 33 | (pairedTuple n (Fin.init x) (Fin.init y)) ![x (Fin.last n), y (Fin.last n)] := by |
| 34 | let e : Fin ((n + 1) + (n + 1)) ≃ Fin (n + n) ⊕ Fin (1 + 1) := |
| 35 | (finCongr (add_add_add_comm n n 1 1).symm).trans finSumFinEquiv.symm |
| 36 | funext i |
| 37 | obtain ⟨j, rfl⟩ := e.symm.surjective i |
| 38 | rcases j with j | j |
| 39 | · cases h : Construction.pairedIndexEquiv n j <;> |
| 40 | simp [pairedTuple, Construction.pairedIndexEquiv, EvenAppend.CM.Construction.evenAppend, e, h, Fin.init] <;> rfl |
| 41 | · fin_cases j |
| 42 | · simp [pairedTuple, Construction.pairedIndexEquiv, EvenAppend.CM.Construction.evenAppend, e, |
| 43 | show (finSumFinEquiv : Fin 1 ⊕ Fin 1 ≃ Fin 2).symm 0 = Sum.inl 0 from rfl] |
| 44 | rfl |
| 45 | · simp [pairedTuple, Construction.pairedIndexEquiv, EvenAppend.CM.Construction.evenAppend, e, |
| 46 | show (finSumFinEquiv : Fin 1 ⊕ Fin 1 ≃ Fin 2).symm 1 = Sum.inr 0 from rfl] |
| 47 | rfl |
| 48 | |
| 49 | theorem pairedTuple_reorder {α : Type*} (n : ℕ) (x y : Fin n → α) : |
| 50 | pairedTuple n x y ∘ (finSumFinEquiv.symm.trans (Construction.pairedIndexEquiv n).symm) = Fin.append x y := by |
| 51 | funext i |
| 52 | simp only [pairedTuple, Function.comp_apply, Equiv.trans_apply, Equiv.apply_symm_apply] |
| 53 | obtain ⟨j, rfl⟩ := (finSumFinEquiv : Fin n ⊕ Fin n ≃ Fin (n + n)).surjective i |
| 54 | rw [Equiv.symm_apply_apply] |
| 55 | cases j with |
| 56 | | inl j => exact (Fin.append_left x y j).symm |
| 57 | | inr j => exact (Fin.append_right x y j).symm |
| 58 | |
| 59 | theorem h1Cup_pairedTuple_algebraic (h_LineBundleCycles : CycleOperations.CM.Construction.LineBundleCyclesInput) (h_ThomClass : CycleOperations.CM.Construction.ExteriorInput) |
| 60 | (A : ComplexMultiplication.CMAbelianVariety.CM.AbelianVariety) (p : ℕ) (x y : Fin p → A.variety.complexCohomology 1) |
| 61 | (hpair : ∀ i, AlgebraicTopology.Products.CupCohomology.singularCohomologyCup (R := ℂ) (Betti.Scheme.schemePointSpace A.toOver) 1 1 (x i) (y i) ∈ |
| 62 | A.variety.complexGeometricAlgebraicClasses 1) : |
| 63 | IteratedCup.CM.Construction.h1Cup ℂ (Betti.Scheme.schemePointSpace A.toOver) (p + p) (pairedTuple p x y) ∈ |
| 64 | A.variety.complexGeometricAlgebraicClasses p := by |
| 65 | induction p with |
| 66 | | zero => |
| 67 | have hu := Descent.CM.Construction.rational_algebraic_complex_inclusion A.variety 0 _ (AmplePowers.CM.Construction.rational_unit_algebraic A.variety) |
| 68 | change AlgebraicTopology.Cohomology.Singular.RationalComplex.rationalToComplexCohomology (Betti.Scheme.schemePointSpace A.toOver) 0 |
| 69 | (AlgebraicTopology.Products.CupCohomologyAlgebra.singularCohomologyCupUnit (R := ℚ) (Betti.Scheme.schemePointSpace A.toOver)) ∈ _ at hu |
| 70 | rw [ComplexMultiplication.HodgeComparison.RationalCupUnit.CM.Construction.rationalToComplexCohomology_unit] at hu |
| 71 | exact hu |
| 72 | | succ p ih => |
| 73 | rw [pairedTuple_succ] |
| 74 | apply EvenAppend.CM.Construction.h1Cup_evenAppend_algebraic h_LineBundleCycles h_ThomClass A p 1 |
| 75 | · exact ih (Fin.init x) (Fin.init y) (fun i => hpair i.castSucc) |
| 76 | · rw [CupAppend.CM.Construction.h1Cup_two] |
| 77 | exact hpair (Fin.last p) |
| 78 | |
| 79 | theorem h1Cup_of_algebraic_pairs (hexterior : ComplexMultiplication.KnownExteriorCohomology.CM.KnownResults.AbelianExteriorCohomology) |
| 80 | (h_LineBundleCycles : CycleOperations.CM.Construction.LineBundleCyclesInput) (h_ThomClass : CycleOperations.CM.Construction.ExteriorInput) |
| 81 | (A : ComplexMultiplication.CMAbelianVariety.CM.AbelianVariety) (p : ℕ) (x y : Fin p → A.variety.complexCohomology 1) |
| 82 | (hpair : ∀ i, AlgebraicTopology.Products.CupCohomology.singularCohomologyCup (R := ℂ) (Betti.Scheme.schemePointSpace A.toOver) 1 1 (x i) (y i) ∈ |
| 83 | A.variety.complexGeometricAlgebraicClasses 1) : |
| 84 | IteratedCup.CM.Construction.h1Cup ℂ (Betti.Scheme.schemePointSpace A.toOver) (p + p) (Fin.append x y) ∈ |
| 85 | A.variety.complexGeometricAlgebraicClasses p := by |
| 86 | have h := CupPermutation.CM.Construction.h1Cup_perm_mem (CanonicalExterior.CM.Construction.canonicalExterior hexterior A) p (pairedTuple p x y) |
| 87 | (finSumFinEquiv.symm.trans (Construction.pairedIndexEquiv p).symm) |
| 88 | (h1Cup_pairedTuple_algebraic h_LineBundleCycles h_ThomClass A p x y hpair) |
| 89 | rwa [pairedTuple_reorder] at h |
| 90 | |
| 91 | end |
| 92 | |
| 93 | end OAI.AlgebraicGeometry.HodgeConjecture.CMReduction.PairProducts.CM.Construction |