@[instance_reducible]
@[instance_reducible]
def Lean.Meta.AC.abstractAtoms (preContext : PreContext) (atoms : Array Expr) (k : Array (Expr × Option Expr) → MetaM Expr) :
In order to prevent the kernel trying to reduce the atoms of the expression, we abstract the proof
over them. But ac_rfl proofs are not completely abstract in the value of the atoms – it recognizes
neutral elements. So we have to abstract over these proofs as well.
Instances For
Instances For
Implementation of the ac_nf tactic when operating on the main goal.
Instances For
Implementation of the ac_nf tactic when operating on a hypothesis.