Details

Time bar (total: 2.7s)

analyze327.0ms

Algorithm
search
Search
TrueOtherFalseIter
0%50%50%0
0%50%50%1
25%25%50%2
25%25%50%3
31.2%18.7%50%4
31.2%18.7%50%5
34.3%15.6%50%6
34.3%15.6%50%7
35.9%14%50%8
35.9%14%50%9
36.7%13.3%50%10
36.7%13.3%50%11
37.1%12.9%50%12
37.1%12.9%50%13
37.3%12.7%50%14

sample38.0ms

Algorithm
intervals
Results
9.0ms198×body80valid
5.0ms19×body2560valid
3.0ms10×body5120valid
3.0ms256×pre80true
2.0ms11×body1280valid
2.0ms11×body640valid
1.0msbody320valid
0.0msbody160valid

simplify18.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (17.0ms)

IterNodesCost
027115
127115

prune4.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 38.0b

Counts
2 → 1

localize10.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (* re re) (* im im))
0.2b
(sqrt (* 2.0 (- (sqrt (+ (* re re) (* im im))) re)))
0.8b
(- (sqrt (+ (* re re) (* im im))) re)
29.2b
(sqrt (+ (* re re) (* im im)))

rewrite24.0ms

Algorithm
rewrite-expression-head
Rules
10×add-sqr-sqrt
pow1 add-log-exp
*-un-lft-identity
add-cube-cbrt sqrt-prod
add-exp-log sqrt-div add-cbrt-cube
sqrt-pow1
flip3-- flip3-+ pow1/2 associate-*r/ flip-- flip-+ difference-of-squares
+-commutative sub-neg rem-sqrt-square diff-log pow-prod-down sum-log distribute-lft-out--
Counts
4 → 53
Calls
4 calls:
4.0ms
(+ (* re re) (* im im))
8.0ms
(sqrt (* 2.0 (- (sqrt (+ (* re re) (* im im))) re)))
7.0ms
(- (sqrt (+ (* re re) (* im im))) re)
4.0ms
(sqrt (+ (* re re) (* im im)))

series45.0ms

Counts
4 → 12
Calls
4 calls:
5.0ms
(+ (* re re) (* im im))
26.0ms
(sqrt (* 2.0 (- (sqrt (+ (* re re) (* im im))) re)))
7.0ms
(- (sqrt (+ (* re re) (* im im))) re)
7.0ms
(sqrt (+ (* re re) (* im im)))

simplify60.0ms

Algorithm
egg-herbie
Counts
65 → 65
Iterations

Useful iterations: 0 (54.0ms)

IterNodesCost
04905734
14905734

prune131.0ms

Filtered
52 candidates to 65 candidates (-25.0%)
Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New59665
Fresh000
Picked101
Done000
Total60666

Merged error: 8.7b

Counts
66 → 6

localize6.0ms

Local error

Found 1 expressions with local error:

0.2b
(sqrt (* 2.0 (- im re)))

rewrite5.0ms

Algorithm
rewrite-expression-head
Rules
pow1
sqrt-pow1 sqrt-div associate-*r/
add-exp-log add-sqr-sqrt add-cube-cbrt flip3-- *-un-lft-identity pow1/2 pow-prod-down sqrt-prod add-cbrt-cube flip-- add-log-exp
Counts
1 → 13
Calls
1 calls:
4.0ms
(sqrt (* 2.0 (- im re)))

series16.0ms

Counts
1 → 3
Calls
1 calls:
16.0ms
(sqrt (* 2.0 (- im re)))

simplify44.0ms

Algorithm
egg-herbie
Counts
16 → 16
Iterations

Useful iterations: 0 (41.0ms)

IterNodesCost
04914162
14914162

prune45.0ms

Filtered
13 candidates to 16 candidates (-23.1%)
Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New15116
Fresh055
Picked011
Done000
Total15722

Merged error: 8.5b

Counts
22 → 7

localize7.0ms

Local error

Found 2 expressions with local error:

0.0b
(sqrt (- im re))
0.4b
(* (sqrt 2.0) (sqrt (- im re)))

rewrite15.0ms

