Details

Time bar (total: 5.8s)

sample97.0ms

Algorithm
intervals
Results
25.0ms53×body1280valid
23.0ms56×body10240exit
16.0ms278×body80valid
11.0ms30×body640valid
4.0ms26×body320valid
1.0ms11×body160valid

simplify38.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 4 (36.0ms)

IterNodesCost
04716
112416
236516
3137616
4500115

prune9.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 28.2b

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

rewrite51.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:
16.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)))
18.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:
49.0ms
(* (- (/ 1.0 eps) 1.0) (exp (- (* (+ 1.0 eps) x))))
31.0ms
(exp (- (* (+ 1.0 eps) x)))
26.0ms
(exp (- (* (- 1.0 eps) x)))
196.0ms
(- (* (+ 1.0 (/ 1.0 eps)) (exp (- (* (- 1.0 eps) x)))) (* (- (/ 1.0 eps) 1.0) (exp (- (* (+ 1.0 eps) x)))))

simplify153.0ms

Algorithm
egg-herbie
Counts
179 → 179
Iterations

Useful iterations: 2 (114.0ms)

IterNodesCost
012853925
145753627
250013589

prune470.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0.4b

localize10.0ms

Local error

Found 2 expressions with local error:

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

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

series101.0ms

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

simplify87.0ms

Algorithm
egg-herbie
Counts
36 → 36
Iterations

Useful iterations: 3 (82.0ms)

IterNodesCost
0126221
1412193
22139191
35001171

prune113.0ms

Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 0.4b

localize20.0ms

Local error

Found 2 expressions with local error:

8.0b
(fma (pow x 3) 0.6666666666666667 (/ (fma 2.0 2.0 (* (- (* 1.0 1.0)) (pow x 4))) (fma (pow x 2) 1.0 2.0)))
13.5b
(/ (fma 2.0 2.0 (* (- (* 1.0 1.0)) (pow x 4))) (fma (pow x 2) 1.0 2.0))

rewrite5.0ms

Algorithm
rewrite-expression-head
Rules
10×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
times-frac
add-exp-log add-cbrt-cube
associate-/r* associate-/l*
pow1 expm1-log1p-u log1p-expm1-u add-log-exp
cbrt-undiv frac-2neg div-exp clear-num fma-udef div-inv
Counts
2 → 39
Calls
2 calls:
1.0ms
(fma (pow x 3) 0.6666666666666667 (/ (fma 2.0 2.0 (* (- (* 1.0 1.0)) (pow x 4))) (fma (pow x 2) 1.0 2.0)))
3.0ms
(/ (fma 2.0 2.0 (* (- (* 1.0 1.0)) (pow x 4))) (fma (pow x 2) 1.0 2.0))

series223.0ms

Counts
2 → 6
Calls
2 calls:
72.0ms
(fma (pow x 3) 0.6666666666666667 (/ (fma 2.0 2.0 (* (- (* 1.0 1.0)) (pow x 4))) (fma (pow x 2) 1.0 2.0)))
150.0ms
(/ (fma 2.0 2.0 (* (- (* 1.0 1.0)) (pow x 4))) (fma (pow x 2) 1.0 2.0))

simplify76.0ms

Algorithm
egg-herbie
Counts
45 → 45
Iterations

Useful iterations: 3 (69.0ms)

IterNodesCost
0142554
1441496
22194496
35001492

prune193.0ms

Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 0.4b

localize17.0ms

Local error

Found 4 expressions with local error:

0.0b
(- 2.0 (* 1.0 (pow x 2)))
0.0b
(expm1 (fma (pow x 3) 0.6666666666666667 (- 2.0 (* 1.0 (pow x 2)))))
0.0b
(log1p (expm1 (fma (pow x 3) 0.6666666666666667 (- 2.0 (* 1.0 (pow x 2))))))
8.0b
(fma (pow x 3) 0.6666666666666667 (- 2.0 (* 1.0 (pow x 2))))

rewrite6.0ms

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

series271.0ms

Counts
4 → 12
Calls
4 calls:
61.0ms
(- 2.0 (* 1.0 (pow x 2)))
42.0ms
(expm1 (fma (pow x 3) 0.6666666666666667 (- 2.0 (* 1.0 (pow x 2)))))
129.0ms
(log1p (expm1 (fma (pow x 3) 0.6666666666666667 (- 2.0 (* 1.0 (pow x 2))))))
39.0ms
(fma (pow x 3) 0.6666666666666667 (- 2.0 (* 1.0 (pow x 2))))

simplify85.0ms

Algorithm
egg-herbie
Counts
64 → 64
Iterations

Useful iterations: 3 (79.0ms)

IterNodesCost
0183427
1588373
22768369
35002344

prune182.0ms

Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 0.4b

regimes111.0ms

Accuracy

96.4% (0.6b remaining)

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

bsearch149.0ms

Steps
ItersRangePoint
9
0.011591005997014599
42925490.781275615
10.613056418230078

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04640
15240
25240

end0.0ms

sample3.0s

Algorithm
intervals
Results
838.0ms1950×body10240exit
751.0ms1669×body1280valid
596.0ms9991×body80valid
348.0ms1301×body640valid
115.0ms645×body320valid
35.0ms306×body160valid