Details

Time bar (total: 3.9s)

sample57.0ms

Algorithm
intervals
Results
30.0ms75×body10240exit
10.0ms272×body80valid
2.0msbody640valid
2.0msbody1280valid
1.0msbody320valid
0.0msbody160valid

simplify7.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0125
1195
2235
3235

prune2.0ms

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 1.0b

localize7.0ms

Local error

Found 2 expressions with local error:

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

rewrite6.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:
3.0ms
(+ 1.0 (exp x))
3.0ms
(log (+ 1.0 (exp x)))

series74.0ms

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

simplify101.0ms

Algorithm
egg-herbie
Counts
40 → 40
Iterations

Useful iterations: 4 (97.0ms)

IterNodesCost
0137181
1364163
21024163
33614161
45001159

prune100.0ms

Filtered
40 candidates to 31 candidates (77.5%)
Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.9b

localize10.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ 1.0 (exp x))
0.0b
(expm1 (log1p (log (+ 1.0 (exp x)))))
1.0b
(log (+ 1.0 (exp x)))

rewrite7.0ms

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

series302.0ms

Counts
3 → 9
Calls
3 calls:
8.0ms
(+ 1.0 (exp x))
231.0ms
(expm1 (log1p (log (+ 1.0 (exp x)))))
63.0ms
(log (+ 1.0 (exp x)))

simplify62.0ms

Algorithm
egg-herbie
Counts
54 → 54
Iterations

Useful iterations: 2 (16.0ms)

IterNodesCost
0205271
1631245
22368240
35002240

prune147.0ms

Filtered
54 candidates to 40 candidates (74.1%)
Pruning

2 alts after pruning (1 fresh and 1 done)

Merged error: 0.9b

localize15.0ms

Local error

Found 4 expressions with local error:

0.0b
(fma 1/2 (pow x 2) (+ x 2.0))
0.0b
(log1p (log (fma 1/2 (pow x 2) (+ x 2.0))))
0.4b
(expm1 (log1p (log (fma 1/2 (pow x 2) (+ x 2.0)))))
6.6b
(log (fma 1/2 (pow x 2) (+ x 2.0)))

rewrite2.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 log1p-expm1-u add-log-exp
log-prod
log1p-udef expm1-log1p log1p-expm1 rem-log-exp log-pow fma-udef expm1-udef
Counts
4 → 46
Calls
4 calls:
0.0ms
(fma 1/2 (pow x 2) (+ x 2.0))
0.0ms
(log1p (log (fma 1/2 (pow x 2) (+ x 2.0))))
0.0ms
(expm1 (log1p (log (fma 1/2 (pow x 2) (+ x 2.0)))))
1.0ms
(log (fma 1/2 (pow x 2) (+ x 2.0)))

series383.0ms

Counts
4 → 12
Calls
4 calls:
17.0ms
(fma 1/2 (pow x 2) (+ x 2.0))
127.0ms
(log1p (log (fma 1/2 (pow x 2) (+ x 2.0))))
187.0ms
(expm1 (log1p (log (fma 1/2 (pow x 2) (+ x 2.0)))))
51.0ms
(log (fma 1/2 (pow x 2) (+ x 2.0)))

simplify36.0ms

Algorithm
egg-herbie
Counts
58 → 58
Iterations

Useful iterations: 2 (30.0ms)

IterNodesCost
0313486
11232431
25001409

prune209.0ms

Filtered
58 candidates to 48 candidates (82.8%)
Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0.9b

localize19.0ms

Local error

Found 4 expressions with local error:

0.4b
(expm1 (* (* (cbrt (log1p (log (fma 1/2 (pow x 2) (+ x 2.0))))) (cbrt (log1p (log (fma 1/2 (pow x 2) (+ x 2.0)))))) (cbrt (log1p (log (fma 1/2 (pow x 2) (+ x 2.0)))))))
6.6b
(log (fma 1/2 (pow x 2) (+ x 2.0)))
6.6b
(log (fma 1/2 (pow x 2) (+ x 2.0)))
6.6b
(log (fma 1/2 (pow x 2) (+ x 2.0)))

rewrite3.0ms

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

series349.0ms

Counts
4 → 12
Calls
4 calls:
185.0ms
(expm1 (* (* (cbrt (log1p (log (fma 1/2 (pow x 2) (+ x 2.0))))) (cbrt (log1p (log (fma 1/2 (pow x 2) (+ x 2.0)))))) (cbrt (log1p (log (fma 1/2 (pow x 2) (+ x 2.0)))))))
51.0ms
(log (fma 1/2 (pow x 2) (+ x 2.0)))
57.0ms
(log (fma 1/2 (pow x 2) (+ x 2.0)))
56.0ms
(log (fma 1/2 (pow x 2) (+ x 2.0)))

simplify81.0ms

Algorithm
egg-herbie
Counts
65 → 65
Iterations

Useful iterations: 3 (74.0ms)

IterNodesCost
0178718
1597603
22622590
35002418

prune284.0ms

Filtered
65 candidates to 54 candidates (83.1%)
Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0.9b

regimes51.0ms

Accuracy

0% (0.2b remaining)

Error of 0.5b against oracle of 0.2b and baseline of 0.5b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0127
1127

end0.0ms

sample1.6s

Algorithm
intervals
Results
941.0ms2372×body10240exit
307.0ms8418×body80valid
74.0ms275×body640valid
48.0ms99×body1280valid
29.0ms190×body320valid
10.0ms106×body160valid