Details

Time bar (total: 4.2s)

sample43.0ms

Algorithm
intervals
Results
9.0ms191×body80valid
8.0ms25×body2560valid
6.0ms24×body1280valid
5.0ms256×pre80true
2.0msbody640valid
1.0msbody320valid

simplify10.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0279
1349
2389
3409
4419
5419

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: 13.6b

Counts
2 → 1

localize15.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.3b
(+ 1.0 (/ x (sqrt (+ (* (* 4.0 p) p) (* x x)))))
14.6b
(sqrt (+ (* (* 4.0 p) p) (* x x)))

rewrite31.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:
7.0ms
(/ x (sqrt (+ (* (* 4.0 p) p) (* x x))))
5.0ms
(+ (* (* 4.0 p) p) (* x x))
11.0ms
(+ 1.0 (/ x (sqrt (+ (* (* 4.0 p) p) (* x x)))))
5.0ms
(sqrt (+ (* (* 4.0 p) p) (* x x)))

series233.0ms

Counts
4 → 12
Calls
4 calls:
59.0ms
(/ x (sqrt (+ (* (* 4.0 p) p) (* x x))))
33.0ms
(+ (* (* 4.0 p) p) (* x x))
80.0ms
(+ 1.0 (/ x (sqrt (+ (* (* 4.0 p) p) (* x x)))))
60.0ms
(sqrt (+ (* (* 4.0 p) p) (* x x)))

simplify149.0ms

Algorithm
egg-herbie
Counts
91 → 91
Iterations

Useful iterations: 2 (30.0ms)

IterNodesCost
0278822
11014772
24246757
35001757

prune253.0ms

Filtered
91 candidates to 67 candidates (73.6%)
Pruning

12 alts after pruning (12 fresh and 0 done)

PrunedKeptTotal
New791291
Fresh000
Picked101
Done000
Total801292

Merged error: 13.3b

Counts
92 → 12

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

rewrite30.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:
5.0ms
(+ (* (* 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)))

series232.0ms

Counts
4 → 12
Calls
4 calls:
40.0ms
(+ (* (* 4.0 p) p) (* x x))
53.0ms
(* x (/ 1 (sqrt (+ (* (* 4.0 p) p) (* x x)))))
79.0ms
(+ 1.0 (* x (/ 1 (sqrt (+ (* (* 4.0 p) p) (* x x))))))
59.0ms
(sqrt (+ (* (* 4.0 p) p) (* x x)))

simplify54.0ms

Algorithm
egg-herbie
Counts
98 → 98
Iterations

Useful iterations: 2 (45.0ms)

IterNodesCost
0387817
11913734
25002700

prune253.0ms

Filtered
98 candidates to 69 candidates (70.4%)
Pruning

12 alts after pruning (12 fresh and 0 done)

PrunedKeptTotal
New93598
Fresh4711
Picked101
Done000
Total9812110

Merged error: 13.3b

Counts
110 → 12

localize14.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (* (* 4.0 p) p) (* x x))
0.3b
(+ 1.0 (log (exp (/ x (sqrt (+ (* (* 4.0 p) p) (* x x)))))))
2.5b
(log (exp (/ x (sqrt (+ (* (* 4.0 p) p) (* x x))))))
14.6b
(sqrt (+ (* (* 4.0 p) p) (* x x)))

rewrite40.0ms

Algorithm
rewrite-expression-head
Rules
26×log-pow
24×exp-prod
23×*-un-lft-identity
21×add-sqr-sqrt
20×add-cube-cbrt
18×times-frac
12×sqrt-prod
pow1 add-log-exp
log-prod
add-exp-log flip3-+ sqrt-div add-cbrt-cube flip-+
associate-+r+
+-commutative sum-log associate-/r/ distribute-lft-out
rem-sqrt-square sqrt-pow1 pow1/2 rem-log-exp div-inv
Counts
4 → 78
Calls
4 calls:
5.0ms
(+ (* (* 4.0 p) p) (* x x))
17.0ms
(+ 1.0 (log (exp (/ x (sqrt (+ (* (* 4.0 p) p) (* x x)))))))
10.0ms
(log (exp (/ x (sqrt (+ (* (* 4.0 p) p) (* x x))))))
5.0ms
(sqrt (+ (* (* 4.0 p) p) (* x x)))

