Details

Time bar (total: 5.4s)

sample20.0ms

Algorithm
intervals
Results
7.0ms336×body80valid

simplify5.0ms

Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
077
1117
2187
done187

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

series42.0ms

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

simplify1.4s

Counts
15 → 15
Iterations

Useful iterations: 2 (24.0ms)

IterNodesCost
033168
190163
2270149
3749149
41675149
done5000149

prune33.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 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.2b
(- (* (* x.re y.re) (* x.re y.re)) (* (* x.im y.im) (* x.im y.im)))
24.1b
(/ (- (* (* x.re y.re) (* x.re y.re)) (* (* x.im y.im) (* x.im y.im))) (+ (* x.re y.re) (* x.im y.im)))

rewrite72.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))
11.0ms
(- (* (* x.re y.re) (* x.re y.re)) (* (* x.im y.im) (* x.im y.im)))
36.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)))

series256.0ms

Counts
4 → 12
Calls
4 calls:
34.0ms
(* (* x.re y.re) (* x.re y.re))
31.0ms
(* (* x.im y.im) (* x.im y.im))
107.0ms
(- (* (* x.re y.re) (* x.re y.re)) (* (* x.im y.im) (* x.im y.im)))
84.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)))

simplify733.0ms

Counts
129 → 129
Iterations

Useful iterations: 2 (198.0ms)

IterNodesCost
01542250
14061996
218341746
done50011746

prune205.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0b

localize15.0ms

Local error

Found 4 expressions with local error:

0.4b
(+ (* (* x.re y.re) (* x.re y.re)) (* (* x.im y.im) (+ (* x.re y.re) (* x.im y.im))))
2.0b
(* (* x.im y.im) (+ (* x.re y.re) (* x.im y.im)))
2.5b
(- (pow (* x.re y.re) 3) (pow (* x.im y.im) 3))
36.6b
(/ (- (pow (* x.re y.re) 3) (pow (* x.im y.im) 3)) (+ (* (* x.re y.re) (* x.re y.re)) (* (* x.im y.im) (+ (* x.re y.re) (* x.im y.im)))))

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

series478.0ms

Counts
4 → 12
Calls
4 calls:
86.0ms
(+ (* (* x.re y.re) (* x.re y.re)) (* (* x.im y.im) (+ (* x.re y.re) (* x.im y.im))))
51.0ms
(* (* x.im y.im) (+ (* x.re y.re) (* x.im y.im)))
200.0ms
(- (pow (* x.re y.re) 3) (pow (* x.im y.im) 3))
140.0ms
(/ (- (pow (* x.re y.re) 3) (pow (* x.im y.im) 3)) (+ (* (* x.re y.re) (* x.re y.re)) (* (* x.im y.im) (+ (* x.re y.re) (* x.im y.im)))))

simplify1.1s

Counts
121 → 121
Iterations

Useful iterations: done (1.1s)

IterNodesCost
02074210
15513970
227073737
done50003736

prune355.0ms

Pruning

3 alts after pruning (0 fresh and 3 done)

Merged error: 0b

regimes125.0ms

Accuracy

0% (0.0b remaining)

Error of 0.0b against oracle of 0.0b and baseline of 0.0b

bsearch0.0ms

simplify1.0ms

Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
077
197
done97

end0.0ms

sample489.0ms

Algorithm
intervals
Results
222.0ms10486×body80valid