Details

Time bar (total: 4.4s)

sample34.0ms

Algorithm
intervals
Results
6.0ms187×body80valid
6.0ms28×body2560valid
4.0ms22×body1280valid
4.0ms256×pre80true
1.0ms10×body640valid
1.0msbody320valid
0.0msbody160valid

simplify13.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0279
1349
2389
3409
4419
5419

prune3.0ms

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 13.9b

Counts
2 → 1

localize11.0ms

Local error

Found 3 expressions with local error:

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

rewrite88.0ms

Algorithm
rewrite-expression-head
Rules
30×*-un-lft-identity
18×associate-*l*
13×distribute-lft-out
sqrt-prod
add-log-exp
add-sqr-sqrt
pow1 add-cube-cbrt
add-exp-log flip3-+ add-cbrt-cube flip-+
+-commutative sqrt-div sum-log
rem-sqrt-square sqrt-pow1 pow1/2
Counts
3 → 50
Calls
3 calls:
25.0ms
(+ (* (* 4.0 p) p) (* x x))
39.0ms
(+ 1.0 (/ x (sqrt (+ (* (* 4.0 p) p) (* x x)))))
23.0ms
(sqrt (+ (* (* 4.0 p) p) (* x x)))

series429.0ms

Counts
3 → 9
Calls
3 calls:
36.0ms
(+ (* (* 4.0 p) p) (* x x))
329.0ms
(+ 1.0 (/ x (sqrt (+ (* (* 4.0 p) p) (* x x)))))
63.0ms
(sqrt (+ (* (* 4.0 p) p) (* x x)))

simplify86.0ms

Algorithm
egg-herbie
Counts
59 → 59
Iterations

Useful iterations: 3 (80.0ms)

IterNodesCost
0192425
1698397
22405393
35002386

prune118.0ms

Filtered
59 candidates to 38 candidates (64.4%)
Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New50959
Fresh000
Picked101
Done000
Total51960

Merged error: 13.6b

Counts
60 → 9

localize20.0ms

Local error

Found 4 expressions with local error:

0.5b
(+ (pow 1.0 3) (pow (/ x (sqrt (+ (* (* 4.0 p) p) (* x x)))) 3))
2.5b
(/ (pow x 2) (+ (* (* 4.0 p) p) (* x x)))
14.2b
(sqrt (+ (* (* 4.0 p) p) (* x x)))
14.2b
(sqrt (+ (* (* 4.0 p) p) (* x x)))

rewrite133.0ms

Algorithm
rewrite-expression-head
Rules
175×*-un-lft-identity
99×associate-*l*
72×times-frac
68×distribute-lft-out
37×add-sqr-sqrt
35×add-cube-cbrt
32×unpow-prod-down
18×sqrt-prod
10×unpow2 sqr-pow
add-exp-log associate-/r*
associate-/l*
pow1 add-cbrt-cube add-log-exp
pow-unpow flip3-+ sqrt-div sum-cubes flip-+
div-exp
rem-sqrt-square sqrt-pow1 pow1/2 associate-/r/
cbrt-undiv +-commutative pow-to-exp frac-2neg pow-exp clear-num sum-log div-inv
Counts
4 → 164
Calls
4 calls:
48.0ms
(+ (pow 1.0 3) (pow (/ x (sqrt (+ (* (* 4.0 p) p) (* x x)))) 3))
30.0ms
(/ (pow x 2) (+ (* (* 4.0 p) p) (* x x)))
23.0ms
(sqrt (+ (* (* 4.0 p) p) (* x x)))
25.0ms
(sqrt (+ (* (* 4.0 p) p) (* x x)))

series256.0ms

Counts
4 → 12
Calls
4 calls:
84.0ms
(+ (pow 1.0 3) (pow (/ x (sqrt (+ (* (* 4.0 p) p) (* x x)))) 3))
54.0ms
(/ (pow x 2) (+ (* (* 4.0 p) p) (* x x)))
57.0ms
(sqrt (+ (* (* 4.0 p) p) (* x x)))
60.0ms
(sqrt (+ (* (* 4.0 p) p) (* x x)))

simplify70.0ms

Algorithm
egg-herbie
Counts
176 → 176
Iterations

Useful iterations: 2 (51.0ms)

IterNodesCost
03911541
115381409
250021402

prune388.0ms

Filtered
176 candidates to 81 candidates (46.0%)
Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New1742176
Fresh178
Picked101
Done000
Total1769185

Merged error: 13.6b

Counts
185 → 9

localize13.0ms

Local error

Found 4 expressions with local error:

0.5b
(* (sqrt (sqrt (+ (* (* 4.0 p) p) (* x x)))) (sqrt (sqrt (+ (* (* 4.0 p) p) (* x x)))))
11.0b
(+ 1.0 (/ x (* (sqrt (sqrt (+ (* (* 4.0 p) p) (* x x)))) (sqrt (sqrt (+ (* (* 4.0 p) p) (* x x)))))))
14.2b
(sqrt (+ (* (* 4.0 p) p) (* x x)))
14.2b
(sqrt (+ (* (* 4.0 p) p) (* x x)))

rewrite252.0ms

