-
Notifications
You must be signed in to change notification settings - Fork 2
/
draft.lisp
53 lines (52 loc) · 1.69 KB
/
draft.lisp
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
49
50
51
52
53
(in-package :pvs)
(defun f_7 ()
#'(lambda (x)
(pvs__+ (pvs__+ (the integer x) (the integer x))
(the integer
(let ((x#0 2))
(declare (type nil x#0))
(the integer x#0))))))
(defun _f_7 (x)
(declare (type integer x))
(pvs__+ (pvs__+ (the integer x) (the integer x))
(the integer
(let ((x#0 2))
(declare (type nil x#0))
(the integer x#0)))))
(defun f!_7 (x)
(declare (type integer x))
(pvs__+ (pvs__+ (the integer x) (the integer x))
(the integer
(let ((x#0 2))
(declare (type nil x#0))
(the integer x#0)))))
(defun incr_2 () #'(lambda (x) (pvs__+ (the integer x) 1)))
(defun _incr_2 (x)
(declare (type integer x))
(pvs__+ (the integer x) 1))
(defun incr!_2 (x)
(declare (type integer x))
(pvs__+ (the integer x) 1))
(defun a_2 () (the integer (_incr_2 10)))
(defun _a_2 () (the integer (_incr_2 10)))
(defun a!_2 () (the integer (incr!_2 10)))
(defun f_8 ()
#'(lambda (t56504)
(let ((A285 0))
(let ((N284 0) (E283 t56504))
(pvs-outer-array-update E283 A285 N284 10)))))
(defun _f_8 (t268)
(let ((A271 0))
(let ((N270 0) (E269 t268))
(pvs-outer-array-update E269 A271 N270 10))))
(defun f!_8 (t268)
(let ((LHS278 0))
(let ((RHS276 0) (E277 (mk-fun-array t268 10)))
(pvs-setf E277 LHS278 RHS276)
E277)))
(defun e_0 () #'(lambda (x) (the fixnum x)))
(defun _e_0 (x) (declare (type fixnum x)) (the fixnum x))
(defun e!_0 (x) (declare (type fixnum x)) (the fixnum x))
(defun g () (_f_8 (_f_8 (e_0))))
(defun _g () (_f_8 (_f_8 (e_0))))
(defun g! () (f!_8 (f!_8 (e_0))))