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

Time bar (total: 3.4s)

start0.0ms (0%)

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

analyze0.0ms (0%)

Memory
0.9MiB live, 0.9MiB 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.0s (31.2%)

Memory
-34.1MiB live, 1 402.6MiB allocated; 229ms collecting garbage
Samples
478.0ms6 259×0valid
310.0ms1 993×1valid
1.0ms2valid
Precisions
Click to see histograms. Total time spent on operations: 393.0ms
ival-sub: 179.0ms (45.5% of total)
adjust: 80.0ms (20.3% of total)
ival-mult: 69.0ms (17.6% of total)
ival-add: 53.0ms (13.5% of total)
ival-true: 5.0ms (1.3% of total)
exact: 5.0ms (1.3% of total)
ival-assert: 3.0ms (0.8% of total)
Bogosity

explain87.0ms (2.6%)

Memory
42.9MiB live, 136.3MiB allocated; 5ms collecting garbage
FPErrors
Click to see full error table
Ground TruthOverpredictionsExampleUnderpredictionsExampleSubexpression
593(-276741927683238.22 -7.792276437815569e-267)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)))cancellation620
Confusion
Predicted +Predicted -
+590
-3194
Precision
0.9516129032258065
Recall
1.0
Confusion?
Predicted +Predicted MaybePredicted -
+5900
-30194
Precision?
0.9516129032258065
Recall?
1.0
Freqs
test
numberfreq
0194
162
Total Confusion?
Predicted +Predicted MaybePredicted -
+100
-000
Precision?
1.0
Recall?
1.0
Samples
21.0ms124×1valid
20.0ms386×0valid
0.0ms2valid
Compiler

Compiled 63 to 25 computations (60.3% saved)

Precisions
Click to see histograms. Total time spent on operations: 26.0ms
adjust: 11.0ms (42.9% of total)
ival-sub: 6.0ms (23.4% of total)
ival-mult: 4.0ms (15.6% of total)
ival-add: 3.0ms (11.7% of total)
ival-assert: 0.0ms (0% of total)
ival-true: 0.0ms (0% of total)
exact: 0.0ms (0% of total)

preprocess235.0ms (7%)

Memory
12.6MiB live, 239.9MiB allocated; 27ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01962
14561
27960
314958
431856
5160542
6745942
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.1MiB live, 0.1MiB allocated; 0ms collecting garbage
Compiler

Compiled 0 to 2 computations (-∞% saved)

prune1.0ms (0%)

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

Compiled 9 to 7 computations (22.2% saved)

simplify152.0ms (4.5%)

Memory
-36.4MiB live, 215.4MiB allocated; 31ms 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

localize26.0ms (0.8%)

