cfahlgren1/math / lean /OAI /Combinatorics /RamseyFive /Geometry /FiniteTreeFailure.lean
cfahlgren1's picture
download
raw
4.57 kB
import Mathlib
import OAI.Combinatorics.RamseyFive.Geometry.TreeFailure
import OAI.Combinatorics.RamseyFive.Entropy.ReadyFailure
namespace OAI
namespace SharpRamseyFive.ProjectiveIncidence
open Module FiniteEntropy ReverseCap ScoreGeometry BinaryTree TreeCodec Filter ParameterHierarchy
open scoped Classical LinearAlgebra.Projectivization BigOperators NNReal Topology
noncomputable section
local instance (priority := high) actualFiniteFailurePropDecidable (P : Prop) : Decidable P := Classical.propDecidable P
theorem eventually_actual_tree_missing {η : ℝ} (hη : 0<η) (hη' : η<1/10)
(Cb : ℝ) (hCb : 0≤Cb) :
∀ᶠ σ : ℝ in atTop,∀ (D b : ℝ) (R : ℕ) (L₀ : ℝ≥0),
∀ (q₀ : ℕ) (K V : Type) [Field K] [AddCommGroup V] [Module K V]
[Finite K] [CharP K q₀] [FiniteDimensional K V]
[Fintype (ℙ K V)] [Fintype (ℙ K (Dual K V))]
[Fintype (ℙ K (Dual K (Dual K V)))],
∀ (hd : finrank K V=5) (hq3 : 3≤Nat.card K) (I : Type) [Fintype I] [DecidableEq I]
(A B : I → Type) [∀ i, Fintype (A i)] [∀ i, Fintype (B i)]
(μ : ∀ i, Law (A i)) (ν : ∀ i, Law (B i))
(X : ∀ i, A i → Finset (ℙ K V)) (Y : ∀ i, B i → Finset (ℙ K (Dual K V)))
(hX : ∀ i a, (X i a).Nonempty) (hY : ∀ i b, (Y i b).Nonempty)
(p : I → Law (ℙ K V)) (q : I → Law (ℙ K (Dual K V)))
(F : ℝ) (hF : 0≤F)
(hμ : ∀ i a, (∑ s, μ i s * uniformWeight (X i s) a) ≤ F*p i a)
(hν : ∀ i b, (∑ t, ν i t * uniformWeight (Y i t) b) ≤ F*q i b)
(hσ : 1≤σ) (hq : Real.exp σ=Nat.card K),
Nat.card K=q₀ → Range η σ D R → (L₀:ℝ)=L η σ D →
0≤b → b≤Cb*D*σ^(6*beta η) →
(∀ i a d, (Nat.card K:ℝ)^5*Real.exp (-b)≤((X i a).card:ℝ)*(Y i d).card) →
let f := fun C : PivotContext K V =>
fourFinitePredictor hd σ C.1 C.2 (P η σ D R) (σ^(-800*beta η)) R L₀
let r := fun C : PivotContext K V =>
fourFinitePredictor (K:=K) (V:=Dual K V) (by simpa using hd) σ C.2
(C.1.map bidualPoint.toEmbedding) (P η σ D R) (σ^(-800*beta η)) R L₀
∀ (tree : BinaryTree I) (j : Address tree),
(∑ z, originalLevelLaw μ ν z * eventMass (orientedPivotTreeLaw f r tree)
(Finset.univ.filter (fun ω =>
orientedPivotSuccessAt f r σ hσ hq hd.le (fun i => X i (z.1 i)) (fun i => Y i (z.2 i))
(fun i => hX i _) (fun i => hY i _) (9/100000) (9/10) (σ^(-1000*beta η)) (P η σ D R) (by norm_num) tree ω (Finset.univ,Finset.univ) j = none))) ≤
pathSum tree (fun k =>
10 * pathBudget (fun i => (50*(Nat.card K:ℝ)/(9*((9/100000)*(9/10)))) * F^2 *
relationMass Incident (p (label tree k)) (q i)) (fun _ => 0) tree k +
10 * pathBudget (fun _ => 0) (fun i => (50*(Nat.card K:ℝ)/(9*((9/100000)*(9/10)))) * F^2 *
relationMass Incident (p i) (q (label tree k))) tree k +
((Nat.card K:ℝ)/(σ^(-1000*beta η)))*F^2*relationMass Incident (p (label tree k)) (q (label tree k)) + 5*Real.exp (-(Nat.card K:ℝ))) j := by
have ht : ∀ᶠ σ : ℝ in atTop, σ^(-1000*beta η) ≤ ((9/100000:ℝ)*(9/10)^2)/1000 := by
have hp : 0<1000*beta η := mul_pos (by norm_num) (beta_pos hη)
exact ((tendsto_rpow_neg_atTop hp).eventually_lt_const
(by norm_num : (0:ℝ)<((9/100000:ℝ)*(9/10)^2)/1000)).mono (fun σ h=>by simpa only [neg_mul] using h.le)
filter_upwards [eventually_oriented_ready_encoded_failure hη hη' Cb hCb,ht] with σ hn ht
intro D b R L₀ q₀ K V _ _ _ _ _ _ _ _ _ hd hq3 I _ _ A B _ _ μ ν X Y hX hY p q F hF hμ hν hσ hq hcard hr hL hb hbhi hprod
dsimp only
intro tree j
let f := fun C : PivotContext K V =>
fourFinitePredictor hd σ C.1 C.2 (P η σ D R) (σ^(-800*beta η)) R L₀
let r := fun C : PivotContext K V =>
fourFinitePredictor (K:=K) (V:=Dual K V) (by simpa using hd) σ C.2
(C.1.map bidualPoint.toEmbedding) (P η σ D R) (σ^(-800*beta η)) R L₀
refine oriented_original_tree_missing f r σ hσ hq hd hq3 μ ν X Y hX hY p q F hF hμ hν
(9/100000) (9/10) (σ^(-1000*beta η)) (P η σ D R) (by norm_num) (by norm_num) (by norm_num)
?_ ?_ (fun _ => 5*Real.exp (-(Nat.card K:ℝ))) (fun _ => by positivity) ?_ tree j
· nlinarith only [ht]
· exact Real.rpow_pos_of_pos (zero_lt_one.trans_le hσ) _
· intro i a d C hready
exact hn D b R L₀ q₀ K V hd (X i a) C.1 (Y i d) C.2 (hX i a) (hY i d)
hσ hq hcard hr hL hb hbhi hready (hprod i a d)
end
end SharpRamseyFive.ProjectiveIncidence
end OAI

Xet Storage Details

Size:
4.57 kB
·
Xet hash:
ca1dd2f365d7738212849a3be03c84ff8543f780ea720a2ed9ce48eb7010a4b6

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.