Details

Time bar (total: 6.5m)

sample68.0ms

Algorithm
intervals
Results
50.0ms335×body80valid

simplify67.0ms

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

prune20.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 1.6b

localize18.0ms

Local error

Found 2 expressions with local error:

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

rewrite88.0ms

Algorithm
rewrite-expression-head
Rules
38×*-un-lft-identity
34×times-frac
31×add-sqr-sqrt
26×add-cube-cbrt
16×fma-neg prod-diff
13×associate-*l*
add-cbrt-cube add-exp-log
distribute-lft-out
pow1 add-log-exp
associate-*r* associate-*l/ div-inv
expm1-log1p-u prod-exp cbrt-unprod insert-posit16 log1p-expm1-u unswap-sqr
cbrt-undiv sub-neg flip3-- diff-log div-exp pow-prod-down *-commutative frac-sub flip-- sub-div
Counts
2 → 84
Calls
2 calls:
Slowest
75.0ms
(- (/ (+ x 4) y) (* (/ x y) z))
11.0ms
(* (/ x y) z)

series86.0ms

Counts
2 → 6
Calls
2 calls:
Slowest
49.0ms
(- (/ (+ x 4) y) (* (/ x y) z))
37.0ms
(* (/ x y) z)

simplify5.3s

Counts
80 → 90
Calls
80 calls:
Slowest
263.0ms
(/ (exp (/ (+ x 4) y)) (exp (* (/ x y) z)))
245.0ms
(fma (/ 1 (sqrt y)) (/ (+ x 4) (sqrt y)) (- (* z (/ x y))))
244.0ms
(* (* (* (/ x y) (/ x y)) (/ x y)) (* (* z z) z))
228.0ms
(fma (/ 1 (sqrt y)) (/ (+ x 4) (sqrt y)) (- (* z (/ x y))))
224.0ms
(fma (/ (* (cbrt (+ x 4)) (cbrt (+ x 4))) (* (cbrt y) (cbrt y))) (/ (cbrt (+ x 4)) (cbrt y)) (- (* z (/ x y))))

prune1.1s

Pruning

6 alts after pruning (6 fresh and 0 done)

Merged error: 0.0b

localize25.0ms

Local error

Found 2 expressions with local error:

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

rewrite133.0ms

Algorithm
rewrite-expression-head
Rules
1684×times-frac
1245×*-un-lft-identity
985×add-sqr-sqrt
964×add-cube-cbrt
704×prod-diff
136×distribute-lft-out
114×div-inv
17×associate-/r/
16×fma-neg
13×associate-/r*
add-cbrt-cube add-exp-log
difference-of-squares
add-log-exp
cbrt-undiv div-exp associate-/l* distribute-lft-out--
expm1-log1p-u pow1 insert-posit16 log1p-expm1-u
clear-num sub-neg frac-2neg flip3-- diff-log frac-sub flip--
Counts
2 → 818
Calls
2 calls:
Slowest
86.0ms
(- (/ (+ 4 x) y) (/ z (/ y x)))
13.0ms
(/ z (/ y x))

series109.0ms

Counts
2 → 6
Calls
2 calls:
Slowest
73.0ms
(- (/ (+ 4 x) y) (/ z (/ y x)))
36.0ms
(/ z (/ y x))

simplify6.2m

Counts
1546 → 824
Calls
1546 calls:
Slowest
988.0ms
(fma (/ (* (cbrt (+ 4 x)) (cbrt (+ 4 x))) (* (cbrt y) (cbrt y))) (/ (cbrt (+ 4 x)) (cbrt y)) (- (* (/ (sqrt z) (/ y (cbrt x))) (/ (sqrt z) (/ 1 (* (cbrt x) (cbrt x)))))))
877.0ms
(fma (- (/ z (cbrt (/ y x)))) (/ 1 (* (cbrt (/ y x)) (cbrt (/ y x)))) (* (/ z (cbrt (/ y x))) (/ 1 (* (cbrt (/ y x)) (cbrt (/ y x))))))
877.0ms
(fma (- (/ (cbrt z) (/ y (sqrt x)))) (/ (* (cbrt z) (cbrt z)) (/ 1 (sqrt x))) (* (/ (cbrt z) (/ y (sqrt x))) (/ (* (cbrt z) (cbrt z)) (/ 1 (sqrt x)))))
867.0ms
(fma (/ 1 1) (/ (+ 4 x) y) (- (* (/ (sqrt z) (/ (cbrt y) x)) (/ (sqrt z) (/ (* (cbrt y) (cbrt y)) 1)))))
762.0ms
(fma 1 (/ (+ 4 x) y) (- (* (/ (sqrt z) (/ y x)) (/ (sqrt z) (/ 1 1)))))

