Details

Time bar (total: 5.3s)

sample97.0ms

Algorithm
intervals
Results
28.0ms341×body80valid
27.0ms53×body1280valid
15.0ms45×body640valid
5.0ms75×body80overflowed
3.0ms11×body320valid
1.0msbody160valid

simplify40.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 4 (38.0ms)

IterNodesCost
04716
112416
236516
3137616
4500115

prune10.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: 27.2b

Counts
2 → 2

localize17.0ms

Local error

Found 4 expressions with local error:

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

rewrite32.0ms

Algorithm
rewrite-expression-head
Rules
18×*-un-lft-identity
16×add-sqr-sqrt
13×add-cbrt-cube
12×add-exp-log
10×add-cube-cbrt
associate-*l*
pow1
associate-*r*
expm1-log1p-u times-frac associate-*l/ log1p-expm1-u associate-/l* add-log-exp
prod-exp cbrt-unprod distribute-lft-out
cbrt-undiv flip3-+ div-exp pow-prod-down *-commutative flip-+ associate-/l/ unswap-sqr
flip3-- frac-2neg clear-num associate-/r* flip-- fma-udef div-inv distribute-lft-out-- difference-of-squares
Counts
4 → 84
Calls
4 calls:
10.0ms
(* (- 1.0 eps) x)
6.0ms
(* (+ 1.0 eps) x)
12.0ms
(/ (+ 1.0 (/ 1.0 eps)) (* 2.0 (exp (* (- 1.0 eps) x))))
1.0ms
(fma (/ (exp (- (* (+ 1.0 eps) x))) 2.0) (- 1.0 (/ 1.0 eps)) (/ (+ 1.0 (/ 1.0 eps)) (* 2.0 (exp (* (- 1.0 eps) x)))))

series346.0ms

Counts
4 → 12
Calls
4 calls:
33.0ms
(* (- 1.0 eps) x)
26.0ms
(* (+ 1.0 eps) x)
48.0ms
(/ (+ 1.0 (/ 1.0 eps)) (* 2.0 (exp (* (- 1.0 eps) x))))
239.0ms
(fma (/ (exp (- (* (+ 1.0 eps) x))) 2.0) (- 1.0 (/ 1.0 eps)) (/ (+ 1.0 (/ 1.0 eps)) (* 2.0 (exp (* (- 1.0 eps) x)))))

simplify50.0ms

Algorithm
egg-herbie
Counts
96 → 96
Iterations

Useful iterations: 2 (41.0ms)

IterNodesCost
0462738
11805635
25002628

prune299.0ms

Filtered
96 candidates to 72 candidates (75.0%)
Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New91596
Fresh101
Picked101
Done000
Total93598

Merged error: 5.7b

Counts
98 → 5

localize10.0ms

Local error

Found 3 expressions with local error:

0.0b
(* 0.5 (pow x 2))
3.8b
(fma 1.3877787807814457e-17 (/ (pow x 3) eps) (- 1.0 (* 0.5 (pow x 2))))
4.2b
(/ (pow x 3) eps)

rewrite19.0ms

Algorithm
rewrite-expression-head
Rules
37×add-sqr-sqrt
36×times-frac
31×add-cube-cbrt *-un-lft-identity
16×unpow-prod-down
13×add-exp-log
12×cube-prod associate-/l*
associate-*r*
add-cbrt-cube
sqr-pow
cube-mult unpow3 unswap-sqr
pow1 expm1-log1p-u div-exp associate-*l* prod-exp associate-/r* log1p-expm1-u add-log-exp
pow-to-exp pow-exp unpow2
cbrt-undiv frac-2neg clear-num *-commutative cbrt-unprod fma-udef div-inv
Counts
3 → 106
Calls
3 calls:
9.0ms
(* 0.5 (pow x 2))
1.0ms
(fma 1.3877787807814457e-17 (/ (pow x 3) eps) (- 1.0 (* 0.5 (pow x 2))))
6.0ms
(/ (pow x 3) eps)

series98.0ms

Counts
3 → 9
Calls
3 calls:
30.0ms
(* 0.5 (pow x 2))
46.0ms
(fma 1.3877787807814457e-17 (/ (pow x 3) eps) (- 1.0 (* 0.5 (pow x 2))))
22.0ms
(/ (pow x 3) eps)

simplify61.0ms

Algorithm
egg-herbie
Counts
115 → 115
Iterations

Useful iterations: 2 (52.0ms)

IterNodesCost
0305506
11561465
25001451

prune251.0ms

Filtered
115 candidates to 66 candidates (57.4%)
Pruning

13 alts after pruning (13 fresh and 0 done)

PrunedKeptTotal
New1069115
Fresh044
Picked101
Done000
Total10713120

Merged error: 5.7b

Counts
120 → 13

localize14.0ms

Local error

Found 4 expressions with local error:

