Data.Random.Distribution.T:$ccdf from random-fu-0.2.6.2

Time bar (total: 3.1s)

start0.0ms (0%)

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

analyze75.0ms (2.4%)

Memory
-33.9MiB live, 22.9MiB allocated; 24ms collecting garbage
Algorithm
search
Search
ProbabilityValidUnknownPreconditionInfiniteDomainCan'tIter
0%0%99.9%0.1%0%0%0%0
0%0%99.9%0.1%0%0%0%1
0%0%99.9%0.1%0%0%0%2
50%50%50%0.1%0%0%0%3
50%50%50%0.1%0%0%0%4
75%74.9%25%0.1%0%0%0%5
75%74.9%25%0.1%0%0%0%6
87.5%87.4%12.5%0.1%0%0%0%7
87.5%87.4%12.5%0.1%0%0%0%8
93.8%93.7%6.2%0.1%0%0%0%9
93.8%93.7%6.2%0.1%0%0%0%10
96.9%96.8%3.1%0.1%0%0%0%11
96.9%96.8%3.1%0.1%0%0%0%12
Compiler

Compiled 9 to 7 computations (22.2% saved)

sample908.0ms (29.3%)

Memory
20.3MiB live, 1 450.7MiB allocated; 204ms collecting garbage
Samples
604.0ms8 256×0valid
Precisions
Click to see histograms. Total time spent on operations: 317.0ms
ival-add: 180.0ms (56.8% of total)
ival-div: 125.0ms (39.4% of total)
ival-true: 6.0ms (1.9% of total)
ival-assert: 3.0ms (0.9% of total)
adjust: 2.0ms (0.6% of total)
Bogosity

explain60.0ms (1.9%)

Memory
-6.2MiB live, 136.2MiB allocated; 24ms collecting garbage
FPErrors
Click to see full error table
Ground TruthOverpredictionsExampleUnderpredictionsExampleSubexpression
00-0-(+.f64 y y)
00-0-(/.f64 (+.f64 x y) (+.f64 y y))
00-0-y
00-0-(+.f64 x y)
00-0-x
Confusion
Predicted +Predicted -
+00
-0256
Precision
0/0
Recall
0/0
Confusion?
Predicted +Predicted MaybePredicted -
+000
-00256
Precision?
0/0
Recall?
0/0
Freqs
test
numberfreq
0256
Total Confusion?
Predicted +Predicted MaybePredicted -
+000
-001
Precision?
0/0
Recall?
0/0
Samples
21.0ms512×0valid
Compiler

Compiled 41 to 19 computations (53.7% saved)

Precisions
Click to see histograms. Total time spent on operations: 9.0ms
ival-add: 5.0ms (54.1% of total)
ival-div: 4.0ms (43.3% of total)
ival-true: 0.0ms (0% of total)
adjust: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

preprocess186.0ms (6%)