prune8.5s

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0b

localize22.0ms

Local error

Found 2 expressions with local error:

2.9b
(* (/ x y) z)
0.1b
(fma (+ x 4) (/ 1 y) (- (* (/ x y) z)))

rewrite19.0ms

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

series81.0ms

Counts
2 → 6
Calls
2 calls:
Slowest
54.0ms
(fma (+ x 4) (/ 1 y) (- (* (/ x y) z)))
27.0ms
(* (/ x y) z)

simplify850.0ms

Counts
29 → 52
Calls
29 calls:
Slowest
176.0ms
(* (* (* (/ x y) (/ x y)) (/ x y)) (* (* z z) z))
103.0ms
(- (+ (/ x y) (* 4 (/ 1 y))) (/ (* x z) y))
102.0ms
(- (+ (/ x y) (* 4 (/ 1 y))) (/ (* x z) y))
101.0ms
(- (+ (/ x y) (* 4 (/ 1 y))) (/ (* x z) y))
84.0ms
(* (/ (* (* x x) x) (* (* y y) y)) (* (* z z) z))

prune502.0ms

Pruning

5 alts after pruning (3 fresh and 2 done)

Merged error: 0b

localize31.0ms

Local error

Found 4 expressions with local error:

4.9b
(* (/ (* (cbrt z) (cbrt z)) y) (* x (cbrt z)))
0.6b
(cbrt z)
0.6b
(cbrt z)
0.6b
(cbrt z)

rewrite41.0ms

Algorithm
rewrite-expression-head
Rules
25×add-exp-log
18×add-cbrt-cube
11×prod-exp cbrt-unprod
cbrt-prod add-sqr-sqrt pow1 *-un-lft-identity add-cube-cbrt
associate-*l*
expm1-log1p-u cbrt-undiv div-exp insert-posit16 log1p-expm1-u add-log-exp
times-frac pow1/3 pow-prod-down
associate-*r* associate-*l/ *-commutative div-inv
Counts
4 → 76
Calls
4 calls:
Slowest
38.0ms
(* (/ (* (cbrt z) (cbrt z)) y) (* x (cbrt z)))
1.0ms
(cbrt z)
1.0ms
(cbrt z)
1.0ms
(cbrt z)

series721.0ms

Counts
4 → 12
Calls
4 calls:
Slowest
230.0ms
(cbrt z)
220.0ms
(cbrt z)
219.0ms
(cbrt z)
53.0ms
(* (/ (* (cbrt z) (cbrt z)) y) (* x (cbrt z)))

simplify3.3s

Counts
43 → 88
Calls
43 calls:
Slowest
296.0ms
(* (/ (* (* (* (cbrt z) (cbrt z)) (* (cbrt z) (cbrt z))) (* (cbrt z) (cbrt z))) (* (* y y) y)) (* (* (* x (cbrt z)) (* x (cbrt z))) (* x (cbrt z))))
285.0ms
(+ (- (log (* (cbrt z) (cbrt z))) (log y)) (+ (log x) (log (cbrt z))))
279.0ms
(+ (- (+ (log (cbrt z)) (log (cbrt z))) (log y)) (log (* x (cbrt z))))
271.0ms
(+ (- (+ (log (cbrt z)) (log (cbrt z))) (log y)) (+ (log x) (log (cbrt z))))
268.0ms
(+ (- (log (* (cbrt z) (cbrt z))) (log y)) (log (* x (cbrt z))))

prune926.0ms

Pruning

5 alts after pruning (2 fresh and 3 done)

Merged error: 0b

regimes136.0ms

Accuracy

-9% (1.8b remaining)

Error of 1.8b against oracle of 0.0b and baseline of 1.6b

bsearch54.0ms

end0.0ms

sample1.4s

Algorithm
intervals
Results
1.2s10133×body80valid