Skip to content
Snippets Groups Projects
  1. Apr 12, 2013
  2. Apr 03, 2013
    • Régis Blanc's avatar
      Completes Justify testcase · 1178be3d
      Régis Blanc authored
      This commit completes the Justify testcase with some more
      advanced properties.
      
      It provides both an implementation with its specification for
      verification, and a synthesis benchmark where choose is used
      to try to derive the correct implementation.
      1178be3d
  3. Mar 26, 2013
    • Etienne Kneuss's avatar
      Support for LetTuple in Fairz3 · f8ef4879
      Etienne Kneuss authored
      f8ef4879
    • Philippe Suter's avatar
      Introducing term enumeration. · 8dee703b
      Philippe Suter authored
      This commit introduces `leon.purescala.DataGen`, an object that contains
      two static methods; `generate` and `findModels`. `generate` is a term
      generator based on composition of streams. It can generate hundreds of
      instances of recursive types in less than a tenth of a second.
      `findModels` leverages `generate` to perform (small-)model finding. Pass
      it an expression and an evaluator (preferably `CodeGenEvaluator`) and
      watch it find models to your formula.
      
      The commit also includes a small regression test suite.
      
      (Note that although we have currently no use for this, the `generate`
      function can in principle be used to generate arbitrary terms. E.g. you
      could pass variables as fixed generators for certain types.)
      8dee703b
  4. Mar 25, 2013
    • Etienne Kneuss's avatar
      Correct handling of choose in verification. · 63477d6c
      Etienne Kneuss authored
      - Choose expressions becomes uninterpreted functions under the same
        constraints.
      
      - Fix bug with variablesOf considering choose binders as free.
      
      - Silence evaluator errors when occuring with tentative lucky models.
        Note that choose expressions cannot be evaluated nor compiled.
      63477d6c
    • Ivan Kuraj's avatar
      MarkDown README · 992458e7
      Ivan Kuraj authored
      992458e7
  5. Mar 20, 2013
  6. Mar 11, 2013
  7. Mar 09, 2013
  8. Mar 08, 2013
  9. Feb 13, 2013
    • Etienne Kneuss's avatar
      Strengthen type invariants in trees · 18f41bdc
      Etienne Kneuss authored
      18f41bdc
    • Etienne Kneuss's avatar
    • Etienne Kneuss's avatar
      Various improvements necessary for the web-interface · f48ff213
      Etienne Kneuss authored
      - Describe individual rule applications to allow a user to select one
        in particular
      
      - Scala-Printing LetDefs correctly, allow initial indenting
      
      - Fix Choose with single out variable not generating Tuple1
      
      - Give synthesis a specific path to follow, used by web
      
      - Allow val (x: Int, y: Int) = ... along with locally{}
      
      - Expose information on the synthesis search tree
      
      - Correctly substitute varaibles in ADTInduction's pre/post
      
      - Generic transformers with PC tracking, collect chooses with PC
      
      - Detect line indentation of choose() to indent solution correctly
      
      - Implement simplifier which renames ids based on the context
      
      - Rescale timeouts, use uninterpreted solver for filtering simple cases
      
      - Assume that choose() can reference the entire scope
      
        This is necessary to ensure that Lets do not get thrown away. For
        instance:
      
        Let(x = ..., choose(out => .. y ..))
      
        while the choose may not directly reference x in its preducate, it's
        part of its path condition and should be usable by synthesis.
        SimplifyLet should not simplify/replace it.
      
      - Modify PC for Let(x, Fcall()), this probably needs to be generalized!
      
      - Expose counter-example found during verification, include them in
        VCReport
      
      - Decouple genVCs/checkVCs from Phase.run so that it can be used separately
      f48ff213
    • Etienne Kneuss's avatar
      Introduce a "PowerMode" for the web interface. · 928536c9
      Etienne Kneuss authored
      Add ?powermode=1 to the URL to access PowerMode. For now, all you can do
      is set the flags manually. This allows you to run the synthesis or
      termination phases from the web, for instance. Remember, with great
      power comes great responsibility!
      928536c9
  10. Jan 25, 2013
  11. Jan 20, 2013
    • Etienne Kneuss's avatar
      Implement the concept of Normalizing rules · f5fb158f
      Etienne Kneuss authored
      Normalizing rules are rules that:
      1) always help synthesis
      2) are commutative
      3) should be applied as early as possible
      
      Here we apply normalizing rules explicitly before all other rules, and
      in a deterministic order. This should dramatically reduce the search
      space in cases where such rules apply.
      
      Note that rules that are said to be normalizing should never fail once
      instantiated.
      f5fb158f
  12. Jan 18, 2013
  13. Jan 15, 2013
  14. Jan 14, 2013
Loading