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

Time bar (total: 3.3s)

start0.0ms (0%)

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

analyze0.0ms (0%)

Memory
0.4MiB live, 0.4MiB allocated; 0ms collecting garbage
Algorithm
search
Search
ProbabilityValidUnknownPreconditionInfiniteDomainCan'tIter
0%0%99.9%0.1%0%0%0%0
100%99.9%0%0.1%0%0%0%1
Compiler

Compiled 11 to 9 computations (18.2% saved)

sample1.1s (32.6%)

Memory
49.1MiB live, 1 418.2MiB allocated; 199ms collecting garbage
Samples
443.0ms6 298×0valid
342.0ms1 957×1valid
0.0ms2valid
Precisions
Click to see histograms. Total time spent on operations: 506.0ms
ival-sub: 176.0ms (34.8% of total)
ival-add: 143.0ms (28.2% of total)
adjust: 109.0ms (21.5% of total)
ival-mult: 64.0ms (12.6% of total)
ival-true: 6.0ms (1.2% of total)
exact: 5.0ms (1% of total)
ival-assert: 3.0ms (0.6% of total)
Bogosity

explain124.0ms (3.8%)

Memory
-7.8MiB live, 147.4MiB allocated; 15ms collecting garbage
FPErrors
Click to see full error table
Ground TruthOverpredictionsExampleUnderpredictionsExampleSubexpression
672(-19439.977302435585 2.9004724282062234e-60)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)))cancellation690
Confusion
Predicted +Predicted -
+670
-2187
Precision
0.9710144927536232
Recall
1.0
Confusion?
Predicted +Predicted MaybePredicted -
+6700
-20187
Precision?
0.9710144927536232
Recall?
1.0
Freqs
test
numberfreq
0187
169
Total Confusion?
Predicted +Predicted MaybePredicted -
+100
-000
Precision?
1.0
Recall?
1.0
Samples
45.0ms376×0valid
20.0ms136×1valid
Compiler

Compiled 63 to 25 computations (60.3% saved)

Precisions
Click to see histograms. Total time spent on operations: 49.0ms
ival-mult: 30.0ms (60.9% of total)
ival-sub: 10.0ms (20.3% of total)
adjust: 5.0ms (10.2% of total)
ival-add: 3.0ms (6.1% of total)
ival-assert: 0.0ms (0% of total)
ival-true: 0.0ms (0% of total)
exact: 0.0ms (0% of total)

preprocess176.0ms (5.4%)

Memory
-10.6MiB live, 226.0MiB allocated; 24ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

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

Compiled 9 to 7 computations (22.2% saved)

eval0.0ms (0%)

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

Compiled 0 to 2 computations (-∞% saved)

prune0.0ms (0%)

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

Compiled 9 to 7 computations (22.2% saved)

simplify150.0ms (4.6%)

Memory
1.2MiB live, 188.0MiB allocated; 21ms 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
30.3MiB live, 74.4MiB allocated; 6ms 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))
accuracy15.79535771207583
(+.f64 x (*.f64 (-.f64 #s(literal 1 binary64) x) (-.f64 #s(literal 1 binary64) y)))
Samples
11.0ms68×1valid
9.0ms188×0valid
Compiler

Compiled 27 to 9 computations (66.7% saved)

Precisions
Click to see histograms. Total time spent on operations: 12.0ms
adjust: 5.0ms (40.6% of total)
ival-sub: 3.0ms (24.4% of total)
ival-mult: 2.0ms (16.3% of total)
ival-add: 2.0ms (16.3% of total)
ival-assert: 0.0ms (0% of total)
ival-true: 0.0ms (0% of total)
exact: 0.0ms (0% of total)

series42.0ms (1.3%)

Memory
-44.4MiB live, 17.0MiB 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
39.0ms
x
@-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
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))

simplify186.0ms (5.7%)

Memory
15.5MiB live, 210.3MiB allocated; 74ms 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))

rewrite45.0ms (1.4%)

Memory
1.2MiB live, 96.9MiB allocated; 11ms 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)

eval8.0ms (0.3%)

Memory
-24.2MiB live, 23.0MiB allocated; 1ms collecting garbage
Compiler

Compiled 1 244 to 245 computations (80.3% saved)

prune3.0ms (0.1%)

