I have a theorem called EX which returns true when a value is an element of a 
list. It is defined as:

thm = |- (EX P [] <=> F) /\ (EX P (CONS h t) <=> P h \/ EX P t)

I am trying to use this theorem with `P` being `(\x. x = “T”)` and `t` being a 
long list of strings which contains “T”.  Unfortunately my attempts to use INST 
on this theorem haven’t worked. Why doesn’t the following work?

INST [`(\x:string. x = “T")`,`P:(string->bool)`] EX;;

Thank you.

-Dylan Melville (McMaster University)
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
hol-info mailing list
hol-info@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hol-info

Reply via email to