Details

Time bar (total: 4.8s)

sample59.0ms

Algorithm
intervals
Results
32.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 (2.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)))

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

series127.0ms

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

simplify46.0ms

Algorithm
egg-herbie
Counts
54 → 54
Iterations

Useful iterations: 3 (41.0ms)

IterNodesCost
0207322
1584301
21729298
35001297

prune127.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0b

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

rewrite59.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:
3.0ms
(pow (exp x) 3)
24.0ms
(/ (+ (pow 1.0 3) (pow (exp x) 3)) (+ (* (exp x) (- (exp x) 1.0)) (* 1.0 1.0)))
20.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)

series314.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)))
177.0ms
(log (/ (+ (pow 1.0 3) (pow (exp x) 3)) (+ (* (exp x) (- (exp x) 1.0)) (* 1.0 1.0))))
16.0ms
(- (exp x) 1.0)

simplify79.0ms

Algorithm
egg-herbie
Counts
151 → 151
Iterations

Useful iterations: 2 (55.0ms)

IterNodesCost
04992152
121142050
250032043

prune375.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0b

localize19.0ms

Local error

Found 4 expressions with local error:

1.7b
(log (/ (sqrt (+ (pow 1.0 3) (pow (exp x) 3))) (sqrt (+ (* (exp x) (- (exp x) 1.0)) (* 1.0 1.0)))))
1.7b
(log (/ (sqrt (+ (pow 1.0 3) (pow (exp x) 3))) (sqrt (+ (* (exp x) (- (exp x) 1.0)) (* 1.0 1.0)))))
3.6b
(- (exp x) 1.0)
3.6b
(- (exp x) 1.0)

rewrite75.0ms

Algorithm
rewrite-expression-head
Rules
202×*-un-lft-identity
180×sqrt-prod
156×log-prod
144×times-frac
82×add-sqr-sqrt
78×add-cube-cbrt
60×distribute-lft-out
48×unpow-prod-down cube-prod
12×sum-cubes
10×add-exp-log
add-log-exp
pow1
sqrt-div rem-log-exp associate-/r/ add-cbrt-cube
sub-neg log-div flip3-- flip3-+ diff-log div-exp log-pow flip-- flip-+ div-inv distribute-lft-out-- difference-of-squares
Counts
4 → 206
Calls
4 calls:
29.0ms
(log (/ (sqrt (+ (pow 1.0 3) (pow (exp x) 3))) (sqrt (+ (* (exp x) (- (exp x) 1.0)) (* 1.0 1.0)))))
25.0ms
(log (/ (sqrt (+ (pow 1.0 3) (pow (exp x) 3))) (sqrt (+ (* (exp x) (- (exp x) 1.0)) (* 1.0 1.0)))))
4.0ms
(- (exp x) 1.0)
4.0ms
(- (exp x) 1.0)

series479.0ms

Counts
4 → 12
Calls
4 calls:
222.0ms
(log (/ (sqrt (+ (pow 1.0 3) (pow (exp x) 3))) (sqrt (+ (* (exp x) (- (exp x) 1.0)) (* 1.0 1.0)))))
229.0ms
(log (/ (sqrt (+ (pow 1.0 3) (pow (exp x) 3))) (sqrt (+ (* (exp x) (- (exp x) 1.0)) (* 1.0 1.0)))))
14.0ms
(- (exp x) 1.0)
14.0ms
(- (exp x) 1.0)

simplify154.0ms

Algorithm
egg-herbie
Counts
218 → 218
Iterations

Useful iterations: 3 (112.0ms)

IterNodesCost
04645110
114014858
246924422
350014414

prune570.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0b

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

rewrite38.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:
6.0ms
(+ (log 2.0) (+ (* 0.25 (pow x 2)) (* 0.5 x)))
5.0ms
(+ (* 0.25 (pow x 2)) (* 0.5 x))
11.0ms
(- (- (+ (log 2.0) (+ (* 0.25 (pow x 2)) (* 0.5 x))) (* 0.5 (/ (pow x 2) (pow 2.0 2)))) (* x y))
14.0ms
(- (+ (log 2.0) (+ (* 0.25 (pow x 2)) (* 0.5 x))) (* 0.5 (/ (pow x 2) (pow 2.0 2))))

series227.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))
52.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

prune220.0ms

Pruning

3 alts after pruning (0 fresh and 3 done)

Merged error: 0b

regimes40.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
946.0ms2344×body10240exit
315.0ms8425×body80valid
58.0ms220×body640valid
56.0ms113×body1280valid
35.0ms203×body320valid
8.0ms87×body160valid