File tree Expand file tree Collapse file tree 6 files changed +10
-10
lines changed
Expand file tree Collapse file tree 6 files changed +10
-10
lines changed Original file line number Diff line number Diff line change 1010(coq.extraction
1111 (prelude Extraction)
1212 (extracted_modules Extracted)
13- (theories Warblre Ltac2))
13+ (theories Warblre Ltac2 Stdlib ))
1414
1515; Make a library out of it
1616(library
Original file line number Diff line number Diff line change 1010(coq.extraction
1111 (prelude Extraction)
1212 (extracted_modules Extracted)
13- (theories Warblre Ltac2))
13+ (theories Warblre Ltac2 Stdlib ))
1414
1515; Make a library out of it
1616(library
2121(env
2222 (dev
2323 (flags
24- (:standard -w -27 -w -39 -w -67))))
24+ (:standard -w -20 -w - 27 -w -39 -w -67))))
Original file line number Diff line number Diff line change 33(coq.theory
44 (name Warblre)
55 (package warblre)
6- (theories Ltac2))
6+ (theories Ltac2 Stdlib ))
Original file line number Diff line number Diff line change @@ -528,7 +528,7 @@ Open Scope list_scope.
528528Import NaiveEngine.
529529(* Import FastEngine. *)
530530
531- Definition get_success {S F} (r: Result S F) : match r with Success _ => S | Error _ => unit end :=
531+ Definition get_success {S F: Type } (r: Result S F) : match r with Success _ => S | Error _ => unit end :=
532532 match r with
533533 | Success s => s
534534 | Error f => tt
@@ -548,8 +548,8 @@ Notation "$ c" := (character_of_Ascii c) (at level 0).
548548Notation "$$ s" := (string_of_String s) (at level 0).
549549
550550(* Hide the matching functions in the outputs below *)
551- Arguments Exotic {C S UP}%type_scope {H H0 H1} _ {_}.
552- Arguments Null {C S UP}%type_scope {H H0 H1} {_}.
551+ Arguments Exotic {C S UP}%_type_scope {H H0 H1} _ {_}.
552+ Arguments Null {C S UP}%_type_scope {H H0 H1} {_}.
553553
554554Time Compute
555555 rmatch
Original file line number Diff line number Diff line change @@ -34,8 +34,8 @@ Tactic Notation "exApplyW" hyp(H) hyp(w) "as" simple_intropattern(As) :=
3434Ltac clean_injection H := injection H; clear H; intros.
3535
3636Ltac bookkeeper := repeat (
37- Stdlib. Program .Tactics. destruct_conjs
38- || Stdlib. Program .Tactics. clear_dups
37+ destruct_conjs
38+ || clear_dups
3939 || subst
4040 || lazymatch goal with
4141 | [ H: _ = _ |- _ ] => clean_injection H || discriminate H
Original file line number Diff line number Diff line change @@ -49,7 +49,7 @@ Module List.
4949 Proof .
5050 intros l1 l2 p12 p21 Eq_l1 Eq_l2.
5151 pose proof (@f_equal _ _ (@length _) _ _ Eq_l1). pose proof (@f_equal _ _ (@length _) _ _ Eq_l2).
52- rewrite -> app_length in *.
52+ rewrite -> length_app in *.
5353 assert (length p12 = 0)%nat as Eq_p12 by lia. assert (length p21 = 0)%nat as Eq_p21 by lia.
5454 rewrite -> length_zero_iff_nil in *. subst. reflexivity.
5555 Qed .
You can’t perform that action at this time.
0 commit comments