Details

Time bar (total: 1.9s)

sample25.0ms

Algorithm
intervals
Results
8.0ms335×body80valid

simplify3.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0103
1103

prune3.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 0.0b

Counts
2 → 1

localize5.0ms

Local error

Found 1 expressions with local error:

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

rewrite4.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:
3.0ms
(+ (* x.re y.im) (* x.im y.re))

series9.0ms

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

simplify113.0ms

Algorithm
egg-herbie
Counts
14 → 14
Iterations

Useful iterations: 1 (4.0ms)

IterNodesCost
010074
136367
2105167
3293167
4500167

prune23.0ms

Filtered
12 candidates to 14 candidates (-16.7%)
Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New13114
Fresh000
Picked011
Done000
Total13215

Merged error: 0.0b

Counts
15 → 2

localize8.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.8b
(sqrt (+ (* x.re y.im) (* x.im y.re)))
1.8b
(sqrt (+ (* x.re y.im) (* x.im y.re)))

rewrite24.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:
4.0ms
(+ (* x.re y.im) (* x.im y.re))
10.0ms
(* (sqrt (+ (* x.re y.im) (* x.im y.re))) (sqrt (+ (* x.re y.im) (* x.im y.re))))
3.0ms
(sqrt (+ (* x.re y.im) (* x.im y.re)))
3.0ms
(sqrt (+ (* x.re y.im) (* x.im y.re)))

series62.0ms

Counts
4 → 12
Calls
4 calls:
9.0ms
(+ (* x.re y.im) (* x.im y.re))
10.0ms
(* (sqrt (+ (* x.re y.im) (* x.im y.re))) (sqrt (+ (* x.re y.im) (* x.im y.re))))
22.0ms
(sqrt (+ (* x.re y.im) (* x.im y.re)))
20.0ms
(sqrt (+ (* x.re y.im) (* x.im y.re)))

simplify41.0ms

Algorithm
egg-herbie
Counts
110 → 110
Iterations

Useful iterations: 2 (32.0ms)

IterNodesCost
0250764
11016706
25002686

prune101.0ms

Filtered
67 candidates to 110 candidates (-64.2%)
Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New1091110
Fresh000
Picked011
Done011
Total1093112

Merged error: 0.0b

Counts
112 → 3

localize13.0ms

Local error

Found 4 expressions with local error:

0.4b
(pow (cbrt (sqrt (+ (* x.re y.im) (* x.im y.re)))) 4)
1.8b
(sqrt (+ (* x.re y.im) (* x.im y.re)))
1.8b
(sqrt (+ (* x.re y.im) (* x.im y.re)))
1.8b
(sqrt (+ (* x.re y.im) (* x.im y.re)))

rewrite19.0ms

Algorithm
rewrite-expression-head
Rules
14×add-sqr-sqrt
12×sqrt-prod
11×add-cube-cbrt *-un-lft-identity
unpow-prod-down
pow1
cbrt-prod sqrt-div
add-exp-log
add-cbrt-cube add-log-exp
rem-sqrt-square pow-unpow sqrt-pow1 flip3-+ pow1/2 flip-+
pow-pow
pow-to-exp pow1/3 pow-exp sqr-pow
Counts
4 → 69
Calls
4 calls:
5.0ms
(pow (cbrt (sqrt (+ (* x.re y.im) (* x.im y.re)))) 4)
3.0ms
(sqrt (+ (* x.re y.im) (* x.im y.re)))
5.0ms
(sqrt (+ (* x.re y.im) (* x.im y.re)))
3.0ms
(sqrt (+ (* x.re y.im) (* x.im y.re)))

series118.0ms

Counts
4 → 12
Calls
4 calls:
58.0ms
(pow (cbrt (sqrt (+ (* x.re y.im) (* x.im y.re)))) 4)
20.0ms
(sqrt (+ (* x.re y.im) (* x.im y.re)))
20.0ms
(sqrt (+ (* x.re y.im) (* x.im y.re)))
20.0ms
(sqrt (+ (* x.re y.im) (* x.im y.re)))

simplify158.0ms

Algorithm
egg-herbie
Counts
81 → 81
Iterations

Useful iterations: 2 (32.0ms)

IterNodesCost
0325635
11064608
24665602
35002602

prune107.0ms

Filtered
63 candidates to 81 candidates (-28.6%)
Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New81081
Fresh000
Picked011
Done022
Total81384

Merged error: 0.0b

Counts
84 → 3

regimes400.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

sample699.0ms

Algorithm
intervals
Results
262.0ms10453×body80valid

Profiling

Loading profile data...