Details

Time bar (total: 7.1s)

sample157.0ms

Algorithm
intervals
Results
47.0ms370×body80valid
36.0ms57×body10240exit
26.0ms43×body1280valid
21.0ms44×body640valid
6.0ms21×body320valid
2.0msbody160valid

simplify36.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 4 (35.0ms)

IterNodesCost
04616
112216
234716
3129516
4500115

prune9.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 26.8b

localize19.0ms

Local error

Found 4 expressions with local error:

0.0b
(* (- (/ 1.0 eps) 1.0) (exp (- (* (+ 1.0 eps) x))))
0.1b
(exp (- (* (+ 1.0 eps) x)))
0.1b
(exp (- (* (- 1.0 eps) x)))
1.5b
(- (* (+ 1.0 (/ 1.0 eps)) (exp (- (* (- 1.0 eps) x)))) (* (- (/ 1.0 eps) 1.0) (exp (- (* (+ 1.0 eps) x)))))

rewrite88.0ms

Algorithm
rewrite-expression-head
Rules
81×frac-sub
78×exp-neg
76×frac-times
59×neg-sub0 exp-diff
38×associate-*r/ associate-*l/
31×flip3-- flip--
27×flip3-+ flip-+
19×un-div-inv
15×add-sqr-sqrt
12×exp-prod
10×*-un-lft-identity add-log-exp
add-cube-cbrt
pow1 associate-*l* add-cbrt-cube
add-exp-log
rem-exp-log
associate-*r*
distribute-lft-neg-in neg-mul-1 distribute-rgt-neg-in neg-log difference-of-squares
sub-neg times-frac diff-log pow-prod-down prod-exp *-commutative cbrt-unprod distribute-lft-out-- unswap-sqr
Counts
4 → 157
Calls
4 calls:
43.0ms
(* (- (/ 1.0 eps) 1.0) (exp (- (* (+ 1.0 eps) x))))
3.0ms
(exp (- (* (+ 1.0 eps) x)))
4.0ms
(exp (- (* (- 1.0 eps) x)))
27.0ms
(- (* (+ 1.0 (/ 1.0 eps)) (exp (- (* (- 1.0 eps) x)))) (* (- (/ 1.0 eps) 1.0) (exp (- (* (+ 1.0 eps) x)))))

series306.0ms

Counts
4 → 12
Calls
4 calls:
49.0ms
(* (- (/ 1.0 eps) 1.0) (exp (- (* (+ 1.0 eps) x))))
31.0ms
(exp (- (* (+ 1.0 eps) x)))
27.0ms
(exp (- (* (- 1.0 eps) x)))
199.0ms
(- (* (+ 1.0 (/ 1.0 eps)) (exp (- (* (- 1.0 eps) x)))) (* (- (/ 1.0 eps) 1.0) (exp (- (* (+ 1.0 eps) x)))))

simplify135.0ms

Algorithm
egg-herbie
Counts
169 → 169
Iterations

Useful iterations: 2 (100.0ms)

IterNodesCost
011693874
141983608
250023593

prune430.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0.7b

localize10.0ms

Local error

Found 2 expressions with local error:

0.1b
(* 0.6666666666666667 (pow x 3))
7.4b
(- (+ (* 0.6666666666666667 (pow x 3)) 2.0) (* 1.0 (pow x 2)))

rewrite39.0ms

Algorithm
rewrite-expression-head
Rules
13×add-sqr-sqrt
12×associate-*r*
add-exp-log add-log-exp
add-cube-cbrt *-un-lft-identity
unpow-prod-down cube-prod add-cbrt-cube unswap-sqr
associate-*l* prod-exp
pow1 diff-log sqr-pow
cube-mult pow-to-exp sub-neg flip3-- unpow3 pow-exp associate--l+ sum-log *-commutative flip-- cbrt-unprod
Counts
2 → 45
Calls
2 calls:
7.0ms
(* 0.6666666666666667 (pow x 3))
30.0ms
(- (+ (* 0.6666666666666667 (pow x 3)) 2.0) (* 1.0 (pow x 2)))

series77.0ms

Counts
2 → 6
Calls
2 calls:
39.0ms
(* 0.6666666666666667 (pow x 3))
38.0ms
(- (+ (* 0.6666666666666667 (pow x 3)) 2.0) (* 1.0 (pow x 2)))

simplify34.0ms

Algorithm
egg-herbie
Counts
51 → 51
Iterations

Useful iterations: 2 (29.0ms)

IterNodesCost
0207270
1894242
25002238

prune129.0ms

Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 0.7b

localize10.0ms

Local error

Found 2 expressions with local error:

