fix(lean): annotate polymorphic divergence type to discharge implicit universe inference
This commit is contained in:
1 parent
1f730ad4fd
commit
16d9cc1610
1 file changed
+1
-1
@@ -120,7 +120,7 @@ theorem error_not_success {α ε : Type} (e : ε) :
|
||||
cases hv
|
||||
|
||||
theorem diverged_not_success {α ε : Type} :
|
||||
¬ (∃ v : α, Exit.diverged = Exit.ok v) := by
|
||||
¬ (∃ v : α, (Exit.diverged : Exit α ε) = Exit.ok v) := by
|
||||
intro h
|
||||
obtain ⟨v, hv⟩ := h
|
||||
cases hv
|
||||
|
||||
Reference in new issue
Block a user