pub unsafe fn array_set(a: Obj, i: Obj, value: Obj) -> Obj
Lean’s arr.set! i v: an index outside the array is a panic.
arr.set! i v