[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [tlaplus] Strategies for scalable modeling of append-only logs

It's possible that a view (compare section 14.3.3, p. 243ff, Specifying Systems) can achieve the same results without changing the Spec.


> On Oct 20, 2023, at 1:54 PM, Jones Martins <jonesmvc@xxxxxxxxx> wrote:
> [...]
> The community module SequencesExt contains a IsSuffix(_) operator. Every action that changes the log would be written like AddOne:
> EquivalentSuffixes == { <<"+1", "-1">>, <<"-1", "+1">>, <<"+1", "-1", "div2", "-1">> } AppendToLog(log, event) == LET newLog == log \o <<event>> IN IF \E suffix \in EquivalentSuffixes: IsSuffix(suffix, newLog) THEN log ELSE newLog AddOne == /\ x' = x + 1 /\ log' = AppendToLog(log, "+1") 
> By compressing log, the state space would contain a subset of possible logs, which might be a problem…
> I haven’t tested any of this, by the way, but I’m curious to know if there are any other solutions.

You received this message because you are subscribed to the Google Groups "tlaplus" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tlaplus+unsubscribe@xxxxxxxxxxxxxxxx.
To view this discussion on the web visit https://groups.google.com/d/msgid/tlaplus/4019A0DE-670B-430C-86D0-DED53827DFA4%40lemmster.de.