Details

Time bar (total: 24.9s)

sample75.0ms

Algorithm
intervals
Results
46.0ms463×body80valid

simplify7.5s

Counts
1 → 1
Iterations

Useful iterations: done (7.5s)

IterNodesCost
01119
12719
223817
3231314
done500013

prune8.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.1b

localize10.0ms

Local error

Found 3 expressions with local error:

0.0b
(- (pow x.re 3) (* x.im (* x.im (+ (* 2 x.re) x.re))))
0.2b
(* x.im (* x.im (+ (* 2 x.re) x.re)))
0.2b
(* x.im (+ (* 2 x.re) x.re))

rewrite165.0ms

Algorithm
rewrite-expression-head
Rules
10×pow1 add-exp-log add-cbrt-cube
distribute-rgt-in distribute-lft-in
add-sqr-sqrt
*-un-lft-identity
add-cube-cbrt associate-*r/ associate-*r* associate-*l*
add-log-exp
pow-prod-down prod-exp cbrt-unprod associate--r+
flip3-+ *-commutative flip-+
sub-neg distribute-rgt-out flip3-- distribute-lft1-in diff-log flip-- unswap-sqr
Counts
3 → 64
Calls
3 calls:
56.0ms
(- (pow x.re 3) (* x.im (* x.im (+ (* 2 x.re) x.re))))
63.0ms
(* x.im (* x.im (+ (* 2 x.re) x.re)))
42.0ms
(* x.im (+ (* 2 x.re) x.re))

series119.0ms

Counts
3 → 9
Calls
3 calls:
66.0ms
(- (pow x.re 3) (* x.im (* x.im (+ (* 2 x.re) x.re))))
31.0ms
(* x.im (* x.im (+ (* 2 x.re) x.re)))
22.0ms
(* x.im (+ (* 2 x.re) x.re))

simplify3.4s

Counts
73 → 73
Iterations

Useful iterations: done (3.4s)

IterNodesCost
0101927
1793756
done5001684

prune339.0ms

Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 0.0b

localize24.0ms

Local error

Found 3 expressions with local error:

0.0b
(- (pow x.re 3) (* x.im (* (* x.im 3) x.re)))
0.2b
(* x.im (* (* x.im 3) x.re))
0.2b
(* (* x.im 3) x.re)

rewrite146.0ms

Algorithm
rewrite-expression-head
Rules
17×pow1 add-exp-log add-cbrt-cube
pow-prod-down prod-exp cbrt-unprod
add-sqr-sqrt add-cube-cbrt *-un-lft-identity add-log-exp
associate-*r* associate-*l*
*-commutative
sub-neg flip3-- diff-log flip--
Counts
3 → 51
Calls
3 calls:
47.0ms
(- (pow x.re 3) (* x.im (* (* x.im 3) x.re)))
59.0ms
(* x.im (* (* x.im 3) x.re))
38.0ms
(* (* x.im 3) x.re)

series144.0ms

Counts
3 → 9
Calls
3 calls:
94.0ms
(- (pow x.re 3) (* x.im (* (* x.im 3) x.re)))
25.0ms
(* x.im (* (* x.im 3) x.re))
25.0ms
(* (* x.im 3) x.re)

simplify2.3s

Counts
60 → 60
Iterations

Useful iterations: done (2.2s)

IterNodesCost
085672
1561612
done5000536

prune151.0ms

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 0.0b

localize26.0ms

Local error

Found 4 expressions with local error:

0.0b
(- (pow x.re 3) (* x.im (* x.im (* 2 x.re))))
0.1b
(- (- (pow x.re 3) (* x.im (* x.im (* 2 x.re)))) (* (* x.im x.re) x.im))
0.2b
(* x.im (* x.im (* 2 x.re)))
0.2b
(* (* x.im x.re) x.im)

rewrite682.0ms

Algorithm
rewrite-expression-head
Rules
18×pow1 add-exp-log add-cbrt-cube
11×add-log-exp
pow-prod-down prod-exp cbrt-unprod
add-sqr-sqrt add-cube-cbrt *-un-lft-identity
diff-log associate-*r* associate-*l*
sub-neg
flip3-- associate--l+ *-commutative flip--
associate--l-
Counts
4 → 67
Calls
4 calls:
76.0ms
(- (pow x.re 3) (* x.im (* x.im (* 2 x.re))))
504.0ms
(- (- (pow x.re 3) (* x.im (* x.im (* 2 x.re)))) (* (* x.im x.re) x.im))
63.0ms
(* x.im (* x.im (* 2 x.re)))
36.0ms
(* (* x.im x.re) x.im)

series239.0ms

Counts
4 → 12
Calls
4 calls:
86.0ms
(- (pow x.re 3) (* x.im (* x.im (* 2 x.re))))
75.0ms
(- (- (pow x.re 3) (* x.im (* x.im (* 2 x.re)))) (* (* x.im x.re) x.im))
42.0ms
(* x.im (* x.im (* 2 x.re)))
34.0ms
(* (* x.im x.re) x.im)

simplify2.4s

Counts
79 → 79
Iterations

Useful iterations: done (2.4s)

IterNodesCost
01171101
17431010
done5000852

prune255.0ms

Pruning

5 alts after pruning (3 fresh and 2 done)

Merged error: 0.0b

localize33.0ms

Local error

Found 4 expressions with local error:

0.4b
(* (cbrt (* x.im (* (* x.im 3) x.re))) (cbrt (* x.im (* (* x.im 3) x.re))))
21.8b
(cbrt (* x.im (* (* x.im 3) x.re)))
21.8b
(cbrt (* x.im (* (* x.im 3) x.re)))
21.8b
(cbrt (* x.im (* (* x.im 3) x.re)))

rewrite248.0ms

Algorithm
rewrite-expression-head
Rules
11×pow1
10×add-sqr-sqrt
pow1/3
add-cube-cbrt *-un-lft-identity
cbrt-prod
add-exp-log
swap-sqr associate-*r* associate-*l* add-cbrt-cube add-log-exp
pow-prod-down pow-sqr pow-prod-up
pow2 pow-plus prod-exp *-commutative cbrt-unprod unswap-sqr
Counts
4 → 58
Calls
4 calls:
54.0ms
(* (cbrt (* x.im (* (* x.im 3) x.re))) (cbrt (* x.im (* (* x.im 3) x.re))))
66.0ms
(cbrt (* x.im (* (* x.im 3) x.re)))
68.0ms
(cbrt (* x.im (* (* x.im 3) x.re)))
59.0ms
(cbrt (* x.im (* (* x.im 3) x.re)))

series656.0ms

Counts
4 → 12
Calls
4 calls:
201.0ms
(* (cbrt (* x.im (* (* x.im 3) x.re))) (cbrt (* x.im (* (* x.im 3) x.re))))
169.0ms
(cbrt (* x.im (* (* x.im 3) x.re)))
151.0ms
(cbrt (* x.im (* (* x.im 3) x.re)))
135.0ms
(cbrt (* x.im (* (* x.im 3) x.re)))

simplify3.4s

Counts
70 → 70
Iterations

Useful iterations: done (3.4s)

IterNodesCost
0951062
1557959
done5000792

prune281.0ms

Pruning

5 alts after pruning (2 fresh and 3 done)

Merged error: 0.0b

regimes84.0ms

Accuracy

0% (0.1b remaining)

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

bsearch0.0ms

simplify3.0ms

Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0811
11111
done1111

end0.0ms

sample2.3s

Algorithm
intervals
Results
1.8s14468×body80valid