Details

Time bar (total: 5.1s)

sample27.0ms

Algorithm
intervals
Results
14.0ms345×body80valid

simplify5.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0113
1183
2183

prune5.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.0b

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

series12.0ms

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

simplify74.0ms

Algorithm
egg-herbie
Counts
15 → 15
Iterations

Useful iterations: 1 (4.0ms)

IterNodesCost
09178
128571
289571
3213671
4500171

prune92.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0.0b

localize9.0ms

Local error

Found 4 expressions with local error:

0.5b
(* (cbrt (- (* x.re y.re) (* x.im y.im))) (cbrt (- (* x.re y.re) (* x.im y.im))))
1.8b
(cbrt (- (* x.re y.re) (* x.im y.im)))
1.8b
(cbrt (- (* x.re y.re) (* x.im y.im)))
1.8b
(cbrt (- (* x.re y.re) (* x.im y.im)))

rewrite29.0ms

Algorithm
rewrite-expression-head
Rules
25×cbrt-prod
23×add-sqr-sqrt
18×cbrt-div
15×add-cube-cbrt *-un-lft-identity
11×pow1
flip3-- pow1/3 flip--
add-exp-log swap-sqr associate-*r* associate-*l*
frac-times add-cbrt-cube add-log-exp unswap-sqr
associate-*r/ pow-prod-down associate-*l/ pow-sqr pow-prod-up
pow2 pow-plus prod-exp *-commutative cbrt-unprod
Counts
4 → 87
Calls
4 calls:
19.0ms
(* (cbrt (- (* x.re y.re) (* x.im y.im))) (cbrt (- (* x.re y.re) (* x.im y.im))))
2.0ms
(cbrt (- (* x.re y.re) (* x.im y.im)))
2.0ms
(cbrt (- (* x.re y.re) (* x.im y.im)))
2.0ms
(cbrt (- (* x.re y.re) (* x.im y.im)))

series171.0ms

Counts
4 → 12
Calls
4 calls:
50.0ms
(* (cbrt (- (* x.re y.re) (* x.im y.im))) (cbrt (- (* x.re y.re) (* x.im y.im))))
41.0ms
(cbrt (- (* x.re y.re) (* x.im y.im)))
38.0ms
(cbrt (- (* x.re y.re) (* x.im y.im)))
41.0ms
(cbrt (- (* x.re y.re) (* x.im y.im)))

simplify96.0ms

Algorithm
egg-herbie
Counts
99 → 99
Iterations

Useful iterations: 3 (86.0ms)

IterNodesCost
03101067
110651000
24162924
35001915

prune803.0ms

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0b

localize17.0ms

Local error

Found 4 expressions with local error:

1.8b
(cbrt (- (* x.re y.re) (* x.im y.im)))
1.8b
(cbrt (- (* x.re y.re) (* x.im y.im)))
1.9b
(- (* (* x.re y.re) (* x.re y.re)) (* (* x.im y.im) (* x.im y.im)))
23.6b
(cbrt (- (* (* x.re y.re) (* x.re y.re)) (* (* x.im y.im) (* x.im y.im))))

rewrite27.0ms

Algorithm
rewrite-expression-head
Rules
10×cbrt-prod
add-sqr-sqrt add-cube-cbrt *-un-lft-identity
cbrt-div add-log-exp
pow1 add-exp-log flip3-- add-cbrt-cube flip--
pow1/3
difference-of-squares
sub-neg diff-log
Counts
4 → 53
Calls
4 calls:
2.0ms
(cbrt (- (* x.re y.re) (* x.im y.im)))
4.0ms
(cbrt (- (* x.re y.re) (* x.im y.im)))
10.0ms
(- (* (* x.re y.re) (* x.re y.re)) (* (* x.im y.im) (* x.im y.im)))
10.0ms
(cbrt (- (* (* x.re y.re) (* x.re y.re)) (* (* x.im y.im) (* x.im y.im))))

series155.0ms

Counts
4 → 12
Calls
4 calls:
38.0ms
(cbrt (- (* x.re y.re) (* x.im y.im)))
40.0ms
(cbrt (- (* x.re y.re) (* x.im y.im)))
31.0ms
(- (* (* x.re y.re) (* x.re y.re)) (* (* x.im y.im) (* x.im y.im)))
45.0ms
(cbrt (- (* (* x.re y.re) (* x.re y.re)) (* (* x.im y.im) (* x.im y.im))))

simplify45.0ms

Algorithm
egg-herbie
Counts
65 → 65
Iterations

Useful iterations: 2 (39.0ms)

IterNodesCost
0313683
11191624
25002603

prune875.0ms

Pruning

4 alts after pruning (1 fresh and 3 done)

Merged error: 0b

localize16.0ms

Local error

Found 4 expressions with local error:

1.4b
(- (pow (* x.re y.re) 3) (pow (* x.im y.im) 3))
1.8b
(+ (* (* x.im y.im) (+ (* x.im y.im) (* x.re y.re))) (* (* x.re y.re) (* x.re y.re)))
2.9b
(* (* x.im y.im) (+ (* x.im y.im) (* x.re y.re)))
36.5b
(/ (- (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))))

rewrite69.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:
8.0ms
(- (pow (* x.re y.re) 3) (pow (* x.im y.im) 3))
10.0ms
(+ (* (* x.im y.im) (+ (* x.im y.im) (* x.re y.re))) (* (* x.re y.re) (* x.re y.re)))
11.0ms
(* (* x.im y.im) (+ (* x.im y.im) (* x.re y.re)))
37.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))))

series152.0ms

Counts
4 → 12
Calls
4 calls:
48.0ms
(- (pow (* x.re y.re) 3) (pow (* x.im y.im) 3))
30.0ms
(+ (* (* x.im y.im) (+ (* x.im y.im) (* x.re y.re))) (* (* x.re y.re) (* x.re y.re)))
15.0ms
(* (* x.im y.im) (+ (* x.im y.im) (* x.re y.re)))
57.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))))

simplify123.0ms

Algorithm
egg-herbie
Counts
121 → 121
Iterations

Useful iterations: 2 (106.0ms)

IterNodesCost
05541992
132501869
250011864

prune1.1s

Pruning

4 alts after pruning (0 fresh and 4 done)

Merged error: 0b

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

sample696.0ms

Algorithm
intervals
Results
432.0ms10486×body80valid