diff options
author | herbelin <herbelin@85f007b7-540e-0410-9357-904b9bb8a0f7> | 2008-04-27 16:46:15 +0000 |
---|---|---|
committer | herbelin <herbelin@85f007b7-540e-0410-9357-904b9bb8a0f7> | 2008-04-27 16:46:15 +0000 |
commit | ca3812d7804f3936bb420e96fad034983ede271a (patch) | |
tree | 2e22e79f2225fcf3b7afcc29f99e844bd2460328 /dev/doc | |
parent | d7e7e6756b46998e864cc00355d1946b69a43c1a (diff) |
Correction du bug des types singletons pas sous-type de Set
(i.e. "Inductive unit := tt." conduisait à "t:Prop" alors que le
principe de la hiérarchie d'univers est d'être cumulative -- et que
Set en soit le niveau 0).
Une solution aurait été de poser Prop <= Set mais on adopte une autre
solution. Pour éviter le côté contre-intuitif d'avoir unit dans Type
et Prop <= Set, on garde la représentation de Prop au sein de la
hiérarchie prédicative sous la forme "Type (max ([],[])" (le niveau
sans aucune contrainte inférieure, appelons Type -1) et on adapte les
fonctions de sous-typage et de typage pour qu'elle prenne en compte la
règle Type -1 <= Prop (cf reduction.ml, reductionops.ml, et effets
incidents dans Termops.refresh_universes et Univ.super).
Petite uniformisation des noms d'univers et de sortes au passage
(univ.ml, univ.mli, term.ml, term.mli et les autres fichiers).
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@10859 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'dev/doc')
-rw-r--r-- | dev/doc/changes.txt | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/dev/doc/changes.txt b/dev/doc/changes.txt index ad7eaaf5e..7879b86f9 100644 --- a/dev/doc/changes.txt +++ b/dev/doc/changes.txt @@ -11,6 +11,20 @@ Eauto: e_resolve_constr, vernac_e_resolve_constr -> simplest_eapply Tactics: apply_with_bindings -> apply_with_bindings_wo_evars Eauto.simplest_apply -> Hiddentac.h_simplest_apply +** Universe names (univ.mli) + + base_univ -> type0_univ (* alias of Set is the Type hierarchy *) + prop_univ -> type1_univ (* the type of Set in the Type hierarchy *) + neutral_univ -> lower_univ (* semantic alias of Prop in the Type hierarchy *) + is_base_univ -> is_type1_univ + is_empty_univ -> is_lower_univ + +** Sort names (term.mli) + + mk_Set -> set_sort + mk_Prop -> prop_sort + type_0 -> type1_sort + ========================================= = CHANGES BETWEEN COQ V8.0 AND COQ V8.1 = ========================================= |