0.1b
(* 0.6666666666666667 (pow x 3))
7.4b
(+ (* 0.6666666666666667 (pow x 3)) (- 2.0 (* 1.0 (pow x 2))))

rewrite15.0ms

Algorithm
rewrite-expression-head
Rules
13×add-sqr-sqrt
12×associate-*r*
add-exp-log add-log-exp
add-cube-cbrt *-un-lft-identity
unpow-prod-down cube-prod add-cbrt-cube unswap-sqr
associate-*l* prod-exp
pow1 associate-+r+ sum-log sqr-pow
+-commutative cube-mult pow-to-exp associate-+r- sub-neg flip3-+ diff-log unpow3 pow-exp *-commutative cbrt-unprod flip-+
Counts
2 → 46
Calls
2 calls:
7.0ms
(* 0.6666666666666667 (pow x 3))
7.0ms
(+ (* 0.6666666666666667 (pow x 3)) (- 2.0 (* 1.0 (pow x 2))))

series77.0ms

Counts
2 → 6
Calls
2 calls:
35.0ms
(* 0.6666666666666667 (pow x 3))
42.0ms
(+ (* 0.6666666666666667 (pow x 3)) (- 2.0 (* 1.0 (pow x 2))))

simplify34.0ms

Algorithm
egg-herbie
Counts
52 → 52
Iterations

Useful iterations: 2 (29.0ms)

IterNodesCost
0203267
1840244
25002243

prune128.0ms

Pruning

6 alts after pruning (6 fresh and 0 done)

Merged error: 0.7b

localize14.0ms

Local error

Found 4 expressions with local error:

0.1b
(* 0.6666666666666667 (pow x 3))
0.5b
(exp (log (+ (* 0.6666666666666667 (pow x 3)) (- 2.0 (* 1.0 (pow x 2))))))
7.4b
(+ (* 0.6666666666666667 (pow x 3)) (- 2.0 (* 1.0 (pow x 2))))
11.4b
(log (+ (* 0.6666666666666667 (pow x 3)) (- 2.0 (* 1.0 (pow x 2)))))

rewrite30.0ms

Algorithm
rewrite-expression-head
Rules
18×add-sqr-sqrt
12×associate-*r*
11×add-cube-cbrt *-un-lft-identity
10×add-exp-log
add-log-exp
pow1 log-prod add-cbrt-cube
unpow-prod-down log-div exp-prod cube-prod unswap-sqr
flip3-+ associate-*l* exp-sum prod-exp flip-+
associate-+r+ exp-diff sum-log log-pow sqr-pow
+-commutative cube-mult pow-to-exp associate-+r- sub-neg diff-log unpow3 rem-log-exp pow-exp *-commutative cbrt-unprod rem-exp-log
Counts
4 → 77
Calls
4 calls:
7.0ms
(* 0.6666666666666667 (pow x 3))
7.0ms
(exp (log (+ (* 0.6666666666666667 (pow x 3)) (- 2.0 (* 1.0 (pow x 2))))))
7.0ms
(+ (* 0.6666666666666667 (pow x 3)) (- 2.0 (* 1.0 (pow x 2))))
7.0ms
(log (+ (* 0.6666666666666667 (pow x 3)) (- 2.0 (* 1.0 (pow x 2)))))

series200.0ms

Counts
4 → 12
Calls
4 calls:
35.0ms
(* 0.6666666666666667 (pow x 3))
38.0ms
(exp (log (+ (* 0.6666666666666667 (pow x 3)) (- 2.0 (* 1.0 (pow x 2))))))
42.0ms
(+ (* 0.6666666666666667 (pow x 3)) (- 2.0 (* 1.0 (pow x 2))))
85.0ms
(log (+ (* 0.6666666666666667 (pow x 3)) (- 2.0 (* 1.0 (pow x 2)))))

simplify49.0ms

Algorithm
egg-herbie
Counts
89 → 89
Iterations

Useful iterations: 2 (37.0ms)

IterNodesCost
0326684
11309624
25001606

prune236.0ms

Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 0.7b

regimes99.0ms

Accuracy

96.3% (0.6b remaining)

Error of 1.1b against oracle of 0.5b and baseline of 16.0b

bsearch135.0ms

Steps
ItersRangePoint
7
231.08097083698556
22857.716182190634
254.14528551610528

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
05538
16338
26338

end0.0ms

sample4.6s

Algorithm
intervals
Results
1.3s10091×body80valid
1.2s1870×body10240exit
1.0s1692×body1280valid
523.0ms1292×body640valid
185.0ms643×body320valid
76.0ms357×body160valid