Details

Time bar (total: 3.4s)

sample32.0ms

Algorithm
intervals
Results
9.0ms201×body80valid
7.0ms25×body2560valid
5.0ms14×body5120valid
1.0msbody1280valid
1.0msbody640valid
1.0msbody320valid
0.0msbody160valid

simplify5.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0228
1248
2248

prune3.0ms

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 40.6b

Counts
2 → 1

localize13.0ms

Local error

Found 2 expressions with local error:

1.2b
(+ (sqrt (+ (* re re) (* im im))) re)
33.4b
(sqrt (+ (* re re) (* im im)))

rewrite11.0ms

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

series83.0ms

Counts
2 → 6
Calls
2 calls:
48.0ms
(+ (sqrt (+ (* re re) (* im im))) re)
35.0ms
(sqrt (+ (* re re) (* im im)))

simplify80.0ms

Algorithm
egg-herbie
Counts
33 → 33
Iterations

Useful iterations: 3 (29.0ms)

IterNodesCost
0141198
1358186
2866182
32557181
45001181

prune116.0ms

Filtered
33 candidates to 29 candidates (87.9%)
Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New27633
Fresh000
Picked011
Done000
Total27734

Merged error: 19.2b

Counts
34 → 7

localize18.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (fabs (cbrt (+ (* re re) (* im im)))) (sqrt (cbrt (+ (* re re) (* im im)))))
4.8b
(+ (* (fabs (cbrt (+ (* re re) (* im im)))) (sqrt (cbrt (+ (* re re) (* im im))))) re)
34.3b
(cbrt (+ (* re re) (* im im)))
34.3b
(cbrt (+ (* re re) (* im im)))

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

series368.0ms

Counts
4 → 12
Calls
4 calls:
108.0ms
(* (fabs (cbrt (+ (* re re) (* im im)))) (sqrt (cbrt (+ (* re re) (* im im)))))
78.0ms
(+ (* (fabs (cbrt (+ (* re re) (* im im)))) (sqrt (cbrt (+ (* re re) (* im im))))) re)
91.0ms
(cbrt (+ (* re re) (* im im)))
91.0ms
(cbrt (+ (* re re) (* im im)))

simplify43.0ms

Algorithm
egg-herbie
Counts
77 → 77
Iterations

Useful iterations: 2 (34.0ms)

IterNodesCost
0323928
11214868
25002841

prune297.0ms

Filtered
77 candidates to 66 candidates (85.7%)
Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New76177
Fresh055
Picked101
Done101
Total78684

Merged error: 19.2b

Counts
84 → 6

localize14.0ms

Local error

Found 4 expressions with local error:

7.1b
(+ (* (* (cbrt (sqrt (+ (* re re) (* im im)))) (cbrt (sqrt (+ (* re re) (* im im))))) (cbrt (sqrt (+ (* re re) (* im im))))) re)
33.4b
(sqrt (+ (* re re) (* im im)))
33.4b
(sqrt (+ (* re re) (* im im)))
33.4b
(sqrt (+ (* re re) (* im im)))

rewrite32.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:
20.0ms
(+ (* (* (cbrt (sqrt (+ (* re re) (* im im)))) (cbrt (sqrt (+ (* re re) (* im im))))) (cbrt (sqrt (+ (* re re) (* im im))))) re)
4.0ms
(sqrt (+ (* re re) (* im im)))
4.0ms
(sqrt (+ (* re re) (* im im)))
4.0ms
(sqrt (+ (* re re) (* im im)))

series156.0ms

Counts
4 → 12
Calls
4 calls:
45.0ms
(+ (* (* (cbrt (sqrt (+ (* re re) (* im im)))) (cbrt (sqrt (+ (* re re) (* im im))))) (cbrt (sqrt (+ (* re re) (* im im))))) re)
39.0ms
(sqrt (+ (* re re) (* im im)))
34.0ms
(sqrt (+ (* re re) (* im im)))
38.0ms
(sqrt (+ (* re re) (* im im)))

simplify52.0ms

Algorithm
egg-herbie
Counts
68 → 68
Iterations

Useful iterations: 3 (45.0ms)

IterNodesCost
0160641
1431527
21354481
35001477

prune258.0ms

Filtered
68 candidates to 60 candidates (88.2%)
Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New67168
Fresh055
Picked011
Done000
Total67774

Merged error: 19.2b

Counts
74 → 7

localize18.0ms

Local error

Found 4 expressions with local error:

7.1b
(+ (* (* (cbrt (sqrt (+ (* re re) (* im im)))) (cbrt (sqrt (+ (* re re) (* im im))))) (cbrt (sqrt (+ (* re re) (* im im))))) re)
33.4b
(sqrt (+ (* re re) (* im im)))
33.4b
(sqrt (+ (* re re) (* im im)))
33.4b
(sqrt (+ (* re re) (* im im)))

rewrite33.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:
21.0ms
(+ (* (* (cbrt (sqrt (+ (* re re) (* im im)))) (cbrt (sqrt (+ (* re re) (* im im))))) (cbrt (sqrt (+ (* re re) (* im im))))) re)
4.0ms
(sqrt (+ (* re re) (* im im)))
4.0ms
(sqrt (+ (* re re) (* im im)))
4.0ms
(sqrt (+ (* re re) (* im im)))

series157.0ms

Counts
4 → 12
Calls
4 calls:
50.0ms
(+ (* (* (cbrt (sqrt (+ (* re re) (* im im)))) (cbrt (sqrt (+ (* re re) (* im im))))) (cbrt (sqrt (+ (* re re) (* im im))))) re)
35.0ms
(sqrt (+ (* re re) (* im im)))
34.0ms
(sqrt (+ (* re re) (* im im)))
39.0ms
(sqrt (+ (* re re) (* im im)))

simplify52.0ms

Algorithm
egg-herbie
Counts
68 → 68
Iterations

Useful iterations: 3 (45.0ms)

IterNodesCost
0160641
1431527
21354481
35001477

prune290.0ms

Filtered
68 candidates to 61 candidates (89.7%)
Pruning

8 alts after pruning (6 fresh and 2 done)

PrunedKeptTotal
New67168
Fresh055
Picked011
Done011
Total67875

Merged error: 19.2b

Counts
75 → 8

regimes192.0ms

Accuracy

56.5% (9.4b remaining)

Error of 27.4b against oracle of 17.9b and baseline of 39.6b

bsearch126.0ms

Steps
ItersRangePoint
10
7.981098076133901e+52
8.549531690056054e+66
1.1231365626873932e+66
9
1.625473957011741e-208
1.8507233151258125e-202
1.3079301294629651e-207
6
6.351876487387151e-290
3.3000252034626215e-289
1.8211799526759194e-289

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04939
14939

end0.0ms

sample901.0ms

Algorithm
intervals
Results
289.0ms6044×body80valid
193.0ms703×body2560valid
108.0ms480×body1280valid
94.0ms290×body5120valid
51.0ms250×body640valid
22.0ms165×body320valid
6.0ms68×body160valid

Profiling

Loading profile data...