Buckets:
cfahlgren1/math / lean /OAI /Probability /CriticalPercolation /GraphGeometry /ResidualConvertedVariance.lean
| import Mathlib | |
| import OAI.Probability.CriticalPercolation.Model | |
| import OAI.Probability.CriticalPercolation.ProductMeasure.Prob | |
| import OAI.Probability.CriticalPercolation.Exploration.PivotalComparison | |
| import OAI.Probability.CriticalPercolation.GraphGeometry.IsolateThree | |
| import OAI.Probability.CriticalPercolation.Clusters.ThreeClusterAvoidanceSecond | |
| namespace OAI | |
| section | |
| section | |
| open Set MeasureTheory ProbabilityTheory | |
| open Set | |
| open scoped BigOperators | |
| namespace CriticalPercolation.BondGraph | |
| open FiniteProduct | |
| open scoped Classical | |
| variable {V E : Type*} (G : BondGraph V E) [Fintype V] [Fintype E] | |
| theorem residual_converted_variance (w : E → Prop → ℝ) | |
| (hw : ∀ e, ∑ z, w e z = 1) (hp : ∀ e z, 0 ≤ w e z) (hc : ∀ e, 0 < w e False) | |
| (a s t b : V) (has : a ≠ s) (hat : a ≠ t) (hst : s ≠ t) | |
| {p : ℝ} (hparam : p ∈ Set.Ioo 0 1) : | |
| let u := prob w (G.separateThree a s t) | |
| let v := prob w (G.joinedPair a s t) | |
| let α := prob w (fun ω => G.separateThree a s t ω ∧ (G.openGraph ω).Reachable t b) | |
| let β := prob w (fun ω => G.separateThree a s t ω ∧ (G.openGraph ω).Reachable a b) | |
| let γ := prob w (fun ω => G.joinedPair a s t ω ∧ (G.openGraph ω).Reachable a b) | |
| let σ := prob w (fun ω => G.joinedPair t a s ω ∧ (G.openGraph ω).Reachable t b) | |
| p*(1-p)*α*(α+σ) ≤ | |
| p*(1-p)*(u+v)*(u+v-β-γ)/((1-p)*(u+v)+p*(u+v-β-γ)) * | |
| ((v+α-γ)/(u+v-β-γ)-v/(u+v))^2 := by | |
| dsimp only | |
| have h1 := G.threeCluster_avoidance w hw hp hc a s t b has hat | |
| have h2 := G.threeCluster_avoidance_second w hw hp hc a s t b hat.symm hst.symm | |
| have h3 := G.threeCluster_harris w hw hp a s t | |
| have h4 := G.threeCluster_event_bounds w hp a s t b | |
| apply DFS.converted_variance hparam (prob_nonneg w hp _) (prob_nonneg w hp _) | |
| (prob_nonneg w hp _) (prob_nonneg w hp _) (prob_nonneg w hp _) (prob_nonneg w hp _) | |
| h4.1 h4.2 _ h2 h3 | |
| simpa only [mul_comm] using h1 | |
| end CriticalPercolation.BondGraph | |
| end | |
| end | |
| end OAI | |
Xet Storage Details
- Size:
- 2 kB
- Xet hash:
- 0bf90e17144b09bafa443ea9a7b73cf11e87b505ad488845a72fde3e775b2e50
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.