]>
matita.cs.unibo.it Git - helm.git/log
Claudio Sacerdoti Coen [Fri, 23 Sep 2005 16:47:52 +0000 (16:47 +0000)]
More profiling code.
Claudio Sacerdoti Coen [Fri, 23 Sep 2005 16:16:09 +0000 (16:16 +0000)]
CicUtil.profile ==> HExtlib.profile
Claudio Sacerdoti Coen [Fri, 23 Sep 2005 16:03:12 +0000 (16:03 +0000)]
CicUtil.profile ==> HExtlib.profile
Claudio Sacerdoti Coen [Fri, 23 Sep 2005 16:01:26 +0000 (16:01 +0000)]
...
Stefano Zacchiroli [Fri, 23 Sep 2005 14:58:15 +0000 (14:58 +0000)]
bugfix: evaluation of object commands is now atomic wrt status (including CicEnvironment, metadata, and the heck ...), either it succeed returning a new status or raises an exception leaving the status unchanged
Stefano Zacchiroli [Fri, 23 Sep 2005 14:34:35 +0000 (14:34 +0000)]
"verbose" argument of remove is now optional (default false)
Claudio Sacerdoti Coen [Fri, 23 Sep 2005 14:30:00 +0000 (14:30 +0000)]
Less feedback during removal of objects.
Claudio Sacerdoti Coen [Fri, 23 Sep 2005 14:29:05 +0000 (14:29 +0000)]
...
Claudio Sacerdoti Coen [Fri, 23 Sep 2005 14:21:09 +0000 (14:21 +0000)]
Too many OPTIMIZE TABLES (because of a very stupid bug).
Claudio Sacerdoti Coen [Fri, 23 Sep 2005 14:16:50 +0000 (14:16 +0000)]
save_object_to_disk profiler fixed
Claudio Sacerdoti Coen [Fri, 23 Sep 2005 14:14:05 +0000 (14:14 +0000)]
Profiling code removed.
Claudio Sacerdoti Coen [Fri, 23 Sep 2005 13:57:57 +0000 (13:57 +0000)]
several "INSERT VALUE" ==> "INSERT VALUES" (more efficient)
Claudio Sacerdoti Coen [Fri, 23 Sep 2005 13:57:25 +0000 (13:57 +0000)]
Profiling code removed.
Stefano Zacchiroli [Fri, 23 Sep 2005 13:51:47 +0000 (13:51 +0000)]
avoid generating useless parens in mathml contextes that do not require them (e.g. exponent, fractions, ...)
Stefano Zacchiroli [Fri, 23 Sep 2005 13:46:46 +0000 (13:46 +0000)]
removed a line of dead code
Claudio Sacerdoti Coen [Fri, 23 Sep 2005 13:21:00 +0000 (13:21 +0000)]
Dead code removed again!!!
Stefano Zacchiroli [Fri, 23 Sep 2005 13:16:34 +0000 (13:16 +0000)]
avoid pattern matching on attributed terms since this loses attributes
Enrico Tassi [Fri, 23 Sep 2005 12:55:12 +0000 (12:55 +0000)]
fix
Enrico Tassi [Fri, 23 Sep 2005 12:54:24 +0000 (12:54 +0000)]
universes are saved to disk
Claudio Sacerdoti Coen [Fri, 23 Sep 2005 12:54:23 +0000 (12:54 +0000)]
The disambiguation now returns the aliases diff. It used to return the
new aliases and a slow diff operation was performed later on.
Enrico Tassi [Fri, 23 Sep 2005 12:52:24 +0000 (12:52 +0000)]
added universes list handling
Enrico Tassi [Fri, 23 Sep 2005 12:51:37 +0000 (12:51 +0000)]
added universes
Enrico Tassi [Fri, 23 Sep 2005 12:49:24 +0000 (12:49 +0000)]
added parsing of Type:N
Enrico Tassi [Fri, 23 Sep 2005 12:47:38 +0000 (12:47 +0000)]
a wrong exception was raised
Stefano Zacchiroli [Fri, 23 Sep 2005 12:46:47 +0000 (12:46 +0000)]
bugfix for uminus notation, prints parens where needed
Enrico Tassi [Fri, 23 Sep 2005 12:45:49 +0000 (12:45 +0000)]
added support for universes uri ".univ"
Claudio Sacerdoti Coen [Fri, 23 Sep 2005 12:45:32 +0000 (12:45 +0000)]
The disambiguation now returns the aliases diff. It used to return the
new aliases and a slow diff operation was performed later on.
Andrea Asperti [Fri, 23 Sep 2005 10:16:28 +0000 (10:16 +0000)]
log.ma renamed into ord.ma
Claudio Sacerdoti Coen [Fri, 23 Sep 2005 09:51:21 +0000 (09:51 +0000)]
The new_aliases argument of the functions alias_diff and set_proof_aliases
used to be a whole environment. It is now just the diff! Much more efficient!
Andrea Asperti [Fri, 23 Sep 2005 09:42:12 +0000 (09:42 +0000)]
A few changes to factorization and gcd.
Claudio Sacerdoti Coen [Fri, 23 Sep 2005 09:29:23 +0000 (09:29 +0000)]
Environment replaced by lists of domain and codomain items.
Claudio Sacerdoti Coen [Thu, 22 Sep 2005 17:40:42 +0000 (17:40 +0000)]
More notation here and there.
Claudio Sacerdoti Coen [Thu, 22 Sep 2005 17:30:11 +0000 (17:30 +0000)]
More notation here and there: \sup, \divides, \ndivides, !
Claudio Sacerdoti Coen [Thu, 22 Sep 2005 17:07:00 +0000 (17:07 +0000)]
* Added divides and ndivides
* Removed sub and sup
Claudio Sacerdoti Coen [Thu, 22 Sep 2005 17:02:39 +0000 (17:02 +0000)]
'!' is no longer a decorator (to allow a reasonable notation for factorial).
Claudio Sacerdoti Coen [Thu, 22 Sep 2005 11:59:54 +0000 (11:59 +0000)]
More notation here and there.
Claudio Sacerdoti Coen [Thu, 22 Sep 2005 08:59:37 +0000 (08:59 +0000)]
Profiling messages grepped out.
Claudio Sacerdoti Coen [Thu, 22 Sep 2005 08:58:57 +0000 (08:58 +0000)]
...
Claudio Sacerdoti Coen [Thu, 22 Sep 2005 08:13:49 +0000 (08:13 +0000)]
Dead code removed
Claudio Sacerdoti Coen [Wed, 21 Sep 2005 16:52:11 +0000 (16:52 +0000)]
More profiling code.
Claudio Sacerdoti Coen [Wed, 21 Sep 2005 16:48:13 +0000 (16:48 +0000)]
This commit removes the slowest identity function ever implemented!
Claudio Sacerdoti Coen [Wed, 21 Sep 2005 15:53:44 +0000 (15:53 +0000)]
We do not longer generate inner-types and inner-sorts for XML files generated
by matitac. We will have to implement a -export flag to matitac to generate
them. This represents yet another important speed-up.
Claudio Sacerdoti Coen [Wed, 21 Sep 2005 15:34:15 +0000 (15:34 +0000)]
We do not longer generate inner-types and inner-sorts for XML files generated
by matitac. We will have to implement a -export flag to matitac to generate
them. This represents yet another important speed-up.
Stefano Zacchiroli [Wed, 21 Sep 2005 14:40:59 +0000 (14:40 +0000)]
ported to the new parser interface (Ulexing.lexbuf instead of char Stream.t)
Stefano Zacchiroli [Wed, 21 Sep 2005 14:39:50 +0000 (14:39 +0000)]
uses ligatures (as a sample)
Stefano Zacchiroli [Wed, 21 Sep 2005 14:39:30 +0000 (14:39 +0000)]
added ligatures support
Stefano Zacchiroli [Wed, 21 Sep 2005 14:38:27 +0000 (14:38 +0000)]
rebuilt
Enrico Tassi [Wed, 21 Sep 2005 12:16:29 +0000 (12:16 +0000)]
clean_and_fill optimization
Claudio Sacerdoti Coen [Wed, 21 Sep 2005 12:10:35 +0000 (12:10 +0000)]
...
Alberto Griggio [Wed, 21 Sep 2005 12:03:32 +0000 (12:03 +0000)]
bugfix on proof construction
Claudio Sacerdoti Coen [Wed, 21 Sep 2005 09:59:58 +0000 (09:59 +0000)]
All the debug_print are now lazy.
Claudio Sacerdoti Coen [Wed, 21 Sep 2005 09:03:52 +0000 (09:03 +0000)]
More debug_print made lazy.
Claudio Sacerdoti Coen [Wed, 21 Sep 2005 08:35:56 +0000 (08:35 +0000)]
1. profiling code added
2. debug_print made lazy to avoid computation of the argument when profiling
is disabled. This really speeds up disambiguation!
Claudio Sacerdoti Coen [Tue, 20 Sep 2005 17:02:21 +0000 (17:02 +0000)]
Profiling did not profile functions that raise an exception!
Fixed.
Claudio Sacerdoti Coen [Tue, 20 Sep 2005 16:51:43 +0000 (16:51 +0000)]
...
Claudio Sacerdoti Coen [Tue, 20 Sep 2005 16:50:37 +0000 (16:50 +0000)]
More profiling code added.
Claudio Sacerdoti Coen [Tue, 20 Sep 2005 16:30:28 +0000 (16:30 +0000)]
More profiling code inserted.
Stefano Zacchiroli [Tue, 20 Sep 2005 15:31:01 +0000 (15:31 +0000)]
added non-builtin notation for exists
actually, the parsing rules is built-in, while the pretty priting one is not
Stefano Zacchiroli [Tue, 20 Sep 2005 15:30:17 +0000 (15:30 +0000)]
changed ast representation of exists
Stefano Zacchiroli [Tue, 20 Sep 2005 15:29:58 +0000 (15:29 +0000)]
pretty printing of literals is now subject to the debug setting
Stefano Zacchiroli [Tue, 20 Sep 2005 15:29:30 +0000 (15:29 +0000)]
changed ast representation of exists, now an 'exists simble with a lambda child is used
Stefano Zacchiroli [Tue, 20 Sep 2005 15:29:00 +0000 (15:29 +0000)]
bugfix in default magic handling: consider as having option type only names
which appear in the some branch and in the none one (previously all names
appearing in the some branch where considered optional)
Stefano Zacchiroli [Tue, 20 Sep 2005 15:27:04 +0000 (15:27 +0000)]
- bugfix: eta abstractions ignores attributed node while counting lambdas
- permit pattern matching on attributed asts (since attributes are transparent to pattern matching)
- wrapped with assert false some unsafe function invocations (e.g. List.map2)
- removed reset_href (no longer needed)
Stefano Zacchiroli [Tue, 20 Sep 2005 15:23:15 +0000 (15:23 +0000)]
more refere to bindings in env type definition
Enrico Tassi [Tue, 20 Sep 2005 14:16:34 +0000 (14:16 +0000)]
fixed matitadep: now it should consider ALL depndencies
Enrico Tassi [Tue, 20 Sep 2005 14:15:09 +0000 (14:15 +0000)]
added a minimal parser to extract informations relevant to dependencies calculation
Claudio Sacerdoti Coen [Tue, 20 Sep 2005 11:17:26 +0000 (11:17 +0000)]
...
Enrico Tassi [Tue, 20 Sep 2005 10:51:26 +0000 (10:51 +0000)]
all initialization code is now in the new matitaInit.ml module.
Enrico Tassi [Tue, 20 Sep 2005 09:01:56 +0000 (09:01 +0000)]
matitadep now parses notation.
Enrico Tassi [Tue, 20 Sep 2005 08:07:13 +0000 (08:07 +0000)]
development windows now avoids doing an anction selecting no developments
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:"
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!
Claudio Sacerdoti Coen [Mon, 19 Sep 2005 15:34:34 +0000 (15:34 +0000)]
...
Claudio Sacerdoti Coen [Mon, 19 Sep 2005 15:28:59 +0000 (15:28 +0000)]
More profiling code.
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)
Claudio Sacerdoti Coen [Mon, 19 Sep 2005 14:20:17 +0000 (14:20 +0000)]
A bit of profiling functions added here and there.
Claudio Sacerdoti Coen [Mon, 19 Sep 2005 14:02:25 +0000 (14:02 +0000)]
Spurious interpretation removed.
Claudio Sacerdoti Coen [Mon, 19 Sep 2005 14:02:24 +0000 (14:02 +0000)]
Profiling disabled.
Claudio Sacerdoti Coen [Mon, 19 Sep 2005 14:00:08 +0000 (14:00 +0000)]
...
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.)
Stefano Zacchiroli [Mon, 19 Sep 2005 13:38:05 +0000 (13:38 +0000)]
added list.ma
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
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
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
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
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)
Claudio Sacerdoti Coen [Mon, 19 Sep 2005 09:29:17 +0000 (09:29 +0000)]
Some code that used to avoid a fixed bug removed.
Claudio Sacerdoti Coen [Mon, 19 Sep 2005 09:26:19 +0000 (09:26 +0000)]
...
Claudio Sacerdoti Coen [Mon, 19 Sep 2005 09:20:00 +0000 (09:20 +0000)]
.ma inclusions corrected/minimized
Claudio Sacerdoti Coen [Mon, 19 Sep 2005 09:05:53 +0000 (09:05 +0000)]
Profiling code commented out.
Claudio Sacerdoti Coen [Mon, 19 Sep 2005 09:04:14 +0000 (09:04 +0000)]
CicUtil.profile made even more polymorphic.
Enrico Tassi [Fri, 16 Sep 2005 16:15:02 +0000 (16:15 +0000)]
added a function to reorder the metasenv.
Claudio Sacerdoti Coen [Fri, 16 Sep 2005 13:07:36 +0000 (13:07 +0000)]
...
Claudio Sacerdoti Coen [Fri, 16 Sep 2005 13:04:56 +0000 (13:04 +0000)]
...
Stefano Zacchiroli [Fri, 16 Sep 2005 12:13:31 +0000 (12:13 +0000)]
added notation for: nleq, ngeq, nless, and ngtr
Stefano Zacchiroli [Fri, 16 Sep 2005 11:56:54 +0000 (11:56 +0000)]
added notation for nleq, nlgt, ...
Stefano Zacchiroli [Fri, 16 Sep 2005 11:50:21 +0000 (11:50 +0000)]
added entites/overrides for leq, geq, nleq, ngeq, to
Stefano Zacchiroli [Fri, 16 Sep 2005 11:49:24 +0000 (11:49 +0000)]
re-generated
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
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.