From: Enrico Tassi Date: Tue, 30 May 2006 09:19:14 +0000 (+0000) Subject: A -> Univ X-Git-Tag: 0.4.95@7852~1385 X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=commitdiff_plain;h=0d5dc75385c26c4f2c2194e45336f86e5e6aa4e6;p=helm.git A -> Univ --- diff --git a/components/binaries/tptp2grafite/main.ml b/components/binaries/tptp2grafite/main.ml index 4a5781243..4042d92d1 100644 --- a/components/binaries/tptp2grafite/main.ml +++ b/components/binaries/tptp2grafite/main.ml @@ -4,6 +4,8 @@ module PT = CicNotationPt;; module A = Ast;; let floc = HExtlib.dummy_floc;; +let universe = "Univ" ;; + let kw = [ "and","myand" ];; @@ -85,7 +87,7 @@ let build_ctx_for_arities univesally arities t = | (name,nargs)::tl -> PT.Binder (binder, - (mk_ident name,Some (mk_arrow "A" nargs)), + (mk_ident name,Some (mk_arrow universe nargs)), aux tl) in aux arities @@ -101,7 +103,7 @@ let convert_atom universally a = | A.False -> mk_ident "False" | A.Eq (l,r) | A.NotEq (l,r) -> (* removes the negation *) - PT.Appl [mk_ident "eq";mk_ident "A";convert_term l;convert_term r] + PT.Appl [mk_ident "eq";mk_ident universe;convert_term l;convert_term r] in build_ctx_for_arities universally (List.map (fun x -> (x,0)) (collect_fv_from_atom a)) (aux a) @@ -180,7 +182,7 @@ let convert_ast statements context = function let f = PT.Binder (`Forall, - (mk_ident "A",Some (PT.Sort `Set)), + (mk_ident universe,Some (PT.Sort `Set)), convert_formula fv false context f) in let o = PT.Theorem (`Theorem,name,f,None) in