core / init.meta.ref
source
A ref performs the role of a mutable variable within a tactic.
ref
Create a new reference r with initial value a, execute t r, and then delete r.
r
a
t r
Read the value stored in the given reference.
Update the value stored in the given reference.