Details

Time bar (total: 3.0s)

sample22.0ms

Algorithm
intervals
Results
11.0ms269×body80valid

simplify10.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0197
1367
2487
3667
4727
5727

prune2.0ms

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 25.3b

Counts
2 → 1

localize9.0ms

Local error

Found 2 expressions with local error:

0.3b
(- (* x.im y.re) (* x.re y.im))
24.8b
(/ (- (* x.im y.re) (* x.re 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
associate-/r* associate-/l*
pow1 flip3-- associate-/r/ flip-- associate-/l/
cbrt-undiv sub-neg frac-2neg flip3-+ diff-log div-sub div-exp clear-num flip-+ div-inv
Counts
2 → 44
Calls
2 calls:
3.0ms
(- (* x.im y.re) (* x.re y.im))
8.0ms
(/ (- (* x.im y.re) (* x.re y.im)) (+ (* y.re y.re) (* y.im y.im)))

series119.0ms

Counts
2 → 6
Calls
2 calls:
36.0ms
(- (* x.im y.re) (* x.re y.im))
83.0ms
(/ (- (* x.im y.re) (* x.re y.im)) (+ (* y.re y.re) (* y.im y.im)))

simplify99.0ms

Algorithm
egg-herbie
Counts
50 → 50
Iterations

Useful iterations: 2 (25.0ms)

IterNodesCost
0251464
1938427
23504426
35001426

prune149.0ms

Filtered
50 candidates to 39 candidates (78.0%)
Pruning

12 alts after pruning (11 fresh and 1 done)

PrunedKeptTotal
New391150
Fresh000
Picked011
Done000
Total391251

Merged error: 24.4b

Counts
51 → 12

localize12.0ms

Local error

Found 4 expressions with local error:

0.3b
(- (* x.im y.re) (* x.re y.im))
16.7b
(/ (- (* x.im y.re) (* x.re y.im)) (sqrt (+ (* y.re y.re) (* y.im y.im))))
28.2b
(sqrt (+ (* y.re y.re) (* y.im y.im)))
28.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 flip3-- sqrt-pow1 pow1/2 associate-/r/ flip-- associate-/l/
cbrt-undiv sub-neg frac-2neg diff-log div-sub div-exp clear-num div-inv
Counts
4 → 86
Calls
4 calls:
3.0ms
(- (* x.im y.re) (* x.re y.im))
9.0ms
(/ (- (* x.im y.re) (* x.re 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)))

series219.0ms

Counts
4 → 12
Calls
4 calls:
39.0ms
(- (* x.im y.re) (* x.re y.im))
108.0ms
(/ (- (* x.im y.re) (* x.re y.im)) (sqrt (+ (* y.re y.re) (* y.im y.im))))
34.0ms
(sqrt (+ (* y.re y.re) (* y.im y.im)))
38.0ms
(sqrt (+ (* y.re y.re) (* y.im y.im)))

simplify98.0ms

Algorithm
egg-herbie
Counts
98 → 98
Iterations

Useful iterations: 2 (27.0ms)

IterNodesCost
0304910
1990857
23354845
35001845

prune255.0ms

Filtered
98 candidates to 75 candidates (76.5%)
Pruning

12 alts after pruning (11 fresh and 1 done)

PrunedKeptTotal
New92698
Fresh5510
Picked101
Done011
Total9812110

Merged error: 21.2b

Counts
110 → 12

localize13.0ms

Local error

Found 4 expressions with local error:

0.3b
(- (* x.im y.re) (* x.re y.im))
16.8b
(* (- (* x.im y.re) (* x.re y.im)) (/ 1 (sqrt (+ (* y.re y.re) (* y.im y.im)))))
28.2b
(sqrt (+ (* y.re y.re) (* y.im y.im)))
28.2b
(sqrt (+ (* y.re y.re) (* y.im y.im)))

rewrite31.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
sqrt-div add-log-exp
unswap-sqr
prod-exp
flip3-- flip3-+ associate-*l* flip-- flip-+
frac-times rem-sqrt-square sqrt-pow1 pow1/2 div-exp associate-*l/ associate-/r/ cbrt-unprod
cbrt-undiv sub-neg rec-exp diff-log 1-exp associate-*r/ pow-prod-down un-div-inv *-commutative div-inv
Counts
4 → 95
Calls
4 calls:
3.0ms
(- (* x.im y.re) (* x.re y.im))
18.0ms
(* (- (* x.im y.re) (* x.re y.im)) (/ 1 (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)))

series218.0ms

Counts
4 → 12
Calls
4 calls:
35.0ms
(- (* x.im y.re) (* x.re y.im))
115.0ms
(* (- (* x.im y.re) (* x.re y.im)) (/ 1 (sqrt (+ (* y.re y.re) (* y.im y.im)))))
34.0ms
(sqrt (+ (* y.re y.re) (* y.im y.im)))
35.0ms
(sqrt (+ (* y.re y.re) (* y.im y.im)))

simplify46.0ms

Algorithm
egg-herbie
Counts
107 → 107
Iterations

Useful iterations: 2 (37.0ms)

IterNodesCost
0378916
11785831
25001807

prune249.0ms

Filtered
107 candidates to 75 candidates (70.1%)
Pruning

12 alts after pruning (10 fresh and 2 done)

PrunedKeptTotal
New1070107
Fresh01010
Picked011
Done011
Total10712119

Merged error: 21.2b

Counts
119 → 12

localize13.0ms

Local error

Found 4 expressions with local error:

0.3b
(- (* x.im y.re) (* x.re y.im))
16.7b
(/ (- (* x.im y.re) (* x.re y.im)) (sqrt (+ (* y.re y.re) (* y.im y.im))))
28.2b
(sqrt (+ (* y.re y.re) (* y.im y.im)))
28.2b
(sqrt (+ (* y.re y.re) (* y.im y.im)))

rewrite24.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 flip3-- sqrt-pow1 pow1/2 associate-/r/ flip-- associate-/l/
cbrt-undiv sub-neg frac-2neg diff-log div-sub div-exp clear-num div-inv
Counts
4 → 86
Calls
4 calls:
3.0ms
(- (* x.im y.re) (* x.re y.im))
12.0ms
(/ (- (* x.im y.re) (* x.re 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)))

series220.0ms

Counts
4 → 12
Calls
4 calls:
35.0ms
(- (* x.im y.re) (* x.re y.im))
115.0ms
(/ (- (* x.im y.re) (* x.re y.im)) (sqrt (+ (* y.re y.re) (* y.im y.im))))
34.0ms
(sqrt (+ (* y.re y.re) (* y.im y.im)))
36.0ms
(sqrt (+ (* y.re y.re) (* y.im y.im)))

simplify97.0ms

Algorithm
egg-herbie
Counts
98 → 98
Iterations

Useful iterations: 2 (26.0ms)

IterNodesCost
0304910
1990857
23354845
35001845

prune235.0ms

Filtered
98 candidates to 75 candidates (76.5%)
Pruning

14 alts after pruning (11 fresh and 3 done)

PrunedKeptTotal
New95398
Fresh189
Picked011
Done022
Total9614110

Merged error: 21.2b

Counts
110 → 14

regimes287.0ms

Accuracy

38% (2.0b remaining)

Error of 24.9b against oracle of 22.9b and baseline of 26.1b

bsearch2.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03439
13639
23639

end0.0ms

sample573.0ms

Algorithm
intervals
Results
364.0ms8478×body80valid