leanprover-community / mathlib

  • Home
  • Zulip archive
  • API documentation
  • Lean web editor
  • Links

Zulip Chat Archive

Stream: lean4

Topic: Type annotation prevents elaboration of universe level


Jakob von Raumer (Sep 20 2021 at 11:25):

I have a strange case where adding the exact type signature prevents it from being elaborated:

section
variable (A : Type) (B : A → Prop)

def foo := PSigma B -- succeeds

def bar : Type := PSigma B -- fails
end

Do you think this can be fixed?


Last updated: May 02 2025 at 03:31 UTC

Theme Simple by wildflame © 2016 Powered by jekyll