Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

What are valid values for instantiating the TLA+ model? #6

Open
bts opened this issue Nov 8, 2015 · 1 comment
Open

What are valid values for instantiating the TLA+ model? #6

bts opened this issue Nov 8, 2015 · 1 comment

Comments

@bts
Copy link

bts commented Nov 8, 2015

Hi there,

I'm working through understanding the TLA+ verification, and I was wondering if you could help with some information (e.g. some valid inputs) for the constants to instantiate the model?

Thanks!
Brian

@nibeshrestha
Copy link

nibeshrestha commented Sep 7, 2018

Hi Brian,

May be too late an reply.
I am using following model:
Replicas <- {0, 1, 2} \* Can be any set. Do make sure the number is consistent with 2f + 1 rule

Commands <- {10, 20, 30} \* can be any set of commands

FastQuorums(r) <- {a \in SUBSET Replicas: r \in a /\ Cardinality(a) = ((Cardinality(Replicas) \div 2) + ((Cardinality(Replicas) \div 2) + 1) \div 2)}

SlowQuorums(r) <- {a \in SUBSET Replicas: r \in a /\ Cardinality(a) = ((Cardinality(Replicas) \div 2) + 1) }

MaxBallot <- 10 \* can be any number greater than 1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants