1. 23 Feb, 2011 2 commits
    • Andrei Paskevich's avatar
      be more stricte in accepting inductives and algebraics · efaf0dc2
      Andrei Paskevich authored
      1. We only accept an algebraic type declaration
      
          T 'a1 ... 'aN
      
      whenever every constructor has ls_value = Some (T 'a1 ... 'aN),
      no type variable renaming is allowed.
      
      2. We only accept an inductive predicate declaration
      
          P (_x1 : T1) ... (_xN : TN)
      
      whenever every inductive clause has a conclusion of the form
      (P (t1 : T1) ... (tN : TN)), no type variable renaming is allowed.
      
      3. To this purpose, we must typecheck the whole (mutual) inductive
      declaration group in the same denv. This must be ok, since user-named
      type variables cannot be destructively instantiated anyway. However,
      I'd like Jean-Christoph to check my changes in Typing.add_inductives.
      efaf0dc2
    • Jean-Christophe Filliâtre's avatar
      new theories ArraySorted and ArrayPermut; new program example quicksort.mlw in... · 5146df7c
      Jean-Christophe Filliâtre authored
      new theories ArraySorted and ArrayPermut; new program example quicksort.mlw in progress (but triggers a bug in inductive elimination)
      5146df7c
  2. 21 Feb, 2011 5 commits
  3. 20 Feb, 2011 15 commits
  4. 19 Feb, 2011 1 commit
  5. 18 Feb, 2011 5 commits
  6. 17 Feb, 2011 4 commits
  7. 16 Feb, 2011 8 commits