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.Picard.ThetaConstruction.PolarizationTypeData |
| 2 | import OAI.AlgebraicGeometry.Picard.ThetaConstruction.IntegralDualLe |
| 3 | |
| 4 | /-! # Marked Discriminant -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Picard.ThetaConstruction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The actual integral-dual discriminant is identified with the |
| 11 | cokernel of the fixed marked integer form, and hence its fixed type. -/ |
| 12 | |
| 13 | section |
| 14 | open OAI.AlgebraicGeometry.Picard.ThetaConstruction.PolarizationTypeData.Geometric |
| 15 | |
| 16 | variable {g : ℕ} {E : DefinitionsIntegral.IntegralMatrix g} (T : DefinitionsIntegral.MarkedPolarizedTorus g E) |
| 17 | |
| 18 | def DefinitionsIntegral.MarkedPolarizedTorus.markedDualEquiv : T.integralDualLattice ≃ₗ[ℤ] ((DefinitionsIntegral.Index g → ℤ) →ₗ[ℤ] ℤ) := |
| 19 | T.integralDualEquiv.trans (DefinitionsIntegral.Geometric.integralMarkingEquiv T).dualMap |
| 20 | |
| 21 | theorem DefinitionsIntegral.MarkedPolarizedTorus.markedDualEquiv_inclusion (l : (ProjectivePeriodData.Geometric.projectivePeriodData T).periodIntegerLattice) |
| 22 | (n : DefinitionsIntegral.Index g → ℤ) : |
| 23 | T.markedDualEquiv (T.integralDualInclusion l) n = |
| 24 | Matrix.toBilin' E ((DefinitionsIntegral.Geometric.integralMarkingEquiv T).symm l) n := by |
| 25 | let n' : (ProjectivePeriodData.Geometric.projectivePeriodData T).periodIntegerLattice := DefinitionsIntegral.Geometric.integralMarkingEquiv T n |
| 26 | calc |
| 27 | T.markedDualEquiv (T.integralDualInclusion l) n = |
| 28 | T.integralDualEquiv (T.integralDualInclusion l) n' := rfl |
| 29 | _ = DefinitionsIntegral.Geometric.integralLatticeForm T l n' := T.integralDualEquiv_inclusion l n' |
| 30 | _ = Matrix.toBilin' E ((DefinitionsIntegral.Geometric.integralMarkingEquiv T).symm l) n := by |
| 31 | change Matrix.toBilin' E ((DefinitionsIntegral.Geometric.integralMarkingEquiv T).symm l) |
| 32 | ((DefinitionsIntegral.Geometric.integralMarkingEquiv T).symm (DefinitionsIntegral.Geometric.integralMarkingEquiv T n)) = _ |
| 33 | exact congrArg (fun v => Matrix.toBilin' E ((DefinitionsIntegral.Geometric.integralMarkingEquiv T).symm l) v) |
| 34 | ((DefinitionsIntegral.Geometric.integralMarkingEquiv T).symm_apply_apply n) |
| 35 | |
| 36 | def DefinitionsIntegral.MarkedPolarizedTorus.markedDiscriminantEquiv : |
| 37 | (T.integralDualLattice ⧸ T.integralDualInclusion.range) ≃ₗ[ℤ] |
| 38 | (((DefinitionsIntegral.Index g → ℤ) →ₗ[ℤ] ℤ) ⧸ (Matrix.toBilin' E).range) := |
| 39 | Submodule.Quotient.equiv _ _ T.markedDualEquiv (by |
| 40 | rw [← LinearMap.range_comp] |
| 41 | ext f |
| 42 | constructor |
| 43 | · rintro ⟨l, rfl⟩ |
| 44 | refine ⟨(DefinitionsIntegral.Geometric.integralMarkingEquiv T).symm l, ?_⟩ |
| 45 | apply LinearMap.ext |
| 46 | intro n |
| 47 | exact (T.markedDualEquiv_inclusion l n).symm |
| 48 | · rintro ⟨n, rfl⟩ |
| 49 | refine ⟨DefinitionsIntegral.Geometric.integralMarkingEquiv T n, ?_⟩ |
| 50 | apply LinearMap.ext |
| 51 | intro m |
| 52 | exact (T.markedDualEquiv_inclusion (DefinitionsIntegral.Geometric.integralMarkingEquiv T n) m).trans |
| 53 | (congrArg (fun v => Matrix.toBilin' E v m) ((DefinitionsIntegral.Geometric.integralMarkingEquiv T).symm_apply_apply n))) |
| 54 | |
| 55 | def DefinitionsIntegral.MarkedPolarizedTorus.discriminantTypeEquiv (D : PolarizationTypeData.Geometric.IntegralPolarizationType E) : |
| 56 | (T.integralDualLattice ⧸ T.integralDualInclusion.range) ≃+ |
| 57 | ((∀ i : Fin g, ZMod (D.elementaryDivisors i)) × |
| 58 | (∀ i : Fin g, ZMod (D.elementaryDivisors i))) := |
| 59 | T.markedDiscriminantEquiv.toAddEquiv.trans D.cokernel |
| 60 | |
| 61 | end |
| 62 | |
| 63 | namespace MarkedDiscriminant.Geometric.MarkedPolarizedTorus |
| 64 | |
| 65 | end MarkedDiscriminant.Geometric.MarkedPolarizedTorus |
| 66 | |
| 67 | end |
| 68 | |
| 69 | end OAI.AlgebraicGeometry.Picard.ThetaConstruction |