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.AbelianModuli.ReferenceFamily.Paired.PELQuotients |
| 2 | import OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.TotalParameters |
| 3 | |
| 4 | /-! # Source Parameter Relabel -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.PEL |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Viewing an existing base through its source map changes only the |
| 11 | recorded structural morphism to the ground field. The actual abelian |
| 12 | schemes, actions, pairings, isogenies, and ordered levels are retained. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 15 | |
| 16 | set_option backward.isDefEq.respectTransparency false |
| 17 | set_option backward.isDefEq.respectTransparency.types false |
| 18 | |
| 19 | open OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.TotalParameters.Construction |
| 20 | |
| 21 | variable {E K : Type} [Field E] [NumberField E] [Algebra ℚ E] |
| 22 | [NumberField.IsCMField E] [Field K] |
| 23 | {s N n : ℕ} {P : Datum.RankThreePELDatum E s} {iota : E →+* K} |
| 24 | {T X : Over (Spec (.of K))} |
| 25 | |
| 26 | def Objects.PELObject.overSourceParameter (B : Objects.PELObject P iota N X) (t : X ⟶ T) : |
| 27 | Objects.PELObject P iota N (AbelianScheme.IsogenyQuotient.TotalParameters.Construction.totalParameter T (Over.mk t.left)) where |
| 28 | polarized := B.polarized |
| 29 | action := B.action |
| 30 | rosati := B.rosati |
| 31 | lieRanks := by |
| 32 | intro F _ _ j p hp τ |
| 33 | apply B.lieRanks F j p |
| 34 | change p ≫ (t.left ≫ T.hom) = _ at hp |
| 35 | erw [t.w] at hp |
| 36 | exact hp |
| 37 | |
| 38 | def SourceParameterRelabel.pairedPELOverSourceParameter {A : Objects.PELObject P iota N T} |
| 39 | {B : Objects.PELObject P iota N X} (t : X ⟶ T) |
| 40 | (f : Paired.PELQuotients.PairedPELQuotient (A.pullback t) B n) : |
| 41 | Paired.PELQuotients.PairedPELQuotient (A.pullback (AbelianScheme.IsogenyQuotient.TotalParameters.Construction.totalParameterSource T (Over.mk t.left))) |
| 42 | (B.overSourceParameter t) n where |
| 43 | forward := { |
| 44 | isogeny := f.forward.isogeny |
| 45 | etale := f.forward.etale |
| 46 | polarization := f.forward.polarization |
| 47 | action := f.forward.action |
| 48 | marking := f.forward.marking } |
| 49 | reverse := { |
| 50 | isogeny := f.reverse.isogeny |
| 51 | etale := f.reverse.etale |
| 52 | polarization := f.reverse.polarization |
| 53 | action := f.reverse.action |
| 54 | marking := f.reverse.marking } |
| 55 | forward_reverse := f.forward_reverse |
| 56 | reverse_forward := f.reverse_forward |
| 57 | |
| 58 | theorem SourceParameterRelabel.pairedPELOverSourceParameter_forward_hom {A : Objects.PELObject P iota N T} |
| 59 | {B : Objects.PELObject P iota N X} (t : X ⟶ T) |
| 60 | (f : Paired.PELQuotients.PairedPELQuotient (A.pullback t) B n) : |
| 61 | (SourceParameterRelabel.pairedPELOverSourceParameter t f).forward.isogeny.hom = f.forward.isogeny.hom := rfl |
| 62 | |
| 63 | end |
| 64 | |
| 65 | end OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.PEL |