Details

Time bar (total: 2.5s)

sample27.0ms

Algorithm
intervals
Results
11.0ms266×body80valid

simplify3.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
01515
11515

prune7.0ms

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

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

simplify46.0ms

Algorithm
egg-herbie
Counts
62 → 62
Iterations

Useful iterations: 0 (39.0ms)

IterNodesCost
05334951

prune106.0ms

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

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New55762
Fresh000
Picked011
Done000
Total55863

Merged error: 28.0b

Counts
63 → 8

localize13.0ms

Local error

Found 4 expressions with local error:

1.5b
(+ (* x.re y.re) (* x.im y.im))
17.9b
(/ (+ (* x.re y.re) (* x.im y.im)) (sqrt (+ (* y.re y.re) (* y.im y.im))))
31.3b
(sqrt (+ (* y.re y.re) (* y.im y.im)))
31.3b
(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:
4.0ms
(+ (* x.re y.re) (* x.im y.im))
10.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)))

series55.0ms

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

simplify60.0ms

Algorithm
egg-herbie
Counts
96 → 96
Iterations

Useful iterations: 0 (47.0ms)

IterNodesCost
055031525

prune148.0ms

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

11 alts after pruning (9 fresh and 2 done)

PrunedKeptTotal
New92496
Fresh156
Picked011
Done011
Total9311104

Merged error: 25.9b

Counts
104 → 11

localize20.0ms

Local error

Found 4 expressions with local error:

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

series60.0ms

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

simplify65.0ms

Algorithm
egg-herbie
Counts
149 → 149
Iterations

Useful iterations: 0 (49.0ms)

IterNodesCost
049913201
149913201

prune150.0ms

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

10 alts after pruning (8 fresh and 2 done)

PrunedKeptTotal
New1472149
Fresh268
Picked011
Done112
Total15010160

Merged error: 25.9b

Counts
160 → 10

localize15.0ms

Local error

Found 4 expressions with local error:

1.5b
(+ (* x.re y.re) (* x.im y.im))
18.0b
(/ (sqrt (+ (* y.re y.re) (* y.im y.im))) (+ (* x.re y.re) (* x.im y.im)))
31.3b
(sqrt (+ (* y.re y.re) (* y.im y.im)))
31.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 add-cbrt-cube associate-/l* add-log-exp
flip3-+ flip-+
associate-/r*
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
(/ (sqrt (+ (* y.re y.re) (* y.im y.im))) (+ (* x.re y.re) (* x.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)))

series44.0ms

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

simplify56.0ms

Algorithm
egg-herbie
Counts
96 → 96
Iterations

Useful iterations: 0 (45.0ms)

IterNodesCost
050341540

prune90.0ms

Filtered
75 candidates to 96 candidates (-28.0%)
Pruning

10 alts after pruning (7 fresh and 3 done)

PrunedKeptTotal
New96096
Fresh077
Picked011
Done022
Total9610106

Merged error: 25.9b

Counts
106 → 10

regimes626.0ms

Accuracy

23.1% (2.3b remaining)

Error of 26.4b against oracle of 24.1b and baseline of 27.1b

bsearch1.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
03956
13956

end0.0ms

sample743.0ms

Algorithm
intervals
Results
368.0ms8473×body80valid

Profiling

Loading profile data...