Details

Time bar (total: 1.9s)

sample18.0ms

Algorithm
intervals
Results
7.0ms341×body80valid

simplify5.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0113
1183
2183

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: 0.0b

Counts
2 → 1

localize5.0ms

Local error

Found 1 expressions with local error:

0.0b
(- (* x.re y.re) (* x.im y.im))

rewrite4.0ms

Algorithm
rewrite-expression-head
Rules
add-log-exp
pow1 add-exp-log add-sqr-sqrt add-cube-cbrt sub-neg flip3-- *-un-lft-identity diff-log add-cbrt-cube flip--
Counts
1 → 12
Calls
1 calls:
3.0ms
(- (* x.re y.re) (* x.im y.im))

series38.0ms

Counts
1 → 3
Calls
1 calls:
38.0ms
(- (* x.re y.re) (* x.im y.im))

simplify71.0ms

Algorithm
egg-herbie
Counts
15 → 15
Iterations

Useful iterations: 1 (4.0ms)

IterNodesCost
09178
128571
289571
3213671
4500171

prune29.0ms

Filtered
15 candidates to 12 candidates (80.0%)
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New13215
Fresh000
Picked011
Done000
Total13316

Merged error: 0.0b

Counts
16 → 3

localize9.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (* x.re y.re) (* x.re y.re))
0.3b
(* (* x.im y.im) (* x.im y.im))
0.9b
(- (* (* x.re y.re) (* x.re y.re)) (* (* x.im y.im) (* x.im y.im)))
25.6b
(/ (- (* (* x.re y.re) (* x.re y.re)) (* (* x.im y.im) (* x.im y.im))) (+ (* x.re y.re) (* x.im y.im)))

rewrite37.0ms

Algorithm
rewrite-expression-head
Rules
82×pow1
34×pow-prod-down
30×add-exp-log add-cbrt-cube
16×prod-exp cbrt-unprod
13×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
12×times-frac
pow-sqr pow-prod-up
add-log-exp
difference-of-squares
pow-plus associate-/l*
associate-/r*
pow2 flip3-- swap-sqr associate-*r* associate-*l* associate-/r/ *-commutative flip-- associate-/l/
cbrt-undiv sub-neg frac-2neg flip3-+ diff-log div-sub div-exp clear-num flip-+ div-inv
Counts
4 → 117
Calls
4 calls:
9.0ms
(* (* x.re y.re) (* x.re y.re))
6.0ms
(* (* x.im y.im) (* x.im y.im))
6.0ms
(- (* (* x.re y.re) (* x.re y.re)) (* (* x.im y.im) (* x.im y.im)))
12.0ms
(/ (- (* (* x.re y.re) (* x.re y.re)) (* (* x.im y.im) (* x.im y.im))) (+ (* x.re y.re) (* x.im y.im)))

series230.0ms

Counts
4 → 12
Calls
4 calls:
28.0ms
(* (* x.re y.re) (* x.re y.re))
28.0ms
(* (* x.im y.im) (* x.im y.im))
101.0ms
(- (* (* x.re y.re) (* x.re y.re)) (* (* x.im y.im) (* x.im y.im)))
72.0ms
(/ (- (* (* x.re y.re) (* x.re y.re)) (* (* x.im y.im) (* x.im y.im))) (+ (* x.re y.re) (* x.im y.im)))

simplify74.0ms

Algorithm
egg-herbie
Counts
129 → 129
Iterations

Useful iterations: 2 (63.0ms)

IterNodesCost
0419968
12372848
25003847

prune169.0ms

Filtered
129 candidates to 67 candidates (51.9%)
Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New1281129
Fresh101
Picked011
Done011
Total1293132

Merged error: 0b

Counts
132 → 3

localize12.0ms

Local error

Found 4 expressions with local error:

0.3b
(* (* x.im y.im) (* x.im y.im))
0.9b
(- (* (pow x.re 2) (pow y.re 2)) (* (* x.im y.im) (* x.im y.im)))
17.0b
(* (pow x.re 2) (pow y.re 2))
25.6b
(/ (- (* (pow x.re 2) (pow y.re 2)) (* (* x.im y.im) (* x.im y.im))) (+ (* x.re y.re) (* x.im y.im)))

rewrite35.0ms

Algorithm
rewrite-expression-head
Rules
43×pow1
32×add-sqr-sqrt
30×add-exp-log
20×add-cbrt-cube
18×pow-prod-down
17×prod-exp
16×add-cube-cbrt *-un-lft-identity unswap-sqr
14×unpow-prod-down
10×unpow2 sqr-pow
times-frac associate-*r* associate-*l* cbrt-unprod
pow-to-exp pow-exp add-log-exp
pow-sqr pow-prod-up
associate-/r* associate-/l*
flip3-- pow-plus associate-/r/ *-commutative flip-- associate-/l/
cbrt-undiv pow2 sub-neg frac-2neg flip3-+ diff-log div-sub swap-sqr div-exp clear-num flip-+ div-inv
Counts
4 → 129
Calls
4 calls:
8.0ms
(* (* x.im y.im) (* x.im y.im))
5.0ms
(- (* (pow x.re 2) (pow y.re 2)) (* (* x.im y.im) (* x.im y.im)))
7.0ms
(* (pow x.re 2) (pow y.re 2))
10.0ms
(/ (- (* (pow x.re 2) (pow y.re 2)) (* (* x.im y.im) (* x.im y.im))) (+ (* x.re y.re) (* x.im y.im)))

series232.0ms

Counts
4 → 12
Calls
4 calls:
29.0ms
(* (* x.im y.im) (* x.im y.im))
99.0ms
(- (* (pow x.re 2) (pow y.re 2)) (* (* x.im y.im) (* x.im y.im)))
32.0ms
(* (pow x.re 2) (pow y.re 2))
73.0ms
(/ (- (* (pow x.re 2) (pow y.re 2)) (* (* x.im y.im) (* x.im y.im))) (+ (* x.re y.re) (* x.im y.im)))

simplify85.0ms

Algorithm
egg-herbie
Counts
141 → 141
Iterations

Useful iterations: 2 (72.0ms)

IterNodesCost
04751069
12573916
25001914

prune257.0ms

Filtered
141 candidates to 78 candidates (55.3%)
Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New1410141
Fresh000
Picked011
Done022
Total1413144

Merged error: 0b

Counts
144 → 3

regimes124.0ms

Accuracy

0% (0.0b remaining)

Error of 0.0b against oracle of 0.0b and baseline of 0.0b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
093
193

end0.0ms

sample472.0ms

Algorithm
intervals
Results
225.0ms10428×body80valid