This PR moves `String.utf8EncodeChar` to the prelude to prepare for the imminent redefinition of `String`. The definition in the prelude uses modulo and division operations on natural numbers. In `String.Extra`, a `csimp` lemma is provided, showing that the new definition is equal to the previous one (which is now called `utf8EncodeCharFast`) which uses bitwise operations on `UInt8`. |
||
|---|---|---|
| .. | ||
| bench | ||
| compiler | ||
| elabissues | ||
| ir | ||
| lean | ||
| pkg | ||
| playground | ||
| plugin | ||
| simpperf | ||
| .gitignore | ||
| common.sh | ||
| lakefile.toml | ||
| lean-toolchain | ||