Details

Time bar (total: 2.6s)

sample26.0ms

Algorithm
intervals
Results
11.0ms263×body80valid

simplify8.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0197
1367
2487
3667
4727
5727

prune4.0ms

Filtered
1 candidates to 0 candidates (100.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 25.4b

Counts
2 → 1

localize9.0ms

Local error

Found 2 expressions with local error:

1.2b
(- (* x.im y.re) (* x.re y.im))
25.0b
(/ (- (* x.im y.re) (* x.re y.im)) (+ (* y.re y.re) (* y.im y.im)))

rewrite11.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 flip3-- associate-/r/ flip-- associate-/l/
cbrt-undiv sub-neg frac-2neg flip3-+ diff-log div-sub div-exp clear-num flip-+ div-inv
Counts
2 → 44
Calls
2 calls:
3.0ms
(- (* x.im y.re) (* x.re y.im))
7.0ms
(/ (- (* x.im y.re) (* x.re y.im)) (+ (* y.re y.re) (* y.im y.im)))

series40.0ms

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

simplify96.0ms

Algorithm
egg-herbie
Counts
50 → 50
Iterations

Useful iterations: 2 (23.0ms)

IterNodesCost
0251464
1938427
23490426
35002426

prune81.0ms

Filtered
50 candidates to 39 candidates (22.0%)
Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New44650
Fresh000
Picked011
Done000
Total44751

Merged error: 24.6b

Counts
51 → 7

localize11.0ms

Local error

Found 4 expressions with local error:

1.2b
(- (* x.im y.re) (* x.re y.im))
16.5b
(/ (- (* x.im y.re) (* x.re y.im)) (sqrt (+ (* y.re y.re) (* y.im y.im))))
30.0b
(sqrt (+ (* y.re y.re) (* y.im y.im)))
30.0b
(sqrt (+ (* y.re y.re) (* y.im y.im)))

rewrite189.0ms

Algorithm
rewrite-expression-head
Rules
23×add-sqr-sqrt
21×add-cube-cbrt *-un-lft-identity
18×times-frac sqrt-prod
pow1 add-exp-log sqrt-div associate-/r* add-cbrt-cube add-log-exp
flip3-+ flip-+ associate-/l*
rem-sqrt-square flip3-- sqrt-pow1 pow1/2 associate-/r/ flip-- associate-/l/
cbrt-undiv sub-neg frac-2neg diff-log div-sub div-exp clear-num div-inv
Counts
4 → 86
Calls
4 calls:
3.0ms
(- (* x.im y.re) (* x.re y.im))
177.0ms
(/ (- (* x.im y.re) (* x.re y.im)) (sqrt (+ (* y.re y.re) (* y.im y.im))))
3.0ms
(sqrt (+ (* y.re y.re) (* y.im y.im)))
3.0ms
(sqrt (+ (* y.re y.re) (* y.im y.im)))

series55.0ms

Counts
4 → 12
Calls
4 calls:
10.0ms
(- (* x.im y.re) (* x.re y.im))
34.0ms
(/ (- (* x.im y.re) (* x.re y.im)) (sqrt (+ (* y.re y.re) (* y.im y.im))))
6.0ms
(sqrt (+ (* y.re y.re) (* y.im y.im)))
6.0ms
(sqrt (+ (* y.re y.re) (* y.im y.im)))

simplify95.0ms

Algorithm
egg-herbie
Counts
98 → 98
Iterations

Useful iterations: 2 (25.0ms)

IterNodesCost
0304910
1990857
23340845
35003845

prune117.0ms

Filtered
98 candidates to 75 candidates (23.5%)
Pruning

9 alts after pruning (7 fresh and 2 done)

PrunedKeptTotal
New94498
Fresh235
Picked011
Done011
Total969105

Merged error: 23.1b

Counts
105 → 9

localize16.0ms

Local error

Found 4 expressions with local error:

1.2b
(- (* x.im y.re) (* x.re y.im))
16.5b
(/ (- (* x.im y.re) (* x.re y.im)) (sqrt (+ (* y.re y.re) (* y.im y.im))))
30.0b
(sqrt (+ (* y.re y.re) (* y.im y.im)))
30.0b
(sqrt (+ (* y.re y.re) (* y.im y.im)))

rewrite20.0ms

Algorithm
rewrite-expression-head
Rules
23×add-sqr-sqrt
21×add-cube-cbrt *-un-lft-identity
18×times-frac sqrt-prod
pow1 add-exp-log sqrt-div associate-/r* add-cbrt-cube add-log-exp
flip3-+ flip-+ associate-/l*
rem-sqrt-square flip3-- sqrt-pow1 pow1/2 associate-/r/ flip-- associate-/l/
cbrt-undiv sub-neg frac-2neg diff-log div-sub div-exp clear-num div-inv
Counts
4 → 86
Calls
4 calls:
3.0ms
(- (* x.im y.re) (* x.re y.im))
8.0ms
(/ (- (* x.im y.re) (* x.re y.im)) (sqrt (+ (* y.re y.re) (* y.im y.im))))
3.0ms
(sqrt (+ (* y.re y.re) (* y.im y.im)))
3.0ms
(sqrt (+ (* y.re y.re) (* y.im y.im)))

series56.0ms

Counts
4 → 12
Calls
4 calls:
10.0ms
(- (* x.im y.re) (* x.re y.im))
34.0ms
(/ (- (* x.im y.re) (* x.re y.im)) (sqrt (+ (* y.re y.re) (* y.im y.im))))
6.0ms
(sqrt (+ (* y.re y.re) (* y.im y.im)))
6.0ms
(sqrt (+ (* y.re y.re) (* y.im y.im)))

simplify96.0ms

Algorithm
egg-herbie
Counts
98 → 98
Iterations

Useful iterations: 2 (25.0ms)

IterNodesCost
0304910
1990857
23340845
35003845

prune109.0ms

Filtered
98 candidates to 75 candidates (23.5%)
Pruning

9 alts after pruning (6 fresh and 3 done)

PrunedKeptTotal
New98098
Fresh066
Picked011
Done022
Total989107

Merged error: 23.1b

Counts
107 → 9

localize14.0ms

Local error

Found 4 expressions with local error:

16.0b
(* (* (cbrt (- (* x.im y.re) (* x.re y.im))) (cbrt (- (* x.im y.re) (* x.re y.im)))) (/ (cbrt (- (* x.im y.re) (* x.re y.im))) (+ (* y.re y.re) (* y.im y.im))))
17.1b
(cbrt (- (* x.im y.re) (* x.re y.im)))
17.1b
(cbrt (- (* x.im y.re) (* x.re y.im)))
17.1b
(cbrt (- (* x.im y.re) (* x.re y.im)))

rewrite35.0ms

Algorithm
rewrite-expression-head
Rules
30×cbrt-div
25×add-sqr-sqrt
24×associate-*r*
20×add-cube-cbrt *-un-lft-identity times-frac
19×cbrt-prod
16×add-exp-log frac-times
15×flip3-- flip--
12×associate-*l/
10×add-cbrt-cube
pow1
prod-exp cbrt-unprod
associate-*r/
add-log-exp
pow1/3 pow-prod-down unswap-sqr
cbrt-undiv div-exp associate-/r/
flip3-+ associate-*l* *-commutative flip-+ div-inv
Counts
4 → 102
Calls
4 calls:
20.0ms
(* (* (cbrt (- (* x.im y.re) (* x.re y.im))) (cbrt (- (* x.im y.re) (* x.re y.im)))) (/ (cbrt (- (* x.im y.re) (* x.re y.im))) (+ (* y.re y.re) (* y.im y.im))))
3.0ms
(cbrt (- (* x.im y.re) (* x.re y.im)))
3.0ms
(cbrt (- (* x.im y.re) (* x.re y.im)))
5.0ms
(cbrt (- (* x.im y.re) (* x.re y.im)))

series140.0ms

Counts
4 → 12
Calls
4 calls:
27.0ms
(* (* (cbrt (- (* x.im y.re) (* x.re y.im))) (cbrt (- (* x.im y.re) (* x.re y.im)))) (/ (cbrt (- (* x.im y.re) (* x.re y.im))) (+ (* y.re y.re) (* y.im y.im))))
37.0ms
(cbrt (- (* x.im y.re) (* x.re y.im)))
39.0ms
(cbrt (- (* x.im y.re) (* x.re y.im)))
37.0ms
(cbrt (- (* x.im y.re) (* x.re y.im)))

simplify68.0ms

Algorithm
egg-herbie
Counts
114 → 114
Iterations

Useful iterations: 2 (50.0ms)

IterNodesCost
06161943
123741754
250011671

prune114.0ms

Filtered
114 candidates to 91 candidates (20.2%)
Pruning

9 alts after pruning (5 fresh and 4 done)

PrunedKeptTotal
New1140114
Fresh055
Picked011
Done033
Total1149123

Merged error: 23.1b

Counts
123 → 9

regimes436.0ms

Accuracy

31.9% (2.0b remaining)

Error of 25.1b against oracle of 23.1b and baseline of 26.1b

bsearch1.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02526
12726
22726

end0.0ms

sample745.0ms

Algorithm
intervals
Results
365.0ms8499×body80valid

Profiling

Loading profile data...