Details

Time bar (total: 2.1s)

sample27.0ms

Algorithm
intervals
Results
12.0ms274×body80valid

simplify9.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0197
1367
2487
3667
4727
5727

prune4.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: 21.7b

Counts
2 → 1

localize9.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ (* y.re y.re) (* y.im y.im))
0.3b
(- (* x.im y.re) (* x.re y.im))
21.3b
(/ (- (* x.im y.re) (* x.re y.im)) (+ (* y.re y.re) (* y.im y.im)))

rewrite18.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
pow1 associate-/r* associate-/l*
flip3-- flip3-+ associate-/r/ flip-- flip-+ associate-/l/
cbrt-undiv +-commutative sub-neg frac-2neg diff-log div-sub div-exp clear-num sum-log div-inv
Counts
3 → 55
Calls
3 calls:
7.0ms
(+ (* y.re y.re) (* y.im y.im))
3.0ms
(- (* x.im y.re) (* x.re y.im))
7.0ms
(/ (- (* x.im y.re) (* x.re 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))
10.0ms
(- (* x.im y.re) (* x.re y.im))
27.0ms
(/ (- (* x.im y.re) (* x.re y.im)) (+ (* y.re y.re) (* y.im y.im)))

simplify37.0ms

Algorithm
egg-herbie
Counts
64 → 64
Iterations

Useful iterations: 2 (31.0ms)

IterNodesCost
0292541
11273493
25001491

prune109.0ms

Filtered
64 candidates to 50 candidates (21.9%)
Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New55964
Fresh000
Picked101
Done000
Total56965

Merged error: 21.0b

Counts
65 → 9

localize11.0ms

Local error

Found 4 expressions with local error:

0.3b
(- (* x.im y.re) (* x.re y.im))
12.6b
(/ (- (* x.im y.re) (* x.re y.im)) (sqrt (+ (* y.re y.re) (* y.im y.im))))
26.0b
(sqrt (+ (* y.re y.re) (* y.im y.im)))
26.0b
(sqrt (+ (* y.re y.re) (* y.im y.im)))

rewrite20.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 flip3-- sqrt-pow1 pow1/2 associate-/r/ flip-- associate-/l/
cbrt-undiv sub-neg frac-2neg diff-log div-sub div-exp clear-num div-inv
Counts
4 → 86
Calls
4 calls:
3.0ms
(- (* x.im y.re) (* x.re y.im))
9.0ms
(/ (- (* x.im y.re) (* x.re 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)))

series58.0ms

Counts
4 → 12
Calls
4 calls:
10.0ms
(- (* x.im y.re) (* x.re y.im))
34.0ms
(/ (- (* x.im y.re) (* x.re y.im)) (sqrt (+ (* y.re y.re) (* y.im y.im))))
6.0ms
(sqrt (+ (* y.re y.re) (* y.im y.im)))
8.0ms
(sqrt (+ (* y.re y.re) (* y.im y.im)))

simplify93.0ms

Algorithm
egg-herbie
Counts
98 → 98
Iterations

Useful iterations: 2 (24.0ms)

IterNodesCost
0304910
1990857
23340845
35003845

prune125.0ms

Filtered
98 candidates to 75 candidates (23.5%)
Pruning

11 alts after pruning (11 fresh and 0 done)

PrunedKeptTotal
New91798
Fresh448
Picked101
Done000
Total9611107

Merged error: 20.2b

Counts
107 → 11

localize15.0ms

Local error

Found 4 expressions with local error:

0.3b
(- (* x.im y.re) (* x.re y.im))
12.8b
(* (- (* x.im y.re) (* x.re y.im)) (/ 1 (sqrt (+ (* y.re y.re) (* y.im y.im)))))
26.0b
(sqrt (+ (* y.re y.re) (* y.im y.im)))
26.0b
(sqrt (+ (* y.re y.re) (* y.im y.im)))

rewrite27.0ms

Algorithm
rewrite-expression-head
Rules
34×add-sqr-sqrt
24×associate-*r*
22×*-un-lft-identity times-frac
20×add-cube-cbrt
17×sqrt-prod
13×add-exp-log
add-cbrt-cube
pow1
sqrt-div add-log-exp
unswap-sqr
prod-exp
flip3-- flip3-+ associate-*l* flip-- flip-+
frac-times rem-sqrt-square sqrt-pow1 pow1/2 div-exp associate-*l/ associate-/r/ cbrt-unprod
cbrt-undiv sub-neg rec-exp diff-log 1-exp associate-*r/ pow-prod-down un-div-inv *-commutative div-inv
Counts
4 → 95
Calls
4 calls:
3.0ms
(- (* x.im y.re) (* x.re y.im))
13.0ms
(* (- (* x.im y.re) (* x.re y.im)) (/ 1 (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)))

series59.0ms

Counts
4 → 12
Calls
4 calls:
13.0ms
(- (* x.im y.re) (* x.re y.im))
34.0ms
(* (- (* x.im y.re) (* x.re y.im)) (/ 1 (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)))

simplify46.0ms

Algorithm
egg-herbie
Counts
107 → 107
Iterations

Useful iterations: 2 (37.0ms)

IterNodesCost
0378916
11785831
25001807

prune121.0ms

Filtered
107 candidates to 75 candidates (29.9%)
Pruning

11 alts after pruning (10 fresh and 1 done)

PrunedKeptTotal
New1070107
Fresh01010
Picked011
Done000
Total10711118

Merged error: 20.2b

Counts
118 → 11

localize13.0ms

Local error

Found 4 expressions with local error:

0.3b
(- (* x.im y.re) (* x.re y.im))
12.8b
(/ (sqrt (+ (* y.re y.re) (* y.im y.im))) (- (* x.im y.re) (* x.re y.im)))
26.0b
(sqrt (+ (* y.re y.re) (* y.im y.im)))
26.0b
(sqrt (+ (* y.re y.re) (* y.im y.im)))

rewrite20.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-+ associate-/r* flip-+
rem-sqrt-square flip3-- sqrt-pow1 pow1/2 associate-/r/ flip-- associate-/l/
cbrt-undiv sub-neg frac-2neg diff-log div-exp clear-num div-inv
Counts
4 → 85
Calls
4 calls:
3.0ms
(- (* x.im y.re) (* x.re y.im))
8.0ms
(/ (sqrt (+ (* y.re y.re) (* y.im y.im))) (- (* x.im y.re) (* x.re y.im)))
3.0ms
(sqrt (+ (* y.re y.re) (* y.im y.im)))
3.0ms
(sqrt (+ (* y.re y.re) (* y.im y.im)))

series46.0ms

Counts
4 → 12
Calls
4 calls:
10.0ms
(- (* x.im y.re) (* x.re y.im))
25.0ms
(/ (sqrt (+ (* y.re y.re) (* y.im y.im))) (- (* x.im y.re) (* x.re y.im)))
6.0ms
(sqrt (+ (* y.re y.re) (* y.im y.im)))
6.0ms
(sqrt (+ (* y.re y.re) (* y.im y.im)))

simplify66.0ms

Algorithm
egg-herbie
Counts
97 → 97
Iterations

Useful iterations: 2 (20.0ms)

IterNodesCost
0264887
1808842
22343837
35001837

prune82.0ms

Filtered
97 candidates to 74 candidates (23.7%)
Pruning

11 alts after pruning (9 fresh and 2 done)

PrunedKeptTotal
New96197
Fresh189
Picked011
Done011
Total9711108

Merged error: 20.2b

Counts
108 → 11

regimes319.0ms

Accuracy

0% (2.3b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02114
12114

end0.0ms

sample755.0ms

Algorithm
intervals
Results
385.0ms8518×body80valid

Profiling

Loading profile data...