Skip to content

Commit b209722

Browse files
committed
Added B-tree spec to CI validation
Signed-off-by: Andrew Helwer <ahelwer@pm.me>
1 parent 5e90e0e commit b209722

3 files changed

Lines changed: 54 additions & 0 deletions

File tree

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,7 @@ Here is a list of specs included in this repository which are validated by the C
100100
| [RFC 3506: Voucher Transaction System](specifications/byihive) | Santhosh Raju, Cherry G. Mathew, Fransisca Andriani | | | || |
101101
| [Yo-Yo Leader Election](specifications/YoYo) | Ludovic Yvoz, Stephan Merz | | | || |
102102
| [TCP as defined in RFC 9293](specifications/tcp) | Markus Kuppe | | | || |
103+
| [B-trees](specifications/btree) | Lorin Hochstein | | | || |
103104
| [TLA⁺ Level Checking](specifications/LevelChecking) | Leslie Lamport | | | | | |
104105
| [Condition-Based Consensus](specifications/cbc_max) | Thanh Hai Tran, Igor Konnov, Josef Widder | | | | | |
105106
| [Buffered Random Access File](specifications/braf) | Calvin Loncaric | | | || |

specifications/btree/README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
TLA⁺ specification of a [B-tree](https://en.wikipedia.org/wiki/B-tree) datastructure by [Lorin Hochstein](https://lorinhochstein.org/), sourced from [this git repo](https://github.com/lorin/btree-tla) and covered at length in [this blog post](https://surfingcomplexity.blog/2024/07/04/modeling-b-trees-in-tla/).
2+

specifications/btree/manifest.json

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
{
2+
"path": "specifications/btree",
3+
"title": "B-trees",
4+
"description": "Operations on B-trees. Includes a refinement mapping to a key-value store spec.",
5+
"sources": [
6+
"https://github.com/lorin/btree-tla",
7+
"https://surfingcomplexity.blog/2024/07/04/modeling-b-trees-in-tla/"
8+
],
9+
"authors": [
10+
"Lorin Hochstein"
11+
],
12+
"tags": [],
13+
"modules": [
14+
{
15+
"path": "specifications/btree/btree.tla",
16+
"communityDependencies": [],
17+
"tlaLanguageVersion": 2,
18+
"features": [],
19+
"models": [
20+
{
21+
"path": "specifications/btree/btree.cfg",
22+
"runtime": "00:00:15",
23+
"size": "small",
24+
"mode": "exhaustive search",
25+
"result": "success",
26+
"distinctStates": 374727,
27+
"totalStates": 2820091,
28+
"stateDepth": 40
29+
}
30+
]
31+
},
32+
{
33+
"path": "specifications/btree/kvstore.tla",
34+
"communityDependencies": [],
35+
"tlaLanguageVersion": 2,
36+
"features": [],
37+
"models": [
38+
{
39+
"path": "specifications/btree/kvstore.cfg",
40+
"runtime": "00:00:01",
41+
"size": "small",
42+
"mode": "exhaustive search",
43+
"result": "success",
44+
"distinctStates": 2641,
45+
"totalStates": 28585,
46+
"stateDepth": 11
47+
}
48+
]
49+
}
50+
]
51+
}

0 commit comments

Comments
 (0)