]>
matita.cs.unibo.it Git - helm.git/log
Claudio Sacerdoti Coen [Thu, 16 Apr 2009 15:31:10 +0000 (15:31 +0000)]
Bug: let-ins are always automatically folded!
Claudio Sacerdoti Coen [Thu, 16 Apr 2009 15:28:37 +0000 (15:28 +0000)]
...
Claudio Sacerdoti Coen [Thu, 16 Apr 2009 14:00:41 +0000 (14:00 +0000)]
test/a.ma => tests/ng_tactics.ma, with nassert here and there
Claudio Sacerdoti Coen [Thu, 16 Apr 2009 13:55:36 +0000 (13:55 +0000)]
Replaced long, bugged implementation of letin-tac with two lines of code :-)
Claudio Sacerdoti Coen [Thu, 16 Apr 2009 13:39:54 +0000 (13:39 +0000)]
Added ppterm.
Claudio Sacerdoti Coen [Thu, 16 Apr 2009 12:27:12 +0000 (12:27 +0000)]
The context is now parsed in the reverse (right) order.
Claudio Sacerdoti Coen [Thu, 16 Apr 2009 12:23:22 +0000 (12:23 +0000)]
...
Enrico Tassi [Thu, 16 Apr 2009 09:46:57 +0000 (09:46 +0000)]
Universe is used only locally to tactics/
AutomationCache.cache is part of grafite_status and will
contain tables too
Enrico Tassi [Thu, 16 Apr 2009 09:45:21 +0000 (09:45 +0000)]
added an exception
Ferruccio Guidi [Wed, 15 Apr 2009 18:48:07 +0000 (18:48 +0000)]
- transcript: bugfix
- library: we removed most uri's. two still remain :(
Ferruccio Guidi [Tue, 14 Apr 2009 20:18:19 +0000 (20:18 +0000)]
we rebuilt the dependences
Ferruccio Guidi [Tue, 14 Apr 2009 20:06:32 +0000 (20:06 +0000)]
- Procedural: generation of "exact" is now complete
- relevant tactics are now counted correctly
- PrimitiveTactics: we set exact_tac = apply_tac as in NTactics
- transcript: the grafite parser is now working
the "library" devel is parsed succesfully
- procedural/library: new devel.
Will contain the procedural reconstruction of "library"
Claudio Sacerdoti Coen [Tue, 14 Apr 2009 16:37:40 +0000 (16:37 +0000)]
Trick: the refiner always subst-expands the outtype, so that the beta-redex
that will be formed will always be reduced by substitution.
Claudio Sacerdoti Coen [Tue, 14 Apr 2009 16:16:59 +0000 (16:16 +0000)]
Bug fixed in two lines + 5 lines of comment.
During select, the context of the goal is changed and the conclusion
is changed too (too a ?[out_scope]). Then the changed conclusion was
relocated in the changed context, triggering a delift that in turn triggered
the unification case "something vs ?[out_of_scope]"... at the bad time!
Fixed by manually relocating the new conclusion in the new context.
Manually means opening and building again the cic_term data type, which is
ugly and sort of fragile.
Claudio Sacerdoti Coen [Tue, 14 Apr 2009 13:36:39 +0000 (13:36 +0000)]
assert_tac now takes a list of sequents and also checks that the number of
sequents is the appropriate one.
It is the first example of a high-tactic that works also with the stack.
Claudio Sacerdoti Coen [Tue, 14 Apr 2009 12:44:31 +0000 (12:44 +0000)]
New debugging tactic nassert:
nassert H1: t1 ... Hn: tn \vdash T
asserts (using OCaml's assert) that the current goal is equal (using
OCaml equality) to the one given the user. The substitution is fully
expanded just before calling OCaml equality.
Claudio Sacerdoti Coen [Sun, 12 Apr 2009 11:06:17 +0000 (11:06 +0000)]
Semantic selection back again (but no semantic cut&paste yet).
Claudio Sacerdoti Coen [Sun, 12 Apr 2009 10:56:31 +0000 (10:56 +0000)]
Match is now rendered as best as possible.
Claudio Sacerdoti Coen [Fri, 10 Apr 2009 13:19:11 +0000 (13:19 +0000)]
The sequent viewer now considers the context to render the Rels.
Ferruccio Guidi [Thu, 9 Apr 2009 18:59:12 +0000 (18:59 +0000)]
- character: we adjusted some "autobatch" parameters
- limits: in classes and subssets we now ensure the compatibility between the
inhabitance predicate and the equivalence relation
Claudio Sacerdoti Coen [Thu, 9 Apr 2009 17:50:35 +0000 (17:50 +0000)]
The substitution is now taken in account when printing sequents in the
sequent viewer. Context is not yet taken in account.
Enrico Tassi [Thu, 9 Apr 2009 16:16:26 +0000 (16:16 +0000)]
added letin, still broken
Enrico Tassi [Thu, 9 Apr 2009 16:16:04 +0000 (16:16 +0000)]
...
Enrico Tassi [Thu, 9 Apr 2009 15:25:37 +0000 (15:25 +0000)]
new tactic whd implemented
Enrico Tassi [Thu, 9 Apr 2009 15:05:29 +0000 (15:05 +0000)]
- change implemented in 4 lines
- select0 runs on hypothesis
- relocate honors conversion (but clearbody is not implemented)
Enrico Tassi [Thu, 9 Apr 2009 13:09:58 +0000 (13:09 +0000)]
- generalize finished
- relocate implemented in terms of delift
Enrico Tassi [Thu, 9 Apr 2009 13:09:16 +0000 (13:09 +0000)]
?_OS1 := C[ ?_IN ]
?_IN := m
=======================
?[m;m] =?= ?_OS1
used to yield ? := Rel 2 instead of Rel 1, since the first m
was still out of scope when recursion reaches ?_IN
Enrico Tassi [Thu, 9 Apr 2009 10:46:26 +0000 (10:46 +0000)]
fixed modules order
Enrico Tassi [Thu, 9 Apr 2009 09:47:05 +0000 (09:47 +0000)]
minor fixes
Enrico Tassi [Thu, 9 Apr 2009 09:31:01 +0000 (09:31 +0000)]
...
Claudio Sacerdoti Coen [Thu, 9 Apr 2009 09:22:01 +0000 (09:22 +0000)]
...
Claudio Sacerdoti Coen [Thu, 9 Apr 2009 09:20:41 +0000 (09:20 +0000)]
+ Chain NCic.term -> content -> presentation very very roughly implemented
+ The sequent viewer now prints also the neq sequents
Claudio Sacerdoti Coen [Wed, 8 Apr 2009 16:31:56 +0000 (16:31 +0000)]
Just to make it compile again.
Enrico Tassi [Wed, 8 Apr 2009 14:18:33 +0000 (14:18 +0000)]
generalized is half-implemented (still broken)
Enrico Tassi [Wed, 8 Apr 2009 13:15:49 +0000 (13:15 +0000)]
Analizyng the inductive type of the eliminated term and
the sort of the goals are performed by tactics having
a side-effect. This allows to write tactics like elim and cases
as lists of tactics blocked together.
Claudio Sacerdoti Coen [Tue, 7 Apr 2009 22:23:31 +0000 (22:23 +0000)]
- nrewrite ((very?) rough implementation)
PATTERNS DO NOT WORK (why?)
Claudio Sacerdoti Coen [Tue, 7 Apr 2009 21:55:14 +0000 (21:55 +0000)]
- more progress towards generalize, but I am stuck now
- elim completed (up to saturation)
Enrico Tassi [Tue, 7 Apr 2009 17:23:10 +0000 (17:23 +0000)]
- select_tac honors the hypotheses pattern when required to generalize them
- clear [names]
- initial generalize tac implementation
Enrico Tassi [Tue, 7 Apr 2009 17:21:41 +0000 (17:21 +0000)]
select honors the substitution
Claudio Sacerdoti Coen [Mon, 6 Apr 2009 20:40:43 +0000 (20:40 +0000)]
New tactic clear; new syntax # _; to introduce and immediately clear an
hypothesis.
Claudio Sacerdoti Coen [Mon, 6 Apr 2009 19:59:21 +0000 (19:59 +0000)]
...
Enrico Tassi [Mon, 6 Apr 2009 17:03:55 +0000 (17:03 +0000)]
tactic cases works! delift clears tags
Enrico Tassi [Mon, 6 Apr 2009 15:50:28 +0000 (15:50 +0000)]
eta-contraction was made on the wrong term
Enrico Tassi [Mon, 6 Apr 2009 15:43:14 +0000 (15:43 +0000)]
unification:
- the case
(? args) v.s. ?(tag:OUT_SCOPE)
is considered as a pattern-driven delifting.
- the case ? args v.s. t is reduced to ?[args] v.s. t
- eta-contraction reimplemented
- beta-expand no longer used
delift:
- handle out/in scope tag
ntactics:
- elim sets the out_scope tag for 1 entry
Enrico Tassi [Mon, 6 Apr 2009 15:35:59 +0000 (15:35 +0000)]
better error message
Enrico Tassi [Mon, 6 Apr 2009 15:35:27 +0000 (15:35 +0000)]
added one exception
Ferruccio Guidi [Mon, 6 Apr 2009 14:20:51 +0000 (14:20 +0000)]
- external quantification removed (will be reintroduced when needed)
- preamble added (was missing)
Ferruccio Guidi [Mon, 6 Apr 2009 12:42:56 +0000 (12:42 +0000)]
limits: reorganized and attached to nightly tests (cow compiles fully)
Enrico Tassi [Mon, 6 Apr 2009 09:01:59 +0000 (09:01 +0000)]
snapshot
Ferruccio Guidi [Sun, 5 Apr 2009 23:38:16 +0000 (23:38 +0000)]
- Procedural: now we generate the exact tactic (in place of some apply tactics) and we do not perform conversion steps before it (1104 change tactics omitted in the lambda-delta devel)
- new target for the PREDICATIVE-TOPOLOGY devel: now is "limits"
Enrico Tassi [Thu, 2 Apr 2009 14:43:52 +0000 (14:43 +0000)]
...
Enrico Tassi [Thu, 2 Apr 2009 14:15:36 +0000 (14:15 +0000)]
New file nTacStatus to:
1) collect type declarations and utility functions
2) make cic_term as abstract as possible
Enrico Tassi [Thu, 2 Apr 2009 10:50:23 +0000 (10:50 +0000)]
added analyse_indty
Claudio Sacerdoti Coen [Wed, 1 Apr 2009 22:37:06 +0000 (22:37 +0000)]
New tactic "case1_tac" that make "intro" followed by case of the first
argument.
It is now possible to write things like:
napply t; ## [ #H | *W; #K1 #K2 ]
Claudio Sacerdoti Coen [Wed, 1 Apr 2009 20:58:50 +0000 (20:58 +0000)]
...
Claudio Sacerdoti Coen [Wed, 1 Apr 2009 20:53:04 +0000 (20:53 +0000)]
## prefix is now used for tinycals
Example: napply H; ##[ #H | #K];
Claudio Sacerdoti Coen [Wed, 1 Apr 2009 20:40:51 +0000 (20:40 +0000)]
New tactic intro. Syntax: "# n".
Enrico Tassi [Wed, 1 Apr 2009 16:41:20 +0000 (16:41 +0000)]
added tentative elim
Enrico Tassi [Wed, 1 Apr 2009 15:28:33 +0000 (15:28 +0000)]
1) mk_meta now returns also the index of the created meta
2) added datatypes for new patterns
3) added tactic nchange (using new patterns)
4) changed the type lowtac so that they no longer return the
lists of open and closed goals, that are always computable
in the new system
5) added some wrappers for kernel/refinement functions that
work on statuses and terms labelled with their context
6) new implementation of select that performs subst-expansion.
in-scope/out-scope used to mark regions selected by the pattern
7) ugly implementation of change based on re-opening of tagged
subst entries
Enrico Tassi [Wed, 1 Apr 2009 15:24:45 +0000 (15:24 +0000)]
removed spurious "
Enrico Tassi [Mon, 30 Mar 2009 16:13:40 +0000 (16:13 +0000)]
tentative subst-sexpand and change
Enrico Tassi [Mon, 30 Mar 2009 13:11:13 +0000 (13:11 +0000)]
...
Enrico Tassi [Fri, 27 Mar 2009 12:12:50 +0000 (12:12 +0000)]
more comments
Enrico Tassi [Fri, 27 Mar 2009 12:11:01 +0000 (12:11 +0000)]
exec and distribute implemented
Enrico Tassi [Thu, 26 Mar 2009 12:29:56 +0000 (12:29 +0000)]
new apply almost there
Enrico Tassi [Thu, 26 Mar 2009 12:29:35 +0000 (12:29 +0000)]
...
Enrico Tassi [Thu, 26 Mar 2009 12:29:28 +0000 (12:29 +0000)]
...
Enrico Tassi [Wed, 25 Mar 2009 20:41:04 +0000 (20:41 +0000)]
new tactics are almost ready
Claudio Sacerdoti Coen [Thu, 19 Mar 2009 22:01:12 +0000 (22:01 +0000)]
...
Stefano Zacchiroli [Thu, 19 Mar 2009 10:13:36 +0000 (10:13 +0000)]
add Homepage field
Stefano Zacchiroli [Thu, 19 Mar 2009 10:10:18 +0000 (10:10 +0000)]
set package section to "ocaml"
Stefano Zacchiroli [Thu, 19 Mar 2009 10:09:36 +0000 (10:09 +0000)]
add missing ${misc:Depends}, thanks lintian!
Stefano Zacchiroli [Thu, 19 Mar 2009 10:07:10 +0000 (10:07 +0000)]
release to unstable
Stefano Zacchiroli [Thu, 19 Mar 2009 10:05:15 +0000 (10:05 +0000)]
debian/*.in: more abstract substvars
Stefano Zacchiroli [Thu, 19 Mar 2009 10:04:18 +0000 (10:04 +0000)]
debian/rules: use ocaml.mk as a CDBS "rules" snippet
Stefano Zacchiroli [Thu, 19 Mar 2009 10:03:32 +0000 (10:03 +0000)]
refresh build-dependencies for the transition
Enrico Tassi [Mon, 16 Mar 2009 12:55:03 +0000 (12:55 +0000)]
added mactions, the three can now be collapsed to fit the screen
Andrea Asperti [Mon, 16 Mar 2009 12:41:36 +0000 (12:41 +0000)]
New parameters for applyS: 10 20.
Andrea Asperti [Mon, 16 Mar 2009 12:40:32 +0000 (12:40 +0000)]
Adapted to new applyS.
Andrea Asperti [Mon, 16 Mar 2009 12:39:54 +0000 (12:39 +0000)]
Added a property.
Claudio Sacerdoti Coen [Thu, 12 Mar 2009 09:37:27 +0000 (09:37 +0000)]
More details on the proof.
Claudio Sacerdoti Coen [Thu, 12 Mar 2009 00:08:54 +0000 (00:08 +0000)]
New algorithm based on in-place modification of the graph.
Conjecture solved in the negative:
(CMM?)+ | (MM?C)+
cCw = Cw
-Cw = MCw
cMw = CMw
-MMw = -w
-MCw = MMCw
iw = w
Ferruccio Guidi [Wed, 11 Mar 2009 18:39:42 +0000 (18:39 +0000)]
matitacLib: Gc.compact added after the compilation of mmas
Now LAMBDA-TYPES compiles in ~ 100m
Makefile: daily test of LAMBDA-TYPES re-enabled
Ferruccio Guidi [Wed, 11 Mar 2009 15:37:54 +0000 (15:37 +0000)]
Procedural: id tactics are not counted, ie they are placeholders
LAMBDA-TYPES: bugfix in depend +
makefile entries for %.ma %.mma %.ma.opt %.mma.opt
Ferruccio Guidi [Wed, 11 Mar 2009 13:43:20 +0000 (13:43 +0000)]
bug fix + better obj flavour guessing via inner sorts
Ferruccio Guidi [Wed, 11 Mar 2009 13:20:57 +0000 (13:20 +0000)]
the level 1 reconstruction procedure is now in Procedural1
Procedural2 coming soon ....
Ferruccio Guidi [Wed, 11 Mar 2009 12:31:32 +0000 (12:31 +0000)]
....
Ferruccio Guidi [Wed, 11 Mar 2009 12:07:19 +0000 (12:07 +0000)]
new dependences
Enrico Tassi [Wed, 11 Mar 2009 09:48:31 +0000 (09:48 +0000)]
unification hints with recursive calls do work!
Enrico Tassi [Wed, 11 Mar 2009 09:48:14 +0000 (09:48 +0000)]
added margin option to the pp
Enrico Tassi [Wed, 11 Mar 2009 09:47:54 +0000 (09:47 +0000)]
more examples
Enrico Tassi [Tue, 10 Mar 2009 21:07:46 +0000 (21:07 +0000)]
unificatiom hints with premises
Ferruccio Guidi [Tue, 10 Mar 2009 20:16:58 +0000 (20:16 +0000)]
added some commented debugging instructions :)
Enrico Tassi [Tue, 10 Mar 2009 17:51:12 +0000 (17:51 +0000)]
unification hints almost ready
Enrico Tassi [Tue, 10 Mar 2009 17:49:39 +0000 (17:49 +0000)]
notation ++
Andrea Asperti [Tue, 10 Mar 2009 16:07:03 +0000 (16:07 +0000)]
A version of applyS with bounded iterations of given_clause (10+10).
Not sure it works on the full library.
Andrea Asperti [Tue, 10 Mar 2009 15:52:26 +0000 (15:52 +0000)]
Removed the context from the metasenv to avoid trivial typing errors (lists
with different lengths).
Enrico Tassi [Mon, 9 Mar 2009 18:21:23 +0000 (18:21 +0000)]
...
Claudio Sacerdoti Coen [Fri, 6 Mar 2009 16:23:45 +0000 (16:23 +0000)]
Minor improvements in pretty-printing.
Claudio Sacerdoti Coen [Thu, 5 Mar 2009 11:47:13 +0000 (11:47 +0000)]
New version: only new nodes are normalized; moreover, reduction stops as soon
as the term becomes shorter.