Details

Time bar (total: 3.5s)

sample13.0ms

Algorithm
intervals
Results
5.0ms256×body80valid

simplify3.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: 33.6b

localize5.0ms

Local error

Found 2 expressions with local error:

0.0b
(+ (* re re) (* im im))
31.6b
(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)))

series71.0ms

Counts
2 → 6
Calls
2 calls:
29.0ms
(+ (* re re) (* im im))
42.0ms
(sqrt (+ (* re re) (* im im)))

simplify49.0ms

Algorithm
egg-herbie
Counts
32 → 32
Iterations

Useful iterations: 3 (46.0ms)

IterNodesCost
0125177
1530163
21540163
35001162

prune82.0ms

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 9.9b

localize9.0ms

Local error

Found 4 expressions with local error:

0.1b
(sqrt (cbrt (+ (* re re) (* im im))))
0.2b
(* (fabs (cbrt (+ (* re re) (* im im)))) (sqrt (cbrt (+ (* re re) (* im im)))))
32.5b
(cbrt (+ (* re re) (* im im)))
32.5b
(cbrt (+ (* re re) (* im im)))

rewrite51.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))))
28.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)))

series438.0ms

Counts
4 → 12
Calls
4 calls:
106.0ms
(sqrt (cbrt (+ (* re re) (* im im))))
129.0ms
(* (fabs (cbrt (+ (* re re) (* im im)))) (sqrt (cbrt (+ (* re re) (* im im)))))
104.0ms
(cbrt (+ (* re re) (* im im)))
97.0ms
(cbrt (+ (* re re) (* im im)))

simplify118.0ms

Algorithm
egg-herbie
Counts
86 → 86
Iterations

Useful iterations: 3 (111.0ms)

IterNodesCost
0277855
11061799
24305786
35001779

prune250.0ms

Pruning

7 alts after pruning (5 fresh and 2 done)

Merged error: 9.9b

localize13.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (fabs (exp (log (cbrt (+ (* re re) (* im im)))))) (sqrt (cbrt (+ (* re re) (* im im)))))
5.2b
(exp (log (cbrt (+ (* re re) (* im im)))))
32.5b
(cbrt (+ (* re re) (* im im)))
32.5b
(cbrt (+ (* re re) (* im im)))

rewrite51.0ms

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

series420.0ms

Counts
4 → 12
Calls
4 calls:
123.0ms
(* (fabs (exp (log (cbrt (+ (* re re) (* im im)))))) (sqrt (cbrt (+ (* re re) (* im im)))))
100.0ms
(exp (log (cbrt (+ (* re re) (* im im)))))
98.0ms
(cbrt (+ (* re re) (* im im)))
99.0ms
(cbrt (+ (* re re) (* im im)))

simplify120.0ms

Algorithm
egg-herbie
Counts
87 → 87
Iterations

Useful iterations: 3 (112.0ms)

IterNodesCost
0301930
11094835
24368805
35001791

prune314.0ms

Pruning

7 alts after pruning (5 fresh and 2 done)

Merged error: 9.9b

localize27.0ms

Local error

Found 4 expressions with local error:

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

rewrite22.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:
5.0ms
(cbrt (+ (* re re) (* im im)))
5.0ms
(cbrt (+ (* re re) (* im im)))
5.0ms
(cbrt (+ (* re re) (* im im)))
5.0ms
(cbrt (+ (* re re) (* im im)))

series409.0ms

Counts
4 → 12
Calls
4 calls:
103.0ms
(cbrt (+ (* re re) (* im im)))
101.0ms
(cbrt (+ (* re re) (* im im)))
102.0ms
(cbrt (+ (* re re) (* im im)))
102.0ms
(cbrt (+ (* re re) (* im im)))

simplify49.0ms

Algorithm
egg-herbie
Counts
64 → 64
Iterations

Useful iterations: 2 (12.0ms)

IterNodesCost
0123488
1408452
21386444
35001444

prune322.0ms

Pruning

7 alts after pruning (5 fresh and 2 done)

Merged error: 9.9b

regimes262.0ms

Accuracy

56.6% (10.6b remaining)

Error of 18.1b against oracle of 7.5b and baseline of 32.0b

bsearch45.0ms

Steps
ItersRangePoint
8
3.095505661370574e+39
1.544957661845675e+42
3.219835102538229e+41
9
-8.135496072504979e+92
-3.137185362884227e+83
-3.4884190203618856e+90

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0175
1175

end0.0ms

sample339.0ms

Algorithm
intervals
Results
172.0ms8000×body80valid