Details

Time bar (total: 3.6s)

sample37.0ms

Algorithm
intervals
Results
19.0ms262×body80valid

simplify14.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0217
1407
2567
3767
4907
5947
6947

prune3.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: 30.2b

Counts
2 → 1

localize10.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ (* y.re y.re) (* y.im y.im))
0.7b
(- (* x.im y.re) (* x.re y.im))
29.7b
(/ (- (* x.im y.re) (* x.re y.im)) (+ (* y.re y.re) (* y.im y.im)))

rewrite17.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:
4.0ms
(+ (* y.re y.re) (* y.im y.im))
4.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)))

series148.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))
84.0ms
(/ (- (* x.im y.re) (* x.re y.im)) (+ (* y.re y.re) (* y.im y.im)))

simplify40.0ms

Algorithm
egg-herbie
Counts
73 → 73
Iterations

Useful iterations: 2 (33.0ms)

IterNodesCost
0316555
11343496
25001481

prune177.0ms

Filtered
73 candidates to 59 candidates (80.8%)
Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New67673
Fresh000
Picked011
Done000
Total67774

Merged error: 12.6b

Counts
74 → 7

localize11.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ 1 (* (hypot y.re y.im) 1))
0.3b
(* (/ 1 (* (hypot y.re y.im) 1)) (/ (- (* x.im y.re) (* x.re y.im)) (hypot y.re y.im)))
0.7b
(- (* x.im y.re) (* x.re y.im))
16.3b
(/ (- (* x.im y.re) (* x.re y.im)) (hypot y.re y.im))

rewrite34.0ms

Algorithm
rewrite-expression-head
Rules
83×add-exp-log
38×prod-exp
32×add-cbrt-cube
29×div-exp
28×add-sqr-sqrt
25×times-frac
23×add-cube-cbrt *-un-lft-identity
18×1-exp
13×associate-*r*
10×cbrt-undiv
pow1 rec-exp cbrt-unprod
associate-*l*
associate-/l* add-log-exp
expm1-log1p-u associate-/r* log1p-expm1-u div-inv
flip3-- pow-flip frac-2neg pow-prod-down clear-num flip-- associate-/l/ unswap-sqr
frac-times sub-neg fma-neg diff-log div-sub associate-*r/ prod-diff associate-*l/ *-commutative inv-pow
Counts
4 → 143
Calls
4 calls:
5.0ms
(/ 1 (* (hypot y.re y.im) 1))
16.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))

series380.0ms

Counts
4 → 12
Calls
4 calls:
54.0ms
(/ 1 (* (hypot y.re y.im) 1))
179.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))
111.0ms
(/ (- (* x.im y.re) (* x.re y.im)) (hypot y.re y.im))

simplify63.0ms

Algorithm
egg-herbie
Counts
155 → 155
Iterations

Useful iterations: 2 (50.0ms)

IterNodesCost
05551207
123061003
25003995

prune293.0ms

Filtered
155 candidates to 94 candidates (60.6%)
Pruning

10 alts after pruning (9 fresh and 1 done)

PrunedKeptTotal
New1487155
Fresh325
Picked011
Done101
Total15210162

Merged error: 4.8b

Counts
162 → 10

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

rewrite23.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)
8.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))
7.0ms
(/ (- (* x.im y.re) (* x.re y.im)) (hypot y.re y.im))

series311.0ms

Counts
4 → 12
Calls
4 calls:
48.0ms
(hypot y.re y.im)
111.0ms
(/ (/ (- (* x.im y.re) (* x.re y.im)) (hypot y.re y.im)) (hypot y.re y.im))
35.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
143 → 143
Iterations

Useful iterations: 2 (37.0ms)

IterNodesCost
04601435
116691331
250011322

prune385.0ms

Filtered
143 candidates to 111 candidates (77.6%)
Pruning

10 alts after pruning (9 fresh and 1 done)

PrunedKeptTotal
New1376143
Fresh538
Picked101
Done011
Total14310153

Merged error: 4.7b

Counts
153 → 10

localize12.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ 1 (hypot y.re y.im))
0.1b
(/ (* (- (* x.im y.re) (* x.re y.im)) (/ 1 (hypot y.re y.im))) (hypot y.re y.im))
0.7b
(- (* x.im y.re) (* x.re y.im))
16.4b
(* (- (* x.im y.re) (* x.re y.im)) (/ 1 (hypot y.re y.im)))

rewrite53.0ms

Algorithm
rewrite-expression-head
Rules
32×add-exp-log
29×add-sqr-sqrt
23×*-un-lft-identity times-frac
22×add-cube-cbrt
20×add-cbrt-cube
13×associate-*r*
11×div-exp
prod-exp
pow1
cbrt-undiv associate-/r* associate-/l/ add-log-exp
flip3-- flip--
expm1-log1p-u frac-times associate-*l/ cbrt-unprod log1p-expm1-u associate-/l*
rec-exp 1-exp associate-*l* div-inv unswap-sqr
frac-2neg associate-*r/ clear-num un-div-inv
sub-neg pow-flip fma-neg diff-log prod-diff pow-prod-down *-commutative inv-pow
Counts
4 → 124
Calls
4 calls:
5.0ms
(/ 1 (hypot y.re y.im))
16.0ms
(/ (* (- (* x.im y.re) (* x.re y.im)) (/ 1 (hypot y.re y.im))) (hypot y.re y.im))
6.0ms
(- (* x.im y.re) (* x.re y.im))
16.0ms
(* (- (* x.im y.re) (* x.re y.im)) (/ 1 (hypot y.re y.im)))

series329.0ms

Counts
4 → 12
Calls
4 calls:
54.0ms
(/ 1 (hypot y.re y.im))
111.0ms
(/ (* (- (* x.im y.re) (* x.re y.im)) (/ 1 (hypot y.re y.im))) (hypot y.re y.im))
34.0ms
(- (* x.im y.re) (* x.re y.im))
130.0ms
(* (- (* x.im y.re) (* x.re y.im)) (/ 1 (hypot y.re y.im)))

simplify55.0ms

Algorithm
egg-herbie
Counts
136 → 136
Iterations

Useful iterations: 2 (44.0ms)

IterNodesCost
0419955
11966794
25001763

prune263.0ms

Filtered
136 candidates to 87 candidates (64.0%)
Pruning

10 alts after pruning (8 fresh and 2 done)

PrunedKeptTotal
New1360136
Fresh088
Picked011
Done011
Total13610146

Merged error: 4.7b

Counts
146 → 10

regimes193.0ms

Accuracy

25.4% (9.1b remaining)

Error of 13.7b against oracle of 4.7b and baseline of 16.8b

bsearch152.0ms

Steps
ItersRangePoint
9
3.1765400367270553e+161
1.7693135749404962e+167
1.8252162352267452e+166
7
9.372835355027594e+147
1.4604638118099315e+150
3.240393816704966e+148
9
1.5438579651596973e-189
3.72048546002662e-181
9.4002746344381e-182
6
-1.6077362927151863e+241
-2.0754778060223055e+240
-2.1140340824639586e+240

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04831
15431
25531
35531

end0.0ms

sample583.0ms

Algorithm
intervals
Results
364.0ms8462×body80valid