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").
21 lines
503 B
Text
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
|