Say my proof goal includes nat.succ (nat.succ 0), and I want to quickly rewrite it to say 2; I can define a whole new theorem:
theorem succ_succ_zero_eq_two : nat.succ (nat.succ 0) = 2 := rfl
then use that theorem with rw, but this seems very clunky. Is there any way to do this in a single line in my proof?