]> matita.cs.unibo.it Git - helm.git/log
helm.git
19 years agoall initialization code is now in the new matitaInit.ml module.
Enrico Tassi [Tue, 20 Sep 2005 10:51:26 +0000 (10:51 +0000)]
all initialization code is now in the new matitaInit.ml module.

19 years agomatitadep now parses notation.
Enrico Tassi [Tue, 20 Sep 2005 09:01:56 +0000 (09:01 +0000)]
matitadep now parses notation.

19 years agodevelopment windows now avoids doing an anction selecting no developments
Enrico Tassi [Tue, 20 Sep 2005 08:07:13 +0000 (08:07 +0000)]
development windows now avoids doing an anction selecting no developments

19 years ago* Obsolete debugging comments removed
Claudio Sacerdoti Coen [Mon, 19 Sep 2005 16:25:16 +0000 (16:25 +0000)]
* Obsolete debugging comments removed
* Debugging comments by Andrea marked with "Andrea:"

19 years agoNotation for "ex" introduced. It is the same as the notation for forall,
Claudio Sacerdoti Coen [Mon, 19 Sep 2005 16:02:07 +0000 (16:02 +0000)]
Notation for "ex" introduced. It is the same as the notation for forall,
but it uses \exists.

NOTE: there is a bug now in cic_notation. The notation for ex is parsed, but
it is not pretty-printed correctly!

19 years ago...
Claudio Sacerdoti Coen [Mon, 19 Sep 2005 15:34:34 +0000 (15:34 +0000)]
...

19 years agoMore profiling code.
Claudio Sacerdoti Coen [Mon, 19 Sep 2005 15:28:59 +0000 (15:28 +0000)]
More profiling code.

19 years agoGreat speed-up in alias_diff (about 3x).
Claudio Sacerdoti Coen [Mon, 19 Sep 2005 15:06:49 +0000 (15:06 +0000)]
Great speed-up in alias_diff (about 3x).
NOTE: alias_diff is still quite slow (e.g. 2.4s in the processing of
factorization.ma). This function really deserves to be got rid of.
(Moreover, this is possible and not that difficult)

19 years agoA bit of profiling functions added here and there.
Claudio Sacerdoti Coen [Mon, 19 Sep 2005 14:20:17 +0000 (14:20 +0000)]
A bit of profiling functions added here and there.

19 years agoSpurious interpretation removed.
Claudio Sacerdoti Coen [Mon, 19 Sep 2005 14:02:25 +0000 (14:02 +0000)]
Spurious interpretation removed.

19 years agoProfiling disabled.
Claudio Sacerdoti Coen [Mon, 19 Sep 2005 14:02:24 +0000 (14:02 +0000)]
Profiling disabled.

19 years ago...
Claudio Sacerdoti Coen [Mon, 19 Sep 2005 14:00:08 +0000 (14:00 +0000)]
...

