Introduce previously proved theorem as hypothesis

前端 未结 1 1345
暗喜
暗喜 2021-02-18 14:08

Suppose that I have already proved some theorem in coq, and later I want to introduce it as a hypothesis in the proof of another theorem. Is there a succinct way to do this?

相关标签:
1条回答
  • 2021-02-18 14:54

    You can use pose proof theorem_name as X., where X is the name you want to introduce.


    If you're going to destruct it right away, you can also: destruct (decide_eq_nat x y).

    0 讨论(0)
提交回复
热议问题