Details

Time bar (total: 5.3s)

sample113.0ms

Algorithm
intervals
Results
35.0ms78×body10240exit
26.0ms61×body1280valid
18.0ms331×body80valid
12.0ms43×body640valid
3.0ms18×body320valid
2.0ms15×body160valid

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: 32.4b

localize17.0ms

Local error

Found 4 expressions with local error:

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

rewrite52.0ms

Algorithm
rewrite-expression-head
Rules
81×frac-sub
74×exp-neg
72×frac-times
56×neg-sub0 exp-diff
38×associate-*l/
36×associate-*r/
28×flip3-- flip3-+ flip-- flip-+
18×un-div-inv
12×exp-prod
10×add-sqr-sqrt *-un-lft-identity add-log-exp
add-cube-cbrt
pow1 add-exp-log add-cbrt-cube
associate-*l* rem-exp-log
associate-*r*
distribute-lft-neg-in neg-mul-1 distribute-rgt-neg-in neg-log
sub-neg diff-log pow-prod-down prod-exp *-commutative cbrt-unprod distribute-lft-out unswap-sqr
Counts
4 → 148
Calls
4 calls:
4.0ms
(exp (- (* (- 1.0 eps) x)))
9.0ms
(* (+ 1.0 eps) x)
6.0ms
(exp (- (* (+ 1.0 eps) x)))
25.0ms
(- (* (+ 1.0 (/ 1.0 eps)) (exp (- (* (- 1.0 eps) x)))) (* (- (/ 1.0 eps) 1.0) (exp (- (* (+ 1.0 eps) x)))))

series276.0ms

Counts
4 → 12
Calls
4 calls:
26.0ms
(exp (- (* (- 1.0 eps) x)))
30.0ms
(* (+ 1.0 eps) x)
26.0ms
(exp (- (* (+ 1.0 eps) x)))
193.0ms
(- (* (+ 1.0 (/ 1.0 eps)) (exp (- (* (- 1.0 eps) x)))) (* (- (/ 1.0 eps) 1.0) (exp (- (* (+ 1.0 eps) x)))))

simplify136.0ms

Algorithm
egg-herbie
Counts
160 → 160
Iterations

Useful iterations: 2 (106.0ms)

IterNodesCost
011773664
143803403
250023392

prune388.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 1.0b

localize10.0ms

Local error

Found 3 expressions with local error:

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

rewrite41.0ms

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

series154.0ms

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

simplify38.0ms

Algorithm
egg-herbie
Counts
65 → 65
Iterations

Useful iterations: 2 (33.0ms)

IterNodesCost
0251336
11024311
25002307

prune165.0ms

Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 1.0b

localize10.0ms

Local error

Found 2 expressions with local error:

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

rewrite14.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:
6.0ms
(* 0.6666666666666667 (pow x 3))
6.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))))

simplify35.0ms

Algorithm
egg-herbie
Counts
52 → 52
Iterations

Useful iterations: 2 (30.0ms)

IterNodesCost
0203267
1840244
25002243

prune126.0ms

Pruning

6 alts after pruning (6 fresh and 0 done)

Merged error: 1.0b

localize17.0ms

Local error

Found 4 expressions with local error:

4.8b
(+ (* (* (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))))
41.0b
(cbrt (* 0.6666666666666667 (pow x 3)))
41.0b
(cbrt (* 0.6666666666666667 (pow x 3)))
41.0b
(cbrt (* 0.6666666666666667 (pow x 3)))

rewrite24.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:
17.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)))

series178.0ms

Counts
4 → 12
Calls
4 calls:
68.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))))
34.0ms
(cbrt (* 0.6666666666666667 (pow x 3)))
39.0ms
(cbrt (* 0.6666666666666667 (pow x 3)))
36.0ms
(cbrt (* 0.6666666666666667 (pow x 3)))

simplify91.0ms

Algorithm
egg-herbie
Counts
54 → 54
Iterations

Useful iterations: 2 (15.0ms)

IterNodesCost
0137496
1428367
22454317
35003317

prune167.0ms

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 1.0b

regimes81.0ms

Accuracy

96.5% (0.5b remaining)

Error of 1.0b against oracle of 0.5b and baseline of 16.4b

bsearch138.0ms

Steps
ItersRangePoint
8
1.1588875362171251
7686.007879781806
95.54164031582988

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
07266
18866
28866

end0.0ms

sample2.9s

Algorithm
intervals
Results
805.0ms1963×body10240exit
762.0ms1763×body1280valid
553.0ms9939×body80valid
324.0ms1288×body640valid
101.0ms614×body320valid
36.0ms338×body160valid