lean4-htt/src/Init/Data/Array
Timo Carlin-Burns 8e96d7ba1d
refactor: clean up public API around Array.eraseIdx (#3676)
- Removes the public definitions `Array.eraseIdxAux` and
`Array.eraseIdxSzAux` which were implementation details.
- Motivation: `Array.eraseIdxAux` and `Array.eraseIdxSzAux` were clearly
not intended to remain public, but simply making them private would make
it inconvenient to unfold them when writing proofs in Std.
- Adds documentation comments to the public `Array.eraseIdx`-related
definitions which remain.
- Removes `Array.eraseIdx'` which was just `Array.feraseIdx` wrapped in
a subtype and adds `Array.size_feraseIdx` to prove the subtype property
as a standalone theorem.

Co-Authored-By: Daniel Windham <daniel@atlascomputing.org>
2024-03-17 06:25:10 +00:00
..
Basic.lean refactor: clean up public API around Array.eraseIdx (#3676) 2024-03-17 06:25:10 +00:00
BasicAux.lean refactor: termination_by changes in stdlib 2024-01-10 17:27:35 +01:00
BinSearch.lean chore: remove [Inhabited A] from binSearch / binInsert 2022-11-13 15:00:26 -08:00
DecidableEq.lean chore: upstream Std.Logic (#3312) 2024-02-14 09:40:55 +00:00
InsertionSort.lean feat: use sepBy1Indent for tactic blocks 2022-09-18 16:43:23 -07:00
Lemmas.lean chore: shaking imports in Init.Data.Nat/Int (#3605) 2024-03-05 13:29:35 +00:00
Mem.lean refactor: drop sizeOf_get_lt, duplicate of sizeOf_get (#3481) 2024-02-23 18:43:28 +00:00
QSort.lean feat: further shaking of Nat/Int/Omega (#3613) 2024-03-05 23:43:36 +00:00
Subarray.lean chore: upstream norm_cast tactic (#3322) 2024-02-19 17:49:17 -08:00