Details

Time bar (total: 3.2s)

sample15.0ms

Algorithm
intervals
Results
8.0ms256×body80valid

simplify4.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
074
174

prune2.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: 30.7b

Counts
2 → 1

localize5.0ms

Local error

Found 2 expressions with local error:

0.0b
(+ (* re re) (* im im))
28.6b
(sqrt (+ (* re re) (* im im)))

rewrite8.0ms

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

series64.0ms

Counts
2 → 6
Calls
2 calls:
26.0ms
(+ (* re re) (* im im))
38.0ms
(sqrt (+ (* re re) (* im im)))

simplify50.0ms

Algorithm
egg-herbie
Counts
32 → 32
Iterations

Useful iterations: 3 (46.0ms)

IterNodesCost
0125177
1530163
21540163
35001162

prune65.0ms

Filtered
32 candidates to 25 candidates (78.1%)
Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New27532
Fresh000
Picked011
Done000
Total27633

Merged error: 7.9b

Counts
33 → 6

localize9.0ms

Local error

Found 4 expressions with local error:

0.1b
(sqrt (cbrt (+ (* re re) (* im im))))
0.3b
(* (fabs (cbrt (+ (* re re) (* im im)))) (sqrt (cbrt (+ (* re re) (* im im)))))
29.6b
(cbrt (+ (* re re) (* im im)))
29.6b
(cbrt (+ (* re re) (* im im)))

rewrite22.0ms

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

series386.0ms

Counts
4 → 12
Calls
4 calls:
90.0ms
(sqrt (cbrt (+ (* re re) (* im im))))
112.0ms
(* (fabs (cbrt (+ (* re re) (* im im)))) (sqrt (cbrt (+ (* re re) (* im im)))))
91.0ms
(cbrt (+ (* re re) (* im im)))
92.0ms
(cbrt (+ (* re re) (* im im)))

simplify127.0ms

Algorithm
egg-herbie
Counts
86 → 86
Iterations

Useful iterations: 3 (118.0ms)

IterNodesCost
0277853
11072799
24426786
35002779

prune215.0ms

Filtered
86 candidates to 72 candidates (83.7%)
Pruning

7 alts after pruning (5 fresh and 2 done)

PrunedKeptTotal
New84286
Fresh134
Picked011
Done011
Total85792

Merged error: 7.9b

Counts
92 → 7

localize13.0ms

Local error

Found 4 expressions with local error:

0.3b
(* (fabs (cbrt (+ (* re re) (* im im)))) (sqrt (exp (log (cbrt (+ (* re re) (* im im)))))))
5.3b
(exp (log (cbrt (+ (* re re) (* im im)))))
29.6b
(cbrt (+ (* re re) (* im im)))
29.6b
(cbrt (+ (* re re) (* im im)))

rewrite27.0ms

Algorithm
rewrite-expression-head
Rules
22×add-sqr-sqrt
14×add-cube-cbrt log-prod *-un-lft-identity exp-sum
13×cbrt-prod
12×associate-*r* sqrt-prod
cbrt-div
pow1
add-exp-log add-cbrt-cube
exp-prod
log-div flip3-+ exp-diff flip-+ add-log-exp unswap-sqr
pow1/3 associate-*l*
sqrt-div associate-*r/ log-pow
pow-prod-down prod-exp *-commutative cbrt-unprod rem-exp-log
Counts
4 → 79
Calls
4 calls:
12.0ms
(* (fabs (cbrt (+ (* re re) (* im im)))) (sqrt (exp (log (cbrt (+ (* re re) (* im im)))))))
5.0ms
(exp (log (cbrt (+ (* re re) (* im im)))))
3.0ms
(cbrt (+ (* re re) (* im im)))
4.0ms
(cbrt (+ (* re re) (* im im)))

series398.0ms

Counts
4 → 12
Calls
4 calls:
110.0ms
(* (fabs (cbrt (+ (* re re) (* im im)))) (sqrt (exp (log (cbrt (+ (* re re) (* im im)))))))
95.0ms
(exp (log (cbrt (+ (* re re) (* im im)))))
96.0ms
(cbrt (+ (* re re) (* im im)))
97.0ms
(cbrt (+ (* re re) (* im im)))

simplify123.0ms

Algorithm
egg-herbie
Counts
91 → 91
Iterations

Useful iterations: 3 (114.0ms)

IterNodesCost
0313987
11106912
24373880
35002864

prune266.0ms

Filtered
91 candidates to 76 candidates (83.5%)
Pruning

7 alts after pruning (4 fresh and 3 done)

PrunedKeptTotal
New90191
Fresh134
Picked011
Done022
Total91798

Merged error: 7.9b

Counts
98 → 7

localize23.0ms

Local error

Found 4 expressions with local error:

29.6b
(cbrt (+ (* re re) (* im im)))
29.6b
(cbrt (+ (* re re) (* im im)))
29.6b
(cbrt (+ (* re re) (* im im)))
29.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:
3.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)))

series374.0ms

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

simplify50.0ms

Algorithm
egg-herbie
Counts
64 → 64
Iterations

Useful iterations: 2 (13.0ms)

IterNodesCost
0123488
1408452
21386444
35001444

prune292.0ms

Filtered
64 candidates to 60 candidates (93.8%)
Pruning

7 alts after pruning (4 fresh and 3 done)

PrunedKeptTotal
New63164
Fresh033
Picked101
Done033
Total64771

Merged error: 7.9b

Counts
71 → 7

regimes249.0ms

Accuracy

59% (9.8b remaining)

Error of 17.9b against oracle of 8.1b and baseline of 32.0b

bsearch45.0ms

Steps
ItersRangePoint
7
3.3840843726061656e+70
7.402926812642739e+71
6.097588289625691e+71
8
-9.551618771889815e+129
-1.155698580497464e+126
-1.3830219520310334e+128

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0175
1175

end0.0ms

sample373.0ms

Algorithm
intervals
Results
243.0ms8000×body80valid