lean4-htt/tests/pkg
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
..
builtin_attr chore: relative lean-toolchains (#12652) 2026-02-25 10:23:35 +00:00
cbv_attr chore: relative lean-toolchains (#12652) 2026-02-25 10:23:35 +00:00
debug chore: relative lean-toolchains (#12652) 2026-02-25 10:23:35 +00:00
def_clash chore: relative lean-toolchains (#12652) 2026-02-25 10:23:35 +00:00
deriving chore: relative lean-toolchains (#12652) 2026-02-25 10:23:35 +00:00
frontend chore: relative lean-toolchains (#12652) 2026-02-25 10:23:35 +00:00
initialize chore: relative lean-toolchains (#12652) 2026-02-25 10:23:35 +00:00
leanchecker chore: relative lean-toolchains (#12652) 2026-02-25 10:23:35 +00:00
linter_set chore: relative lean-toolchains (#12652) 2026-02-25 10:23:35 +00:00
misc chore: relative lean-toolchains (#12652) 2026-02-25 10:23:35 +00:00
mod_clash chore: relative lean-toolchains (#12652) 2026-02-25 10:23:35 +00:00
module perf: add high priority to OfSemiring.Q instances (#12782) 2026-03-04 12:58:15 +00:00
path with spaces chore: relative lean-toolchains (#12652) 2026-02-25 10:23:35 +00:00
prv chore: relative lean-toolchains (#12652) 2026-02-25 10:23:35 +00:00
rebuild chore: relative lean-toolchains (#12652) 2026-02-25 10:23:35 +00:00
setup chore: switch to new test/bench suite (#12590) 2026-02-25 13:51:53 +00:00
signal chore: relative lean-toolchains (#12652) 2026-02-25 10:23:35 +00:00
structure_docstrings chore: relative lean-toolchains (#12652) 2026-02-25 10:23:35 +00:00
test_extern chore: relative lean-toolchains (#12652) 2026-02-25 10:23:35 +00:00
user_attr chore: relative lean-toolchains (#12652) 2026-02-25 10:23:35 +00:00
user_attr_app chore: relative lean-toolchains (#12652) 2026-02-25 10:23:35 +00:00
user_ext chore: relative lean-toolchains (#12652) 2026-02-25 10:23:35 +00:00
user_opt chore: relative lean-toolchains (#12652) 2026-02-25 10:23:35 +00:00
user_plugin chore: relative lean-toolchains (#12652) 2026-02-25 10:23:35 +00:00
ver_clash chore: relative lean-toolchains (#12652) 2026-02-25 10:23:35 +00:00
.gitignore test: module clash across packages (#11246) 2025-11-19 02:23:34 +00:00