lean4-htt/src/Init/Data/UInt
Markus Himmel 197bc6cb66
feat: redefine String, part one (#10304)
This PR redefines `String` to be the type of byte arrays `b` for which
`b.IsValidUtf8`.

This moves the data model of strings much closer to the actual data
representation at runtime.

In the near future, we will

- provide variants of `String.Pos` and `Substring` that only allow for
valid positions
- redefine all `String` functions to be much closer to their C++
implementations

In the near-to-medium future we will then provide comprehensive
verification of `String` based on these refactors.
2025-09-18 11:36:52 +00:00
..
Basic.lean feat: improve auto-completion performance (#10249) 2025-09-05 08:55:49 +00:00
BasicAux.lean chore: move String.utf8EncodeChar to the prelude (#10264) 2025-09-07 12:42:53 +00:00
Bitwise.lean feat: redefine String, part one (#10304) 2025-09-18 11:36:52 +00:00
Lemmas.lean feat: redefine String, part one (#10304) 2025-09-18 11:36:52 +00:00
Log2.lean feat: make private the default in module (#9044) 2025-06-28 16:30:53 +00:00