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.PELKernelTypeInvariance |
| 2 | import OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.Intrinsic.PELSourceIso |
| 3 | |
| 4 | /-! # PEL Source Transport -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Paired |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! A complete source PEL isomorphism transports both actual maps of |
| 11 | a paired quotient. The reverse map, scalar identities, polarization, |
| 12 | and ordered marking are constructed and preserved. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 15 | open scoped _root_.CategoryTheory.MonObj |
| 16 | |
| 17 | set_option backward.isDefEq.respectTransparency false |
| 18 | set_option backward.isDefEq.respectTransparency.types false |
| 19 | |
| 20 | variable {E K : Type} [Field E] [NumberField E] [Algebra ℚ E] |
| 21 | [NumberField.IsCMField E] [Field K] |
| 22 | {s N n : ℕ} {P : Datum.RankThreePELDatum E s} {iota : E →+* K} |
| 23 | {T : Over (Spec (.of K))} {A B C : PEL.Objects.PELObject P iota N T} |
| 24 | |
| 25 | def PELSourceTransport.pelQuotientPostcompose (f : AbelianScheme.IsogenyQuotient.Intrinsic.PELBaseChange.Construction.NativePELQuotient A B n) (e : PEL.Objects.PELIso B C) : |
| 26 | AbelianScheme.IsogenyQuotient.Intrinsic.PELBaseChange.Construction.NativePELQuotient A C n := by |
| 27 | let : IsIso e.polarized.abelian.hom.left := (Over.forget T.left).map_isIso e.polarized.abelian.hom |
| 28 | let : Etale f.isogeny.hom.left := f.etale |
| 29 | refine { |
| 30 | isogeny := { |
| 31 | hom := f.isogeny.hom ≫ e.polarized.abelian.hom |
| 32 | preservesGroup := inferInstance |
| 33 | finite := inferInstanceAs (IsFinite (f.isogeny.hom.left ≫ e.polarized.abelian.hom.left)) |
| 34 | flat := inferInstanceAs (Flat (f.isogeny.hom.left ≫ e.polarized.abelian.hom.left)) |
| 35 | surjective := inferInstanceAs (Surjective (f.isogeny.hom.left ≫ e.polarized.abelian.hom.left)) } |
| 36 | etale := inferInstanceAs (Etale (f.isogeny.hom.left ≫ e.polarized.abelian.hom.left)) |
| 37 | polarization := ?_ |
| 38 | action := ?_ |
| 39 | marking := ?_ } |
| 40 | · rw [AbelianScheme.FrobeniusKernel.SourceTransport.Construction.polarizationPullbackHom_composition f.isogeny.hom e.polarized.abelian.hom |
| 41 | A.polarized.dual B.polarized.dual C.polarized.dual C.polarized.polarization, |
| 42 | AbelianScheme.FrobeniusKernel.SourceTransport.Construction.levelIso_polarization_pullback e.polarized] |
| 43 | exact f.polarization |
| 44 | · intro a |
| 45 | change (f.isogeny.hom ≫ e.polarized.abelian.hom) ≫ C.action.map a = |
| 46 | A.action.map a ≫ (f.isogeny.hom ≫ e.polarized.abelian.hom) |
| 47 | rw [Category.assoc, ← e.action, ← Category.assoc, f.action, Category.assoc] |
| 48 | · intro X c |
| 49 | change (A.polarized.level.hom.app (.op X) c).val ≫ |
| 50 | (f.isogeny.hom ≫ e.polarized.abelian.hom) = _ |
| 51 | rw [← Category.assoc, f.marking, e.polarized.level] |
| 52 | |
| 53 | def PELQuotients.PairedPELQuotient.precompose (f : PELQuotients.PairedPELQuotient A B n) (e : PEL.Objects.PELIso C A) : |
| 54 | PELQuotients.PairedPELQuotient C B n where |
| 55 | forward := f.forward.precompose e |
| 56 | reverse := PELSourceTransport.pelQuotientPostcompose f.reverse e.symm |
| 57 | forward_reverse := by |
| 58 | change (e.polarized.abelian.hom ≫ f.forward.isogeny.hom) ≫ |
| 59 | (f.reverse.isogeny.hom ≫ e.polarized.abelian.inv) = (𝟙 C.polarized.abelian.scheme) ^ n |
| 60 | calc |
| 61 | _ = e.polarized.abelian.hom ≫ |
| 62 | (f.forward.isogeny.hom ≫ f.reverse.isogeny.hom) ≫ e.polarized.abelian.inv := by |
| 63 | simp only [Category.assoc] |
| 64 | _ = e.polarized.abelian.hom ≫ ((𝟙 A.polarized.abelian.scheme) ^ n) ≫ |
| 65 | e.polarized.abelian.inv := by rw [f.forward_reverse] |
| 66 | _ = (e.polarized.abelian.hom ≫ e.polarized.abelian.inv) ^ n := by |
| 67 | rw [MonObj.pow_comp, MonObj.comp_pow, Category.id_comp] |
| 68 | _ = (𝟙 C.polarized.abelian.scheme) ^ n := by rw [e.polarized.abelian.hom_inv_id] |
| 69 | reverse_forward := by |
| 70 | change (f.reverse.isogeny.hom ≫ e.polarized.abelian.inv) ≫ |
| 71 | (e.polarized.abelian.hom ≫ f.forward.isogeny.hom) = (𝟙 B.polarized.abelian.scheme) ^ n |
| 72 | rw [Category.assoc, ← Category.assoc e.polarized.abelian.inv, |
| 73 | e.polarized.abelian.inv_hom_id, Category.id_comp, f.reverse_forward] |
| 74 | |
| 75 | def PELQuotients.PairedPELQuotient.precomposeIso (f : PELQuotients.PairedPELQuotient A B n) (e : PEL.Objects.PELIso C A) : |
| 76 | PELFunctor.PairedPELQuotientIso (f.precompose e) f where |
| 77 | source := e |
| 78 | target := PEL.Objects.PELIso.refl B |
| 79 | forward_square := by |
| 80 | change (e.polarized.abelian.hom ≫ f.forward.isogeny.hom) ≫ 𝟙 B.polarized.abelian.scheme = |
| 81 | e.polarized.abelian.hom ≫ f.forward.isogeny.hom |
| 82 | exact Category.comp_id _ |
| 83 | |
| 84 | end |
| 85 | |
| 86 | end OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Paired |