Details

Time bar (total: 3.0s)

sample44.0ms

Algorithm
intervals
Results
22.0ms267×body80valid
6.0ms82×body80overflowed
4.0ms11×body640valid
1.0msbody320valid
1.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 3 expressions with local error:

0.0b
(- (log (+ 1.0 (exp x))) (* x y))
0.0b
(+ 1.0 (exp x))
0.8b
(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)))

series140.0ms

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

simplify60.0ms

Algorithm
egg-herbie
Counts
71 → 71
Iterations

Useful iterations: 3 (55.0ms)

IterNodesCost
0236404
1702369
22284367
35002340

prune168.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0.4b

localize10.0ms

Local error

Found 4 expressions with local error:

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

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

series234.0ms

Counts
4 → 12
Calls
4 calls:
8.0ms
(+ 1.0 (exp x))
8.0ms
(+ 1.0 (exp x))
108.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

prune275.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0.4b

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

series160.0ms

Counts
3 → 9
Calls
3 calls:
18.0ms
(fma 1/2 (pow x 2) (+ x 2.0))
83.0ms
(- (log (fma 1/2 (pow x 2) (+ x 2.0))) (* x y))
59.0ms
(log (fma 1/2 (pow x 2) (+ x 2.0)))

simplify87.0ms

Algorithm
egg-herbie
Counts
58 → 58
Iterations

Useful iterations: 3 (81.0ms)

IterNodesCost
0229423
1763380
23267376
35001356

prune164.0ms

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0.4b

localize7.0ms

Local error

Found 1 expressions with local error:

0.0b
(fma x (+ (* 0.125 x) 0.5) (log 2.0))

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 x (+ (* 0.125 x) 0.5) (log 2.0))

series36.0ms

Counts
1 → 3
Calls
1 calls:
35.0ms
(fma x (+ (* 0.125 x) 0.5) (log 2.0))

simplify63.0ms

Algorithm
egg-herbie
Counts
13 → 13
Iterations

Useful iterations: 2 (6.0ms)

IterNodesCost
04577
19461
237060
3191160
4500160

prune34.0ms

Pruning

4 alts after pruning (1 fresh and 3 done)

Merged error: 0.4b

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.3s

Algorithm
intervals
Results
701.0ms8416×body80valid
173.0ms2382×body80overflowed
103.0ms250×body640valid
68.0ms98×body1280valid
50.0ms188×body320valid
20.0ms114×body160valid