]> matita.cs.unibo.it Git - helm.git/log
helm.git
13 years agoSimplified rendering
Andrea Asperti [Fri, 20 May 2011 08:42:04 +0000 (08:42 +0000)]
Simplified rendering

13 years agoPorting to new reduction.
Andrea Asperti [Fri, 20 May 2011 08:34:57 +0000 (08:34 +0000)]
Porting to new reduction.

13 years agoAdded matitadaemon.
Wilmer Ricciotti [Thu, 19 May 2011 14:14:06 +0000 (14:14 +0000)]
Added matitadaemon.

13 years agocube.ma: some pts specifications of the lambda-cube
Ferruccio Guidi [Thu, 19 May 2011 14:12:22 +0000 (14:12 +0000)]
cube.ma: some pts specifications of the lambda-cube

13 years agoPorting to the new pts.
Andrea Asperti [Thu, 19 May 2011 10:36:25 +0000 (10:36 +0000)]
Porting to the new pts.

13 years agoPorting to new parametric TJ.
Andrea Asperti [Thu, 19 May 2011 10:16:44 +0000 (10:16 +0000)]
Porting to new parametric TJ.

13 years agoDummies are blocked.
Andrea Asperti [Thu, 19 May 2011 09:58:04 +0000 (09:58 +0000)]
Dummies are blocked.

13 years agoNew version of TJ parametric in the specification of pts.
Andrea Asperti [Wed, 18 May 2011 09:46:17 +0000 (09:46 +0000)]
New version of TJ parametric in the specification of pts.

13 years agowe added a property
Ferruccio Guidi [Sat, 14 May 2011 18:59:20 +0000 (18:59 +0000)]
we added a property

13 years agoground: some arithmetical properties added
Ferruccio Guidi [Fri, 13 May 2011 21:19:34 +0000 (21:19 +0000)]
ground: some arithmetical properties added
lift: some properties proved

13 years agointerim version (added smallLexer)
Wilmer Ricciotti [Fri, 13 May 2011 08:55:12 +0000 (08:55 +0000)]
interim version (added smallLexer)

13 years agoRecord projections:
Wilmer Ricciotti [Thu, 12 May 2011 16:03:08 +0000 (16:03 +0000)]
Record projections:
no need to synthesize an ast term from a CIC term: just use NotationPt.NCic ;
this also fixes a bug that used to prevent generation of projections when the
types of some fields was associated to a notation (example: natural numbers
expressed using \naturals).

13 years agoRecord projections:
Wilmer Ricciotti [Thu, 12 May 2011 15:59:10 +0000 (15:59 +0000)]
Record projections:
no need to synthesize an ast term from a CIC term: just use NotationPt.NCic ;
this also fixes a bug that used to prevent generation of projections when the
types of some fields was associated to a notation (example: natural numbers
expressed using \naturals).

13 years agoPartial modifications.
Andrea Asperti [Wed, 11 May 2011 13:26:18 +0000 (13:26 +0000)]
Partial modifications.

13 years agowe uncommented R3 and R4 tu be used in lambda-delta
Ferruccio Guidi [Thu, 28 Apr 2011 15:24:48 +0000 (15:24 +0000)]
we uncommented R3 and R4 tu be used in lambda-delta

13 years ago- weight: bugfix + weight-based eliminator axiomatized
Ferruccio Guidi [Thu, 28 Apr 2011 15:23:38 +0000 (15:23 +0000)]
- weight: bugfix + weight-based eliminator axiomatized
- notation: bugfix
- lift: first main property axiomatized

