In Lean4, the check should be based on the compiler. That is, a definition should be marked as noncomputable when we cannot generate code for it.
4 lines
99 B
Text
4 lines
99 B
Text
constant f : Π A : Type, A → Type
|
||
|
||
def ex5b (α : Type) (a : α) : Π A : Type, A → Type :=
|
||
f
|