Details

Time bar (total: 2.9s)

sample32.0ms

Algorithm
intervals
Results
13.0ms61×body1280valid
5.0ms40×body640valid
3.0ms123×body80valid
2.0ms21×body320valid
1.0ms11×body160valid

simplify60.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0155
1225
2305
3525
41145
53225
616275
750025

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 31.0b

localize6.0ms

Local error

Found 2 expressions with local error:

0.0b
(/ 2.0 (+ 1.0 (exp (* -2.0 x))))
2.8b
(- (/ 2.0 (+ 1.0 (exp (* -2.0 x)))) 1.0)

rewrite17.0ms

Algorithm
rewrite-expression-head
Rules
21×*-un-lft-identity
16×add-sqr-sqrt
13×times-frac
11×add-cube-cbrt
add-exp-log associate-/r* add-cbrt-cube distribute-lft-out add-log-exp
associate-/l*
pow1 associate-/r/ difference-of-squares
cbrt-undiv sub-neg flip3-- frac-2neg flip3-+ diff-log div-exp clear-num flip-- flip-+ div-inv distribute-lft-out--
Counts
2 → 48
Calls
2 calls:
5.0ms
(/ 2.0 (+ 1.0 (exp (* -2.0 x))))
10.0ms
(- (/ 2.0 (+ 1.0 (exp (* -2.0 x)))) 1.0)

series119.0ms

Counts
2 → 6
Calls
2 calls:
39.0ms
(/ 2.0 (+ 1.0 (exp (* -2.0 x))))
80.0ms
(- (/ 2.0 (+ 1.0 (exp (* -2.0 x)))) 1.0)

simplify58.0ms

Algorithm
egg-herbie
Counts
54 → 54
Iterations

Useful iterations: 2 (16.0ms)

IterNodesCost
0220413
1613391
22032387
35001387

prune122.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0.0b

localize10.0ms

Local error

Found 4 expressions with local error:

0.0b
(- (* 1.0 x) (+ (* 5.551115123125783e-17 (pow x 4)) (* 0.33333333333333337 (pow x 3))))
0.1b
(* 0.33333333333333337 (pow x 3))
0.7b
(* 5.551115123125783e-17 (pow x 4))
8.0b
(+ (* 5.551115123125783e-17 (pow x 4)) (* 0.33333333333333337 (pow x 3)))

rewrite24.0ms

Algorithm
rewrite-expression-head
Rules
23×add-sqr-sqrt
19×associate-*r*
14×add-exp-log
11×add-cube-cbrt *-un-lft-identity add-log-exp
unpow-prod-down add-cbrt-cube
unswap-sqr
associate-*l* prod-exp
pow1 cube-prod sqr-pow
pow-to-exp diff-log pow-exp sum-log *-commutative cbrt-unprod
+-commutative cube-mult sub-neg flip3-- flip3-+ unpow3 flip-- flip-+ associate--r+
Counts
4 → 81
Calls
4 calls:
6.0ms
(- (* 1.0 x) (+ (* 5.551115123125783e-17 (pow x 4)) (* 0.33333333333333337 (pow x 3))))
6.0ms
(* 0.33333333333333337 (pow x 3))
5.0ms
(* 5.551115123125783e-17 (pow x 4))
4.0ms
(+ (* 5.551115123125783e-17 (pow x 4)) (* 0.33333333333333337 (pow x 3)))

series237.0ms

Counts
4 → 12
Calls
4 calls:
49.0ms
(- (* 1.0 x) (+ (* 5.551115123125783e-17 (pow x 4)) (* 0.33333333333333337 (pow x 3))))
41.0ms
(* 0.33333333333333337 (pow x 3))
36.0ms
(* 5.551115123125783e-17 (pow x 4))
111.0ms
(+ (* 5.551115123125783e-17 (pow x 4)) (* 0.33333333333333337 (pow x 3)))

simplify52.0ms

Algorithm
egg-herbie
Counts
93 → 93
Iterations

Useful iterations: 1 (10.0ms)

