The areas / V34. The tactics of Mathlib
Mathlib.Tactic.ClickSuggestions.Apply
21 declarations. Mathlib docs · Source
theorem Mathlib.Tactic.ClickSuggestions.ApplyKey.mk.injEq E0 #
∀ (numGoals nameLength replacementSize : ℕ) (name : String) (newGoals : Array Lean.Meta.AbstractMVarsResult)
(numGoals_1 nameLength_1 replacementSize_1 : ℕ) (name_1 : String) (newGoals_1 : Array Lean.Meta.AbstractMVarsResult),
({ numGoals := numGoals, nameLength := nameLength, replacementSize := replacementSize, name := name,
newGoals := newGoals } =
{ numGoals := numGoals_1, nameLength := nameLength_1, replacementSize := replacementSize_1, name := name_1,
newGoals := newGoals_1 }) =
(numGoals = numGoals_1 ∧
nameLength = nameLength_1 ∧ replacementSize = replacementSize_1 ∧ name = name_1 ∧ newGoals = newGoals_1)
theorem Mathlib.Tactic.ClickSuggestions.ApplyLemma.mk.injEq E0 #
∀ (name name_1 : Mathlib.Tactic.ClickSuggestions.Premise), ({ name := name } = { name := name_1 }) = (name = name_1)
def Mathlib.Tactic.ClickSuggestions.instInhabitedApplyKey.default E1 #
Mathlib.Tactic.ClickSuggestions.ApplyKey
theorem Mathlib.Tactic.ClickSuggestions.ApplyKey.mk.inj E1 #
∀ {numGoals nameLength replacementSize : ℕ} {name : String} {newGoals : Array Lean.Meta.AbstractMVarsResult}
{numGoals_1 nameLength_1 replacementSize_1 : ℕ} {name_1 : String} {newGoals_1 : Array Lean.Meta.AbstractMVarsResult},
{ numGoals := numGoals, nameLength := nameLength, replacementSize := replacementSize, name := name,
newGoals := newGoals } =
{ numGoals := numGoals_1, nameLength := nameLength_1, replacementSize := replacementSize_1, name := name_1,
newGoals := newGoals_1 } →
numGoals = numGoals_1 ∧
nameLength = nameLength_1 ∧ replacementSize = replacementSize_1 ∧ name = name_1 ∧ newGoals = newGoals_1
def Mathlib.Tactic.ClickSuggestions.ApplyLemma.ctorIdx E1 #
Mathlib.Tactic.ClickSuggestions.ApplyLemma → ℕ
def Mathlib.Tactic.ClickSuggestions.ApplyKey.ctorIdx E1 #
Mathlib.Tactic.ClickSuggestions.ApplyKey → ℕ
theorem Mathlib.Tactic.ClickSuggestions.ApplyLemma.mk.inj E1 #
∀ {name name_1 : Mathlib.Tactic.ClickSuggestions.Premise}, { name := name } = { name := name_1 } → name = name_1
structure Mathlib.Tactic.ClickSuggestions.ApplyLemma E1 #
Type
The structure for apply lemmas stored in the RefinedDiscrTree.
ctor Mathlib.Tactic.ClickSuggestions.ApplyLemma.mk E0 #
Mathlib.Tactic.ClickSuggestions.Premise → Mathlib.Tactic.ClickSuggestions.ApplyLemma
abbrev Mathlib.Tactic.ClickSuggestions.ApplyLemma.name E1 #
Mathlib.Tactic.ClickSuggestions.ApplyLemma → Mathlib.Tactic.ClickSuggestions.Premise
The lemma
structure Mathlib.Tactic.ClickSuggestions.ApplyKey E1 #
Type
The key that is used for sorting and deduplicating apply lemmas.
ctor Mathlib.Tactic.ClickSuggestions.ApplyKey.mk E0 #
ℕ → ℕ → ℕ → String → Array Lean.Meta.AbstractMVarsResult → Mathlib.Tactic.ClickSuggestions.ApplyKey
abbrev Mathlib.Tactic.ClickSuggestions.ApplyKey.numGoals E1 #
Mathlib.Tactic.ClickSuggestions.ApplyKey → ℕ
How many new goals are generated.
abbrev Mathlib.Tactic.ClickSuggestions.ApplyKey.nameLength E1 #
Mathlib.Tactic.ClickSuggestions.ApplyKey → ℕ
The name length of the used lemma.
abbrev Mathlib.Tactic.ClickSuggestions.ApplyKey.replacementSize E1 #
Mathlib.Tactic.ClickSuggestions.ApplyKey → ℕ
The total length of the new goals when printed.
abbrev Mathlib.Tactic.ClickSuggestions.ApplyKey.name E1 #
Mathlib.Tactic.ClickSuggestions.ApplyKey → String
The name of the used lemma.
abbrev Mathlib.Tactic.ClickSuggestions.ApplyKey.newGoals E1 #
Mathlib.Tactic.ClickSuggestions.ApplyKey → Array Lean.Meta.AbstractMVarsResult
The new goals.
instance Mathlib.Tactic.ClickSuggestions.instInhabitedApplyKey E0 #
Inhabited Mathlib.Tactic.ClickSuggestions.ApplyKey
instance Mathlib.Tactic.ClickSuggestions.instOrdApplyKey E0 #
Ord Mathlib.Tactic.ClickSuggestions.ApplyKey
def Mathlib.Tactic.ClickSuggestions.ApplyKey.isDuplicate E1 #
Mathlib.Tactic.ClickSuggestions.ApplyKey → Mathlib.Tactic.ClickSuggestions.ApplyKey → Lean.MetaM Bool
Whether the two suggestions are duplicates of each other.
def Mathlib.Tactic.ClickSuggestions.ApplyLemma.try E1 #
Mathlib.Tactic.ClickSuggestions.ApplyLemma →
Array Lean.Expr →
Mathlib.Tactic.ClickSuggestions.ClickSuggestionsM
(Mathlib.Tactic.ClickSuggestions.Result Mathlib.Tactic.ClickSuggestions.ApplyKey)
Generate the suggestion for applying lem.