By having the `pp.proofs` feature use `⋯` when omitting proofs, when users copy/paste terms from the InfoView the elaborator can give an error message explaining why the term cannot be elaborated. Also adds `pp.proofs.threshold` option to allow users to pretty print shallow proof terms. By default, only atomic proof terms are pretty printed. This adjustment was suggested in PR #3201, which added `⋯` and the related `pp.deepTerms` option.
38 lines
783 B
Text
38 lines
783 B
Text
ppProofs.lean:8:47-8:48: error: don't know how to synthesize placeholder
|
||
context:
|
||
α β : Sort u_1
|
||
b : β
|
||
a : α
|
||
h : α = β
|
||
⊢ h ▸ a = b
|
||
ppProofs.lean:9:50-9:51: error: don't know how to synthesize placeholder
|
||
context:
|
||
α β : Sort u_1
|
||
b : β
|
||
a : α
|
||
h : α = β
|
||
⊢ (⋯ : α = β) ▸ a = b
|
||
ppProofs.lean:10:50-10:98: error: unsolved goals
|
||
α β : Sort ?u
|
||
b : β
|
||
a : α
|
||
h : α = β
|
||
⊢ (⋯ : α = β) ▸ a = b
|
||
ppProofs.lean:12:50-12:51: error: don't know how to synthesize placeholder
|
||
context:
|
||
α β : Sort u_1
|
||
b : β
|
||
a : α
|
||
h : α = β
|
||
⊢ ⋯ ▸ a = b
|
||
ppProofs.lean:14:50-14:51: error: don't know how to synthesize placeholder
|
||
context:
|
||
α β : Sort u_1
|
||
b : β
|
||
a : α
|
||
h : α = β
|
||
⊢ id h ▸ a = b
|
||
let x := (⋯ : 1 ≤ Nat.succ 1);
|
||
0 : Nat
|
||
let x := Nat.le_succ 1;
|
||
0 : Nat
|