This PR adds error explanations for two common errors caused by large elimination from `Prop`. To support this functionality, "nested" named errors thrown by sub-tactics are now able to display their error code and explanation.
21 lines
819 B
Text
21 lines
819 B
Text
/-
|
|
Copyright (c) 2025 Lean FRO, LLC. All rights reserved.
|
|
Released under Apache 2.0 license as described in the file LICENSE.
|
|
Authors: Joseph Rotella
|
|
-/
|
|
module
|
|
|
|
prelude
|
|
public import Lean.ErrorExplanations.CtorResultingTypeMismatch
|
|
public import Lean.ErrorExplanations.DependsOnNoncomputable
|
|
public import Lean.ErrorExplanations.InductiveParamMismatch
|
|
public import Lean.ErrorExplanations.InductiveParamMissing
|
|
public import Lean.ErrorExplanations.InferBinderTypeFailed
|
|
public import Lean.ErrorExplanations.InferDefTypeFailed
|
|
public import Lean.ErrorExplanations.InvalidDottedIdent
|
|
public import Lean.ErrorExplanations.ProjNonPropFromProp
|
|
public import Lean.ErrorExplanations.PropRecLargeElim
|
|
public import Lean.ErrorExplanations.RedundantMatchAlt
|
|
public import Lean.ErrorExplanations.UnknownIdentifier
|
|
|
|
public section
|