13 years ago- we added notation for the zetable and thetable items
Ferruccio Guidi [Thu, 21 Apr 2011 14:16:26 +0000 (14:16 +0000)]
- we added notation for the zetable and thetable items
- the first inversion lemma for lift shows a bug in the destruct tactic :(

13 years agoconvertibility.
Andrea Asperti [Wed, 20 Apr 2011 08:50:32 +0000 (08:50 +0000)]
convertibility.

13 years agogeneratin lemmas and subject reduction (with a lot of axioms).
Andrea Asperti [Wed, 20 Apr 2011 08:49:15 +0000 (08:49 +0000)]
generatin lemmas and subject reduction (with a lot of axioms).

13 years agoprogress
Andrea Asperti [Wed, 20 Apr 2011 08:48:02 +0000 (08:48 +0000)]
progress

13 years agoerror in the conversion rule
Andrea Asperti [Wed, 20 Apr 2011 08:38:18 +0000 (08:38 +0000)]
error in the conversion rule

13 years agonotation bug fix
Ferruccio Guidi [Tue, 19 Apr 2011 21:28:46 +0000 (21:28 +0000)]
notation bug fix

13 years ago- some bug fixes
Ferruccio Guidi [Tue, 19 Apr 2011 20:59:15 +0000 (20:59 +0000)]
- some bug fixes
- we defined the thinning relation

13 years agocomplete reformalization of lambda-delta in matita (initial commit)
Ferruccio Guidi [Tue, 19 Apr 2011 15:15:23 +0000 (15:15 +0000)]
complete reformalization of lambda-delta in matita (initial commit)
first definitions and one lemma

13 years agodisambiguation of explicit interprettions with arguments now works
Ferruccio Guidi [Tue, 19 Apr 2011 08:06:07 +0000 (08:06 +0000)]
disambiguation of explicit interprettions with arguments now works
i.e. 'eq x y z

13 years ago...
Claudio Sacerdoti Coen [Wed, 13 Apr 2011 11:15:01 +0000 (11:15 +0000)]
...

13 years agowe added an nmap from NCic.obj to NotationPt.obj (to be continued)
Ferruccio Guidi [Tue, 5 Apr 2011 20:30:48 +0000 (20:30 +0000)]
we added an nmap from NCic.obj to NotationPt.obj (to be continued)

13 years agowe removed an extra dot from the "include" syntax
Ferruccio Guidi [Tue, 5 Apr 2011 15:59:50 +0000 (15:59 +0000)]
we removed an extra dot from the "include" syntax

13 years agowe introduced nterm for NotationPt.term
Ferruccio Guidi [Mon, 4 Apr 2011 16:55:04 +0000 (16:55 +0000)]
we introduced nterm for NotationPt.term

13 years agoPatch to avoid equations of the form ? -> T (oriented this way) that
Claudio Sacerdoti Coen [Fri, 1 Apr 2011 12:43:29 +0000 (12:43 +0000)]
Patch to avoid equations of the form ? -> T (oriented this way) that
can always be applied to later yield non well typed terms.

Moreover, when T is a Leaf and when the goal contains a Leaf, the equation
above is applied breaking one of the "assert (subst=[])" in the code
(since the Leaf is matched by ?).

13 years agowe proved that the union of two saturated sets is saturated
Ferruccio Guidi [Wed, 30 Mar 2011 17:33:14 +0000 (17:33 +0000)]
we proved that the union of two saturated sets is saturated

13 years agoKeeping track of locations of disambiguated ids and symbols.
Wilmer Ricciotti [Wed, 30 Mar 2011 11:52:27 +0000 (11:52 +0000)]
Keeping track of locations of disambiguated ids and symbols.
Matitac produces disambiguated files, with hyperlinks for ids and ยง marks
for symbols.
Matita is able to reparse ids with hypelinks.

13 years agoFixes previous wrong commit.
Claudio Sacerdoti Coen [Sun, 27 Mar 2011 13:18:36 +0000 (13:18 +0000)]
Fixes previous wrong commit.

13 years ago1) Second half of the bug fixing for the "lexical keywords lost" bug.
Claudio Sacerdoti Coen [Sun, 27 Mar 2011 13:09:20 +0000 (13:09 +0000)]
1) Second half of the bug fixing for the "lexical keywords lost" bug.
   I expected the need for re-building the lexer also after the Notation command
   and indeed I have found an example for this in CerCo.
2) Printing of compilation result and times required fixed.

13 years agoBug fixed: some Uri was not refreshed. The effect of the bug was that some
Claudio Sacerdoti Coen [Sun, 27 Mar 2011 13:08:22 +0000 (13:08 +0000)]
Bug fixed: some Uri was not refreshed. The effect of the bug was that some
file was re-compiled even if already compiled.

13 years agoDebugging code commented out.
Claudio Sacerdoti Coen [Sun, 27 Mar 2011 13:07:45 +0000 (13:07 +0000)]
Debugging code commented out.

