Details

Time bar (total: 19.1s)

sample228.0ms

Algorithm
intervals
Results
134.0ms148×body1280valid
36.0ms22×body2560valid
32.0ms55×body640valid
8.0ms17×body320valid
3.0ms11×body160valid
0.0msbody80valid

simplify4.0ms

Counts
1 → 1
Iterations
IterNodes
310
210
19
06

prune36.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 40.3b

localize26.0ms

Local error

Found 2 expressions with local error:

1.5b
(- (cos (+ x eps)) (cos x))
3.2b
(cos (+ x eps))

rewrite19.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt *-un-lft-identity add-log-exp
pow1 cos-sum add-cbrt-cube add-exp-log add-cube-cbrt insert-posit16
associate--l- sub-neg flip3-- diff-log diff-cos flip-- distribute-lft-out-- difference-of-squares
Counts
2 → 26
Calls
2 calls:
11.0ms
(- (cos (+ x eps)) (cos x))
7.0ms
(cos (+ x eps))

series97.0ms

Counts
2 → 6
Calls
2 calls:
72.0ms
(- (cos (+ x eps)) (cos x))
25.0ms
(cos (+ x eps))

simplify1.6s

Counts
32 → 32
Iterations
IterNodes
53258
41330
3586
2268
1135
067

prune300.0ms

Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 0.4b

localize38.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ x (+ x eps))
0.0b
(* -2 (* (sin (/ eps 2)) (sin (/ (+ x (+ x eps)) 2))))
0.3b
(* (sin (/ eps 2)) (sin (/ (+ x (+ x eps)) 2)))
3.2b
(sin (/ (+ x (+ x eps)) 2))

rewrite205.0ms

Algorithm
rewrite-expression-head
Rules
12×*-un-lft-identity
11×pow1 add-cbrt-cube add-exp-log
add-sqr-sqrt add-log-exp
add-cube-cbrt
associate-*l*
associate-*r* pow-prod-down prod-exp cbrt-unprod insert-posit16
sum-log distribute-lft-out
*-commutative sin-mult
+-commutative associate-+r+ flip3-+ associate-*r/ flip-+ unswap-sqr
Counts
4 → 64
Calls
4 calls:
15.0ms
(+ x (+ x eps))
55.0ms
(* -2 (* (sin (/ eps 2)) (sin (/ (+ x (+ x eps)) 2))))
88.0ms
(* (sin (/ eps 2)) (sin (/ (+ x (+ x eps)) 2)))
45.0ms
(sin (/ (+ x (+ x eps)) 2))

series309.0ms

Counts
4 → 12
Calls
4 calls:
42.0ms
(+ x (+ x eps))
116.0ms
(* -2 (* (sin (/ eps 2)) (sin (/ (+ x (+ x eps)) 2))))
95.0ms
(* (sin (/ eps 2)) (sin (/ (+ x (+ x eps)) 2)))
56.0ms
(sin (/ (+ x (+ x eps)) 2))

simplify1.1s

Counts
76 → 76
Iterations
IterNodes
32455
2838
1289
0123

prune896.0ms

Pruning

14 alts after pruning (14 fresh and 0 done)

Merged error: 0.3b

localize23.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ x (+ x eps))
0.3b
(* (* -2 (sin (/ eps 2))) (sin (/ (+ x (+ x eps)) 2)))
3.2b
(sin (/ (+ x (+ x eps)) 2))

rewrite154.0ms

Algorithm
rewrite-expression-head
Rules
*-un-lft-identity
pow1 add-cbrt-cube add-exp-log add-log-exp
add-sqr-sqrt add-cube-cbrt
sum-log associate-*r* pow-prod-down prod-exp cbrt-unprod insert-posit16 distribute-lft-out
+-commutative associate-+r+ flip3-+ associate-*l* *-commutative flip-+
Counts
3 → 43
Calls
3 calls:
22.0ms
(+ x (+ x eps))
90.0ms
(* (* -2 (sin (/ eps 2))) (sin (/ (+ x (+ x eps)) 2)))
41.0ms
(sin (/ (+ x (+ x eps)) 2))

series155.0ms

Counts
3 → 9
Calls
3 calls:
36.0ms
(+ x (+ x eps))
76.0ms
(* (* -2 (sin (/ eps 2))) (sin (/ (+ x (+ x eps)) 2)))
43.0ms
(sin (/ (+ x (+ x eps)) 2))

simplify955.0ms

Counts
52 → 52
Iterations
IterNodes
32381
2732
1239
096

prune561.0ms

Pruning

15 alts after pruning (14 fresh and 1 done)

Merged error: 0.3b

localize42.0ms

Local error

Found 4 expressions with local error:

0.6b
(cbrt (sin (/ (+ x (+ x eps)) 2)))
3.2b
(sin (/ (+ x (+ x eps)) 2))
3.2b
(sin (/ (+ x (+ x eps)) 2))
3.2b
(sin (/ (+ x (+ x eps)) 2))

rewrite86.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt *-un-lft-identity add-cube-cbrt
pow1 add-cbrt-cube add-exp-log insert-posit16 add-log-exp
cbrt-prod
pow1/3
Counts
4 → 36
Calls
4 calls:
9.0ms
(cbrt (sin (/ (+ x (+ x eps)) 2)))
21.0ms
(sin (/ (+ x (+ x eps)) 2))
31.0ms
(sin (/ (+ x (+ x eps)) 2))
24.0ms
(sin (/ (+ x (+ x eps)) 2))

series273.0ms

Counts
4 → 12
Calls
4 calls:
138.0ms
(cbrt (sin (/ (+ x (+ x eps)) 2)))
38.0ms
(sin (/ (+ x (+ x eps)) 2))
50.0ms
(sin (/ (+ x (+ x eps)) 2))
47.0ms
(sin (/ (+ x (+ x eps)) 2))

simplify2.8s

Counts
48 → 48
Iterations
IterNodes
54346
41461
3536
2249
1121
059

prune657.0ms

Pruning

15 alts after pruning (14 fresh and 1 done)

Merged error: 0.3b

regimes353.0ms

Accuracy

97.6% (0.3b remaining)

Error of 0.7b against oracle of 0.3b and baseline of 14.8b

bsearch191.0ms

Steps
ItersRangePoint
8
3.2127462034754177e-10
5.6341579135238385e-06
2.8863753739128075e-06
10
-32518848344.590553
-0.0006858147917088189
-0.0006966600469417059

simplify8.0ms

Iterations
IterNodes
235
135
028

end0.0ms

sample8.1s

Algorithm
intervals
Results
4.1s4494×body1280valid
1.7s613×body2560valid
1.6s1847×body640valid
356.0ms692×body320valid
68.0ms280×body160valid
10.0ms74×body80valid