Details

Time bar (total: 2.7s)

sample20.0ms

Algorithm
intervals
Results
10.0ms264×body80valid

simplify4.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0157
1157

prune5.0ms

Filtered
1 candidates to 0 candidates (100.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 27.6b

Counts
2 → 1

localize9.0ms

Local error

Found 2 expressions with local error:

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

rewrite48.0ms

Algorithm
rewrite-expression-head
Rules
195×*-un-lft-identity
80×distribute-lft-out
72×associate-*l*
56×times-frac
19×add-sqr-sqrt add-cube-cbrt
16×swap-sqr
associate-/r*
associate-/l*
add-exp-log add-cbrt-cube add-log-exp
flip3-+ flip-+
pow1 associate-/r/ associate-/l/
cbrt-undiv +-commutative frac-2neg div-exp clear-num sum-log div-inv
Counts
2 → 102
Calls
2 calls:
12.0ms
(+ (* x.re y.re) (* x.im y.im))
31.0ms
(/ (+ (* x.re y.re) (* x.im y.im)) (+ (* y.re y.re) (* y.im y.im)))

series117.0ms

Counts
2 → 6
Calls
2 calls:
35.0ms
(+ (* x.re y.re) (* x.im y.im))
82.0ms
(/ (+ (* x.re y.re) (* x.im y.im)) (+ (* y.re y.re) (* y.im y.im)))

simplify88.0ms

Algorithm
egg-herbie
Counts
108 → 108
Iterations

Useful iterations: 3 (77.0ms)

IterNodesCost
0231977
1831940
22778940
35001939

prune107.0ms

Filtered
108 candidates to 38 candidates (64.8%)
Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New1008108
Fresh000
Picked101
Done000
Total1018109

Merged error: 26.9b

Counts
109 → 8

localize13.0ms

Local error

Found 4 expressions with local error:

0.5b
(+ (* x.re y.re) (* x.im y.im))
17.4b
(/ (+ (* x.re y.re) (* x.im y.im)) (sqrt (+ (* y.re y.re) (* y.im y.im))))
27.1b
(sqrt (+ (* y.re y.re) (* y.im y.im)))
27.1b
(sqrt (+ (* y.re y.re) (* y.im y.im)))

rewrite90.0ms

Algorithm
rewrite-expression-head
Rules
258×*-un-lft-identity
102×distribute-lft-out
92×associate-*l*
80×sqrt-prod
77×times-frac
36×add-sqr-sqrt
34×add-cube-cbrt
20×swap-sqr
11×associate-/r*
associate-/l*
pow1 add-exp-log sqrt-div add-cbrt-cube add-log-exp
flip3-+ flip-+
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 → 166
Calls
4 calls:
13.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))))
20.0ms
(sqrt (+ (* y.re y.re) (* y.im y.im)))
15.0ms
(sqrt (+ (* y.re y.re) (* y.im y.im)))

series242.0ms

Counts
4 → 12
Calls
4 calls:
33.0ms
(+ (* x.re y.re) (* x.im y.im))
122.0ms
(/ (+ (* x.re y.re) (* x.im y.im)) (sqrt (+ (* y.re y.re) (* y.im y.im))))
40.0ms
(sqrt (+ (* y.re y.re) (* y.im y.im)))
47.0ms
(sqrt (+ (* y.re y.re) (* y.im y.im)))

simplify89.0ms

Algorithm
egg-herbie
Counts
178 → 178
Iterations

Useful iterations: 3 (71.0ms)

IterNodesCost
02701685
18371616
225661614
350021609

prune214.0ms

Filtered
178 candidates to 74 candidates (58.4%)
Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New1735178
Fresh437
Picked011
Done000
Total1779186

Merged error: 23.2b

Counts
186 → 9

localize9.0ms

Local error

Found 2 expressions with local error:

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

rewrite52.0ms

