Giter Club home page Giter Club logo

isabelle_dedukti's People

Contributors

01mf02 avatar fblanqui avatar jeremydubut avatar kammerchorinnsbruck avatar makarius avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

isabelle_dedukti's Issues

ROOT Dedukti_Base seems wrong

Based on my understanding on how this file works, and the files in my Isabelle directory, it seems that Dedukti_Base should be

session Dedukti_Base in "Ex/Base" = Pure +
  sessions
    "Pure-Examples"
  theories
    "Pure-Examples.First_Order_Logic"
    "Pure-Examples.Higher_Order_Logic"

Also, executing
isabelle dedukti_build && isabelle dedukti_import -o export_standard_proofs Dedukti_Base
as proposed by the README no longer complains about not being able to load the theory, but instead that some proof in thm "First_Order_Logic.conjE" is absent.

Not all theory files are exported

I have the impression that only the recursive dependencies of Complex_Main can be exported.

Esample of missing theory: HOL/Lattice/Orders.thy

Pb Install

After an install with opam, at the make step I have the following problem:

% make && make install
File "commands/dkcheck.ml", line 118, characters 2-7:
Error: Unbound module Cmd
File "commands/dkdep.ml", line 75, characters 2-5:
Error: Unbound module Cmd
File "commands/dkmeta.ml", line 117, characters 2-14:
Error: Unbound module Cmdliner.Cmd
File "commands/dkpretty.ml", line 28, characters 2-5:
Error: Unbound module Cmd
File "commands/dkprune.ml", line 279, characters 2-14:
Error: Unbound module Cmdliner.Cmd
File "commands/dktop.ml", line 15, characters 2-14:
Error: Unbound module Cmdliner.Cmd

I did not find any file with the suffix .Cmd ?

Thanks

Dependency error

Report here but the bug most likely lies in Isabelle proper.

Trying to export up to HOL.Zorn, and got a dependency problem between HOL.Sum_Type and HOL.Product_Type

proof408788 is defined in HOL.Product_Type, used in HOL.Sum_Type but the latter does not reference the former.

ROOT

[...]
session Isabelle_Export in "Ex/Export" = Pure +
  options [export_theory, export_proofs, record_proofs = 2]
  sessions HOL
  theories
    HOL.List

bash

isabelle dedukti_build && isabelle dedukti_import -O "test/main.lp" Isabelle_Export

Appears both on master and on my fork (which supports today's lambdapi)

I'm still quite new and don't know everything about this, so this may be my fault

Variable $ISABELLE_LAMBDAPI undefined in lib/Tools/dedukti_test

isabelle dedukti_test fails because $ISABELLE_LAMBDAPI is not set.

Should this variable be set by the user? This is not explained in the README.

In addition, the script lib/Tools/dedukti_test seems to have another problem: because of the use of double quotes, $ISABELLE_LAMBDAPI cannot be set to lambdapi check:

18:55 ~/src/isabelle_dedukti (master) isabelle dedukti_test
Importing theory Pure
Importing theory Tools.Code_Generator
Importing theory HOL.HOL
Importing theory HOL.Ctr_Sugar
Importing theory HOL.Orderings
Importing theory HOL.Groups
Importing theory HOL.Lattices
Importing theory HOL.Set
Importing theory HOL.Fun
Importing theory HOL.Complete_Lattices
Importing theory HOL.Inductive
0:00:46 elapsed time
lambdapi: unknown command `output.lp'.
Usage: lambdapi COMMAND ...
Try `lambdapi --help' for more information.

By using set -x, we get:

19:12 ~/src/isabelle_dedukti (master) lib/Tools/dedukti_test 
+ OUTPUT=output.lp
++ dirname output.lp
+ cd .
++ basename output.lp
+ 'lambdapi check' output.lp
lib/Tools/dedukti_test: ligne 11: lambdapi check : commande introuvable

Finally, a lambdapi.pkg file is missing.

The Lambdapi output doesn' work

  • implicit arguments are printed while they should not
  • the option -n make isabelle dedukti_session fail
  • fix qualified names so that names from some other session can be found
  • use require open for STTfa

Location of repository

Hi Makarius and Michael,
It would make more sense if the repository was owned by Deducteam, rather than by me. I'd like to transfer ownership. Is that OK with both of you?

option -O

  • Currently, the command isabelle dedukti_generate takes as argument -O main.lp or -O main.dk but no file main.lp or main.dk are generated. This should be replaced by a single option -lp (default being dk output).
  • In README.md, references to isabelle dedukti_import should be removed.
  • In src/tools.scala, Tools should be removed and Tools2 renamed into Tools.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.