Details

Time bar (total: 3.0s)

sample19.0ms

Algorithm
intervals
Results
9.0ms268×body80valid

simplify10.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0197
1367
2487
3667
4727
5727

prune5.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.9b

Counts
2 → 1

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

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

series170.0ms

Counts
3 → 9
Calls
3 calls:
42.0ms
(+ (* y.re y.re) (* y.im y.im))
43.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)))

simplify42.0ms

Algorithm
egg-herbie
Counts
64 → 64
Iterations

Useful iterations: 2 (30.0ms)

IterNodesCost
0292541
11273493
25002491

prune178.0ms

Filtered
64 candidates to 50 candidates (78.1%)
Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New541064
Fresh000
Picked101
Done000
Total551065

Merged error: 24.2b

Counts
65 → 10

localize12.0ms

Local error

Found 4 expressions with local error:

0.7b
(- (* x.im y.re) (* x.re y.im))
14.9b
(/ (- (* x.im y.re) (* x.re y.im)) (sqrt (+ (* y.re y.re) (* y.im y.im))))
28.5b
(sqrt (+ (* y.re y.re) (* y.im y.im)))
28.5b
(sqrt (+ (* y.re y.re) (* y.im y.im)))

rewrite21.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)))
3.0ms
(sqrt (+ (* y.re y.re) (* y.im y.im)))

series225.0ms

Counts
4 → 12
Calls
4 calls:
39.0ms
(- (* x.im y.re) (* x.re y.im))
112.0ms
(/ (- (* x.im y.re) (* x.re y.im)) (sqrt (+ (* y.re y.re) (* y.im y.im))))
35.0ms
(sqrt (+ (* y.re y.re) (* y.im y.im)))
39.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
23354845
35001845

prune295.0ms

Filtered
98 candidates to 75 candidates (76.5%)
Pruning

13 alts after pruning (13 fresh and 0 done)

PrunedKeptTotal
New91798
Fresh369
Picked101
Done000
Total9513108

Merged error: 22.2b

Counts
108 → 13

localize13.0ms

Local error

Found 4 expressions with local error:

0.7b
(- (* x.im y.re) (* x.re y.im))
15.0b
(* (- (* x.im y.re) (* x.re y.im)) (/ 1 (sqrt (+ (* y.re y.re) (* y.im y.im)))))
28.5b
(sqrt (+ (* y.re y.re) (* y.im y.im)))
28.5b
(sqrt (+ (* y.re y.re) (* y.im y.im)))

rewrite30.0ms

Algorithm
rewrite-expression-head
Rules
34×add-sqr-sqrt
24×associate-*r*
22×*-un-lft-identity times-frac
20×add-cube-cbrt
17×sqrt-prod
13×add-exp-log
add-cbrt-cube
pow1
sqrt-div add-log-exp
unswap-sqr
prod-exp
flip3-- flip3-+ associate-*l* flip-- flip-+
frac-times rem-sqrt-square sqrt-pow1 pow1/2 div-exp associate-*l/ associate-/r/ cbrt-unprod
cbrt-undiv sub-neg rec-exp diff-log 1-exp associate-*r/ pow-prod-down un-div-inv *-commutative div-inv
Counts
4 → 95
Calls
4 calls:
3.0ms
(- (* x.im y.re) (* x.re y.im))
14.0ms
(* (- (* x.im y.re) (* x.re y.im)) (/ 1 (sqrt (+ (* y.re y.re) (* y.im y.im)))))
7.0ms
(sqrt (+ (* y.re y.re) (* y.im y.im)))
4.0ms
(sqrt (+ (* y.re y.re) (* y.im y.im)))

series217.0ms

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

simplify45.0ms

Algorithm
egg-herbie
Counts
107 → 107
Iterations

Useful iterations: 2 (36.0ms)

IterNodesCost
0378918
11807831
25001807

prune301.0ms

Filtered
107 candidates to 74 candidates (69.2%)
Pruning

12 alts after pruning (12 fresh and 0 done)

PrunedKeptTotal
New1052107
Fresh21012
Picked101
Done000
Total10812120

Merged error: 22.2b

Counts
120 → 12

localize13.0ms

Local error

Found 4 expressions with local error:

0.7b
(- (* x.im y.re) (* x.re y.im))
14.9b
(/ (- (* x.im y.re) (* x.re y.im)) (sqrt (+ (* y.re y.re) (* y.im y.im))))
28.5b
(sqrt (+ (* y.re y.re) (* y.im y.im)))
28.5b
(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)))

series225.0ms

Counts
4 → 12
Calls
4 calls:
39.0ms
(- (* x.im y.re) (* x.re y.im))
113.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)))

simplify95.0ms

Algorithm
egg-herbie
Counts
98 → 98
Iterations

Useful iterations: 2 (25.0ms)

IterNodesCost
0304910
1990857
23354845
35001845

prune272.0ms

Filtered
98 candidates to 75 candidates (76.5%)
Pruning

12 alts after pruning (11 fresh and 1 done)

PrunedKeptTotal
New97198
Fresh11011
Picked011
Done000
Total9812110

Merged error: 22.2b

Counts
110 → 12

regimes186.0ms

Accuracy

0% (2.9b remaining)

Error of 26.3b against oracle of 23.4b and baseline of 26.3b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02114
12114

end0.0ms

sample495.0ms

Algorithm
intervals
Results
290.0ms8500×body80valid