Data.Histogram.Bin.BinF:$cfromIndex from histogram-fill-0.8.4.1

Time bar (total: 2.7s)

start0.0ms (0%)

Memory
0.1MiB live, 0.0MiB allocated; 0ms collecting garbage

analyze0.0ms (0%)

Memory
0.4MiB live, 0.4MiB allocated; 0ms collecting garbage
Algorithm
search
Search
ProbabilityValidUnknownPreconditionInfiniteDomainCan'tIter
0%0%99.9%0.1%0%0%0%0
100%99.9%0%0.1%0%0%0%1
Compiler

Compiled 11 to 10 computations (9.1% saved)

sample849.0ms (31.1%)

Memory
20.3MiB live, 768.1MiB allocated; 169ms collecting garbage
Samples
554.0ms8 254×0valid
0.0ms1valid
Precisions
Click to see histograms. Total time spent on operations: 269.0ms
ival-div: 102.0ms (38% of total)
ival-mult: 83.0ms (30.9% of total)
ival-add: 67.0ms (24.9% of total)
ival-true: 6.0ms (2.2% of total)
exact: 5.0ms (1.9% of total)
ival-assert: 3.0ms (1.1% of total)
adjust: 2.0ms (0.7% of total)
Bogosity

explain100.0ms (3.7%)

