Details

Time bar (total: 3.9s)

sample62.0ms

Algorithm
intervals
Results
31.0ms76×body10240exit
12.0ms255×body80valid
4.0msbody1280valid
3.0ms12×body640valid
1.0msbody320valid
0.0msbody160valid

simplify8.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0125
1195
2235
3235

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.8b

localize8.0ms

Local error

Found 2 expressions with local error:

0.0b
(+ 1.0 (exp x))
0.8b
(log (+ 1.0 (exp x)))

rewrite8.0ms

Algorithm
rewrite-expression-head
Rules
*-un-lft-identity
add-sqr-sqrt add-cube-cbrt log-prod add-log-exp
pow1 add-exp-log fma-def
expm1-log1p-u log-div flip3-+ add-cbrt-cube flip-+ log1p-expm1-u distribute-lft-out
+-commutative rem-log-exp sum-log log-pow
Counts
2 → 34
Calls
2 calls:
4.0ms
(+ 1.0 (exp x))
4.0ms
(log (+ 1.0 (exp x)))

series77.0ms

Counts
2 → 6
Calls
2 calls:
8.0ms
(+ 1.0 (exp x))
68.0ms
(log (+ 1.0 (exp x)))

simplify106.0ms

Algorithm
egg-herbie
Counts
40 → 40
Iterations

Useful iterations: 4 (102.0ms)

IterNodesCost
0137181
1364163
21024163
33614161
45001159

prune101.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0.2b

localize10.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ 1.0 (exp x))
0.0b
(+ 1.0 (exp x))
1.5b
(log (sqrt (+ 1.0 (exp x))))
1.5b
(log (sqrt (+ 1.0 (exp x))))

rewrite19.0ms

Algorithm
rewrite-expression-head
Rules
18×*-un-lft-identity
14×log-prod
10×add-sqr-sqrt add-cube-cbrt
pow1 sqrt-prod add-log-exp
add-exp-log fma-def log-pow
expm1-log1p-u log-div flip3-+ sqrt-div add-cbrt-cube flip-+ log1p-expm1-u distribute-lft-out
+-commutative sqrt-pow1 pow1/2 rem-log-exp sum-log
Counts
4 → 78
Calls
4 calls:
4.0ms
(+ 1.0 (exp x))
4.0ms
(+ 1.0 (exp x))
4.0ms
(log (sqrt (+ 1.0 (exp x))))
5.0ms
(log (sqrt (+ 1.0 (exp x))))

series244.0ms

Counts
4 → 12
Calls
4 calls:
8.0ms
(+ 1.0 (exp x))
15.0ms
(+ 1.0 (exp x))
110.0ms
(log (sqrt (+ 1.0 (exp x))))
110.0ms
(log (sqrt (+ 1.0 (exp x))))

simplify45.0ms

Algorithm
egg-herbie
Counts
90 → 90
Iterations

Useful iterations: 3 (39.0ms)

IterNodesCost
0165504
1423460
21201448
35002438

prune254.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0.2b

localize10.0ms

Local error

Found 2 expressions with local error:

0.0b
(- (log (fma x (fma 1/2 x 1) 2.0)) (* x y))
8.3b
(log (fma x (fma 1/2 x 1) 2.0))

rewrite10.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt add-cube-cbrt log-prod *-un-lft-identity
pow1
fma-neg prod-diff
add-exp-log associate--l+ log-pow add-log-exp
expm1-log1p-u add-cbrt-cube log1p-expm1-u
sub-neg flip3-- diff-log rem-log-exp flip--
Counts
2 → 39
Calls
2 calls:
8.0ms
(- (log (fma x (fma 1/2 x 1) 2.0)) (* x y))
2.0ms
(log (fma x (fma 1/2 x 1) 2.0))

series145.0ms

Counts
2 → 6
Calls
2 calls:
87.0ms
(- (log (fma x (fma 1/2 x 1) 2.0)) (* x y))
58.0ms
(log (fma x (fma 1/2 x 1) 2.0))

simplify77.0ms

Algorithm
egg-herbie
Counts
45 → 45
Iterations

Useful iterations: 3 (72.0ms)

IterNodesCost
0221317
1704285
22781282
35001264

prune125.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0.2b

localize14.0ms

Local error

Found 4 expressions with local error:

1.2b
(cbrt (log (fma x (fma 1/2 x 1) 2.0)))
8.3b
(log (fma x (fma 1/2 x 1) 2.0))
8.3b
(log (fma x (fma 1/2 x 1) 2.0))
8.3b
(log (fma x (fma 1/2 x 1) 2.0))

rewrite7.0ms

Algorithm
rewrite-expression-head
Rules
log-prod
pow1 add-sqr-sqrt add-cube-cbrt *-un-lft-identity
add-exp-log
cbrt-prod expm1-log1p-u log-pow add-cbrt-cube log1p-expm1-u add-log-exp
rem-log-exp
pow1/3
Counts
4 → 56
Calls
4 calls:
1.0ms
(cbrt (log (fma x (fma 1/2 x 1) 2.0)))
1.0ms
(log (fma x (fma 1/2 x 1) 2.0))
1.0ms
(log (fma x (fma 1/2 x 1) 2.0))
2.0ms
(log (fma x (fma 1/2 x 1) 2.0))

series380.0ms

Counts
4 → 12
Calls
4 calls:
194.0ms
(cbrt (log (fma x (fma 1/2 x 1) 2.0)))
64.0ms
(log (fma x (fma 1/2 x 1) 2.0))
63.0ms
(log (fma x (fma 1/2 x 1) 2.0))
58.0ms
(log (fma x (fma 1/2 x 1) 2.0))

simplify151.0ms

Algorithm
egg-herbie
Counts
68 → 68
Iterations

Useful iterations: 3 (143.0ms)

IterNodesCost
0309537
11084480
24938452
35001449

prune273.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0.2b

regimes63.0ms

Accuracy

0% (0.3b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0105
1105

end0.0ms

sample1.7s

Algorithm
intervals
Results
1.0s2445×body10240exit
323.0ms8428×body80valid
71.0ms254×body640valid
67.0ms134×body1280valid
25.0ms160×body320valid
10.0ms110×body160valid