Details

Time bar (total: 5.9s)

sample102.0ms

Algorithm
intervals
Results
29.0ms74×body10240exit
23.0ms51×body1280valid
19.0ms357×body80valid
9.0ms36×body640valid
4.0ms21×body320valid
2.0ms17×body160valid

simplify38.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 4 (37.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)

Merged error: 28.0b

localize21.0ms

Local error

Found 4 expressions with local error:

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

rewrite84.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
expm1-log1p-u log1p-expm1-u 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 fma-neg diff-log prod-diff pow-prod-down prod-exp *-commutative cbrt-unprod distribute-lft-out-- unswap-sqr
Counts
4 → 167
Calls
4 calls:
41.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)))
26.0ms
(- (* (+ 1.0 (/ 1.0 eps)) (exp (- (* (- 1.0 eps) x)))) (* (- (/ 1.0 eps) 1.0) (exp (- (* (+ 1.0 eps) x)))))

series303.0ms

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

simplify143.0ms

Algorithm
egg-herbie
Counts
179 → 179
Iterations

Useful iterations: 2 (107.0ms)

IterNodesCost
012853925
145753627
250013589

prune466.0ms

Filtered
179 candidates to 100 candidates (55.9%)
Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0.2b

localize14.0ms

Local error

Found 1 expressions with local error:

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

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:
0.0ms
(fma (pow x 3) 0.6666666666666667 (- 2.0 (* 1.0 (pow x 2))))

series38.0ms

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

simplify33.0ms

Algorithm
egg-herbie
Counts
13 → 13
Iterations

Useful iterations: 3 (26.0ms)

IterNodesCost
04289
113678
272278
3500275

prune44.0ms

Filtered
13 candidates to 11 candidates (84.6%)
Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0.2b

localize17.0ms

Local error

Found 3 expressions with local error:

0.6b
(expm1 (log1p (fma (pow x 3) 0.6666666666666667 (- 2.0 (* 1.0 (pow x 2))))))
5.6b
(fma (pow x 3) 0.6666666666666667 (- 2.0 (* 1.0 (pow x 2))))
9.7b
(log1p (fma (pow x 3) 0.6666666666666667 (- 2.0 (* 1.0 (pow x 2)))))

rewrite1.0ms

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

series284.0ms

Counts
3 → 9
Calls
3 calls:
143.0ms
(expm1 (log1p (fma (pow x 3) 0.6666666666666667 (- 2.0 (* 1.0 (pow x 2))))))
38.0ms
(fma (pow x 3) 0.6666666666666667 (- 2.0 (* 1.0 (pow x 2))))
102.0ms
(log1p (fma (pow x 3) 0.6666666666666667 (- 2.0 (* 1.0 (pow x 2)))))

simplify91.0ms

Algorithm
egg-herbie
Counts
41 → 41
Iterations

Useful iterations: 3 (86.0ms)

IterNodesCost
0249372
1848331
23865305
35002297

prune140.0ms

Filtered
41 candidates to 34 candidates (82.9%)
Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0.2b

localize18.0ms

Local error

Found 4 expressions with local error:

9.5b
(cbrt (fma (pow x 3) 0.6666666666666667 (- 2.0 (* 1.0 (pow x 2)))))
9.5b
(cbrt (fma (pow x 3) 0.6666666666666667 (- 2.0 (* 1.0 (pow x 2)))))
9.5b
(cbrt (fma (pow x 3) 0.6666666666666667 (- 2.0 (* 1.0 (pow x 2)))))
9.7b
(log1p (* (* (cbrt (fma (pow x 3) 0.6666666666666667 (- 2.0 (* 1.0 (pow x 2))))) (cbrt (fma (pow x 3) 0.6666666666666667 (- 2.0 (* 1.0 (pow x 2)))))) (cbrt (fma (pow x 3) 0.6666666666666667 (- 2.0 (* 1.0 (pow x 2)))))))

rewrite3.0ms

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

series678.0ms

Counts
4 → 12
Calls
4 calls:
285.0ms
(cbrt (fma (pow x 3) 0.6666666666666667 (- 2.0 (* 1.0 (pow x 2)))))
150.0ms
(cbrt (fma (pow x 3) 0.6666666666666667 (- 2.0 (* 1.0 (pow x 2)))))
147.0ms
(cbrt (fma (pow x 3) 0.6666666666666667 (- 2.0 (* 1.0 (pow x 2)))))
97.0ms
(log1p (* (* (cbrt (fma (pow x 3) 0.6666666666666667 (- 2.0 (* 1.0 (pow x 2))))) (cbrt (fma (pow x 3) 0.6666666666666667 (- 2.0 (* 1.0 (pow x 2)))))) (cbrt (fma (pow x 3) 0.6666666666666667 (- 2.0 (* 1.0 (pow x 2)))))))

simplify86.0ms

Algorithm
egg-herbie
Counts
62 → 62
Iterations

Useful iterations: 3 (76.0ms)

IterNodesCost
0248980
1816863
23284792
35001788

prune244.0ms

Filtered
62 candidates to 58 candidates (93.5%)
Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0.2b

regimes100.0ms

Accuracy

96.5% (0.6b remaining)

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

bsearch144.0ms

Steps
ItersRangePoint
10
0.0016736950671300647
38794610249.56377
3.591957276208114

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04822
15822
25822

end0.0ms

sample2.8s

Algorithm
intervals
Results
780.0ms1929×body10240exit
737.0ms1728×body1280valid
553.0ms10048×body80valid
314.0ms1241×body640valid
105.0ms642×body320valid
35.0ms330×body160valid