Details

Time bar (total: 12.6s)

sample19.0ms

Algorithm
intervals
Results
7.0ms345×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 (100.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 0.0b

Counts
2 → 1

localize6.0ms

Local error

Found 1 expressions with local error:

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

rewrite16.0ms

Algorithm
rewrite-expression-head
Rules
13×add-sqr-sqrt
*-un-lft-identity
associate-*l* distribute-lft-out-- difference-of-squares unswap-sqr
add-log-exp
pow1 add-exp-log add-cube-cbrt sub-neg flip3-- diff-log add-cbrt-cube flip--
Counts
1 → 20
Calls
1 calls:
16.0ms
(- (* x.re y.re) (* x.im y.im))

series39.0ms

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

simplify74.0ms

Algorithm
egg-herbie
Counts
23 → 23
Iterations

Useful iterations: 1 (4.0ms)

IterNodesCost
0111138
1277131
2750131
31758131
45001131

prune35.0ms

Filtered
23 candidates to 17 candidates (26.1%)
Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New22123
Fresh000
Picked011
Done000
Total22224

Merged error: 0.0b

Counts
24 → 2

localize9.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (* x.re y.re) (* x.re y.re))
0.2b
(* (* x.im y.im) (* x.im y.im))
2.1b
(- (* (* x.re y.re) (* x.re y.re)) (* (* x.im y.im) (* x.im y.im)))
26.5b
(/ (- (* (* x.re y.re) (* x.re y.re)) (* (* x.im y.im) (* x.im y.im))) (+ (* x.re y.re) (* x.im y.im)))

rewrite397.0ms

Algorithm
rewrite-expression-head
Rules
3264×add-sqr-sqrt
1772×*-un-lft-identity
1644×unswap-sqr
942×associate-*l*
763×times-frac
729×difference-of-squares
640×swap-sqr
440×distribute-lft-out
225×distribute-lft-out--
172×*-commutative
146×add-cube-cbrt
109×associate-/l*
82×pow1
48×associate-*r*
34×pow-prod-down
30×add-exp-log add-cbrt-cube
16×prod-exp cbrt-unprod
pow-sqr pow-prod-up
associate-/r*
add-log-exp
pow-plus
pow2 flip3-- associate-/r/ flip-- associate-/l/
cbrt-undiv sub-neg frac-2neg flip3-+ diff-log div-sub div-exp clear-num flip-+ div-inv
Counts
4 → 1160
Calls
4 calls:
12.0ms
(* (* x.re y.re) (* x.re y.re))
12.0ms
(* (* x.im y.im) (* x.im y.im))
96.0ms
(- (* (* x.re y.re) (* x.re y.re)) (* (* x.im y.im) (* x.im y.im)))
132.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)))

series244.0ms

Counts
4 → 12
Calls
4 calls:
32.0ms
(* (* x.re y.re) (* x.re y.re))
30.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)))
81.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)))

simplify200.0ms

Algorithm
egg-herbie
Counts
1172 → 1172
Iterations

Useful iterations: 1 (35.0ms)

IterNodesCost
0132916157
1500216063

prune439.0ms

Filtered
1172 candidates to 183 candidates (84.4%)
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New117021172
Fresh000
Picked101
Done011
Total117131174

Merged error: 0.0b

Counts
1174 → 3

localize17.0ms

Local error

Found 4 expressions with local error:

0.5b
(cbrt x.re)
1.9b
(* (* (cbrt x.re) (cbrt x.re)) (* (* (cbrt x.re) y.re) (* x.re y.re)))
2.1b
(- (* (* (cbrt x.re) (cbrt x.re)) (* (* (cbrt x.re) y.re) (* x.re y.re))) (* (* x.im y.im) (* x.im y.im)))
26.5b
(/ (- (* (* (cbrt x.re) (cbrt x.re)) (* (* (cbrt x.re) y.re) (* x.re y.re))) (* (* x.im y.im) (* x.im y.im))) (+ (* x.re y.re) (* x.im y.im)))

rewrite2.1s

