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.IntegralMatrixUnit |
| 2 | import OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.SubringBigCellDeterminant |
| 3 | |
| 4 | /-! # Pivot Choices -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Finite.PivotChoices.CM |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Local zero-one row corrections, chosen over the integer ring |
| 11 | where the original adelic matrix unit and its inverse are integral. -/ |
| 12 | |
| 13 | open scoped Classical _root_.Matrix |
| 14 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.IntegralMatrixUnit.CM |
| 15 | |
| 16 | variable {I : Type*} [Fintype I] |
| 17 | |
| 18 | def integralCorrection (A : (Matrix I I RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.AQf)ˣ) (v : RepresentationTheory.Theta.AdelicSupport.PoissonAutomorphyConstruction.FinitePlace) (hA : IntegralMatrixUnit.CM.IsIntegral A v) (i : I) : |
| 19 | I → v.adicCompletionIntegers ℚ := |
| 20 | (Local.MatrixPivot.CM.exists_binary_correction (IntegralMatrixUnit.CM.integralUnit A v hA) i).choose |
| 21 | |
| 22 | theorem integralCorrection_spec (A : (Matrix I I RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.AQf)ˣ) (v : RepresentationTheory.Theta.AdelicSupport.PoissonAutomorphyConstruction.FinitePlace) (hA : IntegralMatrixUnit.CM.IsIntegral A v) (i : I) : |
| 23 | integralCorrection A v hA i i = 0 ∧ |
| 24 | (∀ j, integralCorrection A v hA i j = 0 ∨ integralCorrection A v hA i j = 1) ∧ |
| 25 | IsUnit ((IntegralMatrixUnit.CM.integralUnit A v hA).val i i + |
| 26 | ∑ j, integralCorrection A v hA i j * (IntegralMatrixUnit.CM.integralUnit A v hA).val j i) := |
| 27 | (Local.MatrixPivot.CM.exists_binary_correction (IntegralMatrixUnit.CM.integralUnit A v hA) i).choose_spec |
| 28 | |
| 29 | def fieldCorrection (A : (Matrix I I RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.AQf)ˣ) (v : RepresentationTheory.Theta.AdelicSupport.PoissonAutomorphyConstruction.FinitePlace) (i : I) : I → v.adicCompletion ℚ := |
| 30 | (Local.MatrixPivot.CM.exists_binary_correction (IntegralMatrixUnit.CM.localUnit A v) i).choose |
| 31 | |
| 32 | theorem fieldCorrection_spec (A : (Matrix I I RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.AQf)ˣ) (v : RepresentationTheory.Theta.AdelicSupport.PoissonAutomorphyConstruction.FinitePlace) (i : I) : |
| 33 | fieldCorrection A v i i = 0 ∧ (∀ j, fieldCorrection A v i j = 0 ∨ fieldCorrection A v i j = 1) ∧ |
| 34 | IsUnit ((IntegralMatrixUnit.CM.localUnit A v).val i i + ∑ j, fieldCorrection A v i j * (IntegralMatrixUnit.CM.localUnit A v).val j i) := |
| 35 | (Local.MatrixPivot.CM.exists_binary_correction (IntegralMatrixUnit.CM.localUnit A v) i).choose_spec |
| 36 | |
| 37 | def correction (A : (Matrix I I RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.AQf)ˣ) (v : RepresentationTheory.Theta.AdelicSupport.PoissonAutomorphyConstruction.FinitePlace) (i : I) : I → v.adicCompletion ℚ := |
| 38 | if h : IntegralMatrixUnit.CM.IsIntegral A v then fun j => (integralCorrection A v h i j).val |
| 39 | else fieldCorrection A v i |
| 40 | |
| 41 | theorem correction_zero (A : (Matrix I I RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.AQf)ˣ) (v : RepresentationTheory.Theta.AdelicSupport.PoissonAutomorphyConstruction.FinitePlace) (i : I) : correction A v i i = 0 := by |
| 42 | unfold correction |
| 43 | split_ifs with h |
| 44 | · exact congrArg Subtype.val (integralCorrection_spec A v h i).1 |
| 45 | · exact (fieldCorrection_spec A v i).1 |
| 46 | |
| 47 | theorem correction_binary (A : (Matrix I I RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.AQf)ˣ) (v : RepresentationTheory.Theta.AdelicSupport.PoissonAutomorphyConstruction.FinitePlace) (i j : I) : |
| 48 | correction A v i j = 0 ∨ correction A v i j = 1 := by |
| 49 | unfold correction |
| 50 | split_ifs with h |
| 51 | · exact ((integralCorrection_spec A v h i).2.1 j).imp |
| 52 | (congrArg Subtype.val) (congrArg Subtype.val) |
| 53 | · exact (fieldCorrection_spec A v i).2.1 j |
| 54 | |
| 55 | def pivot (A : (Matrix I I RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.AQf)ˣ) (v : RepresentationTheory.Theta.AdelicSupport.PoissonAutomorphyConstruction.FinitePlace) (i : I) : v.adicCompletion ℚ := |
| 56 | (IntegralMatrixUnit.CM.localUnit A v).val i i + ∑ j, correction A v i j * (IntegralMatrixUnit.CM.localUnit A v).val j i |
| 57 | |
| 58 | def integralPivot (A : (Matrix I I RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.AQf)ˣ) (v : RepresentationTheory.Theta.AdelicSupport.PoissonAutomorphyConstruction.FinitePlace) (hA : IntegralMatrixUnit.CM.IsIntegral A v) (i : I) : |
| 59 | v.adicCompletionIntegers ℚ := |
| 60 | (IntegralMatrixUnit.CM.integralUnit A v hA).val i i + ∑ j, integralCorrection A v hA i j * (IntegralMatrixUnit.CM.integralUnit A v hA).val j i |
| 61 | |
| 62 | theorem integralPivot_map (A : (Matrix I I RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.AQf)ˣ) (v : RepresentationTheory.Theta.AdelicSupport.PoissonAutomorphyConstruction.FinitePlace) (hA : IntegralMatrixUnit.CM.IsIntegral A v) (i : I) : |
| 63 | (v.adicCompletionIntegers ℚ).subtype (integralPivot A v hA i) = pivot A v i := by |
| 64 | rw [integralPivot, map_add, map_sum, pivot, correction, dite_eq_left hA] |
| 65 | congr 1 |
| 66 | |
| 67 | theorem pivot_unit (A : (Matrix I I RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.AQf)ˣ) (v : RepresentationTheory.Theta.AdelicSupport.PoissonAutomorphyConstruction.FinitePlace) (i : I) : IsUnit (pivot A v i) := by |
| 68 | by_cases hA : IntegralMatrixUnit.CM.IsIntegral A v |
| 69 | · rw [← integralPivot_map A v hA i] |
| 70 | exact (integralCorrection_spec A v hA i).2.2.map (v.adicCompletionIntegers ℚ).subtype |
| 71 | · rw [pivot, correction, dite_eq_right hA] |
| 72 | exact (fieldCorrection_spec A v i).2.2 |
| 73 | |
| 74 | theorem inverse_integral (A : (Matrix I I RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.AQf)ˣ) (v : RepresentationTheory.Theta.AdelicSupport.PoissonAutomorphyConstruction.FinitePlace) (hA : IntegralMatrixUnit.CM.IsIntegral A v) (i : I) : |
| 75 | (pivot A v i)⁻¹ ∈ v.adicCompletionIntegers ℚ := by |
| 76 | rw [← integralPivot_map A v hA i] |
| 77 | exact SubringBigCellDeterminant.CM.inverse_mem (v.adicCompletionIntegers ℚ).toSubring |
| 78 | (integralPivot A v hA i) (integralCorrection_spec A v hA i).2.2 |
| 79 | |
| 80 | end |
| 81 | |
| 82 | end OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Finite.PivotChoices.CM |