I have a bunch of rules that essentially suggest that some P sentence can never be true. Now I have to prove that P is wrong using Coq. To do this on paper, I would suggest that P holds, and then comes to a contradiction, thereby proving that P cannot hold on.
I'm not quite sure how to suggest that P is for this proof, and this is what I am turning to for help. My current code is:
Variables {β¦} : Prop. Hypothesis rule1 : β¦ . Hypothesis rule2 : β¦ . . . . Hypothesis rule6 : β¦ . Variable s : P. (* Assume that P holds for proof by contradiction *) (* other Coq commands *) (* proof is done *)
Can someone please confirm if I do it correctly (otherwise, how should I do it?)?
source share