Skip to content

Commit a2c82ce

Browse files
committed
1 parent 448af51 commit a2c82ce

File tree

7 files changed

+19
-19
lines changed

7 files changed

+19
-19
lines changed

theories/ideas/DepDestruct.v

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ Declare Scope ITele_scope.
3434
Delimit Scope ITele_scope with IT.
3535
Bind Scope ITele_scope with ITele.
3636
Arguments iBase {_} _.
37-
Arguments iTele {_ _%type} _.
37+
Arguments iTele {_ _%_type} _.
3838

3939
(** [ATele it] describes a applied version of the type described in
4040
[it]. For instance, if [it] represents the type [T] equals to
@@ -46,14 +46,14 @@ Arguments iTele {_ _%type} _.
4646
(* Delimit Scope ATele_scope with AT. *)
4747
(* Bind Scope ATele_scope with ATele. *)
4848
(* Arguments aBase {_ _}. *)
49-
(* Arguments aTele {_ _%type _} _%AT _. *)
49+
(* Arguments aTele {_ _%_type _} _%_AT _. *)
5050

5151
Fixpoint ATele {sort} (it : ITele sort) : Type :=
5252
match it with
5353
| iBase T => unit
5454
| @iTele _ T f => { t : T & ATele (f t) }
5555
end.
56-
Arguments ATele {_} !_%IT : simpl nomatch.
56+
Arguments ATele {_} !_%_IT : simpl nomatch.
5757
Declare Scope ATele_scope.
5858
Delimit Scope ATele_scope with AT.
5959
Bind Scope ATele_scope with ATele.
@@ -67,7 +67,7 @@ Fixpoint ITele_App {isort} {it : ITele isort} : forall (args : ATele it), isort
6767
| iBase T => fun _ => T
6868
| iTele f => fun '(existT _ t a) => ITele_App a
6969
end.
70-
Arguments ITele_App {_ !_%IT} !_%AT : simpl nomatch.
70+
Arguments ITele_App {_ !_%_IT} !_%_AT : simpl nomatch.
7171

7272
(** Represents a constructor of an inductive type. *)
7373
Inductive CTele {sort} (it : ITele sort) : Type :=
@@ -76,9 +76,9 @@ Inductive CTele {sort} (it : ITele sort) : Type :=
7676
Declare Scope CTele_scope.
7777
Delimit Scope CTele_scope with CT.
7878
Bind Scope CTele_scope with CTele.
79-
Arguments CTele {_} _%IT.
80-
Arguments cBase {_ _%IT} _%AT _.
81-
Arguments cProd {_ _%IT _%type} _.
79+
Arguments CTele {_} _%_IT.
80+
Arguments cBase {_ _%_IT} _%_AT _.
81+
Arguments cProd {_ _%_IT _%_type} _.
8282

8383

8484
(** Represents a constructor of an inductive type where all arguments are non-dependent *)
@@ -102,7 +102,7 @@ Fixpoint RTele {isort : Sort} (rsort : Sort) (it : ITele isort) : Type :=
102102
| iBase T => T -> rsort
103103
| iTele f => forall t, RTele rsort (f t)
104104
end.
105-
Arguments RTele {_} _ _%IT.
105+
Arguments RTele {_} _ _%_IT.
106106

107107
Fixpoint RTele_App {isort rsort} {it : ITele isort} : forall (a : ATele it), RTele rsort it -> selem_of (ITele_App a) -> stype_of rsort :=
108108
match it as it' with

theories/ideas/Pre-typedtactics.v

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ Definition do_def n {A:Prop} (a:A) :=
136136
(* *)
137137

138138
Definition myprod := prod.
139-
Arguments myprod _%type _%type.
139+
Arguments myprod _%_type _%_type.
140140

141141
Notation "T1 '|m-' G" := (myprod T1 G)
142142
(at level 98, no associativity,

theories/ideas/SubgoalsStrict.v

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ Coercion n_to_g A n (nt : ntactic A n) : gtactic A := fun g=>pv <- nt g; M.ret p
3131
the composition of an ntactic with nth gtactics. *)
3232
Class NSeq (A B : Type) n (nt: ntactic A n) (l: mlist (gtactic B)) (pf: mlength l = n) :=
3333
nseq : gtactic B.
34-
Arguments nseq {A B _} _%tactic _%tactic _ {_}.
34+
Arguments nseq {A B _} _%_tactic _%_tactic _ {_}.
3535

3636
Import Mtac2.lib.List.
3737

theories/intf/M.v

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -375,7 +375,7 @@ Definition existing_instance (name : string) (priority : moption N) (global : bo
375375
Definition instantiate_evar {A : Type} {P : A -> Type} (e x : A) (succ : t (P x)) (fail : t (P e)) : t (P e).
376376
make. Qed.
377377

378-
Arguments t _%type.
378+
Arguments t _%_type.
379379

380380
Definition fmap {A:Type} {B:Type} (f : A -> B) (x : t A) : t B :=
381381
bind x (fun a => ret (f a)).

theories/lib/Specif.v

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -42,10 +42,10 @@ Inductive msigT2 (A:Type) (P Q:A -> Type) : Type :=
4242

4343
(* Notations *)
4444

45-
Arguments msig (A P)%type.
46-
Arguments msig2 (A P Q)%type.
47-
Arguments msigT (A P)%type.
48-
Arguments msigT2 (A P Q)%type.
45+
Arguments msig (A P)%_type.
46+
Arguments msig2 (A P Q)%_type.
47+
Arguments msigT (A P)%_type.
48+
Arguments msigT2 (A P Q)%_type.
4949

5050
(* Notation "{ x | P }" := (msig (fun x => P)) : type_scope. *)
5151
(* Notation "{ x | P & Q }" := (msig2 (fun x => P) (fun x => Q)) : type_scope. *)

theories/tactics/TacticsBase.v

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -299,7 +299,7 @@ Fixpoint gmap@{a b+} {A:Type@{a}} {B:Type@{b}} (tacs : mlist (gtactic A)) (gs :
299299

300300
Class Seq (A B C : Type) : Prop :=
301301
seq : gtactic A -> C -> gtactic B.
302-
Arguments seq {A B C _} _%tactic _%tactic.
302+
Arguments seq {A B C _} _%_tactic _%_tactic.
303303

304304
#[global] Instance seq_one@{a b+} {A:Type@{a}} {B:Type@{b}} : Seq A B (gtactic B) :=
305305
fun t1 t2 => bind t1 (fun _ => t2).

theories/tactics/Ttactics.v

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ Definition use {A} (t : tactic) : ttac A :=
5353
gs <- t g;
5454
let gs := dreduce (@mmap) (mmap (fun '(m: _, g) => g) gs) in
5555
M.ret (m: a, gs).
56-
Arguments use [_] _%tactic.
56+
Arguments use [_] _%_tactic.
5757

5858
Definition idtac {A} : ttac A :=
5959
'(m: a, g) <- to_goal A;
@@ -69,7 +69,7 @@ Definition by' {A} (t : tactic) : ttac A :=
6969
| [m:] => ret (m: a, [m:])
7070
| _ => failwith "couldn't solve"
7171
end.
72-
Arguments by' [_] _%tactic.
72+
Arguments by' [_] _%_tactic.
7373

7474
(** Coercion between an [M] program and a [ttac] *)
7575
Definition lift {A} (t : M A) : ttac A :=
@@ -364,7 +364,7 @@ Fixpoint match_goal_base (u : Unification)
364364
End MatchGoalTT.
365365
Import MatchGoalTT.
366366

367-
Arguments match_goal_base _ _%TT.
367+
Arguments match_goal_base _ _%_TT.
368368

369369
Module notations.
370370
(* Notation "[t: x | .. | y ]" := (TT.compi x (.. (TT.compi y (M.ret I)) ..)). *)

0 commit comments

Comments
 (0)