Details

Time bar (total: 3.7s)

sample33.0ms

Algorithm
intervals
Results
7.0ms197×body80valid
6.0ms27×body2560valid
4.0ms256×pre80true
3.0ms19×body1280valid
1.0msbody640valid
1.0msbody320valid
0.0msbody160valid

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

Counts
2 → 1

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

series231.0ms

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

simplify152.0ms

Algorithm
egg-herbie
Counts
91 → 91
Iterations

Useful iterations: 2 (31.0ms)

IterNodesCost
0278822
11014772
24246757
35001757

prune240.0ms

Filtered
91 candidates to 67 candidates (73.6%)
Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New83891
Fresh000
Picked101
Done000
Total84892

Merged error: 10.7b

Counts
92 → 8

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

rewrite29.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)))

series230.0ms

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

simplify51.0ms

Algorithm
egg-herbie
Counts
98 → 98
Iterations

Useful iterations: 2 (42.0ms)

IterNodesCost
0387818
11925734
25001700

prune219.0ms

Filtered
98 candidates to 67 candidates (68.4%)
Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New94498
Fresh437
Picked011
Done000
Total988106

Merged error: 10.7b

Counts
106 → 8

localize15.0ms

Local error

Found 4 expressions with local error:

0.3b
(* x (sqrt (/ 1 (sqrt (+ (* (* 4.0 p) p) (* x x))))))
7.0b
(+ 1.0 (* (* x (sqrt (/ 1 (sqrt (+ (* (* 4.0 p) p) (* x x)))))) (sqrt (/ 1 (sqrt (+ (* (* 4.0 p) p) (* x x)))))))
13.3b
(sqrt (+ (* (* 4.0 p) p) (* x x)))
13.3b
(sqrt (+ (* (* 4.0 p) p) (* x x)))

rewrite35.0ms

Algorithm
rewrite-expression-head
Rules
46×sqrt-prod
37×add-sqr-sqrt
27×associate-*r*
23×*-un-lft-identity
22×times-frac
21×add-cube-cbrt
pow1
sqrt-div
add-exp-log add-cbrt-cube add-log-exp unswap-sqr
flip3-+ flip-+
associate-*l*
rem-sqrt-square sqrt-pow1 pow1/2 associate-/r/
+-commutative associate-*r/ pow-prod-down prod-exp sum-log *-commutative cbrt-unprod div-inv
Counts
4 → 89
Calls
4 calls:
19.0ms
(* x (sqrt (/ 1 (sqrt (+ (* (* 4.0 p) p) (* x x))))))
3.0ms
(+ 1.0 (* (* x (sqrt (/ 1 (sqrt (+ (* (* 4.0 p) p) (* x x)))))) (sqrt (/ 1 (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)))

series342.0ms

Counts
4 → 12
Calls
4 calls:
147.0ms
(* x (sqrt (/ 1 (sqrt (+ (* (* 4.0 p) p) (* x x))))))
79.0ms
(+ 1.0 (* (* x (sqrt (/ 1 (sqrt (+ (* (* 4.0 p) p) (* x x)))))) (sqrt (/ 1 (sqrt (+ (* (* 4.0 p) p) (* x x)))))))
60.0ms
(sqrt (+ (* (* 4.0 p) p) (* x x)))
55.0ms
(sqrt (+ (* (* 4.0 p) p) (* x x)))

simplify55.0ms

Algorithm
egg-herbie
Counts
101 → 101
Iterations

Useful iterations: 2 (44.0ms)

IterNodesCost
03761085
11392982
25001923

prune329.0ms

Filtered
101 candidates to 75 candidates (74.3%)
Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New965101
Fresh336
Picked101
Done101
Total1018109

Merged error: 10.7b

Counts
109 → 8

localize15.0ms

Local error

Found 4 expressions with local error:

0.1b
(cbrt (pow (+ (* x (/ 1 (sqrt (+ (* (* 4.0 p) p) (* x x))))) 1.0) 3))
0.2b
(* x (/ 1 (sqrt (+ (* (* 4.0 p) p) (* x x)))))
2.6b
(+ (* x (/ 1 (sqrt (+ (* (* 4.0 p) p) (* x x))))) 1.0)
13.3b
(sqrt (+ (* (* 4.0 p) p) (* x x)))

rewrite46.0ms

Algorithm
rewrite-expression-head
Rules
35×add-sqr-sqrt
24×*-un-lft-identity associate-*r*
22×add-cube-cbrt times-frac
14×sqrt-prod
13×add-exp-log
12×cbrt-prod
add-cbrt-cube
pow1
add-log-exp
unswap-sqr
flip3-+ sqrt-div prod-exp flip-+
unpow-prod-down cube-prod associate-*l*
cube-div cbrt-div div-exp associate-/r/ cbrt-unprod
cbrt-undiv +-commutative cube-mult rem-sqrt-square rec-exp sqrt-pow1 pow1/2 pow1/3 1-exp unpow3 associate-*r/ pow-prod-down sum-log un-div-inv *-commutative rem-cbrt-cube div-inv sqr-pow
Counts
4 → 98
Calls
4 calls:
12.0ms
(cbrt (pow (+ (* x (/ 1 (sqrt (+ (* (* 4.0 p) p) (* x x))))) 1.0) 3))
14.0ms
(* x (/ 1 (sqrt (+ (* (* 4.0 p) p) (* x x)))))
11.0ms
(+ (* x (/ 1 (sqrt (+ (* (* 4.0 p) p) (* x x))))) 1.0)
6.0ms
(sqrt (+ (* (* 4.0 p) p) (* x x)))

series275.0ms

Counts
4 → 12
Calls
4 calls:
75.0ms
(cbrt (pow (+ (* x (/ 1 (sqrt (+ (* (* 4.0 p) p) (* x x))))) 1.0) 3))
61.0ms
(* x (/ 1 (sqrt (+ (* (* 4.0 p) p) (* x x)))))
79.0ms
(+ (* x (/ 1 (sqrt (+ (* (* 4.0 p) p) (* x x))))) 1.0)
59.0ms
(sqrt (+ (* (* 4.0 p) p) (* x x)))

simplify59.0ms

Algorithm
egg-herbie
Counts
110 → 110
Iterations

Useful iterations: 2 (41.0ms)

IterNodesCost
04251050
11936996
25001972

prune280.0ms

Filtered
110 candidates to 77 candidates (70.0%)
Pruning

11 alts after pruning (10 fresh and 1 done)

PrunedKeptTotal
New1073110
Fresh077
Picked011
Done000
Total10711118

Merged error: 10.7b

Counts
118 → 11

regimes161.0ms

Accuracy

0% (0.5b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02712
12712

end0.0ms

sample828.0ms

Algorithm
intervals
Results
213.0ms6042×body80valid
179.0ms796×body2560valid
112.0ms609×body1280valid
104.0ms8000×pre80true
42.0ms309×body640valid
17.0ms164×body320valid
6.0ms80×body160valid

Profiling

Loading profile data...