Details

Time bar (total: 4.4s)

sample56.0ms

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

simplify5.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0125
1195
2195

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

rewrite12.0ms

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

series135.0ms

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

simplify50.0ms

Algorithm
egg-herbie
Counts
54 → 54
Iterations

Useful iterations: 3 (46.0ms)

IterNodesCost
0207322
1584301
21729298
35001297

prune133.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0b

localize16.0ms

Local error

Found 4 expressions with local error:

0.0b
(pow (exp x) 3)
0.6b
(/ (+ (pow 1.0 3) (pow (exp x) 3)) (+ (* (exp x) (- (exp x) 1.0)) (* 1.0 1.0)))
1.0b
(log (/ (+ (pow 1.0 3) (pow (exp x) 3)) (+ (* (exp x) (- (exp x) 1.0)) (* 1.0 1.0))))
3.6b
(- (exp x) 1.0)

rewrite94.0ms

Algorithm
rewrite-expression-head
Rules
107×*-un-lft-identity
54×times-frac
37×add-sqr-sqrt
35×add-cube-cbrt distribute-lft-out
33×log-prod
31×unpow-prod-down cube-prod
add-exp-log associate-/l*
sum-cubes add-cbrt-cube
pow1 add-log-exp
pow-pow associate-/r/
pow-unpow exp-prod flip3-+ associate-/r* flip-+
div-exp rem-log-exp div-inv associate-/l/
cbrt-undiv cube-mult pow-to-exp sub-neg log-div flip3-- frac-2neg diff-log unpow3 pow-exp clear-num log-pow flip-- distribute-lft-out-- rem-cube-cbrt difference-of-squares sqr-pow
Counts
4 → 139
Calls
4 calls:
2.0ms
(pow (exp x) 3)
56.0ms
(/ (+ (pow 1.0 3) (pow (exp x) 3)) (+ (* (exp x) (- (exp x) 1.0)) (* 1.0 1.0)))
26.0ms
(log (/ (+ (pow 1.0 3) (pow (exp x) 3)) (+ (* (exp x) (- (exp x) 1.0)) (* 1.0 1.0))))
4.0ms
(- (exp x) 1.0)

series310.0ms

Counts
4 → 12
Calls
4 calls:
23.0ms
(pow (exp x) 3)
97.0ms
(/ (+ (pow 1.0 3) (pow (exp x) 3)) (+ (* (exp x) (- (exp x) 1.0)) (* 1.0 1.0)))
175.0ms
(log (/ (+ (pow 1.0 3) (pow (exp x) 3)) (+ (* (exp x) (- (exp x) 1.0)) (* 1.0 1.0))))
14.0ms
(- (exp x) 1.0)

simplify74.0ms

Algorithm
egg-herbie
Counts
151 → 151
Iterations

Useful iterations: 2 (55.0ms)

IterNodesCost
04992152
121142050
250032043

prune386.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0b

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

rewrite14.0ms

Algorithm
rewrite-expression-head
Rules
16×*-un-lft-identity
14×log-prod
pow1 add-sqr-sqrt add-cube-cbrt sqrt-prod add-log-exp
add-exp-log log-pow
log-div flip3-+ sqrt-div add-cbrt-cube flip-+ distribute-lft-out
+-commutative sqrt-pow1 pow1/2 rem-log-exp sum-log
Counts
4 → 64
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))))

series234.0ms

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

simplify41.0ms

Algorithm
egg-herbie
Counts
76 → 76
Iterations

Useful iterations: 3 (35.0ms)

IterNodesCost
0155476
1390434
21073422
35002414

prune223.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0b

localize17.0ms

Local error

Found 4 expressions with local error:

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

rewrite400.0ms

Algorithm
rewrite-expression-head
Rules
28×add-log-exp
10×diff-log sum-log
*-un-lft-identity
pow1 add-sqr-sqrt add-cube-cbrt associate--l+
add-exp-log add-cbrt-cube
sub-neg associate-+l+ log-prod flip3-+ flip-+
+-commutative flip3-- associate-*r/ frac-sub flip-- distribute-lft-out
associate--l- associate-+r+ log-pow
Counts
4 → 65
Calls
4 calls:
9.0ms
(+ (log 2.0) (+ (* 0.25 (pow x 2)) (* 0.5 x)))
3.0ms
(+ (* 0.25 (pow x 2)) (* 0.5 x))
312.0ms
(- (- (+ (log 2.0) (+ (* 0.25 (pow x 2)) (* 0.5 x))) (* 0.5 (/ (pow x 2) (pow 2.0 2)))) (* x y))
74.0ms
(- (+ (log 2.0) (+ (* 0.25 (pow x 2)) (* 0.5 x))) (* 0.5 (/ (pow x 2) (pow 2.0 2))))

series231.0ms

Counts
4 → 12
Calls
4 calls:
29.0ms
(+ (log 2.0) (+ (* 0.25 (pow x 2)) (* 0.5 x)))
73.0ms
(+ (* 0.25 (pow x 2)) (* 0.5 x))
72.0ms
(- (- (+ (log 2.0) (+ (* 0.25 (pow x 2)) (* 0.5 x))) (* 0.5 (/ (pow x 2) (pow 2.0 2)))) (* x y))
56.0ms
(- (+ (log 2.0) (+ (* 0.25 (pow x 2)) (* 0.5 x))) (* 0.5 (/ (pow x 2) (pow 2.0 2))))

simplify49.0ms

Algorithm
egg-herbie
Counts
77 → 77
Iterations

Useful iterations: 2 (39.0ms)

IterNodesCost
0373930
11516885
25002859

prune224.0ms

Pruning

3 alts after pruning (0 fresh and 3 done)

Merged error: 0b

regimes38.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
02014
12014

end0.0ms

sample1.6s

Algorithm
intervals
Results
948.0ms2344×body10240exit
309.0ms8425×body80valid
58.0ms220×body640valid
56.0ms113×body1280valid
31.0ms203×body320valid
8.0ms87×body160valid