]>
matita.cs.unibo.it Git - helm.git/log
Claudio Sacerdoti Coen [Fri, 2 Nov 2007 18:05:40 +0000 (18:05 +0000)]
*** Very experimental and not branched ***
Exportation to OCaml partially implement in cic_exportation.
It can already export several files from the freescale development (also not
committed yet).
Still to be implemented:
a) erasure of term dependencies from types
b) extraction of "open" statements
[ I do not know how to implement this! ]
c) extraction from CurrentProof
d) extraction from Let-In
e) extraction from CoFix
f) extraction from mutually recursive inductive types and Fix
Known bugs/missing features:
1) All the "classical" ones (described, for instance, in Letouzey's papers).
In particular, terms may diverge, singleton elimination and false
elimination not implemented in the correct way, Obj.magic not generated
where needed, etc.
2) Name clashes can be generated by the extraction. OCaml keywords may be
chosen. And so on.
Ferruccio Guidi [Fri, 2 Nov 2007 17:36:33 +0000 (17:36 +0000)]
- tacticals: new tactical ifs added: uses thens where if_ uses then_
- ProofEngineHelpers: namer_of exported from GrafiteEngine
Claudio Sacerdoti Coen [Fri, 2 Nov 2007 16:02:52 +0000 (16:02 +0000)]
Added an hook useful in many situations.
Enrico Tassi [Fri, 2 Nov 2007 14:16:23 +0000 (14:16 +0000)]
finisced configuration section
Enrico Tassi [Fri, 2 Nov 2007 13:07:27 +0000 (13:07 +0000)]
added doc for db and getter sections
Enrico Tassi [Fri, 2 Nov 2007 12:19:08 +0000 (12:19 +0000)]
added notes about sqlite and removed obsolete zack repository
Claudio Sacerdoti Coen [Wed, 31 Oct 2007 15:46:37 +0000 (15:46 +0000)]
New image from Tassi's PhD thesis.
Ferruccio Guidi [Tue, 30 Oct 2007 19:40:06 +0000 (19:40 +0000)]
better implementation of if_
Enrico Tassi [Tue, 30 Oct 2007 10:47:37 +0000 (10:47 +0000)]
remade dependencies that were wrong
Ferruccio Guidi [Mon, 29 Oct 2007 19:11:26 +0000 (19:11 +0000)]
- destruct: core of subst tactic implemented,
must be linked to destruct in order to work
- "if" tactical implemented (used by core subst tactic) - to be tested
- added freqently used constant hole = Cic.Implicit (Some 'Hole)
Ferruccio Guidi [Mon, 29 Oct 2007 16:13:47 +0000 (16:13 +0000)]
reverted matita db configuration fixed
Claudio Sacerdoti Coen [Sun, 28 Oct 2007 23:26:30 +0000 (23:26 +0000)]
Bug fixed: patterns in hypotheses under binders where not computed correctly
because of a bad and wrong hack. Replaced with a correct solution. However, a
better unimplemented one exists (see new comment).
Note: copy&paste as multiple pattern not implemented yet. But it seems very
easy to do.
Claudio Sacerdoti Coen [Sun, 28 Oct 2007 22:25:56 +0000 (22:25 +0000)]
New syntax for match patterns in terms and in patterns.
Claudio Sacerdoti Coen [Sun, 28 Oct 2007 22:25:32 +0000 (22:25 +0000)]
The document was not valid. Fixed.
Claudio Sacerdoti Coen [Sun, 28 Oct 2007 21:56:23 +0000 (21:56 +0000)]
Pretty-printing of "match ... with" pattern syntax fixed. We need an
~output_type flag since the semantics of patterns is slightly different from
the semantics of terms (and maybe this was a very bad choice I made):
match p return p with [ _ => p | ... | _ => p ]
Claudio Sacerdoti Coen [Sun, 28 Oct 2007 16:10:53 +0000 (16:10 +0000)]
Nil => nil, Cons => cons
Claudio Sacerdoti Coen [Sun, 28 Oct 2007 16:07:10 +0000 (16:07 +0000)]
Nil => nil; Cons => cons
Claudio Sacerdoti Coen [Sun, 28 Oct 2007 16:05:41 +0000 (16:05 +0000)]
New syntax for match patterns.
New semantics for destruct.
Enrico Tassi [Sun, 28 Oct 2007 13:50:04 +0000 (13:50 +0000)]
clean can't fail
Enrico Tassi [Sun, 28 Oct 2007 13:49:42 +0000 (13:49 +0000)]
added patch for the configuration file
Enrico Tassi [Sun, 28 Oct 2007 13:10:17 +0000 (13:10 +0000)]
reverted last commit
Enrico Tassi [Fri, 26 Oct 2007 12:48:33 +0000 (12:48 +0000)]
...
Enrico Tassi [Fri, 26 Oct 2007 12:48:18 +0000 (12:48 +0000)]
rebuilt
Enrico Tassi [Fri, 26 Oct 2007 12:48:03 +0000 (12:48 +0000)]
no -rectype passed to ocamldep
Enrico Tassi [Fri, 26 Oct 2007 12:47:38 +0000 (12:47 +0000)]
rebuilt
Enrico Tassi [Fri, 26 Oct 2007 12:47:30 +0000 (12:47 +0000)]
0.4.0 almost working
Claudio Sacerdoti Coen [Fri, 26 Oct 2007 12:37:21 +0000 (12:37 +0000)]
Syntax of patterns changed (and not documented yet).
It is now:
match p with [ _ => p | ... | _ => p ]
(use lambda-abstractions for dummy arguments). Hmmm...
Claudio Sacerdoti Coen [Fri, 26 Oct 2007 12:26:59 +0000 (12:26 +0000)]
Wildcard patterns implemented in case analysis. The following term is now
accepted:
match n with
[ A => O
| B m => m
| _ => O
]
Enrico Tassi [Fri, 26 Oct 2007 10:14:01 +0000 (10:14 +0000)]
we use ulex08 not ulex
Ferruccio Guidi [Thu, 25 Oct 2007 21:36:13 +0000 (21:36 +0000)]
bug fix in injection e relocate term
Claudio Sacerdoti Coen [Thu, 25 Oct 2007 17:10:25 +0000 (17:10 +0000)]
neg => Qneg :-)
Claudio Sacerdoti Coen [Thu, 25 Oct 2007 17:01:32 +0000 (17:01 +0000)]
true and false were swapped!
Claudio Sacerdoti Coen [Thu, 25 Oct 2007 16:59:55 +0000 (16:59 +0000)]
flase => false :-)
Claudio Sacerdoti Coen [Thu, 25 Oct 2007 16:57:04 +0000 (16:57 +0000)]
Ooops. In previous commit I forgot to subtract the left arguments in case
analysis.
Claudio Sacerdoti Coen [Thu, 25 Oct 2007 16:53:12 +0000 (16:53 +0000)]
Bug fixed: case analysis where a case had not the expected number of arguments
was not detected.
Claudio Sacerdoti Coen [Thu, 25 Oct 2007 16:41:20 +0000 (16:41 +0000)]
Bug fixed: a MutCase considering a wrong number of cases was not detected.
Claudio Sacerdoti Coen [Thu, 25 Oct 2007 16:35:32 +0000 (16:35 +0000)]
Bug fixed: a MutCase with missing or exceeding cases was not detected!
Claudio Sacerdoti Coen [Thu, 25 Oct 2007 16:23:06 +0000 (16:23 +0000)]
1. More localization: interpretation errors are now loosely localized.
2. Interpretation of pattern matching highly improved:
a) missing branches are now detected
b) additional branches are now detected
c) permutated branches are handled correctly
Still to do:
d) check that every constructor is given as parameters exactly the
number of expected arguments
Claudio Sacerdoti Coen [Thu, 25 Oct 2007 15:28:04 +0000 (15:28 +0000)]
Recently introduced bug fixed: error localization was not working properly for
the error "more arguments than expected".
Ferruccio Guidi [Wed, 24 Oct 2007 17:24:18 +0000 (17:24 +0000)]
bug fix in injection: we have to recur on the generated premises
Ferruccio Guidi [Wed, 24 Oct 2007 16:10:11 +0000 (16:10 +0000)]
we revisited the implementation of the destruct tactic in the perspective of joining the subst tactic to it
Claudio Sacerdoti Coen [Wed, 24 Oct 2007 14:40:47 +0000 (14:40 +0000)]
Debugging code improved.
Ferruccio Guidi [Wed, 24 Oct 2007 10:50:58 +0000 (10:50 +0000)]
- new function for general relocation of local references (rels) in terms
- swapped names injection and injection1
Enrico Tassi [Mon, 22 Oct 2007 09:48:12 +0000 (09:48 +0000)]
fixed copyright file... an ITP should be done
Claudio Sacerdoti Coen [Tue, 16 Oct 2007 21:39:28 +0000 (21:39 +0000)]
Interesting. Do we need many more inversion lemmas? (Or a different and
dumbier inversion tactic?).
Enrico Tassi [Tue, 16 Oct 2007 11:57:51 +0000 (11:57 +0000)]
fixed make opt
Claudio Sacerdoti Coen [Tue, 16 Oct 2007 09:55:32 +0000 (09:55 +0000)]
DOS-style CR+LF added to the blanks list.
Claudio Sacerdoti Coen [Mon, 15 Oct 2007 14:01:47 +0000 (14:01 +0000)]
Dead code clean-up.
Claudio Sacerdoti Coen [Mon, 15 Oct 2007 11:38:14 +0000 (11:38 +0000)]
The behaviour of autobatch paramodulation has changed.
But autobatch works! Is the test still correct?
Claudio Sacerdoti Coen [Mon, 15 Oct 2007 11:36:49 +0000 (11:36 +0000)]
natural number => Coq natural number
The behaviour of paramodulation has changed.
Claudio Sacerdoti Coen [Mon, 15 Oct 2007 11:35:32 +0000 (11:35 +0000)]
natural number => Coq natural number
The behaviour of demodulate has changed.
Claudio Sacerdoti Coen [Mon, 15 Oct 2007 11:34:37 +0000 (11:34 +0000)]
natural number => Coq natural number
Claudio Sacerdoti Coen [Mon, 15 Oct 2007 11:32:46 +0000 (11:32 +0000)]
Wrong test patched.
Claudio Sacerdoti Coen [Mon, 15 Oct 2007 11:29:57 +0000 (11:29 +0000)]
natural number => Coq natural number
Claudio Sacerdoti Coen [Mon, 15 Oct 2007 11:29:21 +0000 (11:29 +0000)]
discriminate.ma => destruct.ma
Claudio Sacerdoti Coen [Mon, 15 Oct 2007 11:29:04 +0000 (11:29 +0000)]
Spurious code removed.
Destruct fails recursively.
Claudio Sacerdoti Coen [Mon, 15 Oct 2007 11:26:35 +0000 (11:26 +0000)]
natural number => Coq natural number
Claudio Sacerdoti Coen [Mon, 15 Oct 2007 11:26:25 +0000 (11:26 +0000)]
Old wrong code to avoid old bug fixed.
Error in automation.
Claudio Sacerdoti Coen [Mon, 15 Oct 2007 11:22:24 +0000 (11:22 +0000)]
Stupid bug fixed.
Claudio Sacerdoti Coen [Mon, 15 Oct 2007 11:19:49 +0000 (11:19 +0000)]
auto ==> autobatch
Two kind of failures still there:
1) fails to find a proof
2) finds a proof, but the proof does not type-check
Claudio Sacerdoti Coen [Mon, 15 Oct 2007 11:14:43 +0000 (11:14 +0000)]
Stupid bug fixed (I deleted "assumption a" by error).
Claudio Sacerdoti Coen [Mon, 15 Oct 2007 09:50:18 +0000 (09:50 +0000)]
auto => autobatch
Claudio Sacerdoti Coen [Mon, 15 Oct 2007 09:48:14 +0000 (09:48 +0000)]
auto => autobatch
Claudio Sacerdoti Coen [Sun, 14 Oct 2007 19:56:42 +0000 (19:56 +0000)]
Caseness problems fixed.
Claudio Sacerdoti Coen [Sun, 14 Oct 2007 15:56:00 +0000 (15:56 +0000)]
Some lemmas moves to the file they belong to.
Broken references to renamed errors fixed.
Cristian Armentano [Sun, 14 Oct 2007 14:06:05 +0000 (14:06 +0000)]
Theorem sigma_p_knm changed into generic_iter_p_knm.
2 specific versions in nat/iteration2.ma and Z/sigma_p.ma
Ferruccio Guidi [Sat, 13 Oct 2007 15:22:37 +0000 (15:22 +0000)]
- some new auxiliary lemmas
- some improved proofs
Ferruccio Guidi [Sat, 13 Oct 2007 13:17:59 +0000 (13:17 +0000)]
removed unused notation =>
Claudio Sacerdoti Coen [Fri, 12 Oct 2007 18:12:38 +0000 (18:12 +0000)]
Move to OCaml 3.10. Requires debian packages from unstable (soon in testing).
Wilmer Ricciotti [Fri, 12 Oct 2007 16:07:56 +0000 (16:07 +0000)]
Fixed baseuri
Wilmer Ricciotti [Fri, 12 Oct 2007 15:31:05 +0000 (15:31 +0000)]
Part1a update...
Andrea Asperti [Fri, 12 Oct 2007 11:13:57 +0000 (11:13 +0000)]
More restructuring in moebius.ma
Andrea Asperti [Fri, 12 Oct 2007 09:59:54 +0000 (09:59 +0000)]
Reorganization of the library.
Andrea Asperti [Fri, 12 Oct 2007 09:58:25 +0000 (09:58 +0000)]
Reorganization of the library.
Andrea Asperti [Fri, 12 Oct 2007 09:57:49 +0000 (09:57 +0000)]
Reorganization of results.
Claudio Sacerdoti Coen [Thu, 11 Oct 2007 08:44:09 +0000 (08:44 +0000)]
Old inversion bug fixed: it used to work only on the last hypothesis (or sort
of).
Enrico Tassi [Tue, 9 Oct 2007 11:01:34 +0000 (11:01 +0000)]
added patch to allow i,j,k: skip and *: skip
Andrea Asperti [Mon, 8 Oct 2007 13:02:33 +0000 (13:02 +0000)]
Some axioms for Q.
Ferruccio Guidi [Thu, 27 Sep 2007 14:48:14 +0000 (14:48 +0000)]
added some notation
Ferruccio Guidi [Wed, 26 Sep 2007 17:35:28 +0000 (17:35 +0000)]
started the Proof Weight predicate for cut elimination and confluence
Ferruccio Guidi [Tue, 25 Sep 2007 17:38:28 +0000 (17:38 +0000)]
bug fix in Track definition
started PRed: parallel reduction simulating cut elimination
Wilmer Ricciotti [Mon, 24 Sep 2007 16:22:16 +0000 (16:22 +0000)]
Last version of poplmark 1a, featuring new proof, only 558 lines!
Ferruccio Guidi [Sun, 23 Sep 2007 19:57:56 +0000 (19:57 +0000)]
we chmod the created directories to override the umask settings
Ferruccio Guidi [Sun, 23 Sep 2007 12:27:52 +0000 (12:27 +0000)]
fixed some file permissions (anybody can rebuild a published devel)
Ferruccio Guidi [Sat, 22 Sep 2007 21:29:37 +0000 (21:29 +0000)]
- system flag now forks for matitadep too
= legacy Base-1 and LambdaDelta-1 reinserted on tests.
will compile in system space because they are published
Stefano Zacchiroli [Sat, 22 Sep 2007 06:58:54 +0000 (06:58 +0000)]
* add Homepage debian/control field
Ferruccio Guidi [Fri, 21 Sep 2007 20:47:15 +0000 (20:47 +0000)]
bug fix in configuration dependences
Ferruccio Guidi [Fri, 21 Sep 2007 14:51:06 +0000 (14:51 +0000)]
now the -bench and -system flags work for matitamake
Cristian Armentano [Thu, 20 Sep 2007 16:29:45 +0000 (16:29 +0000)]
Further simplifications to the main theorem about Euler's totient function.
Cristian Armentano [Wed, 19 Sep 2007 13:01:16 +0000 (13:01 +0000)]
* Some simplifications to theorem in file totient1.ma.
* Some theorems moved from file gcd_propreties1.ma to file gcd.ma.
* Some theorems moved from file dirichlet_product.ma to files div_and_mod.ma and primes.ma.
Enrico Tassi [Wed, 19 Sep 2007 07:20:39 +0000 (07:20 +0000)]
commented out pack coercion, since the code is not meaningfull.
it was conceived when coercions were toys, now it is much more complicated
Cristian Armentano [Tue, 18 Sep 2007 17:47:29 +0000 (17:47 +0000)]
some theorems have been moved to more appropriate files in library.
Cristian Armentano [Mon, 17 Sep 2007 22:42:30 +0000 (22:42 +0000)]
temporary changes, before the complete cancellation of the file.
Cristian Armentano [Mon, 17 Sep 2007 14:40:36 +0000 (14:40 +0000)]
simplified version of a theorem.
Andrea Asperti [Mon, 17 Sep 2007 13:27:41 +0000 (13:27 +0000)]
Some new lemmas.
Andrea Asperti [Mon, 17 Sep 2007 13:17:20 +0000 (13:17 +0000)]
A new function.
Stefano Zacchiroli [Sat, 15 Sep 2007 15:54:27 +0000 (15:54 +0000)]
unreleased
Stefano Zacchiroli [Sat, 15 Sep 2007 15:42:08 +0000 (15:42 +0000)]
* debian/liblablgtkmathview-ocaml-dev.install.in
- more flexible pattern to install ocaml object files, so that missing
*.cmxa files on non-native arch do not trigger failure with latest
debhelper
Ferruccio Guidi [Sat, 15 Sep 2007 15:18:53 +0000 (15:18 +0000)]
utf8 changed to UTF-8 for compatibility with IExplorer
Andrea Asperti [Fri, 14 Sep 2007 17:10:50 +0000 (17:10 +0000)]
Qualche semplificazione.