How To Install prover9 on Ubuntu 18.04

In this tutorial we learn how to install prover9 on Ubuntu 18.04. prover9 is theorem prover and countermodel generator

Introduction

In this tutorial we learn how to install prover9 on Ubuntu 18.04.

What is prover9

prover9 is:

This package provides the Prover9 resolution/paramodulation theorem prover and the Mace4 countermodel generator.

Prover9 is an automated theorem prover for first-order and equational logic. It is a successor of the Otter prover. Prover9 uses the inference techniques of ordered resolution and paramodulation with literal selection.

The program Mace4 searches for finite structures satisfying first-order and equational statements, the same kind of statement that Prover9 accepts. If the statement is the denial of some conjecture, any structures found by Mace4 are counterexamples to the conjecture.

Mace4 can be a valuable complement to Prover9, looking for counterexamples before (or at the same time as) using Prover9 to search for a proof. It can also be used to help debug input clauses and formulas for Prover9.

There are three methods to install prover9 on Ubuntu 18.04. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install prover9 Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install prover9 using apt-get by running the following command:

sudo apt-get -y install prover9

Install prover9 Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install prover9 using apt by running the following command:

sudo apt -y install prover9

Install prover9 Using aptitude

If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Ubuntu. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install prover9 using aptitude by running the following command:

sudo aptitude -y install prover9

How To Uninstall prover9 on Ubuntu 18.04

To uninstall only the prover9 package we can use the following command:

sudo apt-get remove prover9

Uninstall prover9 And Its Dependencies

To uninstall prover9 and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:

sudo apt-get -y autoremove prover9

Remove prover9 Configurations and Data

To remove prover9 configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge prover9

Remove prover9 configuration, data, and all of its dependencies

We can use the following command to remove prover9 configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge prover9

References

Summary

In this tutorial we learn how to install prover9 package on Ubuntu 18.04 using different package management tools: apt, apt-get and aptitude.