Details

Time bar (total: 4.8s)

sample21.0ms

Algorithm
intervals
Results
10.0ms271×body80valid

simplify12.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0217
1407
2567
3767
4907
5947
6947

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 27.4b

localize10.0ms

Local error

Found 2 expressions with local error:

0.3b
(- (* x.im y.re) (* x.re y.im))
26.9b
(/ (- (* 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:
4.0ms
(- (* x.im y.re) (* x.re y.im))
9.0ms
(/ (- (* x.im y.re) (* x.re y.im)) (+ (* y.re y.re) (* y.im y.im)))

series130.0ms

Counts
2 → 6
Calls
2 calls:
39.0ms
(- (* x.im y.re) (* x.re y.im))
90.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

prune158.0ms

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 14.1b

localize12.0ms

Local error

Found 4 expressions with local error:

0.0b
(hypot y.re y.im)
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))
17.8b
(/ (- (* x.im y.re) (* x.re y.im)) (hypot y.re y.im))

rewrite28.0ms

Algorithm
rewrite-expression-head
Rules
68×add-exp-log
32×prod-exp
27×add-cbrt-cube
26×add-sqr-sqrt
23×div-exp
22×times-frac
21×add-cube-cbrt *-un-lft-identity
13×associate-*r*
12×1-exp
cbrt-undiv cbrt-unprod
associate-*l*
pow1 rec-exp add-log-exp
expm1-log1p-u log1p-expm1-u
associate-/r* div-inv associate-/l*
flip3-- flip-- associate-/l/ unswap-sqr
frac-times sub-neg hypot-udef frac-2neg fma-neg diff-log div-sub associate-*r/ prod-diff pow-prod-down associate-*l/ clear-num *-commutative
Counts
4 → 120
Calls
4 calls:
1.0ms
(hypot y.re y.im)
13.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))

series398.0ms

Counts
4 → 12
Calls
4 calls:
45.0ms
(hypot y.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)))
41.0ms
(- (* x.im y.re) (* x.re y.im))
121.0ms
(/ (- (* x.im y.re) (* x.re y.im)) (hypot y.re y.im))

simplify64.0ms

Algorithm
egg-herbie
Counts
132 → 132
Iterations

Useful iterations: 2 (48.0ms)

IterNodesCost
05461122
12249931
25002929

prune330.0ms

Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 4.5b

localize12.0ms

Local error

Found 4 expressions with local error:

0.0b
(hypot y.re y.im)
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))
17.8b
(/ (- (* x.im y.re) (* x.re y.im)) (hypot y.re y.im))

rewrite28.0ms

Algorithm
rewrite-expression-head
Rules
84×times-frac
54×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
16×associate-/l*
11×add-exp-log add-cbrt-cube
associate-/r* div-inv add-log-exp
pow1 cbrt-undiv expm1-log1p-u div-exp log1p-expm1-u
div-sub associate-/l/
flip3-- frac-2neg clear-num flip--
sub-neg hypot-udef fma-neg diff-log prod-diff
Counts
4 → 131
Calls
4 calls:
1.0ms
(hypot y.re y.im)
12.0ms
(/ (/ (- (* x.im y.re) (* x.re y.im)) (hypot y.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))

series328.0ms

Counts
4 → 12
Calls
4 calls:
46.0ms
(hypot y.re y.im)
125.0ms
(/ (/ (- (* x.im y.re) (* x.re y.im)) (hypot y.re y.im)) (hypot y.re y.im))
36.0ms
(- (* x.im y.re) (* x.re y.im))
121.0ms
(/ (- (* x.im y.re) (* x.re y.im)) (hypot y.re y.im))

simplify52.0ms

Algorithm
egg-herbie
Counts
143 → 143
Iterations

Useful iterations: 2 (38.0ms)

IterNodesCost
04601435
116691331
250011322

prune439.0ms

Pruning

9 alts after pruning (8 fresh and 1 done)

Merged error: 4.5b

localize15.0ms

Local error

Found 4 expressions with local error:

0.3b
(/ (/ (- (* 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))
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))))
17.8b
(/ (- (* x.im y.re) (* x.re y.im)) (hypot y.re y.im))

rewrite86.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:
9.0ms
(/ (/ (- (* x.im y.re) (* x.re y.im)) (hypot y.re y.im)) (sqrt (hypot y.re y.im)))
4.0ms
(- (* x.im y.re) (* x.re y.im))
47.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))))
6.0ms
(/ (- (* x.im y.re) (* x.re y.im)) (hypot y.re y.im))

series575.0ms

Counts
4 → 12
Calls
4 calls:
217.0ms
(/ (/ (- (* x.im y.re) (* x.re y.im)) (hypot y.re y.im)) (sqrt (hypot y.re y.im)))
41.0ms
(- (* x.im y.re) (* x.re y.im))
192.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))))
124.0ms
(/ (- (* x.im y.re) (* x.re y.im)) (hypot y.re y.im))

simplify71.0ms

Algorithm
egg-herbie
Counts
336 → 336
Iterations

Useful iterations: 1 (26.0ms)

IterNodesCost
011915061
150014533

prune934.0ms

Pruning

11 alts after pruning (9 fresh and 2 done)

Merged error: 4.5b

regimes255.0ms

Accuracy

16.4% (9.9b remaining)

Error of 14.9b against oracle of 5.0b and baseline of 16.8b

bsearch207.0ms

Steps
ItersRangePoint
8
2.1643198323001914e+150
2.946747073993286e+153
1.9537314790331482e+152
9
5.205620924581097e-64
4.292417494179173e-57
5.2737837352095884e-64
8
2.4480199621176693e-81
3.8498438171014314e-78
3.8050518390474684e-78
9
-5.749378329514241e+85
-6.325617960473731e+78
-7.280462391920087e+83
9
-4.3302507567477494e+162
-4.9616708661001533e+154
-5.030681393622023e+154

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04640
14840
24840

end0.0ms

sample526.0ms

Algorithm
intervals
Results
303.0ms8503×body80valid