Details

Time bar (total: 21.5s)

sample194.0ms

Algorithm
intervals
Results
105.0ms144×body1280valid
34.0ms20×body2560valid
27.0ms58×body640valid
8.0ms23×body320valid
2.0msbody160valid
0.0msbody80valid

simplify8.0ms

Counts
1 → 1
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
067
197
2107
done107

prune48.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 41.3b

localize17.0ms

Local error

Found 2 expressions with local error:

0.8b
(- (cos (+ x eps)) (cos x))
3.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))

series108.0ms

Counts
2 → 6
Calls
2 calls:
80.0ms
(- (cos (+ x eps)) (cos x))
28.0ms
(cos (+ x eps))

simplify2.8s

Counts
30 → 30
Iterations

Useful iterations: 4 (409.0ms)

IterNodesCost
065311
1135299
2266283
3540275
41076273
52577273
done5001273

prune144.0ms

Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 0.4b

localize31.0ms

Local error

Found 4 expressions with local error:

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

rewrite389.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:
131.0ms
(* -2 (* (sin (/ eps 2)) (sin (/ (+ (+ x eps) x) 2))))
42.0ms
(+ (+ x eps) x)
142.0ms
(* (sin (/ eps 2)) (sin (/ (+ (+ x eps) x) 2)))
71.0ms
(sin (/ (+ (+ x eps) x) 2))

series228.0ms

Counts
4 → 12
Calls
4 calls:
85.0ms
(* -2 (* (sin (/ eps 2)) (sin (/ (+ (+ x eps) x) 2))))
34.0ms
(+ (+ x eps) x)
71.0ms
(* (sin (/ eps 2)) (sin (/ (+ (+ x eps) x) 2)))
37.0ms
(sin (/ (+ (+ x eps) x) 2))

simplify2.3s

Counts
72 → 72
Iterations

Useful iterations: done (2.3s)

IterNodesCost
01191098
12771081
2810919
32388895
done5000889

prune324.0ms

Pruning

14 alts after pruning (14 fresh and 0 done)

Merged error: 0.4b

localize37.0ms

Local error

Found 3 expressions with local error:

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

rewrite219.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:
55.0ms
(+ (+ x eps) x)
111.0ms
(* (* -2 (sin (/ eps 2))) (sin (/ (+ (+ x eps) x) 2)))
51.0ms
(sin (/ (+ (+ x eps) x) 2))

series180.0ms

Counts
3 → 9
Calls
3 calls:
38.0ms
(+ (+ x eps) x)
101.0ms
(* (* -2 (sin (/ eps 2))) (sin (/ (+ (+ x eps) x) 2)))
41.0ms
(sin (/ (+ (+ x eps) x) 2))

simplify2.6s

Counts
49 → 49
Iterations

Useful iterations: done (2.6s)

IterNodesCost
093689
1231671
2722565
32258545
done5000539

prune175.0ms

Pruning

14 alts after pruning (13 fresh and 1 done)

Merged error: 0.4b

localize27.0ms

Local error

Found 4 expressions with local error:

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

rewrite232.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:
17.0ms
(cbrt (sin (/ (+ (+ x eps) x) 2)))
69.0ms
(sin (/ (+ (+ x eps) x) 2))
89.0ms
(sin (/ (+ (+ x eps) x) 2))
55.0ms
(sin (/ (+ (+ x eps) x) 2))

series275.0ms

Counts
4 → 12
Calls
4 calls:
138.0ms
(cbrt (sin (/ (+ (+ x eps) x) 2)))
46.0ms
(sin (/ (+ (+ x eps) x) 2))
56.0ms
(sin (/ (+ (+ x eps) x) 2))
35.0ms
(sin (/ (+ (+ x eps) x) 2))

simplify3.7s

Counts
44 → 44
Iterations

Useful iterations: 4 (413.0ms)

IterNodesCost
057570
1120567
2251501
3519477
41308467
53961467
done5000467

prune228.0ms

Pruning

12 alts after pruning (11 fresh and 1 done)

Merged error: 0.4b

regimes259.0ms

Accuracy

96.7% (0.5b remaining)

Error of 0.9b against oracle of 0.4b and baseline of 15.4b

bsearch117.0ms

Steps
ItersRangePoint
9
5.155942382976535e-09
0.001020768799921521
0.00022642344448914372
4
-2657796.353906291
-1550992.7687819407
-1576820.312787291

simplify4.0ms

Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
02851
13551
done3551

end0.0ms

sample6.9s

Algorithm
intervals
Results
3.6s4405×body1280valid
1.0s1886×body640valid
1.0s663×body2560valid
738.0ms700×body320valid
83.0ms248×body160valid
9.0ms98×body80valid