1. 29 Sep, 2011 1 commit
  2. 20 Sep, 2011 1 commit
  3. 18 Sep, 2011 1 commit
  4. 04 Sep, 2011 1 commit
  5. 02 Sep, 2011 2 commits
  6. 23 Aug, 2011 1 commit
    • Guillaume Melquiond's avatar
      Add a new transformation that instantiates the axioms marked with the · 4d7dd217
      Guillaume Melquiond authored
      meta "instantiate : auto" on as many terms as possible.
      
      The transformation is rather naive, since it doesn't look for term
      candidates under quantifiers, if-then-else, let-in, and so on. So it can
      only appear late in the transformation pipe.
      
      It is only enabled for Gappa and its target axioms are the ones that state
      that any floating-point value is bounded. It was the last transformation
      from Why2 still missing in Why3.
      
      Thanks to this transformation, Gappa is now able to prove all the safety
      obligations from the following code, including the ones about division and
      downcast, which is definitely frightening.
      
      /*@ assigns \nothing;
        @ ensures \result == \abs(x);
        @*/
      extern double fabs(double x);
      
      /*@ requires \valid(AB_Ptr) && \valid(CD_Ptr);
        @ assigns *AB_Ptr, *CD_Ptr;
        @ ensures \abs(*AB_Ptr) <= 6.111111e-2;
        @ ensures \abs(*CD_Ptr) <= 6.111111e-2;
        @ */
      void limitValue(float *AB_Ptr, float *CD_Ptr)
      {
         double Fabs_AB, Fabs_CD;
         double max;
      
         Fabs_AB = fabs (*AB_Ptr);
         Fabs_CD = fabs (*CD_Ptr);
      
         max = Fabs_AB;
         if (Fabs_CD > Fabs_AB)  max = Fabs_CD;
      
         if ( max > 6.111111e-2)
         {
            *AB_Ptr = (float) (((*AB_Ptr) * 6.111111e-2) / max);
            *CD_Ptr = (float) (((*CD_Ptr) * 6.111111e-2) / max);
         }
      }
      4d7dd217
  7. 11 Aug, 2011 1 commit
  8. 28 Jul, 2011 1 commit
  9. 13 Jul, 2011 1 commit
    • Guillaume Melquiond's avatar
      Add support for generic printing of integers and reals. · 1ba8f1a6
      Guillaume Melquiond authored
      Prover capabilities are now represented by a record enumerating each case and which syntax to use then.
      This fixes output of nondecimal integers to provers (bug #12981).
      
      TODO: check whether some provers support more than just decimal representations.
      1ba8f1a6
  10. 11 Jul, 2011 1 commit
  11. 07 Jul, 2011 5 commits
  12. 06 Jul, 2011 1 commit
  13. 05 Jul, 2011 3 commits
  14. 02 Jul, 2011 3 commits
  15. 01 Jul, 2011 2 commits
  16. 21 Jun, 2011 1 commit
  17. 15 Jun, 2011 1 commit
  18. 12 Jun, 2011 2 commits
  19. 11 Jun, 2011 1 commit
    • Andrei Paskevich's avatar
      a little refactoring in Env · b8dcebfc
      Andrei Paskevich authored
      - create_env_of_loadpath is now provided in Env instead of Lexer
      - find_channel functions now depend on format to determine the
        suitable extensions
      b8dcebfc
  20. 10 Jun, 2011 1 commit
  21. 07 Jun, 2011 1 commit
  22. 03 Jun, 2011 2 commits
  23. 31 May, 2011 1 commit
  24. 30 May, 2011 1 commit
    • Andrei Paskevich's avatar
      fix configure and Makefile · 15ea5190
      Andrei Paskevich authored
      thanks to Frédéric Herbreteau for the patch!
      
      The TPTP plugin does not load (Linux 64bit) when compiled with
      the Menhir library. For the moment, let us leave it as it is.
      The use of the library is not necessary and is off by default.
      15ea5190
  25. 24 May, 2011 2 commits
  26. 20 May, 2011 1 commit
  27. 13 May, 2011 1 commit