Details

Time bar (total: 3.1s)

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

sample21.0ms

Algorithm
intervals
Results
11.0ms256×body80valid
1.0ms19×body80invalid

simplify3.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
01515
11515

prune3.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 31.3b

Counts
2 → 1

localize11.0ms

Local error

Found 2 expressions with local error:

0.7b
(+ (* x.re y.re) (* x.im y.im))
30.7b
(/ (+ (* x.re y.re) (* x.im y.im)) (+ (* y.re y.re) (* y.im y.im)))

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

series35.0ms

Counts
2 → 6
Calls
2 calls:
9.0ms
(+ (* x.re y.re) (* x.im y.im))
26.0ms
(/ (+ (* x.re y.re) (* x.im y.im)) (+ (* y.re y.re) (* y.im y.im)))

simplify57.0ms

Algorithm
egg-herbie
Counts
48 → 48
Iterations

Useful iterations: 0 (52.0ms)

IterNodesCost
05273820

prune80.0ms

Filtered
38 candidates to 48 candidates (-26.3%)
Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New42648
Fresh000
Picked011
Done000
Total42749

Merged error: 30.5b

Counts
49 → 7

localize11.0ms

Local error

Found 4 expressions with local error:

0.7b
(+ (* x.re y.re) (* x.im y.im))
18.2b
(/ (+ (* x.re y.re) (* x.im y.im)) (sqrt (+ (* y.re y.re) (* y.im y.im))))
32.2b
(sqrt (+ (* y.re y.re) (* y.im y.im)))
32.2b
(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 sqrt-pow1 pow1/2 associate-/r/ associate-/l/
cbrt-undiv +-commutative frac-2neg div-exp clear-num sum-log div-inv
Counts
4 → 84
Calls
4 calls:
3.0ms
(+ (* x.re y.re) (* x.im y.im))
8.0ms
(/ (+ (* x.re y.re) (* x.im 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)))

series56.0ms

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

simplify35.0ms

Algorithm
egg-herbie
Counts
96 → 96
Iterations

Useful iterations: 0 (26.0ms)

IterNodesCost
050441525

prune121.0ms

Filtered
76 candidates to 96 candidates (-26.3%)
Pruning

10 alts after pruning (8 fresh and 2 done)

PrunedKeptTotal
New93396
Fresh055
Picked011
Done011
Total9310103

Merged error: 28.2b

Counts
103 → 10

localize13.0ms

Local error

Found 4 expressions with local error:

0.7b
(+ (* x.re y.re) (* x.im y.im))
18.2b
(/ (+ (* x.re y.re) (* x.im y.im)) (sqrt (+ (* y.re y.re) (* y.im y.im))))
32.2b
(sqrt (+ (* y.re y.re) (* y.im y.im)))
32.2b
(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 sqrt-pow1 pow1/2 associate-/r/ associate-/l/
cbrt-undiv +-commutative frac-2neg div-exp clear-num sum-log div-inv
Counts
4 → 84
Calls
4 calls:
3.0ms
(+ (* x.re y.re) (* x.im y.im))
8.0ms
(/ (+ (* x.re y.re) (* x.im 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)))

series56.0ms

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

simplify36.0ms

Algorithm
egg-herbie
Counts
96 → 96
Iterations

Useful iterations: 0 (27.0ms)

IterNodesCost
050441525

prune125.0ms

Filtered
76 candidates to 96 candidates (-26.3%)
Pruning

12 alts after pruning (9 fresh and 3 done)

PrunedKeptTotal
New94296
Fresh077
Picked011
Done022
Total9412106

Merged error: 28.2b

Counts
106 → 12

localize12.0ms

Local error

Found 4 expressions with local error:

0.2b
(pow (/ (+ (* x.re y.re) (* x.im y.im)) (+ (* y.re y.re) (* y.im y.im))) 3)
0.7b
(+ (* x.re y.re) (* x.im y.im))
30.7b
(/ (+ (* x.re y.re) (* x.im y.im)) (+ (* y.re y.re) (* y.im y.im)))
32.6b
(cbrt (pow (/ (+ (* x.re y.re) (* x.im y.im)) (+ (* y.re y.re) (* y.im y.im))) 3))

rewrite32.0ms

Algorithm
rewrite-expression-head
Rules
45×times-frac
42×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
36×cbrt-prod
30×unpow-prod-down cube-prod
10×associate-/r/
add-exp-log add-cbrt-cube
flip3-+ flip-+
add-log-exp
pow1 div-inv
pow-unpow associate-/r* associate-/l*
cbrt-undiv cube-div cube-mult unpow3 div-exp pow-exp associate-/l/ rem-cube-cbrt sqr-pow
+-commutative pow-to-exp cbrt-div pow-pow frac-2neg pow1/3 clear-num sum-log rem-cbrt-cube
Counts
4 → 138
Calls
4 calls:
8.0ms
(pow (/ (+ (* x.re y.re) (* x.im y.im)) (+ (* y.re y.re) (* y.im y.im))) 3)
4.0ms
(+ (* x.re y.re) (* x.im y.im))
8.0ms
(/ (+ (* x.re y.re) (* x.im y.im)) (+ (* y.re y.re) (* y.im y.im)))
8.0ms
(cbrt (pow (/ (+ (* x.re y.re) (* x.im y.im)) (+ (* y.re y.re) (* y.im y.im))) 3))

series163.0ms

Counts
4 → 12
Calls
4 calls:
99.0ms
(pow (/ (+ (* x.re y.re) (* x.im y.im)) (+ (* y.re y.re) (* y.im y.im))) 3)
9.0ms
(+ (* x.re y.re) (* x.im y.im))
26.0ms
(/ (+ (* x.re y.re) (* x.im y.im)) (+ (* y.re y.re) (* y.im y.im)))
28.0ms
(cbrt (pow (/ (+ (* x.re y.re) (* x.im y.im)) (+ (* y.re y.re) (* y.im y.im))) 3))

simplify40.0ms

Algorithm
egg-herbie
Counts
150 → 150
Iterations

Useful iterations: 0 (22.0ms)

IterNodesCost
049833125
149833125

prune123.0ms

Filtered
79 candidates to 150 candidates (-89.9%)
Pruning

12 alts after pruning (8 fresh and 4 done)

PrunedKeptTotal
New1500150
Fresh088
Picked011
Done033
Total15012162

Merged error: 28.2b

Counts
162 → 12

regimes472.0ms

Accuracy

4.6% (3.1b remaining)

Error of 26.4b against oracle of 23.3b and baseline of 26.5b

bsearch1.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02253
12253

end0.0ms

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

sample567.0ms

Algorithm
intervals
Results
346.0ms8000×body80valid
19.0ms459×body80invalid

Profiling

Loading profile data...