Details

Time bar (total: 3.8s)

sample23.0ms

Algorithm
intervals
Results
12.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

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 24.3b

Counts
2 → 1

localize9.0ms

Local error

Found 2 expressions with local error:

0.3b
(- (* x.im y.re) (* x.re y.im))
23.9b
(/ (- (* x.im y.re) (* x.re y.im)) (+ (* y.re y.re) (* y.im y.im)))

rewrite12.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)))

series124.0ms

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

simplify101.0ms

Algorithm
egg-herbie
Counts
56 → 56
Iterations

Useful iterations: 3 (95.0ms)

IterNodesCost
0270481
11012432
23842422
35001421

prune136.0ms

Filtered
56 candidates to 46 candidates (82.1%)
Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New50656
Fresh000
Picked101
Done000
Total51657

Merged error: 9.7b

Counts
57 → 6

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

rewrite28.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:
12.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))
6.0ms
(/ (- (* x.im y.re) (* x.re y.im)) (hypot y.re y.im))

series329.0ms

Counts
3 → 9
Calls
3 calls:
182.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))
112.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

prune241.0ms

Filtered
119 candidates to 78 candidates (65.5%)
Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New1127119
Fresh415
Picked101
Done000
Total1178125

Merged error: 4.0b

Counts
125 → 8

localize9.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.3b
(- (* x.im y.re) (* x.re y.im))
12.9b
(/ (- (* x.im y.re) (* x.re y.im)) (hypot y.re y.im))

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

series268.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))
39.0ms
(- (* x.im y.re) (* x.re y.im))
113.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

prune289.0ms

Filtered
130 candidates to 99 candidates (76.2%)
Pruning

10 alts after pruning (9 fresh and 1 done)

PrunedKeptTotal
New1255130
Fresh347
Picked011
Done000
Total12810138

Merged error: 4.0b

Counts
138 → 10

localize10.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ (/ 1 (/ (hypot y.re y.im) (- (* x.im y.re) (* x.re y.im)))) (hypot y.re y.im))
0.2b
(/ 1 (/ (hypot y.re y.im) (- (* x.im y.re) (* x.re y.im))))
0.3b
(- (* x.im y.re) (* x.re y.im))
13.0b
(/ (hypot y.re y.im) (- (* x.im y.re) (* x.re y.im)))

rewrite52.0ms

Algorithm
rewrite-expression-head
Rules
528×times-frac
255×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
56×associate-/l*
39×associate-/r/
36×add-exp-log
23×div-inv
22×div-exp
21×associate-/r*
20×add-cbrt-cube
18×flip3-- flip--
10×cbrt-undiv
add-log-exp
pow1
expm1-log1p-u rec-exp 1-exp log1p-expm1-u
frac-2neg clear-num
sub-neg pow-flip fma-neg diff-log prod-diff associate-/l/ inv-pow
Counts
4 → 359
Calls
4 calls:
16.0ms
(/ (/ 1 (/ (hypot y.re y.im) (- (* x.im y.re) (* x.re y.im)))) (hypot y.re y.im))
8.0ms
(/ 1 (/ (hypot y.re y.im) (- (* x.im y.re) (* x.re y.im))))
4.0ms
(- (* x.im y.re) (* x.re y.im))
5.0ms
(/ (hypot y.re y.im) (- (* x.im y.re) (* x.re y.im)))

series429.0ms

Counts
4 → 12
Calls
4 calls:
183.0ms
(/ (/ 1 (/ (hypot y.re y.im) (- (* x.im y.re) (* x.re y.im)))) (hypot y.re y.im))
115.0ms
(/ 1 (/ (hypot y.re y.im) (- (* x.im y.re) (* x.re y.im))))
40.0ms
(- (* x.im y.re) (* x.re y.im))
91.0ms
(/ (hypot y.re y.im) (- (* x.im y.re) (* x.re y.im)))

simplify79.0ms

Algorithm
egg-herbie
Counts
371 → 371
Iterations

Useful iterations: 1 (28.0ms)

IterNodesCost
012965404
150024894

prune681.0ms

Filtered
371 candidates to 229 candidates (61.7%)
Pruning

10 alts after pruning (8 fresh and 2 done)

PrunedKeptTotal
New3710371
Fresh088
Picked011
Done011
Total37110381

Merged error: 4.0b

Counts
381 → 10

regimes166.0ms

Accuracy

31.9% (8.2b remaining)

Error of 12.7b against oracle of 4.5b and baseline of 16.6b

bsearch72.0ms

Steps
ItersRangePoint
7
3.1837334327695434e+155
6.857760642350757e+156
9.341472830619268e+155
9
-6.544231823169852e+220
-2.0003023358733455e+215
-2.0310852147485622e+215

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02412
12512
22512

end0.0ms

sample604.0ms

Algorithm
intervals
Results
386.0ms8441×body80valid