Details

Time bar (total: 13.1s)

sample48.0ms

Algorithm
intervals
Results
30.0ms467×body80valid

simplify2.6s

Counts
1 → 1
Iterations

Useful iterations: 5 (539.0ms)

IterNodesCost
01119
12119
25817
316117
445414
5180111
done500011

prune12.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 9.3b

localize14.0ms

Local error

Found 2 expressions with local error:

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

rewrite81.0ms

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

series117.0ms

Counts
2 → 6
Calls
2 calls:
83.0ms
(- (pow x.re 3) (* (* x.im x.im) (* 3 x.re)))
34.0ms
(* (* x.im x.im) (* 3 x.re))

simplify1.2s

Counts
40 → 40
Iterations

Useful iterations: done (1.2s)

IterNodesCost
067537
1201480
21220412
done5000410

prune102.0ms

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 0.1b

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

rewrite156.0ms

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

series125.0ms

Counts
3 → 9
Calls
3 calls:
74.0ms
(- (pow x.re 3) (* x.im (* x.im (* 3 x.re))))
27.0ms
(* x.im (* x.im (* 3 x.re)))
24.0ms
(* x.im (* 3 x.re))

simplify1.6s

Counts
60 → 60
Iterations

Useful iterations: done (1.6s)

IterNodesCost
079667
1215609
21203535
done5000527

prune197.0ms

Pruning

10 alts after pruning (9 fresh and 1 done)

Merged error: 0.0b

localize19.0ms

Local error

Found 3 expressions with local error:

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

rewrite355.0ms

Algorithm
rewrite-expression-head
Rules
31×add-exp-log
22×pow1 prod-exp add-cbrt-cube
13×pow-prod-down cbrt-unprod
associate-*l*
add-sqr-sqrt add-cube-cbrt *-un-lft-identity add-log-exp
1-exp
associate-*r* *-commutative
sub-neg flip3-- diff-log flip--
Counts
3 → 57
Calls
3 calls:
152.0ms
(- (pow x.re 3) (* x.im (* 1 (* 3 (* x.im x.re)))))
179.0ms
(* x.im (* 1 (* 3 (* x.im x.re))))
22.0ms
(* 3 (* x.im x.re))

series114.0ms

Counts
3 → 9
Calls
3 calls:
69.0ms
(- (pow x.re 3) (* x.im (* 1 (* 3 (* x.im x.re)))))
23.0ms
(* x.im (* 1 (* 3 (* x.im x.re))))
21.0ms
(* 3 (* x.im x.re))

simplify1.4s

Counts
66 → 66
Iterations

Useful iterations: 2 (335.0ms)

IterNodesCost
0103851
1303665
21768581
done5001581

prune179.0ms

Pruning

9 alts after pruning (8 fresh and 1 done)

Merged error: 0b

localize11.0ms

Local error

Found 3 expressions with local error:

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

rewrite391.0ms

Algorithm
rewrite-expression-head
Rules
31×add-exp-log
22×pow1 prod-exp add-cbrt-cube
13×pow-prod-down cbrt-unprod
add-sqr-sqrt add-cube-cbrt *-un-lft-identity add-log-exp
associate-*r* associate-*l*
1-exp
*-commutative
sub-neg flip3-- diff-log flip--
Counts
3 → 57
Calls
3 calls:
173.0ms
(- (pow x.re 3) (* x.im (* 1 (* (* 3 x.im) x.re))))
178.0ms
(* x.im (* 1 (* (* 3 x.im) x.re)))
35.0ms
(* (* 3 x.im) x.re)

series134.0ms

Counts
3 → 9
Calls
3 calls:
77.0ms
(- (pow x.re 3) (* x.im (* 1 (* (* 3 x.im) x.re))))
32.0ms
(* x.im (* 1 (* (* 3 x.im) x.re)))
24.0ms
(* (* 3 x.im) x.re)

simplify2.0s

Counts
66 → 66
Iterations

Useful iterations: 2 (408.0ms)

IterNodesCost
0106854
1319674
22134582
done5000582

prune188.0ms

Pruning

9 alts after pruning (7 fresh and 2 done)

Merged error: 0b

regimes129.0ms

Accuracy

0% (0.1b remaining)

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

bsearch0.0ms

simplify1.0ms

Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0811
11111
done1111

end0.0ms

sample2.0s

Algorithm
intervals
Results
1.5s14263×body80valid