Details

Time bar (total: 4.8s)

sample48.0ms

Algorithm
intervals
Results
8.0ms186×body80valid
8.0ms25×body2560valid
4.0ms256×pre80true
4.0ms21×body640valid
4.0ms19×body1280valid
0.0msbody320valid
0.0msbody160valid

simplify11.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0279
1349
2389
3409
4419
5419

prune3.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 15.2b

localize12.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ x (sqrt (+ (* (* 4.0 p) p) (* x x))))
0.0b
(+ (* (* 4.0 p) p) (* x x))
0.6b
(+ 1.0 (/ x (sqrt (+ (* (* 4.0 p) p) (* x x)))))
13.8b
(sqrt (+ (* (* 4.0 p) p) (* x x)))

rewrite129.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:
28.0ms
(/ x (sqrt (+ (* (* 4.0 p) p) (* x x))))
17.0ms
(+ (* (* 4.0 p) p) (* x x))
55.0ms
(+ 1.0 (/ x (sqrt (+ (* (* 4.0 p) p) (* x x)))))
27.0ms
(sqrt (+ (* (* 4.0 p) p) (* x x)))

series222.0ms

Counts
4 → 12
Calls
4 calls:
55.0ms
(/ x (sqrt (+ (* (* 4.0 p) p) (* x x))))
33.0ms
(+ (* (* 4.0 p) p) (* x x))
76.0ms
(+ 1.0 (/ x (sqrt (+ (* (* 4.0 p) p) (* x x)))))
58.0ms
(sqrt (+ (* (* 4.0 p) p) (* x x)))

simplify149.0ms

Algorithm
egg-herbie
Counts
91 → 91
Iterations

Useful iterations: 2 (28.0ms)

IterNodesCost
0278822
11014772
24246757
35001757

prune271.0ms

Pruning

11 alts after pruning (11 fresh and 0 done)

Merged error: 14.9b

localize23.0ms

Local error

Found 4 expressions with local error:

1.2b
(- 1.0 (/ x (sqrt (+ (* (* 4.0 p) p) (* x x)))))
4.7b
(/ (pow x 2) (+ (* (* 4.0 p) p) (* x x)))
13.8b
(sqrt (+ (* (* 4.0 p) p) (* x x)))
13.8b
(sqrt (+ (* (* 4.0 p) p) (* x x)))

rewrite137.0ms

Algorithm
rewrite-expression-head
Rules
33×add-sqr-sqrt
26×times-frac
25×*-un-lft-identity
23×add-cube-cbrt
12×unpow-prod-down
add-exp-log
associate-/l*
sqrt-prod
pow1 add-cbrt-cube add-log-exp
sqrt-div unpow2 sqr-pow
flip3-+ div-exp associate-/r* flip-+ difference-of-squares
rem-sqrt-square sqrt-pow1 pow1/2 associate-/r/
cbrt-undiv pow-to-exp sub-neg flip3-- frac-2neg diff-log pow-exp clear-num flip-- div-inv distribute-lft-out--
Counts
4 → 97
Calls
4 calls:
54.0ms
(- 1.0 (/ x (sqrt (+ (* (* 4.0 p) p) (* x x)))))
31.0ms
(/ (pow x 2) (+ (* (* 4.0 p) p) (* x x)))
26.0ms
(sqrt (+ (* (* 4.0 p) p) (* x x)))
23.0ms
(sqrt (+ (* (* 4.0 p) p) (* x x)))

series241.0ms

Counts
4 → 12
Calls
4 calls:
78.0ms
(- 1.0 (/ x (sqrt (+ (* (* 4.0 p) p) (* x x)))))
52.0ms
(/ (pow x 2) (+ (* (* 4.0 p) p) (* x x)))
53.0ms
(sqrt (+ (* (* 4.0 p) p) (* x x)))
57.0ms
(sqrt (+ (* (* 4.0 p) p) (* x x)))

simplify46.0ms

Algorithm
egg-herbie
Counts
109 → 109
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
03251030
11289956
25001954

