Details

Time bar (total: 3.4s)

sample22.0ms

Algorithm
intervals
Results
12.0ms269×body80valid

simplify13.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0217
1407
2567
3767
4907
5947
6947

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 expm1-log1p-u flip3-- associate-/r/ flip-- log1p-expm1-u associate-/l/
cbrt-undiv sub-neg frac-2neg flip3-+ fma-neg diff-log div-sub div-exp prod-diff clear-num flip-+ div-inv
Counts
2 → 50
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)))

series118.0ms

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

simplify105.0ms

Algorithm
egg-herbie
Counts
56 → 56
Iterations

Useful iterations: 3 (99.0ms)

IterNodesCost
0270481
11012432
23842422
35001421

prune143.0ms

Filtered
56 candidates to 46 candidates (82.1%)
Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New50656
Fresh000
Picked101
Done000
Total51657

Merged error: 13.1b

Counts
57 → 6

localize11.0ms

Local error

Found 3 expressions with local error:

0.2b
(* (/ 1 (* (hypot y.re y.im) 1)) (/ (- (* x.im y.re) (* x.re y.im)) (hypot y.re y.im)))
0.3b
(- (* x.im y.re) (* x.re y.im))
16.7b
(/ (- (* x.im y.re) (* x.re y.im)) (hypot y.re y.im))

rewrite28.0ms

Algorithm
rewrite-expression-head
Rules
67×add-exp-log
32×prod-exp
26×add-cbrt-cube
25×add-sqr-sqrt
23×div-exp
22×times-frac
20×add-cube-cbrt *-un-lft-identity
13×associate-*r*
12×1-exp
cbrt-undiv cbrt-unprod
associate-*l*
rec-exp
pow1 add-log-exp
expm1-log1p-u associate-/r* log1p-expm1-u div-inv associate-/l*
flip3-- flip-- associate-/l/ unswap-sqr
frac-times sub-neg frac-2neg fma-neg diff-log div-sub associate-*r/ prod-diff pow-prod-down associate-*l/ clear-num *-commutative
Counts
3 → 110
Calls
3 calls:
15.0ms
(* (/ 1 (* (hypot y.re y.im) 1)) (/ (- (* x.im y.re) (* x.re y.im)) (hypot y.re y.im)))
4.0ms
(- (* x.im y.re) (* x.re y.im))
6.0ms
(/ (- (* x.im y.re) (* x.re y.im)) (hypot y.re y.im))

series314.0ms

Counts
3 → 9
Calls
3 calls:
171.0ms
(* (/ 1 (* (hypot y.re y.im) 1)) (/ (- (* x.im y.re) (* x.re y.im)) (hypot y.re y.im)))
34.0ms
(- (* x.im y.re) (* x.re y.im))
109.0ms
(/ (- (* x.im y.re) (* x.re y.im)) (hypot y.re y.im))

simplify62.0ms

Algorithm
egg-herbie
Counts
119 → 119
Iterations

Useful iterations: 2 (48.0ms)

IterNodesCost
05371095
12236907
25002905

prune235.0ms

Filtered
119 candidates to 78 candidates (65.5%)
Pruning

11 alts after pruning (10 fresh and 1 done)

PrunedKeptTotal
New1136119
Fresh145
Picked011
Done000
Total11411125

Merged error: 2.9b

Counts
125 → 11

localize9.0ms

Local error

Found 3 expressions with local error:

0.1b
(/ (/ (- (* x.im y.re) (* x.re y.im)) (hypot y.re y.im)) (hypot y.re y.im))
0.3b
(- (* x.im y.re) (* x.re y.im))
16.7b
(/ (- (* x.im y.re) (* x.re y.im)) (hypot y.re y.im))

rewrite20.0ms

