Details

Time bar (total: 6.8s)

sample1.0s

Algorithm
intervals
sampling

Space saved by range analysis: 45.490083%

Space saved by search: 0.146413%

Guaranteed chance to sample good point: 0%

Results
27.0ms110×body320valid
26.0ms142×body160valid
1.0ms18×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: 35.0b

Counts
2 → 1

localize17.0ms

Local error

Found 4 expressions with local error:

7.9b
(cbrt (* (/ 1.0 (* 2.0 a)) (+ (neg g) (sqrt (- (* g g) (* h h))))))
8.1b
(cbrt (* (/ 1.0 (* 2.0 a)) (- (neg g) (sqrt (- (* g g) (* h h))))))
30.0b
(sqrt (- (* g g) (* h h)))
30.0b
(sqrt (- (* g g) (* h h)))

rewrite35.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:
12.0ms
(cbrt (* (/ 1.0 (* 2.0 a)) (+ (neg g) (sqrt (- (* g g) (* h h))))))
12.0ms
(cbrt (* (/ 1.0 (* 2.0 a)) (- (neg g) (sqrt (- (* g g) (* h h))))))
4.0ms
(sqrt (- (* g g) (* h h)))
6.0ms
(sqrt (- (* g g) (* h h)))

series148.0ms

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

simplify43.0ms

Algorithm
egg-herbie
Counts
72 → 72
Iterations

Useful iterations: 2 (33.0ms)

IterNodesCost
0386766
11391724
25002718

prune271.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: 31.8b

Counts
73 → 20

localize19.0ms

Local error

Found 4 expressions with local error:

3.4b
(- (* g g) (* h h))
7.9b
(cbrt (* (/ 1.0 (* 2.0 a)) (+ (neg g) (sqrt (- (* g g) (* h h))))))
30.0b
(sqrt (- (* g g) (* h h)))
30.0b
(sqrt (- (* g g) (* h h)))

rewrite24.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))
12.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)))

series86.0ms

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

simplify37.0ms

Algorithm
egg-herbie
Counts
71 → 71
Iterations

Useful iterations: 2 (30.0ms)

IterNodesCost
0321569
11271537
25002533

prune238.0ms

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

22 alts after pruning (22 fresh and 0 done)

PrunedKeptTotal
New67471
Fresh11819
Picked101
Done000
Total692291

Merged error: 31.7b

Counts
91 → 22

localize18.0ms

Local error

Found 4 expressions with local error:

3.4b
(- (* g g) (* h h))
8.1b
(cbrt (* (/ 1.0 (* 2.0 a)) (- (neg g) (sqrt (- (* g g) (* h h))))))
30.0b
(sqrt (- (* g g) (* h h)))
30.0b
(sqrt (- (* g g) (* h h)))

rewrite26.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:
4.0ms
(- (* g g) (* h h))
14.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)))

series89.0ms

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

simplify35.0ms

Algorithm
egg-herbie
Counts
71 → 71
Iterations

Useful iterations: 2 (28.0ms)

IterNodesCost
0298569
11198537
25002533

prune226.0ms

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

22 alts after pruning (21 fresh and 1 done)

PrunedKeptTotal
New71071
Fresh02121
Picked011
Done000
Total712293

Merged error: 31.7b

Counts
93 → 22

localize22.0ms

Local error

Found 4 expressions with local error:

3.4b
(- (* g g) (* h h))
8.1b
(cbrt (* (/ 1.0 (* 2.0 a)) (- (neg g) (sqrt (- (* g g) (* h h))))))
30.0b
(sqrt (- (* g g) (* h h)))
30.0b
(sqrt (- (* g g) (* h h)))

rewrite24.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:
4.0ms
(- (* g g) (* h h))
12.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)))

series90.0ms

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

simplify36.0ms

Algorithm
egg-herbie
Counts
71 → 71
Iterations

Useful iterations: 2 (28.0ms)

IterNodesCost
0298569
11198537
25002533

prune146.0ms

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

21 alts after pruning (20 fresh and 1 done)

PrunedKeptTotal
New68371
Fresh31720
Picked101
Done011
Total722193

Merged error: 31.7b

Counts
93 → 21

regimes889.0ms

Accuracy

78.9% (0.7b remaining)

Error of 31.8b against oracle of 31.1b and baseline of 34.3b

bsearch107.0ms

Steps
ItersRangePoint
8
2.0624178133855318e-162
1.5956763801875407e-159
1.2205975679263499e-161

simplify3.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04337
14837
25237
35537
45537

end0.0ms

sample3.1s

Algorithm
intervals
sampling

Space saved by range analysis: 45.490083%

Space saved by search: 0.146413%

Guaranteed chance to sample good point: 0%

Results
928.0ms3725×body320valid
884.0ms4123×body160valid
59.0ms718×body80nan
15.0ms152×body80valid

Profiling

Loading profile data...