Details

Time bar (total: 3.3s)

sample19.0ms

Algorithm
intervals
Results
9.0ms271×body80valid

simplify13.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0217
1407
2567
3767
4907
5947
6947

prune3.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 28.8b

localize12.0ms

Local error

Found 2 expressions with local error:

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

rewrite14.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))
10.0ms
(/ (- (* x.im y.re) (* x.re y.im)) (+ (* y.re y.re) (* y.im y.im)))

series124.0ms

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

simplify107.0ms

Algorithm
egg-herbie
Counts
56 → 56
Iterations

Useful iterations: 3 (101.0ms)

IterNodesCost
0270481
11012432
23842422
35001421

prune151.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 12.1b

localize11.0ms

Local error

Found 3 expressions with local error:

0.0b
(- (* x.im y.re) (* x.re y.im))
0.3b
(* (/ 1 (* (hypot y.re y.im) 1)) (/ (- (* x.im y.re) (* x.re y.im)) (hypot y.re y.im)))
15.2b
(/ (- (* x.im y.re) (* x.re y.im)) (hypot y.re y.im))

rewrite39.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:
5.0ms
(- (* x.im y.re) (* x.re y.im))
23.0ms
(* (/ 1 (* (hypot y.re y.im) 1)) (/ (- (* x.im y.re) (* x.re y.im)) (hypot y.re y.im)))
7.0ms
(/ (- (* x.im y.re) (* x.re y.im)) (hypot y.re y.im))

series342.0ms

Counts
3 → 9
Calls
3 calls:
36.0ms
(- (* x.im y.re) (* x.re y.im))
191.0ms
(* (/ 1 (* (hypot y.re y.im) 1)) (/ (- (* x.im y.re) (* x.re y.im)) (hypot y.re y.im)))
115.0ms
(/ (- (* x.im y.re) (* x.re y.im)) (hypot y.re y.im))

simplify64.0ms

Algorithm
egg-herbie
Counts
119 → 119
Iterations

Useful iterations: 2 (48.0ms)

IterNodesCost
05371095
12236907
25002905

prune273.0ms

Pruning

10 alts after pruning (10 fresh and 0 done)

Merged error: 5.4b

localize10.0ms

Local error

Found 3 expressions with local error:

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

rewrite23.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:
3.0ms
(- (* x.im y.re) (* x.re y.im))
9.0ms
(/ (/ (- (* x.im y.re) (* x.re y.im)) (hypot y.re y.im)) (hypot y.re y.im))
7.0ms
(/ (- (* x.im y.re) (* x.re y.im)) (hypot y.re y.im))

series265.0ms

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

simplify50.0ms

Algorithm
egg-herbie
Counts
130 → 130
Iterations

Useful iterations: 2 (37.0ms)

IterNodesCost
04511408
116591307
250011298

prune342.0ms

Pruning

12 alts after pruning (11 fresh and 1 done)

Merged error: 5.4b

localize16.0ms

Local error

Found 3 expressions with local error:

0.0b
(- (* x.im y.re) (* x.re y.im))
0.3b
(* (/ (- (* x.im y.re) (* x.re y.im)) (hypot y.re y.im)) (/ 1 (hypot y.re y.im)))
15.2b
(/ (- (* x.im y.re) (* x.re y.im)) (hypot y.re y.im))

rewrite31.0ms

Algorithm
rewrite-expression-head
Rules
42×add-sqr-sqrt
34×times-frac
27×add-exp-log *-un-lft-identity
25×add-cube-cbrt
17×add-cbrt-cube
13×associate-*r* associate-*l*
div-exp
prod-exp
unswap-sqr
pow1 cbrt-undiv add-log-exp
cbrt-unprod
expm1-log1p-u associate-/r* log1p-expm1-u div-inv associate-/l*
rec-exp flip3-- 1-exp flip-- associate-/l/
frac-times sub-neg frac-2neg fma-neg diff-log div-sub associate-*r/ prod-diff pow-prod-down associate-*l/ clear-num un-div-inv *-commutative
Counts
3 → 107
Calls
3 calls:
3.0ms
(- (* x.im y.re) (* x.re y.im))
17.0ms
(* (/ (- (* x.im y.re) (* x.re y.im)) (hypot y.re y.im)) (/ 1 (hypot y.re y.im)))
7.0ms
(/ (- (* x.im y.re) (* x.re y.im)) (hypot y.re y.im))

series267.0ms

Counts
3 → 9
Calls
3 calls:
35.0ms
(- (* x.im y.re) (* x.re y.im))
118.0ms
(* (/ (- (* x.im y.re) (* x.re y.im)) (hypot y.re y.im)) (/ 1 (hypot y.re y.im)))
114.0ms
(/ (- (* x.im y.re) (* x.re y.im)) (hypot y.re y.im))

simplify56.0ms

Algorithm
egg-herbie
Counts
116 → 116
Iterations

Useful iterations: 2 (45.0ms)

IterNodesCost
04841047
11989919
25002907

prune284.0ms

Pruning

12 alts after pruning (10 fresh and 2 done)

Merged error: 5.4b

regimes227.0ms

Accuracy

17.4% (10.2b remaining)

Error of 14.9b against oracle of 4.7b and baseline of 17.1b

bsearch26.0ms

Steps
ItersRangePoint
6
1.7888846860341737e+184
2.0183165039998653e+185
4.644327594217982e+184

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02712
13312
23712
34812
45012
55012

end0.0ms

sample486.0ms

Algorithm
intervals
Results
281.0ms8517×body80valid