Details

Time bar (total: 5.3s)

sample40.0ms

Algorithm
intervals
Results
11.0ms32×body2560valid
6.0ms182×body80valid
5.0ms28×body1280valid
4.0ms256×pre80true
1.0ms10×body640valid
0.0msbody320valid

simplify12.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0289
1409
2489
3509
4529
5539
6539

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 15.5b

localize11.0ms

Local error

Found 4 expressions with local error:

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

rewrite78.0ms

Algorithm
rewrite-expression-head
Rules
23×*-un-lft-identity
22×add-sqr-sqrt
21×add-cube-cbrt
18×times-frac
16×sqrt-prod
pow1
add-exp-log sqrt-div associate-/r* add-cbrt-cube add-log-exp
expm1-log1p-u flip3-+ flip-+ log1p-expm1-u
fma-def sqrt-pow1 associate-/l*
pow1/2 associate-*r/ associate-/r/
cbrt-undiv +-commutative rem-sqrt-square frac-2neg div-exp pow-prod-down clear-num sum-log div-inv distribute-lft-out
Counts
4 → 92
Calls
4 calls:
26.0ms
(sqrt (* 0.5 (+ 1.0 (/ x (sqrt (+ (* (* 4.0 p) p) (* x x)))))))
15.0ms
(/ x (sqrt (+ (* (* 4.0 p) p) (* x x))))
24.0ms
(+ 1.0 (/ x (sqrt (+ (* (* 4.0 p) p) (* x x)))))
10.0ms
(sqrt (+ (* (* 4.0 p) p) (* x x)))

series474.0ms

Counts
4 → 12
Calls
4 calls:
281.0ms
(sqrt (* 0.5 (+ 1.0 (/ x (sqrt (+ (* (* 4.0 p) p) (* x x)))))))
59.0ms
(/ x (sqrt (+ (* (* 4.0 p) p) (* x x))))
73.0ms
(+ 1.0 (/ x (sqrt (+ (* (* 4.0 p) p) (* x x)))))
61.0ms
(sqrt (+ (* (* 4.0 p) p) (* x x)))

simplify84.0ms

Algorithm
egg-herbie
Counts
104 → 104
Iterations

Useful iterations: 3 (67.0ms)

IterNodesCost
0297948
1884898
22732885
35001883

prune306.0ms

Pruning

10 alts after pruning (10 fresh and 0 done)

Merged error: 15.3b

localize18.0ms

Local error

Found 4 expressions with local error:

0.1b
(+ 1.0 (cbrt (pow (/ x (sqrt (+ (* (* 4.0 p) p) (* x x)))) 3)))
0.1b
(pow (/ x (sqrt (+ (* (* 4.0 p) p) (* x x)))) 3)
14.9b
(sqrt (+ (* (* 4.0 p) p) (* x x)))
16.3b
(cbrt (pow (/ x (sqrt (+ (* (* 4.0 p) p) (* x x)))) 3))

rewrite112.0ms

Algorithm
rewrite-expression-head
Rules
72×times-frac
62×*-un-lft-identity
61×add-sqr-sqrt
60×add-cube-cbrt
54×cbrt-prod
48×unpow-prod-down cube-prod
39×sqrt-prod
10×sqrt-div
associate-/r/
add-exp-log add-cbrt-cube
pow1 flip3-+ flip-+ add-log-exp
expm1-log1p-u log1p-expm1-u div-inv
pow-unpow fma-def
cube-div cube-mult unpow3 pow-exp rem-cube-cbrt sqr-pow
cbrt-undiv +-commutative pow-to-exp rem-sqrt-square cbrt-div pow-pow sqrt-pow1 pow1/2 pow1/3 div-exp sum-log rem-cbrt-cube distribute-lft-out
Counts
4 → 170
Calls
4 calls:
63.0ms
(+ 1.0 (cbrt (pow (/ x (sqrt (+ (* (* 4.0 p) p) (* x x)))) 3)))
16.0ms
(pow (/ x (sqrt (+ (* (* 4.0 p) p) (* x x)))) 3)
10.0ms
(sqrt (+ (* (* 4.0 p) p) (* x x)))
16.0ms
(cbrt (pow (/ x (sqrt (+ (* (* 4.0 p) p) (* x x)))) 3))

series511.0ms

Counts
4 → 12
Calls
4 calls:
269.0ms
(+ 1.0 (cbrt (pow (/ x (sqrt (+ (* (* 4.0 p) p) (* x x)))) 3)))
116.0ms
(pow (/ x (sqrt (+ (* (* 4.0 p) p) (* x x)))) 3)
59.0ms
(sqrt (+ (* (* 4.0 p) p) (* x x)))
67.0ms
(cbrt (pow (/ x (sqrt (+ (* (* 4.0 p) p) (* x x)))) 3))

simplify70.0ms

Algorithm
egg-herbie
Counts
182 → 182
Iterations

Useful iterations: 2 (50.0ms)

IterNodesCost
05702241
124771968
250031866

prune374.0ms

Pruning

10 alts after pruning (10 fresh and 0 done)

Merged error: 15.3b

localize16.0ms

Local error

Found 4 expressions with local error:

2.1b
(* (* x x) (pow (/ (cbrt x) (sqrt (+ (* (* 4.0 p) p) (* x x)))) 3))
4.2b
(+ 1.0 (cbrt (* (* x x) (pow (/ (cbrt x) (sqrt (+ (* (* 4.0 p) p) (* x x)))) 3))))
14.9b
(sqrt (+ (* (* 4.0 p) p) (* x x)))
16.3b
(cbrt (* (* x x) (pow (/ (cbrt x) (sqrt (+ (* (* 4.0 p) p) (* x x)))) 3)))

