Details

Time bar (total: 3.0s)

analyze506.0ms

Algorithm
search
Search
TrueOtherFalseIter
0%99.8%0.2%0
0%99.8%0.2%1
0%99.8%0.2%2
0%99.8%0.2%3
0%99.8%0.2%4
0%99.8%0.2%5
0%99.8%0.2%6
0%99.8%0.2%7
6.2%93.6%0.2%8
25%74.9%0.2%9
28.1%71.7%0.2%10
29.6%70.2%0.2%11
53%46.8%0.2%12
71.3%28.5%0.2%13
71.7%28.1%0.2%14

sample24.0ms

Algorithm
intervals
Results
12.0ms256×body80valid
1.0ms15×body80invalid

simplify116.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (114.0ms)

IterNodesCost
0475215
1475215

prune4.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 24.5b

Counts
2 → 1

localize9.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ (* y.re y.re) (* y.im y.im))
0.3b
(- (* x.im y.re) (* x.re y.im))
24.1b
(/ (- (* 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 → 54
Calls
3 calls:
4.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)))

series44.0ms

Counts
3 → 9
Calls
3 calls:
5.0ms
(+ (* y.re y.re) (* y.im y.im))
10.0ms
(- (* x.im y.re) (* x.re y.im))
29.0ms
(/ (- (* x.im y.re) (* x.re y.im)) (+ (* y.re y.re) (* y.im y.im)))

simplify55.0ms

Algorithm
egg-herbie
Counts
63 → 63
Iterations

Useful iterations: 0 (48.0ms)

IterNodesCost
06330976

prune119.0ms

Filtered
49 candidates to 63 candidates (-28.6%)
Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New54963
Fresh000
Picked101
Done000
Total55964

Merged error: 18.9b

Counts
64 → 9

localize11.0ms

Local error

Found 4 expressions with local error:

2.3b
(* x.re (/ y.im (+ (* y.re y.re) (* y.im y.im))))
2.9b
(* x.im (/ y.re (+ (* y.re y.re) (* y.im y.im))))
17.0b
(/ y.re (+ (* y.re y.re) (* y.im y.im)))
17.1b
(/ y.im (+ (* y.re y.re) (* y.im y.im)))

rewrite34.0ms

Algorithm
rewrite-expression-head
Rules
46×add-sqr-sqrt
38×times-frac
36×add-cube-cbrt *-un-lft-identity
30×associate-*r*
18×add-exp-log add-cbrt-cube
pow1 associate-/r/
associate-*l* associate-/r* associate-/l*
cbrt-undiv flip3-+ div-exp prod-exp cbrt-unprod flip-+ div-inv add-log-exp unswap-sqr
frac-2neg associate-*r/ pow-prod-down clear-num *-commutative
Counts
4 → 126
Calls
4 calls:
9.0ms
(* x.re (/ y.im (+ (* y.re y.re) (* y.im y.im))))
11.0ms
(* x.im (/ y.re (+ (* y.re y.re) (* y.im y.im))))
5.0ms
(/ y.re (+ (* y.re y.re) (* y.im y.im)))
5.0ms
(/ y.im (+ (* y.re y.re) (* y.im y.im)))

series42.0ms

Counts
4 → 12
Calls
4 calls:
15.0ms
(* x.re (/ y.im (+ (* y.re y.re) (* y.im y.im))))
14.0ms
(* x.im (/ y.re (+ (* y.re y.re) (* y.im y.im))))
7.0ms
(/ y.re (+ (* y.re y.re) (* y.im y.im)))
7.0ms
(/ y.im (+ (* y.re y.re) (* y.im y.im)))

simplify61.0ms

Algorithm
egg-herbie
Counts
138 → 138
Iterations

Useful iterations: 0 (51.0ms)

IterNodesCost
050221682

prune202.0ms

Filtered
108 candidates to 138 candidates (-27.8%)
Pruning

12 alts after pruning (12 fresh and 0 done)

PrunedKeptTotal
New1326138
Fresh268
Picked101
Done000
Total13512147

Merged error: 18.9b

Counts
147 → 12

localize12.0ms

Local error

Found 4 expressions with local error:

2.3b
(* x.re (/ y.im (+ (* y.re y.re) (* y.im y.im))))
2.9b
(* x.im (/ 1 (/ (+ (* y.re y.re) (* y.im y.im)) y.re)))
16.9b
(/ (+ (* y.re y.re) (* y.im y.im)) y.re)
17.1b
(/ y.im (+ (* y.re y.re) (* y.im y.im)))

rewrite43.0ms

