Details

Time bar (total: 2.8s)

analyze514.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.0ms14×body80invalid

simplify69.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (67.0ms)

IterNodesCost
0497715
1497715

prune6.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 24.9b

Counts
2 → 1

localize10.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ (* y.re y.re) (* y.im y.im))
0.3b
(+ (* x.re y.re) (* x.im y.im))
24.7b
(/ (+ (* x.re y.re) (* x.im 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
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))
9.0ms
(+ (* x.re y.re) (* x.im y.im))
25.0ms
(/ (+ (* x.re y.re) (* x.im y.im)) (+ (* y.re y.re) (* y.im y.im)))

simplify33.0ms

Algorithm
egg-herbie
Counts
62 → 62
Iterations

Useful iterations: 0 (27.0ms)

IterNodesCost
04969951
14969951

prune112.0ms

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

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New56662
Fresh000
Picked011
Done000
Total56763

Merged error: 24.3b

Counts
63 → 7

localize14.0ms

Local error

Found 4 expressions with local error:

0.3b
(+ (* x.re y.re) (* x.im y.im))
16.8b
(/ (+ (* x.re y.re) (* x.im y.im)) (sqrt (+ (* y.re y.re) (* y.im y.im))))
26.8b
(sqrt (+ (* y.re y.re) (* y.im y.im)))
26.8b
(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)))

series54.0ms

Counts
4 → 12
Calls
4 calls:
9.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)))

simplify60.0ms

Algorithm
egg-herbie
Counts
96 → 96
Iterations

Useful iterations: 0 (48.0ms)

IterNodesCost
049561525
149561525

prune143.0ms

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

11 alts after pruning (9 fresh and 2 done)

PrunedKeptTotal
New91596
Fresh145
Picked011
Done011
Total9211103

Merged error: 22.4b

Counts
103 → 11

localize13.0ms

Local error

Found 4 expressions with local error:

0.3b
(+ (* y.re x.re) (* y.im x.im))
16.8b
(/ (sqrt (+ (* y.re y.re) (* y.im y.im))) (+ (* y.re x.re) (* y.im x.im)))
26.8b
(sqrt (+ (* y.re y.re) (* y.im y.im)))
26.8b
(sqrt (+ (* y.re y.re) (* y.im y.im)))

rewrite24.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:
6.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)))

series42.0ms

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

simplify46.0ms

Algorithm
egg-herbie
Counts
96 → 96
Iterations

Useful iterations: 0 (37.0ms)

IterNodesCost
049631540
149631540

prune137.0ms

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

11 alts after pruning (8 fresh and 3 done)

PrunedKeptTotal
New96096
Fresh088
Picked011
Done022
Total9611107

Merged error: 22.4b

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
(+ (* x.re y.re) (* x.im y.im))
0.6b
(/ 1 (+ (* y.re y.re) (* y.im y.im)))
24.5b
(* (+ (* x.re y.re) (* x.im 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
flip3-+ flip-+
div-exp prod-exp associate-/r/
associate-*l* associate-/r* associate-/l* unswap-sqr
cbrt-undiv +-commutative frac-times rec-exp 1-exp associate-*l/ sum-log cbrt-unprod div-inv
pow-flip frac-2neg associate-*r/ pow-prod-down clear-num un-div-inv *-commutative inv-pow
Counts
4 → 97
Calls
4 calls:
4.0ms
(+ (* y.re y.re) (* y.im y.im))
3.0ms
(+ (* x.re y.re) (* x.im y.im))
5.0ms
(/ 1 (+ (* y.re y.re) (* y.im y.im)))
12.0ms
(* (+ (* x.re y.re) (* x.im y.im)) (/ 1 (+ (* y.re y.re) (* y.im y.im))))

series46.0ms

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

simplify65.0ms

Algorithm
egg-herbie
Counts
109 → 109
Iterations

Useful iterations: 0 (56.0ms)

IterNodesCost
049711453
149711453

prune102.0ms

Filtered
70 candidates to 109 candidates (-55.7%)
Pruning

11 alts after pruning (7 fresh and 4 done)

PrunedKeptTotal
New1090109
Fresh077
Picked011
Done033
Total10911120

Merged error: 22.4b

Counts
120 → 11

regimes492.0ms

Accuracy

0% (2.6b remaining)

Error of 26.0b against oracle of 23.4b and baseline of 26.0b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
04925
14925

end0.0ms

sample635.0ms

Algorithm
intervals
Results
380.0ms8000×body80valid
22.0ms499×body80invalid

Profiling

Loading profile data...