Details

Time bar (total: 20.6s)Debug log

sample53.0ms

Algorithm
intervals
Results
38.0ms331×body80valid

simplify42.0ms

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

prune20.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 2.3b

localize33.0ms

Local error

Found 3 expressions with local error:

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

rewrite23.0ms

Algorithm
rewrite-expression-head
Rules
add-cube-cbrt
*-un-lft-identity
add-sqr-sqrt
add-log-exp
div-inv
prod-diff
associate-*l*
fma-neg
associate-/l*
log1p-expm1-u
add-exp-log
associate-*l/
add-cbrt-cube
pow1
expm1-log1p-u
associate-/l/
sub-div
flip--
flip-+
frac-sub
*-commutative
diff-log
flip3--
flip3-+
frac-2neg
sub-neg
clear-num
Calls
3 calls:
Slowest
13.0ms
(- (/ (+ x 4) y) (* (/ x y) z))
5.0ms
(/ (+ x 4) y)
5.0ms
(* (/ x y) z)

series73.0ms

Calls
3 calls:
Slowest
36.0ms
(- (/ (+ x 4) y) (* (/ x y) z))
22.0ms
(* (/ x y) z)
14.0ms
(/ (+ x 4) y)

simplify1.0s

Calls
31 calls:
Slowest
207.0ms
(fma (+ x 4) (/ 1 y) (- (* z (/ x y))))
123.0ms
(- (* (+ x 4) y) (* y (* x z)))
113.0ms
(- (+ (/ x y) (* 4 (/ 1 y))) (/ (* x z) y))
83.0ms
(- (+ (/ x y) (* 4 (/ 1 y))) (/ (* x z) y))
71.0ms
(- (+ (/ x y) (* 4 (/ 1 y))) (/ (* x z) y))

prune647.0ms

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 0.0b

localize19.0ms

Local error

Found 3 expressions with local error:

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

rewrite19.0ms

Algorithm
rewrite-expression-head
Rules
add-cube-cbrt
*-un-lft-identity
add-sqr-sqrt
add-log-exp
div-inv
prod-diff
associate-*l*
fma-neg
associate-/l*
log1p-expm1-u
add-exp-log
associate-*l/
add-cbrt-cube
pow1
expm1-log1p-u
associate-/l/
sub-div
flip--
flip-+
frac-sub
*-commutative
diff-log
flip3--
flip3-+
frac-2neg
sub-neg
clear-num
Calls
3 calls:
Slowest
13.0ms
(- (/ (+ 4 x) y) (* (/ z y) x))
3.0ms
(/ (+ 4 x) y)
2.0ms
(* (/ z y) x)

series55.0ms

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

simplify1.0s

Calls
31 calls:
Slowest
190.0ms
(fma (+ 4 x) (/ 1 y) (- (* x (/ z y))))
154.0ms
(- (* (+ 4 x) y) (* y (* z x)))
93.0ms
(- (+ (/ x y) (* 4 (/ 1 y))) (/ (* x z) y))
85.0ms
(- (+ (/ x y) (* 4 (/ 1 y))) (/ (* x z) y))
80.0ms
(- (+ (/ x y) (* 4 (/ 1 y))) (/ (* x z) y))

prune638.0ms

Pruning

5 alts after pruning (3 fresh and 2 done)

Merged error: 0b

localize32.0ms

Local error

Found 3 expressions with local error:

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

rewrite20.0ms

Algorithm
rewrite-expression-head
Rules
20×prod-diff
17×*-un-lft-identity
17×add-sqr-sqrt
15×add-cube-cbrt
13×div-inv
add-log-exp
associate-/r/
fma-neg
associate-/r*
associate-/l*
log1p-expm1-u
add-exp-log
add-cbrt-cube
pow1
expm1-log1p-u
associate-/l/
frac-2neg
clear-num
difference-of-squares
distribute-lft-out--
flip--
flip-+
frac-sub
diff-log
flip3--
flip3-+
sub-neg
Calls
3 calls:
Slowest
12.0ms
(- (/ (+ x 4) y) (/ x (/ y z)))
5.0ms
(/ (+ x 4) y)
1.0ms
(/ x (/ y z))

series88.0ms

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

simplify4.6s

