Details

Time bar (total: 5.2s)

sample34.0ms

Algorithm
intervals
Results
7.0ms201×body80valid
5.0ms25×body1280valid
4.0ms18×body2560valid
4.0ms256×pre80true
1.0msbody640valid
0.0msbody320valid

simplify12.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: 12.2b

localize12.0ms

Local error

Found 4 expressions with local error:

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

rewrite80.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:
12.0ms
(/ x (sqrt (+ (* (* 4.0 p) p) (* x x))))
26.0ms
(sqrt (* 0.5 (+ 1.0 (/ x (sqrt (+ (* (* 4.0 p) p) (* x x)))))))
29.0ms
(+ 1.0 (/ x (sqrt (+ (* (* 4.0 p) p) (* x x)))))
11.0ms
(sqrt (+ (* (* 4.0 p) p) (* x x)))

series703.0ms

Counts
4 → 12
Calls
4 calls:
61.0ms
(/ x (sqrt (+ (* (* 4.0 p) p) (* x x))))
496.0ms
(sqrt (* 0.5 (+ 1.0 (/ x (sqrt (+ (* (* 4.0 p) p) (* x x)))))))
84.0ms
(+ 1.0 (/ x (sqrt (+ (* (* 4.0 p) p) (* x x)))))
62.0ms
(sqrt (+ (* (* 4.0 p) p) (* x x)))

simplify80.0ms

Algorithm
egg-herbie
Counts
104 → 104
Iterations

Useful iterations: 3 (70.0ms)

IterNodesCost
0297951
1884898
22732885
35001883

prune325.0ms

Pruning

11 alts after pruning (11 fresh and 0 done)

Merged error: 12.0b

localize13.0ms

Local error

Found 4 expressions with local error:

0.0b
(sqrt (* 0.5 (+ 1.0 (* x (/ 1 (sqrt (+ (* (* 4.0 p) p) (* x x))))))))
0.2b
(* x (/ 1 (sqrt (+ (* (* 4.0 p) p) (* x x)))))
3.0b
(+ 1.0 (* x (/ 1 (sqrt (+ (* (* 4.0 p) p) (* x x))))))
16.8b
(sqrt (+ (* (* 4.0 p) p) (* x x)))

rewrite55.0ms

Algorithm
rewrite-expression-head
Rules
33×add-sqr-sqrt
24×associate-*r*
22×*-un-lft-identity times-frac
20×add-cube-cbrt
15×sqrt-prod
13×add-exp-log
10×pow1
add-cbrt-cube
sqrt-div add-log-exp
unswap-sqr
expm1-log1p-u flip3-+ prod-exp flip-+ log1p-expm1-u
fma-def sqrt-pow1 associate-*r/ associate-*l*
pow1/2 div-exp pow-prod-down associate-/r/ cbrt-unprod
cbrt-undiv +-commutative rem-sqrt-square rec-exp 1-exp sum-log un-div-inv *-commutative div-inv
Counts
4 → 99
Calls
4 calls:
3.0ms
(sqrt (* 0.5 (+ 1.0 (* x (/ 1 (sqrt (+ (* (* 4.0 p) p) (* x x))))))))
33.0ms
(* x (/ 1 (sqrt (+ (* (* 4.0 p) p) (* x x)))))
2.0ms
(+ 1.0 (* x (/ 1 (sqrt (+ (* (* 4.0 p) p) (* x x))))))
10.0ms
(sqrt (+ (* (* 4.0 p) p) (* x x)))

series494.0ms

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

simplify55.0ms

Algorithm
egg-herbie
Counts
111 → 111
Iterations

Useful iterations: 2 (45.0ms)

IterNodesCost
0407966
11757881
25001845

prune343.0ms

Pruning

10 alts after pruning (10 fresh and 0 done)

Merged error: 12.0b

localize17.0ms

Local error

Found 4 expressions with local error:

0.2b
(* x (/ 1 (sqrt (+ (* (* 4.0 p) p) (* x x)))))
3.0b
(log (exp (sqrt (* 0.5 (+ 1.0 (* x (/ 1 (sqrt (+ (* (* 4.0 p) p) (* x x))))))))))
3.0b
(+ 1.0 (* x (/ 1 (sqrt (+ (* (* 4.0 p) p) (* x x))))))
16.8b
(sqrt (+ (* (* 4.0 p) p) (* x x)))

