Data.Colour.SRGB:transferFunction from colour-2.3.3

Time bar (total: 3.6s)

start0.0ms (0%)

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

analyze0.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 9 to 8 computations (11.1% saved)

sample963.0ms (26.8%)

Memory
13.6MiB live, 957.7MiB allocated; 187ms collecting garbage
Samples
699.0ms8 255×0valid
0.0ms1valid
Precisions
Click to see histograms. Total time spent on operations: 241.0ms
ival-mult: 95.0ms (39.4% of total)
ival-add: 90.0ms (37.3% of total)
ival-sub: 40.0ms (16.6% of total)
ival-true: 6.0ms (2.5% of total)
exact: 5.0ms (2.1% of total)
ival-assert: 3.0ms (1.2% of total)
adjust: 2.0ms (0.8% of total)
Bogosity

explain92.0ms (2.6%)

Memory
30.7MiB live, 168.5MiB allocated; 27ms collecting garbage
FPErrors
Click to see full error table
Ground TruthOverpredictionsExampleUnderpredictionsExampleSubexpression
00-0-(+.f64 x #s(literal 1 binary64))
00-0-(*.f64 (+.f64 x #s(literal 1 binary64)) y)
00-0-y
00-0-(-.f64 (*.f64 (+.f64 x #s(literal 1 binary64)) y) x)
00-0-#s(literal 1 binary64)
00-0-x
Confusion
Predicted +Predicted -
+00
-0256
Precision
0/0
Recall
0/0
Confusion?
Predicted +Predicted MaybePredicted -
+000
-00256
Precision?
0/0
Recall?
0/0
Freqs
test
numberfreq
0256
Total Confusion?
Predicted +Predicted MaybePredicted -
+000
-001
Precision?
0/0
Recall?
0/0
Samples
34.0ms512×0valid
Compiler

Compiled 47 to 22 computations (53.2% saved)

Precisions
Click to see histograms. Total time spent on operations: 11.0ms
ival-sub: 3.0ms (27.9% of total)
ival-add: 3.0ms (27.9% of total)
ival-mult: 3.0ms (27.9% of total)
ival-true: 0.0ms (0% of total)
adjust: 0.0ms (0% of total)
exact: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

preprocess227.0ms (6.3%)

Memory
-4.9MiB live, 229.8MiB allocated; 38ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01643
12643
25741
319440
474636
5231536
6718136
067
097
1137
2247
3727
42607
510777
082296
Stop Event
iter limit
node limit
iter limit
node limit
Calls
Call 1
Inputs
(-.f64 (*.f64 (+.f64 x #s(literal 1 binary64)) y) x)
Outputs
(-.f64 (*.f64 (+.f64 x #s(literal 1 binary64)) y) x)
(-.f64 (fma.f64 y x y) x)
Compiler

Compiled 7 to 6 computations (14.3% saved)

eval0.0ms (0%)

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

Compiled 0 to 2 computations (-∞% saved)

prune0.0ms (0%)

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

Compiled 7 to 6 computations (14.3% saved)

simplify185.0ms (5.2%)

Memory
20.2MiB live, 157.3MiB allocated; 28ms collecting garbage
Localize:

Found 3 expressions of interest:

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

Useful iterations: 0 (0.0ms)

IterNodesCost
0618
0918
11318
22418
37218
426018
5107718
0822916
Stop Event
iter limit
node limit
iter limit
Calls
Call 1
Inputs
(-.f64 (*.f64 (+.f64 x #s(literal 1 binary64)) y) x)
(*.f64 (+.f64 x #s(literal 1 binary64)) y)
(+.f64 x #s(literal 1 binary64))
x
#s(literal 1 binary64)
y
Outputs
(-.f64 (*.f64 (+.f64 x #s(literal 1 binary64)) y) x)
(-.f64 (fma.f64 y x y) x)
(*.f64 (+.f64 x #s(literal 1 binary64)) y)
(fma.f64 y x y)
(+.f64 x #s(literal 1 binary64))
(-.f64 x #s(literal -1 binary64))
x
#s(literal 1 binary64)
y

localize202.0ms (5.6%)

Memory
-16.8MiB live, 27.4MiB allocated; 10ms collecting garbage
Localize:

Found 3 expressions of interest:

NewMetricScoreProgram
accuracy0.0
(+.f64 x #s(literal 1 binary64))
accuracy0.00390625
(-.f64 (*.f64 (+.f64 x #s(literal 1 binary64)) y) x)
accuracy0.0078125
(*.f64 (+.f64 x #s(literal 1 binary64)) y)
Samples
198.0ms256×0valid
Compiler

Compiled 20 to 8 computations (60% saved)

Precisions
Click to see histograms. Total time spent on operations: 191.0ms
ival-add: 188.0ms (98.3% of total)
ival-mult: 2.0ms (1% of total)
ival-sub: 1.0ms (0.5% 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)

series4.0ms (0.1%)

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

6 calls:

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

simplify162.0ms (4.5%)

Memory
9.6MiB live, 202.3MiB allocated; 79ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
065232
1177232
2545232
31804232
45879232
08036204
Stop Event
iter limit
node limit
Counts
21 → 21
Calls
Call 1
Inputs
#s(approx (* (+ x 1) y) #s(hole binary64 y))
#s(approx (* (+ x 1) y) #s(hole binary64 (+ y (* x y))))
#s(approx (- (* (+ x 1) y) x) #s(hole binary64 y))
#s(approx (- (* (+ x 1) y) x) #s(hole binary64 (+ y (* x (- y 1)))))
#s(approx (+ x 1) #s(hole binary64 1))
#s(approx (+ x 1) #s(hole binary64 (+ 1 x)))
#s(approx (* (+ x 1) y) #s(hole binary64 (* x y)))
#s(approx (* (+ x 1) y) #s(hole binary64 (* x (+ y (/ y x)))))
#s(approx (- (* (+ x 1) y) x) #s(hole binary64 (* x (- y 1))))
#s(approx (- (* (+ x 1) y) x) #s(hole binary64 (* x (- (+ y (/ y x)) 1))))
#s(approx (+ x 1) #s(hole binary64 x))
#s(approx (+ x 1) #s(hole binary64 (* x (+ 1 (/ 1 x)))))
#s(approx (* (+ x 1) y) #s(hole binary64 (* -1 (* x (+ (* -1 y) (* -1 (/ y x)))))))
#s(approx (- (* (+ x 1) y) x) #s(hole binary64 (* -1 (* x (+ 1 (* -1 y))))))
#s(approx (- (* (+ x 1) y) x) #s(hole binary64 (* -1 (* x (+ 1 (+ (* -1 y) (* -1 (/ y x))))))))
#s(approx (* (+ x 1) y) #s(hole binary64 (* y (+ 1 x))))
#s(approx (- (* (+ x 1) y) x) #s(hole binary64 (* -1 x)))
#s(approx (- (* (+ x 1) y) x) #s(hole binary64 (- (* y (+ 1 x)) x)))
#s(approx (- (* (+ x 1) y) x) #s(hole binary64 (* y (+ 1 x))))
#s(approx (- (* (+ x 1) y) x) #s(hole binary64 (* y (+ 1 (+ x (* -1 (/ x y)))))))
#s(approx (- (* (+ x 1) y) x) #s(hole binary64 (* -1 (* y (+ (* -1 (+ 1 x)) (/ x y))))))
Outputs
#s(approx (* (+ x 1) y) #s(hole binary64 y))
#s(approx (* (+ x 1) y) y)
#s(approx (* (+ x 1) y) #s(hole binary64 (+ y (* x y))))
#s(approx (* (+ x 1) y) (fma.f64 y x y))
#s(approx (- (* (+ x 1) y) x) #s(hole binary64 y))
#s(approx (- (* (+ x 1) y) x) y)
#s(approx (- (* (+ x 1) y) x) #s(hole binary64 (+ y (* x (- y 1)))))
#s(approx (- (* (+ x 1) y) x) (fma.f64 (-.f64 y #s(literal 1 binary64)) x y))
#s(approx (+ x 1) #s(hole binary64 1))
#s(approx (+ x 1) #s(literal 1 binary64))
#s(approx (+ x 1) #s(hole binary64 (+ 1 x)))
#s(approx (+ x 1) (-.f64 x #s(literal -1 binary64)))
#s(approx (* (+ x 1) y) #s(hole binary64 (* x y)))
#s(approx (* (+ x 1) y) (*.f64 y x))
#s(approx (* (+ x 1) y) #s(hole binary64 (* x (+ y (/ y x)))))
#s(approx (* (+ x 1) y) (fma.f64 y x y))
#s(approx (- (* (+ x 1) y) x) #s(hole binary64 (* x (- y 1))))
#s(approx (- (* (+ x 1) y) x) (*.f64 (-.f64 y #s(literal 1 binary64)) x))
#s(approx (- (* (+ x 1) y) x) #s(hole binary64 (* x (- (+ y (/ y x)) 1))))
#s(approx (- (* (+ x 1) y) x) (fma.f64 (-.f64 y #s(literal 1 binary64)) x y))
#s(approx (+ x 1) #s(hole binary64 x))
#s(approx (+ x 1) x)
#s(approx (+ x 1) #s(hole binary64 (* x (+ 1 (/ 1 x)))))
#s(approx (+ x 1) (-.f64 x #s(literal -1 binary64)))
#s(approx (* (+ x 1) y) #s(hole binary64 (* -1 (* x (+ (* -1 y) (* -1 (/ y x)))))))
#s(approx (* (+ x 1) y) (fma.f64 y x y))
#s(approx (- (* (+ x 1) y) x) #s(hole binary64 (* -1 (* x (+ 1 (* -1 y))))))
#s(approx (- (* (+ x 1) y) x) (*.f64 (-.f64 y #s(literal 1 binary64)) x))
#s(approx (- (* (+ x 1) y) x) #s(hole binary64 (* -1 (* x (+ 1 (+ (* -1 y) (* -1 (/ y x))))))))
#s(approx (- (* (+ x 1) y) x) (fma.f64 (-.f64 y #s(literal 1 binary64)) x y))
#s(approx (* (+ x 1) y) #s(hole binary64 (* y (+ 1 x))))
#s(approx (* (+ x 1) y) (fma.f64 y x y))
#s(approx (- (* (+ x 1) y) x) #s(hole binary64 (* -1 x)))
#s(approx (- (* (+ x 1) y) x) (neg.f64 x))
#s(approx (- (* (+ x 1) y) x) #s(hole binary64 (- (* y (+ 1 x)) x)))
#s(approx (- (* (+ x 1) y) x) (fma.f64 (-.f64 y #s(literal 1 binary64)) x y))
#s(approx (- (* (+ x 1) y) x) #s(hole binary64 (* y (+ 1 x))))
#s(approx (- (* (+ x 1) y) x) (fma.f64 y x y))
#s(approx (- (* (+ x 1) y) x) #s(hole binary64 (* y (+ 1 (+ x (* -1 (/ x y)))))))
#s(approx (- (* (+ x 1) y) x) (fma.f64 (-.f64 y #s(literal 1 binary64)) x y))
#s(approx (- (* (+ x 1) y) x) #s(hole binary64 (* -1 (* y (+ (* -1 (+ 1 x)) (/ x y))))))
#s(approx (- (* (+ x 1) y) x) (fma.f64 (-.f64 y #s(literal 1 binary64)) x y))

rewrite48.0ms (1.4%)

Memory
2.6MiB live, 104.6MiB allocated; 7ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0615
0915
13715
027915
Stop Event
iter limit
iter limit
iter limit
unsound
iter limit
Counts
3 → 32
Calls
Call 1
Inputs
(*.f64 (+.f64 x #s(literal 1 binary64)) y)
(-.f64 (*.f64 (+.f64 x #s(literal 1 binary64)) y) x)
(+.f64 x #s(literal 1 binary64))
Outputs
(*.f64 y (-.f64 x #s(literal -1 binary64)))
(*.f64 (-.f64 x #s(literal -1 binary64)) y)
(/.f64 (*.f64 (fma.f64 x x #s(literal -1 binary64)) y) (-.f64 x #s(literal 1 binary64)))
(/.f64 (*.f64 (-.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1 binary64)) y) (fma.f64 x x (-.f64 #s(literal 1 binary64) x)))
(/.f64 (*.f64 y (fma.f64 x x #s(literal -1 binary64))) (-.f64 x #s(literal 1 binary64)))
(/.f64 (*.f64 y (-.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1 binary64))) (fma.f64 x x (-.f64 #s(literal 1 binary64) x)))
(fma.f64 y #s(literal 1 binary64) (*.f64 y x))
(fma.f64 y x (*.f64 y #s(literal 1 binary64)))
(fma.f64 #s(literal 1 binary64) y (*.f64 x y))
(fma.f64 x y (*.f64 #s(literal 1 binary64) y))
(+.f64 (*.f64 #s(literal 1 binary64) y) (*.f64 x y))
(+.f64 (*.f64 x y) (*.f64 #s(literal 1 binary64) y))
(+.f64 (*.f64 y #s(literal 1 binary64)) (*.f64 y x))
(+.f64 (*.f64 y x) (*.f64 y #s(literal 1 binary64)))
(/.f64 (neg.f64 (-.f64 (pow.f64 (*.f64 y (-.f64 x #s(literal -1 binary64))) #s(literal 2 binary64)) (*.f64 x x))) (neg.f64 (fma.f64 y (-.f64 x #s(literal -1 binary64)) x)))
(/.f64 (neg.f64 (-.f64 (pow.f64 (*.f64 y (-.f64 x #s(literal -1 binary64))) #s(literal 3 binary64)) (pow.f64 x #s(literal 3 binary64)))) (neg.f64 (fma.f64 x (fma.f64 y (-.f64 x #s(literal -1 binary64)) x) (pow.f64 (*.f64 y (-.f64 x #s(literal -1 binary64))) #s(literal 2 binary64)))))
(/.f64 (-.f64 (pow.f64 (*.f64 y (-.f64 x #s(literal -1 binary64))) #s(literal 2 binary64)) (*.f64 x x)) (fma.f64 y (-.f64 x #s(literal -1 binary64)) x))
(/.f64 (-.f64 (pow.f64 (*.f64 y (-.f64 x #s(literal -1 binary64))) #s(literal 3 binary64)) (pow.f64 x #s(literal 3 binary64))) (fma.f64 x (fma.f64 y (-.f64 x #s(literal -1 binary64)) x) (pow.f64 (*.f64 y (-.f64 x #s(literal -1 binary64))) #s(literal 2 binary64))))
(-.f64 (/.f64 (pow.f64 (*.f64 y (-.f64 x #s(literal -1 binary64))) #s(literal 2 binary64)) (fma.f64 y (-.f64 x #s(literal -1 binary64)) x)) (/.f64 (*.f64 x x) (fma.f64 y (-.f64 x #s(literal -1 binary64)) x)))
(-.f64 (/.f64 (pow.f64 (*.f64 y (-.f64 x #s(literal -1 binary64))) #s(literal 3 binary64)) (fma.f64 x (fma.f64 y (-.f64 x #s(literal -1 binary64)) x) (pow.f64 (*.f64 y (-.f64 x #s(literal -1 binary64))) #s(literal 2 binary64)))) (/.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 x (fma.f64 y (-.f64 x #s(literal -1 binary64)) x) (pow.f64 (*.f64 y (-.f64 x #s(literal -1 binary64))) #s(literal 2 binary64)))))
(-.f64 (*.f64 y (-.f64 x #s(literal -1 binary64))) x)
(/.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x)) (-.f64 #s(literal 1 binary64) x))
(/.f64 (neg.f64 (fma.f64 x x #s(literal -1 binary64))) (neg.f64 (-.f64 x #s(literal 1 binary64))))
(/.f64 (neg.f64 (-.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1 binary64))) (neg.f64 (fma.f64 x x (-.f64 #s(literal 1 binary64) x))))
(/.f64 (fma.f64 x x #s(literal -1 binary64)) (-.f64 x #s(literal 1 binary64)))
(/.f64 (-.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1 binary64)) (+.f64 #s(literal 1 binary64) (-.f64 (*.f64 x x) x)))
(/.f64 (-.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1 binary64)) (fma.f64 x x (-.f64 #s(literal 1 binary64) x)))
(-.f64 (/.f64 (*.f64 x x) (-.f64 x #s(literal 1 binary64))) (/.f64 #s(literal 1 binary64) (-.f64 x #s(literal 1 binary64))))
(-.f64 x #s(literal -1 binary64))
(+.f64 (/.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 x x (-.f64 #s(literal 1 binary64) x))) (/.f64 #s(literal 1 binary64) (fma.f64 x x (-.f64 #s(literal 1 binary64) x))))
(+.f64 #s(literal 1 binary64) x)
(+.f64 x #s(literal 1 binary64))

eval6.0ms (0.2%)

Memory
-31.3MiB live, 15.7MiB allocated; 2ms collecting garbage
Compiler

Compiled 577 to 140 computations (75.7% saved)

prune3.0ms (0.1%)

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

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New37643
Fresh000
Picked101
Done000
Total38644
Accuracy
100.0%
Counts
44 → 6
Alt Table
Click to see full alt table
StatusAccuracyProgram
67.0%
(-.f64 (*.f64 #s(approx (+ x 1) x) y) x)
72.0%
(-.f64 #s(approx (* (+ x 1) y) y) x)
100.0%
#s(approx (- (* (+ x 1) y) x) (fma.f64 (-.f64 y #s(literal 1 binary64)) x y))
62.2%
#s(approx (- (* (+ x 1) y) x) (fma.f64 y x y))
39.5%
#s(approx (- (* (+ x 1) y) x) (neg.f64 x))
34.7%
#s(approx (- (* (+ x 1) y) x) y)
Compiler

Compiled 126 to 94 computations (25.4% saved)

simplify136.0ms (3.8%)

Memory
32.8MiB live, 215.5MiB allocated; 38ms collecting garbage
Localize:

Found 10 expressions of interest:

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

Useful iterations: 1 (0.0ms)

IterNodesCost
01685
02385
13179
25179
310279
434979
5131679
0824479
Stop Event
iter limit
node limit
iter limit
Calls
Call 1
Inputs
#s(approx (- (* (+ x 1) y) x) (fma.f64 (-.f64 y #s(literal 1 binary64)) x y))
(fma.f64 (-.f64 y #s(literal 1 binary64)) x y)
(-.f64 y #s(literal 1 binary64))
y
#s(literal 1 binary64)
x
#s(approx (- (* (+ x 1) y) x) y)
y
#s(approx (- (* (+ x 1) y) x) (neg.f64 x))
(neg.f64 x)
x
(-.f64 #s(approx (* (+ x 1) y) y) x)
#s(approx (* (+ x 1) y) y)
y
x
#s(approx (- (* (+ x 1) y) x) (fma.f64 y x y))
(fma.f64 y x y)
y
x
Outputs
#s(approx (- (* (+ x 1) y) x) (fma.f64 (-.f64 y #s(literal 1 binary64)) x y))
(fma.f64 (-.f64 y #s(literal 1 binary64)) x y)
(-.f64 y #s(literal 1 binary64))
y
#s(literal 1 binary64)
x
#s(approx (- (* (+ x 1) y) x) y)
y
#s(approx (- (* (+ x 1) y) x) (neg.f64 x))
(neg.f64 x)
x
(-.f64 #s(approx (* (+ x 1) y) y) x)
#s(approx (* (+ x 1) y) y)
y
x
#s(approx (- (* (+ x 1) y) x) (fma.f64 y x y))
(fma.f64 y x y)
y
x

localize35.0ms (1%)

Memory
2.1MiB live, 47.4MiB allocated; 6ms collecting garbage
Localize:

Found 10 expressions of interest:

NewMetricScoreProgram
accuracy0.0
(fma.f64 y x y)
accuracy24.18825415724238
#s(approx (- (* (+ x 1) y) x) (fma.f64 y x y))
accuracy0.00390625
(-.f64 #s(approx (* (+ x 1) y) y) x)
accuracy34.93545994947301
#s(approx (* (+ x 1) y) y)
accuracy0.0
(neg.f64 x)
accuracy38.699799584675624
#s(approx (- (* (+ x 1) y) x) (neg.f64 x))
accuracy41.77586086491326
#s(approx (- (* (+ x 1) y) x) y)
accuracy0.0
(-.f64 y #s(literal 1 binary64))
accuracy0.0
#s(approx (- (* (+ x 1) y) x) (fma.f64 (-.f64 y #s(literal 1 binary64)) x y))
accuracy0.00390625
(fma.f64 (-.f64 y #s(literal 1 binary64)) x y)
Samples
26.0ms256×0valid
Compiler

Compiled 68 to 14 computations (79.4% saved)

Precisions
Click to see histograms. Total time spent on operations: 16.0ms
ival-mult: 8.0ms (49.1% of total)
ival-add: 4.0ms (24.6% of total)
ival-sub: 2.0ms (12.3% of total)
ival-neg: 1.0ms (6.1% 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)

series12.0ms (0.3%)

Memory
-31.2MiB live, 13.0MiB allocated; 9ms collecting garbage
Counts
10 → 41
Calls
Call 1
Inputs
#s(approx (- (* (+ x 1) y) x) (fma.f64 (-.f64 y #s(literal 1 binary64)) x y))
(fma.f64 (-.f64 y #s(literal 1 binary64)) x y)
(-.f64 y #s(literal 1 binary64))
#s(approx (- (* (+ x 1) y) x) y)
#s(approx (- (* (+ x 1) y) x) (neg.f64 x))
(neg.f64 x)
(-.f64 #s(approx (* (+ x 1) y) y) x)
#s(approx (* (+ x 1) y) y)
#s(approx (- (* (+ x 1) y) x) (fma.f64 y x y))
(fma.f64 y x y)
Outputs
#s(approx (- (* (+ x 1) y) x) #s(hole binary64 y))
#s(approx (- (* (+ x 1) y) x) #s(hole binary64 (+ y (* x (- y 1)))))
#s(approx (+ (* (- y 1) x) y) #s(hole binary64 y))
#s(approx (+ (* (- y 1) x) y) #s(hole binary64 (+ y (* x (- y 1)))))
#s(approx (neg x) #s(hole binary64 (* -1 x)))
#s(approx (* (+ x 1) y) #s(hole binary64 y))
#s(approx (* (+ x 1) y) #s(hole binary64 (+ y (* x y))))
#s(approx (+ (* y x) y) #s(hole binary64 y))
#s(approx (+ (* y x) y) #s(hole binary64 (+ y (* x y))))
#s(approx (- (* (+ x 1) y) x) #s(hole binary64 (* x (- y 1))))
#s(approx (- (* (+ x 1) y) x) #s(hole binary64 (* x (- (+ y (/ y x)) 1))))
#s(approx (+ (* (- y 1) x) y) #s(hole binary64 (* x (- y 1))))
#s(approx (+ (* (- y 1) x) y) #s(hole binary64 (* x (- (+ y (/ y x)) 1))))
#s(approx (* (+ x 1) y) #s(hole binary64 (* x y)))
#s(approx (* (+ x 1) y) #s(hole binary64 (* x (+ y (/ y x)))))
#s(approx (+ (* y x) y) #s(hole binary64 (* x y)))
#s(approx (+ (* y x) y) #s(hole binary64 (* x (+ y (/ y x)))))
#s(approx (- (* (+ x 1) y) x) #s(hole binary64 (* -1 (* x (+ 1 (* -1 y))))))
#s(approx (- (* (+ x 1) y) x) #s(hole binary64 (* -1 (* x (+ 1 (+ (* -1 y) (* -1 (/ y x))))))))
#s(approx (+ (* (- y 1) x) y) #s(hole binary64 (* -1 (* x (+ (* -1 (- y 1)) (* -1 (/ y x)))))))
#s(approx (* (+ x 1) y) #s(hole binary64 (* -1 (* x (+ (* -1 y) (* -1 (/ y x)))))))
#s(approx (+ (* y x) y) #s(hole binary64 (* -1 (* x (+ (* -1 y) (* -1 (/ y x)))))))
#s(approx (- (* (+ x 1) y) x) #s(hole binary64 (* -1 x)))
#s(approx (- (* (+ x 1) y) x) #s(hole binary64 (- (* y (+ 1 x)) x)))
#s(approx (+ (* (- y 1) x) y) #s(hole binary64 (* -1 x)))
#s(approx (+ (* (- y 1) x) y) #s(hole binary64 (+ (* -1 x) (* y (+ 1 x)))))
#s(approx (- y 1) #s(hole binary64 -1))
#s(approx (- y 1) #s(hole binary64 (- y 1)))
#s(approx (* (+ x 1) y) #s(hole binary64 (* y (+ 1 x))))
#s(approx (+ (* y x) y) #s(hole binary64 (* y (+ 1 x))))
#s(approx (- (* (+ x 1) y) x) #s(hole binary64 (* y (+ 1 x))))
#s(approx (- (* (+ x 1) y) x) #s(hole binary64 (* y (+ 1 (+ x (* -1 (/ x y)))))))
#s(approx (+ (* (- y 1) x) y) #s(hole binary64 (* y (+ 1 x))))
#s(approx (+ (* (- y 1) x) y) #s(hole binary64 (* y (+ 1 (+ x (* -1 (/ x y)))))))
#s(approx (- y 1) #s(hole binary64 y))
#s(approx (- y 1) #s(hole binary64 (* y (- 1 (/ 1 y)))))
#s(approx (- (* (+ x 1) y) x) #s(hole binary64 (* -1 (* y (+ (* -1 (+ 1 x)) (/ x y))))))
#s(approx (+ (* (- y 1) x) y) #s(hole binary64 (* -1 (* y (- (* -1 x) 1)))))
#s(approx (+ (* (- y 1) x) y) #s(hole binary64 (* -1 (* y (- (+ (* -1 x) (/ x y)) 1)))))
#s(approx (- y 1) #s(hole binary64 (* -1 (* y (- (/ 1 y) 1)))))
#s(approx (+ (* y x) y) #s(hole binary64 (* -1 (* y (- (* -1 x) 1)))))
Calls

6 calls:

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

simplify163.0ms (4.5%)

Memory
42.7MiB live, 176.7MiB allocated; 52ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0105463
1247463
2746463
32113463
44616463
08084404
Stop Event
iter limit
node limit
Counts
41 → 41
Calls
Call 1
Inputs
#s(approx (- (* (+ x 1) y) x) #s(hole binary64 y))
#s(approx (- (* (+ x 1) y) x) #s(hole binary64 (+ y (* x (- y 1)))))
#s(approx (+ (* (- y 1) x) y) #s(hole binary64 y))
#s(approx (+ (* (- y 1) x) y) #s(hole binary64 (+ y (* x (- y 1)))))
#s(approx (neg x) #s(hole binary64 (* -1 x)))
#s(approx (* (+ x 1) y) #s(hole binary64 y))
#s(approx (* (+ x 1) y) #s(hole binary64 (+ y (* x y))))
#s(approx (+ (* y x) y) #s(hole binary64 y))
#s(approx (+ (* y x) y) #s(hole binary64 (+ y (* x y))))
#s(approx (- (* (+ x 1) y) x) #s(hole binary64 (* x (- y 1))))
#s(approx (- (* (+ x 1) y) x) #s(hole binary64 (* x (- (+ y (/ y x)) 1))))
#s(approx (+ (* (- y 1) x) y) #s(hole binary64 (* x (- y 1))))
#s(approx (+ (* (- y 1) x) y) #s(hole binary64 (* x (- (+ y (/ y x)) 1))))
#s(approx (* (+ x 1) y) #s(hole binary64 (* x y)))
#s(approx (* (+ x 1) y) #s(hole binary64 (* x (+ y (/ y x)))))
#s(approx (+ (* y x) y) #s(hole binary64 (* x y)))
#s(approx (+ (* y x) y) #s(hole binary64 (* x (+ y (/ y x)))))
#s(approx (- (* (+ x 1) y) x) #s(hole binary64 (* -1 (* x (+ 1 (* -1 y))))))
#s(approx (- (* (+ x 1) y) x) #s(hole binary64 (* -1 (* x (+ 1 (+ (* -1 y) (* -1 (/ y x))))))))
#s(approx (+ (* (- y 1) x) y) #s(hole binary64 (* -1 (* x (+ (* -1 (- y 1)) (* -1 (/ y x)))))))
#s(approx (* (+ x 1) y) #s(hole binary64 (* -1 (* x (+ (* -1 y) (* -1 (/ y x)))))))
#s(approx (+ (* y x) y) #s(hole binary64 (* -1 (* x (+ (* -1 y) (* -1 (/ y x)))))))
#s(approx (- (* (+ x 1) y) x) #s(hole binary64 (* -1 x)))
#s(approx (- (* (+ x 1) y) x) #s(hole binary64 (- (* y (+ 1 x)) x)))
#s(approx (+ (* (- y 1) x) y) #s(hole binary64 (* -1 x)))
#s(approx (+ (* (- y 1) x) y) #s(hole binary64 (+ (* -1 x) (* y (+ 1 x)))))
#s(approx (- y 1) #s(hole binary64 -1))
#s(approx (- y 1) #s(hole binary64 (- y 1)))
#s(approx (* (+ x 1) y) #s(hole binary64 (* y (+ 1 x))))
#s(approx (+ (* y x) y) #s(hole binary64 (* y (+ 1 x))))
#s(approx (- (* (+ x 1) y) x) #s(hole binary64 (* y (+ 1 x))))
#s(approx (- (* (+ x 1) y) x) #s(hole binary64 (* y (+ 1 (+ x (* -1 (/ x y)))))))
#s(approx (+ (* (- y 1) x) y) #s(hole binary64 (* y (+ 1 x))))
#s(approx (+ (* (- y 1) x) y) #s(hole binary64 (* y (+ 1 (+ x (* -1 (/ x y)))))))
#s(approx (- y 1) #s(hole binary64 y))
#s(approx (- y 1) #s(hole binary64 (* y (- 1 (/ 1 y)))))
#s(approx (- (* (+ x 1) y) x) #s(hole binary64 (* -1 (* y (+ (* -1 (+ 1 x)) (/ x y))))))
#s(approx (+ (* (- y 1) x) y) #s(hole binary64 (* -1 (* y (- (* -1 x) 1)))))
#s(approx (+ (* (- y 1) x) y) #s(hole binary64 (* -1 (* y (- (+ (* -1 x) (/ x y)) 1)))))
#s(approx (- y 1) #s(hole binary64 (* -1 (* y (- (/ 1 y) 1)))))
#s(approx (+ (* y x) y) #s(hole binary64 (* -1 (* y (- (* -1 x) 1)))))
Outputs
#s(approx (- (* (+ x 1) y) x) #s(hole binary64 y))
#s(approx (- (* (+ x 1) y) x) y)
#s(approx (- (* (+ x 1) y) x) #s(hole binary64 (+ y (* x (- y 1)))))
#s(approx (- (* (+ x 1) y) x) (fma.f64 (-.f64 y #s(literal 1 binary64)) x y))
#s(approx (+ (* (- y 1) x) y) #s(hole binary64 y))
#s(approx (- (* (+ x 1) y) x) y)
#s(approx (+ (* (- y 1) x) y) #s(hole binary64 (+ y (* x (- y 1)))))
#s(approx (- (* (+ x 1) y) x) (fma.f64 (-.f64 y #s(literal 1 binary64)) x y))
#s(approx (neg x) #s(hole binary64 (* -1 x)))
#s(approx (neg x) (neg.f64 x))
#s(approx (* (+ x 1) y) #s(hole binary64 y))
#s(approx (* (+ x 1) y) y)
#s(approx (* (+ x 1) y) #s(hole binary64 (+ y (* x y))))
#s(approx (* (+ x 1) y) (fma.f64 y x y))
#s(approx (+ (* y x) y) #s(hole binary64 y))
#s(approx (* (+ x 1) y) y)
#s(approx (+ (* y x) y) #s(hole binary64 (+ y (* x y))))
#s(approx (* (+ x 1) y) (fma.f64 y x y))
#s(approx (- (* (+ x 1) y) x) #s(hole binary64 (* x (- y 1))))
#s(approx (- (* (+ x 1) y) x) (*.f64 (-.f64 y #s(literal 1 binary64)) x))
#s(approx (- (* (+ x 1) y) x) #s(hole binary64 (* x (- (+ y (/ y x)) 1))))
#s(approx (- (* (+ x 1) y) x) (fma.f64 (-.f64 y #s(literal 1 binary64)) x y))
#s(approx (+ (* (- y 1) x) y) #s(hole binary64 (* x (- y 1))))
#s(approx (- (* (+ x 1) y) x) (*.f64 (-.f64 y #s(literal 1 binary64)) x))
#s(approx (+ (* (- y 1) x) y) #s(hole binary64 (* x (- (+ y (/ y x)) 1))))
#s(approx (- (* (+ x 1) y) x) (fma.f64 (-.f64 y #s(literal 1 binary64)) x y))
#s(approx (* (+ x 1) y) #s(hole binary64 (* x y)))
#s(approx (* (+ x 1) y) (*.f64 y x))
#s(approx (* (+ x 1) y) #s(hole binary64 (* x (+ y (/ y x)))))
#s(approx (* (+ x 1) y) (fma.f64 y x y))
#s(approx (+ (* y x) y) #s(hole binary64 (* x y)))
#s(approx (* (+ x 1) y) (*.f64 y x))
#s(approx (+ (* y x) y) #s(hole binary64 (* x (+ y (/ y x)))))
#s(approx (* (+ x 1) y) (fma.f64 y x y))
#s(approx (- (* (+ x 1) y) x) #s(hole binary64 (* -1 (* x (+ 1 (* -1 y))))))
#s(approx (- (* (+ x 1) y) x) (*.f64 (-.f64 y #s(literal 1 binary64)) x))
#s(approx (- (* (+ x 1) y) x) #s(hole binary64 (* -1 (* x (+ 1 (+ (* -1 y) (* -1 (/ y x))))))))
#s(approx (- (* (+ x 1) y) x) (fma.f64 (-.f64 y #s(literal 1 binary64)) x y))
#s(approx (+ (* (- y 1) x) y) #s(hole binary64 (* -1 (* x (+ (* -1 (- y 1)) (* -1 (/ y x)))))))
#s(approx (- (* (+ x 1) y) x) (fma.f64 (-.f64 y #s(literal 1 binary64)) x y))
#s(approx (* (+ x 1) y) #s(hole binary64 (* -1 (* x (+ (* -1 y) (* -1 (/ y x)))))))
#s(approx (* (+ x 1) y) (fma.f64 y x y))
#s(approx (+ (* y x) y) #s(hole binary64 (* -1 (* x (+ (* -1 y) (* -1 (/ y x)))))))
#s(approx (* (+ x 1) y) (fma.f64 y x y))
#s(approx (- (* (+ x 1) y) x) #s(hole binary64 (* -1 x)))
#s(approx (- (* (+ x 1) y) x) (neg.f64 x))
#s(approx (- (* (+ x 1) y) x) #s(hole binary64 (- (* y (+ 1 x)) x)))
#s(approx (- (* (+ x 1) y) x) (fma.f64 (-.f64 y #s(literal 1 binary64)) x y))
#s(approx (+ (* (- y 1) x) y) #s(hole binary64 (* -1 x)))
#s(approx (- (* (+ x 1) y) x) (neg.f64 x))
#s(approx (+ (* (- y 1) x) y) #s(hole binary64 (+ (* -1 x) (* y (+ 1 x)))))
#s(approx (- (* (+ x 1) y) x) (fma.f64 (-.f64 y #s(literal 1 binary64)) x y))
#s(approx (- y 1) #s(hole binary64 -1))
#s(approx (- y 1) #s(literal -1 binary64))
#s(approx (- y 1) #s(hole binary64 (- y 1)))
#s(approx (- y 1) (-.f64 y #s(literal 1 binary64)))
#s(approx (* (+ x 1) y) #s(hole binary64 (* y (+ 1 x))))
#s(approx (* (+ x 1) y) (fma.f64 y x y))
#s(approx (+ (* y x) y) #s(hole binary64 (* y (+ 1 x))))
#s(approx (* (+ x 1) y) (fma.f64 y x y))
#s(approx (- (* (+ x 1) y) x) #s(hole binary64 (* y (+ 1 x))))
#s(approx (- (* (+ x 1) y) x) (fma.f64 y x y))
#s(approx (- (* (+ x 1) y) x) #s(hole binary64 (* y (+ 1 (+ x (* -1 (/ x y)))))))
#s(approx (- (* (+ x 1) y) x) (fma.f64 (-.f64 y #s(literal 1 binary64)) x y))
#s(approx (+ (* (- y 1) x) y) #s(hole binary64 (* y (+ 1 x))))
#s(approx (- (* (+ x 1) y) x) (fma.f64 y x y))
#s(approx (+ (* (- y 1) x) y) #s(hole binary64 (* y (+ 1 (+ x (* -1 (/ x y)))))))
#s(approx (- (* (+ x 1) y) x) (fma.f64 (-.f64 y #s(literal 1 binary64)) x y))
#s(approx (- y 1) #s(hole binary64 y))
#s(approx (- y 1) y)
#s(approx (- y 1) #s(hole binary64 (* y (- 1 (/ 1 y)))))
#s(approx (- y 1) (-.f64 y #s(literal 1 binary64)))
#s(approx (- (* (+ x 1) y) x) #s(hole binary64 (* -1 (* y (+ (* -1 (+ 1 x)) (/ x y))))))
#s(approx (- (* (+ x 1) y) x) (fma.f64 (-.f64 y #s(literal 1 binary64)) x y))
#s(approx (+ (* (- y 1) x) y) #s(hole binary64 (* -1 (* y (- (* -1 x) 1)))))
#s(approx (- (* (+ x 1) y) x) (fma.f64 y x y))
#s(approx (+ (* (- y 1) x) y) #s(hole binary64 (* -1 (* y (- (+ (* -1 x) (/ x y)) 1)))))
#s(approx (- (* (+ x 1) y) x) (fma.f64 (-.f64 y #s(literal 1 binary64)) x y))
#s(approx (- y 1) #s(hole binary64 (* -1 (* y (- (/ 1 y) 1)))))
#s(approx (- y 1) (-.f64 y #s(literal 1 binary64)))
#s(approx (+ (* y x) y) #s(hole binary64 (* -1 (* y (- (* -1 x) 1)))))
#s(approx (* (+ x 1) y) (fma.f64 y x y))

rewrite45.0ms (1.3%)

Memory
-7.1MiB live, 39.1MiB allocated; 4ms collecting garbage
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01676
02376
19570
072370
Stop Event
iter limit
iter limit
node limit
iter limit
Counts
10 → 55
Calls
Call 1
Inputs
#s(approx (- (* (+ x 1) y) x) (fma.f64 (-.f64 y #s(literal 1 binary64)) x y))
(fma.f64 (-.f64 y #s(literal 1 binary64)) x y)
(-.f64 y #s(literal 1 binary64))
#s(approx (- (* (+ x 1) y) x) y)
#s(approx (- (* (+ x 1) y) x) (neg.f64 x))
(neg.f64 x)
(-.f64 #s(approx (* (+ x 1) y) y) x)
#s(approx (* (+ x 1) y) y)
#s(approx (- (* (+ x 1) y) x) (fma.f64 y x y))
(fma.f64 y x y)
Outputs
#s(approx (- (* (+ x 1) y) x) (fma.f64 (-.f64 y #s(literal 1 binary64)) x y))
(/.f64 (-.f64 (*.f64 y y) (pow.f64 (*.f64 (-.f64 y #s(literal 1 binary64)) x) #s(literal 2 binary64))) (-.f64 y (*.f64 (-.f64 y #s(literal 1 binary64)) x)))
(/.f64 (neg.f64 (-.f64 (pow.f64 (*.f64 (-.f64 y #s(literal 1 binary64)) x) #s(literal 2 binary64)) (*.f64 y y))) (neg.f64 (-.f64 (*.f64 (-.f64 y #s(literal 1 binary64)) x) y)))
(/.f64 (neg.f64 (+.f64 (pow.f64 y #s(literal 3 binary64)) (pow.f64 (*.f64 (-.f64 y #s(literal 1 binary64)) x) #s(literal 3 binary64)))) (neg.f64 (fma.f64 y (-.f64 y (*.f64 (-.f64 y #s(literal 1 binary64)) x)) (pow.f64 (*.f64 (-.f64 y #s(literal 1 binary64)) x) #s(literal 2 binary64)))))
(/.f64 (-.f64 (pow.f64 (*.f64 (-.f64 y #s(literal 1 binary64)) x) #s(literal 2 binary64)) (*.f64 y y)) (-.f64 (*.f64 (-.f64 y #s(literal 1 binary64)) x) y))
(/.f64 (+.f64 (pow.f64 y #s(literal 3 binary64)) (pow.f64 (*.f64 (-.f64 y #s(literal 1 binary64)) x) #s(literal 3 binary64))) (fma.f64 y y (-.f64 (pow.f64 (*.f64 (-.f64 y #s(literal 1 binary64)) x) #s(literal 2 binary64)) (*.f64 (*.f64 (-.f64 y #s(literal 1 binary64)) x) y))))
(/.f64 (+.f64 (pow.f64 y #s(literal 3 binary64)) (pow.f64 (*.f64 (-.f64 y #s(literal 1 binary64)) x) #s(literal 3 binary64))) (fma.f64 y (-.f64 y (*.f64 (-.f64 y #s(literal 1 binary64)) x)) (pow.f64 (*.f64 (-.f64 y #s(literal 1 binary64)) x) #s(literal 2 binary64))))
(fma.f64 (-.f64 y #s(literal 1 binary64)) x y)
(fma.f64 x (-.f64 y #s(literal 1 binary64)) y)
(-.f64 (/.f64 (pow.f64 (*.f64 (-.f64 y #s(literal 1 binary64)) x) #s(literal 2 binary64)) (-.f64 (*.f64 (-.f64 y #s(literal 1 binary64)) x) y)) (/.f64 (*.f64 y y) (-.f64 (*.f64 (-.f64 y #s(literal 1 binary64)) x) y)))
(-.f64 y (*.f64 (neg.f64 (-.f64 y #s(literal 1 binary64))) x))
(-.f64 y (*.f64 (neg.f64 x) (-.f64 y #s(literal 1 binary64))))
(+.f64 (/.f64 (pow.f64 (*.f64 (-.f64 y #s(literal 1 binary64)) x) #s(literal 3 binary64)) (fma.f64 y (-.f64 y (*.f64 (-.f64 y #s(literal 1 binary64)) x)) (pow.f64 (*.f64 (-.f64 y #s(literal 1 binary64)) x) #s(literal 2 binary64)))) (/.f64 (pow.f64 y #s(literal 3 binary64)) (fma.f64 y (-.f64 y (*.f64 (-.f64 y #s(literal 1 binary64)) x)) (pow.f64 (*.f64 (-.f64 y #s(literal 1 binary64)) x) #s(literal 2 binary64)))))
(+.f64 (*.f64 (-.f64 y #s(literal 1 binary64)) x) y)
(+.f64 y (*.f64 (-.f64 y #s(literal 1 binary64)) x))
(/.f64 (neg.f64 (fma.f64 y y #s(literal -1 binary64))) (neg.f64 (-.f64 y #s(literal -1 binary64))))
(/.f64 (neg.f64 (-.f64 (pow.f64 y #s(literal 3 binary64)) #s(literal 1 binary64))) (neg.f64 (fma.f64 y y (-.f64 y #s(literal -1 binary64)))))
(/.f64 (fma.f64 y y #s(literal -1 binary64)) (-.f64 y #s(literal -1 binary64)))
(/.f64 (-.f64 (pow.f64 y #s(literal 3 binary64)) #s(literal 1 binary64)) (fma.f64 y y (-.f64 y #s(literal -1 binary64))))
(-.f64 (/.f64 (*.f64 y y) (-.f64 y #s(literal -1 binary64))) (/.f64 #s(literal 1 binary64) (-.f64 y #s(literal -1 binary64))))
(-.f64 (/.f64 (pow.f64 y #s(literal 3 binary64)) (fma.f64 y y (-.f64 y #s(literal -1 binary64)))) (/.f64 #s(literal 1 binary64) (fma.f64 y y (-.f64 y #s(literal -1 binary64)))))
(-.f64 y #s(literal 1 binary64))
(+.f64 y #s(literal -1 binary64))
#s(approx (- (* (+ x 1) y) x) y)
#s(approx (- (* (+ x 1) y) x) (neg.f64 x))
(neg.f64 x)
(/.f64 (neg.f64 (*.f64 (+.f64 #s(approx (* (+ x 1) y) y) x) (-.f64 #s(approx (* (+ x 1) y) y) x))) (neg.f64 (+.f64 #s(approx (* (+ x 1) y) y) x)))
(/.f64 (neg.f64 (-.f64 (pow.f64 #s(approx (* (+ x 1) y) y) #s(literal 3 binary64)) (pow.f64 x #s(literal 3 binary64)))) (neg.f64 (fma.f64 #s(approx (* (+ x 1) y) y) #s(approx (* (+ x 1) y) y) (*.f64 x (+.f64 #s(approx (* (+ x 1) y) y) x)))))
(/.f64 (*.f64 (+.f64 #s(approx (* (+ x 1) y) y) x) (-.f64 #s(approx (* (+ x 1) y) y) x)) (+.f64 #s(approx (* (+ x 1) y) y) x))
(/.f64 (-.f64 (pow.f64 #s(approx (* (+ x 1) y) y) #s(literal 3 binary64)) (pow.f64 x #s(literal 3 binary64))) (fma.f64 #s(approx (* (+ x 1) y) y) #s(approx (* (+ x 1) y) y) (*.f64 x (+.f64 #s(approx (* (+ x 1) y) y) x))))
(-.f64 (/.f64 (pow.f64 #s(approx (* (+ x 1) y) y) #s(literal 2 binary64)) (+.f64 #s(approx (* (+ x 1) y) y) x)) (/.f64 (*.f64 x x) (+.f64 #s(approx (* (+ x 1) y) y) x)))
(-.f64 (/.f64 (pow.f64 #s(approx (* (+ x 1) y) y) #s(literal 3 binary64)) (fma.f64 #s(approx (* (+ x 1) y) y) #s(approx (* (+ x 1) y) y) (*.f64 x (+.f64 #s(approx (* (+ x 1) y) y) x)))) (/.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 #s(approx (* (+ x 1) y) y) #s(approx (* (+ x 1) y) y) (*.f64 x (+.f64 #s(approx (* (+ x 1) y) y) x)))))
(-.f64 #s(approx (* (+ x 1) y) y) x)
#s(approx (* (+ x 1) y) y)
#s(approx (- (* (+ x 1) y) x) (fma.f64 y x y))
(*.f64 y (-.f64 x #s(literal -1 binary64)))
(*.f64 (-.f64 x #s(literal -1 binary64)) y)
(/.f64 (*.f64 (fma.f64 x x #s(literal -1 binary64)) y) (-.f64 x #s(literal 1 binary64)))
(/.f64 (*.f64 (-.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1 binary64)) y) (fma.f64 x x (-.f64 #s(literal 1 binary64) x)))
(/.f64 (*.f64 y (fma.f64 x x #s(literal -1 binary64))) (-.f64 x #s(literal 1 binary64)))
(/.f64 (*.f64 y (-.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1 binary64))) (fma.f64 x x (-.f64 #s(literal 1 binary64) x)))
(/.f64 (-.f64 (*.f64 y y) (pow.f64 (*.f64 y x) #s(literal 2 binary64))) (-.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) 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 (-.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) y))
(/.f64 (+.f64 (pow.f64 (*.f64 y x) #s(literal 3 binary64)) (pow.f64 y #s(literal 3 binary64))) (fma.f64 y y (-.f64 (pow.f64 (*.f64 y x) #s(literal 2 binary64)) (*.f64 (*.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 (-.f64 y (*.f64 y x)) (pow.f64 (*.f64 y x) #s(literal 2 binary64))))
(fma.f64 y x y)
(fma.f64 x y y)
(-.f64 (/.f64 (pow.f64 (*.f64 y x) #s(literal 2 binary64)) (-.f64 (*.f64 y x) y)) (/.f64 (*.f64 y y) (-.f64 (*.f64 y x) y)))
(-.f64 y (*.f64 (neg.f64 y) x))
(-.f64 y (*.f64 (neg.f64 x) y))
(+.f64 (/.f64 (pow.f64 (*.f64 y x) #s(literal 3 binary64)) (fma.f64 y (-.f64 y (*.f64 y x)) (pow.f64 (*.f64 y x) #s(literal 2 binary64)))) (/.f64 (pow.f64 y #s(literal 3 binary64)) (fma.f64 y (-.f64 y (*.f64 y x)) (pow.f64 (*.f64 y x) #s(literal 2 binary64)))))
(+.f64 (*.f64 y x) y)
(+.f64 y (*.f64 y x))

eval6.0ms (0.2%)

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

Compiled 1 378 to 216 computations (84.3% saved)

prune3.0ms (0.1%)

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

6 alts after pruning (1 fresh and 5 done)

PrunedKeptTotal
New62062
Fresh011
Picked055
Done000
Total62668
Accuracy
100.0%
Counts
68 → 6
Alt Table
Click to see full alt table
StatusAccuracyProgram
67.0%
(-.f64 (*.f64 #s(approx (+ x 1) x) y) x)
72.0%
(-.f64 #s(approx (* (+ x 1) y) y) x)
100.0%
#s(approx (- (* (+ x 1) y) x) (fma.f64 (-.f64 y #s(literal 1 binary64)) x y))
62.2%
#s(approx (- (* (+ x 1) y) x) (fma.f64 y x y))
39.5%
#s(approx (- (* (+ x 1) y) x) (neg.f64 x))
34.7%
#s(approx (- (* (+ x 1) y) x) y)
Compiler

Compiled 63 to 47 computations (25.4% saved)

simplify359.0ms (10%)

Memory
-64.3MiB live, 264.1MiB allocated; 112ms collecting garbage
Localize:

Found 3 expressions of interest:

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

Useful iterations: 0 (0.0ms)

IterNodesCost
0723
0923
11323
21623
32723
46123
525723
6227423
7562223
0876623
Stop Event
iter limit
node limit
iter limit
Calls
Call 1
Inputs
(-.f64 (*.f64 #s(approx (+ x 1) x) y) x)
(*.f64 #s(approx (+ x 1) x) y)
#s(approx (+ x 1) x)
x
y
Outputs
(-.f64 (*.f64 #s(approx (+ x 1) x) y) x)
(-.f64 (*.f64 y #s(approx (+ x 1) x)) x)
(*.f64 #s(approx (+ x 1) x) y)
(*.f64 y #s(approx (+ x 1) x))
#s(approx (+ x 1) x)
x
y

localize16.0ms (0.4%)

Memory
22.8MiB live, 22.8MiB allocated; 0ms collecting garbage
Localize:

Found 3 expressions of interest:

NewMetricScoreProgram
accuracy0.00390625
(-.f64 (*.f64 #s(approx (+ x 1) x) y) x)
accuracy0.0078125
(*.f64 #s(approx (+ x 1) x) y)
accuracy28.06638809557922
#s(approx (+ x 1) x)
Samples
11.0ms256×0valid
Compiler

Compiled 19 to 8 computations (57.9% saved)

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

series8.0ms (0.2%)

Memory
-39.8MiB live, 4.3MiB allocated; 12ms collecting garbage
Counts
3 → 21
Calls
Call 1
Inputs
(-.f64 (*.f64 #s(approx (+ x 1) x) y) x)
(*.f64 #s(approx (+ x 1) x) y)
#s(approx (+ x 1) x)
Outputs
#s(approx (- (* (+ x 1) y) x) #s(hole binary64 y))
#s(approx (- (* (+ x 1) y) x) #s(hole binary64 (+ y (* x (- y 1)))))
#s(approx (* (+ x 1) y) #s(hole binary64 y))
#s(approx (* (+ x 1) y) #s(hole binary64 (+ y (* x y))))
#s(approx (+ x 1) #s(hole binary64 1))
#s(approx (+ x 1) #s(hole binary64 (+ 1 x)))
#s(approx (- (* (+ x 1) y) x) #s(hole binary64 (* x (- y 1))))
#s(approx (- (* (+ x 1) y) x) #s(hole binary64 (* x (- (+ y (/ y x)) 1))))
#s(approx (* (+ x 1) y) #s(hole binary64 (* x y)))
#s(approx (* (+ x 1) y) #s(hole binary64 (* x (+ y (/ y x)))))
#s(approx (+ x 1) #s(hole binary64 x))
#s(approx (+ x 1) #s(hole binary64 (* x (+ 1 (/ 1 x)))))
#s(approx (- (* (+ x 1) y) x) #s(hole binary64 (* -1 (* x (+ 1 (* -1 y))))))
#s(approx (- (* (+ x 1) y) x) #s(hole binary64 (* -1 (* x (+ 1 (+ (* -1 y) (* -1 (/ y x))))))))
#s(approx (* (+ x 1) y) #s(hole binary64 (* -1 (* x (+ (* -1 y) (* -1 (/ y x)))))))
#s(approx (- (* (+ x 1) y) x) #s(hole binary64 (* -1 x)))
#s(approx (- (* (+ x 1) y) x) #s(hole binary64 (- (* y (+ 1 x)) x)))
#s(approx (* (+ x 1) y) #s(hole binary64 (* y (+ 1 x))))
#s(approx (- (* (+ x 1) y) x) #s(hole binary64 (* y (+ 1 x))))
#s(approx (- (* (+ x 1) y) x) #s(hole binary64 (* y (+ 1 (+ x (* -1 (/ x y)))))))
#s(approx (- (* (+ x 1) y) x) #s(hole binary64 (* -1 (* y (+ (* -1 (+ 1 x)) (/ x y))))))
Calls

6 calls:

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

simplify199.0ms (5.5%)

Memory
20.3MiB live, 163.2MiB allocated; 30ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
065232
1177232
2545232
31824232
45910232
08052204
Stop Event
iter limit
node limit
Counts
21 → 21
Calls
Call 1
Inputs
#s(approx (- (* (+ x 1) y) x) #s(hole binary64 y))
#s(approx (- (* (+ x 1) y) x) #s(hole binary64 (+ y (* x (- y 1)))))
#s(approx (* (+ x 1) y) #s(hole binary64 y))
#s(approx (* (+ x 1) y) #s(hole binary64 (+ y (* x y))))
#s(approx (+ x 1) #s(hole binary64 1))
#s(approx (+ x 1) #s(hole binary64 (+ 1 x)))
#s(approx (- (* (+ x 1) y) x) #s(hole binary64 (* x (- y 1))))
#s(approx (- (* (+ x 1) y) x) #s(hole binary64 (* x (- (+ y (/ y x)) 1))))
#s(approx (* (+ x 1) y) #s(hole binary64 (* x y)))
#s(approx (* (+ x 1) y) #s(hole binary64 (* x (+ y (/ y x)))))
#s(approx (+ x 1) #s(hole binary64 x))
#s(approx (+ x 1) #s(hole binary64 (* x (+ 1 (/ 1 x)))))
#s(approx (- (* (+ x 1) y) x) #s(hole binary64 (* -1 (* x (+ 1 (* -1 y))))))
#s(approx (- (* (+ x 1) y) x) #s(hole binary64 (* -1 (* x (+ 1 (+ (* -1 y) (* -1 (/ y x))))))))
#s(approx (* (+ x 1) y) #s(hole binary64 (* -1 (* x (+ (* -1 y) (* -1 (/ y x)))))))
#s(approx (- (* (+ x 1) y) x) #s(hole binary64 (* -1 x)))
#s(approx (- (* (+ x 1) y) x) #s(hole binary64 (- (* y (+ 1 x)) x)))
#s(approx (* (+ x 1) y) #s(hole binary64 (* y (+ 1 x))))
#s(approx (- (* (+ x 1) y) x) #s(hole binary64 (* y (+ 1 x))))
#s(approx (- (* (+ x 1) y) x) #s(hole binary64 (* y (+ 1 (+ x (* -1 (/ x y)))))))
#s(approx (- (* (+ x 1) y) x) #s(hole binary64 (* -1 (* y (+ (* -1 (+ 1 x)) (/ x y))))))
Outputs
#s(approx (- (* (+ x 1) y) x) #s(hole binary64 y))
#s(approx (- (* (+ x 1) y) x) y)
#s(approx (- (* (+ x 1) y) x) #s(hole binary64 (+ y (* x (- y 1)))))
#s(approx (- (* (+ x 1) y) x) (-.f64 (fma.f64 y x y) x))
#s(approx (* (+ x 1) y) #s(hole binary64 y))
#s(approx (* (+ x 1) y) y)
#s(approx (* (+ x 1) y) #s(hole binary64 (+ y (* x y))))
#s(approx (* (+ x 1) y) (fma.f64 y x y))
#s(approx (+ x 1) #s(hole binary64 1))
#s(approx (+ x 1) #s(literal 1 binary64))
#s(approx (+ x 1) #s(hole binary64 (+ 1 x)))
#s(approx (+ x 1) (-.f64 x #s(literal -1 binary64)))
#s(approx (- (* (+ x 1) y) x) #s(hole binary64 (* x (- y 1))))
#s(approx (- (* (+ x 1) y) x) (-.f64 (*.f64 y x) x))
#s(approx (- (* (+ x 1) y) x) #s(hole binary64 (* x (- (+ y (/ y x)) 1))))
#s(approx (- (* (+ x 1) y) x) (-.f64 (fma.f64 y x y) x))
#s(approx (* (+ x 1) y) #s(hole binary64 (* x y)))
#s(approx (* (+ x 1) y) (*.f64 y x))
#s(approx (* (+ x 1) y) #s(hole binary64 (* x (+ y (/ y x)))))
#s(approx (* (+ x 1) y) (fma.f64 y x y))
#s(approx (+ x 1) #s(hole binary64 x))
#s(approx (+ x 1) x)
#s(approx (+ x 1) #s(hole binary64 (* x (+ 1 (/ 1 x)))))
#s(approx (+ x 1) (-.f64 x #s(literal -1 binary64)))
#s(approx (- (* (+ x 1) y) x) #s(hole binary64 (* -1 (* x (+ 1 (* -1 y))))))
#s(approx (- (* (+ x 1) y) x) (-.f64 (*.f64 y x) x))
#s(approx (- (* (+ x 1) y) x) #s(hole binary64 (* -1 (* x (+ 1 (+ (* -1 y) (* -1 (/ y x))))))))
#s(approx (- (* (+ x 1) y) x) (-.f64 (fma.f64 y x y) x))
#s(approx (* (+ x 1) y) #s(hole binary64 (* -1 (* x (+ (* -1 y) (* -1 (/ y x)))))))
#s(approx (* (+ x 1) y) (fma.f64 y x y))
#s(approx (- (* (+ x 1) y) x) #s(hole binary64 (* -1 x)))
#s(approx (- (* (+ x 1) y) x) (neg.f64 x))
#s(approx (- (* (+ x 1) y) x) #s(hole binary64 (- (* y (+ 1 x)) x)))
#s(approx (- (* (+ x 1) y) x) (-.f64 (fma.f64 y x y) x))
#s(approx (* (+ x 1) y) #s(hole binary64 (* y (+ 1 x))))
#s(approx (* (+ x 1) y) (fma.f64 y x y))
#s(approx (- (* (+ x 1) y) x) #s(hole binary64 (* y (+ 1 x))))
#s(approx (- (* (+ x 1) y) x) (fma.f64 y x y))
#s(approx (- (* (+ x 1) y) x) #s(hole binary64 (* y (+ 1 (+ x (* -1 (/ x y)))))))
#s(approx (- (* (+ x 1) y) x) (-.f64 (fma.f64 y x y) x))
#s(approx (- (* (+ x 1) y) x) #s(hole binary64 (* -1 (* y (+ (* -1 (+ 1 x)) (/ x y))))))
#s(approx (- (* (+ x 1) y) x) (-.f64 (fma.f64 y x y) x))

rewrite46.0ms (1.3%)

Memory
14.2MiB live, 57.8MiB allocated; 8ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0721
0921
13721
026421
Stop Event
iter limit
iter limit
iter limit
unsound
iter limit
Counts
3 → 10
Calls
Call 1
Inputs
(-.f64 (*.f64 #s(approx (+ x 1) x) y) x)
(*.f64 #s(approx (+ x 1) x) y)
#s(approx (+ x 1) x)
Outputs
(/.f64 (neg.f64 (-.f64 (pow.f64 (*.f64 y #s(approx (+ x 1) x)) #s(literal 2 binary64)) (*.f64 x x))) (neg.f64 (fma.f64 y #s(approx (+ x 1) x) x)))
(/.f64 (neg.f64 (-.f64 (pow.f64 (*.f64 y #s(approx (+ x 1) x)) #s(literal 3 binary64)) (pow.f64 x #s(literal 3 binary64)))) (neg.f64 (fma.f64 x (fma.f64 y #s(approx (+ x 1) x) x) (pow.f64 (*.f64 y #s(approx (+ x 1) x)) #s(literal 2 binary64)))))
(/.f64 (-.f64 (pow.f64 (*.f64 y #s(approx (+ x 1) x)) #s(literal 2 binary64)) (*.f64 x x)) (fma.f64 y #s(approx (+ x 1) x) x))
(/.f64 (-.f64 (pow.f64 (*.f64 y #s(approx (+ x 1) x)) #s(literal 3 binary64)) (pow.f64 x #s(literal 3 binary64))) (fma.f64 x (fma.f64 y #s(approx (+ x 1) x) x) (pow.f64 (*.f64 y #s(approx (+ x 1) x)) #s(literal 2 binary64))))
(-.f64 (/.f64 (pow.f64 (*.f64 y #s(approx (+ x 1) x)) #s(literal 2 binary64)) (fma.f64 y #s(approx (+ x 1) x) x)) (/.f64 (*.f64 x x) (fma.f64 y #s(approx (+ x 1) x) x)))
(-.f64 (/.f64 (pow.f64 (*.f64 y #s(approx (+ x 1) x)) #s(literal 3 binary64)) (fma.f64 x (fma.f64 y #s(approx (+ x 1) x) x) (pow.f64 (*.f64 y #s(approx (+ x 1) x)) #s(literal 2 binary64)))) (/.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 x (fma.f64 y #s(approx (+ x 1) x) x) (pow.f64 (*.f64 y #s(approx (+ x 1) x)) #s(literal 2 binary64)))))
(-.f64 (*.f64 y #s(approx (+ x 1) x)) x)
(*.f64 y #s(approx (+ x 1) x))
(*.f64 #s(approx (+ x 1) x) y)
#s(approx (+ x 1) x)

eval2.0ms (0.1%)

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

Compiled 344 to 60 computations (82.6% saved)

prune7.0ms (0.2%)

Memory
-30.1MiB live, 15.4MiB allocated; 4ms collecting garbage
Pruning

6 alts after pruning (0 fresh and 6 done)

PrunedKeptTotal
New20020
Fresh000
Picked011
Done055
Total20626
Accuracy
100.0%
Counts
26 → 6
Alt Table
Click to see full alt table
StatusAccuracyProgram
67.0%
(-.f64 (*.f64 #s(approx (+ x 1) x) y) x)
72.0%
(-.f64 #s(approx (* (+ x 1) y) y) x)
100.0%
#s(approx (- (* (+ x 1) y) x) (fma.f64 (-.f64 y #s(literal 1 binary64)) x y))
62.2%
#s(approx (- (* (+ x 1) y) x) (fma.f64 y x y))
39.5%
#s(approx (- (* (+ x 1) y) x) (neg.f64 x))
34.7%
#s(approx (- (* (+ x 1) y) x) y)
Compiler

Compiled 133 to 70 computations (47.4% saved)

regimes8.0ms (0.2%)

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

3 calls:

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

Compiled 9 to 10 computations (-11.1% saved)

regimes13.0ms (0.4%)

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

3 calls:

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

Compiled 9 to 10 computations (-11.1% saved)

regimes5.0ms (0.1%)

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

3 calls:

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

Compiled 9 to 10 computations (-11.1% saved)

regimes4.0ms (0.1%)

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

3 calls:

1.0ms
(-.f64 (*.f64 (+.f64 x #s(literal 1 binary64)) y) x)
1.0ms
y
1.0ms
x
Results
AccuracySegmentsBranch
64.5%3x
61.9%3y
46.4%4(-.f64 (*.f64 (+.f64 x #s(literal 1 binary64)) y) x)
Compiler

Compiled 9 to 10 computations (-11.1% saved)

regimes27.0ms (0.8%)

Memory
-29.0MiB live, 16.4MiB allocated; 3ms collecting garbage
Accuracy

Total -0.0b remaining (-0%)

Threshold costs -0b (-0%)

Counts
1 → 1
Calls
Call 1
Inputs
#s(approx (- (* (+ x 1) y) x) y)
Outputs
#s(approx (- (* (+ x 1) y) x) y)
Calls

3 calls:

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

Compiled 9 to 10 computations (-11.1% saved)

bsearch61.0ms (1.7%)

Memory
12.8MiB live, 104.7MiB allocated; 5ms collecting garbage
Algorithm
binary-search
Stop Event
narrow-enough
narrow-enough
Steps
TimeLeftRight
22.0ms
2.0689565018752865e-7
253201654024.8168
36.0ms
-951840438056952.0
-0.21739857285739272
Samples
23.0ms320×0valid
Compiler

Compiled 430 to 351 computations (18.4% saved)

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

bsearch45.0ms (1.3%)

Memory
-0.5MiB live, 55.8MiB allocated; 25ms collecting garbage
Algorithm
binary-search
Stop Event
narrow-enough
narrow-enough
Steps
TimeLeftRight
32.0ms
9.810103105150363e-70
9.362788600445722e-68
11.0ms
-4.1876069980208704e-29
-2.312319214002237e-34
Samples
21.0ms255×0valid
0.0ms1valid
Compiler

Compiled 314 to 283 computations (9.9% saved)

Precisions
Click to see histograms. Total time spent on operations: 16.0ms
exact: 11.0ms (70.2% of total)
ival-add: 2.0ms (12.8% of total)
ival-mult: 2.0ms (12.8% of total)
ival-sub: 1.0ms (6.4% of total)
adjust: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)
ival-true: 0.0ms (0% of total)

simplify82.0ms (2.3%)

Memory
-19.6MiB live, 71.1MiB allocated; 17ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02790
14390
25890
311090
437090
5213490
Stop Event
node limit
Calls
Call 1
Inputs
#s(approx (- (* (+ x 1) y) x) (fma.f64 (-.f64 y #s(literal 1 binary64)) x y))
(if (<=.f64 y #s(literal -1 binary64)) #s(approx (- (* (+ x 1) y) x) (fma.f64 y x y)) (if (<=.f64 y #s(literal 1 binary64)) (-.f64 #s(approx (* (+ x 1) y) y) x) #s(approx (- (* (+ x 1) y) x) (fma.f64 y x y))))
(-.f64 #s(approx (* (+ x 1) y) y) x)
(if (<=.f64 x #s(literal -7403847405912167/178405961588244985132285746181186892047843328 binary64)) #s(approx (- (* (+ x 1) y) x) (neg.f64 x)) (if (<=.f64 x #s(literal 5463756259384863/60708402882054033466233184588234965832575213720379360039119137804340758912662765568 binary64)) #s(approx (- (* (+ x 1) y) x) y) #s(approx (- (* (+ x 1) y) x) (neg.f64 x))))
#s(approx (- (* (+ x 1) y) x) y)
Outputs
#s(approx (- (* (+ x 1) y) x) (fma.f64 (-.f64 y #s(literal 1 binary64)) x y))
(if (<=.f64 y #s(literal -1 binary64)) #s(approx (- (* (+ x 1) y) x) (fma.f64 y x y)) (if (<=.f64 y #s(literal 1 binary64)) (-.f64 #s(approx (* (+ x 1) y) y) x) #s(approx (- (* (+ x 1) y) x) (fma.f64 y x y))))
(if (or (<=.f64 y #s(literal -1 binary64)) (not (<=.f64 y #s(literal 1 binary64)))) #s(approx (- (* (+ x 1) y) x) (fma.f64 y x y)) (-.f64 #s(approx (* (+ x 1) y) y) x))
(-.f64 #s(approx (* (+ x 1) y) y) x)
(if (<=.f64 x #s(literal -7403847405912167/178405961588244985132285746181186892047843328 binary64)) #s(approx (- (* (+ x 1) y) x) (neg.f64 x)) (if (<=.f64 x #s(literal 5463756259384863/60708402882054033466233184588234965832575213720379360039119137804340758912662765568 binary64)) #s(approx (- (* (+ x 1) y) x) y) #s(approx (- (* (+ x 1) y) x) (neg.f64 x))))
(if (or (<=.f64 x #s(literal -7403847405912167/178405961588244985132285746181186892047843328 binary64)) (not (<=.f64 x #s(literal 5463756259384863/60708402882054033466233184588234965832575213720379360039119137804340758912662765568 binary64)))) #s(approx (- (* (+ x 1) y) x) (neg.f64 x)) #s(approx (- (* (+ x 1) y) x) y))
#s(approx (- (* (+ x 1) y) x) y)

derivations367.0ms (10.2%)

Memory
14.4MiB live, 201.6MiB allocated; 36ms collecting garbage
Stop Event
done
Compiler

Compiled 90 to 30 computations (66.7% saved)

preprocess41.0ms (1.1%)

Memory
6.7MiB live, 49.2MiB allocated; 10ms collecting garbage
Compiler

Compiled 194 to 72 computations (62.9% saved)

end0.0ms (0%)

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

Profiling

Loading profile data...