19 years agoThis commit (partially) removes a big source of inefficiency (at least for
Claudio Sacerdoti Coen [Mon, 19 Sep 2005 13:51:29 +0000 (13:51 +0000)]
This commit (partially) removes a big source of inefficiency (at least for
the select function and the rewrite tactic): CicUnification.UnificationFailure
exceptions were enriched producing (in a very expensive way) a nice error
message. However, the expensive error message is useful only when it must be
shown to the user. Very often this is not the case. Thus I am now postponing
the production of the error message, changing the type of the exception.
NOTE: this kind of improvement can be applied everywhere in the code!
At least it should be applied to functions that can normally fail (e.g.
unification, refinement, convertibility, type checking, etc.)

19 years agoadded list.ma
Stefano Zacchiroli [Mon, 19 Sep 2005 13:38:05 +0000 (13:38 +0000)]
added list.ma

19 years ago- avoid catching top level exceptions when the relevant setting in the registry is set
Stefano Zacchiroli [Mon, 19 Sep 2005 12:42:27 +0000 (12:42 +0000)]
- avoid catching top level exceptions when the relevant setting in the registry is set
- removed some ancient debugging prints

19 years agosplitted command line arguments among debugging and non-debugging so that when BuildT...
Stefano Zacchiroli [Mon, 19 Sep 2005 12:41:43 +0000 (12:41 +0000)]
splitted command line arguments among debugging and non-debugging so that when BuildTimeConf.debug is false the -debug flag is not available

19 years ago- added support for -debug, which avoid catching top level exceptions (still useless...
Stefano Zacchiroli [Mon, 19 Sep 2005 12:41:02 +0000 (12:41 +0000)]
- added support for -debug, which avoid catching top level exceptions (still useless until we find a way to let the program die on uncaught exceptions raised by gtk callbacks)
- enable whelp syntax on command line
- uses Arg for command line parsing

19 years ago- bugfix: when backtracking restore the appropriate matched terms instead of keeping...
Stefano Zacchiroli [Mon, 19 Sep 2005 12:39:28 +0000 (12:39 +0000)]
- bugfix: when backtracking restore the appropriate matched terms instead of keeping the current ones
- changed column order while matching constructors, this should speed up the matching since often application head discriminate if a row can be applied or not

19 years agoRemoved final question marks from {apply|elim|rewrite}s.
Claudio Sacerdoti Coen [Mon, 19 Sep 2005 09:41:19 +0000 (09:41 +0000)]
Removed final question marks from {apply|elim|rewrite}s.
(This used to change the goals order, but it has now been fixed by Gares)

19 years agoSome code that used to avoid a fixed bug removed.
Claudio Sacerdoti Coen [Mon, 19 Sep 2005 09:29:17 +0000 (09:29 +0000)]
Some code that used to avoid a fixed bug removed.

19 years ago...
Claudio Sacerdoti Coen [Mon, 19 Sep 2005 09:26:19 +0000 (09:26 +0000)]
...

19 years ago.ma inclusions corrected/minimized
Claudio Sacerdoti Coen [Mon, 19 Sep 2005 09:20:00 +0000 (09:20 +0000)]
.ma inclusions corrected/minimized

19 years agoProfiling code commented out.
Claudio Sacerdoti Coen [Mon, 19 Sep 2005 09:05:53 +0000 (09:05 +0000)]
Profiling code commented out.

19 years agoCicUtil.profile made even more polymorphic.
Claudio Sacerdoti Coen [Mon, 19 Sep 2005 09:04:14 +0000 (09:04 +0000)]
CicUtil.profile made even more polymorphic.

19 years agoadded a function to reorder the metasenv.
Enrico Tassi [Fri, 16 Sep 2005 16:15:02 +0000 (16:15 +0000)]
added a function to reorder the metasenv.

19 years ago...
Claudio Sacerdoti Coen [Fri, 16 Sep 2005 13:07:36 +0000 (13:07 +0000)]
...

19 years ago...
Claudio Sacerdoti Coen [Fri, 16 Sep 2005 13:04:56 +0000 (13:04 +0000)]
...

19 years agoadded notation for: nleq, ngeq, nless, and ngtr
Stefano Zacchiroli [Fri, 16 Sep 2005 12:13:31 +0000 (12:13 +0000)]
added notation for: nleq, ngeq, nless, and ngtr

19 years agoadded notation for nleq, nlgt, ...
Stefano Zacchiroli [Fri, 16 Sep 2005 11:56:54 +0000 (11:56 +0000)]
added notation for nleq, nlgt, ...

19 years agoadded entites/overrides for leq, geq, nleq, ngeq, to
Stefano Zacchiroli [Fri, 16 Sep 2005 11:50:21 +0000 (11:50 +0000)]
added entites/overrides for leq, geq, nleq, ngeq, to

19 years agore-generated
Stefano Zacchiroli [Fri, 16 Sep 2005 11:49:24 +0000 (11:49 +0000)]
re-generated

19 years agouses Hashtbl.replace instead of Hashtbl.add so that:
Stefano Zacchiroli [Fri, 16 Sep 2005 11:49:07 +0000 (11:49 +0000)]
uses Hashtbl.replace instead of Hashtbl.add so that:
1) extra-entities.xml could be used to override undesired bindings
2) only used mapping are kept in memory at run-time

19 years agoYet another implementation of the single aliases / multi aliases idea.
Claudio Sacerdoti Coen [Thu, 15 Sep 2005 17:40:32 +0000 (17:40 +0000)]
Yet another implementation of the single aliases / multi aliases idea.
The new implementation is much simpler: single aliases are used everywhere
in the disambiguation phase; however, when a term needs to be looked for in
the library, it can be looked in a user-provided multi aliases environment instead.