0.9b
(/ (* (cbrt (pow x 3)) (cbrt (pow x 3))) (/ eps x))
3.8b
(fma 1.3877787807814457e-17 (/ (* (cbrt (pow x 3)) (cbrt (pow x 3))) (/ eps x)) (- 1.0 (* 0.5 (pow x 2))))
43.3b
(cbrt (pow x 3))
43.3b
(cbrt (pow x 3))

rewrite20.0ms

Algorithm
rewrite-expression-head
Rules
31×times-frac
24×cbrt-prod add-sqr-sqrt add-cube-cbrt *-un-lft-identity
16×add-exp-log
13×associate-/r*
12×add-cbrt-cube
cbrt-undiv unpow-prod-down cube-prod div-exp
pow1 expm1-log1p-u log1p-expm1-u add-log-exp
div-inv
cube-mult pow1/3 unpow3 prod-exp rem-cbrt-cube cbrt-unprod sqr-pow
frac-2neg clear-num associate-/r/ fma-udef associate-/l*
Counts
4 → 104
Calls
4 calls:
11.0ms
(/ (* (cbrt (pow x 3)) (cbrt (pow x 3))) (/ eps x))
1.0ms
(fma 1.3877787807814457e-17 (/ (* (cbrt (pow x 3)) (cbrt (pow x 3))) (/ eps x)) (- 1.0 (* 0.5 (pow x 2))))
2.0ms
(cbrt (pow x 3))
2.0ms
(cbrt (pow x 3))

series173.0ms

Counts
4 → 12
Calls
4 calls:
55.0ms
(/ (* (cbrt (pow x 3)) (cbrt (pow x 3))) (/ eps x))
85.0ms
(fma 1.3877787807814457e-17 (/ (* (cbrt (pow x 3)) (cbrt (pow x 3))) (/ eps x)) (- 1.0 (* 0.5 (pow x 2))))
15.0ms
(cbrt (pow x 3))
17.0ms
(cbrt (pow x 3))

simplify86.0ms

Algorithm
egg-herbie
Counts
116 → 116
Iterations

Useful iterations: 2 (77.0ms)

IterNodesCost
0388603
12652494
25002480

prune297.0ms

Filtered
116 candidates to 79 candidates (68.1%)
Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New1133116
Fresh7512
Picked101
Done000
Total1218129

Merged error: 2.1b

Counts
129 → 8

localize21.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ (* (cbrt (pow x 3)) (log (exp x))) (/ eps x))
3.2b
(log (exp x))
3.6b
(fma 1.3877787807814457e-17 (/ (* (cbrt (pow x 3)) (log (exp x))) (/ eps x)) (- 1.0 (* 0.5 (pow x 2))))
43.3b
(cbrt (pow x 3))

rewrite19.0ms

Algorithm
rewrite-expression-head
Rules
31×times-frac
23×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
16×add-exp-log
14×add-cbrt-cube
13×associate-/r*
12×cbrt-prod
cbrt-undiv div-exp
pow1
expm1-log1p-u log-pow log1p-expm1-u add-log-exp
unpow-prod-down log-prod exp-prod cube-prod div-inv
prod-exp cbrt-unprod
cube-mult frac-2neg pow1/3 unpow3 rem-log-exp clear-num associate-/r/ rem-cbrt-cube fma-udef associate-/l* sqr-pow
Counts
4 → 98
Calls
4 calls:
10.0ms
(/ (* (cbrt (pow x 3)) (log (exp x))) (/ eps x))
2.0ms
(log (exp x))
1.0ms
(fma 1.3877787807814457e-17 (/ (* (cbrt (pow x 3)) (log (exp x))) (/ eps x)) (- 1.0 (* 0.5 (pow x 2))))
3.0ms
(cbrt (pow x 3))

series144.0ms

Counts
4 → 12
Calls
4 calls:
43.0ms
(/ (* (cbrt (pow x 3)) (log (exp x))) (/ eps x))
8.0ms
(log (exp x))
77.0ms
(fma 1.3877787807814457e-17 (/ (* (cbrt (pow x 3)) (log (exp x))) (/ eps x)) (- 1.0 (* 0.5 (pow x 2))))
16.0ms
(cbrt (pow x 3))

simplify89.0ms

Algorithm
egg-herbie
Counts
110 → 110
Iterations

Useful iterations: 2 (75.0ms)

IterNodesCost
0432605
12783478
25002464

prune279.0ms

Filtered
110 candidates to 79 candidates (71.8%)
Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New1082110
Fresh347
Picked101
Done000
Total1126118

Merged error: 2.1b

Counts
118 → 6

regimes92.0ms

Accuracy

96.2% (0.6b remaining)

Error of 2.2b against oracle of 1.6b and baseline of 17.8b

bsearch2.0ms

Steps
ItersRangePoint
0
6.262145176279688e-07
6.47571746699048e-07
6.368931321635083e-07

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
05350
15950
25950

end0.0ms

sample2.7s

Algorithm
intervals
Results
925.0ms1729×body1280valid
745.0ms10160×body80valid
420.0ms1288×body640valid
142.0ms1986×body80overflowed
138.0ms618×body320valid
52.0ms336×body160valid

Profiling

Loading profile data...