X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=components%2Fcic%2Fcic.ml;h=5495872151bda13625042b884b9c8d77dd0943b3;hb=dd1c4eeef3d38eb9e01d50d06de6892a048c05a5;hp=64825e505dbc717585e0b444cd19e97d1c3762a9;hpb=7f2444c2670cadafddd8785b687ef312158376b0;p=helm.git diff --git a/components/cic/cic.ml b/components/cic/cic.ml index 64825e505..549587215 100644 --- a/components/cic/cic.ml +++ b/components/cic/cic.ml @@ -62,15 +62,17 @@ type object_flavour = | `Remark | `Theorem | `Variant + | `Axiom ] type object_class = - [ `Coercion + [ `Coercion of int | `Elim of sort (** elimination principle; if sort is Type, the universe is * not relevant *) - | `Record of (string * bool) list (** + | `Record of (string * bool * int) list (** inductive type that encodes a record; the arguments are - the record fields names and if they are coercions *) + the record fields names and if they are coercions and + then the coercion arity *) | `Projection (** record projection *) ] @@ -234,7 +236,7 @@ module CicHash = (struct type t = term let equal = (==) - let hash = Hashtbl.hash + let hash = Hashtbl.hash_param 100 1000 end) ;;