Details

Time bar (total: 3.6s)

analyze322.0ms

Algorithm
search
Search
TrueOtherFalseIter
0%99.9%0.1%0
0%99.9%0.1%1
0%99.9%0.1%2
50%50%0.1%3
50%50%0.1%4
62.4%37.5%0.1%5
62.4%37.5%0.1%6
68.7%31.2%0.1%7
68.7%31.2%0.1%8
71.8%28.1%0.1%9
71.8%28.1%0.1%10
73.4%26.5%0.1%11
73.4%26.5%0.1%12
74.1%25.8%0.1%13
74.1%25.8%0.1%14

sample35.0ms

Algorithm
intervals
Results
9.0ms194×body80valid
5.0ms20×body2560valid
4.0ms12×body5120valid
4.0msbody320valid
3.0ms13×body1280valid
2.0ms10×body640valid
0.0msbody160valid

simplify3.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
02215
12215

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

Counts
2 → 1

localize11.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (* re re) (* im im))
0.0b
(sqrt (* 2.0 (+ (sqrt (+ (* re re) (* im im))) re)))
1.3b
(+ (sqrt (+ (* re re) (* im im))) re)
27.6b
(sqrt (+ (* re re) (* im im)))

rewrite23.0ms

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

series42.0ms

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

simplify39.0ms

Algorithm
egg-herbie
Counts
63 → 63
Iterations

Useful iterations: 0 (33.0ms)

IterNodesCost
05151682

prune123.0ms

Filtered
52 candidates to 63 candidates (-21.2%)
Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New55863
Fresh000
Picked011
Done000
Total55964

Merged error: 16.7b

Counts
64 → 9

localize14.0ms

Local error

Found 4 expressions with local error:

0.3b
(* (fabs (cbrt (+ (* re re) (* im im)))) (sqrt (cbrt (+ (* re re) (* im im)))))
6.2b
(+ (* (fabs (cbrt (+ (* re re) (* im im)))) (sqrt (cbrt (+ (* re re) (* im im))))) re)
28.6b
(cbrt (+ (* re re) (* im im)))
28.6b
(cbrt (+ (* re re) (* im im)))

rewrite24.0ms

Algorithm
rewrite-expression-head
Rules
16×add-sqr-sqrt
10×cbrt-prod add-cube-cbrt *-un-lft-identity
associate-*r*
sqrt-prod
pow1 add-exp-log cbrt-div add-cbrt-cube add-log-exp
flip3-+ flip-+
associate-*l* unswap-sqr
pow1/3 sqrt-div associate-*r/
+-commutative pow-prod-down prod-exp sum-log *-commutative cbrt-unprod
Counts
4 → 65
Calls
4 calls:
8.0ms
(* (fabs (cbrt (+ (* re re) (* im im)))) (sqrt (cbrt (+ (* re re) (* im im)))))
8.0ms
(+ (* (fabs (cbrt (+ (* re re) (* im im)))) (sqrt (cbrt (+ (* re re) (* im im))))) re)
3.0ms
(cbrt (+ (* re re) (* im im)))
4.0ms
(cbrt (+ (* re re) (* im im)))

series103.0ms

Counts
4 → 12
Calls
4 calls:
33.0ms
(* (fabs (cbrt (+ (* re re) (* im im)))) (sqrt (cbrt (+ (* re re) (* im im)))))
28.0ms
(+ (* (fabs (cbrt (+ (* re re) (* im im)))) (sqrt (cbrt (+ (* re re) (* im im))))) re)
22.0ms
(cbrt (+ (* re re) (* im im)))
20.0ms
(cbrt (+ (* re re) (* im im)))

simplify47.0ms

Algorithm
egg-herbie
Counts
77 → 77
Iterations

Useful iterations: 0 (37.0ms)

IterNodesCost
052351420

prune146.0ms

Filtered
65 candidates to 77 candidates (-18.5%)
Pruning

10 alts after pruning (9 fresh and 1 done)

PrunedKeptTotal
New74377
Fresh167
Picked101
Done011
Total761086

Merged error: 16.7b

Counts
86 → 10

localize21.0ms

Local error

Found 4 expressions with local error:

