• Andrei Paskevich's avatar
    add the option --realize to Main · 9ab0704b
    Andrei Paskevich authored
    How to use it:
    
        why3 --realize -D drivers/coq-realize.drv -T real.Real -o .
    
            produces Real.v in the current directory
    
        why3 --realize -D drivers/coq-realize.drv -T real.Real
    
            produces real/Real.v in the loadpath near real.why
            (the directory "real" must exist)
    
    If a realization file is already there, it is passed to
    the printer in order to preserve the proofs.
    
    Instead of -D <driver_file>, you can use -P <prover>,
    if that prover uses a corresponding driver. However,
    the prover itself is not used.
    
    You can only realize theories from the loadpath.
    
    At the moment, coq-realize.drv is the only driver
    capable to realize theories in some sensible way.
    For any other driver, the results may be funny.
    
    Realization of WhyML modules is not possible so far.
    
    Realization may break if you directories and filenames
    contain non-alphanumeric symbols.
    
    The whole thing is in very preliminary stage.
    Use with caution.
    9ab0704b
Name
Last commit
Last update
bench Loading commit data...
bin Loading commit data...
comparison Loading commit data...
doc Loading commit data...
drivers Loading commit data...
examples Loading commit data...
misc Loading commit data...
modules Loading commit data...
plugins Loading commit data...
share Loading commit data...
src Loading commit data...
tests Loading commit data...
theories Loading commit data...
.gitignore Loading commit data...
CHANGES Loading commit data...
DEVELOPER.readme Loading commit data...
INSTALL Loading commit data...
LICENSE Loading commit data...
META.in Loading commit data...
Makefile.in Loading commit data...
OCAML-LICENSE Loading commit data...
README Loading commit data...
ROADMAP Loading commit data...
TODO Loading commit data...
Version Loading commit data...
configure.in Loading commit data...