introvoyz045's picture
Migrated from GitHub
4a56cd6 verified
Raw History Blame Contribute Delete
6.24 kB
import Mathlib
import OAI.AlgebraicGeometry.Seshadri.Interpolation.CompressionRanks
namespace OAI
section
namespace MaximalSeshadri.Interpolation
open scoped BigOperators Pointwise
open scoped BigOperators ContDiff
open Filter Topology
abbrev RowIndex {Q : Type*} (n : Q β†’ β„•) := (q : Q) Γ— Fin (n q + 1)
theorem compression_column_mem_span {Q : Type*} [Fintype Q]
(q : Q β†’ β„€) (B n : Q β†’ β„•) (r m : β„•) (points : Fin r β†’ β„‚ Γ— β„‚)
(s : β„‚) (hs : s β‰  0) (i : RowIndex n) :
finiteJetColumn r m points (fun u z => u ^ q i.1 *
((1 + s * z) ^ B i.1 * z ^ (i.2 : β„•))) ∈
Submodule.span β„‚ (Set.range fun j : RowIndex n => finiteJetColumn r m points
(fun u z => u ^ q j.1 * (1 + s * z) ^ (B j.1 + (j.2 : β„•)))) := by
let L := (polynomialJetMap r m points (q i.1)).comp (compressionRowMap s (B i.1))
have hp := polynomial_image_mem_span L
((Polynomial.C s⁻¹ * (Polynomial.X - 1)) ^ (i.2 : β„•)) (n i.1)
((compression_inverse_degree s i.2).trans (by omega))
have hv : L ((Polynomial.C s⁻¹ * (Polynomial.X - 1)) ^ (i.2 : β„•)) =
finiteJetColumn r m points (fun u z => u ^ q i.1 *
((1 + s * z) ^ B i.1 * z ^ (i.2 : β„•))) := by
dsimp only [L, LinearMap.comp_apply]
rw [compressionRowMap_inverse s hs, polynomialJetMap_eq]
congr 1
funext u z
simp
rw [hv] at hp
apply (Submodule.span_mono ?_) hp
rintro _ ⟨j, rfl⟩
refine ⟨⟨i.1, j⟩, ?_⟩
dsimp only [L, LinearMap.comp_apply]
rw [compressionRowMap_pow, polynomialJetMap_eq]
congr 1
funext u z
simp
theorem compression_rank_to_powers {Q : Type*} [Fintype Q]
(q : Q β†’ β„€) (B n : Q β†’ β„•) (r m : β„•) (points : Fin r β†’ β„‚ Γ— β„‚)
(s : β„‚) (hs : s β‰  0)
(h : LinearIndependent β„‚ (fun i : RowIndex n => finiteJetColumn r m points
(fun u z => u ^ q i.1 * ((1 + s * z) ^ B i.1 * z ^ (i.2 : β„•))))) :
LinearIndependent β„‚ (fun i : RowIndex n => finiteJetColumn r m points
(fun u z => u ^ q i.1 * (1 + s * z) ^ (B i.1 + (i.2 : β„•)))) := by
apply linearIndependent_of_span_le _ _ h
apply Submodule.span_le.mpr
rintro _ ⟨i, rfl⟩
exact compression_column_mem_span q B n r m points s hs i
theorem iteratedDeriv_affine_pow (s : β„‚) (b N : β„•) :
iteratedDeriv b (fun z : β„‚ => (1 + s * z) ^ N) =
fun z => s ^ b * iteratedDeriv b (fun z : β„‚ => z ^ N) (1 + s * z) := by
have hd : ContDiff β„‚ (b : β„•βˆžΟ‰) (fun z : β„‚ => (1 + z) ^ N) := by fun_prop
rw [show (fun z : β„‚ => (1 + s * z) ^ N) =
(fun z : β„‚ => (fun y : β„‚ => (1 + y) ^ N) (s * z)) by rfl,
iteratedDeriv_comp_const_mul hd s]
funext z
congr 1
exact congrFun (iteratedDeriv_comp_const_add b (fun z : β„‚ => z ^ N) 1) (s * z)
noncomputable def verticalJetScale (r m : β„•) (s : β„‚) :
(JetIndex r m β†’ β„‚) β†’β‚—[β„‚] (JetIndex r m β†’ β„‚) :=
LinearMap.pi fun j => (s ^ (j.2.2 : β„•)) β€’ LinearMap.proj j
theorem verticalJetScale_column (r m : β„•) (points : Fin r β†’ β„‚ Γ— β„‚)
(s : β„‚) (q : β„€) (N : β„•) :
verticalJetScale r m s
(finiteJetColumn r m (fun i => ((points i).1, 1 + s * (points i).2))
(fun u z => u ^ q * z ^ N)) =
finiteJetColumn r m points (fun u z => u ^ q * (1 + s * z) ^ N) := by
funext j
simp only [verticalJetScale, LinearMap.pi_apply, LinearMap.smul_apply,
LinearMap.proj_apply, smul_eq_mul, finiteJetColumn]
split_ifs
Β· simp only [mixed_deriv_separated, iteratedDeriv_affine_pow]
ring
Β· exact mul_zero _
theorem compression_powers_to_original {Q : Type*} [Fintype Q]
(q : Q β†’ β„€) (B n : Q β†’ β„•) (r m : β„•) (points : Fin r β†’ β„‚ Γ— β„‚) (s : β„‚)
(h : LinearIndependent β„‚ (fun i : RowIndex n => finiteJetColumn r m points
(fun u z => u ^ q i.1 * (1 + s * z) ^ (B i.1 + (i.2 : β„•))))) :
LinearIndependent β„‚ (fun i : RowIndex n =>
finiteJetColumn r m (fun i => ((points i).1, 1 + s * (points i).2))
(fun u z => u ^ q i.1 * z ^ (B i.1 + (i.2 : β„•)))) := by
apply LinearIndependent.of_comp (verticalJetScale r m s)
simpa only [Function.comp_def, verticalJetScale_column] using h
theorem affine_vertical_tuple_injective {r : β„•} (points : Fin r β†’ β„‚ Γ— β„‚)
(hi : Function.Injective points) (s : β„‚) (hs : s β‰  0) :
Function.Injective (fun i => ((points i).1, 1 + s * (points i).2)) := by
intro i j hij
apply hi
apply Prod.ext
Β· simpa only using congrArg (fun p : β„‚ Γ— β„‚ => p.1) hij
Β· have h := congrArg Prod.snd hij
exact (mul_left_cancelβ‚€ hs) (add_left_cancel h)
theorem compression_exists_tuple {Q : Type*} [Fintype Q]
(q : Q β†’ β„€) (B n : Q β†’ β„•) (r m : β„•) (points : Fin r β†’ β„‚ Γ— β„‚)
(hi : Function.Injective points) (hnz : βˆ€ i, (points i).1 β‰  0)
(hβ‚€ : LinearIndependent β„‚ (fun i : RowIndex n => finiteJetColumn r m points
(fun u z => u ^ q i.1 * z ^ (i.2 : β„•)))) :
βˆƒ p : Fin r β†’ β„‚ Γ— β„‚, Function.Injective p ∧
(βˆ€ i, (p i).1 β‰  0 ∧ (p i).2 β‰  0) ∧
LinearIndependent β„‚ (fun i : RowIndex n => finiteJetColumn r m p
(fun u z => u ^ q i.1 * z ^ (B i.1 + (i.2 : β„•)))) := by
have hrank := compression_finite_rank (fun i : RowIndex n => q i.1)
(fun i => B i.1) (fun i => (i.2 : β„•)) r m points hβ‚€
have hn : βˆ€αΆ  s : β„‚ in 𝓝 0, βˆ€ i, 1 + s * (points i).2 β‰  0 := by
apply Filter.eventually_all.mpr
intro i
have ht : Tendsto (fun s : β„‚ => 1 + s * (points i).2) (𝓝 0) (𝓝 1) := by
simpa using (tendsto_const_nhds : Tendsto (fun _ : β„‚ => (1 : β„‚)) (𝓝 0) (𝓝 1)).add
((tendsto_id : Tendsto (id : β„‚ β†’ β„‚) (𝓝 0) (𝓝 0)).mul_const (points i).2)
exact ht.eventually_ne one_ne_zero
have he : βˆ€αΆ  s : β„‚ in 𝓝[β‰ ] 0, s β‰  0 := eventually_mem_nhdsWithin
obtain ⟨s, hs, hrank, hn⟩ := (he.and
((hrank.and hn).filter_mono nhdsWithin_le_nhds)).exists
refine ⟨(fun i => ((points i).1, 1 + s * (points i).2)),
affine_vertical_tuple_injective points hi s hs, ?_, ?_⟩
Β· intro i
exact ⟨hnz i, hn i⟩
Β· exact compression_powers_to_original q B n r m points s
(compression_rank_to_powers q B n r m points s hs hrank)
end MaximalSeshadri.Interpolation
end
end OAI