Algorithm
rewrite-expression-head
Rules
33903×add-sqr-sqrt
22836×unswap-sqr
5673×*-un-lft-identity
5184×difference-of-squares
4945×cbrt-prod
4144×times-frac
2664×associate-*l*
2378×swap-sqr
2372×distribute-lft-out
1155×*-commutative
623×add-cube-cbrt
592×associate-/l*
131×add-cbrt-cube
128×cbrt-unprod
117×distribute-lft-out--
63×associate-*r*
47×add-exp-log
45×pow1
31×pow-prod-down prod-exp
associate-/r*
add-log-exp
flip3-- associate-/r/ flip-- associate-/l/
cbrt-undiv sub-neg frac-2neg flip3-+ pow1/3 diff-log div-sub div-exp clear-num flip-+ div-inv
Counts
4 → 5564
Calls
4 calls:
1.0ms
(cbrt x.re)
44.0ms
(* (* (cbrt x.re) (cbrt x.re)) (* (* (cbrt x.re) y.re) (* x.re y.re)))
281.0ms
(- (* (* (cbrt x.re) (cbrt x.re)) (* (* (cbrt x.re) y.re) (* x.re y.re))) (* (* x.im y.im) (* x.im y.im)))
450.0ms
(/ (- (* (* (cbrt x.re) (cbrt x.re)) (* (* (cbrt x.re) y.re) (* x.re y.re))) (* (* x.im y.im) (* x.im y.im))) (+ (* x.re y.re) (* x.im y.im)))

series478.0ms

Counts
4 → 12
Calls
4 calls:
173.0ms
(cbrt x.re)
55.0ms
(* (* (cbrt x.re) (cbrt x.re)) (* (* (cbrt x.re) y.re) (* x.re y.re)))
134.0ms
(- (* (* (cbrt x.re) (cbrt x.re)) (* (* (cbrt x.re) y.re) (* x.re y.re))) (* (* x.im y.im) (* x.im y.im)))
115.0ms
(/ (- (* (* (cbrt x.re) (cbrt x.re)) (* (* (cbrt x.re) y.re) (* x.re y.re))) (* (* x.im y.im) (* x.im y.im))) (+ (* x.re y.re) (* x.im y.im)))

simplify1.6s

Algorithm
egg-herbie
Counts
5576 → 5576
Iterations

Useful iterations: 0 (51.0ms)

IterNodesCost
05001188360

prune5.5s

Filtered
5576 candidates to 1161 candidates (79.2%)
Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New557605576
Fresh011
Picked011
Done011
Total557635579

Merged error: 0.0b

Counts
5579 → 3

localize14.0ms

Local error

Found 4 expressions with local error:

0.1b
(* (sqrt x.im) (sqrt y.im))
0.1b
(* (sqrt x.im) (sqrt y.im))
0.1b
(* (* (sqrt x.im) (sqrt y.im)) (* (sqrt x.im) (sqrt y.im)))
1.7b
(/ (+ (* x.re y.re) (* x.im y.im)) (- (* x.re y.re) (* x.im y.im)))

rewrite83.0ms

Algorithm
rewrite-expression-head
Rules
342×add-sqr-sqrt
216×*-un-lft-identity
145×unswap-sqr
143×associate-*l*
128×sqrt-prod
77×times-frac
67×pow1
61×associate-*r*
52×add-cube-cbrt
48×distribute-lft-out
41×pow-prod-down
39×swap-sqr
32×distribute-lft-out-- difference-of-squares
22×add-exp-log add-cbrt-cube
20×sqrt-pow1 pow1/2
11×associate-/r*
10×prod-exp cbrt-unprod
pow-prod-up
sqrt-unprod *-commutative associate-/l*
pow-sqr
add-log-exp
pow-plus associate-/r/ associate-/l/
cbrt-undiv pow2 flip3-- frac-2neg flip3-+ div-exp clear-num rem-square-sqrt flip-- flip-+ div-inv
Counts
4 → 318
Calls
4 calls:
6.0ms
(* (sqrt x.im) (sqrt y.im))
6.0ms
(* (sqrt x.im) (sqrt y.im))
23.0ms
(* (* (sqrt x.im) (sqrt y.im)) (* (sqrt x.im) (sqrt y.im)))
30.0ms
(/ (+ (* x.re y.re) (* x.im y.im)) (- (* x.re y.re) (* x.im y.im)))

series187.0ms

Counts
4 → 12
Calls
4 calls:
59.0ms
(* (sqrt x.im) (sqrt y.im))
60.0ms
(* (sqrt x.im) (sqrt y.im))
27.0ms
(* (* (sqrt x.im) (sqrt y.im)) (* (sqrt x.im) (sqrt y.im)))
41.0ms
(/ (+ (* x.re y.re) (* x.im y.im)) (- (* x.re y.re) (* x.im y.im)))

simplify150.0ms

Algorithm
egg-herbie
Counts
330 → 330
Iterations

Useful iterations: 2 (124.0ms)

IterNodesCost
06302578
141492397
250012386

prune386.0ms

Filtered
330 candidates to 135 candidates (59.1%)
Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New3300330
Fresh000
Picked011
Done022
Total3303333

Merged error: 0.0b

Counts
333 → 3

regimes131.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

sample483.0ms

Algorithm
intervals
Results
230.0ms10503×body80valid