Details

Time bar (total: 3.6s)

analyze813.0ms

Algorithm
search
Search
TrueOtherFalseIter
0%48.6%51.4%0
0%48.6%51.4%1
24.3%24.3%51.4%2
24.3%24.3%51.4%3
30.4%18.2%51.4%4
30.4%18.2%51.4%5
33.4%15.2%51.4%6
33.4%15.2%51.4%7
34.6%14.1%51.4%8
34.8%13.9%51.4%9
35.4%13.2%51.4%10
35.6%13.1%51.4%11
35.9%12.7%51.4%12
36%12.6%51.4%13
36.2%12.4%51.4%14

sample41.0ms

Algorithm
intervals
Results
10.0ms194×body80valid
8.0ms23×body2560valid
7.0ms26×body1280valid
4.0ms256×pre80true
2.0msbody640valid
1.0msbody320valid
0.0msbody160valid

simplify4.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
03817
13817

prune7.0ms

Filtered
1 candidates to 1 candidates (0.0%)
Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New101
Fresh011
Picked000
Done000
Total112

Merged error: 12.2b

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))))
0.5b
(+ 1.0 (/ x (sqrt (+ (* (* 4.0 p) p) (* x x)))))
15.7b
(sqrt (+ (* (* 4.0 p) p) (* x x)))

rewrite39.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:
6.0ms
(+ (* (* 4.0 p) p) (* x x))
8.0ms
(/ x (sqrt (+ (* (* 4.0 p) p) (* x x))))
17.0ms
(+ 1.0 (/ x (sqrt (+ (* (* 4.0 p) p) (* x x)))))
5.0ms
(sqrt (+ (* (* 4.0 p) p) (* x x)))

series36.0ms

Counts
4 → 12
Calls
4 calls:
6.0ms
(+ (* (* 4.0 p) p) (* x x))
9.0ms
(/ x (sqrt (+ (* (* 4.0 p) p) (* x x))))
13.0ms
(+ 1.0 (/ x (sqrt (+ (* (* 4.0 p) p) (* x x)))))
8.0ms
(sqrt (+ (* (* 4.0 p) p) (* x x)))

simplify37.0ms

Algorithm
egg-herbie
Counts
91 → 91
Iterations

Useful iterations: 0 (27.0ms)

IterNodesCost
049941385
149941385

prune213.0ms

Filtered
71 candidates to 91 candidates (-28.2%)
Pruning

11 alts after pruning (11 fresh and 0 done)

PrunedKeptTotal
New801191
Fresh000
Picked101
Done000
Total811192

Merged error: 11.9b

Counts
92 → 11

localize15.0ms

Local error

Found 4 expressions with local error:

0.0b
(pow (+ 1.0 (/ x (sqrt (+ (* 4.0 (* p p)) (* x x))))) 3)
0.0b
(cbrt (pow (+ 1.0 (/ x (sqrt (+ (* 4.0 (* p p)) (* x x))))) 3))
0.5b
(+ 1.0 (/ x (sqrt (+ (* 4.0 (* p p)) (* x x)))))
15.7b
(sqrt (+ (* 4.0 (* p p)) (* x x)))

rewrite56.0ms

Algorithm
rewrite-expression-head
Rules
21×*-un-lft-identity
14×cbrt-prod
12×add-sqr-sqrt
11×add-cube-cbrt
unpow-prod-down cube-prod
pow1 add-log-exp
add-exp-log add-cbrt-cube distribute-lft-out
cube-div flip3-+ flip-+
pow-unpow sqrt-prod
cube-mult cbrt-div sqrt-div unpow3 sqr-pow
+-commutative pow-to-exp rem-sqrt-square pow-pow sqrt-pow1 pow1/2 pow1/3 pow-exp sum-log rem-cbrt-cube rem-cube-cbrt
Counts
4 → 79
Calls
4 calls:
16.0ms
(pow (+ 1.0 (/ x (sqrt (+ (* 4.0 (* p p)) (* x x))))) 3)
15.0ms
(cbrt (pow (+ 1.0 (/ x (sqrt (+ (* 4.0 (* p p)) (* x x))))) 3))
16.0ms
(+ 1.0 (/ x (sqrt (+ (* 4.0 (* p p)) (* x x)))))
7.0ms
(sqrt (+ (* 4.0 (* p p)) (* x x)))

series61.0ms

Counts
4 → 12
Calls
4 calls:
28.0ms
(pow (+ 1.0 (/ x (sqrt (+ (* 4.0 (* p p)) (* x x))))) 3)
12.0ms
(cbrt (pow (+ 1.0 (/ x (sqrt (+ (* 4.0 (* p p)) (* x x))))) 3))
12.0ms
(+ 1.0 (/ x (sqrt (+ (* 4.0 (* p p)) (* x x)))))
8.0ms
(sqrt (+ (* 4.0 (* p p)) (* x x)))

simplify52.0ms

Algorithm
egg-herbie
Counts
91 → 91
Iterations

Useful iterations: 0 (41.0ms)

