This project (Stafford38) · 1029fdb382eee06e7b59bcf32801f40931e2079a
1 module 2 public import Stafford38.Geometry.GeneralCoisotropicSets 3 public import Stafford38.Characteristic.PostScalarExtensionPoisson 4 public import Mathlib.Analysis.Complex.Polynomial.Basic 5 6 @[expose] public section 7 8 /-! 9 # Independent consumer for the set-level coisotropic exclusion 10 11 The consumer statements use the exported set theorem as their only geometric 12 input. Their interface is paper-facing: closedness and nonemptiness are 13 hypotheses on `W`, while fibre homogeneity is supplied by `IsFibreConical` 14 rather than by an explicit homogeneous-ideal hypothesis. The additional 15 Poisson import supplies product rules for the independent negative control. 16 -/ 17 18 namespace Stafford38.Geometry.GeneralCoisotropicSetsTest 19 20 open Stafford38.Characteristic 21 open Stafford38.Characteristic.BaseRelativePoisson 22 open Stafford38.Characteristic.PostScalarExtensionPoisson 23 open Stafford38.Geometry.FibreConicalVanishingIdeal 24 open Stafford38.Geometry.ConormalPrincipalOpenDensity 25 open Stafford38.Geometry.GeneralCoisotropicSets 26 open Stafford38.Geometry.LaurentConormalDirection 27 open Stafford38.Geometry.SmoothAffineConormal 28 29 noncomputable section 30 31 universe u 32 33 /-- The set-level component theorem exposes the manuscript's conormal 34 containment directly, without requiring a consumer to reconstruct the 35 vanishing-ideal dictionary. -/ 36 theorem exported_general_coisotropic_component_conormal_consumer 37 {k : Type u} [Field k] [IsAlgClosed k] [CharZero k] 38 {m : ℕ} 39 (W : Set (PhaseVar m → k)) 40 (hclosed : ∃ L : Ideal (SymbolRing k m), 41 W = MvPolynomial.zeroLocus k L) 42 (hW : IsFibreConical W) 43 (hpoisson : ∀ f ∈ MvPolynomial.vanishingIdeal k W, 44 ∀ g ∈ MvPolynomial.vanishingIdeal k W, 45 poissonBracket f g ∈ MvPolynomial.vanishingIdeal k W) 46 (P : Ideal (MvPolynomial (Fin m) k)) 47 (hP : P ∈ ((MvPolynomial.vanishingIdeal k W).comap 48 (Stafford38.Geometry.CoisotropicTranslation.baseLift : 49 MvPolynomial (Fin m) k →ₐ[k] SymbolRing k m).toRingHom).minimalPrimes) : 50 MvPolynomial.zeroLocus k 51 (MvPolynomial.vanishingIdeal k 52 (restrictedEquationConormalLocus P {y | SmoothAffinePoint P y})) ⊆ W := by 53 exact smoothConormalClosure_minimalPrime_subset_of_isFibreConical 54 W hclosed hW hpoisson P hP 55 56 /-- The exported arbitrary-set theorem is consumable at exactly its stated 57 hypotheses, independently of the implementation module. -/ 58 theorem exported_general_coisotropic_set_consumer 59 {k : Type u} [Field k] [IsAlgClosed k] [CharZero k] 60 {m : ℕ} (hm : 0 < m) 61 (W : Set (PhaseVar m → k)) 62 (hnonempty : W.Nonempty) 63 (hclosed : ∃ L : Ideal (SymbolRing k m), 64 W = MvPolynomial.zeroLocus k L) 65 (hW : IsFibreConical W) 66 (hpoisson : ∀ f ∈ MvPolynomial.vanishingIdeal k W, 67 ∀ g ∈ MvPolynomial.vanishingIdeal k W, 68 poissonBracket f g ∈ MvPolynomial.vanishingIdeal k W) 69 (P : MvPolynomial (Fin m) k) 70 (hP : fibreLift P ∈ MvPolynomial.vanishingIdeal k W) 71 (haxis : MvPolynomial.eval 72 (fun i : Fin m => if i = ⟨0, hm⟩ then (1 : k) else 0) P ≠ 0) : 73 ∃ q ∈ W, q (.inl ⟨0, hm⟩) = 0 := by 74 exact exists_zero_base_coordinate_of_isFibreConical 75 hm W hnonempty hclosed hW hpoisson P hP haxis 76 77 /-- The exclusion form used by the paper follows immediately and retains the 78 same arbitrary-set quantifiers. -/ 79 theorem false_of_exported_general_coisotropic_set_avoiding_hyperplane 80 {k : Type u} [Field k] [IsAlgClosed k] [CharZero k] 81 {m : ℕ} (hm : 0 < m) 82 (W : Set (PhaseVar m → k)) 83 (hnonempty : W.Nonempty) 84 (hclosed : ∃ L : Ideal (SymbolRing k m), 85 W = MvPolynomial.zeroLocus k L) 86 (hW : IsFibreConical W) 87 (hpoisson : ∀ f ∈ MvPolynomial.vanishingIdeal k W, 88 ∀ g ∈ MvPolynomial.vanishingIdeal k W, 89 poissonBracket f g ∈ MvPolynomial.vanishingIdeal k W) 90 (P : MvPolynomial (Fin m) k) 91 (hP : fibreLift P ∈ MvPolynomial.vanishingIdeal k W) 92 (haxis : MvPolynomial.eval 93 (fun i : Fin m => if i = ⟨0, hm⟩ then (1 : k) else 0) P ≠ 0) 94 (havoid : ∀ q ∈ W, q (.inl ⟨0, hm⟩) ≠ 0) : 95 False := by 96 obtain ⟨q, hq, hqcoord⟩ := exported_general_coisotropic_set_consumer 97 hm W hnonempty hclosed hW hpoisson P hP haxis 98 exact havoid q hq hqcoord 99 100 /-- The manuscript-facing statement over `ℂ`, with ordinary fibre scaling and 101 pointwise fibre-polynomial vanishing as its inputs. The exported theorem is 102 therefore checked through the definitions used by the paper rather than by 103 repeating its interface propositions as hypotheses. -/ 104 theorem exact_complex_manuscript_coisotropic_consumer 105 {n : ℕ} (hn : 0 < n) 106 (W : Set (PhaseVar n → ℂ)) 107 (hnonempty : W.Nonempty) 108 (hclosed : ∃ L : Ideal (SymbolRing ℂ n), 109 W = MvPolynomial.zeroLocus ℂ L) 110 (hscale : ∀ q ∈ W, ∀ a : ℂ, a ≠ 0 → 111 Sum.elim (fun i => q (.inl i)) (fun i => a * q (.inr i)) ∈ W) 112 (hbracket : ∀ f ∈ MvPolynomial.vanishingIdeal ℂ W, 113 ∀ g ∈ MvPolynomial.vanishingIdeal ℂ W, 114 poissonBracket f g ∈ MvPolynomial.vanishingIdeal ℂ W) 115 (P : MvPolynomial (Fin n) ℂ) 116 (hPpoint : ∀ q ∈ W, 117 MvPolynomial.eval (fun i => q (.inr i)) P = 0) 118 (haxis : MvPolynomial.eval 119 (fun i : Fin n => if i = ⟨0, hn⟩ then (1 : ℂ) else 0) P ≠ 0) 120 (havoid : ∀ q ∈ W, q (.inl ⟨0, hn⟩) ≠ 0) : 121 False := by 122 have hW : IsFibreConical W := hscale 123 have hP : fibreLift P ∈ MvPolynomial.vanishingIdeal ℂ W := by 124 rw [MvPolynomial.mem_vanishingIdeal_iff] 125 intro q hq 126 have hqP := hPpoint q hq 127 simpa [fibreLift, MvPolynomial.eval_rename, Function.comp_def] using hqP 128 exact false_of_exported_general_coisotropic_set_avoiding_hyperplane 129 hn W hnonempty hclosed hW hbracket P hP haxis havoid 130 131 /-! ## A negative control for the coisotropic hypothesis 132 133 The zero section in one-dimensional phase space has ideal `(ξ)`. It is 134 self-involutive, but it is not stable under bracketing with arbitrary ambient 135 polynomials because `{ξ, x} = -1`. -/ 136 137 def zeroSectionIdealOne (k : Type*) [Field k] : Ideal (SymbolRing k 1) := 138 Ideal.span {MvPolynomial.X (Sum.inr (0 : Fin 1) : PhaseVar 1)} 139 140 theorem zeroSectionIdealOne_isInvolutive 141 {k : Type*} [Field k] : 142 ∀ f ∈ zeroSectionIdealOne k, ∀ g ∈ zeroSectionIdealOne k, 143 poissonBracket f g ∈ zeroSectionIdealOne k := by 144 intro f hf g hg 145 change f ∈ Ideal.span 146 {MvPolynomial.X (Sum.inr (0 : Fin 1) : PhaseVar 1)} at hf 147 change g ∈ Ideal.span 148 {MvPolynomial.X (Sum.inr (0 : Fin 1) : PhaseVar 1)} at hg 149 rw [Ideal.mem_span_singleton] at hf hg 150 obtain ⟨a, ha⟩ := hf 151 obtain ⟨b, hb⟩ := hg 152 rw [ha, hb] 153 let I := zeroSectionIdealOne k 154 have hxi : MvPolynomial.X (Sum.inr (0 : Fin 1) : PhaseVar 1) ∈ I := 155 Ideal.mem_span_singleton_self _ 156 rw [PostScalarExtensionPoisson.poissonBracket_mul_left] 157 apply I.add_mem 158 · exact I.mul_mem_right _ hxi 159 · apply I.mul_mem_left 160 rw [PostScalarExtensionPoisson.poissonBracket_mul_right, 161 poissonBracket_self, mul_zero, add_zero] 162 exact I.mul_mem_right _ hxi 163 164 theorem zeroSectionIdealOne_not_isPoisson 165 {k : Type*} [Field k] : ¬ IsPoisson (zeroSectionIdealOne k) := by 166 intro hpoisson 167 have hxi : MvPolynomial.X (Sum.inr (0 : Fin 1) : PhaseVar 1) ∈ 168 zeroSectionIdealOne k := 169 Ideal.mem_span_singleton_self _ 170 have hbad := hpoisson 171 (MvPolynomial.X (Sum.inr (0 : Fin 1) : PhaseVar 1)) hxi 172 (MvPolynomial.X (Sum.inl (0 : Fin 1) : PhaseVar 1)) 173 have hnegone : (-1 : SymbolRing k 1) ∈ zeroSectionIdealOne k := by 174 simpa [poissonBracket, Pi.single_apply] using hbad 175 rw [zeroSectionIdealOne, Ideal.mem_span_singleton] at hnegone 176 rcases hnegone with ⟨a, ha⟩ 177 have ha0 := congrArg 178 (MvPolynomial.eval (fun _ : PhaseVar 1 => (0 : k))) ha 179 simpa using ha0 180 181 #print axioms exported_general_coisotropic_component_conormal_consumer 182 #print axioms exported_general_coisotropic_set_consumer 183 #print axioms false_of_exported_general_coisotropic_set_avoiding_hyperplane 184 #print axioms exact_complex_manuscript_coisotropic_consumer 185 #print axioms zeroSectionIdealOne_isInvolutive 186 #print axioms zeroSectionIdealOne_not_isPoisson 187 188 end 189 end Stafford38.Geometry.GeneralCoisotropicSetsTest 190