Details

Time bar (total: 3.2s)

sample35.0ms

Algorithm
intervals
Results
14.0ms79×body1280valid
6.0ms52×body640valid
2.0ms104×body80overflowed
2.0ms25×body320valid
2.0ms88×body80valid
1.0ms12×body160valid

simplify5.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
074
184
284

prune2.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: 42.0b

Counts
2 → 1

localize7.0ms

Local error

Found 2 expressions with local error:

0.0b
(/ (exp x) (- (exp x) 1.0))
4.2b
(- (exp x) 1.0)

rewrite13.0ms

Algorithm
rewrite-expression-head
Rules
29×add-sqr-sqrt *-un-lft-identity
19×add-cube-cbrt
15×times-frac
prod-diff
associate-/r* distribute-lft-out-- difference-of-squares
add-cbrt-cube add-log-exp
add-exp-log fma-neg associate-/l*
pow1 expm1-log1p-u flip3-- associate-/r/ flip-- log1p-expm1-u
cbrt-undiv sub-neg frac-2neg diff-log div-exp clear-num div-inv
Counts
2 → 67
Calls
2 calls:
6.0ms
(/ (exp x) (- (exp x) 1.0))
4.0ms
(- (exp x) 1.0)

series42.0ms

Counts
2 → 6
Calls
2 calls:
27.0ms
(/ (exp x) (- (exp x) 1.0))
15.0ms
(- (exp x) 1.0)

simplify188.0ms

Algorithm
egg-herbie
Counts
73 → 73
Iterations

Useful iterations: 3 (181.0ms)

IterNodesCost
0237520
1786429
24651416
35001404

prune128.0ms

