File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
2017-12-Birmingham/Part2_Fundamentals_Coq Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -293,10 +293,10 @@ In fact one can write:
293293Definition iter (A : UU) (a : A) (f : A → A) : nat → A :=
294294 nat_rec A a (λ _ y, f y).
295295
296- (** A more fancy notation where the ̂ symbol is the unicode one (written \^ ) *)
296+ (** A fancier notation where the ̂ symbol is the unicode one (written \^ ) *)
297297Notation "f ̂ n" := (λ x, iter _ x f n) (at level 10).
298298
299- Eval compute in pred̂2 5.
299+ Eval compute in pred ̂ 2 5.
300300
301301(** Exercise: define a notation "myif b then x else y" for "ifbool _ x y b"
302302and rewrite negbool and andbool using this notation.
@@ -306,7 +306,7 @@ this is already used.
306306
307307 *)
308308
309- Definition sub (m n : nat) : nat := pred̂n m.
309+ Definition sub (m n : nat) : nat := pred ̂ n m.
310310
311311Eval compute in sub 15 4.
312312Eval compute in sub 11 15.
You can’t perform that action at this time.
0 commit comments