Details

Time bar (total: 3.9s)

analyze967.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

sample36.0ms

Algorithm
intervals
Results
11.0ms208×body80valid
6.0ms20×body2560valid
4.0ms256×pre80true
4.0ms17×body1280valid
2.0msbody640valid
0.0msbody320valid
0.0msbody160valid

simplify3.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
03817
13817

prune6.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: 9.9b

Counts
2 → 1

localize16.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.7b
(sqrt (+ (* (* 4.0 p) p) (* x x)))

rewrite32.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))
12.0ms
(+ 1.0 (/ x (sqrt (+ (* (* 4.0 p) p) (* x x)))))
5.0ms
(sqrt (+ (* (* 4.0 p) p) (* x x)))

series34.0ms

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

simplify32.0ms

Algorithm
egg-herbie
Counts
91 → 91
Iterations

Useful iterations: 0 (23.0ms)

IterNodesCost
049941385
149941385

prune194.0ms

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

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New811091
Fresh000
Picked101
Done000
Total821092

Merged error: 9.7b

Counts
92 → 10

localize25.0ms

Local error

Found 4 expressions with local error:

4.0b
(+ 1.0 (* (* (cbrt x) (/ (cbrt x) (* (cbrt (sqrt (+ (* 4.0 (* p p)) (* x x)))) (cbrt (sqrt (+ (* 4.0 (* p p)) (* x x))))))) (/ (cbrt x) (cbrt (sqrt (+ (* 4.0 (* p p)) (* x x)))))))
14.7b
(sqrt (+ (* 4.0 (* p p)) (* x x)))
14.7b
(sqrt (+ (* 4.0 (* p p)) (* x x)))
14.7b
(sqrt (+ (* 4.0 (* p p)) (* x x)))

rewrite22.0ms