Filtered
73 candidates to 50 candidates (68.5%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New69473
Fresh000
Picked101
Done000
Total70474

Merged error: 0.0b

Counts
74 → 4

localize6.0ms

Local error

Found 2 expressions with local error:

0.0b
(+ (fma 1/12 x (/ 1 x)) 1/2)
0.1b
(fma 1/12 x (/ 1 x))

rewrite4.0ms

Algorithm
rewrite-expression-head
Rules
*-un-lft-identity
add-log-exp
add-sqr-sqrt add-cube-cbrt fma-def
pow1 add-exp-log expm1-log1p-u add-cbrt-cube fma-udef log1p-expm1-u
+-commutative associate-+l+ flip3-+ sum-log flip-+ distribute-lft-out
Counts
2 → 28
Calls
2 calls:
3.0ms
(+ (fma 1/12 x (/ 1 x)) 1/2)
1.0ms
(fma 1/12 x (/ 1 x))

series66.0ms

Counts
2 → 6
Calls
2 calls:
15.0ms
(+ (fma 1/12 x (/ 1 x)) 1/2)
50.0ms
(fma 1/12 x (/ 1 x))

simplify39.0ms

Algorithm
egg-herbie
Counts
34 → 34
Iterations

Useful iterations: 3 (35.0ms)

IterNodesCost
090126
1306119
21283117
35001116

prune60.0ms

Filtered
34 candidates to 26 candidates (76.5%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New33134
Fresh033
Picked011
Done000
Total33538

Merged error: 0.0b

Counts
38 → 5

localize9.0ms

Local error

Found 4 expressions with local error:

0.5b
(cbrt (fma 1/12 x (/ 1 x)))
0.5b
(cbrt (fma 1/12 x (/ 1 x)))
0.5b
(cbrt (fma 1/12 x (/ 1 x)))
0.6b
(* (cbrt (fma 1/12 x (/ 1 x))) (cbrt (fma 1/12 x (/ 1 x))))

rewrite11.0ms

Algorithm
rewrite-expression-head
Rules
25×cbrt-prod
23×add-sqr-sqrt
15×add-cube-cbrt *-un-lft-identity
11×pow1
pow1/3
add-exp-log swap-sqr associate-*r* associate-*l*
expm1-log1p-u add-cbrt-cube log1p-expm1-u add-log-exp unswap-sqr
pow-prod-down pow-sqr pow-prod-up
pow2 pow-plus prod-exp *-commutative cbrt-unprod
Counts
4 → 81
Calls
4 calls:
1.0ms
(cbrt (fma 1/12 x (/ 1 x)))
1.0ms
(cbrt (fma 1/12 x (/ 1 x)))
1.0ms
(cbrt (fma 1/12 x (/ 1 x)))
6.0ms
(* (cbrt (fma 1/12 x (/ 1 x))) (cbrt (fma 1/12 x (/ 1 x))))

series437.0ms

Counts
4 → 12
Calls
4 calls:
104.0ms
(cbrt (fma 1/12 x (/ 1 x)))
106.0ms
(cbrt (fma 1/12 x (/ 1 x)))
105.0ms
(cbrt (fma 1/12 x (/ 1 x)))
122.0ms
(* (cbrt (fma 1/12 x (/ 1 x))) (cbrt (fma 1/12 x (/ 1 x))))

simplify135.0ms

Algorithm
egg-herbie
Counts
93 → 93
Iterations

Useful iterations: 3 (119.0ms)

IterNodesCost
0277823
1917765
24127688
35002652

prune228.0ms

Filtered
93 candidates to 72 candidates (77.4%)
Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New93093
Fresh033
Picked011
Done011
Total93598

Merged error: 0.0b

Counts
98 → 5

localize10.0ms

Local error

Found 3 expressions with local error:

0.0b
(/ (fma (- 1.0) 1.0 (exp (+ x x))) (+ (exp x) 1.0))
0.0b
(/ (exp x) (/ (fma (- 1.0) 1.0 (exp (+ x x))) (+ (exp x) 1.0)))
4.4b
(fma (- 1.0) 1.0 (exp (+ x x)))

rewrite22.0ms

Algorithm
rewrite-expression-head
Rules
114×times-frac
95×*-un-lft-identity
63×add-sqr-sqrt add-cube-cbrt
22×associate-/r*
16×distribute-lft-out
11×associate-/r/
10×add-cbrt-cube
add-exp-log
div-inv associate-/l*
flip3-+ flip-+
cbrt-undiv div-exp
pow1 expm1-log1p-u log1p-expm1-u add-log-exp
frac-2neg clear-num
fma-udef
Counts
3 → 137
Calls
3 calls:
6.0ms
(/ (fma (- 1.0) 1.0 (exp (+ x x))) (+ (exp x) 1.0))
10.0ms
(/ (exp x) (/ (fma (- 1.0) 1.0 (exp (+ x x))) (+ (exp x) 1.0)))
1.0ms
(fma (- 1.0) 1.0 (exp (+ x x)))

series207.0ms

Counts
3 → 9
Calls
3 calls:
72.0ms
(/ (fma (- 1.0) 1.0 (exp (+ x x))) (+ (exp x) 1.0))
86.0ms
(/ (exp x) (/ (fma (- 1.0) 1.0 (exp (+ x x))) (+ (exp x) 1.0)))
48.0ms
(fma (- 1.0) 1.0 (exp (+ x x)))

simplify71.0ms

Algorithm
egg-herbie
Counts
146 → 146
Iterations

Useful iterations: 2 (52.0ms)

IterNodesCost
04902105
121572001
250011998

prune324.0ms

Filtered
146 candidates to 111 candidates (76.0%)
Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New1451146
Fresh112
Picked101
Done022
Total1474151

Merged error: 0.0b

Counts
151 → 4

regimes27.0ms

Accuracy

98.9% (0.2b remaining)

Error of 0.6b against oracle of 0.3b and baseline of 21.5b

bsearch49.0ms

Steps
ItersRangePoint
10
-0.05202343663643454
-5.738045557766166e-18
-0.0014783118370881984

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03521
13521

end0.0ms

sample1.1s

Algorithm
intervals
Results
403.0ms2202×body1280valid
345.0ms1663×body640valid
64.0ms828×body320valid
62.0ms2869×body80valid
51.0ms2510×body80overflowed
26.0ms439×body160valid