Details

Time bar (total: 2.7s)

sample38.0ms

Algorithm
intervals
Results
11.0ms65×body1280valid
9.0ms83×body10240exit
6.0ms57×body640valid
2.0ms26×body320valid
2.0ms94×body80valid
1.0ms14×body160valid

simplify5.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
074
184
284

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 40.0b

localize8.0ms

Local error

Found 2 expressions with local error:

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

rewrite16.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:
8.0ms
(/ (exp x) (- (exp x) 1.0))
5.0ms
(- (exp x) 1.0)

series41.0ms

Counts
2 → 6
Calls
2 calls:
26.0ms
(/ (exp x) (- (exp x) 1.0))
14.0ms
(- (exp x) 1.0)

simplify190.0ms

Algorithm
egg-herbie
Counts
73 → 73
Iterations

Useful iterations: 3 (182.0ms)

IterNodesCost
0237520
1786429
24651416
35001404

prune155.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.0b

localize5.0ms

Local error

Found 1 expressions with local error:

0.1b
(fma 1/12 x (/ 1 x))

rewrite1.0ms

Algorithm
rewrite-expression-head
Rules
pow1 add-exp-log add-sqr-sqrt expm1-log1p-u add-cube-cbrt *-un-lft-identity add-cbrt-cube fma-udef log1p-expm1-u add-log-exp
Counts
1 → 10
Calls
1 calls:
0.0ms
(fma 1/12 x (/ 1 x))

series48.0ms

Counts
1 → 3
Calls
1 calls:
48.0ms
(fma 1/12 x (/ 1 x))

simplify62.0ms

Algorithm
egg-herbie
Counts
13 → 13
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
02143
14938
215038
348238
4233838
5500238

prune25.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0.0b

localize6.0ms

Local error

Found 3 expressions with local error:

0.0b
(/ 1 (- 1 (/ 1.0 (exp x))))
0.0b
(/ 1.0 (exp x))
4.3b
(- 1 (/ 1.0 (exp x)))

rewrite42.0ms

Algorithm
rewrite-expression-head
Rules
99×add-sqr-sqrt
79×*-un-lft-identity
70×times-frac
59×add-cube-cbrt
39×prod-diff
20×difference-of-squares
11×associate-/r*
add-exp-log
add-cbrt-cube
associate-/l*
div-inv distribute-lft-out-- add-log-exp
pow1
expm1-log1p-u fma-neg div-exp log1p-expm1-u
cbrt-undiv flip3-- frac-2neg clear-num associate-/r/ flip--
sub-neg rec-exp pow-flip diff-log 1-exp inv-pow
Counts
3 → 145
Calls
3 calls:
17.0ms
(/ 1 (- 1 (/ 1.0 (exp x))))
3.0ms
(/ 1.0 (exp x))
16.0ms
(- 1 (/ 1.0 (exp x)))

series103.0ms

Counts
3 → 9
Calls
3 calls:
48.0ms
(/ 1 (- 1 (/ 1.0 (exp x))))
19.0ms
(/ 1.0 (exp x))
35.0ms
(- 1 (/ 1.0 (exp x)))

simplify62.0ms

Algorithm
egg-herbie
Counts
154 → 154
Iterations

Useful iterations: 2 (48.0ms)

IterNodesCost
05521839
122981281
250011188

prune183.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0.0b

localize12.0ms

Local error

Found 4 expressions with local error:

0.0b
(sqrt (fma 1/12 x (/ 1 x)))
0.1b
(fma 1/12 x (/ 1 x))
0.1b
(fma 1/12 x (/ 1 x))
0.1b
(* (sqrt (fma 1/12 x (/ 1 x))) (sqrt (fma 1/12 x (/ 1 x))))

rewrite11.0ms

Algorithm
rewrite-expression-head
Rules
26×add-sqr-sqrt
21×sqrt-prod
20×pow1
13×add-cube-cbrt *-un-lft-identity
sqrt-pow1 pow1/2
swap-sqr
add-exp-log associate-*r* associate-*l* add-cbrt-cube
pow-prod-up
expm1-log1p-u log1p-expm1-u add-log-exp unswap-sqr
pow-prod-down pow-sqr
fma-udef
pow2 rem-sqrt-square pow-plus sqrt-unprod prod-exp rem-square-sqrt *-commutative cbrt-unprod
Counts
4 → 86
Calls
4 calls:
1.0ms
(sqrt (fma 1/12 x (/ 1 x)))
0.0ms
(fma 1/12 x (/ 1 x))
0.0ms
(fma 1/12 x (/ 1 x))
7.0ms
(* (sqrt (fma 1/12 x (/ 1 x))) (sqrt (fma 1/12 x (/ 1 x))))

series174.0ms

Counts
4 → 12
Calls
4 calls:
38.0ms
(sqrt (fma 1/12 x (/ 1 x)))
42.0ms
(fma 1/12 x (/ 1 x))
50.0ms
(fma 1/12 x (/ 1 x))
44.0ms
(* (sqrt (fma 1/12 x (/ 1 x))) (sqrt (fma 1/12 x (/ 1 x))))

simplify180.0ms

Algorithm
egg-herbie
Counts
98 → 98
Iterations

Useful iterations: 2 (24.0ms)

IterNodesCost
0154418
1595364
23980345
35001345

prune165.0ms

Pruning

3 alts after pruning (0 fresh and 3 done)

Merged error: 0.0b

regimes34.0ms

Accuracy

96.6% (0.7b remaining)

Error of 0.7b against oracle of 0.0b and baseline of 21.5b

bsearch1.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0188
1188

end0.0ms

sample1.1s

Algorithm
intervals
Results
373.0ms2213×body1280valid
288.0ms2659×body10240exit
190.0ms1707×body640valid
59.0ms815×body320valid
55.0ms2857×body80valid
18.0ms410×body160valid