diff options
| author | herbelin | 2006-05-13 11:46:02 +0000 |
|---|---|---|
| committer | herbelin | 2006-05-13 11:46:02 +0000 |
| commit | b9f6c5b7641115a18e7b9832da435c32aaa27014 (patch) | |
| tree | 110a807229abd8567d062b9ce4bd139f0765baeb /pretyping/reductionops.ml | |
| parent | aa70ffaa5fb6565230e23103548be7e05b528b3b (diff) | |
Code mort
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@8812 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'pretyping/reductionops.ml')
| -rw-r--r-- | pretyping/reductionops.ml | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/pretyping/reductionops.ml b/pretyping/reductionops.ml index 2a5fba8595..187a8840ca 100644 --- a/pretyping/reductionops.ml +++ b/pretyping/reductionops.ml @@ -847,26 +847,6 @@ let is_arity env sigma c = | Sort _ -> true | _ -> false -let info_arity env sigma c = - match find_conclusion env sigma c with - | Sort (Prop Null) -> false - | Sort (Prop Pos) -> true - | _ -> raise IsType - -let is_info_arity env sigma c = - try (info_arity env sigma c) with IsType -> true - -let is_type_arity env sigma c = - match find_conclusion env sigma c with - | Sort (Type _) -> true - | _ -> false - -let is_info_type env sigma t = - let s = t.utj_type in - (s = Prop Pos) || - (s <> Prop Null && - try info_arity env sigma t.utj_val with IsType -> true) - (*************************************) (* Metas *) |
