Details

Time bar (total: 4.7s)

sample300.0ms

Algorithm
intervals
Results
14.0ms362×body80nan
12.0ms235×body80valid
8.0ms216×body80overflowed
2.0ms23×body160valid

simplify76.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0197
1287
2417
3757
41827
55767
626667
750017

prune4.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: 4.0b

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.0b
(/ (- (exp (* 2.0 x)) 1.0) (- (exp x) 1.0))
4.6b
(- (exp (* 2.0 x)) 1.0)
4.7b
(- (exp x) 1.0)

rewrite51.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:
22.0ms
(sqrt (/ (- (exp (* 2.0 x)) 1.0) (- (exp x) 1.0)))
10.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)

series204.0ms

Counts
4 → 12
Calls
4 calls:
91.0ms
(sqrt (/ (- (exp (* 2.0 x)) 1.0) (- (exp x) 1.0)))
63.0ms
(/ (- (exp (* 2.0 x)) 1.0) (- (exp x) 1.0))
27.0ms
(- (exp (* 2.0 x)) 1.0)
23.0ms
(- (exp x) 1.0)

simplify58.0ms

Algorithm
egg-herbie
Counts
167 → 167
Iterations

Useful iterations: 2 (41.0ms)

IterNodesCost
04801694
115231484
250011470

prune341.0ms

Filtered
167 candidates to 110 candidates (65.9%)
Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New1643167
Fresh000
Picked101
Done000
Total1653168

Merged error: 0.0b

Counts
168 → 3

localize15.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (exp x) 1.0)
0.0b
(sqrt (* (/ (- (exp (* 2.0 x)) 1.0) (fma (- 1.0) 1.0 (exp (+ x x)))) (+ (exp x) 1.0)))
4.6b
(fma (- 1.0) 1.0 (exp (+ x x)))
4.6b
(- (exp (* 2.0 x)) 1.0)

rewrite24.0ms

Algorithm
rewrite-expression-head
Rules
16×*-un-lft-identity
14×add-sqr-sqrt
12×add-cube-cbrt
prod-diff
add-log-exp
pow1
sqrt-div
add-exp-log expm1-log1p-u add-cbrt-cube log1p-expm1-u
fma-def flip3-+ fma-neg flip-+
frac-times sqrt-pow1 associate-*r/
+-commutative sub-neg flip3-- pow1/2 diff-log pow-prod-down associate-*l/ sum-log sqrt-prod flip-- fma-udef distribute-lft-out distribute-lft-out-- difference-of-squares
Counts
4 → 73
Calls
4 calls:
4.0ms
(+ (exp x) 1.0)
13.0ms
(sqrt (* (/ (- (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)

series233.0ms

Counts
4 → 12
Calls
4 calls:
8.0ms
(+ (exp x) 1.0)
159.0ms
(sqrt (* (/ (- (exp (* 2.0 x)) 1.0) (fma (- 1.0) 1.0 (exp (+ x x)))) (+ (exp x) 1.0)))
42.0ms
(fma (- 1.0) 1.0 (exp (+ x x)))
25.0ms
(- (exp (* 2.0 x)) 1.0)

simplify44.0ms

Algorithm
egg-herbie
Counts
85 → 85
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
0361673
11258564
25001559

prune239.0ms

Filtered
85 candidates to 64 candidates (75.3%)
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New84185
Fresh112
Picked011
Done000
Total85388

Merged error: 0b

Counts
88 → 3

localize18.0ms

Local error

Found 4 expressions with local error:

0.1b
(log1p (+ (exp x) 1.0))
0.1b
(expm1 (log1p (+ (exp x) 1.0)))
4.6b
(fma (- 1.0) 1.0 (exp (+ x x)))
4.6b
(- (exp (* 2.0 x)) 1.0)

rewrite8.0ms

Algorithm
rewrite-expression-head
Rules
13×add-sqr-sqrt *-un-lft-identity
11×add-cube-cbrt
prod-diff
add-log-exp
expm1-log1p-u
pow1 add-exp-log add-cbrt-cube log1p-expm1-u
fma-neg
sub-neg log1p-udef expm1-log1p flip3-- diff-log log1p-expm1 flip-- fma-udef distribute-lft-out-- expm1-udef difference-of-squares
Counts
4 → 60
Calls
4 calls:
1.0ms
(log1p (+ (exp x) 1.0))
1.0ms
(expm1 (log1p (+ (exp x) 1.0)))
1.0ms
(fma (- 1.0) 1.0 (exp (+ x x)))
5.0ms
(- (exp (* 2.0 x)) 1.0)

series248.0ms

Counts
4 → 12
Calls
4 calls:
68.0ms
(log1p (+ (exp x) 1.0))
110.0ms
(expm1 (log1p (+ (exp x) 1.0)))
45.0ms
(fma (- 1.0) 1.0 (exp (+ x x)))
25.0ms
(- (exp (* 2.0 x)) 1.0)

simplify106.0ms

Algorithm
egg-herbie
Counts
72 → 72
Iterations

Useful iterations: 3 (99.0ms)

IterNodesCost
0266460
1819351
23757340
35001325

prune219.0ms

Filtered
72 candidates to 52 candidates (72.2%)
Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New72072
Fresh011
Picked011
Done011
Total72375

Merged error: 0b

Counts
75 → 3

localize13.0ms

Local error

Found 4 expressions with local error:

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

rewrite62.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:
9.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))
24.0ms
(* (/ (pow x 2) (sqrt 2.0)) (- 0.25 (/ 0.125 2.0)))
7.0ms
(/ x (sqrt 2.0))

series290.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)))))
64.0ms
(/ (pow x 2) (sqrt 2.0))
72.0ms
(* (/ (pow x 2) (sqrt 2.0)) (- 0.25 (/ 0.125 2.0)))
58.0ms
(/ x (sqrt 2.0))

simplify68.0ms

Algorithm
egg-herbie
Counts
320 → 320
Iterations

Useful iterations: 1 (31.0ms)

IterNodesCost
013344318
150013448

prune516.0ms

Filtered
320 candidates to 163 candidates (50.9%)
Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New3200320
Fresh000
Picked011
Done022
Total3203323

Merged error: 0b

Counts
323 → 3

regimes23.0ms

Accuracy

75.8% (0.7b remaining)

Error of 0.8b against oracle of 0.1b and baseline of 3.0b

bsearch27.0ms

Steps
ItersRangePoint
4
-9.044545662313305e-16
-5.385337346103337e-16
-7.286058249866369e-16

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03924
13924

end0.0ms

sample1.5s

Algorithm
intervals
Results
496.0ms12370×body80nan
316.0ms7368×body80valid
247.0ms6473×body80overflowed
77.0ms762×body160valid