Closed kim-em closed 5 days ago
This PR changes the signature of Array.swap, so it takes Nat arguments with tactic provided bounds checking. It also renames Array.swap! to Array.swapIfInBounds.
Array.swap
Nat
Array.swap!
Array.swapIfInBounds
Mathlib CI status (docs):
This PR changes the signature of
Array.swap
, so it takesNat
arguments with tactic provided bounds checking. It also renamesArray.swap!
toArray.swapIfInBounds
.