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").
10 lines
213 B
Text
10 lines
213 B
Text
import Lean.Meta.Basic
|
|
import Lean.LibrarySuggestions.SymbolFrequency
|
|
|
|
open Lean LibrarySuggestions
|
|
|
|
/-- info: true -/
|
|
#guard_msgs in
|
|
run_meta do
|
|
let f ← symbolFrequency `Nat
|
|
logInfo m!"{decide (5000 < f)}"
|