I have been experiencing an issue when using Lean 4.
I ran into it while working my way through the docs, in the Propositions and Proofs section. Under Propositions as Types, the docs introduce the Proof Type:
We could then introduce, for each element
p : Prop, another typeProof p, for the type of proofs ofp.
Below, it shows a code snippet checking for the type of Proof, which returns Proof : Prop → Type:
#check Proof -- Proof : Prop → Type
When I try running this snippet, I get the following error:
example.lean:3:7: error: unknown identifier 'Proof'
implying that lean can not find the Proof type. This is my problem, how do I get Lean to recognize Proof?
Thanks!