Details

Time bar (total: 6.6s)

sample95.0ms

Algorithm
intervals
Results
25.0ms58×body1280valid
22.0ms58×body10240exit
16.0ms295×body80valid
8.0ms33×body640valid
7.0ms25×body320valid
0.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: 27.9b

Counts
2 → 2

localize19.0ms

Local error

Found 4 expressions with local error:

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

rewrite28.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:
13.0ms
(/ (+ 1.0 (/ 1.0 eps)) (* 2.0 (exp (* (- 1.0 eps) x))))
6.0ms
(* (- 1.0 eps) x)
6.0ms
(* (+ 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)))))

series338.0ms

Counts
4 → 12
Calls
4 calls:
47.0ms
(/ (+ 1.0 (/ 1.0 eps)) (* 2.0 (exp (* (- 1.0 eps) x))))
27.0ms
(* (- 1.0 eps) x)
26.0ms
(* (+ 1.0 eps) x)
237.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)))))

simplify49.0ms

Algorithm
egg-herbie
Counts
96 → 96
Iterations

Useful iterations: 2 (40.0ms)

IterNodesCost
0462738
11805635
25003628

prune289.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: 3.9b

Counts
98 → 5

localize10.0ms

Local error

Found 3 expressions with local error:

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

rewrite15.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:
5.0ms
(* 0.5 (pow x 2))
1.0ms
(fma 1.3877787807814457e-17 (/ (pow x 3) eps) (- 1.0 (* 0.5 (pow x 2))))
5.0ms
(/ (pow x 3) eps)

series94.0ms

Counts
3 → 9
Calls
3 calls:
24.0ms
(* 0.5 (pow x 2))
50.0ms
(fma 1.3877787807814457e-17 (/ (pow x 3) eps) (- 1.0 (* 0.5 (pow x 2))))
20.0ms
(/ (pow x 3) eps)

simplify60.0ms

Algorithm
egg-herbie
Counts
115 → 115
Iterations

Useful iterations: 2 (51.0ms)

IterNodesCost
0305506
11561465
25001451

prune227.0ms

Filtered
115 candidates to 66 candidates (57.4%)
Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New1105115
Fresh044
Picked101
Done000
Total1119120

Merged error: 3.9b

Counts
120 → 9

localize13.0ms

Local error

Found 4 expressions with local error:

0.6b
(cbrt x)
0.6b
(cbrt x)
1.1b
(/ (pow (* (cbrt x) (cbrt x)) 3) (/ eps x))
3.6b
(fma 1.3877787807814457e-17 (/ (pow (* (cbrt x) (cbrt x)) 3) (/ eps x)) (- 1.0 (* 0.5 (pow x 2))))

rewrite19.0ms

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

series484.0ms

Counts
4 → 12
Calls
4 calls:
179.0ms
(cbrt x)
180.0ms
(cbrt x)
51.0ms
(/ (pow (* (cbrt x) (cbrt x)) 3) (/ eps x))
74.0ms
(fma 1.3877787807814457e-17 (/ (pow (* (cbrt x) (cbrt x)) 3) (/ eps x)) (- 1.0 (* 0.5 (pow x 2))))

simplify161.0ms

Algorithm
egg-herbie
Counts
196 → 196
Iterations

Useful iterations: 2 (137.0ms)

IterNodesCost
07211771
143251200
250011152

prune496.0ms

Filtered
196 candidates to 136 candidates (69.4%)
Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New1942196
Fresh448
Picked101
Done000
Total1996205

Merged error: 2.6b

Counts
205 → 6

localize17.0ms

Local error

Found 4 expressions with local error:

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

rewrite7.0ms

Algorithm
rewrite-expression-head
Rules
cbrt-prod add-sqr-sqrt add-cube-cbrt *-un-lft-identity
log-pow
exp-prod
pow1
add-exp-log expm1-log1p-u add-cbrt-cube log1p-expm1-u add-log-exp
log-prod
pow1/3
rem-log-exp fma-udef
Counts
4 → 56
Calls
4 calls:
1.0ms
(cbrt x)
1.0ms
(cbrt x)
1.0ms
(fma 1.3877787807814457e-17 (/ (pow (* (cbrt x) (log (exp (cbrt x)))) 3) (/ eps x)) (- 1.0 (* 0.5 (pow x 2))))
3.0ms
(log (exp (cbrt x)))

series757.0ms

Counts
4 → 12
Calls
4 calls:
315.0ms
(cbrt x)
185.0ms
(cbrt x)
73.0ms
(fma 1.3877787807814457e-17 (/ (pow (* (cbrt x) (log (exp (cbrt x)))) 3) (/ eps x)) (- 1.0 (* 0.5 (pow x 2))))
183.0ms
(log (exp (cbrt x)))

simplify61.0ms

Algorithm
egg-herbie
Counts
68 → 68
Iterations

Useful iterations: 2 (13.0ms)

IterNodesCost
0139339
1329286
21862275
35001275

prune224.0ms

Filtered
68 candidates to 59 candidates (86.8%)
Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New66268
Fresh055
Picked101
Done000
Total67774

Merged error: 2.6b

Counts
74 → 7

regimes127.0ms

Accuracy

96.1% (0.6b remaining)

Error of 4.2b against oracle of 3.6b and baseline of 20.0b

bsearch156.0ms

Steps
ItersRangePoint
10
4.1340642299952195e-15
108.10498260228141
65.50693203954515

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
05143
15743
25743

end0.0ms

sample2.8s

Algorithm
intervals
Results
799.0ms1999×body10240exit
735.0ms1693×body1280valid
544.0ms10017×body80valid
323.0ms1279×body640valid
106.0ms644×body320valid
38.0ms294×body160valid

Profiling

Loading profile data...