Details

Time bar (total: 3.7s)

sample21.0ms

Algorithm
intervals
Results
9.0ms266×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

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 25.4b

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))
24.9b
(/ (- (* x.im y.re) (* x.re y.im)) (+ (* y.re y.re) (* y.im y.im)))

rewrite43.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:
8.0ms
(+ (* y.re y.re) (* y.im y.im))
8.0ms
(- (* x.im y.re) (* x.re y.im))
25.0ms
(/ (- (* x.im y.re) (* x.re y.im)) (+ (* y.re y.re) (* y.im y.im)))

series143.0ms

Counts
3 → 9
Calls
3 calls:
26.0ms
(+ (* y.re y.re) (* y.im y.im))
37.0ms
(- (* x.im y.re) (* x.re y.im))
80.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

prune191.0ms

Pruning

6 alts after pruning (6 fresh and 0 done)

Merged error: 12.6b

localize16.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.5b
(- (* x.im y.re) (* x.re y.im))
15.7b
(/ (- (* x.im y.re) (* x.re y.im)) (hypot y.re y.im))

rewrite82.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:
0.0ms
(hypot y.re y.im)
52.0ms
(* (/ 1 (* (hypot y.re y.im) 1)) (/ (- (* x.im y.re) (* x.re y.im)) (hypot y.re y.im)))
8.0ms
(- (* x.im y.re) (* x.re y.im))
18.0ms
(/ (- (* x.im y.re) (* x.re y.im)) (hypot y.re y.im))

series540.0ms

Counts
4 → 12
Calls
4 calls:
237.0ms
(hypot y.re y.im)
167.0ms
(* (/ 1 (* (hypot y.re y.im) 1)) (/ (- (* x.im y.re) (* x.re y.im)) (hypot y.re y.im)))
32.0ms
(- (* x.im y.re) (* x.re y.im))
104.0ms
(/ (- (* x.im y.re) (* x.re y.im)) (hypot y.re y.im))

simplify61.0ms

Algorithm
egg-herbie
Counts
132 → 132
Iterations

Useful iterations: 2 (50.0ms)

IterNodesCost
05461122
12249931
25002929

prune306.0ms

Pruning

11 alts after pruning (11 fresh and 0 done)

Merged error: 3.6b

localize9.0ms

Local error

Found 4 expressions with local error:

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

rewrite52.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:
0.0ms
(hypot y.re y.im)
21.0ms
(/ (/ (- (* x.im y.re) (* x.re y.im)) (hypot y.re y.im)) (hypot y.re y.im))
8.0ms
(- (* x.im y.re) (* x.re y.im))
18.0ms
(/ (- (* x.im y.re) (* x.re y.im)) (hypot y.re y.im))

series286.0ms

Counts
4 → 12
Calls
4 calls:
42.0ms
(hypot y.re y.im)
106.0ms
(/ (/ (- (* x.im y.re) (* x.re y.im)) (hypot y.re y.im)) (hypot y.re y.im))
33.0ms
(- (* x.im y.re) (* x.re y.im))
105.0ms
(/ (- (* x.im y.re) (* x.re y.im)) (hypot y.re y.im))

simplify51.0ms

Algorithm
egg-herbie
Counts
143 → 143
Iterations

Useful iterations: 2 (37.0ms)

IterNodesCost
04601435
116691331
250011322

prune345.0ms

Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 3.6b

localize12.0ms

Local error

Found 4 expressions with local error:

0.0b
(hypot y.re y.im)
0.0b
(/ (* (- (* x.im y.re) (* x.re y.im)) (/ 1 (hypot y.re y.im))) (hypot y.re y.im))
0.5b
(- (* x.im y.re) (* x.re y.im))
15.8b
(* (- (* x.im y.re) (* x.re y.im)) (/ 1 (hypot y.re y.im)))

rewrite67.0ms

Algorithm
rewrite-expression-head
Rules
28×add-exp-log
21×add-sqr-sqrt
18×add-cbrt-cube
15×*-un-lft-identity
14×add-cube-cbrt times-frac
13×associate-*r*
div-exp
prod-exp
pow1 associate-/l/ add-log-exp
cbrt-undiv flip3-- flip--
expm1-log1p-u frac-times associate-*l/ cbrt-unprod log1p-expm1-u
associate-*l* associate-/r* unswap-sqr
rec-exp 1-exp associate-*r/ un-div-inv div-inv
sub-neg hypot-udef frac-2neg fma-neg diff-log prod-diff pow-prod-down clear-num *-commutative associate-/l*
Counts
4 → 101
Calls
4 calls:
0.0ms
(hypot y.re y.im)
24.0ms
(/ (* (- (* x.im y.re) (* x.re y.im)) (/ 1 (hypot y.re y.im))) (hypot y.re y.im))
8.0ms
(- (* x.im y.re) (* x.re y.im))
32.0ms
(* (- (* x.im y.re) (* x.re y.im)) (/ 1 (hypot y.re y.im)))

series288.0ms

Counts
4 → 12
Calls
4 calls:
43.0ms
(hypot y.re y.im)
107.0ms
(/ (* (- (* x.im y.re) (* x.re y.im)) (/ 1 (hypot y.re y.im))) (hypot y.re y.im))
33.0ms
(- (* x.im y.re) (* x.re y.im))
105.0ms
(* (- (* x.im y.re) (* x.re y.im)) (/ 1 (hypot y.re y.im)))

simplify53.0ms

Algorithm
egg-herbie
Counts
113 → 113
Iterations

Useful iterations: 2 (44.0ms)

IterNodesCost
0419840
11832701
25001680

prune254.0ms

Pruning

9 alts after pruning (8 fresh and 1 done)

Merged error: 3.6b

regimes169.0ms

Accuracy

21.7% (9.6b remaining)

Error of 14.2b against oracle of 4.6b and baseline of 16.8b

bsearch100.0ms

Steps
ItersRangePoint
6
1.0147126510985566e+154
1.5390174045660966e+155
1.2406195490687244e+154
0
1.355787840076734e-46
1.3889805231674934e-46
1.3723841816221136e-46
9
-1.2723470834620463
-4.2141482665579254e-08
-0.2900903644931191
9
-2.518879193894841e+154
-8.677923561422495e+144
-1.3319950800757915e+154

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04437
14637
24637

end0.0ms

sample581.0ms

Algorithm
intervals
Results
296.0ms8465×body80valid