Details

Time bar (total: 17.5s)

sample32.0ms

Algorithm
intervals
Results
18.0ms374×body80valid

simplify5.7s

Counts
1 → 1
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
079
1139
2359
3889
41409
51479
61649
72119
83559
98299
1026199
done50009

prune3.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.2b

localize17.0ms

Local error

Found 1 expressions with local error:

0.2b
(* (* x x) (- 3.0 (* x 2.0)))

rewrite42.0ms

Algorithm
rewrite-expression-head
Rules
pow1 add-exp-log prod-diff add-cbrt-cube
distribute-rgt-in add-sqr-sqrt distribute-lft-in
add-cube-cbrt *-un-lft-identity
associate-*r* pow-prod-down prod-exp cbrt-unprod
sub-neg associate-*r/
expm1-log1p-u flip3-- associate-*l* *-commutative flip-- log1p-expm1-u add-log-exp unswap-sqr
Counts
1 → 33
Calls
1 calls:
41.0ms
(* (* x x) (- 3.0 (* x 2.0)))

series119.0ms

Counts
1 → 3
Calls
1 calls:
118.0ms
(* (* x x) (- 3.0 (* x 2.0)))

simplify2.9s

Counts
36 → 36
Iterations

Useful iterations: done (2.9s)

IterNodesCost
077533
1207518
2681442
32676421
done5002397

prune70.0ms

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 0b

localize18.0ms

Local error

Found 3 expressions with local error:

0.0b
(* 2.0 (pow x 3))
0.0b
(+ (* (* x 3.0) x) (- (* 2.0 (pow x 3))))
0.2b
(* (* x 3.0) x)

rewrite57.0ms

Algorithm
rewrite-expression-head
Rules
15×add-sqr-sqrt associate-*r*
13×add-exp-log
10×add-cbrt-cube
pow1 add-cube-cbrt *-un-lft-identity
add-log-exp
prod-exp
unpow-prod-down cube-prod associate-*l* cbrt-unprod unswap-sqr
expm1-log1p-u pow-prod-down log1p-expm1-u
sum-log *-commutative sqr-pow
+-commutative neg-sub0 cube-mult pow-to-exp associate-+r- fma-def flip3-+ unpow3 unsub-neg neg-log pow-exp flip-+
Counts
3 → 71
Calls
3 calls:
13.0ms
(* 2.0 (pow x 3))
18.0ms
(+ (* (* x 3.0) x) (- (* 2.0 (pow x 3))))
24.0ms
(* (* x 3.0) x)

series264.0ms

Counts
3 → 9
Calls
3 calls:
53.0ms
(* 2.0 (pow x 3))
170.0ms
(+ (* (* x 3.0) x) (- (* 2.0 (pow x 3))))
40.0ms
(* (* x 3.0) x)

simplify2.0s

Counts
80 → 80
Iterations

Useful iterations: done (2.0s)

IterNodesCost
0113760
1289673
21064609
done5000573

prune210.0ms

Pruning

7 alts after pruning (5 fresh and 2 done)

Merged error: 0b

localize7.0ms

Local error

Found 2 expressions with local error:

0.0b
(* (fma 2.0 (- x) 3.0) x)
0.2b
(* x (* (fma 2.0 (- x) 3.0) x))

rewrite43.0ms

Algorithm
rewrite-expression-head
Rules
pow1 add-exp-log add-cbrt-cube
add-sqr-sqrt
associate-*l*
add-cube-cbrt *-un-lft-identity
associate-*r* pow-prod-down prod-exp cbrt-unprod
expm1-log1p-u *-commutative log1p-expm1-u add-log-exp
unswap-sqr
Counts
2 → 40
Calls
2 calls:
13.0ms
(* (fma 2.0 (- x) 3.0) x)
28.0ms
(* x (* (fma 2.0 (- x) 3.0) x))

series237.0ms

Counts
2 → 6
Calls
2 calls:
99.0ms
(* (fma 2.0 (- x) 3.0) x)
138.0ms
(* x (* (fma 2.0 (- x) 3.0) x))

simplify1.6s

Counts
46 → 46
Iterations

Useful iterations: 3 (594.0ms)

IterNodesCost
062517
1133503
2452429
31758417
done5002417

prune136.0ms

Pruning

7 alts after pruning (4 fresh and 3 done)

Merged error: 0b

localize28.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (* x 3.0) x)
0.4b
(* (sqrt (* (* x 3.0) x)) (sqrt (* (* x 3.0) x)))
21.7b
(sqrt (* (* x 3.0) x))
21.7b
(sqrt (* (* x 3.0) x))

rewrite172.0ms

Algorithm
rewrite-expression-head
Rules
148×pow1
80×pow-prod-down
66×sqrt-pow1
17×pow-prod-up
14×pow1/2
11×add-exp-log add-sqr-sqrt pow-sqr add-cbrt-cube
add-cube-cbrt *-un-lft-identity
associate-*r*
sqrt-prod
associate-*l*
expm1-log1p-u swap-sqr prod-exp cbrt-unprod log1p-expm1-u add-log-exp
*-commutative
pow2 pow-plus sqrt-unprod rem-square-sqrt unswap-sqr
Counts
4 → 116
Calls
4 calls:
21.0ms
(* (* x 3.0) x)
95.0ms
(* (sqrt (* (* x 3.0) x)) (sqrt (* (* x 3.0) x)))
15.0ms
(sqrt (* (* x 3.0) x))
35.0ms
(sqrt (* (* x 3.0) x))

series234.0ms

Counts
4 → 12
Calls
4 calls:
34.0ms
(* (* x 3.0) x)
99.0ms
(* (sqrt (* (* x 3.0) x)) (sqrt (* (* x 3.0) x)))
61.0ms
(sqrt (* (* x 3.0) x))
40.0ms
(sqrt (* (* x 3.0) x))

simplify3.2s

Counts
128 → 128
Iterations

Useful iterations: done (3.2s)

IterNodesCost
0881171
1175809
2567696
32088617
done5000607

prune369.0ms

Pruning

7 alts after pruning (3 fresh and 4 done)

Merged error: 0b

regimes2.0ms