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.BigCellChoices |
| 2 | |
| 3 | /-! # Symplectic Big Cell -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Finite.SymplecticBigCell.CM |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Assemble integral local symmetric corrections into an actual |
| 10 | finite-adelic correction. The determinant has an adelic inverse, so |
| 11 | the corrected upper-left block is invertible over the adelic ring. -/ |
| 12 | |
| 13 | open scoped Classical RestrictedProduct _root_.Matrix |
| 14 | open Filter |
| 15 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Finite.SymplecticLocal.CM |
| 16 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Finite.BigCellChoices.CM |
| 17 | |
| 18 | variable {I : Type*} [Fintype I] |
| 19 | |
| 20 | def adelicCorrection (g : RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.Sp I RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.AQf) : Matrix I I RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.AQf := fun i j => |
| 21 | ⟨fun v => BigCellChoices.CM.correction g v i j, |
| 22 | (SymplecticLocal.CM.eventually_integral g).mono (fun v hv => BigCellChoices.CM.correction_integral g v hv i j)⟩ |
| 23 | |
| 24 | theorem adelicCorrection_symmetric (g : RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.Sp I RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.AQf) : (adelicCorrection g).IsSymm := by |
| 25 | apply Matrix.ext |
| 26 | intro i j |
| 27 | apply DFunLike.ext |
| 28 | intro v |
| 29 | exact congrFun (congrFun (BigCellChoices.CM.correction_symmetric g v) i) j |
| 30 | |
| 31 | theorem adelicCorrection_eval (g : RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.Sp I RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.AQf) (v : RepresentationTheory.Theta.AdelicSupport.PoissonAutomorphyConstruction.FinitePlace) : |
| 32 | (adelicCorrection g).map (SymplecticLocal.CM.localEval v) = BigCellChoices.CM.correction g v := rfl |
| 33 | |
| 34 | def determinant (g : RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.Sp I RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.AQf) : RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.AQf := |
| 35 | (g.val.toBlocks₁₁ + adelicCorrection g * g.val.toBlocks₂₁).det |
| 36 | |
| 37 | theorem determinant_eval (g : RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.Sp I RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.AQf) (v : RepresentationTheory.Theta.AdelicSupport.PoissonAutomorphyConstruction.FinitePlace) : |
| 38 | SymplecticLocal.CM.localEval v (determinant g) = BigCellChoices.CM.correctedDeterminant g v := by |
| 39 | unfold determinant |
| 40 | rw [RingHom.map_det, map_add, map_mul] |
| 41 | rfl |
| 42 | |
| 43 | def inverseDeterminant (g : RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.Sp I RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.AQf) : RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.AQf := |
| 44 | ⟨fun v => (BigCellChoices.CM.correctedDeterminant g v)⁻¹, |
| 45 | (SymplecticLocal.CM.eventually_integral g).mono (fun v hv => BigCellChoices.CM.inverse_integral g v hv)⟩ |
| 46 | |
| 47 | theorem determinant_mul_inverse (g : RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.Sp I RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.AQf) : determinant g * inverseDeterminant g = 1 := by |
| 48 | apply DFunLike.ext |
| 49 | intro v |
| 50 | change SymplecticLocal.CM.localEval v (determinant g) * (BigCellChoices.CM.correctedDeterminant g v)⁻¹ = 1 |
| 51 | rw [determinant_eval] |
| 52 | exact mul_inv_cancel₀ (BigCellChoices.CM.correctedDeterminant_unit g v).ne_zero |
| 53 | |
| 54 | def determinantUnit (g : RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.Sp I RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.AQf) : RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.AQfˣ where |
| 55 | val := determinant g |
| 56 | inv := inverseDeterminant g |
| 57 | val_inv := determinant_mul_inverse g |
| 58 | inv_val := by rw [mul_comm]; exact determinant_mul_inverse g |
| 59 | |
| 60 | theorem exists_big_cell (g : RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.Sp I RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.AQf) : |
| 61 | ∃ B : Matrix I I RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.AQf, B.IsSymm ∧ |
| 62 | IsUnit (g.val.toBlocks₁₁ + B * g.val.toBlocks₂₁).det := |
| 63 | ⟨adelicCorrection g, adelicCorrection_symmetric g, ⟨determinantUnit g, rfl⟩⟩ |
| 64 | |
| 65 | end |
| 66 | |
| 67 | end OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Finite.SymplecticBigCell.CM |