Details

Time bar (total: 2.8s)

sample22.0ms

Algorithm
intervals
Results
11.0ms267×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: 26.5b

Counts
2 → 1

localize9.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ (* y.re y.re) (* y.im y.im))
1.0b
(+ (* x.re y.re) (* x.im y.im))
26.1b
(/ (+ (* 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)))

series139.0ms

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

simplify131.0ms

Algorithm
egg-herbie
Counts
62 → 62
Iterations

Useful iterations: 2 (28.0ms)

IterNodesCost
0272527
11164479
24437477
35002477

prune169.0ms

Filtered
62 candidates to 49 candidates (79.0%)
Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New55762
Fresh000
Picked011
Done000
Total55863

Merged error: 25.8b

Counts
63 → 8

localize12.0ms

Local error

Found 4 expressions with local error:

1.0b
(+ (* x.re y.re) (* x.im y.im))
14.3b
(/ (+ (* x.re y.re) (* x.im y.im)) (sqrt (+ (* y.re y.re) (* y.im y.im))))
29.3b
(sqrt (+ (* y.re y.re) (* y.im y.im)))
29.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:
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))))
3.0ms
(sqrt (+ (* y.re y.re) (* y.im y.im)))
4.0ms
(sqrt (+ (* y.re y.re) (* y.im y.im)))

series212.0ms

Counts
4 → 12
Calls
4 calls:
30.0ms
(+ (* x.re y.re) (* x.im y.im))
106.0ms
(/ (+ (* x.re y.re) (* x.im y.im)) (sqrt (+ (* y.re y.re) (* y.im y.im))))
39.0ms
(sqrt (+ (* y.re y.re) (* y.im y.im)))
36.0ms
(sqrt (+ (* y.re y.re) (* y.im y.im)))

simplify91.0ms

Algorithm
egg-herbie
Counts
96 → 96
Iterations

Useful iterations: 2 (23.0ms)

IterNodesCost
0273895
1868840
22679828
35002828

prune233.0ms

Filtered
96 candidates to 74 candidates (77.1%)
Pruning

11 alts after pruning (9 fresh and 2 done)

PrunedKeptTotal
New92496
Fresh156
Picked011
Done011
Total9311104

Merged error: 23.3b

Counts
104 → 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))))
1.0b
(+ (* x.re y.re) (* x.im y.im))
25.8b
(/ (+ (* y.re y.re) (* y.im y.im)) (+ (* x.re y.re) (* x.im y.im)))

rewrite32.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))
12.0ms
(/ 1 (/ (+ (* y.re y.re) (* y.im y.im)) (+ (* x.re y.re) (* x.im y.im))))
3.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)))

series253.0ms

Counts
4 → 12
Calls
4 calls:
31.0ms
(+ (* y.re y.re) (* y.im y.im))
137.0ms
(/ 1 (/ (+ (* y.re y.re) (* y.im y.im)) (+ (* x.re y.re) (* x.im y.im))))
33.0ms
(+ (* x.re y.re) (* x.im y.im))
52.0ms
(/ (+ (* y.re y.re) (* y.im y.im)) (+ (* x.re y.re) (* x.im y.im)))

simplify72.0ms

Algorithm
egg-herbie
Counts
149 → 149
Iterations

Useful iterations: 2 (55.0ms)

IterNodesCost
05181819
126321654
250011567

prune252.0ms

Filtered
149 candidates to 86 candidates (57.7%)
Pruning

10 alts after pruning (8 fresh and 2 done)

PrunedKeptTotal
New1481149
Fresh178
Picked011
Done112
Total15010160

Merged error: 23.3b

Counts
160 → 10

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

rewrite27.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))
5.0ms
(/ 1 (+ (* y.re y.re) (* y.im y.im)))
3.0ms
(+ (* x.re y.re) (* x.im y.im))
12.0ms
(* (+ (* x.re y.re) (* x.im y.im)) (/ 1 (+ (* y.re y.re) (* y.im y.im))))

series183.0ms

Counts
4 → 12
Calls
4 calls:
27.0ms
(+ (* y.re y.re) (* y.im y.im))
42.0ms
(/ 1 (+ (* y.re y.re) (* y.im y.im)))
31.0ms
(+ (* x.re y.re) (* x.im y.im))
83.0ms
(* (+ (* x.re y.re) (* x.im y.im)) (/ 1 (+ (* y.re y.re) (* y.im y.im))))

simplify55.0ms

Algorithm
egg-herbie
Counts
109 → 109
Iterations

Useful iterations: 2 (46.0ms)

IterNodesCost
0393851
12037747
25003718

prune186.0ms

Filtered
109 candidates to 68 candidates (62.4%)
Pruning

10 alts after pruning (7 fresh and 3 done)

PrunedKeptTotal
New1081109
Fresh167
Picked011
Done022
Total10910119

Merged error: 23.3b

Counts
119 → 10

regimes148.0ms

Accuracy

0% (2.9b remaining)

Error of 25.7b against oracle of 22.8b and baseline of 25.7b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01713
11713

end0.0ms

sample553.0ms

Algorithm
intervals
Results
351.0ms8463×body80valid

Profiling

Loading profile data...