File size: 7,402 Bytes
4a56cd6
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
import OAI.Geometry.ComplexTorus.RiemannProjectivity.HolomorphicRegularityAt
import Mathlib.Topology.MetricSpace.HausdorffDimension
import Mathlib.LinearAlgebra.Dimension.Constructions
import Mathlib.LinearAlgebra.Complex.FiniteDimensional

/-! # Generic Projection On -/

namespace OAI.Geometry.ComplexTorus.RiemannProjectivity.GenericProjectionOn.Constructions.GenericProjection

noncomputable section

/-!
# RiemannProjectivity: projections avoiding a parametrized projective cone

Matrices killing a normalized projective vector have one column determined
by the others. Their incidence parametrization has smaller real dimension
than the full matrix space when the target dimension exceeds the dimension
of the projective parameter space. Hausdorff dimension supplies a matrix
outside every bad incidence image.
-/

open Set Filter _root_.Metric _root_.Module
open scoped _root_.Topology BigOperators ENNReal

variable {V W : Type*} [NormedAddCommGroup V] [NormedSpace β„‚ V]
  [NormedSpace ℝ V] [IsScalarTower ℝ β„‚ V] [FiniteDimensional β„‚ V]
  [NormedAddCommGroup W] [NormedSpace β„‚ W] [FiniteDimensional β„‚ W]

/-- Holomorphic images of open sets have at most the real dimension of their domain. -/
theorem dimH_image_le_of_holomorphic {U : Set V} {f : V β†’ W}
    (hU : IsOpen U) (hf : DifferentiableOn β„‚ f U) :
    dimH (f '' U) ≀ finrank ℝ V := by
  let : FiniteDimensional ℝ V := FiniteDimensional.trans ℝ β„‚ V
  let : SecondCountableTopology V := inferInstance
  let : CompleteSpace W := FiniteDimensional.complete β„‚ W
  apply le_trans (dimH_image_le_of_locally_lipschitzOn ?_)
    ((dimH_mono (subset_univ U)).trans_eq (Real.dimH_univ_eq_finrank V))
  intro x hx
  obtain ⟨C, D, hD, hL⟩ :=
    (HolomorphicRegularityAt.Constructions.HolomorphicRegularity.contDiffAt_one_of_differentiableOn hU hf hx).exists_lipschitzOnWith
  exact ⟨C, D, mem_nhdsWithin_of_mem_nhds hD, hL⟩

variable {n k : β„•}

/-- Insert the unique column forced by annihilating a normalized vector. -/
def badMatrix (i : Fin (n + 1)) (r : V β†’ Fin n β†’ β„‚)
    (p : V Γ— (Fin n β†’ Fin k β†’ β„‚)) : Fin (n + 1) β†’ Fin k β†’ β„‚ :=
  i.insertNth (-βˆ‘ j, r p.1 j β€’ p.2 j) p.2

omit [NormedSpace ℝ V] [IsScalarTower ℝ β„‚ V] [FiniteDimensional β„‚ V] in
theorem differentiableOn_badMatrix (i : Fin (n + 1)) {U : Set V}
    {r : V β†’ Fin n β†’ β„‚} (hr : DifferentiableOn β„‚ r U) :
    DifferentiableOn β„‚ (badMatrix (k := k) i r) (U Γ—Λ’ univ) := by
  have hB : DifferentiableOn β„‚ (fun p : V Γ— (Fin n β†’ Fin k β†’ β„‚) => p.2)
      (U Γ—Λ’ univ) := differentiable_snd.differentiableOn
  apply differentiableOn_pi.mpr
  intro j
  refine Fin.succAboveCases i ?_ (fun l => ?_) j
  Β· simp only [badMatrix, Fin.insertNth_apply_same]
    apply DifferentiableOn.neg
    apply DifferentiableOn.fun_sum
    intro l _
    exact ((differentiableOn_pi.mp hr l).comp differentiable_fst.differentiableOn
      (fun p hp => hp.1)).smul
      (differentiableOn_pi.mp hB l)
  Β· simpa only [badMatrix, Fin.insertNth_apply_succAbove] using
      differentiableOn_pi.mp hB l

omit [NormedAddCommGroup V] [NormedSpace β„‚ V] [NormedSpace ℝ V]
  [IsScalarTower ℝ β„‚ V] [FiniteDimensional β„‚ V] in
/-- The incidence parametrization captures every matrix killing a vector in its chart. -/
theorem eq_badMatrix_of_annihilates (i : Fin (n + 1)) (r : V β†’ Fin n β†’ β„‚)
    (z : V) (v : Fin (n + 1) β†’ β„‚) (M : Fin (n + 1) β†’ Fin k β†’ β„‚)
    (hi : v i β‰  0) (hr : βˆ€ j, v (i.succAbove j) / v i = r z j)
    (hM : βˆ‘ j, v j β€’ M j = 0) :
    M = badMatrix i r (z, i.removeNth M) := by
  apply Fin.eq_insertNth_iff.mpr
  refine ⟨?_, rfl⟩
  have hsum : v i β€’ M i + βˆ‘ j : Fin n, v (i.succAbove j) β€’ M (i.succAbove j) = 0 := by
    rw [Fin.sum_univ_succAbove _ i] at hM
    exact hM
  have hnorm := congrArg (fun w : Fin k β†’ β„‚ => (v i)⁻¹ β€’ w) hsum
  simp only [smul_add, Finset.smul_sum, smul_smul, inv_mul_cancelβ‚€ hi, one_smul,
    smul_zero] at hnorm
  have heq : (βˆ‘ j : Fin n, ((v i)⁻¹ * v (i.succAbove j)) β€’ M (i.succAbove j)) =
      βˆ‘ j : Fin n, r z j β€’ i.removeNth M j := by
    apply Finset.sum_congr rfl
    intro j _
    rw [← hr j, div_eq_mul_inv, mul_comm]
    rfl
  rw [heq] at hnorm
  exact eq_neg_of_add_eq_zero_left hnorm

