]> matita.cs.unibo.it Git - helm.git/blob - matita/components/grafite_engine/nCicCoercDeclaration.mli
66e3a561b33ca5c65dc1f69b0ef6f26f5b7b80aa
[helm.git] / matita / 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 compose t ty (id,src) tgt *)
14 val eval_ncoercion: 
15    #GrafiteTypes.status as 'status ->
16      string ->
17      bool ->
18      NotationPt.term ->
19      NotationPt.term ->
20      string * NotationPt.term ->
21      NotationPt.term -> 'status * NUri.uri list
22
23 (* for records, the term is the projection, already refined, while the
24  * first integer is the number of left params and the second integer is 
25  * the arity in the `:arity>` syntax *)
26 val basic_eval_and_record_ncoercion_from_t_cpos_arity: 
27    #GrafiteTypes.status as 'status ->
28      string * bool * NCic.term * int * int -> 'status * NUri.uri list
29