Memory
19.2MiB live, 65.1MiB allocated; 5ms 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.01171875
(*.f64 (-.f64 #s(literal 1 binary64) x) (-.f64 #s(literal 1 binary64) y))
accuracy13.80571169950233
(+.f64 x (*.f64 (-.f64 #s(literal 1 binary64) x) (-.f64 #s(literal 1 binary64) y)))
Samples
9.0ms193×0valid
8.0ms62×1valid
0.0ms2valid
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 (31.8% of total)
adjust: 2.0ms (21.2% of total)
ival-mult: 2.0ms (21.2% of total)
ival-add: 2.0ms (21.2% of total)
ival-assert: 0.0ms (0% of total)
ival-true: 0.0ms (0% of total)
exact: 0.0ms (0% of total)

series6.0ms (0.2%)

Memory
-31.9MiB live, 14.3MiB allocated; 5ms collecting garbage
Counts
4 → 31
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
#s(approx (+ x (* (- 1 x) (- 1 y))) #s(hole binary64 (- 1 y)))
#s(approx (+ x (* (- 1 x) (- 1 y))) #s(hole binary64 (- (+ 1 (* x (+ 1 (* -1 (- 1 y))))) y)))
#s(approx (* (- 1 x) (- 1 y)) #s(hole binary64 (- 1 y)))
#s(approx (* (- 1 x) (- 1 y)) #s(hole binary64 (- (+ 1 (* -1 (* x (- 1 y)))) y)))
#s(approx (- 1 x) #s(hole binary64 1))
#s(approx (- 1 x) #s(hole binary64 (+ 1 (* -1 x))))
#s(approx (+ x (* (- 1 x) (- 1 y))) #s(hole binary64 (* x (+ 1 (* -1 (- 1 y))))))
#s(approx (+ x (* (- 1 x) (- 1 y))) #s(hole binary64 (* x (- (+ 1 (+ (* -1 (- 1 y)) (/ 1 x))) (/ y x)))))
#s(approx (* (- 1 x) (- 1 y)) #s(hole binary64 (* -1 (* x (- 1 y)))))
#s(approx (* (- 1 x) (- 1 y)) #s(hole binary64 (* x (- (+ (* -1 (- 1 y)) (/ 1 x)) (/ y x)))))
#s(approx (- 1 x) #s(hole binary64 (* -1 x)))
#s(approx (- 1 x) #s(hole binary64 (* x (- (/ 1 x) 1))))
#s(approx (+ x (* (- 1 x) (- 1 y))) #s(hole binary64 (* x y)))
#s(approx (+ x (* (- 1 x) (- 1 y))) #s(hole binary64 (* -1 (* x (- (* -1 (/ (- 1 y) x)) y)))))
#s(approx (* (- 1 x) (- 1 y)) #s(hole binary64 (* -1 (* x (- (+ 1 (* -1 (/ (- 1 y) x))) y)))))
#s(approx (- 1 x) #s(hole binary64 (* -1 (* x (- 1 (/ 1 x))))))
#s(approx (+ x (* (- 1 x) (- 1 y))) #s(hole binary64 1))
#s(approx (+ x (* (- 1 x) (- 1 y))) #s(hole binary64 (+ 1 (* -1 (* y (- 1 x))))))
#s(approx (* (- 1 x) (- 1 y)) #s(hole binary64 (- 1 x)))
#s(approx (* (- 1 x) (- 1 y)) #s(hole binary64 (- (+ 1 (* -1 (* y (- 1 x)))) x)))
#s(approx (- 1 y) #s(hole binary64 1))
#s(approx (- 1 y) #s(hole binary64 (+ 1 (* -1 y))))
#s(approx (+ x (* (- 1 x) (- 1 y))) #s(hole binary64 (* -1 (* y (- 1 x)))))
#s(approx (+ x (* (- 1 x) (- 1 y))) #s(hole binary64 (* y (+ (* -1 (- 1 x)) (/ 1 y)))))
#s(approx (* (- 1 x) (- 1 y)) #s(hole binary64 (* -1 (* y (- 1 x)))))
#s(approx (* (- 1 x) (- 1 y)) #s(hole binary64 (* y (- (+ (* -1 (- 1 x)) (/ 1 y)) (/ 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 x) (- 1 y))) #s(hole binary64 (* -1 (* y (- 1 (+ x (/ 1 y)))))))
#s(approx (* (- 1 x) (- 1 y)) #s(hole binary64 (* -1 (* y (- (+ 1 (* -1 (/ (- 1 x) y))) x)))))
#s(approx (- 1 y) #s(hole binary64 (* -1 (* y (- 1 (/ 1 y))))))
Calls

6 calls:

TimeVariablePointExpression
3.0ms
y
@-inf
((+ x (* (- 1 x) (- 1 y))) (* (- 1 x) (- 1 y)) (- 1 x) (- 1 y))
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
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))

simplify196.0ms (5.8%)

Memory
21.5MiB live, 208.5MiB allocated; 19ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0101451
1219435
2489406
31903367
08175352
Stop Event
iter limit
node limit
Counts
31 → 31
Calls
Call 1
Inputs
#s(approx (+ x (* (- 1 x) (- 1 y))) #s(hole binary64 (- 1 y)))
#s(approx (+ x (* (- 1 x) (- 1 y))) #s(hole binary64 (- (+ 1 (* x (+ 1 (* -1 (- 1 y))))) y)))
#s(approx (* (- 1 x) (- 1 y)) #s(hole binary64 (- 1 y)))
#s(approx (* (- 1 x) (- 1 y)) #s(hole binary64 (- (+ 1 (* -1 (* x (- 1 y)))) y)))
#s(approx (- 1 x) #s(hole binary64 1))
#s(approx (- 1 x) #s(hole binary64 (+ 1 (* -1 x))))
#s(approx (+ x (* (- 1 x) (- 1 y))) #s(hole binary64 (* x (+ 1 (* -1 (- 1 y))))))
#s(approx (+ x (* (- 1 x) (- 1 y))) #s(hole binary64 (* x (- (+ 1 (+ (* -1 (- 1 y)) (/ 1 x))) (/ y x)))))
#s(approx (* (- 1 x) (- 1 y)) #s(hole binary64 (* -1 (* x (- 1 y)))))
#s(approx (* (- 1 x) (- 1 y)) #s(hole binary64 (* x (- (+ (* -1 (- 1 y)) (/ 1 x)) (/ y x)))))
#s(approx (- 1 x) #s(hole binary64 (* -1 x)))
#s(approx (- 1 x) #s(hole binary64 (* x (- (/ 1 x) 1))))
#s(approx (+ x (* (- 1 x) (- 1 y))) #s(hole binary64 (* x y)))
#s(approx (+ x (* (- 1 x) (- 1 y))) #s(hole binary64 (* -1 (* x (- (* -1 (/ (- 1 y) x)) y)))))
#s(approx (* (- 1 x) (- 1 y)) #s(hole binary64 (* -1 (* x (- (+ 1 (* -1 (/ (- 1 y) x))) y)))))
#s(approx (- 1 x) #s(hole binary64 (* -1 (* x (- 1 (/ 1 x))))))
#s(approx (+ x (* (- 1 x) (- 1 y))) #s(hole binary64 1))
#s(approx (+ x (* (- 1 x) (- 1 y))) #s(hole binary64 (+ 1 (* -1 (* y (- 1 x))))))
#s(approx (* (- 1 x) (- 1 y)) #s(hole binary64 (- 1 x)))
#s(approx (* (- 1 x) (- 1 y)) #s(hole binary64 (- (+ 1 (* -1 (* y (- 1 x)))) x)))
#s(approx (- 1 y) #s(hole binary64 1))
#s(approx (- 1 y) #s(hole binary64 (+ 1 (* -1 y))))
#s(approx (+ x (* (- 1 x) (- 1 y))) #s(hole binary64 (* -1 (* y (- 1 x)))))
#s(approx (+ x (* (- 1 x) (- 1 y))) #s(hole binary64 (* y (+ (* -1 (- 1 x)) (/ 1 y)))))
#s(approx (* (- 1 x) (- 1 y)) #s(hole binary64 (* -1 (* y (- 1 x)))))
#s(approx (* (- 1 x) (- 1 y)) #s(hole binary64 (* y (- (+ (* -1 (- 1 x)) (/ 1 y)) (/ 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 x) (- 1 y))) #s(hole binary64 (* -1 (* y (- 1 (+ x (/ 1 y)))))))
#s(approx (* (- 1 x) (- 1 y)) #s(hole binary64 (* -1 (* y (- (+ 1 (* -1 (/ (- 1 x) y))) x)))))
#s(approx (- 1 y) #s(hole binary64 (* -1 (* y (- 1 (/ 1 y))))))
Outputs
#s(approx (+ x (* (- 1 x) (- 1 y))) #s(hole binary64 (- 1 y)))
#s(approx (+ x (* (- 1 x) (- 1 y))) (-.f64 #s(literal 1 binary64) y))
#s(approx (+ x (* (- 1 x) (- 1 y))) #s(hole binary64 (- (+ 1 (* x (+ 1 (* -1 (- 1 y))))) y)))
#s(approx (+ x (* (- 1 x) (- 1 y))) (fma.f64 y x (-.f64 #s(literal 1 binary64) y)))
#s(approx (* (- 1 x) (- 1 y)) #s(hole binary64 (- 1 y)))
#s(approx (* (- 1 x) (- 1 y)) (-.f64 #s(literal 1 binary64) y))
#s(approx (* (- 1 x) (- 1 y)) #s(hole binary64 (- (+ 1 (* -1 (* x (- 1 y)))) y)))
#s(approx (* (- 1 x) (- 1 y)) (*.f64 (-.f64 x #s(literal 1 binary64)) (-.f64 y #s(literal 1 binary64))))
#s(approx (- 1 x) #s(hole binary64 1))
#s(approx (- 1 x) #s(literal 1 binary64))
#s(approx (- 1 x) #s(hole binary64 (+ 1 (* -1 x))))
#s(approx (- 1 x) (-.f64 #s(literal 1 binary64) x))
#s(approx (+ x (* (- 1 x) (- 1 y))) #s(hole binary64 (* x (+ 1 (* -1 (- 1 y))))))
#s(approx (+ x (* (- 1 x) (- 1 y))) (*.f64 y x))
#s(approx (+ x (* (- 1 x) (- 1 y))) #s(hole binary64 (* x (- (+ 1 (+ (* -1 (- 1 y)) (/ 1 x))) (/ y x)))))
#s(approx (+ x (* (- 1 x) (- 1 y))) (*.f64 (-.f64 y (/.f64 (-.f64 y #s(literal 1 binary64)) x)) x))
#s(approx (* (- 1 x) (- 1 y)) #s(hole binary64 (* -1 (* x (- 1 y)))))
#s(approx (* (- 1 x) (- 1 y)) (*.f64 (-.f64 y #s(literal 1 binary64)) x))
#s(approx (* (- 1 x) (- 1 y)) #s(hole binary64 (* x (- (+ (* -1 (- 1 y)) (/ 1 x)) (/ y x)))))
#s(approx (* (- 1 x) (- 1 y)) (fma.f64 (-.f64 y (/.f64 (-.f64 y #s(literal 1 binary64)) x)) x (neg.f64 x)))
#s(approx (- 1 x) #s(hole binary64 (* -1 x)))
#s(approx (- 1 x) (neg.f64 x))
#s(approx (- 1 x) #s(hole binary64 (* x (- (/ 1 x) 1))))
#s(approx (- 1 x) (*.f64 (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1 binary64)) x))
#s(approx (+ x (* (- 1 x) (- 1 y))) #s(hole binary64 (* x y)))
#s(approx (+ x (* (- 1 x) (- 1 y))) (*.f64 y x))
#s(approx (+ x (* (- 1 x) (- 1 y))) #s(hole binary64 (* -1 (* x (- (* -1 (/ (- 1 y) x)) y)))))
#s(approx (+ x (* (- 1 x) (- 1 y))) (*.f64 (-.f64 y (/.f64 (-.f64 y #s(literal 1 binary64)) x)) x))
#s(approx (* (- 1 x) (- 1 y)) #s(hole binary64 (* -1 (* x (- (+ 1 (* -1 (/ (- 1 y) x))) y)))))
#s(approx (* (- 1 x) (- 1 y)) (fma.f64 (-.f64 y (/.f64 (-.f64 y #s(literal 1 binary64)) x)) x (neg.f64 x)))
#s(approx (- 1 x) #s(hole binary64 (* -1 (* x (- 1 (/ 1 x))))))
#s(approx (- 1 x) (*.f64 (+.f64 #s(literal -1 binary64) (/.f64 #s(literal 1 binary64) x)) x))
#s(approx (+ x (* (- 1 x) (- 1 y))) #s(hole binary64 1))
#s(approx (+ x (* (- 1 x) (- 1 y))) #s(literal 1 binary64))
#s(approx (+ x (* (- 1 x) (- 1 y))) #s(hole binary64 (+ 1 (* -1 (* y (- 1 x))))))
#s(approx (+ x (* (- 1 x) (- 1 y))) (fma.f64 y x (-.f64 #s(literal 1 binary64) y)))
#s(approx (* (- 1 x) (- 1 y)) #s(hole binary64 (- 1 x)))
#s(approx (* (- 1 x) (- 1 y)) (-.f64 #s(literal 1 binary64) x))
#s(approx (* (- 1 x) (- 1 y)) #s(hole binary64 (- (+ 1 (* -1 (* y (- 1 x)))) x)))
#s(approx (* (- 1 x) (- 1 y)) (*.f64 (-.f64 x #s(literal 1 binary64)) (-.f64 y #s(literal 1 binary64))))
#s(approx (- 1 y) #s(hole binary64 1))
#s(approx (- 1 y) #s(literal 1 binary64))
#s(approx (- 1 y) #s(hole binary64 (+ 1 (* -1 y))))
#s(approx (- 1 y) (-.f64 #s(literal 1 binary64) y))
#s(approx (+ x (* (- 1 x) (- 1 y))) #s(hole binary64 (* -1 (* y (- 1 x)))))
#s(approx (+ x (* (- 1 x) (- 1 y))) (-.f64 (*.f64 y x) y))
#s(approx (+ x (* (- 1 x) (- 1 y))) #s(hole binary64 (* y (+ (* -1 (- 1 x)) (/ 1 y)))))
#s(approx (+ x (* (- 1 x) (- 1 y))) (fma.f64 y x (-.f64 #s(literal 1 binary64) y)))
#s(approx (* (- 1 x) (- 1 y)) #s(hole binary64 (* -1 (* y (- 1 x)))))
#s(approx (* (- 1 x) (- 1 y)) (-.f64 (*.f64 y x) y))
#s(approx (* (- 1 x) (- 1 y)) #s(hole binary64 (* y (- (+ (* -1 (- 1 x)) (/ 1 y)) (/ x y)))))
#s(approx (* (- 1 x) (- 1 y)) (*.f64 (-.f64 x #s(literal 1 binary64)) (-.f64 y #s(literal 1 binary64))))
#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 (- 1 y) (-.f64 #s(literal 1 binary64) y))
#s(approx (+ x (* (- 1 x) (- 1 y))) #s(hole binary64 (* -1 (* y (- 1 (+ x (/ 1 y)))))))
#s(approx (+ x (* (- 1 x) (- 1 y))) (fma.f64 y x (-.f64 #s(literal 1 binary64) y)))
#s(approx (* (- 1 x) (- 1 y)) #s(hole binary64 (* -1 (* y (- (+ 1 (* -1 (/ (- 1 x) y))) x)))))
#s(approx (* (- 1 x) (- 1 y)) (*.f64 (-.f64 x #s(literal 1 binary64)) (-.f64 y #s(literal 1 binary64))))
#s(approx (- 1 y) #s(hole binary64 (* -1 (* y (- 1 (/ 1 y))))))
#s(approx (- 1 y) (-.f64 #s(literal 1 binary64) y))

rewrite41.0ms (1.2%)

Memory
17.9MiB live, 60.0MiB allocated; 8ms 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)

eval14.0ms (0.4%)

Memory
-40.5MiB live, 23.8MiB allocated; 4ms collecting garbage
Compiler

Compiled 1 244 to 245 computations (80.3% saved)

prune3.0ms (0.1%)

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

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New63568
Fresh000
Picked101
Done000
Total64569
Accuracy
100.0%
Counts
69 → 5
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)))
60.0%
#s(approx (+ x (* (- 1 x) (- 1 y))) (-.f64 (*.f64 y x) y))
64.8%
#s(approx (+ x (* (- 1 x) (- 1 y))) (-.f64 #s(literal 1 binary64) y))
35.4%
#s(approx (+ x (* (- 1 x) (- 1 y))) (*.f64 y x))
40.8%
#s(approx (+ x (* (- 1 x) (- 1 y))) #s(literal 1 binary64))
Compiler

Compiled 136 to 98 computations (27.9% saved)

simplify112.0ms (3.3%)

Memory
6.0MiB live, 144.2MiB allocated; 11ms collecting garbage
Localize:

Found 11 expressions of interest:

NewMetricScoreProgram
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 y x)
cost-diff0
#s(approx (+ x (* (- 1 x) (- 1 y))) (*.f64 y x))
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
#s(approx (+ x (* (- 1 x) (- 1 y))) #s(literal 1 binary64))
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)))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
016101
020101
131101
251101
393101
4237101
5992101
67730101
0815296
Stop Event
iter limit
node limit
iter limit
Calls
Call 1
Inputs
#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)
#s(approx (+ x (* (- 1 x) (- 1 y))) #s(literal 1 binary64))
#s(literal 1 binary64)
#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 y x))
(*.f64 y x)
y
x
#s(approx (+ x (* (- 1 x) (- 1 y))) (-.f64 (*.f64 y x) y))
(-.f64 (*.f64 y x) y)
(*.f64 y x)
y
x
Outputs
#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)
#s(approx (+ x (* (- 1 x) (- 1 y))) #s(literal 1 binary64))
#s(literal 1 binary64)
#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 y x))
(*.f64 y x)
y
x
#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