rewrite138.0ms

Algorithm
rewrite-expression-head
Rules
90×associate-*r*
80×times-frac
77×add-sqr-sqrt
59×*-un-lft-identity
57×add-cube-cbrt
47×unpow-prod-down cube-prod
43×sqrt-prod
41×cbrt-prod
24×add-exp-log
12×prod-exp unswap-sqr
add-cbrt-cube
sqrt-div add-log-exp
pow1
expm1-log1p-u flip3-+ pow-exp associate-/r/ flip-+ log1p-expm1-u
fma-def cbrt-unprod
cube-div pow-to-exp associate-*r/ div-exp div-inv sqr-pow
+-commutative cube-mult rem-sqrt-square cbrt-div sqrt-pow1 pow1/2 pow1/3 unpow3 associate-*l* sum-log *-commutative distribute-lft-out
Counts
4 → 170
Calls
4 calls:
92.0ms
(* (* x x) (pow (/ (cbrt x) (sqrt (+ (* (* 4.0 p) p) (* x x)))) 3))
3.0ms
(+ 1.0 (cbrt (* (* x x) (pow (/ (cbrt x) (sqrt (+ (* (* 4.0 p) p) (* x x)))) 3))))
10.0ms
(sqrt (+ (* (* 4.0 p) p) (* x x)))
26.0ms
(cbrt (* (* x x) (pow (/ (cbrt x) (sqrt (+ (* (* 4.0 p) p) (* x x)))) 3)))

series336.0ms

Counts
4 → 12
Calls
4 calls:
124.0ms
(* (* x x) (pow (/ (cbrt x) (sqrt (+ (* (* 4.0 p) p) (* x x)))) 3))
92.0ms
(+ 1.0 (cbrt (* (* x x) (pow (/ (cbrt x) (sqrt (+ (* (* 4.0 p) p) (* x x)))) 3))))
53.0ms
(sqrt (+ (* (* 4.0 p) p) (* x x)))
66.0ms
(cbrt (* (* x x) (pow (/ (cbrt x) (sqrt (+ (* (* 4.0 p) p) (* x x)))) 3)))

simplify118.0ms

Algorithm
egg-herbie
Counts
182 → 182
Iterations

Useful iterations: 2 (100.0ms)

IterNodesCost
07952147
147581908
250011907

prune450.0ms

Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 15.2b

localize21.0ms

Local error

Found 4 expressions with local error:

2.1b
(* (* x x) (pow (/ (cbrt x) (sqrt (+ (* (* 4.0 p) p) (* x x)))) 3))
4.2b
(+ 1.0 (cbrt (* (* x x) (pow (/ (cbrt x) (sqrt (+ (* (* 4.0 p) p) (* x x)))) 3))))
14.9b
(sqrt (+ (* (* 4.0 p) p) (* x x)))
16.3b
(cbrt (* (* x x) (pow (/ (cbrt x) (sqrt (+ (* (* 4.0 p) p) (* x x)))) 3)))

rewrite138.0ms

Algorithm
rewrite-expression-head
Rules
90×associate-*r*
80×times-frac
77×add-sqr-sqrt
59×*-un-lft-identity
57×add-cube-cbrt
47×unpow-prod-down cube-prod
43×sqrt-prod
41×cbrt-prod
24×add-exp-log
12×prod-exp unswap-sqr
add-cbrt-cube
sqrt-div add-log-exp
pow1
expm1-log1p-u flip3-+ pow-exp associate-/r/ flip-+ log1p-expm1-u
fma-def cbrt-unprod
cube-div pow-to-exp associate-*r/ div-exp div-inv sqr-pow
+-commutative cube-mult rem-sqrt-square cbrt-div sqrt-pow1 pow1/2 pow1/3 unpow3 associate-*l* sum-log *-commutative distribute-lft-out
Counts
4 → 170
Calls
4 calls:
92.0ms
(* (* x x) (pow (/ (cbrt x) (sqrt (+ (* (* 4.0 p) p) (* x x)))) 3))
3.0ms
(+ 1.0 (cbrt (* (* x x) (pow (/ (cbrt x) (sqrt (+ (* (* 4.0 p) p) (* x x)))) 3))))
10.0ms
(sqrt (+ (* (* 4.0 p) p) (* x x)))
25.0ms
(cbrt (* (* x x) (pow (/ (cbrt x) (sqrt (+ (* (* 4.0 p) p) (* x x)))) 3)))

series336.0ms

Counts
4 → 12
Calls
4 calls:
125.0ms
(* (* x x) (pow (/ (cbrt x) (sqrt (+ (* (* 4.0 p) p) (* x x)))) 3))
91.0ms
(+ 1.0 (cbrt (* (* x x) (pow (/ (cbrt x) (sqrt (+ (* (* 4.0 p) p) (* x x)))) 3))))
58.0ms
(sqrt (+ (* (* 4.0 p) p) (* x x)))
63.0ms
(cbrt (* (* x x) (pow (/ (cbrt x) (sqrt (+ (* (* 4.0 p) p) (* x x)))) 3)))

simplify119.0ms

Algorithm
egg-herbie
Counts
182 → 182
Iterations

Useful iterations: 2 (100.0ms)

IterNodesCost
07952147
147581908
250011907

prune489.0ms

Pruning

10 alts after pruning (9 fresh and 1 done)

Merged error: 15.2b

regimes168.0ms

Accuracy

0% (0.6b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02716
12716

end0.0ms

sample829.0ms

Algorithm
intervals
Results
208.0ms5975×body80valid
179.0ms823×body2560valid
114.0ms649×body1280valid
110.0ms8000×pre80true
44.0ms324×body640valid
16.0ms156×body320valid
5.0ms73×body160valid