Details

Time bar (total: 6.9s)

sample58.0ms

Algorithm
intervals
Results
19.0ms368×body80valid
16.0ms364×body80nan

simplify59.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 4 (18.0ms)

IterNodesCost
04012
19212
226912
366912
4156511
5285511
6500111

prune12.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: 8.1b

Counts
2 → 2

localize16.0ms

Local error

Found 4 expressions with local error:

0.0b
(* (+ y 0.0007936500793651) z)
0.1b
(* (- (* (+ y 0.0007936500793651) z) 0.0027777777777778) z)
0.1b
(fma (log x) (- x 0.5) (- (/ (+ (* (- (* (+ y 0.0007936500793651) z) 0.0027777777777778) z) 0.083333333333333) x) (- x 0.91893853320467)))
7.5b
(/ (+ (* (- (* (+ y 0.0007936500793651) z) 0.0027777777777778) z) 0.083333333333333) x)

rewrite30.0ms

Algorithm
rewrite-expression-head
Rules
20×add-sqr-sqrt
18×*-un-lft-identity
16×add-cube-cbrt
10×add-exp-log add-cbrt-cube
times-frac
pow1
associate-*l*
associate-*r*
expm1-log1p-u associate-*l/ log1p-expm1-u add-log-exp
associate-/r* associate-/l*
flip3-+ pow-prod-down prod-exp *-commutative cbrt-unprod flip-+ associate-/l/ unswap-sqr
cbrt-undiv flip3-- frac-2neg div-exp clear-num flip-- fma-udef div-inv distribute-lft-out
Counts
4 → 86
Calls
4 calls:
7.0ms
(* (+ y 0.0007936500793651) z)
8.0ms
(* (- (* (+ y 0.0007936500793651) z) 0.0027777777777778) z)
1.0ms
(fma (log x) (- x 0.5) (- (/ (+ (* (- (* (+ y 0.0007936500793651) z) 0.0027777777777778) z) 0.083333333333333) x) (- x 0.91893853320467)))
11.0ms
(/ (+ (* (- (* (+ y 0.0007936500793651) z) 0.0027777777777778) z) 0.083333333333333) x)

series272.0ms

Counts
4 → 12
Calls
4 calls:
27.0ms
(* (+ y 0.0007936500793651) z)
41.0ms
(* (- (* (+ y 0.0007936500793651) z) 0.0027777777777778) z)
120.0ms
(fma (log x) (- x 0.5) (- (/ (+ (* (- (* (+ y 0.0007936500793651) z) 0.0027777777777778) z) 0.083333333333333) x) (- x 0.91893853320467)))
84.0ms
(/ (+ (* (- (* (+ y 0.0007936500793651) z) 0.0027777777777778) z) 0.083333333333333) x)

simplify53.0ms

Algorithm
egg-herbie
Counts
98 → 98
Iterations

Useful iterations: 2 (44.0ms)

IterNodesCost
0446778
11546696
25002694

prune337.0ms

Filtered
98 candidates to 79 candidates (80.6%)
Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New92698
Fresh011
Picked101
Done000
Total937100

Merged error: 5.0b

Counts
100 → 7

localize17.0ms

Local error

Found 4 expressions with local error:

0.1b
(- (* (- x 0.5) (log x)) x)
0.2b
(* (- x 0.5) (log x))
0.2b
(+ (- (* (- x 0.5) (log x)) x) 0.91893853320467)
7.5b
(/ (+ (* (- (* (+ y 0.0007936500793651) z) 0.0027777777777778) z) 0.083333333333333) x)

rewrite40.0ms

Algorithm
rewrite-expression-head
Rules
27×add-sqr-sqrt *-un-lft-identity
23×add-cube-cbrt
18×log-prod
12×associate--l+
11×associate-+l+ add-log-exp
distribute-rgt-in distribute-lft-in times-frac
add-exp-log add-cbrt-cube
pow1
prod-diff
associate-*l*
expm1-log1p-u associate-*r* log1p-expm1-u
fma-def associate-/r* associate-/l*
sub-neg flip3-- flip3-+ diff-log associate-*l/ sum-log flip-- flip-+ associate-/l/
cbrt-undiv +-commutative associate-+l- frac-2neg fma-neg div-exp pow-prod-down prod-exp clear-num log-pow *-commutative cbrt-unprod div-inv distribute-lft-out distribute-lft-out-- difference-of-squares unswap-sqr
Counts
4 → 116
Calls
4 calls:
7.0ms
(- (* (- x 0.5) (log x)) x)
7.0ms
(* (- x 0.5) (log x))
11.0ms
(+ (- (* (- x 0.5) (log x)) x) 0.91893853320467)
12.0ms
(/ (+ (* (- (* (+ y 0.0007936500793651) z) 0.0027777777777778) z) 0.083333333333333) x)

series1.2s

Counts
4 → 12
Calls
4 calls:
421.0ms
(- (* (- x 0.5) (log x)) x)
251.0ms
(* (- x 0.5) (log x))
422.0ms
(+ (- (* (- x 0.5) (log x)) x) 0.91893853320467)
83.0ms
(/ (+ (* (- (* (+ y 0.0007936500793651) z) 0.0027777777777778) z) 0.083333333333333) x)

simplify69.0ms

Algorithm
egg-herbie
Counts
128 → 128
Iterations

Useful iterations: 2 (57.0ms)

IterNodesCost
0576925
12275825
25001802

prune394.0ms

Filtered
128 candidates to 102 candidates (79.7%)
Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New1253128
Fresh156
Picked011
Done000
Total1269135

Merged error: 5.0b

Counts
135 → 9

