Details

Time bar (total: 7.0s)

sample1.1s

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 45.410156%

Guaranteed chance to sample good point: 83.184258%

Results
34.0ms117×body320valid
23.0ms132×body160valid
3.0ms29×body80nan
1.0msbody80valid

simplify116.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: 33.9b

Counts
2 → 1

localize17.0ms

Local error

Found 4 expressions with local error:

7.4b
(cbrt (* (/ 1.0 (* 2.0 a)) (- (neg g) (sqrt (- (* g g) (* h h))))))
8.7b
(cbrt (* (/ 1.0 (* 2.0 a)) (+ (neg g) (sqrt (- (* g g) (* h h))))))
26.5b
(sqrt (- (* g g) (* h h)))
26.5b
(sqrt (- (* g g) (* h h)))

rewrite36.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:
15.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)))
4.0ms
(sqrt (- (* g g) (* h h)))

series142.0ms

Counts
4 → 12
Calls
4 calls:
67.0ms
(cbrt (* (/ 1.0 (* 2.0 a)) (- (neg g) (sqrt (- (* g g) (* h h))))))
62.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
0386773
11381731
25002725

prune263.0ms

Filtered
66 candidates to 72 candidates (-9.1%)
Pruning

21 alts after pruning (21 fresh and 0 done)

PrunedKeptTotal
New512172
Fresh000
Picked101
Done000
Total522173

Merged error: 28.6b

Counts
73 → 21

localize18.0ms

Local error

Found 4 expressions with local error:

1.8b
(- (neg g) (sqrt (- (* g g) (* h h))))
8.7b
(cbrt (* (/ 1.0 (* 2.0 a)) (+ (neg g) (sqrt (- (* g g) (* h h))))))
26.5b
(sqrt (- (* g g) (* h h)))
26.5b
(sqrt (- (* g g) (* h h)))

rewrite31.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
add-exp-log sqrt-div add-cbrt-cube difference-of-squares
flip3-- flip--
frac-times rem-sqrt-square sqrt-pow1 flip3-+ pow1/2 diff-log associate-*r/ flip-+ 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)))
5.0ms
(sqrt (- (* g g) (* h h)))

series86.0ms

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

simplify40.0ms

Algorithm
egg-herbie
Counts
76 → 76
Iterations

Useful iterations: 2 (31.0ms)

IterNodesCost
0335666
11151629
25001620

prune260.0ms

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

24 alts after pruning (24 fresh and 0 done)

PrunedKeptTotal
New67976
Fresh51520
Picked101
Done000
Total732497

Merged error: 27.9b

Counts
97 → 24

localize19.0ms

Local error

Found 4 expressions with local error:

1.2b
(- (* g g) (* h h))
1.8b
(- (neg g) (sqrt (- (* g g) (* h h))))
26.5b
(sqrt (- (* g g) (* h h)))
26.5b
(sqrt (- (* g g) (* h h)))

rewrite21.0ms

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

simplify101.0ms

Algorithm
egg-herbie
Counts
75 → 75
Iterations

Useful iterations: 3 (94.0ms)

IterNodesCost
0190469
1775442
23391436
35001435

prune247.0ms

Filtered
58 candidates to 75 candidates (-29.3%)
Pruning

25 alts after pruning (25 fresh and 0 done)

PrunedKeptTotal
New72375
Fresh12223
Picked101
Done000
Total742599

Merged error: 27.8b

Counts
99 → 25

localize23.0ms

Local error

Found 4 expressions with local error:

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

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

series30.0ms

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

simplify56.0ms

Algorithm
egg-herbie
Counts
76 → 76
Iterations

Useful iterations: 4 (50.0ms)

IterNodesCost
097424
1239412
2579412
31808412
45001408

prune138.0ms

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

25 alts after pruning (24 fresh and 1 done)

PrunedKeptTotal
New76076
Fresh02424
Picked011
Done000
Total7625101

Merged error: 27.8b

Counts
101 → 25

regimes969.0ms

Accuracy

0% (1.5b remaining)

Error of 31.7b against oracle of 30.2b and baseline of 31.7b

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02940
12940

end0.0ms

sample3.2s

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 45.410156%

Guaranteed chance to sample good point: 83.184258%

Results
988.0ms3715×body320valid
737.0ms4141×body160valid
68.0ms764×body80nan
13.0ms144×body80valid

Profiling

Loading profile data...