Details

Time bar (total: 5.6s)

analyze1.3s

Algorithm
search
sampling

Space saved by range analysis: 51.36237%

Space saved by search: 51.36237%

Guaranteed chance to sample good point: 74.54834%

sample42.0ms

Algorithm
intervals
Results
10.0ms191×body80valid
9.0ms27×body2560valid
7.0ms25×body1280valid
4.0ms256×pre80true
1.0msbody640valid
1.0msbody320valid
0.0msbody160valid

simplify8.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0279
1349
2389
3409
4419
5419

prune6.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 13.2b

Counts
2 → 1

localize11.0ms

Local error

Found 4 expressions with local error:

0.0b
(sqrt (* 0.5 (+ 1.0 (/ x (sqrt (+ (* (* 4.0 p) p) (* x x)))))))
0.0b
(/ x (sqrt (+ (* (* 4.0 p) p) (* x x))))
1.3b
(+ 1.0 (/ x (sqrt (+ (* (* 4.0 p) p) (* x x)))))
13.0b
(sqrt (+ (* (* 4.0 p) p) (* x x)))

rewrite37.0ms

Algorithm
rewrite-expression-head
Rules
22×*-un-lft-identity
21×add-sqr-sqrt
20×add-cube-cbrt
18×times-frac
16×sqrt-prod
pow1
add-exp-log sqrt-div associate-/r* add-cbrt-cube add-log-exp
flip3-+ flip-+
sqrt-pow1 associate-/l*
pow1/2 associate-*r/ associate-/r/
cbrt-undiv +-commutative rem-sqrt-square frac-2neg div-exp pow-prod-down clear-num sum-log div-inv distribute-lft-out
Counts
4 → 81
Calls
4 calls:
12.0ms
(sqrt (* 0.5 (+ 1.0 (/ x (sqrt (+ (* (* 4.0 p) p) (* x x)))))))
7.0ms
(/ x (sqrt (+ (* (* 4.0 p) p) (* x x))))
11.0ms
(+ 1.0 (/ x (sqrt (+ (* (* 4.0 p) p) (* x x)))))
5.0ms
(sqrt (+ (* (* 4.0 p) p) (* x x)))

series60.0ms

Counts
4 → 12
Calls
4 calls:
32.0ms
(sqrt (* 0.5 (+ 1.0 (/ x (sqrt (+ (* (* 4.0 p) p) (* x x)))))))
9.0ms
(/ x (sqrt (+ (* (* 4.0 p) p) (* x x))))
11.0ms
(+ 1.0 (/ x (sqrt (+ (* (* 4.0 p) p) (* x x)))))
8.0ms
(sqrt (+ (* (* 4.0 p) p) (* x x)))

simplify71.0ms

Algorithm
egg-herbie
Counts
93 → 93
Iterations

Useful iterations: 3 (62.0ms)

IterNodesCost
0280888
1816840
22486828
35001827

prune198.0ms

Filtered
71 candidates to 93 candidates (-31.0%)
Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New831093
Fresh000
Picked101
Done000
Total841094

Merged error: 13.0b

Counts
94 → 10

localize14.0ms

Local error

Found 4 expressions with local error:

0.0b
(pow (+ 1.0 (/ x (sqrt (+ (* (* 4.0 p) p) (* x x))))) 3)
0.0b
(cbrt (pow (+ 1.0 (/ x (sqrt (+ (* (* 4.0 p) p) (* x x))))) 3))
1.3b
(+ 1.0 (/ x (sqrt (+ (* (* 4.0 p) p) (* x x)))))
13.0b
(sqrt (+ (* (* 4.0 p) p) (* x x)))

rewrite42.0ms

Algorithm
rewrite-expression-head
Rules
21×*-un-lft-identity
14×cbrt-prod
12×add-sqr-sqrt
11×add-cube-cbrt
unpow-prod-down cube-prod
pow1 add-log-exp
add-exp-log add-cbrt-cube distribute-lft-out
cube-div flip3-+ flip-+
pow-unpow sqrt-prod
cube-mult cbrt-div sqrt-div unpow3 sqr-pow
+-commutative pow-to-exp rem-sqrt-square pow-pow sqrt-pow1 pow1/2 pow1/3 pow-exp sum-log rem-cbrt-cube rem-cube-cbrt
Counts
4 → 79
Calls
4 calls:
12.0ms
(pow (+ 1.0 (/ x (sqrt (+ (* (* 4.0 p) p) (* x x))))) 3)
12.0ms
(cbrt (pow (+ 1.0 (/ x (sqrt (+ (* (* 4.0 p) p) (* x x))))) 3))
11.0ms
(+ 1.0 (/ x (sqrt (+ (* (* 4.0 p) p) (* x x)))))
5.0ms
(sqrt (+ (* (* 4.0 p) p) (* x x)))

series55.0ms

Counts
4 → 12
Calls
4 calls:
23.0ms
(pow (+ 1.0 (/ x (sqrt (+ (* (* 4.0 p) p) (* x x))))) 3)
12.0ms
(cbrt (pow (+ 1.0 (/ x (sqrt (+ (* (* 4.0 p) p) (* x x))))) 3))
11.0ms
(+ 1.0 (/ x (sqrt (+ (* (* 4.0 p) p) (* x x)))))
9.0ms
(sqrt (+ (* (* 4.0 p) p) (* x x)))

