Details

Time bar (total: 7.7s)

sample1.4s

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 63.708496%

Guaranteed chance to sample good point: 66.565758%

Results
31.0ms106×body320valid
24.0ms140×body160valid
3.0ms39×body80nan
1.0ms10×body80valid

simplify115.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: 31.7b

Counts
2 → 1

localize17.0ms

Local error

Found 4 expressions with local error:

9.6b
(cbrt (* (/ 1.0 (* 2.0 a)) (+ (neg g) (sqrt (- (* g g) (* h h))))))
11.2b
(cbrt (* (/ 1.0 (* 2.0 a)) (- (neg g) (sqrt (- (* g g) (* h h))))))
23.9b
(sqrt (- (* g g) (* h h)))
23.9b
(sqrt (- (* g g) (* h h)))

rewrite34.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:
13.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))))))
3.0ms
(sqrt (- (* g g) (* h h)))
4.0ms
(sqrt (- (* g g) (* h h)))

series141.0ms

Counts
4 → 12
Calls
4 calls:
64.0ms
(cbrt (* (/ 1.0 (* 2.0 a)) (+ (neg g) (sqrt (- (* g g) (* h h))))))
63.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)))

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

21 alts after pruning (21 fresh and 0 done)

PrunedKeptTotal
New512172
Fresh000
Picked101
Done000
Total522173

Merged error: 24.8b

Counts
73 → 21

localize19.0ms

Local error

Found 4 expressions with local error:

5.2b
(- (* g g) (* h h))
11.2b
(cbrt (* (/ 1.0 (* 2.0 a)) (- (neg g) (sqrt (- (* g g) (* h h))))))
23.9b
(sqrt (- (* g g) (* h h)))
23.9b
(sqrt (- (* g g) (* h h)))

rewrite25.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))))))
5.0ms
(sqrt (- (* g g) (* h h)))
4.0ms
(sqrt (- (* g g) (* h h)))

series84.0ms

Counts
4 → 12
Calls
4 calls:
6.0ms
(- (* g g) (* h h))
65.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)))

simplify35.0ms

Algorithm
egg-herbie
Counts
71 → 71
Iterations

Useful iterations: 2 (28.0ms)

IterNodesCost
0298574
11188540
25002536

prune238.0ms

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

23 alts after pruning (23 fresh and 0 done)

PrunedKeptTotal
New65671
Fresh31720
Picked101
Done000
Total692392

Merged error: 24.0b

Counts
92 → 23

localize19.0ms

Local error

Found 4 expressions with local error:

5.2b
(- (* g g) (* h h))
5.2b
(- (* g g) (* h h))
23.9b
(sqrt (- (* g g) (* h h)))
23.9b
(sqrt (- (* g g) (* h h)))

rewrite15.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt sqrt-prod add-log-exp
pow1 add-cube-cbrt *-un-lft-identity
add-exp-log flip3-- sqrt-div add-cbrt-cube flip-- difference-of-squares
sub-neg rem-sqrt-square sqrt-pow1 pow1/2 diff-log
Counts
4 → 58
Calls
4 calls:
3.0ms
(- (* g g) (* h h))
3.0ms
(- (* g g) (* h h))
3.0ms
(sqrt (- (* g g) (* h h)))
4.0ms
(sqrt (- (* g g) (* h h)))

series26.0ms

Counts
4 → 12
Calls
4 calls:
5.0ms
(- (* g g) (* h h))
5.0ms
(- (* g g) (* h h))
8.0ms
(sqrt (- (* g g) (* h h)))
7.0ms
(sqrt (- (* g g) (* h h)))

simplify47.0ms

Algorithm
egg-herbie
Counts
70 → 70
Iterations

Useful iterations: 3 (41.0ms)

IterNodesCost
0123378
1439350
21491350
35003348

prune222.0ms

Filtered
54 candidates to 70 candidates (-29.6%)
Pruning

22 alts after pruning (22 fresh and 0 done)

PrunedKeptTotal
New68270
Fresh22022
Picked101
Done000
Total712293

Merged error: 24.0b

Counts
93 → 22

localize20.0ms

Local error

Found 4 expressions with local error:

5.2b
(- (* g g) (* h h))
11.2b
(cbrt (* (/ 1.0 (* 2.0 a)) (- (neg g) (sqrt (- (* g g) (* h h))))))
23.9b
(sqrt (- (* g g) (* h h)))
23.9b
(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))
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)))
7.0ms
(sqrt (- (* g g) (* h h)))

simplify38.0ms

Algorithm
egg-herbie
Counts
71 → 71
Iterations

Useful iterations: 2 (30.0ms)

IterNodesCost
0298569
11198537
25002533

prune140.0ms

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

24 alts after pruning (24 fresh and 0 done)

PrunedKeptTotal
New67471
Fresh12021
Picked101
Done000
Total692493

Merged error: 24.0b

Counts
93 → 24

regimes1.1s

Accuracy

75.8% (0.9b remaining)

Error of 28.5b against oracle of 27.5b and baseline of 31.3b

bsearch117.0ms

Steps
ItersRangePoint
9
2.839898018927808e-166
4.849783335347699e-160
4.5627981868268464e-160

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04341
14841
24841

end0.0ms

sample3.4s

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 63.708496%

Guaranteed chance to sample good point: 66.565758%

Results
940.0ms3565×body320valid
747.0ms4186×body160valid
104.0ms1208×body80nan
24.0ms249×body80valid

Profiling

Loading profile data...