Details

Time bar (total: 1.6s)

sample13.0ms

Algorithm
intervals
Results
5.0ms256×body80valid

simplify4.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
074
174

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 32.0b

localize5.0ms

Local error

Found 2 expressions with local error:

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

rewrite16.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:
8.0ms
(+ (* re re) (* im im))
8.0ms
(sqrt (+ (* re re) (* im im)))

series62.0ms

Counts
2 → 6
Calls
2 calls:
25.0ms
(+ (* re re) (* im im))
37.0ms
(sqrt (+ (* re re) (* im im)))

simplify49.0ms

Algorithm
egg-herbie
Counts
32 → 32
Iterations

Useful iterations: 3 (46.0ms)

IterNodesCost
0125178
1530163
21540163
35001162

prune72.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 6.8b

localize12.0ms

Local error

Found 4 expressions with local error:

0.1b
(sqrt (cbrt (+ (* re re) (* im im))))
0.4b
(* (fabs (cbrt (+ (* re re) (* im im)))) (sqrt (cbrt (+ (* re re) (* im im)))))
31.0b
(cbrt (+ (* re re) (* im im)))
31.0b
(cbrt (+ (* re re) (* im im)))

rewrite48.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:
9.0ms
(sqrt (cbrt (+ (* re re) (* im im))))
27.0ms
(* (fabs (cbrt (+ (* re re) (* im im)))) (sqrt (cbrt (+ (* re re) (* im im)))))
5.0ms
(cbrt (+ (* re re) (* im im)))
5.0ms
(cbrt (+ (* re re) (* im im)))

series363.0ms

Counts
4 → 12
Calls
4 calls:
85.0ms
(sqrt (cbrt (+ (* re re) (* im im))))
104.0ms
(* (fabs (cbrt (+ (* re re) (* im im)))) (sqrt (cbrt (+ (* re re) (* im im)))))
88.0ms
(cbrt (+ (* re re) (* im im)))
86.0ms
(cbrt (+ (* re re) (* im im)))

simplify129.0ms

Algorithm
egg-herbie
Counts
86 → 86
Iterations

Useful iterations: 3 (121.0ms)

IterNodesCost
0277853
11072799
24426786
35002779

prune235.0ms

Pruning

5 alts after pruning (3 fresh and 2 done)

Merged error: 6.8b

localize1.0ms

rewrite0.0ms

Algorithm
rewrite-expression-head
Rules
Counts
0 → 0

series0.0ms

Counts
0 → 0

simplify2.0ms

Algorithm
egg-herbie
Counts
0 → 0
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
000

prune2.0ms

Pruning

5 alts after pruning (2 fresh and 3 done)

Merged error: 6.8b

localize2.0ms

rewrite0.0ms

Algorithm
rewrite-expression-head
Rules
Counts
0 → 0

series0.0ms

Counts
0 → 0

simplify2.0ms

Algorithm
egg-herbie
Counts
0 → 0
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
000

prune0.0ms

Pruning

5 alts after pruning (1 fresh and 4 done)

Merged error: 6.8b

regimes213.0ms

Accuracy

56.1% (10.4b remaining)

Error of 18.1b against oracle of 7.7b and baseline of 31.5b

bsearch82.0ms

Steps
ItersRangePoint
9
1.6564934462005338e+19
3.0077710628296854e+26
2.9712800106749567e+26
9
5.071879329881285e-240
1.4578539957000644e-231
2.9506572857247177e-235
7
-7.39486344966426e-262
-3.8712513553988877e-264
-6.216717371626989e-264
9
-5.28789737177076e+121
-3.898811697184426e+115
-5.810291952691062e+115

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0239
1239

end0.0ms

sample332.0ms

Algorithm
intervals
Results
167.0ms8000×body80valid