NOTE: the new implementation fixes a bug of the previous implementation: the
most recent alias in the multi-alias set was printed last in the .moo files,
changing the performances of the system.

19 years ago"bool.ma" is now always included before "logic.ma", in order to speed up
Claudio Sacerdoti Coen [Thu, 15 Sep 2005 17:39:01 +0000 (17:39 +0000)]
"bool.ma" is now always included before "logic.ma", in order to speed up
parsing.

19 years agoYet another implementation of the single aliases / multi aliases idea.
Claudio Sacerdoti Coen [Thu, 15 Sep 2005 17:21:07 +0000 (17:21 +0000)]
Yet another implementation of the single aliases / multi aliases idea.
The new implementation is much simpler: single aliases are used everywhere
in the disambiguation phase; however, when a term needs to be looked for in
the library, it can be looked in a user-provided multi aliases environment
instead.

NOTE: the new implementation fixes a bug of the previous implementation: the
most recent alias in the multi-alias set was printed last in the .moo files,
changing the performances of the system.

19 years ago...
Claudio Sacerdoti Coen [Thu, 15 Sep 2005 12:37:45 +0000 (12:37 +0000)]
...

19 years agoimproved discriminate test: check if it works on inductive types with left parameters
Stefano Zacchiroli [Thu, 15 Sep 2005 12:13:07 +0000 (12:13 +0000)]
improved discriminate test: check if it works on inductive types with left parameters

19 years agobugfix in discriminate: now works also with inductive types with left parameters
Stefano Zacchiroli [Thu, 15 Sep 2005 12:12:30 +0000 (12:12 +0000)]
bugfix in discriminate: now works also with inductive types with left parameters
discriminate code has also been re-engineered and re-formatted

19 years agoadded \neq notation
Stefano Zacchiroli [Thu, 15 Sep 2005 09:38:00 +0000 (09:38 +0000)]
added \neq notation

19 years agobugfix: save "~" backup together with the non-~ version instead of in the current dir
Stefano Zacchiroli [Thu, 15 Sep 2005 09:37:38 +0000 (09:37 +0000)]
bugfix: save "~" backup together with the non-~ version instead of in the current dir

19 years agoadded -debug flag which avoid catching top-level exception (usefule for stack backtrace)
Stefano Zacchiroli [Thu, 15 Sep 2005 09:26:45 +0000 (09:26 +0000)]
added -debug flag which avoid catching top-level exception (usefule for stack backtrace)

19 years ago- changed command line interface of cicbrowser so that everything which could be...
Stefano Zacchiroli [Thu, 15 Sep 2005 09:17:50 +0000 (09:17 +0000)]
- changed command line interface of cicbrowser so that everything which could be written in the "URL" bar can be provided on the cmdline as well (even without double-quoting)
- ported to new ppmetasenv (swapped arguments)

19 years agouniformed ppmetasenv to other pp* methods: substs are now passed _before_ the metasenv
Stefano Zacchiroli [Thu, 15 Sep 2005 09:16:26 +0000 (09:16 +0000)]
uniformed ppmetasenv to other pp* methods: substs are now passed _before_ the metasenv

19 years agomoved matita logo in the right place
Stefano Zacchiroli [Thu, 15 Sep 2005 09:15:29 +0000 (09:15 +0000)]
moved matita logo in the right place

19 years agobugfix: default "false" used to set the _true_ uri ...
Stefano Zacchiroli [Thu, 15 Sep 2005 09:12:59 +0000 (09:12 +0000)]
bugfix: default "false" used to set the _true_ uri ...

19 years agofixed a finalization issue for connections closed twice
Stefano Zacchiroli [Wed, 14 Sep 2005 16:06:14 +0000 (16:06 +0000)]
fixed a finalization issue for connections closed twice
thanks to Erik Stroke for the patch

19 years agobugfixes:
Enrico Tassi [Wed, 14 Sep 2005 13:52:37 +0000 (13:52 +0000)]
bugfixes:
1) ask for saving/mooing only when the user has choosen a file to load
2) opening a file doesn't call goto_top (removing all xml, even if the moo has
   been generated). This fix should enforce the invariant that a moo exists only
   if the corrsponding xml objects do.
