Details

Time bar (total: 4.0s)

sample23.0ms

Algorithm
intervals
Results
11.0ms272×body80valid

simplify12.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0197
1367
2487
3667
4727
5727

prune3.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: 26.5b

Counts
2 → 1

localize11.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ (* y.re y.re) (* y.im y.im))
1.1b
(- (* x.im y.re) (* x.re y.im))
26.0b
(/ (- (* x.im y.re) (* x.re y.im)) (+ (* y.re y.re) (* y.im y.im)))

rewrite80.0ms

Algorithm
rewrite-expression-head
Rules
260×*-un-lft-identity
144×add-sqr-sqrt
92×associate-*l*
88×times-frac
65×distribute-lft-out
40×distribute-lft-out-- difference-of-squares unswap-sqr
26×swap-sqr
24×add-cube-cbrt
11×associate-/l*
associate-/r*
add-log-exp
add-exp-log add-cbrt-cube
pow1
flip3-- flip3-+ associate-/r/ flip-- flip-+ associate-/l/
cbrt-undiv +-commutative sub-neg frac-2neg diff-log div-sub div-exp clear-num sum-log div-inv
Counts
3 → 160
Calls
3 calls:
17.0ms
(+ (* y.re y.re) (* y.im y.im))
16.0ms
(- (* x.im y.re) (* x.re y.im))
36.0ms
(/ (- (* x.im y.re) (* x.re y.im)) (+ (* y.re y.re) (* y.im y.im)))

series177.0ms

Counts
3 → 9
Calls
3 calls:
31.0ms
(+ (* y.re y.re) (* y.im y.im))
45.0ms
(- (* x.im y.re) (* x.re y.im))
101.0ms
(/ (- (* x.im y.re) (* x.re y.im)) (+ (* y.re y.re) (* y.im y.im)))

simplify59.0ms

Algorithm
egg-herbie
Counts
169 → 169
Iterations

Useful iterations: 2 (39.0ms)

IterNodesCost
03911751
114601703
250011701

prune239.0ms

Filtered
169 candidates to 72 candidates (42.6%)
Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New1609169
Fresh000
Picked101
Done000
Total1619170

Merged error: 25.6b

Counts
170 → 9

localize14.0ms

Local error

Found 4 expressions with local error:

1.1b
(- (* x.im y.re) (* x.re y.im))
14.9b
(/ (- (* x.im y.re) (* x.re y.im)) (sqrt (+ (* y.re y.re) (* y.im y.im))))
29.3b
(sqrt (+ (* y.re y.re) (* y.im y.im)))
29.3b
(sqrt (+ (* y.re y.re) (* y.im y.im)))

rewrite110.0ms

Algorithm
rewrite-expression-head
Rules
314×*-un-lft-identity
200×add-sqr-sqrt
121×times-frac
112×sqrt-prod
108×associate-*l*
70×distribute-lft-out
52×distribute-lft-out-- difference-of-squares unswap-sqr
42×add-cube-cbrt
28×swap-sqr
11×associate-/r* associate-/l*
pow1 add-exp-log sqrt-div add-cbrt-cube add-log-exp
flip3-+ flip-+
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 → 220
Calls
4 calls:
15.0ms
(- (* x.im y.re) (* x.re y.im))
39.0ms
(/ (- (* x.im y.re) (* x.re y.im)) (sqrt (+ (* y.re y.re) (* y.im y.im))))
20.0ms
(sqrt (+ (* y.re y.re) (* y.im y.im)))
17.0ms
(sqrt (+ (* y.re y.re) (* y.im y.im)))

series268.0ms

Counts
4 → 12
Calls
4 calls:
40.0ms
(- (* x.im y.re) (* x.re y.im))
135.0ms
(/ (- (* x.im y.re) (* x.re y.im)) (sqrt (+ (* y.re y.re) (* y.im y.im))))
49.0ms
(sqrt (+ (* y.re y.re) (* y.im y.im)))
45.0ms
(sqrt (+ (* y.re y.re) (* y.im y.im)))

simplify133.0ms

Algorithm
egg-herbie
Counts
232 → 232
Iterations

Useful iterations: 3 (105.0ms)

IterNodesCost
04162698
111812613
239572607
350012602

prune326.0ms

Filtered
232 candidates to 99 candidates (42.7%)
Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New2248232
Fresh628
Picked101
Done000
Total23110241

Merged error: 22.8b

Counts
241 → 10

localize14.0ms

Local error

Found 4 expressions with local error:

1.1b
(- (* x.im y.re) (* x.re y.im))
14.9b
(* (- (* x.im y.re) (* x.re y.im)) (/ 1 (sqrt (+ (* y.re y.re) (* y.im y.im)))))
29.3b
(sqrt (+ (* y.re y.re) (* y.im y.im)))
29.3b
(sqrt (+ (* y.re y.re) (* y.im y.im)))