Memory
8.7MiB live, 8.7MiB 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)))
64.2%
#s(approx (+ x (* (- 1 x) (- 1 y))) (-.f64 (*.f64 y x) y))
60.3%
#s(approx (+ x (* (- 1 x) (- 1 y))) (-.f64 #s(literal 1 binary64) y))
41.3%
#s(approx (+ x (* (- 1 x) (- 1 y))) (*.f64 y x))
37.7%
#s(approx (+ x (* (- 1 x) (- 1 y))) #s(literal 1 binary64))
Compiler

Compiled 136 to 98 computations (27.9% saved)

simplify120.0ms (3.7%)

Memory
1.6MiB live, 144.9MiB allocated; 12ms 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

localize55.0ms (1.7%)

Memory
-6.7MiB live, 94.0MiB allocated; 9ms collecting garbage
Localize:

Found 11 expressions of interest:

NewMetricScoreProgram
accuracy0.0
(*.f64 y x)
accuracy0.010097509768442016
(-.f64 (*.f64 y x) y)
accuracy22.899557953621354
#s(approx (+ x (* (- 1 x) (- 1 y))) (-.f64 (*.f64 y x) y))
accuracy0.0
(*.f64 y x)
accuracy37.56835080024263
#s(approx (+ x (* (- 1 x) (- 1 y))) (*.f64 y x))
accuracy0.0
(-.f64 #s(literal 1 binary64) y)
accuracy25.37720270010225
#s(approx (+ x (* (- 1 x) (- 1 y))) (-.f64 #s(literal 1 binary64) y))
accuracy39.889987721178414
#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
16.0ms188×0valid
13.0ms68×1valid
Compiler

Compiled 81 to 12 computations (85.2% saved)

Precisions
Click to see histograms. Total time spent on operations: 18.0ms
ival-sub: 7.0ms (39% of total)
adjust: 4.0ms (22.3% of total)
ival-mult: 4.0ms (22.3% of total)
ival-add: 3.0ms (16.7% 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
15.0MiB live, 15.0MiB 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))

simplify118.0ms (3.6%)

Memory
0.9MiB live, 191.9MiB allocated; 11ms 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)))

rewrite52.0ms (1.6%)

Memory
-1.1MiB live, 45.9MiB allocated; 2ms 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)

eval6.0ms (0.2%)

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

Compiled 1 366 to 181 computations (86.7% saved)

prune22.0ms (0.7%)

Memory
-35.1MiB live, 12.4MiB allocated; 1ms collecting garbage
Pruning

7 alts after pruning (2 fresh and 5 done)

PrunedKeptTotal
New58260
Fresh000
Picked055
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)))
77.0%
#s(approx (+ x (* (- 1 x) (- 1 y))) (fma.f64 y x #s(approx (- 1 y) #s(literal 1 binary64))))
64.2%
#s(approx (+ x (* (- 1 x) (- 1 y))) (-.f64 (*.f64 y x) y))
60.3%
#s(approx (+ x (* (- 1 x) (- 1 y))) (-.f64 #s(literal 1 binary64) y))
41.3%
#s(approx (+ x (* (- 1 x) (- 1 y))) (*.f64 y x))
25.5%
#s(approx (+ x (* (- 1 x) (- 1 y))) #s(approx (- (* y x) y) (neg.f64 y)))
37.7%
#s(approx (+ x (* (- 1 x) (- 1 y))) #s(literal 1 binary64))
Compiler

Compiled 104 to 72 computations (30.8% saved)

simplify123.0ms (3.8%)

Memory
28.3MiB live, 171.6MiB allocated; 19ms collecting garbage
Localize:

Found 6 expressions of interest:

NewMetricScoreProgram
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
01563
01763
12663
24263
37463
418063
576059
6765059
0807557
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)
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)

localize52.0ms (1.6%)

Memory
9.3MiB live, 56.0MiB allocated; 1ms collecting garbage
Localize:

Found 6 expressions of interest:

NewMetricScoreProgram
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.287281198871625
#s(approx (- 1 y) #s(literal 1 binary64))
accuracy0.0
(neg.f64 y)
accuracy22.899557953621354
#s(approx (+ x (* (- 1 x) (- 1 y))) #s(approx (- (* y x) y) (neg.f64 y)))
accuracy34.77886659851261
#s(approx (- (* y x) y) (neg.f64 y))
Samples
30.0ms68×1valid
14.0ms188×0valid
Compiler

Compiled 41 to 13 computations (68.3% saved)

