MindFormal v1.0.0One Mind

MindFormal.Tools.A695GamesRoles.RightGrid

Equations
Instances For
    theorem MindFormal.A695GamesRoles.sum_closed_grid_telescope (g : NNReal → ℝ) (x : WithTop NNReal) (h : NNReal) (m : ℕ) :
    (∑ k ∈ Finset.range m, if ↑(↑k * h) ≤ x then g ((↑k + 1) * h) - g (↑k * h) else 0) = g (↑(closedGridCount h m x) * h) - g 0 ∧ closedGridCount h m x ≤ m ∧ (x < ↑(↑(closedGridCount h m x) * h) ∨ closedGridCount h m x = m) ∧ (closedGridCount h m x = 0 ∨ ↑(↑(closedGridCount h m x - 1) * h) ≤ x)

    The telescoping sum along a grid cut by a time x, with where it stops: the sum of the increments of g over the grid steps that start at or before x is g at the grid time following x (or the last grid time) minus g 0; and that grid time is within one step of x.

    theorem MindFormal.A695GamesRoles.dist_closedGridCount_le (T : NNReal) (x : WithTop NNReal) (n : ℕ) :
    dist (↑(closedGridCount (T / (↑n + 1)) (n + 1) x) * (T / (↑n + 1))) (min x ↑T).untopA ≤ ↑(T / (↑n + 1))

    On the grid of [0,T] with n + 1 steps, the grid time following x (or T) is within one step of x ∧ T.

    theorem MindFormal.A695GamesRoles.tendsto_closedGridCount (T : NNReal) (x : WithTop NNReal) :
    Filter.Tendsto (fun (n : ℕ) => ↑(closedGridCount (T / (↑n + 1)) (n + 1) x) * (T / (↑n + 1))) Filter.atTop (nhds (min x ↑T).untopA)

    On the grid of [0,T] with n + 1 steps, the grid time following x tends to x ∧ T.