Details

Time bar (total: 10.4s)

sample26.0ms

Algorithm
intervals
Results
13.0ms353×body80valid

simplify170.0ms

Counts
1 → 1
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
079
1147
2337
3737
41097
51217
61237
done1237

prune7.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.0b

localize7.0ms

Local error

Found 2 expressions with local error:

0.0b
(- (* x x) (* x y))
0.0b
(* 2.0 (- (* x x) (* x y)))

rewrite53.0ms

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

series145.0ms

Counts
2 → 6
Calls
2 calls:
61.0ms
(- (* x x) (* x y))
84.0ms
(* 2.0 (- (* x x) (* x y)))

simplify2.2s

Counts
52 → 52
Iterations

Useful iterations: done (2.2s)

IterNodesCost
077609
1178488
2562439
32522439
done5000424

prune100.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0b

localize6.0ms

Local error

Found 1 expressions with local error:

0.0b
(* (* 2.0 x) (- x y))

rewrite52.0ms

Algorithm
rewrite-expression-head
Rules
18×prod-diff
16×add-sqr-sqrt *-un-lft-identity
14×add-cube-cbrt
11×distribute-rgt-in distribute-lft-in
pow1 add-exp-log add-cbrt-cube
associate-*r*
pow-prod-down prod-exp cbrt-unprod
sub-neg associate-*r/
expm1-log1p-u flip3-- associate-*l* *-commutative flip-- log1p-expm1-u distribute-lft-out-- add-log-exp difference-of-squares
Counts
1 → 46
Calls
1 calls:
48.0ms
(* (* 2.0 x) (- x y))

series76.0ms

Counts
1 → 3
Calls
1 calls:
75.0ms
(* (* 2.0 x) (- x y))

simplify3.8s

Counts
49 → 49
Iterations

Useful iterations: done (3.8s)

IterNodesCost
0112883
1279706
2845570
33389528
done5002510

prune77.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0b

localize9.0ms

Local error

Found 4 expressions with local error:

0.0b
(* x (- x y))
0.2b
(* (sqrt (* x (- x y))) (sqrt (* x (- x y))))
6.8b
(sqrt (* x (- x y)))
6.8b
(sqrt (* x (- x y)))

rewrite192.0ms

Algorithm
rewrite-expression-head
Rules
61×pow1
32×sqrt-pow1
28×add-sqr-sqrt
24×*-un-lft-identity
23×pow-prod-down
22×add-cube-cbrt
20×associate-*r/
18×prod-diff
16×sqrt-div
12×pow1/2
11×distribute-rgt-in distribute-lft-in
10×pow-prod-up
flip3-- associate-*r* flip--
add-exp-log add-cbrt-cube
associate-*l*
sqrt-prod pow-sqr
expm1-log1p-u frac-times swap-sqr log1p-expm1-u add-log-exp
sub-neg associate-*l/ prod-exp *-commutative cbrt-unprod unswap-sqr
pow2 pow-plus sqrt-unprod rem-square-sqrt distribute-lft-out-- difference-of-squares
Counts
4 → 135
Calls
4 calls:
44.0ms
(* x (- x y))
86.0ms
(* (sqrt (* x (- x y))) (sqrt (* x (- x y))))
29.0ms
(sqrt (* x (- x y)))
22.0ms
(sqrt (* x (- x y)))

series290.0ms

Counts
4 → 12
Calls
4 calls:
46.0ms
(* x (- x y))
60.0ms
(* (sqrt (* x (- x y))) (sqrt (* x (- x y))))
104.0ms
(sqrt (* x (- x y)))
80.0ms
(sqrt (* x (- x y)))

simplify2.8s

Counts
147 → 147
Iterations

Useful iterations: done (2.8s)

IterNodesCost
01731909
13171352
27841210
330641126
done50001124

prune397.0ms

Pruning

3 alts after pruning (0 fresh and 3 done)

Merged error: 0b

regimes1.0ms