Algorithm
rewrite-expression-head
Rules
84×times-frac
53×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
16×associate-/l*
10×add-exp-log add-cbrt-cube
associate-/r* div-inv
add-log-exp
cbrt-undiv div-exp
pow1 expm1-log1p-u div-sub log1p-expm1-u associate-/l/
flip3-- frac-2neg clear-num flip--
sub-neg fma-neg diff-log prod-diff
Counts
3 → 121
Calls
3 calls:
7.0ms
(/ (/ (- (* x.im y.re) (* x.re y.im)) (hypot y.re y.im)) (hypot y.re y.im))
3.0ms
(- (* x.im y.re) (* x.re y.im))
6.0ms
(/ (- (* x.im y.re) (* x.re y.im)) (hypot y.re y.im))

series261.0ms

Counts
3 → 9
Calls
3 calls:
111.0ms
(/ (/ (- (* x.im y.re) (* x.re y.im)) (hypot y.re y.im)) (hypot y.re y.im))
38.0ms
(- (* x.im y.re) (* x.re y.im))
112.0ms
(/ (- (* x.im y.re) (* x.re y.im)) (hypot y.re y.im))

simplify52.0ms

Algorithm
egg-herbie
Counts
130 → 130
Iterations

Useful iterations: 2 (38.0ms)

IterNodesCost
04511408
116591307
250011298

prune284.0ms

Filtered
130 candidates to 98 candidates (75.4%)
Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New1246130
Fresh639
Picked101
Done101
Total1329141

Merged error: 2.9b

Counts
141 → 9

localize10.0ms

Local error

Found 4 expressions with local error:

0.0b
(- (/ (* x.im y.re) (hypot y.re y.im)) (/ (* x.re y.im) (hypot y.re y.im)))
0.1b
(/ (- (/ (* x.im y.re) (hypot y.re y.im)) (/ (* x.re y.im) (hypot y.re y.im))) (hypot y.re y.im))
9.6b
(/ (* x.re y.im) (hypot y.re y.im))
10.4b
(/ (* x.im y.re) (hypot y.re y.im))

rewrite38.0ms

Algorithm
rewrite-expression-head
Rules
69×times-frac
59×add-sqr-sqrt *-un-lft-identity
49×add-cube-cbrt prod-diff
28×div-inv
16×add-exp-log add-cbrt-cube
associate-/r*
associate-/l*
fma-neg
add-log-exp
cbrt-undiv distribute-rgt-out-- div-exp distribute-lft-out-- difference-of-squares
pow1 expm1-log1p-u log1p-expm1-u associate-/l/
frac-2neg clear-num
flip3-- prod-exp frac-sub flip-- cbrt-unprod sub-div
sub-neg diff-log div-sub
Counts
4 → 167
Calls
4 calls:
10.0ms
(- (/ (* x.im y.re) (hypot y.re y.im)) (/ (* x.re y.im) (hypot y.re y.im)))
14.0ms
(/ (- (/ (* x.im y.re) (hypot y.re y.im)) (/ (* x.re y.im) (hypot y.re y.im))) (hypot y.re y.im))
4.0ms
(/ (* x.re y.im) (hypot y.re y.im))
5.0ms
(/ (* x.im y.re) (hypot y.re y.im))

series540.0ms

Counts
4 → 12
Calls
4 calls:
183.0ms
(- (/ (* x.im y.re) (hypot y.re y.im)) (/ (* x.re y.im) (hypot y.re y.im)))
221.0ms
(/ (- (/ (* x.im y.re) (hypot y.re y.im)) (/ (* x.re y.im) (hypot y.re y.im))) (hypot y.re y.im))
68.0ms
(/ (* x.re y.im) (hypot y.re y.im))
69.0ms
(/ (* x.im y.re) (hypot y.re y.im))

simplify88.0ms

Algorithm
egg-herbie
Counts
179 → 179
Iterations

Useful iterations: 2 (62.0ms)

IterNodesCost
06072530
125761870
250011867

prune318.0ms

Filtered
179 candidates to 113 candidates (63.1%)
Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New1754179
Fresh448
Picked101
Done000
Total1808188

Merged error: 0b

Counts
188 → 8

regimes127.0ms

Accuracy

0% (0.8b remaining)

Error of 0.9b against oracle of 0.0b and baseline of 0.9b

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02730
13130
23130

end0.0ms

sample585.0ms

Algorithm
intervals
Results
369.0ms8478×body80valid