import Mathlib import OAI.Probability.CriticalPercolation.Criticality.GrowthProcess import OAI.Probability.CriticalPercolation.Gluing.CorridorNormalization import OAI.Probability.CriticalPercolation.Gluing.RelayScales namespace OAI section section noncomputable section open Set Function MeasureTheory ProbabilityTheory open scoped Classical ENNReal namespace CriticalPercolation.Corridor open BondGraph Boundary BernoulliProduct structure CoordinateData (V E : Type*) where graph : BondGraph V E origin : V time : V → ℝ height : V → ℝ J : ℝ L : ℕ R : ℕ m : ℕ D : ℕ k : ℕ M : ℕ VM : ℕ e : ℝ rho : ℝ kappa : ℝ eta : ℝ delta : ℝ contour : ℝ pc : unitInterval p : unitInterval namespace CoordinateData variable {V E : Type*} (C : CoordinateData V E) def T : ℝ := C.L+1/2 def scheme : Scheme V E where graph := C.graph coordinate := normalized C.time C.height C.T j := C.J/C.T h := 2520/C.T seed := C.graph.vertexBall C.origin C.m mark := Corridor.mark C.time C.height C.T C.rho parameter := fun _ => C.p delta := C.delta structure Bounds : Prop where connected : C.graph.fullGraph.Connected locallyFinite : C.graph.LocallyFinite time_origin : C.time C.origin=0 height_origin : C.height C.origin=0 time_step : ∀ ⦃u v⦄, C.graph.fullGraph.Adj u v → |C.time u-C.time v|≤C.rho height_step : ∀ ⦃u v⦄, C.graph.fullGraph.Adj u v → |C.height u-C.height v|≤C.rho J_lower : 26200