diff options
author | Samuel Mimram <smimram@debian.org> | 2006-06-16 14:41:51 +0000 |
---|---|---|
committer | Samuel Mimram <smimram@debian.org> | 2006-06-16 14:41:51 +0000 |
commit | e978da8c41d8a3c19a29036d9c569fbe2a4616b0 (patch) | |
tree | 0de2a907ee93c795978f3c843155bee91c11ed60 /dev/doc/universes.txt | |
parent | 3ef7797ef6fc605dfafb32523261fe1b023aeecb (diff) |
Imported Upstream version 8.0pl3+8.1betaupstream/8.0pl3+8.1beta
Diffstat (limited to 'dev/doc/universes.txt')
-rw-r--r-- | dev/doc/universes.txt | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/dev/doc/universes.txt b/dev/doc/universes.txt new file mode 100644 index 00000000..65c1e522 --- /dev/null +++ b/dev/doc/universes.txt @@ -0,0 +1,32 @@ +How to debug universes? + +1. There is a command Dump Universes in Coq toplevel + + Dump Universes. + prints the graph of universes in the form of constraints + + Dump Universes "file". + produces the "file" containing universe constraints in the form + univ1 # univ2 ; + where # can be either > >= or = + + The file produced by the latter command can be transformed using + the script univdot to dot format. + For example + + univdot file | dot -Tps > file.ps + + produces a graph of universes in ps format. + > arrows are red, >= blue, and = black. + + + *) for dot see http://www.research.att.com/sw/tools/graphviz/ + + +2. There is a printing option + + Termast.print_universes : bool ref + + which, when set (in ocaml after Drop), makes all pretty-printed + Type's annotated with the name of the universe. + |