File size: 1,903 Bytes
4a56cd6 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 | import Mathlib
namespace OAI
namespace CylinderCovering.AngularEqualPartition
lemma left_endpoint (m : β) : (-1 : β) + 2 * (0 : β) / m = -1 := by
simp
lemma right_endpoint {m : β} (hm : 0 < m) :
(-1 : β) + 2 * (m : β) / m = 1 := by
have hm0 : (m : β) β 0 := by positivity
field_simp
ring
lemma width (m j : β) :
((-1 : β) + 2 * ((j + 1 : β) : β) / m) -
((-1 : β) + 2 * (j : β) / m) = 2 / m := by
push_cast
ring
lemma strictly_increasing {m : β} (hm : 0 < m) (j : β) :
((-1 : β) + 2 * (j : β) / m) <
((-1 : β) + 2 * ((j + 1 : β) : β) / m) := by
have hw := width m j
have hp : (0 : β) < 2 / m := by positivity
linarith only [hw, hp]
lemma absolute_bound {m j : β} (hm : 0 < m) (hj : j β€ m) :
|(-1 : β) + 2 * (j : β) / m| β€ 1 := by
have hmR : (0 : β) < m := by exact_mod_cast hm
have hjR : (j : β) β€ m := by exact_mod_cast hj
have hl : (0 : β) β€ 2 * (j : β) / m := by positivity
have hu : 2 * (j : β) / m β€ 2 := by
apply (div_le_iffβ hmR).2
linarith only [hjR]
exact abs_le.mpr β¨by linarith only [hl], by linarith only [hu]β©
theorem partition_laws {m : β} {M Ο : β} (hm : 0 < m)
(hmesh : (2 : β) / m β€ M * Ο ^ 2) :
(fun j : β => (-1 : β) + 2 * (j : β) / m) 0 = -1 β§
(fun j : β => (-1 : β) + 2 * (j : β) / m) m = 1 β§
(β j < m, (-1 : β) + 2 * (j : β) / m <
(-1 : β) + 2 * ((j+1 : β) : β) / m) β§
(β j β€ m, |(-1 : β) + 2 * (j : β) / m| β€ 1) β§
β j < m, ((-1 : β) + 2 * ((j+1 : β) : β) / m) -
((-1 : β) + 2 * (j : β) / m) β€ M * Ο ^ 2 := by
refine β¨left_endpoint m, right_endpoint hm,
fun j _ => strictly_increasing hm j, fun j hj => absolute_bound hm hj, ?_β©
intro j _
rw [width]
exact hmesh
end CylinderCovering.AngularEqualPartition
end OAI
|