Details

Time bar (total: 3.0s)

sample22.0ms

Algorithm
intervals
Results
11.0ms264×body80valid

simplify4.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0157
1157

prune2.0ms

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 28.8b

Counts
2 → 1

localize10.0ms

Local error

Found 3 expressions with local error:

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

series144.0ms

Counts
3 → 9
Calls
3 calls:
31.0ms
(+ (* y.re y.re) (* y.im y.im))
30.0ms
(+ (* x.re y.re) (* x.im y.im))
83.0ms
(/ (+ (* x.re y.re) (* x.im y.im)) (+ (* y.re y.re) (* y.im y.im)))

simplify129.0ms

Algorithm
egg-herbie
Counts
62 → 62
Iterations

Useful iterations: 2 (30.0ms)

IterNodesCost
0272527
11164479
24451477
35003477

prune160.0ms

Filtered
62 candidates to 49 candidates (79.0%)
Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New54862
Fresh000
Picked011
Done000
Total54963

Merged error: 28.0b

Counts
63 → 9

localize12.0ms

Local error

Found 4 expressions with local error:

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

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

series205.0ms

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

simplify84.0ms

Algorithm
egg-herbie
Counts
96 → 96
Iterations

Useful iterations: 2 (23.0ms)

IterNodesCost
0273893
1868840
22693828
35001828

prune241.0ms

Filtered
96 candidates to 74 candidates (77.1%)
Pruning

11 alts after pruning (10 fresh and 1 done)

PrunedKeptTotal
New91596
Fresh257
Picked101
Done011
Total9411105

Merged error: 25.3b

Counts
105 → 11

localize11.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (* y.re y.re) (* y.im y.im))
0.6b
(/ 1 (/ (+ (* y.re y.re) (* y.im y.im)) (+ (* x.re y.re) (* x.im y.im))))
0.7b
(+ (* x.re y.re) (* x.im y.im))
27.9b
(/ (+ (* 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))
9.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)))

series252.0ms

Counts
4 → 12
Calls
4 calls:
27.0ms
(+ (* y.re y.re) (* y.im y.im))
139.0ms
(/ 1 (/ (+ (* y.re y.re) (* y.im y.im)) (+ (* x.re y.re) (* x.im y.im))))
30.0ms
(+ (* x.re y.re) (* x.im y.im))
56.0ms
(/ (+ (* y.re y.re) (* y.im y.im)) (+ (* x.re y.re) (* x.im y.im)))

simplify70.0ms

Algorithm
egg-herbie
Counts
149 → 149
Iterations

Useful iterations: 2 (53.0ms)

IterNodesCost
05181821
126321656
250011569

prune249.0ms

Filtered
149 candidates to 86 candidates (57.7%)
Pruning

11 alts after pruning (9 fresh and 2 done)

PrunedKeptTotal
New1481149
Fresh189
Picked011
Done011
Total14911160

Merged error: 25.3b

Counts
160 → 11

localize13.0ms

Local error

Found 4 expressions with local error:

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

rewrite23.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)))

series217.0ms

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

simplify85.0ms

Algorithm
egg-herbie
Counts
96 → 96
Iterations

Useful iterations: 2 (25.0ms)

IterNodesCost
0273893
1868840
22693828
35001828

prune228.0ms

Filtered
96 candidates to 74 candidates (77.1%)
Pruning

12 alts after pruning (9 fresh and 3 done)

PrunedKeptTotal
New94296
Fresh178
Picked011
Done022
Total9512107

Merged error: 25.3b

Counts
107 → 12

regimes220.0ms

Accuracy

2.4% (2.9b remaining)

Error of 26.6b against oracle of 23.6b and baseline of 26.6b

bsearch2.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02019
12019

end0.0ms

sample577.0ms

Algorithm
intervals
Results
366.0ms8443×body80valid