Details

Time bar (total: 3.4s)

sample215.0ms

Algorithm
intervals
Results
202.0ms340×body80valid

simplify5.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0113
1183
2183

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.0b

localize6.0ms

Local error

Found 1 expressions with local error:

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

rewrite3.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))

series35.0ms

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

simplify76.0ms

Algorithm
egg-herbie
Counts
15 → 15
Iterations

Useful iterations: 1 (4.0ms)

IterNodesCost
09178
128571
289571
3213671
4500171

prune39.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0.0b

localize8.0ms

Local error

Found 4 expressions with local error:

0.0b
(- (* x.re y.re) (* x.im y.im))
0.2b
(* (sqrt (- (* x.re y.re) (* x.im y.im))) (sqrt (- (* x.re y.re) (* x.im y.im))))
1.5b
(sqrt (- (* x.re y.re) (* x.im y.im)))
1.5b
(sqrt (- (* x.re y.re) (* x.im y.im)))

rewrite33.0ms

Algorithm
rewrite-expression-head
Rules
28×add-sqr-sqrt
24×sqrt-prod
21×pow1
16×sqrt-div
14×add-cube-cbrt *-un-lft-identity
10×sqrt-pow1 pow1/2
flip3-- flip--
swap-sqr
add-exp-log associate-*r* associate-*l* add-cbrt-cube add-log-exp
pow-prod-up
frac-times unswap-sqr
pow-prod-down pow-sqr
rem-sqrt-square associate-*r/ associate-*l/
pow2 sub-neg pow-plus sqrt-unprod diff-log prod-exp rem-square-sqrt *-commutative cbrt-unprod
Counts
4 → 99
Calls
4 calls:
2.0ms
(- (* x.re y.re) (* x.im y.im))
20.0ms
(* (sqrt (- (* x.re y.re) (* x.im y.im))) (sqrt (- (* x.re y.re) (* x.im y.im))))
3.0ms
(sqrt (- (* x.re y.re) (* x.im y.im)))
4.0ms
(sqrt (- (* x.re y.re) (* x.im y.im)))

series236.0ms

Counts
4 → 12
Calls
4 calls:
34.0ms
(- (* x.re y.re) (* x.im y.im))
37.0ms
(* (sqrt (- (* x.re y.re) (* x.im y.im))) (sqrt (- (* x.re y.re) (* x.im y.im))))
82.0ms
(sqrt (- (* x.re y.re) (* x.im y.im)))
83.0ms
(sqrt (- (* x.re y.re) (* x.im y.im)))

simplify188.0ms

Algorithm
egg-herbie
Counts
111 → 111
Iterations

Useful iterations: 2 (30.0ms)

IterNodesCost
0245786
1918714
24975688
35001688

prune202.0ms

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0.0b

localize9.0ms

Local error

Found 3 expressions with local error:

0.0b
(- (* y.re x.re) (* y.im x.im))
0.3b
(pow (- (* y.re x.re) (* y.im x.im)) 3)
35.3b
(cbrt (pow (- (* y.re x.re) (* y.im x.im)) 3))

rewrite12.0ms

Algorithm
rewrite-expression-head
Rules
12×cbrt-prod
add-sqr-sqrt add-cube-cbrt *-un-lft-identity
unpow-prod-down cube-prod
add-log-exp
pow1 add-exp-log cube-div add-cbrt-cube
pow-unpow flip3-- flip--
cube-mult cbrt-div unpow3 sqr-pow
pow-to-exp sub-neg pow-pow pow1/3 diff-log pow-exp rem-cbrt-cube rem-cube-cbrt
Counts
3 → 60
Calls
3 calls:
2.0ms
(- (* y.re x.re) (* y.im x.im))
4.0ms
(pow (- (* y.re x.re) (* y.im x.im)) 3)
4.0ms
(cbrt (pow (- (* y.re x.re) (* y.im x.im)) 3))

series216.0ms

Counts
3 → 9
Calls
3 calls:
41.0ms
(- (* y.re x.re) (* y.im x.im))
133.0ms
(pow (- (* y.re x.re) (* y.im x.im)) 3)
42.0ms
(cbrt (pow (- (* y.re x.re) (* y.im x.im)) 3))

simplify42.0ms

Algorithm
egg-herbie
Counts
69 → 69
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
0251439
11098414
25002406

prune126.0ms

Pruning

4 alts after pruning (1 fresh and 3 done)

Merged error: 0.0b

localize15.0ms

Local error

Found 4 expressions with local error:

1.8b
(* (* y.im x.im) (+ (* y.im x.im) (* y.re x.re)))
2.0b
(+ (* (* y.im x.im) (+ (* y.im x.im) (* y.re x.re))) (* (* y.re x.re) (* y.re x.re)))
2.4b
(- (pow (* y.re x.re) 3) (pow (* y.im x.im) 3))
37.9b
(/ (- (pow (* y.re x.re) 3) (pow (* y.im x.im) 3)) (+ (* (* y.im x.im) (+ (* y.im x.im) (* y.re x.re))) (* (* y.re x.re) (* y.re x.re))))

rewrite72.0ms

Algorithm
rewrite-expression-head
Rules
39×add-sqr-sqrt
29×*-un-lft-identity
27×times-frac
20×difference-of-squares sqr-pow
19×add-cube-cbrt
11×add-exp-log add-cbrt-cube
pow1 associate-/l*
add-log-exp
difference-cubes distribute-lft-out--
flip3-+ associate-*r* pow-prod-down prod-exp associate-/r* cbrt-unprod flip-+
distribute-rgt-in associate-+l+ flip3-- distribute-lft-in associate-*r/ associate-/r/ flip-- associate-/l/
cbrt-undiv +-commutative sub-neg frac-2neg diff-log div-sub div-exp associate-*l* clear-num sum-log *-commutative div-inv
Counts
4 → 109
Calls
4 calls:
11.0ms
(* (* y.im x.im) (+ (* y.im x.im) (* y.re x.re)))
10.0ms
(+ (* (* y.im x.im) (+ (* y.im x.im) (* y.re x.re))) (* (* y.re x.re) (* y.re x.re)))
8.0ms
(- (pow (* y.re x.re) 3) (pow (* y.im x.im) 3))
39.0ms
(/ (- (pow (* y.re x.re) 3) (pow (* y.im x.im) 3)) (+ (* (* y.im x.im) (+ (* y.im x.im) (* y.re x.re))) (* (* y.re x.re) (* y.re x.re))))

series488.0ms

Counts
4 → 12
Calls
4 calls:
58.0ms
(* (* y.im x.im) (+ (* y.im x.im) (* y.re x.re)))
87.0ms
(+ (* (* y.im x.im) (+ (* y.im x.im) (* y.re x.re))) (* (* y.re x.re) (* y.re x.re)))
205.0ms
(- (pow (* y.re x.re) 3) (pow (* y.im x.im) 3))
138.0ms
(/ (- (pow (* y.re x.re) 3) (pow (* y.im x.im) 3)) (+ (* (* y.im x.im) (+ (* y.im x.im) (* y.re x.re))) (* (* y.re x.re) (* y.re x.re))))

simplify125.0ms

Algorithm
egg-herbie
Counts
121 → 121
Iterations

Useful iterations: 2 (107.0ms)

IterNodesCost
05511992
132451869
250021864

prune342.0ms

Pruning

4 alts after pruning (0 fresh and 4 done)

Merged error: 0.0b

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

sample723.0ms

Algorithm
intervals
Results
463.0ms10469×body80valid