Algorithm
rewrite-expression-head
Rules
100×times-frac
83×add-sqr-sqrt
66×*-un-lft-identity
64×add-cube-cbrt
59×associate-*r*
32×add-exp-log
22×add-cbrt-cube
10×div-exp
prod-exp
pow1
div-inv unswap-sqr
cbrt-undiv associate-*l* associate-/r* associate-/l*
associate-/r/ cbrt-unprod
add-log-exp
flip3-+ flip-+
rec-exp frac-2neg 1-exp associate-*r/ pow-prod-down clear-num *-commutative associate-/l/
un-div-inv
Counts
4 → 165
Calls
4 calls:
9.0ms
(* x.re (/ y.im (+ (* y.re y.re) (* y.im y.im))))
15.0ms
(* x.im (/ 1 (/ (+ (* y.re y.re) (* y.im y.im)) y.re)))
6.0ms
(/ (+ (* y.re y.re) (* y.im y.im)) y.re)
7.0ms
(/ y.im (+ (* y.re y.re) (* y.im y.im)))

series46.0ms

Counts
4 → 12
Calls
4 calls:
17.0ms
(* x.re (/ y.im (+ (* y.re y.re) (* y.im y.im))))
13.0ms
(* x.im (/ 1 (/ (+ (* y.re y.re) (* y.im y.im)) y.re)))
8.0ms
(/ (+ (* y.re y.re) (* y.im y.im)) y.re)
7.0ms
(/ y.im (+ (* y.re y.re) (* y.im y.im)))

simplify47.0ms

Algorithm
egg-herbie
Counts
177 → 177
Iterations

Useful iterations: 0 (34.0ms)

IterNodesCost
052332285

prune248.0ms

Filtered
134 candidates to 177 candidates (-32.1%)
Pruning

12 alts after pruning (12 fresh and 0 done)

PrunedKeptTotal
New1752177
Fresh11011
Picked101
Done000
Total17712189

Merged error: 11.3b

Counts
189 → 12

localize14.0ms

Local error

Found 4 expressions with local error:

0.2b
(/ 1 (+ y.re (* y.im (/ y.im y.re))))
2.3b
(* x.re (/ y.im (+ (* y.re y.re) (* y.im y.im))))
2.9b
(* x.im (/ 1 (+ y.re (* y.im (/ y.im y.re)))))
17.1b
(/ y.im (+ (* y.re y.re) (* y.im y.im)))

rewrite32.0ms

Algorithm
rewrite-expression-head
Rules
48×add-sqr-sqrt
39×times-frac
37×*-un-lft-identity
36×add-cube-cbrt
30×associate-*r*
24×add-exp-log
18×add-cbrt-cube
pow1
associate-/r/
div-exp associate-*l* prod-exp associate-/r* associate-/l*
unswap-sqr
cbrt-undiv flip3-+ cbrt-unprod flip-+ div-inv add-log-exp
rec-exp frac-2neg 1-exp associate-*r/ pow-prod-down clear-num *-commutative
pow-flip un-div-inv inv-pow
Counts
4 → 134
Calls
4 calls:
6.0ms
(/ 1 (+ y.re (* y.im (/ y.im y.re))))
9.0ms
(* x.re (/ y.im (+ (* y.re y.re) (* y.im y.im))))
8.0ms
(* x.im (/ 1 (+ y.re (* y.im (/ y.im y.re)))))
5.0ms
(/ y.im (+ (* y.re y.re) (* y.im y.im)))

series38.0ms

Counts
4 → 12
Calls
4 calls:
5.0ms
(/ 1 (+ y.re (* y.im (/ y.im y.re))))
14.0ms
(* x.re (/ y.im (+ (* y.re y.re) (* y.im y.im))))
11.0ms
(* x.im (/ 1 (+ y.re (* y.im (/ y.im y.re)))))
7.0ms
(/ y.im (+ (* y.re y.re) (* y.im y.im)))

simplify54.0ms

Algorithm
egg-herbie
Counts
146 → 146
Iterations

Useful iterations: 0 (43.0ms)

IterNodesCost
049641692
149641692

prune147.0ms

Filtered
102 candidates to 146 candidates (-43.1%)
Pruning

15 alts after pruning (15 fresh and 0 done)

PrunedKeptTotal
New1415146
Fresh11011
Picked101
Done000
Total14315158

Merged error: 10.0b

Counts
158 → 15

regimes412.0ms

Accuracy

0% (2.3b remaining)

Error of 14.2b against oracle of 11.9b and baseline of 14.2b

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
09821
19821

end0.0ms

sample618.0ms

Algorithm
intervals
Results
374.0ms8000×body80valid
22.0ms495×body80invalid

Profiling

Loading profile data...