HOL 定理证明器:添加到现有理论

HOL Theorem Prover: Adding to existing theory

我正在尝试将定理添加到现有理论中。我要添加的定理是:

!l1 l2.LENGTH (APP l1 l2) = LENGTH l1 + l2  

我的第一步是证明定理;然而,当我尝试设定目标时,我收到几条错误消息:

set_goal( [],``! (l1:'a list) (l2:'a list).LENGTH (APP l1 l2) = LENGTH l1 + l2``)`

我觉得应该是

∀l1 l2. LENGTH (APP l1 l2) = LENGTH l1 + LENGTH l2

set_goal([], ``! (l1:'a list) (l2:'a list).LENGTH (APP l1 l2) = LENGTH l1 + LENGTH l2``)