Details

Time bar (total: 6.5s)

sample323.0ms

Algorithm
intervals
Results
218.0ms259×body80valid
45.0ms63×body1280valid
21.0ms43×body640valid
4.0ms11×body320valid
3.0ms15×body160valid

simplify38.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
03121
15320
28420
320320
487920
5500120

prune20.0ms

Filtered
1 candidates to 1 candidates (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 32.7b

Counts
2 → 2

localize32.0ms

Local error

Found 4 expressions with local error:

1.2b
(* (atan2 x.im x.re) y.im)
29.6b
(sqrt (+ (* x.re x.re) (* x.im x.im)))
29.6b
(sqrt (+ (* x.re x.re) (* x.im x.im)))
32.2b
(cos (+ (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.im) (* (atan2 x.im x.re) y.re)))

rewrite22.0ms

Algorithm
rewrite-expression-head
Rules
12×add-sqr-sqrt
pow1 add-cube-cbrt *-un-lft-identity
add-exp-log sqrt-prod add-cbrt-cube
sqrt-div add-log-exp
associate-*r* associate-*l*
rem-sqrt-square sqrt-pow1 flip3-+ pow1/2 flip-+
cos-sum pow-prod-down prod-exp *-commutative cbrt-unprod unswap-sqr
Counts
4 → 56
Calls
4 calls:
3.0ms
(* (atan2 x.im x.re) y.im)
4.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))
4.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))
9.0ms
(cos (+ (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.im) (* (atan2 x.im x.re) y.re)))

series94.0ms

Counts
4 → 12
Calls
4 calls:
7.0ms
(* (atan2 x.im x.re) y.im)
6.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))
7.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))
74.0ms
(cos (+ (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.im) (* (atan2 x.im x.re) y.re)))

simplify81.0ms

Algorithm
egg-herbie
Counts
68 → 68
Iterations

Useful iterations: 2 (14.0ms)

IterNodesCost
0199426
1523389
21179387
32665387
45002387

prune125.0ms

Filtered
68 candidates to 54 candidates (20.6%)
Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New63568
Fresh011
Picked101
Done000
Total64670

Merged error: 19.6b

Counts
70 → 6

localize16.0ms

Local error

Found 4 expressions with local error:

0.0b
(exp (- (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.re) (* (atan2 x.im x.re) y.im)))
0.2b
(* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.re)
1.2b
(* (atan2 x.im x.re) y.im)
29.6b
(sqrt (+ (* x.re x.re) (* x.im x.im)))

rewrite19.0ms

Algorithm
rewrite-expression-head
Rules
15×add-sqr-sqrt
11×pow1
10×add-cube-cbrt *-un-lft-identity
associate-*l*
add-exp-log add-cbrt-cube
add-log-exp
associate-*r*
exp-prod sqrt-prod log-pow
sqrt-pow1 pow1/2 sqrt-div exp-sum pow-prod-down prod-exp *-commutative cbrt-unprod rem-exp-log unswap-sqr
sub-neg rem-sqrt-square flip3-+ exp-diff diff-log flip-+
Counts
4 → 69
Calls
4 calls:
5.0ms
(exp (- (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.re) (* (atan2 x.im x.re) y.im)))
5.0ms
(* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.re)
3.0ms
(* (atan2 x.im x.re) y.im)
4.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))

series80.0ms

Counts
4 → 12
Calls
4 calls:
41.0ms
(exp (- (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.re) (* (atan2 x.im x.re) y.im)))
26.0ms
(* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.re)
7.0ms
(* (atan2 x.im x.re) y.im)
6.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))

simplify59.0ms

Algorithm
egg-herbie
Counts
81 → 81
Iterations

Useful iterations: 3 (52.0ms)

IterNodesCost
0299557
1864497
22274481
35002479

prune143.0ms

Filtered
81 candidates to 60 candidates (25.9%)
Pruning

11 alts after pruning (11 fresh and 0 done)

PrunedKeptTotal
New74781
Fresh145
Picked101
Done000
Total761187

Merged error: 3.8b

Counts
87 → 11

localize12.0ms

Local error

Found 3 expressions with local error:

0.0b
(/ (pow x.re y.re) (exp (* (atan2 x.im x.re) y.im)))
0.0b
(exp (* (atan2 x.im x.re) y.im))
1.2b
(* (atan2 x.im x.re) y.im)

