Details

Time bar (total: 33.0s)

sample22.0ms

Algorithm
intervals
Results
7.0ms234×body80valid
3.0ms26×body640valid
2.0ms16×body1280valid
1.0ms17×body320valid
0.0msbody160valid

simplify26.7s

Counts
1 → 1
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
079
1139
2279
3789
42429
55239
69269
716179
821269
927439
1028909
1132109
1232829
1335129
1436409
1538759
1638999
done38999

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 15.3b

localize7.0ms

Local error

Found 2 expressions with local error:

0.0b
(* (- 1.0 x) (- 1.0 y))
1.6b
(+ x (* (- 1.0 x) (- 1.0 y)))

rewrite90.0ms

Algorithm
rewrite-expression-head
Rules
10×add-sqr-sqrt
*-un-lft-identity
flip3-- flip--
associate-*r* associate-*l*
pow1 add-exp-log distribute-rgt-in frac-times add-cube-cbrt sub-neg associate-+r+ distribute-lft-in add-cbrt-cube add-log-exp
associate-*r/ associate-*l/ distribute-lft-out-- difference-of-squares
+-commutative flip3-+ pow-prod-down prod-exp sum-log *-commutative cbrt-unprod flip-+ unswap-sqr
Counts
2 → 49
Calls
2 calls:
73.0ms
(* (- 1.0 x) (- 1.0 y))
14.0ms
(+ x (* (- 1.0 x) (- 1.0 y)))

series78.0ms

Counts
2 → 6
Calls
2 calls:
34.0ms
(* (- 1.0 x) (- 1.0 y))
43.0ms
(+ x (* (- 1.0 x) (- 1.0 y)))

simplify3.8s

Counts
55 → 55
Iterations

Useful iterations: done (3.8s)

IterNodesCost
0101691
1277649
21061617
34798611
done5001607

prune160.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.0b

localize6.0ms

Local error

Found 2 expressions with local error:

0.0b
(+ 1.0 (* y (- x 1.0)))
0.0b
(* y (- x 1.0))

rewrite59.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt
*-un-lft-identity
associate-*r*
pow1 add-exp-log distribute-rgt-in add-cube-cbrt sub-neg associate-+r+ distribute-lft-in add-cbrt-cube add-log-exp
associate-*l*
associate-*r/
+-commutative flip3-- flip3-+ pow-prod-down prod-exp sum-log *-commutative flip-- cbrt-unprod flip-+ distribute-lft-out-- difference-of-squares unswap-sqr
Counts
2 → 41
Calls
2 calls:
14.0ms
(+ 1.0 (* y (- x 1.0)))
43.0ms
(* y (- x 1.0))

series71.0ms

Counts
2 → 6
Calls
2 calls:
28.0ms
(+ 1.0 (* y (- x 1.0)))
44.0ms
(* y (- x 1.0))

simplify1.7s

Counts
47 → 47
Iterations

Useful iterations: 2 (78.0ms)

IterNodesCost
073409
1173381
2506351
32212351
done5000351

prune108.0ms

Pruning

2 alts after pruning (1 fresh and 1 done)

Merged error: 0b

localize18.0ms

Local error

Found 4 expressions with local error:

0.0b
(* y (- x 1.0))
0.0b
(sqrt (+ 1.0 (* y (- x 1.0))))
0.0b
(sqrt (+ 1.0 (* y (- x 1.0))))
0.2b
(* (sqrt (+ 1.0 (* y (- x 1.0)))) (sqrt (+ 1.0 (* y (- x 1.0)))))

rewrite100.0ms

Algorithm
rewrite-expression-head
Rules
34×add-sqr-sqrt
24×sqrt-prod
23×pow1
18×*-un-lft-identity
16×add-cube-cbrt sqrt-div
11×associate-*r*
10×sqrt-pow1 pow1/2
associate-*l*
add-exp-log flip3-+ swap-sqr add-cbrt-cube flip-+
pow-prod-up unswap-sqr
frac-times associate-*r/ pow-prod-down add-log-exp
pow-sqr
distribute-rgt-in sub-neg rem-sqrt-square distribute-lft-in associate-*l/ prod-exp *-commutative cbrt-unprod
pow2 flip3-- pow-plus sqrt-unprod rem-square-sqrt flip-- distribute-lft-out-- difference-of-squares
Counts
4 → 113
Calls
4 calls:
26.0ms
(* y (- x 1.0))
5.0ms
(sqrt (+ 1.0 (* y (- x 1.0))))
9.0ms
(sqrt (+ 1.0 (* y (- x 1.0))))
52.0ms
(* (sqrt (+ 1.0 (* y (- x 1.0)))) (sqrt (+ 1.0 (* y (- x 1.0)))))

series58.0ms

Calls
1 calls:
38.0ms
(* (sqrt (+ 1.0 (* y (- x 1.0)))) (sqrt (+ 1.0 (* y (- x 1.0)))))