I’m a beginner in Alloy (specification language) and need to do some further work based on a case study, which can be found here (code is on page 5). Relevant code:
open util/ordering[Time] as T0
pred Eavesdropping() {
some pro:Process | some m:Protected_Msg |
some t: (Time - T0/last) - T0/prev[T0/last] | let t = T0/t.next |
let t = T0/t .next | !HasReadAccess[pro,m] && (m->t in pro.knows)
&& (m.contents->t not in pro.knows) && (m.contents->t in
pro.knows) && IsUnique(m.contents) }
在纠正一些辛塔克斯之后,我收到了这一错误信息:“这一表述没有被打上打字”,它突出了<代码>t in let t = T0/t.next
。 如何打字?