rewrite13.0ms

Algorithm
rewrite-expression-head
Rules
23×add-sqr-sqrt
21×add-cube-cbrt *-un-lft-identity times-frac
12×unpow-prod-down
add-exp-log add-cbrt-cube associate-/l*
pow1 add-log-exp
sqr-pow
div-exp associate-*r* associate-*l* associate-/r*
cbrt-undiv pow-to-exp exp-prod exp-to-pow frac-2neg pow-prod-down pow-exp prod-exp clear-num *-commutative cbrt-unprod div-inv rem-exp-log unswap-sqr
Counts
3 → 73
Calls
3 calls:
5.0ms
(/ (pow x.re y.re) (exp (* (atan2 x.im x.re) y.im)))
2.0ms
(exp (* (atan2 x.im x.re) y.im))
3.0ms
(* (atan2 x.im x.re) y.im)

series44.0ms

Counts
3 → 9
Calls
3 calls:
28.0ms
(/ (pow x.re y.re) (exp (* (atan2 x.im x.re) y.im)))
9.0ms
(exp (* (atan2 x.im x.re) y.im))
7.0ms
(* (atan2 x.im x.re) y.im)

simplify35.0ms

Algorithm
egg-herbie
Counts
82 → 82
Iterations

Useful iterations: 2 (28.0ms)

IterNodesCost
0266599
11004563
25001558

prune130.0ms

Filtered
82 candidates to 58 candidates (29.3%)
Pruning

12 alts after pruning (12 fresh and 0 done)

PrunedKeptTotal
New79382
Fresh1910
Picked101
Done000
Total811293

Merged error: 3.8b

Counts
93 → 12

localize17.0ms

Local error

Found 4 expressions with local error:

0.5b
(cbrt y.im)
0.5b
(cbrt y.im)
0.6b
(* (cbrt y.im) (cbrt y.im))
1.2b
(* (atan2 x.im x.re) (* (cbrt y.im) (cbrt y.im)))

rewrite17.0ms

Algorithm
rewrite-expression-head
Rules
24×add-sqr-sqrt
22×cbrt-prod
16×pow1
15×add-cube-cbrt *-un-lft-identity
11×add-exp-log
associate-*l*
pow1/3
associate-*r* add-cbrt-cube
swap-sqr
pow-prod-down unswap-sqr
prod-exp cbrt-unprod add-log-exp
pow-sqr *-commutative pow-prod-up
pow2 pow-plus
Counts
4 → 81
Calls
4 calls:
1.0ms
(cbrt y.im)
1.0ms
(cbrt y.im)
6.0ms
(* (cbrt y.im) (cbrt y.im))
7.0ms
(* (atan2 x.im x.re) (* (cbrt y.im) (cbrt y.im)))

series100.0ms

Counts
4 → 12
Calls
4 calls:
23.0ms
(cbrt y.im)
25.0ms
(cbrt y.im)
26.0ms
(* (cbrt y.im) (cbrt y.im))
26.0ms
(* (atan2 x.im x.re) (* (cbrt y.im) (cbrt y.im)))

simplify126.0ms

Algorithm
egg-herbie
Counts
93 → 93
Iterations

Useful iterations: 3 (120.0ms)

IterNodesCost
0214461
1737412
23890352
35002333

prune95.0ms

Filtered
93 candidates to 61 candidates (34.4%)
Pruning

13 alts after pruning (13 fresh and 0 done)

PrunedKeptTotal
New91293
Fresh01111
Picked101
Done000
Total9213105

Merged error: 3.8b

Counts
105 → 13

regimes637.0ms

Accuracy

81.8% (5.2b remaining)

Error of 8.9b against oracle of 3.7b and baseline of 32.4b

bsearch260.0ms

Steps
ItersRangePoint
7
4.104989284195868e-12
3.525489735606849e-10
3.235096469728847e-10
8
2.3370961207514916e-213
5.506218586352494e-209
2.764877752207601e-209
11
-6.7935373210721584e-298
1.3740349501288148e-299
7.2216902337184e-311

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
05939
16339
26339

end0.0ms

sample3.9s

Algorithm
intervals
Results
1.4s2109×body1280valid
834.0ms7977×body80valid
696.0ms1466×body640valid
226.0ms679×body320valid
74.0ms338×body160valid

Profiling

Loading profile data...