data61 / PSL

Other
65 stars 9 forks source link

LiFtEr: Change 'All_Sub_Trm_Occ' and 'Some_Sub_Trm_Occ' #71

Closed yutakang closed 5 years ago

yutakang commented 5 years ago

Probably either All_Sub_Trm_Occ or Some_Sub_Trm_Occ does not have to take subtrm as an argument. Instead, it would be better if we

... because sometime we want to specify an occurrence of a term without specifying a term (e.g. Is_In_Prems).

yutakang commented 5 years ago
yutakang commented 5 years ago

I also have to change All_Ind_Occ, All_Arb_Occ, Some_Ind_Occ, and Some_Arb_Occ.

yutakang commented 5 years ago

To implement new versions of

without introducing fresh variables, I need to re-define

Basically, All_Ind, All_Arb, Some_Ind, and Some_Arb should be syntactic sugars for All_Ind_Occ, All_Arb_Occ, Some_Ind_Occ, and Some_Arb_Occ, respectively. Not the other way around.

yutakang commented 5 years ago

No, either way, I have to introduce fresh variables if I consider them as syntactic sugars.

yutakang commented 5 years ago

We can simply give up having

We can write it manually as

yutakang commented 5 years ago

c58404c149322de2111a1965e31598392ff6db07