Details

Time bar (total: 5.2s)

sample113.0ms

Algorithm
intervals
Results
31.0ms79×body10240exit
26.0ms64×body1280valid
19.0ms352×body80valid
14.0ms42×body640valid
3.0ms21×body320valid
1.0msbody160valid

simplify38.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 4 (36.0ms)

IterNodesCost
04716
112416
236516
3137616
4500115

prune9.0ms

Filtered
1 candidates to 1 candidates (100.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 31.8b

Counts
2 → 2

localize17.0ms

Local error

Found 4 expressions with local error:

0.0b
(* (- (/ 1.0 eps) 1.0) (exp (- (* (+ 1.0 eps) x))))
0.0b
(* (- 1.0 eps) x)
0.0b
(* (+ 1.0 (/ 1.0 eps)) (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)))))

rewrite64.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/
32×flip3-- flip--
30×flip3-+ flip-+
23×add-sqr-sqrt
20×un-div-inv
16×*-un-lft-identity
15×associate-*l*
10×pow1 add-cube-cbrt add-cbrt-cube
associate-*r*
add-exp-log
add-log-exp
expm1-log1p-u log1p-expm1-u
pow-prod-down prod-exp *-commutative cbrt-unprod difference-of-squares unswap-sqr
distribute-lft-out--
sub-neg times-frac fma-neg diff-log prod-diff distribute-lft-out
Counts
4 → 183
Calls
4 calls:
13.0ms
(* (- (/ 1.0 eps) 1.0) (exp (- (* (+ 1.0 eps) x))))
6.0ms
(* (- 1.0 eps) x)
12.0ms
(* (+ 1.0 (/ 1.0 eps)) (exp (- (* (- 1.0 eps) x))))
22.0ms
(- (* (+ 1.0 (/ 1.0 eps)) (exp (- (* (- 1.0 eps) x)))) (* (- (/ 1.0 eps) 1.0) (exp (- (* (+ 1.0 eps) x)))))

series322.0ms

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

simplify64.0ms

Algorithm
egg-herbie
Counts
195 → 195
Iterations

Useful iterations: 1 (29.0ms)

IterNodesCost
013724120
150013814

prune455.0ms

Filtered
195 candidates to 107 candidates (54.9%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New1932195
Fresh101
Picked101
Done000
Total1952197

Merged error: 0.2b

Counts
197 → 2

localize9.0ms

Local error

Found 2 expressions with local error:

0.0b
(- 2.0 (* 1.0 (pow x 2)))
5.8b
(fma (pow x 3) 0.6666666666666667 (- 2.0 (* 1.0 (pow x 2))))

rewrite8.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt add-cube-cbrt *-un-lft-identity add-log-exp
fma-neg prod-diff
pow1 add-exp-log expm1-log1p-u add-cbrt-cube log1p-expm1-u
sub-neg flip3-- diff-log flip-- fma-udef
Counts
2 → 30
Calls
2 calls:
6.0ms
(- 2.0 (* 1.0 (pow x 2)))
1.0ms
(fma (pow x 3) 0.6666666666666667 (- 2.0 (* 1.0 (pow x 2))))

series98.0ms

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

simplify67.0ms

Algorithm
egg-herbie
Counts
36 → 36
Iterations

Useful iterations: 3 (63.0ms)

IterNodesCost
0126221
1412193
22139191
35001171

prune84.0ms

Filtered
36 candidates to 27 candidates (75.0%)
Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New34236
Fresh011
Picked101
Done000
Total35338

Merged error: 0.2b

Counts
38 → 3

localize7.0ms

Local error

Found 1 expressions with local error:

0.0b
(fma (pow x 2) (- (* 0.6666666666666667 x) 1.0) 2.0)

rewrite1.0ms

Algorithm
rewrite-expression-head
Rules
pow1 add-exp-log add-sqr-sqrt expm1-log1p-u add-cube-cbrt *-un-lft-identity add-cbrt-cube fma-udef log1p-expm1-u add-log-exp
Counts
1 → 10
Calls
1 calls:
1.0ms
(fma (pow x 2) (- (* 0.6666666666666667 x) 1.0) 2.0)

series181.0ms

Counts
1 → 3
Calls
1 calls:
181.0ms
(fma (pow x 2) (- (* 0.6666666666666667 x) 1.0) 2.0)

simplify109.0ms

Algorithm
egg-herbie
Counts
13 → 13
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
04982
113267
253467
3307667
4500167

prune28.0ms

Filtered
13 candidates to 10 candidates (76.9%)
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New13013
Fresh022
Picked011
Done000
Total13316

Merged error: 0.2b

Counts
16 → 3

localize12.0ms

Local error

Found 4 expressions with local error:

0.0b
(- 2.0 (* 1.0 (pow x 2)))
0.0b
(pow (fma (pow x 3) 0.6666666666666667 (- 2.0 (* 1.0 (pow x 2)))) 3)
1.9b
(cbrt (pow (fma (pow x 3) 0.6666666666666667 (- 2.0 (* 1.0 (pow x 2)))) 3))
5.8b
(fma (pow x 3) 0.6666666666666667 (- 2.0 (* 1.0 (pow x 2))))

rewrite10.0ms

Algorithm
rewrite-expression-head
Rules
12×cbrt-prod add-sqr-sqrt add-cube-cbrt *-un-lft-identity
unpow-prod-down cube-prod add-log-exp
pow1 add-exp-log add-cbrt-cube
expm1-log1p-u log1p-expm1-u
pow-unpow fma-neg prod-diff
cube-mult unpow3 sqr-pow
pow-to-exp sub-neg flip3-- pow-pow pow1/3 diff-log pow-exp flip-- rem-cbrt-cube fma-udef rem-cube-cbrt
Counts
4 → 78
Calls
4 calls:
3.0ms
(- 2.0 (* 1.0 (pow x 2)))
2.0ms
(pow (fma (pow x 3) 0.6666666666666667 (- 2.0 (* 1.0 (pow x 2)))) 3)
2.0ms
(cbrt (pow (fma (pow x 3) 0.6666666666666667 (- 2.0 (* 1.0 (pow x 2)))) 3))
1.0ms
(fma (pow x 3) 0.6666666666666667 (- 2.0 (* 1.0 (pow x 2))))

series198.0ms

Counts
4 → 12
Calls
4 calls:
56.0ms
(- 2.0 (* 1.0 (pow x 2)))
63.0ms
(pow (fma (pow x 3) 0.6666666666666667 (- 2.0 (* 1.0 (pow x 2)))) 3)
38.0ms
(cbrt (pow (fma (pow x 3) 0.6666666666666667 (- 2.0 (* 1.0 (pow x 2)))) 3))
41.0ms
(fma (pow x 3) 0.6666666666666667 (- 2.0 (* 1.0 (pow x 2))))

simplify42.0ms

Algorithm
egg-herbie
Counts
90 → 90
Iterations

Useful iterations: 2 (31.0ms)

IterNodesCost
0250677
1907626
25001618

prune183.0ms

Filtered
90 candidates to 56 candidates (62.2%)
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New89190
Fresh011
Picked011
Done101
Total90393

Merged error: 0.2b

Counts
93 → 3

regimes49.0ms

Accuracy

96.4% (0.6b remaining)

Error of 1.0b against oracle of 0.4b and baseline of 16.6b

bsearch146.0ms

Steps
ItersRangePoint
10
1.9435667087631803
128700106451.34695
154.4482937142435

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
05023
16023
26023

end0.0ms

sample2.9s

Algorithm
intervals
Results
793.0ms1967×body10240exit
773.0ms1786×body1280valid
556.0ms10024×body80valid
318.0ms1253×body640valid
97.0ms590×body320valid
34.0ms321×body160valid