Applying hypotesis to a variable

孤者浪人 提交于 2019-12-11 11:48:11

问题


Let's say I'm in the middle of a proof and I have hypotheses like these:

a : nat
b : nat
c : nat
H : somePred a b

and the definition of somePred says:

Definition somePred (p:nat) (q:nat) : Prop := forall (x : nat), P(x, p, q).

How do I apply H to c and to get P(c, a, b)?


回答1:


The answer is:

specialize H with c.


来源:https://stackoverflow.com/questions/29316168/applying-hypotesis-to-a-variable

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!