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.NumberTheory.PadicHodge.IntegralComparison.Koszul.OrientedTopCohomology |
| 2 | |
| 3 | /-! # Section Coefficient -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Koszul.SectionCoefficient |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! A point quotient identified with the base has a canonical scalar |
| 10 | coordinate for every original top Koszul class. Its representative is |
| 11 | the ordered wedge functional with that literal base coefficient. -/ |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.HomologicalComplex |
| 13 | set_option backward.defeqAttrib.useBackward true |
| 14 | set_option backward.isDefEq.respectTransparency false |
| 15 | set_option backward.isDefEq.respectTransparency.types false |
| 16 | universe u |
| 17 | open OAI.NumberTheory.PadicHodge.IntegralComparison.Koszul.OrientedTopCohomology |
| 18 | variable (k A : Type u) [CommRing k] [CommRing A] [Algebra k A] |
| 19 | {n : ℕ} (s : Fin n → A) (e : (A ⧸ OrientedTopCohomology.ideal A s) ≃ₐ[k] k) |
| 20 | |
| 21 | def coefficient (x : (OrientedTopCohomology.dualComplex A s).homology n) : k := e ((OrientedTopCohomology.iso A s).hom x) |
| 22 | |
| 23 | def representative (x : (OrientedTopCohomology.dualComplex A s).homology n) : (OrientedTopCohomology.dualComplex A s).X n := |
| 24 | (OrientedTopCohomology.evaluation A s).symm (algebraMap k A (coefficient k A s e x)) |
| 25 | |
| 26 | theorem quotient_scalar (r : k) : e (Ideal.Quotient.mk (OrientedTopCohomology.ideal A s) (algebraMap k A r)) = r := by |
| 27 | change e (algebraMap k (A ⧸ OrientedTopCohomology.ideal A s) r) = r |
| 28 | exact e.commutes r |
| 29 | |
| 30 | theorem representative_evaluation (x : (OrientedTopCohomology.dualComplex A s).homology n) : |
| 31 | OrientedTopCohomology.evaluation A s (representative k A s e x) = algebraMap k A (coefficient k A s e x) := |
| 32 | (OrientedTopCohomology.evaluation A s).apply_symm_apply _ |
| 33 | |
| 34 | theorem cycle_representative (x : (OrientedTopCohomology.dualComplex A s).homology n) : |
| 35 | TopHomologyCokernel.cycleClass (OrientedTopCohomology.dualComplex A s) n (OrientedTopCohomology.outgoing_isZero A s) |
| 36 | (representative k A s e x) = x := by |
| 37 | apply (ConcreteCategory.bijective_of_isIso (OrientedTopCohomology.iso A s).hom).1 |
| 38 | have h := ConcreteCategory.congr_hom (OrientedTopCohomology.cycleClass_iso A s) (representative k A s e x) |
| 39 | change (OrientedTopCohomology.iso A s).hom |
| 40 | (TopHomologyCokernel.cycleClass (OrientedTopCohomology.dualComplex A s) n (OrientedTopCohomology.outgoing_isZero A s) |
| 41 | (representative k A s e x)) = Ideal.Quotient.mk (OrientedTopCohomology.ideal A s) |
| 42 | (OrientedTopCohomology.evaluation A s (representative k A s e x)) at h |
| 43 | rw [h, representative_evaluation] |
| 44 | apply e.injective |
| 45 | exact quotient_scalar k A s e (coefficient k A s e x) |
| 46 | |
| 47 | end |
| 48 | |
| 49 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Koszul.SectionCoefficient |