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