From 4e173912fc6dd2a7a0c964ccb97fbb0a06cc819e Mon Sep 17 00:00:00 2001
From: Karolis Petrauskas The package:
You may have to change the installer's permissions with the
following command-line: In order to install the proof system
into (you must have an
administrator account, and you will have to type your password) If you want to install it in some other directory dir, run: (you must have an
administrator account, and you will have to type your password) The package:
You may have to change the installer's permissions with the
following command-line: In order to install the proof system
into (you must have an
administrator account, and you will have to type your password) The package: Cygwin version 3.0.7
- or later is required. You need to install the 32-bit version of
- Cygwin, even if your OS is 64-bit. This version of TLAPS does
- not work on 64-bit Cygwin. Consult the
- Cygwin
- manual for instructions on how to install Cygwin
- packages. Installing these packages will bring in a number of other
- packages, which are also needed. Download the
- TLAPS
- installer
- and run the following command in a Cygwin terminal, from the
- directory in which the package has been downloaded
- (usually This will install the TLAPM binary in We strongly recommend that you install the
- Toolbox
- (version 1.6.0 or later). You will need to add the location of the
- You may want to install CVC4 to use as an additional SMT back-end
- for TLAPS (the default, Z3, is included in the installer). Note
- that some of our example files use CVC4 for a few proof obligations. To install CVC4, you should download it from
- the
- CVC4 download page, then rename it and move it
- to To uninstall TLAPS, open a cygwin terminal and type: The uninstaller for an existing version of TLAPS is automatically
- run when the TLAPS installer (for any version of TLAPS, including
- the same version) tries to install into the same location. Because
- of this, never store any important files in the directory where
- TLAPS is installed.
+ On Windows, TLAPS runs under WSL (Windows Subsystem for Linux).
+ After installing and launching the WSL follow the
+ TLAPS installation instructions for Linux.
+ These instructions apply to any UNIX-like system, including
- GNU/Linux, most BSD variants, Solaris, Cygwin on Windows,
+ GNU/Linux, most BSD variants, Solaris, WSL and Cygwin on Windows,
MacOSX, etc. Notes for Windows users: Notes for Windows users: TLAPS requires WSL (Windows Subsystem for Linux). TLAPS tarball:
- tlaps-1.4.5.tar.gz You can unpack TLAPS by running the following command: This creates a directory named TLAPS is implemented in OCaml and requires version 4.04.2 or
- higher. You can follow any of the suggestions
- on the offical
- OCaml release page to install OCaml. On Windows/Cygwin, OCaml
- can be installed directly from Cygwin's On MacOSX, you can use the package
- managers Homebrew
- ( If you want to install OCaml from source, consider
- using OPAM. Run the following commands. By default, the above will try to install
- in Follow the
- instructions
- on the Isabelle Web site. TLAPS actually does not need the full
- Isabelle2011-1 distribution. If you want only the necessary
- components, run the following commands: You may
- replace Note that the You may delete the Run the following commands. (Replace TLAPS source code can be obtained as a release tarball or cloned from the Download the tarball: 202210041448.tar.gz You can unpack TLAPS by running the following command: Clone the repositoryLinux
tlaps-1.4.5-x86_64-linux-gnu-inst.bin
+ href="https://github.com/tlaplus/tlapm/releases/download/202210041448/tlaps-1.5.0-x86_64-linux-gnu-inst.bin">tlaps-1.5.0-x86_64-linux-gnu-inst.bin
1. Install the Proof System
/usr/local
, run the installer as:Mac OS X (10.13 and later)
tlaps-1.4.5-i386-darwin-inst.bin
+ href="https://github.com/tlaplus/tlapm/releases/download/202210041448/tlaps-1.5.0-i386-darwin-inst.bin">tlaps-1.5.0-i386-darwin-inst.bin
1. Install
@@ -40,12 +40,12 @@ make
2. Install the Proof System
/usr/local
, run the installer as:Windows
-
-
-
- tlaps-1.4.5-i686-cygwin-inst.exe
- 1. Install Cygwin
- 2. Install the Cygwin packages
-
- make
, perl
, wget
3. Install the Proof System
- /cygdrive/c/Users/$USER/Downloads
):/usr/local/bin
- and some other data in /usr/local/lib/tlaps
, including
- the zenon
, isabelle
, z3
,
- ls4
, and translate
binaries.4. Set the Toolbox's library path
- TLAPS.tla
file to the list
- of libraries used by the Toolbox. To do this, open the Toolbox and
- go to "File > Preferences > TLA+ Preferences". Add the
- directory where TLAPS.tla
is located to the list of
- library path locations. If you have the default installation, this
- directory is C:\cygwin\usr\local\lib\tlaps\
.5. Install CVC4 (optional)
- /usr/local/lib/tlaps/bin
with this command:Uninstallation
- Generic Instructions
-
+ gcc4
, make
,
- wget
, perl
. Install them using
- Cygwin's setup.exe
.1. Unpack TLAPS tarball
-
-
- tlaps-1.4.5
that
- contains four subdirectories: tlapm
, zenon
,
- isabelle
and emacs
.2. Install OCaml
-
-
- setup.exe
.
- On most modern
- GNU/Linux distributions, OCaml is already packaged. Here are the
- commands for the common Linux distributions:
-
-
-
-
-
- Debian, Ubuntu, etc.
-
- apt-get install ocaml
-
- Redhat, Fedora, SuSe,
-
Mandriva, CentOS, etc.
- yum install ocaml
-
- Gentoo
-
- emerge ocaml
-
-
- Arch Linux
-
- pacman install ocaml
brew install objective-caml
)
- or MacPorts
- (port install ocaml
).3. Compile and Install Zenon
-
-
-
-$ ./configure && make && make install
-$ popd/usr/local
. If you don't have write access to that
- directory, or would rather install Zenon elsewhere, such as
- in $HOME/bin
, run the following:
-$ ./configure --prefix $HOME && make && make install
-$ popd4. Install Isabelle2011-1
+ 1. Obtain source code
-
-
-$ wget http://isabelle.in.tum.de/website-Isabelle2011-1/dist/polyml-5.4.0.tar.gz
-$ tar -xzf -C /usr/local Isabelle2011-1.tar.gz
-$ tar -xzf -C /usr/local polyml-5.4.0.tar.gz/usr/local
above by any other directory. For
- example, to install Isabelle2011-1 in your $HOME
,
- use -C $HOME
instead of -C /usr/local
.isabelle
- and isabelle-process
executables (found
- in /usr/local/Isabelle/bin
- or $HOME/Isabelle/bin
), or symbolic links to them, must
- be in your $PATH
for TLAPS to work.Isabelle2011-1.tar.gz
and
- polyml-5.4.0.tar.gz
files after the above steps.5. Compile Isabelle/TLA+
-
-
-
-$ isabelle make
-$ popd
-$ pushd tlaps-1.4.5/isabelle
-$ make
-$ popd/usr/local
above with wherever you
- installed Isabelle in the previous step.)6. Compile the TLA+
+
git
repository.
+
+
+
Run the following commands.
- -By default, the above will try to install TLAPM
- in /usr/local
. If you don't have write access to that
- directory, or would rather install the TLAPM
elsewhere,
- such as in $HOME/bin
, run the following:
See instructions at INSTALL.md.
-Run the following command:
@@ -183,7 +58,7 @@isabelle
you installed in earlier steps.
You can also test the TLAPS
on any of the examples
- in the /usr/local/lib/tlaps/examples
directory (which
+ in the examples
directory (which
you can easily refer to using the option -I +examples
to tlapm
). For instance:
These instructions apply to any UNIX-like system, including - GNU/Linux, most BSD variants, Solaris, WSL and Cygwin on Windows, + GNU/Linux, most BSD variants, Solaris, WSL on Windows, MacOSX, etc.
Notes for Windows users: TLAPS requires WSL (Windows Subsystem for Linux).
From ed54ce0aa35e907e9c5d7343264af1a221d3707c Mon Sep 17 00:00:00 2001 From: Karolis Petrauskas