Details

Time bar (total: 4.6s)

sample36.0ms

Algorithm
intervals
Results
11.0ms205×body80valid
6.0ms27×body2560valid
4.0ms256×pre80true
3.0ms14×body1280valid
1.0msbody320valid
0.0msbody640valid
0.0msbody160valid

simplify13.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0279
1349
2389
3409
4419
5419

prune2.0ms

Filtered
1 candidates to 0 candidates (100.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 10.7b

Counts
2 → 1

localize11.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.4b
(+ 1.0 (/ x (sqrt (+ (* (* 4.0 p) p) (* x x)))))
15.7b
(sqrt (+ (* (* 4.0 p) p) (* x x)))

rewrite118.0ms

Algorithm
rewrite-expression-head
Rules
100×*-un-lft-identity
54×associate-*l*
45×sqrt-prod
37×distribute-lft-out
36×times-frac
27×add-sqr-sqrt
26×add-cube-cbrt
12×associate-/r*
add-log-exp
add-exp-log 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
Counts
4 → 115
Calls
4 calls:
23.0ms
(+ (* (* 4.0 p) p) (* x x))
27.0ms
(/ x (sqrt (+ (* (* 4.0 p) p) (* x x))))
36.0ms
(+ 1.0 (/ x (sqrt (+ (* (* 4.0 p) p) (* x x)))))
24.0ms
(sqrt (+ (* (* 4.0 p) p) (* x x)))

series229.0ms

Counts
4 → 12
Calls
4 calls:
34.0ms
(+ (* (* 4.0 p) p) (* x x))
58.0ms
(/ x (sqrt (+ (* (* 4.0 p) p) (* x x))))
79.0ms
(+ 1.0 (/ x (sqrt (+ (* (* 4.0 p) p) (* x x)))))
57.0ms
(sqrt (+ (* (* 4.0 p) p) (* x x)))

simplify156.0ms

Algorithm
egg-herbie
Counts
127 → 127
Iterations

Useful iterations: 2 (33.0ms)

IterNodesCost
02681074
19651025
23968956
35001956

prune211.0ms

Filtered
127 candidates to 67 candidates (47.2%)
Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New1189127
Fresh000
Picked101
Done000
Total1199128

Merged error: 10.5b

Counts
128 → 9

localize12.0ms

Local error

Found 4 expressions with local error:

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

rewrite151.0ms

Algorithm
rewrite-expression-head
Rules
164×*-un-lft-identity
85×associate-*l*
83×sqrt-prod
76×times-frac
62×add-sqr-sqrt
56×distribute-lft-out
49×add-cube-cbrt
42×associate-*r*
24×associate-/r*
18×associate-*r/
17×add-exp-log
11×add-cbrt-cube
pow1
associate-/l*
sqrt-div add-log-exp
unswap-sqr
flip3-+ div-exp prod-exp associate-/r/ flip-+
pow-flip clear-num un-div-inv
cbrt-undiv rec-exp frac-2neg sqrt-pow1 pow1/2 1-exp cbrt-unprod div-inv
+-commutative rem-sqrt-square pow-prod-down sum-log *-commutative inv-pow
Counts
4 → 191
Calls
4 calls:
28.0ms
(/ 1 (sqrt (+ (* (* 4.0 p) p) (* x x))))
43.0ms
(* x (/ 1 (sqrt (+ (* (* 4.0 p) p) (* x x)))))
47.0ms
(+ 1.0 (* x (/ 1 (sqrt (+ (* (* 4.0 p) p) (* x x))))))
24.0ms
(sqrt (+ (* (* 4.0 p) p) (* x x)))

series265.0ms

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

simplify132.0ms

Algorithm
egg-herbie
Counts
203 → 203
Iterations

Useful iterations: 2 (46.0ms)

IterNodesCost
03641527
116121320
249851205
350011205

prune268.0ms

Filtered
203 candidates to 86 candidates (57.6%)
Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New1994203
Fresh448
Picked011
Done000
Total2039212

Merged error: 10.5b

Counts
212 → 9

localize17.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)))))
6.0b
(+ 1.0 (/ x (* (sqrt (sqrt (+ (* (* 4.0 p) p) (* x x)))) (sqrt (sqrt (+ (* (* 4.0 p) p) (* x x)))))))
15.7b
(sqrt (+ (* (* 4.0 p) p) (* x x)))
15.7b
(sqrt (+ (* (* 4.0 p) p) (* x x)))

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

