Details

Time bar (total: 3.9s)

sample48.0ms

Algorithm
intervals
Results
23.0ms57×body10240exit
10.0ms277×body80valid
2.0msbody1280valid
2.0msbody640valid
1.0msbody320valid
0.0msbody160valid

simplify6.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0125
1195
2235
3235

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.3b

localize8.0ms

Local error

Found 3 expressions with local error:

0.0b
(- (log (+ 1.0 (exp x))) (* x y))
0.0b
(+ 1.0 (exp x))
0.3b
(log (+ 1.0 (exp x)))

rewrite13.0ms

Algorithm
rewrite-expression-head
Rules
14×*-un-lft-identity
add-sqr-sqrt add-cube-cbrt log-prod
pow1 add-log-exp
add-exp-log log-div fma-neg prod-diff associate--l+
expm1-log1p-u fma-def flip3-+ log-pow add-cbrt-cube flip-+ log1p-expm1-u distribute-lft-out
associate--l-
+-commutative sub-neg flip3-- diff-log rem-log-exp sum-log flip--
Counts
3 → 62
Calls
3 calls:
6.0ms
(- (log (+ 1.0 (exp x))) (* x y))
3.0ms
(+ 1.0 (exp x))
3.0ms
(log (+ 1.0 (exp x)))

series132.0ms

Counts
3 → 9
Calls
3 calls:
61.0ms
(- (log (+ 1.0 (exp x))) (* x y))
8.0ms
(+ 1.0 (exp x))
63.0ms
(log (+ 1.0 (exp x)))

simplify61.0ms

Algorithm
egg-herbie
Counts
71 → 71
Iterations

Useful iterations: 3 (55.0ms)

IterNodesCost
0236404
1702369
22284367
35002340

prune166.0ms

Pruning

3 alts after pruning (3 fresh and 0 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.0b
(log (sqrt (+ 1.0 (exp x))))
1.0b
(log (sqrt (+ 1.0 (exp x))))

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

series222.0ms

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

simplify42.0ms

Algorithm
egg-herbie
Counts
90 → 90
Iterations

Useful iterations: 3 (36.0ms)

IterNodesCost
0165504
1423460
21201448
35002438

prune259.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0.2b

localize10.0ms

Local error

Found 3 expressions with local error:

0.0b
(fma 1/2 (pow x 2) (+ x 2.0))
0.0b
(- (log (fma 1/2 (pow x 2) (+ x 2.0))) (* x y))
7.1b
(log (fma 1/2 (pow x 2) (+ x 2.0)))

rewrite6.0ms

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

series148.0ms

Counts
3 → 9
Calls
3 calls:
17.0ms
(fma 1/2 (pow x 2) (+ x 2.0))
77.0ms
(- (log (fma 1/2 (pow x 2) (+ x 2.0))) (* x y))
53.0ms
(log (fma 1/2 (pow x 2) (+ x 2.0)))

simplify89.0ms

Algorithm
egg-herbie
Counts
58 → 58
Iterations

Useful iterations: 3 (83.0ms)

IterNodesCost
0229423
1763380
23267376
35001356

prune158.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0.2b

localize15.0ms

Local error

Found 4 expressions with local error:

1.3b
(cbrt (log (fma 1/2 (pow x 2) (+ x 2.0))))
7.1b
(log (fma 1/2 (pow x 2) (+ x 2.0)))
7.1b
(log (fma 1/2 (pow x 2) (+ x 2.0)))
7.1b
(log (fma 1/2 (pow x 2) (+ x 2.0)))

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

series335.0ms

Counts
4 → 12
Calls
4 calls:
175.0ms
(cbrt (log (fma 1/2 (pow x 2) (+ x 2.0))))
49.0ms
(log (fma 1/2 (pow x 2) (+ x 2.0)))
56.0ms
(log (fma 1/2 (pow x 2) (+ x 2.0)))
54.0ms
(log (fma 1/2 (pow x 2) (+ x 2.0)))

simplify142.0ms

Algorithm
egg-herbie
Counts
68 → 68
Iterations

Useful iterations: 3 (134.0ms)

IterNodesCost
0307613
11079545
24907517
35001514

prune251.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0.2b

regimes39.0ms

Accuracy

0% (0.8b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01211
11211

end0.0ms

sample1.7s

Algorithm
intervals
Results
991.0ms2455×body10240exit
307.0ms8483×body80valid
59.0ms225×body640valid
57.0ms116×body1280valid
28.0ms181×body320valid
9.0ms99×body160valid