Details

Time bar (total: 4.3s)

sample69.0ms

Algorithm
intervals
Results
42.0ms105×body10240exit
10.0ms275×body80valid
2.0msbody1280valid
2.0msbody640valid
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

localize7.0ms

Local error

Found 2 expressions with local error:

0.0b
(+ 1.0 (exp x))
0.7b
(log (+ 1.0 (exp x)))

rewrite6.0ms

Algorithm
rewrite-expression-head
Rules
*-un-lft-identity
log-prod add-log-exp
pow1 add-exp-log add-sqr-sqrt add-cube-cbrt
log-div flip3-+ add-cbrt-cube flip-+ distribute-lft-out
+-commutative rem-log-exp sum-log log-pow
Counts
2 → 27
Calls
2 calls:
3.0ms
(+ 1.0 (exp x))
3.0ms
(log (+ 1.0 (exp x)))

series72.0ms

Counts
2 → 6
Calls
2 calls:
8.0ms
(+ 1.0 (exp x))
64.0ms
(log (+ 1.0 (exp x)))

simplify95.0ms

Algorithm
egg-herbie
Counts
33 → 33
Iterations

Useful iterations: 3 (24.0ms)

IterNodesCost
0128169
1337152
2897151
33150150
45002150

prune81.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0.4b

localize17.0ms

Local error

Found 4 expressions with local error:

0.0b
(pow (exp x) 3)
0.7b
(log (+ (pow 1.0 3) (pow (exp x) 3)))
6.2b
(- (* (exp x) (exp x)) (* 1.0 (exp x)))
6.3b
(log (+ (* 1.0 1.0) (- (* (exp x) (exp x)) (* 1.0 (exp x)))))

rewrite42.0ms

Algorithm
rewrite-expression-head
Rules
20×*-un-lft-identity
12×log-prod
10×add-sqr-sqrt add-cube-cbrt
pow1 unpow-prod-down cube-prod
add-exp-log add-log-exp
add-cbrt-cube distribute-lft-out
log-div pow-pow
pow-unpow exp-prod
flip3-+ rem-log-exp log-pow flip-+
cube-mult pow-to-exp sub-neg flip3-- distribute-rgt-out-- diff-log unpow3 pow-exp sum-cubes flip-- rem-cube-cbrt sqr-pow
Counts
4 → 73
Calls
4 calls:
2.0ms
(pow (exp x) 3)
12.0ms
(log (+ (pow 1.0 3) (pow (exp x) 3)))
6.0ms
(- (* (exp x) (exp x)) (* 1.0 (exp x)))
18.0ms
(log (+ (* 1.0 1.0) (- (* (exp x) (exp x)) (* 1.0 (exp x)))))

series264.0ms

Counts
4 → 12
Calls
4 calls:
28.0ms
(pow (exp x) 3)
89.0ms
(log (+ (pow 1.0 3) (pow (exp x) 3)))
42.0ms
(- (* (exp x) (exp x)) (* 1.0 (exp x)))
105.0ms
(log (+ (* 1.0 1.0) (- (* (exp x) (exp x)) (* 1.0 (exp x)))))

simplify75.0ms

Algorithm
egg-herbie
Counts
85 → 85
Iterations

Useful iterations: 2 (66.0ms)

IterNodesCost
0363641
11502568
25001560

prune320.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0.4b

localize11.0ms

Local error

Found 4 expressions with local error:

0.0b
(* 1/2 (pow x 2))
0.0b
(- (log (+ (* 1/2 (pow x 2)) (+ x 2.0))) (* x y))
0.0b
(+ (* 1/2 (pow x 2)) (+ x 2.0))
7.8b
(log (+ (* 1/2 (pow x 2)) (+ x 2.0)))

rewrite33.0ms

