Skip to content

Add TLA+ spec for core concurrency of spec#484

Open
gterzian wants to merge 23 commits intow3c:mainfrom
gterzian:main
Open

Add TLA+ spec for core concurrency of spec#484
gterzian wants to merge 23 commits intow3c:mainfrom
gterzian:main

Conversation

@gterzian
Copy link

@gterzian gterzian commented Jan 5, 2026

This PR comes out of the blue, but I think it could be useful.

It adds a TLA+ spec for what I think is the core concurrent part of the spec: the transaction and connection lifecycle.

As background: I am involved in the efforts at Servo to implement the latest spec, and I found how the above is specified to be quite ambiguous at first. Once you've internalized the spec and thought about it, I think it all makes sense, but the benefit of expressing this in TLA+ is that it abstracts away everything else and provides you with an unambiguous description of the concurrent part that a machine can check.

Note sure how to integrate this in the actual spec; maybe via a note and a link to the file in the repo?

For your consideration.

Signed-off-by: gterzian <2792687+gterzian@users.noreply.github.com>
Signed-off-by: gterzian <2792687+gterzian@users.noreply.github.com>
Signed-off-by: gterzian <2792687+gterzian@users.noreply.github.com>
Signed-off-by: gterzian <2792687+gterzian@users.noreply.github.com>
Signed-off-by: gterzian <2792687+gterzian@users.noreply.github.com>
Signed-off-by: gterzian <2792687+gterzian@users.noreply.github.com>
Signed-off-by: gterzian <2792687+gterzian@users.noreply.github.com>
Signed-off-by: gterzian <2792687+gterzian@users.noreply.github.com>
Signed-off-by: gterzian <2792687+gterzian@users.noreply.github.com>
Signed-off-by: gterzian <2792687+gterzian@users.noreply.github.com>
Signed-off-by: gterzian <2792687+gterzian@users.noreply.github.com>
Signed-off-by: gterzian <2792687+gterzian@users.noreply.github.com>
Signed-off-by: gterzian <2792687+gterzian@users.noreply.github.com>
Signed-off-by: gterzian <2792687+gterzian@users.noreply.github.com>
Signed-off-by: gterzian <2792687+gterzian@users.noreply.github.com>
Signed-off-by: gterzian <2792687+gterzian@users.noreply.github.com>
Signed-off-by: gterzian <2792687+gterzian@users.noreply.github.com>
git ignore states folder

Signed-off-by: gterzian <2792687+gterzian@users.noreply.github.com>
Signed-off-by: gterzian <2792687+gterzian@users.noreply.github.com>
Signed-off-by: gterzian <2792687+gterzian@users.noreply.github.com>
Signed-off-by: gterzian <2792687+gterzian@users.noreply.github.com>
Signed-off-by: gterzian <2792687+gterzian@users.noreply.github.com>
Signed-off-by: gterzian <2792687+gterzian@users.noreply.github.com>
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

Successfully merging this pull request may close these issues.

1 participant