I did this code :
section
variable p : Prop
example : ¬ (p ∧ ¬ p) :=
assume h : p ∧ ¬ p,
show false, from (and.left h) (and.right h)
end
But I have the following message error :
function expected at
h.left
term has type
p
But, in the other hand,
section
variable A : Prop
variable h1 : ¬ A
variable h2 : A
example : false := h1 h2
end
works fine...
How can I eliminate the "not" operator ?