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

fromNat_toNat

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)

 235theorem fromNat_toNat : ∀ n : LogicNat, fromNat (toNat n) = n := by

proof body

Term-mode proof.

 236  intro n
 237  induction n with
 238  | identity => rfl
 239  | step n ih =>
 240    show fromNat (toNat (succ n)) = succ n
 241    rw [toNat_succ, fromNat_succ, ih]
 242

used by (7)

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

depends on (11)

Lean names referenced from this declaration's body.