Memory
10.1MiB live, 193.2MiB allocated; 42ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01748
14346
211546
327742
460042
5144242
6489242
057
087
1147
2247
3417
4737
51727
612517
776997
080157
Stop Event
iter limit
node limit
iter limit
node limit
Calls
Call 1
Inputs
(/.f64 (+.f64 x y) (+.f64 y y))
Outputs
(/.f64 (+.f64 x y) (+.f64 y y))
(/.f64 (+.f64 y x) (*.f64 #s(literal 2 binary64) y))
Compiler

Compiled 7 to 5 computations (28.6% saved)

eval0.0ms (0%)

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

Compiled 0 to 2 computations (-∞% saved)

prune0.0ms (0%)

Memory
0.7MiB live, 0.7MiB allocated; 0ms collecting garbage
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(/.f64 (+.f64 x y) (+.f64 y y))
Compiler

Compiled 7 to 5 computations (28.6% saved)

simplify191.0ms (6.2%)

Memory
-15.5MiB live, 196.9MiB allocated; 77ms collecting garbage
Localize:

Found 3 expressions of interest:

NewMetricScoreProgram
cost-diff0
(+.f64 y y)
cost-diff0
(+.f64 x y)
cost-diff0
(/.f64 (+.f64 x y) (+.f64 y y))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0515
0815
11415
22415
34115
47315
517215
6125115
7769915
0801515
Stop Event
iter limit
node limit
iter limit
Calls
Call 1
Inputs
(/.f64 (+.f64 x y) (+.f64 y y))
(+.f64 x y)
x
y
(+.f64 y y)
Outputs
(/.f64 (+.f64 x y) (+.f64 y y))
(/.f64 (+.f64 y x) (*.f64 #s(literal 2 binary64) y))
(+.f64 x y)
(+.f64 y x)
x
y
(+.f64 y y)
(*.f64 #s(literal 2 binary64) y)

localize28.0ms (0.9%)

Memory
20.4MiB live, 67.0MiB allocated; 3ms collecting garbage
Localize:

Found 3 expressions of interest:

NewMetricScoreProgram
accuracy0.0
(+.f64 y y)
accuracy0.0
(+.f64 x y)
accuracy0.0078125
(/.f64 (+.f64 x y) (+.f64 y y))
Samples
20.0ms256×0valid
Compiler

Compiled 17 to 7 computations (58.8% saved)

Precisions
Click to see histograms. Total time spent on operations: 8.0ms
ival-add: 4.0ms (48.9% of total)
ival-div: 3.0ms (36.7% of total)
ival-true: 0.0ms (0% of total)
adjust: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

series11.0ms (0.4%)

Memory
-29.3MiB live, 16.8MiB allocated; 6ms collecting garbage
Counts
3 → 13
Calls
Call 1
Inputs
(/.f64 (+.f64 x y) (+.f64 y y))
(+.f64 x y)
(+.f64 y y)
Outputs
#s(approx (/ (+ x y) (+ y y)) #s(hole binary64 1/2))
#s(approx (/ (+ x y) (+ y y)) #s(hole binary64 (+ 1/2 (* 1/2 (/ x y)))))
#s(approx (+ x y) #s(hole binary64 y))
#s(approx (+ x y) #s(hole binary64 (+ x y)))
#s(approx (/ (+ x y) (+ y y)) #s(hole binary64 (* 1/2 (/ x y))))
#s(approx (/ (+ x y) (+ y y)) #s(hole binary64 (* x (+ (* 1/2 (/ 1 x)) (* 1/2 (/ 1 y))))))
#s(approx (+ x y) #s(hole binary64 x))
#s(approx (+ x y) #s(hole binary64 (* x (+ 1 (/ y x)))))
#s(approx (+ x y) #s(hole binary64 (* -1 (* x (- (* -1 (/ y x)) 1)))))
#s(approx (/ (+ x y) (+ y y)) #s(hole binary64 (/ (+ (* 1/2 x) (* 1/2 y)) y)))
#s(approx (+ y y) #s(hole binary64 (* 2 y)))
#s(approx (+ x y) #s(hole binary64 (* y (+ 1 (/ x y)))))
#s(approx (+ x y) #s(hole binary64 (* -1 (* y (- (* -1 (/ x y)) 1)))))
Calls

6 calls:

TimeVariablePointExpression
4.0ms
y
@-inf
((/ (+ x y) (+ y y)) (+ x y) (+ y y))
2.0ms
y
@0
((/ (+ x y) (+ y y)) (+ x y) (+ y y))
2.0ms
y
@inf
((/ (+ x y) (+ y y)) (+ x y) (+ y y))
1.0ms
x
@inf
((/ (+ x y) (+ y y)) (+ x y) (+ y y))
1.0ms
x
@-inf
((/ (+ x y) (+ y y)) (+ x y) (+ y y))

simplify174.0ms (5.6%)

Memory
4.1MiB live, 291.7MiB allocated; 24ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
049119
1123119
2285119
3880119
44137119
08189111
Stop Event
iter limit
node limit
Counts
13 → 13
Calls
Call 1
Inputs
#s(approx (/ (+ x y) (+ y y)) #s(hole binary64 1/2))
#s(approx (/ (+ x y) (+ y y)) #s(hole binary64 (+ 1/2 (* 1/2 (/ x y)))))
#s(approx (+ x y) #s(hole binary64 y))
#s(approx (+ x y) #s(hole binary64 (+ x y)))
#s(approx (/ (+ x y) (+ y y)) #s(hole binary64 (* 1/2 (/ x y))))
#s(approx (/ (+ x y) (+ y y)) #s(hole binary64 (* x (+ (* 1/2 (/ 1 x)) (* 1/2 (/ 1 y))))))
#s(approx (+ x y) #s(hole binary64 x))
#s(approx (+ x y) #s(hole binary64 (* x (+ 1 (/ y x)))))
#s(approx (+ x y) #s(hole binary64 (* -1 (* x (- (* -1 (/ y x)) 1)))))
#s(approx (/ (+ x y) (+ y y)) #s(hole binary64 (/ (+ (* 1/2 x) (* 1/2 y)) y)))
#s(approx (+ y y) #s(hole binary64 (* 2 y)))
#s(approx (+ x y) #s(hole binary64 (* y (+ 1 (/ x y)))))
#s(approx (+ x y) #s(hole binary64 (* -1 (* y (- (* -1 (/ x y)) 1)))))
Outputs
#s(approx (/ (+ x y) (+ y y)) #s(hole binary64 1/2))
#s(approx (/ (+ x y) (+ y y)) #s(literal 1/2 binary64))
#s(approx (/ (+ x y) (+ y y)) #s(hole binary64 (+ 1/2 (* 1/2 (/ x y)))))
#s(approx (/ (+ x y) (+ y y)) (fma.f64 (/.f64 #s(literal 1/2 binary64) y) x #s(literal 1/2 binary64)))
#s(approx (+ x y) #s(hole binary64 y))
#s(approx (+ x y) y)
#s(approx (+ x y) #s(hole binary64 (+ x y)))
#s(approx (+ x y) (+.f64 y x))
#s(approx (/ (+ x y) (+ y y)) #s(hole binary64 (* 1/2 (/ x y))))
#s(approx (/ (+ x y) (+ y y)) (*.f64 (/.f64 x y) #s(literal 1/2 binary64)))
#s(approx (/ (+ x y) (+ y y)) #s(hole binary64 (* x (+ (* 1/2 (/ 1 x)) (* 1/2 (/ 1 y))))))
#s(approx (/ (+ x y) (+ y y)) (fma.f64 (/.f64 #s(literal 1/2 binary64) y) x #s(literal 1/2 binary64)))
#s(approx (+ x y) #s(hole binary64 x))
#s(approx (+ x y) x)
#s(approx (+ x y) #s(hole binary64 (* x (+ 1 (/ y x)))))
#s(approx (+ x y) (+.f64 y x))
#s(approx (+ x y) #s(hole binary64 (* -1 (* x (- (* -1 (/ y x)) 1)))))
#s(approx (+ x y) (+.f64 y x))
#s(approx (/ (+ x y) (+ y y)) #s(hole binary64 (/ (+ (* 1/2 x) (* 1/2 y)) y)))
#s(approx (/ (+ x y) (+ y y)) (fma.f64 (/.f64 #s(literal 1/2 binary64) y) x #s(literal 1/2 binary64)))
#s(approx (+ y y) #s(hole binary64 (* 2 y)))
#s(approx (+ y y) (*.f64 #s(literal 2 binary64) y))
#s(approx (+ x y) #s(hole binary64 (* y (+ 1 (/ x y)))))
#s(approx (+ x y) (+.f64 y x))
#s(approx (+ x y) #s(hole binary64 (* -1 (* y (- (* -1 (/ x y)) 1)))))
#s(approx (+ x y) (+.f64 y x))

rewrite64.0ms (2%)

Memory
40.0MiB live, 127.8MiB allocated; 8ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0513
0813
13613
026713
Stop Event
iter limit
iter limit
iter limit
unsound
iter limit
Counts
3 → 42
Calls
Call 1
Inputs
(/.f64 (+.f64 x y) (+.f64 y y))
(+.f64 x y)
(+.f64 y y)
Outputs
(*.f64 (/.f64 (+.f64 y x) #s(literal 0 binary64)) #s(literal 0 binary64))
(*.f64 (/.f64 (+.f64 y x) (*.f64 #s(literal 2 binary64) (pow.f64 y #s(literal 3 binary64)))) (fma.f64 y y #s(literal 0 binary64)))
(/.f64 (/.f64 (+.f64 y x) #s(literal 2 binary64)) y)
(/.f64 (-.f64 (*.f64 (/.f64 x (*.f64 #s(literal -2 binary64) y)) (/.f64 x (*.f64 #s(literal -2 binary64) y))) (*.f64 (/.f64 y (*.f64 #s(literal -2 binary64) y)) (/.f64 y (*.f64 #s(literal -2 binary64) y)))) (-.f64 (/.f64 x (*.f64 #s(literal -2 binary64) y)) (/.f64 y (*.f64 #s(literal -2 binary64) y))))
(/.f64 (+.f64 (pow.f64 (/.f64 x (*.f64 #s(literal -2 binary64) y)) #s(literal 3 binary64)) (pow.f64 (/.f64 y (*.f64 #s(literal -2 binary64) y)) #s(literal 3 binary64))) (fma.f64 (/.f64 x (*.f64 #s(literal -2 binary64) y)) (/.f64 x (*.f64 #s(literal -2 binary64) y)) (-.f64 (*.f64 (/.f64 y (*.f64 #s(literal -2 binary64) y)) (/.f64 y (*.f64 #s(literal -2 binary64) y))) (*.f64 (/.f64 x (*.f64 #s(literal -2 binary64) y)) (/.f64 y (*.f64 #s(literal -2 binary64) y))))))
(/.f64 (neg.f64 (neg.f64 (+.f64 y x))) (*.f64 #s(literal -2 binary64) y))
(/.f64 (fma.f64 x (*.f64 #s(literal -2 binary64) y) (*.f64 (*.f64 #s(literal -2 binary64) y) y)) (*.f64 (*.f64 #s(literal -2 binary64) y) (*.f64 #s(literal -2 binary64) y)))
(/.f64 (*.f64 (+.f64 y x) (-.f64 x y)) (*.f64 (-.f64 x y) (*.f64 #s(literal -2 binary64) y)))
(/.f64 (+.f64 (pow.f64 y #s(literal 3 binary64)) (pow.f64 x #s(literal 3 binary64))) (*.f64 (fma.f64 y (-.f64 y x) (*.f64 x x)) (*.f64 #s(literal -2 binary64) y)))
(/.f64 (neg.f64 (+.f64 y x)) (*.f64 #s(literal -2 binary64) y))
(/.f64 (+.f64 y x) (*.f64 #s(literal -2 binary64) y))
(neg.f64 (*.f64 (/.f64 (+.f64 y x) #s(literal 0 binary64)) #s(literal 0 binary64)))
(fma.f64 (/.f64 x #s(literal 0 binary64)) #s(literal 0 binary64) (/.f64 y (*.f64 #s(literal -2 binary64) y)))
(fma.f64 (/.f64 x (*.f64 #s(literal 2 binary64) (pow.f64 y #s(literal 3 binary64)))) (fma.f64 y y #s(literal 0 binary64)) (/.f64 y (*.f64 #s(literal -2 binary64) y)))
(fma.f64 (/.f64 y #s(literal 0 binary64)) #s(literal 0 binary64) (/.f64 x (*.f64 #s(literal -2 binary64) y)))
(fma.f64 (/.f64 y (*.f64 #s(literal 2 binary64) (pow.f64 y #s(literal 3 binary64)))) (fma.f64 y y #s(literal 0 binary64)) (/.f64 x (*.f64 #s(literal -2 binary64) y)))
(+.f64 (/.f64 y (*.f64 #s(literal -2 binary64) y)) (/.f64 x (*.f64 #s(literal -2 binary64) y)))
(+.f64 (/.f64 x (*.f64 #s(literal -2 binary64) y)) (/.f64 y (*.f64 #s(literal -2 binary64) y)))
(/.f64 (-.f64 (*.f64 y y) (*.f64 x x)) (-.f64 y x))
(/.f64 (neg.f64 (*.f64 (+.f64 y x) (-.f64 x y))) (neg.f64 (-.f64 x y)))
(/.f64 (neg.f64 (+.f64 (pow.f64 y #s(literal 3 binary64)) (pow.f64 x #s(literal 3 binary64)))) (neg.f64 (fma.f64 y (-.f64 y x) (*.f64 x x))))
(/.f64 (*.f64 (+.f64 y x) (-.f64 x y)) (-.f64 x y))
(/.f64 (+.f64 (pow.f64 y #s(literal 3 binary64)) (pow.f64 x #s(literal 3 binary64))) (fma.f64 y y (-.f64 (*.f64 x x) (*.f64 y x))))
(/.f64 (+.f64 (pow.f64 y #s(literal 3 binary64)) (pow.f64 x #s(literal 3 binary64))) (fma.f64 y (-.f64 y x) (*.f64 x x)))
(-.f64 (/.f64 (*.f64 x x) (-.f64 x y)) (/.f64 (*.f64 y y) (-.f64 x y)))
(+.f64 (/.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 y (-.f64 y x) (*.f64 x x))) (/.f64 (pow.f64 y #s(literal 3 binary64)) (fma.f64 y (-.f64 y x) (*.f64 x x))))
(+.f64 y x)
(+.f64 x y)
(*.f64 #s(literal -2 binary64) y)
(*.f64 #s(literal 2 binary64) (neg.f64 y))
(*.f64 #s(literal 2 binary64) y)
(*.f64 y #s(literal 2 binary64))
(/.f64 (neg.f64 (*.f64 #s(literal 2 binary64) (pow.f64 y #s(literal 3 binary64)))) (neg.f64 (fma.f64 y y #s(literal 0 binary64))))
(/.f64 (neg.f64 (*.f64 #s(literal 2 binary64) (pow.f64 y #s(literal 3 binary64)))) (fma.f64 y y #s(literal 0 binary64)))
(/.f64 #s(literal 0 binary64) #s(literal 0 binary64))
(/.f64 (*.f64 #s(literal 2 binary64) (pow.f64 y #s(literal 3 binary64))) (neg.f64 (fma.f64 y y #s(literal 0 binary64))))
(/.f64 (*.f64 #s(literal 2 binary64) (pow.f64 y #s(literal 3 binary64))) (fma.f64 y y #s(literal 0 binary64)))
(neg.f64 (*.f64 #s(literal -2 binary64) y))
(-.f64 (/.f64 (*.f64 y y) #s(literal 0 binary64)) (/.f64 (*.f64 y y) #s(literal 0 binary64)))
(+.f64 (/.f64 (pow.f64 y #s(literal 3 binary64)) (fma.f64 y y #s(literal 0 binary64))) (/.f64 (pow.f64 y #s(literal 3 binary64)) (fma.f64 y y #s(literal 0 binary64))))
(+.f64 (neg.f64 y) (neg.f64 y))
(+.f64 y y)

eval13.0ms (0.4%)

Memory
-28.5MiB live, 33.3MiB allocated; 7ms collecting garbage
Compiler

Compiled 679 to 144 computations (78.8% saved)

prune2.0ms (0.1%)

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

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New46349
Fresh000
Picked011
Done000
Total46450
Accuracy
100.0%
Counts
50 → 4
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(/.f64 (+.f64 x y) (+.f64 y y))
49.6%
(/.f64 #s(approx (+ x y) x) (+.f64 y y))
99.8%
#s(approx (/ (+ x y) (+ y y)) (fma.f64 (/.f64 #s(literal 1/2 binary64) y) x #s(literal 1/2 binary64)))
51.9%
#s(approx (/ (+ x y) (+ y y)) #s(literal 1/2 binary64))
Compiler

Compiled 39 to 27 computations (30.8% saved)

simplify304.0ms (9.8%)

Memory
-15.0MiB live, 177.0MiB allocated; 24ms collecting garbage
Localize:

Found 7 expressions of interest:

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

Useful iterations: 5 (0.0ms)

IterNodesCost
01355
01855
12855
25055
38755
415255
539553
6279753
0845853
Stop Event
iter limit
node limit
iter limit
Calls
Call 1
Inputs
#s(approx (/ (+ x y) (+ y y)) #s(literal 1/2 binary64))
#s(literal 1/2 binary64)
#s(approx (/ (+ x y) (+ y y)) (fma.f64 (/.f64 #s(literal 1/2 binary64) y) x #s(literal 1/2 binary64)))
(fma.f64 (/.f64 #s(literal 1/2 binary64) y) x #s(literal 1/2 binary64))
(/.f64 #s(literal 1/2 binary64) y)
#s(literal 1/2 binary64)
y
x
(/.f64 #s(approx (+ x y) x) (+.f64 y y))
#s(approx (+ x y) x)
x
(+.f64 y y)
y
Outputs
#s(approx (/ (+ x y) (+ y y)) #s(literal 1/2 binary64))
#s(literal 1/2 binary64)
#s(approx (/ (+ x y) (+ y y)) (fma.f64 (/.f64 #s(literal 1/2 binary64) y) x #s(literal 1/2 binary64)))
#s(approx (/ (+ x y) (+ y y)) (fma.f64 (/.f64 x y) #s(literal 1/2 binary64) #s(literal 1/2 binary64)))
(fma.f64 (/.f64 #s(literal 1/2 binary64) y) x #s(literal 1/2 binary64))
(fma.f64 (/.f64 x y) #s(literal 1/2 binary64) #s(literal 1/2 binary64))
(/.f64 #s(literal 1/2 binary64) y)
#s(literal 1/2 binary64)
y
x
(/.f64 #s(approx (+ x y) x) (+.f64 y y))
(/.f64 (/.f64 #s(approx (+ x y) x) y) #s(literal 2 binary64))
#s(approx (+ x y) x)
x
(+.f64 y y)
(*.f64 #s(literal 2 binary64) y)
y

localize24.0ms (0.8%)

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

Found 7 expressions of interest:

NewMetricScoreProgram
accuracy0.0
(+.f64 y y)
accuracy0.0078125
(/.f64 #s(approx (+ x y) x) (+.f64 y y))
accuracy32.38280258907384
#s(approx (+ x y) x)
accuracy0.0
(/.f64 #s(literal 1/2 binary64) y)
accuracy0.0
#s(approx (/ (+ x y) (+ y y)) (fma.f64 (/.f64 #s(literal 1/2 binary64) y) x #s(literal 1/2 binary64)))
accuracy0.11328125
(fma.f64 (/.f64 #s(literal 1/2 binary64) y) x #s(literal 1/2 binary64))
accuracy30.81037188892166
#s(approx (/ (+ x y) (+ y y)) #s(literal 1/2 binary64))
Samples
17.0ms256×0valid
Compiler

Compiled 45 to 11 computations (75.6% saved)

Precisions
Click to see histograms. Total time spent on operations: 9.0ms
ival-div: 3.0ms (33.6% of total)
ival-add: 3.0ms (33.6% of total)
ival-mult: 2.0ms (22.4% of total)
ival-true: 0.0ms (0% of total)
adjust: 0.0ms (0% of total)
exact: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

series5.0ms (0.2%)

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

6 calls:

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

simplify212.0ms (6.8%)

Memory
-18.9MiB live, 66.7MiB allocated; 20ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
061208
1148208
2322208
3927208
44283208
08447190
Stop Event
iter limit
node limit
Counts
20 → 20
Calls
Call 1
Inputs
#s(approx (/ (+ x y) (+ y y)) #s(hole binary64 1/2))
#s(approx (/ (+ x y) (+ y y)) #s(hole binary64 (+ 1/2 (* 1/2 (/ x y)))))
#s(approx (+ (* (/ 1/2 y) x) 1/2) #s(hole binary64 1/2))
#s(approx (+ (* (/ 1/2 y) x) 1/2) #s(hole binary64 (+ 1/2 (* 1/2 (/ x y)))))
#s(approx (+ x y) #s(hole binary64 y))
#s(approx (+ x y) #s(hole binary64 (+ x y)))
#s(approx (/ (+ x y) (+ y y)) #s(hole binary64 (* 1/2 (/ x y))))
#s(approx (/ (+ x y) (+ y y)) #s(hole binary64 (* x (+ (* 1/2 (/ 1 x)) (* 1/2 (/ 1 y))))))
#s(approx (+ (* (/ 1/2 y) x) 1/2) #s(hole binary64 (* 1/2 (/ x y))))
#s(approx (+ (* (/ 1/2 y) x) 1/2) #s(hole binary64 (* x (+ (* 1/2 (/ 1 x)) (* 1/2 (/ 1 y))))))
#s(approx (+ x y) #s(hole binary64 x))
#s(approx (+ x y) #s(hole binary64 (* x (+ 1 (/ y x)))))
#s(approx (+ (* (/ 1/2 y) x) 1/2) #s(hole binary64 (* x (+ (* 1/2 (/ 1 y)) (* 1/2 (/ 1 x))))))
#s(approx (+ x y) #s(hole binary64 (* -1 (* x (- (* -1 (/ y x)) 1)))))
#s(approx (/ (+ x y) (+ y y)) #s(hole binary64 (/ (+ (* 1/2 x) (* 1/2 y)) y)))
#s(approx (+ (* (/ 1/2 y) x) 1/2) #s(hole binary64 (/ (+ (* 1/2 x) (* 1/2 y)) y)))
#s(approx (/ 1/2 y) #s(hole binary64 (/ 1/2 y)))
#s(approx (+ y y) #s(hole binary64 (* 2 y)))
#s(approx (+ x y) #s(hole binary64 (* y (+ 1 (/ x y)))))
#s(approx (+ x y) #s(hole binary64 (* -1 (* y (- (* -1 (/ x y)) 1)))))
Outputs
#s(approx (/ (+ x y) (+ y y)) #s(hole binary64 1/2))
#s(approx (+ (* (/ 1/2 y) x) 1/2) #s(literal 1/2 binary64))
#s(approx (/ (+ x y) (+ y y)) #s(hole binary64 (+ 1/2 (* 1/2 (/ x y)))))
#s(approx (+ (* (/ 1/2 y) x) 1/2) (fma.f64 (/.f64 x y) #s(literal 1/2 binary64) #s(literal 1/2 binary64)))
#s(approx (+ (* (/ 1/2 y) x) 1/2) #s(hole binary64 1/2))
#s(approx (+ (* (/ 1/2 y) x) 1/2) #s(literal 1/2 binary64))
#s(approx (+ (* (/ 1/2 y) x) 1/2) #s(hole binary64 (+ 1/2 (* 1/2 (/ x y)))))
#s(approx (+ (* (/ 1/2 y) x) 1/2) (fma.f64 (/.f64 x y) #s(literal 1/2 binary64) #s(literal 1/2 binary64)))
#s(approx (+ x y) #s(hole binary64 y))
#s(approx (+ x y) y)
#s(approx (+ x y) #s(hole binary64 (+ x y)))
#s(approx (+ x y) (+.f64 y x))
#s(approx (/ (+ x y) (+ y y)) #s(hole binary64 (* 1/2 (/ x y))))
#s(approx (+ (* (/ 1/2 y) x) 1/2) (*.f64 (/.f64 x y) #s(literal 1/2 binary64)))
#s(approx (/ (+ x y) (+ y y)) #s(hole binary64 (* x (+ (* 1/2 (/ 1 x)) (* 1/2 (/ 1 y))))))
#s(approx (+ (* (/ 1/2 y) x) 1/2) (fma.f64 (/.f64 x y) #s(literal 1/2 binary64) #s(literal 1/2 binary64)))
#s(approx (+ (* (/ 1/2 y) x) 1/2) #s(hole binary64 (* 1/2 (/ x y))))
#s(approx (+ (* (/ 1/2 y) x) 1/2) (*.f64 (/.f64 x y) #s(literal 1/2 binary64)))
#s(approx (+ (* (/ 1/2 y) x) 1/2) #s(hole binary64 (* x (+ (* 1/2 (/ 1 x)) (* 1/2 (/ 1 y))))))
#s(approx (+ (* (/ 1/2 y) x) 1/2) (fma.f64 (/.f64 x y) #s(literal 1/2 binary64) #s(literal 1/2 binary64)))
#s(approx (+ x y) #s(hole binary64 x))
#s(approx (+ x y) x)
#s(approx (+ x y) #s(hole binary64 (* x (+ 1 (/ y x)))))
#s(approx (+ x y) (+.f64 y x))
#s(approx (+ (* (/ 1/2 y) x) 1/2) #s(hole binary64 (* x (+ (* 1/2 (/ 1 y)) (* 1/2 (/ 1 x))))))
#s(approx (+ (* (/ 1/2 y) x) 1/2) (fma.f64 (/.f64 x y) #s(literal 1/2 binary64) #s(literal 1/2 binary64)))
#s(approx (+ x y) #s(hole binary64 (* -1 (* x (- (* -1 (/ y x)) 1)))))
#s(approx (+ x y) (+.f64 y x))
#s(approx (/ (+ x y) (+ y y)) #s(hole binary64 (/ (+ (* 1/2 x) (* 1/2 y)) y)))
#s(approx (+ (* (/ 1/2 y) x) 1/2) (fma.f64 (/.f64 x y) #s(literal 1/2 binary64) #s(literal 1/2 binary64)))
#s(approx (+ (* (/ 1/2 y) x) 1/2) #s(hole binary64 (/ (+ (* 1/2 x) (* 1/2 y)) y)))
#s(approx (+ (* (/ 1/2 y) x) 1/2) (fma.f64 (/.f64 x y) #s(literal 1/2 binary64) #s(literal 1/2 binary64)))
#s(approx (/ 1/2 y) #s(hole binary64 (/ 1/2 y)))
#s(approx (/ 1/2 y) (/.f64 #s(literal 1/2 binary64) y))
#s(approx (+ y y) #s(hole binary64 (* 2 y)))
#s(approx (+ y y) (*.f64 #s(literal 2 binary64) y))
#s(approx (+ x y) #s(hole binary64 (* y (+ 1 (/ x y)))))
#s(approx (+ x y) (+.f64 y x))
#s(approx (+ x y) #s(hole binary64 (* -1 (* y (- (* -1 (/ x y)) 1)))))
#s(approx (+ x y) (+.f64 y x))

rewrite49.0ms (1.6%)

Memory
17.9MiB live, 17.9MiB allocated; 0ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01349
01849
17049
046949
Stop Event
iter limit
iter limit
iter limit
unsound
iter limit
Counts
7 → 44
Calls
Call 1
Inputs
#s(approx (/ (+ x y) (+ y y)) #s(literal 1/2 binary64))
#s(approx (/ (+ x y) (+ y y)) (fma.f64 (/.f64 #s(literal 1/2 binary64) y) x #s(literal 1/2 binary64)))
(fma.f64 (/.f64 #s(literal 1/2 binary64) y) x #s(literal 1/2 binary64))
(/.f64 #s(literal 1/2 binary64) y)
(/.f64 #s(approx (+ x y) x) (+.f64 y y))
#s(approx (+ x y) x)
(+.f64 y y)
Outputs
#s(approx (/ (+ x y) (+ y y)) #s(literal 1/2 binary64))
#s(approx (/ (+ x y) (+ y y)) (fma.f64 (/.f64 #s(literal 1/2 binary64) y) x #s(literal 1/2 binary64)))
(/.f64 (-.f64 #s(literal 1/4 binary64) (pow.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) y) x) #s(literal 2 binary64))) (-.f64 #s(literal 1/2 binary64) (*.f64 (/.f64 #s(literal 1/2 binary64) y) x)))
(/.f64 (neg.f64 (-.f64 (pow.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) y) x) #s(literal 2 binary64)) #s(literal 1/4 binary64))) (neg.f64 (-.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) y) x) #s(literal 1/2 binary64))))
(/.f64 (neg.f64 (+.f64 #s(literal 1/8 binary64) (pow.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) y) x) #s(literal 3 binary64)))) (neg.f64 (fma.f64 #s(literal 1/2 binary64) (-.f64 #s(literal 1/2 binary64) (*.f64 (/.f64 #s(literal 1/2 binary64) y) x)) (pow.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) y) x) #s(literal 2 binary64)))))
(/.f64 (-.f64 (pow.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) y) x) #s(literal 2 binary64)) #s(literal 1/4 binary64)) (-.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) y) x) #s(literal 1/2 binary64)))
(/.f64 (+.f64 #s(literal 1/8 binary64) (pow.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) y) x) #s(literal 3 binary64))) (+.f64 #s(literal 1/4 binary64) (-.f64 (pow.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) y) x) #s(literal 2 binary64)) (*.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) y) x) #s(literal 1/2 binary64)))))
(/.f64 (+.f64 #s(literal 1/8 binary64) (pow.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) y) x) #s(literal 3 binary64))) (fma.f64 #s(literal 1/2 binary64) (-.f64 #s(literal 1/2 binary64) (*.f64 (/.f64 #s(literal 1/2 binary64) y) x)) (pow.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) y) x) #s(literal 2 binary64))))
(fma.f64 (/.f64 #s(literal 1/2 binary64) y) x #s(literal 1/2 binary64))
(fma.f64 #s(literal 1/2 binary64) (/.f64 x y) #s(literal 1/2 binary64))
(fma.f64 x (/.f64 #s(literal 1/2 binary64) y) #s(literal 1/2 binary64))
(-.f64 (/.f64 (pow.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) y) x) #s(literal 2 binary64)) (-.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) y) x) #s(literal 1/2 binary64))) (/.f64 #s(literal 1/4 binary64) (-.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) y) x) #s(literal 1/2 binary64))))
(-.f64 #s(literal 1/2 binary64) (*.f64 (neg.f64 (/.f64 #s(literal 1/2 binary64) y)) x))
(-.f64 #s(literal 1/2 binary64) (*.f64 (neg.f64 x) (/.f64 #s(literal 1/2 binary64) y)))
(+.f64 (/.f64 (pow.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) y) x) #s(literal 3 binary64)) (fma.f64 #s(literal 1/2 binary64) (-.f64 #s(literal 1/2 binary64) (*.f64 (/.f64 #s(literal 1/2 binary64) y) x)) (pow.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) y) x) #s(literal 2 binary64)))) (/.f64 #s(literal 1/8 binary64) (fma.f64 #s(literal 1/2 binary64) (-.f64 #s(literal 1/2 binary64) (*.f64 (/.f64 #s(literal 1/2 binary64) y) x)) (pow.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) y) x) #s(literal 2 binary64)))))
(+.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) y) x) #s(literal 1/2 binary64))
(+.f64 #s(literal 1/2 binary64) (*.f64 (/.f64 #s(literal 1/2 binary64) y) x))
(/.f64 #s(literal -1/2 binary64) (neg.f64 y))
(/.f64 #s(literal 1/2 binary64) (neg.f64 (neg.f64 y)))
(/.f64 #s(literal 1/2 binary64) y)
(neg.f64 (/.f64 #s(literal -1/2 binary64) y))
(neg.f64 (/.f64 #s(literal 1/2 binary64) (neg.f64 y)))
(*.f64 (/.f64 #s(approx (+ x y) x) #s(literal 0 binary64)) #s(literal 0 binary64))
(*.f64 (/.f64 #s(approx (+ x y) x) (*.f64 #s(literal 2 binary64) (pow.f64 y #s(literal 3 binary64)))) (fma.f64 y y #s(literal 0 binary64)))
(/.f64 (/.f64 #s(approx (+ x y) x) #s(literal 2 binary64)) y)
(/.f64 (neg.f64 (neg.f64 #s(approx (+ x y) x))) (*.f64 #s(literal -2 binary64) y))
(/.f64 (neg.f64 #s(approx (+ x y) x)) (*.f64 #s(literal -2 binary64) y))
(/.f64 #s(approx (+ x y) x) (*.f64 #s(literal -2 binary64) y))
(neg.f64 (*.f64 (/.f64 #s(approx (+ x y) x) #s(literal 0 binary64)) #s(literal 0 binary64)))
#s(approx (+ x y) x)
(*.f64 #s(literal -2 binary64) y)
(*.f64 #s(literal 2 binary64) (neg.f64 y))
(*.f64 #s(literal 2 binary64) y)
(*.f64 y #s(literal 2 binary64))
(/.f64 (neg.f64 (*.f64 #s(literal 2 binary64) (pow.f64 y #s(literal 3 binary64)))) (neg.f64 (fma.f64 y y #s(literal 0 binary64))))
(/.f64 (neg.f64 (*.f64 #s(literal 2 binary64) (pow.f64 y #s(literal 3 binary64)))) (fma.f64 y y #s(literal 0 binary64)))
(/.f64 #s(literal 0 binary64) #s(literal 0 binary64))
(/.f64 (*.f64 #s(literal 2 binary64) (pow.f64 y #s(literal 3 binary64))) (neg.f64 (fma.f64 y y #s(literal 0 binary64))))
(/.f64 (*.f64 #s(literal 2 binary64) (pow.f64 y #s(literal 3 binary64))) (fma.f64 y y #s(literal 0 binary64)))
(neg.f64 (*.f64 #s(literal -2 binary64) y))
(-.f64 (/.f64 (*.f64 y y) #s(literal 0 binary64)) (/.f64 (*.f64 y y) #s(literal 0 binary64)))
(+.f64 (/.f64 (pow.f64 y #s(literal 3 binary64)) (fma.f64 y y #s(literal 0 binary64))) (/.f64 (pow.f64 y #s(literal 3 binary64)) (fma.f64 y y #s(literal 0 binary64))))
(+.f64 (neg.f64 y) (neg.f64 y))
(+.f64 y y)

eval5.0ms (0.1%)

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

Compiled 823 to 153 computations (81.4% saved)

prune2.0ms (0.1%)

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

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New50151
Fresh000
Picked123
Done101
Total52355
Accuracy
100.0%
Counts
55 → 3
Alt Table
Click to see full alt table
StatusAccuracyProgram
49.6%
(/.f64 #s(approx (+ x y) x) (+.f64 y y))
100.0%
#s(approx (/ (+ x y) (+ y y)) (fma.f64 #s(literal 1/2 binary64) (/.f64 x y) #s(literal 1/2 binary64)))
51.9%
#s(approx (/ (+ x y) (+ y y)) #s(literal 1/2 binary64))
Compiler

Compiled 32 to 22 computations (31.3% saved)

simplify157.0ms (5.1%)

Memory
-23.9MiB live, 171.7MiB allocated; 23ms collecting garbage
Localize:

Found 3 expressions of interest:

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

Useful iterations: 5 (0.0ms)

IterNodesCost
0926
01226
12226
24326
37626
414926
543325
6349225
0808725
Stop Event
iter limit
node limit
iter limit
Calls
Call 1
Inputs
#s(approx (/ (+ x y) (+ y y)) (fma.f64 #s(literal 1/2 binary64) (/.f64 x y) #s(literal 1/2 binary64)))
(fma.f64 #s(literal 1/2 binary64) (/.f64 x y) #s(literal 1/2 binary64))
#s(literal 1/2 binary64)
(/.f64 x y)
x
y
Outputs
#s(approx (/ (+ x y) (+ y y)) (fma.f64 #s(literal 1/2 binary64) (/.f64 x y) #s(literal 1/2 binary64)))
#s(approx (/ (+ x y) (+ y y)) (fma.f64 (/.f64 x y) #s(literal 1/2 binary64) #s(literal 1/2 binary64)))
(fma.f64 #s(literal 1/2 binary64) (/.f64 x y) #s(literal 1/2 binary64))
(fma.f64 (/.f64 x y) #s(literal 1/2 binary64) #s(literal 1/2 binary64))
#s(literal 1/2 binary64)
(/.f64 x y)
x
y

localize74.0ms (2.4%)

Memory
26.0MiB live, 121.7MiB allocated; 10ms collecting garbage
Localize:

Found 3 expressions of interest:

NewMetricScoreProgram
accuracy0.0
(fma.f64 #s(literal 1/2 binary64) (/.f64 x y) #s(literal 1/2 binary64))
accuracy0.0
(/.f64 x y)
accuracy0.0
#s(approx (/ (+ x y) (+ y y)) (fma.f64 #s(literal 1/2 binary64) (/.f64 x y) #s(literal 1/2 binary64)))
Samples
56.0ms256×0valid
Compiler

Compiled 22 to 11 computations (50% saved)

Precisions
Click to see histograms. Total time spent on operations: 47.0ms
ival-add: 27.0ms (57.9% of total)
ival-div: 16.0ms (34.3% of total)
ival-mult: 2.0ms (4.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)

series17.0ms (0.5%)

Memory
-22.3MiB live, 24.0MiB allocated; 4ms collecting garbage
Counts
3 → 12
Calls
Call 1
Inputs
#s(approx (/ (+ x y) (+ y y)) (fma.f64 #s(literal 1/2 binary64) (/.f64 x y) #s(literal 1/2 binary64)))
(fma.f64 #s(literal 1/2 binary64) (/.f64 x y) #s(literal 1/2 binary64))
(/.f64 x y)
Outputs
#s(approx (/ (+ x y) (+ y y)) #s(hole binary64 1/2))
#s(approx (/ (+ x y) (+ y y)) #s(hole binary64 (+ 1/2 (* 1/2 (/ x y)))))
#s(approx (+ (* 1/2 (/ x y)) 1/2) #s(hole binary64 1/2))
#s(approx (+ (* 1/2 (/ x y)) 1/2) #s(hole binary64 (+ 1/2 (* 1/2 (/ x y)))))
#s(approx (/ x y) #s(hole binary64 (/ x y)))
#s(approx (/ (+ x y) (+ y y)) #s(hole binary64 (* 1/2 (/ x y))))
#s(approx (/ (+ x y) (+ y y)) #s(hole binary64 (* x (+ (* 1/2 (/ 1 x)) (* 1/2 (/ 1 y))))))
#s(approx (+ (* 1/2 (/ x y)) 1/2) #s(hole binary64 (* 1/2 (/ x y))))
#s(approx (+ (* 1/2 (/ x y)) 1/2) #s(hole binary64 (* x (+ (* 1/2 (/ 1 x)) (* 1/2 (/ 1 y))))))
#s(approx (+ (* 1/2 (/ x y)) 1/2) #s(hole binary64 (* x (+ (* 1/2 (/ 1 y)) (* 1/2 (/ 1 x))))))
#s(approx (/ (+ x y) (+ y y)) #s(hole binary64 (/ (+ (* 1/2 x) (* 1/2 y)) y)))
#s(approx (+ (* 1/2 (/ x y)) 1/2) #s(hole binary64 (/ (+ (* 1/2 x) (* 1/2 y)) y)))
Calls

6 calls:

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

simplify189.0ms (6.1%)

Memory
-9.8MiB live, 227.6MiB allocated; 14ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
035156
182156
2200156
3635156
42761156
57706156
08132138
Stop Event
iter limit
node limit
Counts
12 → 12
Calls
Call 1
Inputs
#s(approx (/ (+ x y) (+ y y)) #s(hole binary64 1/2))
#s(approx (/ (+ x y) (+ y y)) #s(hole binary64 (+ 1/2 (* 1/2 (/ x y)))))
#s(approx (+ (* 1/2 (/ x y)) 1/2) #s(hole binary64 1/2))
#s(approx (+ (* 1/2 (/ x y)) 1/2) #s(hole binary64 (+ 1/2 (* 1/2 (/ x y)))))
#s(approx (/ x y) #s(hole binary64 (/ x y)))
#s(approx (/ (+ x y) (+ y y)) #s(hole binary64 (* 1/2 (/ x y))))
#s(approx (/ (+ x y) (+ y y)) #s(hole binary64 (* x (+ (* 1/2 (/ 1 x)) (* 1/2 (/ 1 y))))))
#s(approx (+ (* 1/2 (/ x y)) 1/2) #s(hole binary64 (* 1/2 (/ x y))))
#s(approx (+ (* 1/2 (/ x y)) 1/2) #s(hole binary64 (* x (+ (* 1/2 (/ 1 x)) (* 1/2 (/ 1 y))))))
#s(approx (+ (* 1/2 (/ x y)) 1/2) #s(hole binary64 (* x (+ (* 1/2 (/ 1 y)) (* 1/2 (/ 1 x))))))
#s(approx (/ (+ x y) (+ y y)) #s(hole binary64 (/ (+ (* 1/2 x) (* 1/2 y)) y)))
#s(approx (+ (* 1/2 (/ x y)) 1/2) #s(hole binary64 (/ (+ (* 1/2 x) (* 1/2 y)) y)))
Outputs
#s(approx (/ (+ x y) (+ y y)) #s(hole binary64 1/2))
#s(approx (/ (+ x y) (+ y y)) #s(literal 1/2 binary64))
#s(approx (/ (+ x y) (+ y y)) #s(hole binary64 (+ 1/2 (* 1/2 (/ x y)))))
#s(approx (/ (+ x y) (+ y y)) (fma.f64 (/.f64 x y) #s(literal 1/2 binary64) #s(literal 1/2 binary64)))
#s(approx (+ (* 1/2 (/ x y)) 1/2) #s(hole binary64 1/2))
#s(approx (/ (+ x y) (+ y y)) #s(literal 1/2 binary64))
#s(approx (+ (* 1/2 (/ x y)) 1/2) #s(hole binary64 (+ 1/2 (* 1/2 (/ x y)))))
#s(approx (/ (+ x y) (+ y y)) (fma.f64 (/.f64 x y) #s(literal 1/2 binary64) #s(literal 1/2 binary64)))
#s(approx (/ x y) #s(hole binary64 (/ x y)))
#s(approx (/ x y) (/.f64 x y))
#s(approx (/ (+ x y) (+ y y)) #s(hole binary64 (* 1/2 (/ x y))))
#s(approx (/ (+ x y) (+ y y)) (*.f64 (/.f64 x y) #s(literal 1/2 binary64)))
#s(approx (/ (+ x y) (+ y y)) #s(hole binary64 (* x (+ (* 1/2 (/ 1 x)) (* 1/2 (/ 1 y))))))
#s(approx (/ (+ x y) (+ y y)) (fma.f64 (/.f64 x y) #s(literal 1/2 binary64) #s(literal 1/2 binary64)))
#s(approx (+ (* 1/2 (/ x y)) 1/2) #s(hole binary64 (* 1/2 (/ x y))))
#s(approx (/ (+ x y) (+ y y)) (*.f64 (/.f64 x y) #s(literal 1/2 binary64)))
#s(approx (+ (* 1/2 (/ x y)) 1/2) #s(hole binary64 (* x (+ (* 1/2 (/ 1 x)) (* 1/2 (/ 1 y))))))
#s(approx (/ (+ x y) (+ y y)) (fma.f64 (/.f64 x y) #s(literal 1/2 binary64) #s(literal 1/2 binary64)))
#s(approx (+ (* 1/2 (/ x y)) 1/2) #s(hole binary64 (* x (+ (* 1/2 (/ 1 y)) (* 1/2 (/ 1 x))))))
#s(approx (/ (+ x y) (+ y y)) (fma.f64 (/.f64 x y) #s(literal 1/2 binary64) #s(literal 1/2 binary64)))
#s(approx (/ (+ x y) (+ y y)) #s(hole binary64 (/ (+ (* 1/2 x) (* 1/2 y)) y)))
#s(approx (/ (+ x y) (+ y y)) (fma.f64 (/.f64 x y) #s(literal 1/2 binary64) #s(literal 1/2 binary64)))
#s(approx (+ (* 1/2 (/ x y)) 1/2) #s(hole binary64 (/ (+ (* 1/2 x) (* 1/2 y)) y)))
#s(approx (/ (+ x y) (+ y y)) (fma.f64 (/.f64 x y) #s(literal 1/2 binary64) #s(literal 1/2 binary64)))

rewrite75.0ms (2.4%)

Memory
38.7MiB live, 84.6MiB allocated; 6ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0923
01223
16123
044223
Stop Event
iter limit
iter limit
iter limit
unsound
iter limit
Counts
3 → 21
Calls
Call 1
Inputs
#s(approx (/ (+ x y) (+ y y)) (fma.f64 #s(literal 1/2 binary64) (/.f64 x y) #s(literal 1/2 binary64)))
(fma.f64 #s(literal 1/2 binary64) (/.f64 x y) #s(literal 1/2 binary64))
(/.f64 x y)
Outputs
#s(approx (/ (+ x y) (+ y y)) (fma.f64 (/.f64 x y) #s(literal 1/2 binary64) #s(literal 1/2 binary64)))
(*.f64 (+.f64 (/.f64 x y) #s(literal 1 binary64)) #s(literal 1/2 binary64))
(/.f64 (-.f64 #s(literal 1/4 binary64) (pow.f64 (*.f64 (/.f64 x y) #s(literal 1/2 binary64)) #s(literal 2 binary64))) (-.f64 #s(literal 1/2 binary64) (*.f64 (/.f64 x y) #s(literal 1/2 binary64))))
(/.f64 (neg.f64 (-.f64 (pow.f64 (*.f64 (/.f64 x y) #s(literal 1/2 binary64)) #s(literal 2 binary64)) #s(literal 1/4 binary64))) (neg.f64 (-.f64 (*.f64 (/.f64 x y) #s(literal 1/2 binary64)) #s(literal 1/2 binary64))))
(/.f64 (neg.f64 (fma.f64 (pow.f64 (/.f64 x y) #s(literal 3 binary64)) #s(literal 1/8 binary64) #s(literal 1/8 binary64))) (neg.f64 (-.f64 (+.f64 (pow.f64 (*.f64 (/.f64 x y) #s(literal 1/2 binary64)) #s(literal 2 binary64)) #s(literal 1/4 binary64)) (*.f64 (/.f64 x y) #s(literal 1/4 binary64)))))
(/.f64 (-.f64 (pow.f64 (*.f64 (/.f64 x y) #s(literal 1/2 binary64)) #s(literal 2 binary64)) #s(literal 1/4 binary64)) (-.f64 (*.f64 (/.f64 x y) #s(literal 1/2 binary64)) #s(literal 1/2 binary64)))
(/.f64 (fma.f64 (pow.f64 (/.f64 x y) #s(literal 3 binary64)) #s(literal 1/8 binary64) #s(literal 1/8 binary64)) (+.f64 #s(literal 1/4 binary64) (-.f64 (pow.f64 (*.f64 (/.f64 x y) #s(literal 1/2 binary64)) #s(literal 2 binary64)) (*.f64 (/.f64 x y) #s(literal 1/4 binary64)))))
(/.f64 (fma.f64 (pow.f64 (/.f64 x y) #s(literal 3 binary64)) #s(literal 1/8 binary64) #s(literal 1/8 binary64)) (-.f64 (+.f64 (pow.f64 (*.f64 (/.f64 x y) #s(literal 1/2 binary64)) #s(literal 2 binary64)) #s(literal 1/4 binary64)) (*.f64 (/.f64 x y) #s(literal 1/4 binary64))))
(fma.f64 (/.f64 x y) #s(literal 1/2 binary64) #s(literal 1/2 binary64))
(fma.f64 #s(literal 1/2 binary64) (/.f64 x y) #s(literal 1/2 binary64))
(-.f64 (/.f64 (pow.f64 (*.f64 (/.f64 x y) #s(literal 1/2 binary64)) #s(literal 2 binary64)) (-.f64 (*.f64 (/.f64 x y) #s(literal 1/2 binary64)) #s(literal 1/2 binary64))) (/.f64 #s(literal 1/4 binary64) (-.f64 (*.f64 (/.f64 x y) #s(literal 1/2 binary64)) #s(literal 1/2 binary64))))
(-.f64 #s(literal 1/2 binary64) (*.f64 (neg.f64 (/.f64 x y)) #s(literal 1/2 binary64)))
(-.f64 #s(literal 1/2 binary64) (*.f64 #s(literal -1/2 binary64) (/.f64 x y)))
(+.f64 (/.f64 (pow.f64 (*.f64 (/.f64 x y) #s(literal 1/2 binary64)) #s(literal 3 binary64)) (-.f64 (+.f64 (pow.f64 (*.f64 (/.f64 x y) #s(literal 1/2 binary64)) #s(literal 2 binary64)) #s(literal 1/4 binary64)) (*.f64 (/.f64 x y) #s(literal 1/4 binary64)))) (/.f64 #s(literal 1/8 binary64) (-.f64 (+.f64 (pow.f64 (*.f64 (/.f64 x y) #s(literal 1/2 binary64)) #s(literal 2 binary64)) #s(literal 1/4 binary64)) (*.f64 (/.f64 x y) #s(literal 1/4 binary64)))))
(+.f64 (*.f64 (/.f64 x y) #s(literal 1/2 binary64)) #s(literal 1/2 binary64))
(+.f64 #s(literal 1/2 binary64) (*.f64 (/.f64 x y) #s(literal 1/2 binary64)))
(/.f64 (neg.f64 (neg.f64 x)) (neg.f64 (neg.f64 y)))
(/.f64 (neg.f64 x) (neg.f64 y))
(/.f64 x y)
(neg.f64 (/.f64 (neg.f64 x) y))
(neg.f64 (/.f64 x (neg.f64 y)))

eval3.0ms (0.1%)

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

Compiled 495 to 93 computations (81.2% saved)

prune40.0ms (1.3%)

Memory
-49.0MiB live, 54.3MiB allocated; 18ms collecting garbage
Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New24024
Fresh000
Picked011
Done022
Total24327
Accuracy
100.0%
Counts
27 → 3
Alt Table
Click to see full alt table
StatusAccuracyProgram
49.6%
(/.f64 #s(approx (+ x y) x) (+.f64 y y))
100.0%
#s(approx (/ (+ x y) (+ y y)) (fma.f64 #s(literal 1/2 binary64) (/.f64 x y) #s(literal 1/2 binary64)))
51.9%
#s(approx (/ (+ x y) (+ y y)) #s(literal 1/2 binary64))
Compiler

Compiled 85 to 40 computations (52.9% saved)

regimes6.0ms (0.2%)

Memory
20.1MiB live, 20.1MiB allocated; 0ms collecting garbage
Counts
5 → 1
Calls
Call 1
Inputs
#s(approx (/ (+ x y) (+ y y)) #s(literal 1/2 binary64))
(/.f64 #s(approx (+ x y) x) (+.f64 y y))
#s(approx (/ (+ x y) (+ y y)) (fma.f64 #s(literal 1/2 binary64) (/.f64 x y) #s(literal 1/2 binary64)))
#s(approx (/ (+ x y) (+ y y)) (fma.f64 (/.f64 #s(literal 1/2 binary64) y) x #s(literal 1/2 binary64)))
(/.f64 (+.f64 x y) (+.f64 y y))
Outputs
#s(approx (/ (+ x y) (+ y y)) (fma.f64 #s(literal 1/2 binary64) (/.f64 x y) #s(literal 1/2 binary64)))
Calls

3 calls:

2.0ms
y
2.0ms
x
2.0ms
(/.f64 (+.f64 x y) (+.f64 y y))
Results
AccuracySegmentsBranch
100.0%1(/.f64 (+.f64 x y) (+.f64 y y))
100.0%1x
100.0%1y
Compiler

Compiled 9 to 9 computations (0% saved)

regimes4.0ms (0.1%)

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

3 calls:

1.0ms
y
1.0ms
x
1.0ms
(/.f64 (+.f64 x y) (+.f64 y y))
Results
AccuracySegmentsBranch
97.9%3(/.f64 (+.f64 x y) (+.f64 y y))
76.0%3x
77.7%3y
Compiler

Compiled 9 to 9 computations (0% saved)

regimes6.0ms (0.2%)

Memory
-33.7MiB live, 12.6MiB allocated; 5ms collecting garbage
Accuracy

Total -0.0b remaining (-0%)

Threshold costs -0b (-0%)

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

3 calls:

4.0ms
x
1.0ms
y
1.0ms
(/.f64 (+.f64 x y) (+.f64 y y))
Results
AccuracySegmentsBranch
51.9%1x
51.9%1y
51.9%1(/.f64 (+.f64 x y) (+.f64 y y))
Compiler

Compiled 9 to 9 computations (0% saved)

bsearch1.0ms (0%)

Memory
1.7MiB live, 1.7MiB allocated; 0ms collecting garbage
Algorithm
left-value
Steps
TimeLeftRight
0.0ms
0.596820072685887
7.033735460909783
0.0ms
-7.588912563618299
0.49847805841230397
Compiler

Compiled 10 to 10 computations (0% saved)

simplify35.0ms (1.1%)

Memory
6.7MiB live, 52.5MiB allocated; 6ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02162
13262
24462
37062
415762
5105062
Stop Event
node limit
Calls
Call 1
Inputs
#s(approx (/ (+ x y) (+ y y)) (fma.f64 #s(literal 1/2 binary64) (/.f64 x y) #s(literal 1/2 binary64)))
(if (<=.f64 (/.f64 (+.f64 x y) (+.f64 y y)) #s(literal -5 binary64)) (/.f64 #s(approx (+ x y) x) (+.f64 y y)) (if (<=.f64 (/.f64 (+.f64 x y) (+.f64 y y)) #s(literal 1 binary64)) #s(approx (/ (+ x y) (+ y y)) #s(literal 1/2 binary64)) (/.f64 #s(approx (+ x y) x) (+.f64 y y))))
#s(approx (/ (+ x y) (+ y y)) #s(literal 1/2 binary64))
Outputs
#s(approx (/ (+ x y) (+ y y)) (fma.f64 #s(literal 1/2 binary64) (/.f64 x y) #s(literal 1/2 binary64)))
(if (<=.f64 (/.f64 (+.f64 x y) (+.f64 y y)) #s(literal -5 binary64)) (/.f64 #s(approx (+ x y) x) (+.f64 y y)) (if (<=.f64 (/.f64 (+.f64 x y) (+.f64 y y)) #s(literal 1 binary64)) #s(approx (/ (+ x y) (+ y y)) #s(literal 1/2 binary64)) (/.f64 #s(approx (+ x y) x) (+.f64 y y))))
(if (or (<=.f64 (/.f64 (+.f64 x y) (+.f64 y y)) #s(literal -5 binary64)) (not (<=.f64 (/.f64 (+.f64 x y) (+.f64 y y)) #s(literal 1 binary64)))) (/.f64 #s(approx (+ x y) x) (+.f64 y y)) #s(approx (/ (+ x y) (+ y y)) #s(literal 1/2 binary64)))
#s(approx (/ (+ x y) (+ y y)) #s(literal 1/2 binary64))

derivations162.0ms (5.2%)

Memory
-6.6MiB live, 135.6MiB allocated; 20ms collecting garbage
Stop Event
done
Compiler

Compiled 62 to 22 computations (64.5% saved)

preprocess24.0ms (0.8%)

Memory
31.4MiB live, 74.5MiB allocated; 6ms collecting garbage
Compiler

Compiled 152 to 66 computations (56.6% saved)

end0.0ms (0%)

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

Profiling

Loading profile data...