Details

Time bar (total: 3.0s)

analyze515.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

sample22.0ms

Algorithm
intervals
Results
11.0ms256×body80valid
1.0ms16×body80invalid

simplify3.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
03715
13715

prune3.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 33.1b

Counts
2 → 1

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

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

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

simplify42.0ms

Algorithm
egg-herbie
Counts
63 → 63
Iterations

Useful iterations: 0 (35.0ms)

IterNodesCost
04998977
14998977

prune88.0ms

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

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New57663
Fresh000
Picked101
Done000
Total58664

Merged error: 28.6b

Counts
64 → 6

localize11.0ms

Local error

Found 4 expressions with local error:

2.3b
(* x.re (/ y.im (+ (* y.re y.re) (* y.im y.im))))
4.3b
(* x.im (/ y.re (+ (* y.re y.re) (* y.im y.im))))
21.7b
(/ y.re (+ (* y.re y.re) (* y.im y.im)))
21.9b
(/ y.im (+ (* y.re y.re) (* y.im y.im)))

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

series47.0ms

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

simplify47.0ms

Algorithm
egg-herbie
Counts
138 → 138
Iterations

Useful iterations: 0 (36.0ms)

IterNodesCost
049991682
149991682

prune163.0ms

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

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New1326138
Fresh145
Picked101
Done000
Total13410144

Merged error: 28.6b

Counts
144 → 10

localize13.0ms

Local error

Found 4 expressions with local error:

2.3b
(* x.re (/ y.im (+ (* y.re y.re) (* y.im y.im))))
21.9b
(/ y.im (+ (* y.re y.re) (* y.im y.im)))
35.3b
(sqrt (+ (* y.re y.re) (* y.im y.im)))
35.3b
(sqrt (+ (* y.re y.re) (* y.im y.im)))

rewrite22.0ms

Algorithm
rewrite-expression-head
Rules
29×add-sqr-sqrt
22×add-cube-cbrt *-un-lft-identity
19×times-frac
15×associate-*r*
11×add-exp-log add-cbrt-cube
pow1
sqrt-prod
flip3-+ sqrt-div associate-/r/ flip-+ add-log-exp
associate-*l* associate-/r* associate-/l*
cbrt-undiv rem-sqrt-square sqrt-pow1 pow1/2 div-exp prod-exp cbrt-unprod div-inv unswap-sqr
frac-2neg associate-*r/ pow-prod-down clear-num *-commutative
Counts
4 → 93
Calls
4 calls:
8.0ms
(* x.re (/ y.im (+ (* y.re y.re) (* y.im y.im))))
5.0ms
(/ y.im (+ (* 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)))

series36.0ms

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

simplify55.0ms

Algorithm
egg-herbie
Counts
105 → 105
Iterations

Useful iterations: 0 (47.0ms)

IterNodesCost
049891169
149891169

prune128.0ms

Filtered
84 candidates to 105 candidates (-25.0%)
Pruning

10 alts after pruning (9 fresh and 1 done)

PrunedKeptTotal
New1050105
Fresh099
Picked011
Done000
Total10510115

Merged error: 28.6b

Counts
115 → 10

localize15.0ms

Local error

Found 4 expressions with local error:

21.7b
(/ y.re (+ (* y.re y.re) (* y.im y.im)))
21.9b
(/ y.im (+ (* y.re y.re) (* y.im y.im)))
21.9b
(/ y.im (+ (* y.re y.re) (* y.im y.im)))
21.9b
(/ y.im (+ (* y.re y.re) (* y.im y.im)))

rewrite25.0ms

Algorithm
rewrite-expression-head
Rules
36×add-sqr-sqrt add-cube-cbrt *-un-lft-identity times-frac
12×add-exp-log associate-/r* add-cbrt-cube associate-/l*
associate-/r/
pow1 cbrt-undiv frac-2neg flip3-+ div-exp clear-num flip-+ div-inv add-log-exp
Counts
4 → 116
Calls
4 calls:
7.0ms
(/ y.re (+ (* y.re y.re) (* y.im y.im)))
5.0ms
(/ y.im (+ (* y.re y.re) (* y.im y.im)))
5.0ms
(/ y.im (+ (* y.re y.re) (* y.im y.im)))
5.0ms
(/ y.im (+ (* y.re y.re) (* y.im y.im)))

series28.0ms

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

simplify90.0ms

Algorithm
egg-herbie
Counts
128 → 128
Iterations

Useful iterations: 0 (79.0ms)

IterNodesCost
048941636
148941636

prune115.0ms

Filtered
100 candidates to 128 candidates (-28.0%)
Pruning

10 alts after pruning (8 fresh and 2 done)

PrunedKeptTotal
New1280128
Fresh088
Picked011
Done011
Total12810138

Merged error: 28.6b

Counts
138 → 10

regimes321.0ms

Accuracy

0% (1.1b remaining)

Error of 23.5b against oracle of 22.4b and baseline of 23.5b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01733
11733

end0.0ms

analyze517.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

sample572.0ms

Algorithm
intervals
Results
355.0ms8000×body80valid
20.0ms479×body80invalid

Profiling

Loading profile data...