Details

Time bar (total: 22.6s)

sample155.0ms

Algorithm
intervals
Results
75.0ms140×body1280valid
37.0ms28×body2560valid
21.0ms61×body640valid
5.0ms19×body320valid
1.0msbody160valid
0.0msbody80valid

simplify8.0ms

Counts
1 → 1
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
067
197
2107
done107

prune41.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 41.9b

localize13.0ms

Local error

Found 2 expressions with local error:

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

rewrite27.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))
10.0ms
(cos (+ x eps))

series119.0ms

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

simplify2.7s

Counts
30 → 30
Iterations

Useful iterations: 4 (417.0ms)

IterNodesCost
065311
1135299
2266283
3540275
41076273
52577273
done5001273

prune163.0ms

Pruning

6 alts after pruning (6 fresh and 0 done)

Merged error: 0.3b

localize24.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))

rewrite218.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:
38.0ms
(+ (+ x eps) x)
122.0ms
(* (sin (/ eps 2)) (sin (/ (+ (+ x eps) x) 2)))
56.0ms
(sin (/ (+ (+ x eps) x) 2))

series172.0ms

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

simplify3.8s

Counts
50 → 50
Iterations

Useful iterations: 4 (2.3s)

IterNodesCost
091654
1206646
2540568
31301550
44556544
done5000544

prune162.0ms

Pruning

9 alts after pruning (8 fresh and 1 done)

Merged error: 0.2b

localize43.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))

rewrite229.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:
34.0ms
(cbrt (sin (/ (+ (+ x eps) x) 2)))
88.0ms
(sin (/ (+ (+ x eps) x) 2))
53.0ms
(sin (/ (+ (+ x eps) x) 2))
53.0ms
(sin (/ (+ (+ x eps) x) 2))

series312.0ms

Counts
4 → 12
Calls
4 calls:
179.0ms
(cbrt (sin (/ (+ (+ x eps) x) 2)))
38.0ms
(sin (/ (+ (+ x eps) x) 2))
42.0ms
(sin (/ (+ (+ x eps) x) 2))
52.0ms
(sin (/ (+ (+ x eps) x) 2))

simplify3.9s

Counts
44 → 44
Iterations

Useful iterations: 4 (443.0ms)

IterNodesCost
057570
1120567
2251501
3519477
41308467
53961467
done5000467

prune252.0ms

Pruning

9 alts after pruning (7 fresh and 2 done)

Merged error: 0.2b

localize28.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))))

rewrite148.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:
58.0ms
(sin (/ (+ (+ x eps) x) 2))
22.0ms
(cbrt (* (sin (/ eps 2)) (sin (/ (+ (+ x eps) x) 2))))
30.0ms
(cbrt (* (sin (/ eps 2)) (sin (/ (+ (+ x eps) x) 2))))
38.0ms
(cbrt (* (sin (/ eps 2)) (sin (/ (+ (+ x eps) x) 2))))

series586.0ms

Counts
4 → 12
Calls
4 calls:
31.0ms
(sin (/ (+ (+ x eps) x) 2))
171.0ms
(cbrt (* (sin (/ eps 2)) (sin (/ (+ (+ x eps) x) 2))))
183.0ms
(cbrt (* (sin (/ eps 2)) (sin (/ (+ (+ x eps) x) 2))))
200.0ms
(cbrt (* (sin (/ eps 2)) (sin (/ (+ (+ x eps) x) 2))))

simplify2.2s

Counts
49 → 49
Iterations

Useful iterations: done (2.2s)

IterNodesCost
066924
1136918
2274818
3622751
41784721
done5001712

prune290.0ms

Pruning

9 alts after pruning (6 fresh and 3 done)

Merged error: 0.2b

regimes202.0ms

Accuracy

97.6% (0.4b remaining)

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

bsearch212.0ms

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

simplify4.0ms

Iterations

Useful iterations: 1 (2.0ms)

IterNodesCost
02651
13538
done3538

end0.0ms

sample6.7s

Algorithm
intervals
Results
3.5s4478×body1280valid
1.5s625×body2560valid
938.0ms1802×body640valid
242.0ms732×body320valid
85.0ms279×body160valid
7.0ms84×body80valid