Details

Time bar (total: 5.0s)

sample339.0ms

Algorithm
intervals
Results
41.0ms208×body10240exit
11.0ms377×body80nan
8.0ms245×body80valid
2.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

prune4.0ms

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 3.3b

localize11.0ms

Local error

Found 4 expressions with local error:

0.0b
(sqrt (/ (- (exp (* 2.0 x)) 1.0) (- (exp x) 1.0)))
0.1b
(/ (- (exp (* 2.0 x)) 1.0) (- (exp x) 1.0))
3.4b
(- (exp (* 2.0 x)) 1.0)
3.5b
(- (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:
14.0ms
(sqrt (/ (- (exp (* 2.0 x)) 1.0) (- (exp x) 1.0)))
17.0ms
(/ (- (exp (* 2.0 x)) 1.0) (- (exp x) 1.0))
5.0ms
(- (exp (* 2.0 x)) 1.0)
8.0ms
(- (exp x) 1.0)

series208.0ms

Counts
4 → 12
Calls
4 calls:
94.0ms
(sqrt (/ (- (exp (* 2.0 x)) 1.0) (- (exp x) 1.0)))
57.0ms
(/ (- (exp (* 2.0 x)) 1.0) (- (exp x) 1.0))
26.0ms
(- (exp (* 2.0 x)) 1.0)
31.0ms
(- (exp x) 1.0)

simplify56.0ms

Algorithm
egg-herbie
Counts
167 → 167
Iterations

Useful iterations: 2 (40.0ms)

IterNodesCost
04801694
115231484
250011470

prune388.0ms

Filtered
167 candidates to 110 candidates (65.9%)
Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0b

localize15.0ms

Local error

Found 4 expressions with local error:

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

rewrite23.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:
9.0ms
(sqrt (* (/ (- (exp (* 2.0 x)) 1.0) (fma (- 1.0) 1.0 (exp (+ x x)))) (+ (exp x) 1.0)))
4.0ms
(+ (exp x) 1.0)
0.0ms
(fma (- 1.0) 1.0 (exp (+ x x)))
5.0ms
(- (exp (* 2.0 x)) 1.0)

series230.0ms

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

simplify43.0ms

Algorithm
egg-herbie
Counts
85 → 85
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
0361673
11258564
25002559

prune274.0ms

Filtered
85 candidates to 65 candidates (76.5%)
Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0b

localize14.0ms

Local error

Found 4 expressions with local error:

0.0b
(* (+ (exp x) 1.0) (- (exp (* 2.0 x)) 1.0))
0.0b
(+ (exp x) 1.0)
3.4b
(- (exp (* 2.0 x)) 1.0)
3.4b
(- (exp (* 2 x)) 1.0)

rewrite46.0ms

Algorithm
rewrite-expression-head
Rules
43×*-un-lft-identity
41×add-sqr-sqrt
36×prod-diff
33×add-cube-cbrt
11×distribute-rgt-in distribute-lft-in
10×add-log-exp
pow1 add-exp-log fma-neg add-cbrt-cube
flip3-- associate-*r* flip--
expm1-log1p-u frac-times sub-neg flip3-+ associate-*l* flip-+ log1p-expm1-u
fma-def distribute-lft-out-- difference-of-squares
diff-log associate-*r/ associate-*l/ distribute-lft-out
+-commutative pow-prod-down prod-exp sum-log *-commutative cbrt-unprod unswap-sqr
Counts
4 → 126
Calls
4 calls:
27.0ms
(* (+ (exp x) 1.0) (- (exp (* 2.0 x)) 1.0))
4.0ms
(+ (exp x) 1.0)
5.0ms
(- (exp (* 2.0 x)) 1.0)
5.0ms
(- (exp (* 2 x)) 1.0)

series102.0ms

Counts
4 → 12
Calls
4 calls:
48.0ms
(* (+ (exp x) 1.0) (- (exp (* 2.0 x)) 1.0))
8.0ms
(+ (exp x) 1.0)
29.0ms
(- (exp (* 2.0 x)) 1.0)
17.0ms
(- (exp (* 2 x)) 1.0)

simplify67.0ms

Algorithm
egg-herbie
Counts
138 → 138
Iterations

Useful iterations: 2 (52.0ms)

IterNodesCost
05251327
12115994
25003989

prune289.0ms

Filtered
138 candidates to 82 candidates (59.4%)
Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0b

localize19.0ms

Local error

Found 4 expressions with local error:

0.0b
(pow (- (exp (* 2.0 x)) 1.0) 3)
0.1b
(cbrt (pow (- (exp (* 2.0 x)) 1.0) 3))
3.4b
(- (exp (* 2.0 x)) 1.0)
3.4b
(- (exp (* 2 x)) 1.0)

rewrite26.0ms

Algorithm
rewrite-expression-head
Rules
36×add-sqr-sqrt *-un-lft-identity
24×add-cube-cbrt
18×prod-diff
16×cbrt-prod
10×unpow-prod-down cube-prod
add-log-exp
fma-neg distribute-lft-out-- difference-of-squares
pow1 add-exp-log add-cbrt-cube
cube-div expm1-log1p-u flip3-- flip-- log1p-expm1-u
pow-unpow
cube-mult sub-neg cbrt-div diff-log unpow3 sqr-pow
pow-to-exp pow-pow pow1/3 pow-exp rem-cbrt-cube rem-cube-cbrt
Counts
4 → 116
Calls
4 calls:
6.0ms
(pow (- (exp (* 2.0 x)) 1.0) 3)
6.0ms
(cbrt (pow (- (exp (* 2.0 x)) 1.0) 3))
5.0ms
(- (exp (* 2.0 x)) 1.0)
5.0ms
(- (exp (* 2 x)) 1.0)

series123.0ms

Counts
4 → 12
Calls
4 calls:
53.0ms
(pow (- (exp (* 2.0 x)) 1.0) 3)
28.0ms
(cbrt (pow (- (exp (* 2.0 x)) 1.0) 3))
25.0ms
(- (exp (* 2.0 x)) 1.0)
17.0ms
(- (exp (* 2 x)) 1.0)

simplify50.0ms

Algorithm
egg-herbie
Counts
128 → 128
Iterations

Useful iterations: 2 (39.0ms)

IterNodesCost
0380918
11378739
25002725

prune285.0ms

Filtered
128 candidates to 72 candidates (56.3%)
Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0b

regimes21.0ms

Accuracy

75.6% (0.7b remaining)

Error of 0.8b against oracle of 0.2b and baseline of 2.9b

bsearch37.0ms

Steps
ItersRangePoint
7
-0.00013776134412608358
-2.653200281950173e-06
-6.8779141464345475e-06

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02715
12715

end0.0ms

sample2.2s

Algorithm
intervals
Results
1.2s6662×body10240exit
378.0ms12727×body80nan
244.0ms7422×body80valid
56.0ms703×body160valid