prune509.0ms

Pruning

11 alts after pruning (11 fresh and 0 done)

Merged error: 14.9b

localize13.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)))))
3.3b
(+ 1.0 (* x (/ 1 (sqrt (+ (* (* 4.0 p) p) (* x x))))))
13.8b
(sqrt (+ (* (* 4.0 p) p) (* x x)))

rewrite124.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:
16.0ms
(+ (* (* 4.0 p) p) (* x x))
73.0ms
(* x (/ 1 (sqrt (+ (* (* 4.0 p) p) (* x x)))))
6.0ms
(+ 1.0 (* x (/ 1 (sqrt (+ (* (* 4.0 p) p) (* x x))))))
26.0ms
(sqrt (+ (* (* 4.0 p) p) (* x x)))

series222.0ms

Counts
4 → 12
Calls
4 calls:
36.0ms
(+ (* (* 4.0 p) p) (* x x))
52.0ms
(* x (/ 1 (sqrt (+ (* (* 4.0 p) p) (* x x)))))
77.0ms
(+ 1.0 (* x (/ 1 (sqrt (+ (* (* 4.0 p) p) (* x x))))))
57.0ms
(sqrt (+ (* (* 4.0 p) p) (* x x)))

simplify52.0ms

Algorithm
egg-herbie
Counts
98 → 98
Iterations

Useful iterations: 2 (43.0ms)

IterNodesCost
0387817
11913734
25002700

prune290.0ms

Pruning

11 alts after pruning (11 fresh and 0 done)

Merged error: 14.9b

localize18.0ms

Local error

Found 4 expressions with local error:

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

rewrite200.0ms

Algorithm
rewrite-expression-head
Rules
60×cbrt-div
30×flip3-+ flip-+
28×frac-times
26×sqrt-div
24×pow1
15×sqrt-pow1
14×associate-*l/
12×pow1/3
cbrt-prod pow-prod-up
associate-*r/
add-sqr-sqrt add-cube-cbrt *-un-lft-identity
pow-plus
pow-prod-down
add-exp-log add-cbrt-cube add-log-exp
pow-sqr
pow2
pow1/2 pow3 sqrt-prod
Counts
4 → 89
Calls
4 calls:
152.0ms
(sqrt (* (* (cbrt (+ (* (* 4.0 p) p) (* x x))) (cbrt (+ (* (* 4.0 p) p) (* x x)))) (cbrt (+ (* (* 4.0 p) p) (* x x)))))
13.0ms
(cbrt (+ (* (* 4.0 p) p) (* x x)))
16.0ms
(cbrt (+ (* (* 4.0 p) p) (* x x)))
14.0ms
(cbrt (+ (* (* 4.0 p) p) (* x x)))

series445.0ms

Counts
4 → 12
Calls
4 calls:
54.0ms
(sqrt (* (* (cbrt (+ (* (* 4.0 p) p) (* x x))) (cbrt (+ (* (* 4.0 p) p) (* x x)))) (cbrt (+ (* (* 4.0 p) p) (* x x)))))
132.0ms
(cbrt (+ (* (* 4.0 p) p) (* x x)))
128.0ms
(cbrt (+ (* (* 4.0 p) p) (* x x)))
131.0ms
(cbrt (+ (* (* 4.0 p) p) (* x x)))

simplify226.0ms

Algorithm
egg-herbie
Counts
101 → 101
Iterations

Useful iterations: 2 (32.0ms)

IterNodesCost
03161842
18231787
241831768
350011768

prune347.0ms

Pruning

11 alts after pruning (10 fresh and 1 done)

Merged error: 14.9b

regimes159.0ms

Accuracy

0% (1.6b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02823
12823

end0.0ms

sample901.0ms

Algorithm
intervals
Results
219.0ms6023×body80valid
187.0ms814×body2560valid
118.0ms639×body1280valid
100.0ms8000×pre80true
45.0ms305×body640valid
15.0ms143×body320valid
5.0ms76×body160valid