Details

Time bar (total: 3.6m)

sample48.0ms

Algorithm
intervals
Results
37.0ms326×body80valid

simplify77.0ms

Calls
1 calls:
Slowest
76.0ms
(fabs (- (/ (+ x 4) y) (* (/ x y) z)))

prune11.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 1.5b

localize25.0ms

Local error

Found 3 expressions with local error:

3.2b
(* (/ x y) z)
0.0b
(- (/ (+ x 4) y) (* (/ x y) z))
0.0b
(/ (+ x 4) y)

rewrite160.0ms

Algorithm
rewrite-expression-head
Rules
597×*-un-lft-identity
512×add-sqr-sqrt
487×times-frac
406×add-cube-cbrt
368×prod-diff
228×associate-*l*
124×associate-*l/
108×frac-sub
88×distribute-lft-out
79×associate-/l*
77×associate-/r*
51×associate-*r*
42×div-inv
38×unswap-sqr
25×frac-2neg
23×clear-num
20×associate-/l/
17×*-commutative
16×fma-neg
10×flip3-+ add-cbrt-cube add-exp-log flip-+
distribute-lft-out--
sub-div
difference-of-squares
pow1 add-log-exp
expm1-log1p-u insert-posit16 log1p-expm1-u
cbrt-undiv div-exp prod-exp cbrt-unprod
sub-neg flip3-- diff-log pow-prod-down flip--
Calls
3 calls:
Slowest
97.0ms
(- (/ (+ x 4) y) (* (/ x y) z))
19.0ms
(/ (+ x 4) y)
12.0ms
(* (/ x y) z)

series140.0ms

Calls
3 calls:
Slowest
82.0ms
(- (/ (+ x 4) y) (* (/ x y) z))
33.0ms
(/ (+ x 4) y)
25.0ms
(* (/ x y) z)

simplify3.4m

Calls
1076 calls:
Slowest
810.0ms
(fma (/ (sqrt (+ x 4)) (* (cbrt y) (cbrt y))) (/ (sqrt (+ x 4)) (cbrt y)) (- (* (* (/ (sqrt x) (sqrt y)) z) (/ (sqrt x) (sqrt y)))))
732.0ms
(fma (/ (* (cbrt (+ x 4)) (cbrt (+ x 4))) (* (cbrt y) (cbrt y))) (/ (cbrt (+ x 4)) (cbrt y)) (- (* (* (/ 1 y) z) x)))
712.0ms
(fma (/ 1 (* (cbrt y) (cbrt y))) (/ (+ x 4) (cbrt y)) (- (* (cbrt (* (/ x y) z)) (* (cbrt (* (/ x y) z)) (cbrt (* (/ x y) z))))))
700.0ms
(fma (* (cbrt (/ (+ x 4) y)) (cbrt (/ (+ x 4) y))) (cbrt (/ (+ x 4) y)) (- (* (cbrt z) (* (/ x y) (* (cbrt z) (cbrt z))))))
672.0ms
(fma (/ 1 (* (cbrt y) (cbrt y))) (/ (+ x 4) (cbrt y)) (- (* (* (/ (cbrt x) (sqrt y)) z) (/ (* (cbrt x) (cbrt x)) (sqrt y)))))

prune6.8s

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 0b

localize40.0ms

Local error

Found 1 expressions with local error:

1.5b
(fma (/ x y) (- 1 z) (/ 4 y))

rewrite1.0ms

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

series66.0ms

Calls
1 calls:
Slowest
66.0ms
(fma (/ x y) (- 1 z) (/ 4 y))

simplify421.0ms

Calls
3 calls:
Slowest
149.0ms
(- (+ (/ x y) (* 4 (/ 1 y))) (/ (* x z) y))
147.0ms
(- (+ (/ x y) (* 4 (/ 1 y))) (/ (* x z) y))
124.0ms
(- (+ (/ x y) (* 4 (/ 1 y))) (/ (* x z) y))

prune139.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0b

localize15.0ms

Local error

Found 3 expressions with local error:

3.2b
(/ z (/ y x))
0.0b
(- (/ (+ x 4) y) (/ z (/ y x)))
0.0b
(/ (+ x 4) y)

rewrite201.0ms

Algorithm
rewrite-expression-head
Rules
1900×times-frac
1581×*-un-lft-identity
1227×add-sqr-sqrt
1206×add-cube-cbrt
832×prod-diff
280×associate-/r*
228×frac-sub
183×distribute-lft-out
170×associate-/l*
153×associate-/r/
135×div-inv
50×clear-num frac-2neg
40×associate-/l/
20×flip3-+ flip-+
16×fma-neg
10×add-cbrt-cube add-exp-log
difference-of-squares
add-log-exp
cbrt-undiv div-exp
expm1-log1p-u pow1 insert-posit16 log1p-expm1-u distribute-lft-out--
sub-neg flip3-- diff-log flip--
Calls
3 calls:
Slowest
104.0ms
(- (/ (+ x 4) y) (/ z (/ y x)))
27.0ms
(/ (+ x 4) y)
9.0ms
(/ z (/ y x))

series124.0ms

Calls
3 calls:
Slowest
58.0ms
(- (/ (+ x 4) y) (/ z (/ y x)))
43.0ms
(/ (+ x 4) y)
22.0ms
(/ z (/ y x))