- commonMCtx? : Option Lean.MetavarContext
- mctx₁ : Lean.MetavarContext
- mctx₂ : Lean.MetavarContext
- 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 subexpressione
in the other (at the same position), we consider?x
equal toe
.
Instances For
- equalMVarIds : Lean.HashMap Lean.MVarId Lean.MVarId
- equalLMVarIds : Lean.HashMap Lean.LMVarId Lean.LMVarId
- leftUnassignedMVarValues : Lean.HashMap Lean.MVarId Lean.Expr
A map from metavariables which are unassigned in the left goal to their corresponding expression in the right goal. Only used when
allowAssignmentDiff = true
. - rightUnassignedMVarValues : Lean.HashMap Lean.MVarId Lean.Expr
A map from metavariables which are unassigned in the right goal to their corresponding expression in the left goal. Only used when
allowAssignmentDiff = true
.
Instances For
@[reducible, inline]
Equations
Instances For
@[always_inline]
Equations
- Aesop.instMonadEqualUpToIdsM = let __src := inferInstanceAs (Monad Aesop.EqualUpToIdsM); Monad.mk
def
Aesop.EqualUpToIdsM.run'
{α : Type}
(x : Aesop.EqualUpToIdsM α)
(commonMCtx? : Option Lean.MetavarContext)
(mctx₁ : Lean.MetavarContext)
(mctx₂ : Lean.MetavarContext)
(allowAssignmentDiff : Bool)
:
Equations
- One or more equations did not get rendered due to their size.
Instances For
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
Instances For
Equations
- Aesop.EqualUpToIds.readCommonMCtx? = do let __do_lift ← read pure __do_lift.commonMCtx?
Instances For
Equations
- Aesop.EqualUpToIds.readMCtx₁ = do let __do_lift ← read pure __do_lift.mctx₁
Instances For
Equations
- Aesop.EqualUpToIds.readMCtx₂ = do let __do_lift ← read pure __do_lift.mctx₂
Instances For
Equations
- Aesop.EqualUpToIds.readAllowAssignmentDiff = do let __do_lift ← read pure __do_lift.allowAssignmentDiff
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
- mdecl₁ : Lean.MetavarDecl
- mdecl₂ : Lean.MetavarDecl
- equalFVarIds : Lean.HashMap Lean.FVarId Lean.FVarId
Instances For
- mvarId: Lean.MVarId → Aesop.EqualUpToIds.MVarValue
- expr: Lean.Expr → Aesop.EqualUpToIds.MVarValue
- delayedAssignment: Lean.DelayedMetavarAssignment → Aesop.EqualUpToIds.MVarValue
Instances For
Equations
- Aesop.EqualUpToIds.Unsafe.levelsEqualUpToIdsCore l₁ l₂ = if ptrEq l₁ l₂ = true then pure true else Aesop.EqualUpToIds.Unsafe.levelsEqualUpToIdsCore' l₁ l₂
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
@[implemented_by Aesop.EqualUpToIds.Unsafe.levelsEqualUpToIdsCore]
Equations
- One or more equations did not get rendered due to their size.
Instances For
unsafe def
Aesop.EqualUpToIds.Unsafe.exprsEqualUpToIdsCore.instMVars
(mctx : Lean.MetavarContext)
(e : Lean.Expr)
:
Equations
Instances For
unsafe def
Aesop.EqualUpToIds.Unsafe.exprsEqualUpToIdsCore.printExpr
(mctx : Lean.MetavarContext)
(mdecl : Lean.MetavarDecl)
(e : Lean.Expr)
:
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
unsafe def
Aesop.EqualUpToIds.Unsafe.exprsEqualUpToIdsCore'.normalizeMVar
(mctx : Lean.MetavarContext)
(m : Lean.MVarId)
:
Equations
- One or more equations did not get rendered due to their size.
Instances For
unsafe def
Aesop.EqualUpToIds.Unsafe.exprsEqualUpToIdsCore'.compareMVarValues
(v₁ : Aesop.EqualUpToIds.MVarValue)
(v₂ : Aesop.EqualUpToIds.MVarValue)
:
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
unsafe def
Aesop.EqualUpToIds.Unsafe.localContextsEqualUpToIdsCore
(mdecl₁ : Lean.MetavarDecl)
(mdecl₂ : Lean.MetavarDecl)
:
Equations
- One or more equations did not get rendered due to their size.
Instances For
unsafe def
Aesop.EqualUpToIds.Unsafe.localContextsEqualUpToIdsCore.go
(decls₁ : Array Lean.LocalDecl)
(decls₂ : Array Lean.LocalDecl)
(h : decls₁.size = decls₂.size)
(i : Nat)
(gctx : Aesop.EqualUpToIds.GoalContext)
:
Equations
- One or more equations did not get rendered due to their size.
Instances For
unsafe def
Aesop.EqualUpToIds.Unsafe.unassignedMVarsEqualUpToIdsCore
(mvarId₁ : Lean.MVarId)
(mvarId₂ : Lean.MVarId)
:
Equations
- One or more equations did not get rendered due to their size.
Instances For
@[implemented_by Aesop.EqualUpToIds.Unsafe.unassignedMVarsEqualUpToIdsCore]
opaque
Aesop.EqualUpToIds.unassignedMVarsEqualUpToIdsCore
(mvarId₁ : Lean.MVarId)
(mvarId₂ : Lean.MVarId)
:
def
Aesop.EqualUpToIds.tacticStatesEqualUpToIdsCore
(goals₁ : Array Lean.MVarId)
(goals₂ : Array Lean.MVarId)
:
Equations
- One or more equations did not get rendered due to their size.
Instances For
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.
Instances For
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.
Instances For
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.
Instances For
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.