Details

Time bar (total: 4.7s)

sample49.0ms

Algorithm
intervals
Results
10.0ms189×body80valid
9.0ms256×pre80true
8.0ms26×body2560valid
5.0ms20×body1280valid
3.0ms15×body640valid
1.0msbody320valid
0.0msbody160valid

simplify15.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0289
1409
2489
3509
4529
5539
6539

prune3.0ms

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 14.8b

Counts
2 → 1

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

rewrite42.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:
14.0ms
(sqrt (* 0.5 (+ 1.0 (/ x (sqrt (+ (* (* 4.0 p) p) (* x x)))))))
8.0ms
(/ x (sqrt (+ (* (* 4.0 p) p) (* x x))))
12.0ms
(+ 1.0 (/ x (sqrt (+ (* (* 4.0 p) p) (* x x)))))
5.0ms
(sqrt (+ (* (* 4.0 p) p) (* x x)))

series468.0ms

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

simplify84.0ms

Algorithm
egg-herbie
Counts
104 → 104
Iterations

Useful iterations: 3 (73.0ms)

IterNodesCost
0297948
1884898
22732885
35001883

prune289.0ms

Filtered
104 candidates to 82 candidates (78.8%)
Pruning

12 alts after pruning (12 fresh and 0 done)

PrunedKeptTotal
New9212104
Fresh000
Picked101
Done000
Total9312105

Merged error: 14.6b

Counts
105 → 12

localize15.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ x (sqrt (+ (* (* 4.0 p) p) (* x x))))
0.4b
(+ 1.0 (/ x (sqrt (+ (* (* 4.0 p) p) (* x x)))))
0.4b
(log (exp (+ 1.0 (/ x (sqrt (+ (* (* 4.0 p) p) (* x x)))))))
12.8b
(sqrt (+ (* (* 4.0 p) p) (* x x)))

rewrite42.0ms

Algorithm
rewrite-expression-head
Rules
27×*-un-lft-identity
24×add-sqr-sqrt
23×add-cube-cbrt
18×times-frac
15×sqrt-prod
pow1 add-exp-log associate-/r* add-cbrt-cube add-log-exp
log-pow
expm1-log1p-u log-prod exp-prod sqrt-div log1p-expm1-u
fma-def flip3-+ flip-+ associate-/l*
associate-/r/ distribute-lft-out
cbrt-undiv +-commutative rem-sqrt-square frac-2neg sqrt-pow1 pow1/2 div-exp rem-log-exp exp-sum clear-num sum-log div-inv
Counts
4 → 96
Calls
4 calls:
8.0ms
(/ x (sqrt (+ (* (* 4.0 p) p) (* x x))))
13.0ms
(+ 1.0 (/ x (sqrt (+ (* (* 4.0 p) p) (* x x)))))
13.0ms
(log (exp (+ 1.0 (/ x (sqrt (+ (* (* 4.0 p) p) (* x x)))))))
6.0ms
(sqrt (+ (* (* 4.0 p) p) (* x x)))

series271.0ms

Counts
4 → 12
Calls
4 calls:
55.0ms
(/ x (sqrt (+ (* (* 4.0 p) p) (* x x))))
79.0ms
(+ 1.0 (/ x (sqrt (+ (* (* 4.0 p) p) (* x x)))))
77.0ms
(log (exp (+ 1.0 (/ x (sqrt (+ (* (* 4.0 p) p) (* x x)))))))
61.0ms
(sqrt (+ (* (* 4.0 p) p) (* x x)))

simplify78.0ms

Algorithm
egg-herbie
Counts
108 → 108
Iterations

Useful iterations: 3 (67.0ms)

IterNodesCost
0286956
1875889
22480876
35002874

prune315.0ms

Filtered
108 candidates to 83 candidates (76.9%)
Pruning

12 alts after pruning (12 fresh and 0 done)

PrunedKeptTotal
New1071108
Fresh01111
Picked101
Done000
Total10812120

Merged error: 14.6b

Counts
120 → 12

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)))))
2.1b
(+ 1.0 (* x (/ 1 (sqrt (+ (* (* 4.0 p) p) (* x x))))))
12.8b
(sqrt (+ (* (* 4.0 p) p) (* x x)))