Precisions
Click to see histograms. Total time spent on operations: 17.0ms
ival-sub: 5.0ms (29.6% of total)
adjust: 4.0ms (23.7% of total)
ival-mult: 4.0ms (23.7% of total)
ival-add: 3.0ms (17.8% of total)
ival-neg: 1.0ms (5.9% of total)
ival-assert: 0.0ms (0% of total)
ival-true: 0.0ms (0% of total)
exact: 0.0ms (0% of total)

series23.0ms (0.7%)

Memory
-39.9MiB live, 7.1MiB allocated; 2ms collecting garbage
Counts
6 → 35
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))
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 (+ 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 (+ 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 (+ 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 (+ 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))))))
Calls

6 calls:

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

simplify149.0ms (4.6%)

Memory
2.7MiB live, 194.0MiB allocated; 14ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0109526
1260508
2668475
32114401
08987367
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) 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 (+ 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 (+ 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 (+ 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 (+ 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))))))
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) 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 (+ (* 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 (+ 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) 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 (+ (* 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 (+ 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) y) (fma.f64 y x (neg.f64 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 (+ 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) y) (fma.f64 y x (neg.f64 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 (+ 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) y) #s(hole binary64 (* -1 (* y (+ 1 (* -1 x))))))
#s(approx (- (* y x) y) (fma.f64 y x (neg.f64 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))

rewrite45.0ms (1.4%)

Memory
7.4MiB live, 61.3MiB allocated; 2ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01559
01759
18059
064357
Stop Event
iter limit
iter limit
node limit
iter limit
Counts
6 → 19
Calls
Call 1
Inputs
#s(approx (+ x (* (- 1 x) (- 1 y))) #s(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))
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))

eval3.0ms (0.1%)

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

Compiled 721 to 91 computations (87.4% saved)

prune4.0ms (0.1%)

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

7 alts after pruning (0 fresh and 7 done)

PrunedKeptTotal
New29029
Fresh000
Picked022
Done055
Total29736
Accuracy
100.0%
Counts
36 → 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)))
77.0%
#s(approx (+ x (* (- 1 x) (- 1 y))) (fma.f64 y x #s(approx (- 1 y) #s(literal 1 binary64))))
64.2%
#s(approx (+ x (* (- 1 x) (- 1 y))) (-.f64 (*.f64 y x) y))
60.3%
#s(approx (+ x (* (- 1 x) (- 1 y))) (-.f64 #s(literal 1 binary64) y))
41.3%
#s(approx (+ x (* (- 1 x) (- 1 y))) (*.f64 y x))
25.5%
#s(approx (+ x (* (- 1 x) (- 1 y))) #s(approx (- (* y x) y) (neg.f64 y)))
37.7%
#s(approx (+ x (* (- 1 x) (- 1 y))) #s(literal 1 binary64))
Compiler

Compiled 217 to 100 computations (53.9% saved)

regimes21.0ms (0.6%)

Memory
-24.0MiB live, 23.1MiB allocated; 2ms collecting garbage
Counts
8 → 1
Calls
Call 1
Inputs
#s(approx (+ x (* (- 1 x) (- 1 y))) #s(literal 1 binary64))
#s(approx (+ x (* (- 1 x) (- 1 y))) #s(approx (- (* y x) y) (neg.f64 y)))
#s(approx (+ x (* (- 1 x) (- 1 y))) (-.f64 #s(literal 1 binary64) y))
#s(approx (+ x (* (- 1 x) (- 1 y))) (*.f64 y x))
#s(approx (+ x (* (- 1 x) (- 1 y))) (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 (-.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:

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

regimes9.0ms (0.3%)

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

4 calls:

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

Compiled 14 to 15 computations (-7.1% saved)

regimes8.0ms (0.3%)

Memory
16.9MiB live, 16.9MiB allocated; 0ms 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:

2.0ms
y
2.0ms
x
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
99.2%3x
79.7%2(-.f64 #s(literal 1 binary64) y)
84.6%3(+.f64 x (*.f64 (-.f64 #s(literal 1 binary64) x) (-.f64 #s(literal 1 binary64) y)))
79.7%2y
Compiler

Compiled 14 to 15 computations (-7.1% saved)

regimes2.0ms (0.1%)

Memory
4.0MiB live, 4.0MiB 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
85.9%3x
Compiler

Compiled 1 to 2 computations (-100% saved)

regimes18.0ms (0.5%)

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

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

Compiled 14 to 15 computations (-7.1% saved)

regimes5.0ms (0.2%)

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

4 calls:

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

Compiled 14 to 15 computations (-7.1% saved)

regimes4.0ms (0.1%)

Memory
11.2MiB live, 11.2MiB allocated; 0ms collecting garbage
Accuracy

Total 0.0b remaining (0%)

Threshold costs 0b (0%)

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

4 calls:

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

Compiled 14 to 15 computations (-7.1% saved)

bsearch42.0ms (1.3%)

Memory
2.8MiB live, 50.0MiB allocated; 1ms collecting garbage
Algorithm
binary-search
Stop Event
narrow-enough
narrow-enough
Steps
TimeLeftRight
16.0ms
2.250464523596032e-16
4.7715613163816656e-8
22.0ms
-1.0638793878491225e+24
-6215606860188525000.0
Samples
20.0ms212×0valid
8.0ms76×1valid
Compiler

Compiled 606 to 426 computations (29.7% saved)

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

bsearch34.0ms (1%)

Memory
-6.5MiB live, 43.2MiB allocated; 4ms collecting garbage
Algorithm
binary-search
Stop Event
narrow-enough
narrow-enough
Steps
TimeLeftRight
12.0ms
3.9947925729479136e-16
0.8267010268873837
19.0ms
-1453070.7269600646
-19439.977302435585
Samples
21.0ms272×0valid
Compiler

Compiled 539 to 403 computations (25.2% saved)

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

bsearch40.0ms (1.2%)

Memory
1.5MiB live, 48.8MiB allocated; 1ms collecting garbage
Algorithm
binary-search
Stop Event
narrow-enough
narrow-enough
Steps
TimeLeftRight
15.0ms
1.2605775012160307e+36
3.0973283554757683e+41
21.0ms
-1453070.7269600646
-19439.977302435585
Samples
20.0ms161×0valid
8.0ms79×1valid
Compiler

Compiled 428 to 348 computations (18.7% saved)

Precisions
Click to see histograms. Total time spent on operations: 22.0ms
ival-add: 14.0ms (63% of total)
adjust: 3.0ms (13.5% of total)
ival-sub: 3.0ms (13.5% of total)
ival-mult: 2.0ms (9% 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
0.7MiB live, 0.7MiB allocated; 0ms collecting garbage
Algorithm
left-value
Steps
TimeLeftRight
0.0ms
1.2173985728573928
951840438056953.0
0.0ms
0.9999999522843869
0.9999999999999998
Compiler

Compiled 12 to 13 computations (-8.3% saved)

simplify50.0ms (1.5%)

Memory
9.3MiB live, 56.6MiB allocated; 1ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
048199
175199
288199
3123199
4325199
52568199
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 y #s(literal -6300000000000000000 binary64)) #s(approx (+ x (* (- 1 x) (- 1 y))) (-.f64 (*.f64 y x) y)) (if (<=.f64 y #s(literal 3551219595117973/75557863725914323419136 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 -20000 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 7385903388887613/9007199254740992 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 -1450000 binary64)) #s(approx (+ x (* (- 1 x) (- 1 y))) (*.f64 y x)) (if (<=.f64 x #s(literal 137999999999999991982096414184895938560 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 4503599447226511/4503599627370496 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 y #s(literal -6300000000000000000 binary64)) #s(approx (+ x (* (- 1 x) (- 1 y))) (-.f64 (*.f64 y x) y)) (if (<=.f64 y #s(literal 3551219595117973/75557863725914323419136 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 y #s(literal -6300000000000000000 binary64)) (not (<=.f64 y #s(literal 3551219595117973/75557863725914323419136 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 -20000 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 7385903388887613/9007199254740992 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 -20000 binary64)) (not (<=.f64 x #s(literal 7385903388887613/9007199254740992 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 -1450000 binary64)) #s(approx (+ x (* (- 1 x) (- 1 y))) (*.f64 y x)) (if (<=.f64 x #s(literal 137999999999999991982096414184895938560 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 -1450000 binary64)) (not (<=.f64 x #s(literal 137999999999999991982096414184895938560 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 4503599447226511/4503599627370496 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 4503599447226511/4503599627370496 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))

derivations391.0ms (12%)

Memory
-41.0MiB live, 295.4MiB allocated; 25ms collecting garbage
Stop Event
done
Compiler

Compiled 199 to 53 computations (73.4% saved)

preprocess40.0ms (1.2%)

Memory
2.8MiB live, 95.1MiB allocated; 9ms collecting garbage
Compiler

Compiled 430 to 132 computations (69.3% saved)

end0.0ms (0%)

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

Profiling

Loading profile data...