Details

Time bar (total: 24.9s)

sample41.0ms

Algorithm
intervals
Results
12.0ms188×body80valid
6.0ms27×body640valid
3.0ms19×body320valid
3.0ms10×body1280valid
1.0ms12×body160valid

simplify10.6s

Counts
1 → 1
Iterations

Useful iterations: 4 (69.0ms)

IterNodesCost
0811
11611
23511
37611
413110
524210
630910
737410
842410
951310
1058210
1159110
1261010
1364810
1477710
1591510
16123310
17168910
18227010
19243610
20244210
done244210

prune6.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 15.6b

localize7.0ms

Local error

Found 2 expressions with local error:

0.0b
(/ (- x 1.0) (+ y 1.0))
15.9b
(fma (/ (- x 1.0) (+ y 1.0)) y 1.0)

rewrite40.0ms

Algorithm
rewrite-expression-head
Rules
35×*-un-lft-identity
23×add-sqr-sqrt
20×times-frac
13×add-cube-cbrt
distribute-lft-out
associate-/l* distribute-lft-out-- difference-of-squares
add-exp-log associate-/r* add-cbrt-cube
pow1 expm1-log1p-u associate-/r/ log1p-expm1-u associate-/l/ add-log-exp
cbrt-undiv flip3-- frac-2neg flip3-+ div-sub div-exp clear-num flip-- flip-+ fma-udef div-inv
Counts
2 → 58
Calls
2 calls:
37.0ms
(/ (- x 1.0) (+ y 1.0))
0.0ms
(fma (/ (- x 1.0) (+ y 1.0)) y 1.0)

series126.0ms

Counts
2 → 6
Calls
2 calls:
37.0ms
(/ (- x 1.0) (+ y 1.0))
89.0ms
(fma (/ (- x 1.0) (+ y 1.0)) y 1.0)

simplify2.3s

Counts
64 → 64
Iterations

Useful iterations: done (2.3s)

IterNodesCost
0114834
1277799
2718745
31747739
done5000737

prune196.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0.1b

localize17.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ 1.0 (+ y 1.0))
0.0b
(/ x (+ y 1.0))
0.0b
(- (/ x (+ y 1.0)) (/ 1.0 (+ y 1.0)))
15.9b
(fma (- (/ x (+ y 1.0)) (/ 1.0 (+ y 1.0))) y 1.0)

rewrite217.0ms

Algorithm
rewrite-expression-head
Rules
582×*-un-lft-identity
484×times-frac
332×add-sqr-sqrt
324×prod-diff
320×add-cube-cbrt
123×distribute-lft-out
82×associate-/r/
41×flip3-+ flip-+ div-inv
18×fma-neg
add-exp-log associate-/r* add-cbrt-cube
distribute-lft-out--
associate-/l* add-log-exp
pow1 expm1-log1p-u log1p-expm1-u difference-of-squares
distribute-rgt-out--
cbrt-undiv frac-2neg div-exp clear-num
sub-neg flip3-- diff-log frac-sub flip-- fma-udef sub-div
Counts
4 → 452
Calls
4 calls:
12.0ms
(/ 1.0 (+ y 1.0))
14.0ms
(/ x (+ y 1.0))
145.0ms
(- (/ x (+ y 1.0)) (/ 1.0 (+ y 1.0)))
1.0ms
(fma (- (/ x (+ y 1.0)) (/ 1.0 (+ y 1.0))) y 1.0)

series221.0ms

Counts
4 → 12
Calls
4 calls:
34.0ms
(/ 1.0 (+ y 1.0))
58.0ms
(/ x (+ y 1.0))
38.0ms
(- (/ x (+ y 1.0)) (/ 1.0 (+ y 1.0)))
92.0ms
(fma (- (/ x (+ y 1.0)) (/ 1.0 (+ y 1.0))) y 1.0)

simplify2.7s

Counts
464 → 464
Iterations

Useful iterations: done (2.6s)

IterNodesCost
047120743
1105418233
2239313844
done500010461

prune811.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0.1b

localize24.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ 1 (+ y 1.0))
0.1b
(* (/ 1 (+ y 1.0)) (- x 1.0))
0.1b
(* (* (/ 1 (+ y 1.0)) (- x 1.0)) y)
4.5b
(+ (* (* (/ 1 (+ y 1.0)) (- x 1.0)) y) 1.0)

rewrite292.0ms

Algorithm
rewrite-expression-head
Rules
52×*-un-lft-identity
44×add-sqr-sqrt
35×add-cube-cbrt
32×add-exp-log
26×times-frac
20×add-cbrt-cube
19×associate-*l*
18×prod-diff
13×prod-exp
12×pow1
11×distribute-rgt-in distribute-lft-in
associate-*r*
associate-*l/ cbrt-unprod distribute-lft-out
div-exp add-log-exp
expm1-log1p-u frac-times flip3-- associate-*r/ pow-prod-down associate-/r* associate-/r/ flip-- log1p-expm1-u
cbrt-undiv rec-exp flip3-+ 1-exp flip-+ associate-/l* unswap-sqr
sub-neg *-commutative div-inv
+-commutative pow-flip fma-def frac-2neg clear-num sum-log distribute-lft-out-- inv-pow difference-of-squares
Counts
4 → 152
Calls
4 calls:
26.0ms
(/ 1 (+ y 1.0))
54.0ms
(* (/ 1 (+ y 1.0)) (- x 1.0))
112.0ms
(* (* (/ 1 (+ y 1.0)) (- x 1.0)) y)
86.0ms
(+ (* (* (/ 1 (+ y 1.0)) (- x 1.0)) y) 1.0)

series278.0ms

Counts
4 → 12
Calls
4 calls:
27.0ms
(/ 1 (+ y 1.0))
45.0ms
(* (/ 1 (+ y 1.0)) (- x 1.0))
72.0ms
(* (* (/ 1 (+ y 1.0)) (- x 1.0)) y)
133.0ms
(+ (* (* (/ 1 (+ y 1.0)) (- x 1.0)) y) 1.0)

simplify2.5s

Counts
164 → 164
Iterations

Useful iterations: done (2.5s)

IterNodesCost
02602533
16482014
218951686
done50001644

prune390.0ms

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0.1b

localize16.0ms

Local error

Found 2 expressions with local error:

0.0b
(fma 1.0 (- (/ 1 y) (/ x y)) x)
0.3b
(- (/ 1 y) (/ x y))

rewrite87.0ms

Algorithm
rewrite-expression-head
Rules
257×times-frac
210×add-sqr-sqrt
207×*-un-lft-identity
193×add-cube-cbrt
169×prod-diff
32×div-inv
13×fma-neg
difference-of-squares
distribute-lft-out--
add-log-exp
distribute-rgt-out--
pow1 add-exp-log expm1-log1p-u add-cbrt-cube log1p-expm1-u
sub-neg flip3-- diff-log frac-sub flip-- fma-udef sub-div
Counts
2 → 222
Calls
2 calls:
0.0ms
(fma 1.0 (- (/ 1 y) (/ x y)) x)
63.0ms
(- (/ 1 y) (/ x y))

series86.0ms

Counts
2 → 6
Calls
2 calls:
49.0ms
(fma 1.0 (- (/ 1 y) (/ x y)) x)
37.0ms
(- (/ 1 y) (/ x y))

simplify3.5s

Counts
228 → 228
Iterations

Useful iterations: 3 (1.8s)

IterNodesCost
03158117
16886842
213284644
341843416
done50003416

prune229.0ms

Pruning

6 alts after pruning (3 fresh and 3 done)

Merged error: 0.1b

regimes141.0ms

bsearch2.0ms