Introduce new hypotheses (and apply by_contra
) until goal is of the form ... ⊢ False
Equations
- Lean.Meta.Grind.intros goal generation = do let __discr ← (Lean.Meta.Grind.intros.go generation goal).run #[] match __discr with | (fst, goals) => pure goals.toList
Instances For
def
Lean.Meta.Grind.assertAt
(goal : Lean.Meta.Grind.Goal)
(proof prop : Lean.Expr)
(generation : Nat)
:
Asserts a new fact prop
with proof proof
to the given goal
.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Asserts next fact in the goal
fact queue.
Equations
- One or more equations did not get rendered due to their size.
Instances For
def
Lean.Meta.Grind.iterate
(goal : Lean.Meta.Grind.Goal)
(f : Lean.Meta.Grind.Goal → Lean.Meta.Grind.GrindM (Option (List Lean.Meta.Grind.Goal)))
:
Equations
- Lean.Meta.Grind.iterate goal f = Lean.Meta.Grind.iterate.go f [goal] []
Instances For
partial def
Lean.Meta.Grind.iterate.go
(f : Lean.Meta.Grind.Goal → Lean.Meta.Grind.GrindM (Option (List Lean.Meta.Grind.Goal)))
(todo result : List Lean.Meta.Grind.Goal)
:
Asserts all facts in the goal
fact queue.