Details

Time bar (total: 3.8s)

sample28.0ms

Algorithm
intervals
Results
16.0ms341×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))

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

series40.0ms

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

simplify77.0ms

Algorithm
egg-herbie
Counts
15 → 15
Iterations

Useful iterations: 1 (4.0ms)

IterNodesCost
09178
128571
289571
3213671
4500171

prune36.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0.0b

localize10.0ms

Local error

Found 4 expressions with local error:

0.3b
(* (* x.re y.re) (* x.re y.re))
0.3b
(* (* x.im y.im) (* x.im y.im))
2.8b
(- (* (* x.re y.re) (* x.re y.re)) (* (* x.im y.im) (* x.im y.im)))
26.2b
(/ (- (* (* x.re y.re) (* x.re y.re)) (* (* x.im y.im) (* x.im y.im))) (+ (* x.re y.re) (* x.im y.im)))

rewrite68.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:
10.0ms
(* (* x.re y.re) (* x.re y.re))
10.0ms
(* (* x.im y.im) (* x.im y.im))
10.0ms
(- (* (* x.re y.re) (* x.re y.re)) (* (* x.im y.im) (* x.im y.im)))
34.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)))

series236.0ms

Counts
4 → 12
Calls
4 calls:
33.0ms
(* (* x.re y.re) (* x.re y.re))
28.0ms
(* (* x.im y.im) (* x.im y.im))
98.0ms
(- (* (* x.re y.re) (* x.re y.re)) (* (* x.im y.im) (* x.im y.im)))
77.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)))

simplify77.0ms

Algorithm
egg-herbie
Counts
129 → 129
Iterations

Useful iterations: 2 (67.0ms)

IterNodesCost
0419968
12372848
25003847

prune201.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0.0b

localize14.0ms

Local error

Found 4 expressions with local error:

1.3b
(cbrt (+ (* x.re y.re) (* x.im y.im)))
2.8b
(- (* (* x.re y.re) (* x.re y.re)) (* (* x.im y.im) (* x.im y.im)))
5.2b
(/ (- (* (* x.re y.re) (* x.re y.re)) (* (* x.im y.im) (* x.im y.im))) (cbrt (+ (* x.re y.re) (* x.im y.im))))
20.6b
(* (/ 1 (* (cbrt (+ (* x.re y.re) (* x.im y.im))) (cbrt (+ (* x.re y.re) (* x.im y.im))))) (/ (- (* (* x.re y.re) (* x.re y.re)) (* (* x.im y.im) (* x.im y.im))) (cbrt (+ (* x.re y.re) (* x.im y.im)))))

rewrite158.0ms

Algorithm
rewrite-expression-head
Rules
63×times-frac
60×add-sqr-sqrt
51×add-exp-log
42×*-un-lft-identity
39×add-cube-cbrt
33×cbrt-prod
30×associate-*r*
20×prod-exp
19×add-cbrt-cube
18×cbrt-div
16×div-exp
15×associate-*l*
14×difference-of-squares
12×associate-/r/
flip3-+ flip-+ unswap-sqr
cbrt-undiv cbrt-unprod
pow1 associate-/r* add-log-exp
frac-times
rec-exp 1-exp associate-/l*
associate-*r/ associate-*l/ div-inv
flip3-- flip-- associate-/l/
sub-neg frac-2neg pow1/3 diff-log div-sub pow-prod-down clear-num *-commutative
Counts
4 → 163
Calls
4 calls:
2.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)))
33.0ms
(/ (- (* (* x.re y.re) (* x.re y.re)) (* (* x.im y.im) (* x.im y.im))) (cbrt (+ (* x.re y.re) (* x.im y.im))))
106.0ms
(* (/ 1 (* (cbrt (+ (* x.re y.re) (* x.im y.im))) (cbrt (+ (* x.re y.re) (* x.im y.im))))) (/ (- (* (* x.re y.re) (* x.re y.re)) (* (* x.im y.im) (* x.im y.im))) (cbrt (+ (* x.re y.re) (* x.im y.im)))))

series552.0ms

Counts
4 → 12
Calls
4 calls:
102.0ms
(cbrt (+ (* x.re y.re) (* x.im y.im)))
96.0ms
(- (* (* x.re y.re) (* x.re y.re)) (* (* x.im y.im) (* x.im y.im)))
274.0ms
(/ (- (* (* x.re y.re) (* x.re y.re)) (* (* x.im y.im) (* x.im y.im))) (cbrt (+ (* x.re y.re) (* x.im y.im))))
81.0ms
(* (/ 1 (* (cbrt (+ (* x.re y.re) (* x.im y.im))) (cbrt (+ (* x.re y.re) (* x.im y.im))))) (/ (- (* (* x.re y.re) (* x.re y.re)) (* (* x.im y.im) (* x.im y.im))) (cbrt (+ (* x.re y.re) (* x.im y.im)))))

simplify136.0ms

Algorithm
egg-herbie
Counts
175 → 175
Iterations

Useful iterations: 2 (109.0ms)

IterNodesCost
09633812
147663399
250013315

prune532.0ms

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0.0b

localize12.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))))
0.5b
(sqrt (- (* x.re y.re) (* x.im y.im)))
0.5b
(sqrt (- (* x.re y.re) (* x.im y.im)))

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

series248.0ms

Counts
4 → 12
Calls
4 calls:
39.0ms
(- (* x.re y.re) (* x.im y.im))
35.0ms
(* (sqrt (- (* x.re y.re) (* x.im y.im))) (sqrt (- (* x.re y.re) (* x.im y.im))))
88.0ms
(sqrt (- (* x.re y.re) (* x.im y.im)))
86.0ms
(sqrt (- (* x.re y.re) (* x.im y.im)))

simplify189.0ms

Algorithm
egg-herbie
Counts
111 → 111
Iterations

Useful iterations: 2 (33.0ms)

IterNodesCost
0245786
1918714
24975688
35001688

prune195.0ms

Pruning

5 alts after pruning (2 fresh and 3 done)

Merged error: 0b

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

sample771.0ms

Algorithm
intervals
Results
508.0ms10525×body80valid