Details

Time bar (total: 2.6s)

analyze531.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
11.0ms256×body80valid
0.0msbody80invalid

simplify3.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
01515
11515

prune3.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 23.5b

Counts
2 → 1

localize10.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ (* y.re y.re) (* y.im y.im))
0.5b
(+ (* x.re y.re) (* x.im y.im))
23.1b
(/ (+ (* x.re y.re) (* x.im y.im)) (+ (* y.re y.re) (* y.im y.im)))

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

series40.0ms

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

simplify44.0ms

Algorithm
egg-herbie
Counts
62 → 62
Iterations

Useful iterations: 0 (36.0ms)

IterNodesCost
05334951

prune115.0ms

Filtered
48 candidates to 62 candidates (-29.2%)
Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New521062
Fresh000
Picked101
Done000
Total531063

Merged error: 22.9b

Counts
63 → 10

localize12.0ms

Local error

Found 4 expressions with local error:

0.5b
(+ (* x.re y.re) (* x.im y.im))
12.6b
(/ (+ (* x.re y.re) (* x.im y.im)) (sqrt (+ (* y.re y.re) (* y.im y.im))))
24.9b
(sqrt (+ (* y.re y.re) (* y.im y.im)))
24.9b
(sqrt (+ (* y.re y.re) (* y.im y.im)))

rewrite22.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:
4.0ms
(+ (* x.re y.re) (* x.im y.im))
9.0ms
(/ (+ (* x.re y.re) (* x.im y.im)) (sqrt (+ (* y.re y.re) (* y.im y.im))))
4.0ms
(sqrt (+ (* y.re y.re) (* y.im y.im)))
4.0ms
(sqrt (+ (* y.re y.re) (* y.im y.im)))

series55.0ms

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

simplify52.0ms

Algorithm
egg-herbie
Counts
96 → 96
Iterations

Useful iterations: 0 (43.0ms)

IterNodesCost
055031525

prune140.0ms

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

11 alts after pruning (10 fresh and 1 done)

PrunedKeptTotal
New92496
Fresh369
Picked011
Done000
Total9511106

Merged error: 20.6b

Counts
106 → 11

localize14.0ms

Local error

Found 4 expressions with local error:

0.5b
(+ (* y.re x.re) (* y.im x.im))
12.7b
(/ (sqrt (+ (* y.re y.re) (* y.im y.im))) (+ (* y.re x.re) (* y.im x.im)))
24.9b
(sqrt (+ (* y.re y.re) (* y.im y.im)))
24.9b
(sqrt (+ (* y.re y.re) (* y.im y.im)))

rewrite22.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 add-cbrt-cube associate-/l* add-log-exp
flip3-+ flip-+
associate-/r*
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:
4.0ms
(+ (* y.re x.re) (* y.im x.im))
9.0ms
(/ (sqrt (+ (* y.re y.re) (* y.im y.im))) (+ (* y.re x.re) (* y.im x.im)))
4.0ms
(sqrt (+ (* y.re y.re) (* y.im y.im)))
4.0ms
(sqrt (+ (* y.re y.re) (* y.im y.im)))

series45.0ms

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

simplify52.0ms

Algorithm
egg-herbie
Counts
96 → 96
Iterations

Useful iterations: 0 (43.0ms)

IterNodesCost
050341540

prune155.0ms

Filtered
73 candidates to 96 candidates (-31.5%)
Pruning

11 alts after pruning (9 fresh and 2 done)

PrunedKeptTotal
New96096
Fresh099
Picked011
Done011
Total9611107

Merged error: 20.6b

Counts
107 → 11

localize11.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (* y.re y.re) (* y.im y.im))
0.3b
(/ 1 (/ (+ (* y.re y.re) (* y.im y.im)) (+ (* x.re y.re) (* x.im y.im))))
0.5b
(+ (* x.re y.re) (* x.im y.im))
23.0b
(/ (+ (* y.re y.re) (* y.im y.im)) (+ (* x.re y.re) (* x.im y.im)))

rewrite30.0ms

Algorithm
rewrite-expression-head
Rules
90×times-frac
56×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
18×associate-/r*
17×add-exp-log
11×associate-/r/ add-cbrt-cube
flip3-+ div-exp flip-+ add-log-exp
div-inv associate-/l*
pow1
cbrt-undiv
+-commutative rec-exp frac-2neg 1-exp clear-num sum-log associate-/l/
pow-flip inv-pow
Counts
4 → 137
Calls
4 calls:
4.0ms
(+ (* y.re y.re) (* y.im y.im))
10.0ms
(/ 1 (/ (+ (* y.re y.re) (* y.im y.im)) (+ (* x.re y.re) (* x.im y.im))))
4.0ms
(+ (* x.re y.re) (* x.im y.im))
8.0ms
(/ (+ (* y.re y.re) (* y.im y.im)) (+ (* x.re y.re) (* x.im y.im)))

series59.0ms

Counts
4 → 12
Calls
4 calls:
5.0ms
(+ (* y.re y.re) (* y.im y.im))
25.0ms
(/ 1 (/ (+ (* y.re y.re) (* y.im y.im)) (+ (* x.re y.re) (* x.im y.im))))
9.0ms
(+ (* x.re y.re) (* x.im y.im))
20.0ms
(/ (+ (* y.re y.re) (* y.im y.im)) (+ (* x.re y.re) (* x.im y.im)))

simplify65.0ms

Algorithm
egg-herbie
Counts
149 → 149
Iterations

Useful iterations: 0 (49.0ms)

IterNodesCost
049913201
149913201

prune121.0ms

Filtered
103 candidates to 149 candidates (-44.7%)
Pruning

11 alts after pruning (8 fresh and 3 done)

PrunedKeptTotal
New1490149
Fresh088
Picked011
Done022
Total14911160

Merged error: 20.6b

Counts
160 → 11

regimes354.0ms

Accuracy

0% (3.2b remaining)

Error of 25.8b against oracle of 22.7b and baseline of 25.8b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01725
11725

end0.0ms

sample575.0ms

Algorithm
intervals
Results
345.0ms8000×body80valid
22.0ms473×body80invalid

Profiling

Loading profile data...