Claudio Sacerdoti Coen [Thu, 10 Jan 2002 16:52:05 +0000 (16:52 +0000)]
CIC Textual Parser added to the repository.
The Makefile stuff has been modified because of ocamllex and ocamlyacc rules.
Irene Schena [Fri, 21 Dec 2001 16:47:13 +0000 (16:47 +0000)]
----------------------------------------------------------------------
Modified Files:
1) schema-h.rdf schema-hth.rdf: bugs fixed
----------------------------------------------------------------------
Irene Schena [Thu, 13 Dec 2001 16:11:54 +0000 (16:11 +0000)]
----------------------------------------------------------------------
Modified Files:
1) schema-h.rdf schema-hth.rdf: added comments
Added Files:
1) 13-dcagent 21-euler dces dcq dctype eor: euler and dublin core schemas
----------------------------------------------------------------------
Claudio Sacerdoti Coen [Thu, 13 Dec 2001 14:21:33 +0000 (14:21 +0000)]
Generation of forward metadata using a lexical analyser.
Claudio Sacerdoti Coen [Thu, 13 Dec 2001 12:09:17 +0000 (12:09 +0000)]
The hash-table used in the implementation was of "type"
(UriManager.uri * int) -> Cic.obj
Is is now of type
UriManager.uri -> (int * Cic.obj) list
where the list is ordered from the most cooked to the less cooked.
There is almost no difference at all in the performance of big files
(limit_plus). The new design is easier to extend to a real cache with
rollback.
Claudio Sacerdoti Coen [Thu, 13 Dec 2001 10:09:45 +0000 (10:09 +0000)]
New architecture for the environment.
The final goal is to have a reentrant, session-aware environment that
also behaves as a true cache.
Claudio Sacerdoti Coen [Wed, 12 Dec 2001 18:43:17 +0000 (18:43 +0000)]
Fixing of guarded_by_constructors completed.
This is the idea of the implementation:
1) The guarded_by_constructors is called on a term which is going to produce
an inductive type (in every branch).
2) The guarded_by_constructors now has also a parameter which is the list
of arguments that are applied to the inductive type that the term
we are cheking is going to produce.
3) Once the constructor is found, its type is "applied" to the list of
arguments its inductive type is applied to. This operation gives us
an instantiated constructor type.
4) Depending on the type of every argument in the instantiated constructor
type, we call either the does_not_occur or the guarded_by_constructors
on every term the constructor is applied to. In case we call the
guarded_by_constructors, we also compute the new parameter (list of
arguments the new inductive type was applied to).
Note that the analysis of the type of the constructors is based very closely
on the analysis of positivy of an inductive type.
Note also that some cases (e.g. a MutCase, a Fix or a CoFix in head position
in the backbone of the type of a constructor) has not been considered and
raises an exception.
Claudio Sacerdoti Coen [Tue, 11 Dec 2001 14:21:33 +0000 (14:21 +0000)]
PARTIAL COMMIT:
The whole logic of the guarded_by_constructors is being changed.
The new idea is this one:
1) The guarded_by_constructors is applied to a term t which must always
generate an inhabitant of an inductive data type or of a co-inductive
data type.
2) When it find a constructor in head position, then the constructor
must construct the inductive or co-inductive data type of 1).
3) The type of the formal parameter of a constructor determines what
condition is checked on the actual parameters of the constructors:
a) Not recursive: the function must not occur in the actual parameter
b) Simply recursive (to be defined): the function must occur in the
actual parameter only guarded by constructors (where the constructor
has already been found).
c) Imbricated (i.e. it is another inductive type applied to the one
that is going to be recursively defined): in this case the guarded
by constructors (where the constructor has already been found) must
be called, but:
I) the expected inductive data type is no more the old one, but
the one of the inductive data type that is in head position in
the type.
II) Once (if) one constructor of I) will be found, its type must
be considered only after the substitution of the left (?)
parameters and considering recursion IN THE CO-INDUCTIVE TYPE
THAT IS THE OUTPUT TYPE OF THE WHOLE COFIX.
What is still wrong with this commit is that we don't have the notion of
imbricated argument yet. So, as soon as an imbricated argument is found,
the invariant 1-3 are broken and sooner or later an exception is raised
or false is returned.
Irene Schena [Mon, 10 Dec 2001 16:28:04 +0000 (16:28 +0000)]
----------------------------------------------------------------------
Modified Files:
1) schema-h.rdf, schema-hth.rdf: updated DC schemas + class and
property refinements + value types.
----------------------------------------------------------------------
Claudio Sacerdoti Coen [Mon, 10 Dec 2001 12:00:39 +0000 (12:00 +0000)]
Bug fixed: the strictly_positive condition was unnecessarily too tight.
Claudio Sacerdoti Coen [Fri, 7 Dec 2001 17:08:07 +0000 (17:08 +0000)]
The typing rule for LetIn was simply wrong. Fixed.
Claudio Sacerdoti Coen [Fri, 7 Dec 2001 15:34:41 +0000 (15:34 +0000)]
Bug partially fixed: the branch of a case of type Prod can be not a Lambda.
(e.g. a Rel, a MutConstruct, etc.) I have fixed only the two cases of a
Rel and a MutConstruct.
Claudio Sacerdoti Coen [Thu, 6 Dec 2001 18:24:58 +0000 (18:24 +0000)]
Bug fixed: cooking w.r.t. a variable with a body must not increment
the number of left parameters.
Claudio Sacerdoti Coen [Thu, 6 Dec 2001 08:59:30 +0000 (08:59 +0000)]
It now exits gracefully after an End-of-file.
Claudio Sacerdoti Coen [Wed, 5 Dec 2001 17:49:59 +0000 (17:49 +0000)]
http:/ ==> http://
Claudio Sacerdoti Coen [Wed, 5 Dec 2001 15:32:08 +0000 (15:32 +0000)]
Very stupid bug fixed: in is_small, I created an environment in reverse order.
Claudio Sacerdoti Coen [Wed, 5 Dec 2001 14:58:46 +0000 (14:58 +0000)]
The definition of small inductive types has been relaxed: a constructor
is now considered small when its type without the parameters was small
with the previous definition. This is consistent with Coq's behaviour.
Claudio Sacerdoti Coen [Wed, 5 Dec 2001 11:57:06 +0000 (11:57 +0000)]
Debugging code removed to achieve more tail-recursivity.
Claudio Sacerdoti Coen [Wed, 5 Dec 2001 11:46:13 +0000 (11:46 +0000)]
Just code clean-up.
Claudio Sacerdoti Coen [Wed, 5 Dec 2001 10:53:40 +0000 (10:53 +0000)]
Discharging of variables with a body was bugged. Fixed.
Claudio Sacerdoti Coen [Tue, 4 Dec 2001 13:24:27 +0000 (13:24 +0000)]
* Code improvement: there were two different functions both named eat_prods.
One has been renamed drop_prods.
* Bug fix: decast was still too weak. Replaced by CicReduction.whd everywhere.
Claudio Sacerdoti Coen [Tue, 4 Dec 2001 11:03:59 +0000 (11:03 +0000)]
does_not_occur now handles LetIn correctly (i.e. raising an exception
different from NotImplemented)
Claudio Sacerdoti Coen [Tue, 4 Dec 2001 11:01:08 +0000 (11:01 +0000)]
Error reporting improved.
Claudio Sacerdoti Coen [Tue, 4 Dec 2001 10:56:46 +0000 (10:56 +0000)]
is_small did not use the environment. Hence the List.nth exception. Fixed.
Claudio Sacerdoti Coen [Tue, 4 Dec 2001 09:50:17 +0000 (09:50 +0000)]
lift 0 was just a very heavy implementation of the identity function.
Claudio Sacerdoti Coen [Tue, 4 Dec 2001 09:19:20 +0000 (09:19 +0000)]
decast must also perform LetIn reduction now.
Claudio Sacerdoti Coen [Tue, 4 Dec 2001 09:18:54 +0000 (09:18 +0000)]
ppterm added
Claudio Sacerdoti Coen [Mon, 3 Dec 2001 16:25:10 +0000 (16:25 +0000)]
Makefile improved: dependencies from libraries are now considered.
Irene Schena [Mon, 3 Dec 2001 16:17:59 +0000 (16:17 +0000)]
----------------------------------------------------------------------
Added Files:
1) schema-h.rdf, schema-hth.rdf: first draft of rdf schemas for objects
and theories
----------------------------------------------------------------------
Claudio Sacerdoti Coen [Mon, 3 Dec 2001 15:33:40 +0000 (15:33 +0000)]
Dependencies from libraries now checked.
Claudio Sacerdoti Coen [Mon, 3 Dec 2001 15:13:22 +0000 (15:13 +0000)]
* Major code cleanup.
* Bug fixing: discharging of objects depending on variables with a body
is now handled (more) correctly.
Claudio Sacerdoti Coen [Mon, 3 Dec 2001 14:56:05 +0000 (14:56 +0000)]
Makefile improved.
Claudio Sacerdoti Coen [Mon, 3 Dec 2001 14:52:07 +0000 (14:52 +0000)]
Main code clean-up.
Claudio Sacerdoti Coen [Fri, 30 Nov 2001 17:17:43 +0000 (17:17 +0000)]
cicAnnotationHinter.ml* were in the library without any reason.
Claudio Sacerdoti Coen [Fri, 30 Nov 2001 17:16:28 +0000 (17:16 +0000)]
cicAnnotationHinter.ml* have no reason to be in the library.
In this way, the dependency from lablgtk is removed.
Claudio Sacerdoti Coen [Fri, 30 Nov 2001 17:15:59 +0000 (17:15 +0000)]
Exception management improved.
Claudio Sacerdoti Coen [Fri, 30 Nov 2001 16:48:19 +0000 (16:48 +0000)]
...
Claudio Sacerdoti Coen [Fri, 30 Nov 2001 16:44:30 +0000 (16:44 +0000)]
New implementation of the proof-checker daemon: there is now
only one sequential (= non concurrent) proof-checker that process
one request at a time. The next big step will be to make it re-entrant.
Claudio Sacerdoti Coen [Thu, 29 Nov 2001 20:48:49 +0000 (20:48 +0000)]
CicCooking.init() must now be used to initialize the proof-checker library.
Claudio Sacerdoti Coen [Thu, 29 Nov 2001 20:47:54 +0000 (20:47 +0000)]
A .cmo file inside a .cma is linked iff it is referenced at least once.
This was not the case for cicCooking, that simply worked using side-effects
(i.e. registering one function of him to cicEnvironment).
So, I have created a new init function to initialize the wall proof-checker.
Claudio Sacerdoti Coen [Thu, 29 Nov 2001 18:32:04 +0000 (18:32 +0000)]
LetIn reduction (alias zeta-reduction) is now performed during whd.
Claudio Sacerdoti Coen [Thu, 29 Nov 2001 18:28:16 +0000 (18:28 +0000)]
LetIn was missing.
Claudio Sacerdoti Coen [Thu, 29 Nov 2001 18:07:10 +0000 (18:07 +0000)]
* .mli added where needed
* Install and uninstall implemented
* Makefile improvements
Claudio Sacerdoti Coen [Wed, 28 Nov 2001 11:36:49 +0000 (11:36 +0000)]
configure.in now used (just to check that ocaml and findlib are there)
Very small bug-fixes.
Claudio Sacerdoti Coen [Wed, 28 Nov 2001 11:23:51 +0000 (11:23 +0000)]
META files are now automatically generated from META-*.src files.
In this way all the hard-coded file paths have been removed.
Installation and uninstallation (still not implemented) should be also
easier.
Moreover, an error in a sub-directory now stops the whole processing.
Claudio Sacerdoti Coen [Tue, 27 Nov 2001 17:28:57 +0000 (17:28 +0000)]
First version of fix_params into CVS.
Claudio Sacerdoti Coen [Tue, 27 Nov 2001 17:22:51 +0000 (17:22 +0000)]
First versione of the proofChecker into CVS.
Claudio Sacerdoti Coen [Tue, 27 Nov 2001 17:05:45 +0000 (17:05 +0000)]
param.annotations was yes or NO. It is now yer or no.
Claudio Sacerdoti Coen [Tue, 27 Nov 2001 17:05:01 +0000 (17:05 +0000)]
annotations: was yes or NO. It is now yes or no.
Claudio Sacerdoti Coen [Tue, 27 Nov 2001 14:19:09 +0000 (14:19 +0000)]
First release of cicAnnotationHelper in CVS.
Uses the new HELM OCaml libraries.
Claudio Sacerdoti Coen [Tue, 27 Nov 2001 13:26:56 +0000 (13:26 +0000)]
.depend must be in the repository
Claudio Sacerdoti Coen [Tue, 27 Nov 2001 13:16:21 +0000 (13:16 +0000)]
New implementation using the new HELM OCaml libraries.
Claudio Sacerdoti Coen [Tue, 27 Nov 2001 13:12:34 +0000 (13:12 +0000)]
New implementation that uses the new HELM OCaml libraries.
Claudio Sacerdoti Coen [Tue, 27 Nov 2001 11:58:50 +0000 (11:58 +0000)]
1) .cma/.cmxa used to simplify META files.
2) Common parts of Makefiles factorized into Makefile.common
3) Makefile added
Claudio Sacerdoti Coen [Mon, 26 Nov 2001 18:38:03 +0000 (18:38 +0000)]
.cvsignore and .depend forgot
Claudio Sacerdoti Coen [Mon, 26 Nov 2001 18:28:28 +0000 (18:28 +0000)]
HELM OCaml libraries with findlib support.
Claudio Sacerdoti Coen [Mon, 26 Nov 2001 09:24:32 +0000 (09:24 +0000)]
initial checkin
Stefano Zacchiroli [Sun, 25 Nov 2001 16:11:10 +0000 (16:11 +0000)]
Readme for the debianize.helm stuff.
Stefano Zacchiroli [Sun, 25 Nov 2001 15:56:09 +0000 (15:56 +0000)]
Debianize.helm stuff.
Now you can check out a cvs revision and obtain a *clean* debianized source
tree executing "debian/debianize.helm".
Moreover the generated debian packages are native debian packages.
Stefano Zacchiroli [Sun, 25 Nov 2001 13:52:41 +0000 (13:52 +0000)]
Synced debian dir.
Stefano Zacchiroli [Sun, 25 Nov 2001 13:05:37 +0000 (13:05 +0000)]
Removed from debian dir.
Stefano Zacchiroli [Sun, 25 Nov 2001 13:02:31 +0000 (13:02 +0000)]
Synced debian dir.
Luca Padovani [Fri, 23 Nov 2001 19:34:54 +0000 (19:34 +0000)]
added config.sub and config.guess so that the package is ready for Debian
Claudio Sacerdoti Coen [Fri, 23 Nov 2001 17:12:00 +0000 (17:12 +0000)]
Content-type for MathML Content "fixed". Why was it broken?
Claudio Sacerdoti Coen [Thu, 22 Nov 2001 13:16:15 +0000 (13:16 +0000)]
out of sync w.r.t. configuration.ml
Claudio Sacerdoti Coen [Wed, 21 Nov 2001 18:38:35 +0000 (18:38 +0000)]
Underlining of hyperlinks removed.
Claudio Sacerdoti Coen [Wed, 21 Nov 2001 18:32:00 +0000 (18:32 +0000)]
mkMetaTheoryURL(): param.embedKeys() forgot.
Code improvement.
Stefano Zacchiroli [Mon, 19 Nov 2001 15:04:14 +0000 (15:04 +0000)]
Changed version number to 0.2.1
Claudio Sacerdoti Coen [Fri, 16 Nov 2001 17:23:25 +0000 (17:23 +0000)]
BUG FIXED:
An maction with only one child does not have the same semantic
of an mrow. E.g.: when I click to un-expand a node, the first enclosing
maction is the one I am acting on. If it has only one child, nothing
happens. So, if an maction with only one child is put inside an maction with
two children, the inner one stops any possibility to unexpand the outer one.
Claudio Sacerdoti Coen [Fri, 16 Nov 2001 16:04:38 +0000 (16:04 +0000)]
Checks for mlminidom and lablgtk added.
Claudio Sacerdoti Coen [Fri, 16 Nov 2001 14:56:04 +0000 (14:56 +0000)]
Some spourious files removed.
Claudio Sacerdoti Coen [Fri, 16 Nov 2001 14:27:36 +0000 (14:27 +0000)]
...
Claudio Sacerdoti Coen [Fri, 16 Nov 2001 14:26:34 +0000 (14:26 +0000)]
.cvsignore improved
Andrea Asperti [Fri, 16 Nov 2001 09:36:08 +0000 (09:36 +0000)]
Disequalities chains for algebra. First draft.
Claudio Sacerdoti Coen [Thu, 15 Nov 2001 12:37:05 +0000 (12:37 +0000)]
Distribution improvements.
Claudio Sacerdoti Coen [Thu, 15 Nov 2001 12:36:42 +0000 (12:36 +0000)]
Now automatically generated from Makefile.in
Claudio Sacerdoti Coen [Thu, 15 Nov 2001 12:33:55 +0000 (12:33 +0000)]
No more used.
Claudio Sacerdoti Coen [Thu, 15 Nov 2001 12:33:20 +0000 (12:33 +0000)]
First commit towards the 0.2.8 version.
Claudio Sacerdoti Coen [Wed, 14 Nov 2001 15:17:45 +0000 (15:17 +0000)]
Bug fixed
Claudio Sacerdoti Coen [Wed, 14 Nov 2001 15:02:01 +0000 (15:02 +0000)]
Bug fixed: $< confused with $^
Claudio Sacerdoti Coen [Wed, 14 Nov 2001 14:49:29 +0000 (14:49 +0000)]
missing macro
Claudio Sacerdoti Coen [Wed, 14 Nov 2001 14:29:54 +0000 (14:29 +0000)]
HTTP_GETTER_URIS_DBM added
Claudio Sacerdoti Coen [Wed, 14 Nov 2001 14:23:53 +0000 (14:23 +0000)]
HTTP_GETTER_SERVERS_FILE introduced
Stefano Zacchiroli [Wed, 14 Nov 2001 14:05:08 +0000 (14:05 +0000)]
Bug fix: changed "prefix" dir in install target.
Minor changes in debhelper usage.
Stefano Zacchiroli [Wed, 14 Nov 2001 14:04:21 +0000 (14:04 +0000)]
Changed policy standard version.
Stefano Zacchiroli [Wed, 14 Nov 2001 13:47:57 +0000 (13:47 +0000)]
Removed INSTALL (not needed) and NEWS (0 sized) from document list.
Stefano Zacchiroli [Wed, 14 Nov 2001 13:40:35 +0000 (13:40 +0000)]
Remove template like string that lintian hates.
Stefano Zacchiroli [Wed, 14 Nov 2001 13:39:55 +0000 (13:39 +0000)]
Set DH_COMPAT=2 (instead of 1).
Stefano Zacchiroli [Wed, 14 Nov 2001 13:39:38 +0000 (13:39 +0000)]
Set section field. Changed maintainer field.
Stefano Zacchiroli [Wed, 14 Nov 2001 13:38:49 +0000 (13:38 +0000)]
Changed maintainer field and set section field.
Stefano Zacchiroli [Wed, 14 Nov 2001 13:37:59 +0000 (13:37 +0000)]
Removed temp files from repository.
Claudio Sacerdoti Coen [Wed, 14 Nov 2001 12:11:34 +0000 (12:11 +0000)]
Small improvement.
Claudio Sacerdoti Coen [Wed, 14 Nov 2001 11:46:13 +0000 (11:46 +0000)]
Simplification.
Claudio Sacerdoti Coen [Tue, 13 Nov 2001 18:26:52 +0000 (18:26 +0000)]
0.0.2 ==> 0.2.0 ;-)
Claudio Sacerdoti Coen [Tue, 13 Nov 2001 18:15:25 +0000 (18:15 +0000)]
- Check for ocamlfind added.
- .cvsignore improved
Claudio Sacerdoti Coen [Tue, 13 Nov 2001 18:06:38 +0000 (18:06 +0000)]
Unused variable removed.
Claudio Sacerdoti Coen [Tue, 13 Nov 2001 18:02:19 +0000 (18:02 +0000)]
mlminidom 0.0.2 for minidom 0.1.3
Luca Padovani [Mon, 12 Nov 2001 15:44:43 +0000 (15:44 +0000)]
another small bug fixed about the pot
Claudio Sacerdoti Coen [Mon, 12 Nov 2001 15:08:20 +0000 (15:08 +0000)]
Bug fixed.
Claudio Sacerdoti Coen [Mon, 12 Nov 2001 15:06:17 +0000 (15:06 +0000)]
Required by the new getxslt method implementation.