Graphics.Rendering.Chart.Plot.Vectors:renderPlotVectors from Chart-1.5.3

Time bar (total: 4.0s)

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 9 computations (18.2% saved)

sample1.1s (28.2%)

Memory
10.1MiB live, 1 446.1MiB allocated; 308ms collecting garbage
Samples
532.0ms6 293×0valid
313.0ms1 960×1valid
0.0ms2valid
Precisions
Click to see histograms. Total time spent on operations: 562.0ms
ival-sub: 232.0ms (41.3% of total)
adjust: 150.0ms (26.7% of total)
ival-mult: 119.0ms (21.2% of total)
ival-add: 47.0ms (8.4% of total)
ival-true: 5.0ms (0.9% of total)
exact: 5.0ms (0.9% of total)
ival-assert: 3.0ms (0.5% of total)
Bogosity

explain153.0ms (3.9%)

Memory
11.9MiB live, 166.7MiB allocated; 17ms collecting garbage
FPErrors
Click to see full error table
Ground TruthOverpredictionsExampleUnderpredictionsExampleSubexpression
601(-2491.5868282153374 -5.3874661361304064e-278)0-(+.f64 x (*.f64 (-.f64 #s(literal 1 binary64) x) (-.f64 #s(literal 1 binary64) y)))
00-0-(-.f64 #s(literal 1 binary64) y)
00-0-(*.f64 (-.f64 #s(literal 1 binary64) x) (-.f64 #s(literal 1 binary64) y))
00-0-y
00-0-(-.f64 #s(literal 1 binary64) x)
00-0-#s(literal 1 binary64)
00-0-x
Explanations
Click to see full explanations table
OperatorSubexpressionExplanationCount
+.f64(+.f64 x (*.f64 (-.f64 #s(literal 1 binary64) x) (-.f64 #s(literal 1 binary64) y)))cancellation610
Confusion
Predicted +Predicted -
+600
-1195
Precision
0.9836065573770492
Recall
1.0
Confusion?
Predicted +Predicted MaybePredicted -
+6000
-10195
Precision?
0.9836065573770492
Recall?
1.0
Freqs
test
numberfreq
0195
161
Total Confusion?
Predicted +Predicted MaybePredicted -
+100
-000
Precision?
1.0
Recall?
1.0
Samples
20.0ms392×0valid
15.0ms120×1valid
Compiler

Compiled 63 to 25 computations (60.3% saved)

Precisions
Click to see histograms. Total time spent on operations: 19.0ms
ival-sub: 6.0ms (31.9% of total)
adjust: 4.0ms (21.2% of total)
ival-mult: 4.0ms (21.2% of total)
ival-add: 3.0ms (15.9% of total)
ival-assert: 0.0ms (0% of total)
ival-true: 0.0ms (0% of total)
exact: 0.0ms (0% of total)

preprocess165.0ms (4.2%)

Memory
-1.6MiB live, 258.8MiB allocated; 32ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01753
13952
27051
313349
429947
5152335
079
0119
1189
2299
3529
41389
57727
676867
081116
Stop Event
iter limit
node limit
iter limit
node limit
Calls
Call 1
Inputs
(+.f64 x (*.f64 (-.f64 #s(literal 1 binary64) x) (-.f64 #s(literal 1 binary64) y)))
Outputs
(+.f64 x (*.f64 (-.f64 #s(literal 1 binary64) x) (-.f64 #s(literal 1 binary64) y)))
(fma.f64 y (-.f64 x #s(literal 1 binary64)) #s(literal 1 binary64))
Compiler

Compiled 9 to 7 computations (22.2% saved)

eval0.0ms (0%)

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

Compiled 0 to 2 computations (-∞% saved)

prune0.0ms (0%)

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

Compiled 9 to 7 computations (22.2% saved)

simplify211.0ms (5.3%)

Memory
32.6MiB live, 150.6MiB allocated; 66ms collecting garbage
Localize:

Found 4 expressions of interest:

NewMetricScoreProgram
cost-diff0
(-.f64 #s(literal 1 binary64) y)
cost-diff0
(-.f64 #s(literal 1 binary64) x)
cost-diff0
(*.f64 (-.f64 #s(literal 1 binary64) x) (-.f64 #s(literal 1 binary64) y))
cost-diff3
(+.f64 x (*.f64 (-.f64 #s(literal 1 binary64) x) (-.f64 #s(literal 1 binary64) y)))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0725
01125
11825
22925
35225
413825
577223
6768623
0811122
Stop Event
iter limit
node limit
iter limit
Calls
Call 1
Inputs
(+.f64 x (*.f64 (-.f64 #s(literal 1 binary64) x) (-.f64 #s(literal 1 binary64) y)))
x
(*.f64 (-.f64 #s(literal 1 binary64) x) (-.f64 #s(literal 1 binary64) y))
(-.f64 #s(literal 1 binary64) x)
#s(literal 1 binary64)
(-.f64 #s(literal 1 binary64) y)
y
Outputs
(+.f64 x (*.f64 (-.f64 #s(literal 1 binary64) x) (-.f64 #s(literal 1 binary64) y)))
(fma.f64 y (-.f64 x #s(literal 1 binary64)) #s(literal 1 binary64))
x
(*.f64 (-.f64 #s(literal 1 binary64) x) (-.f64 #s(literal 1 binary64) y))
(*.f64 (-.f64 y #s(literal 1 binary64)) (-.f64 x #s(literal 1 binary64)))
(-.f64 #s(literal 1 binary64) x)
#s(literal 1 binary64)
(-.f64 #s(literal 1 binary64) y)
y

localize86.0ms (2.2%)

Memory
3.5MiB live, 36.1MiB allocated; 27ms collecting garbage
Localize:

Found 4 expressions of interest:

NewMetricScoreProgram
accuracy0.0
(-.f64 #s(literal 1 binary64) y)
accuracy0.0
(-.f64 #s(literal 1 binary64) x)
accuracy0.0078125
(*.f64 (-.f64 #s(literal 1 binary64) x) (-.f64 #s(literal 1 binary64) y))
accuracy14.269505993882008
(+.f64 x (*.f64 (-.f64 #s(literal 1 binary64) x) (-.f64 #s(literal 1 binary64) y)))
Samples
10.0ms196×0valid
7.0ms60×1valid
Compiler

Compiled 27 to 9 computations (66.7% saved)

Precisions
Click to see histograms. Total time spent on operations: 9.0ms
ival-sub: 3.0ms (32.1% of total)
adjust: 2.0ms (21.4% of total)
ival-mult: 2.0ms (21.4% of total)
ival-add: 1.0ms (10.7% of total)
ival-assert: 0.0ms (0% of total)
ival-true: 0.0ms (0% of total)
exact: 0.0ms (0% of total)

series3.0ms (0.1%)

Memory
8.1MiB live, 8.1MiB allocated; 0ms collecting garbage
Counts
4 → 27
Calls
Call 1
Inputs
(+.f64 x (*.f64 (-.f64 #s(literal 1 binary64) x) (-.f64 #s(literal 1 binary64) y)))
(*.f64 (-.f64 #s(literal 1 binary64) x) (-.f64 #s(literal 1 binary64) y))
(-.f64 #s(literal 1 binary64) x)
(-.f64 #s(literal 1 binary64) y)
Outputs
(- 1 y)
(- (+ 1 (* x (+ 1 (* -1 (- 1 y))))) y)
(- (+ 1 (* -1 (* x (- 1 y)))) y)
1
(+ 1 (* -1 x))
(* x (+ 1 (* -1 (- 1 y))))
(* x (- (+ 1 (+ (* -1 (- 1 y)) (/ 1 x))) (/ y x)))
(* -1 (* x (- 1 y)))
(* x (- (+ (* -1 (- 1 y)) (/ 1 x)) (/ y x)))
(* -1 x)
(* x (- (/ 1 x) 1))
(* x y)
(* -1 (* x (- (* -1 (/ (- 1 y) x)) y)))
(* -1 (* x (- (+ 1 (* -1 (/ (- 1 y) x))) y)))
(* -1 (* x (- 1 (/ 1 x))))
(+ 1 (* -1 (* y (- 1 x))))
(- 1 x)
(- (+ 1 (* -1 (* y (- 1 x)))) x)
(+ 1 (* -1 y))
(* -1 (* y (- 1 x)))
(* y (+ (* -1 (- 1 x)) (/ 1 y)))
(* y (- (+ (* -1 (- 1 x)) (/ 1 y)) (/ x y)))
(* -1 y)
(* y (- (/ 1 y) 1))
(* -1 (* y (- 1 (+ x (/ 1 y)))))
(* -1 (* y (- (+ 1 (* -1 (/ (- 1 x) y))) x)))
(* -1 (* y (- 1 (/ 1 y))))
Calls

6 calls:

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

simplify285.0ms (7.2%)

Memory
3.6MiB live, 268.7MiB allocated; 164ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
068199
1181183
2440153
31780137
08158131
Stop Event
iter limit
node limit
Counts
27 → 27
Calls
Call 1
Inputs
(- 1 y)
(- (+ 1 (* x (+ 1 (* -1 (- 1 y))))) y)
(- (+ 1 (* -1 (* x (- 1 y)))) y)
1
(+ 1 (* -1 x))
(* x (+ 1 (* -1 (- 1 y))))
(* x (- (+ 1 (+ (* -1 (- 1 y)) (/ 1 x))) (/ y x)))
(* -1 (* x (- 1 y)))
(* x (- (+ (* -1 (- 1 y)) (/ 1 x)) (/ y x)))
(* -1 x)
(* x (- (/ 1 x) 1))
(* x y)
(* -1 (* x (- (* -1 (/ (- 1 y) x)) y)))
(* -1 (* x (- (+ 1 (* -1 (/ (- 1 y) x))) y)))
(* -1 (* x (- 1 (/ 1 x))))
(+ 1 (* -1 (* y (- 1 x))))
(- 1 x)
(- (+ 1 (* -1 (* y (- 1 x)))) x)
(+ 1 (* -1 y))
(* -1 (* y (- 1 x)))
(* y (+ (* -1 (- 1 x)) (/ 1 y)))
(* y (- (+ (* -1 (- 1 x)) (/ 1 y)) (/ x y)))
(* -1 y)
(* y (- (/ 1 y) 1))
(* -1 (* y (- 1 (+ x (/ 1 y)))))
(* -1 (* y (- (+ 1 (* -1 (/ (- 1 x) y))) x)))
(* -1 (* y (- 1 (/ 1 y))))
Outputs
(- 1 y)
(-.f64 #s(literal 1 binary64) y)
(- (+ 1 (* x (+ 1 (* -1 (- 1 y))))) y)
(fma.f64 y x (-.f64 #s(literal 1 binary64) y))
(- (+ 1 (* -1 (* x (- 1 y)))) y)
(*.f64 (-.f64 x #s(literal 1 binary64)) (-.f64 y #s(literal 1 binary64)))
1
#s(literal 1 binary64)
(+ 1 (* -1 x))
(-.f64 #s(literal 1 binary64) x)
(* x (+ 1 (* -1 (- 1 y))))
(*.f64 y x)
(* x (- (+ 1 (+ (* -1 (- 1 y)) (/ 1 x))) (/ y x)))
(fma.f64 y x (-.f64 #s(literal 1 binary64) y))
(* -1 (* x (- 1 y)))
(*.f64 (-.f64 y #s(literal 1 binary64)) x)
(* x (- (+ (* -1 (- 1 y)) (/ 1 x)) (/ y x)))
(*.f64 (-.f64 x #s(literal 1 binary64)) (-.f64 y #s(literal 1 binary64)))
(* -1 x)
(neg.f64 x)
(* x (- (/ 1 x) 1))
(*.f64 (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1 binary64)) x)
(* x y)
(*.f64 y x)
(* -1 (* x (- (* -1 (/ (- 1 y) x)) y)))
(fma.f64 y x (-.f64 #s(literal 1 binary64) y))
(* -1 (* x (- (+ 1 (* -1 (/ (- 1 y) x))) y)))
(*.f64 (-.f64 x #s(literal 1 binary64)) (-.f64 y #s(literal 1 binary64)))
(* -1 (* x (- 1 (/ 1 x))))
(*.f64 (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1 binary64)) x)
(+ 1 (* -1 (* y (- 1 x))))
(fma.f64 y x (-.f64 #s(literal 1 binary64) y))
(- 1 x)
(-.f64 #s(literal 1 binary64) x)
(- (+ 1 (* -1 (* y (- 1 x)))) x)
(*.f64 (-.f64 x #s(literal 1 binary64)) (-.f64 y #s(literal 1 binary64)))
(+ 1 (* -1 y))
(-.f64 #s(literal 1 binary64) y)
(* -1 (* y (- 1 x)))
(-.f64 (*.f64 y x) y)
(* y (+ (* -1 (- 1 x)) (/ 1 y)))
(fma.f64 y x (-.f64 #s(literal 1 binary64) y))
(* y (- (+ (* -1 (- 1 x)) (/ 1 y)) (/ x y)))
(*.f64 (-.f64 x #s(literal 1 binary64)) (-.f64 y #s(literal 1 binary64)))
(* -1 y)
(neg.f64 y)
(* y (- (/ 1 y) 1))
(-.f64 #s(literal 1 binary64) y)
(* -1 (* y (- 1 (+ x (/ 1 y)))))
(fma.f64 y x (-.f64 #s(literal 1 binary64) y))
(* -1 (* y (- (+ 1 (* -1 (/ (- 1 x) y))) x)))
(*.f64 (-.f64 x #s(literal 1 binary64)) (-.f64 y #s(literal 1 binary64)))
(* -1 (* y (- 1 (/ 1 y))))
(-.f64 #s(literal 1 binary64) y)

rewrite60.0ms (1.5%)

Memory
-5.4MiB live, 83.1MiB allocated; 32ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0722
01122
15222
043021
Stop Event
iter limit
iter limit
node limit
iter limit
Counts
4 → 48
Calls
Call 1
Inputs
(+.f64 x (*.f64 (-.f64 #s(literal 1 binary64) x) (-.f64 #s(literal 1 binary64) y)))
(*.f64 (-.f64 #s(literal 1 binary64) x) (-.f64 #s(literal 1 binary64) y))
(-.f64 #s(literal 1 binary64) x)
(-.f64 #s(literal 1 binary64) y)
Outputs
(/.f64 (-.f64 (pow.f64 (*.f64 (-.f64 #s(literal 1 binary64) y) (-.f64 #s(literal 1 binary64) x)) #s(literal 2 binary64)) (*.f64 x x)) (-.f64 (*.f64 (-.f64 #s(literal 1 binary64) y) (-.f64 #s(literal 1 binary64) x)) x))
(/.f64 (-.f64 (pow.f64 x #s(literal 3 binary64)) (pow.f64 (*.f64 (neg.f64 (-.f64 #s(literal 1 binary64) x)) (-.f64 #s(literal 1 binary64) y)) #s(literal 3 binary64))) (fma.f64 x x (+.f64 (pow.f64 (*.f64 (-.f64 #s(literal 1 binary64) y) (-.f64 #s(literal 1 binary64) x)) #s(literal 2 binary64)) (*.f64 x (*.f64 (neg.f64 (-.f64 #s(literal 1 binary64) x)) (-.f64 #s(literal 1 binary64) y))))))
(/.f64 (neg.f64 (-.f64 (*.f64 x x) (pow.f64 (*.f64 (-.f64 #s(literal 1 binary64) y) (-.f64 #s(literal 1 binary64) x)) #s(literal 2 binary64)))) (neg.f64 (-.f64 x (*.f64 (-.f64 #s(literal 1 binary64) y) (-.f64 #s(literal 1 binary64) x)))))
(/.f64 (neg.f64 (+.f64 (pow.f64 (*.f64 (-.f64 #s(literal 1 binary64) y) (-.f64 #s(literal 1 binary64) x)) #s(literal 3 binary64)) (pow.f64 x #s(literal 3 binary64)))) (neg.f64 (fma.f64 (*.f64 (-.f64 #s(literal 1 binary64) y) (-.f64 #s(literal 1 binary64) x)) (-.f64 (*.f64 (-.f64 #s(literal 1 binary64) y) (-.f64 #s(literal 1 binary64) x)) x) (*.f64 x x))))
(/.f64 (-.f64 (*.f64 x x) (pow.f64 (*.f64 (-.f64 #s(literal 1 binary64) y) (-.f64 #s(literal 1 binary64) x)) #s(literal 2 binary64))) (-.f64 x (*.f64 (-.f64 #s(literal 1 binary64) y) (-.f64 #s(literal 1 binary64) x))))
(/.f64 (+.f64 (pow.f64 (*.f64 (-.f64 #s(literal 1 binary64) y) (-.f64 #s(literal 1 binary64) x)) #s(literal 3 binary64)) (pow.f64 x #s(literal 3 binary64))) (+.f64 (pow.f64 (*.f64 (-.f64 #s(literal 1 binary64) y) (-.f64 #s(literal 1 binary64) x)) #s(literal 2 binary64)) (-.f64 (*.f64 x x) (*.f64 (*.f64 x (-.f64 #s(literal 1 binary64) y)) (-.f64 #s(literal 1 binary64) x)))))
(/.f64 (+.f64 (pow.f64 (*.f64 (-.f64 #s(literal 1 binary64) y) (-.f64 #s(literal 1 binary64) x)) #s(literal 3 binary64)) (pow.f64 x #s(literal 3 binary64))) (fma.f64 (*.f64 (-.f64 #s(literal 1 binary64) y) (-.f64 #s(literal 1 binary64) x)) (-.f64 (*.f64 (-.f64 #s(literal 1 binary64) y) (-.f64 #s(literal 1 binary64) x)) x) (*.f64 x x)))
(fma.f64 (-.f64 #s(literal 1 binary64) y) (-.f64 #s(literal 1 binary64) x) x)
(fma.f64 (-.f64 #s(literal 1 binary64) x) (-.f64 #s(literal 1 binary64) y) x)
(-.f64 (/.f64 (*.f64 x x) (-.f64 x (*.f64 (-.f64 #s(literal 1 binary64) y) (-.f64 #s(literal 1 binary64) x)))) (/.f64 (pow.f64 (*.f64 (-.f64 #s(literal 1 binary64) y) (-.f64 #s(literal 1 binary64) x)) #s(literal 2 binary64)) (-.f64 x (*.f64 (-.f64 #s(literal 1 binary64) y) (-.f64 #s(literal 1 binary64) x)))))
(-.f64 x (*.f64 (neg.f64 (-.f64 #s(literal 1 binary64) y)) (-.f64 #s(literal 1 binary64) x)))
(-.f64 x (*.f64 (neg.f64 (-.f64 #s(literal 1 binary64) x)) (-.f64 #s(literal 1 binary64) y)))
(+.f64 (/.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 (*.f64 (-.f64 #s(literal 1 binary64) y) (-.f64 #s(literal 1 binary64) x)) (-.f64 (*.f64 (-.f64 #s(literal 1 binary64) y) (-.f64 #s(literal 1 binary64) x)) x) (*.f64 x x))) (/.f64 (pow.f64 (*.f64 (-.f64 #s(literal 1 binary64) y) (-.f64 #s(literal 1 binary64) x)) #s(literal 3 binary64)) (fma.f64 (*.f64 (-.f64 #s(literal 1 binary64) y) (-.f64 #s(literal 1 binary64) x)) (-.f64 (*.f64 (-.f64 #s(literal 1 binary64) y) (-.f64 #s(literal 1 binary64) x)) x) (*.f64 x x))))
(+.f64 (*.f64 (-.f64 #s(literal 1 binary64) y) (-.f64 #s(literal 1 binary64) x)) x)
(+.f64 x (*.f64 (neg.f64 (neg.f64 (-.f64 #s(literal 1 binary64) x))) (-.f64 #s(literal 1 binary64) y)))
(+.f64 x (*.f64 (-.f64 #s(literal 1 binary64) y) (-.f64 #s(literal 1 binary64) x)))
(*.f64 (-.f64 #s(literal 1 binary64) y) (-.f64 #s(literal 1 binary64) x))
(*.f64 (-.f64 #s(literal 1 binary64) x) (-.f64 #s(literal 1 binary64) y))
(/.f64 (*.f64 (-.f64 #s(literal 1 binary64) (*.f64 y y)) (-.f64 #s(literal 1 binary64) x)) (+.f64 y #s(literal 1 binary64)))
(/.f64 (*.f64 (-.f64 #s(literal 1 binary64) (pow.f64 y #s(literal 3 binary64))) (-.f64 #s(literal 1 binary64) x)) (+.f64 (fma.f64 y y y) #s(literal 1 binary64)))
(/.f64 (*.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x)) (-.f64 #s(literal 1 binary64) y)) (+.f64 #s(literal 1 binary64) x))
(/.f64 (*.f64 (-.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 3 binary64))) (-.f64 #s(literal 1 binary64) y)) (+.f64 (fma.f64 x x x) #s(literal 1 binary64)))
(/.f64 (*.f64 (-.f64 #s(literal 1 binary64) y) (-.f64 #s(literal 1 binary64) (*.f64 x x))) (+.f64 #s(literal 1 binary64) x))
(/.f64 (*.f64 (-.f64 #s(literal 1 binary64) y) (-.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 3 binary64)))) (+.f64 (fma.f64 x x x) #s(literal 1 binary64)))
(/.f64 (*.f64 (-.f64 #s(literal 1 binary64) x) (-.f64 #s(literal 1 binary64) (*.f64 y y))) (+.f64 y #s(literal 1 binary64)))
(/.f64 (*.f64 (-.f64 #s(literal 1 binary64) x) (-.f64 #s(literal 1 binary64) (pow.f64 y #s(literal 3 binary64)))) (+.f64 (fma.f64 y y y) #s(literal 1 binary64)))
(/.f64 (*.f64 (-.f64 #s(literal 1 binary64) (*.f64 y y)) (-.f64 #s(literal 1 binary64) (*.f64 x x))) (*.f64 (+.f64 y #s(literal 1 binary64)) (+.f64 #s(literal 1 binary64) x)))
(/.f64 (*.f64 (-.f64 #s(literal 1 binary64) (*.f64 y y)) (-.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 3 binary64)))) (*.f64 (+.f64 y #s(literal 1 binary64)) (+.f64 (fma.f64 x x x) #s(literal 1 binary64))))
(/.f64 (*.f64 (-.f64 #s(literal 1 binary64) (pow.f64 y #s(literal 3 binary64))) (-.f64 #s(literal 1 binary64) (*.f64 x x))) (*.f64 (+.f64 (fma.f64 y y y) #s(literal 1 binary64)) (+.f64 #s(literal 1 binary64) x)))
(/.f64 (*.f64 (-.f64 #s(literal 1 binary64) (pow.f64 y #s(literal 3 binary64))) (-.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 3 binary64)))) (*.f64 (+.f64 (fma.f64 y y y) #s(literal 1 binary64)) (+.f64 (fma.f64 x x x) #s(literal 1 binary64))))
(/.f64 (*.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x)) (-.f64 #s(literal 1 binary64) (*.f64 y y))) (*.f64 (+.f64 #s(literal 1 binary64) x) (+.f64 y #s(literal 1 binary64))))
(/.f64 (*.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x)) (-.f64 #s(literal 1 binary64) (pow.f64 y #s(literal 3 binary64)))) (*.f64 (+.f64 #s(literal 1 binary64) x) (+.f64 (fma.f64 y y y) #s(literal 1 binary64))))
(/.f64 (*.f64 (-.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 3 binary64))) (-.f64 #s(literal 1 binary64) (*.f64 y y))) (*.f64 (+.f64 (fma.f64 x x x) #s(literal 1 binary64)) (+.f64 y #s(literal 1 binary64))))
(/.f64 (*.f64 (-.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 3 binary64))) (-.f64 #s(literal 1 binary64) (pow.f64 y #s(literal 3 binary64)))) (*.f64 (+.f64 (fma.f64 x x x) #s(literal 1 binary64)) (+.f64 (fma.f64 y y y) #s(literal 1 binary64))))
(/.f64 (neg.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x))) (neg.f64 (+.f64 #s(literal 1 binary64) x)))
(/.f64 (neg.f64 (-.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 3 binary64)))) (neg.f64 (+.f64 (fma.f64 x x x) #s(literal 1 binary64))))
(/.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x)) (+.f64 #s(literal 1 binary64) x))
(/.f64 (-.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 3 binary64))) (+.f64 (fma.f64 x x x) #s(literal 1 binary64)))
(-.f64 (/.f64 #s(literal 1 binary64) (+.f64 #s(literal 1 binary64) x)) (/.f64 (*.f64 x x) (+.f64 #s(literal 1 binary64) x)))
(-.f64 (/.f64 #s(literal 1 binary64) (+.f64 (fma.f64 x x x) #s(literal 1 binary64))) (/.f64 (pow.f64 x #s(literal 3 binary64)) (+.f64 (fma.f64 x x x) #s(literal 1 binary64))))
(-.f64 #s(literal 1 binary64) x)
(/.f64 (neg.f64 (-.f64 #s(literal 1 binary64) (*.f64 y y))) (neg.f64 (+.f64 y #s(literal 1 binary64))))
(/.f64 (neg.f64 (-.f64 #s(literal 1 binary64) (pow.f64 y #s(literal 3 binary64)))) (neg.f64 (+.f64 (fma.f64 y y y) #s(literal 1 binary64))))
(/.f64 (-.f64 #s(literal 1 binary64) (*.f64 y y)) (+.f64 y #s(literal 1 binary64)))
(/.f64 (-.f64 #s(literal 1 binary64) (pow.f64 y #s(literal 3 binary64))) (+.f64 (fma.f64 y y y) #s(literal 1 binary64)))
(-.f64 (/.f64 #s(literal 1 binary64) (+.f64 y #s(literal 1 binary64))) (/.f64 (*.f64 y y) (+.f64 y #s(literal 1 binary64))))
(-.f64 (/.f64 #s(literal 1 binary64) (+.f64 (fma.f64 y y y) #s(literal 1 binary64))) (/.f64 (pow.f64 y #s(literal 3 binary64)) (+.f64 (fma.f64 y y y) #s(literal 1 binary64))))
(-.f64 #s(literal 1 binary64) y)

eval6.0ms (0.2%)

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

Compiled 1 137 to 224 computations (80.3% saved)

prune16.0ms (0.4%)

Memory
-31.8MiB live, 7.7MiB allocated; 17ms collecting garbage
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New57461
Fresh000
Picked101
Done000
Total58462
Accuracy
100.0%
Counts
62 → 4
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
#s(approx (+ x (* (- 1 x) (- 1 y))) (fma.f64 y x (-.f64 #s(literal 1 binary64) y)))
56.4%
#s(approx (+ x (* (- 1 x) (- 1 y))) (-.f64 (*.f64 y x) y))
64.9%
#s(approx (+ x (* (- 1 x) (- 1 y))) (-.f64 #s(literal 1 binary64) y))
35.3%
#s(approx (+ x (* (- 1 x) (- 1 y))) (*.f64 y x))
Compiler

Compiled 57 to 40 computations (29.8% saved)

simplify188.0ms (4.7%)

Memory
-10.5MiB live, 236.3MiB allocated; 81ms collecting garbage
Localize:

Found 10 expressions of interest:

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

Useful iterations: 0 (0.0ms)

IterNodesCost
01589
01989
13089
25089
39289
423689
599289
6772789
0814985
Stop Event
iter limit
node limit
iter limit
Calls
Call 1
Inputs
#s(approx (+ x (* (- 1 x) (- 1 y))) (*.f64 y x))
(*.f64 y x)
y
x
#s(approx (+ x (* (- 1 x) (- 1 y))) (-.f64 #s(literal 1 binary64) y))
(-.f64 #s(literal 1 binary64) y)
#s(literal 1 binary64)
y
#s(approx (+ x (* (- 1 x) (- 1 y))) (-.f64 (*.f64 y x) y))
(-.f64 (*.f64 y x) y)
(*.f64 y x)
y
x
#s(approx (+ x (* (- 1 x) (- 1 y))) (fma.f64 y x (-.f64 #s(literal 1 binary64) y)))
(fma.f64 y x (-.f64 #s(literal 1 binary64) y))
y
x
(-.f64 #s(literal 1 binary64) y)
#s(literal 1 binary64)
Outputs
#s(approx (+ x (* (- 1 x) (- 1 y))) (*.f64 y x))
(*.f64 y x)
y
x
#s(approx (+ x (* (- 1 x) (- 1 y))) (-.f64 #s(literal 1 binary64) y))
(-.f64 #s(literal 1 binary64) y)
#s(literal 1 binary64)
y
#s(approx (+ x (* (- 1 x) (- 1 y))) (-.f64 (*.f64 y x) y))
#s(approx (+ x (* (- 1 x) (- 1 y))) (*.f64 (-.f64 x #s(literal 1 binary64)) y))
(-.f64 (*.f64 y x) y)
(*.f64 (-.f64 x #s(literal 1 binary64)) y)
(*.f64 y x)
y
x
#s(approx (+ x (* (- 1 x) (- 1 y))) (fma.f64 y x (-.f64 #s(literal 1 binary64) y)))
(fma.f64 y x (-.f64 #s(literal 1 binary64) y))
y
x
(-.f64 #s(literal 1 binary64) y)
#s(literal 1 binary64)

localize139.0ms (3.5%)

Memory
36.3MiB live, 173.8MiB allocated; 10ms collecting garbage
Localize:

Found 10 expressions of interest:

NewMetricScoreProgram
accuracy0.0
(fma.f64 y x (-.f64 #s(literal 1 binary64) y))
accuracy0.0
(-.f64 #s(literal 1 binary64) y)
accuracy0.0
#s(approx (+ x (* (- 1 x) (- 1 y))) (fma.f64 y x (-.f64 #s(literal 1 binary64) y)))
accuracy0.0
(*.f64 y x)
accuracy0.00390625
(-.f64 (*.f64 y x) y)
accuracy27.89819541490231
#s(approx (+ x (* (- 1 x) (- 1 y))) (-.f64 (*.f64 y x) y))
accuracy0.0
(-.f64 #s(literal 1 binary64) y)
accuracy22.432481545144697
#s(approx (+ x (* (- 1 x) (- 1 y))) (-.f64 #s(literal 1 binary64) y))
accuracy0.0
(*.f64 y x)
accuracy41.40256638788156
#s(approx (+ x (* (- 1 x) (- 1 y))) (*.f64 y x))
Samples
102.0ms197×0valid
14.0ms59×1valid
Compiler

Compiled 71 to 12 computations (83.1% saved)

Precisions
Click to see histograms. Total time spent on operations: 17.0ms
ival-sub: 5.0ms (29.8% of total)
adjust: 4.0ms (23.8% of total)
ival-mult: 4.0ms (23.8% of total)
ival-add: 3.0ms (17.9% of total)
ival-assert: 0.0ms (0% of total)
ival-true: 0.0ms (0% of total)
exact: 0.0ms (0% of total)

series18.0ms (0.5%)

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

6 calls:

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

simplify240.0ms (6.1%)

Memory
37.1MiB live, 272.7MiB allocated; 101ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
068205
1207191
2601163
31935135
09078123
Stop Event
iter limit
node limit
Counts
26 → 26
Calls
Call 1
Inputs
(- 1 y)
(- (+ 1 (* x (+ 1 (* -1 (- 1 y))))) y)
(* x y)
(* -1 y)
(- (* x y) y)
(- (+ 1 (* x y)) y)
(* x (+ 1 (* -1 (- 1 y))))
(* x (- (+ 1 (+ (* -1 (- 1 y)) (/ 1 x))) (/ y x)))
(* x (+ y (* -1 (/ y x))))
(* x (- (+ y (/ 1 x)) (/ y x)))
(* -1 (* x (- (* -1 (/ (- 1 y) x)) y)))
(* -1 (* x (+ (* -1 y) (/ y x))))
(* -1 (* x (+ (* -1 y) (* -1 (/ (- 1 y) x)))))
1
(+ 1 (* -1 (* y (- 1 x))))
(+ 1 (* -1 y))
(* y (- x 1))
(+ 1 (* y (- x 1)))
(* -1 (* y (- 1 x)))
(* y (+ (* -1 (- 1 x)) (/ 1 y)))
(* y (- (/ 1 y) 1))
(* y (- (+ x (/ 1 y)) 1))
(* -1 (* y (- 1 (+ x (/ 1 y)))))
(* -1 (* y (- 1 (/ 1 y))))
(* -1 (* y (+ 1 (* -1 x))))
(* -1 (* y (- (+ 1 (* -1 x)) (/ 1 y))))
Outputs
(- 1 y)
(-.f64 #s(literal 1 binary64) y)
(- (+ 1 (* x (+ 1 (* -1 (- 1 y))))) y)
(fma.f64 y x (-.f64 #s(literal 1 binary64) y))
(* x y)
(*.f64 y x)
(* -1 y)
(neg.f64 y)
(- (* x y) y)
(fma.f64 y x (neg.f64 y))
(- (+ 1 (* x y)) y)
(fma.f64 y x (-.f64 #s(literal 1 binary64) y))
(* x (+ 1 (* -1 (- 1 y))))
(*.f64 y x)
(* x (- (+ 1 (+ (* -1 (- 1 y)) (/ 1 x))) (/ y x)))
(fma.f64 y x (-.f64 #s(literal 1 binary64) y))
(* x (+ y (* -1 (/ y x))))
(fma.f64 y x (neg.f64 y))
(* x (- (+ y (/ 1 x)) (/ y x)))
(fma.f64 y x (-.f64 #s(literal 1 binary64) y))
(* -1 (* x (- (* -1 (/ (- 1 y) x)) y)))
(fma.f64 y x (-.f64 #s(literal 1 binary64) y))
(* -1 (* x (+ (* -1 y) (/ y x))))
(fma.f64 y x (neg.f64 y))
(* -1 (* x (+ (* -1 y) (* -1 (/ (- 1 y) x)))))
(fma.f64 y x (-.f64 #s(literal 1 binary64) y))
1
#s(literal 1 binary64)
(+ 1 (* -1 (* y (- 1 x))))
(fma.f64 y x (-.f64 #s(literal 1 binary64) y))
(+ 1 (* -1 y))
(-.f64 #s(literal 1 binary64) y)
(* y (- x 1))
(fma.f64 y x (neg.f64 y))
(+ 1 (* y (- x 1)))
(fma.f64 y x (-.f64 #s(literal 1 binary64) y))
(* -1 (* y (- 1 x)))
(fma.f64 y x (neg.f64 y))
(* y (+ (* -1 (- 1 x)) (/ 1 y)))
(fma.f64 y x (-.f64 #s(literal 1 binary64) y))
(* y (- (/ 1 y) 1))
(-.f64 #s(literal 1 binary64) y)
(* y (- (+ x (/ 1 y)) 1))
(fma.f64 y x (-.f64 #s(literal 1 binary64) y))
(* -1 (* y (- 1 (+ x (/ 1 y)))))
(fma.f64 y x (-.f64 #s(literal 1 binary64) y))
(* -1 (* y (- 1 (/ 1 y))))
(-.f64 #s(literal 1 binary64) y)
(* -1 (* y (+ 1 (* -1 x))))
(fma.f64 y x (neg.f64 y))
(* -1 (* y (- (+ 1 (* -1 x)) (/ 1 y))))
(fma.f64 y x (-.f64 #s(literal 1 binary64) y))

rewrite55.0ms (1.4%)

Memory
-12.0MiB live, 80.8MiB allocated; 8ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01574
01974
18474
069970
Stop Event
iter limit
iter limit
node limit
iter limit
Counts
8 → 38
Calls
Call 1
Inputs
#s(approx (+ x (* (- 1 x) (- 1 y))) (*.f64 y x))
(*.f64 y x)
#s(approx (+ x (* (- 1 x) (- 1 y))) (-.f64 #s(literal 1 binary64) y))
(-.f64 #s(literal 1 binary64) y)
#s(approx (+ x (* (- 1 x) (- 1 y))) (-.f64 (*.f64 y x) y))
(-.f64 (*.f64 y x) y)
#s(approx (+ x (* (- 1 x) (- 1 y))) (fma.f64 y x (-.f64 #s(literal 1 binary64) y)))
(fma.f64 y x (-.f64 #s(literal 1 binary64) y))
Outputs
#s(approx (+ x (* (- 1 x) (- 1 y))) (*.f64 y x))
(*.f64 y x)
(*.f64 x y)
#s(approx (+ x (* (- 1 x) (- 1 y))) (-.f64 #s(literal 1 binary64) y))
(/.f64 (neg.f64 (-.f64 #s(literal 1 binary64) (*.f64 y y))) (neg.f64 (+.f64 y #s(literal 1 binary64))))
(/.f64 (neg.f64 (-.f64 #s(literal 1 binary64) (pow.f64 y #s(literal 3 binary64)))) (neg.f64 (+.f64 (fma.f64 y y y) #s(literal 1 binary64))))
(/.f64 (-.f64 #s(literal 1 binary64) (*.f64 y y)) (+.f64 y #s(literal 1 binary64)))
(/.f64 (-.f64 #s(literal 1 binary64) (pow.f64 y #s(literal 3 binary64))) (+.f64 (fma.f64 y y y) #s(literal 1 binary64)))
(-.f64 (/.f64 #s(literal 1 binary64) (+.f64 y #s(literal 1 binary64))) (/.f64 (*.f64 y y) (+.f64 y #s(literal 1 binary64))))
(-.f64 (/.f64 #s(literal 1 binary64) (+.f64 (fma.f64 y y y) #s(literal 1 binary64))) (/.f64 (pow.f64 y #s(literal 3 binary64)) (+.f64 (fma.f64 y y y) #s(literal 1 binary64))))
(-.f64 #s(literal 1 binary64) y)
#s(approx (+ x (* (- 1 x) (- 1 y))) (-.f64 (*.f64 y x) y))
(/.f64 (neg.f64 (-.f64 (pow.f64 (*.f64 y x) #s(literal 2 binary64)) (*.f64 y y))) (neg.f64 (fma.f64 y x y)))
(/.f64 (neg.f64 (-.f64 (pow.f64 (*.f64 y x) #s(literal 3 binary64)) (pow.f64 y #s(literal 3 binary64)))) (neg.f64 (fma.f64 y (fma.f64 y x y) (pow.f64 (*.f64 y x) #s(literal 2 binary64)))))
(/.f64 (-.f64 (pow.f64 (*.f64 y x) #s(literal 2 binary64)) (*.f64 y y)) (fma.f64 y x y))
(/.f64 (-.f64 (pow.f64 (*.f64 y x) #s(literal 3 binary64)) (pow.f64 y #s(literal 3 binary64))) (fma.f64 y (fma.f64 y x y) (pow.f64 (*.f64 y x) #s(literal 2 binary64))))
(-.f64 (/.f64 (pow.f64 (*.f64 y x) #s(literal 2 binary64)) (fma.f64 y x y)) (/.f64 (*.f64 y y) (fma.f64 y x y)))
(-.f64 (/.f64 (pow.f64 (*.f64 y x) #s(literal 3 binary64)) (fma.f64 y (fma.f64 y x y) (pow.f64 (*.f64 y x) #s(literal 2 binary64)))) (/.f64 (pow.f64 y #s(literal 3 binary64)) (fma.f64 y (fma.f64 y x y) (pow.f64 (*.f64 y x) #s(literal 2 binary64)))))
(-.f64 (*.f64 y x) y)
#s(approx (+ x (* (- 1 x) (- 1 y))) (fma.f64 y x (-.f64 #s(literal 1 binary64) y)))
(/.f64 (-.f64 (*.f64 (fma.f64 y x #s(literal 1 binary64)) (fma.f64 y x #s(literal 1 binary64))) (*.f64 y y)) (+.f64 (fma.f64 y x #s(literal 1 binary64)) y))
(/.f64 (-.f64 (pow.f64 (-.f64 #s(literal 1 binary64) y) #s(literal 2 binary64)) (pow.f64 (*.f64 y x) #s(literal 2 binary64))) (-.f64 (-.f64 #s(literal 1 binary64) y) (*.f64 y x)))
(/.f64 (-.f64 (pow.f64 (fma.f64 y x #s(literal 1 binary64)) #s(literal 3 binary64)) (pow.f64 y #s(literal 3 binary64))) (fma.f64 (fma.f64 y x #s(literal 1 binary64)) (fma.f64 y x #s(literal 1 binary64)) (fma.f64 y y (*.f64 (fma.f64 y x #s(literal 1 binary64)) y))))
(/.f64 (neg.f64 (-.f64 (pow.f64 (*.f64 y x) #s(literal 2 binary64)) (pow.f64 (-.f64 #s(literal 1 binary64) y) #s(literal 2 binary64)))) (neg.f64 (-.f64 (*.f64 y x) (-.f64 #s(literal 1 binary64) y))))
(/.f64 (neg.f64 (+.f64 (pow.f64 (-.f64 #s(literal 1 binary64) y) #s(literal 3 binary64)) (pow.f64 (*.f64 y x) #s(literal 3 binary64)))) (neg.f64 (fma.f64 (-.f64 #s(literal 1 binary64) y) (-.f64 (-.f64 #s(literal 1 binary64) y) (*.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(literal 1 binary64) y) #s(literal 2 binary64))) (-.f64 (*.f64 y x) (-.f64 #s(literal 1 binary64) y)))
(/.f64 (+.f64 (pow.f64 (-.f64 #s(literal 1 binary64) y) #s(literal 3 binary64)) (pow.f64 (*.f64 y x) #s(literal 3 binary64))) (+.f64 (pow.f64 (-.f64 #s(literal 1 binary64) y) #s(literal 2 binary64)) (-.f64 (pow.f64 (*.f64 y x) #s(literal 2 binary64)) (*.f64 (-.f64 #s(literal 1 binary64) y) (*.f64 y x)))))
(/.f64 (+.f64 (pow.f64 (-.f64 #s(literal 1 binary64) y) #s(literal 3 binary64)) (pow.f64 (*.f64 y x) #s(literal 3 binary64))) (fma.f64 (-.f64 #s(literal 1 binary64) y) (-.f64 (-.f64 #s(literal 1 binary64) y) (*.f64 y x)) (pow.f64 (*.f64 y x) #s(literal 2 binary64))))
(fma.f64 y x (-.f64 #s(literal 1 binary64) y))
(fma.f64 x y (-.f64 #s(literal 1 binary64) y))
(-.f64 (/.f64 (pow.f64 (*.f64 y x) #s(literal 2 binary64)) (-.f64 (*.f64 y x) (-.f64 #s(literal 1 binary64) y))) (/.f64 (pow.f64 (-.f64 #s(literal 1 binary64) y) #s(literal 2 binary64)) (-.f64 (*.f64 y x) (-.f64 #s(literal 1 binary64) y))))
(-.f64 (fma.f64 y x #s(literal 1 binary64)) y)
(-.f64 (-.f64 #s(literal 1 binary64) y) (*.f64 (neg.f64 y) x))
(-.f64 (-.f64 #s(literal 1 binary64) y) (*.f64 (neg.f64 x) y))
(-.f64 #s(literal 1 binary64) (-.f64 y (*.f64 y x)))
(+.f64 (/.f64 (pow.f64 (*.f64 y x) #s(literal 3 binary64)) (fma.f64 (-.f64 #s(literal 1 binary64) y) (-.f64 (-.f64 #s(literal 1 binary64) y) (*.f64 y x)) (pow.f64 (*.f64 y x) #s(literal 2 binary64)))) (/.f64 (pow.f64 (-.f64 #s(literal 1 binary64) y) #s(literal 3 binary64)) (fma.f64 (-.f64 #s(literal 1 binary64) y) (-.f64 (-.f64 #s(literal 1 binary64) y) (*.f64 y x)) (pow.f64 (*.f64 y x) #s(literal 2 binary64)))))
(+.f64 (-.f64 #s(literal 1 binary64) y) (*.f64 y x))
(+.f64 (*.f64 y x) (-.f64 #s(literal 1 binary64) y))

eval11.0ms (0.3%)

Memory
18.0MiB live, 18.1MiB allocated; 0ms collecting garbage
Compiler

Compiled 1 303 to 174 computations (86.6% saved)

prune19.0ms (0.5%)

Memory
-37.1MiB live, 16.2MiB allocated; 7ms collecting garbage
Pruning

6 alts after pruning (3 fresh and 3 done)

PrunedKeptTotal
New53356
Fresh000
Picked134
Done000
Total54660
Accuracy
100.0%
Counts
60 → 6
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
#s(approx (+ x (* (- 1 x) (- 1 y))) (fma.f64 y x (-.f64 #s(literal 1 binary64) y)))
56.4%
#s(approx (+ x (* (- 1 x) (- 1 y))) (fma.f64 y x (neg.f64 y)))
64.9%
#s(approx (+ x (* (- 1 x) (- 1 y))) (-.f64 #s(literal 1 binary64) y))
35.3%
#s(approx (+ x (* (- 1 x) (- 1 y))) (*.f64 y x))
22.4%
#s(approx (+ x (* (- 1 x) (- 1 y))) #s(approx (- (* y x) y) (neg.f64 y)))
44.4%
#s(approx (+ x (* (- 1 x) (- 1 y))) #s(literal 1 binary64))
Compiler

Compiled 86 to 61 computations (29.1% saved)

simplify146.0ms (3.7%)

Memory
3.6MiB live, 191.3MiB allocated; 16ms collecting garbage
Localize:

Found 7 expressions of interest:

NewMetricScoreProgram
cost-diff0
(neg.f64 y)
cost-diff0
(fma.f64 y x (neg.f64 y))
cost-diff0
#s(approx (+ x (* (- 1 x) (- 1 y))) (fma.f64 y x (neg.f64 y)))
cost-diff0
(neg.f64 y)
cost-diff0
#s(approx (- (* y x) y) (neg.f64 y))
cost-diff0
#s(approx (+ x (* (- 1 x) (- 1 y))) #s(approx (- (* y x) y) (neg.f64 y)))
cost-diff0
#s(approx (+ x (* (- 1 x) (- 1 y))) #s(literal 1 binary64))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01565
01765
12665
24265
37465
418265
577759
6779259
0821756
Stop Event
iter limit
node limit
iter limit
Calls
Call 1
Inputs
#s(approx (+ x (* (- 1 x) (- 1 y))) #s(literal 1 binary64))
#s(literal 1 binary64)
#s(approx (+ x (* (- 1 x) (- 1 y))) #s(approx (- (* y x) y) (neg.f64 y)))
#s(approx (- (* y x) y) (neg.f64 y))
(neg.f64 y)
y
#s(approx (+ x (* (- 1 x) (- 1 y))) (fma.f64 y x (neg.f64 y)))
(fma.f64 y x (neg.f64 y))
y
x
(neg.f64 y)
Outputs
#s(approx (+ x (* (- 1 x) (- 1 y))) #s(literal 1 binary64))
#s(literal 1 binary64)
#s(approx (+ x (* (- 1 x) (- 1 y))) #s(approx (- (* y x) y) (neg.f64 y)))
#s(approx (- (* y x) y) (neg.f64 y))
(neg.f64 y)
y
#s(approx (+ x (* (- 1 x) (- 1 y))) (fma.f64 y x (neg.f64 y)))
#s(approx (+ x (* (- 1 x) (- 1 y))) (*.f64 (-.f64 x #s(literal 1 binary64)) y))
(fma.f64 y x (neg.f64 y))
(*.f64 (-.f64 x #s(literal 1 binary64)) y)
y
x
(neg.f64 y)

localize59.0ms (1.5%)

Memory
28.6MiB live, 75.2MiB allocated; 3ms collecting garbage
Localize:

Found 7 expressions of interest:

NewMetricScoreProgram
accuracy0.0
(fma.f64 y x (neg.f64 y))
accuracy0.0
(neg.f64 y)
accuracy27.89819541490231
#s(approx (+ x (* (- 1 x) (- 1 y))) (fma.f64 y x (neg.f64 y)))
accuracy0.0
(neg.f64 y)
accuracy27.89819541490231
#s(approx (+ x (* (- 1 x) (- 1 y))) #s(approx (- (* y x) y) (neg.f64 y)))
accuracy30.48095682709338
#s(approx (- (* y x) y) (neg.f64 y))
accuracy35.55780396954081
#s(approx (+ x (* (- 1 x) (- 1 y))) #s(literal 1 binary64))
Samples
37.0ms59×1valid
14.0ms197×0valid
Compiler

Compiled 48 to 13 computations (72.9% saved)

Precisions
Click to see histograms. Total time spent on operations: 16.0ms
ival-sub: 5.0ms (30.9% of total)
ival-mult: 4.0ms (24.7% of total)
adjust: 3.0ms (18.6% of total)
ival-add: 3.0ms (18.6% of total)
ival-neg: 1.0ms (6.2% of total)
ival-assert: 0.0ms (0% of total)
ival-true: 0.0ms (0% of total)
exact: 0.0ms (0% of total)

series3.0ms (0.1%)

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

6 calls:

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

simplify98.0ms (2.5%)

Memory
-22.9MiB live, 165.8MiB allocated; 20ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
048124
1147116
2418100
3137884
0804378
Stop Event
iter limit
node limit
Counts
17 → 17
Calls
Call 1
Inputs
(- 1 y)
(- (+ 1 (* x (+ 1 (* -1 (- 1 y))))) y)
(* -1 y)
(- (* x y) y)
(* x (+ 1 (* -1 (- 1 y))))
(* x (- (+ 1 (+ (* -1 (- 1 y)) (/ 1 x))) (/ y x)))
(* x y)
(* x (+ y (* -1 (/ y x))))
(* -1 (* x (- (* -1 (/ (- 1 y) x)) y)))
(* -1 (* x (+ (* -1 y) (/ y x))))
1
(+ 1 (* -1 (* y (- 1 x))))
(* y (- x 1))
(* -1 (* y (- 1 x)))
(* y (+ (* -1 (- 1 x)) (/ 1 y)))
(* -1 (* y (- 1 (+ x (/ 1 y)))))
(* -1 (* y (+ 1 (* -1 x))))
Outputs
(- 1 y)
(-.f64 #s(literal 1 binary64) y)
(- (+ 1 (* x (+ 1 (* -1 (- 1 y))))) y)
(fma.f64 y x (-.f64 #s(literal 1 binary64) y))
(* -1 y)
(neg.f64 y)
(- (* x y) y)
(fma.f64 y x (neg.f64 y))
(* x (+ 1 (* -1 (- 1 y))))
(*.f64 y x)
(* x (- (+ 1 (+ (* -1 (- 1 y)) (/ 1 x))) (/ y x)))
(fma.f64 y x (-.f64 #s(literal 1 binary64) y))
(* x y)
(*.f64 y x)
(* x (+ y (* -1 (/ y x))))
(fma.f64 y x (neg.f64 y))
(* -1 (* x (- (* -1 (/ (- 1 y) x)) y)))
(fma.f64 y x (-.f64 #s(literal 1 binary64) y))
(* -1 (* x (+ (* -1 y) (/ y x))))
(fma.f64 y x (neg.f64 y))
1
#s(literal 1 binary64)
(+ 1 (* -1 (* y (- 1 x))))
(fma.f64 y x (-.f64 #s(literal 1 binary64) y))
(* y (- x 1))
(fma.f64 y x (neg.f64 y))
(* -1 (* y (- 1 x)))
(fma.f64 y x (neg.f64 y))
(* y (+ (* -1 (- 1 x)) (/ 1 y)))
(fma.f64 y x (-.f64 #s(literal 1 binary64) y))
(* -1 (* y (- 1 (+ x (/ 1 y)))))
(fma.f64 y x (-.f64 #s(literal 1 binary64) y))
(* -1 (* y (+ 1 (* -1 x))))
(fma.f64 y x (neg.f64 y))

rewrite87.0ms (2.2%)

Memory
10.9MiB live, 57.8MiB allocated; 2ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01559
01759
18059
064756
Stop Event
iter limit
iter limit
node limit
iter limit
Counts
6 → 19
Calls
Call 1
Inputs
#s(approx (+ x (* (- 1 x) (- 1 y))) #s(literal 1 binary64))
#s(approx (+ x (* (- 1 x) (- 1 y))) #s(approx (- (* y x) y) (neg.f64 y)))
#s(approx (- (* y x) y) (neg.f64 y))
(neg.f64 y)
#s(approx (+ x (* (- 1 x) (- 1 y))) (fma.f64 y x (neg.f64 y)))
(fma.f64 y x (neg.f64 y))
Outputs
#s(approx (+ x (* (- 1 x) (- 1 y))) #s(literal 1 binary64))
#s(approx (+ x (* (- 1 x) (- 1 y))) #s(approx (- (* y x) y) (neg.f64 y)))
#s(approx (- (* y x) y) (neg.f64 y))
(neg.f64 y)
#s(approx (+ x (* (- 1 x) (- 1 y))) (fma.f64 y x (neg.f64 y)))
(/.f64 (-.f64 (*.f64 y y) (pow.f64 (*.f64 y x) #s(literal 2 binary64))) (-.f64 (neg.f64 y) (*.f64 y x)))
(/.f64 (neg.f64 (-.f64 (pow.f64 (*.f64 y x) #s(literal 2 binary64)) (*.f64 y y))) (neg.f64 (-.f64 (*.f64 y x) (neg.f64 y))))
(/.f64 (neg.f64 (+.f64 (pow.f64 (neg.f64 y) #s(literal 3 binary64)) (pow.f64 (*.f64 y x) #s(literal 3 binary64)))) (neg.f64 (fma.f64 (neg.f64 y) (-.f64 (neg.f64 y) (*.f64 y x)) (pow.f64 (*.f64 y x) #s(literal 2 binary64)))))
(/.f64 (-.f64 (pow.f64 (*.f64 y x) #s(literal 2 binary64)) (*.f64 y y)) (-.f64 (*.f64 y x) (neg.f64 y)))
(/.f64 (+.f64 (pow.f64 (neg.f64 y) #s(literal 3 binary64)) (pow.f64 (*.f64 y x) #s(literal 3 binary64))) (fma.f64 y y (-.f64 (pow.f64 (*.f64 y x) #s(literal 2 binary64)) (*.f64 (neg.f64 y) (*.f64 y x)))))
(/.f64 (+.f64 (pow.f64 (neg.f64 y) #s(literal 3 binary64)) (pow.f64 (*.f64 y x) #s(literal 3 binary64))) (fma.f64 (neg.f64 y) (-.f64 (neg.f64 y) (*.f64 y x)) (pow.f64 (*.f64 y x) #s(literal 2 binary64))))
(fma.f64 y x (neg.f64 y))
(fma.f64 x y (neg.f64 y))
(-.f64 (/.f64 (pow.f64 (*.f64 y x) #s(literal 2 binary64)) (-.f64 (*.f64 y x) (neg.f64 y))) (/.f64 (*.f64 y y) (-.f64 (*.f64 y x) (neg.f64 y))))
(-.f64 (neg.f64 y) (*.f64 (neg.f64 y) x))
(-.f64 (neg.f64 y) (*.f64 (neg.f64 x) y))
(+.f64 (/.f64 (pow.f64 (*.f64 y x) #s(literal 3 binary64)) (fma.f64 (neg.f64 y) (-.f64 (neg.f64 y) (*.f64 y x)) (pow.f64 (*.f64 y x) #s(literal 2 binary64)))) (/.f64 (pow.f64 (neg.f64 y) #s(literal 3 binary64)) (fma.f64 (neg.f64 y) (-.f64 (neg.f64 y) (*.f64 y x)) (pow.f64 (*.f64 y x) #s(literal 2 binary64)))))
(+.f64 (neg.f64 y) (*.f64 y x))
(+.f64 (*.f64 y x) (neg.f64 y))

eval2.0ms (0.1%)

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

Compiled 544 to 78 computations (85.7% saved)

prune3.0ms (0.1%)

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

6 alts after pruning (0 fresh and 6 done)

PrunedKeptTotal
New25025
Fresh000
Picked033
Done033
Total25631
Accuracy
100.0%
Counts
31 → 6
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
#s(approx (+ x (* (- 1 x) (- 1 y))) (fma.f64 y x (-.f64 #s(literal 1 binary64) y)))
56.4%
#s(approx (+ x (* (- 1 x) (- 1 y))) (fma.f64 y x (neg.f64 y)))
64.9%
#s(approx (+ x (* (- 1 x) (- 1 y))) (-.f64 #s(literal 1 binary64) y))
35.3%
#s(approx (+ x (* (- 1 x) (- 1 y))) (*.f64 y x))
22.4%
#s(approx (+ x (* (- 1 x) (- 1 y))) #s(approx (- (* y x) y) (neg.f64 y)))
44.4%
#s(approx (+ x (* (- 1 x) (- 1 y))) #s(literal 1 binary64))
Compiler

Compiled 196 to 88 computations (55.1% saved)

regimes16.0ms (0.4%)

Memory
-15.5MiB live, 31.4MiB allocated; 2ms collecting garbage
Counts
8 → 1
Calls
Call 1
Inputs
#s(approx (+ x (* (- 1 x) (- 1 y))) #s(literal 1 binary64))
#s(approx (+ x (* (- 1 x) (- 1 y))) #s(approx (- (* y x) y) (neg.f64 y)))
#s(approx (+ x (* (- 1 x) (- 1 y))) (-.f64 #s(literal 1 binary64) y))
#s(approx (+ x (* (- 1 x) (- 1 y))) (*.f64 y x))
#s(approx (+ x (* (- 1 x) (- 1 y))) (-.f64 (*.f64 y x) y))
#s(approx (+ x (* (- 1 x) (- 1 y))) (fma.f64 y x (neg.f64 y)))
#s(approx (+ x (* (- 1 x) (- 1 y))) (fma.f64 y x (-.f64 #s(literal 1 binary64) y)))
(+.f64 x (*.f64 (-.f64 #s(literal 1 binary64) x) (-.f64 #s(literal 1 binary64) y)))
Outputs
#s(approx (+ x (* (- 1 x) (- 1 y))) (fma.f64 y x (-.f64 #s(literal 1 binary64) y)))
Calls

4 calls:

8.0ms
x
3.0ms
y
2.0ms
(+.f64 x (*.f64 (-.f64 #s(literal 1 binary64) x) (-.f64 #s(literal 1 binary64) y)))
2.0ms
(-.f64 #s(literal 1 binary64) y)
Results
AccuracySegmentsBranch
100.0%1(-.f64 #s(literal 1 binary64) y)
100.0%1(+.f64 x (*.f64 (-.f64 #s(literal 1 binary64) x) (-.f64 #s(literal 1 binary64) y)))
100.0%1x
100.0%1y
Compiler

Compiled 14 to 15 computations (-7.1% saved)

regimes9.0ms (0.2%)

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

4 calls:

2.0ms
x
2.0ms
y
2.0ms
(-.f64 #s(literal 1 binary64) y)
2.0ms
(+.f64 x (*.f64 (-.f64 #s(literal 1 binary64) x) (-.f64 #s(literal 1 binary64) y)))
Results
AccuracySegmentsBranch
88.4%3(-.f64 #s(literal 1 binary64) y)
89.3%3(+.f64 x (*.f64 (-.f64 #s(literal 1 binary64) x) (-.f64 #s(literal 1 binary64) y)))
87.0%3x
88.7%3y
Compiler

Compiled 14 to 15 computations (-7.1% saved)

regimes147.0ms (3.7%)

Memory
-30.3MiB live, 19.8MiB allocated; 170ms collecting garbage
Counts
5 → 3
Calls
Call 1
Inputs
#s(approx (+ x (* (- 1 x) (- 1 y))) #s(literal 1 binary64))
#s(approx (+ x (* (- 1 x) (- 1 y))) #s(approx (- (* y x) y) (neg.f64 y)))
#s(approx (+ x (* (- 1 x) (- 1 y))) (-.f64 #s(literal 1 binary64) y))
#s(approx (+ x (* (- 1 x) (- 1 y))) (*.f64 y x))
#s(approx (+ x (* (- 1 x) (- 1 y))) (-.f64 (*.f64 y x) y))
Outputs
#s(approx (+ x (* (- 1 x) (- 1 y))) (-.f64 (*.f64 y x) y))
#s(approx (+ x (* (- 1 x) (- 1 y))) (-.f64 #s(literal 1 binary64) y))
#s(approx (+ x (* (- 1 x) (- 1 y))) (-.f64 (*.f64 y x) y))
Calls

1 calls:

14.0ms
(+.f64 x (*.f64 (-.f64 #s(literal 1 binary64) x) (-.f64 #s(literal 1 binary64) y)))
Results
AccuracySegmentsBranch
89.3%3(+.f64 x (*.f64 (-.f64 #s(literal 1 binary64) x) (-.f64 #s(literal 1 binary64) y)))
Compiler

Compiled 9 to 7 computations (22.2% saved)

regimes7.0ms (0.2%)

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

4 calls:

2.0ms
x
2.0ms
y
2.0ms
(+.f64 x (*.f64 (-.f64 #s(literal 1 binary64) x) (-.f64 #s(literal 1 binary64) y)))
2.0ms
(-.f64 #s(literal 1 binary64) y)
Results
AccuracySegmentsBranch
86.6%3x
72.0%4(-.f64 #s(literal 1 binary64) y)
72.0%4y
78.1%3(+.f64 x (*.f64 (-.f64 #s(literal 1 binary64) x) (-.f64 #s(literal 1 binary64) y)))
Compiler

Compiled 14 to 15 computations (-7.1% saved)

regimes32.0ms (0.8%)

Memory
-38.4MiB live, 18.2MiB allocated; 22ms collecting garbage
Counts
3 → 1
Calls
Call 1
Inputs
#s(approx (+ x (* (- 1 x) (- 1 y))) #s(literal 1 binary64))
#s(approx (+ x (* (- 1 x) (- 1 y))) #s(approx (- (* y x) y) (neg.f64 y)))
#s(approx (+ x (* (- 1 x) (- 1 y))) (-.f64 #s(literal 1 binary64) y))
Outputs
#s(approx (+ x (* (- 1 x) (- 1 y))) (-.f64 #s(literal 1 binary64) y))
Calls

4 calls:

2.0ms
y
2.0ms
x
1.0ms
(-.f64 #s(literal 1 binary64) y)
1.0ms
(+.f64 x (*.f64 (-.f64 #s(literal 1 binary64) x) (-.f64 #s(literal 1 binary64) y)))
Results
AccuracySegmentsBranch
64.9%1y
64.9%1(-.f64 #s(literal 1 binary64) y)
64.9%1(+.f64 x (*.f64 (-.f64 #s(literal 1 binary64) x) (-.f64 #s(literal 1 binary64) y)))
64.9%1x
Compiler

Compiled 14 to 15 computations (-7.1% saved)

regimes5.0ms (0.1%)

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

4 calls:

1.0ms
y
1.0ms
x
1.0ms
(-.f64 #s(literal 1 binary64) y)
1.0ms
(+.f64 x (*.f64 (-.f64 #s(literal 1 binary64) x) (-.f64 #s(literal 1 binary64) y)))
Results
AccuracySegmentsBranch
63.6%3(-.f64 #s(literal 1 binary64) y)
63.5%3(+.f64 x (*.f64 (-.f64 #s(literal 1 binary64) x) (-.f64 #s(literal 1 binary64) y)))
63.6%3y
48.4%3x
Compiler

Compiled 14 to 15 computations (-7.1% saved)

regimes4.0ms (0.1%)

Memory
14.2MiB live, 14.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 (* (- 1 x) (- 1 y))) #s(literal 1 binary64))
Outputs
#s(approx (+ x (* (- 1 x) (- 1 y))) #s(literal 1 binary64))
Calls

4 calls:

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

Compiled 14 to 15 computations (-7.1% saved)

bsearch1.0ms (0%)

Memory
1.1MiB live, 1.1MiB allocated; 0ms collecting garbage
Algorithm
left-value
Steps
TimeLeftRight
0.0ms
408837102261.7246
8.014782901406345e+22
0.0ms
-2.5992208368252445e+77
-2.0022587304046196e+69
Compiler

Compiled 12 to 12 computations (0% saved)

bsearch0.0ms (0%)

Memory
0.9MiB live, 0.9MiB allocated; 0ms collecting garbage
Algorithm
left-value
Steps
TimeLeftRight
0.0ms
408837102261.7246
8.014782901406345e+22
0.0ms
-2.5992208368252445e+77
-2.0022587304046196e+69
Compiler

Compiled 12 to 12 computations (0% saved)

bsearch35.0ms (0.9%)

Memory
-20.7MiB live, 72.7MiB allocated; 4ms collecting garbage
Algorithm
binary-search
Stop Event
narrow-enough
narrow-enough
Steps
TimeLeftRight
12.0ms
1.499272152584106e+19
1.1694276039100395e+20
20.0ms
-8.021742805694996e+50
-6.654566073380855e+40
Samples
16.0ms142×1valid
6.0ms114×0valid
Compiler

Compiled 428 to 348 computations (18.7% saved)

Precisions
Click to see histograms. Total time spent on operations: 16.0ms
ival-sub: 6.0ms (38.5% of total)
adjust: 4.0ms (25.7% of total)
ival-mult: 3.0ms (19.3% of total)
ival-add: 2.0ms (12.8% of total)
ival-assert: 0.0ms (0% of total)
ival-true: 0.0ms (0% of total)
exact: 0.0ms (0% of total)

bsearch36.0ms (0.9%)

Memory
-15.8MiB live, 83.2MiB allocated; 9ms collecting garbage
Algorithm
binary-search
Stop Event
narrow-enough
narrow-enough
Steps
TimeLeftRight
13.0ms
1.6675314844397637e-11
8.039244115078624
18.0ms
-408837102260.7246
-0.21310509201109282
Samples
15.0ms283×0valid
2.0ms25×1valid
2.0ms12×2valid
Compiler

Compiled 592 to 472 computations (20.3% saved)

Precisions
Click to see histograms. Total time spent on operations: 12.0ms
ival-sub: 6.0ms (51% of total)
ival-add: 2.0ms (17% of total)
ival-mult: 2.0ms (17% of total)
adjust: 1.0ms (8.5% of total)
ival-assert: 0.0ms (0% of total)
ival-true: 0.0ms (0% of total)
exact: 0.0ms (0% of total)

simplify40.0ms (1%)

Memory
23.9MiB live, 70.1MiB allocated; 6ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
045233
169233
284233
3108233
4183233
5654233
65877233
Stop Event
node limit
Calls
Call 1
Inputs
#s(approx (+ x (* (- 1 x) (- 1 y))) (fma.f64 y x (-.f64 #s(literal 1 binary64) y)))
(if (<=.f64 (+.f64 x (*.f64 (-.f64 #s(literal 1 binary64) x) (-.f64 #s(literal 1 binary64) y))) #s(literal -199999999999999996556522545109171713495495289428031795107950240435622308216832 binary64)) #s(approx (+ x (* (- 1 x) (- 1 y))) (-.f64 (*.f64 y x) y)) (if (<=.f64 (+.f64 x (*.f64 (-.f64 #s(literal 1 binary64) x) (-.f64 #s(literal 1 binary64) y))) #s(literal 500000000000 binary64)) #s(approx (+ x (* (- 1 x) (- 1 y))) (-.f64 #s(literal 1 binary64) y)) #s(approx (+ x (* (- 1 x) (- 1 y))) (fma.f64 y x (neg.f64 y)))))
(if (<=.f64 (+.f64 x (*.f64 (-.f64 #s(literal 1 binary64) x) (-.f64 #s(literal 1 binary64) y))) #s(literal -199999999999999996556522545109171713495495289428031795107950240435622308216832 binary64)) #s(approx (+ x (* (- 1 x) (- 1 y))) (-.f64 (*.f64 y x) y)) (if (<=.f64 (+.f64 x (*.f64 (-.f64 #s(literal 1 binary64) x) (-.f64 #s(literal 1 binary64) y))) #s(literal 500000000000 binary64)) #s(approx (+ x (* (- 1 x) (- 1 y))) (-.f64 #s(literal 1 binary64) y)) #s(approx (+ x (* (- 1 x) (- 1 y))) (-.f64 (*.f64 y x) y))))
(if (<=.f64 x #s(literal -214999999999999991236070141416290519768629248 binary64)) #s(approx (+ x (* (- 1 x) (- 1 y))) (*.f64 y x)) (if (<=.f64 x #s(literal 46000000000000000000 binary64)) #s(approx (+ x (* (- 1 x) (- 1 y))) (-.f64 #s(literal 1 binary64) y)) #s(approx (+ x (* (- 1 x) (- 1 y))) (*.f64 y x))))
#s(approx (+ x (* (- 1 x) (- 1 y))) (-.f64 #s(literal 1 binary64) y))
(if (<=.f64 y #s(literal -1 binary64)) #s(approx (+ x (* (- 1 x) (- 1 y))) #s(approx (- (* y x) y) (neg.f64 y))) (if (<=.f64 y #s(literal 1 binary64)) #s(approx (+ x (* (- 1 x) (- 1 y))) #s(literal 1 binary64)) #s(approx (+ x (* (- 1 x) (- 1 y))) #s(approx (- (* y x) y) (neg.f64 y)))))
#s(approx (+ x (* (- 1 x) (- 1 y))) #s(literal 1 binary64))
Outputs
#s(approx (+ x (* (- 1 x) (- 1 y))) (fma.f64 y x (-.f64 #s(literal 1 binary64) y)))
(if (<=.f64 (+.f64 x (*.f64 (-.f64 #s(literal 1 binary64) x) (-.f64 #s(literal 1 binary64) y))) #s(literal -199999999999999996556522545109171713495495289428031795107950240435622308216832 binary64)) #s(approx (+ x (* (- 1 x) (- 1 y))) (-.f64 (*.f64 y x) y)) (if (<=.f64 (+.f64 x (*.f64 (-.f64 #s(literal 1 binary64) x) (-.f64 #s(literal 1 binary64) y))) #s(literal 500000000000 binary64)) #s(approx (+ x (* (- 1 x) (- 1 y))) (-.f64 #s(literal 1 binary64) y)) #s(approx (+ x (* (- 1 x) (- 1 y))) (fma.f64 y x (neg.f64 y)))))
(if (<=.f64 (+.f64 x (*.f64 (-.f64 #s(literal 1 binary64) x) (-.f64 #s(literal 1 binary64) y))) #s(literal -199999999999999996556522545109171713495495289428031795107950240435622308216832 binary64)) #s(approx (+ x (* (- 1 x) (- 1 y))) (-.f64 (*.f64 y x) y)) (if (<=.f64 (+.f64 x (*.f64 (-.f64 #s(literal 1 binary64) x) (-.f64 #s(literal 1 binary64) y))) #s(literal 500000000000 binary64)) #s(approx (+ x (* (- 1 x) (- 1 y))) (-.f64 #s(literal 1 binary64) y)) #s(approx (+ x (* (- 1 x) (- 1 y))) (-.f64 (*.f64 y x) y))))
(if (or (<=.f64 (+.f64 x (*.f64 (-.f64 #s(literal 1 binary64) x) (-.f64 #s(literal 1 binary64) y))) #s(literal -199999999999999996556522545109171713495495289428031795107950240435622308216832 binary64)) (not (<=.f64 (+.f64 x (*.f64 (-.f64 #s(literal 1 binary64) x) (-.f64 #s(literal 1 binary64) y))) #s(literal 500000000000 binary64)))) #s(approx (+ x (* (- 1 x) (- 1 y))) (-.f64 (*.f64 y x) y)) #s(approx (+ x (* (- 1 x) (- 1 y))) (-.f64 #s(literal 1 binary64) y)))
(if (<=.f64 x #s(literal -214999999999999991236070141416290519768629248 binary64)) #s(approx (+ x (* (- 1 x) (- 1 y))) (*.f64 y x)) (if (<=.f64 x #s(literal 46000000000000000000 binary64)) #s(approx (+ x (* (- 1 x) (- 1 y))) (-.f64 #s(literal 1 binary64) y)) #s(approx (+ x (* (- 1 x) (- 1 y))) (*.f64 y x))))
(if (or (<=.f64 x #s(literal -214999999999999991236070141416290519768629248 binary64)) (not (<=.f64 x #s(literal 46000000000000000000 binary64)))) #s(approx (+ x (* (- 1 x) (- 1 y))) (*.f64 y x)) #s(approx (+ x (* (- 1 x) (- 1 y))) (-.f64 #s(literal 1 binary64) y)))
#s(approx (+ x (* (- 1 x) (- 1 y))) (-.f64 #s(literal 1 binary64) y))
(if (<=.f64 y #s(literal -1 binary64)) #s(approx (+ x (* (- 1 x) (- 1 y))) #s(approx (- (* y x) y) (neg.f64 y))) (if (<=.f64 y #s(literal 1 binary64)) #s(approx (+ x (* (- 1 x) (- 1 y))) #s(literal 1 binary64)) #s(approx (+ x (* (- 1 x) (- 1 y))) #s(approx (- (* y x) y) (neg.f64 y)))))
(if (or (<=.f64 y #s(literal -1 binary64)) (not (<=.f64 y #s(literal 1 binary64)))) #s(approx (+ x (* (- 1 x) (- 1 y))) #s(approx (- (* y x) y) (neg.f64 y))) #s(approx (+ x (* (- 1 x) (- 1 y))) #s(literal 1 binary64)))
#s(approx (+ x (* (- 1 x) (- 1 y))) #s(literal 1 binary64))

derivations409.0ms (10.3%)

Memory
-10.8MiB live, 318.7MiB allocated; 42ms collecting garbage
Stop Event
done
Compiler

Compiled 233 to 49 computations (79% saved)

preprocess45.0ms (1.1%)

Memory
40.5MiB live, 87.8MiB allocated; 2ms collecting garbage
Compiler

Compiled 498 to 124 computations (75.1% saved)

end0.0ms (0%)

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

Profiling

Loading profile data...