]> matita.cs.unibo.it Git - helm.git/log
helm.git
18 years agoThe disambiguation now returns the aliases diff. It used to return the
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.

18 years agoadded universes list handling
Enrico Tassi [Fri, 23 Sep 2005 12:52:24 +0000 (12:52 +0000)]
added universes list handling

18 years agoadded universes
Enrico Tassi [Fri, 23 Sep 2005 12:51:37 +0000 (12:51 +0000)]
added universes

18 years agoadded parsing of Type:N
Enrico Tassi [Fri, 23 Sep 2005 12:49:24 +0000 (12:49 +0000)]
added parsing of Type:N

18 years agoa wrong exception was raised
Enrico Tassi [Fri, 23 Sep 2005 12:47:38 +0000 (12:47 +0000)]
a wrong exception was raised

18 years agobugfix for uminus notation, prints parens where needed
Stefano Zacchiroli [Fri, 23 Sep 2005 12:46:47 +0000 (12:46 +0000)]
bugfix for uminus notation, prints parens where needed

18 years agoadded support for universes uri ".univ"
Enrico Tassi [Fri, 23 Sep 2005 12:45:49 +0000 (12:45 +0000)]
added support for universes uri ".univ"

18 years agoThe disambiguation now returns the aliases diff. It used to return the
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.

18 years agolog.ma renamed into ord.ma
Andrea Asperti [Fri, 23 Sep 2005 10:16:28 +0000 (10:16 +0000)]
log.ma renamed into ord.ma

18 years agoThe new_aliases argument of the functions alias_diff and set_proof_aliases
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!

18 years agoA few changes to factorization and gcd.
Andrea Asperti [Fri, 23 Sep 2005 09:42:12 +0000 (09:42 +0000)]
A few changes to factorization and gcd.

18 years agoEnvironment replaced by lists of domain and codomain items.
Claudio Sacerdoti Coen [Fri, 23 Sep 2005 09:29:23 +0000 (09:29 +0000)]
Environment replaced by lists of domain and codomain items.

18 years agoMore notation here and there.
Claudio Sacerdoti Coen [Thu, 22 Sep 2005 17:40:42 +0000 (17:40 +0000)]
More notation here and there.

18 years agoMore notation here and there: \sup, \divides, \ndivides, !
Claudio Sacerdoti Coen [Thu, 22 Sep 2005 17:30:11 +0000 (17:30 +0000)]
More notation here and there: \sup, \divides, \ndivides, !

18 years ago* Added divides and ndivides
Claudio Sacerdoti Coen [Thu, 22 Sep 2005 17:07:00 +0000 (17:07 +0000)]
* Added divides and ndivides
* Removed sub and sup

18 years ago'!' is no longer a decorator (to allow a reasonable notation for factorial).
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).

18 years agoMore notation here and there.
Claudio Sacerdoti Coen [Thu, 22 Sep 2005 11:59:54 +0000 (11:59 +0000)]
More notation here and there.

18 years agoProfiling messages grepped out.
Claudio Sacerdoti Coen [Thu, 22 Sep 2005 08:59:37 +0000 (08:59 +0000)]
Profiling messages grepped out.

18 years ago...
Claudio Sacerdoti Coen [Thu, 22 Sep 2005 08:58:57 +0000 (08:58 +0000)]
...

18 years agoDead code removed
Claudio Sacerdoti Coen [Thu, 22 Sep 2005 08:13:49 +0000 (08:13 +0000)]
Dead code removed

18 years agoMore profiling code.
Claudio Sacerdoti Coen [Wed, 21 Sep 2005 16:52:11 +0000 (16:52 +0000)]
More profiling code.

18 years agoThis commit removes the slowest identity function ever implemented!
Claudio Sacerdoti Coen [Wed, 21 Sep 2005 16:48:13 +0000 (16:48 +0000)]
This commit removes the slowest identity function ever implemented!

18 years agoWe do not longer generate inner-types and inner-sorts for XML files generated
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.

18 years agoWe do not longer generate inner-types and inner-sorts for XML files generated
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.

18 years agoported to the new parser interface (Ulexing.lexbuf instead of char Stream.t)
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)

