Details

Time bar (total: 6.5s)

sample1.4s

Algorithm
intervals
sampling

Space saved by range analysis: 51.314837%

Space saved by search: 51.314837%

Guaranteed chance to sample good point: 74.54834%

Results
14.0ms186×body80valid
8.0ms26×body2560valid
5.0ms20×body1280valid
5.0ms256×pre80true
2.0ms11×body640valid
1.0msbody320valid
1.0msbody160valid

simplify9.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0279
1349
2389
3409
4419
5419

prune3.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 14.7b

Counts
2 → 1

localize12.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (* (* 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)))))
10.4b
(sqrt (+ (* (* 4.0 p) p) (* x x)))

rewrite30.0ms

Algorithm
rewrite-expression-head
Rules
22×*-un-lft-identity
21×add-sqr-sqrt
20×add-cube-cbrt
18×times-frac
15×sqrt-prod
add-log-exp
add-exp-log associate-/r* add-cbrt-cube
pow1
flip3-+ sqrt-div flip-+
associate-/l*
+-commutative sum-log associate-/r/
cbrt-undiv rem-sqrt-square frac-2neg sqrt-pow1 pow1/2 div-exp clear-num div-inv distribute-lft-out
Counts
4 → 79
Calls
4 calls:
5.0ms
(+ (* (* 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)))

series38.0ms

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

simplify149.0ms

Algorithm
egg-herbie
Counts
91 → 91
Iterations

Useful iterations: 2 (27.0ms)

IterNodesCost
0278822
11014772
24232757
35001757

prune204.0ms

Filtered
67 candidates to 91 candidates (-35.8%)
Pruning

13 alts after pruning (13 fresh and 0 done)

PrunedKeptTotal
New781391
Fresh000
Picked101
Done000
Total791392

Merged error: 14.4b

Counts
92 → 13

localize21.0ms

Local error

Found 4 expressions with local error:

1.3b
(+ (pow 1.0 3) (pow (/ x (sqrt (+ (* (* 4.0 p) p) (* x x)))) 3))
2.3b
(/ (pow x 2) (+ (* (* 4.0 p) p) (* x x)))
10.4b
(sqrt (+ (* (* 4.0 p) p) (* x x)))
10.4b
(sqrt (+ (* (* 4.0 p) p) (* x x)))

rewrite57.0ms

Algorithm
rewrite-expression-head
Rules
33×*-un-lft-identity
25×add-sqr-sqrt
24×times-frac
23×add-cube-cbrt
16×unpow-prod-down
add-exp-log
associate-/l*
pow1 sqrt-prod add-cbrt-cube add-log-exp
distribute-lft-out
flip3-+ sqrt-div cube-prod flip-+ unpow2 sqr-pow
div-exp associate-/r*
rem-sqrt-square sqrt-pow1 pow1/2 associate-/r/
cbrt-undiv +-commutative pow-to-exp frac-2neg pow-exp clear-num sum-log sum-cubes div-inv
Counts
4 → 98
Calls
4 calls:
37.0ms
(+ (pow 1.0 3) (pow (/ x (sqrt (+ (* (* 4.0 p) p) (* x x)))) 3))
8.0ms
(/ (pow x 2) (+ (* (* 4.0 p) p) (* x x)))
5.0ms
(sqrt (+ (* (* 4.0 p) p) (* x x)))
5.0ms
(sqrt (+ (* (* 4.0 p) p) (* x x)))

series37.0ms

Counts
4 → 12
Calls
4 calls:
14.0ms
(+ (pow 1.0 3) (pow (/ x (sqrt (+ (* (* 4.0 p) p) (* x x)))) 3))
8.0ms
(/ (pow x 2) (+ (* (* 4.0 p) p) (* x x)))
8.0ms
(sqrt (+ (* (* 4.0 p) p) (* x x)))
8.0ms
(sqrt (+ (* (* 4.0 p) p) (* x x)))

simplify54.0ms

Algorithm
egg-herbie
Counts
110 → 110
Iterations

Useful iterations: 2 (42.0ms)

IterNodesCost
03521043
11550965
25001964

prune432.0ms

Filtered
81 candidates to 110 candidates (-35.8%)
Pruning

14 alts after pruning (14 fresh and 0 done)

