Details

Time bar (total: 4.4s)

sample38.0ms

Algorithm
intervals
Results
27.0ms270×body80valid

simplify4.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0157
1157

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 28.1b

localize9.0ms

Local error

Found 2 expressions with local error:

0.7b
(+ (* x.re y.re) (* x.im y.im))
27.6b
(/ (+ (* x.re y.re) (* x.im y.im)) (+ (* y.re y.re) (* y.im y.im)))

rewrite15.0ms

Algorithm
rewrite-expression-head
Rules
10×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
times-frac
add-exp-log add-cbrt-cube add-log-exp
flip3-+ associate-/r* flip-+ associate-/l*
pow1 associate-/r/ associate-/l/
cbrt-undiv +-commutative frac-2neg div-exp clear-num sum-log div-inv
Counts
2 → 42
Calls
2 calls:
2.0ms
(+ (* x.re y.re) (* x.im y.im))
11.0ms
(/ (+ (* x.re y.re) (* x.im y.im)) (+ (* y.re y.re) (* y.im y.im)))

series111.0ms

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

simplify82.0ms

Algorithm
egg-herbie
Counts
48 → 48
Iterations

Useful iterations: 2 (22.0ms)

IterNodesCost
0231450
1847413
22851412
35003412

prune126.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 27.4b

localize12.0ms

Local error

Found 4 expressions with local error:

0.7b
(+ (* x.re y.re) (* x.im y.im))
15.9b
(/ (+ (* x.re y.re) (* x.im y.im)) (sqrt (+ (* y.re y.re) (* y.im y.im))))
33.4b
(sqrt (+ (* y.re y.re) (* y.im y.im)))
33.4b
(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 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:
2.0ms
(+ (* x.re y.re) (* x.im y.im))
12.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)))

series251.0ms

Counts
4 → 12
Calls
4 calls:
50.0ms
(+ (* x.re y.re) (* x.im y.im))
127.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)))

simplify119.0ms

Algorithm
egg-herbie
Counts
96 → 96
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
0273893
1868840
22693828
35001828

prune322.0ms

Pruning

8 alts after pruning (6 fresh and 2 done)

Merged error: 25.9b

localize14.0ms

Local error

Found 4 expressions with local error:

9.7b
(cbrt (/ (+ (* x.re y.re) (* x.im y.im)) (+ (* y.re y.re) (* y.im y.im))))
27.6b
(/ (+ (* x.re y.re) (* x.im y.im)) (+ (* y.re y.re) (* y.im y.im)))
27.6b
(/ (+ (* x.re y.re) (* x.im y.im)) (+ (* y.re y.re) (* y.im y.im)))
27.6b
(/ (+ (* x.re y.re) (* x.im y.im)) (+ (* y.re y.re) (* y.im y.im)))

rewrite40.0ms

Algorithm
rewrite-expression-head
Rules
36×times-frac
35×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
15×cbrt-prod
10×add-exp-log add-cbrt-cube
associate-/r* associate-/l*
associate-/r/
flip3-+ flip-+
associate-/l/
pow1 div-inv add-log-exp
cbrt-undiv frac-2neg div-exp clear-num
cbrt-div pow1/3
Counts
4 → 117
Calls
4 calls:
4.0ms
(cbrt (/ (+ (* x.re y.re) (* x.im y.im)) (+ (* y.re y.re) (* y.im y.im))))
11.0ms
(/ (+ (* x.re y.re) (* x.im y.im)) (+ (* y.re y.re) (* y.im y.im)))
11.0ms
(/ (+ (* x.re y.re) (* x.im y.im)) (+ (* y.re y.re) (* y.im y.im)))
11.0ms
(/ (+ (* x.re y.re) (* x.im y.im)) (+ (* y.re y.re) (* y.im y.im)))

series434.0ms

Counts
4 → 12
Calls
4 calls:
188.0ms
(cbrt (/ (+ (* x.re y.re) (* x.im y.im)) (+ (* y.re y.re) (* y.im y.im))))
83.0ms
(/ (+ (* x.re y.re) (* x.im y.im)) (+ (* y.re y.re) (* y.im y.im)))
83.0ms
(/ (+ (* x.re y.re) (* x.im y.im)) (+ (* y.re y.re) (* y.im y.im)))
81.0ms
(/ (+ (* x.re y.re) (* x.im y.im)) (+ (* y.re y.re) (* y.im y.im)))

simplify135.0ms

Algorithm
egg-herbie
Counts
129 → 129
Iterations

Useful iterations: 3 (122.0ms)

IterNodesCost
03531546
112211439
244801430
350021425

prune439.0ms

Pruning

8 alts after pruning (5 fresh and 3 done)

Merged error: 25.9b

localize14.0ms

Local error

Found 4 expressions with local error:

23.1b
(/ (+ (* x.re y.re) (* x.im y.im)) (* (cbrt (+ (* y.re y.re) (* y.im y.im))) (cbrt (+ (* y.re y.re) (* y.im y.im)))))
34.4b
(cbrt (+ (* y.re y.re) (* y.im y.im)))
34.4b
(cbrt (+ (* y.re y.re) (* y.im y.im)))
34.4b
(cbrt (+ (* y.re y.re) (* y.im y.im)))

rewrite24.0ms

Algorithm
rewrite-expression-head
Rules
18×cbrt-div
10×flip3-+ flip-+
add-exp-log cbrt-prod add-sqr-sqrt add-cube-cbrt *-un-lft-identity
associate-/r/
add-cbrt-cube
pow1 frac-times add-log-exp
times-frac pow1/3 associate-/l*
cbrt-undiv associate-*r/ div-exp associate-*l/ associate-/l/
frac-2neg prod-exp clear-num associate-/r* cbrt-unprod div-inv
Counts
4 → 70
Calls
4 calls:
15.0ms
(/ (+ (* x.re y.re) (* x.im y.im)) (* (cbrt (+ (* y.re y.re) (* y.im y.im))) (cbrt (+ (* y.re y.re) (* y.im y.im)))))
2.0ms
(cbrt (+ (* y.re y.re) (* y.im y.im)))
2.0ms
(cbrt (+ (* y.re y.re) (* y.im y.im)))
3.0ms
(cbrt (+ (* y.re y.re) (* y.im y.im)))

series571.0ms

Counts
4 → 12
Calls
4 calls:
285.0ms
(/ (+ (* x.re y.re) (* x.im y.im)) (* (cbrt (+ (* y.re y.re) (* y.im y.im))) (cbrt (+ (* y.re y.re) (* y.im y.im)))))
96.0ms
(cbrt (+ (* y.re y.re) (* y.im y.im)))
94.0ms
(cbrt (+ (* y.re y.re) (* y.im y.im)))
96.0ms
(cbrt (+ (* y.re y.re) (* y.im y.im)))

simplify105.0ms

Algorithm
egg-herbie
Counts
82 → 82
Iterations

Useful iterations: 3 (96.0ms)

IterNodesCost
0334927
11097846
23828835
35001832

prune282.0ms

Pruning

8 alts after pruning (4 fresh and 4 done)

Merged error: 25.9b

regimes161.0ms

Accuracy

0% (3.0b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01713
11713

end0.0ms

sample1.0s

Algorithm
intervals
Results
816.0ms8533×body80valid