Details

Time bar (total: 4.9s)

sample38.0ms

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

simplify13.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0289
1409
2489
3509
4529
5539
6539

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

rewrite136.0ms

Algorithm
rewrite-expression-head
Rules
23×*-un-lft-identity
22×add-sqr-sqrt
21×add-cube-cbrt
18×times-frac
15×sqrt-prod
add-log-exp
add-exp-log associate-/r* add-cbrt-cube
pow1
expm1-log1p-u fma-def flip3-+ sqrt-div flip-+ log1p-expm1-u
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 → 91
Calls
4 calls:
30.0ms
(/ x (sqrt (+ (* (* 4.0 p) p) (* x x))))
18.0ms
(+ (* (* 4.0 p) p) (* x x))
57.0ms
(+ 1.0 (/ x (sqrt (+ (* (* 4.0 p) p) (* x x)))))
28.0ms
(sqrt (+ (* (* 4.0 p) p) (* x x)))

series244.0ms

Counts
4 → 12
Calls
4 calls:
62.0ms
(/ x (sqrt (+ (* (* 4.0 p) p) (* x x))))
35.0ms
(+ (* (* 4.0 p) p) (* x x))
83.0ms
(+ 1.0 (/ x (sqrt (+ (* (* 4.0 p) p) (* x x)))))
63.0ms
(sqrt (+ (* (* 4.0 p) p) (* x x)))

simplify153.0ms

Algorithm
egg-herbie
Counts
103 → 103
Iterations

Useful iterations: 3 (144.0ms)

IterNodesCost
0296867
11081815
24584798
35001795

prune312.0ms

Pruning

11 alts after pruning (11 fresh and 0 done)

Merged error: 14.9b

localize27.0ms

Local error

Found 4 expressions with local error:

1.2b
(- 1.0 (/ x (sqrt (+ (* (* 4.0 p) p) (* x x)))))
1.9b
(/ x (fma (* 4.0 p) p (* x x)))
13.8b
(sqrt (+ (* (* 4.0 p) p) (* x x)))
13.8b
(sqrt (+ (* (* 4.0 p) p) (* x x)))

rewrite141.0ms

Algorithm
rewrite-expression-head
Rules
88×add-sqr-sqrt
80×*-un-lft-identity
78×add-cube-cbrt
72×prod-diff
65×times-frac
34×sqrt-prod
10×sqrt-div
pow1 add-exp-log associate-/r/ add-cbrt-cube add-log-exp
flip3-+ flip-+
expm1-log1p-u log1p-expm1-u div-inv
fma-neg associate-/r* associate-/l* difference-of-squares
rem-sqrt-square sqrt-pow1 pow1/2
cbrt-undiv sub-neg flip3-- frac-2neg diff-log div-exp clear-num flip-- distribute-lft-out--
Counts
4 → 156
Calls
4 calls:
75.0ms
(- 1.0 (/ x (sqrt (+ (* (* 4.0 p) p) (* x x)))))
5.0ms
(/ x (fma (* 4.0 p) p (* x x)))
29.0ms
(sqrt (+ (* (* 4.0 p) p) (* x x)))
25.0ms
(sqrt (+ (* (* 4.0 p) p) (* x x)))

series268.0ms

Counts
4 → 12
Calls
4 calls:
84.0ms
(- 1.0 (/ x (sqrt (+ (* (* 4.0 p) p) (* x x)))))
62.0ms
(/ x (fma (* 4.0 p) p (* x x)))
58.0ms
(sqrt (+ (* (* 4.0 p) p) (* x x)))
64.0ms
(sqrt (+ (* (* 4.0 p) p) (* x x)))

simplify80.0ms

Algorithm
egg-herbie
Counts
168 → 168
Iterations

Useful iterations: 2 (51.0ms)

IterNodesCost
06824617
122563256
250012931

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

rewrite133.0ms

