section ‹Arrays with in-place updates› theory Diff_Array imports Assoc_List Automatic_Refinement.Parametricity "HOL-Library.Code_Target_Numeral" begin