Equations
- Lean.Meta.Sym.Simp.mkEqTrans e₁ e₂ h₁ e₃ h₂ = do let α ← Lean.Meta.Sym.inferType e₁ let u ← Lean.Meta.Sym.getLevel α pure (Lean.mkApp6 (Lean.mkConst `Eq.trans [u]) α e₁ e₂ e₃ h₁ h₂)
Instances For
@[reducible, inline]
Chains two simplification steps via Eq.trans.
cd₁ is the contextDependent flag from the first step (whose proof is h₁).
The output is context-dependent if either step was: in another local context,
either step might produce a different result, changing the whole chain.
Equations
- One or more equations did not get rendered due to their size.
- Lean.Meta.Sym.Simp.mkEqTransResult e₁ e₂ h₁ (Lean.Meta.Sym.Simp.Result.rfl done cd₂) cd₁ = pure (Lean.Meta.Sym.Simp.Result.step e₂ h₁ done (cd₁ || cd₂))
Instances For
Equations
- (Lean.Meta.Sym.Simp.Result.rfl done cd₂).markAsDone = Lean.Meta.Sym.Simp.Result.rfl true cd₂
- (Lean.Meta.Sym.Simp.Result.step e₃ h₂ done cd₂).markAsDone = Lean.Meta.Sym.Simp.Result.step e₃ h₂ true cd₂
Instances For
Equations
- Lean.Meta.Sym.Simp.Result.getResultExpr x✝ (Lean.Meta.Sym.Simp.Result.rfl done contextDependent) = x✝
- Lean.Meta.Sym.Simp.Result.getResultExpr x✝ (Lean.Meta.Sym.Simp.Result.step e proof done contextDependent) = e