Details

Time bar (total: 2.4s)

sample32.0ms

Algorithm
intervals
Results
12.0ms264×body80valid

simplify9.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (6.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: 26.1b

Counts
2 → 1

localize10.0ms

Local error

Found 2 expressions with local error:

0.4b
(+ (* x.re y.re) (* x.im y.im))
25.6b
(/ (+ (* 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)))

series35.0ms

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

simplify85.0ms

Algorithm
egg-herbie
Counts
48 → 48
Iterations

Useful iterations: 2 (24.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: 25.4b

Counts
49 → 8

localize12.0ms

Local error

Found 4 expressions with local error:

0.4b
(+ (* x.re y.re) (* x.im y.im))
16.4b
(/ (+ (* x.re y.re) (* x.im y.im)) (sqrt (+ (* y.re y.re) (* y.im y.im))))
28.8b
(sqrt (+ (* y.re y.re) (* y.im y.im)))
28.8b
(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)))

series55.0ms

Counts
4 → 12
Calls
4 calls:
9.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))))
5.0ms
(sqrt (+ (* y.re y.re) (* y.im y.im)))
6.0ms
(sqrt (+ (* y.re y.re) (* y.im y.im)))

simplify84.0ms

Algorithm
egg-herbie
Counts
96 → 96
Iterations

Useful iterations: 2 (25.0ms)

IterNodesCost
0273893
1868840
22679828
35002828

prune118.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: 22.9b

Counts
104 → 10

localize14.0ms

Local error

Found 4 expressions with local error:

0.4b
(+ (* x.re y.re) (* x.im y.im))
16.4b
(/ (+ (* x.re y.re) (* x.im y.im)) (sqrt (+ (* y.re y.re) (* y.im y.im))))
28.8b
(sqrt (+ (* y.re y.re) (* y.im y.im)))
28.8b
(sqrt (+ (* y.re y.re) (* y.im y.im)))

rewrite22.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:
4.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)))
4.0ms
(sqrt (+ (* y.re y.re) (* y.im y.im)))

series55.0ms

Counts
4 → 12
Calls
4 calls:
9.0ms
(+ (* x.re y.re) (* x.im y.im))
35.0ms
(/ (+ (* x.re y.re) (* x.im y.im)) (sqrt (+ (* y.re y.re) (* y.im y.im))))
5.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 (24.0ms)

IterNodesCost
0273893
1868840
22679828
35002828

prune115.0ms

Filtered
96 candidates to 74 candidates (22.9%)
Pruning

10 alts after pruning (7 fresh and 3 done)

PrunedKeptTotal
New96096
Fresh077
Picked011
Done022
Total9610106

Merged error: 22.9b

Counts
106 → 10

localize14.0ms

Local error

Found 4 expressions with local error:

0.3b
(pow (/ (+ (* x.re y.re) (* x.im y.im)) (+ (* y.re y.re) (* y.im y.im))) 3)
0.4b
(+ (* x.re y.re) (* x.im y.im))
25.6b
(/ (+ (* x.re y.re) (* x.im y.im)) (+ (* y.re y.re) (* y.im y.im)))
28.3b
(cbrt (pow (/ (+ (* x.re y.re) (* x.im y.im)) (+ (* y.re y.re) (* y.im y.im))) 3))

rewrite34.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:
9.0ms
(pow (/ (+ (* x.re y.re) (* x.im y.im)) (+ (* y.re y.re) (* y.im y.im))) 3)
4.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)))
9.0ms
(cbrt (pow (/ (+ (* x.re y.re) (* x.im y.im)) (+ (* y.re y.re) (* y.im y.im))) 3))

series158.0ms

Counts
4 → 12
Calls
4 calls:
96.0ms
(pow (/ (+ (* x.re y.re) (* x.im y.im)) (+ (* y.re y.re) (* y.im y.im))) 3)
9.0ms
(+ (* x.re y.re) (* x.im y.im))
25.0ms
(/ (+ (* x.re y.re) (* x.im y.im)) (+ (* y.re y.re) (* y.im y.im)))
28.0ms
(cbrt (pow (/ (+ (* x.re y.re) (* x.im y.im)) (+ (* y.re y.re) (* y.im y.im))) 3))

simplify74.0ms

Algorithm
egg-herbie
Counts
150 → 150
Iterations

Useful iterations: 2 (55.0ms)

IterNodesCost
05121818
123501705
250011688

prune116.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: 22.9b

Counts
160 → 10

regimes467.0ms

Accuracy

37.7% (1.7b remaining)

Error of 24.9b against oracle of 23.3b and baseline of 25.9b

bsearch2.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
02626
12826
22826

end0.0ms

sample730.0ms

Algorithm
intervals
Results
388.0ms8438×body80valid

Profiling

Loading profile data...