Details

Time bar (total: 3.9s)

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

sample42.0ms

Algorithm
intervals
Results
11.0ms27×body2560valid
10.0ms195×body80valid
4.0ms256×pre80true
3.0ms14×body1280valid
2.0ms12×body640valid
1.0msbody320valid
0.0msbody160valid

simplify8.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (6.0ms)

IterNodesCost
020017
120017

prune8.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.5b

Counts
2 → 1

localize11.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.8b
(+ 1.0 (/ x (sqrt (+ (* (* 4.0 p) p) (* x x)))))
15.9b
(sqrt (+ (* (* 4.0 p) p) (* x x)))

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

series39.0ms

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

simplify46.0ms

Algorithm
egg-herbie
Counts
91 → 91
Iterations

Useful iterations: 0 (37.0ms)

IterNodesCost
050431385

prune215.0ms

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

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New83891
Fresh000
Picked101
Done000
Total84892

Merged error: 12.2b

Counts
92 → 8

localize22.0ms

Local error

Found 4 expressions with local error:

0.7b
(+ (pow 1.0 3) (pow (/ x (sqrt (+ (* 4.0 (* p p)) (* x x)))) 3))
2.8b
(/ x (+ (* 4.0 (* p p)) (* x x)))
15.9b
(sqrt (+ (* 4.0 (* p p)) (* x x)))
15.9b
(sqrt (+ (* 4.0 (* p p)) (* x x)))

rewrite61.0ms

Algorithm
rewrite-expression-head
Rules
24×*-un-lft-identity
16×add-sqr-sqrt
14×add-cube-cbrt
times-frac
pow1 add-exp-log sqrt-prod add-cbrt-cube add-log-exp
distribute-lft-out
unpow-prod-down flip3-+ sqrt-div cube-prod flip-+
associate-/r* associate-/l*
rem-sqrt-square sqrt-pow1 pow1/2 associate-/r/
cbrt-undiv +-commutative frac-2neg div-exp clear-num sum-log sum-cubes div-inv
Counts
4 → 76
Calls
4 calls:
37.0ms
(+ (pow 1.0 3) (pow (/ x (sqrt (+ (* 4.0 (* p p)) (* x x)))) 3))
10.0ms
(/ x (+ (* 4.0 (* p p)) (* x x)))
6.0ms
(sqrt (+ (* 4.0 (* p p)) (* x x)))
6.0ms
(sqrt (+ (* 4.0 (* p p)) (* x x)))

series44.0ms

Counts
4 → 12
Calls
4 calls:
18.0ms
(+ (pow 1.0 3) (pow (/ x (sqrt (+ (* 4.0 (* p p)) (* x x)))) 3))
9.0ms
(/ x (+ (* 4.0 (* p p)) (* x x)))
7.0ms
(sqrt (+ (* 4.0 (* p p)) (* x x)))
9.0ms
(sqrt (+ (* 4.0 (* p p)) (* x x)))

simplify66.0ms

Algorithm
egg-herbie
Counts
88 → 88
Iterations

Useful iterations: 0 (56.0ms)

IterNodesCost
049581316
149581316

prune304.0ms

Filtered
70 candidates to 88 candidates (-25.7%)
Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New86288
Fresh167
Picked101
Done000
Total88896

Merged error: 12.2b

Counts
96 → 8

localize34.0ms

Local error

Found 4 expressions with local error:

15.9b
(sqrt (+ (* 4.0 (* p p)) (* x x)))
15.9b
(sqrt (+ (* 4.0 (* p p)) (* x x)))
15.9b
(sqrt (+ (* 4.0 (* p p)) (* x x)))
15.9b
(sqrt (+ (* 4.0 (* p p)) (* x x)))

rewrite28.0ms

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

series32.0ms

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

simplify104.0ms

Algorithm
egg-herbie
Counts
72 → 72
Iterations

Useful iterations: 0 (97.0ms)

IterNodesCost
04745840
14745840

prune450.0ms

Filtered
60 candidates to 72 candidates (-20.0%)
Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New71172
Fresh167
Picked101
Done000
Total73780

Merged error: 12.2b

Counts
80 → 7

localize24.0ms

Local error

Found 4 expressions with local error:

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

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

series43.0ms

Counts
4 → 12
Calls
4 calls:
19.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)))

simplify51.0ms

Algorithm
egg-herbie
Counts
68 → 68
Iterations

Useful iterations: 0 (44.0ms)

IterNodesCost
04986810
14986810

prune190.0ms

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

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New66268
Fresh066
Picked101
Done000
Total67875

Merged error: 12.2b

Counts
75 → 8

regimes138.0ms

Accuracy

0% (0.9b remaining)

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

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
08162
18162

end0.0ms

sample1.1s

Algorithm
intervals
Results
315.0ms6064×body80valid
235.0ms777×body2560valid
140.0ms561×body1280valid
139.0ms8000×pre80true
67.0ms330×body640valid
25.0ms173×body320valid
11.0ms95×body160valid

Profiling

Loading profile data...