File size: 3,195 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 | import Mathlib
import OAI.Geometry.Borsuk.LocalParity.LocalModel
import OAI.Geometry.Borsuk.MatrixGeometry.BlockParts
namespace OAI
open Set MeasureTheory
namespace BorsukNine
open scoped MatrixOrder Matrix.Norms.L2Operator RealInnerProductSpace
section ModelRay
variable {k : β} {Ξ½ ΞΉ : Type*} [Fintype Ξ½] [DecidableEq Ξ½] [Nonempty Ξ½] [Fintype ΞΉ] [DecidableEq ΞΉ]
local notation "E" => EuclideanSpace β Ξ½
local notation "W" => EuclideanSpace β (Fin k)
local notation "M" => Matrix Ξ½ Ξ½ β
lemma Admissible.localBlockModel_ray {f : E β ΞΉ β β} (hf : Admissible f)
{c : E} (hc : βcβ = 1) (e : W ββα΅’[β] E) (he : β v, βͺc,e vβ« = 0)
(hes : β u, βͺc,uβ« = 0 β β v, e v = u)
{I : Finset ΞΉ} (a : Fin (k+1) β β₯I) (hIc : positiveSupport f c = I)
(D : W βL[β] W) {A : M} (hA : IsSelfAdjoint A)
{y : ΞΉ β β} {rho d : β} (hr : 0 < rho) (hd : 0 < d)
(hyi : β i β I, y i = rho * f c i) (hyo : β i β I, y i β€ 0)
(hM : localBlockModel f c e a D A = d β’ y) :
blockOff c e A = 0 β§ 0 < blockScalar c A β§
localBlockModel f c e a D A = signedExtension f A β§
AβΊ = blockScalar c A β’ rankOne c := by
have hp : β i β I, 0 < f c i := fun i hi => (mem_positiveSupport f c i).mp (hIc.symm βΈ hi)
have hfo : β i β I, f c i = 0 := by
intro i hi
apply le_antisymm _ (hf.nonneg c hc i)
exact le_of_not_gt (fun h => hi (hIc βΈ (mem_positiveSupport f c i).mpr h))
have hs : β i β I, f c i = 1 := by
rw [β hf.sum_one c hc]
exact Finset.sum_subset (Finset.subset_univ I) (fun i _ hi => hfo i hi)
have ha : blockScalar c A = d*rho := by
rw [β hf.localBlockModel_sum_facet hc e he a hIc D hA,hM]
simp only [Pi.smul_apply,smul_eq_mul]
calc
_ = β i β I, d * (rho * f c i) := Finset.sum_congr rfl (fun i hi => by rw [hyi i hi])
_ = _ := by simp only [β Finset.mul_sum,hs,mul_one]
have ht (i : ΞΉ) (hi : i β I) : facetTangent a (D (blockOff c e A)) i = 0 := by
have hh := hf.localBlockModel_on_facet hc e he a hp D hA hi
rw [hM,ha] at hh
simp only [Pi.smul_apply,smul_eq_mul,hyi i hi] at hh
nlinarith
have hb : blockOff c e A = 0 := by
apply D.injective
apply (facetTangent_injective a)
rw [map_zero,map_zero]
ext i
by_cases hi : i β I
Β· exact ht i hi
Β· exact facetTangent_zero_outside a _ hi
have hC : blockCorner e A β€ 0 := by
apply hf.signedExtension_nonpos (blockCorner_selfAdjoint e hA)
intro i
by_cases hi : i β I
Β· exact (hf.signedExtension_kernel_coordinate (blockCorner_selfAdjoint e hA) hc
(blockCorner_kernel e he A) (hp i hi)).le
Β· have hh := congrFun hM i
simp only [localBlockModel,Pi.add_apply,Pi.smul_apply,smul_eq_mul,hb,map_zero,
add_zero,hfo i hi,mul_zero,zero_add] at hh
rw [hh]
exact mul_nonpos_of_nonneg_of_nonpos hd.le (hyo i hi)
have hap : 0 < blockScalar c A := ha βΈ mul_pos hd hr
refine β¨hb,hap,?_,(block_parts e hc he hes hA hb hap.le hC).1β©
rw [hf.block_extension e hc he hes hA hb hap.le hC]
simp only [localBlockModel,hb,map_zero,add_zero]
end ModelRay
end BorsukNine
end OAI
|