Memory
9.5MiB live, 201.0MiB allocated; 32ms collecting garbage
FPErrors
Click to see full error table
Ground TruthOverpredictionsExampleUnderpredictionsExampleSubexpression
00-0-(+.f64 (/.f64 x #s(literal 2 binary64)) (*.f64 y x))
00-0-#s(literal 2 binary64)
00-0-y
00-0-(/.f64 x #s(literal 2 binary64))
00-0-z
00-0-(+.f64 (+.f64 (/.f64 x #s(literal 2 binary64)) (*.f64 y x)) z)
00-0-(*.f64 y x)
00-0-x
Confusion
Predicted +Predicted -
+00
-0256
Precision
0/0
Recall
0/0
Confusion?
Predicted +Predicted MaybePredicted -
+000
-00256
Precision?
0/0
Recall?
0/0
Freqs
test
numberfreq
0256
Total Confusion?
Predicted +Predicted MaybePredicted -
+000
-001
Precision?
0/0
Recall?
0/0
Samples
30.0ms510×0valid
0.0ms1valid
Compiler

Compiled 65 to 28 computations (56.9% saved)

Precisions
Click to see histograms. Total time spent on operations: 12.0ms
ival-add: 4.0ms (32.8% of total)
ival-mult: 4.0ms (32.8% of total)
ival-div: 3.0ms (24.6% of total)
adjust: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)
ival-true: 0.0ms (0% of total)
exact: 0.0ms (0% of total)

preprocess239.0ms (8.7%)

Memory
-16.0MiB live, 220.1MiB allocated; 25ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03288
18884
221684
333284
445884
572081
6216581
7517481
089
0129
1229
2439
3699
41089
51969
68089
752659
081127
Stop Event
iter limit
node limit
iter limit
node limit
Calls
Call 1
Inputs
(+.f64 (+.f64 (/.f64 x #s(literal 2 binary64)) (*.f64 y x)) z)
Outputs
(+.f64 (+.f64 (/.f64 x #s(literal 2 binary64)) (*.f64 y x)) z)
(fma.f64 y x (fma.f64 x #s(literal 1/2 binary64) z))
Compiler

Compiled 9 to 8 computations (11.1% saved)

eval0.0ms (0%)

Memory
0.2MiB live, 0.2MiB allocated; 0ms collecting garbage
Compiler

Compiled 0 to 3 computations (-∞% saved)

prune0.0ms (0%)

Memory
0.7MiB live, 0.7MiB allocated; 0ms collecting garbage
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(+.f64 (+.f64 (/.f64 x #s(literal 2 binary64)) (*.f64 y x)) z)
Compiler

Compiled 9 to 8 computations (11.1% saved)

series7.0ms (0.3%)

Memory
17.1MiB live, 17.1MiB allocated; 0ms collecting garbage
Counts
8 → 19
Calls
Call 1
Inputs
(+.f64 (+.f64 (/.f64 x #s(literal 2 binary64)) (*.f64 y x)) z)
(+.f64 (/.f64 x #s(literal 2 binary64)) (*.f64 y x))
(/.f64 x #s(literal 2 binary64))
x
#s(literal 2 binary64)
(*.f64 y x)
y
z
Outputs
z
(+ z (* x (+ 1/2 y)))
(* x (+ 1/2 y))
(* 1/2 x)
x
(* x y)
(* x (+ 1/2 (+ y (/ z x))))
(* -1 (* x (- (* -1 y) 1/2)))
(* -1 (* x (- (+ (* -1 y) (* -1 (/ z x))) 1/2)))
(+ z (* 1/2 x))
(+ z (+ (* 1/2 x) (* x y)))
(+ (* 1/2 x) (* x y))
y
(* y (+ x (+ (* 1/2 (/ x y)) (/ z y))))
(* y (+ x (* 1/2 (/ x y))))
(* -1 (* y (+ (* -1 x) (* -1 (/ (+ z (* 1/2 x)) y)))))
(* -1 (* y (+ (* -1 x) (* -1/2 (/ x y)))))
(* z (+ 1 (+ (* 1/2 (/ x z)) (/ (* x y) z))))
(* -1 (* z (- (* -1 (/ (+ (* 1/2 x) (* x y)) z)) 1)))
Calls

9 calls:

TimeVariablePointExpression
2.0ms
x
@inf
((+ (+ (/ x 2) (* y x)) z) (+ (/ x 2) (* y x)) (/ x 2) x 2 (* y x) y z)
1.0ms
y
@-inf
((+ (+ (/ x 2) (* y x)) z) (+ (/ x 2) (* y x)) (/ x 2) x 2 (* y x) y z)
1.0ms
x
@-inf
((+ (+ (/ x 2) (* y x)) z) (+ (/ x 2) (* y x)) (/ x 2) x 2 (* y x) y z)
1.0ms
x
@0
((+ (+ (/ x 2) (* y x)) z) (+ (/ x 2) (* y x)) (/ x 2) x 2 (* y x) y z)
1.0ms
y
@inf
((+ (+ (/ x 2) (* y x)) z) (+ (/ x 2) (* y x)) (/ x 2) x 2 (* y x) y z)

simplify141.0ms (5.2%)

Memory
-1.7MiB live, 141.2MiB allocated; 13ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
05799
119499
262199
3242699
4739699
0810992
Stop Event
iter limit
node limit
Counts
19 → 16
Calls
Call 1
Inputs
z
(+ z (* x (+ 1/2 y)))
(* x (+ 1/2 y))
(* 1/2 x)
x
(* x y)
(* x (+ 1/2 (+ y (/ z x))))
(* -1 (* x (- (* -1 y) 1/2)))
(* -1 (* x (- (+ (* -1 y) (* -1 (/ z x))) 1/2)))
(+ z (* 1/2 x))
(+ z (+ (* 1/2 x) (* x y)))
(+ (* 1/2 x) (* x y))
y
(* y (+ x (+ (* 1/2 (/ x y)) (/ z y))))
(* y (+ x (* 1/2 (/ x y))))
(* -1 (* y (+ (* -1 x) (* -1 (/ (+ z (* 1/2 x)) y)))))
(* -1 (* y (+ (* -1 x) (* -1/2 (/ x y)))))
(* z (+ 1 (+ (* 1/2 (/ x z)) (/ (* x y) z))))
(* -1 (* z (- (* -1 (/ (+ (* 1/2 x) (* x y)) z)) 1)))
Outputs
z
(+ z (* x (+ 1/2 y)))
(fma.f64 (-.f64 y #s(literal -1/2 binary64)) x z)
(* x (+ 1/2 y))
(*.f64 (-.f64 y #s(literal -1/2 binary64)) x)
(* 1/2 x)
(*.f64 #s(literal 1/2 binary64) x)
x
(* x y)
(*.f64 y x)
(* x (+ 1/2 (+ y (/ z x))))
(*.f64 (+.f64 (-.f64 (/.f64 z x) #s(literal -1/2 binary64)) y) x)
(* -1 (* x (- (* -1 y) 1/2)))
(*.f64 (-.f64 y #s(literal -1/2 binary64)) x)
(* -1 (* x (- (+ (* -1 y) (* -1 (/ z x))) 1/2)))
(*.f64 (+.f64 (-.f64 (/.f64 z x) #s(literal -1/2 binary64)) y) x)
(+ z (* 1/2 x))
(fma.f64 #s(literal 1/2 binary64) x z)
(+ z (+ (* 1/2 x) (* x y)))
(fma.f64 (-.f64 y #s(literal -1/2 binary64)) x z)
(+ (* 1/2 x) (* x y))
(*.f64 (-.f64 y #s(literal -1/2 binary64)) x)
y
(* y (+ x (+ (* 1/2 (/ x y)) (/ z y))))
(fma.f64 (-.f64 y #s(literal -1/2 binary64)) x z)
(* y (+ x (* 1/2 (/ x y))))
(*.f64 (-.f64 y #s(literal -1/2 binary64)) x)
(* -1 (* y (+ (* -1 x) (* -1 (/ (+ z (* 1/2 x)) y)))))
(fma.f64 (-.f64 y #s(literal -1/2 binary64)) x z)
(* -1 (* y (+ (* -1 x) (* -1/2 (/ x y)))))
(*.f64 (-.f64 y #s(literal -1/2 binary64)) x)
(* z (+ 1 (+ (* 1/2 (/ x z)) (/ (* x y) z))))
(fma.f64 (-.f64 y #s(literal -1/2 binary64)) x z)
(* -1 (* z (- (* -1 (/ (+ (* 1/2 x) (* x y)) z)) 1)))
(fma.f64 (-.f64 y #s(literal -1/2 binary64)) x z)

rewrite81.0ms (3%)

Memory
-37.3MiB live, 77.5MiB allocated; 73ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0826
01226
15126
041824
Stop Event
iter limit
iter limit
node limit
iter limit
Counts
8 → 47
Calls
Call 1
Inputs
(+.f64 (+.f64 (/.f64 x #s(literal 2 binary64)) (*.f64 y x)) z)
(+.f64 (/.f64 x #s(literal 2 binary64)) (*.f64 y x))
(/.f64 x #s(literal 2 binary64))
x
#s(literal 2 binary64)
(*.f64 y x)
y
z
Outputs
(/.f64 (-.f64 (*.f64 z z) (pow.f64 (fma.f64 y x (/.f64 x #s(literal 2 binary64))) #s(literal 2 binary64))) (-.f64 z (fma.f64 y x (/.f64 x #s(literal 2 binary64)))))
(/.f64 (-.f64 (pow.f64 (/.f64 x #s(literal 2 binary64)) #s(literal 2 binary64)) (*.f64 (fma.f64 y x z) (fma.f64 y x z))) (-.f64 (/.f64 x #s(literal 2 binary64)) (fma.f64 y x z)))
(/.f64 (+.f64 (pow.f64 (/.f64 x #s(literal 2 binary64)) #s(literal 3 binary64)) (pow.f64 (fma.f64 y x z) #s(literal 3 binary64))) (+.f64 (pow.f64 (/.f64 x #s(literal 2 binary64)) #s(literal 2 binary64)) (-.f64 (*.f64 (fma.f64 y x z) (fma.f64 y x z)) (*.f64 (/.f64 x #s(literal 2 binary64)) (fma.f64 y x z)))))
(/.f64 (neg.f64 (-.f64 (pow.f64 (fma.f64 y x (/.f64 x #s(literal 2 binary64))) #s(literal 2 binary64)) (*.f64 z z))) (neg.f64 (-.f64 (fma.f64 y x (/.f64 x #s(literal 2 binary64))) z)))
(/.f64 (neg.f64 (+.f64 (pow.f64 z #s(literal 3 binary64)) (pow.f64 (fma.f64 y x (/.f64 x #s(literal 2 binary64))) #s(literal 3 binary64)))) (neg.f64 (fma.f64 z (-.f64 z (fma.f64 y x (/.f64 x #s(literal 2 binary64)))) (pow.f64 (fma.f64 y x (/.f64 x #s(literal 2 binary64))) #s(literal 2 binary64)))))
(/.f64 (-.f64 (pow.f64 (fma.f64 y x (/.f64 x #s(literal 2 binary64))) #s(literal 2 binary64)) (*.f64 z z)) (-.f64 (fma.f64 y x (/.f64 x #s(literal 2 binary64))) z))
(/.f64 (+.f64 (pow.f64 z #s(literal 3 binary64)) (pow.f64 (fma.f64 y x (/.f64 x #s(literal 2 binary64))) #s(literal 3 binary64))) (fma.f64 z z (-.f64 (pow.f64 (fma.f64 y x (/.f64 x #s(literal 2 binary64))) #s(literal 2 binary64)) (*.f64 z (fma.f64 y x (/.f64 x #s(literal 2 binary64)))))))
(/.f64 (+.f64 (pow.f64 z #s(literal 3 binary64)) (pow.f64 (fma.f64 y x (/.f64 x #s(literal 2 binary64))) #s(literal 3 binary64))) (fma.f64 z (-.f64 z (fma.f64 y x (/.f64 x #s(literal 2 binary64)))) (pow.f64 (fma.f64 y x (/.f64 x #s(literal 2 binary64))) #s(literal 2 binary64))))
(fma.f64 y x (+.f64 (/.f64 x #s(literal 2 binary64)) z))
(fma.f64 x y (+.f64 (/.f64 x #s(literal 2 binary64)) z))
(-.f64 (+.f64 z (/.f64 x #s(literal 2 binary64))) (*.f64 (neg.f64 y) x))
(-.f64 (/.f64 (pow.f64 (fma.f64 y x (/.f64 x #s(literal 2 binary64))) #s(literal 2 binary64)) (-.f64 (fma.f64 y x (/.f64 x #s(literal 2 binary64))) z)) (/.f64 (*.f64 z z) (-.f64 (fma.f64 y x (/.f64 x #s(literal 2 binary64))) z)))
(-.f64 (/.f64 x #s(literal 2 binary64)) (-.f64 (*.f64 (neg.f64 y) x) z))
(+.f64 (+.f64 z (/.f64 x #s(literal 2 binary64))) (*.f64 y x))
(+.f64 (/.f64 (pow.f64 (fma.f64 y x (/.f64 x #s(literal 2 binary64))) #s(literal 3 binary64)) (fma.f64 z (-.f64 z (fma.f64 y x (/.f64 x #s(literal 2 binary64)))) (pow.f64 (fma.f64 y x (/.f64 x #s(literal 2 binary64))) #s(literal 2 binary64)))) (/.f64 (pow.f64 z #s(literal 3 binary64)) (fma.f64 z (-.f64 z (fma.f64 y x (/.f64 x #s(literal 2 binary64)))) (pow.f64 (fma.f64 y x (/.f64 x #s(literal 2 binary64))) #s(literal 2 binary64)))))
(+.f64 (fma.f64 y x z) (/.f64 x #s(literal 2 binary64)))
(+.f64 z (fma.f64 y x (/.f64 x #s(literal 2 binary64))))
(+.f64 (fma.f64 y x (/.f64 x #s(literal 2 binary64))) z)
(+.f64 (*.f64 y x) (+.f64 (/.f64 x #s(literal 2 binary64)) z))
(+.f64 (/.f64 x #s(literal 2 binary64)) (fma.f64 y x z))
(/.f64 (-.f64 (pow.f64 (*.f64 y x) #s(literal 2 binary64)) (pow.f64 (/.f64 x #s(literal 2 binary64)) #s(literal 2 binary64))) (-.f64 (*.f64 y x) (/.f64 x #s(literal 2 binary64))))
(/.f64 (-.f64 (pow.f64 (/.f64 x #s(literal 2 binary64)) #s(literal 3 binary64)) (pow.f64 (*.f64 (neg.f64 y) x) #s(literal 3 binary64))) (+.f64 (pow.f64 (/.f64 x #s(literal 2 binary64)) #s(literal 2 binary64)) (+.f64 (pow.f64 (*.f64 y x) #s(literal 2 binary64)) (*.f64 (/.f64 x #s(literal 2 binary64)) (*.f64 (neg.f64 y) x)))))
(/.f64 (neg.f64 (-.f64 (pow.f64 (/.f64 x #s(literal 2 binary64)) #s(literal 2 binary64)) (pow.f64 (*.f64 y x) #s(literal 2 binary64)))) (neg.f64 (-.f64 (/.f64 x #s(literal 2 binary64)) (*.f64 y x))))
(/.f64 (neg.f64 (+.f64 (pow.f64 (*.f64 y x) #s(literal 3 binary64)) (pow.f64 (/.f64 x #s(literal 2 binary64)) #s(literal 3 binary64)))) (neg.f64 (fma.f64 (*.f64 y x) (-.f64 (*.f64 y x) (/.f64 x #s(literal 2 binary64))) (pow.f64 (/.f64 x #s(literal 2 binary64)) #s(literal 2 binary64)))))
(/.f64 (-.f64 (pow.f64 (/.f64 x #s(literal 2 binary64)) #s(literal 2 binary64)) (pow.f64 (*.f64 y x) #s(literal 2 binary64))) (-.f64 (/.f64 x #s(literal 2 binary64)) (*.f64 y x)))
(/.f64 (+.f64 (pow.f64 (*.f64 y x) #s(literal 3 binary64)) (pow.f64 (/.f64 x #s(literal 2 binary64)) #s(literal 3 binary64))) (+.f64 (pow.f64 (*.f64 y x) #s(literal 2 binary64)) (-.f64 (pow.f64 (/.f64 x #s(literal 2 binary64)) #s(literal 2 binary64)) (*.f64 (*.f64 (/.f64 x #s(literal 2 binary64)) y) x))))
(/.f64 (+.f64 (pow.f64 (*.f64 y x) #s(literal 3 binary64)) (pow.f64 (/.f64 x #s(literal 2 binary64)) #s(literal 3 binary64))) (fma.f64 (*.f64 y x) (-.f64 (*.f64 y x) (/.f64 x #s(literal 2 binary64))) (pow.f64 (/.f64 x #s(literal 2 binary64)) #s(literal 2 binary64))))
(fma.f64 y x (/.f64 x #s(literal 2 binary64)))
(fma.f64 x y (/.f64 x #s(literal 2 binary64)))
(-.f64 (/.f64 (pow.f64 (/.f64 x #s(literal 2 binary64)) #s(literal 2 binary64)) (-.f64 (/.f64 x #s(literal 2 binary64)) (*.f64 y x))) (/.f64 (pow.f64 (*.f64 y x) #s(literal 2 binary64)) (-.f64 (/.f64 x #s(literal 2 binary64)) (*.f64 y x))))
(-.f64 (/.f64 x #s(literal 2 binary64)) (*.f64 (neg.f64 x) y))
(-.f64 (/.f64 x #s(literal 2 binary64)) (*.f64 (neg.f64 y) x))
(+.f64 (/.f64 (pow.f64 (/.f64 x #s(literal 2 binary64)) #s(literal 3 binary64)) (fma.f64 (*.f64 y x) (-.f64 (*.f64 y x) (/.f64 x #s(literal 2 binary64))) (pow.f64 (/.f64 x #s(literal 2 binary64)) #s(literal 2 binary64)))) (/.f64 (pow.f64 (*.f64 y x) #s(literal 3 binary64)) (fma.f64 (*.f64 y x) (-.f64 (*.f64 y x) (/.f64 x #s(literal 2 binary64))) (pow.f64 (/.f64 x #s(literal 2 binary64)) #s(literal 2 binary64)))))
(+.f64 (*.f64 y x) (/.f64 x #s(literal 2 binary64)))
(+.f64 (/.f64 x #s(literal 2 binary64)) (*.f64 (neg.f64 (neg.f64 y)) x))
(+.f64 (/.f64 x #s(literal 2 binary64)) (*.f64 y x))
(/.f64 (neg.f64 (neg.f64 x)) #s(literal 2 binary64))
(/.f64 (neg.f64 x) #s(literal -2 binary64))
(/.f64 x #s(literal 2 binary64))
(neg.f64 (/.f64 (neg.f64 x) #s(literal 2 binary64)))
(neg.f64 (/.f64 x #s(literal -2 binary64)))
x
#s(literal 2 binary64)
(*.f64 y x)
(*.f64 x y)
y
z

eval5.0ms (0.2%)

Memory
14.4MiB live, 14.4MiB allocated; 0ms collecting garbage
Compiler

Compiled 944 to 171 computations (81.9% saved)

prune3.0ms (0.1%)

Memory
7.3MiB live, 7.3MiB allocated; 0ms collecting garbage
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New51455
Fresh000
Picked101
Done000
Total52456
Accuracy
100.0%
Counts
56 → 4
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(+.f64 (+.f64 #s(approx (/ x 2) (*.f64 #s(literal 1/2 binary64) x)) (*.f64 y x)) z)
100.0%
#s(approx (+ (+ (/ x 2) (* y x)) z) (fma.f64 (-.f64 y #s(literal -1/2 binary64)) x z))
60.0%
#s(approx (+ (+ (/ x 2) (* y x)) z) (fma.f64 #s(literal 1/2 binary64) x z))
60.1%
#s(approx (+ (+ (/ x 2) (* y x)) z) (*.f64 (-.f64 y #s(literal -1/2 binary64)) x))
Compiler

Compiled 58 to 46 computations (20.7% saved)

series14.0ms (0.5%)

Memory
-33.1MiB live, 16.5MiB allocated; 5ms collecting garbage
Counts
17 → 29
Calls
Call 1
Inputs
#s(approx (+ (+ (/ x 2) (* y x)) z) (*.f64 (-.f64 y #s(literal -1/2 binary64)) x))
(*.f64 (-.f64 y #s(literal -1/2 binary64)) x)
(-.f64 y #s(literal -1/2 binary64))
y
#s(literal -1/2 binary64)
x
#s(approx (+ (+ (/ x 2) (* y x)) z) (fma.f64 #s(literal 1/2 binary64) x z))
(fma.f64 #s(literal 1/2 binary64) x z)
#s(literal 1/2 binary64)
z
#s(approx (+ (+ (/ x 2) (* y x)) z) (fma.f64 (-.f64 y #s(literal -1/2 binary64)) x z))
(fma.f64 (-.f64 y #s(literal -1/2 binary64)) x z)
(+.f64 (+.f64 #s(approx (/ x 2) (*.f64 #s(literal 1/2 binary64) x)) (*.f64 y x)) z)
(+.f64 #s(approx (/ x 2) (*.f64 #s(literal 1/2 binary64) x)) (*.f64 y x))
#s(approx (/ x 2) (*.f64 #s(literal 1/2 binary64) x))
(*.f64 #s(literal 1/2 binary64) x)
(*.f64 y x)
Outputs
z
(+ z (* x (+ 1/2 y)))
(* x (+ 1/2 y))
x
(+ z (* 1/2 x))
(* 1/2 x)
(* x y)
(* x (+ 1/2 (+ y (/ z x))))
(* x (+ 1/2 (/ z x)))
(* -1 (* x (- (* -1 y) 1/2)))
(* -1 (* x (- (+ (* -1 y) (* -1 (/ z x))) 1/2)))
(* -1 (* x (- (* -1 (/ z x)) 1/2)))
(* -1 (* x (+ (* -1 (+ 1/2 y)) (* -1 (/ z x)))))
(+ z (+ (* 1/2 x) (* x y)))
(+ (* 1/2 x) (* x y))
1/2
(+ 1/2 y)
y
(* y (+ x (+ (* 1/2 (/ x y)) (/ z y))))
(* y (+ x (* 1/2 (/ x y))))
(* y (+ 1 (* 1/2 (/ 1 y))))
(* -1 (* y (+ (* -1 x) (* -1 (/ (+ z (* 1/2 x)) y)))))
(* -1 (* y (+ (* -1 x) (* -1/2 (/ x y)))))
(* z (+ 1 (+ (* 1/2 (/ x z)) (/ (* x y) z))))
(* z (+ 1 (* 1/2 (/ x z))))
(* z (+ 1 (/ (* x (+ 1/2 y)) z)))
(* -1 (* z (- (* -1 (/ (+ (* 1/2 x) (* x y)) z)) 1)))
(* -1 (* z (- (* -1/2 (/ x z)) 1)))
(* -1 (* z (- (* -1 (/ (* x (+ 1/2 y)) z)) 1)))
Calls

9 calls:

TimeVariablePointExpression
6.0ms
z
@inf
((+ (+ (/ x 2) (* y x)) z) (* (- y -1/2) x) (- y -1/2) y -1/2 x (+ (+ (/ x 2) (* y x)) z) (+ (* 1/2 x) z) 1/2 z (+ (+ (/ x 2) (* y x)) z) (+ (* (- y -1/2) x) z) (+ (+ (/ x 2) (* y x)) z) (+ (/ x 2) (* y x)) (/ x 2) (* 1/2 x) (* y x))
2.0ms
x
@-inf
((+ (+ (/ x 2) (* y x)) z) (* (- y -1/2) x) (- y -1/2) y -1/2 x (+ (+ (/ x 2) (* y x)) z) (+ (* 1/2 x) z) 1/2 z (+ (+ (/ x 2) (* y x)) z) (+ (* (- y -1/2) x) z) (+ (+ (/ x 2) (* y x)) z) (+ (/ x 2) (* y x)) (/ x 2) (* 1/2 x) (* y x))
1.0ms
x
@inf
((+ (+ (/ x 2) (* y x)) z) (* (- y -1/2) x) (- y -1/2) y -1/2 x (+ (+ (/ x 2) (* y x)) z) (+ (* 1/2 x) z) 1/2 z (+ (+ (/ x 2) (* y x)) z) (+ (* (- y -1/2) x) z) (+ (+ (/ x 2) (* y x)) z) (+ (/ x 2) (* y x)) (/ x 2) (* 1/2 x) (* y x))
1.0ms
y
@-inf
((+ (+ (/ x 2) (* y x)) z) (* (- y -1/2) x) (- y -1/2) y -1/2 x (+ (+ (/ x 2) (* y x)) z) (+ (* 1/2 x) z) 1/2 z (+ (+ (/ x 2) (* y x)) z) (+ (* (- y -1/2) x) z) (+ (+ (/ x 2) (* y x)) z) (+ (/ x 2) (* y x)) (/ x 2) (* 1/2 x) (* y x))
1.0ms
x
@0
((+ (+ (/ x 2) (* y x)) z) (* (- y -1/2) x) (- y -1/2) y -1/2 x (+ (+ (/ x 2) (* y x)) z) (+ (* 1/2 x) z) 1/2 z (+ (+ (/ x 2) (* y x)) z) (+ (* (- y -1/2) x) z) (+ (+ (/ x 2) (* y x)) z) (+ (/ x 2) (* y x)) (/ x 2) (* 1/2 x) (* y x))

simplify141.0ms (5.2%)

Memory
43.1MiB live, 226.6MiB allocated; 16ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
083143
1288143
2913143
33179143
45877143
08353127
Stop Event
iter limit
node limit
Counts
29 → 26
Calls
Call 1
Inputs
z
(+ z (* x (+ 1/2 y)))
(* x (+ 1/2 y))
x
(+ z (* 1/2 x))
(* 1/2 x)
(* x y)
(* x (+ 1/2 (+ y (/ z x))))
(* x (+ 1/2 (/ z x)))
(* -1 (* x (- (* -1 y) 1/2)))
(* -1 (* x (- (+ (* -1 y) (* -1 (/ z x))) 1/2)))
(* -1 (* x (- (* -1 (/ z x)) 1/2)))
(* -1 (* x (+ (* -1 (+ 1/2 y)) (* -1 (/ z x)))))
(+ z (+ (* 1/2 x) (* x y)))
(+ (* 1/2 x) (* x y))
1/2
(+ 1/2 y)
y
(* y (+ x (+ (* 1/2 (/ x y)) (/ z y))))
(* y (+ x (* 1/2 (/ x y))))
(* y (+ 1 (* 1/2 (/ 1 y))))
(* -1 (* y (+ (* -1 x) (* -1 (/ (+ z (* 1/2 x)) y)))))
(* -1 (* y (+ (* -1 x) (* -1/2 (/ x y)))))
(* z (+ 1 (+ (* 1/2 (/ x z)) (/ (* x y) z))))
(* z (+ 1 (* 1/2 (/ x z))))
(* z (+ 1 (/ (* x (+ 1/2 y)) z)))
(* -1 (* z (- (* -1 (/ (+ (* 1/2 x) (* x y)) z)) 1)))
(* -1 (* z (- (* -1/2 (/ x z)) 1)))
(* -1 (* z (- (* -1 (/ (* x (+ 1/2 y)) z)) 1)))
Outputs
z
(+ z (* x (+ 1/2 y)))
(fma.f64 (-.f64 y #s(literal -1/2 binary64)) x z)
(* x (+ 1/2 y))
(*.f64 (-.f64 y #s(literal -1/2 binary64)) x)
x
(+ z (* 1/2 x))
(fma.f64 #s(literal 1/2 binary64) x z)
(* 1/2 x)
(*.f64 #s(literal 1/2 binary64) x)
(* x y)
(*.f64 y x)
(* x (+ 1/2 (+ y (/ z x))))
(fma.f64 (-.f64 y #s(literal -1/2 binary64)) x z)
(* x (+ 1/2 (/ z x)))
(fma.f64 #s(literal 1/2 binary64) x z)
(* -1 (* x (- (* -1 y) 1/2)))
(*.f64 (-.f64 y #s(literal -1/2 binary64)) x)
(* -1 (* x (- (+ (* -1 y) (* -1 (/ z x))) 1/2)))
(fma.f64 (-.f64 y #s(literal -1/2 binary64)) x z)
(* -1 (* x (- (* -1 (/ z x)) 1/2)))
(fma.f64 #s(literal 1/2 binary64) x z)
(* -1 (* x (+ (* -1 (+ 1/2 y)) (* -1 (/ z x)))))
(fma.f64 (-.f64 y #s(literal -1/2 binary64)) x z)
(+ z (+ (* 1/2 x) (* x y)))
(fma.f64 (-.f64 y #s(literal -1/2 binary64)) x z)
(+ (* 1/2 x) (* x y))
(*.f64 (-.f64 y #s(literal -1/2 binary64)) x)
1/2
#s(literal 1/2 binary64)
(+ 1/2 y)
(-.f64 y #s(literal -1/2 binary64))
y
(* y (+ x (+ (* 1/2 (/ x y)) (/ z y))))
(fma.f64 (-.f64 y #s(literal -1/2 binary64)) x z)
(* y (+ x (* 1/2 (/ x y))))
(*.f64 (-.f64 y #s(literal -1/2 binary64)) x)
(* y (+ 1 (* 1/2 (/ 1 y))))
(-.f64 y #s(literal -1/2 binary64))
(* -1 (* y (+ (* -1 x) (* -1 (/ (+ z (* 1/2 x)) y)))))
(fma.f64 (-.f64 y #s(literal -1/2 binary64)) x z)
(* -1 (* y (+ (* -1 x) (* -1/2 (/ x y)))))
(*.f64 (-.f64 y #s(literal -1/2 binary64)) x)
(* z (+ 1 (+ (* 1/2 (/ x z)) (/ (* x y) z))))
(fma.f64 (-.f64 y #s(literal -1/2 binary64)) x z)
(* z (+ 1 (* 1/2 (/ x z))))
(fma.f64 #s(literal 1/2 binary64) x z)
(* z (+ 1 (/ (* x (+ 1/2 y)) z)))
(fma.f64 (-.f64 y #s(literal -1/2 binary64)) x z)
(* -1 (* z (- (* -1 (/ (+ (* 1/2 x) (* x y)) z)) 1)))
(fma.f64 (-.f64 y #s(literal -1/2 binary64)) x z)
(* -1 (* z (- (* -1/2 (/ x z)) 1)))
(fma.f64 #s(literal 1/2 binary64) x z)
(* -1 (* z (- (* -1 (/ (* x (+ 1/2 y)) z)) 1)))
(fma.f64 (-.f64 y #s(literal -1/2 binary64)) x z)

rewrite68.0ms (2.5%)

Memory
-3.7MiB live, 75.8MiB allocated; 22ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
022105
030105
1131105
01062100
Stop Event
iter limit
iter limit
node limit
iter limit
Counts
17 → 90
Calls
Call 1
Inputs
#s(approx (+ (+ (/ x 2) (* y x)) z) (*.f64 (-.f64 y #s(literal -1/2 binary64)) x))
(*.f64 (-.f64 y #s(literal -1/2 binary64)) x)
(-.f64 y #s(literal -1/2 binary64))
y
#s(literal -1/2 binary64)
x
#s(approx (+ (+ (/ x 2) (* y x)) z) (fma.f64 #s(literal 1/2 binary64) x z))
(fma.f64 #s(literal 1/2 binary64) x z)
#s(literal 1/2 binary64)
z
#s(approx (+ (+ (/ x 2) (* y x)) z) (fma.f64 (-.f64 y #s(literal -1/2 binary64)) x z))
(fma.f64 (-.f64 y #s(literal -1/2 binary64)) x z)
(+.f64 (+.f64 #s(approx (/ x 2) (*.f64 #s(literal 1/2 binary64) x)) (*.f64 y x)) z)
(+.f64 #s(approx (/ x 2) (*.f64 #s(literal 1/2 binary64) x)) (*.f64 y x))
#s(approx (/ x 2) (*.f64 #s(literal 1/2 binary64) x))
(*.f64 #s(literal 1/2 binary64) x)
(*.f64 y x)
Outputs
#s(approx (+ (+ (/ x 2) (* y x)) z) (*.f64 (-.f64 y #s(literal -1/2 binary64)) x))
(*.f64 (-.f64 y #s(literal -1/2 binary64)) x)
(*.f64 x (-.f64 y #s(literal -1/2 binary64)))
(/.f64 (*.f64 (fma.f64 y y #s(literal -1/4 binary64)) x) (+.f64 #s(literal -1/2 binary64) y))
(/.f64 (*.f64 (-.f64 (pow.f64 y #s(literal 3 binary64)) #s(literal -1/8 binary64)) x) (fma.f64 y y (fma.f64 #s(literal -1/2 binary64) y #s(literal 1/4 binary64))))
(/.f64 (*.f64 x (fma.f64 y y #s(literal -1/4 binary64))) (+.f64 #s(literal -1/2 binary64) y))
(/.f64 (*.f64 x (-.f64 (pow.f64 y #s(literal 3 binary64)) #s(literal -1/8 binary64))) (fma.f64 y y (fma.f64 #s(literal -1/2 binary64) y #s(literal 1/4 binary64))))
(/.f64 (neg.f64 (fma.f64 y y #s(literal -1/4 binary64))) (neg.f64 (+.f64 #s(literal -1/2 binary64) y)))
(/.f64 (neg.f64 (-.f64 (pow.f64 y #s(literal 3 binary64)) #s(literal -1/8 binary64))) (neg.f64 (fma.f64 y y (fma.f64 #s(literal -1/2 binary64) y #s(literal 1/4 binary64)))))
(/.f64 (fma.f64 y y #s(literal -1/4 binary64)) (+.f64 #s(literal -1/2 binary64) y))
(/.f64 (-.f64 (pow.f64 y #s(literal 3 binary64)) #s(literal -1/8 binary64)) (fma.f64 y y (fma.f64 #s(literal -1/2 binary64) y #s(literal 1/4 binary64))))
(-.f64 (/.f64 (*.f64 y y) (+.f64 #s(literal -1/2 binary64) y)) (/.f64 #s(literal 1/4 binary64) (+.f64 #s(literal -1/2 binary64) y)))
(-.f64 (/.f64 (pow.f64 y #s(literal 3 binary64)) (fma.f64 y y (fma.f64 #s(literal -1/2 binary64) y #s(literal 1/4 binary64)))) (/.f64 #s(literal -1/8 binary64) (fma.f64 y y (fma.f64 #s(literal -1/2 binary64) y #s(literal 1/4 binary64)))))
(-.f64 y #s(literal -1/2 binary64))
y
#s(literal -1/2 binary64)
x
#s(approx (+ (+ (/ x 2) (* y x)) z) (fma.f64 #s(literal 1/2 binary64) x z))
(/.f64 (-.f64 (*.f64 z z) (pow.f64 (*.f64 #s(literal 1/2 binary64) x) #s(literal 2 binary64))) (-.f64 z (*.f64 #s(literal 1/2 binary64) x)))
(/.f64 (neg.f64 (fma.f64 (*.f64 x x) #s(literal 1/4 binary64) (*.f64 (neg.f64 z) z))) (neg.f64 (-.f64 (*.f64 #s(literal 1/2 binary64) x) z)))
(/.f64 (neg.f64 (fma.f64 #s(literal 1/8 binary64) (pow.f64 x #s(literal 3 binary64)) (pow.f64 z #s(literal 3 binary64)))) (neg.f64 (fma.f64 (*.f64 x x) #s(literal 1/4 binary64) (*.f64 z (-.f64 z (*.f64 #s(literal 1/2 binary64) x))))))
(/.f64 (fma.f64 (*.f64 x x) #s(literal 1/4 binary64) (*.f64 (neg.f64 z) z)) (-.f64 (*.f64 #s(literal 1/2 binary64) x) z))
(/.f64 (fma.f64 #s(literal 1/8 binary64) (pow.f64 x #s(literal 3 binary64)) (pow.f64 z #s(literal 3 binary64))) (fma.f64 z z (-.f64 (pow.f64 (*.f64 #s(literal 1/2 binary64) x) #s(literal 2 binary64)) (*.f64 (*.f64 #s(literal 1/2 binary64) x) z))))
(/.f64 (fma.f64 #s(literal 1/8 binary64) (pow.f64 x #s(literal 3 binary64)) (pow.f64 z #s(literal 3 binary64))) (fma.f64 (*.f64 x x) #s(literal 1/4 binary64) (*.f64 z (-.f64 z (*.f64 #s(literal 1/2 binary64) x)))))
(fma.f64 #s(literal 1/2 binary64) x z)
(fma.f64 x #s(literal 1/2 binary64) z)
(-.f64 (/.f64 (pow.f64 (*.f64 #s(literal 1/2 binary64) x) #s(literal 2 binary64)) (-.f64 (*.f64 #s(literal 1/2 binary64) x) z)) (/.f64 (*.f64 z z) (-.f64 (*.f64 #s(literal 1/2 binary64) x) z)))
(-.f64 z (*.f64 #s(literal -1/2 binary64) x))
(-.f64 z (*.f64 (neg.f64 x) #s(literal 1/2 binary64)))
(+.f64 (/.f64 (pow.f64 (*.f64 #s(literal 1/2 binary64) x) #s(literal 3 binary64)) (fma.f64 (*.f64 x x) #s(literal 1/4 binary64) (*.f64 z (-.f64 z (*.f64 #s(literal 1/2 binary64) x))))) (/.f64 (pow.f64 z #s(literal 3 binary64)) (fma.f64 (*.f64 x x) #s(literal 1/4 binary64) (*.f64 z (-.f64 z (*.f64 #s(literal 1/2 binary64) x))))))
(+.f64 (*.f64 #s(literal 1/2 binary64) x) z)
(+.f64 z (*.f64 #s(literal 1/2 binary64) x))
#s(literal 1/2 binary64)
z
#s(approx (+ (+ (/ x 2) (* y x)) z) (fma.f64 (-.f64 y #s(literal -1/2 binary64)) x z))
(/.f64 (-.f64 (*.f64 z z) (pow.f64 (*.f64 (-.f64 y #s(literal -1/2 binary64)) x) #s(literal 2 binary64))) (-.f64 z (*.f64 (-.f64 y #s(literal -1/2 binary64)) x)))
(/.f64 (neg.f64 (-.f64 (pow.f64 (*.f64 (-.f64 y #s(literal -1/2 binary64)) x) #s(literal 2 binary64)) (*.f64 z z))) (neg.f64 (-.f64 (*.f64 (-.f64 y #s(literal -1/2 binary64)) x) z)))
(/.f64 (neg.f64 (+.f64 (pow.f64 (*.f64 (-.f64 y #s(literal -1/2 binary64)) x) #s(literal 3 binary64)) (pow.f64 z #s(literal 3 binary64)))) (neg.f64 (fma.f64 z (-.f64 z (*.f64 (-.f64 y #s(literal -1/2 binary64)) x)) (pow.f64 (*.f64 (-.f64 y #s(literal -1/2 binary64)) x) #s(literal 2 binary64)))))
(/.f64 (-.f64 (pow.f64 (*.f64 (-.f64 y #s(literal -1/2 binary64)) x) #s(literal 2 binary64)) (*.f64 z z)) (-.f64 (*.f64 (-.f64 y #s(literal -1/2 binary64)) x) z))
(/.f64 (+.f64 (pow.f64 (*.f64 (-.f64 y #s(literal -1/2 binary64)) x) #s(literal 3 binary64)) (pow.f64 z #s(literal 3 binary64))) (fma.f64 z z (-.f64 (pow.f64 (*.f64 (-.f64 y #s(literal -1/2 binary64)) x) #s(literal 2 binary64)) (*.f64 (*.f64 (-.f64 y #s(literal -1/2 binary64)) x) z))))
(/.f64 (+.f64 (pow.f64 (*.f64 (-.f64 y #s(literal -1/2 binary64)) x) #s(literal 3 binary64)) (pow.f64 z #s(literal 3 binary64))) (fma.f64 z (-.f64 z (*.f64 (-.f64 y #s(literal -1/2 binary64)) x)) (pow.f64 (*.f64 (-.f64 y #s(literal -1/2 binary64)) x) #s(literal 2 binary64))))
(fma.f64 (-.f64 y #s(literal -1/2 binary64)) x z)
(fma.f64 x (-.f64 y #s(literal -1/2 binary64)) z)
(-.f64 (/.f64 (pow.f64 (*.f64 (-.f64 y #s(literal -1/2 binary64)) x) #s(literal 2 binary64)) (-.f64 (*.f64 (-.f64 y #s(literal -1/2 binary64)) x) z)) (/.f64 (*.f64 z z) (-.f64 (*.f64 (-.f64 y #s(literal -1/2 binary64)) x) z)))
(-.f64 z (*.f64 (neg.f64 (-.f64 y #s(literal -1/2 binary64))) x))
(-.f64 z (*.f64 (neg.f64 x) (-.f64 y #s(literal -1/2 binary64))))
(+.f64 (/.f64 (pow.f64 (*.f64 (-.f64 y #s(literal -1/2 binary64)) x) #s(literal 3 binary64)) (fma.f64 z (-.f64 z (*.f64 (-.f64 y #s(literal -1/2 binary64)) x)) (pow.f64 (*.f64 (-.f64 y #s(literal -1/2 binary64)) x) #s(literal 2 binary64)))) (/.f64 (pow.f64 z #s(literal 3 binary64)) (fma.f64 z (-.f64 z (*.f64 (-.f64 y #s(literal -1/2 binary64)) x)) (pow.f64 (*.f64 (-.f64 y #s(literal -1/2 binary64)) x) #s(literal 2 binary64)))))
(+.f64 (*.f64 (-.f64 y #s(literal -1/2 binary64)) x) z)
(+.f64 z (*.f64 (-.f64 y #s(literal -1/2 binary64)) x))
(/.f64 (-.f64 (pow.f64 #s(approx (/ x 2) (*.f64 #s(literal 1/2 binary64) x)) #s(literal 2 binary64)) (*.f64 (fma.f64 y x z) (fma.f64 y x z))) (-.f64 #s(approx (/ x 2) (*.f64 #s(literal 1/2 binary64) x)) (fma.f64 y x z)))
(/.f64 (-.f64 (*.f64 z z) (pow.f64 (fma.f64 y x #s(approx (/ x 2) (*.f64 #s(literal 1/2 binary64) x))) #s(literal 2 binary64))) (-.f64 z (fma.f64 y x #s(approx (/ x 2) (*.f64 #s(literal 1/2 binary64) x)))))
(/.f64 (+.f64 (pow.f64 #s(approx (/ x 2) (*.f64 #s(literal 1/2 binary64) x)) #s(literal 3 binary64)) (pow.f64 (fma.f64 y x z) #s(literal 3 binary64))) (+.f64 (pow.f64 #s(approx (/ x 2) (*.f64 #s(literal 1/2 binary64) x)) #s(literal 2 binary64)) (-.f64 (*.f64 (fma.f64 y x z) (fma.f64 y x z)) (*.f64 #s(approx (/ x 2) (*.f64 #s(literal 1/2 binary64) x)) (fma.f64 y x z)))))
(/.f64 (neg.f64 (-.f64 (pow.f64 (fma.f64 y x #s(approx (/ x 2) (*.f64 #s(literal 1/2 binary64) x))) #s(literal 2 binary64)) (*.f64 z z))) (neg.f64 (-.f64 (fma.f64 y x #s(approx (/ x 2) (*.f64 #s(literal 1/2 binary64) x))) z)))
(/.f64 (neg.f64 (+.f64 (pow.f64 (fma.f64 y x #s(approx (/ x 2) (*.f64 #s(literal 1/2 binary64) x))) #s(literal 3 binary64)) (pow.f64 z #s(literal 3 binary64)))) (neg.f64 (fma.f64 z (-.f64 z (fma.f64 y x #s(approx (/ x 2) (*.f64 #s(literal 1/2 binary64) x)))) (pow.f64 (fma.f64 y x #s(approx (/ x 2) (*.f64 #s(literal 1/2 binary64) x))) #s(literal 2 binary64)))))
(/.f64 (-.f64 (pow.f64 (fma.f64 y x #s(approx (/ x 2) (*.f64 #s(literal 1/2 binary64) x))) #s(literal 2 binary64)) (*.f64 z z)) (-.f64 (fma.f64 y x #s(approx (/ x 2) (*.f64 #s(literal 1/2 binary64) x))) z))
(/.f64 (+.f64 (pow.f64 (fma.f64 y x #s(approx (/ x 2) (*.f64 #s(literal 1/2 binary64) x))) #s(literal 3 binary64)) (pow.f64 z #s(literal 3 binary64))) (fma.f64 z z (-.f64 (pow.f64 (fma.f64 y x #s(approx (/ x 2) (*.f64 #s(literal 1/2 binary64) x))) #s(literal 2 binary64)) (*.f64 (fma.f64 y x #s(approx (/ x 2) (*.f64 #s(literal 1/2 binary64) x))) z))))
(/.f64 (+.f64 (pow.f64 (fma.f64 y x #s(approx (/ x 2) (*.f64 #s(literal 1/2 binary64) x))) #s(literal 3 binary64)) (pow.f64 z #s(literal 3 binary64))) (fma.f64 z (-.f64 z (fma.f64 y x #s(approx (/ x 2) (*.f64 #s(literal 1/2 binary64) x)))) (pow.f64 (fma.f64 y x #s(approx (/ x 2) (*.f64 #s(literal 1/2 binary64) x))) #s(literal 2 binary64))))
(fma.f64 y x (+.f64 #s(approx (/ x 2) (*.f64 #s(literal 1/2 binary64) x)) z))
(fma.f64 x y (+.f64 #s(approx (/ x 2) (*.f64 #s(literal 1/2 binary64) x)) z))
(-.f64 (+.f64 z #s(approx (/ x 2) (*.f64 #s(literal 1/2 binary64) x))) (*.f64 (neg.f64 y) x))
(-.f64 (/.f64 (pow.f64 (fma.f64 y x #s(approx (/ x 2) (*.f64 #s(literal 1/2 binary64) x))) #s(literal 2 binary64)) (-.f64 (fma.f64 y x #s(approx (/ x 2) (*.f64 #s(literal 1/2 binary64) x))) z)) (/.f64 (*.f64 z z) (-.f64 (fma.f64 y x #s(approx (/ x 2) (*.f64 #s(literal 1/2 binary64) x))) z)))
(-.f64 #s(approx (/ x 2) (*.f64 #s(literal 1/2 binary64) x)) (-.f64 (*.f64 (neg.f64 y) x) z))
(+.f64 (+.f64 z #s(approx (/ x 2) (*.f64 #s(literal 1/2 binary64) x))) (*.f64 y x))
(+.f64 (/.f64 (pow.f64 (fma.f64 y x #s(approx (/ x 2) (*.f64 #s(literal 1/2 binary64) x))) #s(literal 3 binary64)) (fma.f64 z (-.f64 z (fma.f64 y x #s(approx (/ x 2) (*.f64 #s(literal 1/2 binary64) x)))) (pow.f64 (fma.f64 y x #s(approx (/ x 2) (*.f64 #s(literal 1/2 binary64) x))) #s(literal 2 binary64)))) (/.f64 (pow.f64 z #s(literal 3 binary64)) (fma.f64 z (-.f64 z (fma.f64 y x #s(approx (/ x 2) (*.f64 #s(literal 1/2 binary64) x)))) (pow.f64 (fma.f64 y x #s(approx (/ x 2) (*.f64 #s(literal 1/2 binary64) x))) #s(literal 2 binary64)))))
(+.f64 (fma.f64 y x z) #s(approx (/ x 2) (*.f64 #s(literal 1/2 binary64) x)))
(+.f64 (fma.f64 y x #s(approx (/ x 2) (*.f64 #s(literal 1/2 binary64) x))) z)
(+.f64 (*.f64 y x) (+.f64 #s(approx (/ x 2) (*.f64 #s(literal 1/2 binary64) x)) z))
(+.f64 #s(approx (/ x 2) (*.f64 #s(literal 1/2 binary64) x)) (fma.f64 y x z))
(+.f64 z (fma.f64 y x #s(approx (/ x 2) (*.f64 #s(literal 1/2 binary64) x))))
(/.f64 (-.f64 (pow.f64 (*.f64 y x) #s(literal 2 binary64)) (pow.f64 #s(approx (/ x 2) (*.f64 #s(literal 1/2 binary64) x)) #s(literal 2 binary64))) (-.f64 (*.f64 y x) #s(approx (/ x 2) (*.f64 #s(literal 1/2 binary64) x))))
(/.f64 (-.f64 (pow.f64 #s(approx (/ x 2) (*.f64 #s(literal 1/2 binary64) x)) #s(literal 3 binary64)) (pow.f64 (*.f64 (neg.f64 y) x) #s(literal 3 binary64))) (+.f64 (pow.f64 #s(approx (/ x 2) (*.f64 #s(literal 1/2 binary64) x)) #s(literal 2 binary64)) (+.f64 (pow.f64 (*.f64 y x) #s(literal 2 binary64)) (*.f64 #s(approx (/ x 2) (*.f64 #s(literal 1/2 binary64) x)) (*.f64 (neg.f64 y) x)))))
(/.f64 (neg.f64 (-.f64 (pow.f64 #s(approx (/ x 2) (*.f64 #s(literal 1/2 binary64) x)) #s(literal 2 binary64)) (pow.f64 (*.f64 y x) #s(literal 2 binary64)))) (neg.f64 (-.f64 #s(approx (/ x 2) (*.f64 #s(literal 1/2 binary64) x)) (*.f64 y x))))
(/.f64 (neg.f64 (+.f64 (pow.f64 #s(approx (/ x 2) (*.f64 #s(literal 1/2 binary64) x)) #s(literal 3 binary64)) (pow.f64 (*.f64 y x) #s(literal 3 binary64)))) (neg.f64 (fma.f64 (*.f64 y x) (-.f64 (*.f64 y x) #s(approx (/ x 2) (*.f64 #s(literal 1/2 binary64) x))) (pow.f64 #s(approx (/ x 2) (*.f64 #s(literal 1/2 binary64) x)) #s(literal 2 binary64)))))
(/.f64 (-.f64 (pow.f64 #s(approx (/ x 2) (*.f64 #s(literal 1/2 binary64) x)) #s(literal 2 binary64)) (pow.f64 (*.f64 y x) #s(literal 2 binary64))) (-.f64 #s(approx (/ x 2) (*.f64 #s(literal 1/2 binary64) x)) (*.f64 y x)))
(/.f64 (+.f64 (pow.f64 #s(approx (/ x 2) (*.f64 #s(literal 1/2 binary64) x)) #s(literal 3 binary64)) (pow.f64 (*.f64 y x) #s(literal 3 binary64))) (+.f64 (pow.f64 (*.f64 y x) #s(literal 2 binary64)) (-.f64 (pow.f64 #s(approx (/ x 2) (*.f64 #s(literal 1/2 binary64) x)) #s(literal 2 binary64)) (*.f64 (*.f64 y x) #s(approx (/ x 2) (*.f64 #s(literal 1/2 binary64) x))))))
(/.f64 (+.f64 (pow.f64 #s(approx (/ x 2) (*.f64 #s(literal 1/2 binary64) x)) #s(literal 3 binary64)) (pow.f64 (*.f64 y x) #s(literal 3 binary64))) (fma.f64 (*.f64 y x) (-.f64 (*.f64 y x) #s(approx (/ x 2) (*.f64 #s(literal 1/2 binary64) x))) (pow.f64 #s(approx (/ x 2) (*.f64 #s(literal 1/2 binary64) x)) #s(literal 2 binary64))))
(fma.f64 y x #s(approx (/ x 2) (*.f64 #s(literal 1/2 binary64) x)))
(fma.f64 x y #s(approx (/ x 2) (*.f64 #s(literal 1/2 binary64) x)))
(-.f64 (/.f64 (pow.f64 #s(approx (/ x 2) (*.f64 #s(literal 1/2 binary64) x)) #s(literal 2 binary64)) (-.f64 #s(approx (/ x 2) (*.f64 #s(literal 1/2 binary64) x)) (*.f64 y x))) (/.f64 (pow.f64 (*.f64 y x) #s(literal 2 binary64)) (-.f64 #s(approx (/ x 2) (*.f64 #s(literal 1/2 binary64) x)) (*.f64 y x))))
(-.f64 #s(approx (/ x 2) (*.f64 #s(literal 1/2 binary64) x)) (*.f64 (neg.f64 x) y))
(-.f64 #s(approx (/ x 2) (*.f64 #s(literal 1/2 binary64) x)) (*.f64 (neg.f64 y) x))
(+.f64 (/.f64 (pow.f64 #s(approx (/ x 2) (*.f64 #s(literal 1/2 binary64) x)) #s(literal 3 binary64)) (fma.f64 (*.f64 y x) (-.f64 (*.f64 y x) #s(approx (/ x 2) (*.f64 #s(literal 1/2 binary64) x))) (pow.f64 #s(approx (/ x 2) (*.f64 #s(literal 1/2 binary64) x)) #s(literal 2 binary64)))) (/.f64 (pow.f64 (*.f64 y x) #s(literal 3 binary64)) (fma.f64 (*.f64 y x) (-.f64 (*.f64 y x) #s(approx (/ x 2) (*.f64 #s(literal 1/2 binary64) x))) (pow.f64 #s(approx (/ x 2) (*.f64 #s(literal 1/2 binary64) x)) #s(literal 2 binary64)))))
(+.f64 (*.f64 y x) #s(approx (/ x 2) (*.f64 #s(literal 1/2 binary64) x)))
(+.f64 #s(approx (/ x 2) (*.f64 #s(literal 1/2 binary64) x)) (*.f64 (neg.f64 (neg.f64 y)) x))
(+.f64 #s(approx (/ x 2) (*.f64 #s(literal 1/2 binary64) x)) (*.f64 y x))
#s(approx (/ x 2) (*.f64 #s(literal 1/2 binary64) x))
(*.f64 #s(literal 1/2 binary64) x)
(*.f64 x #s(literal 1/2 binary64))
(*.f64 y x)
(*.f64 x y)

eval25.0ms (0.9%)

Memory
-11.7MiB live, 51.7MiB allocated; 16ms collecting garbage
Compiler

Compiled 2 692 to 334 computations (87.6% saved)

prune5.0ms (0.2%)

Memory
20.5MiB live, 20.5MiB allocated; 0ms collecting garbage
Pruning

5 alts after pruning (2 fresh and 3 done)

PrunedKeptTotal
New1132115
Fresh000
Picked134
Done000
Total1145119
Accuracy
100.0%
Counts
119 → 5
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(fma.f64 y x (+.f64 #s(approx (/ x 2) (*.f64 #s(literal 1/2 binary64) x)) z))
100.0%
#s(approx (+ (+ (/ x 2) (* y x)) z) (fma.f64 (-.f64 y #s(literal -1/2 binary64)) x z))
60.0%
#s(approx (+ (+ (/ x 2) (* y x)) z) (fma.f64 #s(literal 1/2 binary64) x z))
60.1%
#s(approx (+ (+ (/ x 2) (* y x)) z) (*.f64 (-.f64 y #s(literal -1/2 binary64)) x))
20.9%
#s(approx (+ (+ (/ x 2) (* y x)) z) (*.f64 #s(approx (- y -1/2) #s(literal 1/2 binary64)) x))
Compiler

Compiled 74 to 59 computations (20.3% saved)

series15.0ms (0.5%)

Memory
-22.0MiB live, 21.0MiB allocated; 11ms collecting garbage
Counts
11 → 26
Calls
Call 1
Inputs
#s(approx (+ (+ (/ x 2) (* y x)) z) (*.f64 #s(approx (- y -1/2) #s(literal 1/2 binary64)) x))
(*.f64 #s(approx (- y -1/2) #s(literal 1/2 binary64)) x)
#s(approx (- y -1/2) #s(literal 1/2 binary64))
#s(literal 1/2 binary64)
x
(fma.f64 y x (+.f64 #s(approx (/ x 2) (*.f64 #s(literal 1/2 binary64) x)) z))
y
(+.f64 #s(approx (/ x 2) (*.f64 #s(literal 1/2 binary64) x)) z)
#s(approx (/ x 2) (*.f64 #s(literal 1/2 binary64) x))
(*.f64 #s(literal 1/2 binary64) x)
z
Outputs
z
(+ z (* x (+ 1/2 y)))
(* x (+ 1/2 y))
x
(+ z (* 1/2 x))
(* 1/2 x)
(* x (+ 1/2 (+ y (/ z x))))
(* x (+ 1/2 (/ z x)))
(* -1 (* x (- (* -1 y) 1/2)))
(* -1 (* x (- (+ (* -1 y) (* -1 (/ z x))) 1/2)))
(* -1 (* x (- (* -1 (/ z x)) 1/2)))
(+ z (+ (* 1/2 x) (* x y)))
(+ (* 1/2 x) (* x y))
1/2
(+ 1/2 y)
y
(* x y)
(* y (+ x (+ (* 1/2 (/ x y)) (/ z y))))
(* y (+ x (* 1/2 (/ x y))))
(* y (+ 1 (* 1/2 (/ 1 y))))
(* -1 (* y (+ (* -1 x) (* -1 (/ (+ z (* 1/2 x)) y)))))
(* -1 (* y (+ (* -1 x) (* -1/2 (/ x y)))))
(* z (+ 1 (+ (* 1/2 (/ x z)) (/ (* x y) z))))
(* z (+ 1 (* 1/2 (/ x z))))
(* -1 (* z (- (* -1 (/ (+ (* 1/2 x) (* x y)) z)) 1)))
(* -1 (* z (- (* -1/2 (/ x z)) 1)))
Calls

9 calls:

TimeVariablePointExpression
10.0ms
x
@-inf
((+ (+ (/ x 2) (* y x)) z) (* (- y -1/2) x) (- y -1/2) 1/2 x (+ (* y x) (+ (/ x 2) z)) y (+ (/ x 2) z) (/ x 2) (* 1/2 x) z)
1.0ms
x
@inf
((+ (+ (/ x 2) (* y x)) z) (* (- y -1/2) x) (- y -1/2) 1/2 x (+ (* y x) (+ (/ x 2) z)) y (+ (/ x 2) z) (/ x 2) (* 1/2 x) z)
1.0ms
y
@-inf
((+ (+ (/ x 2) (* y x)) z) (* (- y -1/2) x) (- y -1/2) 1/2 x (+ (* y x) (+ (/ x 2) z)) y (+ (/ x 2) z) (/ x 2) (* 1/2 x) z)
1.0ms
x
@0
((+ (+ (/ x 2) (* y x)) z) (* (- y -1/2) x) (- y -1/2) 1/2 x (+ (* y x) (+ (/ x 2) z)) y (+ (/ x 2) z) (/ x 2) (* 1/2 x) z)
0.0ms
y
@inf
((+ (+ (/ x 2) (* y x)) z) (* (- y -1/2) x) (- y -1/2) 1/2 x (+ (* y x) (+ (/ x 2) z)) y (+ (/ x 2) z) (/ x 2) (* 1/2 x) z)

simplify173.0ms (6.3%)

Memory
32.7MiB live, 263.6MiB allocated; 59ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
072122
1244122
2768122
32885122
45605122
08087109
Stop Event
iter limit
node limit
Counts
26 → 23
Calls
Call 1
Inputs
z
(+ z (* x (+ 1/2 y)))
(* x (+ 1/2 y))
x
(+ z (* 1/2 x))
(* 1/2 x)
(* x (+ 1/2 (+ y (/ z x))))
(* x (+ 1/2 (/ z x)))
(* -1 (* x (- (* -1 y) 1/2)))
(* -1 (* x (- (+ (* -1 y) (* -1 (/ z x))) 1/2)))
(* -1 (* x (- (* -1 (/ z x)) 1/2)))
(+ z (+ (* 1/2 x) (* x y)))
(+ (* 1/2 x) (* x y))
1/2
(+ 1/2 y)
y
(* x y)
(* y (+ x (+ (* 1/2 (/ x y)) (/ z y))))
(* y (+ x (* 1/2 (/ x y))))
(* y (+ 1 (* 1/2 (/ 1 y))))
(* -1 (* y (+ (* -1 x) (* -1 (/ (+ z (* 1/2 x)) y)))))
(* -1 (* y (+ (* -1 x) (* -1/2 (/ x y)))))
(* z (+ 1 (+ (* 1/2 (/ x z)) (/ (* x y) z))))
(* z (+ 1 (* 1/2 (/ x z))))
(* -1 (* z (- (* -1 (/ (+ (* 1/2 x) (* x y)) z)) 1)))
(* -1 (* z (- (* -1/2 (/ x z)) 1)))
Outputs
z
(+ z (* x (+ 1/2 y)))
(fma.f64 (-.f64 y #s(literal -1/2 binary64)) x z)
(* x (+ 1/2 y))
(*.f64 (-.f64 y #s(literal -1/2 binary64)) x)
x
(+ z (* 1/2 x))
(fma.f64 #s(literal 1/2 binary64) x z)
(* 1/2 x)
(*.f64 #s(literal 1/2 binary64) x)
(* x (+ 1/2 (+ y (/ z x))))
(fma.f64 (-.f64 y #s(literal -1/2 binary64)) x z)
(* x (+ 1/2 (/ z x)))
(fma.f64 #s(literal 1/2 binary64) x z)
(* -1 (* x (- (* -1 y) 1/2)))
(*.f64 (-.f64 y #s(literal -1/2 binary64)) x)
(* -1 (* x (- (+ (* -1 y) (* -1 (/ z x))) 1/2)))
(fma.f64 (-.f64 y #s(literal -1/2 binary64)) x z)
(* -1 (* x (- (* -1 (/ z x)) 1/2)))
(fma.f64 #s(literal 1/2 binary64) x z)
(+ z (+ (* 1/2 x) (* x y)))
(fma.f64 (-.f64 y #s(literal -1/2 binary64)) x z)
(+ (* 1/2 x) (* x y))
(*.f64 (-.f64 y #s(literal -1/2 binary64)) x)
1/2
#s(literal 1/2 binary64)
(+ 1/2 y)
(-.f64 y #s(literal -1/2 binary64))
y
(* x y)
(*.f64 y x)
(* y (+ x (+ (* 1/2 (/ x y)) (/ z y))))
(fma.f64 (-.f64 y #s(literal -1/2 binary64)) x z)
(* y (+ x (* 1/2 (/ x y))))
(*.f64 (-.f64 y #s(literal -1/2 binary64)) x)
(* y (+ 1 (* 1/2 (/ 1 y))))
(-.f64 y #s(literal -1/2 binary64))
(* -1 (* y (+ (* -1 x) (* -1 (/ (+ z (* 1/2 x)) y)))))
(fma.f64 (-.f64 y #s(literal -1/2 binary64)) x z)
(* -1 (* y (+ (* -1 x) (* -1/2 (/ x y)))))
(*.f64 (-.f64 y #s(literal -1/2 binary64)) x)
(* z (+ 1 (+ (* 1/2 (/ x z)) (/ (* x y) z))))
(fma.f64 (-.f64 y #s(literal -1/2 binary64)) x z)
(* z (+ 1 (* 1/2 (/ x z))))
(fma.f64 #s(literal 1/2 binary64) x z)
(* -1 (* z (- (* -1 (/ (+ (* 1/2 x) (* x y)) z)) 1)))
(fma.f64 (-.f64 y #s(literal -1/2 binary64)) x z)
(* -1 (* z (- (* -1/2 (/ x z)) 1)))
(fma.f64 #s(literal 1/2 binary64) x z)

rewrite42.0ms (1.5%)

Memory
9.6MiB live, 55.9MiB allocated; 3ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01864
02264
110164
081363
Stop Event
iter limit
iter limit
node limit
iter limit
Counts
11 → 41
Calls
Call 1
Inputs
#s(approx (+ (+ (/ x 2) (* y x)) z) (*.f64 #s(approx (- y -1/2) #s(literal 1/2 binary64)) x))
(*.f64 #s(approx (- y -1/2) #s(literal 1/2 binary64)) x)
#s(approx (- y -1/2) #s(literal 1/2 binary64))
#s(literal 1/2 binary64)
x
(fma.f64 y x (+.f64 #s(approx (/ x 2) (*.f64 #s(literal 1/2 binary64) x)) z))
y
(+.f64 #s(approx (/ x 2) (*.f64 #s(literal 1/2 binary64) x)) z)
#s(approx (/ x 2) (*.f64 #s(literal 1/2 binary64) x))
(*.f64 #s(literal 1/2 binary64) x)
z
Outputs
#s(approx (+ (+ (/ x 2) (* y x)) z) (*.f64 #s(approx (- y -1/2) #s(literal 1/2 binary64)) x))
(*.f64 #s(approx (- y -1/2) #s(literal 1/2 binary64)) x)
(*.f64 x #s(approx (- y -1/2) #s(literal 1/2 binary64)))
#s(approx (- y -1/2) #s(literal 1/2 binary64))
#s(literal 1/2 binary64)
x
(/.f64 (-.f64 (*.f64 (fma.f64 y x #s(approx (/ x 2) (*.f64 #s(literal 1/2 binary64) x))) (fma.f64 y x #s(approx (/ x 2) (*.f64 #s(literal 1/2 binary64) x)))) (*.f64 z z)) (-.f64 (fma.f64 y x #s(approx (/ x 2) (*.f64 #s(literal 1/2 binary64) x))) z))
(/.f64 (-.f64 (pow.f64 (+.f64 #s(approx (/ x 2) (*.f64 #s(literal 1/2 binary64) x)) z) #s(literal 2 binary64)) (pow.f64 (*.f64 y x) #s(literal 2 binary64))) (-.f64 (+.f64 #s(approx (/ x 2) (*.f64 #s(literal 1/2 binary64) x)) z) (*.f64 y x)))
(/.f64 (+.f64 (pow.f64 (fma.f64 y x #s(approx (/ x 2) (*.f64 #s(literal 1/2 binary64) x))) #s(literal 3 binary64)) (pow.f64 z #s(literal 3 binary64))) (fma.f64 (fma.f64 y x #s(approx (/ x 2) (*.f64 #s(literal 1/2 binary64) x))) (fma.f64 y x #s(approx (/ x 2) (*.f64 #s(literal 1/2 binary64) x))) (-.f64 (*.f64 z z) (*.f64 (fma.f64 y x #s(approx (/ x 2) (*.f64 #s(literal 1/2 binary64) x))) z))))
(/.f64 (neg.f64 (-.f64 (pow.f64 (*.f64 y x) #s(literal 2 binary64)) (pow.f64 (+.f64 #s(approx (/ x 2) (*.f64 #s(literal 1/2 binary64) x)) z) #s(literal 2 binary64)))) (neg.f64 (-.f64 (-.f64 (*.f64 y x) z) #s(approx (/ x 2) (*.f64 #s(literal 1/2 binary64) x)))))
(/.f64 (neg.f64 (+.f64 (pow.f64 (+.f64 #s(approx (/ x 2) (*.f64 #s(literal 1/2 binary64) x)) z) #s(literal 3 binary64)) (pow.f64 (*.f64 y x) #s(literal 3 binary64)))) (neg.f64 (fma.f64 (+.f64 #s(approx (/ x 2) (*.f64 #s(literal 1/2 binary64) x)) z) (-.f64 (+.f64 #s(approx (/ x 2) (*.f64 #s(literal 1/2 binary64) x)) z) (*.f64 y x)) (pow.f64 (*.f64 y x) #s(literal 2 binary64)))))
(/.f64 (-.f64 (pow.f64 (*.f64 y x) #s(literal 2 binary64)) (pow.f64 (+.f64 #s(approx (/ x 2) (*.f64 #s(literal 1/2 binary64) x)) z) #s(literal 2 binary64))) (-.f64 (-.f64 (*.f64 y x) z) #s(approx (/ x 2) (*.f64 #s(literal 1/2 binary64) x))))
(/.f64 (+.f64 (pow.f64 (+.f64 #s(approx (/ x 2) (*.f64 #s(literal 1/2 binary64) x)) z) #s(literal 3 binary64)) (pow.f64 (*.f64 y x) #s(literal 3 binary64))) (+.f64 (pow.f64 (+.f64 #s(approx (/ x 2) (*.f64 #s(literal 1/2 binary64) x)) z) #s(literal 2 binary64)) (-.f64 (pow.f64 (*.f64 y x) #s(literal 2 binary64)) (*.f64 (+.f64 #s(approx (/ x 2) (*.f64 #s(literal 1/2 binary64) x)) z) (*.f64 y x)))))
(/.f64 (+.f64 (pow.f64 (+.f64 #s(approx (/ x 2) (*.f64 #s(literal 1/2 binary64) x)) z) #s(literal 3 binary64)) (pow.f64 (*.f64 y x) #s(literal 3 binary64))) (fma.f64 (+.f64 #s(approx (/ x 2) (*.f64 #s(literal 1/2 binary64) x)) z) (-.f64 (+.f64 #s(approx (/ x 2) (*.f64 #s(literal 1/2 binary64) x)) z) (*.f64 y x)) (pow.f64 (*.f64 y x) #s(literal 2 binary64))))
(fma.f64 y x (+.f64 #s(approx (/ x 2) (*.f64 #s(literal 1/2 binary64) x)) z))
(fma.f64 x y (+.f64 #s(approx (/ x 2) (*.f64 #s(literal 1/2 binary64) x)) z))
(-.f64 (/.f64 (pow.f64 (*.f64 y x) #s(literal 2 binary64)) (-.f64 (-.f64 (*.f64 y x) z) #s(approx (/ x 2) (*.f64 #s(literal 1/2 binary64) x)))) (/.f64 (pow.f64 (+.f64 #s(approx (/ x 2) (*.f64 #s(literal 1/2 binary64) x)) z) #s(literal 2 binary64)) (-.f64 (-.f64 (*.f64 y x) z) #s(approx (/ x 2) (*.f64 #s(literal 1/2 binary64) x)))))
(-.f64 (+.f64 #s(approx (/ x 2) (*.f64 #s(literal 1/2 binary64) x)) z) (*.f64 (neg.f64 x) y))
(-.f64 (+.f64 #s(approx (/ x 2) (*.f64 #s(literal 1/2 binary64) x)) z) (*.f64 (neg.f64 y) x))
(+.f64 (/.f64 (pow.f64 (*.f64 y x) #s(literal 3 binary64)) (fma.f64 (+.f64 #s(approx (/ x 2) (*.f64 #s(literal 1/2 binary64) x)) z) (-.f64 (+.f64 #s(approx (/ x 2) (*.f64 #s(literal 1/2 binary64) x)) z) (*.f64 y x)) (pow.f64 (*.f64 y x) #s(literal 2 binary64)))) (/.f64 (pow.f64 (+.f64 #s(approx (/ x 2) (*.f64 #s(literal 1/2 binary64) x)) z) #s(literal 3 binary64)) (fma.f64 (+.f64 #s(approx (/ x 2) (*.f64 #s(literal 1/2 binary64) x)) z) (-.f64 (+.f64 #s(approx (/ x 2) (*.f64 #s(literal 1/2 binary64) x)) z) (*.f64 y x)) (pow.f64 (*.f64 y x) #s(literal 2 binary64)))))
(+.f64 (fma.f64 y x z) #s(approx (/ x 2) (*.f64 #s(literal 1/2 binary64) x)))
(+.f64 (fma.f64 y x #s(approx (/ x 2) (*.f64 #s(literal 1/2 binary64) x))) z)
(+.f64 (+.f64 #s(approx (/ x 2) (*.f64 #s(literal 1/2 binary64) x)) z) (*.f64 y x))
(+.f64 #s(approx (/ x 2) (*.f64 #s(literal 1/2 binary64) x)) (fma.f64 y x z))
(+.f64 z (fma.f64 y x #s(approx (/ x 2) (*.f64 #s(literal 1/2 binary64) x))))
(+.f64 (*.f64 y x) (+.f64 #s(approx (/ x 2) (*.f64 #s(literal 1/2 binary64) x)) z))
y
(/.f64 (-.f64 (*.f64 z z) (pow.f64 #s(approx (/ x 2) (*.f64 #s(literal 1/2 binary64) x)) #s(literal 2 binary64))) (-.f64 z #s(approx (/ x 2) (*.f64 #s(literal 1/2 binary64) x))))
(/.f64 (neg.f64 (-.f64 (pow.f64 #s(approx (/ x 2) (*.f64 #s(literal 1/2 binary64) x)) #s(literal 2 binary64)) (*.f64 z z))) (neg.f64 (-.f64 #s(approx (/ x 2) (*.f64 #s(literal 1/2 binary64) x)) z)))
(/.f64 (neg.f64 (+.f64 (pow.f64 z #s(literal 3 binary64)) (pow.f64 #s(approx (/ x 2) (*.f64 #s(literal 1/2 binary64) x)) #s(literal 3 binary64)))) (neg.f64 (fma.f64 z (-.f64 z #s(approx (/ x 2) (*.f64 #s(literal 1/2 binary64) x))) (pow.f64 #s(approx (/ x 2) (*.f64 #s(literal 1/2 binary64) x)) #s(literal 2 binary64)))))
(/.f64 (-.f64 (pow.f64 #s(approx (/ x 2) (*.f64 #s(literal 1/2 binary64) x)) #s(literal 2 binary64)) (*.f64 z z)) (-.f64 #s(approx (/ x 2) (*.f64 #s(literal 1/2 binary64) x)) z))
(/.f64 (+.f64 (pow.f64 z #s(literal 3 binary64)) (pow.f64 #s(approx (/ x 2) (*.f64 #s(literal 1/2 binary64) x)) #s(literal 3 binary64))) (fma.f64 z z (-.f64 (pow.f64 #s(approx (/ x 2) (*.f64 #s(literal 1/2 binary64) x)) #s(literal 2 binary64)) (*.f64 #s(approx (/ x 2) (*.f64 #s(literal 1/2 binary64) x)) z))))
(/.f64 (+.f64 (pow.f64 z #s(literal 3 binary64)) (pow.f64 #s(approx (/ x 2) (*.f64 #s(literal 1/2 binary64) x)) #s(literal 3 binary64))) (fma.f64 z (-.f64 z #s(approx (/ x 2) (*.f64 #s(literal 1/2 binary64) x))) (pow.f64 #s(approx (/ x 2) (*.f64 #s(literal 1/2 binary64) x)) #s(literal 2 binary64))))
(-.f64 (/.f64 (pow.f64 #s(approx (/ x 2) (*.f64 #s(literal 1/2 binary64) x)) #s(literal 2 binary64)) (-.f64 #s(approx (/ x 2) (*.f64 #s(literal 1/2 binary64) x)) z)) (/.f64 (*.f64 z z) (-.f64 #s(approx (/ x 2) (*.f64 #s(literal 1/2 binary64) x)) z)))
(+.f64 (/.f64 (pow.f64 #s(approx (/ x 2) (*.f64 #s(literal 1/2 binary64) x)) #s(literal 3 binary64)) (fma.f64 z (-.f64 z #s(approx (/ x 2) (*.f64 #s(literal 1/2 binary64) x))) (pow.f64 #s(approx (/ x 2) (*.f64 #s(literal 1/2 binary64) x)) #s(literal 2 binary64)))) (/.f64 (pow.f64 z #s(literal 3 binary64)) (fma.f64 z (-.f64 z #s(approx (/ x 2) (*.f64 #s(literal 1/2 binary64) x))) (pow.f64 #s(approx (/ x 2) (*.f64 #s(literal 1/2 binary64) x)) #s(literal 2 binary64)))))
(+.f64 #s(approx (/ x 2) (*.f64 #s(literal 1/2 binary64) x)) z)
(+.f64 z #s(approx (/ x 2) (*.f64 #s(literal 1/2 binary64) x)))
#s(approx (/ x 2) (*.f64 #s(literal 1/2 binary64) x))
(*.f64 #s(literal 1/2 binary64) x)
(*.f64 x #s(literal 1/2 binary64))
z

eval41.0ms (1.5%)

Memory
-26.8MiB live, 24.0MiB allocated; 45ms collecting garbage
Compiler

Compiled 1 184 to 138 computations (88.3% saved)

prune3.0ms (0.1%)

Memory
9.0MiB live, 9.0MiB allocated; 0ms collecting garbage
Pruning

6 alts after pruning (2 fresh and 4 done)

PrunedKeptTotal
New48250
Fresh000
Picked112
Done033
Total49655
Accuracy
100.0%
Counts
55 → 6
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(fma.f64 y x #s(approx (+ (/ x 2) z) (fma.f64 #s(literal 1/2 binary64) x z)))
100.0%
#s(approx (+ (+ (/ x 2) (* y x)) z) (fma.f64 (-.f64 y #s(literal -1/2 binary64)) x z))
60.0%
#s(approx (+ (+ (/ x 2) (* y x)) z) (fma.f64 #s(literal 1/2 binary64) x z))
60.1%
#s(approx (+ (+ (/ x 2) (* y x)) z) (*.f64 (-.f64 y #s(literal -1/2 binary64)) x))
20.9%
#s(approx (+ (+ (/ x 2) (* y x)) z) (*.f64 #s(approx (- y -1/2) #s(literal 1/2 binary64)) x))
42.0%
#s(approx (+ (+ (/ x 2) (* y x)) z) (*.f64 y x))
Compiler

Compiled 88 to 69 computations (21.6% saved)

series4.0ms (0.2%)

Memory
12.7MiB live, 12.7MiB allocated; 0ms collecting garbage
Counts
9 → 21
Calls
Call 1
Inputs
#s(approx (+ (+ (/ x 2) (* y x)) z) (*.f64 y x))
(*.f64 y x)
y
x
(fma.f64 y x #s(approx (+ (/ x 2) z) (fma.f64 #s(literal 1/2 binary64) x z)))
#s(approx (+ (/ x 2) z) (fma.f64 #s(literal 1/2 binary64) x z))
(fma.f64 #s(literal 1/2 binary64) x z)
#s(literal 1/2 binary64)
z
Outputs
z
(+ z (* x (+ 1/2 y)))
(* x y)
x
(+ z (* 1/2 x))
(* x (+ 1/2 y))
(* x (+ 1/2 (+ y (/ z x))))
(* 1/2 x)
(* x (+ 1/2 (/ z x)))
(* -1 (* x (- (* -1 y) 1/2)))
(* -1 (* x (- (+ (* -1 y) (* -1 (/ z x))) 1/2)))
(* -1 (* x (- (* -1 (/ z x)) 1/2)))
(+ z (+ (* 1/2 x) (* x y)))
y
(* y (+ x (+ (* 1/2 (/ x y)) (/ z y))))
(* -1 (* y (+ (* -1 x) (* -1 (/ (+ z (* 1/2 x)) y)))))
(+ (* 1/2 x) (* x y))
(* z (+ 1 (+ (* 1/2 (/ x z)) (/ (* x y) z))))
(* z (+ 1 (* 1/2 (/ x z))))
(* -1 (* z (- (* -1 (/ (+ (* 1/2 x) (* x y)) z)) 1)))
(* -1 (* z (- (* -1/2 (/ x z)) 1)))
Calls

9 calls:

TimeVariablePointExpression
1.0ms
x
@-inf
((+ (+ (/ x 2) (* y x)) z) (* y x) y x (+ (* y x) (+ (/ x 2) z)) (+ (/ x 2) z) (+ (* 1/2 x) z) 1/2 z)
1.0ms
y
@-inf
((+ (+ (/ x 2) (* y x)) z) (* y x) y x (+ (* y x) (+ (/ x 2) z)) (+ (/ x 2) z) (+ (* 1/2 x) z) 1/2 z)
1.0ms
x
@inf
((+ (+ (/ x 2) (* y x)) z) (* y x) y x (+ (* y x) (+ (/ x 2) z)) (+ (/ x 2) z) (+ (* 1/2 x) z) 1/2 z)
0.0ms
z
@-inf
((+ (+ (/ x 2) (* y x)) z) (* y x) y x (+ (* y x) (+ (/ x 2) z)) (+ (/ x 2) z) (+ (* 1/2 x) z) 1/2 z)
0.0ms
y
@inf
((+ (+ (/ x 2) (* y x)) z) (* y x) y x (+ (* y x) (+ (/ x 2) z)) (+ (/ x 2) z) (+ (* 1/2 x) z) 1/2 z)

simplify138.0ms (5.1%)

Memory
-12.7MiB live, 129.3MiB allocated; 12ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
062105
1201105
2599105
32336105
0811492
Stop Event
iter limit
node limit
Counts
21 → 18
Calls
Call 1
Inputs
z
(+ z (* x (+ 1/2 y)))
(* x y)
x
(+ z (* 1/2 x))
(* x (+ 1/2 y))
(* x (+ 1/2 (+ y (/ z x))))
(* 1/2 x)
(* x (+ 1/2 (/ z x)))
(* -1 (* x (- (* -1 y) 1/2)))
(* -1 (* x (- (+ (* -1 y) (* -1 (/ z x))) 1/2)))
(* -1 (* x (- (* -1 (/ z x)) 1/2)))
(+ z (+ (* 1/2 x) (* x y)))
y
(* y (+ x (+ (* 1/2 (/ x y)) (/ z y))))
(* -1 (* y (+ (* -1 x) (* -1 (/ (+ z (* 1/2 x)) y)))))
(+ (* 1/2 x) (* x y))
(* z (+ 1 (+ (* 1/2 (/ x z)) (/ (* x y) z))))
(* z (+ 1 (* 1/2 (/ x z))))
(* -1 (* z (- (* -1 (/ (+ (* 1/2 x) (* x y)) z)) 1)))
(* -1 (* z (- (* -1/2 (/ x z)) 1)))
Outputs
z
(+ z (* x (+ 1/2 y)))
(fma.f64 (-.f64 y #s(literal -1/2 binary64)) x z)
(* x y)
(*.f64 y x)
x
(+ z (* 1/2 x))
(fma.f64 #s(literal 1/2 binary64) x z)
(* x (+ 1/2 y))
(*.f64 (-.f64 y #s(literal -1/2 binary64)) x)
(* x (+ 1/2 (+ y (/ z x))))
(fma.f64 (-.f64 y #s(literal -1/2 binary64)) x z)
(* 1/2 x)
(*.f64 #s(literal 1/2 binary64) x)
(* x (+ 1/2 (/ z x)))
(fma.f64 #s(literal 1/2 binary64) x z)
(* -1 (* x (- (* -1 y) 1/2)))
(*.f64 (-.f64 y #s(literal -1/2 binary64)) x)
(* -1 (* x (- (+ (* -1 y) (* -1 (/ z x))) 1/2)))
(fma.f64 (-.f64 y #s(literal -1/2 binary64)) x z)
(* -1 (* x (- (* -1 (/ z x)) 1/2)))
(fma.f64 #s(literal 1/2 binary64) x z)
(+ z (+ (* 1/2 x) (* x y)))
(fma.f64 (-.f64 y #s(literal -1/2 binary64)) x z)
y
(* y (+ x (+ (* 1/2 (/ x y)) (/ z y))))
(fma.f64 (-.f64 y #s(literal -1/2 binary64)) x z)
(* -1 (* y (+ (* -1 x) (* -1 (/ (+ z (* 1/2 x)) y)))))
(fma.f64 (-.f64 y #s(literal -1/2 binary64)) x z)
(+ (* 1/2 x) (* x y))
(*.f64 (-.f64 y #s(literal -1/2 binary64)) x)
(* z (+ 1 (+ (* 1/2 (/ x z)) (/ (* x y) z))))
(fma.f64 (-.f64 y #s(literal -1/2 binary64)) x z)
(* z (+ 1 (* 1/2 (/ x z))))
(fma.f64 #s(literal 1/2 binary64) x z)
(* -1 (* z (- (* -1 (/ (+ (* 1/2 x) (* x y)) z)) 1)))
(fma.f64 (-.f64 y #s(literal -1/2 binary64)) x z)
(* -1 (* z (- (* -1/2 (/ x z)) 1)))
(fma.f64 #s(literal 1/2 binary64) x z)

rewrite43.0ms (1.6%)

Memory
13.5MiB live, 60.1MiB allocated; 8ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01547
01947
19047
073146
Stop Event
iter limit
iter limit
node limit
iter limit
Counts
9 → 36
Calls
Call 1
Inputs
#s(approx (+ (+ (/ x 2) (* y x)) z) (*.f64 y x))
(*.f64 y x)
y
x
(fma.f64 y x #s(approx (+ (/ x 2) z) (fma.f64 #s(literal 1/2 binary64) x z)))
#s(approx (+ (/ x 2) z) (fma.f64 #s(literal 1/2 binary64) x z))
(fma.f64 #s(literal 1/2 binary64) x z)
#s(literal 1/2 binary64)
z
Outputs
#s(approx (+ (+ (/ x 2) (* y x)) z) (*.f64 y x))
(*.f64 y x)
(*.f64 x y)
y
x
(/.f64 (-.f64 (pow.f64 #s(approx (+ (/ x 2) z) (fma.f64 #s(literal 1/2 binary64) x z)) #s(literal 2 binary64)) (pow.f64 (*.f64 y x) #s(literal 2 binary64))) (-.f64 #s(approx (+ (/ x 2) z) (fma.f64 #s(literal 1/2 binary64) x z)) (*.f64 y x)))
(/.f64 (neg.f64 (-.f64 (pow.f64 (*.f64 y x) #s(literal 2 binary64)) (pow.f64 #s(approx (+ (/ x 2) z) (fma.f64 #s(literal 1/2 binary64) x z)) #s(literal 2 binary64)))) (neg.f64 (-.f64 (*.f64 y x) #s(approx (+ (/ x 2) z) (fma.f64 #s(literal 1/2 binary64) x z)))))
(/.f64 (neg.f64 (+.f64 (pow.f64 #s(approx (+ (/ x 2) z) (fma.f64 #s(literal 1/2 binary64) x z)) #s(literal 3 binary64)) (pow.f64 (*.f64 y x) #s(literal 3 binary64)))) (neg.f64 (fma.f64 #s(approx (+ (/ x 2) z) (fma.f64 #s(literal 1/2 binary64) x z)) (-.f64 #s(approx (+ (/ x 2) z) (fma.f64 #s(literal 1/2 binary64) x z)) (*.f64 y x)) (pow.f64 (*.f64 y x) #s(literal 2 binary64)))))
(/.f64 (-.f64 (pow.f64 (*.f64 y x) #s(literal 2 binary64)) (pow.f64 #s(approx (+ (/ x 2) z) (fma.f64 #s(literal 1/2 binary64) x z)) #s(literal 2 binary64))) (-.f64 (*.f64 y x) #s(approx (+ (/ x 2) z) (fma.f64 #s(literal 1/2 binary64) x z))))
(/.f64 (+.f64 (pow.f64 #s(approx (+ (/ x 2) z) (fma.f64 #s(literal 1/2 binary64) x z)) #s(literal 3 binary64)) (pow.f64 (*.f64 y x) #s(literal 3 binary64))) (+.f64 (pow.f64 #s(approx (+ (/ x 2) z) (fma.f64 #s(literal 1/2 binary64) x z)) #s(literal 2 binary64)) (-.f64 (pow.f64 (*.f64 y x) #s(literal 2 binary64)) (*.f64 #s(approx (+ (/ x 2) z) (fma.f64 #s(literal 1/2 binary64) x z)) (*.f64 y x)))))
(/.f64 (+.f64 (pow.f64 #s(approx (+ (/ x 2) z) (fma.f64 #s(literal 1/2 binary64) x z)) #s(literal 3 binary64)) (pow.f64 (*.f64 y x) #s(literal 3 binary64))) (fma.f64 #s(approx (+ (/ x 2) z) (fma.f64 #s(literal 1/2 binary64) x z)) (-.f64 #s(approx (+ (/ x 2) z) (fma.f64 #s(literal 1/2 binary64) x z)) (*.f64 y x)) (pow.f64 (*.f64 y x) #s(literal 2 binary64))))
(fma.f64 y x #s(approx (+ (/ x 2) z) (fma.f64 #s(literal 1/2 binary64) x z)))
(fma.f64 x y #s(approx (+ (/ x 2) z) (fma.f64 #s(literal 1/2 binary64) x z)))
(-.f64 (/.f64 (pow.f64 (*.f64 y x) #s(literal 2 binary64)) (-.f64 (*.f64 y x) #s(approx (+ (/ x 2) z) (fma.f64 #s(literal 1/2 binary64) x z)))) (/.f64 (pow.f64 #s(approx (+ (/ x 2) z) (fma.f64 #s(literal 1/2 binary64) x z)) #s(literal 2 binary64)) (-.f64 (*.f64 y x) #s(approx (+ (/ x 2) z) (fma.f64 #s(literal 1/2 binary64) x z)))))
(-.f64 #s(approx (+ (/ x 2) z) (fma.f64 #s(literal 1/2 binary64) x z)) (*.f64 (neg.f64 x) y))
(-.f64 #s(approx (+ (/ x 2) z) (fma.f64 #s(literal 1/2 binary64) x z)) (*.f64 (neg.f64 y) x))
(+.f64 (/.f64 (pow.f64 (*.f64 y x) #s(literal 3 binary64)) (fma.f64 #s(approx (+ (/ x 2) z) (fma.f64 #s(literal 1/2 binary64) x z)) (-.f64 #s(approx (+ (/ x 2) z) (fma.f64 #s(literal 1/2 binary64) x z)) (*.f64 y x)) (pow.f64 (*.f64 y x) #s(literal 2 binary64)))) (/.f64 (pow.f64 #s(approx (+ (/ x 2) z) (fma.f64 #s(literal 1/2 binary64) x z)) #s(literal 3 binary64)) (fma.f64 #s(approx (+ (/ x 2) z) (fma.f64 #s(literal 1/2 binary64) x z)) (-.f64 #s(approx (+ (/ x 2) z) (fma.f64 #s(literal 1/2 binary64) x z)) (*.f64 y x)) (pow.f64 (*.f64 y x) #s(literal 2 binary64)))))
(+.f64 #s(approx (+ (/ x 2) z) (fma.f64 #s(literal 1/2 binary64) x z)) (*.f64 y x))
(+.f64 (*.f64 y x) #s(approx (+ (/ x 2) z) (fma.f64 #s(literal 1/2 binary64) x z)))
#s(approx (+ (/ x 2) z) (fma.f64 #s(literal 1/2 binary64) x z))
(/.f64 (-.f64 (*.f64 z z) (pow.f64 (*.f64 #s(literal 1/2 binary64) x) #s(literal 2 binary64))) (-.f64 z (*.f64 #s(literal 1/2 binary64) x)))
(/.f64 (neg.f64 (fma.f64 #s(literal 1/4 binary64) (*.f64 x x) (*.f64 (neg.f64 z) z))) (neg.f64 (-.f64 (*.f64 #s(literal 1/2 binary64) x) z)))
(/.f64 (neg.f64 (fma.f64 #s(literal 1/8 binary64) (pow.f64 x #s(literal 3 binary64)) (pow.f64 z #s(literal 3 binary64)))) (neg.f64 (fma.f64 #s(literal 1/4 binary64) (*.f64 x x) (*.f64 z (-.f64 z (*.f64 #s(literal 1/2 binary64) x))))))
(/.f64 (fma.f64 #s(literal 1/4 binary64) (*.f64 x x) (*.f64 (neg.f64 z) z)) (-.f64 (*.f64 #s(literal 1/2 binary64) x) z))
(/.f64 (fma.f64 #s(literal 1/8 binary64) (pow.f64 x #s(literal 3 binary64)) (pow.f64 z #s(literal 3 binary64))) (fma.f64 z z (-.f64 (pow.f64 (*.f64 #s(literal 1/2 binary64) x) #s(literal 2 binary64)) (*.f64 (*.f64 #s(literal 1/2 binary64) x) z))))
(/.f64 (fma.f64 #s(literal 1/8 binary64) (pow.f64 x #s(literal 3 binary64)) (pow.f64 z #s(literal 3 binary64))) (fma.f64 #s(literal 1/4 binary64) (*.f64 x x) (*.f64 z (-.f64 z (*.f64 #s(literal 1/2 binary64) x)))))
(fma.f64 #s(literal 1/2 binary64) x z)
(fma.f64 x #s(literal 1/2 binary64) z)
(-.f64 (/.f64 (pow.f64 (*.f64 #s(literal 1/2 binary64) x) #s(literal 2 binary64)) (-.f64 (*.f64 #s(literal 1/2 binary64) x) z)) (/.f64 (*.f64 z z) (-.f64 (*.f64 #s(literal 1/2 binary64) x) z)))
(-.f64 z (*.f64 #s(literal -1/2 binary64) x))
(-.f64 z (*.f64 (neg.f64 x) #s(literal 1/2 binary64)))
(+.f64 (/.f64 (pow.f64 (*.f64 #s(literal 1/2 binary64) x) #s(literal 3 binary64)) (fma.f64 #s(literal 1/4 binary64) (*.f64 x x) (*.f64 z (-.f64 z (*.f64 #s(literal 1/2 binary64) x))))) (/.f64 (pow.f64 z #s(literal 3 binary64)) (fma.f64 #s(literal 1/4 binary64) (*.f64 x x) (*.f64 z (-.f64 z (*.f64 #s(literal 1/2 binary64) x))))))
(+.f64 (*.f64 #s(literal 1/2 binary64) x) z)
(+.f64 z (*.f64 #s(literal 1/2 binary64) x))
#s(literal 1/2 binary64)
z

eval7.0ms (0.3%)

Memory
-33.2MiB live, 12.3MiB allocated; 3ms collecting garbage
Compiler

Compiled 993 to 137 computations (86.2% saved)

prune4.0ms (0.2%)

Memory
10.0MiB live, 10.0MiB allocated; 0ms collecting garbage
Pruning

6 alts after pruning (1 fresh and 5 done)

PrunedKeptTotal
New42143
Fresh000
Picked112
Done044
Total43649
Accuracy
100.0%
Counts
49 → 6
Alt Table
Click to see full alt table
StatusAccuracyProgram
60.1%
(fma.f64 y x #s(approx (+ (/ x 2) z) (*.f64 #s(literal 1/2 binary64) x)))
100.0%
#s(approx (+ (+ (/ x 2) (* y x)) z) (fma.f64 (-.f64 y #s(literal -1/2 binary64)) x z))
60.0%
#s(approx (+ (+ (/ x 2) (* y x)) z) (fma.f64 #s(literal 1/2 binary64) x z))
60.1%
#s(approx (+ (+ (/ x 2) (* y x)) z) (*.f64 (-.f64 y #s(literal -1/2 binary64)) x))
20.9%
#s(approx (+ (+ (/ x 2) (* y x)) z) (*.f64 #s(approx (- y -1/2) #s(literal 1/2 binary64)) x))
42.0%
#s(approx (+ (+ (/ x 2) (* y x)) z) (*.f64 y x))
Compiler

Compiled 221 to 108 computations (51.1% saved)

regimes20.0ms (0.7%)

Memory
-2.9MiB live, 40.6MiB allocated; 6ms collecting garbage
Counts
10 → 1
Calls
Call 1
Inputs
#s(approx (+ (+ (/ x 2) (* y x)) z) (*.f64 y x))
#s(approx (+ (+ (/ x 2) (* y x)) z) (*.f64 #s(approx (- y -1/2) #s(literal 1/2 binary64)) x))
#s(approx (+ (+ (/ x 2) (* y x)) z) (fma.f64 #s(literal 1/2 binary64) x z))
#s(approx (+ (+ (/ x 2) (* y x)) z) (*.f64 (-.f64 y #s(literal -1/2 binary64)) x))
#s(approx (+ (+ (/ x 2) (* y x)) z) (fma.f64 (-.f64 y #s(literal -1/2 binary64)) x z))
(fma.f64 y x #s(approx (+ (/ x 2) z) (*.f64 #s(literal 1/2 binary64) x)))
(fma.f64 y x #s(approx (+ (/ x 2) z) (fma.f64 #s(literal 1/2 binary64) x z)))
(fma.f64 y x (+.f64 #s(approx (/ x 2) (*.f64 #s(literal 1/2 binary64) x)) z))
(+.f64 (+.f64 #s(approx (/ x 2) (*.f64 #s(literal 1/2 binary64) x)) (*.f64 y x)) z)
(+.f64 (+.f64 (/.f64 x #s(literal 2 binary64)) (*.f64 y x)) z)
Outputs
(fma.f64 y x #s(approx (+ (/ x 2) z) (fma.f64 #s(literal 1/2 binary64) x z)))
Calls

5 calls:

6.0ms
(+.f64 (/.f64 x #s(literal 2 binary64)) (*.f64 y x))
3.0ms
z
3.0ms
y
3.0ms
x
3.0ms
(+.f64 (+.f64 (/.f64 x #s(literal 2 binary64)) (*.f64 y x)) z)
Results
AccuracySegmentsBranch
100.0%1(+.f64 (/.f64 x #s(literal 2 binary64)) (*.f64 y x))
100.0%1(+.f64 (+.f64 (/.f64 x #s(literal 2 binary64)) (*.f64 y x)) z)
100.0%1x
100.0%1y
100.0%1z
Compiler

Compiled 19 to 24 computations (-26.3% saved)

regimes12.0ms (0.4%)

Memory
26.2MiB live, 26.1MiB allocated; 0ms collecting garbage
Counts
6 → 1
Calls
Call 1
Inputs
#s(approx (+ (+ (/ x 2) (* y x)) z) (*.f64 y x))
#s(approx (+ (+ (/ x 2) (* y x)) z) (*.f64 #s(approx (- y -1/2) #s(literal 1/2 binary64)) x))
#s(approx (+ (+ (/ x 2) (* y x)) z) (fma.f64 #s(literal 1/2 binary64) x z))
#s(approx (+ (+ (/ x 2) (* y x)) z) (*.f64 (-.f64 y #s(literal -1/2 binary64)) x))
#s(approx (+ (+ (/ x 2) (* y x)) z) (fma.f64 (-.f64 y #s(literal -1/2 binary64)) x z))
(fma.f64 y x #s(approx (+ (/ x 2) z) (*.f64 #s(literal 1/2 binary64) x)))
Outputs
#s(approx (+ (+ (/ x 2) (* y x)) z) (fma.f64 (-.f64 y #s(literal -1/2 binary64)) x z))
Calls

5 calls:

2.0ms
z
2.0ms
y
2.0ms
x
2.0ms
(+.f64 (+.f64 (/.f64 x #s(literal 2 binary64)) (*.f64 y x)) z)
2.0ms
(+.f64 (/.f64 x #s(literal 2 binary64)) (*.f64 y x))
Results
AccuracySegmentsBranch
100.0%1(+.f64 (/.f64 x #s(literal 2 binary64)) (*.f64 y x))
100.0%1(+.f64 (+.f64 (/.f64 x #s(literal 2 binary64)) (*.f64 y x)) z)
100.0%1x
100.0%1y
100.0%1z
Compiler

Compiled 19 to 24 computations (-26.3% saved)

regimes33.0ms (1.2%)

Memory
-27.1MiB live, 18.2MiB allocated; 5ms collecting garbage
Counts
4 → 3
Calls
Call 1
Inputs
#s(approx (+ (+ (/ x 2) (* y x)) z) (*.f64 y x))
#s(approx (+ (+ (/ x 2) (* y x)) z) (*.f64 #s(approx (- y -1/2) #s(literal 1/2 binary64)) x))
#s(approx (+ (+ (/ x 2) (* y x)) z) (fma.f64 #s(literal 1/2 binary64) x z))
#s(approx (+ (+ (/ x 2) (* y x)) z) (*.f64 (-.f64 y #s(literal -1/2 binary64)) x))
Outputs
#s(approx (+ (+ (/ x 2) (* y x)) z) (*.f64 (-.f64 y #s(literal -1/2 binary64)) x))
#s(approx (+ (+ (/ x 2) (* y x)) z) (fma.f64 #s(literal 1/2 binary64) x z))
#s(approx (+ (+ (/ x 2) (* y x)) z) (*.f64 y x))
Calls

5 calls:

25.0ms
(+.f64 (/.f64 x #s(literal 2 binary64)) (*.f64 y x))
2.0ms
z
2.0ms
y
2.0ms
(+.f64 (+.f64 (/.f64 x #s(literal 2 binary64)) (*.f64 y x)) z)
2.0ms
x
Results
AccuracySegmentsBranch
86.5%3(+.f64 (/.f64 x #s(literal 2 binary64)) (*.f64 y x))
81.0%5(+.f64 (+.f64 (/.f64 x #s(literal 2 binary64)) (*.f64 y x)) z)
80.5%3x
88.3%3y
77.2%3z
Compiler

Compiled 19 to 24 computations (-26.3% saved)

regimes2.0ms (0.1%)

Memory
3.8MiB live, 3.8MiB allocated; 0ms collecting garbage
Counts
3 → 3
Calls
Call 1
Inputs
#s(approx (+ (+ (/ x 2) (* y x)) z) (*.f64 y x))
#s(approx (+ (+ (/ x 2) (* y x)) z) (*.f64 #s(approx (- y -1/2) #s(literal 1/2 binary64)) x))
#s(approx (+ (+ (/ x 2) (* y x)) z) (fma.f64 #s(literal 1/2 binary64) x z))
Outputs
#s(approx (+ (+ (/ x 2) (* y x)) z) (*.f64 y x))
#s(approx (+ (+ (/ x 2) (* y x)) z) (fma.f64 #s(literal 1/2 binary64) x z))
#s(approx (+ (+ (/ x 2) (* y x)) z) (*.f64 y x))
Calls

1 calls:

2.0ms
y
Results
AccuracySegmentsBranch
88.1%3y
Compiler

Compiled 1 to 3 computations (-200% saved)

regimes7.0ms (0.2%)

Memory
14.2MiB live, 14.2MiB allocated; 0ms collecting garbage
Counts
2 → 3
Calls
Call 1
Inputs
#s(approx (+ (+ (/ x 2) (* y x)) z) (*.f64 y x))
#s(approx (+ (+ (/ x 2) (* y x)) z) (*.f64 #s(approx (- y -1/2) #s(literal 1/2 binary64)) x))
Outputs
#s(approx (+ (+ (/ x 2) (* y x)) z) (*.f64 y x))
#s(approx (+ (+ (/ x 2) (* y x)) z) (*.f64 #s(approx (- y -1/2) #s(literal 1/2 binary64)) x))
#s(approx (+ (+ (/ x 2) (* y x)) z) (*.f64 y x))
Calls

5 calls:

1.0ms
y
1.0ms
(+.f64 (/.f64 x #s(literal 2 binary64)) (*.f64 y x))
1.0ms
z
1.0ms
(+.f64 (+.f64 (/.f64 x #s(literal 2 binary64)) (*.f64 y x)) z)
1.0ms
x
Results
AccuracySegmentsBranch
45.7%3z
42.0%1(+.f64 (+.f64 (/.f64 x #s(literal 2 binary64)) (*.f64 y x)) z)
42.0%1x
42.0%1(+.f64 (/.f64 x #s(literal 2 binary64)) (*.f64 y x))
59.6%3y
Compiler

Compiled 19 to 24 computations (-26.3% saved)

regimes2.0ms (0.1%)

Memory
5.2MiB live, 5.2MiB allocated; 0ms collecting garbage
Accuracy

Total 0.0b remaining (0%)

Threshold costs 0b (0%)

Counts
1 → 1
Calls
Call 1
Inputs
#s(approx (+ (+ (/ x 2) (* y x)) z) (*.f64 y x))
Outputs
#s(approx (+ (+ (/ x 2) (* y x)) z) (*.f64 y x))
Calls

2 calls:

1.0ms
y
1.0ms
z
Results
AccuracySegmentsBranch
42.0%1z
42.0%1y
Compiler

Compiled 2 to 6 computations (-200% saved)

bsearch16.0ms (0.6%)

Memory
20.5MiB live, 20.5MiB allocated; 0ms collecting garbage
Algorithm
binary-search
Stop Event
narrow-enough
narrow-enough
Steps
TimeLeftRight
5.0ms
2.3380659124647375e+44
3.771413387885774e+44
8.0ms
-66.09922510282468
-6.492031210767413
Samples
8.0ms160×0valid
Compiler

Compiled 294 to 256 computations (12.9% saved)

Precisions
Click to see histograms. Total time spent on operations: 4.0ms
ival-div: 1.0ms (25.9% of total)
ival-add: 1.0ms (25.9% of total)
ival-mult: 1.0ms (25.9% of total)
ival-true: 0.0ms (0% of total)
adjust: 0.0ms (0% of total)
exact: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

bsearch30.0ms (1.1%)

Memory
-24.1MiB live, 29.5MiB allocated; 10ms collecting garbage
Algorithm
binary-search
Stop Event
narrow-enough
narrow-enough
Steps
TimeLeftRight
0.0ms
2.3380659124647375e+44
3.771413387885774e+44
28.0ms
-106293908274406.94
-643471408.8741022
Samples
7.0ms144×0valid
Compiler

Compiled 363 to 313 computations (13.8% saved)

Precisions
Click to see histograms. Total time spent on operations: 4.0ms
ival-div: 1.0ms (28.2% of total)
ival-add: 1.0ms (28.2% of total)
ival-mult: 1.0ms (28.2% of total)
ival-true: 0.0ms (0% of total)
adjust: 0.0ms (0% of total)
exact: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

bsearch34.0ms (1.3%)

Memory
11.1MiB live, 53.7MiB allocated; 9ms collecting garbage
Algorithm
binary-search
Stop Event
narrow-enough
narrow-enough
Steps
TimeLeftRight
12.0ms
7.924131400980308e-7
1976.0221747620976
19.0ms
-6.492031210767413
-4.779931094866343e-12
Samples
20.0ms304×0valid
Compiler

Compiled 582 to 508 computations (12.7% saved)

Precisions
Click to see histograms. Total time spent on operations: 7.0ms
ival-add: 3.0ms (40.9% of total)
ival-div: 2.0ms (27.2% of total)
ival-mult: 2.0ms (27.2% of total)
ival-true: 0.0ms (0% of total)
adjust: 0.0ms (0% of total)
exact: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

simplify49.0ms (1.8%)

Memory
-6.8MiB live, 79.7MiB allocated; 16ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
039167
158167
281167
3107167
4158167
5486167
63639167
Stop Event
node limit
Calls
Call 1
Inputs
(fma.f64 y x #s(approx (+ (/ x 2) z) (fma.f64 #s(literal 1/2 binary64) x z)))
#s(approx (+ (+ (/ x 2) (* y x)) z) (fma.f64 (-.f64 y #s(literal -1/2 binary64)) x z))
(if (<=.f64 y #s(literal -12 binary64)) #s(approx (+ (+ (/ x 2) (* y x)) z) (*.f64 (-.f64 y #s(literal -1/2 binary64)) x)) (if (<=.f64 y #s(literal 240000000000000013248451121308980578330083328 binary64)) #s(approx (+ (+ (/ x 2) (* y x)) z) (fma.f64 #s(literal 1/2 binary64) x z)) #s(approx (+ (+ (/ x 2) (* y x)) z) (*.f64 y x))))
(if (<=.f64 y #s(literal -39000000000 binary64)) #s(approx (+ (+ (/ x 2) (* y x)) z) (*.f64 y x)) (if (<=.f64 y #s(literal 240000000000000013248451121308980578330083328 binary64)) #s(approx (+ (+ (/ x 2) (* y x)) z) (fma.f64 #s(literal 1/2 binary64) x z)) #s(approx (+ (+ (/ x 2) (* y x)) z) (*.f64 y x))))
(if (<=.f64 y #s(literal -1/2 binary64)) #s(approx (+ (+ (/ x 2) (* y x)) z) (*.f64 y x)) (if (<=.f64 y #s(literal 1/2 binary64)) #s(approx (+ (+ (/ x 2) (* y x)) z) (*.f64 #s(approx (- y -1/2) #s(literal 1/2 binary64)) x)) #s(approx (+ (+ (/ x 2) (* y x)) z) (*.f64 y x))))
#s(approx (+ (+ (/ x 2) (* y x)) z) (*.f64 y x))
Outputs
(fma.f64 y x #s(approx (+ (/ x 2) z) (fma.f64 #s(literal 1/2 binary64) x z)))
#s(approx (+ (+ (/ x 2) (* y x)) z) (fma.f64 (-.f64 y #s(literal -1/2 binary64)) x z))
(if (<=.f64 y #s(literal -12 binary64)) #s(approx (+ (+ (/ x 2) (* y x)) z) (*.f64 (-.f64 y #s(literal -1/2 binary64)) x)) (if (<=.f64 y #s(literal 240000000000000013248451121308980578330083328 binary64)) #s(approx (+ (+ (/ x 2) (* y x)) z) (fma.f64 #s(literal 1/2 binary64) x z)) #s(approx (+ (+ (/ x 2) (* y x)) z) (*.f64 y x))))
(if (<=.f64 y #s(literal -39000000000 binary64)) #s(approx (+ (+ (/ x 2) (* y x)) z) (*.f64 y x)) (if (<=.f64 y #s(literal 240000000000000013248451121308980578330083328 binary64)) #s(approx (+ (+ (/ x 2) (* y x)) z) (fma.f64 #s(literal 1/2 binary64) x z)) #s(approx (+ (+ (/ x 2) (* y x)) z) (*.f64 y x))))
(if (or (<=.f64 y #s(literal -39000000000 binary64)) (not (<=.f64 y #s(literal 240000000000000013248451121308980578330083328 binary64)))) #s(approx (+ (+ (/ x 2) (* y x)) z) (*.f64 y x)) #s(approx (+ (+ (/ x 2) (* y x)) z) (fma.f64 #s(literal 1/2 binary64) x z)))
(if (<=.f64 y #s(literal -1/2 binary64)) #s(approx (+ (+ (/ x 2) (* y x)) z) (*.f64 y x)) (if (<=.f64 y #s(literal 1/2 binary64)) #s(approx (+ (+ (/ x 2) (* y x)) z) (*.f64 #s(approx (- y -1/2) #s(literal 1/2 binary64)) x)) #s(approx (+ (+ (/ x 2) (* y x)) z) (*.f64 y x))))
(if (or (<=.f64 y #s(literal -1/2 binary64)) (not (<=.f64 y #s(literal 1/2 binary64)))) #s(approx (+ (+ (/ x 2) (* y x)) z) (*.f64 y x)) #s(approx (+ (+ (/ x 2) (* y x)) z) (*.f64 #s(approx (- y -1/2) #s(literal 1/2 binary64)) x)))
#s(approx (+ (+ (/ x 2) (* y x)) z) (*.f64 y x))

derivations334.0ms (12.2%)

Memory
3.2MiB live, 332.4MiB allocated; 93ms collecting garbage
Stop Event
fuel
Compiler

Compiled 167 to 43 computations (74.3% saved)

preprocess42.0ms (1.5%)

Memory
-15.2MiB live, 87.4MiB allocated; 31ms collecting garbage
Compiler

Compiled 352 to 102 computations (71% saved)

end0.0ms (0%)

Memory
0.0MiB live, 0.0MiB allocated; 0ms collecting garbage

Profiling

Loading profile data...