Details

Time bar (total: 8.2s)

sample41.0ms

Algorithm
intervals
Results
24.0ms465×body80valid

simplify1.3s

Counts
1 → 1
Iterations

Useful iterations: 4 (35.0ms)

IterNodesCost
01119
12019
24717
310317
421811
544211
6102211
7287311
done500111

prune10.0ms

Filtered
1 candidates to 1 candidates (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 7.3b

Counts
2 → 2

localize8.0ms

Local error

Found 3 expressions with local error:

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

rewrite29.0ms

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

series25.0ms

Counts
3 → 9
Calls
3 calls:
10.0ms
(- (* 3 (* x.im (* x.re x.re))) (pow x.im 3))
8.0ms
(* 3 (* x.im (* x.re x.re)))
7.0ms
(* x.im (* x.re x.re))

simplify1.2s

Counts
61 → 61
Iterations

Useful iterations: 3 (424.0ms)

IterNodesCost
080667
1206623
2773529
33287527
done5000527

prune96.0ms

Filtered
39 candidates to 61 candidates (-56.4%)
Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New57461
Fresh011
Picked011
Done000
Total57663

Merged error: 0.0b

Counts
63 → 6

localize8.0ms

Local error

Found 3 expressions with local error:

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

rewrite23.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:
8.0ms
(- (* 3 (* (* x.re x.im) x.re)) (pow x.im 3))
5.0ms
(* (* x.re x.im) x.re)
7.0ms
(* 3 (* (* x.re x.im) x.re))

series22.0ms

Counts
3 → 9
Calls
3 calls:
13.0ms
(- (* 3 (* (* x.re x.im) x.re)) (pow x.im 3))
4.0ms
(* (* x.re x.im) x.re)
5.0ms
(* 3 (* (* x.re x.im) x.re))

simplify1.8s

Counts
60 → 60
Iterations

Useful iterations: 3 (690.0ms)

IterNodesCost
083664
1225622
2972550
34672524
done5000524

prune83.0ms

Filtered
34 candidates to 60 candidates (-76.5%)
Pruning

7 alts after pruning (5 fresh and 2 done)

PrunedKeptTotal
New57360
Fresh224
Picked011
Done011
Total59766

Merged error: 0.0b

Counts
66 → 7

localize8.0ms

Local error

Found 3 expressions with local error:

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

rewrite24.0ms

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

series22.0ms

Counts
3 → 9
Calls
3 calls:
10.0ms
(- (* (* (* 3 x.im) x.re) x.re) (pow x.im 3))
8.0ms
(* (* (* 3 x.im) x.re) x.re)
4.0ms
(* (* 3 x.im) x.re)

simplify1000.0ms

Counts
60 → 60
Iterations

Useful iterations: done (998.0ms)

IterNodesCost
082665
1223615
21123545
done5000527

prune76.0ms

Filtered
32 candidates to 60 candidates (-87.5%)
Pruning

7 alts after pruning (4 fresh and 3 done)

PrunedKeptTotal
New59160
Fresh134
Picked011
Done022
Total60767

Merged error: 0b

Counts
67 → 7

localize13.0ms

Local error

Found 4 expressions with local error:

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

rewrite27.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:
8.0ms
(* (cbrt (* 3 (* (* x.re x.im) x.re))) (cbrt (* 3 (* (* x.re x.im) x.re))))
6.0ms
(cbrt (* 3 (* (* x.re x.im) x.re)))
6.0ms
(cbrt (* 3 (* (* x.re x.im) x.re)))
6.0ms
(cbrt (* 3 (* (* x.re x.im) x.re)))

series107.0ms

Counts
4 → 12
Calls
4 calls:
33.0ms
(* (cbrt (* 3 (* (* x.re x.im) x.re))) (cbrt (* 3 (* (* x.re x.im) x.re))))
24.0ms
(cbrt (* 3 (* (* x.re x.im) x.re)))
23.0ms
(cbrt (* 3 (* (* x.re x.im) x.re)))
27.0ms
(cbrt (* 3 (* (* x.re x.im) x.re)))

simplify700.0ms

Counts
70 → 70
Iterations

Useful iterations: done (698.0ms)

IterNodesCost
01001098
1223989
2608849
31864750
done5000730

prune147.0ms

Filtered
52 candidates to 70 candidates (-34.6%)
Pruning

7 alts after pruning (3 fresh and 4 done)

PrunedKeptTotal
New70070
Fresh033
Picked011
Done033
Total70777

Merged error: 0b

Counts
77 → 7

regimes111.0ms

Accuracy

0% (0.2b 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

sample1.2s

Algorithm
intervals
Results
790.0ms14669×body80valid

Profiling

Loading profile data...