Details

Time bar (total: 4.3s)

sample24.0ms

Algorithm
intervals
Results
6.0ms197×body80valid
4.0ms22×body2560valid
2.0ms14×body1280valid
2.0msbody5120valid
1.0msbody640valid
0.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: 37.2b

Counts
2 → 1

localize9.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (* re re) (* im im))
0.5b
(sqrt (* 2.0 (+ (sqrt (+ (* re re) (* im im))) re)))
1.1b
(+ (sqrt (+ (* re re) (* im im))) re)
27.5b
(sqrt (+ (* re re) (* im im)))

rewrite26.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))
11.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)))

series294.0ms

Counts
4 → 12
Calls
4 calls:
27.0ms
(+ (* re re) (* im im))
180.0ms
(sqrt (* 2.0 (+ (sqrt (+ (* re re) (* im im))) re)))
50.0ms
(+ (sqrt (+ (* re re) (* im im))) re)
36.0ms
(sqrt (+ (* re re) (* im im)))

simplify87.0ms

Algorithm
egg-herbie
Counts
63 → 63
Iterations

Useful iterations: 3 (81.0ms)

IterNodesCost
0274428
1986391
23089381
35002379

prune188.0ms

Filtered
63 candidates to 52 candidates (82.5%)
Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New56763
Fresh000
Picked101
Done000
Total57764

Merged error: 18.2b

Counts
64 → 7

localize19.0ms

Local error

Found 4 expressions with local error:

27.5b
(sqrt (* (* (cbrt (+ (* re re) (* im im))) (cbrt (+ (* re re) (* im im)))) (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)))

rewrite31.0ms

Algorithm
rewrite-expression-head
Rules
60×cbrt-div
30×flip3-+ flip-+
28×frac-times
26×sqrt-div
24×pow1
15×sqrt-pow1
14×associate-*l/
12×pow1/3
cbrt-prod pow-prod-up
associate-*r/
add-sqr-sqrt add-cube-cbrt *-un-lft-identity
pow-plus
pow-prod-down
add-exp-log add-cbrt-cube add-log-exp
pow-sqr
pow2
pow1/2 pow3 sqrt-prod
Counts
4 → 89
Calls
4 calls:
16.0ms
(sqrt (* (* (cbrt (+ (* re re) (* im im))) (cbrt (+ (* re re) (* im im)))) (cbrt (+ (* re re) (* im im)))))
3.0ms
(cbrt (+ (* re re) (* im im)))
4.0ms
(cbrt (+ (* re re) (* im im)))
4.0ms
(cbrt (+ (* re re) (* im im)))

series323.0ms

Counts
4 → 12
Calls
4 calls:
36.0ms
(sqrt (* (* (cbrt (+ (* re re) (* im im))) (cbrt (+ (* re re) (* im im)))) (cbrt (+ (* re re) (* im im)))))
96.0ms
(cbrt (+ (* re re) (* im im)))
95.0ms
(cbrt (+ (* re re) (* im im)))
96.0ms
(cbrt (+ (* re re) (* im im)))

simplify192.0ms

Algorithm
egg-herbie
Counts
101 → 101
Iterations

Useful iterations: 3 (172.0ms)

IterNodesCost
02871504
17011463
230661446
350011379

prune282.0ms

Filtered
101 candidates to 64 candidates (63.4%)
Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New983101
Fresh246
Picked011
Done000
Total1008108

Merged error: 18.1b

Counts
108 → 8

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

series383.0ms

Counts
4 → 12
Calls
4 calls:
95.0ms
(cbrt (+ (* re re) (* im im)))
95.0ms
(cbrt (+ (* re re) (* im im)))
97.0ms
(cbrt (+ (* re re) (* im im)))
95.0ms
(cbrt (+ (* re re) (* im im)))

simplify51.0ms

Algorithm
egg-herbie
Counts
64 → 64
Iterations

Useful iterations: 2 (13.0ms)

IterNodesCost
0123488
1408452
21386444
35001444

prune397.0ms

Filtered
64 candidates to 60 candidates (93.8%)
Pruning

9 alts after pruning (7 fresh and 2 done)

PrunedKeptTotal
New62264
Fresh156
Picked011
Done011
Total63972

Merged error: 18.1b

Counts
72 → 9

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

rewrite21.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)))
8.0ms
(cbrt (+ (* re re) (* im im)))
4.0ms
(cbrt (+ (* re re) (* im im)))

series381.0ms

Counts
4 → 12
Calls
4 calls:
95.0ms
(cbrt (+ (* re re) (* im im)))
95.0ms
(cbrt (+ (* re re) (* im im)))
95.0ms
(cbrt (+ (* re re) (* im im)))
96.0ms
(cbrt (+ (* re re) (* im im)))

simplify51.0ms

Algorithm
egg-herbie
Counts
64 → 64
Iterations

Useful iterations: 2 (13.0ms)

IterNodesCost
0123488
1408452
21386444
35001444

prune418.0ms

Filtered
64 candidates to 60 candidates (93.8%)
Pruning

9 alts after pruning (7 fresh and 2 done)

PrunedKeptTotal
New62264
Fresh156
Picked101
Done022
Total64973

Merged error: 18.1b

Counts
73 → 9

regimes226.0ms

Accuracy

58.5% (8.8b remaining)

Error of 26.7b against oracle of 17.9b and baseline of 39.0b

bsearch118.0ms

Steps
ItersRangePoint
6
8.386220925578828e+143
4.316820422997054e+144
1.5282424607541283e+144
10
8.660844906217239e-175
7.0021986566734e-156
4.774322580768034e-170
9
3.2439511425214304e-251
1.5200205730203393e-242
1.7813720860167097e-247

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
05237
15237

end0.0ms

sample664.0ms

Algorithm
intervals
Results
197.0ms5994×body80valid
144.0ms755×body2560valid
68.0ms448×body1280valid
67.0ms273×body5120valid
37.0ms286×body640valid
14.0ms153×body320valid
5.0ms91×body160valid