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.AbelianScheme.TateComparison.Duality |
| 2 | |
| 3 | /-! # Relative Position Uniqueness -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianScheme.TateComparison.RelativePositionUniqueness |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! The supplied elementary-divisor uniqueness makes the ordinary |
| 10 | relative-position exponents intrinsic to the two actual lattices. -/ |
| 11 | |
| 12 | variable {R K : Type*} [CommRing R] [IsDomain R] [IsDiscreteValuationRing R] |
| 13 | [Field K] [Algebra R K] [IsFractionRing R K] |
| 14 | |
| 15 | omit [IsDomain R] [IsDiscreteValuationRing R] [IsFractionRing R K] in |
| 16 | theorem relativePosition_exponents_unique (hElementaryDivisors : Duality.ElementaryDivisorsInput R K) (π : R) (hπ : Irreducible π) |
| 17 | (L M : Duality.RankThreeLattice R K) (a b : Fin 3 → ℤ) (ha : Antitone a) (hb : Antitone b) |
| 18 | (hA : Duality.RelativePosition π a L M) (hB : Duality.RelativePosition π b L M) : a = b := by |
| 19 | obtain ⟨c, _, hc⟩ := hElementaryDivisors π hπ L.val M.val L.property M.property |
| 20 | have hca : (fun i => -a i) = c := hc _ ⟨fun _ _ hij => neg_le_neg (ha hij), hA⟩ |
| 21 | have hcb : (fun i => -b i) = c := hc _ ⟨fun _ _ hij => neg_le_neg (hb hij), hB⟩ |
| 22 | funext i |
| 23 | exact neg_inj.mp (congrFun (hca.trans hcb.symm) i) |
| 24 | |
| 25 | end |
| 26 | |
| 27 | end OAI.AlgebraicGeometry.AbelianScheme.TateComparison.RelativePositionUniqueness |