simplify41.0ms

Algorithm
egg-herbie
Counts
91 → 91
Iterations

Useful iterations: 2 (30.0ms)

IterNodesCost
0271923
11077868
25002862

prune181.0ms

Filtered
61 candidates to 91 candidates (-49.2%)
Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New88391
Fresh369
Picked101
Done000
Total929101

Merged error: 13.0b

Counts
101 → 9

localize15.0ms

Local error

Found 4 expressions with local error:

1.3b
(+ 1.0 (/ x (sqrt (+ (* (* 4.0 p) p) (* x x)))))
13.0b
(sqrt (+ (* (* 4.0 p) p) (* x x)))
13.0b
(sqrt (+ (* (* 4.0 p) p) (* x x)))
13.0b
(sqrt (+ (* (* 4.0 p) p) (* x x)))

rewrite26.0ms

Algorithm
rewrite-expression-head
Rules
10×add-sqr-sqrt
*-un-lft-identity sqrt-prod
pow1 add-cube-cbrt
sqrt-div add-log-exp
add-exp-log flip3-+ add-cbrt-cube flip-+
rem-sqrt-square sqrt-pow1 pow1/2
+-commutative sum-log distribute-lft-out
Counts
4 → 57
Calls
4 calls:
11.0ms
(+ 1.0 (/ x (sqrt (+ (* (* 4.0 p) p) (* x x)))))
5.0ms
(sqrt (+ (* (* 4.0 p) p) (* x x)))
5.0ms
(sqrt (+ (* (* 4.0 p) p) (* x x)))
5.0ms
(sqrt (+ (* (* 4.0 p) p) (* x x)))

series34.0ms

Counts
4 → 12
Calls
4 calls:
11.0ms
(+ 1.0 (/ x (sqrt (+ (* (* 4.0 p) p) (* x x)))))
7.0ms
(sqrt (+ (* (* 4.0 p) p) (* x x)))
8.0ms
(sqrt (+ (* (* 4.0 p) p) (* x x)))
7.0ms
(sqrt (+ (* (* 4.0 p) p) (* x x)))

simplify103.0ms

Algorithm
egg-herbie
Counts
69 → 69
Iterations

Useful iterations: 2 (13.0ms)

IterNodesCost
0167517
1465490
21264489
33249489
45001489

prune260.0ms

Filtered
61 candidates to 69 candidates (-13.1%)
Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New68169
Fresh088
Picked101
Done000
Total69978

Merged error: 13.0b

Counts
78 → 9

localize28.0ms

Local error

Found 4 expressions with local error:

13.0b
(sqrt (+ (* (* 4.0 p) p) (* x x)))
13.0b
(sqrt (+ (* (* 4.0 p) p) (* x x)))
13.8b
(cbrt (+ (* (* 4.0 p) p) (* x x)))
13.8b
(cbrt (+ (* (* 4.0 p) p) (* x x)))

rewrite21.0ms

Algorithm
rewrite-expression-head
Rules
10×add-sqr-sqrt
add-cube-cbrt *-un-lft-identity
pow1 cbrt-prod sqrt-prod
add-exp-log cbrt-div flip3-+ sqrt-div add-cbrt-cube flip-+ add-log-exp
rem-sqrt-square sqrt-pow1 pow1/2 pow1/3
Counts
4 → 56
Calls
4 calls:
5.0ms
(sqrt (+ (* (* 4.0 p) p) (* x x)))
5.0ms
(sqrt (+ (* (* 4.0 p) p) (* x x)))
5.0ms
(cbrt (+ (* (* 4.0 p) p) (* x x)))
5.0ms
(cbrt (+ (* (* 4.0 p) p) (* x x)))

series59.0ms

Counts
4 → 12
Calls
4 calls:
7.0ms
(sqrt (+ (* (* 4.0 p) p) (* x x)))
8.0ms
(sqrt (+ (* (* 4.0 p) p) (* x x)))
22.0ms
(cbrt (+ (* (* 4.0 p) p) (* x x)))
22.0ms
(cbrt (+ (* (* 4.0 p) p) (* x x)))

simplify60.0ms

Algorithm
egg-herbie
Counts
68 → 68
Iterations

Useful iterations: 3 (51.0ms)

IterNodesCost
0179576
1478546
21655542
35002524

prune273.0ms

Filtered
58 candidates to 68 candidates (-17.2%)
Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New68068
Fresh088
Picked011
Done000
Total68977

Merged error: 13.0b

Counts
77 → 9

regimes206.0ms

Accuracy

0% (0.5b remaining)

Error of 13.4b against oracle of 12.9b and baseline of 13.4b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03236
13236

end0.0ms

analyze1.3s

Algorithm
search
sampling

Space saved by range analysis: 51.36237%

Space saved by search: 51.36237%

Guaranteed chance to sample good point: 74.54834%

sample1.1s

Algorithm
intervals
Results
321.0ms6045×body80valid
249.0ms781×body2560valid
173.0ms654×body1280valid
145.0ms8000×pre80true
61.0ms302×body640valid
22.0ms148×body320valid
7.0ms70×body160valid

Profiling

Loading profile data...