Algorithm
rewrite-expression-head
Rules
33×add-sqr-sqrt
24×associate-*r*
22×*-un-lft-identity times-frac
20×add-cube-cbrt
14×sqrt-prod
13×add-exp-log
add-cbrt-cube
add-log-exp
pow1
unswap-sqr
expm1-log1p-u fma-def flip3-+ sqrt-div prod-exp flip-+ log1p-expm1-u
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 → 98
Calls
4 calls:
18.0ms
(+ (* (* 4.0 p) p) (* x x))
76.0ms
(* x (/ 1 (sqrt (+ (* (* 4.0 p) p) (* x x)))))
6.0ms
(+ 1.0 (* x (/ 1 (sqrt (+ (* (* 4.0 p) p) (* x x))))))
28.0ms
(sqrt (+ (* (* 4.0 p) p) (* x x)))

series234.0ms

Counts
4 → 12
Calls
4 calls:
35.0ms
(+ (* (* 4.0 p) p) (* x x))
60.0ms
(* x (/ 1 (sqrt (+ (* (* 4.0 p) p) (* x x)))))
81.0ms
(+ 1.0 (* x (/ 1 (sqrt (+ (* (* 4.0 p) p) (* x x))))))
57.0ms
(sqrt (+ (* (* 4.0 p) p) (* x x)))

simplify54.0ms

Algorithm
egg-herbie
Counts
110 → 110
Iterations

Useful iterations: 2 (45.0ms)

IterNodesCost
0405867
11999779
25001742

prune318.0ms

Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 14.8b

localize15.0ms

Local error

Found 4 expressions with local error:

0.2b
(/ x (fabs (cbrt (+ (* (* 4.0 p) p) (* x x)))))
6.9b
(+ 1.0 (/ (/ x (fabs (cbrt (+ (* (* 4.0 p) p) (* x x))))) (sqrt (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)))

rewrite128.0ms

Algorithm
rewrite-expression-head
Rules
17×*-un-lft-identity
15×add-sqr-sqrt add-cube-cbrt
times-frac
add-exp-log cbrt-prod add-cbrt-cube add-log-exp
pow1 expm1-log1p-u cbrt-div log1p-expm1-u
fma-def flip3-+ associate-/r* flip-+ associate-/l*
pow1/3
cbrt-undiv +-commutative frac-2neg div-exp clear-num sum-log div-inv distribute-lft-out
Counts
4 → 76
Calls
4 calls:
5.0ms
(/ x (fabs (cbrt (+ (* (* 4.0 p) p) (* x x)))))
89.0ms
(+ 1.0 (/ (/ x (fabs (cbrt (+ (* (* 4.0 p) p) (* x x))))) (sqrt (cbrt (+ (* (* 4.0 p) p) (* x x))))))
18.0ms
(cbrt (+ (* (* 4.0 p) p) (* x x)))
14.0ms
(cbrt (+ (* (* 4.0 p) p) (* x x)))

series498.0ms

Counts
4 → 12
Calls
4 calls:
32.0ms
(/ x (fabs (cbrt (+ (* (* 4.0 p) p) (* x x)))))
184.0ms
(+ 1.0 (/ (/ x (fabs (cbrt (+ (* (* 4.0 p) p) (* x x))))) (sqrt (cbrt (+ (* (* 4.0 p) p) (* x x))))))
140.0ms
(cbrt (+ (* (* 4.0 p) p) (* x x)))
142.0ms
(cbrt (+ (* (* 4.0 p) p) (* x x)))

simplify46.0ms

Algorithm
egg-herbie
Counts
88 → 88
Iterations

Useful iterations: 2 (36.0ms)

IterNodesCost
04061075
11472979
25002968

prune378.0ms

Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 14.8b

regimes161.0ms

Accuracy

0% (1.6b remaining)

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

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04550
14550

end0.0ms

sample916.0ms

Algorithm
intervals
Results
220.0ms6023×body80valid
192.0ms814×body2560valid
123.0ms639×body1280valid
104.0ms8000×pre80true
44.0ms305×body640valid
16.0ms143×body320valid
5.0ms76×body160valid