Details

Time bar (total: 4.3s)

sample73.0ms

Algorithm
intervals
Results
45.0ms105×body10240exit
10.0ms275×body80valid
2.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.8b

localize7.0ms

Local error

Found 2 expressions with local error:

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

rewrite7.0ms

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

series73.0ms

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

simplify103.0ms

Algorithm
egg-herbie
Counts
40 → 40
Iterations

Useful iterations: 4 (100.0ms)

IterNodesCost
0137181
1364163
21024163
33614161
45001159

prune101.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0.4b

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

rewrite45.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
expm1-log1p-u log-div pow-pow log1p-expm1-u
pow-unpow exp-prod
flip3-+ rem-log-exp log-pow flip-+
cube-mult pow-to-exp sub-neg flip3-- distribute-rgt-out-- fma-neg diff-log unpow3 prod-diff pow-exp sum-cubes flip-- rem-cube-cbrt sqr-pow
Counts
4 → 83
Calls
4 calls:
2.0ms
(pow (exp x) 3)
13.0ms
(log (+ (pow 1.0 3) (pow (exp x) 3)))
10.0ms
(- (* (exp x) (exp x)) (* 1.0 (exp x)))
19.0ms
(log (+ (* 1.0 1.0) (- (* (exp x) (exp x)) (* 1.0 (exp x)))))

series273.0ms

Counts
4 → 12
Calls
4 calls:
23.0ms
(pow (exp x) 3)
94.0ms
(log (+ (pow 1.0 3) (pow (exp x) 3)))
48.0ms
(- (* (exp x) (exp x)) (* 1.0 (exp x)))
108.0ms
(log (+ (* 1.0 1.0) (- (* (exp x) (exp x)) (* 1.0 (exp x)))))

simplify66.0ms

Algorithm
egg-herbie
Counts
95 → 95
Iterations

Useful iterations: 2 (58.0ms)

IterNodesCost
0398699
11683631
25001622

prune314.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0.4b

localize10.0ms

Local error

Found 2 expressions with local error:

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

rewrite5.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt add-cube-cbrt log-prod *-un-lft-identity
pow1
fma-neg prod-diff
add-exp-log associate--l+ log-pow add-log-exp
expm1-log1p-u add-cbrt-cube log1p-expm1-u
sub-neg flip3-- diff-log rem-log-exp flip--
Counts
2 → 39
Calls
2 calls:
4.0ms
(- (log (fma x (fma 1/2 x 1) 2.0)) (* x y))
1.0ms
(log (fma x (fma 1/2 x 1) 2.0))

series151.0ms

Counts
2 → 6
Calls
2 calls:
88.0ms
(- (log (fma x (fma 1/2 x 1) 2.0)) (* x y))
63.0ms
(log (fma x (fma 1/2 x 1) 2.0))

simplify79.0ms

Algorithm
egg-herbie
Counts
45 → 45
Iterations

Useful iterations: 3 (74.0ms)

IterNodesCost
0221317
1704285
22781282
35001264

prune126.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0.4b

localize16.0ms

Local error

Found 4 expressions with local error:

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

rewrite42.0ms

Algorithm
rewrite-expression-head
Rules
80×times-frac
77×add-sqr-sqrt
68×associate-*r*
56×unpow-prod-down
43×add-cube-cbrt *-un-lft-identity
27×add-exp-log
24×unpow2 sqr-pow
17×unswap-sqr
10×prod-exp
div-exp add-cbrt-cube
pow1
fma-neg prod-diff add-log-exp
pow-to-exp pow-exp
expm1-log1p-u associate--l+ log1p-expm1-u
log-prod associate-*l*
sub-neg flip3-- diff-log log-pow flip-- cbrt-unprod fma-udef
cbrt-undiv associate-*r/ pow-prod-down *-commutative div-inv
Counts
4 → 168
Calls
4 calls:
28.0ms
(* 1/2 (/ (pow x 2) (pow 2.0 2)))
3.0ms
(- (fma x (+ (* 0.25 x) 0.5) (- (log 2.0) (* 1/2 (/ (pow x 2) (pow 2.0 2))))) (* x y))
4.0ms
(- (log 2.0) (* 1/2 (/ (pow x 2) (pow 2.0 2))))
0.0ms
(fma x (+ (* 0.25 x) 0.5) (- (log 2.0) (* 1/2 (/ (pow x 2) (pow 2.0 2)))))

series461.0ms

Counts
4 → 12
Calls
4 calls:
53.0ms
(* 1/2 (/ (pow x 2) (pow 2.0 2)))
72.0ms
(- (fma x (+ (* 0.25 x) 0.5) (- (log 2.0) (* 1/2 (/ (pow x 2) (pow 2.0 2))))) (* x y))
275.0ms
(- (log 2.0) (* 1/2 (/ (pow x 2) (pow 2.0 2))))
61.0ms
(fma x (+ (* 0.25 x) 0.5) (- (log 2.0) (* 1/2 (/ (pow x 2) (pow 2.0 2)))))

simplify75.0ms

Algorithm
egg-herbie
Counts
180 → 180
Iterations

Useful iterations: 2 (60.0ms)

IterNodesCost
07421374
130931185
250021159

prune476.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0.4b

regimes45.0ms

Accuracy

0% (0.2b remaining)

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

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02217
12217

end0.0ms

sample1.7s

Algorithm
intervals
Results
1.0s2497×body10240exit
330.0ms8451×body80valid
74.0ms148×body1280valid
71.0ms268×body640valid
33.0ms192×body320valid
10.0ms105×body160valid