3) the switch_page callback is inhibited before removing pages in
   sequentViewers#reset

19 years agodone some items
Stefano Zacchiroli [Wed, 14 Sep 2005 08:55:16 +0000 (08:55 +0000)]
done some items

19 years agoadded hyperlinks on case pattern heads and outtype
Stefano Zacchiroli [Wed, 14 Sep 2005 08:45:30 +0000 (08:45 +0000)]
added hyperlinks on case pattern heads and outtype

19 years agoenable selections and href handling on elements having href and no xref, this
Stefano Zacchiroli [Wed, 14 Sep 2005 08:44:57 +0000 (08:44 +0000)]
enable selections and href handling on elements having href and no xref, this
permits selecting/following links on case pattern heads and outtype

19 years agoProduct, pair and projections.
Andrea Asperti [Wed, 14 Sep 2005 08:04:32 +0000 (08:04 +0000)]
Product, pair and projections.

19 years agofactorization.ma
Andrea Asperti [Wed, 14 Sep 2005 07:48:44 +0000 (07:48 +0000)]
factorization.ma

19 years agoNew version of the library. nth_prime, gcd, log.
Andrea Asperti [Wed, 14 Sep 2005 07:47:11 +0000 (07:47 +0000)]
New version of the library. nth_prime, gcd, log.

19 years agoBug fixed: when several instances are tried during disambiguation, do not add
Claudio Sacerdoti Coen [Tue, 13 Sep 2005 16:55:02 +0000 (16:55 +0000)]
Bug fixed: when several instances are tried during disambiguation, do not add
aliases unless they are absolutely necessary. Even in this case they should
be one-shot aliases (not implemented yet).

