我试图在Isabelle中输入一个模式,但是当我将范围限制或域限制添加到它不想解析的定理证明器中时。我在LaTeX中有以下模式:
\begin{schema}{VideoShop}
members: \power PERSON \\
rented: PERSON \rel TITLE \\
stockLevel: TITLE \pfun \nat
\where
\dom rented \subseteq members \\
\ran rented \subseteq \dom stockLevel \\
\forall t: \ran rented @ \# (rented \rres \{t\}) \leq stockLevel~t
\end{schema}
当将此输入到Isabelle时,我会得到以下结果:
locale videoshop =
fixes members :: "PERSON set"
and rented :: "(PERSON * TITLE) set"
and stockLevel :: "(TITLE * nat) set"
assumes "Domain rented \<subseteq> members"
and "Range rented \<subseteq> Domain stockLevel"
and "(\<forall> t. (t \<in> Range rented) \<and> (card (rented \<rhd> {t}) \<le> stockLevel t))"
begin
.....
除了最后一个表达式之外,它都会进行解析
\<forall> t.....
我只是不明白如何给伊莎贝尔增加射程限制。