18 years agouses ligatures (as a sample)
Stefano Zacchiroli [Wed, 21 Sep 2005 14:39:50 +0000 (14:39 +0000)]
uses ligatures (as a sample)

18 years agoadded ligatures support
Stefano Zacchiroli [Wed, 21 Sep 2005 14:39:30 +0000 (14:39 +0000)]
added ligatures support

18 years agorebuilt
Stefano Zacchiroli [Wed, 21 Sep 2005 14:38:27 +0000 (14:38 +0000)]
rebuilt

18 years agoclean_and_fill optimization
Enrico Tassi [Wed, 21 Sep 2005 12:16:29 +0000 (12:16 +0000)]
clean_and_fill optimization

18 years ago...
Claudio Sacerdoti Coen [Wed, 21 Sep 2005 12:10:35 +0000 (12:10 +0000)]
...

18 years agobugfix on proof construction
Alberto Griggio [Wed, 21 Sep 2005 12:03:32 +0000 (12:03 +0000)]
bugfix on proof construction

18 years agoAll the debug_print are now lazy.
Claudio Sacerdoti Coen [Wed, 21 Sep 2005 09:59:58 +0000 (09:59 +0000)]
All the debug_print are now lazy.

18 years agoMore debug_print made lazy.
Claudio Sacerdoti Coen [Wed, 21 Sep 2005 09:03:52 +0000 (09:03 +0000)]
More debug_print made lazy.

18 years ago1. profiling code added
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!

18 years agoProfiling did not profile functions that raise an exception!
Claudio Sacerdoti Coen [Tue, 20 Sep 2005 17:02:21 +0000 (17:02 +0000)]
Profiling did not profile functions that raise an exception!
Fixed.

18 years ago...
Claudio Sacerdoti Coen [Tue, 20 Sep 2005 16:51:43 +0000 (16:51 +0000)]
...

18 years agoMore profiling code added.
Claudio Sacerdoti Coen [Tue, 20 Sep 2005 16:50:37 +0000 (16:50 +0000)]
More profiling code added.

18 years agoMore profiling code inserted.
Claudio Sacerdoti Coen [Tue, 20 Sep 2005 16:30:28 +0000 (16:30 +0000)]
More profiling code inserted.

18 years agoadded non-builtin notation for exists
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

18 years agochanged ast representation of exists
Stefano Zacchiroli [Tue, 20 Sep 2005 15:30:17 +0000 (15:30 +0000)]
changed ast representation of exists

18 years agopretty printing of literals is now subject to the debug setting
Stefano Zacchiroli [Tue, 20 Sep 2005 15:29:58 +0000 (15:29 +0000)]
pretty printing of literals is now subject to the debug setting

18 years agochanged ast representation of exists, now an 'exists simble with a lambda child is...
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

18 years agobugfix in default magic handling: consider as having option type only names
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)

18 years ago- bugfix: eta abstractions ignores attributed node while counting lambdas
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)

18 years agomore refere to bindings in env type definition
Stefano Zacchiroli [Tue, 20 Sep 2005 15:23:15 +0000 (15:23 +0000)]
more refere to bindings in env type definition

18 years agofixed matitadep: now it should consider ALL depndencies
Enrico Tassi [Tue, 20 Sep 2005 14:16:34 +0000 (14:16 +0000)]
fixed matitadep: now it should consider ALL depndencies

18 years agoadded a minimal parser to extract informations relevant to dependencies calculation
Enrico Tassi [Tue, 20 Sep 2005 14:15:09 +0000 (14:15 +0000)]
added a minimal parser to extract informations relevant to dependencies calculation

18 years ago...
Claudio Sacerdoti Coen [Tue, 20 Sep 2005 11:17:26 +0000 (11:17 +0000)]
...

18 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.

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

18 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

18 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:"

18 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!

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

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

18 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)

18 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.

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

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

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

18 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.)

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

18 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

18 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

18 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

18 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

18 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)

18 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.

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

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

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

18 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.

18 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.

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

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

18 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

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

18 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

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

18 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

18 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.

18 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.

18 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.

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

18 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

18 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

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

18 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

18 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)

18 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)

18 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

18 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

18 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 ...

18 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

18 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

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

18 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

18 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

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

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