Details

Time bar (total: 10.4s)

sample2.7s

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 45.410156%

Guaranteed chance to sample good point: 83.184258%

Results
36.0ms136×body320valid
19.0ms115×body160valid
2.0ms21×body80nan
0.0msbody80valid

simplify114.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
04321
112221
229921
359121
493121
5116221
6138821
7279821
8500121

prune4.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 34.8b

Counts
2 → 1

localize18.0ms

Local error

Found 4 expressions with local error:

7.1b
(cbrt (* (/ 1.0 (* 2.0 a)) (- (neg g) (sqrt (- (* g g) (* h h))))))
7.2b
(cbrt (* (/ 1.0 (* 2.0 a)) (+ (neg g) (sqrt (- (* g g) (* h h))))))
27.7b
(sqrt (- (* g g) (* h h)))
27.7b
(sqrt (- (* g g) (* h h)))

rewrite33.0ms

Algorithm
rewrite-expression-head
Rules
10×cbrt-div
add-sqr-sqrt sqrt-prod
pow1 add-cube-cbrt *-un-lft-identity
add-exp-log frac-times flip3-- sqrt-div associate-*r/ add-cbrt-cube flip-- add-log-exp
cbrt-prod rem-sqrt-square sqrt-pow1 flip3-+ pow1/2 pow1/3 associate-*l/ flip-+ difference-of-squares
Counts
4 → 60
Calls
4 calls:
11.0ms
(cbrt (* (/ 1.0 (* 2.0 a)) (- (neg g) (sqrt (- (* g g) (* h h))))))
13.0ms
(cbrt (* (/ 1.0 (* 2.0 a)) (+ (neg g) (sqrt (- (* g g) (* h h))))))
3.0ms
(sqrt (- (* g g) (* h h)))
4.0ms
(sqrt (- (* g g) (* h h)))

series135.0ms

Counts
4 → 12
Calls
4 calls:
61.0ms
(cbrt (* (/ 1.0 (* 2.0 a)) (- (neg g) (sqrt (- (* g g) (* h h))))))
61.0ms
(cbrt (* (/ 1.0 (* 2.0 a)) (+ (neg g) (sqrt (- (* g g) (* h h))))))
6.0ms
(sqrt (- (* g g) (* h h)))
7.0ms
(sqrt (- (* g g) (* h h)))

simplify42.0ms

Algorithm
egg-herbie
Counts
72 → 72
Iterations

Useful iterations: 2 (33.0ms)

IterNodesCost
0386766
11391724
25002718

prune264.0ms

Filtered
64 candidates to 72 candidates (-12.5%)
Pruning

20 alts after pruning (20 fresh and 0 done)

PrunedKeptTotal
New522072
Fresh000
Picked101
Done000
Total532073

Merged error: 29.8b

Counts
73 → 20

localize22.0ms

Local error

Found 4 expressions with local error:

3.6b
(- (* g g) (* h h))
7.2b
(cbrt (* (/ 1.0 (* 2.0 a)) (+ (neg g) (sqrt (- (* g g) (* h h))))))
27.7b
(sqrt (- (* g g) (* h h)))
27.7b
(sqrt (- (* g g) (* h h)))

rewrite23.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt sqrt-prod
pow1 add-cube-cbrt *-un-lft-identity add-log-exp
cbrt-div
add-exp-log sqrt-div add-cbrt-cube
flip3-- flip-- difference-of-squares
frac-times rem-sqrt-square sqrt-pow1 flip3-+ pow1/2 associate-*r/ flip-+
cbrt-prod sub-neg pow1/3 diff-log associate-*l/
Counts
4 → 59
Calls
4 calls:
3.0ms
(- (* g g) (* h h))
11.0ms
(cbrt (* (/ 1.0 (* 2.0 a)) (+ (neg g) (sqrt (- (* g g) (* h h))))))
3.0ms
(sqrt (- (* g g) (* h h)))
4.0ms
(sqrt (- (* g g) (* h h)))

series80.0ms

Counts
4 → 12
Calls
4 calls:
6.0ms
(- (* g g) (* h h))
61.0ms
(cbrt (* (/ 1.0 (* 2.0 a)) (+ (neg g) (sqrt (- (* g g) (* h h))))))
6.0ms
(sqrt (- (* g g) (* h h)))
6.0ms
(sqrt (- (* g g) (* h h)))

simplify39.0ms

Algorithm
egg-herbie
Counts
71 → 71
Iterations

Useful iterations: 2 (31.0ms)

IterNodesCost
0321569
11271537
25002533

prune238.0ms

Filtered
59 candidates to 71 candidates (-20.3%)
Pruning

21 alts after pruning (21 fresh and 0 done)

