lean4-htt/tests/lean/run/library_suggestions_mepo.lean
Kim Morrison 0db89d65b2
chore: use 'library suggestions' rather than 'premise selection' (#11029)
This PR changes the terminology used from "premise selection" to
"library suggestions". This will be more understandable to users (we
don't assume anyone is familiar with the premise selection literature),
and avoids a conflict with the existing use of "premise" in Lean
terminology (e.g. "major premise" in induction, as well as generally the
synonym for "hypothesis"/"argument").
2025-10-31 04:07:49 +00:00

21 lines
503 B
Text

import Lean.LibrarySuggestions.MePo
set_library_suggestions Lean.LibrarySuggestions.mepoSelector (useRarity := false)
example (a b : Int) : a + b = b + a := by
suggestions
sorry
example (x y z : List Int) : x ++ y ++ z = x ++ (y ++ z) := by
suggestions
sorry
set_library_suggestions Lean.LibrarySuggestions.mepoSelector (useRarity := true)
example (a b : Int) : a + b = b + a := by
suggestions
sorry
example (x y z : List Int) : x ++ y ++ z = x ++ (y ++ z) := by
suggestions
sorry