Details

Time bar (total: 15.3s)

sample33.0ms

Algorithm
intervals
Results
18.0ms374×body80valid

simplify5.8s

Counts
1 → 1
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
079
1139
2359
3809
41129
51179
61349
71779
83139
97719
1025119
done50009

prune3.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.2b

localize13.0ms

Local error

Found 1 expressions with local error:

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

rewrite59.0ms

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

series102.0ms

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

simplify2.2s

Counts
28 → 28
Iterations

Useful iterations: 2 (128.0ms)

IterNodesCost
057367
1161352
2594294
32367294
done5002294

prune73.0ms

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 0b

localize16.0ms

Local error

Found 3 expressions with local error:

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

rewrite111.0ms

Algorithm
rewrite-expression-head
Rules
16×add-sqr-sqrt
15×associate-*r*
13×add-exp-log
10×add-cbrt-cube
pow1 add-cube-cbrt *-un-lft-identity
add-log-exp
prod-exp
unswap-sqr
unpow-prod-down cube-prod associate-*l* cbrt-unprod
pow-prod-down
sum-log *-commutative sqr-pow
+-commutative neg-sub0 cube-mult pow-to-exp associate-+r- flip3-+ unpow3 unsub-neg neg-log pow-exp flip-+
Counts
3 → 65
Calls
3 calls:
26.0ms
(* 2.0 (pow x 3))
44.0ms
(+ (* (* x x) 3.0) (- (* 2.0 (pow x 3))))
38.0ms
(* (* x x) 3.0)

series237.0ms

Counts
3 → 9
Calls
3 calls:
62.0ms
(* 2.0 (pow x 3))
138.0ms
(+ (* (* x x) 3.0) (- (* 2.0 (pow x 3))))
37.0ms
(* (* x x) 3.0)

simplify1.4s

Counts
74 → 74
Iterations

Useful iterations: done (1.4s)

IterNodesCost
0110718
1275620
21029568
done5001536

prune194.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
(* (- 3.0 (* 2.0 x)) x)
0.2b
(* x (* (- 3.0 (* 2.0 x)) x))

rewrite55.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 associate-*l/ prod-exp cbrt-unprod
flip3-- associate-*r/ *-commutative flip-- add-log-exp
unswap-sqr
Counts
2 → 40
Calls
2 calls:
21.0ms
(* (- 3.0 (* 2.0 x)) x)
32.0ms
(* x (* (- 3.0 (* 2.0 x)) x))

series159.0ms

Counts
2 → 6
Calls
2 calls:
76.0ms
(* (- 3.0 (* 2.0 x)) x)
83.0ms
(* x (* (- 3.0 (* 2.0 x)) x))

simplify2.1s

Counts
46 → 46
Iterations

Useful iterations: 3 (825.0ms)

IterNodesCost
068533
1166519
2580449
32290433
done5000433

prune105.0ms

Pruning

6 alts after pruning (3 fresh and 3 done)

Merged error: 0b

localize16.0ms

Local error

Found 4 expressions with local error:

0.0b
(- (* 3.0 3.0) (* (* 2.0 x) (* 2.0 x)))
0.1b
(* (- (* 3.0 3.0) (* (* 2.0 x) (* 2.0 x))) x)
0.2b
(* x (* (- (* 3.0 3.0) (* (* 2.0 x) (* 2.0 x))) x))
2.3b
(/ (* x (* (- (* 3.0 3.0) (* (* 2.0 x) (* 2.0 x))) x)) (+ 3.0 (* 2.0 x)))

rewrite195.0ms

Algorithm
rewrite-expression-head
Rules
20×add-exp-log add-cbrt-cube
11×pow1 add-sqr-sqrt
add-cube-cbrt *-un-lft-identity
associate-*l* prod-exp cbrt-unprod
associate-*l/ add-log-exp
flip3-- associate-*r/ associate-*r* pow-prod-down flip--
cbrt-undiv times-frac div-exp associate-/r*
associate-/r/ *-commutative associate-/l/ difference-of-squares
sub-neg frac-2neg flip3-+ diff-log clear-num flip-+ div-inv associate-/l* unswap-sqr
Counts
4 → 81
Calls
4 calls:
21.0ms
(- (* 3.0 3.0) (* (* 2.0 x) (* 2.0 x)))
55.0ms
(* (- (* 3.0 3.0) (* (* 2.0 x) (* 2.0 x))) x)
55.0ms
(* x (* (- (* 3.0 3.0) (* (* 2.0 x) (* 2.0 x))) x))
62.0ms
(/ (* x (* (- (* 3.0 3.0) (* (* 2.0 x) (* 2.0 x))) x)) (+ 3.0 (* 2.0 x)))

series616.0ms

Counts
4 → 12
Calls
4 calls:
82.0ms
(- (* 3.0 3.0) (* (* 2.0 x) (* 2.0 x)))
148.0ms
(* (- (* 3.0 3.0) (* (* 2.0 x) (* 2.0 x))) x)
145.0ms
(* x (* (- (* 3.0 3.0) (* (* 2.0 x) (* 2.0 x))) x))
241.0ms
(/ (* x (* (- (* 3.0 3.0) (* (* 2.0 x) (* 2.0 x))) x)) (+ 3.0 (* 2.0 x)))

simplify1.7s

Counts
93 → 93
Iterations

Useful iterations: done (1.7s)

IterNodesCost
01331974
13661899
215891537
done50021343

prune221.0ms

Pruning

5 alts after pruning (2 fresh and 3 done)

Merged error: 0b

regimes1.0ms