13 years ago- terms.ma: we included 'is_dummy" and "neutral" (maybe "is_neutral
Ferruccio Guidi [Wed, 23 Mar 2011 21:31:24 +0000 (21:31 +0000)]
- terms.ma: we included 'is_dummy" and "neutral" (maybe "is_neutral
would be better)
- sn.ma rc_sat.ma: we introduced the axioms for dummy

13 years agoMore verbose in case of errors.
Claudio Sacerdoti Coen [Wed, 23 Mar 2011 15:54:49 +0000 (15:54 +0000)]
More verbose in case of errors.

13 years agored star
Andrea Asperti [Wed, 23 Mar 2011 07:36:29 +0000 (07:36 +0000)]
red star

13 years agoUse jmeq from lib.
Claudio Sacerdoti Coen [Wed, 23 Mar 2011 01:28:29 +0000 (01:28 +0000)]
Use jmeq from lib.

13 years agoNested calls to matitac are now pretty-printed nicely.
Claudio Sacerdoti Coen [Wed, 23 Mar 2011 01:08:02 +0000 (01:08 +0000)]
Nested calls to matitac are now pretty-printed nicely.
The times printed, however, still include the nested compilation time
(to be fixed).

13 years agoReindentation.
Claudio Sacerdoti Coen [Tue, 22 Mar 2011 21:58:08 +0000 (21:58 +0000)]
Reindentation.

13 years agothe weakening lemma is not needed since it is assumed in the rules of
Ferruccio Guidi [Tue, 22 Mar 2011 21:00:04 +0000 (21:00 +0000)]
the weakening lemma is not needed since it is assumed in the rules of
the type judgement :)

13 years agothe thinning lemma follows immediately from the substitution lemma ...
Ferruccio Guidi [Tue, 22 Mar 2011 20:34:05 +0000 (20:34 +0000)]
the thinning lemma follows immediately from the substitution lemma ...

13 years ago- lambda_notation.ma: more notation and bug fixes
Ferruccio Guidi [Tue, 22 Mar 2011 18:53:26 +0000 (18:53 +0000)]
- lambda_notation.ma: more notation and bug fixes
- terms.ma: contains the data structure of terms and related functions (not involving substitution).
- ext_lambda.ma: cut off of previous ext.ma, containing the lambda-related objects
- subst.ma, types.ma: we removed notation from here
- types.ma: we added special cases of the weakening and thinning lemmas as axioms

13 years agoBug fixed and code refactoring: now both matitac and matita include files
Claudio Sacerdoti Coen [Tue, 22 Mar 2011 17:22:53 +0000 (17:22 +0000)]
Bug fixed and code refactoring: now both matitac and matita include files
correctly by re-generating ~include_paths in the same way and every time a
file is opened (either by matitaScript or by assert_ng itself).

13 years agoUse matita/lib as the new standard library in place of matita/nlibrary.
Claudio Sacerdoti Coen [Tue, 22 Mar 2011 16:41:24 +0000 (16:41 +0000)]
Use matita/lib as the new standard library in place of matita/nlibrary.

13 years agoDebugging code removed.
Claudio Sacerdoti Coen [Tue, 22 Mar 2011 16:39:35 +0000 (16:39 +0000)]
Debugging code removed.

13 years agosn_prod
Andrea Asperti [Mon, 21 Mar 2011 08:18:22 +0000 (08:18 +0000)]
sn_prod

13 years agosn_lambda
Andrea Asperti [Mon, 21 Mar 2011 07:41:43 +0000 (07:41 +0000)]
sn_lambda

13 years agoextensions
Andrea Asperti [Mon, 21 Mar 2011 07:40:56 +0000 (07:40 +0000)]
extensions

13 years agoBug "fixed" (i.e avoided).
Claudio Sacerdoti Coen [Sat, 19 Mar 2011 00:00:31 +0000 (00:00 +0000)]
Bug "fixed" (i.e avoided).

