]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/software/matita/applyTransformation.ml
+ Chain NCic.term -> content -> presentation very very roughly implemented
[helm.git] / helm / software / matita / applyTransformation.ml
index 670fd2e0c5d8fb7dd4e87cba43baa41aa4f98253..27725882e8d867f6f8acbe34c31c4df7e80c1e7c 100644 (file)
@@ -64,6 +64,13 @@ let mml_of_cic_sequent metasenv sequent =
    (asequent,
     (ids_to_terms,ids_to_father_ids,ids_to_hypotheses,ids_to_inner_sorts)))
 
+let nmml_of_cic_sequent metasenv subst sequent =
+  let content_sequent = NTermCicContent.map_sequent sequent in 
+  let pres_sequent = 
+   Sequent2pres.nsequent2pres content_sequent in
+  let xmlpres = mpres_document pres_sequent in
+   Xml2Gdome.document_of_xml DomMisc.domImpl xmlpres
+
 let mml_of_cic_object obj =
   let (annobj, ids_to_terms, ids_to_father_ids, ids_to_inner_sorts,
     ids_to_inner_types, ids_to_conjectures, ids_to_hypotheses)