fix(lean): annotate polymorphic divergence type to discharge implicit universe inference

This commit is contained in:
cflmy committed 2026-11-18 13:39:34 +08:00
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