Bug description:
 - matitac (more precisely, MatitaEngine.assert_ng, hence the "include"
   command) parses files differently from Matita. In particular, it works on
   a camlp5 "Grammar.parsable" lexer, which is a lexer that remembers
   look-ahead tokens.
 - an "include" file can change the list of keywords for the lexer
   (e.g. when defining the "if-then-else" notation). Hence, after an include,
   the lexer to be used must change and thus the corresponding
   "Grammar.parsable" should change too. This was not the case since the
   "Grammar.parsable" was not regenerated to avoid loosing the look-ahead
   tokens

Bug avoidance:
 - we assume that the "include" command is properly terminated. Hence no
   look-ahead is performed. After each "include" command we regenerate
   the lexer to avoid the bug.

Note:
 - why don't we need to do this just after a "notation" command?
   Apparently, this is not required. However, I do not understand why.
   Is this to be better understood in the future?

13 years agoPorted to
Claudio Sacerdoti Coen [Fri, 18 Mar 2011 16:03:55 +0000 (16:03 +0000)]
Ported to

- camlp5 version 6.02.2 + patches
- ocaml version 3.11.2-4

If you are still using the old version of OCaml + Camlp5, do not update
these two files.

13 years ago- more notation and service lemmas
Ferruccio Guidi [Tue, 15 Mar 2011 19:18:39 +0000 (19:18 +0000)]
- more notation and service lemmas
- arity.ma: arities and arity types
- arity_eval.ma: arities and arity types assigned to terms

13 years ago- some ignores
Ferruccio Guidi [Tue, 15 Mar 2011 12:03:55 +0000 (12:03 +0000)]
- some ignores
- new service lemmas

13 years agodependences fix
Ferruccio Guidi [Mon, 14 Mar 2011 21:19:49 +0000 (21:19 +0000)]
dependences fix

13 years agoadded star.ma (star closure of a relation)
Andrea Asperti [Fri, 11 Mar 2011 07:17:06 +0000 (07:17 +0000)]
added star.ma (star closure of a relation)

13 years agoImprovements.
Andrea Asperti [Fri, 11 Mar 2011 07:15:20 +0000 (07:15 +0000)]
Improvements.

13 years agodiamond property
Andrea Asperti [Thu, 10 Mar 2011 07:41:22 +0000 (07:41 +0000)]
diamond property

13 years agomore notation and all-purpose lemmas
Ferruccio Guidi [Wed, 9 Mar 2011 21:06:55 +0000 (21:06 +0000)]
more notation and all-purpose lemmas

13 years agothe interpretation for Sigma was missing
Ferruccio Guidi [Wed, 9 Mar 2011 11:59:38 +0000 (11:59 +0000)]
the interpretation for Sigma was missing

13 years agoFirst commit with new (incomplete) disambiguation engine.
Wilmer Ricciotti [Tue, 8 Mar 2011 13:26:37 +0000 (13:26 +0000)]
First commit with new (incomplete) disambiguation engine.

13 years agosottotermini e confluenza (manca pr_substs).
Andrea Asperti [Mon, 7 Mar 2011 07:29:04 +0000 (07:29 +0000)]
sottotermini e confluenza (manca pr_substs).

13 years agowe started the implementation of higher order saturated sets
Ferruccio Guidi [Wed, 2 Mar 2011 21:02:38 +0000 (21:02 +0000)]
we started the implementation of higher order saturated sets

13 years ago- rc_sat.ma: we changed the notation for extensional equality. we now
Ferruccio Guidi [Sun, 27 Feb 2011 18:27:15 +0000 (18:27 +0000)]
- rc_sat.ma: we changed the notation for extensional equality. we now
use \cong like in geometry
- rc_eval.ma (second part of former rc_ma): we completed the evaluation
by adding a stack, and we proved weakening and thinning for it

13 years ago- notation is now in a separate file
Ferruccio Guidi [Sun, 27 Feb 2011 15:31:29 +0000 (15:31 +0000)]
- notation is now in a separate file
- sn.ma: we updated the axiomatization of SN while correcting the saturation
conditions
- rc_sat.ma: we proved that depRC is a candidate

13 years ago- new file ext.ma with the objects needed for the normalization so
Ferruccio Guidi [Sat, 26 Feb 2011 20:28:06 +0000 (20:28 +0000)]
- new file ext.ma with the objects needed for the normalization so
far, that should be removed or should go into other files
- sn.ma: we parametrized the saturation conditions
- rc_sat.ma (first part of former rc.ma): we introduced extensional
equality on candidates

