Details

Time bar (total: 10.0s)

sample28.0ms

Algorithm
intervals
Results
17.0ms471×body80valid

simplify3.8s

Counts
1 → 1
Iterations

Useful iterations: 4 (42.0ms)

IterNodesCost
01119
12217
25316
311516
427811
563611
6156711
7435411
done500011

prune6.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.2b

localize7.0ms

Local error

Found 3 expressions with local error:

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

rewrite45.0ms

Algorithm
rewrite-expression-head
Rules
17×pow1 add-exp-log add-cbrt-cube
12×prod-diff
pow-prod-down prod-exp cbrt-unprod
add-sqr-sqrt add-cube-cbrt *-un-lft-identity
associate-*l*
add-log-exp
expm1-log1p-u unpow-prod-down cube-prod log1p-expm1-u
associate-*r* *-commutative
cube-mult sub-neg flip3-- fma-neg diff-log unpow3 flip-- sqr-pow
Counts
3 → 70
Calls
3 calls:
18.0ms
(- (* 3 (* x.re (* x.re x.im))) (pow x.im 3))
14.0ms
(* 3 (* x.re (* x.re x.im)))
10.0ms
(* x.re (* x.re x.im))

series100.0ms

Counts
3 → 9
Calls
3 calls:
66.0ms
(- (* 3 (* x.re (* x.re x.im))) (pow x.im 3))
18.0ms
(* 3 (* x.re (* x.re x.im)))
16.0ms
(* x.re (* x.re x.im))

simplify802.0ms

Counts
79 → 79
Iterations

Useful iterations: 2 (190.0ms)

IterNodesCost
01401138
1329895
21182770
done5001770

prune124.0ms

Pruning

9 alts after pruning (8 fresh and 1 done)

Merged error: 0.0b

localize7.0ms

Local error

Found 2 expressions with local error:

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

rewrite27.0ms

Algorithm
rewrite-expression-head
Rules
14×pow1 add-exp-log add-cbrt-cube
12×prod-diff
pow-prod-down prod-exp cbrt-unprod
add-sqr-sqrt add-cube-cbrt *-un-lft-identity
add-log-exp
unpow-prod-down cube-prod
expm1-log1p-u log1p-expm1-u
cube-mult sub-neg flip3-- fma-neg diff-log unpow3 associate-*r* associate-*l* *-commutative flip-- sqr-pow
Counts
2 → 51
Calls
2 calls:
16.0ms
(- (* (* 3 x.re) (* x.re x.im)) (pow x.im 3))
9.0ms
(* (* 3 x.re) (* x.re x.im))

series86.0ms

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

simplify906.0ms

Counts
57 → 57
Iterations

Useful iterations: 2 (185.0ms)

IterNodesCost
0127996
1310754
21186645
done5000645

prune85.0ms

Pruning

7 alts after pruning (5 fresh and 2 done)

Merged error: 0.0b

localize9.0ms

Local error

Found 4 expressions with local error:

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

rewrite120.0ms

Algorithm
rewrite-expression-head
Rules
32×pow1 add-exp-log add-cbrt-cube
19×pow-prod-down prod-exp cbrt-unprod
15×associate-*l*
12×add-sqr-sqrt add-cube-cbrt *-un-lft-identity prod-diff
sqrt-prod add-log-exp
expm1-log1p-u log1p-expm1-u
unpow-prod-down cube-prod associate-*r* *-commutative
cube-mult sub-neg flip3-- fma-neg diff-log unpow3 flip-- sqr-pow
Counts
4 → 102
Calls
4 calls:
50.0ms
(- (* (sqrt 3) (* (sqrt 3) (* x.re (* x.re x.im)))) (pow x.im 3))
6.0ms
(* x.re (* x.re x.im))
16.0ms
(* (sqrt 3) (* x.re (* x.re x.im)))
44.0ms
(* (sqrt 3) (* (sqrt 3) (* x.re (* x.re x.im))))

series266.0ms

Counts
4 → 12
Calls
4 calls:
119.0ms
(- (* (sqrt 3) (* (sqrt 3) (* x.re (* x.re x.im)))) (pow x.im 3))
16.0ms
(* x.re (* x.re x.im))
52.0ms
(* (sqrt 3) (* x.re (* x.re x.im)))
79.0ms
(* (sqrt 3) (* (sqrt 3) (* x.re (* x.re x.im))))

simplify914.0ms

Counts
114 → 114
Iterations

Useful iterations: 2 (264.0ms)

IterNodesCost
01671826
14081304
215471084
done50001084

prune199.0ms

Pruning

9 alts after pruning (6 fresh and 3 done)

Merged error: 0.0b

localize12.0ms

Local error

Found 4 expressions with local error:

0.2b
(* x.re (* x.re x.im))
0.2b
(* (sqrt 3) (* x.re (* x.re x.im)))
0.3b
(* (* (cbrt (sqrt 3)) (cbrt (sqrt 3))) (* (cbrt (sqrt 3)) (* (sqrt 3) (* x.re (* x.re x.im)))))
1.0b
(* (cbrt (sqrt 3)) (cbrt (sqrt 3)))

rewrite177.0ms

Algorithm
rewrite-expression-head
Rules
70×pow1
65×add-exp-log
46×pow-prod-down
45×prod-exp add-cbrt-cube cbrt-unprod
41×add-sqr-sqrt
40×cbrt-prod
23×sqrt-prod
19×add-cube-cbrt *-un-lft-identity associate-*l*
12×associate-*r*
11×swap-sqr
unswap-sqr
pow1/3
expm1-log1p-u *-commutative log1p-expm1-u add-log-exp
pow-sqr pow-prod-up
pow2 pow-plus
Counts
4 → 146
Calls
4 calls:
6.0ms
(* x.re (* x.re x.im))
17.0ms
(* (sqrt 3) (* x.re (* x.re x.im)))
139.0ms
(* (* (cbrt (sqrt 3)) (cbrt (sqrt 3))) (* (cbrt (sqrt 3)) (* (sqrt 3) (* x.re (* x.re x.im)))))
9.0ms
(* (cbrt (sqrt 3)) (cbrt (sqrt 3)))

series155.0ms

Counts
4 → 10
Calls
4 calls:
16.0ms
(* x.re (* x.re x.im))
52.0ms
(* (sqrt 3) (* x.re (* x.re x.im)))
87.0ms
(* (* (cbrt (sqrt 3)) (cbrt (sqrt 3))) (* (cbrt (sqrt 3)) (* (sqrt 3) (* x.re (* x.re x.im)))))
0.0ms
(* (cbrt (sqrt 3)) (cbrt (sqrt 3)))

simplify867.0ms

Counts
156 → 156
Iterations

Useful iterations: 2 (172.0ms)

IterNodesCost
01622363
14102134
215451573
done50001573

prune463.0ms

Pruning

6 alts after pruning (4 fresh and 2 done)

Merged error: 0b

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

sample758.0ms

Algorithm
intervals
Results
530.0ms14441×body80valid