Kim Morrison
d9ab758af5
chore: re-enable List variable linter ( #7215 )
...
Turns back on the variable names linters across List/Array/Vector.
2025-02-24 23:34:01 +00:00
Kim Morrison
3ebce4e190
feat: align lemmas about List.getLast(!?) with Array/Vector.back(!?) ( #7205 )
...
This PR completes alignment of
`List.getLast`/`List.getLast!`/`List.getLast?` lemmas with the
corresponding lemmas for Array and Vector.
2025-02-24 11:48:43 +00:00
Kim Morrison
4b307914fc
chore: cleanup duplicate theorems ( #7113 )
2025-02-18 01:46:12 +00:00
Kim Morrison
f07e72fad7
chore: linting variable names for List ( #7107 )
2025-02-17 14:50:43 +00:00
Kim Morrison
3cf6fb2405
chore: fix linter.listVariables naming ( #7044 )
2025-02-12 05:17:39 +00:00
Kim Morrison
92f0d31ed7
chore: linting List ( #6970 )
2025-02-07 01:44:51 +00:00
Kim Morrison
40eefb1df6
feat: alignment of List/Array/Vector lemmas about range, range', zipIdx ( #6878 )
...
This PR completes alignments of `List/Array/Vector` lemmas about
`range`, `range'`, and `zipIdx`.
2025-01-31 00:06:51 +00:00
Kim Morrison
7e8af0fc9d
feat: rename List.enum(From) to List.zipIdx, and Array/Vector.zipWithIndex to zipIdx ( #6800 )
...
This PR uniformizes the naming of `enum`/`enumFrom` (on `List`) and
`zipWithIndex` (on `Array` on `Vector`), replacing all with `zipIdx`. At
the same time, we generalize to add an optional `Nat` parameter for the
initial value of the index (which previously existed, only for `List`,
as the separate function `enumFrom`).
2025-01-28 23:34:30 +00:00
Kim Morrison
b4ff5455ba
feat: lemmas about lexicographic order on Array and Vector ( #6399 )
...
This PR adds basic lemmas about lexicographic order on Array and Vector,
achieving parity with List.
Many lemmas are still missing for all three, particularly about how
order interacts with `++`.
2024-12-19 10:36:50 +00:00
Kim Morrison
4409e39c43
chore: upstream List.sum, planning to later deprecate Nat.sum ( #5703 )
2024-10-15 08:41:35 +00:00
Kim Morrison
e3811fd838
chore: cleanup unused variables ( #5579 )
...
This pulls changes to the standard library out of #5338 .
2024-10-02 01:51:22 +00:00
Kim Morrison
c3f384d6a5
feat: review of List.erase / List.find lemmas ( #5391 )
2024-09-19 05:37:04 +00:00
Kim Morrison
45af92fcd1
feat: lemmas about List.tail ( #5360 )
2024-09-16 09:25:24 +00:00
Kim Morrison
7c364543a3
chore: review of List API ( #5260 )
2024-09-05 06:27:08 +00:00
Kim Morrison
d08051cf0b
chore: variables appearing on both sides of an iff should be implicit ( #5254 )
2024-09-04 08:33:24 +00:00
Kim Morrison
744b68358e
chore: cleanup imports of Array.Lemmas ( #5246 )
2024-09-04 01:48:14 +00:00
Kim Morrison
36d71f8253
feat: more List.find?/findSome?/findIdx? theorems ( #5053 )
2024-08-15 11:53:35 +00:00
Kim Morrison
69f86d6478
chore: split Init.Data.List.Lemmas ( #4863 )
...
Init.Data.List.Lemmas had reached 5000 lines: splitting into
function-specific files.
2024-07-30 03:17:34 +00:00
Kim Morrison
83ad82162f
feat: upstream more List lemmas ( #4856 )
2024-07-28 23:23:59 +00:00