simple fma test

Time bar (total: 4.6s)

start0.0ms (0%)

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

analyze1.0ms (0%)

Memory
1.0MiB live, 1.0MiB 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 15 to 10 computations (33.3% saved)

sample1.9s (42.5%)

Memory
64.5MiB live, 1 355.6MiB allocated; 1.1s collecting garbage
Samples
1.3s6 163×1valid
121.0ms2 093×0valid
Precisions
Click to see histograms. Total time spent on operations: 1.0s
adjust: 583.0ms (55.7% of total)
ival-add: 272.0ms (26% of total)
ival-mult: 111.0ms (10.6% of total)
ival-sub: 66.0ms (6.3% of total)
ival-true: 6.0ms (0.6% of total)
exact: 5.0ms (0.5% of total)
ival-assert: 3.0ms (0.3% of total)
Bogosity

explain562.0ms (12.3%)

Memory
-2.5MiB live, 189.4MiB allocated; 26ms collecting garbage
FPErrors
Click to see full error table
Ground TruthOverpredictionsExampleUnderpredictionsExampleSubexpression
1888(-6.716860590847704e-196 -2.6304955845677593e+180 -549183822971062.44)0-(-.f64 (fma.f64 x y z) (+.f64 #s(literal 1 binary64) (+.f64 (*.f64 x y) z)))
00-0-(+.f64 (*.f64 x y) z)
00-0-(fma.f64 x y z)
00-0-#s(literal 1 binary64)
00-0-(+.f64 #s(literal 1 binary64) (+.f64 (*.f64 x y) z))
00-0-z
00-0-(*.f64 x y)
00-0-y
00-0-x
Explanations
Click to see full explanations table
OperatorSubexpressionExplanationCount
-.f64(-.f64 (fma.f64 x y z) (+.f64 #s(literal 1 binary64) (+.f64 (*.f64 x y) z)))cancellation1630
-.f64(-.f64 (fma.f64 x y z) (+.f64 #s(literal 1 binary64) (+.f64 (*.f64 x y) z)))nan-rescue330
(fma.f64 x y z)overflow33
(+.f64 (*.f64 x y) z)overflow33
(+.f64 #s(literal 1 binary64) (+.f64 (*.f64 x y) z))overflow33
(*.f64 x y)overflow33
Confusion
Predicted +Predicted -
+1890
-760
Precision
0.9642857142857143
Recall
1.0
Confusion?
Predicted +Predicted MaybePredicted -
+18900
-7060
Precision?
0.9642857142857143
Recall?
1.0
Freqs
test
numberfreq
060
1196
Total Confusion?
Predicted +Predicted MaybePredicted -
+100
-000
Precision?
1.0
Recall?
1.0
Samples
50.0ms392×1valid
7.0ms120×0valid
Compiler

Compiled 90 to 29 computations (67.8% saved)

Precisions
Click to see histograms. Total time spent on operations: 33.0ms
adjust: 14.0ms (42.2% of total)
ival-add: 8.0ms (24.1% of total)
ival-mult: 6.0ms (18.1% of total)
ival-sub: 4.0ms (12.1% of total)
ival-assert: 0.0ms (0% of total)
ival-true: 0.0ms (0% of total)
exact: 0.0ms (0% of total)

preprocess587.0ms (12.8%)

Memory
-10.4MiB live, 231.8MiB allocated; 43ms collecting garbage
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
034138
192120
22619
38619
448469
0911
01511
12611
2641
31851
47151
531681
083021
Stop Event
iter limit
node limit
iter limit
node limit
Calls
Call 1
Inputs
(-.f64 (fma.f64 x y z) (+.f64 #s(literal 1 binary64) (+.f64 (*.f64 x y) z)))
Outputs
(-.f64 (fma.f64 x y z) (+.f64 #s(literal 1 binary64) (+.f64 (*.f64 x y) z)))
#s(literal -1 binary64)
Symmetry

(abs z)

(abs y)

(abs x)

(sort x y z)

Compiler

Compiled 12 to 9 computations (25% 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
0.4MiB live, 0.4MiB allocated; 0ms collecting garbage
Alt Table
Click to see full alt table
StatusAccuracyProgram
14.4%
(-.f64 (fma.f64 x y z) (+.f64 #s(literal 1 binary64) (+.f64 (*.f64 x y) z)))
Compiler

Compiled 12 to 9 computations (25% saved)

simplify309.0ms (6.7%)

Memory
3.5MiB live, 187.7MiB allocated; 34ms collecting garbage
Localize:

Found 4 expressions of interest:

NewMetricScoreProgram
cost-diff0
(+.f64 #s(literal 1 binary64) (+.f64 (*.f64 x y) z))
cost-diff0
(fma.f64 x y z)
cost-diff1
(+.f64 (*.f64 x y) z)
cost-diff10
(-.f64 (fma.f64 x y z) (+.f64 #s(literal 1 binary64) (+.f64 (*.f64 x y) z)))
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
0932
01532
12632
26422
318522
471522
5316822
0830222
Stop Event
iter limit
node limit
iter limit
Calls
Call 1
Inputs
(-.f64 (fma.f64 x y z) (+.f64 #s(literal 1 binary64) (+.f64 (*.f64 x y) z)))
(fma.f64 x y z)
x
y
z
(+.f64 #s(literal 1 binary64) (+.f64 (*.f64 x y) z))
#s(literal 1 binary64)
(+.f64 (*.f64 x y) z)
(*.f64 x y)
Outputs
(-.f64 (fma.f64 x y z) (+.f64 #s(literal 1 binary64) (+.f64 (*.f64 x y) z)))
#s(literal -1 binary64)
(fma.f64 x y z)
(fma.f64 y x z)
x
y
z
(+.f64 #s(literal 1 binary64) (+.f64 (*.f64 x y) z))
(-.f64 (fma.f64 y x z) #s(literal -1 binary64))
#s(literal 1 binary64)
(+.f64 (*.f64 x y) z)
(fma.f64 y x z)
(*.f64 x y)
(*.f64 y x)

localize38.0ms (0.8%)

Memory
30.9MiB live, 76.9MiB allocated; 4ms collecting garbage
Localize:

Found 4 expressions of interest:

NewMetricScoreProgram
accuracy0.0
(+.f64 #s(literal 1 binary64) (+.f64 (*.f64 x y) z))
accuracy0.0
(*.f64 x y)
accuracy0.00390625
(+.f64 (*.f64 x y) z)
accuracy54.78039495831402
(-.f64 (fma.f64 x y z) (+.f64 #s(literal 1 binary64) (+.f64 (*.f64 x y) z)))
Samples
30.0ms232×1valid
1.0ms24×0valid
Compiler

Compiled 39 to 10 computations (74.4% saved)

Precisions
Click to see histograms. Total time spent on operations: 20.0ms
adjust: 10.0ms (50.4% of total)
ival-add: 4.0ms (20.2% of total)
ival-mult: 3.0ms (15.1% of total)
ival-sub: 2.0ms (10.1% of total)
ival-assert: 0.0ms (0% of total)
ival-true: 0.0ms (0% of total)
exact: 0.0ms (0% of total)

series5.0ms (0.1%)

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

9 calls:

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

simplify213.0ms (4.6%)

Memory
-25.1MiB live, 121.7MiB allocated; 18ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
085264
1249264
2816252
33052252
08044217
Stop Event
iter limit
node limit
Counts
22 → 22
Calls
Call 1
Inputs
#s(approx (- (+ (* x y) z) (+ 1 (+ (* x y) z))) #s(hole binary64 -1))
#s(approx (+ (* x y) z) #s(hole binary64 z))
#s(approx (+ (* x y) z) #s(hole binary64 (+ z (* x y))))
#s(approx (+ 1 (+ (* x y) z)) #s(hole binary64 (+ 1 z)))
#s(approx (+ 1 (+ (* x y) z)) #s(hole binary64 (+ 1 (+ z (* x y)))))
#s(approx (* x y) #s(hole binary64 (* x y)))
#s(approx (+ (* x y) z) #s(hole binary64 (* x y)))
#s(approx (+ (* x y) z) #s(hole binary64 (* x (+ y (/ z x)))))
#s(approx (+ 1 (+ (* x y) z)) #s(hole binary64 (* x y)))
#s(approx (+ 1 (+ (* x y) z)) #s(hole binary64 (* x (+ y (+ (/ 1 x) (/ z x))))))
#s(approx (+ (* x y) z) #s(hole binary64 (* -1 (* x (+ (* -1 y) (* -1 (/ z x)))))))
#s(approx (+ 1 (+ (* x y) z)) #s(hole binary64 (* -1 (* x (+ (* -1 y) (* -1 (/ (+ 1 z) x)))))))
#s(approx (+ (* x y) z) #s(hole binary64 (* y (+ x (/ z y)))))
#s(approx (+ 1 (+ (* x y) z)) #s(hole binary64 (* y (+ x (+ (/ 1 y) (/ z y))))))
#s(approx (+ (* x y) z) #s(hole binary64 (* -1 (* y (+ (* -1 x) (* -1 (/ z y)))))))
#s(approx (+ 1 (+ (* x y) z)) #s(hole binary64 (* -1 (* y (+ (* -1 x) (* -1 (/ (+ 1 z) y)))))))
#s(approx (+ 1 (+ (* x y) z)) #s(hole binary64 (+ 1 (* x y))))
#s(approx (+ (* x y) z) #s(hole binary64 (* z (+ 1 (/ (* x y) z)))))
#s(approx (+ 1 (+ (* x y) z)) #s(hole binary64 z))
#s(approx (+ 1 (+ (* x y) z)) #s(hole binary64 (* z (+ 1 (+ (/ 1 z) (/ (* x y) z))))))
#s(approx (+ (* x y) z) #s(hole binary64 (* -1 (* z (- (* -1 (/ (* x y) z)) 1)))))
#s(approx (+ 1 (+ (* x y) z)) #s(hole binary64 (* -1 (* z (- (* -1 (/ (+ 1 (* x y)) z)) 1)))))
Outputs
#s(approx (- (+ (* x y) z) (+ 1 (+ (* x y) z))) #s(hole binary64 -1))
#s(approx (- (+ (* x y) z) (+ 1 (+ (* x y) z))) #s(literal -1 binary64))
#s(approx (+ (* x y) z) #s(hole binary64 z))
#s(approx (+ (* x y) z) z)
#s(approx (+ (* x y) z) #s(hole binary64 (+ z (* x y))))
#s(approx (+ (* x y) z) (fma.f64 y x z))
#s(approx (+ 1 (+ (* x y) z)) #s(hole binary64 (+ 1 z)))
#s(approx (+ 1 (+ (* x y) z)) (-.f64 z #s(literal -1 binary64)))
#s(approx (+ 1 (+ (* x y) z)) #s(hole binary64 (+ 1 (+ z (* x y)))))
#s(approx (+ 1 (+ (* x y) z)) (-.f64 (fma.f64 y x z) #s(literal -1 binary64)))
#s(approx (* x y) #s(hole binary64 (* x y)))
#s(approx (* x y) (*.f64 y x))
#s(approx (+ (* x y) z) #s(hole binary64 (* x y)))
#s(approx (+ (* x y) z) (*.f64 y x))
#s(approx (+ (* x y) z) #s(hole binary64 (* x (+ y (/ z x)))))
#s(approx (+ (* x y) z) (fma.f64 y x z))
#s(approx (+ 1 (+ (* x y) z)) #s(hole binary64 (* x y)))
#s(approx (+ 1 (+ (* x y) z)) (*.f64 y x))
#s(approx (+ 1 (+ (* x y) z)) #s(hole binary64 (* x (+ y (+ (/ 1 x) (/ z x))))))
#s(approx (+ 1 (+ (* x y) z)) (-.f64 (fma.f64 y x z) #s(literal -1 binary64)))
#s(approx (+ (* x y) z) #s(hole binary64 (* -1 (* x (+ (* -1 y) (* -1 (/ z x)))))))
#s(approx (+ (* x y) z) (fma.f64 y x z))
#s(approx (+ 1 (+ (* x y) z)) #s(hole binary64 (* -1 (* x (+ (* -1 y) (* -1 (/ (+ 1 z) x)))))))
#s(approx (+ 1 (+ (* x y) z)) (-.f64 (fma.f64 y x z) #s(literal -1 binary64)))
#s(approx (+ (* x y) z) #s(hole binary64 (* y (+ x (/ z y)))))
#s(approx (+ (* x y) z) (fma.f64 y x z))
#s(approx (+ 1 (+ (* x y) z)) #s(hole binary64 (* y (+ x (+ (/ 1 y) (/ z y))))))
#s(approx (+ 1 (+ (* x y) z)) (-.f64 (fma.f64 y x z) #s(literal -1 binary64)))
#s(approx (+ (* x y) z) #s(hole binary64 (* -1 (* y (+ (* -1 x) (* -1 (/ z y)))))))
#s(approx (+ (* x y) z) (fma.f64 y x z))
#s(approx (+ 1 (+ (* x y) z)) #s(hole binary64 (* -1 (* y (+ (* -1 x) (* -1 (/ (+ 1 z) y)))))))
#s(approx (+ 1 (+ (* x y) z)) (-.f64 (fma.f64 y x z) #s(literal -1 binary64)))
#s(approx (+ 1 (+ (* x y) z)) #s(hole binary64 (+ 1 (* x y))))
#s(approx (+ 1 (+ (* x y) z)) (fma.f64 y x #s(literal 1 binary64)))
#s(approx (+ (* x y) z) #s(hole binary64 (* z (+ 1 (/ (* x y) z)))))
#s(approx (+ (* x y) z) (fma.f64 y x z))
#s(approx (+ 1 (+ (* x y) z)) #s(hole binary64 z))
#s(approx (+ 1 (+ (* x y) z)) z)
#s(approx (+ 1 (+ (* x y) z)) #s(hole binary64 (* z (+ 1 (+ (/ 1 z) (/ (* x y) z))))))
#s(approx (+ 1 (+ (* x y) z)) (-.f64 (fma.f64 y x z) #s(literal -1 binary64)))
#s(approx (+ (* x y) z) #s(hole binary64 (* -1 (* z (- (* -1 (/ (* x y) z)) 1)))))
#s(approx (+ (* x y) z) (fma.f64 y x z))
#s(approx (+ 1 (+ (* x y) z)) #s(hole binary64 (* -1 (* z (- (* -1 (/ (+ 1 (* x y)) z)) 1)))))
#s(approx (+ 1 (+ (* x y) z)) (-.f64 (fma.f64 y x z) #s(literal -1 binary64)))

rewrite43.0ms (0.9%)

Memory
21.0MiB live, 67.6MiB allocated; 5ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0928
01528
16228
062328
Stop Event
iter limit
iter limit
node limit
iter limit
Counts
5 → 100
Calls
Call 1
Inputs
(-.f64 (fma.f64 x y z) (+.f64 #s(literal 1 binary64) (+.f64 (*.f64 x y) z)))
(+.f64 (*.f64 x y) z)
(fma.f64 x y z)
(+.f64 #s(literal 1 binary64) (+.f64 (*.f64 x y) z))
(*.f64 x y)
Outputs
(/.f64 (-.f64 (*.f64 (-.f64 (fma.f64 y x z) #s(literal 1 binary64)) (-.f64 (fma.f64 y x z) #s(literal 1 binary64))) (pow.f64 (fma.f64 y x z) #s(literal 2 binary64))) (+.f64 (-.f64 (fma.f64 y x z) #s(literal 1 binary64)) (fma.f64 y x z)))
(/.f64 (-.f64 (pow.f64 (*.f64 y x) #s(literal 2 binary64)) (*.f64 (-.f64 z (-.f64 (fma.f64 y x z) #s(literal -1 binary64))) (-.f64 z (-.f64 (fma.f64 y x z) #s(literal -1 binary64))))) (-.f64 (*.f64 y x) (-.f64 z (-.f64 (fma.f64 y x z) #s(literal -1 binary64)))))
(/.f64 (-.f64 (pow.f64 (-.f64 (fma.f64 y x z) #s(literal 1 binary64)) #s(literal 3 binary64)) (pow.f64 (fma.f64 y x z) #s(literal 3 binary64))) (fma.f64 (-.f64 (fma.f64 y x z) #s(literal 1 binary64)) (-.f64 (fma.f64 y x z) #s(literal 1 binary64)) (+.f64 (pow.f64 (fma.f64 y x z) #s(literal 2 binary64)) (*.f64 (-.f64 (fma.f64 y x z) #s(literal 1 binary64)) (fma.f64 y x z)))))
(/.f64 (+.f64 (pow.f64 (*.f64 y x) #s(literal 3 binary64)) (pow.f64 (-.f64 z (-.f64 (fma.f64 y x z) #s(literal -1 binary64))) #s(literal 3 binary64))) (+.f64 (pow.f64 (*.f64 y x) #s(literal 2 binary64)) (-.f64 (*.f64 (-.f64 z (-.f64 (fma.f64 y x z) #s(literal -1 binary64))) (-.f64 z (-.f64 (fma.f64 y x z) #s(literal -1 binary64)))) (*.f64 (*.f64 y x) (-.f64 z (-.f64 (fma.f64 y x z) #s(literal -1 binary64)))))))
(/.f64 (neg.f64 (-.f64 (pow.f64 (fma.f64 y x z) #s(literal 2 binary64)) (pow.f64 (-.f64 (fma.f64 y x z) #s(literal -1 binary64)) #s(literal 2 binary64)))) (neg.f64 (fma.f64 y x (+.f64 z (-.f64 (fma.f64 y x z) #s(literal -1 binary64))))))
(/.f64 (neg.f64 (-.f64 (pow.f64 (fma.f64 y x z) #s(literal 3 binary64)) (pow.f64 (-.f64 (fma.f64 y x z) #s(literal -1 binary64)) #s(literal 3 binary64)))) (neg.f64 (fma.f64 (-.f64 (fma.f64 y x z) #s(literal -1 binary64)) (fma.f64 y x (+.f64 z (-.f64 (fma.f64 y x z) #s(literal -1 binary64)))) (pow.f64 (fma.f64 y x z) #s(literal 2 binary64)))))
(/.f64 (-.f64 (*.f64 (-.f64 (pow.f64 (*.f64 y x) #s(literal 2 binary64)) (*.f64 z z)) (-.f64 #s(literal 1 binary64) (fma.f64 y x z))) (*.f64 (-.f64 (*.f64 y x) z) (-.f64 #s(literal 1 binary64) (pow.f64 (fma.f64 y x z) #s(literal 2 binary64))))) (*.f64 (-.f64 (*.f64 y x) z) (-.f64 #s(literal 1 binary64) (fma.f64 y x z))))
(/.f64 (-.f64 (*.f64 (-.f64 (pow.f64 (*.f64 y x) #s(literal 2 binary64)) (*.f64 z z)) (fma.f64 (fma.f64 y x z) (-.f64 (fma.f64 y x z) #s(literal 1 binary64)) #s(literal 1 binary64))) (*.f64 (-.f64 (*.f64 y x) z) (+.f64 (pow.f64 (fma.f64 y x z) #s(literal 3 binary64)) #s(literal 1 binary64)))) (*.f64 (-.f64 (*.f64 y x) z) (fma.f64 (fma.f64 y x z) (-.f64 (fma.f64 y x z) #s(literal 1 binary64)) #s(literal 1 binary64))))
(/.f64 (-.f64 (*.f64 (+.f64 (pow.f64 z #s(literal 3 binary64)) (pow.f64 (*.f64 y x) #s(literal 3 binary64))) (-.f64 #s(literal 1 binary64) (fma.f64 y x z))) (*.f64 (fma.f64 z (-.f64 z (*.f64 y x)) (pow.f64 (*.f64 y x) #s(literal 2 binary64))) (-.f64 #s(literal 1 binary64) (pow.f64 (fma.f64 y x z) #s(literal 2 binary64))))) (*.f64 (fma.f64 z (-.f64 z (*.f64 y x)) (pow.f64 (*.f64 y x) #s(literal 2 binary64))) (-.f64 #s(literal 1 binary64) (fma.f64 y x z))))
(/.f64 (-.f64 (*.f64 (+.f64 (pow.f64 z #s(literal 3 binary64)) (pow.f64 (*.f64 y x) #s(literal 3 binary64))) (fma.f64 (fma.f64 y x z) (-.f64 (fma.f64 y x z) #s(literal 1 binary64)) #s(literal 1 binary64))) (*.f64 (fma.f64 z (-.f64 z (*.f64 y x)) (pow.f64 (*.f64 y x) #s(literal 2 binary64))) (+.f64 (pow.f64 (fma.f64 y x z) #s(literal 3 binary64)) #s(literal 1 binary64)))) (*.f64 (fma.f64 z (-.f64 z (*.f64 y x)) (pow.f64 (*.f64 y x) #s(literal 2 binary64))) (fma.f64 (fma.f64 y x z) (-.f64 (fma.f64 y x z) #s(literal 1 binary64)) #s(literal 1 binary64))))
(/.f64 (-.f64 (pow.f64 (fma.f64 y x z) #s(literal 2 binary64)) (pow.f64 (-.f64 (fma.f64 y x z) #s(literal -1 binary64)) #s(literal 2 binary64))) (fma.f64 y x (+.f64 z (-.f64 (fma.f64 y x z) #s(literal -1 binary64)))))
(/.f64 (-.f64 (pow.f64 (fma.f64 y x z) #s(literal 3 binary64)) (pow.f64 (-.f64 (fma.f64 y x z) #s(literal -1 binary64)) #s(literal 3 binary64))) (fma.f64 (-.f64 (fma.f64 y x z) #s(literal -1 binary64)) (fma.f64 y x (+.f64 z (-.f64 (fma.f64 y x z) #s(literal -1 binary64)))) (pow.f64 (fma.f64 y x z) #s(literal 2 binary64))))
(fma.f64 y x (-.f64 z (-.f64 (fma.f64 y x z) #s(literal -1 binary64))))
(fma.f64 x y (-.f64 z (-.f64 (fma.f64 y x z) #s(literal -1 binary64))))
(-.f64 (-.f64 (-.f64 (fma.f64 y x z) #s(literal 1 binary64)) (*.f64 y x)) z)
(-.f64 (-.f64 (-.f64 (fma.f64 y x z) #s(literal 1 binary64)) z) (*.f64 y x))
(-.f64 (-.f64 (fma.f64 y x z) (fma.f64 y x #s(literal 1 binary64))) z)
(-.f64 (-.f64 (fma.f64 y x z) (fma.f64 y x z)) #s(literal 1 binary64))
(-.f64 (/.f64 (pow.f64 (fma.f64 y x z) #s(literal 2 binary64)) (fma.f64 y x (+.f64 z (-.f64 (fma.f64 y x z) #s(literal -1 binary64))))) (/.f64 (pow.f64 (-.f64 (fma.f64 y x z) #s(literal -1 binary64)) #s(literal 2 binary64)) (fma.f64 y x (+.f64 z (-.f64 (fma.f64 y x z) #s(literal -1 binary64))))))
(-.f64 (/.f64 (pow.f64 (fma.f64 y x z) #s(literal 3 binary64)) (fma.f64 (-.f64 (fma.f64 y x z) #s(literal -1 binary64)) (fma.f64 y x (+.f64 z (-.f64 (fma.f64 y x z) #s(literal -1 binary64)))) (pow.f64 (fma.f64 y x z) #s(literal 2 binary64)))) (/.f64 (pow.f64 (-.f64 (fma.f64 y x z) #s(literal -1 binary64)) #s(literal 3 binary64)) (fma.f64 (-.f64 (fma.f64 y x z) #s(literal -1 binary64)) (fma.f64 y x (+.f64 z (-.f64 (fma.f64 y x z) #s(literal -1 binary64)))) (pow.f64 (fma.f64 y x z) #s(literal 2 binary64)))))
(-.f64 (-.f64 (fma.f64 y x z) #s(literal 1 binary64)) (fma.f64 y x z))
(-.f64 (fma.f64 y x z) (-.f64 (fma.f64 y x z) #s(literal -1 binary64)))
(+.f64 (-.f64 z (-.f64 (fma.f64 y x z) #s(literal -1 binary64))) (*.f64 y x))
(+.f64 (*.f64 y x) (-.f64 z (-.f64 (fma.f64 y x z) #s(literal -1 binary64))))
(+.f64 z (-.f64 (*.f64 y x) (-.f64 (fma.f64 y x z) #s(literal -1 binary64))))
(*.f64 #s(literal 1 binary64) (fma.f64 y x z))
(*.f64 (fma.f64 y x z) #s(literal 1 binary64))
(/.f64 (*.f64 #s(literal 1 binary64) (-.f64 (pow.f64 (*.f64 y x) #s(literal 2 binary64)) (*.f64 z z))) (-.f64 (*.f64 y x) z))
(/.f64 (*.f64 #s(literal 1 binary64) (+.f64 (pow.f64 z #s(literal 3 binary64)) (pow.f64 (*.f64 y x) #s(literal 3 binary64)))) (fma.f64 z (-.f64 z (*.f64 y x)) (pow.f64 (*.f64 y x) #s(literal 2 binary64))))
(/.f64 (-.f64 (*.f64 z z) (pow.f64 (*.f64 y x) #s(literal 2 binary64))) (-.f64 z (*.f64 y x)))
(/.f64 (neg.f64 (-.f64 (pow.f64 (*.f64 y x) #s(literal 2 binary64)) (*.f64 z z))) (neg.f64 (-.f64 (*.f64 y x) z)))
(/.f64 (neg.f64 (+.f64 (pow.f64 z #s(literal 3 binary64)) (pow.f64 (*.f64 y x) #s(literal 3 binary64)))) (neg.f64 (fma.f64 z (-.f64 z (*.f64 y x)) (pow.f64 (*.f64 y x) #s(literal 2 binary64)))))
(/.f64 (-.f64 (pow.f64 (*.f64 y x) #s(literal 2 binary64)) (*.f64 z z)) (-.f64 (*.f64 y x) z))
(/.f64 (+.f64 (pow.f64 z #s(literal 3 binary64)) (pow.f64 (*.f64 y x) #s(literal 3 binary64))) (fma.f64 z z (-.f64 (pow.f64 (*.f64 y x) #s(literal 2 binary64)) (*.f64 (*.f64 y x) z))))
(/.f64 (+.f64 (pow.f64 z #s(literal 3 binary64)) (pow.f64 (*.f64 y x) #s(literal 3 binary64))) (fma.f64 z (-.f64 z (*.f64 y x)) (pow.f64 (*.f64 y x) #s(literal 2 binary64))))
(fma.f64 (*.f64 y x) #s(literal 1 binary64) (*.f64 z #s(literal 1 binary64)))
(fma.f64 #s(literal 1 binary64) (*.f64 y x) (*.f64 #s(literal 1 binary64) z))
(fma.f64 #s(literal 1 binary64) z (*.f64 #s(literal 1 binary64) (*.f64 y x)))
(fma.f64 z #s(literal 1 binary64) (*.f64 (*.f64 y x) #s(literal 1 binary64)))
(fma.f64 y x z)
(fma.f64 x y z)
(-.f64 (/.f64 (pow.f64 (*.f64 y x) #s(literal 2 binary64)) (-.f64 (*.f64 y x) z)) (/.f64 (*.f64 z z) (-.f64 (*.f64 y x) z)))
(-.f64 z (*.f64 (neg.f64 y) x))
(-.f64 z (*.f64 (neg.f64 x) y))
(+.f64 (*.f64 (*.f64 y x) #s(literal 1 binary64)) (*.f64 z #s(literal 1 binary64)))
(+.f64 (*.f64 z #s(literal 1 binary64)) (*.f64 (*.f64 y x) #s(literal 1 binary64)))
(+.f64 (*.f64 #s(literal 1 binary64) z) (*.f64 #s(literal 1 binary64) (*.f64 y x)))
(+.f64 (*.f64 #s(literal 1 binary64) (*.f64 y x)) (*.f64 #s(literal 1 binary64) z))
(+.f64 (/.f64 (pow.f64 (*.f64 y x) #s(literal 3 binary64)) (fma.f64 z (-.f64 z (*.f64 y x)) (pow.f64 (*.f64 y x) #s(literal 2 binary64)))) (/.f64 (pow.f64 z #s(literal 3 binary64)) (fma.f64 z (-.f64 z (*.f64 y x)) (pow.f64 (*.f64 y x) #s(literal 2 binary64)))))
(+.f64 (*.f64 y x) z)
(+.f64 z (*.f64 y x))
(*.f64 #s(literal 1 binary64) (fma.f64 y x z))
(*.f64 (fma.f64 y x z) #s(literal 1 binary64))
(/.f64 (*.f64 #s(literal 1 binary64) (-.f64 (pow.f64 (*.f64 y x) #s(literal 2 binary64)) (*.f64 z z))) (-.f64 (*.f64 y x) z))
(/.f64 (*.f64 #s(literal 1 binary64) (+.f64 (pow.f64 z #s(literal 3 binary64)) (pow.f64 (*.f64 y x) #s(literal 3 binary64)))) (fma.f64 z (-.f64 z (*.f64 y x)) (pow.f64 (*.f64 y x) #s(literal 2 binary64))))
(/.f64 (-.f64 (*.f64 z z) (pow.f64 (*.f64 y x) #s(literal 2 binary64))) (-.f64 z (*.f64 y x)))
(/.f64 (neg.f64 (-.f64 (pow.f64 (*.f64 y x) #s(literal 2 binary64)) (*.f64 z z))) (neg.f64 (-.f64 (*.f64 y x) z)))
(/.f64 (neg.f64 (+.f64 (pow.f64 z #s(literal 3 binary64)) (pow.f64 (*.f64 y x) #s(literal 3 binary64)))) (neg.f64 (fma.f64 z (-.f64 z (*.f64 y x)) (pow.f64 (*.f64 y x) #s(literal 2 binary64)))))
(/.f64 (-.f64 (pow.f64 (*.f64 y x) #s(literal 2 binary64)) (*.f64 z z)) (-.f64 (*.f64 y x) z))
(/.f64 (+.f64 (pow.f64 z #s(literal 3 binary64)) (pow.f64 (*.f64 y x) #s(literal 3 binary64))) (fma.f64 z z (-.f64 (pow.f64 (*.f64 y x) #s(literal 2 binary64)) (*.f64 (*.f64 y x) z))))
(/.f64 (+.f64 (pow.f64 z #s(literal 3 binary64)) (pow.f64 (*.f64 y x) #s(literal 3 binary64))) (fma.f64 z (-.f64 z (*.f64 y x)) (pow.f64 (*.f64 y x) #s(literal 2 binary64))))
(fma.f64 (*.f64 y x) #s(literal 1 binary64) (*.f64 z #s(literal 1 binary64)))
(fma.f64 #s(literal 1 binary64) (*.f64 y x) (*.f64 #s(literal 1 binary64) z))
(fma.f64 #s(literal 1 binary64) z (*.f64 #s(literal 1 binary64) (*.f64 y x)))
(fma.f64 z #s(literal 1 binary64) (*.f64 (*.f64 y x) #s(literal 1 binary64)))
(fma.f64 y x z)
(fma.f64 x y z)
(-.f64 (/.f64 (pow.f64 (*.f64 y x) #s(literal 2 binary64)) (-.f64 (*.f64 y x) z)) (/.f64 (*.f64 z z) (-.f64 (*.f64 y x) z)))
(-.f64 z (*.f64 (neg.f64 y) x))
(-.f64 z (*.f64 (neg.f64 x) y))
(+.f64 (*.f64 (*.f64 y x) #s(literal 1 binary64)) (*.f64 z #s(literal 1 binary64)))
(+.f64 (*.f64 z #s(literal 1 binary64)) (*.f64 (*.f64 y x) #s(literal 1 binary64)))
(+.f64 (*.f64 #s(literal 1 binary64) z) (*.f64 #s(literal 1 binary64) (*.f64 y x)))
(+.f64 (*.f64 #s(literal 1 binary64) (*.f64 y x)) (*.f64 #s(literal 1 binary64) z))
(+.f64 (/.f64 (pow.f64 (*.f64 y x) #s(literal 3 binary64)) (fma.f64 z (-.f64 z (*.f64 y x)) (pow.f64 (*.f64 y x) #s(literal 2 binary64)))) (/.f64 (pow.f64 z #s(literal 3 binary64)) (fma.f64 z (-.f64 z (*.f64 y x)) (pow.f64 (*.f64 y x) #s(literal 2 binary64)))))
(+.f64 (*.f64 y x) z)
(+.f64 z (*.f64 y x))
(/.f64 (-.f64 (*.f64 (fma.f64 y x #s(literal 1 binary64)) (fma.f64 y x #s(literal 1 binary64))) (*.f64 z z)) (-.f64 (fma.f64 y x #s(literal 1 binary64)) z))
(/.f64 (-.f64 (pow.f64 (fma.f64 y x z) #s(literal 2 binary64)) #s(literal 1 binary64)) (-.f64 (fma.f64 y x z) #s(literal 1 binary64)))
(/.f64 (+.f64 (pow.f64 (fma.f64 y x #s(literal 1 binary64)) #s(literal 3 binary64)) (pow.f64 z #s(literal 3 binary64))) (fma.f64 (fma.f64 y x #s(literal 1 binary64)) (fma.f64 y x #s(literal 1 binary64)) (-.f64 (*.f64 z z) (*.f64 (fma.f64 y x #s(literal 1 binary64)) z))))
(/.f64 (neg.f64 (-.f64 #s(literal 1 binary64) (pow.f64 (fma.f64 y x z) #s(literal 2 binary64)))) (neg.f64 (-.f64 #s(literal 1 binary64) (fma.f64 y x z))))
(/.f64 (neg.f64 (+.f64 (pow.f64 (fma.f64 y x z) #s(literal 3 binary64)) #s(literal 1 binary64))) (neg.f64 (fma.f64 (fma.f64 y x z) (-.f64 (fma.f64 y x z) #s(literal 1 binary64)) #s(literal 1 binary64))))
(/.f64 (-.f64 #s(literal 1 binary64) (pow.f64 (fma.f64 y x z) #s(literal 2 binary64))) (-.f64 #s(literal 1 binary64) (fma.f64 y x z)))
(/.f64 (+.f64 (pow.f64 (fma.f64 y x z) #s(literal 3 binary64)) #s(literal 1 binary64)) (+.f64 (pow.f64 (fma.f64 y x z) #s(literal 2 binary64)) (-.f64 #s(literal 1 binary64) (fma.f64 y x z))))
(/.f64 (+.f64 (pow.f64 (fma.f64 y x z) #s(literal 3 binary64)) #s(literal 1 binary64)) (fma.f64 (fma.f64 y x z) (-.f64 (fma.f64 y x z) #s(literal 1 binary64)) #s(literal 1 binary64)))
(fma.f64 #s(literal 1 binary64) (fma.f64 y x z) #s(literal 1 binary64))
(fma.f64 (fma.f64 y x z) #s(literal 1 binary64) #s(literal 1 binary64))
(fma.f64 y x (+.f64 z #s(literal 1 binary64)))
(fma.f64 x y (+.f64 z #s(literal 1 binary64)))
(-.f64 (/.f64 #s(literal 1 binary64) (-.f64 #s(literal 1 binary64) (fma.f64 y x z))) (/.f64 (pow.f64 (fma.f64 y x z) #s(literal 2 binary64)) (-.f64 #s(literal 1 binary64) (fma.f64 y x z))))
(-.f64 (fma.f64 y x z) #s(literal -1 binary64))
(+.f64 (+.f64 #s(literal 1 binary64) z) (*.f64 y x))
(+.f64 (/.f64 #s(literal 1 binary64) (fma.f64 (fma.f64 y x z) (-.f64 (fma.f64 y x z) #s(literal 1 binary64)) #s(literal 1 binary64))) (/.f64 (pow.f64 (fma.f64 y x z) #s(literal 3 binary64)) (fma.f64 (fma.f64 y x z) (-.f64 (fma.f64 y x z) #s(literal 1 binary64)) #s(literal 1 binary64))))
(+.f64 (fma.f64 y x #s(literal 1 binary64)) z)
(+.f64 (*.f64 y x) (+.f64 z #s(literal 1 binary64)))
(+.f64 #s(literal 1 binary64) (fma.f64 y x z))
(+.f64 (fma.f64 y x z) #s(literal 1 binary64))
(+.f64 z (fma.f64 y x #s(literal 1 binary64)))
(*.f64 y x)
(*.f64 x y)

eval51.0ms (1.1%)

Memory
-3.7MiB live, 39.2MiB allocated; 9ms collecting garbage
Compiler

Compiled 1 848 to 297 computations (83.9% saved)

prune2.0ms (0%)

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

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New83184
Fresh000
Picked101
Done000
Total84185
Accuracy
100.0%
Counts
85 → 1
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
#s(approx (- (+ (* x y) z) (+ 1 (+ (* x y) z))) #s(literal -1 binary64))
Compiler

Compiled 15 to 10 computations (33.3% saved)

simplify392.0ms (8.5%)

Memory
-13.5MiB live, 312.2MiB allocated; 106ms collecting garbage
Localize:

Found 1 expressions of interest:

NewMetricScoreProgram
cost-diff0
#s(approx (- (+ (* x y) z) (+ 1 (+ (* x y) z))) #s(literal -1 binary64))
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01016
01016
12116
2594
31794
47184
532194
083474
Stop Event
iter limit
node limit
saturated
Calls
Call 1
Inputs
#s(approx (- (+ (* x y) z) (+ 1 (+ (* x y) z))) #s(literal -1 binary64))
#s(literal -1 binary64)
Outputs
#s(approx (- (+ (* x y) z) (+ 1 (+ (* x y) z))) #s(literal -1 binary64))
#s(literal -1 binary64)

localize45.0ms (1%)

Memory
-7.7MiB live, 37.7MiB allocated; 6ms collecting garbage
Localize:

Found 1 expressions of interest:

NewMetricScoreProgram
accuracy0.0
#s(approx (- (+ (* x y) z) (+ 1 (+ (* x y) z))) #s(literal -1 binary64))
Samples
24.0ms232×1valid
1.0ms24×0valid
Compiler

Compiled 16 to 11 computations (31.3% saved)

Precisions
Click to see histograms. Total time spent on operations: 17.0ms
adjust: 8.0ms (46.3% of total)
ival-add: 4.0ms (23.2% of total)
ival-mult: 3.0ms (17.4% of total)
ival-sub: 2.0ms (11.6% of total)
ival-assert: 0.0ms (0% of total)
ival-true: 0.0ms (0% of total)
exact: 0.0ms (0% of total)

series1.0ms (0%)

Memory
0.7MiB live, 0.7MiB allocated; 0ms collecting garbage
Counts
1 → 1
Calls
Call 1
Inputs
#s(approx (- (+ (* x y) z) (+ 1 (+ (* x y) z))) #s(literal -1 binary64))
Outputs
#s(approx (- (+ (* x y) z) (+ 1 (+ (* x y) z))) #s(hole binary64 -1))
Calls

9 calls:

TimeVariablePointExpression
0.0ms
x
@0
((- (+ (* x y) z) (+ 1 (+ (* x y) z))))
0.0ms
z
@inf
((- (+ (* x y) z) (+ 1 (+ (* x y) z))))
0.0ms
y
@inf
((- (+ (* x y) z) (+ 1 (+ (* x y) z))))
0.0ms
x
@inf
((- (+ (* x y) z) (+ 1 (+ (* x y) z))))
0.0ms
z
@-inf
((- (+ (* x y) z) (+ 1 (+ (* x y) z))))

simplify216.0ms (4.7%)

Memory
10.0MiB live, 191.4MiB allocated; 33ms collecting garbage
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01015
12115
2593
31793
47183
532193
083473
Stop Event
iter limit
node limit
Counts
1 → 1
Calls
Call 1
Inputs
#s(approx (- (+ (* x y) z) (+ 1 (+ (* x y) z))) #s(hole binary64 -1))
Outputs
#s(approx (- (+ (* x y) z) (+ 1 (+ (* x y) z))) #s(hole binary64 -1))
#s(approx (- (+ (* x y) z) (+ 1 (+ (* x y) z))) #s(literal -1 binary64))

rewrite30.0ms (0.7%)

Memory
39.8MiB live, 39.8MiB allocated; 0ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01015
01015
15715
061713
Stop Event
iter limit
iter limit
node limit
saturated
Counts
1 → 1
Calls
Call 1
Inputs
#s(approx (- (+ (* x y) z) (+ 1 (+ (* x y) z))) #s(literal -1 binary64))
Outputs
#s(approx (- (+ (* x y) z) (+ 1 (+ (* x y) z))) #s(literal -1 binary64))

eval0.0ms (0%)

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

Compiled 15 to 10 computations (33.3% saved)

prune1.0ms (0%)

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

1 alts after pruning (0 fresh and 1 done)

PrunedKeptTotal
New101
Fresh000
Picked011
Done000
Total112
Accuracy
100.0%
Counts
2 → 1
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
#s(approx (- (+ (* x y) z) (+ 1 (+ (* x y) z))) #s(literal -1 binary64))
Compiler

Compiled 42 to 26 computations (38.1% saved)

regimes14.0ms (0.3%)

Memory
-41.7MiB live, 19.7MiB allocated; 8ms collecting garbage
Accuracy

Total -54.8b remaining (-∞%)

Threshold costs -54.8b (-∞%)

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

4 calls:

11.0ms
y
1.0ms
z
1.0ms
x
1.0ms
(-.f64 (fma.f64 x y z) (+.f64 #s(literal 1 binary64) (+.f64 (*.f64 x y) z)))
Results
AccuracySegmentsBranch
100.0%1(-.f64 (fma.f64 x y z) (+.f64 #s(literal 1 binary64) (+.f64 (*.f64 x y) z)))
100.0%1x
100.0%1y
100.0%1z
Compiler

Compiled 15 to 18 computations (-20% saved)

simplify34.0ms (0.7%)

Memory
-6.2MiB live, 39.8MiB allocated; 5ms collecting garbage
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01015
12115
2595
31864
46324
525234
Stop Event
node limit
Calls
Call 1
Inputs
#s(approx (- (+ (* x y) z) (+ 1 (+ (* x y) z))) #s(literal -1 binary64))
Outputs
#s(approx (- (+ (* x y) z) (+ 1 (+ (* x y) z))) #s(literal -1 binary64))

derivations39.0ms (0.8%)

Memory
25.2MiB live, 25.2MiB allocated; 0ms collecting garbage
Stop Event
done
Compiler

Compiled 15 to 10 computations (33.3% saved)

preprocess55.0ms (1.2%)

Memory
-18.4MiB live, 26.8MiB allocated; 5ms collecting garbage
Remove

(sort x y z)

(abs x)

(abs y)

(abs z)

Compiler

Compiled 176 to 126 computations (28.4% saved)

end0.0ms (0%)

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

Profiling

Loading profile data...