-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathreduction.rkt
48 lines (46 loc) · 1.19 KB
/
reduction.rkt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
#lang racket
(require "reduction-base.rkt"
(except-in rosette/safe argmin argmax min max count define))
(provide #%module-begin #%app #%datum #%top #%top-interaction
(except-out
(all-from-out "reduction-base.rkt")
dp-int-plus
dp-int-minus
dp-int-gt
dp-int-ge
dp-int-lt
dp-int-le
dp-int-eq
dp-equal?
dp-int-max
dp-int-min
dp-expt
dp-quotient
dp-mod
dp-even?
dp-odd?)
(rename-out [dp-int-plus +]
[dp-int-minus -]
[dp-int-mult *]
[dp-int-gt >]
[dp-int-ge >=]
[dp-int-lt <]
[dp-int-le <=]
[dp-int-eq =]
[dp-equal? equal?]
[dp-quotient /]
[dp-mod mod]
[dp-even? even?]
[dp-odd? odd])
require
provide
and
or
not
xor
nand
implies
quote
if
pretty-print
)