Algorithm
rewrite-expression-head
Rules
10×add-sqr-sqrt
sqrt-prod
pow1 add-cube-cbrt *-un-lft-identity
sqrt-div add-log-exp
add-exp-log flip3-+ add-cbrt-cube flip-+
rem-sqrt-square sqrt-pow1 pow1/2
+-commutative sum-log
Counts
4 → 56
Calls
4 calls:
4.0ms
(+ 1.0 (* (* (cbrt x) (/ (cbrt x) (* (cbrt (sqrt (+ (* 4.0 (* p p)) (* x x)))) (cbrt (sqrt (+ (* 4.0 (* p p)) (* x x))))))) (/ (cbrt x) (cbrt (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)))
6.0ms
(sqrt (+ (* 4.0 (* p p)) (* x x)))

series38.0ms

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

simplify29.0ms

Algorithm
egg-herbie
Counts
68 → 68
Iterations

Useful iterations: 0 (23.0ms)

IterNodesCost
05159810

prune206.0ms

Filtered
57 candidates to 68 candidates (-19.3%)
Pruning

10 alts after pruning (9 fresh and 1 done)

PrunedKeptTotal
New68068
Fresh099
Picked011
Done000
Total681078

Merged error: 9.7b

Counts
78 → 10

localize17.0ms

Local error

Found 4 expressions with local error:

0.4b
(/ x (sqrt (sqrt (+ (* 4.0 (* p p)) (* x x)))))
6.2b
(+ 1.0 (* (/ 1 (sqrt (sqrt (+ (* 4.0 (* p p)) (* x x))))) (/ x (sqrt (sqrt (+ (* 4.0 (* p p)) (* x x)))))))
14.7b
(sqrt (+ (* 4.0 (* p p)) (* x x)))
14.7b
(sqrt (+ (* 4.0 (* p p)) (* x x)))

rewrite27.0ms

Algorithm
rewrite-expression-head
Rules
42×sqrt-prod
30×add-sqr-sqrt
28×add-cube-cbrt *-un-lft-identity
27×times-frac
associate-/r*
sqrt-div
pow1 add-exp-log add-cbrt-cube add-log-exp
flip3-+ flip-+
associate-/l*
rem-sqrt-square sqrt-pow1 pow1/2 associate-/r/
cbrt-undiv +-commutative frac-2neg div-exp clear-num sum-log div-inv
Counts
4 → 94
Calls
4 calls:
10.0ms
(/ x (sqrt (sqrt (+ (* 4.0 (* p p)) (* x x)))))
3.0ms
(+ 1.0 (* (/ 1 (sqrt (sqrt (+ (* 4.0 (* p p)) (* x x))))) (/ x (sqrt (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)))

series57.0ms

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

simplify67.0ms

Algorithm
egg-herbie
Counts
106 → 106
Iterations

Useful iterations: 0 (54.0ms)

IterNodesCost
050191773

prune325.0ms

Filtered
76 candidates to 106 candidates (-39.5%)
Pruning

11 alts after pruning (9 fresh and 2 done)

PrunedKeptTotal
New1033106
Fresh268
Picked011
Done011
Total10511116

Merged error: 9.7b

Counts
116 → 11

localize29.0ms

Local error

Found 4 expressions with local error:

6.4b
(+ 1.0 (* (/ 1 (sqrt (sqrt (+ (* 4.0 (* p p)) (* x x))))) (* (* (cbrt x) (/ (cbrt x) (fabs (cbrt (sqrt (+ (* 4.0 (* p p)) (* x x))))))) (/ (cbrt x) (sqrt (cbrt (sqrt (+ (* 4.0 (* p p)) (* x x)))))))))
14.7b
(sqrt (+ (* 4.0 (* p p)) (* x x)))
14.7b
(sqrt (+ (* 4.0 (* p p)) (* x x)))
14.7b
(sqrt (+ (* 4.0 (* p p)) (* x x)))

rewrite23.0ms

Algorithm
rewrite-expression-head
Rules
10×add-sqr-sqrt
sqrt-prod
pow1 add-cube-cbrt *-un-lft-identity
sqrt-div add-log-exp
add-exp-log flip3-+ add-cbrt-cube flip-+
rem-sqrt-square sqrt-pow1 pow1/2
+-commutative sum-log
Counts
4 → 56
Calls
4 calls:
5.0ms
(+ 1.0 (* (/ 1 (sqrt (sqrt (+ (* 4.0 (* p p)) (* x x))))) (* (* (cbrt x) (/ (cbrt x) (fabs (cbrt (sqrt (+ (* 4.0 (* p p)) (* x x))))))) (/ (cbrt x) (sqrt (cbrt (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)))
6.0ms
(sqrt (+ (* 4.0 (* p p)) (* x x)))

series97.0ms

Counts
4 → 12
Calls
4 calls:
74.0ms
(+ 1.0 (* (/ 1 (sqrt (sqrt (+ (* 4.0 (* p p)) (* x x))))) (* (* (cbrt x) (/ (cbrt x) (fabs (cbrt (sqrt (+ (* 4.0 (* p p)) (* x x))))))) (/ (cbrt x) (sqrt (cbrt (sqrt (+ (* 4.0 (* p p)) (* x x)))))))))
8.0ms
(sqrt (+ (* 4.0 (* p p)) (* x x)))
7.0ms
(sqrt (+ (* 4.0 (* p p)) (* x x)))
8.0ms
(sqrt (+ (* 4.0 (* p p)) (* x x)))

simplify49.0ms

Algorithm
egg-herbie
Counts
68 → 68
Iterations

Useful iterations: 0 (40.0ms)

IterNodesCost
049601337
149601337

prune241.0ms

Filtered
57 candidates to 68 candidates (-19.3%)
Pruning

9 alts after pruning (7 fresh and 2 done)

PrunedKeptTotal
New66268
Fresh358
Picked011
Done112
Total70979

Merged error: 9.7b

Counts
79 → 9

regimes155.0ms

Accuracy

0% (0.7b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02649
12649

end0.0ms

sample1.1s

Algorithm
intervals
Results
325.0ms6068×body80valid
251.0ms803×body2560valid
157.0ms602×body1280valid
139.0ms8000×pre80true
60.0ms299×body640valid
28.0ms156×body320valid
7.0ms72×body160valid

Profiling

Loading profile data...