IterNodesCost
049451533
149451533

prune198.0ms

Filtered
61 candidates to 91 candidates (-49.2%)
Pruning

13 alts after pruning (13 fresh and 0 done)

PrunedKeptTotal
New87491
Fresh1910
Picked101
Done000
Total8913102

Merged error: 11.9b

Counts
102 → 13

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

rewrite36.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:
6.0ms
(+ (* 4.0 (* p p)) (* x x))
17.0ms
(* x (/ 1 (sqrt (+ (* 4.0 (* p p)) (* x x)))))
3.0ms
(+ 1.0 (* x (/ 1 (sqrt (+ (* 4.0 (* p p)) (* x x))))))
7.0ms
(sqrt (+ (* 4.0 (* p p)) (* x x)))

series35.0ms

Counts
4 → 12
Calls
4 calls:
6.0ms
(+ (* 4.0 (* p p)) (* x x))
9.0ms
(* x (/ 1 (sqrt (+ (* 4.0 (* p p)) (* x x)))))
12.0ms
(+ 1.0 (* x (/ 1 (sqrt (+ (* 4.0 (* p p)) (* x x))))))
8.0ms
(sqrt (+ (* 4.0 (* p p)) (* x x)))

simplify51.0ms

Algorithm
egg-herbie
Counts
98 → 98
Iterations

Useful iterations: 0 (42.0ms)

IterNodesCost
049791290
149791290

prune197.0ms

Filtered
68 candidates to 98 candidates (-44.1%)
Pruning

11 alts after pruning (11 fresh and 0 done)

PrunedKeptTotal
New97198
Fresh21012
Picked101
Done000
Total10011111

Merged error: 11.9b

Counts
111 → 11

localize17.0ms

Local error

Found 4 expressions with local error:

0.3b
(* (* x (sqrt (/ 1 (sqrt (+ (* 4.0 (* p p)) (* x x)))))) (sqrt (/ 1 (sqrt (+ (* 4.0 (* p p)) (* x x))))))
8.0b
(+ 1.0 (* (* x (sqrt (/ 1 (sqrt (+ (* 4.0 (* p p)) (* x x)))))) (sqrt (/ 1 (sqrt (+ (* 4.0 (* p p)) (* x x)))))))
15.7b
(sqrt (+ (* 4.0 (* p p)) (* x x)))
15.7b
(sqrt (+ (* 4.0 (* p p)) (* x x)))

rewrite48.0ms

Algorithm
rewrite-expression-head
Rules
39×sqrt-prod
27×associate-*r*
22×add-sqr-sqrt
20×add-cube-cbrt *-un-lft-identity
18×times-frac
11×pow1
10×sqrt-div
add-exp-log add-cbrt-cube
add-log-exp
flip3-+ flip-+
associate-*r/ pow-prod-down prod-exp cbrt-unprod
rem-sqrt-square sqrt-pow1 pow1/2 associate-/r/
+-commutative frac-times associate-*l* associate-*l/ sum-log *-commutative div-inv
Counts
4 → 86
Calls
4 calls:
29.0ms
(* (* x (sqrt (/ 1 (sqrt (+ (* 4.0 (* p p)) (* x 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)))))))
6.0ms
(sqrt (+ (* 4.0 (* p p)) (* x x)))
6.0ms
(sqrt (+ (* 4.0 (* p p)) (* x x)))

series41.0ms

Counts
4 → 12
Calls
4 calls:
10.0ms
(* (* x (sqrt (/ 1 (sqrt (+ (* 4.0 (* p p)) (* x x)))))) (sqrt (/ 1 (sqrt (+ (* 4.0 (* p p)) (* x x))))))
13.0ms
(+ 1.0 (* (* x (sqrt (/ 1 (sqrt (+ (* 4.0 (* p p)) (* x x)))))) (sqrt (/ 1 (sqrt (+ (* 4.0 (* p p)) (* x x)))))))
8.0ms
(sqrt (+ (* 4.0 (* p p)) (* x x)))
10.0ms
(sqrt (+ (* 4.0 (* p p)) (* x x)))

simplify53.0ms

Algorithm
egg-herbie
Counts
98 → 98
Iterations

Useful iterations: 0 (41.0ms)

IterNodesCost
049661616
149661616

prune205.0ms

Filtered
72 candidates to 98 candidates (-36.1%)
Pruning

12 alts after pruning (11 fresh and 1 done)

PrunedKeptTotal
New97198
Fresh01010
Picked011
Done000
Total9712109

Merged error: 11.9b

Counts
109 → 12

regimes165.0ms

Accuracy

0% (1.2b remaining)

Error of 14.0b against oracle of 12.7b and baseline of 14.0b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
02534
12534

end0.0ms

sample1.2s

Algorithm
intervals
Results
328.0ms6067×body80valid
251.0ms766×body2560valid
161.0ms605×body1280valid
145.0ms8000×pre80true
72.0ms337×body640valid
26.0ms158×body320valid
7.0ms67×body160valid

Profiling

Loading profile data...