Details

Time bar (total: 5.6s)

sample324.0ms

Algorithm
intervals
Results
38.0ms197×body10240exit
13.0ms399×body80nan
7.0ms227×body80valid
3.0ms34×body160valid

simplify86.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0197
1287
2417
3757
41827
55767
626577
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: 5.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.0b
(/ (- (exp (* 2.0 x)) 1.0) (- (exp x) 1.0))
6.7b
(- (exp (* 2.0 x)) 1.0)
6.8b
(- (exp x) 1.0)

rewrite52.0ms

Algorithm
rewrite-expression-head
Rules
98×add-sqr-sqrt
95×*-un-lft-identity
51×times-frac
43×add-cube-cbrt
31×sqrt-prod
26×distribute-lft-out-- difference-of-squares
18×prod-diff
15×sqrt-div
10×associate-/r* associate-/l*
add-log-exp
add-exp-log flip3-- fma-neg add-cbrt-cube flip--
pow1
expm1-log1p-u associate-/r/ log1p-expm1-u associate-/l/
sub-neg rem-sqrt-square frac-2neg diff-log clear-num div-inv
cbrt-undiv sqrt-pow1 pow1/2 div-sub div-exp
Counts
4 → 169
Calls
4 calls:
15.0ms
(sqrt (/ (- (exp (* 2.0 x)) 1.0) (- (exp x) 1.0)))
14.0ms
(/ (- (exp (* 2.0 x)) 1.0) (- (exp x) 1.0))
7.0ms
(- (exp (* 2.0 x)) 1.0)
7.0ms
(- (exp x) 1.0)

series214.0ms

Counts
4 → 12
Calls
4 calls:
97.0ms
(sqrt (/ (- (exp (* 2.0 x)) 1.0) (- (exp x) 1.0)))
58.0ms
(/ (- (exp (* 2.0 x)) 1.0) (- (exp x) 1.0))
36.0ms
(- (exp (* 2.0 x)) 1.0)
24.0ms
(- (exp x) 1.0)

simplify58.0ms

Algorithm
egg-herbie
Counts
181 → 181
Iterations

Useful iterations: 2 (40.0ms)

IterNodesCost
04951844
115041646
250021629

prune352.0ms

Filtered
181 candidates to 120 candidates (66.3%)
Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New1783181
Fresh000
Picked101
Done000
Total1793182

Merged error: 0.0b

Counts
182 → 3

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)
6.7b
(fma (- 1.0) 1.0 (exp (+ x x)))
6.7b
(- (exp (* 2.0 x)) 1.0)

rewrite44.0ms

Algorithm
rewrite-expression-head
Rules
54×add-sqr-sqrt
47×*-un-lft-identity
41×sqrt-div
30×sqrt-prod
29×add-cube-cbrt
26×frac-times
19×associate-*l*
17×times-frac
15×flip3-+ flip-+ associate-/l*
13×associate-*l/
prod-diff associate-/r*
add-log-exp
pow1 distribute-lft-out-- difference-of-squares
associate-/l/
add-exp-log expm1-log1p-u flip3-- associate-*r* add-cbrt-cube flip-- log1p-expm1-u unswap-sqr
rem-sqrt-square fma-def frac-2neg fma-neg clear-num
sqrt-pow1 associate-*r/ distribute-lft-out
+-commutative sub-neg pow1/2 diff-log pow-prod-down sum-log *-commutative fma-udef div-inv
Counts
4 → 141
Calls
4 calls:
25.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)
1.0ms
(fma (- 1.0) 1.0 (exp (+ x x)))
8.0ms
(- (exp (* 2.0 x)) 1.0)

series240.0ms

Counts
4 → 12
Calls
4 calls:
159.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)
47.0ms
(fma (- 1.0) 1.0 (exp (+ x x)))
26.0ms
(- (exp (* 2.0 x)) 1.0)

simplify118.0ms

Algorithm
egg-herbie
Counts
153 → 153
Iterations

Useful iterations: 2 (98.0ms)

IterNodesCost
09792155
146382017
250012014

prune446.0ms

