Documentation

Aesop.Util.EqualUpToIds

  • allowAssignmentDiff : Bool

    Allow metavariables to be unassigned on one side of the comparison and assigned on the other. So when we compare two expressions and we encounter a metavariable ?x in one of them and a subexpression e in the other (at the same position), we consider ?x equal to e.

Equations
  • One or more equations did not get rendered due to their size.
def Aesop.EqualUpToIdsM.run {α : Type} (x : Aesop.EqualUpToIdsM α) (commonMCtx? : Option Lean.MetavarContext) (mctx₁ : Lean.MetavarContext) (mctx₂ : Lean.MetavarContext) (allowAssignmentDiff : Bool) :
Equations
  • x.run commonMCtx? mctx₁ mctx₂ allowAssignmentDiff = (fun (x : α × Aesop.EqualUpToIdsM.State) => x.fst) <$> x.run' commonMCtx? mctx₁ mctx₂ allowAssignmentDiff
@[inline]
Equations
@[specialize #[]]
Equations
  • One or more equations did not get rendered due to their size.
@[specialize #[]]
Equations
  • One or more equations did not get rendered due to their size.
@[implemented_by Aesop.EqualUpToIds.Unsafe.levelsEqualUpToIdsCore]
@[implemented_by Aesop.EqualUpToIds.Unsafe.exprsEqualUpToIdsCore₁]
@[implemented_by Aesop.EqualUpToIds.Unsafe.unassignedMVarsEqualUpToIdsCore]
@[specialize #[]]
Equations
  • One or more equations did not get rendered due to their size.
def Aesop.exprsEqualUpToIds (mctx₁ : Lean.MetavarContext) (mctx₂ : Lean.MetavarContext) (lctx₁ : Lean.LocalContext) (lctx₂ : Lean.LocalContext) (localInstances₁ : Lean.LocalInstances) (localInstances₂ : Lean.LocalInstances) (e₁ : Lean.Expr) (e₂ : Lean.Expr) (allowAssignmentDiff : optParam Bool false) :
Equations
  • One or more equations did not get rendered due to their size.
def Aesop.exprsEqualUpToIds' (e₁ : Lean.Expr) (e₂ : Lean.Expr) (allowAssignmentDiff : optParam Bool false) :
Equations
  • One or more equations did not get rendered due to their size.
def Aesop.unassignedMVarsEqualUptoIds (commonMCtx? : Option Lean.MetavarContext) (mctx₁ : Lean.MetavarContext) (mctx₂ : Lean.MetavarContext) (mvarId₁ : Lean.MVarId) (mvarId₂ : Lean.MVarId) (allowAssignmentDiff : optParam Bool false) :
Equations
  • One or more equations did not get rendered due to their size.
Equations
  • One or more equations did not get rendered due to their size.
def Aesop.tacticStatesEqualUpToIds (commonMCtx? : Option Lean.MetavarContext) (mctx₁ : Lean.MetavarContext) (mctx₂ : Lean.MetavarContext) (goals₁ : Array Lean.MVarId) (goals₂ : Array Lean.MVarId) (allowAssignmentDiff : optParam Bool false) :
Equations
  • One or more equations did not get rendered due to their size.
Equations
  • One or more equations did not get rendered due to their size.