Algorithm
rewrite-expression-head
Rules
195×*-un-lft-identity
80×distribute-lft-out
72×associate-*l*
56×times-frac
19×add-sqr-sqrt add-cube-cbrt
16×swap-sqr
associate-/r*
associate-/l*
add-exp-log add-cbrt-cube add-log-exp
flip3-+ flip-+
pow1 associate-/r/ associate-/l/
cbrt-undiv +-commutative frac-2neg div-exp clear-num sum-log div-inv
Counts
2 → 102
Calls
2 calls:
12.0ms
(+ (* x.im y.im) (* x.re y.re))
34.0ms
(/ (+ (* x.im y.im) (* x.re y.re)) (+ (* y.re y.re) (* y.im y.im)))

series118.0ms

Counts
2 → 6
Calls
2 calls:
31.0ms
(+ (* x.im y.im) (* x.re y.re))
87.0ms
(/ (+ (* x.im y.im) (* x.re y.re)) (+ (* y.re y.re) (* y.im y.im)))

simplify96.0ms

Algorithm
egg-herbie
Counts
108 → 108
Iterations

Useful iterations: 3 (80.0ms)

IterNodesCost
0231977
1831940
22778940
35001939

prune96.0ms

Filtered
108 candidates to 37 candidates (65.7%)
Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New1062108
Fresh257
Picked101
Done011
Total1098117

Merged error: 23.2b

Counts
117 → 8

localize20.0ms

Local error

Found 4 expressions with local error:

27.1b
(sqrt (+ (* y.re y.re) (* y.im y.im)))
27.1b
(sqrt (+ (* y.re y.re) (* y.im y.im)))
27.1b
(sqrt (+ (* y.re y.re) (* y.im y.im)))
27.1b
(sqrt (+ (* y.re y.re) (* y.im y.im)))

rewrite67.0ms

Algorithm
rewrite-expression-head
Rules
56×*-un-lft-identity
32×sqrt-prod
20×distribute-lft-out
16×associate-*l*
12×add-sqr-sqrt
pow1 add-cube-cbrt sqrt-div swap-sqr
add-exp-log rem-sqrt-square sqrt-pow1 flip3-+ pow1/2 add-cbrt-cube flip-+ add-log-exp
Counts
4 → 80
Calls
4 calls:
18.0ms
(sqrt (+ (* y.re y.re) (* y.im y.im)))
15.0ms
(sqrt (+ (* y.re y.re) (* y.im y.im)))
16.0ms
(sqrt (+ (* y.re y.re) (* y.im y.im)))
15.0ms
(sqrt (+ (* y.re y.re) (* y.im y.im)))

series154.0ms

Counts
4 → 12
Calls
4 calls:
36.0ms
(sqrt (+ (* y.re y.re) (* y.im y.im)))
42.0ms
(sqrt (+ (* y.re y.re) (* y.im y.im)))
37.0ms
(sqrt (+ (* y.re y.re) (* y.im y.im)))
38.0ms
(sqrt (+ (* y.re y.re) (* y.im y.im)))

simplify138.0ms

Algorithm
egg-herbie
Counts
92 → 92
Iterations

Useful iterations: 1 (5.0ms)

IterNodesCost
086480
1202464
2465464
31174464
43616464
55001464

prune202.0ms

Filtered
92 candidates to 60 candidates (34.8%)
Pruning

8 alts after pruning (6 fresh and 2 done)

PrunedKeptTotal
New92092
Fresh066
Picked011
Done011
Total928100

Merged error: 23.2b

Counts
100 → 8

regimes138.0ms

Accuracy

2.2% (2.9b remaining)

Error of 26.4b against oracle of 23.5b and baseline of 26.5b

bsearch39.0ms

Steps
ItersRangePoint
8
3.52254630266601e+87
1.163506504696633e+91
1.0707482603066898e+91

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02118
12118

end0.0ms

sample537.0ms

Algorithm
intervals
Results
323.0ms8440×body80valid