Details

Time bar (total: 6.5s)

sample314.0ms

Algorithm
intervals
Results
36.0ms187×body10240exit
10.0ms358×body80nan
9.0ms243×body80valid
1.0ms17×body160valid

simplify73.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0197
1287
2417
3757
41827
55767
626667
750017

prune17.0ms

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 3.9b

Counts
2 → 1

localize11.0ms

Local error

Found 4 expressions with local error:

0.0b
(sqrt (/ (- (exp (* 2.0 x)) 1.0) (- (exp x) 1.0)))
0.3b
(/ (- (exp (* 2.0 x)) 1.0) (- (exp x) 1.0))
3.7b
(- (exp (* 2.0 x)) 1.0)
3.8b
(- (exp x) 1.0)

rewrite39.0ms

Algorithm
rewrite-expression-head
Rules
92×add-sqr-sqrt
89×*-un-lft-identity
51×times-frac
41×add-cube-cbrt
31×sqrt-prod
24×distribute-lft-out-- difference-of-squares
18×prod-diff
add-log-exp
add-exp-log fma-neg add-cbrt-cube
pow1 flip3-- associate-/r* flip-- associate-/l*
expm1-log1p-u associate-/r/ log1p-expm1-u
sub-neg rem-sqrt-square diff-log div-inv associate-/l/
cbrt-undiv frac-2neg sqrt-pow1 pow1/2 sqrt-div div-sub div-exp clear-num
Counts
4 → 155
Calls
4 calls:
9.0ms
(sqrt (/ (- (exp (* 2.0 x)) 1.0) (- (exp x) 1.0)))
11.0ms
(/ (- (exp (* 2.0 x)) 1.0) (- (exp x) 1.0))
5.0ms
(- (exp (* 2.0 x)) 1.0)
7.0ms
(- (exp x) 1.0)

series208.0ms

Counts
4 → 12
Calls
4 calls:
95.0ms
(sqrt (/ (- (exp (* 2.0 x)) 1.0) (- (exp x) 1.0)))
58.0ms
(/ (- (exp (* 2.0 x)) 1.0) (- (exp x) 1.0))
33.0ms
(- (exp (* 2.0 x)) 1.0)
23.0ms
(- (exp x) 1.0)

simplify64.0ms

Algorithm
egg-herbie
Counts
167 → 167
Iterations

Useful iterations: 2 (43.0ms)

IterNodesCost
04801694
115231484
250011470

prune342.0ms

