Skip to content

Commit

Permalink
few comments
Browse files Browse the repository at this point in the history
  • Loading branch information
Enrico Tassi committed Oct 17, 2018
1 parent 92425f0 commit 1912082
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions derive/induction.elpi
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ subst A B :- copy A B, !.
% local db associating to each constructor the hypothesis to be used
type induction-hyp-db term -> term -> prop.

% TODO: fix for W (strip under lambda + map-db under forall)
strip-last-arg (app [Hd|Args]) X R :-
appendR Prefix [X] Args,
if (Prefix = []) (R = Hd) (mk-app Hd Prefix R).
Expand Down
2 changes: 2 additions & 0 deletions theories/derive/tests/test_induction.v
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,9 @@ Elpi derive.induction Coverage.option.
Elpi derive.induction Coverage.pair.
Elpi derive.induction Coverage.seq.
Elpi derive.induction Coverage.tree.
(* TODO: non uniform params *)
Fail Elpi derive.induction Coverage.nest.
(* TODO: w *)
Fail Elpi derive.induction Coverage.w.
Elpi derive.induction Coverage.vect.
Fail Elpi derive.induction Coverage.dyn.
Expand Down

0 comments on commit 1912082

Please sign in to comment.