Filtered
153 candidates to 116 candidates (75.8%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New1512153
Fresh112
Picked011
Done000
Total1524156

Merged error: 0b

Counts
156 → 4

localize17.0ms

Local error

Found 4 expressions with local error:

0.1b
(cbrt (pow (fma (- 1.0) 1.0 (exp (+ x x))) 3))
0.1b
(pow (fma (- 1.0) 1.0 (exp (+ x x))) 3)
6.7b
(fma (- 1.0) 1.0 (exp (+ x x)))
6.7b
(- (exp (* 2.0 x)) 1.0)

rewrite15.0ms

Algorithm
rewrite-expression-head
Rules
18×*-un-lft-identity
17×add-sqr-sqrt
15×add-cube-cbrt
prod-diff
cbrt-prod
unpow-prod-down add-log-exp
pow1 add-exp-log add-cbrt-cube
expm1-log1p-u pow-unpow log1p-expm1-u
fma-neg
unpow3 rem-cbrt-cube sqr-pow
pow-to-exp sub-neg flip3-- pow-pow pow1/3 diff-log pow-exp flip-- fma-udef distribute-lft-out-- rem-cube-cbrt difference-of-squares
Counts
4 → 79
Calls
4 calls:
2.0ms
(cbrt (pow (fma (- 1.0) 1.0 (exp (+ x x))) 3))
2.0ms
(pow (fma (- 1.0) 1.0 (exp (+ x x))) 3)
1.0ms
(fma (- 1.0) 1.0 (exp (+ x x)))
8.0ms
(- (exp (* 2.0 x)) 1.0)

series188.0ms

Counts
4 → 12
Calls
4 calls:
44.0ms
(cbrt (pow (fma (- 1.0) 1.0 (exp (+ x x))) 3))
72.0ms
(pow (fma (- 1.0) 1.0 (exp (+ x x))) 3)
42.0ms
(fma (- 1.0) 1.0 (exp (+ x x)))
29.0ms
(- (exp (* 2.0 x)) 1.0)

simplify40.0ms

Algorithm
egg-herbie
Counts
91 → 91
Iterations

Useful iterations: 2 (32.0ms)

IterNodesCost
0285621
1988517
25001511

prune244.0ms

Filtered
91 candidates to 59 candidates (64.8%)
Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New91091
Fresh022
Picked011
Done011
Total91495

Merged error: 0b

Counts
95 → 4

localize29.0ms

Local error

Found 4 expressions with local error:

0.1b
(pow (exp x) 3)
6.7b
(- (exp (* 2.0 x)) 1.0)
6.7b
(fma (- 1.0) 1.0 (exp (+ x x)))
6.8b
(- (* 1.0 1.0) (* (exp x) 1.0))

rewrite50.0ms

Algorithm
rewrite-expression-head
Rules
209×add-sqr-sqrt
189×prod-diff
139×*-un-lft-identity
126×add-cube-cbrt
93×associate-*r*
88×associate-*l*
41×swap-sqr
35×*-commutative unswap-sqr
18×fma-neg
11×difference-of-squares
distribute-rgt-out-- add-log-exp
distribute-lft-out--
pow1 add-exp-log add-cbrt-cube
expm1-log1p-u pow-pow log1p-expm1-u
unpow-prod-down pow-unpow exp-prod
sub-neg flip3-- diff-log pow-exp flip--
pow-to-exp unpow3 fma-udef rem-cube-cbrt sqr-pow
Counts
4 → 296
Calls
4 calls:
3.0ms
(pow (exp x) 3)
8.0ms
(- (exp (* 2.0 x)) 1.0)
1.0ms
(fma (- 1.0) 1.0 (exp (+ x x)))
22.0ms
(- (* 1.0 1.0) (* (exp x) 1.0))

series135.0ms

Counts
4 → 12
Calls
4 calls:
25.0ms
(pow (exp x) 3)
29.0ms
(- (exp (* 2.0 x)) 1.0)
42.0ms
(fma (- 1.0) 1.0 (exp (+ x x)))
39.0ms
(- (* 1.0 1.0) (* (exp x) 1.0))

simplify111.0ms

Algorithm
egg-herbie
Counts
308 → 308
Iterations

Useful iterations: 2 (78.0ms)

IterNodesCost
08104326
126001919
250021913

prune452.0ms

Filtered
308 candidates to 84 candidates (27.3%)
Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New3080308
Fresh011
Picked011
Done022
Total3084312

Merged error: 0b

Counts
312 → 4

regimes32.0ms

Accuracy

73.9% (0.8b remaining)

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

bsearch40.0ms

Steps
ItersRangePoint
7
-1.2080237657941953e-11
-3.4401241170895896e-13
-1.1933942233902218e-11

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02716
12716

end0.0ms

sample2.3s

Algorithm
intervals
Results
1.3s6649×body10240exit
390.0ms12603×body80nan
248.0ms7352×body80valid
60.0ms763×body160valid