Filtered
167 candidates to 110 candidates (65.9%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New1634167
Fresh000
Picked101
Done000
Total1644168

Merged error: 0.2b

Counts
168 → 4

localize18.0ms

Local error

Found 4 expressions with local error:

0.3b
(/ (fma (- 1.0) 1.0 (exp (+ x x))) (+ (exp x) 1.0))
0.3b
(/ (- (exp (* 2.0 x)) 1.0) (/ (fma (- 1.0) 1.0 (exp (+ x x))) (+ (exp x) 1.0)))
3.7b
(fma (- 1.0) 1.0 (exp (+ x x)))
3.7b
(- (exp (* 2.0 x)) 1.0)

rewrite35.0ms

Algorithm
rewrite-expression-head
Rules
174×times-frac
171×*-un-lft-identity
127×add-sqr-sqrt
87×add-cube-cbrt
22×associate-/r* distribute-lft-out
20×distribute-lft-out-- difference-of-squares
15×associate-/r/
11×add-exp-log add-cbrt-cube
prod-diff
div-inv associate-/l*
flip3-+ flip-+
add-log-exp
pow1 cbrt-undiv expm1-log1p-u div-exp log1p-expm1-u
fma-neg
flip3-- frac-2neg clear-num flip-- associate-/l/
sub-neg diff-log div-sub fma-udef
Counts
4 → 206
Calls
4 calls:
6.0ms
(/ (fma (- 1.0) 1.0 (exp (+ x x))) (+ (exp x) 1.0))
14.0ms
(/ (- (exp (* 2.0 x)) 1.0) (/ (fma (- 1.0) 1.0 (exp (+ x x))) (+ (exp x) 1.0)))
1.0ms
(fma (- 1.0) 1.0 (exp (+ x x)))
5.0ms
(- (exp (* 2.0 x)) 1.0)

series258.0ms

Counts
4 → 12
Calls
4 calls:
68.0ms
(/ (fma (- 1.0) 1.0 (exp (+ x x))) (+ (exp x) 1.0))
116.0ms
(/ (- (exp (* 2.0 x)) 1.0) (/ (fma (- 1.0) 1.0 (exp (+ x x))) (+ (exp x) 1.0)))
48.0ms
(fma (- 1.0) 1.0 (exp (+ x x)))
25.0ms
(- (exp (* 2.0 x)) 1.0)

simplify116.0ms

Algorithm
egg-herbie
Counts
218 → 218
Iterations

Useful iterations: 2 (85.0ms)

IterNodesCost
08053596
135513384
250033382

prune561.0ms

Filtered
218 candidates to 147 candidates (67.4%)
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New2171218
Fresh213
Picked011
Done000
Total2193222

Merged error: 0.2b

Counts
222 → 3

localize17.0ms

Local error

Found 4 expressions with local error:

0.3b
(/ (fma (- 1.0) 1.0 (exp (+ x x))) (+ (exp x) 1.0))
0.3b
(/ (cbrt (pow (- (exp (* 2.0 x)) 1.0) 3)) (/ (fma (- 1.0) 1.0 (exp (+ x x))) (+ (exp x) 1.0)))
3.7b
(fma (- 1.0) 1.0 (exp (+ x x)))
3.7b
(- (exp (* 2.0 x)) 1.0)

rewrite69.0ms

Algorithm
rewrite-expression-head
Rules
594×times-frac
462×*-un-lft-identity
334×add-sqr-sqrt
304×cbrt-prod
256×add-cube-cbrt
95×unpow-prod-down cube-prod
64×distribute-lft-out
43×associate-/r/
39×distribute-lft-out-- difference-of-squares
22×associate-/r* div-inv associate-/l*
21×flip3-+ flip-+
19×cube-mult unpow3 sqr-pow
11×add-exp-log
prod-diff add-cbrt-cube
add-log-exp
pow1 cbrt-undiv expm1-log1p-u div-exp log1p-expm1-u
fma-neg
cube-div cbrt-div flip3-- frac-2neg clear-num flip-- associate-/l/
sub-neg diff-log fma-udef
Counts
4 → 471
Calls
4 calls:
6.0ms
(/ (fma (- 1.0) 1.0 (exp (+ x x))) (+ (exp x) 1.0))
22.0ms
(/ (cbrt (pow (- (exp (* 2.0 x)) 1.0) 3)) (/ (fma (- 1.0) 1.0 (exp (+ x x))) (+ (exp x) 1.0)))
1.0ms
(fma (- 1.0) 1.0 (exp (+ x x)))
5.0ms
(- (exp (* 2.0 x)) 1.0)

series251.0ms

Counts
4 → 12
Calls
4 calls:
66.0ms
(/ (fma (- 1.0) 1.0 (exp (+ x x))) (+ (exp x) 1.0))
114.0ms
(/ (cbrt (pow (- (exp (* 2.0 x)) 1.0) 3)) (/ (fma (- 1.0) 1.0 (exp (+ x x))) (+ (exp x) 1.0)))
46.0ms
(fma (- 1.0) 1.0 (exp (+ x x)))
25.0ms
(- (exp (* 2.0 x)) 1.0)

simplify117.0ms

Algorithm
egg-herbie
Counts
483 → 483
Iterations

Useful iterations: 1 (28.0ms)

IterNodesCost
0115310492
1500110070

prune841.0ms

Filtered
483 candidates to 198 candidates (41.0%)
Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New4830483
Fresh011
Picked011
Done011
Total4833486

Merged error: 0.2b

Counts
486 → 3

localize13.0ms

Local error

Found 4 expressions with local error:

0.1b
(+ (* 0.5 (/ x (sqrt 2.0))) (+ (sqrt 2.0) (* (/ (pow x 2) (sqrt 2.0)) (- 0.25 (/ 0.125 2.0)))))
0.2b
(/ (pow x 2) (sqrt 2.0))
0.4b
(* (/ (pow x 2) (sqrt 2.0)) (- 0.25 (/ 0.125 2.0)))
0.5b
(/ x (sqrt 2.0))

rewrite64.0ms

Algorithm
rewrite-expression-head
Rules
177×times-frac
176×add-sqr-sqrt
151×*-un-lft-identity
149×add-cube-cbrt
78×prod-diff
67×sqrt-prod
52×associate-*l*
41×distribute-rgt-in unpow-prod-down distribute-lft-in
21×add-exp-log
15×unpow2 sqr-pow
13×add-cbrt-cube
12×associate-/r*
11×associate-/l*
div-inv add-log-exp unswap-sqr
div-exp
pow1 associate-*r*
expm1-log1p-u associate-*r/ prod-exp log1p-expm1-u
cbrt-undiv sum-log
frac-times pow-to-exp sub-neg flip3-- frac-2neg flip3-+ frac-add pow-exp clear-num flip-- cbrt-unprod flip-+ difference-of-squares
+-commutative associate-+r+ fma-def pow-prod-down associate-*l/ *-commutative distribute-lft-out--
Counts
4 → 308
Calls
4 calls:
10.0ms
(+ (* 0.5 (/ x (sqrt 2.0))) (+ (sqrt 2.0) (* (/ (pow x 2) (sqrt 2.0)) (- 0.25 (/ 0.125 2.0)))))
6.0ms
(/ (pow x 2) (sqrt 2.0))
27.0ms
(* (/ (pow x 2) (sqrt 2.0)) (- 0.25 (/ 0.125 2.0)))
4.0ms
(/ x (sqrt 2.0))

series293.0ms

Counts
4 → 12
Calls
4 calls:
95.0ms
(+ (* 0.5 (/ x (sqrt 2.0))) (+ (sqrt 2.0) (* (/ (pow x 2) (sqrt 2.0)) (- 0.25 (/ 0.125 2.0)))))
63.0ms
(/ (pow x 2) (sqrt 2.0))
73.0ms
(* (/ (pow x 2) (sqrt 2.0)) (- 0.25 (/ 0.125 2.0)))
62.0ms
(/ x (sqrt 2.0))

simplify74.0ms

Algorithm
egg-herbie
Counts
320 → 320
Iterations

Useful iterations: 1 (34.0ms)

IterNodesCost
013344318
150013448

prune516.0ms

Filtered
320 candidates to 163 candidates (50.9%)
Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New3191320
Fresh000
Picked101
Done022
Total3203323

Merged error: 0.2b

Counts
323 → 3

regimes25.0ms

Accuracy

73.1% (0.8b remaining)

Error of 0.9b against oracle of 0.1b and baseline of 3.1b

bsearch49.0ms

Steps
ItersRangePoint
6
-4.345123270967491e-17
-6.5315291284408596e-18
-4.0542415267134493e-17

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04836
14836

end0.0ms

sample2.2s

Algorithm
intervals
Results
1.2s6438×body10240exit
352.0ms12360×body80nan
226.0ms7366×body80valid
56.0ms752×body160valid