Details

Time bar (total: 6.5s)

sample1.5s

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
11.0ms215×body80valid
6.0ms21×body2560valid
4.0ms256×pre80true
2.0msbody1280valid
1.0msbody320valid
1.0msbody640valid
0.0msbody160valid

simplify8.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: 8.5b

Counts
2 → 1

localize10.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))))
0.9b
(+ 1.0 (/ x (sqrt (+ (* (* 4.0 p) p) (* x x)))))
17.1b
(sqrt (+ (* (* 4.0 p) p) (* x x)))

rewrite32.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))))
14.0ms
(+ 1.0 (/ x (sqrt (+ (* (* 4.0 p) p) (* x x)))))
4.0ms
(sqrt (+ (* (* 4.0 p) p) (* x x)))

series32.0ms

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

simplify143.0ms

Algorithm
egg-herbie
Counts
91 → 91
Iterations

Useful iterations: 2 (25.0ms)

IterNodesCost
0278822
11014772
24232757
35001757

prune182.0ms

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

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New83891
Fresh000
Picked101
Done000
Total84892

Merged error: 8.3b

Counts
92 → 8

localize21.0ms

Local error

Found 4 expressions with local error:

0.9b
(+ (pow 1.0 3) (pow (/ x (sqrt (+ (* (* 4.0 p) p) (* x x)))) 3))
5.1b
(/ (pow x 2) (+ (* (* 4.0 p) p) (* x x)))
17.1b
(sqrt (+ (* (* 4.0 p) p) (* x x)))
17.1b
(sqrt (+ (* (* 4.0 p) p) (* x x)))

rewrite54.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:
35.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)))

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

simplify51.0ms

Algorithm
egg-herbie
Counts
110 → 110
Iterations

Useful iterations: 2 (40.0ms)

IterNodesCost
03521043
11550965
25001964

prune344.0ms

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

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New1091110
Fresh077
Picked101
Done000
Total1108118

Merged error: 8.3b

Counts
118 → 8

localize32.0ms

Local error

Found 4 expressions with local error:

17.1b
(sqrt (+ (* (* 4.0 p) p) (* x x)))
17.1b
(sqrt (+ (* (* 4.0 p) p) (* x x)))
17.1b
(sqrt (+ (* (* 4.0 p) p) (* x x)))
17.1b
(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:
6.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)))

simplify82.0ms

Algorithm
egg-herbie
Counts
72 → 72
Iterations

Useful iterations: 1 (4.0ms)

IterNodesCost
098500
1283484
2827484
32050484
45001484

prune672.0ms

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

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New71172
Fresh077
Picked011
Done000
Total71980

Merged error: 8.3b

Counts
80 → 9

localize12.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (* (* 4.0 p) p) (* x x))
0.2b
(* x (/ 1 (sqrt (+ (* (* 4.0 p) p) (* x x)))))
2.8b
(+ 1.0 (* x (/ 1 (sqrt (+ (* (* 4.0 p) p) (* x x))))))
17.1b
(sqrt (+ (* (* 4.0 p) p) (* x x)))

rewrite28.0ms

Algorithm
rewrite-expression-head
Rules
32×add-sqr-sqrt
24×associate-*r*
22×times-frac
21×*-un-lft-identity
19×add-cube-cbrt
14×sqrt-prod
13×add-exp-log
add-cbrt-cube
add-log-exp
pow1
unswap-sqr
flip3-+ sqrt-div prod-exp flip-+
associate-*l*
+-commutative div-exp sum-log associate-/r/ cbrt-unprod
cbrt-undiv rem-sqrt-square rec-exp sqrt-pow1 pow1/2 1-exp associate-*r/ pow-prod-down un-div-inv *-commutative div-inv
Counts
4 → 86
Calls
4 calls:
5.0ms
(+ (* (* 4.0 p) p) (* x x))
13.0ms
(* x (/ 1 (sqrt (+ (* (* 4.0 p) p) (* x x)))))
2.0ms
(+ 1.0 (* x (/ 1 (sqrt (+ (* (* 4.0 p) p) (* x x))))))
5.0ms
(sqrt (+ (* (* 4.0 p) p) (* x x)))

series35.0ms

Counts
4 → 12
Calls
4 calls:
6.0ms
(+ (* (* 4.0 p) p) (* x x))
8.0ms
(* x (/ 1 (sqrt (+ (* (* 4.0 p) p) (* x x)))))
13.0ms
(+ 1.0 (* x (/ 1 (sqrt (+ (* (* 4.0 p) p) (* x x))))))
8.0ms
(sqrt (+ (* (* 4.0 p) p) (* x x)))

simplify51.0ms

Algorithm
egg-herbie
Counts
98 → 98
Iterations

Useful iterations: 2 (41.0ms)

IterNodesCost
0387817
11913734
25002700

prune153.0ms

Filtered
69 candidates to 98 candidates (-42.0%)
Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New94498
Fresh257
Picked101
Done101
Total989107

Merged error: 8.3b

Counts
107 → 9

regimes202.0ms

Accuracy

0% (1.4b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02117
12117

end0.0ms

sample2.8s

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
322.0ms6039×body80valid
275.0ms840×body2560valid
152.0ms588×body1280valid
149.0ms8000×pre80true
66.0ms309×body640valid
23.0ms150×body320valid
8.0ms74×body160valid

Profiling

Loading profile data...