rewrite53.0ms

Algorithm
rewrite-expression-head
Rules
35×add-sqr-sqrt
24×*-un-lft-identity associate-*r*
22×add-cube-cbrt times-frac
15×sqrt-prod
13×add-exp-log
add-cbrt-cube
pow1
add-log-exp
log-pow unswap-sqr
expm1-log1p-u exp-prod sqrt-div prod-exp log1p-expm1-u
log-prod fma-def flip3-+ associate-*l* flip-+
div-exp associate-/r/ cbrt-unprod
cbrt-undiv +-commutative rem-sqrt-square rec-exp sqrt-pow1 pow1/2 1-exp associate-*r/ rem-log-exp pow-prod-down sum-log un-div-inv *-commutative div-inv
Counts
4 → 102
Calls
4 calls:
33.0ms
(* x (/ 1 (sqrt (+ (* (* 4.0 p) p) (* x x)))))
1.0ms
(log (exp (sqrt (* 0.5 (+ 1.0 (* x (/ 1 (sqrt (+ (* (* 4.0 p) p) (* x x))))))))))
2.0ms
(+ 1.0 (* x (/ 1 (sqrt (+ (* (* 4.0 p) p) (* x x))))))
13.0ms
(sqrt (+ (* (* 4.0 p) p) (* x x)))

series492.0ms

Counts
4 → 12
Calls
4 calls:
56.0ms
(* x (/ 1 (sqrt (+ (* (* 4.0 p) p) (* x x)))))
291.0ms
(log (exp (sqrt (* 0.5 (+ 1.0 (* x (/ 1 (sqrt (+ (* (* 4.0 p) p) (* x x))))))))))
82.0ms
(+ 1.0 (* x (/ 1 (sqrt (+ (* (* 4.0 p) p) (* x x))))))
62.0ms
(sqrt (+ (* (* 4.0 p) p) (* x x)))

simplify59.0ms

Algorithm
egg-herbie
Counts
114 → 114
Iterations

Useful iterations: 2 (42.0ms)

IterNodesCost
04161032
11721918
25001881

prune410.0ms

Pruning

12 alts after pruning (12 fresh and 0 done)

Merged error: 12.0b

localize20.0ms

Local error

Found 4 expressions with local error:

3.0b
(+ 1.0 (* x (/ 1 (sqrt (+ (* (* 4.0 p) p) (* x x))))))
3.0b
(+ 1.0 (* x (/ 1 (sqrt (+ (* (* 4.0 p) p) (* x x))))))
16.8b
(sqrt (+ (* (* 4.0 p) p) (* x x)))
16.8b
(sqrt (+ (* (* 4.0 p) p) (* x x)))

rewrite26.0ms

Algorithm
rewrite-expression-head
Rules
10×add-sqr-sqrt
add-cube-cbrt *-un-lft-identity add-log-exp
pow1 fma-def sqrt-prod
add-exp-log expm1-log1p-u flip3-+ sqrt-div add-cbrt-cube flip-+ log1p-expm1-u
+-commutative rem-sqrt-square sqrt-pow1 pow1/2 sum-log
Counts
4 → 66
Calls
4 calls:
2.0ms
(+ 1.0 (* x (/ 1 (sqrt (+ (* (* 4.0 p) p) (* x x))))))
2.0ms
(+ 1.0 (* x (/ 1 (sqrt (+ (* (* 4.0 p) p) (* x x))))))
10.0ms
(sqrt (+ (* (* 4.0 p) p) (* x x)))
10.0ms
(sqrt (+ (* (* 4.0 p) p) (* x x)))

series284.0ms

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

simplify81.0ms

Algorithm
egg-herbie
Counts
78 → 78
Iterations

Useful iterations: 3 (67.0ms)

IterNodesCost
0188612
1631562
22496558
35002536

prune489.0ms

Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 12.0b

regimes174.0ms

Accuracy

0% (0.3b remaining)

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

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03729
13729

end0.0ms

sample885.0ms

Algorithm
intervals
Results
217.0ms6010×body80valid
207.0ms842×body2560valid
116.0ms627×body1280valid
111.0ms8000×pre80true
46.0ms298×body640valid
17.0ms162×body320valid
4.0ms61×body160valid