@@ -44,7 +44,7 @@ Check "** NonPrimitiveProjection".
44
44
Module DirectTuple.
45
45
Check "DirectTuple (NonPrimitiveProjection)".
46
46
Record T := {p:nat}.
47
- Notation TUPLE := {|p:=0|}.
47
+ Abbreviation TUPLE := {|p:=0|}.
48
48
Eval simpl in TUPLE.(p). (* -> 0 *)
49
49
Eval cbn in TUPLE.(p). (* -> 0 *)
50
50
Eval hnf in TUPLE.(p). (* -> 0 *)
@@ -76,7 +76,7 @@ End NamedTuple.
76
76
Module DirectCoFix.
77
77
Check "DirectCoFix (NonPrimitiveProjection)".
78
78
CoInductive U := {p:U}.
79
- Notation COFIX := (cofix a := {|p:=a|}).
79
+ Abbreviation COFIX := (cofix a := {|p:=a|}).
80
80
Eval simpl in COFIX.(p). (* -> COFIX *)
81
81
Eval cbn in COFIX.(p). (* -> COFIX *)
82
82
Eval hnf in COFIX.(p). (* -> COFIX *)
@@ -112,7 +112,7 @@ Set Primitive Projections.
112
112
Module DirectTuple.
113
113
Check "DirectTuple (PrimitiveProjectionFolded)".
114
114
Record T := {p:nat}.
115
- Notation TUPLE := {|p:=0|}.
115
+ Abbreviation TUPLE := {|p:=0|}.
116
116
Eval simpl in TUPLE.(p). (* -> 0 *)
117
117
Eval cbn in TUPLE.(p). (* -> 0 *)
118
118
Eval hnf in TUPLE.(p). (* -> 0 *)
@@ -143,7 +143,7 @@ End NamedTuple.
143
143
Module DirectCoFix.
144
144
Check "DirectCoFix (PrimitiveProjectionFolded)".
145
145
CoInductive U := {p:U}.
146
- Notation COFIX := (cofix a := {|p:=a|}).
146
+ Abbreviation COFIX := (cofix a := {|p:=a|}).
147
147
Eval simpl in COFIX.(p). (* -> COFIX *)
148
148
Eval cbn in COFIX.(p). (* -> COFIX *)
149
149
Eval hnf in COFIX.(p). (* -> COFIX *)
@@ -214,7 +214,7 @@ Module DirectCoFix.
214
214
Check "DirectCoFix (PrimitiveProjectionUnfolded)".
215
215
CoInductive U := {q:U}.
216
216
CoFixpoint a := {|q:=a|}.
217
- Notation COFIX := (cofix a := {|q:=a|}).
217
+ Abbreviation COFIX := (cofix a := {|q:=a|}).
218
218
Axiom P : U -> Prop.
219
219
Goal P a.(q). unfold q. cbv delta [a]. simpl. Show . Abort . (* -> COFIX *)
220
220
Goal P a.(q). unfold q. cbv delta [a]. cbn. Show . Abort . (* -> COFIX *)
@@ -229,7 +229,7 @@ Module NamedCoFix.
229
229
Check "NamedCoFix (PrimitiveProjectionUnfolded)".
230
230
CoInductive U := {q:U}.
231
231
CoFixpoint a := {|q:=a|}.
232
- Notation COFIX := (cofix a := {|q:=a|}).
232
+ Abbreviation COFIX := (cofix a := {|q:=a|}).
233
233
Axiom P : U -> Prop.
234
234
Goal P a.(q). unfold q. simpl. Show . Abort . (* -> a *)
235
235
Goal P a.(q). unfold q. cbn. Show . Abort . (* -> a *)
@@ -254,7 +254,7 @@ Set Primitive Projections.
254
254
Module DirectTuple.
255
255
Check "DirectTuple (PrimitiveProjectionConstant)".
256
256
Record T := {p:nat}.
257
- Notation TUPLE := {|p:=0|}.
257
+ Abbreviation TUPLE := {|p:=0|}.
258
258
Definition a := {|p:=0|}.
259
259
Axiom P : nat -> Prop.
260
260
Goal P (id p a). unfold id. cbv delta [a]. simpl. Show . Abort . (* -> 0 *)
@@ -288,7 +288,7 @@ End NamedTuple.
288
288
Module DirectCoFix.
289
289
Check "DirectCoFix (PrimitiveProjectionConstant)".
290
290
CoInductive U := {q:U}.
291
- Notation COFIX := (cofix a := {|q:=a|}).
291
+ Abbreviation COFIX := (cofix a := {|q:=a|}).
292
292
Axiom P : U -> Prop.
293
293
Goal P (id q COFIX). unfold id. simpl. Show . Abort . (* -> COFIX *)
294
294
Goal P (id q COFIX). unfold id. cbn. Show . Abort . (* -> COFIX *)
0 commit comments