Details

Time bar (total: 7.5s)

sample1.3s

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 45.410156%

Guaranteed chance to sample good point: 78.957961%

Results
34.0ms135×body320valid
19.0ms116×body160valid
3.0ms31×body80nan
0.0msbody80valid

simplify115.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
04321
112221
229921
359121
493121
5116221
6138821
7279821
8500121

prune7.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 33.6b

Counts
2 → 1

localize18.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.6b
(cbrt (* (/ 1.0 (* 2.0 a)) (- (neg g) (sqrt (- (* g g) (* h h))))))
27.1b
(sqrt (- (* g g) (* h h)))
27.1b
(sqrt (- (* g g) (* h h)))

rewrite32.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))))))
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)))

series149.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)))

simplify42.0ms

Algorithm
egg-herbie
Counts
72 → 72
Iterations

Useful iterations: 2 (33.0ms)

IterNodesCost
0386766
11391724
25002718

prune262.0ms

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

19 alts after pruning (19 fresh and 0 done)

PrunedKeptTotal
New531972
Fresh000
Picked101
Done000
Total541973

Merged error: 29.0b

Counts
73 → 19

localize21.0ms

Local error

Found 4 expressions with local error:

2.4b
(- (neg g) (sqrt (- (* g g) (* h h))))
8.6b
(cbrt (* (/ 1.0 (* 2.0 a)) (- (neg g) (sqrt (- (* g g) (* h h))))))
27.1b
(sqrt (- (* g g) (* h h)))
27.1b
(sqrt (- (* g g) (* h h)))

rewrite28.0ms

Algorithm
rewrite-expression-head
Rules
12×add-sqr-sqrt
10×*-un-lft-identity
sqrt-prod
add-log-exp
pow1 add-cube-cbrt
cbrt-div flip3-- flip--
add-exp-log sqrt-div add-cbrt-cube difference-of-squares
frac-times rem-sqrt-square sqrt-pow1 pow1/2 diff-log associate-*r/ distribute-lft-out--
associate--l- cbrt-prod neg-sub0 sub-neg distribute-rgt-neg-in pow1/3 neg-log associate-*l/
Counts
4 → 64
Calls
4 calls:
8.0ms
(- (neg g) (sqrt (- (* 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)))

series91.0ms

Counts
4 → 12
Calls
4 calls:
9.0ms
(- (neg g) (sqrt (- (* 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)))
7.0ms
(sqrt (- (* g g) (* h h)))

simplify105.0ms

Algorithm
egg-herbie
Counts
76 → 76
Iterations

Useful iterations: 2 (27.0ms)

IterNodesCost
0303666
11038629
24433621
35001621

prune251.0ms

Filtered
63 candidates to 76 candidates (-20.6%)
Pruning

19 alts after pruning (19 fresh and 0 done)

PrunedKeptTotal
New71576
Fresh41418
Picked101
Done000
Total761995

Merged error: 28.7b

Counts
95 → 19

localize26.0ms

Local error

Found 4 expressions with local error:

27.1b
(sqrt (- (* g g) (* h h)))
27.1b
(sqrt (- (* g g) (* h h)))
27.1b
(sqrt (- (* g g) (* h h)))
27.1b
(sqrt (- (* g g) (* h h)))

rewrite16.0ms

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

series28.0ms

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

simplify58.0ms

Algorithm
egg-herbie
Counts
76 → 76
Iterations

Useful iterations: 4 (50.0ms)

IterNodesCost
097424
1239412
2579412
31808412
45001408

prune246.0ms

Filtered
64 candidates to 76 candidates (-18.8%)
Pruning

19 alts after pruning (19 fresh and 0 done)

PrunedKeptTotal
New74276
Fresh11718
Picked101
Done000
Total761995

Merged error: 28.7b

Counts
95 → 19

localize21.0ms

Local error

Found 4 expressions with local error:

2.4b
(- (neg g) (sqrt (- (* g g) (* h h))))
8.6b
(cbrt (* (/ 1.0 (* 2.0 a)) (- (neg g) (sqrt (- (* g g) (* h h))))))
27.1b
(sqrt (- (* g g) (* h h)))
27.1b
(sqrt (- (* g g) (* h h)))

rewrite29.0ms

Algorithm
rewrite-expression-head
Rules
12×add-sqr-sqrt
10×*-un-lft-identity
sqrt-prod
add-log-exp
pow1 add-cube-cbrt
cbrt-div flip3-- flip--
add-exp-log sqrt-div add-cbrt-cube difference-of-squares
frac-times rem-sqrt-square sqrt-pow1 pow1/2 diff-log associate-*r/ distribute-lft-out--
associate--l- cbrt-prod neg-sub0 sub-neg distribute-rgt-neg-in pow1/3 neg-log associate-*l/
Counts
4 → 64
Calls
4 calls:
9.0ms
(- (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)))
4.0ms
(sqrt (- (* g g) (* h h)))

series91.0ms

Counts
4 → 12
Calls
4 calls:
9.0ms
(- (neg g) (sqrt (- (* 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)))
7.0ms
(sqrt (- (* g g) (* h h)))

simplify120.0ms

Algorithm
egg-herbie
Counts
76 → 76
Iterations

Useful iterations: 2 (28.0ms)

IterNodesCost
0303666
11038629
24433621
35001621

prune138.0ms

Filtered
63 candidates to 76 candidates (-20.6%)
Pruning

19 alts after pruning (18 fresh and 1 done)

PrunedKeptTotal
New75176
Fresh11718
Picked011
Done000
Total761995

Merged error: 28.7b

Counts
95 → 19

regimes878.0ms

Accuracy

72.4% (0.8b remaining)

Error of 31.4b against oracle of 30.6b and baseline of 33.4b

bsearch114.0ms

Steps
ItersRangePoint
9
1.1033801189897902e-166
1.5006279306300244e-157
1.5924999051122437e-162

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04346
14546
24546

end0.0ms

sample3.3s

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 45.410156%

Guaranteed chance to sample good point: 78.957961%

Results
945.0ms3737×body320valid
695.0ms4125×body160valid
60.0ms731×body80nan
12.0ms138×body80valid

Profiling

Loading profile data...