Details

Time bar (total: 4.5s)

sample21.0ms

Algorithm
intervals
Results
10.0ms270×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

1 alts after pruning (1 fresh and 0 done)

Merged error: 27.7b

localize14.0ms

Local error

Found 3 expressions with local error:

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

rewrite18.0ms

Algorithm
rewrite-expression-head
Rules
11×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
times-frac
add-log-exp
add-exp-log add-cbrt-cube
pow1 expm1-log1p-u associate-/r* log1p-expm1-u associate-/l*
flip3-- flip3-+ associate-/r/ flip-- flip-+ associate-/l/
cbrt-undiv +-commutative sub-neg fma-def frac-2neg fma-neg diff-log div-sub div-exp prod-diff clear-num sum-log div-inv
Counts
3 → 64
Calls
3 calls:
3.0ms
(+ (* y.re y.re) (* y.im y.im))
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)))

series161.0ms

Counts
3 → 9
Calls
3 calls:
30.0ms
(+ (* y.re y.re) (* y.im y.im))
39.0ms
(- (* x.im y.re) (* x.re y.im))
92.0ms
(/ (- (* x.im y.re) (* x.re y.im)) (+ (* y.re y.re) (* y.im y.im)))

simplify41.0ms

Algorithm
egg-herbie
Counts
73 → 73
Iterations

Useful iterations: 2 (34.0ms)

IterNodesCost
0316555
11343496
25001481

prune222.0ms

Filtered
73 candidates to 59 candidates (80.8%)
Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 14.0b

localize10.0ms

Local error

Found 3 expressions with local error:

0.3b
(* (/ 1 (* (hypot y.re y.im) 1)) (/ (- (* x.im y.re) (* x.re y.im)) (hypot y.re y.im)))
0.5b
(- (* x.im y.re) (* x.re y.im))
16.8b
(/ (- (* x.im y.re) (* x.re y.im)) (hypot y.re y.im))

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

series341.0ms

Counts
3 → 9
Calls
3 calls:
191.0ms
(* (/ 1 (* (hypot y.re y.im) 1)) (/ (- (* x.im y.re) (* x.re y.im)) (hypot y.re y.im)))
35.0ms
(- (* x.im y.re) (* x.re y.im))
114.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 (49.0ms)

IterNodesCost
05371095
12236907
25002905

prune276.0ms

Filtered
119 candidates to 78 candidates (65.5%)
Pruning

8 alts after pruning (7 fresh and 1 done)

Merged error: 5.3b

localize12.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.5b
(- (* x.im y.re) (* x.re y.im))
16.8b
(/ (- (* 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:
9.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))
7.0ms
(/ (- (* x.im y.re) (* x.re y.im)) (hypot y.re y.im))

series277.0ms

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

simplify51.0ms

Algorithm
egg-herbie
Counts
130 → 130
Iterations

Useful iterations: 2 (38.0ms)

IterNodesCost
04511408
116591307
250011298

prune522.0ms

Filtered
130 candidates to 99 candidates (76.2%)
Pruning

8 alts after pruning (7 fresh and 1 done)

Merged error: 5.2b

localize13.0ms

Local error

Found 4 expressions with local error:

0.3b
(* (/ 1 (sqrt (hypot y.re y.im))) (/ (/ (- (* x.im y.re) (* x.re y.im)) (hypot y.re y.im)) (sqrt (hypot y.re y.im))))
0.3b
(/ (/ (- (* x.im y.re) (* x.re y.im)) (hypot y.re y.im)) (sqrt (hypot y.re y.im)))
0.5b
(- (* x.im y.re) (* x.re y.im))
16.8b
(/ (- (* x.im y.re) (* x.re y.im)) (hypot y.re y.im))

rewrite101.0ms

Algorithm
rewrite-expression-head
Rules
350×times-frac
261×add-sqr-sqrt
181×*-un-lft-identity
171×add-cube-cbrt
110×sqrt-prod
82×associate-*r*
50×add-exp-log
32×add-cbrt-cube
25×unswap-sqr
22×div-exp associate-*l*
17×div-inv
16×associate-/l*
13×cbrt-undiv
12×prod-exp
associate-/r*
pow1 cbrt-unprod add-log-exp
expm1-log1p-u log1p-expm1-u
rec-exp 1-exp div-sub associate-/l/
flip3-- frac-2neg clear-num flip--
frac-times sub-neg fma-neg diff-log associate-*r/ prod-diff pow-prod-down associate-*l/ *-commutative
Counts
4 → 324
Calls
4 calls:
60.0ms
(* (/ 1 (sqrt (hypot y.re y.im))) (/ (/ (- (* x.im y.re) (* x.re y.im)) (hypot y.re y.im)) (sqrt (hypot y.re y.im))))
11.0ms
(/ (/ (- (* x.im y.re) (* x.re y.im)) (hypot y.re y.im)) (sqrt (hypot y.re y.im)))
3.0ms
(- (* x.im y.re) (* x.re y.im))
7.0ms
(/ (- (* x.im y.re) (* x.re y.im)) (hypot y.re y.im))

series550.0ms

Counts
4 → 12
Calls
4 calls:
184.0ms
(* (/ 1 (sqrt (hypot y.re y.im))) (/ (/ (- (* x.im y.re) (* x.re y.im)) (hypot y.re y.im)) (sqrt (hypot y.re y.im))))
212.0ms
(/ (/ (- (* x.im y.re) (* x.re y.im)) (hypot y.re y.im)) (sqrt (hypot y.re y.im)))
36.0ms
(- (* x.im y.re) (* x.re y.im))
118.0ms
(/ (- (* x.im y.re) (* x.re y.im)) (hypot y.re y.im))

simplify64.0ms

Algorithm
egg-herbie
Counts
336 → 336
Iterations

Useful iterations: 1 (26.0ms)

IterNodesCost
011965061
150014531

prune804.0ms

Filtered
336 candidates to 210 candidates (62.5%)
Pruning

10 alts after pruning (8 fresh and 2 done)

Merged error: 4.3b

regimes212.0ms

Accuracy

37.8% (8.4b remaining)

Error of 11.9b against oracle of 3.4b and baseline of 17.0b

bsearch142.0ms

Steps
ItersRangePoint
11
9.199612759357812e+156
8.1420769820787e+178
2.138099036698885e+168
9
-2.355035228211621e+66
-1.5442358469082974e+61
-4.1874568029823826e+61
9
-2.0967680061864643e+191
-1.139231286186639e+184
-2.0951350871904923e+187

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04127
14227
24227

end0.0ms

sample510.0ms

Algorithm
intervals
Results
297.0ms8451×body80valid