/-- Matrices outside all the bad projective incidence images are dense. -/
theorem dense_matrices_avoiding (hk : finrank β„‚ V < k)
    (U : Fin (n + 1) β†’ Set V) (r : Fin (n + 1) β†’ V β†’ Fin n β†’ β„‚)
    (hU : βˆ€ i, IsOpen (U i)) (hr : βˆ€ i, DifferentiableOn β„‚ (r i) (U i)) :
    Dense {M : Fin (n + 1) β†’ Fin k β†’ β„‚ |
      βˆ€ i z, z ∈ U i β†’ βˆ€ B, M β‰  badMatrix i (r i) (z, B)} := by
  let : FiniteDimensional ℝ V := FiniteDimensional.trans ℝ β„‚ V
  let B : Set (Fin (n + 1) β†’ Fin k β†’ β„‚) :=
    ⋃ i, badMatrix i (r i) '' (U i Γ—Λ’ univ)
  have hdim : dimH B ≀ (finrank ℝ (V Γ— (Fin n β†’ Fin k β†’ β„‚)) : ℝβ‰₯0∞) := by
    rw [show B = _ from rfl, dimH_iUnion]
    exact iSup_le fun i => dimH_image_le_of_holomorphic
      ((hU i).prod isOpen_univ) (differentiableOn_badMatrix i (hr i))
  have hlt : finrank ℝ (V Γ— (Fin n β†’ Fin k β†’ β„‚)) <
      finrank ℝ (Fin (n + 1) β†’ Fin k β†’ β„‚) := by
    have hV : finrank ℝ V = 2 * finrank β„‚ V := by
      rw [← Module.finrank_mul_finrank ℝ β„‚ V, Complex.finrank_real_complex]
    simp only [Module.finrank_prod, Module.finrank_pi_fintype,
      Complex.finrank_real_complex, Finset.sum_const, Finset.card_univ,
      Fintype.card_fin, nsmul_eq_mul, hV]
    nlinarith
  apply (dense_compl_of_dimH_lt_finrank
    (hdim.trans_lt (Nat.cast_lt.mpr hlt))).mono
  intro M hM i z hz C heq
  apply hM
  exact mem_iUnion.mpr ⟨i, ⟨(z, C), ⟨hz, mem_univ _⟩, heq.symm⟩⟩

/-- A matrix exists outside all the bad projective incidence images. -/
theorem exists_matrix_avoiding (hk : finrank β„‚ V < k)
    (U : Fin (n + 1) β†’ Set V) (r : Fin (n + 1) β†’ V β†’ Fin n β†’ β„‚)
    (hU : βˆ€ i, IsOpen (U i)) (hr : βˆ€ i, DifferentiableOn β„‚ (r i) (U i)) :
    βˆƒ M : Fin (n + 1) β†’ Fin k β†’ β„‚,
      βˆ€ i z, z ∈ U i β†’ βˆ€ B, M β‰  badMatrix i (r i) (z, B) :=
  (dense_matrices_avoiding hk U r hU hr).nonempty

/-- A linear projection has no nonzero kernel vector on the covered cone. -/
theorem exists_projection_avoiding (hk : finrank β„‚ V < k)
    (U : Fin (n + 1) β†’ Set V) (r : Fin (n + 1) β†’ V β†’ Fin n β†’ β„‚)
    (hU : βˆ€ i, IsOpen (U i)) (hr : βˆ€ i, DifferentiableOn β„‚ (r i) (U i))
    (S : Set (Fin (n + 1) β†’ β„‚))
    (hcover : βˆ€ v ∈ S, v β‰  0 β†’ βˆƒ i z, z ∈ U i ∧ v i β‰  0 ∧
      βˆ€ j, v (i.succAbove j) / v i = r i z j) :
    βˆƒ L : (Fin (n + 1) β†’ β„‚) β†’L[β„‚] (Fin k β†’ β„‚),
      βˆ€ v ∈ S, L v = 0 β†’ v = 0 := by
  obtain ⟨M, hM⟩ := exists_matrix_avoiding hk U r hU hr
  let L : (Fin (n + 1) β†’ β„‚) β†’β‚—[β„‚] (Fin k β†’ β„‚) :=
    { toFun := fun v => βˆ‘ j, v j β€’ M j
      map_add' := by intros; simp [add_smul, Finset.sum_add_distrib]
      map_smul' := by intros; simp [Finset.smul_sum, smul_smul] }
  refine ⟨L.toContinuousLinearMap, fun v hv hLv => ?_⟩
  by_contra hv0
  obtain ⟨i, z, hz, hi, hratio⟩ := hcover v hv hv0
  exact hM i z hz (i.removeNth M) (eq_badMatrix_of_annihilates i (r i) z v M hi hratio hLv)

end

end OAI.Geometry.ComplexTorus.RiemannProjectivity.GenericProjectionOn.Constructions.GenericProjection