rewrite114.0ms

Algorithm
rewrite-expression-head
Rules
149×*-un-lft-identity
72×add-sqr-sqrt
66×sqrt-prod
51×associate-*l*
40×distribute-lft-out
39×associate-*r*
37×times-frac
34×frac-times add-cube-cbrt
33×associate-/r*
19×flip3-- flip--
17×associate-*r/
16×swap-sqr
13×add-exp-log unswap-sqr
10×associate-/l*
add-cbrt-cube
pow1 distribute-lft-out-- difference-of-squares
sqrt-div add-log-exp
prod-exp clear-num
frac-2neg flip3-+ un-div-inv flip-+
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 pow-prod-down *-commutative div-inv
Counts
4 → 186
Calls
4 calls:
15.0ms
(- (* x.im y.re) (* x.re y.im))
51.0ms
(* (- (* x.im y.re) (* x.re y.im)) (/ 1 (sqrt (+ (* y.re y.re) (* y.im y.im)))))
16.0ms
(sqrt (+ (* y.re y.re) (* y.im y.im)))
22.0ms
(sqrt (+ (* y.re y.re) (* y.im y.im)))

series262.0ms

Counts
4 → 12
Calls
4 calls:
46.0ms
(- (* x.im y.re) (* x.re y.im))
127.0ms
(* (- (* x.im y.re) (* x.re y.im)) (/ 1 (sqrt (+ (* y.re y.re) (* y.im y.im)))))
48.0ms
(sqrt (+ (* y.re y.re) (* y.im y.im)))
41.0ms
(sqrt (+ (* y.re y.re) (* y.im y.im)))

simplify72.0ms

Algorithm
egg-herbie
Counts
198 → 198
Iterations

Useful iterations: 2 (51.0ms)

IterNodesCost
05281852
120521781
250011721

prune559.0ms

Filtered
198 candidates to 98 candidates (49.5%)
Pruning

10 alts after pruning (9 fresh and 1 done)

PrunedKeptTotal
New1962198
Fresh279
Picked011
Done000
Total19810208

Merged error: 22.8b

Counts
208 → 10

localize14.0ms

Local error

Found 4 expressions with local error:

1.1b
(- (* x.im y.re) (* x.re y.im))
14.9b
(/ (sqrt (+ (* y.re y.re) (* y.im y.im))) (- (* x.im y.re) (* x.re y.im)))
29.3b
(sqrt (+ (* y.re y.re) (* y.im y.im)))
29.3b
(sqrt (+ (* y.re y.re) (* y.im y.im)))

rewrite103.0ms

Algorithm
rewrite-expression-head
Rules
314×*-un-lft-identity
200×add-sqr-sqrt
121×times-frac
112×sqrt-prod
108×associate-*l*
70×distribute-lft-out
52×distribute-lft-out-- difference-of-squares unswap-sqr
42×add-cube-cbrt
28×swap-sqr
11×associate-/r* associate-/l*
pow1 add-exp-log sqrt-div add-cbrt-cube add-log-exp
flip3-+ flip-+
rem-sqrt-square flip3-- sqrt-pow1 pow1/2 associate-/r/ flip-- associate-/l/
cbrt-undiv sub-neg frac-2neg diff-log div-exp clear-num div-inv
Counts
4 → 219
Calls
4 calls:
14.0ms
(- (* x.im y.re) (* x.re y.im))
38.0ms
(/ (sqrt (+ (* y.re y.re) (* y.im y.im))) (- (* x.im y.re) (* x.re y.im)))
17.0ms
(sqrt (+ (* y.re y.re) (* y.im y.im)))
18.0ms
(sqrt (+ (* y.re y.re) (* y.im y.im)))

series226.0ms

Counts
4 → 12
Calls
4 calls:
42.0ms
(- (* x.im y.re) (* x.re y.im))
94.0ms
(/ (sqrt (+ (* y.re y.re) (* y.im y.im))) (- (* x.im y.re) (* x.re y.im)))
41.0ms
(sqrt (+ (* y.re y.re) (* y.im y.im)))
49.0ms
(sqrt (+ (* y.re y.re) (* y.im y.im)))

simplify105.0ms

Algorithm
egg-herbie
Counts
231 → 231
Iterations

Useful iterations: 1 (10.0ms)

IterNodesCost
03402691
19192630
226002630
350012630

prune330.0ms

Filtered
231 candidates to 100 candidates (43.3%)
Pruning

10 alts after pruning (8 fresh and 2 done)

PrunedKeptTotal
New2310231
Fresh088
Picked011
Done011
Total23110241

Merged error: 22.8b

Counts
241 → 10

regimes161.0ms

Accuracy

0% (3.3b remaining)

Error of 26.0b against oracle of 22.7b and baseline of 26.0b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02114
12114

end0.0ms

sample564.0ms

Algorithm
intervals
Results
339.0ms8490×body80valid