series264.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)))))
80.0ms
(+ 1.0 (/ x (* (sqrt (sqrt (+ (* (* 4.0 p) p) (* x x)))) (sqrt (sqrt (+ (* (* 4.0 p) p) (* x x)))))))
59.0ms
(sqrt (+ (* (* 4.0 p) p) (* x x)))
64.0ms
(sqrt (+ (* (* 4.0 p) p) (* x x)))

simplify71.0ms

Algorithm
egg-herbie
Counts
209 → 209
Iterations

Useful iterations: 2 (45.0ms)

IterNodesCost
02791800
110321608
250011582

prune289.0ms

Filtered
209 candidates to 76 candidates (63.6%)
Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New2054209
Fresh437
Picked101
Done011
Total2108218

Merged error: 10.5b

Counts
218 → 8

localize16.0ms

Local error

Found 4 expressions with local error:

0.4b
(/ x (sqrt (sqrt (+ (* (* 4.0 p) p) (* x x)))))
5.0b
(+ 1.0 (* (/ x (sqrt (sqrt (+ (* (* 4.0 p) p) (* x x))))) (/ (cbrt 1) (sqrt (sqrt (+ (* (* 4.0 p) p) (* x x)))))))
15.7b
(sqrt (+ (* (* 4.0 p) p) (* x x)))
15.7b
(sqrt (+ (* (* 4.0 p) p) (* x x)))

rewrite244.0ms

Algorithm
rewrite-expression-head
Rules
110×*-un-lft-identity
102×sqrt-prod
55×associate-*l*
45×times-frac
38×distribute-lft-out
36×add-sqr-sqrt
34×add-cube-cbrt
15×associate-/r*
sqrt-div
pow1 add-exp-log add-cbrt-cube add-log-exp
flip3-+ flip-+
associate-/l*
rem-sqrt-square sqrt-pow1 pow1/2 associate-/r/
cbrt-undiv +-commutative frac-2neg div-exp clear-num sum-log div-inv
Counts
4 → 132
Calls
4 calls:
29.0ms
(/ x (sqrt (sqrt (+ (* (* 4.0 p) p) (* x x)))))
159.0ms
(+ 1.0 (* (/ x (sqrt (sqrt (+ (* (* 4.0 p) p) (* x x))))) (/ (cbrt 1) (sqrt (sqrt (+ (* (* 4.0 p) p) (* x x)))))))
23.0ms
(sqrt (+ (* (* 4.0 p) p) (* x x)))
24.0ms
(sqrt (+ (* (* 4.0 p) p) (* x x)))

series356.0ms

Counts
4 → 12
Calls
4 calls:
152.0ms
(/ x (sqrt (sqrt (+ (* (* 4.0 p) p) (* x x)))))
84.0ms
(+ 1.0 (* (/ x (sqrt (sqrt (+ (* (* 4.0 p) p) (* x x))))) (/ (cbrt 1) (sqrt (sqrt (+ (* (* 4.0 p) p) (* x x)))))))
63.0ms
(sqrt (+ (* (* 4.0 p) p) (* x x)))
57.0ms
(sqrt (+ (* (* 4.0 p) p) (* x x)))

simplify154.0ms

Algorithm
egg-herbie
Counts
144 → 144
Iterations

Useful iterations: 2 (38.0ms)

IterNodesCost
03321633
111161546
241931437
350021437

prune316.0ms

Filtered
144 candidates to 78 candidates (45.8%)
Pruning

10 alts after pruning (9 fresh and 1 done)

PrunedKeptTotal
New1404144
Fresh156
Picked101
Done011
Total14210152

Merged error: 10.5b

Counts
152 → 10

regimes155.0ms

Accuracy

0% (0.5b remaining)

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

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
02410
12410

end0.0ms

sample855.0ms

Algorithm
intervals
Results
216.0ms6074×body80valid
185.0ms768×body2560valid
112.0ms604×body1280valid
111.0ms8000×pre80true
46.0ms298×body640valid
18.0ms170×body320valid
6.0ms86×body160valid