Details

Time bar (total: 3.6s)

sample25.0ms

Algorithm
intervals
Results
14.0ms270×body80valid

simplify10.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0197
1367
2487
3667
4727
5727

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

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

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

series120.0ms

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

simplify101.0ms

Algorithm
egg-herbie
Counts
50 → 50
Iterations

Useful iterations: 2 (25.0ms)

IterNodesCost
0251464
1938427
23504426
35001426

prune147.0ms

Filtered
50 candidates to 39 candidates (78.0%)
Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New42850
Fresh000
Picked101
Done000
Total43851

Merged error: 23.7b

Counts
51 → 8

localize12.0ms

Local error

Found 4 expressions with local error:

0.3b
(- (* x.im y.re) (* x.re y.im))
12.9b
(/ (- (* x.im y.re) (* x.re y.im)) (sqrt (+ (* y.re y.re) (* y.im y.im))))
29.4b
(sqrt (+ (* y.re y.re) (* y.im y.im)))
29.4b
(sqrt (+ (* y.re y.re) (* y.im y.im)))

rewrite22.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))
9.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)))
4.0ms
(sqrt (+ (* y.re y.re) (* y.im y.im)))

series220.0ms

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

simplify97.0ms

Algorithm
egg-herbie
Counts
98 → 98
Iterations

Useful iterations: 2 (25.0ms)

IterNodesCost
0304910
1990857
23354845
35001845

prune261.0ms

Filtered
98 candidates to 75 candidates (76.5%)
Pruning

10 alts after pruning (9 fresh and 1 done)

PrunedKeptTotal
New94498
Fresh257
Picked011
Done000
Total9610106

Merged error: 21.2b

Counts
106 → 10

localize17.0ms

Local error

Found 4 expressions with local error:

12.9b
(/ (- (* x.im y.re) (* x.re y.im)) (sqrt (+ (* y.re y.re) (* y.im y.im))))
29.4b
(sqrt (+ (* y.re y.re) (* y.im y.im)))
30.4b
(cbrt (+ (* y.re y.re) (* y.im y.im)))
30.4b
(cbrt (+ (* y.re y.re) (* y.im y.im)))

rewrite22.0ms

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

series331.0ms

Counts
4 → 12
Calls
4 calls:
108.0ms
(/ (- (* x.im y.re) (* x.re y.im)) (sqrt (+ (* y.re y.re) (* y.im y.im))))
40.0ms
(sqrt (+ (* y.re y.re) (* y.im y.im)))
92.0ms
(cbrt (+ (* y.re y.re) (* y.im y.im)))
91.0ms
(cbrt (+ (* y.re y.re) (* y.im y.im)))

simplify140.0ms

Algorithm
egg-herbie
Counts
97 → 97
Iterations

Useful iterations: 3 (129.0ms)

IterNodesCost
0321976
11114915
24585900
35001898

prune333.0ms

Filtered
97 candidates to 77 candidates (79.4%)
Pruning

12 alts after pruning (10 fresh and 2 done)

PrunedKeptTotal
New95297
Fresh088
Picked011
Done011
Total9512107

Merged error: 21.2b

Counts
107 → 12

localize19.0ms

Local error

Found 4 expressions with local error:

10.7b
(* (/ 1 (* (cbrt (+ (* y.re y.re) (* y.im y.im))) (cbrt (+ (* y.re y.re) (* y.im y.im))))) (/ (- (* x.im y.re) (* x.re y.im)) (cbrt (+ (* y.re y.re) (* y.im y.im)))))
30.4b
(cbrt (+ (* y.re y.re) (* y.im y.im)))
30.4b
(cbrt (+ (* y.re y.re) (* y.im y.im)))
30.4b
(cbrt (+ (* y.re y.re) (* y.im y.im)))

rewrite62.0ms

Algorithm
rewrite-expression-head
Rules
49×add-exp-log
43×add-sqr-sqrt
33×times-frac
25×*-un-lft-identity
24×associate-*r*
22×add-cube-cbrt
21×cbrt-prod
20×cbrt-div prod-exp
18×add-cbrt-cube
15×div-exp associate-*l*
10×flip3-+ associate-/r/ flip-+
unswap-sqr
cbrt-unprod
cbrt-undiv
pow1
frac-times
rec-exp 1-exp add-log-exp
pow1/3 associate-*r/ associate-*l/
div-inv
pow-prod-down *-commutative
Counts
4 → 119
Calls
4 calls:
42.0ms
(* (/ 1 (* (cbrt (+ (* y.re y.re) (* y.im y.im))) (cbrt (+ (* y.re y.re) (* y.im y.im))))) (/ (- (* x.im y.re) (* x.re y.im)) (cbrt (+ (* y.re y.re) (* y.im y.im)))))
6.0ms
(cbrt (+ (* y.re y.re) (* y.im y.im)))
5.0ms
(cbrt (+ (* y.re y.re) (* y.im y.im)))
3.0ms
(cbrt (+ (* y.re y.re) (* y.im y.im)))

series417.0ms

Counts
4 → 12
Calls
4 calls:
143.0ms
(* (/ 1 (* (cbrt (+ (* y.re y.re) (* y.im y.im))) (cbrt (+ (* y.re y.re) (* y.im y.im))))) (/ (- (* x.im y.re) (* x.re y.im)) (cbrt (+ (* y.re y.re) (* y.im y.im)))))
91.0ms
(cbrt (+ (* y.re y.re) (* y.im y.im)))
92.0ms
(cbrt (+ (* y.re y.re) (* y.im y.im)))
92.0ms
(cbrt (+ (* y.re y.re) (* y.im y.im)))

simplify79.0ms

Algorithm
egg-herbie
Counts
131 → 131
Iterations

Useful iterations: 2 (62.0ms)

IterNodesCost
06002237
128071929
250011759

prune324.0ms

Filtered
131 candidates to 93 candidates (71.0%)
Pruning

12 alts after pruning (9 fresh and 3 done)

PrunedKeptTotal
New1310131
Fresh099
Picked011
Done022
Total13112143

Merged error: 21.2b

Counts
143 → 12

regimes205.0ms

Accuracy

0% (2.8b remaining)

Error of 25.9b against oracle of 23.0b and baseline of 25.9b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01613
11613

end0.0ms

sample570.0ms

Algorithm
intervals
Results
366.0ms8441×body80valid