13 years agowe started to set up the strong normalization proof.
Ferruccio Guidi [Mon, 21 Feb 2011 19:05:11 +0000 (19:05 +0000)]
we started to set up the strong normalization proof.
we plan to use saturated subsets of strongly normalizing terms
(see for instance D. Cescutti 2001, but a better citation is required)
rather than reducibility candidates.
The benefit is that reduction is not needed to define such subsets.
Also, this approach was never tried on a system with dependent types.

13 years agofork for Matita version B
Wilmer Ricciotti [Mon, 21 Feb 2011 13:25:29 +0000 (13:25 +0000)]
fork for Matita version B

13 years agowe added some comments
Ferruccio Guidi [Thu, 10 Feb 2011 15:41:24 +0000 (15:41 +0000)]
we added some comments

13 years agoAdded typing rule for dummies
Andrea Asperti [Thu, 10 Feb 2011 12:19:56 +0000 (12:19 +0000)]
Added typing rule for dummies

13 years agoAdded lambda
Andrea Asperti [Thu, 10 Feb 2011 11:55:27 +0000 (11:55 +0000)]
Added lambda

13 years agoenabling destruct defs
Wilmer Ricciotti [Wed, 9 Feb 2011 14:33:40 +0000 (14:33 +0000)]
enabling destruct defs

13 years agoHyperlinks are back.
Claudio Sacerdoti Coen [Thu, 27 Jan 2011 15:52:16 +0000 (15:52 +0000)]
Hyperlinks are back.

13 years agoHyperlinks are now computed correctly. I least I hope...
Claudio Sacerdoti Coen [Thu, 27 Jan 2011 14:58:12 +0000 (14:58 +0000)]
Hyperlinks are now computed correctly. I least I hope...

13 years agoRemoved inclusion of logic/equality.ma in datatypes/list.ma (not needed and
Wilmer Ricciotti [Fri, 21 Jan 2011 13:30:33 +0000 (13:30 +0000)]
Removed inclusion of logic/equality.ma in datatypes/list.ma (not needed and
source of conflicts in other scripts).

13 years agoBugfix for elimination principles.
Wilmer Ricciotti [Thu, 20 Jan 2011 13:54:38 +0000 (13:54 +0000)]
Bugfix for elimination principles.

13 years agoBug fix for generation of elimination principles.
Wilmer Ricciotti [Thu, 20 Jan 2011 13:41:41 +0000 (13:41 +0000)]
Bug fix for generation of elimination principles.

13 years agoAdded some typing info to elimination principles, allowing the refiner
Wilmer Ricciotti [Wed, 19 Jan 2011 11:29:14 +0000 (11:29 +0000)]
Added some typing info to elimination principles, allowing the refiner
to succeed in more cases, also speeding up the generation process (no
more slow record definitions).

13 years agoAdded some typing info to elimination principles, allowing the refiner
Wilmer Ricciotti [Wed, 19 Jan 2011 11:06:23 +0000 (11:06 +0000)]
Added some typing info to elimination principles, allowing the refiner
to succeed in more cases, also speeding up the generation process (no
more slow record definitions).

13 years agoThe sequent window now always scroll to the bottom when its content changes.
Claudio Sacerdoti Coen [Fri, 14 Jan 2011 14:15:00 +0000 (14:15 +0000)]
The sequent window now always scroll to the bottom when its content changes.

13 years agoBug fixed: the script windows did not scroll correctly because I used the
Claudio Sacerdoti Coen [Fri, 14 Jan 2011 12:10:42 +0000 (12:10 +0000)]
Bug fixed: the script windows did not scroll correctly because I used the
wrong method.

13 years agoctrl+pgUp/Down to navigate tabs
Enrico Tassi [Tue, 11 Jan 2011 22:26:45 +0000 (22:26 +0000)]
ctrl+pgUp/Down to navigate tabs

13 years agoctrl+pgUp/Down to navigate tabs
Enrico Tassi [Tue, 11 Jan 2011 22:25:40 +0000 (22:25 +0000)]
ctrl+pgUp/Down to navigate tabs

13 years ago...
Claudio Sacerdoti Coen [Tue, 11 Jan 2011 22:03:04 +0000 (22:03 +0000)]
...

13 years agoBug fixed: the newScript method must be called only after registering the
Claudio Sacerdoti Coen [Tue, 11 Jan 2011 22:02:11 +0000 (22:02 +0000)]
Bug fixed: the newScript method must be called only after registering the
gui. I have moved the invocation of self#newScript from the initializer to the
instance() function to solve the issue (an ugly gtk error when Matita starts).

13 years agoBug fixed: the accelerators for Close and Quit were both Ctrl+q (???)
Claudio Sacerdoti Coen [Tue, 11 Jan 2011 21:49:52 +0000 (21:49 +0000)]
Bug fixed: the accelerators for Close and Quit were both Ctrl+q (???)

13 years agoLast commit reverted (it was an error).
Claudio Sacerdoti Coen [Tue, 11 Jan 2011 21:35:34 +0000 (21:35 +0000)]
Last commit reverted (it was an error).

13 years agoPart of last HUGE COMMIT about NCic.status
Claudio Sacerdoti Coen [Tue, 11 Jan 2011 21:29:25 +0000 (21:29 +0000)]
Part of last HUGE COMMIT about NCic.status

13 years agoStupid bug fixed (introduced a couple of commits ago): the close button for
Claudio Sacerdoti Coen [Tue, 11 Jan 2011 21:18:17 +0000 (21:18 +0000)]
Stupid bug fixed (introduced a couple of commits ago): the close button for
tabs always closed the first tab instead of the right one.

13 years agoHUGE COMMIT:
Claudio Sacerdoti Coen [Tue, 11 Jan 2011 21:06:37 +0000 (21:06 +0000)]
HUGE COMMIT:

1) sequent2pres merged into content2pres
2) more functions to render sequents/context/substs to content and then to
   presentation