Algorithm
rewrite-expression-head
Rules
15×add-sqr-sqrt
10×add-exp-log add-log-exp
add-cube-cbrt *-un-lft-identity
associate-*r*
log-prod add-cbrt-cube
pow1
unpow-prod-down log-div unswap-sqr
flip3-+ associate-*l* prod-exp associate--l+ sum-log flip-+
associate--l- unpow2 sqr-pow
+-commutative pow-to-exp sub-neg associate-+r+ flip3-- diff-log rem-log-exp pow-exp log-pow *-commutative flip-- cbrt-unprod
Counts
4 → 71
Calls
4 calls:
5.0ms
(* 1/2 (pow x 2))
10.0ms
(- (log (+ (* 1/2 (pow x 2)) (+ x 2.0))) (* x y))
8.0ms
(+ (* 1/2 (pow x 2)) (+ x 2.0))
8.0ms
(log (+ (* 1/2 (pow x 2)) (+ x 2.0)))

series174.0ms

Counts
4 → 12
Calls
4 calls:
24.0ms
(* 1/2 (pow x 2))
78.0ms
(- (log (+ (* 1/2 (pow x 2)) (+ x 2.0))) (* x y))
17.0ms
(+ (* 1/2 (pow x 2)) (+ x 2.0))
54.0ms
(log (+ (* 1/2 (pow x 2)) (+ x 2.0)))

simplify50.0ms

Algorithm
egg-herbie
Counts
83 → 83
Iterations

Useful iterations: 2 (38.0ms)

IterNodesCost
0371575
11439529
25001520

prune198.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0.4b

localize19.0ms

Local error

Found 4 expressions with local error:

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

rewrite201.0ms

Algorithm
rewrite-expression-head
Rules
17×add-log-exp
10×diff-log
add-sqr-sqrt associate--l+
add-cube-cbrt *-un-lft-identity
pow1 add-exp-log associate-*r/ add-cbrt-cube
sub-neg flip3-- flip-- associate--r+
frac-sub
distribute-rgt-in log-prod distribute-lft-in flip3-+ associate-*r* associate-*l* flip-+
associate--r-
associate--l- pow-prod-down prod-exp *-commutative cbrt-unprod unswap-sqr
Counts
4 → 79
Calls
4 calls:
166.0ms
(- (- (* x (+ 0.5 (* x 0.25))) (- (* 1/2 (/ (pow x 2) (pow 2.0 2))) (log 2.0))) (* x y))
6.0ms
(* x (+ 0.5 (* x 0.25)))
8.0ms
(- (* 1/2 (/ (pow x 2) (pow 2.0 2))) (log 2.0))
19.0ms
(- (* x (+ 0.5 (* x 0.25))) (- (* 1/2 (/ (pow x 2) (pow 2.0 2))) (log 2.0)))

series474.0ms

Counts
4 → 12
Calls
4 calls:
71.0ms
(- (- (* x (+ 0.5 (* x 0.25))) (- (* 1/2 (/ (pow x 2) (pow 2.0 2))) (log 2.0))) (* x y))
67.0ms
(* x (+ 0.5 (* x 0.25)))
283.0ms
(- (* 1/2 (/ (pow x 2) (pow 2.0 2))) (log 2.0))
53.0ms
(- (* x (+ 0.5 (* x 0.25))) (- (* 1/2 (/ (pow x 2) (pow 2.0 2))) (log 2.0)))

simplify70.0ms

Algorithm
egg-herbie
Counts
91 → 91
Iterations

Useful iterations: 2 (59.0ms)

IterNodesCost
04901052
122221006
250011004

prune271.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0.4b

regimes39.0ms

Accuracy

0% (0.2b remaining)

Error of 0.6b against oracle of 0.3b and baseline of 0.6b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02217
12217

end0.0ms

sample1.7s

Algorithm
intervals
Results
1.0s2497×body10240exit
314.0ms8451×body80valid
74.0ms148×body1280valid
70.0ms268×body640valid
30.0ms192×body320valid
10.0ms105×body160valid