rewrite30.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:
4.0ms
(sqrt (* 0.5 (+ 1.0 (* x (/ 1 (sqrt (+ (* (* 4.0 p) p) (* x x))))))))
14.0ms
(* x (/ 1 (sqrt (+ (* (* 4.0 p) p) (* x x)))))
3.0ms
(+ 1.0 (* x (/ 1 (sqrt (+ (* (* 4.0 p) p) (* x x))))))
5.0ms
(sqrt (+ (* (* 4.0 p) p) (* x x)))

series472.0ms

Counts
4 → 12
Calls
4 calls:
276.0ms
(sqrt (* 0.5 (+ 1.0 (* x (/ 1 (sqrt (+ (* (* 4.0 p) p) (* x x))))))))
58.0ms
(* x (/ 1 (sqrt (+ (* (* 4.0 p) p) (* x x)))))
78.0ms
(+ 1.0 (* x (/ 1 (sqrt (+ (* (* 4.0 p) p) (* x x))))))
60.0ms
(sqrt (+ (* (* 4.0 p) p) (* x x)))

simplify52.0ms

Algorithm
egg-herbie
Counts
111 → 111
Iterations

Useful iterations: 2 (41.0ms)

IterNodesCost
0407969
11772880
25001845

prune265.0ms

Filtered
111 candidates to 82 candidates (73.9%)
Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New1074111
Fresh6511
Picked101
Done000
Total1149123

Merged error: 14.5b

Counts
123 → 9

localize16.0ms

Local error

Found 4 expressions with local error:

0.2b
(* x (/ 1 (sqrt (+ (* (* 4.0 p) p) (* x x)))))
2.0b
(log (exp (sqrt (* 0.5 (+ 1.0 (* x (/ 1 (sqrt (+ (* (* 4.0 p) p) (* x x))))))))))
2.1b
(+ 1.0 (* x (/ 1 (sqrt (+ (* (* 4.0 p) p) (* x x))))))
12.8b
(sqrt (+ (* (* 4.0 p) p) (* x x)))

rewrite32.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:
14.0ms
(* x (/ 1 (sqrt (+ (* (* 4.0 p) p) (* x x)))))
6.0ms
(log (exp (sqrt (* 0.5 (+ 1.0 (* x (/ 1 (sqrt (+ (* (* 4.0 p) p) (* x x))))))))))
3.0ms
(+ 1.0 (* x (/ 1 (sqrt (+ (* (* 4.0 p) p) (* x x))))))
5.0ms
(sqrt (+ (* (* 4.0 p) p) (* x x)))

series468.0ms

Counts
4 → 12
Calls
4 calls:
53.0ms
(* x (/ 1 (sqrt (+ (* (* 4.0 p) p) (* x x)))))
284.0ms
(log (exp (sqrt (* 0.5 (+ 1.0 (* x (/ 1 (sqrt (+ (* (* 4.0 p) p) (* x x))))))))))
77.0ms
(+ 1.0 (* x (/ 1 (sqrt (+ (* (* 4.0 p) p) (* x x))))))
54.0ms
(sqrt (+ (* (* 4.0 p) p) (* x x)))

simplify51.0ms

Algorithm
egg-herbie
Counts
114 → 114
Iterations

Useful iterations: 2 (39.0ms)

IterNodesCost
04161033
11736917
25001881

prune316.0ms

Filtered
114 candidates to 87 candidates (76.3%)
Pruning

12 alts after pruning (12 fresh and 0 done)

PrunedKeptTotal
New1077114
Fresh358
Picked101
Done000
Total11112123

Merged error: 14.5b

Counts
123 → 12

regimes174.0ms

Accuracy

0% (0.6b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02814
12814

end0.0ms

sample1.2s

Algorithm
intervals
Results
319.0ms6019×body80valid
266.0ms827×body2560valid
157.0ms8000×pre80true
155.0ms593×body1280valid
66.0ms311×body640valid
25.0ms167×body320valid
9.0ms83×body160valid

Profiling

Loading profile data...