Details

Time bar (total: 23.8s)

sample185.0ms

Algorithm
intervals
Results
93.0ms140×body1280valid
43.0ms28×body2560valid
25.0ms61×body640valid
6.0ms19×body320valid
1.0msbody160valid
0.0msbody80valid

simplify8.0ms

Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
067
197
2107
done107

prune49.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 41.9b

localize23.0ms

Local error

Found 2 expressions with local error:

0.8b
(- (cos (+ x eps)) (cos x))
4.6b
(cos (+ x eps))

rewrite35.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:
16.0ms
(- (cos (+ x eps)) (cos x))
18.0ms
(cos (+ x eps))

series490.0ms

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

simplify2.6s

Counts
30 → 30
Iterations

Useful iterations: 4 (436.0ms)

IterNodesCost
065311
1135299
2266283
3540275
41076273
52577273
done5001273

prune151.0ms

Pruning

6 alts after pruning (6 fresh and 0 done)

Merged error: 0.3b

localize15.0ms

Local error

Found 3 expressions with local error:

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

rewrite253.0ms

Algorithm
rewrite-expression-head
Rules
10×*-un-lft-identity
add-log-exp
add-sqr-sqrt
pow1 add-exp-log add-cube-cbrt add-cbrt-cube
associate-*r* associate-*l* sum-log distribute-lft-out
+-commutative associate-+l+ flip3-+ pow-prod-down prod-exp *-commutative cbrt-unprod flip-+ sin-mult unswap-sqr
Counts
3 → 41
Calls
3 calls:
46.0ms
(+ (+ x eps) x)
130.0ms
(* (sin (/ eps 2)) (sin (/ (+ (+ x eps) x) 2)))
76.0ms
(sin (/ (+ (+ x eps) x) 2))

series127.0ms

Counts
3 → 9
Calls
3 calls:
32.0ms
(+ (+ x eps) x)
63.0ms
(* (sin (/ eps 2)) (sin (/ (+ (+ x eps) x) 2)))
32.0ms
(sin (/ (+ (+ x eps) x) 2))

simplify4.0s

Counts
50 → 50
Iterations

Useful iterations: 4 (2.3s)

IterNodesCost
091654
1206646
2540568
31301550
44556544
done5000544

prune182.0ms

Pruning

9 alts after pruning (8 fresh and 1 done)

Merged error: 0.2b

localize28.0ms

Local error

Found 4 expressions with local error:

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

rewrite200.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:
19.0ms
(cbrt (sin (/ (+ (+ x eps) x) 2)))
46.0ms
(sin (/ (+ (+ x eps) x) 2))
82.0ms
(sin (/ (+ (+ x eps) x) 2))
52.0ms
(sin (/ (+ (+ x eps) x) 2))

series258.0ms

Counts
4 → 12
Calls
4 calls:
136.0ms
(cbrt (sin (/ (+ (+ x eps) x) 2)))
33.0ms
(sin (/ (+ (+ x eps) x) 2))
46.0ms
(sin (/ (+ (+ x eps) x) 2))
44.0ms
(sin (/ (+ (+ x eps) x) 2))

simplify3.9s

Counts
44 → 44
Iterations

Useful iterations: 4 (496.0ms)

IterNodesCost
057570
1120567
2251501
3519477
41308467
53961467
done5000467

prune284.0ms

Pruning

9 alts after pruning (7 fresh and 2 done)

Merged error: 0.2b

localize44.0ms

Local error

Found 4 expressions with local error:

4.4b
(sin (/ (+ (+ x eps) x) 2))
6.3b
(cbrt (* (sin (/ eps 2)) (sin (/ (+ (+ x eps) x) 2))))
6.3b
(cbrt (* (sin (/ eps 2)) (sin (/ (+ (+ x eps) x) 2))))
6.3b
(cbrt (* (sin (/ eps 2)) (sin (/ (+ (+ x eps) x) 2))))

rewrite180.0ms

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

series680.0ms

Counts
4 → 12
Calls
4 calls:
45.0ms
(sin (/ (+ (+ x eps) x) 2))
225.0ms
(cbrt (* (sin (/ eps 2)) (sin (/ (+ (+ x eps) x) 2))))
196.0ms
(cbrt (* (sin (/ eps 2)) (sin (/ (+ (+ x eps) x) 2))))
215.0ms
(cbrt (* (sin (/ eps 2)) (sin (/ (+ (+ x eps) x) 2))))

simplify2.5s

Counts
49 → 49
Iterations

Useful iterations: done (2.5s)

IterNodesCost
066924
1136918
2274818
3622751
41784721
done5001712

prune299.0ms

Pruning

9 alts after pruning (6 fresh and 3 done)

Merged error: 0.2b

regimes203.0ms

Accuracy

97.6% (0.4b remaining)

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

bsearch190.0ms

Steps
ItersRangePoint
10
2.714148548773617e-15
3495.1882749471233
3.028675491606891e-06
10
-7.35943201301068
-4.7981562703001505e-12
-0.00026844987953330624

simplify8.0ms

Iterations

Useful iterations: 1 (4.0ms)

IterNodesCost
02651
13538
done3538

end0.0ms

sample6.9s

Algorithm
intervals
Results
4.1s4478×body1280valid
1.0s625×body2560valid
861.0ms1802×body640valid
337.0ms732×body320valid
99.0ms279×body160valid
8.0ms84×body80valid