Details

Time bar (total: 4.5s)

sample36.0ms

Algorithm
intervals
Results
15.0ms258×body80valid
4.0ms75×body80overflowed
3.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.0b

localize7.0ms

Local error

Found 2 expressions with local error:

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

rewrite10.0ms

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

series129.0ms

Counts
2 → 6
Calls
2 calls:
59.0ms
(- (log (+ 1.0 (exp x))) (* x y))
70.0ms
(log (+ 1.0 (exp x)))

simplify60.0ms

Algorithm
egg-herbie
Counts
51 → 51
Iterations

Useful iterations: 3 (50.0ms)

IterNodesCost
0206339
1587310
21945308
35001281

prune132.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0b

localize11.0ms

Local error

Found 3 expressions with local error:

0.0b
(- (expm1 (log1p (log (+ 1.0 (exp x))))) (* x y))
0.0b
(expm1 (log1p (log (+ 1.0 (exp x)))))
0.1b
(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-neg prod-diff add-cbrt-cube log1p-expm1-u
log-div expm1-udef
associate--l- sub-neg expm1-log1p flip3-- flip3-+ diff-log rem-log-exp log-pow flip-- flip-+ distribute-lft-out
Counts
3 → 49
Calls
3 calls:
2.0ms
(- (expm1 (log1p (log (+ 1.0 (exp x))))) (* x y))
0.0ms
(expm1 (log1p (log (+ 1.0 (exp x)))))
3.0ms
(log (+ 1.0 (exp x)))

series552.0ms

Counts
3 → 9
Calls
3 calls:
229.0ms
(- (expm1 (log1p (log (+ 1.0 (exp x))))) (* x y))
253.0ms
(expm1 (log1p (log (+ 1.0 (exp x)))))
69.0ms
(log (+ 1.0 (exp x)))

simplify84.0ms

Algorithm
egg-herbie
Counts
58 → 58
Iterations

Useful iterations: 3 (78.0ms)

IterNodesCost
0279432
1867374
23321366
35001354

prune157.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0b

localize11.0ms

Local error

Found 4 expressions with local error:

0.0b
(log1p (- (log (+ 1.0 (exp x))) (* x y)))
0.0b
(- (log (+ 1.0 (exp x))) (* x y))
0.1b
(log (+ 1.0 (exp x)))
1.1b
(expm1 (log1p (- (log (+ 1.0 (exp x))) (* x y))))

rewrite15.0ms

Algorithm
rewrite-expression-head
Rules
12×*-un-lft-identity
add-sqr-sqrt add-cube-cbrt log-prod
pow1
add-exp-log expm1-log1p-u add-log-exp
log-div fma-neg prod-diff associate--l+ add-cbrt-cube log1p-expm1-u
log-pow
associate--l- flip3-+ flip-+ distribute-lft-out
sub-neg log1p-udef expm1-log1p flip3-- diff-log log1p-expm1 rem-log-exp flip-- expm1-udef
Counts
4 → 67
Calls
4 calls:
0.0ms
(log1p (- (log (+ 1.0 (exp x))) (* x y)))
10.0ms
(- (log (+ 1.0 (exp x))) (* x y))
3.0ms
(log (+ 1.0 (exp x)))
0.0ms
(expm1 (log1p (- (log (+ 1.0 (exp x))) (* x y))))

series787.0ms

Counts
4 → 12
Calls
4 calls:
224.0ms
(log1p (- (log (+ 1.0 (exp x))) (* x y)))
64.0ms
(- (log (+ 1.0 (exp x))) (* x y))
69.0ms
(log (+ 1.0 (exp x)))
431.0ms
(expm1 (log1p (- (log (+ 1.0 (exp x))) (* x y))))

simplify43.0ms

Algorithm
egg-herbie
Counts
79 → 79
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
0462699
11611634
25001629

prune238.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0b

localize21.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (* x y) (* x y))
0.5b
(fma (log (+ 1.0 (exp x))) (fma x y (log (+ 1.0 (exp x)))) (* (* x y) (* x y)))
0.8b
(pow (log (+ 1.0 (exp x))) 3)
15.1b
(/ (+ (- (pow (* x y) 3)) (pow (log (+ 1.0 (exp x))) 3)) (fma (log (+ 1.0 (exp x))) (fma x y (log (+ 1.0 (exp x)))) (* (* x y) (* x y))))

rewrite83.0ms

Algorithm
rewrite-expression-head
Rules
46×pow1
33×*-un-lft-identity
19×add-exp-log add-cbrt-cube
17×add-sqr-sqrt add-cube-cbrt pow-prod-down
15×times-frac
prod-exp cbrt-unprod distribute-lft-out
associate-/l*
expm1-log1p-u unpow-prod-down distribute-rgt-neg-in cube-prod pow-sqr pow-prod-up log1p-expm1-u add-log-exp
pow-unpow associate-/r*
pow-plus log-pow associate-/l/
cbrt-undiv pow2 neg-sub0 cube-mult pow-to-exp associate-+l- pow-pow frac-2neg flip3-+ unpow3 div-sub swap-sqr div-exp associate-*r* associate-*l* pow-exp clear-num *-commutative flip-+ fma-udef div-inv rem-cube-cbrt sqr-pow
Counts
4 → 113
Calls
4 calls:
9.0ms
(* (* x y) (* x y))
0.0ms
(fma (log (+ 1.0 (exp x))) (fma x y (log (+ 1.0 (exp x)))) (* (* x y) (* x y)))
2.0ms
(pow (log (+ 1.0 (exp x))) 3)
68.0ms
(/ (+ (- (pow (* x y) 3)) (pow (log (+ 1.0 (exp x))) 3)) (fma (log (+ 1.0 (exp x))) (fma x y (log (+ 1.0 (exp x)))) (* (* x y) (* x y))))

series559.0ms

Counts
4 → 12
Calls
4 calls:
39.0ms
(* (* x y) (* x y))
137.0ms
(fma (log (+ 1.0 (exp x))) (fma x y (log (+ 1.0 (exp x)))) (* (* x y) (* x y)))
125.0ms
(pow (log (+ 1.0 (exp x))) 3)
258.0ms
(/ (+ (- (pow (* x y) 3)) (pow (log (+ 1.0 (exp x))) 3)) (fma (log (+ 1.0 (exp x))) (fma x y (log (+ 1.0 (exp x)))) (* (* x y) (* x y))))

simplify77.0ms

Algorithm
egg-herbie
Counts
125 → 125
Iterations

Useful iterations: 2 (62.0ms)

IterNodesCost
04581702
121921556
250021527

prune355.0ms

Pruning

3 alts after pruning (0 fresh and 3 done)

Merged error: 0b

regimes64.0ms

Accuracy

0% (0.0b remaining)

Error of 0.7b against oracle of 0.7b and baseline of 0.7b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0127
1127

end0.0ms

sample1.0s

Algorithm
intervals
Results
496.0ms8437×body80valid
127.0ms2408×body80overflowed
80.0ms242×body640valid
75.0ms126×body1280valid
44.0ms204×body320valid
15.0ms116×body160valid