import Mathlib import OAI.Probability.CriticalPercolation.Entropy.BinaryConfiguration namespace OAI section section noncomputable section namespace CriticalPercolation.BinaryLaw open scoped Classical open FiniteProduct BondGraph BinaryInterpolation ExactExposure FiniteEntropy variable {V E : Type*} [Fintype V] [Fintype E] local instance costBoundFinDec (n : ℕ) : DecidableEq (Fin n) := Classical.decEq _ variable (G : BondGraph V E) (order : List (LazyDFS.Dart V E)) (d : ℕ) (x : ℕ → V) variable (p : ℝ) (w : E → Prop → ℝ) (s n : ℕ) (D : FixedDescriptor n) lemma constructionCost_le {c : ℝ} (hc : 0