I couldn't find a primitive which for a given Coq term returns the type of this term as a Coq term. Specifically I want to check if the type of the type of a binder is Prop
or something else.
What about coq.typecheck ?
Last updated: Oct 13 2024 at 01:02 UTC