localize85.0ms (2.5%)

Memory
-6.1MiB live, 93.5MiB allocated; 9ms collecting garbage
Localize:

Found 11 expressions of interest:

NewMetricScoreProgram
accuracy0.0
(*.f64 y x)
accuracy0.015625
(-.f64 (*.f64 y x) y)
accuracy25.61506166667809
#s(approx (+ x (* (- 1 x) (- 1 y))) (-.f64 (*.f64 y x) y))
accuracy0.0
(*.f64 y x)
accuracy41.366508389032155
#s(approx (+ x (* (- 1 x) (- 1 y))) (*.f64 y x))
accuracy0.0
(-.f64 #s(literal 1 binary64) y)
accuracy22.497806771886165
#s(approx (+ x (* (- 1 x) (- 1 y))) (-.f64 #s(literal 1 binary64) y))
accuracy37.901897821864225
#s(approx (+ x (* (- 1 x) (- 1 y))) #s(literal 1 binary64))
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)))
Samples
64.0ms193×0valid
12.0ms62×1valid
0.0ms2valid
Compiler

Compiled 81 to 12 computations (85.2% saved)

Precisions
Click to see histograms. Total time spent on operations: 53.0ms
ival-add: 37.0ms (69.5% of total)
ival-sub: 8.0ms (15% of total)
adjust: 4.0ms (7.5% of total)
ival-mult: 4.0ms (7.5% of total)
ival-assert: 0.0ms (0% of total)
ival-true: 0.0ms (0% of total)
exact: 0.0ms (0% of total)

series6.0ms (0.2%)