Calls
66 calls:
Slowest
569.0ms
(fma (+ x 4) (/ 1 y) (- (* (/ x (/ y z)) 1)))
217.0ms
(fma 1 (/ (+ x 4) y) (- (* (/ 1 (/ y z)) x)))
186.0ms
(fma (- (/ 1 (/ y z))) x (* (/ 1 (/ y z)) x))
184.0ms
(fma (* (cbrt (/ (+ x 4) y)) (cbrt (/ (+ x 4) y))) (cbrt (/ (+ x 4) y)) (- (* (/ 1 (/ y z)) x)))
171.0ms
(fma (- (/ 1 (/ y z))) x (* (/ 1 (/ y z)) x))

prune889.0ms

Pruning

5 alts after pruning (2 fresh and 3 done)

Merged error: 0b

localize22.0ms

Local error

Found 4 expressions with local error:

5.0b
(* (/ z y) x)
5.0b
(* (/ z y) x)
0.3b
(* (sqrt (- (/ (+ 4 x) y) (* (/ z y) x))) (sqrt (- (/ (+ 4 x) y) (* (/ z y) x))))
0.1b
(sqrt (- (/ (+ 4 x) y) (* (/ z y) x)))

rewrite38.0ms

Algorithm
rewrite-expression-head
Rules
44×sqrt-div
28×associate-*l/
16×frac-times
14×associate-*l*
12×add-sqr-sqrt
11×sub-div
11×flip--
11×add-cube-cbrt
11×frac-sub
11×flip3--
11×*-un-lft-identity
sqrt-prod
pow1
add-exp-log
associate-*r*
add-cbrt-cube
pow1/2
add-log-exp
log1p-expm1-u
associate-*r/
expm1-log1p-u
*-commutative
div-inv
pow-prod-up
pow-prod-down
cbrt-unprod
prod-exp
sqrt-unprod
pow-plus
rem-square-sqrt
rem-sqrt-square
pow2
Calls
4 calls:
Slowest
19.0ms
(* (sqrt (- (/ (+ 4 x) y) (* (/ z y) x))) (sqrt (- (/ (+ 4 x) y) (* (/ z y) x))))
6.0ms
(sqrt (- (/ (+ 4 x) y) (* (/ z y) x)))
5.0ms
(* (/ z y) x)
4.0ms
(* (/ z y) x)

series164.0ms

Calls
4 calls:
Slowest
99.0ms
(sqrt (- (/ (+ 4 x) y) (* (/ z y) x)))
26.0ms
(* (sqrt (- (/ (+ 4 x) y) (* (/ z y) x))) (sqrt (- (/ (+ 4 x) y) (* (/ z y) x))))
21.0ms
(* (/ z y) x)
18.0ms
(* (/ z y) x)

simplify7.9s

Calls
89 calls:
Slowest
413.0ms
(* (sqrt (- (pow (/ (+ 4 x) y) 3) (pow (* (/ z y) x) 3))) (sqrt (- (/ (+ 4 x) y) (* (/ z y) x))))
377.0ms
(* (sqrt (- (pow (/ (+ 4 x) y) 3) (pow (* (/ z y) x) 3))) (sqrt (- (+ 4 x) (* z x))))
377.0ms
(* (sqrt (- (+ 4 x) (* z x))) (sqrt (- (pow (/ (+ 4 x) y) 3) (pow (* (/ z y) x) 3))))
347.0ms
(* (sqrt (- (* (/ (+ 4 x) y) (/ (+ 4 x) y)) (* (* (/ z y) x) (* (/ z y) x)))) (sqrt (- (* (/ (+ 4 x) y) (/ (+ 4 x) y)) (* (* (/ z y) x) (* (/ z y) x)))))
344.0ms
(sqrt (- (pow (/ (+ 4 x) y) 3) (pow (* (/ z y) x) 3)))

prune1.5s

Pruning

5 alts after pruning (1 fresh and 4 done)

Merged error: 0b

regimes267.0ms

Accuracy

96.5% (0.1b remaining)

Error of 0.1b against oracle of 0.0b and baseline of 2.9b

bsearch6.0ms

end0.0ms

sample1.5s

Algorithm
intervals
Results
1.2s10166×body80valid