Data.Colour.RGBSpace.HSV:hsv from colour-2.3.3, H

Time bar (total: 3.7s)

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 7 to 7 computations (0% saved)

sample1.2s (32.7%)

Memory
-8.7MiB live, 902.0MiB allocated; 164ms collecting garbage
Samples
834.0ms8 256×0valid
Precisions
Click to see histograms. Total time spent on operations: 446.0ms
ival-sub: 242.0ms (54.2% of total)
ival-mult: 187.0ms (41.9% of total)
ival-true: 7.0ms (1.6% of total)
exact: 5.0ms (1.1% of total)
ival-assert: 3.0ms (0.7% of total)
adjust: 2.0ms (0.4% of total)
Bogosity

explain177.0ms (4.7%)

Memory
-21.9MiB live, 71.4MiB allocated; 7ms collecting garbage
FPErrors
Click to see full error table
Ground TruthOverpredictionsExampleUnderpredictionsExampleSubexpression
00-0-(-.f64 #s(literal 1 binary64) y)
00-0-(*.f64 x (-.f64 #s(literal 1 binary64) y))
00-0-y
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
128.0ms512×0valid
Compiler

Compiled 31 to 19 computations (38.7% saved)

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

preprocess226.0ms (6%)

Memory
0.0MiB live, 137.5MiB allocated; 28ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01631
13629
24629
37029
416426
567025
6595025
097
0147
1167
2197
3277
4537
51907
614317
743387
080097
Stop Event
saturated
node limit
iter limit
node limit
Calls
Call 1
Inputs
(*.f64 x (-.f64 #s(literal 1 binary64) y))
Outputs
(*.f64 x (-.f64 #s(literal 1 binary64) y))
Symmetry

(negabs x)

Compiler

Compiled 5 to 5 computations (0% 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.7MiB live, 0.7MiB allocated; 0ms collecting garbage
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(*.f64 x (-.f64 #s(literal 1 binary64) y))
Compiler

Compiled 5 to 5 computations (0% saved)

simplify102.0ms (2.7%)

Memory
3.8MiB live, 93.0MiB allocated; 16ms collecting garbage
Localize:

Found 2 expressions of interest:

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

Useful iterations: 0 (0.0ms)

IterNodesCost
0917
01417
11617
21917
32717
45317
519017
6143117
7433817
0800917
Stop Event
saturated
node limit
iter limit
Calls
Call 1
Inputs
(*.f64 x (-.f64 #s(literal 1 binary64) y))
x
(-.f64 #s(literal 1 binary64) y)
#s(literal 1 binary64)
y
Outputs
(*.f64 x (-.f64 #s(literal 1 binary64) y))
x
(-.f64 #s(literal 1 binary64) y)
#s(literal 1 binary64)
y

localize14.0ms (0.4%)

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

Found 2 expressions of interest:

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

Compiled 13 to 7 computations (46.2% saved)

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

series3.0ms (0.1%)

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

6 calls:

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

simplify155.0ms (4.1%)

Memory
-36.6MiB live, 111.4MiB allocated; 19ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
050116
1102113
2196113
3465113
42040113
55640113
08033101
18411101
210009101
311262101
411506101
511510101
Stop Event
saturated
node limit
Counts
11 → 7
Calls
Call 1
Inputs
#s(approx (* x (- 1 y)) #s(hole binary64 (* x (- 1 y))))
#s(approx (* x (- 1 y)) #s(hole binary64 x))
#s(approx (* x (- 1 y)) #s(hole binary64 (+ x (* -1 (* x y)))))
#s(approx (- 1 y) #s(hole binary64 1))
#s(approx (- 1 y) #s(hole binary64 (+ 1 (* -1 y))))
#s(approx (* x (- 1 y)) #s(hole binary64 (* -1 (* x y))))
#s(approx (* x (- 1 y)) #s(hole binary64 (* y (+ (* -1 x) (/ x y)))))
#s(approx (- 1 y) #s(hole binary64 (* -1 y)))
#s(approx (- 1 y) #s(hole binary64 (* y (- (/ 1 y) 1))))
#s(approx (* x (- 1 y)) #s(hole binary64 (* -1 (* y (+ x (* -1 (/ x y)))))))
#s(approx (- 1 y) #s(hole binary64 (* -1 (* y (- 1 (/ 1 y))))))
Outputs
#s(approx (* x (- 1 y)) #s(hole binary64 (* x (- 1 y))))
#s(approx (* x (- 1 y)) (fma.f64 (neg.f64 y) x x))
#s(approx (* x (- 1 y)) #s(hole binary64 x))
#s(approx (* x (- 1 y)) x)
#s(approx (* x (- 1 y)) #s(hole binary64 (+ x (* -1 (* x y)))))
#s(approx (* x (- 1 y)) (fma.f64 (neg.f64 y) x x))
#s(approx (- 1 y) #s(hole binary64 1))
#s(approx (- 1 y) #s(hole binary64 (+ 1 (* -1 y))))
#s(approx (* x (- 1 y)) #s(hole binary64 (* -1 (* x y))))
#s(approx (* x (- 1 y)) (*.f64 (neg.f64 x) y))
#s(approx (* x (- 1 y)) #s(hole binary64 (* y (+ (* -1 x) (/ x y)))))
#s(approx (* x (- 1 y)) (fma.f64 (neg.f64 y) x x))
#s(approx (- 1 y) #s(hole binary64 (* -1 y)))
#s(approx (- 1 y) (neg.f64 y))
#s(approx (- 1 y) #s(hole binary64 (* y (- (/ 1 y) 1))))
#s(approx (* x (- 1 y)) #s(hole binary64 (* -1 (* y (+ x (* -1 (/ x y)))))))
#s(approx (* x (- 1 y)) (fma.f64 (neg.f64 y) x x))
#s(approx (- 1 y) #s(hole binary64 (* -1 (* y (- 1 (/ 1 y))))))

rewrite59.0ms (1.6%)

Memory
-1.2MiB live, 100.8MiB allocated; 23ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0912
11412
21612
31812
01812
13512
015912
118612
223412
328612
431412
531912
Stop Event
saturated
iter limit
iter limit
unsound
saturated
Counts
2 → 13
Calls
Call 1
Inputs
(*.f64 x (-.f64 #s(literal 1 binary64) y))
(-.f64 #s(literal 1 binary64) y)
Outputs
(*.f64 (-.f64 #s(literal 1 binary64) y) x)
(*.f64 x (-.f64 #s(literal 1 binary64) y))
(/.f64 (*.f64 (-.f64 #s(literal 1 binary64) (*.f64 y y)) x) (+.f64 y #s(literal 1 binary64)))
(/.f64 (*.f64 (-.f64 #s(literal 1 binary64) (*.f64 (*.f64 y y) y)) x) (fma.f64 y (+.f64 y #s(literal 1 binary64)) #s(literal 1 binary64)))
(/.f64 (*.f64 x (-.f64 #s(literal 1 binary64) (*.f64 y y))) (+.f64 y #s(literal 1 binary64)))
(/.f64 (*.f64 x (-.f64 #s(literal 1 binary64) (*.f64 (*.f64 y y) y))) (fma.f64 y (+.f64 y #s(literal 1 binary64)) #s(literal 1 binary64)))
(/.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) (*.f64 (*.f64 y y) y))) (neg.f64 (fma.f64 y (+.f64 y #s(literal 1 binary64)) #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) (*.f64 (*.f64 y y) y)) (fma.f64 y (+.f64 y #s(literal 1 binary64)) #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) (fma.f64 y (+.f64 y #s(literal 1 binary64)) #s(literal 1 binary64))) (/.f64 (*.f64 (*.f64 y y) y) (fma.f64 y (+.f64 y #s(literal 1 binary64)) #s(literal 1 binary64))))
(-.f64 #s(literal 1 binary64) y)

eval2.0ms (0%)

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

Compiled 201 to 52 computations (74.1% saved)

prune1.0ms (0%)

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

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New14317
Fresh000
Picked101
Done000
Total15318
Accuracy
100.0%
Counts
18 → 3
Alt Table
Click to see full alt table
StatusAccuracyProgram
49.1%
(*.f64 x #s(approx (- 1 y) (neg.f64 y)))
100.0%
#s(approx (* x (- 1 y)) (fma.f64 (neg.f64 y) x x))
53.4%
#s(approx (* x (- 1 y)) x)
Compiler

Compiled 26 to 21 computations (19.2% saved)

simplify96.0ms (2.6%)

Memory
-17.6MiB live, 75.0MiB allocated; 8ms collecting garbage
Localize:

Found 7 expressions of interest:

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

Useful iterations: 0 (0.0ms)

IterNodesCost
01446
02046
12346
22646
33646
47546
531546
6276846
7672746
0803646
Stop Event
saturated
node limit
iter limit
Calls
Call 1
Inputs
#s(approx (* x (- 1 y)) x)
x
#s(approx (* x (- 1 y)) (fma.f64 (neg.f64 y) x x))
(fma.f64 (neg.f64 y) x x)
(neg.f64 y)
y
x
(*.f64 x #s(approx (- 1 y) (neg.f64 y)))
x
#s(approx (- 1 y) (neg.f64 y))
(neg.f64 y)
y
Outputs
#s(approx (* x (- 1 y)) x)
x
#s(approx (* x (- 1 y)) (fma.f64 (neg.f64 y) x x))
(fma.f64 (neg.f64 y) x x)
(neg.f64 y)
y
x
(*.f64 x #s(approx (- 1 y) (neg.f64 y)))
x
#s(approx (- 1 y) (neg.f64 y))
(neg.f64 y)
y

localize47.0ms (1.3%)

Memory
14.0MiB live, 60.7MiB allocated; 3ms collecting garbage
Localize:

Found 7 expressions of interest:

NewMetricScoreProgram
accuracy0.0
(neg.f64 y)
accuracy0.0078125
(*.f64 x #s(approx (- 1 y) (neg.f64 y)))
accuracy32.80287977799724
#s(approx (- 1 y) (neg.f64 y))
accuracy0.0
(fma.f64 (neg.f64 y) x x)
accuracy0.0
(neg.f64 y)
accuracy0.0
#s(approx (* x (- 1 y)) (fma.f64 (neg.f64 y) x x))
accuracy29.79431752628429
#s(approx (* x (- 1 y)) x)
Samples
40.0ms256×0valid
Compiler

Compiled 35 to 10 computations (71.4% saved)

Precisions
Click to see histograms. Total time spent on operations: 32.0ms
ival-sub: 26.0ms (80.6% of total)
ival-mult: 3.0ms (9.3% of total)
ival-add: 1.0ms (3.1% of total)
ival-neg: 1.0ms (3.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)

series5.0ms (0.1%)

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

6 calls:

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

simplify256.0ms (6.9%)

Memory
-16.7MiB live, 127.6MiB allocated; 12ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
067207
1139204
2256204
3553204
42356204
55939204
08430178
18912178
211030178
312761178
413128178
513132178
Stop Event
saturated
node limit
Counts
19 → 15
Calls
Call 1
Inputs
#s(approx (* x (- 1 y)) #s(hole binary64 (* x (- 1 y))))
#s(approx (+ (* (neg y) x) x) #s(hole binary64 (* x (+ 1 (* -1 y)))))
#s(approx (+ (* (neg y) x) x) #s(hole binary64 (* -1 (* x (- y 1)))))
#s(approx (* x (- 1 y)) #s(hole binary64 x))
#s(approx (* x (- 1 y)) #s(hole binary64 (+ x (* -1 (* x y)))))
#s(approx (+ (* (neg y) x) x) #s(hole binary64 x))
#s(approx (+ (* (neg y) x) x) #s(hole binary64 (+ x (* -1 (* x y)))))
#s(approx (neg y) #s(hole binary64 (* -1 y)))
#s(approx (- 1 y) #s(hole binary64 1))
#s(approx (- 1 y) #s(hole binary64 (+ 1 (* -1 y))))
#s(approx (* x (- 1 y)) #s(hole binary64 (* -1 (* x y))))
#s(approx (* x (- 1 y)) #s(hole binary64 (* y (+ (* -1 x) (/ x y)))))
#s(approx (+ (* (neg y) x) x) #s(hole binary64 (* -1 (* x y))))
#s(approx (+ (* (neg y) x) x) #s(hole binary64 (* y (+ (* -1 x) (/ x y)))))
#s(approx (- 1 y) #s(hole binary64 (* -1 y)))
#s(approx (- 1 y) #s(hole binary64 (* y (- (/ 1 y) 1))))
#s(approx (* x (- 1 y)) #s(hole binary64 (* -1 (* y (+ x (* -1 (/ x y)))))))
#s(approx (+ (* (neg y) x) x) #s(hole binary64 (* -1 (* y (+ x (* -1 (/ x y)))))))
#s(approx (- 1 y) #s(hole binary64 (* -1 (* y (- 1 (/ 1 y))))))
Outputs
#s(approx (* x (- 1 y)) #s(hole binary64 (* x (- 1 y))))
#s(approx (* x (- 1 y)) (fma.f64 (neg.f64 x) y x))
#s(approx (+ (* (neg y) x) x) #s(hole binary64 (* x (+ 1 (* -1 y)))))
#s(approx (* x (- 1 y)) (fma.f64 (neg.f64 x) y x))
#s(approx (+ (* (neg y) x) x) #s(hole binary64 (* -1 (* x (- y 1)))))
#s(approx (* x (- 1 y)) (fma.f64 (neg.f64 x) y x))
#s(approx (* x (- 1 y)) #s(hole binary64 x))
#s(approx (* x (- 1 y)) x)
#s(approx (* x (- 1 y)) #s(hole binary64 (+ x (* -1 (* x y)))))
#s(approx (* x (- 1 y)) (fma.f64 (neg.f64 x) y x))
#s(approx (+ (* (neg y) x) x) #s(hole binary64 x))
#s(approx (* x (- 1 y)) x)
#s(approx (+ (* (neg y) x) x) #s(hole binary64 (+ x (* -1 (* x y)))))
#s(approx (* x (- 1 y)) (fma.f64 (neg.f64 x) y x))
#s(approx (neg y) #s(hole binary64 (* -1 y)))
#s(approx (neg y) (neg.f64 y))
#s(approx (- 1 y) #s(hole binary64 1))
#s(approx (- 1 y) #s(hole binary64 (+ 1 (* -1 y))))
#s(approx (* x (- 1 y)) #s(hole binary64 (* -1 (* x y))))
#s(approx (* x (- 1 y)) (*.f64 (neg.f64 y) x))
#s(approx (* x (- 1 y)) #s(hole binary64 (* y (+ (* -1 x) (/ x y)))))
#s(approx (* x (- 1 y)) (fma.f64 (neg.f64 x) y x))
#s(approx (+ (* (neg y) x) x) #s(hole binary64 (* -1 (* x y))))
#s(approx (* x (- 1 y)) (*.f64 (neg.f64 y) x))
#s(approx (+ (* (neg y) x) x) #s(hole binary64 (* y (+ (* -1 x) (/ x y)))))
#s(approx (* x (- 1 y)) (fma.f64 (neg.f64 x) y x))
#s(approx (- 1 y) #s(hole binary64 (* -1 y)))
#s(approx (- 1 y) (neg.f64 y))
#s(approx (- 1 y) #s(hole binary64 (* y (- (/ 1 y) 1))))
#s(approx (* x (- 1 y)) #s(hole binary64 (* -1 (* y (+ x (* -1 (/ x y)))))))
#s(approx (* x (- 1 y)) (fma.f64 (neg.f64 x) y x))
#s(approx (+ (* (neg y) x) x) #s(hole binary64 (* -1 (* y (+ x (* -1 (/ x y)))))))
#s(approx (* x (- 1 y)) (fma.f64 (neg.f64 x) y x))
#s(approx (- 1 y) #s(hole binary64 (* -1 (* y (- 1 (/ 1 y))))))

rewrite912.0ms (24.4%)

Memory
31.8MiB live, 172.1MiB allocated; 8ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01439
12039
22239
32539
02539
16039
032839
136639
247839
361139
465139
566239
666339
Stop Event
saturated
iter limit
iter limit
unsound
saturated
Counts
6 → 21
Calls
Call 1
Inputs
#s(approx (* x (- 1 y)) x)
#s(approx (* x (- 1 y)) (fma.f64 (neg.f64 y) x x))
(fma.f64 (neg.f64 y) x x)
(neg.f64 y)
(*.f64 x #s(approx (- 1 y) (neg.f64 y)))
#s(approx (- 1 y) (neg.f64 y))
Outputs
#s(approx (* x (- 1 y)) x)
#s(approx (* x (- 1 y)) (fma.f64 (neg.f64 y) x x))
(/.f64 (-.f64 (*.f64 x x) (*.f64 (*.f64 y y) (*.f64 x x))) (-.f64 x (*.f64 (neg.f64 y) x)))
(/.f64 (neg.f64 (fma.f64 (*.f64 y y) (*.f64 x x) (*.f64 (neg.f64 x) x))) (neg.f64 (-.f64 (*.f64 (neg.f64 y) x) x)))
(/.f64 (neg.f64 (fma.f64 (*.f64 (*.f64 y y) (*.f64 x x)) (*.f64 (neg.f64 y) x) (*.f64 (*.f64 x x) x))) (neg.f64 (fma.f64 (*.f64 y y) (*.f64 x x) (*.f64 x (-.f64 x (*.f64 (neg.f64 y) x))))))
(/.f64 (fma.f64 (*.f64 y y) (*.f64 x x) (*.f64 (neg.f64 x) x)) (-.f64 (*.f64 (neg.f64 y) x) x))
(/.f64 (fma.f64 (*.f64 (*.f64 y y) (*.f64 x x)) (*.f64 (neg.f64 y) x) (*.f64 (*.f64 x x) x)) (fma.f64 x x (-.f64 (*.f64 (*.f64 y y) (*.f64 x x)) (*.f64 (*.f64 (neg.f64 y) x) x))))
(/.f64 (fma.f64 (*.f64 (*.f64 y y) (*.f64 x x)) (*.f64 (neg.f64 y) x) (*.f64 (*.f64 x x) x)) (fma.f64 (*.f64 y y) (*.f64 x x) (*.f64 x (-.f64 x (*.f64 (neg.f64 y) x)))))
(fma.f64 (neg.f64 y) x x)
(fma.f64 y (neg.f64 x) x)
(fma.f64 x (neg.f64 y) x)
(-.f64 (/.f64 (*.f64 (*.f64 y y) (*.f64 x x)) (-.f64 (*.f64 (neg.f64 y) x) x)) (/.f64 (*.f64 x x) (-.f64 (*.f64 (neg.f64 y) x) x)))
(-.f64 x (*.f64 (neg.f64 (neg.f64 y)) x))
(-.f64 x (*.f64 (neg.f64 x) (neg.f64 y)))
(-.f64 x (*.f64 y x))
(+.f64 (/.f64 (*.f64 (*.f64 (*.f64 y y) (*.f64 x x)) (*.f64 (neg.f64 y) x)) (fma.f64 (*.f64 y y) (*.f64 x x) (*.f64 x (-.f64 x (*.f64 (neg.f64 y) x))))) (/.f64 (*.f64 (*.f64 x x) x) (fma.f64 (*.f64 y y) (*.f64 x x) (*.f64 x (-.f64 x (*.f64 (neg.f64 y) x))))))
(+.f64 (*.f64 (neg.f64 y) x) x)
(+.f64 x (*.f64 (neg.f64 y) x))
(neg.f64 y)
(*.f64 x #s(approx (- 1 y) (neg.f64 y)))
#s(approx (- 1 y) (neg.f64 y))

eval45.0ms (1.2%)

Memory
-36.4MiB live, 10.1MiB allocated; 2ms collecting garbage
Compiler

Compiled 475 to 80 computations (83.2% saved)

prune2.0ms (0.1%)

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

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New26026
Fresh000
Picked033
Done000
Total26329
Accuracy
100.0%
Counts
29 → 3
Alt Table
Click to see full alt table
StatusAccuracyProgram
49.1%
(*.f64 x #s(approx (- 1 y) (neg.f64 y)))
100.0%
#s(approx (* x (- 1 y)) (fma.f64 (neg.f64 y) x x))
53.4%
#s(approx (* x (- 1 y)) x)
Compiler

Compiled 57 to 35 computations (38.6% saved)

regimes8.0ms (0.2%)

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

4 calls:

2.0ms
x
2.0ms
y
2.0ms
(*.f64 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 #s(literal 1 binary64) y))
100.0%1x
100.0%1y
Compiler

Compiled 10 to 13 computations (-30% saved)

regimes38.0ms (1%)

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

4 calls:

34.0ms
(-.f64 #s(literal 1 binary64) y)
1.0ms
y
1.0ms
(*.f64 x (-.f64 #s(literal 1 binary64) y))
1.0ms
x
Results
AccuracySegmentsBranch
98.6%3(-.f64 #s(literal 1 binary64) y)
84.6%3(*.f64 x (-.f64 #s(literal 1 binary64) y))
58.7%2x
98.6%3y
Compiler

Compiled 10 to 13 computations (-30% saved)

regimes4.0ms (0.1%)

Memory
16.4MiB live, 16.4MiB 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 y)) x)
Outputs
#s(approx (* x (- 1 y)) x)
Calls

4 calls:

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

Compiled 10 to 13 computations (-30% saved)

bsearch58.0ms (1.6%)

Memory
6.5MiB live, 64.9MiB allocated; 3ms collecting garbage
Algorithm
binary-search
Stop Event
narrow-enough
narrow-enough
Steps
TimeLeftRight
46.0ms
2.4733001151371666e-6
552439017.1671987
10.0ms
-123641.2931285949
-0.10577854844724797
Samples
14.0ms304×0valid
Compiler

Compiled 293 to 295 computations (-0.7% saved)

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

simplify102.0ms (2.7%)

Memory
-12.8MiB live, 79.4MiB allocated; 9ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02146
13946
24446
35446
48646
530846
6267646
7768846
Stop Event
node limit
Calls
Call 1
Inputs
#s(approx (* x (- 1 y)) (fma.f64 (neg.f64 y) x x))
(if (<=.f64 y #s(literal -1 binary64)) (*.f64 x #s(approx (- 1 y) (neg.f64 y))) (if (<=.f64 y #s(literal 1 binary64)) #s(approx (* x (- 1 y)) x) (*.f64 x #s(approx (- 1 y) (neg.f64 y)))))
#s(approx (* x (- 1 y)) x)
Outputs
#s(approx (* x (- 1 y)) (fma.f64 (neg.f64 y) x x))
(if (<=.f64 y #s(literal -1 binary64)) (*.f64 x #s(approx (- 1 y) (neg.f64 y))) (if (<=.f64 y #s(literal 1 binary64)) #s(approx (* x (- 1 y)) x) (*.f64 x #s(approx (- 1 y) (neg.f64 y)))))
(if (or (<=.f64 y #s(literal -1 binary64)) (not (<=.f64 y #s(literal 1 binary64)))) (*.f64 x #s(approx (- 1 y) (neg.f64 y))) #s(approx (* x (- 1 y)) x))
#s(approx (* x (- 1 y)) x)

derivations184.0ms (4.9%)

Memory
-33.9MiB live, 126.4MiB allocated; 72ms collecting garbage
Stop Event
done
Compiler

Compiled 42 to 18 computations (57.1% saved)

preprocess18.0ms (0.5%)

Memory
41.6MiB live, 41.6MiB allocated; 0ms collecting garbage
Remove

(negabs x)

Compiler

Compiled 116 to 62 computations (46.6% saved)

end0.0ms (0%)

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

Profiling

Loading profile data...