Details

Time bar (total: 11.6s)

sample92.0ms

Algorithm
intervals
Results
47.0ms145×body1280valid
20.0ms24×body2560valid
12.0ms59×body640valid
3.0ms24×body320valid
0.0msbody160valid
0.0msbody80valid

simplify4.0ms

Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
067
197
2107
done107

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 41.0b

localize8.0ms

Local error

Found 2 expressions with local error:

1.0b
(- (cos (+ x eps)) (cos x))
4.2b
(cos (+ x eps))

rewrite12.0ms

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

series72.0ms

Counts
2 → 6
Calls
2 calls:
50.0ms
(- (cos (+ x eps)) (cos x))
22.0ms
(cos (+ x eps))

simplify1.3s

Counts
30 → 30
Iterations

Useful iterations: 4 (423.0ms)

IterNodesCost
065311
1134299
2274283
3643275
41979273
done5000273

prune82.0ms

Pruning

6 alts after pruning (6 fresh and 0 done)

Merged error: 0.3b

localize16.0ms

Local error

Found 4 expressions with local error:

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

rewrite129.0ms

Algorithm
rewrite-expression-head
Rules
12×*-un-lft-identity
11×pow1 add-exp-log add-cbrt-cube
add-sqr-sqrt add-log-exp
add-cube-cbrt
associate-*l*
associate-*r* pow-prod-down prod-exp cbrt-unprod
sum-log distribute-lft-out
*-commutative sin-mult
+-commutative associate-+l+ flip3-+ associate-*r/ flip-+ unswap-sqr
Counts
4 → 60
Calls
4 calls:
42.0ms
(* -2 (* (sin (* eps 1/2)) (sin (/ (+ (+ x eps) x) 2))))
16.0ms
(+ (+ x eps) x)
47.0ms
(* (sin (* eps 1/2)) (sin (/ (+ (+ x eps) x) 2)))
23.0ms
(sin (/ (+ (+ x eps) x) 2))

series172.0ms

Counts
4 → 12
Calls
4 calls:
64.0ms
(* -2 (* (sin (* eps 1/2)) (sin (/ (+ (+ x eps) x) 2))))
22.0ms
(+ (+ x eps) x)
57.0ms
(* (sin (* eps 1/2)) (sin (/ (+ (+ x eps) x) 2)))
29.0ms
(sin (/ (+ (+ x eps) x) 2))

simplify1.6s

Counts
72 → 72
Iterations

Useful iterations: 3 (529.0ms)

IterNodesCost
01191098
12781077
2803919
33184907
done5000907

prune351.0ms

Pruning

13 alts after pruning (13 fresh and 0 done)

Merged error: 0.2b

localize13.0ms

Local error

Found 3 expressions with local error:

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

rewrite82.0ms

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

series116.0ms

Counts
3 → 9
Calls
3 calls:
22.0ms
(+ (+ x eps) x)
65.0ms
(* (* -2 (sin (* eps 1/2))) (sin (/ (+ (+ x eps) x) 2)))
29.0ms
(sin (/ (+ (+ x eps) x) 2))

simplify1.6s

Counts
49 → 49
Iterations

Useful iterations: 3 (498.0ms)

IterNodesCost
093689
1230673
2739563
32986553
done5001553

prune136.0ms

Pruning

13 alts after pruning (12 fresh and 1 done)

Merged error: 0.2b

localize17.0ms

Local error

Found 4 expressions with local error:

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

rewrite80.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt add-cube-cbrt *-un-lft-identity
pow1 add-exp-log add-cbrt-cube add-log-exp
cbrt-prod
pow1/3
Counts
4 → 32
Calls
4 calls:
10.0ms
(cbrt (sin (/ (+ (+ x eps) x) 2)))
22.0ms
(sin (/ (+ (+ x eps) x) 2))
23.0ms
(sin (/ (+ (+ x eps) x) 2))
25.0ms
(sin (/ (+ (+ x eps) x) 2))

series180.0ms

Counts
4 → 12
Calls
4 calls:
93.0ms
(cbrt (sin (/ (+ (+ x eps) x) 2)))
28.0ms
(sin (/ (+ (+ x eps) x) 2))
27.0ms
(sin (/ (+ (+ x eps) x) 2))
31.0ms
(sin (/ (+ (+ x eps) x) 2))

simplify2.2s

Counts
44 → 44
Iterations

Useful iterations: 4 (731.0ms)

IterNodesCost
057570
1119567
2256501
3773493
44220483
done5000483

prune161.0ms

Pruning

14 alts after pruning (13 fresh and 1 done)

Merged error: 0.2b

regimes243.0ms

Accuracy

97.8% (0.3b remaining)

Error of 0.7b against oracle of 0.4b and baseline of 15.3b

bsearch139.0ms

Steps
ItersRangePoint
11
2.28145452431431e-18
2231369.5462890854
1.2384991687240798e-05
10
-925426.909356872
-1.1036397448000079e-07
-0.0002414674700011765

simplify3.0ms

Iterations

Useful iterations: 1 (2.0ms)

IterNodesCost
02751
13738
done3738

end0.0ms

sample2.8s

Algorithm
intervals
Results
1.6s4511×body1280valid
579.0ms666×body2560valid
391.0ms1784×body640valid
106.0ms691×body320valid
25.0ms259×body160valid
4.0ms89×body80valid