Leonardo de Moura
|
807182d63e
|
chore: allow RArray to be universe polymorphic (#8013)
This PR ensures that `RArray` can be made universe polymorphic. We need
an update-stage0 before finalizing this modification.
|
2025-04-18 01:10:44 +00:00 |
|
Leonardo de Moura
|
fb2e5e5555
|
chore: remove dead code from Nat/Linear.lean (#7042)
|
2025-02-12 02:14:00 +00:00 |
|
Joachim Breitner
|
6a5b122b40
|
perf: use RArray in simp_arith meta code (#6068 part 2)
This PR makes `simp_arith` use `RArray` for the context of the
reflection proofs, which scales better when there are many variables.
On our synthetic benchmark:
```
simp_arith1 instructions -25.1% (-4892.6 σ)
```
No effect on mathlib, though, guess it’s not used much on large goals there:
http://speed.lean-fro.org/mathlib4/compare/873b982b-2038-462a-9b68-0c0fc457f90d/to/56e66691-2f1f-4947-a922-37b80680315d
|
2024-11-14 14:08:48 +01:00 |
|
Leonardo de Moura
|
05be43455a
|
feat: add src/Init/Data/Nat/Linear.lean
|
2022-02-24 13:45:17 -08:00 |
|
Leonardo de Moura
|
cf0f7a30c4
|
test: add Monomials.cancel
|
2022-02-19 21:29:33 -08:00 |
|
Leonardo de Moura
|
855b71299f
|
test: arith by reflection
|
2022-02-19 17:54:32 -08:00 |
|