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.HeckeCycles.Finite.PivotChoices |
| 2 | import OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Adelic.Units |
| 3 | |
| 4 | /-! # Matrix Pivot -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Finite.MatrixPivot.CM |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Assemble local zero-one row corrections into an adelic row |
| 11 | correction whose pivot is an actual unit of the finite adelic ring. -/ |
| 12 | |
| 13 | open scoped Classical _root_.Matrix RestrictedProduct |
| 14 | open Filter |
| 15 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Finite.PivotChoices.CM |
| 16 | |
| 17 | variable {I : Type*} [Fintype I] |
| 18 | |
| 19 | def rowCorrection (A : (Matrix I I RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.AQf)ˣ) (i : I) : I → RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.AQf := fun j => |
| 20 | ⟨fun v => PivotChoices.CM.correction A v i j, Filter.Eventually.of_forall fun v => by |
| 21 | dsimp only |
| 22 | rcases PivotChoices.CM.correction_binary A v i j with h | h |
| 23 | · rw [h]; exact (v.adicCompletionIntegers ℚ).zero_mem |
| 24 | · rw [h]; exact (v.adicCompletionIntegers ℚ).one_mem⟩ |
| 25 | |
| 26 | theorem rowCorrection_zero (A : (Matrix I I RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.AQf)ˣ) (i : I) : rowCorrection A i i = 0 := by |
| 27 | apply DFunLike.ext |
| 28 | intro v |
| 29 | exact PivotChoices.CM.correction_zero A v i |
| 30 | |
| 31 | def pivotValue (A : (Matrix I I RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.AQf)ˣ) (i : I) : RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.AQf := |
| 32 | A.val i i + ∑ j, rowCorrection A i j * A.val j i |
| 33 | |
| 34 | theorem pivotValue_eval (A : (Matrix I I RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.AQf)ˣ) (i : I) (v : RepresentationTheory.Theta.AdelicSupport.PoissonAutomorphyConstruction.FinitePlace) : |
| 35 | SymplecticLocal.CM.localEval v (pivotValue A i) = PivotChoices.CM.pivot A v i := by |
| 36 | rw [pivotValue, map_add, map_sum] |
| 37 | change A.val i i v + _ = (IntegralMatrixUnit.CM.localUnit A v).val i i + _ |
| 38 | congr 1 |
| 39 | |
| 40 | theorem pivotValue_unit (A : (Matrix I I RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.AQf)ˣ) (i : I) : IsUnit (pivotValue A i) := by |
| 41 | apply Adelic.Units.CM.isUnit_of_local |
| 42 | · intro v |
| 43 | change SymplecticLocal.CM.localEval v (pivotValue A i) ≠ 0 |
| 44 | rw [pivotValue_eval] |
| 45 | exact (PivotChoices.CM.pivot_unit A v i).ne_zero |
| 46 | · filter_upwards [IntegralMatrixUnit.CM.eventually_integral A] with v hv |
| 47 | change (SymplecticLocal.CM.localEval v (pivotValue A i))⁻¹ ∈ v.adicCompletionIntegers ℚ |
| 48 | rw [pivotValue_eval] |
| 49 | exact PivotChoices.CM.inverse_integral A v hv i |
| 50 | |
| 51 | theorem exists_row_correction (A : (Matrix I I RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.AQf)ˣ) (i : I) : |
| 52 | ∃ c : I → RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.AQf, c i = 0 ∧ IsUnit (A.val i i + ∑ j, c j * A.val j i) := |
| 53 | ⟨rowCorrection A i, rowCorrection_zero A i, pivotValue_unit A i⟩ |
| 54 | |
| 55 | end |
| 56 | |
| 57 | end OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Finite.MatrixPivot.CM |