Skip to content
This repository has been archived by the owner on Jan 8, 2024. It is now read-only.
/ fv-project Public archive

Latest commit

 

History

History

scala

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

CvRDTs exported from Isabelle/HOL to Scala 3

Usage examples of the CvRDTs exported from Isabelle/HOL to Scala 3.

Usage

IntegerVector

A small example using the IntegerVector can be found in the Main.scala file.

It can be run using the following command:

sbt run

GCounter

A test suite for the GCounter can be found in the TestGCounter.scala file. It tests basic operations on the GCounter as well as an example showing that, given a trace of increments and merges, the final state is the same regardless of the order of the operations.

The tests can be run using the following command:

sbt test