Details

Time bar (total: 3.1s)

sample20.0ms

Algorithm
intervals
Results
8.0ms347×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

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

series35.0ms

Counts
1 → 3
Calls
1 calls:
35.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

prune33.0ms

Pruning

2 alts after pruning (1 fresh and 1 done)

Merged error: 0.0b

localize15.0ms

Local error

Found 4 expressions with local error:

1.2b
(+ (* (* x.im y.im) (+ (* x.im y.im) (* x.re y.re))) (* (* x.re y.re) (* x.re y.re)))
1.9b
(* (* x.im y.im) (+ (* x.im y.im) (* x.re y.re)))
2.2b
(- (pow (* x.re y.re) 3) (pow (* x.im y.im) 3))
33.6b
(/ (- (pow (* x.re y.re) 3) (pow (* x.im y.im) 3)) (+ (* (* x.im y.im) (+ (* x.im y.im) (* x.re y.re))) (* (* x.re y.re) (* x.re y.re))))

rewrite79.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:
15.0ms
(+ (* (* x.im y.im) (+ (* x.im y.im) (* x.re y.re))) (* (* x.re y.re) (* x.re y.re)))
12.0ms
(* (* x.im y.im) (+ (* x.im y.im) (* x.re y.re)))
13.0ms
(- (pow (* x.re y.re) 3) (pow (* x.im y.im) 3))
33.0ms
(/ (- (pow (* x.re y.re) 3) (pow (* x.im y.im) 3)) (+ (* (* x.im y.im) (+ (* x.im y.im) (* x.re y.re))) (* (* x.re y.re) (* x.re y.re))))

series494.0ms

Counts
4 → 12
Calls
4 calls:
87.0ms
(+ (* (* x.im y.im) (+ (* x.im y.im) (* x.re y.re))) (* (* x.re y.re) (* x.re y.re)))
53.0ms
(* (* x.im y.im) (+ (* x.im y.im) (* x.re y.re)))
198.0ms
(- (pow (* x.re y.re) 3) (pow (* x.im y.im) 3))
156.0ms
(/ (- (pow (* x.re y.re) 3) (pow (* x.im y.im) 3)) (+ (* (* x.im y.im) (+ (* x.im y.im) (* x.re y.re))) (* (* x.re y.re) (* x.re y.re))))

simplify131.0ms

Algorithm
egg-herbie
Counts
121 → 121
Iterations

Useful iterations: 2 (113.0ms)

IterNodesCost
05541992
132501869
250011864

prune357.0ms

Pruning

2 alts after pruning (1 fresh and 1 done)

Merged error: 0b

localize23.0ms

Local error

Found 4 expressions with local error:

21.7b
(cbrt (* (* x.im y.im) (+ (* x.im y.im) (* x.re y.re))))
21.7b
(cbrt (* (* x.im y.im) (+ (* x.im y.im) (* x.re y.re))))
21.7b
(cbrt (* (* x.im y.im) (+ (* x.im y.im) (* x.re y.re))))
33.6b
(/ (- (pow (* x.re y.re) 3) (pow (* x.im y.im) 3)) (+ (* (* (cbrt (* (* x.im y.im) (+ (* x.im y.im) (* x.re y.re)))) (cbrt (* (* x.im y.im) (+ (* x.im y.im) (* x.re y.re))))) (cbrt (* (* x.im y.im) (+ (* x.im y.im) (* x.re y.re))))) (* (* x.re y.re) (* x.re y.re))))

rewrite52.0ms

Algorithm
rewrite-expression-head
Rules
34×add-sqr-sqrt
27×times-frac
26×*-un-lft-identity
18×add-cube-cbrt
16×difference-of-squares sqr-pow
associate-/l*
add-exp-log cbrt-div associate-*r/ add-cbrt-cube
pow1 difference-cubes flip3-+ flip-+ distribute-lft-out-- add-log-exp
cbrt-prod pow1/3 associate-/r*
associate-/r/ associate-/l/
cbrt-undiv flip3-- frac-2neg div-sub div-exp clear-num flip-- div-inv
Counts
4 → 89
Calls
4 calls:
6.0ms
(cbrt (* (* x.im y.im) (+ (* x.im y.im) (* x.re y.re))))
6.0ms
(cbrt (* (* x.im y.im) (+ (* x.im y.im) (* x.re y.re))))
6.0ms
(cbrt (* (* x.im y.im) (+ (* x.im y.im) (* x.re y.re))))
30.0ms
(/ (- (pow (* x.re y.re) 3) (pow (* x.im y.im) 3)) (+ (* (* (cbrt (* (* x.im y.im) (+ (* x.im y.im) (* x.re y.re)))) (cbrt (* (* x.im y.im) (+ (* x.im y.im) (* x.re y.re))))) (cbrt (* (* x.im y.im) (+ (* x.im y.im) (* x.re y.re))))) (* (* x.re y.re) (* x.re y.re))))

series630.0ms

Counts
4 → 12
Calls
4 calls:
146.0ms
(cbrt (* (* x.im y.im) (+ (* x.im y.im) (* x.re y.re))))
145.0ms
(cbrt (* (* x.im y.im) (+ (* x.im y.im) (* x.re y.re))))
202.0ms
(cbrt (* (* x.im y.im) (+ (* x.im y.im) (* x.re y.re))))
137.0ms
(/ (- (pow (* x.re y.re) 3) (pow (* x.im y.im) 3)) (+ (* (* (cbrt (* (* x.im y.im) (+ (* x.im y.im) (* x.re y.re)))) (cbrt (* (* x.im y.im) (+ (* x.im y.im) (* x.re y.re))))) (cbrt (* (* x.im y.im) (+ (* x.im y.im) (* x.re y.re))))) (* (* x.re y.re) (* x.re y.re))))

simplify82.0ms

Algorithm
egg-herbie
Counts
101 → 101
Iterations

Useful iterations: 2 (57.0ms)

IterNodesCost
04833212
118443022
250012726

prune431.0ms

Pruning

2 alts after pruning (0 fresh and 2 done)

Merged error: 0b

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

sample531.0ms

Algorithm
intervals
Results
250.0ms10462×body80valid