1. 17 Oct, 2014 1 commit
  2. 16 Oct, 2014 2 commits
    • Andrei Paskevich's avatar
      Term: revert the two discussion points from the last commit · 8527ea1d
      Andrei Paskevich authored
      - hide the closure variable
      - split t_app_beta into t_func_app_beta, which returns terms,
        and t_pred_app_beta which returns formulas
      
      Also:
      - check for non-recursivity in t_open_lambda
      - implement t_is_lambda via t_open_lambda (less efficient,
        but the correct code without opening would be horrendous)
      - drop t_app_lambda, subsumed by t_[func|pred]_app_beta
      - support nested lambdas in t_[func|pred]_app_beta
      8527ea1d
    • Andrei Paskevich's avatar
      Term: lambda-manipulating functions · 235fac91
      Andrei Paskevich authored
      Two points for discussion:
      
      - t_lambda accepts both terms and formulas for the body.
        Thus, t_open_lambda, t_app_lambda, and t_app_beta can all
        return a term or a formula, depending on what is inside
        the lambda term. The caller should not forget to check.
        We could, in principle, always return a term (bool-typed
        when needed), which would exclude a possible run-time error,
        but then a caller who expects a formula, would have to
        recognize the results of the form [if f then True else False],
        before blindly attaching [== True] to them. Maybe still worth it:
        it's better if a forgotten check leads to an inefficient formula
        than to a type-checking error.
      
      - t_lambda takes a preid which will be the binding variable in the
        produced epsilon. This permits us to give names to our lambdas
        if we want it (what for?) and to give locations to intermediate
        terms inside the epsilon. Overall, it's not very useful and can
        probably be removed.
      235fac91
  3. 11 Oct, 2014 1 commit
  4. 10 Oct, 2014 1 commit
  5. 08 Oct, 2014 1 commit
  6. 06 Oct, 2014 1 commit
  7. 04 Oct, 2014 2 commits
  8. 03 Oct, 2014 2 commits
  9. 26 Sep, 2014 4 commits
  10. 24 Sep, 2014 3 commits
  11. 23 Sep, 2014 1 commit
  12. 22 Sep, 2014 4 commits
  13. 20 Sep, 2014 3 commits
  14. 19 Sep, 2014 3 commits
  15. 18 Sep, 2014 11 commits