]> matita.cs.unibo.it Git - helm.git/commit - helm/ocaml/cic_unification/cicRefine.ml
Big commit to let Ferruccio try the merge_coercion patch.
authorEnrico Tassi <enrico.tassi@inria.fr>
Wed, 7 Dec 2005 15:42:42 +0000 (15:42 +0000)
committerEnrico Tassi <enrico.tassi@inria.fr>
Wed, 7 Dec 2005 15:42:42 +0000 (15:42 +0000)
commitcf3635c0830661f59d16339cd7fc9c3b948fcbc8
tree51d3985d0f23a9330ca41fed6004d5ad615d98ad
parent41be5e85a1103a5b14495bb487995a6a88e79c48
Big commit to let Ferruccio try the merge_coercion patch.

1) allowed :> syntax in record to specify that a field is a coercion
   (and it will be used (if needed) in defining the following projections)
2) minor cleanup in CicUtil.is_metaclosed
3) added library_objects.reset_defaults() (used in MatitaSync.init())
4) added MatitaSync.init() that is the only way to obtain an initial matita
   status
5) CoercDb is only accessed by CoercGraph
6) insert_coercion flag added to the refiner (and removed the use_coercion flag
   from CoercDb). Coercions are always available, the refiner will eventually
   insert them
7) CicRefiner now packs coercions with the avoid_double_coercion function
8) GrafiteAstPp is now "more" in sync and dump_moo seems to work again
9) LibrarySync has a merge_coercions function that calls on
   `Generated && not(is_coercion) objects. I hope it is enough (calling it
   on every objects shlows down a bit
10)MatitaScript now calls MatitaSync.init() on reset

TODO: - remove CoercGraph.remove_coercion from add_single_obj
      - find a place for CoercGraph.add_coercion used in generate_projections
32 files changed:
helm/ocaml/acic_content/cicNotationPp.ml
helm/ocaml/acic_content/cicNotationPt.ml
helm/ocaml/acic_content/cicNotationUtil.ml
helm/ocaml/cic/.depend
helm/ocaml/cic/cic.ml
helm/ocaml/cic/cicParser.ml
helm/ocaml/cic/cicUtil.ml
helm/ocaml/cic/libraryObjects.ml
helm/ocaml/cic/libraryObjects.mli
helm/ocaml/cic_acic/cic2Xml.ml
helm/ocaml/cic_disambiguation/disambiguate.ml
helm/ocaml/cic_unification/cicRefine.ml
helm/ocaml/cic_unification/cicRefine.mli
helm/ocaml/content_pres/.depend
helm/ocaml/grafite/grafiteAstPp.ml
helm/ocaml/grafite2/matitaSync.ml
helm/ocaml/grafite2/matitaSync.mli
helm/ocaml/grafite_parser/.depend
helm/ocaml/grafite_parser/grafiteParser.ml
helm/ocaml/grafite_parser/matitaDisambiguator.ml
helm/ocaml/library/.depend
helm/ocaml/library/Makefile
helm/ocaml/library/cicRecord.ml
helm/ocaml/library/coercDb.ml
helm/ocaml/library/coercDb.mli
helm/ocaml/library/coercGraph.ml
helm/ocaml/library/coercGraph.mli
helm/ocaml/library/librarySync.ml
helm/ocaml/library/librarySync.mli
helm/ocaml/tactics/.depend
helm/ocaml/tactics/doc/body.tex
helm/ocaml/tactics/doc/main.tex