Details

Time bar (total: 3.2s)

sample21.0ms

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

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: 28.5b

Counts
2 → 1

localize10.0ms

Local error

Found 2 expressions with local error:

0.2b
(- (* x.im y.re) (* x.re y.im))
27.9b
(/ (- (* x.im y.re) (* x.re y.im)) (+ (* y.re y.re) (* y.im y.im)))

rewrite13.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:
35.0ms
(- (* x.im y.re) (* x.re y.im))
83.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 (99.0ms)

IterNodesCost
0270481
11012432
23842422
35001421

prune136.0ms

Filtered
56 candidates to 46 candidates (82.1%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New52456
Fresh000
Picked011
Done000
Total52557

Merged error: 12.6b

Counts
57 → 5

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

rewrite27.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:
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))

series323.0ms

Counts
3 → 9
Calls
3 calls:
175.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))
113.0ms
(/ (- (* x.im y.re) (* x.re y.im)) (hypot y.re y.im))

simplify59.0ms

Algorithm
egg-herbie
Counts
119 → 119
Iterations

Useful iterations: 2 (48.0ms)

IterNodesCost
05371095
12236907
25002905

prune247.0ms

Filtered
119 candidates to 78 candidates (65.5%)
Pruning

10 alts after pruning (9 fresh and 1 done)

PrunedKeptTotal
New1118119
Fresh213
Picked101
Done011
Total11410124

Merged error: 5.0b

Counts
124 → 10

localize9.0ms

Local error

Found 3 expressions with local error:

0.0b
(/ (/ (- (* x.im y.re) (* x.re y.im)) (hypot y.re y.im)) (hypot y.re y.im))
0.2b
(- (* x.im y.re) (* x.re y.im))
16.6b
(/ (- (* x.im y.re) (* x.re y.im)) (hypot y.re y.im))

rewrite26.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:
11.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))

series262.0ms

Counts
3 → 9
Calls
3 calls:
116.0ms
(/ (/ (- (* x.im y.re) (* x.re y.im)) (hypot y.re y.im)) (hypot y.re y.im))
34.0ms
(- (* x.im y.re) (* x.re y.im))
112.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 (37.0ms)

IterNodesCost
04511408
116591307
250011298

prune269.0ms

Filtered
130 candidates to 98 candidates (75.4%)
Pruning

11 alts after pruning (9 fresh and 2 done)

PrunedKeptTotal
New1255130
Fresh448
Picked011
Done011
Total12911140

Merged error: 5.0b

Counts
140 → 11

localize10.0ms

Local error

Found 3 expressions with local error:

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

rewrite29.0ms

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

series269.0ms

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

simplify53.0ms

Algorithm
egg-herbie
Counts
100 → 100
Iterations

Useful iterations: 2 (44.0ms)

IterNodesCost
0410813
11822677
25002656

prune207.0ms

Filtered
100 candidates to 69 candidates (69.0%)
Pruning

11 alts after pruning (8 fresh and 3 done)

PrunedKeptTotal
New1000100
Fresh088
Picked011
Done022
Total10011111

Merged error: 5.0b

Counts
111 → 11

regimes257.0ms

Accuracy

16.5% (10.2b remaining)

Error of 14.8b against oracle of 4.5b and baseline of 16.8b

bsearch82.0ms

Steps
ItersRangePoint
7
7.224436801969521e+81
4.463973393884511e+83
4.407682962117648e+83
8
-6.957313783136581e+63
-1.3416116134587942e+61
-8.901266108273305e+62
3
-2.0986451894772195e+132
-1.711365952199469e+132
-2.0744402371473602e+132

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03326
13526
23526

end0.0ms

sample541.0ms

Algorithm
intervals
Results
307.0ms8438×body80valid