1. 18 Feb, 2019 1 commit
    • Guillaume Melquiond's avatar
      Rework numerical constants. · d3d7c7ac
      Guillaume Melquiond authored
      Main changes are:
      - Real constants now offer a normalized representation usable for internal
        computations.
      - Constants are no longer stored in textual form.
      d3d7c7ac
  2. 12 Feb, 2019 1 commit
  3. 11 Feb, 2019 1 commit
  4. 01 Feb, 2019 1 commit
  5. 30 Jan, 2019 1 commit
  6. 28 Nov, 2018 1 commit
    • Sylvain Dailler's avatar
      Removes model_trace added at parsing · 786526f4
      Sylvain Dailler authored
      Removes debug flag: debug_auto_model.
      Some changes in counterexamples triggered by:
      - (non counterexamples) transformations which have a specific case for
         model_trace but not for the new detection: this is intended as
         simplifications that would be done are often simplifications we want
         for counterexamples,
      - Some locations are missing in variables introduced by SP/WP which should
        explain the rest.
      
      This also disables projections for record in intro_projection_counterexmp.
      
      Correct subst_filter to be consistent with new counterexample modification
      786526f4
  7. 22 Oct, 2018 2 commits
  8. 11 Jul, 2018 2 commits
  9. 01 Jun, 2018 1 commit
  10. 31 May, 2018 1 commit
  11. 30 May, 2018 1 commit
  12. 17 May, 2018 1 commit
  13. 05 Apr, 2018 1 commit
  14. 20 Mar, 2018 1 commit
  15. 15 Mar, 2018 1 commit
  16. 12 Mar, 2018 1 commit
    • Sylvain Dailler's avatar
      Change the way counterexamples are parsed · 3ea32678
      Sylvain Dailler authored
      The way records are recognized during model parsing is changed:
      we previously recognized records during parsing by looking at the name of
      the variable returned by the prover (mk_r mk__rep etc).
      Now, we collect the names of constructor of records (recognized using
      their id_string beginning with "mk ") during the printing of the smt2
      files. So, after parsing of the model, we can match the name of an
      application with a previously collected constructor: we can recreate
      the record.
      
      The same can be done for all algebraic datatype.
      
      This change also solve the problem of parsing in ce-bench.
      3ea32678
  17. 21 Feb, 2018 2 commits
  18. 16 Feb, 2018 2 commits
  19. 11 Jan, 2018 1 commit
  20. 22 Nov, 2017 1 commit
  21. 09 Jun, 2017 1 commit
  22. 12 Apr, 2017 1 commit
  23. 28 Feb, 2017 1 commit
    • Clément Fumex's avatar
      Add the ability to · f0547868
      Clément Fumex authored
      * declare range types and float types,
      * use integer (resp. real) literals for those types through casting,
      * specify how to print them in drivers.
      
      Change in syntax
      * use
      
        type t = < range 1 2 >   (* integers from 1 to 2 *)
        type t' = < float 4 12 > (* float with 4 bits in exponent and 12 in mantissa *)
      
        the two projections :
        t'int
        t''real
      
        and the predicate :
        t''isFinite
      
      * Restrict the use of "'" in whyml:
        Users are not allowed to introduce names where a quote symbol
        is followed by a letter. Thus, the following identifiers are
        valid:
      
        t'
        toto'0''
        toto'_phi
      
        whereas toto'phi is not.
      
      Note: we do not yet support negative numbers in range declaration
      and casting of a literal.
      f0547868
  24. 11 Oct, 2016 1 commit
  25. 06 Oct, 2016 1 commit
  26. 06 Sep, 2016 1 commit
    • Sylvain Dailler's avatar
      Why3 altergo counterex - Allowing values to be printed for Altergo · a5d0aa0b
      Sylvain Dailler authored
      We added the generation of identifiers for counterex values inside the
      printer of altergo.
      Also added a file to factorize counterex printing functions that are used
      for both altergo and smtv2.
      
      * Makefile.in
      (cntexmp_printer): Factorization file added to Makefile.
      
      * src/driver/parse_smtv2_model_lexer.mll
      (MODEL): Adding model keyword.
      
      * src/driver/parse_smtv2_model_parser.mly
      (output): Added parsing when keyword model is at beginning of the
       output of the prover.
      
      * src/printer/alt_ergo.ml
      Adding info mimicking smtv2.ml inside most printing functions for counterex
      generation.
      
      * src/printer/cntexmp_printer.ml
      Common functions to alt_ergo.ml and smtv2.ml
      
      * src/printer/smtv2.ml
      Removed functions that are factorized into cntexmp_printer.ml
      a5d0aa0b
  27. 15 Mar, 2016 4 commits
  28. 08 Mar, 2016 1 commit
  29. 18 Aug, 2015 1 commit
  30. 20 Mar, 2015 1 commit
  31. 19 Mar, 2015 1 commit
  32. 14 Mar, 2014 1 commit
  33. 08 Nov, 2013 1 commit