Algorithm
rewrite-expression-head
Rules
20×add-sqr-sqrt
17×sqrt-prod
11×*-un-lft-identity
associate-*r*
pow1 add-cube-cbrt
associate-*l*
add-exp-log sqrt-div add-cbrt-cube unswap-sqr
sqrt-pow1 pow1/2 pow-prod-down
flip3-- associate-*r/ flip-- distribute-lft-out-- add-log-exp difference-of-squares
rem-sqrt-square sqrt-unprod prod-exp *-commutative cbrt-unprod
Counts
2 → 51
Calls
2 calls:
3.0ms
(sqrt (- im re))
10.0ms
(* (sqrt 2.0) (sqrt (- im re)))

series22.0ms

Counts
2 → 6
Calls
2 calls:
8.0ms
(sqrt (- im re))
14.0ms
(* (sqrt 2.0) (sqrt (- im re)))

simplify50.0ms

Algorithm
egg-herbie
Counts
57 → 57
Iterations

Useful iterations: 0 (45.0ms)

IterNodesCost
04936522
14936522

prune90.0ms

Filtered
37 candidates to 57 candidates (-54.1%)
Pruning

9 alts after pruning (7 fresh and 2 done)

PrunedKeptTotal
New55257
Fresh055
Picked011
Done011
Total55964

Merged error: 8.5b

Counts
64 → 9

localize13.0ms

Local error

Found 4 expressions with local error:

0.4b
(* (cbrt (sqrt (- im re))) (cbrt (sqrt (- im re))))
0.4b
(cbrt (sqrt (- im re)))
0.4b
(cbrt (sqrt (- im re)))
0.4b
(cbrt (sqrt (- im re)))

rewrite31.0ms

Algorithm
rewrite-expression-head
Rules
76×cbrt-prod
58×add-sqr-sqrt
47×sqrt-prod
42×*-un-lft-identity
22×add-cube-cbrt
18×cbrt-div sqrt-div
15×swap-sqr
11×pow1 associate-*r* associate-*l*
flip3-- pow1/3 flip-- distribute-lft-out-- unswap-sqr
difference-of-squares
add-exp-log
frac-times add-cbrt-cube add-log-exp
associate-*r/ pow-prod-down associate-*l/ pow-sqr pow-prod-up
pow2 pow-plus prod-exp *-commutative cbrt-unprod
Counts
4 → 126
Calls
4 calls:
14.0ms
(* (cbrt (sqrt (- im re))) (cbrt (sqrt (- im re))))
4.0ms
(cbrt (sqrt (- im re)))
4.0ms
(cbrt (sqrt (- im re)))
4.0ms
(cbrt (sqrt (- im re)))

series105.0ms

Counts
4 → 12
Calls
4 calls:
25.0ms
(* (cbrt (sqrt (- im re))) (cbrt (sqrt (- im re))))
25.0ms
(cbrt (sqrt (- im re)))
28.0ms
(cbrt (sqrt (- im re)))
27.0ms
(cbrt (sqrt (- im re)))

simplify58.0ms

Algorithm
egg-herbie
Counts
138 → 138
Iterations

Useful iterations: 0 (46.0ms)

IterNodesCost
048551497
148551497

prune143.0ms

Filtered
84 candidates to 138 candidates (-64.3%)
Pruning

9 alts after pruning (7 fresh and 2 done)

PrunedKeptTotal
New1371138
Fresh066
Picked101
Done022
Total1389147

Merged error: 8.5b

Counts
147 → 9

regimes277.0ms

Accuracy

40.6% (11.4b remaining)

Error of 20.9b against oracle of 9.5b and baseline of 28.7b

bsearch44.0ms

Steps
ItersRangePoint
9
1.8194042955542765e-86
5.962847531226846e-80
2.9410417356698102e-86
9
-4.739904829321799e+72
-5.128198797833013e+67
-5.258042462680681e+67

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
011744
111744

end0.0ms

sample1.0s

Algorithm
intervals
Results
299.0ms6059×body80valid
185.0ms664×body2560valid
106.0ms466×body1280valid
100.0ms8000×pre80true
98.0ms291×body5120valid
52.0ms292×body640valid
21.0ms140×body320valid
8.0ms88×body160valid

Profiling

Loading profile data...