Equations
Instances For
If synthAssignedInstances is true, then apply will synthesize instance implicit arguments
even if they have assigned by isDefEq, and then check whether the synthesized value matches the
one inferred. The congr tactic sets this flag to false.
Equations
Instances For
Close the given goal using apply e.
Equations
Instances For
Short-hand for applying a constant to the goal.
Equations
Instances For
Try to convert an Iff into an Eq by applying iff_of_eq.
If successful, returns the new goal, and otherwise returns the original MVarId.
This may be regarded as being a special case of Lean.MVarId.liftReflToEq, specifically for Iff.
Equations
Instances For
Try to close the goal using proof_irrel_heq. Returns whether or not it succeeds.
We need to be somewhat careful not to assign metavariables while doing this, otherwise we might
specialize Sort _ to Prop.
Equations
Instances For
Try to close the goal using Subsingleton.elim. Returns whether or not it succeeds.
We are careful to apply Subsingleton.elim in a way that does not assign any metavariables.
This is to prevent the Subsingleton Prop instance from being used as justification to specialize
Sort _ to Prop.