PrunedKeptTotal
New67471
Fresh21719
Picked101
Done000
Total702191

Merged error: 29.8b

Counts
91 → 21

localize20.0ms

Local error

Found 4 expressions with local error:

3.6b
(- (* g g) (* h h))
7.2b
(cbrt (* (/ 1.0 (* 2.0 a)) (+ (neg g) (sqrt (- (* g g) (* h h))))))
27.7b
(sqrt (- (* g g) (* h h)))
27.7b
(sqrt (- (* g g) (* h h)))

rewrite23.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt sqrt-prod
pow1 add-cube-cbrt *-un-lft-identity add-log-exp
cbrt-div
add-exp-log sqrt-div add-cbrt-cube
flip3-- flip-- difference-of-squares
frac-times rem-sqrt-square sqrt-pow1 flip3-+ pow1/2 associate-*r/ flip-+
cbrt-prod sub-neg pow1/3 diff-log associate-*l/
Counts
4 → 59
Calls
4 calls:
4.0ms
(- (* g g) (* h h))
11.0ms
(cbrt (* (/ 1.0 (* 2.0 a)) (+ (neg g) (sqrt (- (* g g) (* h h))))))
3.0ms
(sqrt (- (* g g) (* h h)))
4.0ms
(sqrt (- (* g g) (* h h)))

series81.0ms

Counts
4 → 12
Calls
4 calls:
6.0ms
(- (* g g) (* h h))
60.0ms
(cbrt (* (/ 1.0 (* 2.0 a)) (+ (neg g) (sqrt (- (* g g) (* h h))))))
8.0ms
(sqrt (- (* g g) (* h h)))
7.0ms
(sqrt (- (* g g) (* h h)))

simplify54.0ms

Algorithm
egg-herbie
Counts
71 → 71
Iterations

Useful iterations: 2 (44.0ms)

IterNodesCost
0321569
11271537
25002533

prune244.0ms

Filtered
59 candidates to 71 candidates (-20.3%)
Pruning

21 alts after pruning (21 fresh and 0 done)

PrunedKeptTotal
New68371
Fresh21820
Picked101
Done000
Total712192

Merged error: 29.8b

Counts
92 → 21

localize19.0ms

Local error

Found 4 expressions with local error:

3.6b
(- (* g g) (* h h))
7.1b
(cbrt (* (/ 1.0 (* 2.0 a)) (- (neg g) (sqrt (- (* g g) (* h h))))))
27.7b
(sqrt (- (* g g) (* h h)))
27.7b
(sqrt (- (* g g) (* h h)))

rewrite23.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt sqrt-prod
pow1 add-cube-cbrt *-un-lft-identity add-log-exp
cbrt-div flip3-- flip--
add-exp-log sqrt-div add-cbrt-cube
difference-of-squares
frac-times rem-sqrt-square sqrt-pow1 pow1/2 associate-*r/
cbrt-prod sub-neg pow1/3 diff-log associate-*l/
Counts
4 → 59
Calls
4 calls:
3.0ms
(- (* g g) (* h h))
11.0ms
(cbrt (* (/ 1.0 (* 2.0 a)) (- (neg g) (sqrt (- (* g g) (* h h))))))
4.0ms
(sqrt (- (* g g) (* h h)))
4.0ms
(sqrt (- (* g g) (* h h)))

series81.0ms

Counts
4 → 12
Calls
4 calls:
5.0ms
(- (* g g) (* h h))
63.0ms
(cbrt (* (/ 1.0 (* 2.0 a)) (- (neg g) (sqrt (- (* g g) (* h h))))))
6.0ms
(sqrt (- (* g g) (* h h)))
7.0ms
(sqrt (- (* g g) (* h h)))

simplify35.0ms

Algorithm
egg-herbie
Counts
71 → 71
Iterations

Useful iterations: 2 (28.0ms)

IterNodesCost
0298569
11198537
25002533

prune132.0ms

Filtered
59 candidates to 71 candidates (-20.3%)
Pruning

22 alts after pruning (22 fresh and 0 done)

PrunedKeptTotal
New67471
Fresh21820
Picked101
Done000
Total702292

Merged error: 29.8b

Counts
92 → 22

regimes1.0s

Accuracy

76.7% (0.8b remaining)

Error of 31.9b against oracle of 31.1b and baseline of 34.4b

bsearch115.0ms

Steps
ItersRangePoint
8
-2.031455930135948e-159
-1.3229742439565185e-163
-4.147186697393463e-162

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04237
14437
24437

end0.0ms

sample4.8s

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 45.410156%

Guaranteed chance to sample good point: 83.184258%

Results
963.0ms3790×body320valid
680.0ms4059×body160valid
65.0ms748×body80nan
13.0ms151×body80valid

Profiling

Loading profile data...