3) new virtual class NCic.status with methods implementing pretty-printing
   functions (same interface that used to be given in NCicPp); objects of this
   class are now used REALLY ALL OVER the matita code (well, almost...)
4) NCicPp implements a concrete version of NCic.status
   (low level pretty-printer)
5) ApplyTransformation implements a concrete version of NCic.status
   (high level pretty-printer that uses notation). It also exports the boolean
   reference to deactivate the high level pretty printer in favour of the
   low level one
6) some code simplifications here and there (in particular for tactics)
7) return type of BoxPp changed to yield informations about hyperlinks;
   the information is not used yet by the interface and it is not computed
   yet (not that easy to do...)
8) other minor stuff here and there

13 years agocoercion lookup now returns coercions ranked using the number of symbols matched...
Enrico Tassi [Tue, 11 Jan 2011 15:12:32 +0000 (15:12 +0000)]
coercion lookup now returns coercions ranked using the number of symbols matched, the more precise match first

13 years agocode simplification
Claudio Sacerdoti Coen [Mon, 10 Jan 2011 16:13:13 +0000 (16:13 +0000)]
code simplification

13 years ago...
Enrico Tassi [Fri, 7 Jan 2011 22:01:00 +0000 (22:01 +0000)]
...

13 years agoadded retrieval function with weight
Enrico Tassi [Fri, 7 Jan 2011 21:52:48 +0000 (21:52 +0000)]
added retrieval function with weight

13 years agonon uniform coercion names in sync with the TYPES talk, stil commented out...
Enrico Tassi [Fri, 7 Jan 2011 14:00:29 +0000 (14:00 +0000)]
non uniform coercion names in sync with the TYPES talk, stil commented out...

13 years ago...
Enrico Tassi [Fri, 7 Jan 2011 13:55:48 +0000 (13:55 +0000)]
...

13 years ago...
Claudio Sacerdoti Coen [Mon, 3 Jan 2011 14:17:06 +0000 (14:17 +0000)]
...

13 years ago...
Claudio Sacerdoti Coen [Mon, 3 Jan 2011 14:02:29 +0000 (14:02 +0000)]
...

13 years agoBrainstorming
Claudio Sacerdoti Coen [Mon, 3 Jan 2011 14:00:56 +0000 (14:00 +0000)]
Brainstorming