pith. machine review for the scientific record. sign in
lemma proved term proof

Z_of_window_nonneg

show as:
view Lean formalization →

No prose has been written for this declaration yet. The Lean source and graph data below render without it.

generate prose now

formal statement (Lean)

  20lemma Z_of_window_nonneg {n : Nat} (w : Pattern n) : 0 ≤ Z_of_window w := by

proof body

Term-mode proof.

  21  unfold Z_of_window
  22  apply Finset.sum_nonneg
  23  intro i _
  24  split <;> decide
  25

depends on (7)

Lean names referenced from this declaration's body.