Details

Time bar (total: 5.4s)

sample97.0ms

Algorithm
intervals
Results
24.0ms61×body10240exit
23.0ms43×body1280valid
17.0ms319×body80valid
11.0ms43×body640valid
4.0ms27×body320valid
1.0msbody160valid

simplify38.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 4 (36.0ms)

IterNodesCost
04616
112216
234716
3129516
4500115

prune7.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 28.9b

localize17.0ms

Local error

Found 4 expressions with local error:

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

rewrite129.0ms

Algorithm
rewrite-expression-head
Rules
81×frac-sub
80×exp-neg frac-times
60×neg-sub0 exp-diff
42×associate-*l/
40×associate-*r/
31×flip3-- flip3-+ flip-- flip-+
21×add-sqr-sqrt
20×un-div-inv
16×*-un-lft-identity
14×associate-*l*
10×pow1 add-cube-cbrt add-cbrt-cube
associate-*r*
add-exp-log
add-log-exp
pow-prod-down prod-exp *-commutative cbrt-unprod unswap-sqr
distribute-lft-out difference-of-squares
sub-neg times-frac diff-log distribute-lft-out--
Counts
4 → 172
Calls
4 calls:
10.0ms
(* (+ 1.0 eps) x)
34.0ms
(* (+ 1.0 (/ 1.0 eps)) (exp (- (* (- 1.0 eps) x))))
41.0ms
(* (- (/ 1.0 eps) 1.0) (exp (- (* (+ 1.0 eps) x))))
32.0ms
(- (* (+ 1.0 (/ 1.0 eps)) (exp (- (* (- 1.0 eps) x)))) (* (- (/ 1.0 eps) 1.0) (exp (- (* (+ 1.0 eps) x)))))

series334.0ms

Counts
4 → 12
Calls
4 calls:
32.0ms
(* (+ 1.0 eps) x)
47.0ms
(* (+ 1.0 (/ 1.0 eps)) (exp (- (* (- 1.0 eps) x))))
55.0ms
(* (- (/ 1.0 eps) 1.0) (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)))))

simplify149.0ms

Algorithm
egg-herbie
Counts
184 → 184
Iterations

Useful iterations: 1 (26.0ms)

IterNodesCost
012574061
147723783
250013783

prune583.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.4b

localize11.0ms

Local error

Found 2 expressions with local error:

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

rewrite36.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))
28.0ms
(- (+ (* 0.6666666666666667 (pow x 3)) 2.0) (* 1.0 (pow x 2)))

series79.0ms

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

simplify36.0ms

Algorithm
egg-herbie
Counts
51 → 51
Iterations

Useful iterations: 2 (31.0ms)

IterNodesCost
0207270
1894242
25002238

prune112.0ms

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 0.4b

localize10.0ms

Local error

Found 2 expressions with local error:

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

rewrite17.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:
9.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:
38.0ms
(* 0.6666666666666667 (pow x 3))
38.0ms
(+ (* 0.6666666666666667 (pow x 3)) (- 2.0 (* 1.0 (pow x 2))))

simplify36.0ms

Algorithm
egg-herbie
Counts
52 → 52
Iterations

Useful iterations: 2 (30.0ms)

IterNodesCost
0203267
1840244
25002243

prune110.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0.4b

localize13.0ms

Local error

Found 4 expressions with local error:

6.2b
(+ (* (* (cbrt (* 0.6666666666666667 (pow x 3))) (cbrt (* 0.6666666666666667 (pow x 3)))) (cbrt (* 0.6666666666666667 (pow x 3)))) (- 2.0 (* 1.0 (pow x 2))))
46.8b
(cbrt (* 0.6666666666666667 (pow x 3)))
46.8b
(cbrt (* 0.6666666666666667 (pow x 3)))
46.8b
(cbrt (* 0.6666666666666667 (pow x 3)))

rewrite27.0ms

Algorithm
rewrite-expression-head
Rules
add-log-exp
pow1 add-exp-log add-sqr-sqrt add-cube-cbrt *-un-lft-identity add-cbrt-cube
cbrt-prod pow1/3
associate-+r+ sum-log
+-commutative associate-+r- sub-neg flip3-+ diff-log flip-+
Counts
4 → 42
Calls
4 calls:
19.0ms
(+ (* (* (cbrt (* 0.6666666666666667 (pow x 3))) (cbrt (* 0.6666666666666667 (pow x 3)))) (cbrt (* 0.6666666666666667 (pow x 3)))) (- 2.0 (* 1.0 (pow x 2))))
2.0ms
(cbrt (* 0.6666666666666667 (pow x 3)))
2.0ms
(cbrt (* 0.6666666666666667 (pow x 3)))
2.0ms
(cbrt (* 0.6666666666666667 (pow x 3)))

series180.0ms

Counts
4 → 12
Calls
4 calls:
66.0ms
(+ (* (* (cbrt (* 0.6666666666666667 (pow x 3))) (cbrt (* 0.6666666666666667 (pow x 3)))) (cbrt (* 0.6666666666666667 (pow x 3)))) (- 2.0 (* 1.0 (pow x 2))))
38.0ms
(cbrt (* 0.6666666666666667 (pow x 3)))
36.0ms
(cbrt (* 0.6666666666666667 (pow x 3)))
39.0ms
(cbrt (* 0.6666666666666667 (pow x 3)))

simplify96.0ms

Algorithm
egg-herbie
Counts
54 → 54
Iterations

Useful iterations: 2 (16.0ms)

IterNodesCost
0137496
1428367
22454317
35003317

prune158.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0.4b

regimes76.0ms

Accuracy

96.4% (0.6b remaining)

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

bsearch153.0ms

Steps
ItersRangePoint
10
0.0005333266348582408
2757715261.7841525
243.38414420297673

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
07159
19259
29259

end0.0ms

sample2.8s

Algorithm
intervals
Results
794.0ms1969×body10240exit
733.0ms1714×body1280valid
542.0ms10167×body80valid
313.0ms1269×body640valid
110.0ms652×body320valid
30.0ms290×body160valid