@Kha We will probably have to refine the heuristic for hiding the inaccessible names, but the first version is already useful. Here is the error message for a `_` before this commit ``` error: don't know how to synthesize placeholder context: x✝⁴ : List Nat x✝³ : Nat x✝² : x✝⁴ ≠ [] a b x✝¹ : Nat x✝ : [a, b] ≠ [] ⊢ Nat ``` After ``` error: don't know how to synthesize placeholder a b : Nat : [a, b] ≠ [] ⊢ Nat ```
21 lines
544 B
Text
21 lines
544 B
Text
α : Type _
|
||
as bs : List α
|
||
⊢ as ++ bs ++ bs = as ++ (bs ++ bs)
|
||
rewrite.lean:12:20: error: tactic 'rewrite' failed, did not find instance of the pattern in the target expression
|
||
List.reverse (List.reverse ?m)
|
||
α : Type _
|
||
as bs : List α
|
||
⊢ as ++ [] ++ [] ++ bs ++ bs = as ++ (bs ++ bs)
|
||
x y z : Nat
|
||
h₁ : x = y
|
||
h₂ : y = z
|
||
⊢ x = z
|
||
rewrite.lean:31:0: error: tactic 'rewrite' failed, did not find instance of the pattern in the current goal
|
||
x y z : Nat
|
||
h₁ : 0 + x = y
|
||
h₂ : 0 + y = z
|
||
⊢ x = z
|
||
m n k : Nat
|
||
: n = m
|
||
h : k = m
|
||
⊢ k = n
|