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.IsogenyQuotient.PairingBaseChangeValues |
| 2 | import OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.Intrinsic.TorsionPairingBaseChange |
| 3 | import OAI.AlgebraicGeometry.Picard.PoincareBundle.Field.Extension |
| 4 | |
| 5 | /-! # Pairing Reflection -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Field.PairingReflection |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Alternation descends along the actual faithfully flat field |
| 12 | extension, including for points over arbitrary parameter schemes. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 15 | open scoped _root_.CategoryTheory.MonObj _root_.CategoryTheory.Obj |
| 16 | |
| 17 | attribute [local instance] AbelianScheme.IsogenyQuotient.PairingBaseChange.Construction.pulledbackGroup_commutative AbelianScheme.IsogenyQuotient.Intrinsic.TorsionBaseChange.Construction.nativeTorsionPullback_commutative |
| 18 | |
| 19 | universe u |
| 20 | |
| 21 | variable {k K : Type u} [Field k] [Field K] (s : Spec (.of K) ⟶ Spec (.of k)) |
| 22 | (G : Grp (Over (Spec (.of k)))) [IsCommMonObj G.X] |
| 23 | (e : AbelianScheme.IsogenyQuotient.Annihilator.Construction.SchemeBicharacter (A := G.X) (B := G.X) |
| 24 | (W := (AbelianScheme.CartierDuality.CharacterSheaf.Construction.Schemes.multiplicativeGroupOver (Spec (.of k))).X)) |
| 25 | |
| 26 | theorem alternating_of_field_pullback |
| 27 | (h : ∀ (T : Over (Spec (.of K))) (x : T ⟶ ((Over.pullback s).mapGrp.obj G).X), |
| 28 | (AbelianScheme.IsogenyQuotient.PairingBaseChange.Construction.nativePairingPullback s G G e).pairValue x x = 1) |
| 29 | (T : Over (Spec (.of k))) (x : T ⟶ G.X) : e.pairValue x x = 1 := by |
| 30 | have : Flat s := Picard.PoincareBundle.Field.Extension.flat s |
| 31 | have : Surjective s := Picard.PoincareBundle.Field.Extension.surjective s |
| 32 | have : IsAffineHom s := isAffineHom_of_isAffine _ |
| 33 | let U := (Over.pullback s).obj T |
| 34 | let p : (Over.map s).obj U ⟶ T := Over.homMk (pullback.fst T.hom s) pullback.condition |
| 35 | have : Epi p.left := inferInstanceAs (Epi (pullback.fst T.hom s)) |
| 36 | have : Epi p := Over.epi_of_epi_left p |
| 37 | have hx : (AbelianScheme.CartierDuality.CharacterBaseChange.Construction.Schemes.pullbackPointMulEquiv s G U).symm ((Over.pullback s).map x) = p ≫ x := by |
| 38 | apply Over.OverMorphism.ext |
| 39 | exact pullback.lift_fst _ _ _ |
| 40 | have he := (AbelianScheme.IsogenyQuotient.PairingBaseChangeValues.Construction.nativePairingPullback_eq_one_iff s G G e U |
| 41 | ((Over.pullback s).map x) ((Over.pullback s).map x)).mp |
| 42 | (h U ((Over.pullback s).map x)) |
| 43 | rw [hx] at he |
| 44 | apply (cancel_epi p).mp |
| 45 | exact (e.pairValue_natural p x x).symm.trans (he.trans (MonObj.comp_one p).symm) |
| 46 | |
| 47 | theorem torsion_alternating_of_field_pullback (n : ℕ) |
| 48 | (b : AbelianScheme.IsogenyQuotient.Annihilator.Construction.SchemeBicharacter (A := AbelianScheme.IsogenyQuotient.Torsion.Groups.Construction.nativeTorsionScheme G.X n) |
| 49 | (B := AbelianScheme.IsogenyQuotient.Torsion.Groups.Construction.nativeTorsionScheme G.X n) (W := (AbelianScheme.CartierDuality.CharacterSheaf.Construction.Schemes.multiplicativeGroupOver (Spec (.of k))).X)) |
| 50 | (h : ∀ (T : Over (Spec (.of K))) |
| 51 | (x : T ⟶ (AbelianScheme.IsogenyQuotient.Torsion.SheafComparison.Construction.kernelTorsionGroup ((Over.pullback s).mapGrp.obj G) n).X), |
| 52 | (AbelianScheme.IsogenyQuotient.Intrinsic.TorsionPairingBaseChange.Construction.nativeTorsionPairingPullback s G G n b).pairValue x x = 1) |
| 53 | (T : Over (Spec (.of k))) (x : T ⟶ AbelianScheme.IsogenyQuotient.Torsion.Groups.Construction.nativeTorsionScheme G.X n) : b.pairValue x x = 1 := by |
| 54 | apply alternating_of_field_pullback s (AbelianScheme.IsogenyQuotient.Torsion.SheafComparison.Construction.kernelTorsionGroup G n) b _ T x |
| 55 | intro U y |
| 56 | have hi : (AbelianScheme.IsogenyQuotient.Intrinsic.TorsionBaseChange.Construction.nativeTorsionBaseChangeGroupIso s G n).hom.hom.hom ≫ |
| 57 | (AbelianScheme.IsogenyQuotient.Intrinsic.TorsionBaseChange.Construction.nativeTorsionBaseChangeGroupIso s G n).inv.hom.hom = 𝟙 _ := |
| 58 | congrArg (fun a => (Grp.forget (Over (Spec (.of K)))).map a) |
| 59 | (AbelianScheme.IsogenyQuotient.Intrinsic.TorsionBaseChange.Construction.nativeTorsionBaseChangeGroupIso s G n).hom_inv_id |
| 60 | have hy := h U (y ≫ (AbelianScheme.IsogenyQuotient.Intrinsic.TorsionBaseChange.Construction.nativeTorsionBaseChangeGroupIso s G n).hom.hom.hom) |
| 61 | simpa only [AbelianScheme.IsogenyQuotient.Intrinsic.TorsionPairingBaseChange.Construction.nativeTorsionPairingPullback, AbelianScheme.IsogenyQuotient.Annihilator.Construction.SchemeBicharacter.restrict_pairValue, |
| 62 | Category.assoc, hi, Category.comp_id] using hy |
| 63 | |
| 64 | end |
| 65 | |
| 66 | end OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Field.PairingReflection |