Details

Time bar (total: 4.8s)

sample55.0ms

Algorithm
intervals
Results
28.0ms70×body10240exit
10.0ms265×body80valid
3.0ms11×body640valid
2.0msbody1280valid
1.0msbody320valid
0.0msbody160valid

simplify7.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0125
1195
2235
3235

prune3.0ms

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.8b

localize11.0ms

Local error

Found 3 expressions with local error:

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

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

series131.0ms

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

simplify62.0ms

Algorithm
egg-herbie
Counts
71 → 71
Iterations

Useful iterations: 3 (56.0ms)

IterNodesCost
0236404
1702369
22284367
35002340

prune177.0ms

Filtered
71 candidates to 54 candidates (76.1%)
Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0b

localize11.0ms

Local error

Found 4 expressions with local error:

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

rewrite8.0ms

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

series448.0ms

Counts
4 → 12
Calls
4 calls:
150.0ms
(log1p (log (+ 1.0 (exp x))))
11.0ms
(+ 1.0 (exp x))
224.0ms
(expm1 (log1p (log (+ 1.0 (exp x)))))
62.0ms
(log (+ 1.0 (exp x)))

simplify79.0ms

Algorithm
egg-herbie
Counts
68 → 68
Iterations

Useful iterations: 3 (74.0ms)

IterNodesCost
0251370
1777332
22932322
35001321

prune190.0ms

Filtered
68 candidates to 49 candidates (72.1%)
Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0b

localize10.0ms

Local error

Found 4 expressions with local error:

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

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

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

simplify46.0ms

Algorithm
egg-herbie
Counts
90 → 90
Iterations

Useful iterations: 3 (39.0ms)

IterNodesCost
0165504
1423460
21201448
35002438

prune276.0ms

Filtered
90 candidates to 68 candidates (75.6%)
Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0b

localize15.0ms

Local error

Found 3 expressions with local error:

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

rewrite67.0ms

Algorithm
rewrite-expression-head
Rules
172×associate-+r+
171×prod-diff
152×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
144×times-frac
86×distribute-rgt-in distribute-lft-in
54×unpow-prod-down
18×unpow2 sqr-pow
10×add-log-exp
div-inv
pow1 add-exp-log expm1-log1p-u sub-neg fma-def fma-neg add-cbrt-cube log1p-expm1-u
diff-log sum-log fma-udef
+-commutative associate-+l+ flip3-- flip3-+ associate--l+ flip-- flip-+
Counts
3 → 221
Calls
3 calls:
0.0ms
(fma x 0.5 (log 2.0))
33.0ms
(+ (fma x 0.5 (log 2.0)) (* (pow x 2) (- 0.25 (/ 1/2 (pow 2.0 2)))))
15.0ms
(- (+ (fma x 0.5 (log 2.0)) (* (pow x 2) (- 0.25 (/ 1/2 (pow 2.0 2))))) (* x y))

series308.0ms

Counts
3 → 9
Calls
3 calls:
175.0ms
(fma x 0.5 (log 2.0))
56.0ms
(+ (fma x 0.5 (log 2.0)) (* (pow x 2) (- 0.25 (/ 1/2 (pow 2.0 2)))))
77.0ms
(- (+ (fma x 0.5 (log 2.0)) (* (pow x 2) (- 0.25 (/ 1/2 (pow 2.0 2))))) (* x y))

simplify95.0ms

Algorithm
egg-herbie
Counts
230 → 230
Iterations

Useful iterations: 2 (66.0ms)

IterNodesCost
012763322
145582635
250012632

prune872.0ms

Filtered
230 candidates to 161 candidates (70.0%)
Pruning

3 alts after pruning (0 fresh and 3 done)

Merged error: 0b

regimes36.0ms

Accuracy

0% (0.3b 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
926.0ms2344×body10240exit
314.0ms8425×body80valid
58.0ms220×body640valid
56.0ms113×body1280valid
32.0ms203×body320valid
8.0ms87×body160valid