This PR changes `addPPExplicitToExposeDiff` to show universe differences
and to visit into projections, e.g.:
```
error: tactic 'rfl' failed, the left-hand side
(Test.mk (∀ (x : PUnit.{1}), True)).1
is not definitionally equal to the right-hand side
(Test.mk (∀ (x : PUnit.{2}), True)).1
```
for
```lean
inductive Test where
| mk (x : Prop)
example : (Test.mk (∀ _ : PUnit.{1}, True)).1 = (Test.mk (∀ _ : PUnit.{2}, True)).1 := by
rfl
```
16 lines
456 B
Text
16 lines
456 B
Text
issue3232.lean:5:2-5:9: error: tactic 'apply' failed, could not unify the type of `h`
|
|
@foo 42
|
|
with the goal
|
|
@foo 23
|
|
h : foo
|
|
⊢ foo
|
|
issue3232.lean:8:2-8:29: error: tactic 'apply' failed, could not unify the type of `rfl`
|
|
(1 : Int) = 1
|
|
with the goal
|
|
(1 : Nat) = 1
|
|
⊢ 1 = 1
|
|
issue3232.lean:11:2-11:25: error: tactic 'apply' failed, could not unify the type of `Eq.refl PUnit`
|
|
Eq.{2} PUnit PUnit
|
|
with the goal
|
|
Eq.{1} PUnit PUnit
|
|
⊢ PUnit = PUnit
|