Lean settings that speed up simplification and instance search
Lib.Speed.lean
Reading
Written by AI, checked against the code
This file imports Mathlib and adjusts settings intended to make instance search and simplification faster throughout the development. (Lib.Speed 1–8) It assigns low priority to selected instances because trying them early can start long searches that fail. (Lib.Speed 11–16) It removes selected lemmas from the default simplifier set in importing files, where they can match many terms and then fail on a side condition. (Lib.Speed 49–58) A synonym for emptiness and a simplification lemma help end attempts to prove an unavailable emptiness instance. (Lib.Speed 71–77) The source states that these settings add no axiom and that the other files still compile without them, though more slowly. (Lib.Speed 6–8)
Declarations
lemma New.isEmpty_iff_isVoid (α : Sort*) : IsEmpty α ↔ IsVoid α
Import route to Main
Lib.Speed → Lib.Base (pinned import) → Lib.General.Groups.IndexOfProduct (pinned import) → New.Spanning.Unfolding.FillingAdmissible (pinned import) → New.UpperBound.Size.ArchimedeanSize (pinned import) → New.Determinant.Twist.LongForms (pinned import) → New.Reduction.MainInequality (pinned import) → New.Reduction.OneSidedBound (pinned import) → New.Main (pinned import) → Main (pinned import)