Details

Time bar (total: 2.9s)

sample278.0ms

Algorithm
intervals
Results
255.0ms337×body80valid

simplify5.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0103
1103

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.0b

localize10.0ms

Local error

Found 1 expressions with local error:

0.0b
(+ (* x.re y.im) (* x.im y.re))

rewrite15.0ms

Algorithm
rewrite-expression-head
Rules
add-log-exp
pow1 add-exp-log +-commutative add-sqr-sqrt add-cube-cbrt *-un-lft-identity flip3-+ sum-log add-cbrt-cube flip-+
Counts
1 → 11
Calls
1 calls:
14.0ms
(+ (* x.re y.im) (* x.im y.re))

series33.0ms

Counts
1 → 3
Calls
1 calls:
33.0ms
(+ (* x.re y.im) (* x.im y.re))

simplify112.0ms

Algorithm
egg-herbie
Counts
14 → 14
Iterations

Useful iterations: 1 (4.0ms)

IterNodesCost
010074
136367
2105167
3293167
4500167

prune31.0ms

Pruning

2 alts after pruning (1 fresh and 1 done)

Merged error: 0.0b

localize7.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (* x.re y.im) (* x.im y.re))
0.2b
(* (sqrt (+ (* x.re y.im) (* x.im y.re))) (sqrt (+ (* x.re y.im) (* x.im y.re))))
1.0b
(sqrt (+ (* x.re y.im) (* x.im y.re)))
1.0b
(sqrt (+ (* x.re y.im) (* x.im y.re)))

rewrite69.0ms

Algorithm
rewrite-expression-head
Rules
28×add-sqr-sqrt
24×sqrt-prod
21×pow1
16×sqrt-div
14×add-cube-cbrt *-un-lft-identity
10×sqrt-pow1 pow1/2
flip3-+ flip-+
swap-sqr
add-exp-log associate-*r* associate-*l* add-cbrt-cube add-log-exp
pow-prod-up
frac-times unswap-sqr
pow-prod-down pow-sqr
rem-sqrt-square associate-*r/ associate-*l/
+-commutative pow2 pow-plus sqrt-unprod prod-exp sum-log rem-square-sqrt *-commutative cbrt-unprod
Counts
4 → 98
Calls
4 calls:
8.0ms
(+ (* x.re y.im) (* x.im y.re))
44.0ms
(* (sqrt (+ (* x.re y.im) (* x.im y.re))) (sqrt (+ (* x.re y.im) (* x.im y.re))))
8.0ms
(sqrt (+ (* x.re y.im) (* x.im y.re)))
7.0ms
(sqrt (+ (* x.re y.im) (* x.im y.re)))

series175.0ms

Counts
4 → 12
Calls
4 calls:
27.0ms
(+ (* x.re y.im) (* x.im y.re))
27.0ms
(* (sqrt (+ (* x.re y.im) (* x.im y.re))) (sqrt (+ (* x.re y.im) (* x.im y.re))))
60.0ms
(sqrt (+ (* x.re y.im) (* x.im y.re)))
61.0ms
(sqrt (+ (* x.re y.im) (* x.im y.re)))

simplify40.0ms

Algorithm
egg-herbie
Counts
110 → 110
Iterations

Useful iterations: 2 (32.0ms)

IterNodesCost
0236768
1962698
25001674

prune194.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0b

localize13.0ms

Local error

Found 4 expressions with local error:

1.0b
(sqrt (+ (* x.re y.im) (* x.im y.re)))
1.4b
(cbrt (+ (* x.re y.im) (* x.im y.re)))
1.4b
(cbrt (+ (* x.re y.im) (* x.im y.re)))
1.4b
(cbrt (+ (* x.re y.im) (* x.im y.re)))

rewrite22.0ms

Algorithm
rewrite-expression-head
Rules
cbrt-prod add-sqr-sqrt
add-cube-cbrt *-un-lft-identity
cbrt-div
pow1
add-exp-log flip3-+ add-cbrt-cube flip-+ add-log-exp
pow1/3 sqrt-prod
sqrt-div
rem-sqrt-square sqrt-pow1 pow1/2
Counts
4 → 54
Calls
4 calls:
7.0ms
(sqrt (+ (* x.re y.im) (* x.im y.re)))
4.0ms
(cbrt (+ (* x.re y.im) (* x.im y.re)))
4.0ms
(cbrt (+ (* x.re y.im) (* x.im y.re)))
4.0ms
(cbrt (+ (* x.re y.im) (* x.im y.re)))

series329.0ms

Counts
4 → 12
Calls
4 calls:
60.0ms
(sqrt (+ (* x.re y.im) (* x.im y.re)))
90.0ms
(cbrt (+ (* x.re y.im) (* x.im y.re)))
90.0ms
(cbrt (+ (* x.re y.im) (* x.im y.re)))
90.0ms
(cbrt (+ (* x.re y.im) (* x.im y.re)))

simplify62.0ms

Algorithm
egg-herbie
Counts
66 → 66
Iterations

Useful iterations: 3 (57.0ms)

IterNodesCost
0238547
1684511
22411491
35002487

prune216.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0b

localize9.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (* x.re y.im) (* x.im y.re))
0.2b
(pow (sqrt (+ (* x.re y.im) (* x.im y.re))) 4)
1.0b
(sqrt (+ (* x.re y.im) (* x.im y.re)))
13.1b
(sqrt (pow (sqrt (+ (* x.re y.im) (* x.im y.re))) 4))

rewrite45.0ms

Algorithm
rewrite-expression-head
Rules
20×sqrt-prod
15×add-sqr-sqrt
14×unpow-prod-down
11×add-cube-cbrt *-un-lft-identity
pow1
add-log-exp
add-exp-log rem-sqrt-square
add-cbrt-cube
pow-unpow pow-pow sqrt-pow1 pow1/2 sqr-pow
flip3-+ sqrt-div flip-+
+-commutative pow-to-exp pow-exp sum-log sqrt-pow2
Counts
4 → 72
Calls
4 calls:
7.0ms
(+ (* x.re y.im) (* x.im y.re))
10.0ms
(pow (sqrt (+ (* x.re y.im) (* x.im y.re))) 4)
7.0ms
(sqrt (+ (* x.re y.im) (* x.im y.re)))
19.0ms
(sqrt (pow (sqrt (+ (* x.re y.im) (* x.im y.re))) 4))

series266.0ms

Counts
4 → 12
Calls
4 calls:
27.0ms
(+ (* x.re y.im) (* x.im y.re))
150.0ms
(pow (sqrt (+ (* x.re y.im) (* x.im y.re))) 4)
62.0ms
(sqrt (+ (* x.re y.im) (* x.im y.re)))
27.0ms
(sqrt (pow (sqrt (+ (* x.re y.im) (* x.im y.re))) 4))

simplify160.0ms

Algorithm
egg-herbie
Counts
84 → 84
Iterations

Useful iterations: 2 (31.0ms)

IterNodesCost
0246556
1977468
24561444
35001444

prune175.0ms

Pruning

3 alts after pruning (0 fresh and 3 done)

Merged error: 0b

regimes130.0ms

Accuracy

0% (0.0b remaining)

Error of 0.0b against oracle of 0.0b and baseline of 0.0b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0103
1103

end0.0ms

sample545.0ms

Algorithm
intervals
Results
208.0ms10474×body80valid