localize28.0ms

Local error

Found 4 expressions with local error:

0.6b
(cbrt x)
0.6b
(cbrt x)
0.6b
(cbrt x)
7.5b
(/ (+ (* (- (* (+ y 0.0007936500793651) z) 0.0027777777777778) z) 0.083333333333333) x)

rewrite16.0ms

Algorithm
rewrite-expression-head
Rules
15×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
cbrt-prod times-frac
add-exp-log add-cbrt-cube
pow1 expm1-log1p-u log1p-expm1-u add-log-exp
pow1/3 associate-/r* associate-/l*
associate-/l/
cbrt-undiv frac-2neg flip3-+ div-exp clear-num flip-+ div-inv
Counts
4 → 70
Calls
4 calls:
1.0ms
(cbrt x)
1.0ms
(cbrt x)
1.0ms
(cbrt x)
11.0ms
(/ (+ (* (- (* (+ y 0.0007936500793651) z) 0.0027777777777778) z) 0.083333333333333) x)

series623.0ms

Counts
4 → 12
Calls
4 calls:
182.0ms
(cbrt x)
178.0ms
(cbrt x)
177.0ms
(cbrt x)
85.0ms
(/ (+ (* (- (* (+ y 0.0007936500793651) z) 0.0027777777777778) z) 0.083333333333333) x)

simplify105.0ms

Algorithm
egg-herbie
Counts
82 → 82
Iterations

Useful iterations: 3 (98.0ms)

IterNodesCost
0223484
1699441
23468432
35001425

prune378.0ms

Filtered
82 candidates to 72 candidates (87.8%)
Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New81182
Fresh077
Picked101
Done011
Total82991

Merged error: 5.0b

Counts
91 → 9

localize19.0ms

Local error

Found 4 expressions with local error:

0.1b
(fma (log x) (- x 0.5) (- (* (/ 1 (sqrt x)) (/ (+ (* (- (* (+ y 0.0007936500793651) z) 0.0027777777777778) z) 0.083333333333333) (sqrt x))) (- x 0.91893853320467)))
0.3b
(/ 1 (sqrt x))
2.7b
(/ (+ (* (- (* (+ y 0.0007936500793651) z) 0.0027777777777778) z) 0.083333333333333) (sqrt x))
5.2b
(* (/ 1 (sqrt x)) (/ (+ (* (- (* (+ y 0.0007936500793651) z) 0.0027777777777778) z) 0.083333333333333) (sqrt x)))

rewrite47.0ms

Algorithm
rewrite-expression-head
Rules
106×add-sqr-sqrt
94×times-frac
66×*-un-lft-identity
60×add-cube-cbrt
53×sqrt-prod
32×add-exp-log
22×associate-*r* associate-*l*
20×add-cbrt-cube
15×unswap-sqr
12×associate-/r*
11×div-exp
pow1 prod-exp
cbrt-undiv associate-/l*
expm1-log1p-u cbrt-unprod log1p-expm1-u div-inv add-log-exp
rec-exp pow-flip 1-exp
frac-2neg clear-num associate-/l/
frac-times sqrt-pow1 flip3-+ pow1/2 associate-*r/ pow-prod-down associate-*l/ *-commutative flip-+ fma-udef inv-pow
Counts
4 → 185
Calls
4 calls:
1.0ms
(fma (log x) (- x 0.5) (- (* (/ 1 (sqrt x)) (/ (+ (* (- (* (+ y 0.0007936500793651) z) 0.0027777777777778) z) 0.083333333333333) (sqrt x))) (- x 0.91893853320467)))
4.0ms
(/ 1 (sqrt x))
12.0ms
(/ (+ (* (- (* (+ y 0.0007936500793651) z) 0.0027777777777778) z) 0.083333333333333) (sqrt x))
23.0ms
(* (/ 1 (sqrt x)) (/ (+ (* (- (* (+ y 0.0007936500793651) z) 0.0027777777777778) z) 0.083333333333333) (sqrt x)))

series350.0ms

Counts
4 → 12
Calls
4 calls:
150.0ms
(fma (log x) (- x 0.5) (- (* (/ 1 (sqrt x)) (/ (+ (* (- (* (+ y 0.0007936500793651) z) 0.0027777777777778) z) 0.083333333333333) (sqrt x))) (- x 0.91893853320467)))
32.0ms
(/ 1 (sqrt x))
82.0ms
(/ (+ (* (- (* (+ y 0.0007936500793651) z) 0.0027777777777778) z) 0.083333333333333) (sqrt x))
87.0ms
(* (/ 1 (sqrt x)) (/ (+ (* (- (* (+ y 0.0007936500793651) z) 0.0027777777777778) z) 0.083333333333333) (sqrt x)))

simplify101.0ms

Algorithm
egg-herbie
Counts
197 → 197
Iterations

Useful iterations: 2 (74.0ms)

IterNodesCost
07602321
141782033
250021974

prune566.0ms

Filtered
197 candidates to 126 candidates (64.0%)
Pruning

9 alts after pruning (7 fresh and 2 done)

PrunedKeptTotal
New1970197
Fresh077
Picked011
Done011
Total1979206

Merged error: 5.0b

Counts
206 → 9

regimes441.0ms

Accuracy

87.4% (0.3b remaining)

Error of 4.0b against oracle of 3.7b and baseline of 5.9b

bsearch73.0ms

Steps
ItersRangePoint
8
1427003492276683.8
6.894671294818966e+17
7.240040559233888e+16

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04322
14322

end0.0ms

sample1.6s

Algorithm
intervals
Results
601.0ms11692×body80valid
533.0ms11815×body80nan