PrunedKeptTotal
New1073110
Fresh11112
Picked101
Done000
Total10914123

Merged error: 14.4b

Counts
123 → 14

localize24.0ms

Local error

Found 4 expressions with local error:

1.3b
(+ (pow 1.0 3) (pow (/ x (sqrt (+ (* (* 4.0 p) p) (* x x)))) 3))
2.3b
(/ (pow x 2) (+ (* (* 4.0 p) p) (* x x)))
10.4b
(sqrt (+ (* (* 4.0 p) p) (* x x)))
10.4b
(sqrt (+ (* (* 4.0 p) p) (* x x)))

rewrite55.0ms

Algorithm
rewrite-expression-head
Rules
33×*-un-lft-identity
25×add-sqr-sqrt
24×times-frac
23×add-cube-cbrt
16×unpow-prod-down
add-exp-log
associate-/l*
pow1 sqrt-prod add-cbrt-cube add-log-exp
distribute-lft-out
flip3-+ sqrt-div cube-prod flip-+ unpow2 sqr-pow
div-exp associate-/r*
rem-sqrt-square sqrt-pow1 pow1/2 associate-/r/
cbrt-undiv +-commutative pow-to-exp frac-2neg pow-exp clear-num sum-log sum-cubes div-inv
Counts
4 → 98
Calls
4 calls:
36.0ms
(+ (pow 1.0 3) (pow (/ x (sqrt (+ (* (* 4.0 p) p) (* x x)))) 3))
7.0ms
(/ (pow x 2) (+ (* (* 4.0 p) p) (* x x)))
5.0ms
(sqrt (+ (* (* 4.0 p) p) (* x x)))
5.0ms
(sqrt (+ (* (* 4.0 p) p) (* x x)))

series39.0ms

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

simplify52.0ms

Algorithm
egg-herbie
Counts
110 → 110
Iterations

Useful iterations: 2 (40.0ms)

IterNodesCost
03521043
11550965
25001964

prune429.0ms

Filtered
81 candidates to 110 candidates (-35.8%)
Pruning

13 alts after pruning (13 fresh and 0 done)

PrunedKeptTotal
New1064110
Fresh4913
Picked101
Done000
Total11113124

Merged error: 14.4b

Counts
124 → 13

localize32.0ms

Local error

Found 4 expressions with local error:

10.4b
(sqrt (+ (* (* 4.0 p) p) (* x x)))
10.4b
(sqrt (+ (* (* 4.0 p) p) (* x x)))
10.4b
(sqrt (+ (* (* 4.0 p) p) (* x x)))
10.4b
(sqrt (+ (* (* 4.0 p) p) (* x x)))

rewrite22.0ms

Algorithm
rewrite-expression-head
Rules
12×add-sqr-sqrt sqrt-prod
pow1 add-cube-cbrt *-un-lft-identity sqrt-div
add-exp-log rem-sqrt-square sqrt-pow1 flip3-+ pow1/2 add-cbrt-cube flip-+ add-log-exp
Counts
4 → 60
Calls
4 calls:
7.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)))
5.0ms
(sqrt (+ (* (* 4.0 p) p) (* x x)))

series29.0ms

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

simplify80.0ms

Algorithm
egg-herbie
Counts
72 → 72
Iterations

Useful iterations: 1 (4.0ms)

IterNodesCost
098500
1283484
2827484
32050484
45001484

prune450.0ms

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

13 alts after pruning (13 fresh and 0 done)

PrunedKeptTotal
New70272
Fresh11112
Picked101
Done000
Total721385

Merged error: 14.4b

Counts
85 → 13

regimes287.0ms

Accuracy

0% (0.7b remaining)

Error of 13.5b against oracle of 12.8b and baseline of 13.5b

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04857
14857

end0.0ms

sample2.6s

Algorithm
intervals
sampling

Space saved by range analysis: 51.314837%

Space saved by search: 51.314837%

Guaranteed chance to sample good point: 74.54834%

Results
327.0ms6047×body80valid
267.0ms792×body2560valid
167.0ms622×body1280valid
149.0ms8000×pre80true
67.0ms313×body640valid
22.0ms144×body320valid
8.0ms82×body160valid

Profiling

Loading profile data...