Encoding CIC in XML: theories
In Coq, a section is an ordered list of objects or
(sub)section declarations. It is used to give structure to a
".v" file, and also to delimit the scope of objects declarations.
A theory should be a (structured) mathematical
document composed using objects taken almost freely from different
sections.
Writing a new theory means developing new
objects and assembling these and older ones into the theory.
In Coq theories do not exist. The closest idea
is that of ".v" file.
From each ".v". file we generate a corresponding
XML theory file, substituting object definitions with references to them.