lean4-htt/src/Init/Data
Markus Himmel fba166eea0
chore: expose more String.Slice functions on String (#11308)
This PR redefines `front` and `back` on `String` to go through
`String.Slice` and adds the new `String` functions `front?`, `back?`,
`positions`, `chars`, `revPositions`, `revChars`, `byteIterator`,
`revBytes`, `lines`.
2025-11-23 15:33:16 +00:00
..
Array refactor: simplify ToIterator (#11242) 2025-11-22 12:37:18 +00:00
BitVec feat: improvements to grind annotations for Fin (#11299) 2025-11-22 02:48:48 +00:00
ByteArray feat: termination arguments for String.ValidPos and String.Slice.Pos (#10933) 2025-10-27 10:05:44 +00:00
Char feat: add Std.Trichotomous (#10945) 2025-11-18 13:20:53 +00:00
Dyadic feat: add Int.ediv_pow and related lemmas (#11100) 2025-11-06 06:16:18 +00:00
Fin feat: improvements to grind annotations for Fin (#11299) 2025-11-22 02:48:48 +00:00
FloatArray chore: remove >6 month old deprecations (#10968) 2025-10-26 10:01:30 +00:00
Format refactor: use String.split instead of String.splitOn or String.splitToList (#11250) 2025-11-19 09:35:19 +00:00
Int feat: add grind_pattern constraint annotations (#11193) 2025-11-15 19:08:03 +00:00
Iterators refactor: simplify ToIterator (#11242) 2025-11-22 12:37:18 +00:00
List refactor: simplify ToIterator (#11242) 2025-11-22 12:37:18 +00:00
Nat feat: add Std.Trichotomous (#10945) 2025-11-18 13:20:53 +00:00
Option feat: allow decidable equality for empty lists and empty arrays (#11269) 2025-11-20 20:19:31 +00:00
Ord chore: remove redundant imports in core (#10750) 2025-10-16 20:27:46 +00:00
Order feat: add Std.Trichotomous (#10945) 2025-11-18 13:20:53 +00:00
Range feat: add more lemmas about Array and List slices, support subslices (#11178) 2025-11-20 10:46:17 +00:00
Rat feat: redefine Int.pow, for faster kernel reduction (#11139) 2025-11-14 05:45:19 +00:00
SInt chore: add deprecations for duplicated theorems (#10967) 2025-10-29 05:26:16 +00:00
Slice refactor: simplify ToIterator (#11242) 2025-11-22 12:37:18 +00:00
String chore: expose more String.Slice functions on String (#11308) 2025-11-23 15:33:16 +00:00
Subtype chore: add deprecations for duplicated theorems (#10967) 2025-10-29 05:26:16 +00:00
Sum chore: missing grind modifiers and local grind theorems config (#10428) 2025-09-17 16:15:16 +00:00
ToString chore: expose more String.Slice functions on String (#11308) 2025-11-23 15:33:16 +00:00
UInt chore: add deprecations for duplicated theorems (#10967) 2025-10-29 05:26:16 +00:00
Vector feat: allow decidable equality for empty lists and empty arrays (#11269) 2025-11-20 20:19:31 +00:00
AC.lean chore: remove redundant imports in core (#10750) 2025-10-16 20:27:46 +00:00
Array.lean chore: remove public section from end of files (#10684) 2025-10-06 13:30:48 +00:00
BEq.lean feat: integrate high-level order typeclasses with BEq and Ord (#9908) 2025-08-19 07:54:53 +00:00
BitVec.lean chore: remove public section from end of files (#10684) 2025-10-06 13:30:48 +00:00
Bool.lean chore: deprecate more duplications (#11004) 2025-10-30 05:58:29 +00:00
ByteArray.lean chore: remove public section from end of files (#10684) 2025-10-06 13:30:48 +00:00
Cast.lean feat: make private the default in module (#9044) 2025-06-28 16:30:53 +00:00
Char.lean chore: remove public section from end of files (#10684) 2025-10-06 13:30:48 +00:00
Dyadic.lean feat: (approximate) inverses of dyadic rationals (#10194) 2025-09-02 03:43:53 +00:00
Fin.lean chore: remove public section from end of files (#10684) 2025-10-06 13:30:48 +00:00
Float.lean chore: remove redundant imports in core (#10750) 2025-10-16 20:27:46 +00:00
Float32.lean chore: remove redundant imports in core (#10750) 2025-10-16 20:27:46 +00:00
FloatArray.lean chore: remove public section from end of files (#10684) 2025-10-06 13:30:48 +00:00
Format.lean chore: remove public section from end of files (#10684) 2025-10-06 13:30:48 +00:00
Function.lean chore: remove redundant imports in core (#10750) 2025-10-16 20:27:46 +00:00
Hashable.lean chore: remove redundant imports in core (#10750) 2025-10-16 20:27:46 +00:00
Int.lean chore: remove public section from end of files (#10684) 2025-10-06 13:30:48 +00:00
Iterators.lean feat: List slices (#11019) 2025-11-14 11:33:25 +00:00
LawfulHashable.lean perf: shorten critical build path around String.Basic (#10614) 2025-09-29 19:45:21 +00:00
List.lean chore: remove public section from end of files (#10684) 2025-10-06 13:30:48 +00:00
Nat.lean chore: remove public section from end of files (#10684) 2025-10-06 13:30:48 +00:00
NeZero.lean feat: make private the default in module (#9044) 2025-06-28 16:30:53 +00:00
OfScientific.lean chore: remove redundant imports in core (#10750) 2025-10-16 20:27:46 +00:00
Option.lean chore: remove public section from end of files (#10684) 2025-10-06 13:30:48 +00:00
Ord.lean perf: shorten critical build path around String.Basic (#10614) 2025-09-29 19:45:21 +00:00
Order.lean feat: package factories for order typeclasses (#9797) 2025-08-19 13:43:29 +00:00
PLift.lean feat: make private the default in module (#9044) 2025-06-28 16:30:53 +00:00
Prod.lean chore: grind attributes for Prod (#11085) 2025-11-05 20:52:28 +00:00
Queue.lean feat: make private the default in module (#9044) 2025-06-28 16:30:53 +00:00
Random.lean chore: reorganize Init imports around strings (#10289) 2025-09-07 17:09:14 +00:00
Range.lean chore: remove public section from end of files (#10684) 2025-10-06 13:30:48 +00:00
RArray.lean refactor: denote functions in grind (#11071) 2025-11-04 23:34:17 +00:00
Rat.lean feat: upstream definition of Rat from Batteries (#9957) 2025-08-19 01:58:24 +00:00
Repr.lean chore: rename Substring to Substring.Raw (#11154) 2025-11-16 09:30:04 +00:00
SInt.lean feat: make private the default in module (#9044) 2025-06-28 16:30:53 +00:00
Slice.lean feat: List slices (#11019) 2025-11-14 11:33:25 +00:00
Stream.lean chore: rename Substring to Substring.Raw (#11154) 2025-11-16 09:30:04 +00:00
String.lean refactor: use String.split instead of String.splitOn or String.splitToList (#11250) 2025-11-19 09:35:19 +00:00
Subtype.lean feat: high-level order typeclasses (#9729) 2025-08-11 14:55:17 +00:00
Sum.lean chore: remove public section from end of files (#10684) 2025-10-06 13:30:48 +00:00
ToString.lean fix: turn meta import into import in Init.Data.ToString (#10754) 2025-10-13 09:20:48 +00:00
UInt.lean chore: remove public section from end of files (#10684) 2025-10-06 13:30:48 +00:00
ULift.lean feat: make private the default in module (#9044) 2025-06-28 16:30:53 +00:00
Vector.lean chore: remove public section from end of files (#10684) 2025-10-06 13:30:48 +00:00
Zero.lean chore: module system fixes and refinements from Mathlib porting (#10643) 2025-10-02 08:28:08 +00:00