Details

Time bar (total: 2.4s)

sample28.0ms

Algorithm
intervals
Results
12.0ms266×body80valid

simplify3.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0157
1157

prune4.0ms

Filtered
1 candidates to 0 candidates (100.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 27.3b

Counts
2 → 1

localize9.0ms

Local error

Found 2 expressions with local error:

0.2b
(+ (* x.re y.re) (* x.im y.im))
26.9b
(/ (+ (* x.re y.re) (* x.im y.im)) (+ (* y.re y.re) (* y.im y.im)))

rewrite12.0ms

Algorithm
rewrite-expression-head
Rules
10×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
times-frac
add-exp-log add-cbrt-cube add-log-exp
flip3-+ associate-/r* flip-+ associate-/l*
pow1 associate-/r/ associate-/l/
cbrt-undiv +-commutative frac-2neg div-exp clear-num sum-log div-inv
Counts
2 → 42
Calls
2 calls:
3.0ms
(+ (* x.re y.re) (* x.im y.im))
8.0ms
(/ (+ (* x.re y.re) (* x.im y.im)) (+ (* y.re y.re) (* y.im y.im)))

series40.0ms

Counts
2 → 6
Calls
2 calls:
10.0ms
(+ (* x.re y.re) (* x.im y.im))
30.0ms
(/ (+ (* x.re y.re) (* x.im y.im)) (+ (* y.re y.re) (* y.im y.im)))

simplify81.0ms

Algorithm
egg-herbie
Counts
48 → 48
Iterations

Useful iterations: 2 (21.0ms)

IterNodesCost
0231450
1847413
22837412
35001412

prune87.0ms

Filtered
48 candidates to 38 candidates (20.8%)
Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New41748
Fresh000
Picked011
Done000
Total41849

Merged error: 26.5b

Counts
49 → 8

localize14.0ms

Local error

Found 4 expressions with local error:

0.2b
(+ (* x.re y.re) (* x.im y.im))
15.5b
(/ (+ (* x.re y.re) (* x.im y.im)) (sqrt (+ (* y.re y.re) (* y.im y.im))))
30.2b
(sqrt (+ (* y.re y.re) (* y.im y.im)))
30.2b
(sqrt (+ (* y.re y.re) (* y.im y.im)))

rewrite21.0ms

Algorithm
rewrite-expression-head
Rules
23×add-sqr-sqrt
21×add-cube-cbrt *-un-lft-identity
18×times-frac sqrt-prod
pow1 add-exp-log sqrt-div associate-/r* add-cbrt-cube add-log-exp
flip3-+ flip-+
associate-/l*
rem-sqrt-square sqrt-pow1 pow1/2 associate-/r/ associate-/l/
cbrt-undiv +-commutative frac-2neg div-exp clear-num sum-log div-inv
Counts
4 → 84
Calls
4 calls:
3.0ms
(+ (* x.re y.re) (* x.im y.im))
9.0ms
(/ (+ (* x.re y.re) (* x.im y.im)) (sqrt (+ (* y.re y.re) (* y.im y.im))))
3.0ms
(sqrt (+ (* y.re y.re) (* y.im y.im)))
3.0ms
(sqrt (+ (* y.re y.re) (* y.im y.im)))

series56.0ms

Counts
4 → 12
Calls
4 calls:
10.0ms
(+ (* x.re y.re) (* x.im y.im))
34.0ms
(/ (+ (* x.re y.re) (* x.im y.im)) (sqrt (+ (* y.re y.re) (* y.im y.im))))
6.0ms
(sqrt (+ (* y.re y.re) (* y.im y.im)))
6.0ms
(sqrt (+ (* y.re y.re) (* y.im y.im)))

simplify83.0ms

Algorithm
egg-herbie
Counts
96 → 96
Iterations

Useful iterations: 2 (23.0ms)

IterNodesCost
0273893
1868840
22679828
35002828

prune120.0ms

Filtered
96 candidates to 74 candidates (22.9%)
Pruning

10 alts after pruning (8 fresh and 2 done)

PrunedKeptTotal
New91596
Fresh336
Picked011
Done011
Total9410104

Merged error: 24.1b

Counts
104 → 10

localize13.0ms

Local error

Found 4 expressions with local error:

0.2b
(+ (* x.re y.re) (* x.im y.im))
15.6b
(* (+ (* x.re y.re) (* x.im y.im)) (/ 1 (sqrt (+ (* y.re y.re) (* y.im y.im)))))
30.2b
(sqrt (+ (* y.re y.re) (* y.im y.im)))
30.2b
(sqrt (+ (* y.re y.re) (* y.im y.im)))

rewrite27.0ms

Algorithm
rewrite-expression-head
Rules
34×add-sqr-sqrt
24×associate-*r*
22×*-un-lft-identity times-frac
20×add-cube-cbrt
17×sqrt-prod
13×add-exp-log
add-cbrt-cube
pow1
flip3-+ sqrt-div flip-+ add-log-exp
unswap-sqr
prod-exp
associate-*l*
frac-times rem-sqrt-square sqrt-pow1 pow1/2 div-exp associate-*l/ associate-/r/ cbrt-unprod
cbrt-undiv +-commutative rec-exp 1-exp associate-*r/ pow-prod-down sum-log un-div-inv *-commutative div-inv
Counts
4 → 94
Calls
4 calls:
3.0ms
(+ (* x.re y.re) (* x.im y.im))
14.0ms
(* (+ (* x.re y.re) (* x.im y.im)) (/ 1 (sqrt (+ (* y.re y.re) (* y.im y.im)))))
4.0ms
(sqrt (+ (* y.re y.re) (* y.im y.im)))
3.0ms
(sqrt (+ (* y.re y.re) (* y.im y.im)))

series57.0ms

Counts
4 → 12
Calls
4 calls:
10.0ms
(+ (* x.re y.re) (* x.im y.im))
36.0ms
(* (+ (* x.re y.re) (* x.im y.im)) (/ 1 (sqrt (+ (* y.re y.re) (* y.im y.im)))))
6.0ms
(sqrt (+ (* y.re y.re) (* y.im y.im)))
6.0ms
(sqrt (+ (* y.re y.re) (* y.im y.im)))

simplify48.0ms

Algorithm
egg-herbie
Counts
106 → 106
Iterations

Useful iterations: 2 (38.0ms)

IterNodesCost
0385911
11913826
25002802

prune116.0ms

Filtered
106 candidates to 74 candidates (30.2%)
Pruning

10 alts after pruning (7 fresh and 3 done)

PrunedKeptTotal
New1060106
Fresh077
Picked011
Done022
Total10610116

Merged error: 24.1b

Counts
116 → 10

localize12.0ms

Local error

Found 4 expressions with local error:

0.2b
(+ (* x.re y.re) (* x.im y.im))
0.3b
(pow (/ (+ (* x.re y.re) (* x.im y.im)) (+ (* y.re y.re) (* y.im y.im))) 3)
26.9b
(/ (+ (* x.re y.re) (* x.im y.im)) (+ (* y.re y.re) (* y.im y.im)))
30.8b
(cbrt (pow (/ (+ (* x.re y.re) (* x.im y.im)) (+ (* y.re y.re) (* y.im y.im))) 3))

rewrite32.0ms

Algorithm
rewrite-expression-head
Rules
45×times-frac
42×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
36×cbrt-prod
30×unpow-prod-down cube-prod
10×associate-/r/
add-exp-log add-cbrt-cube
flip3-+ flip-+
add-log-exp
pow1 div-inv
pow-unpow associate-/r* associate-/l*
cbrt-undiv cube-div cube-mult unpow3 div-exp pow-exp associate-/l/ rem-cube-cbrt sqr-pow
+-commutative pow-to-exp cbrt-div pow-pow frac-2neg pow1/3 clear-num sum-log rem-cbrt-cube
Counts
4 → 138
Calls
4 calls:
4.0ms
(+ (* x.re y.re) (* x.im y.im))
8.0ms
(pow (/ (+ (* x.re y.re) (* x.im y.im)) (+ (* y.re y.re) (* y.im y.im))) 3)
8.0ms
(/ (+ (* x.re y.re) (* x.im y.im)) (+ (* y.re y.re) (* y.im y.im)))
8.0ms
(cbrt (pow (/ (+ (* x.re y.re) (* x.im y.im)) (+ (* y.re y.re) (* y.im y.im))) 3))

series162.0ms

Counts
4 → 12
Calls
4 calls:
10.0ms
(+ (* x.re y.re) (* x.im y.im))
98.0ms
(pow (/ (+ (* x.re y.re) (* x.im y.im)) (+ (* y.re y.re) (* y.im y.im))) 3)
28.0ms
(/ (+ (* x.re y.re) (* x.im y.im)) (+ (* y.re y.re) (* y.im y.im)))
26.0ms
(cbrt (pow (/ (+ (* x.re y.re) (* x.im y.im)) (+ (* y.re y.re) (* y.im y.im))) 3))

simplify69.0ms

Algorithm
egg-herbie
Counts
150 → 150
Iterations

Useful iterations: 2 (51.0ms)

IterNodesCost
05121814
123501703
250011688

prune115.0ms

Filtered
150 candidates to 81 candidates (46.0%)
Pruning

10 alts after pruning (6 fresh and 4 done)

PrunedKeptTotal
New1500150
Fresh066
Picked011
Done033
Total15010160

Merged error: 24.1b

Counts
160 → 10

regimes474.0ms

Accuracy

0% (3.0b remaining)

Error of 26.1b against oracle of 23.1b and baseline of 26.1b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01713
11713

end0.0ms

sample755.0ms

Algorithm
intervals
Results
377.0ms8523×body80valid

Profiling

Loading profile data...