Details

Time bar (total: 2.7s)

sample40.0ms

Algorithm
intervals
Results
12.0ms70×body1280valid
9.0ms87×body10240exit
6.0ms55×body640valid
2.0ms26×body320valid
2.0ms93×body80valid
1.0ms12×body160valid

simplify6.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
074
184
284

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 40.5b

localize5.0ms

Local error

Found 2 expressions with local error:

0.0b
(/ (exp x) (- (exp x) 1.0))
3.8b
(- (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)

series46.0ms

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

simplify190.0ms

Algorithm
egg-herbie
Counts
73 → 73
Iterations

Useful iterations: 3 (183.0ms)

IterNodesCost
0237520
1786429
24651416
35001404

prune153.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0.0b

localize6.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))

series51.0ms

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

simplify64.0ms

Algorithm
egg-herbie
Counts
13 → 13
Iterations

Useful iterations: 1 (4.0ms)

IterNodesCost
02143
14938
215038
348238
4233838
5500238

prune25.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0.0b

localize7.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ (exp x) (fma (sqrt (exp x)) (sqrt (exp x)) (- 1.0)))
0.0b
(sqrt (exp x))
0.0b
(sqrt (exp x))
3.8b
(fma (sqrt (exp x)) (sqrt (exp x)) (- 1.0))

rewrite8.0ms

Algorithm
rewrite-expression-head
Rules
18×add-sqr-sqrt
16×add-cube-cbrt *-un-lft-identity
times-frac
sqrt-pow1
pow1 exp-prod sqrt-prod add-cbrt-cube
add-exp-log
expm1-log1p-u log1p-expm1-u add-log-exp
associate-/r* associate-/l*
rem-sqrt-square pow1/2
cbrt-undiv frac-2neg div-exp clear-num fma-udef div-inv
Counts
4 → 75
Calls
4 calls:
3.0ms
(/ (exp x) (fma (sqrt (exp x)) (sqrt (exp x)) (- 1.0)))
1.0ms
(sqrt (exp x))
2.0ms
(sqrt (exp x))
0.0ms
(fma (sqrt (exp x)) (sqrt (exp x)) (- 1.0))

series143.0ms

Counts
4 → 12
Calls
4 calls:
66.0ms
(/ (exp x) (fma (sqrt (exp x)) (sqrt (exp x)) (- 1.0)))
12.0ms
(sqrt (exp x))
12.0ms
(sqrt (exp x))
53.0ms
(fma (sqrt (exp x)) (sqrt (exp x)) (- 1.0))

simplify92.0ms

Algorithm
egg-herbie
Counts
87 → 87
Iterations

Useful iterations: 3 (85.0ms)

IterNodesCost
0167613
1517520
22463509
35001503

prune204.0ms

Pruning

2 alts after pruning (1 fresh and 1 done)

Merged error: 0.0b

localize9.0ms

Local error

Found 4 expressions with local error:

0.0b
(sqrt (exp x))
0.0b
(sqrt (exp x))
0.0b
(* (sqrt (sqrt (exp x))) (sqrt (sqrt (exp x))))
3.8b
(fma (* (sqrt (sqrt (exp x))) (sqrt (sqrt (exp x)))) (sqrt (exp x)) (- 1.0))

rewrite32.0ms

Algorithm
rewrite-expression-head
Rules
76×sqrt-pow1
72×sqrt-prod
58×add-sqr-sqrt
29×pow1
26×add-cube-cbrt *-un-lft-identity
24×exp-prod
18×pow1/2
15×swap-sqr
12×pow-prod-up
associate-*r* associate-*l* unswap-sqr
pow-prod-down pow-sqr
add-exp-log add-cbrt-cube
expm1-log1p-u log1p-expm1-u add-log-exp
rem-sqrt-square
pow2 pow-plus sqrt-unprod prod-exp rem-square-sqrt *-commutative cbrt-unprod fma-udef
Counts
4 → 132
Calls
4 calls:
1.0ms
(sqrt (exp x))
1.0ms
(sqrt (exp x))
23.0ms
(* (sqrt (sqrt (exp x))) (sqrt (sqrt (exp x))))
0.0ms
(fma (* (sqrt (sqrt (exp x))) (sqrt (sqrt (exp x)))) (sqrt (exp x)) (- 1.0))

series91.0ms

Counts
4 → 12
Calls
4 calls:
12.0ms
(sqrt (exp x))
12.0ms
(sqrt (exp x))
18.0ms
(* (sqrt (sqrt (exp x))) (sqrt (sqrt (exp x))))
49.0ms
(fma (* (sqrt (sqrt (exp x))) (sqrt (sqrt (exp x)))) (sqrt (exp x)) (- 1.0))

simplify46.0ms

Algorithm
egg-herbie
Counts
144 → 144
Iterations

Useful iterations: 2 (36.0ms)

IterNodesCost
0230638
1894556
25001537

prune278.0ms

Pruning

2 alts after pruning (0 fresh and 2 done)

Merged error: 0.0b

regimes30.0ms

Accuracy

98.3% (0.4b remaining)

Error of 0.8b against oracle of 0.4b and baseline of 21.8b

bsearch1.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02117
12117

end0.0ms

sample1.1s

Algorithm
intervals
Results
381.0ms2201×body1280valid
272.0ms2461×body10240exit
193.0ms1644×body640valid
60.0ms839×body320valid
58.0ms2910×body80valid
19.0ms407×body160valid