Stefano Zacchiroli [Tue, 28 Jan 2003 10:23:59 +0000 (10:23 +0000)]
added META for module helm-tactics
Stefano Zacchiroli [Tue, 28 Jan 2003 10:23:03 +0000 (10:23 +0000)]
moved tactics from gTopLevel to the new module ocaml/tactics
Stefano Zacchiroli [Tue, 28 Jan 2003 10:22:00 +0000 (10:22 +0000)]
moved tactics in ocaml/tactics
Luca Padovani [Mon, 27 Jan 2003 14:32:07 +0000 (14:32 +0000)]
* very small fixes here and there
Michele Galatà [Fri, 24 Jan 2003 11:15:57 +0000 (11:15 +0000)]
Added Decompose tactic
Stefano Zacchiroli [Tue, 21 Jan 2003 16:37:09 +0000 (16:37 +0000)]
bugfix while printing MutInd and MutConstruct unresolved uris
Stefano Zacchiroli [Tue, 21 Jan 2003 11:38:40 +0000 (11:38 +0000)]
added html templates and pages
Stefano Zacchiroli [Tue, 21 Jan 2003 11:37:12 +0000 (11:37 +0000)]
- disambiguation implemented!
Stefano Zacchiroli [Tue, 21 Jan 2003 11:36:07 +0000 (11:36 +0000)]
- added references to gTopLevel needed modules
Claudio Sacerdoti Coen [Tue, 21 Jan 2003 11:24:52 +0000 (11:24 +0000)]
New module Disambiguate to hold:
- a functor to disambiguate terms. The input module holds all the
callbacks to the user (that will be implemented differently in Gtk
and as Web forms).
- some utility functions working on CicTextualParser0.uri which should
be moved somewhere else.
Stefano Zacchiroli [Sun, 5 Jan 2003 13:59:16 +0000 (13:59 +0000)]
typo: ')' mismatch
Claudio Sacerdoti Coen [Mon, 23 Dec 2002 21:36:52 +0000 (21:36 +0000)]
Ambiguous parsing improved: refining is now used to prune-out not-well-typed
choices as soon as the term can not be refined. Unfortunately the whole
disambiguation is parsing-bound and not type-checking/refining bound.
Claudio Sacerdoti Coen [Mon, 23 Dec 2002 21:07:55 +0000 (21:07 +0000)]
Refine can now also raise Uncertain. The exception is raised every
time a metavariab le could be instantiated in such a way that the
term could become well-typed. Useful for ambiguous parsing.
Claudio Sacerdoti Coen [Mon, 23 Dec 2002 21:06:04 +0000 (21:06 +0000)]
The interpretation function can now return also "Implicit".
Useful for incremental ambiguous parsing.
Claudio Sacerdoti Coen [Sun, 22 Dec 2002 19:06:27 +0000 (19:06 +0000)]
New: refinement is now used to disambiguate parsing.
Claudio Sacerdoti Coen [Sun, 22 Dec 2002 19:05:38 +0000 (19:05 +0000)]
New constructs \x.T and !x.T introduced. They require refinement.
Claudio Sacerdoti Coen [Sun, 22 Dec 2002 19:04:49 +0000 (19:04 +0000)]
* First implementation of CicRefine
* unwind_subst is now exported in the interface
Luca Padovani [Fri, 20 Dec 2002 15:10:20 +0000 (15:10 +0000)]
* if no configuration file is found, issue a warning but doesn't crash
Claudio Sacerdoti Coen [Wed, 18 Dec 2002 17:33:10 +0000 (17:33 +0000)]
"Insert Query (Experts only)" menu item added.
Claudio Sacerdoti Coen [Fri, 13 Dec 2002 15:05:25 +0000 (15:05 +0000)]
Added a special charcount threatment to the 'append' csymbol (whose length
was estimated being 6 instead of 3). We should do the same for every csymbol
we provide special notation to.
Ferruccio Guidi [Fri, 13 Dec 2002 12:39:01 +0000 (12:39 +0000)]
MathQL textual lexer patched
topLevel patched for compilation: -B and -MB don't work
Claudio Sacerdoti Coen [Fri, 13 Dec 2002 10:02:28 +0000 (10:02 +0000)]
Wrong commit undone.
Andrea Asperti [Fri, 13 Dec 2002 09:58:48 +0000 (09:58 +0000)]
Last commit before major modifications to do.
Michele Galatà [Fri, 13 Dec 2002 09:27:05 +0000 (09:27 +0000)]
Rearranged tactics in VariousTactics into new modules EliminationTactics,
EqualityTactics, IntroductionTactics and NegationTactics.
Claudio Sacerdoti Coen [Thu, 12 Dec 2002 18:53:12 +0000 (18:53 +0000)]
Minor widget rearrangement.
Claudio Sacerdoti Coen [Thu, 12 Dec 2002 18:43:45 +0000 (18:43 +0000)]
notation "@" for append added
Michele Galatà [Thu, 12 Dec 2002 15:36:00 +0000 (15:36 +0000)]
Added an almost working version of Generalize tactic.
Michele Galatà [Thu, 12 Dec 2002 15:22:09 +0000 (15:22 +0000)]
Added an almost working version of Generalize tactic.
Added yet another version of replace, useful in Generalize.
Michele Galatà [Thu, 12 Dec 2002 09:08:38 +0000 (09:08 +0000)]
Rearranged tactics in VariousTactics into new modules EqualityTactics, EliminationTactics,
IntroductionTactics and NegationTactics.
Added new tactics: Rewrite <-, Replace.
Claudio Sacerdoti Coen [Wed, 11 Dec 2002 11:43:18 +0000 (11:43 +0000)]
Severe bug fixed: the test failed in the case of (Rplus (...) R1).
As a consequence (Rplus (Rplus R1 R1) R1) was rendered as 2.
Claudio Sacerdoti Coen [Wed, 11 Dec 2002 10:48:13 +0000 (10:48 +0000)]
* Partial checking of mutual inductive definitions allowed.
* New environment variables requested:
GTOPLEVEL_PROOFFILE
GTOPLEVEL_PROOFFILETYPE
GTOPLEVEL_PROOFFILE
GTOPLEVEL_PROOFFILETYPE
POSTGRESQL_CONNECTION_STRING
Claudio Sacerdoti Coen [Wed, 11 Dec 2002 10:37:39 +0000 (10:37 +0000)]
Unary minus now rendered without parentheses.
Claudio Sacerdoti Coen [Tue, 10 Dec 2002 18:49:15 +0000 (18:49 +0000)]
"Rewrite ... with ... by ..." line-breaking handled.
Claudio Sacerdoti Coen [Tue, 10 Dec 2002 17:50:45 +0000 (17:50 +0000)]
First experimental commit of the notation (partial!) for real numbers.
Claudio Sacerdoti Coen [Tue, 10 Dec 2002 17:04:13 +0000 (17:04 +0000)]
Ring partially ported to the new library. But I am completely sure that
this is not the notation we need for ring. To be changed...
Claudio Sacerdoti Coen [Tue, 10 Dec 2002 17:03:12 +0000 (17:03 +0000)]
Bug fixed: beta-redex transformations to LetIn were bugged when the lambda
had two or more decls.
Claudio Sacerdoti Coen [Tue, 10 Dec 2002 17:02:12 +0000 (17:02 +0000)]
cut & paste typo fixed
Claudio Sacerdoti Coen [Tue, 10 Dec 2002 16:58:44 +0000 (16:58 +0000)]
positive.xsl is now included in headercontent.xsl and no more required in
arith.xml and list.xml. This is necessary to overload the standard rendering
of some operators (e.g. notation for real numbers).
natile [Mon, 9 Dec 2002 12:08:46 +0000 (12:08 +0000)]
Now "only" constraint are more restrictive.
Claudio Sacerdoti Coen [Mon, 9 Dec 2002 10:53:29 +0000 (10:53 +0000)]
* ElimSimplIntros replace by ElimIntrosSimpl. Simplification is performed
only in the conclusion and not (yet) on the hypothesis.
Claudio Sacerdoti Coen [Mon, 9 Dec 2002 10:52:34 +0000 (10:52 +0000)]
* New button "Select only constants" to choose the URIs to try during the
disambiguation phase. Usually the number of constants is small and among
them there is the right URI.
* New ElimIntrosSimpl replaces the old ElimSimplIntros.
Claudio Sacerdoti Coen [Mon, 9 Dec 2002 10:50:18 +0000 (10:50 +0000)]
Simpl now handles let-in reductions as delta-reductions. Cool.
Claudio Sacerdoti Coen [Fri, 6 Dec 2002 18:43:09 +0000 (18:43 +0000)]
* mQueryLevel2.get_constraints now gives back only the "must" constraints.
* the "refine constraints" interface has been improved. It can now handle
also constraints on Sorts and constants.
Claudio Sacerdoti Coen [Fri, 6 Dec 2002 17:57:34 +0000 (17:57 +0000)]
New notation for ListSet. It often raises ambiguity problems in theorems
that also use the same notation for PolyLists.
Claudio Sacerdoti Coen [Fri, 6 Dec 2002 16:05:48 +0000 (16:05 +0000)]
instantiate for inductive principles covered
Andrea Asperti [Fri, 6 Dec 2002 16:04:07 +0000 (16:04 +0000)]
instantiate for induction principles covered.
Claudio Sacerdoti Coen [Fri, 6 Dec 2002 15:00:53 +0000 (15:00 +0000)]
Bug fixed in binary standard MathML Content operators: the href/xref
attributes were not generated.
Claudio Sacerdoti Coen [Fri, 6 Dec 2002 14:57:28 +0000 (14:57 +0000)]
...
Claudio Sacerdoti Coen [Fri, 6 Dec 2002 13:36:07 +0000 (13:36 +0000)]
The fresh_name generator has been moved to ProofEngineHelpers.
intros_tac now directly uses it ==> no more ~mkname arguments.
The generator has been "improved" so that it does not generate any
more two equal names. The drawback is that every identifier is
augmented with a nonce.
Claudio Sacerdoti Coen [Fri, 6 Dec 2002 13:33:46 +0000 (13:33 +0000)]
Comments removed.
Claudio Sacerdoti Coen [Fri, 6 Dec 2002 13:31:28 +0000 (13:31 +0000)]
Bug fixed: when iota-expanding fixpoints the context was sometimes augmented
with the new types, even if the expansion already de-lifted the function body.
natile [Fri, 6 Dec 2002 13:31:17 +0000 (13:31 +0000)]
mQueryLevels2.mli added in Makefile.
Claudio Sacerdoti Coen [Fri, 6 Dec 2002 13:18:47 +0000 (13:18 +0000)]
The user interface for the completeSearchPattern query has been improved.
It is now "easy" to query for induction principles, for example.
Much work still to do.
Claudio Sacerdoti Coen [Fri, 6 Dec 2002 13:17:13 +0000 (13:17 +0000)]
1. depth constraints for Rels and Sorts are now optional
2. "can" constraints renamed to "only" constraints
3. several bug fixes:
* the order of arguments for Sub in the second phase of the query was wrong
* some identifiers in the generated query were unbound
Claudio Sacerdoti Coen [Fri, 6 Dec 2002 13:15:28 +0000 (13:15 +0000)]
1. The depth constraint on Rels and Sorts is now optional.
2. "only" (ex "can") constraints are copies of the "must" constraints
Claudio Sacerdoti Coen [Thu, 5 Dec 2002 14:57:45 +0000 (14:57 +0000)]
A simplification bug was introduced during the clean-up before the last
commit. Fixed.
Andrea Asperti [Thu, 5 Dec 2002 14:43:30 +0000 (14:43 +0000)]
Notation for if then else.
Other bug fixes.
Claudio Sacerdoti Coen [Thu, 5 Dec 2002 14:21:10 +0000 (14:21 +0000)]
Bug fixed: the lhs part of an explicit name substitution was not generated
as an m:ci, but as simple text ===> no m:mi and no hyperlink were generated.
Claudio Sacerdoti Coen [Thu, 5 Dec 2002 13:35:19 +0000 (13:35 +0000)]
Minor bug fixes in the 'instantiate' element handling.
Claudio Sacerdoti Coen [Wed, 4 Dec 2002 18:42:31 +0000 (18:42 +0000)]
Showing a query result which was an inductive type or constructor was bugged.
Claudio Sacerdoti Coen [Wed, 4 Dec 2002 18:15:46 +0000 (18:15 +0000)]
Interface improvement: a window is opened to show objects returned by the
completeSearchPattern query.
Claudio Sacerdoti Coen [Wed, 4 Dec 2002 17:37:47 +0000 (17:37 +0000)]
...
natile [Wed, 4 Dec 2002 17:34:58 +0000 (17:34 +0000)]
*** empty log message ***
Claudio Sacerdoti Coen [Wed, 4 Dec 2002 16:02:52 +0000 (16:02 +0000)]
New feature: the user can now enter the list of "must" constraints he wants.
Claudio Sacerdoti Coen [Wed, 4 Dec 2002 15:38:47 +0000 (15:38 +0000)]
* mQueryLevels interface clean-up
* gui improvement: the precision level of the SearchPattern query is now
chosen by the user. Previously it was guessed.
Claudio Sacerdoti Coen [Wed, 4 Dec 2002 14:29:52 +0000 (14:29 +0000)]
Simplification euristic improved.
It is now able to simplify a Fix which expands to an expressions which
simplifiable Fixes therein.
Claudio Sacerdoti Coen [Wed, 4 Dec 2002 14:27:22 +0000 (14:27 +0000)]
Completely broken parsing of Fix and CoFix fixed.
Claudio Sacerdoti Coen [Wed, 4 Dec 2002 12:39:45 +0000 (12:39 +0000)]
Several bug-fixes to the abstparam hell.
Stefano Zacchiroli [Wed, 4 Dec 2002 12:39:14 +0000 (12:39 +0000)]
- reverted to only one quotation level for xmluri, libxml2 is now fixed
Claudio Sacerdoti Coen [Wed, 4 Dec 2002 11:05:42 +0000 (11:05 +0000)]
Variable redefined twice fixed.
Claudio Sacerdoti Coen [Wed, 4 Dec 2002 11:02:46 +0000 (11:02 +0000)]
Variable redefined twice fixed.
Claudio Sacerdoti Coen [Wed, 4 Dec 2002 10:57:07 +0000 (10:57 +0000)]
New tactic fold_simpl.
Claudio Sacerdoti Coen [Wed, 4 Dec 2002 10:20:32 +0000 (10:20 +0000)]
* fold_tac has now a new parameter, which is the reduction to ``undo''
* The Fold button is replaced with Fold_whd and Fold_reduce
* Minor interfaces modifications
Claudio Sacerdoti Coen [Tue, 3 Dec 2002 17:47:30 +0000 (17:47 +0000)]
Typing of intros_tac improved. It now has a parameter that is a fresh-names
generator.
Claudio Sacerdoti Coen [Tue, 3 Dec 2002 17:15:21 +0000 (17:15 +0000)]
Quick implementation of the "inst" csymbol. It can surely be improved.
Claudio Sacerdoti Coen [Tue, 3 Dec 2002 16:05:50 +0000 (16:05 +0000)]
First working version of the possibility to introduce new inductive type
definitions. Many checks have not been implemented yet and the interface
allows you to progress to further stages even if the input is incorrect.
Nevertheless, if the input is correct it will be accepted by the kernel,
saved to disk and notified to the getter.
This is the dawn of a new set implementation era.
Claudio Sacerdoti Coen [Tue, 3 Dec 2002 14:50:31 +0000 (14:50 +0000)]
put_inductive_definition implemented and exposed.
It is a very UNSAFE solution to the problem of computing inner-types of
non-debrujined mutual inductive types (whose constructors referes to
the not-yet-defined inductive type block): you can use this function to
add the block to the environment; then you compute the inner-types; and
finally you save the object and register it to the getter.
Claudio Sacerdoti Coen [Tue, 3 Dec 2002 14:34:05 +0000 (14:34 +0000)]
typecheck_mutual_inductive_defs exposed.
It is used to type-check and inductive definition which has no URI associated
to it (i.e. it is not managed by the getter; e.g. when it is not saved yet
since we do not know if it is well-typed).
Claudio Sacerdoti Coen [Tue, 3 Dec 2002 14:30:58 +0000 (14:30 +0000)]
An exception was raised when a MutInd or MutConstruct had an uri to a
non-existing object. The whole URI + XPointer is now printed.
Michele Galatà [Tue, 3 Dec 2002 11:02:33 +0000 (11:02 +0000)]
Added new tactics: Exists, Split, Assumption, Absurd, Generalize (doesn't work)
Moved ElimType from ring.ml to variousTactics.ml
Moved Contradiction from fourierR.ml to variousTactics.ml
Claudio Sacerdoti Coen [Tue, 3 Dec 2002 09:18:25 +0000 (09:18 +0000)]
m:exist ==> m:exists
Claudio Sacerdoti Coen [Mon, 2 Dec 2002 18:18:02 +0000 (18:18 +0000)]
First implementation of the new generalized SearchPattern on the whole
type (not only the conclusion). Despite the file name, no levels have
been implemented so far.
Claudio Sacerdoti Coen [Mon, 2 Dec 2002 14:35:13 +0000 (14:35 +0000)]
Brand new implementation based on functors taking a strategy in input.
Several different strategies have been implemented. Unfortunately many
of them are incomparable and there are critical examples where only some
of them terminate in reasonable time.
Removing the functor/module stuff does not bring any sensible performance
improvement even for simple strategies (where most of the functions are
just identity fuctions that can be inlined when not crossing functor
boundaries).
Stefano Zacchiroli [Mon, 2 Dec 2002 13:09:02 +0000 (13:09 +0000)]
- added a level of quoting on xmluri parameter because libxslt's
document() implementation sucks
Andrea Asperti [Mon, 2 Dec 2002 09:29:12 +0000 (09:29 +0000)]
*** empty log message ***
Enrico Tassi [Sun, 1 Dec 2002 20:37:14 +0000 (20:37 +0000)]
- now esempi/fourier/ is he dir for all fourier extras
- fourier.cic some tests
- fourier_benchmarks.cic some test computionally interesting
- fourier_make_benchmarks.ml a simple tool to generate big systems of
inequations
natile [Fri, 29 Nov 2002 18:47:41 +0000 (18:47 +0000)]
Now MQueryGenerator generates the query and MQueryLevels produces the restrictions (must and can).
Enrico Tassi [Fri, 29 Nov 2002 11:19:36 +0000 (11:19 +0000)]
bug in hypotesis parsing solved
Claudio Sacerdoti Coen [Thu, 28 Nov 2002 17:01:07 +0000 (17:01 +0000)]
* iff notation added (new csymbol)
* New notation for lists added (list.xml)
Claudio Sacerdoti Coen [Wed, 27 Nov 2002 17:25:51 +0000 (17:25 +0000)]
lazily ==> call_by_name (since it is really a call_by_name!)
The default is now false (i.e. call_by_value strategy) to make an example
of Fourier application type-check in 8s instead of 1h40m!!!
We also tried a call_by_need strategy (not committed).
The results obtained are so far equivalent to the call_by_value strategy
(that is why we did not commit the code).
Stefano Zacchiroli [Wed, 27 Nov 2002 13:59:11 +0000 (13:59 +0000)]
patched Makefile to link also ../gTopLevel/mQueryLevels.cm{o,x} which
were splitted away from ../gTopLevel/mQueryGenerator.cm{o,x}
natile [Wed, 27 Nov 2002 11:09:26 +0000 (11:09 +0000)]
Relation patched, property added.
Claudio Sacerdoti Coen [Wed, 27 Nov 2002 10:59:12 +0000 (10:59 +0000)]
* The new query language (now broken) works only on the new DB
helm_mowgli_new_schema.
* InConclusion, InHypothesis and so on are now inserted in the DB with their
namespace.
Ferruccio Guidi [Wed, 27 Nov 2002 10:42:22 +0000 (10:42 +0000)]
generator patched
Enrico Tassi [Tue, 26 Nov 2002 19:45:48 +0000 (19:45 +0000)]
comments in fourier.ml now are in ocamldoc style
bug in fourierR.ml (wrong Rel) solved
Claudio Sacerdoti Coen [Tue, 26 Nov 2002 18:02:59 +0000 (18:02 +0000)]
&CSCbr; replaced with 
 to make libxslt stop complaining.
Ferruccio Guidi [Tue, 26 Nov 2002 15:22:27 +0000 (15:22 +0000)]
New module for level management (was in MQueryGenerator)
Ferruccio Guidi [Tue, 26 Nov 2002 11:40:14 +0000 (11:40 +0000)]
Generator updated for new MathQL.ml
Level functions decoupled from Generator
Pietro Di Lena [Mon, 25 Nov 2002 18:16:51 +0000 (18:16 +0000)]
Changed cic:/Coq/Sets/Ensembles/Ensembles/Empty_set.ind definition
Pietro Di Lena [Mon, 25 Nov 2002 18:16:15 +0000 (18:16 +0000)]
Now it is possible to define a 'cookable' operator with arity = 0 and hide = 0