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

cast_add_one

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)

  67private lemma cast_add_one {n m : Nat} [NeZero n] [NeZero m] (h : n = m) (i : Fin n) :
  68    (i + 1).cast h = (i.cast h) + 1 := by

proof body

Term-mode proof.

  69  subst h
  70  simp
  71

used by (1)

From the project-wide theorem graph. These declarations reference this one in their body.