]> matita.cs.unibo.it Git - helm.git/blob - helm/software/components/grafite_engine/nCicCoercDeclaration.mli
Preparing for 0.5.9 release.
[helm.git] / helm / software / components / grafite_engine / nCicCoercDeclaration.mli
1 (*
2     ||M||  This file is part of HELM, an Hypertextual, Electronic        
3     ||A||  Library of Mathematics, developed at the Computer Science     
4     ||T||  Department, University of Bologna, Italy.                     
5     ||I||                                                                
6     ||T||  HELM is free software; you can redistribute it and/or         
7     ||A||  modify it under the terms of the GNU General Public License   
8     \   /  version 2 or (at your option) any later version.      
9      \ /   This software is distributed as is, NO WARRANTY.     
10       V_______________________________________________________________ *)
11
12
13 (* evals a coercion declaration statement: name t ty (id,src) tgt *)
14 val eval_ncoercion: 
15    #GrafiteTypes.status as 'status ->
16      string ->
17      CicNotationPt.term ->
18      CicNotationPt.term ->
19      string * CicNotationPt.term ->
20      CicNotationPt.term -> 'status * [> `New of NUri.uri list ]
21
22 (* for records, the term is the projection, already refined, while the
23  * first integer is the number of left params and the second integer is 
24  * the arity in the `:arity>` syntax *)
25 val basic_eval_and_record_ncoercion_from_t_cpos_arity: 
26    #GrafiteTypes.status as 'status ->
27      string * NCic.term * int * int -> 'status * [> `New of NUri.uri list ]
28