Details

Time bar (total: 12.4s)

sample44.0ms

Algorithm
intervals
Results
24.0ms334×body80valid

simplify81.0ms

Counts
1 → 1
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01012
11612
22912
34212
44912
55512
66012
76212
done6212

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 2.2b

localize10.0ms

Local error

Found 3 expressions with local error:

0.0b
(/ (+ x 4.0) y)
0.0b
(- (/ (+ x 4.0) y) (* (/ x y) z))
3.4b
(* (/ x y) z)

rewrite154.0ms

Algorithm
rewrite-expression-head
Rules
56×*-un-lft-identity
46×times-frac
41×add-sqr-sqrt
36×add-cube-cbrt
16×fma-neg prod-diff
13×associate-*l*
10×add-exp-log add-cbrt-cube distribute-lft-out
pow1 add-log-exp
div-inv associate-/l*
expm1-log1p-u associate-*r* associate-*l/ associate-/r* log1p-expm1-u
cbrt-undiv div-exp prod-exp cbrt-unprod associate-/l/ unswap-sqr
sub-neg flip3-- frac-2neg flip3-+ diff-log pow-prod-down clear-num *-commutative frac-sub flip-- flip-+ sub-div
Counts
3 → 117
Calls
3 calls:
29.0ms
(/ (+ x 4.0) y)
97.0ms
(- (/ (+ x 4.0) y) (* (/ x y) z))
22.0ms
(* (/ x y) z)

series104.0ms

Counts
3 → 9
Calls
3 calls:
29.0ms
(/ (+ x 4.0) y)
51.0ms
(- (/ (+ x 4.0) y) (* (/ x y) z))
23.0ms
(* (/ x y) z)

simplify2.8s

Counts
126 → 126
Iterations

Useful iterations: done (2.8s)

IterNodesCost
01651542
13981481
211521348
337461275
done50001256

prune441.0ms

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 0.0b

localize22.0ms

Local error

Found 1 expressions with local error:

2.2b
(fma (/ x y) (- 1 z) (/ 4.0 y))

rewrite1.0ms

Algorithm
rewrite-expression-head
Rules
pow1 add-exp-log add-sqr-sqrt expm1-log1p-u add-cube-cbrt *-un-lft-identity add-cbrt-cube fma-udef log1p-expm1-u add-log-exp
Counts
1 → 10
Calls
1 calls:
1.0ms
(fma (/ x y) (- 1 z) (/ 4.0 y))

series49.0ms

Counts
1 → 3
Calls
1 calls:
49.0ms
(fma (/ x y) (- 1 z) (/ 4.0 y))

simplify1.4s

Counts
13 → 13
Iterations

Useful iterations: 3 (76.0ms)

IterNodesCost
025184
146181
2104158
3280149
41299149
done5000149

prune75.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0.0b

localize13.0ms

Local error

Found 2 expressions with local error:

0.1b
(fma (+ x 4.0) (/ 1 y) (- (* (/ x y) z)))
3.4b
(* (/ x y) z)

rewrite42.0ms

Algorithm
rewrite-expression-head
Rules
15×add-sqr-sqrt
13×associate-*l*
10×add-cube-cbrt *-un-lft-identity times-frac
add-exp-log add-cbrt-cube
pow1
associate-*r*
expm1-log1p-u prod-exp cbrt-unprod log1p-expm1-u add-log-exp unswap-sqr
cbrt-undiv div-exp pow-prod-down associate-*l/ *-commutative fma-udef div-inv
Counts
2 → 44
Calls
2 calls:
1.0ms
(fma (+ x 4.0) (/ 1 y) (- (* (/ x y) z)))
40.0ms
(* (/ x y) z)

series87.0ms

Counts
2 → 6
Calls
2 calls:
63.0ms
(fma (+ x 4.0) (/ 1 y) (- (* (/ x y) z)))
24.0ms
(* (/ x y) z)

simplify3.7s

Counts
50 → 50
Iterations

Useful iterations: 3 (657.0ms)

IterNodesCost
086493
1189485
2539396
31569383
done5000383

prune298.0ms

Pruning

5 alts after pruning (3 fresh and 2 done)

Merged error: 0.0b

localize15.0ms

Local error

Found 3 expressions with local error:

0.0b
(/ (+ x 4.0) y)
0.0b
(- (/ (+ x 4.0) y) (* x (/ z y)))
5.6b
(* x (/ z y))

rewrite119.0ms

Algorithm
rewrite-expression-head
Rules
56×*-un-lft-identity
46×times-frac
41×add-sqr-sqrt
36×add-cube-cbrt
16×fma-neg prod-diff
13×associate-*r*
10×add-exp-log add-cbrt-cube distribute-lft-out
pow1 add-log-exp
div-inv associate-/l*
expm1-log1p-u associate-*r/ associate-*l* associate-/r* log1p-expm1-u
cbrt-undiv div-exp prod-exp cbrt-unprod associate-/l/ unswap-sqr
sub-neg flip3-- frac-2neg flip3-+ diff-log pow-prod-down clear-num *-commutative frac-sub flip-- flip-+ sub-div
Counts
3 → 117
Calls
3 calls:
19.0ms
(/ (+ x 4.0) y)
81.0ms
(- (/ (+ x 4.0) y) (* x (/ z y)))
15.0ms
(* x (/ z y))

series120.0ms

Counts
3 → 9
Calls
3 calls:
33.0ms
(/ (+ x 4.0) y)
54.0ms
(- (/ (+ x 4.0) y) (* x (/ z y)))
32.0ms
(* x (/ z y))

simplify2.2s

Counts
126 → 126
Iterations

Useful iterations: done (2.2s)

IterNodesCost
01651558
14051485
211391360
335701306
done50001287

prune379.0ms

Pruning

6 alts after pruning (3 fresh and 3 done)

Merged error: 0.0b

regimes143.0ms

bsearch1.0ms