Details

Time bar (total: 3.3s)

sample23.0ms

Algorithm
intervals
Results
12.0ms277×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: 29.2b

Counts
2 → 1

localize9.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ (* y.re y.re) (* y.im y.im))
0.5b
(- (* x.im y.re) (* x.re y.im))
28.7b
(/ (- (* 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)))

series154.0ms

Counts
3 → 9
Calls
3 calls:
32.0ms
(+ (* y.re y.re) (* y.im y.im))
36.0ms
(- (* x.im y.re) (* x.re y.im))
86.0ms
(/ (- (* x.im y.re) (* x.re y.im)) (+ (* y.re y.re) (* y.im y.im)))

simplify40.0ms

Algorithm
egg-herbie
Counts
64 → 64
Iterations

Useful iterations: 2 (33.0ms)

IterNodesCost
0292541
11273493
25002491

prune157.0ms

Filtered
64 candidates to 50 candidates (78.1%)
Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New58664
Fresh000
Picked101
Done000
Total59665

Merged error: 28.5b

Counts
65 → 6

localize16.0ms

Local error

Found 4 expressions with local error:

0.5b
(- (* x.im y.re) (* x.re y.im))
15.0b
(/ (- (* x.im y.re) (* x.re y.im)) (sqrt (+ (* y.re y.re) (* y.im y.im))))
31.7b
(sqrt (+ (* y.re y.re) (* y.im y.im)))
31.7b
(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)))
4.0ms
(sqrt (+ (* y.re y.re) (* y.im y.im)))

series219.0ms

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

simplify96.0ms

Algorithm
egg-herbie
Counts
98 → 98
Iterations

Useful iterations: 2 (26.0ms)

IterNodesCost
0304910
1990857
23354845
35001845

prune243.0ms

Filtered
98 candidates to 75 candidates (76.5%)
Pruning

10 alts after pruning (9 fresh and 1 done)

PrunedKeptTotal
New92698
Fresh235
Picked011
Done000
Total9410104

Merged error: 26.2b

Counts
104 → 10

localize15.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (* y.re y.re) (* y.im y.im))
0.5b
(- (* x.im y.re) (* x.re y.im))
0.6b
(/ 1 (+ (* y.re y.re) (* y.im y.im)))
28.5b
(* (- (* x.im y.re) (* x.re y.im)) (/ 1 (+ (* y.re y.re) (* y.im y.im))))

rewrite26.0ms

Algorithm
rewrite-expression-head
Rules
27×add-sqr-sqrt
21×*-un-lft-identity
20×add-cube-cbrt times-frac
17×add-exp-log
15×associate-*r*
11×add-cbrt-cube
add-log-exp
pow1
div-exp prod-exp associate-/r/
flip3-- flip3-+ associate-*l* associate-/r* flip-- flip-+ associate-/l* unswap-sqr
cbrt-undiv frac-times rec-exp 1-exp associate-*l/ cbrt-unprod div-inv
+-commutative sub-neg pow-flip frac-2neg diff-log associate-*r/ pow-prod-down clear-num sum-log un-div-inv *-commutative inv-pow
Counts
4 → 98
Calls
4 calls:
4.0ms
(+ (* y.re y.re) (* y.im y.im))
3.0ms
(- (* x.im y.re) (* x.re y.im))
5.0ms
(/ 1 (+ (* y.re y.re) (* y.im y.im)))
11.0ms
(* (- (* x.im y.re) (* x.re y.im)) (/ 1 (+ (* y.re y.re) (* y.im y.im))))

series193.0ms

Counts
4 → 12
Calls
4 calls:
28.0ms
(+ (* y.re y.re) (* y.im y.im))
43.0ms
(- (* x.im y.re) (* x.re y.im))
37.0ms
(/ 1 (+ (* y.re y.re) (* y.im y.im)))
85.0ms
(* (- (* x.im y.re) (* x.re y.im)) (/ 1 (+ (* y.re y.re) (* y.im y.im))))

simplify55.0ms

Algorithm
egg-herbie
Counts
110 → 110
Iterations

Useful iterations: 2 (45.0ms)

IterNodesCost
0384857
11929753
25002724

prune204.0ms

Filtered
110 candidates to 69 candidates (62.7%)
Pruning

10 alts after pruning (8 fresh and 2 done)

PrunedKeptTotal
New1100110
Fresh088
Picked011
Done011
Total11010120

Merged error: 26.2b

Counts
120 → 10

localize13.0ms

Local error

Found 4 expressions with local error:

14.5b
(* (* (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))))
15.5b
(cbrt (- (* x.im y.re) (* x.re y.im)))
15.5b
(cbrt (- (* x.im y.re) (* x.re y.im)))
15.5b
(cbrt (- (* x.im y.re) (* x.re y.im)))

rewrite36.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:
23.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)))
3.0ms
(cbrt (- (* x.im y.re) (* x.re y.im)))

series425.0ms

Counts
4 → 12
Calls
4 calls:
84.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))))
109.0ms
(cbrt (- (* x.im y.re) (* x.re y.im)))
119.0ms
(cbrt (- (* x.im y.re) (* x.re y.im)))
113.0ms
(cbrt (- (* x.im y.re) (* x.re y.im)))

simplify69.0ms

Algorithm
egg-herbie
Counts
114 → 114
Iterations

Useful iterations: 2 (49.0ms)

IterNodesCost
06171928
123611739
250021650

prune324.0ms

Filtered
114 candidates to 91 candidates (79.8%)
Pruning

10 alts after pruning (7 fresh and 3 done)

PrunedKeptTotal
New1131114
Fresh167
Picked011
Done022
Total11410124

Merged error: 26.2b

Counts
124 → 10

regimes320.0ms

Accuracy

0% (2.8b remaining)

Error of 26.4b against oracle of 23.6b and baseline of 26.4b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01613
11613

end0.0ms

sample614.0ms

Algorithm
intervals
Results
362.0ms8490×body80valid

Profiling

Loading profile data...