19 years agoEnabling/disabling profiling is now controlled by a boolean (and not by a
Claudio Sacerdoti Coen [Tue, 13 Sep 2005 16:33:46 +0000 (16:33 +0000)]
Enabling/disabling profiling is now controlled by a boolean (and not by a
comment!!!)

19 years agowe have to pass back lastmeta and not newmeta (newmeta <= lastmeta).
Enrico Tassi [Tue, 13 Sep 2005 15:13:52 +0000 (15:13 +0000)]
we have to pass back lastmeta and not newmeta (newmeta <= lastmeta).
just a cut and paste bug...

19 years agovalid baseuri in template
Stefano Zacchiroli [Tue, 13 Sep 2005 15:01:01 +0000 (15:01 +0000)]
valid baseuri in template

19 years agono longer use absolute path for naming notebook labels
Stefano Zacchiroli [Tue, 13 Sep 2005 15:00:48 +0000 (15:00 +0000)]
no longer use absolute path for naming notebook labels

19 years agofixed parsing of --x=x ("'uminus" is now right associative)
Stefano Zacchiroli [Tue, 13 Sep 2005 14:43:32 +0000 (14:43 +0000)]
fixed parsing of --x=x ("'uminus" is now right associative)

19 years agoNew policy for the disambiguation passes.
Claudio Sacerdoti Coen [Tue, 13 Sep 2005 14:36:44 +0000 (14:36 +0000)]
New policy for the disambiguation passes.

19 years agouseless alias removed
Claudio Sacerdoti Coen [Tue, 13 Sep 2005 14:36:06 +0000 (14:36 +0000)]
useless alias removed

19 years agoremoved a comment/bug report about let..in rendering, now fixed
Stefano Zacchiroli [Tue, 13 Sep 2005 14:11:45 +0000 (14:11 +0000)]
removed a comment/bug report about let..in rendering, now fixed

19 years agofixed "let .. in" rendering, adding the break between the "in" and what follows
Stefano Zacchiroli [Tue, 13 Sep 2005 14:11:16 +0000 (14:11 +0000)]
fixed "let .. in" rendering, adding the break between the "in" and what follows

19 years ago- changed moo representation in MatitaTypes.status, no longer a string list, but...
Stefano Zacchiroli [Tue, 13 Sep 2005 13:27:53 +0000 (13:27 +0000)]
- changed moo representation in MatitaTypes.status, no longer a string list, but a command (in AST format) list
- fixed redundancy in moo: aliases, interpretation, and default commands are always present only once in a single moo
- added MatitaTypes.add_moo_content: from now on it must be then only function used to add content to moo objects

19 years agocosmetic changes
Stefano Zacchiroli [Tue, 13 Sep 2005 13:25:46 +0000 (13:25 +0000)]
cosmetic changes

19 years agofixed dummy_floc
Stefano Zacchiroli [Tue, 13 Sep 2005 13:25:36 +0000 (13:25 +0000)]
fixed dummy_floc

19 years ago- fixed dummy_floc (now in DisambiguateTypes)
Stefano Zacchiroli [Tue, 13 Sep 2005 13:24:56 +0000 (13:24 +0000)]
- fixed dummy_floc (now in DisambiguateTypes)
- cosmetic changes

19 years agoadded moo dumping debug item
Stefano Zacchiroli [Tue, 13 Sep 2005 13:24:22 +0000 (13:24 +0000)]
added moo dumping debug item

19 years agoremove matitamake binaries on clean
Stefano Zacchiroli [Tue, 13 Sep 2005 13:24:06 +0000 (13:24 +0000)]
remove matitamake binaries on clean

19 years agoadded "commands_of_environment"
Stefano Zacchiroli [Tue, 13 Sep 2005 13:23:05 +0000 (13:23 +0000)]
added "commands_of_environment"

19 years agoregenerated
Stefano Zacchiroli [Tue, 13 Sep 2005 13:22:23 +0000 (13:22 +0000)]
regenerated

19 years agomoved dummy_floc from Disambiguate to DisambiguateTypes, since it is now needed by...
Stefano Zacchiroli [Tue, 13 Sep 2005 13:22:02 +0000 (13:22 +0000)]
moved dummy_floc from Disambiguate to DisambiguateTypes, since it is now needed by DisambiguatePp

19 years ago...
Claudio Sacerdoti Coen [Tue, 13 Sep 2005 12:19:26 +0000 (12:19 +0000)]
...

19 years ago...
Claudio Sacerdoti Coen [Tue, 13 Sep 2005 12:17:44 +0000 (12:17 +0000)]
...

19 years agoTest fixed.
Claudio Sacerdoti Coen [Tue, 13 Sep 2005 12:12:44 +0000 (12:12 +0000)]
Test fixed.

19 years agoTwo bugs fixed in the apply tactic:
Claudio Sacerdoti Coen [Tue, 13 Sep 2005 11:56:42 +0000 (11:56 +0000)]
Two bugs fixed in the apply tactic:
 1. an application of a term of type t where t reduces to a product does not
    fail any longer: t is unfolded as required to produce enough products.
    E.g. apply (t: ~A) when the goal is False
 2. the apply tactic does not fail any longer when the goal is a product.
    When the head of the type of the term is flexible, the type is a product
    and the goal is a product (e.g. t: A -> ? vs A' -> B) the less instantiated
    term (i.e. t) is tried first; in case of failure (e.g. A not unifiable with
    A') t is instantiated adding one metavariable after another.

19 years agocic_textual_parser2 ==> cic_disambiguation
Claudio Sacerdoti Coen [Mon, 12 Sep 2005 17:04:54 +0000 (17:04 +0000)]
cic_textual_parser2 ==> cic_disambiguation

19 years agocic_textual_parser2 ==> cic_disambiguation
Claudio Sacerdoti Coen [Mon, 12 Sep 2005 16:59:51 +0000 (16:59 +0000)]
cic_textual_parser2 ==> cic_disambiguation

19 years agocore_notation.ma ==> core_notation.moo
Claudio Sacerdoti Coen [Mon, 12 Sep 2005 16:54:44 +0000 (16:54 +0000)]
core_notation.ma ==> core_notation.moo

19 years agoremoved left-spacing of 2 em for '(' (useful only for debugging purposes)
Stefano Zacchiroli [Mon, 12 Sep 2005 16:37:40 +0000 (16:37 +0000)]
removed left-spacing of 2 em for '(' (useful only for debugging purposes)

19 years ago- de-ALB-ing
Stefano Zacchiroli [Mon, 12 Sep 2005 16:36:27 +0000 (16:36 +0000)]
- de-ALB-ing
- added a debugging item for notation

19 years agocic_textual_parser2 -> cic_disambiguation
Stefano Zacchiroli [Mon, 12 Sep 2005 16:35:36 +0000 (16:35 +0000)]
cic_textual_parser2 -> cic_disambiguation

19 years agoremoved debugging print
Stefano Zacchiroli [Mon, 12 Sep 2005 16:20:38 +0000 (16:20 +0000)]
removed debugging print

19 years agoremoved work-arounds for poor disambiguation, which should now be fixed with the...
Stefano Zacchiroli [Mon, 12 Sep 2005 16:09:07 +0000 (16:09 +0000)]
removed work-arounds for poor disambiguation, which should now be fixed with the multiple passes support ...

19 years agoAdded support for multiple disambiguation passes.
Stefano Zacchiroli [Mon, 12 Sep 2005 16:06:33 +0000 (16:06 +0000)]
Added support for multiple disambiguation passes.
Actually, passes can differ in:
- whether they use library as fallback for unbound domain items or not
- whether they use multi-aliases or not
- whether they use coercions or not.
The current policy is to postpone the use of coercions as much as possible and to fallback to library only as a last resort.
Passes can be configured from matitaDisambiguator.ml.

19 years agoadded support for multi-aliases in disambiguation environment(s)
Stefano Zacchiroli [Mon, 12 Sep 2005 16:02:02 +0000 (16:02 +0000)]
added support for multi-aliases in disambiguation environment(s)

19 years agoadded use_coercions flag (imperative :-(, non re-entrant :-(((( )
Stefano Zacchiroli [Mon, 12 Sep 2005 16:00:51 +0000 (16:00 +0000)]
added use_coercions flag (imperative :-(, non re-entrant :-(((( )

19 years agoComment removed.
Claudio Sacerdoti Coen [Mon, 12 Sep 2005 11:27:47 +0000 (11:27 +0000)]
Comment removed.

19 years ago...
Claudio Sacerdoti Coen [Mon, 12 Sep 2005 10:44:12 +0000 (10:44 +0000)]
...

19 years ago...
Claudio Sacerdoti Coen [Mon, 12 Sep 2005 10:26:36 +0000 (10:26 +0000)]
...

19 years ago- exported CPS iterator visit_magic
Stefano Zacchiroli [Mon, 12 Sep 2005 09:19:28 +0000 (09:19 +0000)]
- exported CPS iterator visit_magic
- added CPS iterator vivist_variable
- added freshen_term/freshen_obj which freshen instance numbers on ASTs

19 years agoFilled pre-generated notation levels with productions on dummy tokens (never generate...
Stefano Zacchiroli [Mon, 12 Sep 2005 09:18:15 +0000 (09:18 +0000)]
Filled pre-generated notation levels with productions on dummy tokens (never generated by the lexer). This hack works around a bug in camlp4 which on delete_rule remove an entire precedence level if it gets empty after the delete_rule invocation.

19 years agodone some items
Stefano Zacchiroli [Mon, 12 Sep 2005 09:16:56 +0000 (09:16 +0000)]
done some items

19 years agocommented Record type constructor
Stefano Zacchiroli [Mon, 12 Sep 2005 09:16:34 +0000 (09:16 +0000)]
commented Record type constructor

19 years agoAn old note (that goes back to July) integrated in matita.txt.
Claudio Sacerdoti Coen [Mon, 12 Sep 2005 08:52:13 +0000 (08:52 +0000)]
An old note (that goes back to July) integrated in matita.txt.

19 years agothe case Appl Meta vs t was not executed in case t was a Constant,Mutcase,Cofix,Fix...
Enrico Tassi [Fri, 9 Sep 2005 13:03:25 +0000 (13:03 +0000)]
the case Appl Meta vs t was not executed in case t was a Constant,Mutcase,Cofix,Fix,.... (I guess only if it was a Rel/Meta).

19 years agoworkaround for sequent viewer flickering
Enrico Tassi [Fri, 9 Sep 2005 09:24:53 +0000 (09:24 +0000)]
workaround for sequent viewer flickering

19 years agoadded left/right
Enrico Tassi [Fri, 9 Sep 2005 09:06:13 +0000 (09:06 +0000)]
added left/right

19 years ago...
Claudio Sacerdoti Coen [Thu, 8 Sep 2005 17:13:46 +0000 (17:13 +0000)]
...

19 years agoremoved some debugging prints
Stefano Zacchiroli [Thu, 8 Sep 2005 12:49:43 +0000 (12:49 +0000)]
removed some debugging prints