Details

Time bar (total: 3.4s)

analyze500.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
1.0ms16×body80invalid

simplify3.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
01515
11515

prune4.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 29.2b

Counts
2 → 1

localize10.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ (* y.re y.re) (* y.im y.im))
0.4b
(+ (* x.re y.re) (* x.im y.im))
28.6b
(/ (+ (* 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:
3.0ms
(+ (* y.re y.re) (* y.im y.im))
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)))

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

simplify41.0ms

Algorithm
egg-herbie
Counts
62 → 62
Iterations

Useful iterations: 0 (33.0ms)

IterNodesCost
05321951

prune97.0ms

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

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New56662
Fresh000
Picked101
Done000
Total57663

Merged error: 28.3b

Counts
63 → 6

localize15.0ms

Local error

Found 4 expressions with local error:

0.4b
(+ (* x.re y.re) (* x.im y.im))
16.3b
(/ (+ (* x.re y.re) (* x.im y.im)) (sqrt (+ (* y.re y.re) (* y.im y.im))))
32.3b
(sqrt (+ (* y.re y.re) (* y.im y.im)))
32.3b
(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))
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)))
3.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))
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)))

simplify34.0ms

Algorithm
egg-herbie
Counts
96 → 96
Iterations

Useful iterations: 0 (25.0ms)

IterNodesCost
050441525

prune126.0ms

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

10 alts after pruning (9 fresh and 1 done)

PrunedKeptTotal
New92496
Fresh055
Picked011
Done000
Total9210102

Merged error: 26.1b

Counts
102 → 10

localize11.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (* y.re y.re) (* y.im y.im))
0.4b
(+ (* x.re y.re) (* x.im y.im))
0.6b
(/ 1 (/ (+ (* y.re y.re) (* y.im y.im)) (+ (* x.re y.re) (* x.im y.im))))
28.5b
(/ (+ (* y.re y.re) (* y.im y.im)) (+ (* x.re y.re) (* x.im y.im)))

rewrite28.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:
3.0ms
(+ (* y.re y.re) (* y.im y.im))
4.0ms
(+ (* x.re y.re) (* x.im y.im))
9.0ms
(/ 1 (/ (+ (* y.re y.re) (* y.im y.im)) (+ (* 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))
9.0ms
(+ (* x.re y.re) (* x.im y.im))
27.0ms
(/ 1 (/ (+ (* y.re y.re) (* y.im y.im)) (+ (* x.re y.re) (* x.im y.im))))
17.0ms
(/ (+ (* y.re y.re) (* y.im y.im)) (+ (* x.re y.re) (* x.im y.im)))

simplify56.0ms

Algorithm
egg-herbie
Counts
149 → 149
Iterations

Useful iterations: 0 (40.0ms)

IterNodesCost
049873201
149873201

prune154.0ms

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

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New1481149
Fresh178
Picked101
Done011
Total1509159

Merged error: 26.1b

Counts
159 → 9

localize15.0ms

Local error

Found 4 expressions with local error:

0.4b
(+ (* x.re y.re) (* x.im y.im))
0.8b
(/ 1 (+ (* y.re y.re) (* y.im y.im)))
1.4b
(/ 1 (+ (* x.re y.re) (* x.im y.im)))
27.7b
(/ (/ 1 (+ (* y.re y.re) (* y.im y.im))) (/ 1 (+ (* x.re y.re) (* x.im y.im))))

rewrite49.0ms

Algorithm
rewrite-expression-head
Rules
531×times-frac
244×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
69×associate-/r/
52×add-exp-log
36×div-exp
35×flip3-+ flip-+ div-inv
21×associate-/r* associate-/l*
20×add-cbrt-cube
10×cbrt-undiv rec-exp 1-exp
pow1 add-log-exp
frac-2neg clear-num
pow-flip inv-pow
+-commutative sum-log associate-/l/
Counts
4 → 364
Calls
4 calls:
3.0ms
(+ (* x.re y.re) (* x.im y.im))
5.0ms
(/ 1 (+ (* y.re y.re) (* y.im y.im)))
5.0ms
(/ 1 (+ (* x.re y.re) (* x.im y.im)))
16.0ms
(/ (/ 1 (+ (* y.re y.re) (* y.im y.im))) (/ 1 (+ (* x.re y.re) (* x.im y.im))))

series57.0ms

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

simplify135.0ms

Algorithm
egg-herbie
Counts
376 → 376
Iterations

Useful iterations: 0 (80.0ms)

IterNodesCost
0497410841
1497410841

prune335.0ms

Filtered
191 candidates to 376 candidates (-96.9%)
Pruning

9 alts after pruning (7 fresh and 2 done)

PrunedKeptTotal
New3760376
Fresh077
Picked011
Done011
Total3769385

Merged error: 26.1b

Counts
385 → 9

regimes439.0ms

Accuracy

15% (2.4b remaining)

Error of 25.7b against oracle of 23.3b and baseline of 26.1b

bsearch1.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02554
12554

end0.0ms

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

sample578.0ms

Algorithm
intervals
Results
353.0ms8000×body80valid
20.0ms470×body80invalid

Profiling

Loading profile data...