28.6b
(cbrt (+ (* re re) (* im im)))
28.6b
(cbrt (+ (* re re) (* im im)))
28.6b
(cbrt (+ (* re re) (* im im)))
28.6b
(cbrt (+ (* re re) (* im im)))

rewrite16.0ms

Algorithm
rewrite-expression-head
Rules
12×cbrt-prod
add-sqr-sqrt add-cube-cbrt cbrt-div *-un-lft-identity
pow1 add-exp-log flip3-+ pow1/3 add-cbrt-cube flip-+ add-log-exp
Counts
4 → 52
Calls
4 calls:
4.0ms
(cbrt (+ (* re re) (* im im)))
4.0ms
(cbrt (+ (* re re) (* im im)))
4.0ms
(cbrt (+ (* re re) (* im im)))
4.0ms
(cbrt (+ (* re re) (* im im)))

series84.0ms

Counts
4 → 12
Calls
4 calls:
21.0ms
(cbrt (+ (* re re) (* im im)))
20.0ms
(cbrt (+ (* re re) (* im im)))
20.0ms
(cbrt (+ (* re re) (* im im)))
23.0ms
(cbrt (+ (* re re) (* im im)))

simplify36.0ms

Algorithm
egg-herbie
Counts
64 → 64
Iterations

Useful iterations: 0 (29.0ms)

IterNodesCost
05263772

prune136.0ms

Filtered
56 candidates to 64 candidates (-14.3%)
Pruning

10 alts after pruning (8 fresh and 2 done)

PrunedKeptTotal
New64064
Fresh088
Picked011
Done011
Total641074

Merged error: 16.7b

Counts
74 → 10

localize15.0ms

Local error

Found 4 expressions with local error:

0.0b
(sqrt (* 2.0 (+ (exp (log (sqrt (+ (* re re) (* im im))))) re)))
5.8b
(exp (log (sqrt (+ (* re re) (* im im)))))
15.0b
(+ (exp (log (sqrt (+ (* re re) (* im im))))) re)
27.6b
(sqrt (+ (* re re) (* im im)))

rewrite30.0ms

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

series43.0ms

Counts
4 → 12
Calls
4 calls:
25.0ms
(sqrt (* 2.0 (+ (exp (log (sqrt (+ (* re re) (* im im))))) re)))
6.0ms
(exp (log (sqrt (+ (* re re) (* im im)))))
7.0ms
(+ (exp (log (sqrt (+ (* re re) (* im im))))) re)
6.0ms
(sqrt (+ (* re re) (* im im)))

simplify34.0ms

Algorithm
egg-herbie
Counts
74 → 74
Iterations

Useful iterations: 0 (27.0ms)

IterNodesCost
04936784
14936784

prune93.0ms

Filtered
54 candidates to 74 candidates (-37.0%)
Pruning

13 alts after pruning (12 fresh and 1 done)

PrunedKeptTotal
New69574
Fresh077
Picked101
Done112
Total711384

Merged error: 16.6b

Counts
84 → 13

regimes862.0ms

Accuracy

57.5% (9.1b remaining)

Error of 26.5b against oracle of 17.4b and baseline of 38.9b

bsearch54.0ms

Steps
ItersRangePoint
9
8.588851200611536e+67
1.1304504666992013e+75
1.1095515437686829e+75
7
-1.7910444071393555e-308
1.5012133835451467e-307
-3.4246941374715e-310

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03651
13651

end0.0ms

analyze327.0ms

Algorithm
search
Search
TrueOtherFalseIter
0%99.9%0.1%0
0%99.9%0.1%1
0%99.9%0.1%2
50%50%0.1%3
50%50%0.1%4
62.4%37.5%0.1%5
62.4%37.5%0.1%6
68.7%31.2%0.1%7
68.7%31.2%0.1%8
71.8%28.1%0.1%9
71.8%28.1%0.1%10
73.4%26.5%0.1%11
73.4%26.5%0.1%12
74.1%25.8%0.1%13
74.1%25.8%0.1%14

sample909.0ms

Algorithm
intervals
Results
294.0ms6028×body80valid
194.0ms712×body2560valid
111.0ms494×body1280valid
89.0ms272×body5120valid
51.0ms264×body640valid
20.0ms152×body320valid
7.0ms78×body160valid

Profiling

Loading profile data...