pith. machine review for the scientific record. sign in
def

ballP

definition
show as:
view math explainer →
module
IndisputableMonolith.Causality.Reach
domain
Causality
line
34 · github
papers citing
none yet

open explainer

Generate a durable explainer page for this declaration.

open lean source

IndisputableMonolith.Causality.Reach on GitHub at line 34.

browse module

All declarations in this module, on Recognition.

explainer page

Tracked in the explainer inventory; generation is lazy so crawlers do not trigger LLM jobs.

open explainer

depends on

used by

formal source

  31  intro ⟨k, hk, hkreach⟩
  32  exact ⟨k, le_trans hk hnm, hkreach⟩
  33
  34def ballP (K : Kinematics α) (x : α) : Nat → α → Prop
  35| 0, y => y = x
  36| Nat.succ n, y => ballP K x n y ∨ ∃ z, ballP K x n z ∧ K.step z y
  37
  38lemma ballP_mono {K : Kinematics α} {x : α} {n m : Nat}
  39  (hnm : n ≤ m) : {y | ballP K x n y} ⊆ {y | ballP K x m y} := by
  40  induction hnm with
  41  | refl => intro y hy; simpa using hy
  42  | @step m hm ih =>
  43      intro y hy
  44      exact Or.inl (ih hy)
  45
  46lemma reach_mem_ballP {K : Kinematics α} {x y : α} :
  47  ∀ {n}, ReachN K n x y → ballP K x n y := by
  48  intro n h; induction h with
  49  | zero => simp [ballP]
  50  | @succ n x y z hxy hyz ih =>
  51      exact Or.inr ⟨y, ih, hyz⟩
  52
  53lemma inBall_subset_ballP {K : Kinematics α} {x y : α} {n : Nat} :
  54  inBall K x n y → ballP K x n y := by
  55  intro ⟨k, hk, hreach⟩
  56  have : ballP K x k y := reach_mem_ballP (K:=K) (x:=x) (y:=y) hreach
  57  have mono := ballP_mono (K:=K) (x:=x) hk
  58  exact mono this
  59
  60lemma ballP_subset_inBall {K : Kinematics α} {x y : α} :
  61  ∀ {n}, ballP K x n y → inBall K x n y := by
  62  intro n
  63  induction n generalizing y with
  64  | zero =>