Memory
7.6MiB live, 7.6MiB allocated; 0ms collecting garbage
Counts
9 → 35
Calls
Call 1
Inputs
#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))
(-.f64 #s(literal 1 binary64) y)
#s(approx (+ x (* (- 1 x) (- 1 y))) #s(literal 1 binary64))
#s(approx (+ x (* (- 1 x) (- 1 y))) (-.f64 #s(literal 1 binary64) y))
#s(approx (+ x (* (- 1 x) (- 1 y))) (*.f64 y x))
(*.f64 y x)
#s(approx (+ x (* (- 1 x) (- 1 y))) (-.f64 (*.f64 y x) y))
(-.f64 (*.f64 y x) y)
Outputs
#s(approx (+ x (* (- 1 x) (- 1 y))) #s(hole binary64 (- 1 y)))
#s(approx (+ x (* (- 1 x) (- 1 y))) #s(hole binary64 (- (+ 1 (* x (+ 1 (* -1 (- 1 y))))) y)))
#s(approx (+ (* y x) (- 1 y)) #s(hole binary64 (- 1 y)))
#s(approx (+ (* y x) (- 1 y)) #s(hole binary64 (- (+ 1 (* x y)) y)))
#s(approx (* y x) #s(hole binary64 (* x y)))
#s(approx (- (* y x) y) #s(hole binary64 (* -1 y)))
#s(approx (- (* y x) y) #s(hole binary64 (- (* x y) y)))
#s(approx (+ x (* (- 1 x) (- 1 y))) #s(hole binary64 (* x (+ 1 (* -1 (- 1 y))))))
#s(approx (+ x (* (- 1 x) (- 1 y))) #s(hole binary64 (* x (- (+ 1 (+ (* -1 (- 1 y)) (/ 1 x))) (/ y x)))))
#s(approx (+ (* y x) (- 1 y)) #s(hole binary64 (* x y)))
#s(approx (+ (* y x) (- 1 y)) #s(hole binary64 (* x (- (+ y (/ 1 x)) (/ y x)))))
#s(approx (- (* y x) y) #s(hole binary64 (* x y)))
#s(approx (- (* y x) y) #s(hole binary64 (* x (+ y (* -1 (/ y x))))))
#s(approx (+ x (* (- 1 x) (- 1 y))) #s(hole binary64 (* x y)))
#s(approx (+ x (* (- 1 x) (- 1 y))) #s(hole binary64 (* -1 (* x (- (* -1 (/ (- 1 y) x)) y)))))
#s(approx (+ (* y x) (- 1 y)) #s(hole binary64 (* -1 (* x (+ (* -1 y) (* -1 (/ (- 1 y) x)))))))
#s(approx (- (* y x) y) #s(hole binary64 (* -1 (* x (+ (* -1 y) (/ y x))))))
#s(approx (+ x (* (- 1 x) (- 1 y))) #s(hole binary64 1))
#s(approx (+ x (* (- 1 x) (- 1 y))) #s(hole binary64 (+ 1 (* -1 (* y (- 1 x))))))
#s(approx (+ (* y x) (- 1 y)) #s(hole binary64 1))
#s(approx (+ (* y x) (- 1 y)) #s(hole binary64 (+ 1 (* y (- x 1)))))
#s(approx (- 1 y) #s(hole binary64 1))
#s(approx (- 1 y) #s(hole binary64 (+ 1 (* -1 y))))
#s(approx (- (* y x) y) #s(hole binary64 (* y (- x 1))))
#s(approx (+ x (* (- 1 x) (- 1 y))) #s(hole binary64 (* -1 (* y (- 1 x)))))
#s(approx (+ x (* (- 1 x) (- 1 y))) #s(hole binary64 (* y (+ (* -1 (- 1 x)) (/ 1 y)))))
#s(approx (+ (* y x) (- 1 y)) #s(hole binary64 (* y (- x 1))))
#s(approx (+ (* y x) (- 1 y)) #s(hole binary64 (* y (- (+ x (/ 1 y)) 1))))
#s(approx (- 1 y) #s(hole binary64 (* -1 y)))
#s(approx (- 1 y) #s(hole binary64 (* y (- (/ 1 y) 1))))
#s(approx (+ x (* (- 1 x) (- 1 y))) #s(hole binary64 (* -1 (* y (- 1 (+ x (/ 1 y)))))))
#s(approx (+ (* y x) (- 1 y)) #s(hole binary64 (* -1 (* y (+ 1 (* -1 x))))))
#s(approx (+ (* y x) (- 1 y)) #s(hole binary64 (* -1 (* y (- (+ 1 (* -1 x)) (/ 1 y))))))
#s(approx (- 1 y) #s(hole binary64 (* -1 (* y (- 1 (/ 1 y))))))
#s(approx (- (* y x) y) #s(hole binary64 (* -1 (* y (+ 1 (* -1 x))))))
Calls

6 calls:

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

simplify167.0ms (5%)

Memory
10.4MiB live, 160.4MiB allocated; 79ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0108528
1260510
2668477
32088403
08987369
Stop Event
iter limit
node limit
Counts
35 → 35
Calls
Call 1
Inputs
#s(approx (+ x (* (- 1 x) (- 1 y))) #s(hole binary64 (- 1 y)))
#s(approx (+ x (* (- 1 x) (- 1 y))) #s(hole binary64 (- (+ 1 (* x (+ 1 (* -1 (- 1 y))))) y)))
#s(approx (+ (* y x) (- 1 y)) #s(hole binary64 (- 1 y)))
#s(approx (+ (* y x) (- 1 y)) #s(hole binary64 (- (+ 1 (* x y)) y)))
#s(approx (* y x) #s(hole binary64 (* x y)))
#s(approx (- (* y x) y) #s(hole binary64 (* -1 y)))
#s(approx (- (* y x) y) #s(hole binary64 (- (* x y) y)))
#s(approx (+ x (* (- 1 x) (- 1 y))) #s(hole binary64 (* x (+ 1 (* -1 (- 1 y))))))
#s(approx (+ x (* (- 1 x) (- 1 y))) #s(hole binary64 (* x (- (+ 1 (+ (* -1 (- 1 y)) (/ 1 x))) (/ y x)))))
#s(approx (+ (* y x) (- 1 y)) #s(hole binary64 (* x y)))
#s(approx (+ (* y x) (- 1 y)) #s(hole binary64 (* x (- (+ y (/ 1 x)) (/ y x)))))
#s(approx (- (* y x) y) #s(hole binary64 (* x y)))
#s(approx (- (* y x) y) #s(hole binary64 (* x (+ y (* -1 (/ y x))))))
#s(approx (+ x (* (- 1 x) (- 1 y))) #s(hole binary64 (* x y)))
#s(approx (+ x (* (- 1 x) (- 1 y))) #s(hole binary64 (* -1 (* x (- (* -1 (/ (- 1 y) x)) y)))))
#s(approx (+ (* y x) (- 1 y)) #s(hole binary64 (* -1 (* x (+ (* -1 y) (* -1 (/ (- 1 y) x)))))))
#s(approx (- (* y x) y) #s(hole binary64 (* -1 (* x (+ (* -1 y) (/ y x))))))
#s(approx (+ x (* (- 1 x) (- 1 y))) #s(hole binary64 1))
#s(approx (+ x (* (- 1 x) (- 1 y))) #s(hole binary64 (+ 1 (* -1 (* y (- 1 x))))))
#s(approx (+ (* y x) (- 1 y)) #s(hole binary64 1))
#s(approx (+ (* y x) (- 1 y)) #s(hole binary64 (+ 1 (* y (- x 1)))))
#s(approx (- 1 y) #s(hole binary64 1))
#s(approx (- 1 y) #s(hole binary64 (+ 1 (* -1 y))))
#s(approx (- (* y x) y) #s(hole binary64 (* y (- x 1))))
#s(approx (+ x (* (- 1 x) (- 1 y))) #s(hole binary64 (* -1 (* y (- 1 x)))))
#s(approx (+ x (* (- 1 x) (- 1 y))) #s(hole binary64 (* y (+ (* -1 (- 1 x)) (/ 1 y)))))
#s(approx (+ (* y x) (- 1 y)) #s(hole binary64 (* y (- x 1))))
#s(approx (+ (* y x) (- 1 y)) #s(hole binary64 (* y (- (+ x (/ 1 y)) 1))))
#s(approx (- 1 y) #s(hole binary64 (* -1 y)))
#s(approx (- 1 y) #s(hole binary64 (* y (- (/ 1 y) 1))))
#s(approx (+ x (* (- 1 x) (- 1 y))) #s(hole binary64 (* -1 (* y (- 1 (+ x (/ 1 y)))))))
#s(approx (+ (* y x) (- 1 y)) #s(hole binary64 (* -1 (* y (+ 1 (* -1 x))))))
#s(approx (+ (* y x) (- 1 y)) #s(hole binary64 (* -1 (* y (- (+ 1 (* -1 x)) (/ 1 y))))))
#s(approx (- 1 y) #s(hole binary64 (* -1 (* y (- 1 (/ 1 y))))))
#s(approx (- (* y x) y) #s(hole binary64 (* -1 (* y (+ 1 (* -1 x))))))
Outputs
#s(approx (+ x (* (- 1 x) (- 1 y))) #s(hole binary64 (- 1 y)))
#s(approx (+ x (* (- 1 x) (- 1 y))) (-.f64 #s(literal 1 binary64) y))
#s(approx (+ x (* (- 1 x) (- 1 y))) #s(hole binary64 (- (+ 1 (* x (+ 1 (* -1 (- 1 y))))) y)))
#s(approx (+ x (* (- 1 x) (- 1 y))) (fma.f64 y x (-.f64 #s(literal 1 binary64) y)))
#s(approx (+ (* y x) (- 1 y)) #s(hole binary64 (- 1 y)))
#s(approx (+ x (* (- 1 x) (- 1 y))) (-.f64 #s(literal 1 binary64) y))
#s(approx (+ (* y x) (- 1 y)) #s(hole binary64 (- (+ 1 (* x y)) y)))
#s(approx (+ x (* (- 1 x) (- 1 y))) (fma.f64 y x (-.f64 #s(literal 1 binary64) y)))
#s(approx (* y x) #s(hole binary64 (* x y)))
#s(approx (* y x) (*.f64 y x))
#s(approx (- (* y x) y) #s(hole binary64 (* -1 y)))
#s(approx (- (* y x) y) (neg.f64 y))
#s(approx (- (* y x) y) #s(hole binary64 (- (* x y) y)))
#s(approx (- (* y x) y) (fma.f64 y x (neg.f64 y)))
#s(approx (+ x (* (- 1 x) (- 1 y))) #s(hole binary64 (* x (+ 1 (* -1 (- 1 y))))))
#s(approx (+ x (* (- 1 x) (- 1 y))) (*.f64 y x))
#s(approx (+ x (* (- 1 x) (- 1 y))) #s(hole binary64 (* x (- (+ 1 (+ (* -1 (- 1 y)) (/ 1 x))) (/ y x)))))
#s(approx (+ x (* (- 1 x) (- 1 y))) (fma.f64 y x (-.f64 #s(literal 1 binary64) y)))
#s(approx (+ (* y x) (- 1 y)) #s(hole binary64 (* x y)))
#s(approx (+ x (* (- 1 x) (- 1 y))) (*.f64 y x))
#s(approx (+ (* y x) (- 1 y)) #s(hole binary64 (* x (- (+ y (/ 1 x)) (/ y x)))))
#s(approx (+ x (* (- 1 x) (- 1 y))) (fma.f64 y x (-.f64 #s(literal 1 binary64) y)))
#s(approx (- (* y x) y) #s(hole binary64 (* x y)))
#s(approx (- (* y x) y) (*.f64 y x))
#s(approx (- (* y x) y) #s(hole binary64 (* x (+ y (* -1 (/ y x))))))
#s(approx (- (* y x) y) (fma.f64 y x (neg.f64 y)))
#s(approx (+ x (* (- 1 x) (- 1 y))) #s(hole binary64 (* x y)))
#s(approx (+ x (* (- 1 x) (- 1 y))) (*.f64 y x))
#s(approx (+ x (* (- 1 x) (- 1 y))) #s(hole binary64 (* -1 (* x (- (* -1 (/ (- 1 y) x)) y)))))
#s(approx (+ x (* (- 1 x) (- 1 y))) (fma.f64 y x (-.f64 #s(literal 1 binary64) y)))
#s(approx (+ (* y x) (- 1 y)) #s(hole binary64 (* -1 (* x (+ (* -1 y) (* -1 (/ (- 1 y) x)))))))
#s(approx (+ x (* (- 1 x) (- 1 y))) (fma.f64 y x (-.f64 #s(literal 1 binary64) y)))
#s(approx (- (* y x) y) #s(hole binary64 (* -1 (* x (+ (* -1 y) (/ y x))))))
#s(approx (- (* y x) y) (fma.f64 y x (neg.f64 y)))
#s(approx (+ x (* (- 1 x) (- 1 y))) #s(hole binary64 1))
#s(approx (+ x (* (- 1 x) (- 1 y))) #s(literal 1 binary64))
#s(approx (+ x (* (- 1 x) (- 1 y))) #s(hole binary64 (+ 1 (* -1 (* y (- 1 x))))))
#s(approx (+ x (* (- 1 x) (- 1 y))) (fma.f64 y x (-.f64 #s(literal 1 binary64) y)))
#s(approx (+ (* y x) (- 1 y)) #s(hole binary64 1))
#s(approx (+ x (* (- 1 x) (- 1 y))) #s(literal 1 binary64))
#s(approx (+ (* y x) (- 1 y)) #s(hole binary64 (+ 1 (* y (- x 1)))))
#s(approx (+ x (* (- 1 x) (- 1 y))) (fma.f64 y x (-.f64 #s(literal 1 binary64) y)))
#s(approx (- 1 y) #s(hole binary64 1))
#s(approx (- 1 y) #s(literal 1 binary64))
#s(approx (- 1 y) #s(hole binary64 (+ 1 (* -1 y))))
#s(approx (- 1 y) (-.f64 #s(literal 1 binary64) y))
#s(approx (- (* y x) y) #s(hole binary64 (* y (- x 1))))
#s(approx (- (* y x) y) (fma.f64 y x (neg.f64 y)))
#s(approx (+ x (* (- 1 x) (- 1 y))) #s(hole binary64 (* -1 (* y (- 1 x)))))
#s(approx (+ x (* (- 1 x) (- 1 y))) (fma.f64 y x (neg.f64 y)))
#s(approx (+ x (* (- 1 x) (- 1 y))) #s(hole binary64 (* y (+ (* -1 (- 1 x)) (/ 1 y)))))
#s(approx (+ x (* (- 1 x) (- 1 y))) (fma.f64 y x (-.f64 #s(literal 1 binary64) y)))
#s(approx (+ (* y x) (- 1 y)) #s(hole binary64 (* y (- x 1))))
#s(approx (+ x (* (- 1 x) (- 1 y))) (fma.f64 y x (neg.f64 y)))
#s(approx (+ (* y x) (- 1 y)) #s(hole binary64 (* y (- (+ x (/ 1 y)) 1))))
#s(approx (+ x (* (- 1 x) (- 1 y))) (fma.f64 y x (-.f64 #s(literal 1 binary64) y)))
#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 (- 1 y) (-.f64 #s(literal 1 binary64) y))
#s(approx (+ x (* (- 1 x) (- 1 y))) #s(hole binary64 (* -1 (* y (- 1 (+ x (/ 1 y)))))))
#s(approx (+ x (* (- 1 x) (- 1 y))) (fma.f64 y x (-.f64 #s(literal 1 binary64) y)))
#s(approx (+ (* y x) (- 1 y)) #s(hole binary64 (* -1 (* y (+ 1 (* -1 x))))))
#s(approx (+ x (* (- 1 x) (- 1 y))) (fma.f64 y x (neg.f64 y)))
#s(approx (+ (* y x) (- 1 y)) #s(hole binary64 (* -1 (* y (- (+ 1 (* -1 x)) (/ 1 y))))))
#s(approx (+ x (* (- 1 x) (- 1 y))) (fma.f64 y x (-.f64 #s(literal 1 binary64) y)))
#s(approx (- 1 y) #s(hole binary64 (* -1 (* y (- 1 (/ 1 y))))))
#s(approx (- 1 y) (-.f64 #s(literal 1 binary64) y))
#s(approx (- (* y x) y) #s(hole binary64 (* -1 (* y (+ 1 (* -1 x))))))
#s(approx (- (* y x) y) (fma.f64 y x (neg.f64 y)))

rewrite44.0ms (1.3%)

Memory
12.5MiB live, 57.9MiB allocated; 9ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01685
02085
18585
069980
Stop Event
iter limit
iter limit
node limit
iter limit
Counts
9 → 39
Calls
Call 1
Inputs
#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))
(-.f64 #s(literal 1 binary64) y)
#s(approx (+ x (* (- 1 x) (- 1 y))) #s(literal 1 binary64))
#s(approx (+ x (* (- 1 x) (- 1 y))) (-.f64 #s(literal 1 binary64) y))
#s(approx (+ x (* (- 1 x) (- 1 y))) (*.f64 y x))
(*.f64 y x)
#s(approx (+ x (* (- 1 x) (- 1 y))) (-.f64 (*.f64 y x) y))
(-.f64 (*.f64 y x) y)
Outputs
#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 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))) (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 y x) (-.f64 #s(literal 1 binary64) y))
(+.f64 (-.f64 #s(literal 1 binary64) y) (*.f64 y 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)
#s(approx (+ x (* (- 1 x) (- 1 y))) #s(literal 1 binary64))
#s(approx (+ x (* (- 1 x) (- 1 y))) (-.f64 #s(literal 1 binary64) y))
#s(approx (+ x (* (- 1 x) (- 1 y))) (*.f64 y x))
(*.f64 y x)
(*.f64 x 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)

eval28.0ms (0.8%)

Memory
-32.7MiB live, 14.2MiB allocated; 2ms collecting garbage
Compiler

Compiled 1 366 to 181 computations (86.7% saved)

prune4.0ms (0.1%)

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

7 alts after pruning (3 fresh and 4 done)

PrunedKeptTotal
New57360
Fresh000
Picked145
Done000
Total58765
Accuracy
100.0%
Counts
65 → 7
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)))
60.0%
#s(approx (+ x (* (- 1 x) (- 1 y))) (fma.f64 y x (neg.f64 y)))
74.1%
#s(approx (+ x (* (- 1 x) (- 1 y))) (fma.f64 y x #s(approx (- 1 y) #s(literal 1 binary64))))
64.8%
#s(approx (+ x (* (- 1 x) (- 1 y))) (-.f64 #s(literal 1 binary64) y))
35.4%
#s(approx (+ x (* (- 1 x) (- 1 y))) (*.f64 y x))
25.9%
#s(approx (+ x (* (- 1 x) (- 1 y))) #s(approx (- (* y x) y) (neg.f64 y)))
40.8%
#s(approx (+ x (* (- 1 x) (- 1 y))) #s(literal 1 binary64))
Compiler

Compiled 104 to 72 computations (30.8% saved)

simplify155.0ms (4.6%)

Memory
31.8MiB live, 172.9MiB allocated; 19ms collecting garbage
Localize:

Found 9 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
#s(approx (- 1 y) #s(literal 1 binary64))
cost-diff0
(fma.f64 y x #s(approx (- 1 y) #s(literal 1 binary64)))
cost-diff0
#s(approx (+ x (* (- 1 x) (- 1 y))) (fma.f64 y x #s(approx (- 1 y) #s(literal 1 binary64))))
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)))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01787
02087
13087
24887
38287
419587
579081
6780481
0822978
Stop Event
iter limit
node limit
iter limit
Calls
Call 1
Inputs
#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 #s(approx (- 1 y) #s(literal 1 binary64))))
(fma.f64 y x #s(approx (- 1 y) #s(literal 1 binary64)))
y
x
#s(approx (- 1 y) #s(literal 1 binary64))
#s(literal 1 binary64)
#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(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 #s(approx (- 1 y) #s(literal 1 binary64))))
(fma.f64 y x #s(approx (- 1 y) #s(literal 1 binary64)))
y
x
#s(approx (- 1 y) #s(literal 1 binary64))
#s(literal 1 binary64)
#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)

localize54.0ms (1.6%)

Memory
-24.0MiB live, 127.6MiB allocated; 17ms collecting garbage
Localize:

Found 9 expressions of interest:

NewMetricScoreProgram
accuracy0.0
(fma.f64 y x (neg.f64 y))
accuracy0.0
(neg.f64 y)
accuracy25.61506166667809
#s(approx (+ x (* (- 1 x) (- 1 y))) (fma.f64 y x (neg.f64 y)))
accuracy0.0
(fma.f64 y x #s(approx (- 1 y) #s(literal 1 binary64)))
accuracy0.0
#s(approx (+ x (* (- 1 x) (- 1 y))) (fma.f64 y x #s(approx (- 1 y) #s(literal 1 binary64))))
accuracy32.63276010821984
#s(approx (- 1 y) #s(literal 1 binary64))
accuracy0.0
(neg.f64 y)
accuracy25.61506166667809
#s(approx (+ x (* (- 1 x) (- 1 y))) #s(approx (- (* y x) y) (neg.f64 y)))
accuracy32.0008672287195
#s(approx (- (* y x) y) (neg.f64 y))
Samples
21.0ms193×0valid
13.0ms62×1valid
0.0ms2valid
Compiler

Compiled 60 to 14 computations (76.7% saved)

Precisions
Click to see histograms. Total time spent on operations: 20.0ms
ival-sub: 6.0ms (30.4% of total)
adjust: 4.0ms (20.3% of total)
ival-mult: 4.0ms (20.3% of total)
ival-add: 4.0ms (20.3% of total)
ival-neg: 1.0ms (5.1% of total)
ival-assert: 0.0ms (0% of total)
ival-true: 0.0ms (0% of total)
exact: 0.0ms (0% of total)

series4.0ms (0.1%)

Memory
14.2MiB live, 14.2MiB allocated; 0ms collecting garbage
Counts
8 → 42
Calls
Call 1
Inputs
#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 #s(approx (- 1 y) #s(literal 1 binary64))))
(fma.f64 y x #s(approx (- 1 y) #s(literal 1 binary64)))
#s(approx (- 1 y) #s(literal 1 binary64))
#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(hole binary64 (- 1 y)))
#s(approx (+ x (* (- 1 x) (- 1 y))) #s(hole binary64 (- (+ 1 (* x (+ 1 (* -1 (- 1 y))))) y)))
#s(approx (- (* y x) y) #s(hole binary64 (* -1 y)))
#s(approx (- (* y x) y) #s(hole binary64 (- (* x y) y)))
#s(approx (+ (* y x) (- 1 y)) #s(hole binary64 (- 1 y)))
#s(approx (+ (* y x) (- 1 y)) #s(hole binary64 (- (+ 1 (* x y)) y)))
#s(approx (+ (* y x) (neg y)) #s(hole binary64 (* -1 y)))
#s(approx (+ (* y x) (neg y)) #s(hole binary64 (- (* x y) y)))
#s(approx (+ x (* (- 1 x) (- 1 y))) #s(hole binary64 (* x (+ 1 (* -1 (- 1 y))))))
#s(approx (+ x (* (- 1 x) (- 1 y))) #s(hole binary64 (* x (- (+ 1 (+ (* -1 (- 1 y)) (/ 1 x))) (/ y x)))))
#s(approx (- (* y x) y) #s(hole binary64 (* x y)))
#s(approx (- (* y x) y) #s(hole binary64 (* x (+ y (* -1 (/ y x))))))
#s(approx (+ (* y x) (- 1 y)) #s(hole binary64 (* x y)))
#s(approx (+ (* y x) (- 1 y)) #s(hole binary64 (* x (- (+ y (/ 1 x)) (/ y x)))))
#s(approx (+ (* y x) (neg y)) #s(hole binary64 (* x y)))
#s(approx (+ (* y x) (neg y)) #s(hole binary64 (* x (+ y (* -1 (/ y x))))))
#s(approx (+ x (* (- 1 x) (- 1 y))) #s(hole binary64 (* x y)))
#s(approx (+ x (* (- 1 x) (- 1 y))) #s(hole binary64 (* -1 (* x (- (* -1 (/ (- 1 y) x)) y)))))
#s(approx (- (* y x) y) #s(hole binary64 (* -1 (* x (+ (* -1 y) (/ y x))))))
#s(approx (+ (* y x) (- 1 y)) #s(hole binary64 (* -1 (* x (+ (* -1 y) (* -1 (/ (- 1 y) x)))))))
#s(approx (+ (* y x) (neg y)) #s(hole binary64 (* -1 (* x (+ (* -1 y) (/ y x))))))
#s(approx (+ x (* (- 1 x) (- 1 y))) #s(hole binary64 1))
#s(approx (+ x (* (- 1 x) (- 1 y))) #s(hole binary64 (+ 1 (* -1 (* y (- 1 x))))))
#s(approx (- (* y x) y) #s(hole binary64 (* y (- x 1))))
#s(approx (neg y) #s(hole binary64 (* -1 y)))
#s(approx (+ (* y x) (- 1 y)) #s(hole binary64 1))
#s(approx (+ (* y x) (- 1 y)) #s(hole binary64 (+ 1 (* y (- x 1)))))
#s(approx (- 1 y) #s(hole binary64 1))
#s(approx (- 1 y) #s(hole binary64 (+ 1 (* -1 y))))
#s(approx (+ (* y x) (neg y)) #s(hole binary64 (* y (- x 1))))
#s(approx (+ x (* (- 1 x) (- 1 y))) #s(hole binary64 (* -1 (* y (- 1 x)))))
#s(approx (+ x (* (- 1 x) (- 1 y))) #s(hole binary64 (* y (+ (* -1 (- 1 x)) (/ 1 y)))))
#s(approx (+ (* y x) (- 1 y)) #s(hole binary64 (* y (- x 1))))
#s(approx (+ (* y x) (- 1 y)) #s(hole binary64 (* y (- (+ x (/ 1 y)) 1))))
#s(approx (- 1 y) #s(hole binary64 (* -1 y)))
#s(approx (- 1 y) #s(hole binary64 (* y (- (/ 1 y) 1))))
#s(approx (+ x (* (- 1 x) (- 1 y))) #s(hole binary64 (* -1 (* y (- 1 (+ x (/ 1 y)))))))
#s(approx (- (* y x) y) #s(hole binary64 (* -1 (* y (+ 1 (* -1 x))))))
#s(approx (+ (* y x) (- 1 y)) #s(hole binary64 (* -1 (* y (+ 1 (* -1 x))))))
#s(approx (+ (* y x) (- 1 y)) #s(hole binary64 (* -1 (* y (- (+ 1 (* -1 x)) (/ 1 y))))))
#s(approx (- 1 y) #s(hole binary64 (* -1 (* y (- 1 (/ 1 y))))))
#s(approx (+ (* y x) (neg y)) #s(hole binary64 (* -1 (* y (+ 1 (* -1 x))))))
Calls

6 calls:

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

simplify150.0ms (4.5%)

Memory
-28.2MiB live, 207.9MiB allocated; 19ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0117598
1273580
2687547
32149473
09044439
Stop Event
iter limit
node limit
Counts
42 → 42
Calls
Call 1
Inputs
#s(approx (+ x (* (- 1 x) (- 1 y))) #s(hole binary64 (- 1 y)))
#s(approx (+ x (* (- 1 x) (- 1 y))) #s(hole binary64 (- (+ 1 (* x (+ 1 (* -1 (- 1 y))))) y)))
#s(approx (- (* y x) y) #s(hole binary64 (* -1 y)))
#s(approx (- (* y x) y) #s(hole binary64 (- (* x y) y)))
#s(approx (+ (* y x) (- 1 y)) #s(hole binary64 (- 1 y)))
#s(approx (+ (* y x) (- 1 y)) #s(hole binary64 (- (+ 1 (* x y)) y)))
#s(approx (+ (* y x) (neg y)) #s(hole binary64 (* -1 y)))
#s(approx (+ (* y x) (neg y)) #s(hole binary64 (- (* x y) y)))
#s(approx (+ x (* (- 1 x) (- 1 y))) #s(hole binary64 (* x (+ 1 (* -1 (- 1 y))))))
#s(approx (+ x (* (- 1 x) (- 1 y))) #s(hole binary64 (* x (- (+ 1 (+ (* -1 (- 1 y)) (/ 1 x))) (/ y x)))))
#s(approx (- (* y x) y) #s(hole binary64 (* x y)))
#s(approx (- (* y x) y) #s(hole binary64 (* x (+ y (* -1 (/ y x))))))
#s(approx (+ (* y x) (- 1 y)) #s(hole binary64 (* x y)))
#s(approx (+ (* y x) (- 1 y)) #s(hole binary64 (* x (- (+ y (/ 1 x)) (/ y x)))))
#s(approx (+ (* y x) (neg y)) #s(hole binary64 (* x y)))
#s(approx (+ (* y x) (neg y)) #s(hole binary64 (* x (+ y (* -1 (/ y x))))))
#s(approx (+ x (* (- 1 x) (- 1 y))) #s(hole binary64 (* x y)))
#s(approx (+ x (* (- 1 x) (- 1 y))) #s(hole binary64 (* -1 (* x (- (* -1 (/ (- 1 y) x)) y)))))
#s(approx (- (* y x) y) #s(hole binary64 (* -1 (* x (+ (* -1 y) (/ y x))))))
#s(approx (+ (* y x) (- 1 y)) #s(hole binary64 (* -1 (* x (+ (* -1 y) (* -1 (/ (- 1 y) x)))))))
#s(approx (+ (* y x) (neg y)) #s(hole binary64 (* -1 (* x (+ (* -1 y) (/ y x))))))
#s(approx (+ x (* (- 1 x) (- 1 y))) #s(hole binary64 1))
#s(approx (+ x (* (- 1 x) (- 1 y))) #s(hole binary64 (+ 1 (* -1 (* y (- 1 x))))))
#s(approx (- (* y x) y) #s(hole binary64 (* y (- x 1))))
#s(approx (neg y) #s(hole binary64 (* -1 y)))
#s(approx (+ (* y x) (- 1 y)) #s(hole binary64 1))
#s(approx (+ (* y x) (- 1 y)) #s(hole binary64 (+ 1 (* y (- x 1)))))
#s(approx (- 1 y) #s(hole binary64 1))
#s(approx (- 1 y) #s(hole binary64 (+ 1 (* -1 y))))
#s(approx (+ (* y x) (neg y)) #s(hole binary64 (* y (- x 1))))
#s(approx (+ x (* (- 1 x) (- 1 y))) #s(hole binary64 (* -1 (* y (- 1 x)))))
#s(approx (+ x (* (- 1 x) (- 1 y))) #s(hole binary64 (* y (+ (* -1 (- 1 x)) (/ 1 y)))))
#s(approx (+ (* y x) (- 1 y)) #s(hole binary64 (* y (- x 1))))
#s(approx (+ (* y x) (- 1 y)) #s(hole binary64 (* y (- (+ x (/ 1 y)) 1))))
#s(approx (- 1 y) #s(hole binary64 (* -1 y)))
#s(approx (- 1 y) #s(hole binary64 (* y (- (/ 1 y) 1))))
#s(approx (+ x (* (- 1 x) (- 1 y))) #s(hole binary64 (* -1 (* y (- 1 (+ x (/ 1 y)))))))
#s(approx (- (* y x) y) #s(hole binary64 (* -1 (* y (+ 1 (* -1 x))))))
#s(approx (+ (* y x) (- 1 y)) #s(hole binary64 (* -1 (* y (+ 1 (* -1 x))))))
#s(approx (+ (* y x) (- 1 y)) #s(hole binary64 (* -1 (* y (- (+ 1 (* -1 x)) (/ 1 y))))))
#s(approx (- 1 y) #s(hole binary64 (* -1 (* y (- 1 (/ 1 y))))))
#s(approx (+ (* y x) (neg y)) #s(hole binary64 (* -1 (* y (+ 1 (* -1 x))))))
Outputs
#s(approx (+ x (* (- 1 x) (- 1 y))) #s(hole binary64 (- 1 y)))
#s(approx (+ x (* (- 1 x) (- 1 y))) (-.f64 #s(literal 1 binary64) y))
#s(approx (+ x (* (- 1 x) (- 1 y))) #s(hole binary64 (- (+ 1 (* x (+ 1 (* -1 (- 1 y))))) y)))
#s(approx (+ x (* (- 1 x) (- 1 y))) (fma.f64 y x (-.f64 #s(literal 1 binary64) y)))
#s(approx (- (* y x) y) #s(hole binary64 (* -1 y)))
#s(approx (+ (* y x) (neg y)) (neg.f64 y))
#s(approx (- (* y x) y) #s(hole binary64 (- (* x y) y)))
#s(approx (+ (* y x) (neg y)) (*.f64 (-.f64 x #s(literal 1 binary64)) y))
#s(approx (+ (* y x) (- 1 y)) #s(hole binary64 (- 1 y)))
#s(approx (+ x (* (- 1 x) (- 1 y))) (-.f64 #s(literal 1 binary64) y))
#s(approx (+ (* y x) (- 1 y)) #s(hole binary64 (- (+ 1 (* x y)) y)))
#s(approx (+ x (* (- 1 x) (- 1 y))) (fma.f64 y x (-.f64 #s(literal 1 binary64) y)))
#s(approx (+ (* y x) (neg y)) #s(hole binary64 (* -1 y)))
#s(approx (+ (* y x) (neg y)) (neg.f64 y))
#s(approx (+ (* y x) (neg y)) #s(hole binary64 (- (* x y) y)))
#s(approx (+ (* y x) (neg y)) (*.f64 (-.f64 x #s(literal 1 binary64)) y))
#s(approx (+ x (* (- 1 x) (- 1 y))) #s(hole binary64 (* x (+ 1 (* -1 (- 1 y))))))
#s(approx (+ x (* (- 1 x) (- 1 y))) (*.f64 y x))
#s(approx (+ x (* (- 1 x) (- 1 y))) #s(hole binary64 (* x (- (+ 1 (+ (* -1 (- 1 y)) (/ 1 x))) (/ y x)))))
#s(approx (+ x (* (- 1 x) (- 1 y))) (fma.f64 y x (-.f64 #s(literal 1 binary64) y)))
#s(approx (- (* y x) y) #s(hole binary64 (* x y)))
#s(approx (+ (* y x) (neg y)) (*.f64 y x))
#s(approx (- (* y x) y) #s(hole binary64 (* x (+ y (* -1 (/ y x))))))
#s(approx (+ (* y x) (neg y)) (*.f64 (-.f64 x #s(literal 1 binary64)) y))
#s(approx (+ (* y x) (- 1 y)) #s(hole binary64 (* x y)))
#s(approx (+ x (* (- 1 x) (- 1 y))) (*.f64 y x))
#s(approx (+ (* y x) (- 1 y)) #s(hole binary64 (* x (- (+ y (/ 1 x)) (/ y x)))))
#s(approx (+ x (* (- 1 x) (- 1 y))) (fma.f64 y x (-.f64 #s(literal 1 binary64) y)))
#s(approx (+ (* y x) (neg y)) #s(hole binary64 (* x y)))
#s(approx (+ (* y x) (neg y)) (*.f64 y x))
#s(approx (+ (* y x) (neg y)) #s(hole binary64 (* x (+ y (* -1 (/ y x))))))
#s(approx (+ (* y x) (neg y)) (*.f64 (-.f64 x #s(literal 1 binary64)) y))
#s(approx (+ x (* (- 1 x) (- 1 y))) #s(hole binary64 (* x y)))
#s(approx (+ x (* (- 1 x) (- 1 y))) (*.f64 y x))
#s(approx (+ x (* (- 1 x) (- 1 y))) #s(hole binary64 (* -1 (* x (- (* -1 (/ (- 1 y) x)) y)))))
#s(approx (+ x (* (- 1 x) (- 1 y))) (fma.f64 y x (-.f64 #s(literal 1 binary64) y)))
#s(approx (- (* y x) y) #s(hole binary64 (* -1 (* x (+ (* -1 y) (/ y x))))))
#s(approx (+ (* y x) (neg y)) (*.f64 (-.f64 x #s(literal 1 binary64)) y))
#s(approx (+ (* y x) (- 1 y)) #s(hole binary64 (* -1 (* x (+ (* -1 y) (* -1 (/ (- 1 y) x)))))))
#s(approx (+ x (* (- 1 x) (- 1 y))) (fma.f64 y x (-.f64 #s(literal 1 binary64) y)))
#s(approx (+ (* y x) (neg y)) #s(hole binary64 (* -1 (* x (+ (* -1 y) (/ y x))))))
#s(approx (+ (* y x) (neg y)) (*.f64 (-.f64 x #s(literal 1 binary64)) y))
#s(approx (+ x (* (- 1 x) (- 1 y))) #s(hole binary64 1))
#s(approx (+ x (* (- 1 x) (- 1 y))) #s(literal 1 binary64))
#s(approx (+ x (* (- 1 x) (- 1 y))) #s(hole binary64 (+ 1 (* -1 (* y (- 1 x))))))
#s(approx (+ x (* (- 1 x) (- 1 y))) (fma.f64 y x (-.f64 #s(literal 1 binary64) y)))
#s(approx (- (* y x) y) #s(hole binary64 (* y (- x 1))))
#s(approx (+ (* y x) (neg y)) (*.f64 (-.f64 x #s(literal 1 binary64)) y))
#s(approx (neg y) #s(hole binary64 (* -1 y)))
#s(approx (neg y) (neg.f64 y))
#s(approx (+ (* y x) (- 1 y)) #s(hole binary64 1))
#s(approx (+ x (* (- 1 x) (- 1 y))) #s(literal 1 binary64))
#s(approx (+ (* y x) (- 1 y)) #s(hole binary64 (+ 1 (* y (- x 1)))))
#s(approx (+ x (* (- 1 x) (- 1 y))) (fma.f64 y x (-.f64 #s(literal 1 binary64) y)))
#s(approx (- 1 y) #s(hole binary64 1))
#s(approx (- 1 y) #s(literal 1 binary64))
#s(approx (- 1 y) #s(hole binary64 (+ 1 (* -1 y))))
#s(approx (- 1 y) (-.f64 #s(literal 1 binary64) y))
#s(approx (+ (* y x) (neg y)) #s(hole binary64 (* y (- x 1))))
#s(approx (+ (* y x) (neg y)) (*.f64 (-.f64 x #s(literal 1 binary64)) y))
#s(approx (+ x (* (- 1 x) (- 1 y))) #s(hole binary64 (* -1 (* y (- 1 x)))))
#s(approx (+ x (* (- 1 x) (- 1 y))) (*.f64 (-.f64 x #s(literal 1 binary64)) y))
#s(approx (+ x (* (- 1 x) (- 1 y))) #s(hole binary64 (* y (+ (* -1 (- 1 x)) (/ 1 y)))))
#s(approx (+ x (* (- 1 x) (- 1 y))) (fma.f64 y x (-.f64 #s(literal 1 binary64) y)))
#s(approx (+ (* y x) (- 1 y)) #s(hole binary64 (* y (- x 1))))
#s(approx (+ x (* (- 1 x) (- 1 y))) (*.f64 (-.f64 x #s(literal 1 binary64)) y))
#s(approx (+ (* y x) (- 1 y)) #s(hole binary64 (* y (- (+ x (/ 1 y)) 1))))
#s(approx (+ x (* (- 1 x) (- 1 y))) (fma.f64 y x (-.f64 #s(literal 1 binary64) y)))
#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 (- 1 y) (-.f64 #s(literal 1 binary64) y))
#s(approx (+ x (* (- 1 x) (- 1 y))) #s(hole binary64 (* -1 (* y (- 1 (+ x (/ 1 y)))))))
#s(approx (+ x (* (- 1 x) (- 1 y))) (fma.f64 y x (-.f64 #s(literal 1 binary64) y)))
#s(approx (- (* y x) y) #s(hole binary64 (* -1 (* y (+ 1 (* -1 x))))))
#s(approx (+ (* y x) (neg y)) (*.f64 (-.f64 x #s(literal 1 binary64)) y))
#s(approx (+ (* y x) (- 1 y)) #s(hole binary64 (* -1 (* y (+ 1 (* -1 x))))))
#s(approx (+ x (* (- 1 x) (- 1 y))) (*.f64 (-.f64 x #s(literal 1 binary64)) y))
#s(approx (+ (* y x) (- 1 y)) #s(hole binary64 (* -1 (* y (- (+ 1 (* -1 x)) (/ 1 y))))))
#s(approx (+ x (* (- 1 x) (- 1 y))) (fma.f64 y x (-.f64 #s(literal 1 binary64) y)))
#s(approx (- 1 y) #s(hole binary64 (* -1 (* y (- 1 (/ 1 y))))))
#s(approx (- 1 y) (-.f64 #s(literal 1 binary64) y))
#s(approx (+ (* y x) (neg y)) #s(hole binary64 (* -1 (* y (+ 1 (* -1 x))))))
#s(approx (+ (* y x) (neg y)) (*.f64 (-.f64 x #s(literal 1 binary64)) y))

rewrite48.0ms (1.4%)

Memory
17.2MiB live, 64.4MiB allocated; 2ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01779
02079
19479
075276
Stop Event
iter limit
iter limit
node limit
iter limit
Counts
8 → 34
Calls
Call 1
Inputs
#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 #s(approx (- 1 y) #s(literal 1 binary64))))
(fma.f64 y x #s(approx (- 1 y) #s(literal 1 binary64)))
#s(approx (- 1 y) #s(literal 1 binary64))
#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(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 #s(approx (- 1 y) #s(literal 1 binary64))))
(/.f64 (-.f64 (pow.f64 #s(approx (- 1 y) #s(literal 1 binary64)) #s(literal 2 binary64)) (pow.f64 (*.f64 y x) #s(literal 2 binary64))) (-.f64 #s(approx (- 1 y) #s(literal 1 binary64)) (*.f64 y x)))
(/.f64 (neg.f64 (-.f64 (pow.f64 (*.f64 y x) #s(literal 2 binary64)) (pow.f64 #s(approx (- 1 y) #s(literal 1 binary64)) #s(literal 2 binary64)))) (neg.f64 (-.f64 (*.f64 y x) #s(approx (- 1 y) #s(literal 1 binary64)))))
(/.f64 (neg.f64 (+.f64 (pow.f64 #s(approx (- 1 y) #s(literal 1 binary64)) #s(literal 3 binary64)) (pow.f64 (*.f64 y x) #s(literal 3 binary64)))) (neg.f64 (fma.f64 #s(approx (- 1 y) #s(literal 1 binary64)) (-.f64 #s(approx (- 1 y) #s(literal 1 binary64)) (*.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 #s(approx (- 1 y) #s(literal 1 binary64)) #s(literal 2 binary64))) (-.f64 (*.f64 y x) #s(approx (- 1 y) #s(literal 1 binary64))))
(/.f64 (+.f64 (pow.f64 #s(approx (- 1 y) #s(literal 1 binary64)) #s(literal 3 binary64)) (pow.f64 (*.f64 y x) #s(literal 3 binary64))) (fma.f64 #s(approx (- 1 y) #s(literal 1 binary64)) #s(approx (- 1 y) #s(literal 1 binary64)) (-.f64 (pow.f64 (*.f64 y x) #s(literal 2 binary64)) (*.f64 #s(approx (- 1 y) #s(literal 1 binary64)) (*.f64 y x)))))
(/.f64 (+.f64 (pow.f64 #s(approx (- 1 y) #s(literal 1 binary64)) #s(literal 3 binary64)) (pow.f64 (*.f64 y x) #s(literal 3 binary64))) (fma.f64 #s(approx (- 1 y) #s(literal 1 binary64)) (-.f64 #s(approx (- 1 y) #s(literal 1 binary64)) (*.f64 y x)) (pow.f64 (*.f64 y x) #s(literal 2 binary64))))
(fma.f64 y x #s(approx (- 1 y) #s(literal 1 binary64)))
(fma.f64 x y #s(approx (- 1 y) #s(literal 1 binary64)))
(-.f64 (/.f64 (pow.f64 (*.f64 y x) #s(literal 2 binary64)) (-.f64 (*.f64 y x) #s(approx (- 1 y) #s(literal 1 binary64)))) (/.f64 (pow.f64 #s(approx (- 1 y) #s(literal 1 binary64)) #s(literal 2 binary64)) (-.f64 (*.f64 y x) #s(approx (- 1 y) #s(literal 1 binary64)))))
(-.f64 #s(approx (- 1 y) #s(literal 1 binary64)) (*.f64 (neg.f64 y) x))
(-.f64 #s(approx (- 1 y) #s(literal 1 binary64)) (*.f64 (neg.f64 x) y))
(+.f64 (/.f64 (pow.f64 (*.f64 y x) #s(literal 3 binary64)) (fma.f64 #s(approx (- 1 y) #s(literal 1 binary64)) (-.f64 #s(approx (- 1 y) #s(literal 1 binary64)) (*.f64 y x)) (pow.f64 (*.f64 y x) #s(literal 2 binary64)))) (/.f64 (pow.f64 #s(approx (- 1 y) #s(literal 1 binary64)) #s(literal 3 binary64)) (fma.f64 #s(approx (- 1 y) #s(literal 1 binary64)) (-.f64 #s(approx (- 1 y) #s(literal 1 binary64)) (*.f64 y x)) (pow.f64 (*.f64 y x) #s(literal 2 binary64)))))
(+.f64 #s(approx (- 1 y) #s(literal 1 binary64)) (*.f64 y x))
(+.f64 (*.f64 y x) #s(approx (- 1 y) #s(literal 1 binary64)))
#s(approx (- 1 y) #s(literal 1 binary64))
#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 (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 (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 (-.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))

eval5.0ms (0.1%)

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

Compiled 1 157 to 144 computations (87.6% saved)

prune8.0ms (0.2%)

Memory
-33.5MiB live, 11.7MiB allocated; 4ms collecting garbage
Pruning

7 alts after pruning (0 fresh and 7 done)

PrunedKeptTotal
New47047
Fresh000
Picked033
Done044
Total47754
Accuracy
100.0%
Counts
54 → 7
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)))
60.0%
#s(approx (+ x (* (- 1 x) (- 1 y))) (fma.f64 y x (neg.f64 y)))
74.1%
#s(approx (+ x (* (- 1 x) (- 1 y))) (fma.f64 y x #s(approx (- 1 y) #s(literal 1 binary64))))
64.8%
#s(approx (+ x (* (- 1 x) (- 1 y))) (-.f64 #s(literal 1 binary64) y))
35.4%
#s(approx (+ x (* (- 1 x) (- 1 y))) (*.f64 y x))
25.9%
#s(approx (+ x (* (- 1 x) (- 1 y))) #s(approx (- (* y x) y) (neg.f64 y)))
40.8%
#s(approx (+ x (* (- 1 x) (- 1 y))) #s(literal 1 binary64))
Compiler

Compiled 232 to 102 computations (56% saved)

regimes12.0ms (0.4%)

Memory
32.6MiB live, 32.6MiB allocated; 0ms collecting garbage
Counts
9 → 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))) (fma.f64 y x #s(approx (- 1 y) #s(literal 1 binary64))))
#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:

3.0ms
y
3.0ms
x
3.0ms
(-.f64 #s(literal 1 binary64) y)
3.0ms
(+.f64 x (*.f64 (-.f64 #s(literal 1 binary64) x) (-.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)

regimes17.0ms (0.5%)

Memory
-33.8MiB live, 26.6MiB allocated; 7ms collecting garbage
Counts
7 → 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))) (fma.f64 y x #s(approx (- 1 y) #s(literal 1 binary64))))
#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))) (fma.f64 y x (neg.f64 y)))
#s(approx (+ x (* (- 1 x) (- 1 y))) (fma.f64 y x #s(approx (- 1 y) #s(literal 1 binary64))))
#s(approx (+ x (* (- 1 x) (- 1 y))) (fma.f64 y x (neg.f64 y)))
Calls

4 calls:

9.0ms
x
3.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
98.4%3(-.f64 #s(literal 1 binary64) y)
98.4%3(+.f64 x (*.f64 (-.f64 #s(literal 1 binary64) x) (-.f64 #s(literal 1 binary64) y)))
97.8%3x
98.4%3y
Compiler

Compiled 14 to 15 computations (-7.1% saved)

regimes7.0ms (0.2%)

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

3 calls:

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
98.4%3y
98.4%3(-.f64 #s(literal 1 binary64) y)
98.4%3(+.f64 x (*.f64 (-.f64 #s(literal 1 binary64) x) (-.f64 #s(literal 1 binary64) y)))
Compiler

Compiled 13 to 13 computations (0% saved)

regimes10.0ms (0.3%)

Memory
-25.6MiB live, 21.7MiB allocated; 3ms 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))) (fma.f64 y x #s(approx (- 1 y) #s(literal 1 binary64))))
Outputs
#s(approx (+ x (* (- 1 x) (- 1 y))) (fma.f64 y x #s(approx (- 1 y) #s(literal 1 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 #s(approx (- 1 y) #s(literal 1 binary64))))
Calls

4 calls:

3.0ms
(-.f64 #s(literal 1 binary64) y)
2.0ms
y
2.0ms
x
2.0ms
(+.f64 x (*.f64 (-.f64 #s(literal 1 binary64) x) (-.f64 #s(literal 1 binary64) y)))
Results
AccuracySegmentsBranch
97.8%3x
76.4%2y
76.4%2(-.f64 #s(literal 1 binary64) y)
85.8%5(+.f64 x (*.f64 (-.f64 #s(literal 1 binary64) x) (-.f64 #s(literal 1 binary64) y)))
Compiler

Compiled 14 to 15 computations (-7.1% saved)

regimes2.0ms (0.1%)

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

1 calls:

2.0ms
x
Results
AccuracySegmentsBranch
84.8%3x
Compiler

Compiled 1 to 2 computations (-100% saved)

regimes6.0ms (0.2%)

Memory
16.3MiB live, 16.3MiB allocated; 0ms 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.8%1(-.f64 #s(literal 1 binary64) y)
64.8%1y
64.8%1(+.f64 x (*.f64 (-.f64 #s(literal 1 binary64) x) (-.f64 #s(literal 1 binary64) y)))
64.8%1x
Compiler

Compiled 14 to 15 computations (-7.1% saved)

regimes6.0ms (0.2%)

Memory
-32.0MiB live, 15.2MiB allocated; 1ms 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:

2.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.4%3(+.f64 x (*.f64 (-.f64 #s(literal 1 binary64) x) (-.f64 #s(literal 1 binary64) y)))
63.4%3y
44.7%3x
63.4%3(-.f64 #s(literal 1 binary64) y)
Compiler

Compiled 14 to 15 computations (-7.1% saved)

regimes4.0ms (0.1%)

Memory
13.5MiB live, 13.5MiB 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
(+.f64 x (*.f64 (-.f64 #s(literal 1 binary64) x) (-.f64 #s(literal 1 binary64) y)))
1.0ms
x
1.0ms
y
1.0ms
(-.f64 #s(literal 1 binary64) y)
Results
AccuracySegmentsBranch
40.8%1x
40.8%1(+.f64 x (*.f64 (-.f64 #s(literal 1 binary64) x) (-.f64 #s(literal 1 binary64) y)))
40.8%1y
40.8%1(-.f64 #s(literal 1 binary64) y)
Compiler

Compiled 14 to 15 computations (-7.1% saved)

bsearch1.0ms (0%)

Memory
1.2MiB live, 1.2MiB allocated; 0ms collecting garbage
Algorithm
left-value
Steps
TimeLeftRight
0.0ms
1.0020427028648555
1510659289.6776478
0.0ms
-1.9268996080911869
0.0
Compiler

Compiled 12 to 12 computations (0% saved)

bsearch0.0ms (0%)

Memory
0.8MiB live, 0.8MiB allocated; 0ms collecting garbage
Algorithm
left-value
Steps
TimeLeftRight
0.0ms
1.0020427028648555
1510659289.6776478
0.0ms
-1.9268996080911869
0.0
Compiler

Compiled 12 to 12 computations (0% saved)

bsearch27.0ms (0.8%)

Memory
8.1MiB live, 55.0MiB allocated; 2ms collecting garbage
Algorithm
binary-search
Stop Event
narrow-enough
narrow-enough
Steps
TimeLeftRight
14.0ms
3.8110951399487364e-7
31177.62545276775
10.0ms
-172.3380623548953
-0.07438318198682208
Samples
14.0ms288×0valid
Compiler

Compiled 570 to 426 computations (25.3% saved)

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

bsearch38.0ms (1.1%)

Memory
-17.1MiB live, 80.3MiB allocated; 7ms collecting garbage
Algorithm
binary-search
Stop Event
narrow-enough
narrow-enough
Steps
TimeLeftRight
13.0ms
2.593285688276289e+33
1.9141340678053294e+34
22.0ms
-8.33939929819224e+117
-4.06868547333553e+96
Samples
13.0ms121×1valid
9.0ms151×0valid
Compiler

Compiled 454 to 369 computations (18.7% saved)

Precisions
Click to see histograms. Total time spent on operations: 13.0ms
adjust: 4.0ms (31% of total)
ival-sub: 4.0ms (31% of total)
ival-mult: 3.0ms (23.3% of total)
ival-add: 2.0ms (15.5% of total)
ival-assert: 0.0ms (0% of total)
ival-true: 0.0ms (0% of total)
exact: 0.0ms (0% of total)

bsearch1.0ms (0%)

Memory
1.4MiB live, 1.4MiB allocated; 0ms collecting garbage
Algorithm
left-value
Steps
TimeLeftRight
0.0ms
1.0000000014235875
9339.666330329856
0.0ms
-1.9268996080911869
0.4464640619943091
Compiler

Compiled 12 to 13 computations (-8.3% saved)

simplify36.0ms (1.1%)

Memory
-2.6MiB live, 44.5MiB allocated; 3ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
051273
180273
296273
3132273
4334273
52575273
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 -1 binary64)) #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 2 binary64)) #s(approx (+ x (* (- 1 x) (- 1 y))) (fma.f64 y x #s(approx (- 1 y) #s(literal 1 binary64)))) #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 -1 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 2 binary64)) #s(approx (+ x (* (- 1 x) (- 1 y))) (fma.f64 y x #s(approx (- 1 y) #s(literal 1 binary64)))) #s(approx (+ x (* (- 1 x) (- 1 y))) (-.f64 (*.f64 y x) y))))
(if (<=.f64 x #s(literal -1 binary64)) #s(approx (+ x (* (- 1 x) (- 1 y))) (fma.f64 y x #s(approx (- 1 y) #s(literal 1 binary64)))) (if (<=.f64 x #s(literal 1 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 #s(approx (- 1 y) #s(literal 1 binary64))))))
(if (<=.f64 x #s(literal -4099999999999999979147692464704071553642392357394501302134978850038871041138478397280496935501824 binary64)) #s(approx (+ x (* (- 1 x) (- 1 y))) (*.f64 y x)) (if (<=.f64 x #s(literal 2599999999999999743203450105626624 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 (-.f64 #s(literal 1 binary64) y) #s(literal -1 binary64)) #s(approx (+ x (* (- 1 x) (- 1 y))) #s(approx (- (* y x) y) (neg.f64 y))) (if (<=.f64 (-.f64 #s(literal 1 binary64) y) #s(literal 2 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 -1 binary64)) #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 2 binary64)) #s(approx (+ x (* (- 1 x) (- 1 y))) (fma.f64 y x #s(approx (- 1 y) #s(literal 1 binary64)))) #s(approx (+ x (* (- 1 x) (- 1 y))) (fma.f64 y x (neg.f64 y)))))
(if (or (<=.f64 (+.f64 x (*.f64 (-.f64 #s(literal 1 binary64) x) (-.f64 #s(literal 1 binary64) y))) #s(literal -1 binary64)) (not (<=.f64 (+.f64 x (*.f64 (-.f64 #s(literal 1 binary64) x) (-.f64 #s(literal 1 binary64) y))) #s(literal 2 binary64)))) #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 #s(approx (- 1 y) #s(literal 1 binary64)))))
(if (<=.f64 (+.f64 x (*.f64 (-.f64 #s(literal 1 binary64) x) (-.f64 #s(literal 1 binary64) y))) #s(literal -1 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 2 binary64)) #s(approx (+ x (* (- 1 x) (- 1 y))) (fma.f64 y x #s(approx (- 1 y) #s(literal 1 binary64)))) #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 -1 binary64)) (not (<=.f64 (+.f64 x (*.f64 (-.f64 #s(literal 1 binary64) x) (-.f64 #s(literal 1 binary64) y))) #s(literal 2 binary64)))) #s(approx (+ x (* (- 1 x) (- 1 y))) (-.f64 (*.f64 y x) y)) #s(approx (+ x (* (- 1 x) (- 1 y))) (fma.f64 y x #s(approx (- 1 y) #s(literal 1 binary64)))))
(if (<=.f64 x #s(literal -1 binary64)) #s(approx (+ x (* (- 1 x) (- 1 y))) (fma.f64 y x #s(approx (- 1 y) #s(literal 1 binary64)))) (if (<=.f64 x #s(literal 1 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 #s(approx (- 1 y) #s(literal 1 binary64))))))
(if (or (<=.f64 x #s(literal -1 binary64)) (not (<=.f64 x #s(literal 1 binary64)))) #s(approx (+ x (* (- 1 x) (- 1 y))) (fma.f64 y x #s(approx (- 1 y) #s(literal 1 binary64)))) #s(approx (+ x (* (- 1 x) (- 1 y))) (-.f64 #s(literal 1 binary64) y)))
(if (<=.f64 x #s(literal -4099999999999999979147692464704071553642392357394501302134978850038871041138478397280496935501824 binary64)) #s(approx (+ x (* (- 1 x) (- 1 y))) (*.f64 y x)) (if (<=.f64 x #s(literal 2599999999999999743203450105626624 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 -4099999999999999979147692464704071553642392357394501302134978850038871041138478397280496935501824 binary64)) (not (<=.f64 x #s(literal 2599999999999999743203450105626624 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 (-.f64 #s(literal 1 binary64) y) #s(literal -1 binary64)) #s(approx (+ x (* (- 1 x) (- 1 y))) #s(approx (- (* y x) y) (neg.f64 y))) (if (<=.f64 (-.f64 #s(literal 1 binary64) y) #s(literal 2 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 (-.f64 #s(literal 1 binary64) y) #s(literal -1 binary64)) (not (<=.f64 (-.f64 #s(literal 1 binary64) y) #s(literal 2 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))

derivations427.0ms (12.7%)

Memory
-3.4MiB live, 331.1MiB allocated; 25ms collecting garbage
Stop Event
done
Compiler

Compiled 273 to 55 computations (79.9% saved)

preprocess87.0ms (2.6%)

Memory
37.0MiB live, 108.3MiB allocated; 13ms collecting garbage
Compiler

Compiled 578 to 136 computations (76.5% saved)

end0.0ms (0%)

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

Profiling

Loading profile data...