series239.0ms

Counts
4 → 12
Calls
4 calls:
40.0ms
(+ (* (* 4.0 p) p) (* x x))
73.0ms
(+ 1.0 (log (exp (/ x (sqrt (+ (* (* 4.0 p) p) (* x x)))))))
65.0ms
(log (exp (/ x (sqrt (+ (* (* 4.0 p) p) (* x x))))))
61.0ms
(sqrt (+ (* (* 4.0 p) p) (* x x)))

simplify99.0ms

Algorithm
egg-herbie
Counts
90 → 90
Iterations

Useful iterations: 2 (25.0ms)

IterNodesCost
0303736
1957675
23385662
35001662

prune244.0ms

Filtered
90 candidates to 69 candidates (76.7%)
Pruning

12 alts after pruning (11 fresh and 1 done)

PrunedKeptTotal
New89190
Fresh11011
Picked011
Done000
Total9012102

Merged error: 13.3b

Counts
102 → 12

localize17.0ms

Local error

Found 4 expressions with local error:

2.6b
(log (sqrt (exp (/ x (sqrt (+ (* (* 4.0 p) p) (* x x)))))))
2.6b
(log (sqrt (exp (/ x (sqrt (+ (* (* 4.0 p) p) (* x x)))))))
14.6b
(sqrt (+ (* (* 4.0 p) p) (* x x)))
14.6b
(sqrt (+ (* (* 4.0 p) p) (* x x)))

rewrite38.0ms

Algorithm
rewrite-expression-head
Rules
54×log-pow
52×sqrt-pow1
48×exp-prod
38×add-sqr-sqrt
36×add-cube-cbrt *-un-lft-identity times-frac
30×sqrt-prod
12×log-prod
10×pow1
sqrt-div
add-exp-log
flip3-+ pow1/2 associate-/r/ add-cbrt-cube flip-+ add-log-exp
rem-sqrt-square rem-log-exp div-inv
Counts
4 → 112
Calls
4 calls:
11.0ms
(log (sqrt (exp (/ x (sqrt (+ (* (* 4.0 p) p) (* x x)))))))
11.0ms
(log (sqrt (exp (/ x (sqrt (+ (* (* 4.0 p) p) (* x x)))))))
5.0ms
(sqrt (+ (* (* 4.0 p) p) (* x x)))
5.0ms
(sqrt (+ (* (* 4.0 p) p) (* x x)))

series375.0ms

Counts
4 → 12
Calls
4 calls:
134.0ms
(log (sqrt (exp (/ x (sqrt (+ (* (* 4.0 p) p) (* x x)))))))
126.0ms
(log (sqrt (exp (/ x (sqrt (+ (* (* 4.0 p) p) (* x x)))))))
58.0ms
(sqrt (+ (* (* 4.0 p) p) (* x x)))
58.0ms
(sqrt (+ (* (* 4.0 p) p) (* x x)))

simplify110.0ms

Algorithm
egg-herbie
Counts
124 → 124
Iterations

Useful iterations: 4 (98.0ms)

IterNodesCost
02181114
14991028
213221008
332161008
450011006

prune429.0ms

Filtered
124 candidates to 94 candidates (75.8%)
Pruning

12 alts after pruning (10 fresh and 2 done)

PrunedKeptTotal
New1240124
Fresh01010
Picked011
Done011
Total12412136

Merged error: 13.3b

Counts
136 → 12

regimes193.0ms

Accuracy

0% (0.3b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02111
12111

end0.0ms

sample1.1s

Algorithm
intervals
Results
304.0ms6021×body80valid
240.0ms785×body2560valid
164.0ms641×body1280valid
140.0ms8000×pre80true
66.0ms314×body640valid
20.0ms143×body320valid
9.0ms96×body160valid