Graphics.Rasterific.QuadraticFormula:discriminant from Rasterific-0.6.1

Time bar (total: 2.1s)

start0.0ms (0%)

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

analyze0.0ms (0%)

Memory
0.6MiB live, 0.6MiB 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)

sample1.1s (53.9%)

Memory
-17.2MiB live, 1 430.4MiB allocated; 267ms collecting garbage
Samples
789.0ms8 256×0valid
Precisions
Click to see histograms. Total time spent on operations: 358.0ms
ival-mult: 277.0ms (77.3% of total)
ival-sub: 65.0ms (18.1% of total)
ival-true: 6.0ms (1.7% of total)
exact: 5.0ms (1.4% of total)
ival-assert: 3.0ms (0.8% of total)
adjust: 2.0ms (0.6% of total)
Bogosity

explain161.0ms (7.6%)

Memory
-8.2MiB live, 189.4MiB allocated; 28ms collecting garbage
FPErrors
Click to see full error table
Ground TruthOverpredictionsExampleUnderpredictionsExampleSubexpression
20-0-(-.f64 (*.f64 x x) (*.f64 (*.f64 y #s(literal 4 binary64)) z))
10-0-(*.f64 (*.f64 y #s(literal 4 binary64)) z)
00-0-y
00-0-(*.f64 y #s(literal 4 binary64))
00-0-#s(literal 4 binary64)
00-0-z
00-0-(*.f64 x x)
00-0-x
Explanations
Click to see full explanations table
OperatorSubexpressionExplanationCount
-.f64(-.f64 (*.f64 x x) (*.f64 (*.f64 y #s(literal 4 binary64)) z))nan-rescue20
(*.f64 x x)overflow65
(*.f64 y #s(literal 4 binary64))overflow1
(*.f64 (*.f64 y #s(literal 4 binary64)) z)overflow32
*.f64(*.f64 (*.f64 y #s(literal 4 binary64)) z)n*o10
Confusion
Predicted +Predicted -
+30
-0253
Precision
1.0
Recall
1.0
Confusion?
Predicted +Predicted MaybePredicted -
+300
-00253
Precision?
1.0
Recall?
1.0
Freqs
test
numberfreq
0253
13
Total Confusion?
Predicted +Predicted MaybePredicted -
+100
-000
Precision?
1.0
Recall?
1.0
Samples
29.0ms512×0valid
Compiler

Compiled 61 to 28 computations (54.1% saved)

Precisions
Click to see histograms. Total time spent on operations: 13.0ms
ival-mult: 10.0ms (76% of total)
ival-sub: 2.0ms (15.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)

preprocess27.0ms (1.3%)

Memory
8.5MiB live, 53.0MiB allocated; 11ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03197
18893
222793
349890
463290
089
0129
1239
2619
31439
42279
52539
02538
Stop Event
iter limit
saturated
iter limit
saturated
Calls
Call 1
Inputs
(-.f64 (*.f64 x x) (*.f64 (*.f64 y #s(literal 4 binary64)) z))
Outputs
(-.f64 (*.f64 x x) (*.f64 (*.f64 y #s(literal 4 binary64)) z))
(fma.f64 (*.f64 z y) #s(literal -4 binary64) (*.f64 x x))
Symmetry

(abs x)

(sort y z)

Compiler

Compiled 9 to 8 computations (11.1% saved)

eval0.0ms (0%)

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

Compiled 0 to 3 computations (-∞% saved)

prune0.0ms (0%)

Memory
1.2MiB live, 1.2MiB allocated; 0ms collecting garbage
Alt Table
Click to see full alt table
StatusAccuracyProgram
99.2%
(-.f64 (*.f64 x x) (*.f64 (*.f64 y #s(literal 4 binary64)) z))
Compiler

Compiled 9 to 8 computations (11.1% saved)

series9.0ms (0.4%)

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

9 calls:

TimeVariablePointExpression
2.0ms
y
@-inf
((- (* x x) (* (* y 4) z)) (* x x) x (* (* y 4) z) (* y 4) y 4 z)
1.0ms
y
@0
((- (* x x) (* (* y 4) z)) (* x x) x (* (* y 4) z) (* y 4) y 4 z)
1.0ms
y
@inf
((- (* x x) (* (* y 4) z)) (* x x) x (* (* y 4) z) (* y 4) y 4 z)
1.0ms
x
@inf
((- (* x x) (* (* y 4) z)) (* x x) x (* (* y 4) z) (* y 4) y 4 z)
1.0ms
z
@inf
((- (* x x) (* (* y 4) z)) (* x x) x (* (* y 4) z) (* y 4) y 4 z)

simplify141.0ms (6.6%)

Memory
3.5MiB live, 225.3MiB allocated; 47ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
055203
1121203
2396203
32320203
08381187
Stop Event
iter limit
node limit
Counts
15 → 15
Calls
Call 1
Inputs
#s(approx (- (* x x) (* (* y 4) z)) #s(hole binary64 (* -4 (* y z))))
#s(approx (- (* x x) (* (* y 4) z)) #s(hole binary64 (- (pow x 2) (* 4 (* y z)))))
#s(approx (* x x) #s(hole binary64 (pow x 2)))
#s(approx x #s(hole binary64 x))
#s(approx (- (* x x) (* (* y 4) z)) #s(hole binary64 (pow x 2)))
#s(approx (- (* x x) (* (* y 4) z)) #s(hole binary64 (* (pow x 2) (+ 1 (* -4 (/ (* y z) (pow x 2)))))))
#s(approx (- (* x x) (* (* y 4) z)) #s(hole binary64 (+ (* -4 (* y z)) (pow x 2))))
#s(approx (* (* y 4) z) #s(hole binary64 (* 4 (* y z))))
#s(approx (* y 4) #s(hole binary64 (* 4 y)))
#s(approx y #s(hole binary64 y))
#s(approx (- (* x x) (* (* y 4) z)) #s(hole binary64 (* y (- (/ (pow x 2) y) (* 4 z)))))
#s(approx (- (* x x) (* (* y 4) z)) #s(hole binary64 (* -1 (* y (- (* -1 (/ (pow x 2) y)) (* -4 z))))))
#s(approx z #s(hole binary64 z))
#s(approx (- (* x x) (* (* y 4) z)) #s(hole binary64 (* z (- (/ (pow x 2) z) (* 4 y)))))
#s(approx (- (* x x) (* (* y 4) z)) #s(hole binary64 (* -1 (* z (- (* -1 (/ (pow x 2) z)) (* -4 y))))))
Outputs
#s(approx (- (* x x) (* (* y 4) z)) #s(hole binary64 (* -4 (* y z))))
#s(approx (- (* x x) (* (* y 4) z)) (*.f64 (*.f64 z y) #s(literal -4 binary64)))
#s(approx (- (* x x) (* (* y 4) z)) #s(hole binary64 (- (pow x 2) (* 4 (* y z)))))
#s(approx (- (* x x) (* (* y 4) z)) (fma.f64 (*.f64 z y) #s(literal -4 binary64) (*.f64 x x)))
#s(approx (* x x) #s(hole binary64 (pow x 2)))
#s(approx (* x x) (*.f64 x x))
#s(approx x #s(hole binary64 x))
#s(approx x x)
#s(approx (- (* x x) (* (* y 4) z)) #s(hole binary64 (pow x 2)))
#s(approx (- (* x x) (* (* y 4) z)) (*.f64 x x))
#s(approx (- (* x x) (* (* y 4) z)) #s(hole binary64 (* (pow x 2) (+ 1 (* -4 (/ (* y z) (pow x 2)))))))
#s(approx (- (* x x) (* (* y 4) z)) (fma.f64 (*.f64 z y) #s(literal -4 binary64) (*.f64 x x)))
#s(approx (- (* x x) (* (* y 4) z)) #s(hole binary64 (+ (* -4 (* y z)) (pow x 2))))
#s(approx (- (* x x) (* (* y 4) z)) (fma.f64 (*.f64 z y) #s(literal -4 binary64) (*.f64 x x)))
#s(approx (* (* y 4) z) #s(hole binary64 (* 4 (* y z))))
#s(approx (* (* y 4) z) (*.f64 (*.f64 #s(literal 4 binary64) z) y))
#s(approx (* y 4) #s(hole binary64 (* 4 y)))
#s(approx (* y 4) (*.f64 #s(literal 4 binary64) y))
#s(approx y #s(hole binary64 y))
#s(approx y y)
#s(approx (- (* x x) (* (* y 4) z)) #s(hole binary64 (* y (- (/ (pow x 2) y) (* 4 z)))))
#s(approx (- (* x x) (* (* y 4) z)) (*.f64 (fma.f64 #s(literal -4 binary64) z (/.f64 (*.f64 x x) y)) y))
#s(approx (- (* x x) (* (* y 4) z)) #s(hole binary64 (* -1 (* y (- (* -1 (/ (pow x 2) y)) (* -4 z))))))
#s(approx (- (* x x) (* (* y 4) z)) (*.f64 (fma.f64 #s(literal -4 binary64) z (/.f64 (*.f64 x x) y)) y))
#s(approx z #s(hole binary64 z))
#s(approx z z)
#s(approx (- (* x x) (* (* y 4) z)) #s(hole binary64 (* z (- (/ (pow x 2) z) (* 4 y)))))
#s(approx (- (* x x) (* (* y 4) z)) (*.f64 (fma.f64 #s(literal -4 binary64) y (/.f64 (*.f64 x x) z)) z))
#s(approx (- (* x x) (* (* y 4) z)) #s(hole binary64 (* -1 (* z (- (* -1 (/ (pow x 2) z)) (* -4 y))))))
#s(approx (- (* x x) (* (* y 4) z)) (*.f64 (fma.f64 #s(literal -4 binary64) y (/.f64 (*.f64 x x) z)) z))

rewrite65.0ms (3.1%)

Memory
-7.9MiB live, 95.6MiB allocated; 27ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0824
01224
13824
026823
Stop Event
iter limit
iter limit
iter limit
unsound
iter limit
Counts
8 → 62
Calls
Call 1
Inputs
(-.f64 (*.f64 x x) (*.f64 (*.f64 y #s(literal 4 binary64)) z))
(*.f64 x x)
x
(*.f64 (*.f64 y #s(literal 4 binary64)) z)
(*.f64 y #s(literal 4 binary64))
y
#s(literal 4 binary64)
z
Outputs
(/.f64 (+.f64 (pow.f64 x #s(literal 6 binary64)) (pow.f64 (*.f64 (*.f64 #s(literal -4 binary64) y) z) #s(literal 3 binary64))) (+.f64 (pow.f64 x #s(literal 4 binary64)) (-.f64 (pow.f64 (*.f64 z (*.f64 #s(literal 4 binary64) y)) #s(literal 2 binary64)) (*.f64 (*.f64 x x) (*.f64 (*.f64 #s(literal -4 binary64) y) z)))))
(/.f64 (neg.f64 (-.f64 (pow.f64 x #s(literal 4 binary64)) (pow.f64 (*.f64 z (*.f64 #s(literal 4 binary64) y)) #s(literal 2 binary64)))) (neg.f64 (fma.f64 z (*.f64 #s(literal 4 binary64) y) (*.f64 x x))))
(/.f64 (neg.f64 (-.f64 (pow.f64 x #s(literal 6 binary64)) (pow.f64 (*.f64 z (*.f64 #s(literal 4 binary64) y)) #s(literal 3 binary64)))) (neg.f64 (fma.f64 (*.f64 z (*.f64 #s(literal 4 binary64) y)) (fma.f64 z (*.f64 #s(literal 4 binary64) y) (*.f64 x x)) (pow.f64 x #s(literal 4 binary64)))))
(/.f64 (-.f64 (pow.f64 x #s(literal 4 binary64)) (pow.f64 (*.f64 z (*.f64 #s(literal 4 binary64) y)) #s(literal 2 binary64))) (fma.f64 z (*.f64 #s(literal 4 binary64) y) (*.f64 x x)))
(/.f64 (-.f64 (pow.f64 x #s(literal 6 binary64)) (pow.f64 (*.f64 z (*.f64 #s(literal 4 binary64) y)) #s(literal 3 binary64))) (fma.f64 (*.f64 z (*.f64 #s(literal 4 binary64) y)) (fma.f64 z (*.f64 #s(literal 4 binary64) y) (*.f64 x x)) (pow.f64 x #s(literal 4 binary64))))
(fma.f64 (pow.f64 x #s(literal 1 binary64)) (pow.f64 x #s(literal 1 binary64)) (*.f64 (neg.f64 z) (*.f64 #s(literal 4 binary64) y)))
(fma.f64 (pow.f64 x #s(literal 1 binary64)) (pow.f64 x #s(literal 1 binary64)) (*.f64 (neg.f64 y) (*.f64 z #s(literal 4 binary64))))
(fma.f64 (pow.f64 x #s(literal 1 binary64)) (pow.f64 x #s(literal 1 binary64)) (*.f64 (*.f64 #s(literal -4 binary64) y) z))
(fma.f64 (neg.f64 (neg.f64 x)) (neg.f64 (neg.f64 x)) (*.f64 (neg.f64 z) (*.f64 #s(literal 4 binary64) y)))
(fma.f64 (neg.f64 (neg.f64 x)) (neg.f64 (neg.f64 x)) (*.f64 (neg.f64 y) (*.f64 z #s(literal 4 binary64))))
(fma.f64 (neg.f64 (neg.f64 x)) (neg.f64 (neg.f64 x)) (*.f64 (*.f64 #s(literal -4 binary64) y) z))
(fma.f64 (neg.f64 (fabs.f64 x)) (neg.f64 (fabs.f64 x)) (*.f64 (neg.f64 z) (*.f64 #s(literal 4 binary64) y)))
(fma.f64 (neg.f64 (fabs.f64 x)) (neg.f64 (fabs.f64 x)) (*.f64 (neg.f64 y) (*.f64 z #s(literal 4 binary64))))
(fma.f64 (neg.f64 (fabs.f64 x)) (neg.f64 (fabs.f64 x)) (*.f64 (*.f64 #s(literal -4 binary64) y) z))
(fma.f64 (fabs.f64 (fabs.f64 x)) (fabs.f64 (fabs.f64 x)) (*.f64 (neg.f64 z) (*.f64 #s(literal 4 binary64) y)))
(fma.f64 (fabs.f64 (fabs.f64 x)) (fabs.f64 (fabs.f64 x)) (*.f64 (neg.f64 y) (*.f64 z #s(literal 4 binary64))))
(fma.f64 (fabs.f64 (fabs.f64 x)) (fabs.f64 (fabs.f64 x)) (*.f64 (*.f64 #s(literal -4 binary64) y) z))
(fma.f64 (*.f64 #s(literal -4 binary64) y) z (*.f64 x x))
(fma.f64 (neg.f64 x) (neg.f64 x) (*.f64 (neg.f64 z) (*.f64 #s(literal 4 binary64) y)))
(fma.f64 (neg.f64 x) (neg.f64 x) (*.f64 (neg.f64 y) (*.f64 z #s(literal 4 binary64))))
(fma.f64 (neg.f64 x) (neg.f64 x) (*.f64 (*.f64 #s(literal -4 binary64) y) z))
(fma.f64 (fabs.f64 x) (fabs.f64 x) (*.f64 (neg.f64 z) (*.f64 #s(literal 4 binary64) y)))
(fma.f64 (fabs.f64 x) (fabs.f64 x) (*.f64 (neg.f64 y) (*.f64 z #s(literal 4 binary64))))
(fma.f64 (fabs.f64 x) (fabs.f64 x) (*.f64 (*.f64 #s(literal -4 binary64) y) z))
(fma.f64 z (*.f64 #s(literal -4 binary64) y) (*.f64 x x))
(fma.f64 x x (*.f64 (neg.f64 z) (*.f64 #s(literal 4 binary64) y)))
(fma.f64 x x (*.f64 (neg.f64 y) (*.f64 z #s(literal 4 binary64))))
(fma.f64 x x (*.f64 (*.f64 #s(literal -4 binary64) y) z))
(-.f64 (/.f64 (pow.f64 x #s(literal 4 binary64)) (fma.f64 z (*.f64 #s(literal 4 binary64) y) (*.f64 x x))) (/.f64 (pow.f64 (*.f64 z (*.f64 #s(literal 4 binary64) y)) #s(literal 2 binary64)) (fma.f64 z (*.f64 #s(literal 4 binary64) y) (*.f64 x x))))
(-.f64 (/.f64 (pow.f64 x #s(literal 6 binary64)) (fma.f64 (*.f64 z (*.f64 #s(literal 4 binary64) y)) (fma.f64 z (*.f64 #s(literal 4 binary64) y) (*.f64 x x)) (pow.f64 x #s(literal 4 binary64)))) (/.f64 (pow.f64 (*.f64 z (*.f64 #s(literal 4 binary64) y)) #s(literal 3 binary64)) (fma.f64 (*.f64 z (*.f64 #s(literal 4 binary64) y)) (fma.f64 z (*.f64 #s(literal 4 binary64) y) (*.f64 x x)) (pow.f64 x #s(literal 4 binary64)))))
(-.f64 (*.f64 x x) (*.f64 (neg.f64 (*.f64 #s(literal -4 binary64) y)) z))
(-.f64 (*.f64 x x) (*.f64 z (*.f64 #s(literal 4 binary64) y)))
(+.f64 (*.f64 (*.f64 #s(literal -4 binary64) y) z) (*.f64 x x))
(+.f64 (*.f64 x x) (*.f64 (neg.f64 z) (*.f64 #s(literal 4 binary64) y)))
(+.f64 (*.f64 x x) (*.f64 (neg.f64 y) (*.f64 z #s(literal 4 binary64))))
(+.f64 (*.f64 x x) (*.f64 (*.f64 #s(literal -4 binary64) y) z))
(*.f64 (pow.f64 x #s(literal 1 binary64)) (pow.f64 x #s(literal 1 binary64)))
(*.f64 (neg.f64 (neg.f64 x)) (neg.f64 (neg.f64 x)))
(*.f64 (neg.f64 (fabs.f64 x)) (neg.f64 (fabs.f64 x)))
(*.f64 (fabs.f64 (fabs.f64 x)) (fabs.f64 (fabs.f64 x)))
(*.f64 (neg.f64 x) (neg.f64 x))
(*.f64 (fabs.f64 x) (fabs.f64 x))
(*.f64 x x)
(pow.f64 (neg.f64 x) #s(literal 2 binary64))
(pow.f64 (fabs.f64 x) #s(literal 2 binary64))
(pow.f64 x #s(literal 2 binary64))
(neg.f64 (*.f64 (neg.f64 x) x))
(neg.f64 (*.f64 x (neg.f64 x)))
(fabs.f64 (*.f64 x x))
(exp.f64 (*.f64 (log.f64 x) #s(literal 2 binary64)))
x
(*.f64 (*.f64 z y) #s(literal 4 binary64))
(*.f64 (*.f64 z #s(literal 4 binary64)) y)
(*.f64 z (*.f64 #s(literal 4 binary64) y))
(*.f64 (*.f64 #s(literal 4 binary64) y) z)
(*.f64 #s(literal 4 binary64) (*.f64 y z))
(*.f64 y (*.f64 z #s(literal 4 binary64)))
(*.f64 #s(literal 4 binary64) y)
(*.f64 y #s(literal 4 binary64))
y
#s(literal 4 binary64)
z

eval8.0ms (0.4%)

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

Compiled 969 to 168 computations (82.7% saved)

prune5.0ms (0.2%)

Memory
-38.2MiB live, 7.8MiB allocated; 5ms collecting garbage
Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New72375
Fresh000
Picked101
Done000
Total73376
Accuracy
100.0%
Counts
76 → 3
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(fma.f64 (*.f64 #s(literal -4 binary64) y) z (*.f64 x x))
49.8%
#s(approx (- (* x x) (* (* y 4) z)) (*.f64 (*.f64 z y) #s(literal -4 binary64)))
56.6%
#s(approx (- (* x x) (* (* y 4) z)) (*.f64 x x))
Compiler

Compiled 36 to 29 computations (19.4% saved)

series8.0ms (0.4%)

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

9 calls:

TimeVariablePointExpression
1.0ms
y
@-inf
((- (* x x) (* (* y 4) z)) (* x x) x (- (* x x) (* (* y 4) z)) (* (* z y) -4) (* z y) z y -4 (+ (* (* -4 y) z) (* x x)) (* -4 y))
1.0ms
y
@inf
((- (* x x) (* (* y 4) z)) (* x x) x (- (* x x) (* (* y 4) z)) (* (* z y) -4) (* z y) z y -4 (+ (* (* -4 y) z) (* x x)) (* -4 y))
1.0ms
z
@-inf
((- (* x x) (* (* y 4) z)) (* x x) x (- (* x x) (* (* y 4) z)) (* (* z y) -4) (* z y) z y -4 (+ (* (* -4 y) z) (* x x)) (* -4 y))
1.0ms
y
@0
((- (* x x) (* (* y 4) z)) (* x x) x (- (* x x) (* (* y 4) z)) (* (* z y) -4) (* z y) z y -4 (+ (* (* -4 y) z) (* x x)) (* -4 y))
1.0ms
x
@inf
((- (* x x) (* (* y 4) z)) (* x x) x (- (* x x) (* (* y 4) z)) (* (* z y) -4) (* z y) z y -4 (+ (* (* -4 y) z) (* x x)) (* -4 y))

simplify192.0ms (9%)

Memory
16.6MiB live, 242.6MiB allocated; 39ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
078372
1181372
2552372
32784372
08857342
Stop Event
iter limit
node limit
Counts
24 → 24
Calls
Call 1
Inputs
#s(approx (- (* x x) (* (* y 4) z)) #s(hole binary64 (* -4 (* y z))))
#s(approx (- (* x x) (* (* y 4) z)) #s(hole binary64 (- (pow x 2) (* 4 (* y z)))))
#s(approx (* x x) #s(hole binary64 (pow x 2)))
#s(approx x #s(hole binary64 x))
#s(approx (+ (* (* -4 y) z) (* x x)) #s(hole binary64 (* -4 (* y z))))
#s(approx (+ (* (* -4 y) z) (* x x)) #s(hole binary64 (+ (* -4 (* y z)) (pow x 2))))
#s(approx (- (* x x) (* (* y 4) z)) #s(hole binary64 (pow x 2)))
#s(approx (- (* x x) (* (* y 4) z)) #s(hole binary64 (* (pow x 2) (+ 1 (* -4 (/ (* y z) (pow x 2)))))))
#s(approx (+ (* (* -4 y) z) (* x x)) #s(hole binary64 (pow x 2)))
#s(approx (+ (* (* -4 y) z) (* x x)) #s(hole binary64 (* (pow x 2) (+ 1 (* -4 (/ (* y z) (pow x 2)))))))
#s(approx (- (* x x) (* (* y 4) z)) #s(hole binary64 (+ (* -4 (* y z)) (pow x 2))))
#s(approx (* (* z y) -4) #s(hole binary64 (* -4 (* y z))))
#s(approx (* z y) #s(hole binary64 (* y z)))
#s(approx y #s(hole binary64 y))
#s(approx (* -4 y) #s(hole binary64 (* -4 y)))
#s(approx (- (* x x) (* (* y 4) z)) #s(hole binary64 (* y (- (/ (pow x 2) y) (* 4 z)))))
#s(approx (+ (* (* -4 y) z) (* x x)) #s(hole binary64 (* y (+ (* -4 z) (/ (pow x 2) y)))))
#s(approx (- (* x x) (* (* y 4) z)) #s(hole binary64 (* -1 (* y (- (* -1 (/ (pow x 2) y)) (* -4 z))))))
#s(approx (+ (* (* -4 y) z) (* x x)) #s(hole binary64 (* -1 (* y (+ (* -1 (/ (pow x 2) y)) (* 4 z))))))
#s(approx z #s(hole binary64 z))
#s(approx (- (* x x) (* (* y 4) z)) #s(hole binary64 (* z (- (/ (pow x 2) z) (* 4 y)))))
#s(approx (+ (* (* -4 y) z) (* x x)) #s(hole binary64 (* z (+ (* -4 y) (/ (pow x 2) z)))))
#s(approx (- (* x x) (* (* y 4) z)) #s(hole binary64 (* -1 (* z (- (* -1 (/ (pow x 2) z)) (* -4 y))))))
#s(approx (+ (* (* -4 y) z) (* x x)) #s(hole binary64 (* -1 (* z (+ (* -1 (/ (pow x 2) z)) (* 4 y))))))
Outputs
#s(approx (- (* x x) (* (* y 4) z)) #s(hole binary64 (* -4 (* y z))))
#s(approx (- (* x x) (* (* y 4) z)) (*.f64 (*.f64 z y) #s(literal -4 binary64)))
#s(approx (- (* x x) (* (* y 4) z)) #s(hole binary64 (- (pow x 2) (* 4 (* y z)))))
#s(approx (- (* x x) (* (* y 4) z)) (fma.f64 (*.f64 #s(literal -4 binary64) z) y (*.f64 x x)))
#s(approx (* x x) #s(hole binary64 (pow x 2)))
#s(approx (* x x) (*.f64 x x))
#s(approx x #s(hole binary64 x))
#s(approx x x)
#s(approx (+ (* (* -4 y) z) (* x x)) #s(hole binary64 (* -4 (* y z))))
#s(approx (- (* x x) (* (* y 4) z)) (*.f64 (*.f64 z y) #s(literal -4 binary64)))
#s(approx (+ (* (* -4 y) z) (* x x)) #s(hole binary64 (+ (* -4 (* y z)) (pow x 2))))
#s(approx (- (* x x) (* (* y 4) z)) (fma.f64 (*.f64 #s(literal -4 binary64) z) y (*.f64 x x)))
#s(approx (- (* x x) (* (* y 4) z)) #s(hole binary64 (pow x 2)))
#s(approx (- (* x x) (* (* y 4) z)) (*.f64 x x))
#s(approx (- (* x x) (* (* y 4) z)) #s(hole binary64 (* (pow x 2) (+ 1 (* -4 (/ (* y z) (pow x 2)))))))
#s(approx (- (* x x) (* (* y 4) z)) (*.f64 (fma.f64 (*.f64 #s(literal -4 binary64) (/.f64 z x)) (/.f64 y x) #s(literal 1 binary64)) (*.f64 x x)))
#s(approx (+ (* (* -4 y) z) (* x x)) #s(hole binary64 (pow x 2)))
#s(approx (- (* x x) (* (* y 4) z)) (*.f64 x x))
#s(approx (+ (* (* -4 y) z) (* x x)) #s(hole binary64 (* (pow x 2) (+ 1 (* -4 (/ (* y z) (pow x 2)))))))
#s(approx (- (* x x) (* (* y 4) z)) (*.f64 (fma.f64 (*.f64 #s(literal -4 binary64) (/.f64 z x)) (/.f64 y x) #s(literal 1 binary64)) (*.f64 x x)))
#s(approx (- (* x x) (* (* y 4) z)) #s(hole binary64 (+ (* -4 (* y z)) (pow x 2))))
#s(approx (- (* x x) (* (* y 4) z)) (fma.f64 (*.f64 #s(literal -4 binary64) z) y (*.f64 x x)))
#s(approx (* (* z y) -4) #s(hole binary64 (* -4 (* y z))))
#s(approx (* (* z y) -4) (*.f64 (*.f64 z y) #s(literal -4 binary64)))
#s(approx (* z y) #s(hole binary64 (* y z)))
#s(approx (* z y) (*.f64 z y))
#s(approx y #s(hole binary64 y))
#s(approx y y)
#s(approx (* -4 y) #s(hole binary64 (* -4 y)))
#s(approx (* -4 y) (*.f64 #s(literal -4 binary64) y))
#s(approx (- (* x x) (* (* y 4) z)) #s(hole binary64 (* y (- (/ (pow x 2) y) (* 4 z)))))
#s(approx (- (* x x) (* (* y 4) z)) (*.f64 (fma.f64 #s(literal -4 binary64) z (/.f64 (*.f64 x x) y)) y))
#s(approx (+ (* (* -4 y) z) (* x x)) #s(hole binary64 (* y (+ (* -4 z) (/ (pow x 2) y)))))
#s(approx (- (* x x) (* (* y 4) z)) (*.f64 (fma.f64 #s(literal -4 binary64) z (/.f64 (*.f64 x x) y)) y))
#s(approx (- (* x x) (* (* y 4) z)) #s(hole binary64 (* -1 (* y (- (* -1 (/ (pow x 2) y)) (* -4 z))))))
#s(approx (- (* x x) (* (* y 4) z)) (*.f64 (fma.f64 #s(literal -4 binary64) z (/.f64 (*.f64 x x) y)) y))
#s(approx (+ (* (* -4 y) z) (* x x)) #s(hole binary64 (* -1 (* y (+ (* -1 (/ (pow x 2) y)) (* 4 z))))))
#s(approx (- (* x x) (* (* y 4) z)) (*.f64 (fma.f64 #s(literal -4 binary64) z (/.f64 (*.f64 x x) y)) y))
#s(approx z #s(hole binary64 z))
#s(approx z z)
#s(approx (- (* x x) (* (* y 4) z)) #s(hole binary64 (* z (- (/ (pow x 2) z) (* 4 y)))))
#s(approx (- (* x x) (* (* y 4) z)) (*.f64 (fma.f64 #s(literal -4 binary64) y (/.f64 (*.f64 x x) z)) z))
#s(approx (+ (* (* -4 y) z) (* x x)) #s(hole binary64 (* z (+ (* -4 y) (/ (pow x 2) z)))))
#s(approx (- (* x x) (* (* y 4) z)) (*.f64 (fma.f64 #s(literal -4 binary64) y (/.f64 (*.f64 x x) z)) z))
#s(approx (- (* x x) (* (* y 4) z)) #s(hole binary64 (* -1 (* z (- (* -1 (/ (pow x 2) z)) (* -4 y))))))
#s(approx (- (* x x) (* (* y 4) z)) (*.f64 (fma.f64 #s(literal -4 binary64) y (/.f64 (*.f64 x x) z)) z))
#s(approx (+ (* (* -4 y) z) (* x x)) #s(hole binary64 (* -1 (* z (+ (* -1 (/ (pow x 2) z)) (* 4 y))))))
#s(approx (- (* x x) (* (* y 4) z)) (*.f64 (fma.f64 #s(literal -4 binary64) y (/.f64 (*.f64 x x) z)) z))

rewrite78.0ms (3.7%)

Memory
-14.4MiB live, 90.4MiB allocated; 38ms collecting garbage
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01654
02254
16852
048752
Stop Event
iter limit
iter limit
iter limit
unsound
iter limit
Counts
11 → 98
Calls
Call 1
Inputs
#s(approx (- (* x x) (* (* y 4) z)) (*.f64 x x))
(*.f64 x x)
x
#s(approx (- (* x x) (* (* y 4) z)) (*.f64 (*.f64 z y) #s(literal -4 binary64)))
(*.f64 (*.f64 z y) #s(literal -4 binary64))
(*.f64 z y)
z
y
#s(literal -4 binary64)
(fma.f64 (*.f64 #s(literal -4 binary64) y) z (*.f64 x x))
(*.f64 #s(literal -4 binary64) y)
Outputs
#s(approx (- (* x x) (* (* y 4) z)) (*.f64 x x))
(*.f64 (pow.f64 x #s(literal 1 binary64)) (pow.f64 x #s(literal 1 binary64)))
(*.f64 (neg.f64 (neg.f64 x)) (neg.f64 (neg.f64 x)))
(*.f64 (neg.f64 (fabs.f64 x)) (neg.f64 (fabs.f64 x)))
(*.f64 (fabs.f64 (fabs.f64 x)) (fabs.f64 (fabs.f64 x)))
(*.f64 (neg.f64 x) (neg.f64 x))
(*.f64 (fabs.f64 x) (fabs.f64 x))
(*.f64 x x)
(pow.f64 (neg.f64 x) #s(literal 2 binary64))
(pow.f64 (fabs.f64 x) #s(literal 2 binary64))
(pow.f64 x #s(literal 2 binary64))
(neg.f64 (*.f64 (neg.f64 x) x))
(fabs.f64 (*.f64 x x))
(exp.f64 (*.f64 (log.f64 x) #s(literal 2 binary64)))
x
#s(approx (- (* x x) (* (* y 4) z)) (*.f64 (*.f64 #s(literal -4 binary64) y) z))
(*.f64 (*.f64 #s(literal -4 binary64) z) y)
(*.f64 (*.f64 z #s(literal -4 binary64)) y)
(*.f64 (*.f64 #s(literal -4 binary64) y) z)
(*.f64 #s(literal -4 binary64) (*.f64 z y))
(*.f64 (*.f64 z y) #s(literal -4 binary64))
(*.f64 z (*.f64 #s(literal -4 binary64) y))
(*.f64 y (*.f64 #s(literal -4 binary64) z))
(*.f64 y (*.f64 z #s(literal -4 binary64)))
(neg.f64 (*.f64 z (*.f64 #s(literal 4 binary64) y)))
(*.f64 z y)
(*.f64 y z)
z
y
#s(literal -4 binary64)
(/.f64 (-.f64 (pow.f64 (*.f64 (*.f64 #s(literal -4 binary64) y) z) #s(literal 3 binary64)) (pow.f64 (*.f64 (neg.f64 x) x) #s(literal 3 binary64))) (+.f64 (pow.f64 (*.f64 (*.f64 #s(literal -4 binary64) y) z) #s(literal 2 binary64)) (+.f64 (pow.f64 x #s(literal 4 binary64)) (*.f64 (*.f64 (*.f64 #s(literal -4 binary64) y) z) (*.f64 (neg.f64 x) x)))))
(/.f64 (neg.f64 (-.f64 (pow.f64 x #s(literal 4 binary64)) (pow.f64 (*.f64 (*.f64 #s(literal -4 binary64) y) z) #s(literal 2 binary64)))) (neg.f64 (fma.f64 (*.f64 z y) #s(literal 4 binary64) (*.f64 x x))))
(/.f64 (neg.f64 (-.f64 (pow.f64 x #s(literal 6 binary64)) (pow.f64 (*.f64 z (*.f64 #s(literal 4 binary64) y)) #s(literal 3 binary64)))) (neg.f64 (fma.f64 (*.f64 z (*.f64 #s(literal 4 binary64) y)) (fma.f64 (*.f64 z y) #s(literal 4 binary64) (*.f64 x x)) (pow.f64 x #s(literal 4 binary64)))))
(/.f64 (neg.f64 (-.f64 (pow.f64 (*.f64 (*.f64 #s(literal -4 binary64) y) z) #s(literal 2 binary64)) (pow.f64 x #s(literal 4 binary64)))) (neg.f64 (fma.f64 (*.f64 #s(literal -4 binary64) z) y (*.f64 (neg.f64 x) x))))
(/.f64 (neg.f64 (fma.f64 #s(literal -64 binary64) (pow.f64 (*.f64 z y) #s(literal 3 binary64)) (pow.f64 x #s(literal 6 binary64)))) (neg.f64 (fma.f64 (*.f64 x x) (fma.f64 (*.f64 z y) #s(literal 4 binary64) (*.f64 x x)) (pow.f64 (*.f64 (*.f64 #s(literal -4 binary64) y) z) #s(literal 2 binary64)))))
(/.f64 (-.f64 (pow.f64 x #s(literal 4 binary64)) (pow.f64 (*.f64 (*.f64 #s(literal -4 binary64) y) z) #s(literal 2 binary64))) (fma.f64 (*.f64 z y) #s(literal 4 binary64) (*.f64 x x)))
(/.f64 (-.f64 (pow.f64 (*.f64 (*.f64 #s(literal -4 binary64) y) z) #s(literal 2 binary64)) (pow.f64 x #s(literal 4 binary64))) (fma.f64 (*.f64 #s(literal -4 binary64) z) y (*.f64 (neg.f64 x) x)))
(/.f64 (-.f64 (pow.f64 x #s(literal 6 binary64)) (pow.f64 (*.f64 z (*.f64 #s(literal 4 binary64) y)) #s(literal 3 binary64))) (fma.f64 (*.f64 z (*.f64 #s(literal 4 binary64) y)) (fma.f64 (*.f64 z y) #s(literal 4 binary64) (*.f64 x x)) (pow.f64 x #s(literal 4 binary64))))
(/.f64 (fma.f64 #s(literal -64 binary64) (pow.f64 (*.f64 z y) #s(literal 3 binary64)) (pow.f64 x #s(literal 6 binary64))) (+.f64 (pow.f64 x #s(literal 4 binary64)) (-.f64 (pow.f64 (*.f64 (*.f64 #s(literal -4 binary64) y) z) #s(literal 2 binary64)) (*.f64 (*.f64 (*.f64 (*.f64 #s(literal -4 binary64) y) z) x) x))))
(/.f64 (fma.f64 #s(literal -64 binary64) (pow.f64 (*.f64 z y) #s(literal 3 binary64)) (pow.f64 x #s(literal 6 binary64))) (fma.f64 (*.f64 x x) (fma.f64 (*.f64 z y) #s(literal 4 binary64) (*.f64 x x)) (pow.f64 (*.f64 (*.f64 #s(literal -4 binary64) y) z) #s(literal 2 binary64))))
(fma.f64 (*.f64 #s(literal -4 binary64) z) y (*.f64 (neg.f64 (neg.f64 x)) x))
(fma.f64 (*.f64 #s(literal -4 binary64) z) y (*.f64 x x))
(fma.f64 (*.f64 z #s(literal -4 binary64)) y (*.f64 (neg.f64 (neg.f64 x)) x))
(fma.f64 (*.f64 z #s(literal -4 binary64)) y (*.f64 x x))
(fma.f64 (pow.f64 x #s(literal 1 binary64)) (pow.f64 x #s(literal 1 binary64)) (*.f64 (neg.f64 z) (*.f64 #s(literal 4 binary64) y)))
(fma.f64 (pow.f64 x #s(literal 1 binary64)) (pow.f64 x #s(literal 1 binary64)) (*.f64 (neg.f64 y) (*.f64 z #s(literal 4 binary64))))
(fma.f64 (pow.f64 x #s(literal 1 binary64)) (pow.f64 x #s(literal 1 binary64)) (*.f64 (*.f64 #s(literal -4 binary64) y) z))
(fma.f64 (neg.f64 (neg.f64 x)) (neg.f64 (neg.f64 x)) (*.f64 (neg.f64 z) (*.f64 #s(literal 4 binary64) y)))
(fma.f64 (neg.f64 (neg.f64 x)) (neg.f64 (neg.f64 x)) (*.f64 (neg.f64 y) (*.f64 z #s(literal 4 binary64))))
(fma.f64 (neg.f64 (neg.f64 x)) (neg.f64 (neg.f64 x)) (*.f64 (*.f64 #s(literal -4 binary64) y) z))
(fma.f64 (neg.f64 (fabs.f64 x)) (neg.f64 (fabs.f64 x)) (*.f64 (neg.f64 z) (*.f64 #s(literal 4 binary64) y)))
(fma.f64 (neg.f64 (fabs.f64 x)) (neg.f64 (fabs.f64 x)) (*.f64 (neg.f64 y) (*.f64 z #s(literal 4 binary64))))
(fma.f64 (neg.f64 (fabs.f64 x)) (neg.f64 (fabs.f64 x)) (*.f64 (*.f64 #s(literal -4 binary64) y) z))
(fma.f64 (fabs.f64 (fabs.f64 x)) (fabs.f64 (fabs.f64 x)) (*.f64 (neg.f64 z) (*.f64 #s(literal 4 binary64) y)))
(fma.f64 (fabs.f64 (fabs.f64 x)) (fabs.f64 (fabs.f64 x)) (*.f64 (neg.f64 y) (*.f64 z #s(literal 4 binary64))))
(fma.f64 (fabs.f64 (fabs.f64 x)) (fabs.f64 (fabs.f64 x)) (*.f64 (*.f64 #s(literal -4 binary64) y) z))
(fma.f64 (neg.f64 x) (neg.f64 x) (*.f64 (neg.f64 z) (*.f64 #s(literal 4 binary64) y)))
(fma.f64 (neg.f64 x) (neg.f64 x) (*.f64 (neg.f64 y) (*.f64 z #s(literal 4 binary64))))
(fma.f64 (neg.f64 x) (neg.f64 x) (*.f64 (*.f64 #s(literal -4 binary64) y) z))
(fma.f64 (fabs.f64 x) (fabs.f64 x) (*.f64 (neg.f64 z) (*.f64 #s(literal 4 binary64) y)))
(fma.f64 (fabs.f64 x) (fabs.f64 x) (*.f64 (neg.f64 y) (*.f64 z #s(literal 4 binary64))))
(fma.f64 (fabs.f64 x) (fabs.f64 x) (*.f64 (*.f64 #s(literal -4 binary64) y) z))
(fma.f64 (*.f64 #s(literal -4 binary64) y) z (*.f64 (neg.f64 (neg.f64 x)) x))
(fma.f64 (*.f64 #s(literal -4 binary64) y) z (*.f64 x x))
(fma.f64 #s(literal -4 binary64) (*.f64 z y) (*.f64 (neg.f64 (neg.f64 x)) x))
(fma.f64 #s(literal -4 binary64) (*.f64 z y) (*.f64 x x))
(fma.f64 (*.f64 z y) #s(literal -4 binary64) (*.f64 (neg.f64 (neg.f64 x)) x))
(fma.f64 (*.f64 z y) #s(literal -4 binary64) (*.f64 x x))
(fma.f64 z (*.f64 #s(literal -4 binary64) y) (*.f64 (neg.f64 (neg.f64 x)) x))
(fma.f64 z (*.f64 #s(literal -4 binary64) y) (*.f64 x x))
(fma.f64 y (*.f64 #s(literal -4 binary64) z) (*.f64 (neg.f64 (neg.f64 x)) x))
(fma.f64 y (*.f64 #s(literal -4 binary64) z) (*.f64 x x))
(fma.f64 y (*.f64 z #s(literal -4 binary64)) (*.f64 (neg.f64 (neg.f64 x)) x))
(fma.f64 y (*.f64 z #s(literal -4 binary64)) (*.f64 x x))
(fma.f64 x x (*.f64 (neg.f64 z) (*.f64 #s(literal 4 binary64) y)))
(fma.f64 x x (*.f64 (neg.f64 y) (*.f64 z #s(literal 4 binary64))))
(fma.f64 x x (*.f64 (*.f64 #s(literal -4 binary64) y) z))
(-.f64 (/.f64 (pow.f64 x #s(literal 4 binary64)) (fma.f64 (*.f64 z y) #s(literal 4 binary64) (*.f64 x x))) (/.f64 (pow.f64 (*.f64 (*.f64 #s(literal -4 binary64) y) z) #s(literal 2 binary64)) (fma.f64 (*.f64 z y) #s(literal 4 binary64) (*.f64 x x))))
(-.f64 (/.f64 (pow.f64 x #s(literal 6 binary64)) (fma.f64 (*.f64 z (*.f64 #s(literal 4 binary64) y)) (fma.f64 (*.f64 z y) #s(literal 4 binary64) (*.f64 x x)) (pow.f64 x #s(literal 4 binary64)))) (/.f64 (pow.f64 (*.f64 z (*.f64 #s(literal 4 binary64) y)) #s(literal 3 binary64)) (fma.f64 (*.f64 z (*.f64 #s(literal 4 binary64) y)) (fma.f64 (*.f64 z y) #s(literal 4 binary64) (*.f64 x x)) (pow.f64 x #s(literal 4 binary64)))))
(-.f64 (/.f64 (pow.f64 (*.f64 (*.f64 #s(literal -4 binary64) y) z) #s(literal 2 binary64)) (fma.f64 (*.f64 #s(literal -4 binary64) z) y (*.f64 (neg.f64 x) x))) (/.f64 (pow.f64 x #s(literal 4 binary64)) (fma.f64 (*.f64 #s(literal -4 binary64) z) y (*.f64 (neg.f64 x) x))))
(-.f64 (*.f64 (*.f64 #s(literal -4 binary64) y) z) (*.f64 (neg.f64 (neg.f64 x)) (neg.f64 x)))
(-.f64 (*.f64 (*.f64 #s(literal -4 binary64) y) z) (*.f64 (neg.f64 (fabs.f64 x)) (fabs.f64 x)))
(-.f64 (*.f64 (*.f64 #s(literal -4 binary64) y) z) (*.f64 (neg.f64 x) x))
(-.f64 (*.f64 x x) (*.f64 (neg.f64 (*.f64 #s(literal -4 binary64) y)) z))
(-.f64 (*.f64 x x) (*.f64 (neg.f64 (*.f64 z y)) #s(literal -4 binary64)))
(-.f64 (*.f64 x x) (*.f64 (neg.f64 z) (*.f64 #s(literal -4 binary64) y)))
(-.f64 (*.f64 x x) (*.f64 z (*.f64 #s(literal 4 binary64) y)))
(+.f64 (/.f64 (pow.f64 (*.f64 (*.f64 #s(literal -4 binary64) y) z) #s(literal 3 binary64)) (fma.f64 (*.f64 x x) (fma.f64 (*.f64 z y) #s(literal 4 binary64) (*.f64 x x)) (pow.f64 (*.f64 (*.f64 #s(literal -4 binary64) y) z) #s(literal 2 binary64)))) (/.f64 (pow.f64 x #s(literal 6 binary64)) (fma.f64 (*.f64 x x) (fma.f64 (*.f64 z y) #s(literal 4 binary64) (*.f64 x x)) (pow.f64 (*.f64 (*.f64 #s(literal -4 binary64) y) z) #s(literal 2 binary64)))))
(+.f64 (*.f64 (*.f64 #s(literal -4 binary64) y) z) (*.f64 (neg.f64 (neg.f64 x)) x))
(+.f64 (*.f64 (*.f64 #s(literal -4 binary64) y) z) (*.f64 x x))
(+.f64 (*.f64 x x) (*.f64 (neg.f64 z) (*.f64 #s(literal 4 binary64) y)))
(+.f64 (*.f64 x x) (*.f64 (neg.f64 y) (*.f64 z #s(literal 4 binary64))))
(+.f64 (*.f64 x x) (*.f64 (*.f64 #s(literal -4 binary64) y) z))
(*.f64 (neg.f64 y) #s(literal 4 binary64))
(*.f64 #s(literal -4 binary64) y)
(*.f64 #s(literal 4 binary64) (neg.f64 y))
(*.f64 y #s(literal -4 binary64))
(neg.f64 (*.f64 #s(literal 4 binary64) y))

eval13.0ms (0.6%)

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

Compiled 1 900 to 259 computations (86.4% saved)

prune13.0ms (0.6%)

Memory
-21.6MiB live, 24.1MiB allocated; 5ms collecting garbage
Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New1350135
Fresh000
Picked033
Done000
Total1353138
Accuracy
100.0%
Counts
138 → 3
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(fma.f64 (*.f64 #s(literal -4 binary64) y) z (*.f64 x x))
49.8%
#s(approx (- (* x x) (* (* y 4) z)) (*.f64 (*.f64 z y) #s(literal -4 binary64)))
56.6%
#s(approx (- (* x x) (* (* y 4) z)) (*.f64 x x))
Compiler

Compiled 81 to 49 computations (39.5% saved)

regimes39.0ms (1.8%)

Memory
-3.3MiB live, 38.7MiB allocated; 6ms collecting garbage
Counts
4 → 1
Calls
Call 1
Inputs
#s(approx (- (* x x) (* (* y 4) z)) (*.f64 x x))
#s(approx (- (* x x) (* (* y 4) z)) (*.f64 (*.f64 z y) #s(literal -4 binary64)))
(fma.f64 (*.f64 #s(literal -4 binary64) y) z (*.f64 x x))
(-.f64 (*.f64 x x) (*.f64 (*.f64 y #s(literal 4 binary64)) z))
Outputs
(fma.f64 (*.f64 #s(literal -4 binary64) y) z (*.f64 x x))
Calls

7 calls:

27.0ms
(*.f64 x x)
2.0ms
z
2.0ms
y
2.0ms
(*.f64 y #s(literal 4 binary64))
2.0ms
x
Results
AccuracySegmentsBranch
100.0%1(*.f64 y #s(literal 4 binary64))
100.0%1(*.f64 (*.f64 y #s(literal 4 binary64)) z)
100.0%1(*.f64 x x)
100.0%1(-.f64 (*.f64 x x) (*.f64 (*.f64 y #s(literal 4 binary64)) z))
100.0%1x
100.0%1y
100.0%1z
Compiler

Compiled 23 to 32 computations (-39.1% saved)

regimes22.0ms (1%)

Memory
-11.3MiB live, 35.3MiB allocated; 18ms collecting garbage
Counts
2 → 2
Calls
Call 1
Inputs
#s(approx (- (* x x) (* (* y 4) z)) (*.f64 x x))
#s(approx (- (* x x) (* (* y 4) z)) (*.f64 (*.f64 z y) #s(literal -4 binary64)))
Outputs
#s(approx (- (* x x) (* (* y 4) z)) (*.f64 (*.f64 z y) #s(literal -4 binary64)))
#s(approx (- (* x x) (* (* y 4) z)) (*.f64 x x))
Calls

7 calls:

13.0ms
(*.f64 y #s(literal 4 binary64))
1.0ms
(*.f64 (*.f64 y #s(literal 4 binary64)) z)
1.0ms
(-.f64 (*.f64 x x) (*.f64 (*.f64 y #s(literal 4 binary64)) z))
1.0ms
x
1.0ms
z
Results
AccuracySegmentsBranch
69.8%3(*.f64 y #s(literal 4 binary64))
72.4%3(*.f64 (*.f64 y #s(literal 4 binary64)) z)
84.5%2(*.f64 x x)
78.6%2(-.f64 (*.f64 x x) (*.f64 (*.f64 y #s(literal 4 binary64)) z))
84.5%2x
69.8%3y
69.1%3z
Compiler

Compiled 23 to 32 computations (-39.1% saved)

regimes10.0ms (0.5%)

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

Total -0.0b remaining (-0%)

Threshold costs -0b (-0%)

Counts
1 → 1
Calls
Call 1
Inputs
#s(approx (- (* x x) (* (* y 4) z)) (*.f64 x x))
Outputs
#s(approx (- (* x x) (* (* y 4) z)) (*.f64 x x))
Calls

7 calls:

3.0ms
x
1.0ms
(*.f64 (*.f64 y #s(literal 4 binary64)) z)
1.0ms
(*.f64 y #s(literal 4 binary64))
1.0ms
y
1.0ms
(-.f64 (*.f64 x x) (*.f64 (*.f64 y #s(literal 4 binary64)) z))
Results
AccuracySegmentsBranch
56.6%1z
56.6%1(*.f64 y #s(literal 4 binary64))
56.6%1y
56.6%1(*.f64 (*.f64 y #s(literal 4 binary64)) z)
56.6%1(-.f64 (*.f64 x x) (*.f64 (*.f64 y #s(literal 4 binary64)) z))
56.6%1(*.f64 x x)
56.6%1x
Compiler

Compiled 23 to 32 computations (-39.1% saved)

bsearch27.0ms (1.3%)

Memory
12.4MiB live, 48.1MiB allocated; 17ms collecting garbage
Algorithm
binary-search
Stop Event
narrow-enough
Steps
TimeLeftRight
26.0ms
1.7186800837196071e-69
1.1028887608208549e-67
Samples
22.0ms112×0valid
Compiler

Compiled 208 to 182 computations (12.5% saved)

Precisions
Click to see histograms. Total time spent on operations: 3.0ms
ival-mult: 2.0ms (63.6% of total)
ival-sub: 1.0ms (31.8% 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)

simplify23.0ms (1.1%)

Memory
15.7MiB live, 58.6MiB allocated; 12ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01953
13053
26753
315153
424253
528853
Stop Event
saturated
Calls
Call 1
Inputs
(fma.f64 (*.f64 #s(literal -4 binary64) y) z (*.f64 x x))
(if (<=.f64 x #s(literal 834740539628243/7588550360256754183279148073529370729071901715047420004889892225542594864082845696 binary64)) #s(approx (- (* x x) (* (* y 4) z)) (*.f64 (*.f64 z y) #s(literal -4 binary64))) #s(approx (- (* x x) (* (* y 4) z)) (*.f64 x x)))
#s(approx (- (* x x) (* (* y 4) z)) (*.f64 x x))
Outputs
(fma.f64 (*.f64 #s(literal -4 binary64) y) z (*.f64 x x))
(if (<=.f64 x #s(literal 834740539628243/7588550360256754183279148073529370729071901715047420004889892225542594864082845696 binary64)) #s(approx (- (* x x) (* (* y 4) z)) (*.f64 (*.f64 z y) #s(literal -4 binary64))) #s(approx (- (* x x) (* (* y 4) z)) (*.f64 x x)))
#s(approx (- (* x x) (* (* y 4) z)) (*.f64 x x))

derivations106.0ms (5%)

Memory
-47.4MiB live, 59.4MiB allocated; 42ms collecting garbage
Stop Event
done
Compiler

Compiled 53 to 19 computations (64.2% saved)

preprocess30.0ms (1.4%)

Memory
40.4MiB live, 89.4MiB allocated; 5ms collecting garbage
Remove

(abs x)

Compiler

Compiled 172 to 96 computations (44.2% saved)

end0.0ms (0%)

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

Profiling

Loading profile data...