Details

Time bar (total: 4.2s)

sample46.0ms

Algorithm
intervals
Results
10.0ms196×body80valid
6.0ms21×body2560valid
6.0ms11×body640valid
5.0ms256×pre80true
5.0ms20×body1280valid
1.0msbody160valid
0.0msbody320valid

simplify11.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.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: 12.8b

Counts
2 → 1

localize12.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (* (* 4.0 p) p) (* x x))
0.0b
(/ x (sqrt (+ (* (* 4.0 p) p) (* x x))))
1.2b
(+ 1.0 (/ x (sqrt (+ (* (* 4.0 p) p) (* x x)))))
18.4b
(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:
5.0ms
(+ (* (* 4.0 p) p) (* x x))
7.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)))

series227.0ms

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

simplify152.0ms

Algorithm
egg-herbie
Counts
91 → 91
Iterations

Useful iterations: 2 (29.0ms)

IterNodesCost
0278822
11014772
24232757
35001757

prune249.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: 12.5b

Counts
92 → 12

localize15.0ms

Local error

Found 4 expressions with local error:

0.1b
(exp (log (+ 1.0 (/ x (sqrt (+ (* (* 4.0 p) p) (* x x)))))))
1.2b
(+ 1.0 (/ x (sqrt (+ (* (* 4.0 p) p) (* x x)))))
2.2b
(log (+ 1.0 (/ x (sqrt (+ (* (* 4.0 p) p) (* x x))))))
18.4b
(sqrt (+ (* (* 4.0 p) p) (* x x)))

rewrite46.0ms

Algorithm
rewrite-expression-head
Rules
14×*-un-lft-identity
add-sqr-sqrt
add-cube-cbrt log-prod
pow1
add-log-exp
add-exp-log
log-div exp-prod flip3-+ exp-sum add-cbrt-cube flip-+
sqrt-prod distribute-lft-out
exp-diff sqrt-div log-pow
+-commutative rem-sqrt-square sqrt-pow1 pow1/2 rem-log-exp sum-log rem-exp-log
Counts
4 → 60
Calls
4 calls:
17.0ms
(exp (log (+ 1.0 (/ x (sqrt (+ (* (* 4.0 p) p) (* x x)))))))
12.0ms
(+ 1.0 (/ x (sqrt (+ (* (* 4.0 p) p) (* x x)))))
11.0ms
(log (+ 1.0 (/ x (sqrt (+ (* (* 4.0 p) p) (* x x))))))
5.0ms
(sqrt (+ (* (* 4.0 p) p) (* x x)))

series388.0ms

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

simplify121.0ms

Algorithm
egg-herbie
Counts
72 → 72
Iterations

Useful iterations: 3 (47.0ms)

IterNodesCost
0230707
1588645
21449625
33630619
45001619

prune207.0ms

Filtered
72 candidates to 54 candidates (75.0%)
Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New71172
Fresh4711
Picked101
Done000
Total76884

Merged error: 8.6b

Counts
84 → 8

localize19.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ x (sqrt (+ (* (* 4.0 p) p) (* x x))))
1.2b
(+ 1.0 (/ x (sqrt (+ (* (* 4.0 p) p) (* x x)))))
1.2b
(log (exp (+ 1.0 (/ x (sqrt (+ (* (* 4.0 p) p) (* x x)))))))
18.4b
(sqrt (+ (* (* 4.0 p) p) (* x x)))

rewrite39.0ms

Algorithm
rewrite-expression-head
Rules
26×*-un-lft-identity
23×add-sqr-sqrt
22×add-cube-cbrt
18×times-frac
15×sqrt-prod
pow1 add-exp-log associate-/r* add-cbrt-cube add-log-exp
log-pow
log-prod exp-prod sqrt-div
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 → 85
Calls
4 calls:
8.0ms
(/ x (sqrt (+ (* (* 4.0 p) p) (* x x))))
12.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)))))))
5.0ms
(sqrt (+ (* (* 4.0 p) p) (* x x)))

series267.0ms

Counts
4 → 12
Calls
4 calls:
56.0ms
(/ x (sqrt (+ (* (* 4.0 p) p) (* x x))))
73.0ms
(+ 1.0 (/ x (sqrt (+ (* (* 4.0 p) p) (* x x)))))
78.0ms
(log (exp (+ 1.0 (/ x (sqrt (+ (* (* 4.0 p) p) (* x x)))))))
59.0ms
(sqrt (+ (* (* 4.0 p) p) (* x x)))

simplify75.0ms

Algorithm
egg-herbie
Counts
97 → 97
Iterations

Useful iterations: 3 (65.0ms)

IterNodesCost
0269900
1805835
22267823
35003822

prune265.0ms

Filtered
97 candidates to 73 candidates (75.3%)
Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New96197
Fresh077
Picked011
Done000
Total969105

Merged error: 8.6b

Counts
105 → 9

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

rewrite31.0ms

Algorithm
rewrite-expression-head
Rules
32×add-sqr-sqrt
24×associate-*r*
22×times-frac
21×*-un-lft-identity
19×add-cube-cbrt
15×sqrt-prod
13×add-exp-log
10×pow1
add-cbrt-cube
sqrt-div add-log-exp
unswap-sqr
flip3-+ prod-exp flip-+
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 → 88
Calls
4 calls:
7.0ms
(sqrt (* 0.5 (+ 1.0 (* x (/ 1 (sqrt (+ (* (* 4.0 p) p) (* x x))))))))
13.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)))

series463.0ms

Counts
4 → 12
Calls
4 calls:
272.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))))))
55.0ms
(sqrt (+ (* (* 4.0 p) p) (* x x)))

simplify51.0ms

Algorithm
egg-herbie
Counts
100 → 100
Iterations

Useful iterations: 2 (41.0ms)

IterNodesCost
0390903
11699818
25001784

prune212.0ms

Filtered
100 candidates to 72 candidates (72.0%)
Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New973100
Fresh257
Picked101
Done101
Total1018109

Merged error: 8.6b

Counts
109 → 8

regimes110.0ms

Accuracy

0% (3.9b remaining)

Error of 13.5b against oracle of 9.6b and baseline of 13.5b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02612
12612

end0.0ms

sample1.1s

Algorithm
intervals
Results
305.0ms6052×body80valid
240.0ms782×body2560valid
153.0ms586×body1280valid
140.0ms8000×pre80true
65.0ms329×body640valid
26.0ms165×body320valid
8.0ms86×body160valid

Profiling

Loading profile data...