Algorithm
rewrite-expression-head
Rules
300×sqrt-prod
248×*-un-lft-identity
177×associate-*l*
109×distribute-lft-out
63×swap-sqr
50×add-sqr-sqrt
34×sqrt-pow1
29×pow1
28×sqrt-div
18×add-cube-cbrt pow1/2
15×associate-*r*
flip3-+ pow-prod-up flip-+ unswap-sqr
add-exp-log add-cbrt-cube add-log-exp
pow-prod-down pow-sqr
frac-times
rem-sqrt-square associate-*r/ associate-*l/
+-commutative pow2 pow-plus sqrt-unprod prod-exp sum-log rem-square-sqrt *-commutative cbrt-unprod
Counts
4 → 197
Calls
4 calls:
63.0ms
(* (sqrt (sqrt (+ (* (* 4.0 p) p) (* x x)))) (sqrt (sqrt (+ (* (* 4.0 p) p) (* x x)))))
127.0ms
(+ 1.0 (/ x (* (sqrt (sqrt (+ (* (* 4.0 p) p) (* x x)))) (sqrt (sqrt (+ (* (* 4.0 p) p) (* x x)))))))
25.0ms
(sqrt (+ (* (* 4.0 p) p) (* x x)))
22.0ms
(sqrt (+ (* (* 4.0 p) p) (* x x)))

series260.0ms

Counts
4 → 12
Calls
4 calls:
60.0ms
(* (sqrt (sqrt (+ (* (* 4.0 p) p) (* x x)))) (sqrt (sqrt (+ (* (* 4.0 p) p) (* x x)))))
79.0ms
(+ 1.0 (/ x (* (sqrt (sqrt (+ (* (* 4.0 p) p) (* x x)))) (sqrt (sqrt (+ (* (* 4.0 p) p) (* x x)))))))
56.0ms
(sqrt (+ (* (* 4.0 p) p) (* x x)))
65.0ms
(sqrt (+ (* (* 4.0 p) p) (* x x)))

simplify70.0ms

Algorithm
egg-herbie
Counts
209 → 209
Iterations

Useful iterations: 2 (44.0ms)

IterNodesCost
02791800
110321608
250011582

prune272.0ms

Filtered
209 candidates to 73 candidates (34.9%)
Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New2054209
Fresh358
Picked101
Done000
Total2099218

Merged error: 13.6b

Counts
218 → 9

localize26.0ms

Local error

Found 4 expressions with local error:

5.2b
(exp (log (sqrt (+ (* (* 4.0 p) p) (* x x)))))
14.2b
(sqrt (+ (* (* 4.0 p) p) (* x x)))
14.2b
(sqrt (+ (* (* 4.0 p) p) (* x x)))
14.5b
(- 1.0 (/ x (exp (log (sqrt (+ (* (* 4.0 p) p) (* x x)))))))

rewrite120.0ms

Algorithm
rewrite-expression-head
Rules
47×*-un-lft-identity
28×sqrt-prod
27×associate-*l*
22×add-sqr-sqrt
18×distribute-lft-out
14×log-prod exp-sum
add-cube-cbrt
pow1
add-log-exp
exp-prod sqrt-div
add-exp-log add-cbrt-cube difference-of-squares
sqrt-pow1 flip3-+ times-frac pow1/2 log-pow flip-+
rem-sqrt-square log-div exp-diff rem-exp-log
sub-neg flip3-- diff-log flip-- distribute-lft-out--
Counts
4 → 88
Calls
4 calls:
29.0ms
(exp (log (sqrt (+ (* (* 4.0 p) p) (* x x)))))
24.0ms
(sqrt (+ (* (* 4.0 p) p) (* x x)))
23.0ms
(sqrt (+ (* (* 4.0 p) p) (* x x)))
41.0ms
(- 1.0 (/ x (exp (log (sqrt (+ (* (* 4.0 p) p) (* x x)))))))

series263.0ms

Counts
4 → 12
Calls
4 calls:
63.0ms
(exp (log (sqrt (+ (* (* 4.0 p) p) (* x x)))))
54.0ms
(sqrt (+ (* (* 4.0 p) p) (* x x)))
61.0ms
(sqrt (+ (* (* 4.0 p) p) (* x x)))
84.0ms
(- 1.0 (/ x (exp (log (sqrt (+ (* (* 4.0 p) p) (* x x)))))))

simplify105.0ms

Algorithm
egg-herbie
Counts
100 → 100
Iterations

Useful iterations: 4 (94.0ms)

IterNodesCost
0211829
1458794
21074774
32533766
45001765

prune359.0ms

Filtered
100 candidates to 67 candidates (67.0%)
Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New973100
Fresh178
Picked101
Done000
Total9910109

Merged error: 13.6b

Counts
109 → 10

regimes170.0ms

Accuracy

0% (1.2b remaining)

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

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04548
14548

end0.0ms

sample831.0ms

Algorithm
intervals
Results
218.0ms6042×body80valid
175.0ms794×body2560valid
111.0ms609×body1280valid
107.0ms8000×pre80true
43.0ms311×body640valid
16.0ms156×body320valid
6.0ms88×body160valid