Skip to content

DEPRECATED. The official repository is at naproche-community/naproche now

License

Notifications You must be signed in to change notification settings

anfelor/Naproche-SAD

 
 

Repository files navigation

Naproche-SAD

Build Status

Proof Checking of Natural Mathematical Documents, with optional support for Isabelle Prover IDE.

The subsequent explanations are for development of the tool, not for end-users!

Command-line tool

Prerequisites

Build and test

cd .../Naproche-SAD  #repository

stack clean

stack build

stack test

Manual checking of proof files

stack exec Naproche-SAD -- OPTIONS FILE

It may be necessary to allow the E Prover more time by appending "-t SECONDS"

Isabelle/Naproche Prover IDE

Isabelle repository setup

  • Isabelle repository clone from https://isabelle.sketis.net/repos/isabelle-release (see also README_REPOSITORY)

  • Initialize fresh clone:

    hg clone https://isabelle.sketis.net/repos/isabelle-release isabelle
    cd isabelle
    hg update -C -r Isabelle2021
    bin/isabelle components -I
    bin/isabelle components -a
    
  • Update existing clone:

    cd isabelle
    hg pull https://isabelle.sketis.net/repos/isabelle-release
    hg update -C -r Isabelle2021
    bin/isabelle components -a
    

Isabelle component setup

  • remove existing components: ensure there is no reference to Naproche-SAD in $ISABELLE_HOME_USER/etc/settings or various etc/components files (e.g. Isabelle release)

  • update reference to Naproche-SAD repository in $ISABELLE_HOME_USER/etc/components like this:

    isabelle components -u .../Naproche-SAD
    

Isabelle build

  • Shutdown Isabelle/jEdit before building Isabelle/Naproche as follows:

    isabelle naproche_build
    
  • Run some tests as follows (make sure that your current directory is the root of the Naproche repository):

    isabelle naproche_build && isabelle naproche_test -j2
    
  • Package the Isabelle/Naproche component as follows:

    isabelle naproche_build && isabelle naproche_component -P
    

    The result is for the current repository version, and the underlying HW + OS platform. The following reference platforms (x86_64) are used for Isabelle2021:

    • Linux: Ubuntu 16.04 LTS
    • macOS: Mac OS X 10.13 High Sierra
    • Windows: Windows 10

Use Isabelle Prover IDE

    cd .../Naproche-SAD  #repository
  • Open ForTheL examples in Isabelle/jEdit, e.g.

      isabelle jedit examples/cantor.ftl
    
  • Open Isabelle development environment with ForTheL examples, e.g.

      isabelle jedit -l Pure Isabelle/Test.thy
    

Reference

This program is based on the System for Automated Deduction (SAD) by Andrei Paskevich, see https://github.com/tertium/SAD. You can find more resources in our CONTRIBUTING.md.

About

DEPRECATED. The official repository is at naproche-community/naproche now

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Haskell 90.8%
  • Scala 3.5%
  • Isabelle 2.2%
  • Standard ML 1.8%
  • TeX 1.2%
  • Shell 0.5%