Documentation

LeanPool.TwoColoringOneRound.UpperBound.Recursive3Param.Value

Exact computation of ClassicalAlgorithm.p recursive3ParamAlg.

The final result is the dyadic rational value 94835 / 393216 ≈ 0.24117787679 < 24118/100000.

Computing p #

We now compute the exact value of ClassicalAlgorithm.p recursive3ParamAlg by evaluating the iterated lintegral from p_eq_lintegral_innerBC.

theorem Distributed2Coloring.UpperBound.Recursive3Param.RealHelpers.lintegral_ofReal_mul_sub_Icc (r a b : ) (ha : 0 a) (hbr : b r) (hab : a b) :
∫⁻ (x : ) in Set.Icc a b, ENNReal.ofReal (x * (r - x)) = ENNReal.ofReal (r * (b ^ 2 - a ^ 2) / 2 - (b ^ 3 - a ^ 3) / 3)
theorem Distributed2Coloring.UpperBound.Recursive3Param.RealHelpers.lintegral_ofReal_pow_Icc (n : ) (a b : ) (ha : 0 a) (hab : a b) :
∫⁻ (x : ) in Set.Icc a b, ENNReal.ofReal (x ^ n) = ENNReal.ofReal ((b ^ (n + 1) - a ^ (n + 1)) / (n + 1))
theorem Distributed2Coloring.UpperBound.Recursive3Param.setLIntegral_ofReal_pow_Icc (n : ) (a b : Rand) (hab : a b) :
∫⁻ (x : Rand) in Set.Icc a b, ENNReal.ofReal (x ^ n) = ENNReal.ofReal ((b ^ (n + 1) - a ^ (n + 1)) / (n + 1))
theorem Distributed2Coloring.UpperBound.Recursive3Param.setLIntegral_ofReal_sub_id_Icc (r a b : Rand) (hab : a b) (hbr : b r) :
∫⁻ (x : Rand) in Set.Icc a b, ENNReal.ofReal (r - x) = ENNReal.ofReal (r * (b - a) - (b ^ 2 - a ^ 2) / 2)
theorem Distributed2Coloring.UpperBound.Recursive3Param.setLIntegral_ofReal_mul_sub_Icc (r a b : Rand) (hab : a b) (hbr : b r) :
∫⁻ (x : Rand) in Set.Icc a b, ENNReal.ofReal (x * (r - x)) = ENNReal.ofReal (r * (b ^ 2 - a ^ 2) / 2 - (b ^ 3 - a ^ 3) / 3)
theorem Distributed2Coloring.UpperBound.Recursive3Param.setLIntegral_ofReal_sub_id_Ico (r a b : Rand) (hab : a b) (hbr : b r) :
∫⁻ (x : Rand) in Set.Ico a b, ENNReal.ofReal (r - x) = ENNReal.ofReal (r * (b - a) - (b ^ 2 - a ^ 2) / 2)
theorem Distributed2Coloring.UpperBound.Recursive3Param.setLIntegral_ofReal_mul_sub_Ico (r a b : Rand) (hab : a b) (hbr : b r) :
∫⁻ (x : Rand) in Set.Ico a b, ENNReal.ofReal (x * (r - x)) = ENNReal.ofReal (r * (b ^ 2 - a ^ 2) / 2 - (b ^ 3 - a ^ 3) / 3)
theorem Distributed2Coloring.UpperBound.Recursive3Param.setLIntegral_ofReal_sub_id_Iio (r b : Rand) (hbr : b r) :
∫⁻ (x : Rand) in Set.Iio b, ENNReal.ofReal (r - x) = ENNReal.ofReal (r * (b - 0) - (b ^ 2 - 0 ^ 2) / 2)
theorem Distributed2Coloring.UpperBound.Recursive3Param.setLIntegral_ofReal_mul_sub_Iio (r b : Rand) (hbr : b r) :
∫⁻ (x : Rand) in Set.Iio b, ENNReal.ofReal (x * (r - x)) = ENNReal.ofReal (r * (b ^ 2 - 0 ^ 2) / 2 - (b ^ 3 - 0 ^ 3) / 3)