lean4-htt/tests/lean
Leonardo de Moura 47b7c7e65e
perf: add high priority to OfSemiring.Q instances (#12782)
This PR adds high priority to instances for `OfSemiring.Q` in the grind
ring envelope. When Mathlib is imported, instance synthesis for types
like `OfSemiring.Q Nat` becomes very expensive because the solver
explores many irrelevant paths before finding the correct instances. By
marking these instances as high priority and adding shortcut instances
for basic operations (`Add`, `Sub`, `Mul`, `Neg`, `OfNat`, `NatCast`,
`IntCast`, `HPow`), instance synthesis resolves quickly.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

---------

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
Co-authored-by: Kim Morrison <kim@tqft.net>
2026-03-04 12:58:15 +00:00
..
docparse fix: error messages from Verso docstring parser (#12372) 2026-02-07 07:49:06 +00:00
grind chore: prefer cons_cons over cons₂ in names (#12710) 2026-02-27 08:58:08 +00:00
interactive perf: add high priority to OfSemiring.Q instances (#12782) 2026-03-04 12:58:15 +00:00
run perf: simplify cbv ite/dite simprocs by reducing Decidable instance directly (#12677) 2026-03-02 17:11:48 +00:00
server
sym
copy-produced
test_single.sh