IterNodesCost
0344493
11475459
25001459

prune197.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0.0b

localize10.0ms

Local error

Found 3 expressions with local error:

0.0b
(/ 2.0 (+ 1.0 (exp (* -2.0 x))))
2.8b
(log (exp (- (/ 2.0 (+ 1.0 (exp (* -2.0 x)))) 1.0)))
2.8b
(- (/ 2.0 (+ 1.0 (exp (* -2.0 x)))) 1.0)

rewrite28.0ms

Algorithm
rewrite-expression-head
Rules
26×*-un-lft-identity
24×add-sqr-sqrt
14×add-cube-cbrt times-frac
log-pow
exp-prod
add-exp-log log-prod add-cbrt-cube add-log-exp
pow1 associate-/r* distribute-lft-out difference-of-squares
associate-/l*
sub-neg exp-sum associate-/r/ distribute-lft-out--
cbrt-undiv log-div flip3-- frac-2neg flip3-+ exp-diff diff-log div-exp rem-log-exp clear-num flip-- flip-+ div-inv
Counts
3 → 69
Calls
3 calls:
5.0ms
(/ 2.0 (+ 1.0 (exp (* -2.0 x))))
11.0ms
(log (exp (- (/ 2.0 (+ 1.0 (exp (* -2.0 x)))) 1.0)))
10.0ms
(- (/ 2.0 (+ 1.0 (exp (* -2.0 x)))) 1.0)

series204.0ms

Counts
3 → 9
Calls
3 calls:
42.0ms
(/ 2.0 (+ 1.0 (exp (* -2.0 x))))
81.0ms
(log (exp (- (/ 2.0 (+ 1.0 (exp (* -2.0 x)))) 1.0)))
81.0ms
(- (/ 2.0 (+ 1.0 (exp (* -2.0 x)))) 1.0)

simplify63.0ms

Algorithm
egg-herbie
Counts
78 → 78
Iterations

Useful iterations: 2 (17.0ms)

IterNodesCost
0260591
1712548
22189544
35001544

prune172.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0.0b

localize8.0ms

Local error

Found 2 expressions with local error:

0.0b
(/ 2.0 (+ 1.0 (exp (* -2.0 x))))
2.8b
(- (/ 2.0 (+ 1.0 (exp (* -2.0 x)))) 1.0)

rewrite17.0ms

Algorithm
rewrite-expression-head
Rules
21×*-un-lft-identity
16×add-sqr-sqrt
13×times-frac
11×add-cube-cbrt
add-exp-log associate-/r* add-cbrt-cube distribute-lft-out add-log-exp
associate-/l*
pow1 associate-/r/ difference-of-squares
cbrt-undiv sub-neg flip3-- frac-2neg flip3-+ diff-log div-exp clear-num flip-- flip-+ div-inv distribute-lft-out--
Counts
2 → 48
Calls
2 calls:
5.0ms
(/ 2.0 (+ 1.0 (exp (* -2.0 x))))
10.0ms
(- (/ 2.0 (+ 1.0 (exp (* -2.0 x)))) 1.0)

series124.0ms

Counts
2 → 6
Calls
2 calls:
41.0ms
(/ 2.0 (+ 1.0 (exp (* -2.0 x))))
82.0ms
(- (/ 2.0 (+ 1.0 (exp (* -2.0 x)))) 1.0)

simplify58.0ms

Algorithm
egg-herbie
Counts
54 → 54
Iterations

Useful iterations: 2 (16.0ms)

IterNodesCost
0220413
1613391
22032387
35001387

prune114.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0.0b

regimes264.0ms

Accuracy

99.4% (0.2b remaining)

Error of 0.2b against oracle of 0.0b and baseline of 31.8b

bsearch2.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03926
13926

end0.0ms

sample868.0ms

Algorithm
intervals
Results
362.0ms1721×body1280valid
174.0ms1279×body640valid
105.0ms4085×body80valid
54.0ms603×body320valid
19.0ms312×body160valid