Linear.Projection:inversePerspective from linear-1.19.1.3, C

Time bar (total: 3.9s)

start0.0ms (0%)

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

analyze30.0ms (0.8%)

Memory
-13.6MiB live, 30.6MiB allocated; 13ms 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
25%25%74.9%0.1%0%0%0%3
37.5%37.5%62.4%0.1%0%0%0%4
56.3%56.2%43.7%0.1%0%0%0%5
65.6%65.6%34.3%0.1%0%0%0%6
76.6%76.5%23.4%0.1%0%0%0%7
82%82%18%0.1%0%0%0%8
87.9%87.8%12.1%0.1%0%0%0%9
90.8%90.7%9.2%0.1%0%0%0%10
93.8%93.8%6.1%0.1%0%0%0%11
95.4%95.3%4.6%0.1%0%0%0%12
Compiler

Compiled 11 to 9 computations (18.2% saved)

sample1.1s (28.4%)

Memory
38.1MiB live, 1 433.4MiB allocated; 295ms collecting garbage
Samples
786.0ms8 256×0valid
Precisions
Click to see histograms. Total time spent on operations: 387.0ms
ival-mult: 192.0ms (49.6% of total)
ival-div: 112.0ms (29% of total)
ival-add: 66.0ms (17.1% of total)
ival-true: 6.0ms (1.6% of total)
exact: 5.0ms (1.3% of total)
adjust: 3.0ms (0.8% of total)
ival-assert: 3.0ms (0.8% of total)
Bogosity

explain116.0ms (3%)

Memory
11.2MiB live, 148.7MiB allocated; 18ms collecting garbage
FPErrors
Click to see full error table
Ground TruthOverpredictionsExampleUnderpredictionsExampleSubexpression
740-5(1.2914326445961613e-71 8.442826279710679e-249)(/.f64 (+.f64 x y) (*.f64 (*.f64 x #s(literal 2 binary64)) y))
00-0-(*.f64 x #s(literal 2 binary64))
00-0-#s(literal 2 binary64)
00-0-y
00-0-(+.f64 x y)
00-0-(*.f64 (*.f64 x #s(literal 2 binary64)) y)
00-0-x
Explanations
Click to see full explanations table
OperatorSubexpressionExplanationCount
/.f64(/.f64 (+.f64 x y) (*.f64 (*.f64 x #s(literal 2 binary64)) y))n/o390
(*.f64 (*.f64 x #s(literal 2 binary64)) y)overflow39
/.f64(/.f64 (+.f64 x y) (*.f64 (*.f64 x #s(literal 2 binary64)) y))n/u300
(*.f64 (*.f64 x #s(literal 2 binary64)) y)underflow30
Confusion
Predicted +Predicted -
+695
-0182
Precision
1.0
Recall
0.9324324324324325
Confusion?
Predicted +Predicted MaybePredicted -
+6905
-00182
Precision?
1.0
Recall?
0.9324324324324325
Freqs
test
numberfreq
0187
169
Total Confusion?
Predicted +Predicted MaybePredicted -
+100
-000
Precision?
1.0
Recall?
1.0
Samples
26.0ms512×0valid
Compiler

Compiled 59 to 25 computations (57.6% saved)

Precisions
Click to see histograms. Total time spent on operations: 13.0ms
ival-mult: 6.0ms (45.7% of total)
ival-div: 3.0ms (22.9% of total)
ival-add: 3.0ms (22.9% of total)
ival-true: 0.0ms (0% of total)
adjust: 0.0ms (0% of total)
exact: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

preprocess199.0ms (5.2%)

Memory
-2.1MiB live, 291.1MiB allocated; 57ms collecting garbage
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01953
16249
225235
399835
4314035
079
0119
1239
2617
31677
44917
534197
083687
Stop Event
iter limit
node limit
iter limit
node limit
Calls
Call 1
Inputs
(/.f64 (+.f64 x y) (*.f64 (*.f64 x #s(literal 2 binary64)) y))
Outputs
(/.f64 (+.f64 x y) (*.f64 (*.f64 x #s(literal 2 binary64)) y))
(-.f64 (/.f64 #s(literal 1/2 binary64) x) (/.f64 #s(literal -1/2 binary64) y))
Symmetry

(sort x y)

Compiler

Compiled 9 to 7 computations (22.2% saved)

eval16.0ms (0.4%)

Memory
-44.1MiB live, 0.2MiB allocated; 3ms collecting garbage
Compiler

Compiled 0 to 2 computations (-∞% saved)

prune0.0ms (0%)

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

Compiled 9 to 7 computations (22.2% saved)

simplify183.0ms (4.7%)

Memory
43.8MiB live, 268.8MiB allocated; 67ms collecting garbage
Localize:

Found 4 expressions of interest:

NewMetricScoreProgram
cost-diff0
(*.f64 x #s(literal 2 binary64))
cost-diff0
(*.f64 (*.f64 x #s(literal 2 binary64)) y)
cost-diff0
(+.f64 x y)
cost-diff2
(/.f64 (+.f64 x y) (*.f64 (*.f64 x #s(literal 2 binary64)) y))
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
0723
01123
12323
26121
316721
449121
5341921
0836821
Stop Event
iter limit
node limit
iter limit
Calls
Call 1
Inputs
(/.f64 (+.f64 x y) (*.f64 (*.f64 x #s(literal 2 binary64)) y))
(+.f64 x y)
x
y
(*.f64 (*.f64 x #s(literal 2 binary64)) y)
(*.f64 x #s(literal 2 binary64))
#s(literal 2 binary64)
Outputs
(/.f64 (+.f64 x y) (*.f64 (*.f64 x #s(literal 2 binary64)) y))
(-.f64 (/.f64 #s(literal 1/2 binary64) x) (/.f64 #s(literal -1/2 binary64) y))
(+.f64 x y)
(+.f64 y x)
x
y
(*.f64 (*.f64 x #s(literal 2 binary64)) y)
(*.f64 (*.f64 #s(literal 2 binary64) x) y)
(*.f64 x #s(literal 2 binary64))
(*.f64 #s(literal 2 binary64) x)
#s(literal 2 binary64)

localize101.0ms (2.6%)

Memory
-15.8MiB live, 89.3MiB allocated; 22ms collecting garbage
Localize:

Found 4 expressions of interest:

NewMetricScoreProgram
accuracy0.0
(+.f64 x y)
accuracy0.0
(*.f64 (*.f64 x #s(literal 2 binary64)) y)
accuracy0.0
(*.f64 x #s(literal 2 binary64))
accuracy17.137231419419887
(/.f64 (+.f64 x y) (*.f64 (*.f64 x #s(literal 2 binary64)) y))
Samples
68.0ms256×0valid
Compiler

Compiled 25 to 9 computations (64% saved)

Precisions
Click to see histograms. Total time spent on operations: 45.0ms
ival-add: 40.0ms (88.2% of total)
ival-mult: 3.0ms (6.6% of total)
ival-div: 2.0ms (4.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)

series41.0ms (1.1%)

Memory
-16.6MiB live, 25.8MiB allocated; 8ms collecting garbage
Counts
4 → 14
Calls
Call 1
Inputs
(/.f64 (+.f64 x y) (*.f64 (*.f64 x #s(literal 2 binary64)) y))
(+.f64 x y)
(*.f64 (*.f64 x #s(literal 2 binary64)) y)
(*.f64 x #s(literal 2 binary64))
Outputs
(/ 1/2 x)
(/ (+ 1/2 (* 1/2 (/ x y))) x)
y
(+ x y)
(* 2 (* x y))
(* 2 x)
(/ 1/2 y)
(+ (* 1/2 (/ 1 x)) (* 1/2 (/ 1 y)))
x
(* x (+ 1 (/ y x)))
(* -1 (* x (- (* -1 (/ y x)) 1)))
(/ (+ 1/2 (* 1/2 (/ y x))) y)
(* y (+ 1 (/ x y)))
(* -1 (* y (- (* -1 (/ x y)) 1)))
Calls

6 calls:

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

simplify183.0ms (4.7%)

Memory
13.0MiB live, 211.5MiB allocated; 44ms collecting garbage
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
03758
110758
225158
378652
4388852
5783852
0809852
Stop Event
iter limit
node limit
Counts
14 → 12
Calls
Call 1
Inputs
(/ 1/2 x)
(/ (+ 1/2 (* 1/2 (/ x y))) x)
y
(+ x y)
(* 2 (* x y))
(* 2 x)
(/ 1/2 y)
(+ (* 1/2 (/ 1 x)) (* 1/2 (/ 1 y)))
x
(* x (+ 1 (/ y x)))
(* -1 (* x (- (* -1 (/ y x)) 1)))
(/ (+ 1/2 (* 1/2 (/ y x))) y)
(* y (+ 1 (/ x y)))
(* -1 (* y (- (* -1 (/ x y)) 1)))
Outputs
(/ 1/2 x)
(/.f64 #s(literal 1/2 binary64) x)
(/ (+ 1/2 (* 1/2 (/ x y))) x)
(-.f64 (/.f64 #s(literal 1/2 binary64) y) (/.f64 #s(literal -1/2 binary64) x))
y
(+ x y)
(+.f64 y x)
(* 2 (* x y))
(*.f64 (*.f64 y x) #s(literal 2 binary64))
(* 2 x)
(*.f64 #s(literal 2 binary64) x)
(/ 1/2 y)
(/.f64 #s(literal 1/2 binary64) y)
(+ (* 1/2 (/ 1 x)) (* 1/2 (/ 1 y)))
(-.f64 (/.f64 #s(literal 1/2 binary64) y) (/.f64 #s(literal -1/2 binary64) x))
x
(* x (+ 1 (/ y x)))
(+.f64 y x)
(* -1 (* x (- (* -1 (/ y x)) 1)))
(+.f64 y x)
(/ (+ 1/2 (* 1/2 (/ y x))) y)
(-.f64 (/.f64 #s(literal 1/2 binary64) y) (/.f64 #s(literal -1/2 binary64) x))
(* y (+ 1 (/ x y)))
(+.f64 y x)
(* -1 (* y (- (* -1 (/ x y)) 1)))
(+.f64 y x)

rewrite48.0ms (1.2%)

Memory
4.7MiB live, 102.2MiB allocated; 13ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0720
01120
13920
023820
Stop Event
iter limit
iter limit
iter limit
unsound
iter limit
Counts
4 → 39
Calls
Call 1
Inputs
(/.f64 (+.f64 x y) (*.f64 (*.f64 x #s(literal 2 binary64)) y))
(+.f64 x y)
(*.f64 (*.f64 x #s(literal 2 binary64)) y)
(*.f64 x #s(literal 2 binary64))
Outputs
(/.f64 (/.f64 (+.f64 y x) y) (*.f64 #s(literal 2 binary64) x))
(/.f64 (/.f64 (+.f64 y x) x) (*.f64 #s(literal 2 binary64) y))
(/.f64 (-.f64 (*.f64 (/.f64 x (*.f64 (*.f64 #s(literal 2 binary64) x) y)) (/.f64 x (*.f64 (*.f64 #s(literal 2 binary64) x) y))) (*.f64 (/.f64 y (*.f64 (*.f64 #s(literal 2 binary64) x) y)) (/.f64 y (*.f64 (*.f64 #s(literal 2 binary64) x) y)))) (-.f64 (/.f64 x (*.f64 (*.f64 #s(literal 2 binary64) x) y)) (/.f64 y (*.f64 (*.f64 #s(literal 2 binary64) x) y))))
(/.f64 (+.f64 (pow.f64 (/.f64 x (*.f64 (*.f64 #s(literal 2 binary64) x) y)) #s(literal 3 binary64)) (pow.f64 (/.f64 y (*.f64 (*.f64 #s(literal 2 binary64) x) y)) #s(literal 3 binary64))) (fma.f64 (/.f64 x (*.f64 (*.f64 #s(literal 2 binary64) x) y)) (/.f64 x (*.f64 (*.f64 #s(literal 2 binary64) x) y)) (-.f64 (*.f64 (/.f64 y (*.f64 (*.f64 #s(literal 2 binary64) x) y)) (/.f64 y (*.f64 (*.f64 #s(literal 2 binary64) x) y))) (*.f64 (/.f64 x (*.f64 (*.f64 #s(literal 2 binary64) x) y)) (/.f64 y (*.f64 (*.f64 #s(literal 2 binary64) x) y))))))
(/.f64 (neg.f64 (/.f64 (/.f64 (+.f64 y x) #s(literal 2 binary64)) x)) (neg.f64 y))
(/.f64 (neg.f64 (neg.f64 (+.f64 y x))) (neg.f64 (*.f64 (neg.f64 x) (*.f64 #s(literal 2 binary64) y))))
(/.f64 (fma.f64 x (*.f64 (*.f64 #s(literal 2 binary64) x) y) (*.f64 (*.f64 (*.f64 #s(literal 2 binary64) x) y) y)) (*.f64 (*.f64 (*.f64 #s(literal 2 binary64) x) y) (*.f64 (*.f64 #s(literal 2 binary64) x) y)))
(/.f64 (/.f64 (/.f64 (+.f64 y x) #s(literal 2 binary64)) x) y)
(/.f64 (*.f64 (+.f64 y x) (-.f64 x y)) (*.f64 (-.f64 x y) (*.f64 (*.f64 #s(literal 2 binary64) x) 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 (*.f64 #s(literal 2 binary64) x) y)))
(/.f64 (neg.f64 (+.f64 y x)) (*.f64 (neg.f64 x) (*.f64 #s(literal 2 binary64) y)))
(/.f64 (+.f64 y x) (*.f64 (*.f64 #s(literal 2 binary64) x) y))
(neg.f64 (/.f64 (neg.f64 (+.f64 y x)) (*.f64 (*.f64 #s(literal 2 binary64) x) y)))
(neg.f64 (/.f64 (+.f64 y x) (*.f64 (neg.f64 x) (*.f64 #s(literal 2 binary64) y))))
(+.f64 (/.f64 y (*.f64 (*.f64 #s(literal 2 binary64) x) y)) (/.f64 x (*.f64 (*.f64 #s(literal 2 binary64) x) y)))
(+.f64 (/.f64 x (*.f64 (*.f64 #s(literal 2 binary64) x) y)) (/.f64 y (*.f64 (*.f64 #s(literal 2 binary64) x) 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 (*.f64 #s(literal 2 binary64) y) x)
(*.f64 (*.f64 y x) #s(literal 2 binary64))
(*.f64 (*.f64 #s(literal 2 binary64) x) y)
(*.f64 #s(literal 2 binary64) (*.f64 y x))
(*.f64 y (*.f64 #s(literal 2 binary64) x))
(*.f64 x (*.f64 #s(literal 2 binary64) y))
(*.f64 #s(literal 2 binary64) x)
(*.f64 x #s(literal 2 binary64))
(fma.f64 #s(literal 1 binary64) x (*.f64 #s(literal 1 binary64) x))
(fma.f64 x #s(literal 1 binary64) (*.f64 x #s(literal 1 binary64)))
(+.f64 (*.f64 #s(literal 1 binary64) x) (*.f64 #s(literal 1 binary64) x))
(+.f64 (*.f64 x #s(literal 1 binary64)) (*.f64 x #s(literal 1 binary64)))
(+.f64 x x)

eval4.0ms (0.1%)

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

Compiled 709 to 146 computations (79.4% saved)

prune5.0ms (0.1%)

Memory
-34.8MiB live, 12.3MiB allocated; 3ms collecting garbage
Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New40545
Fresh000
Picked101
Done000
Total41546
Accuracy
100.0%
Counts
46 → 5
Alt Table
Click to see full alt table
StatusAccuracyProgram
89.3%
(/.f64 (/.f64 (+.f64 y x) x) (*.f64 #s(literal 2 binary64) y))
73.2%
(/.f64 (+.f64 x y) (*.f64 (+.f64 x x) y))
50.7%
#s(approx (/ (+ x y) (* (* x 2) y)) (/.f64 #s(literal 1/2 binary64) y))
50.2%
#s(approx (/ (+ x y) (* (* x 2) y)) (/.f64 #s(literal 1/2 binary64) x))
100.0%
#s(approx (/ (+ x y) (* (* x 2) y)) (-.f64 (/.f64 #s(literal 1/2 binary64) y) (/.f64 #s(literal -1/2 binary64) x)))
Compiler

Compiled 122 to 92 computations (24.6% saved)

simplify151.0ms (3.9%)

Memory
9.2MiB live, 192.6MiB allocated; 26ms collecting garbage
Localize:

Found 16 expressions of interest:

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

Useful iterations: 2 (0.0ms)

IterNodesCost
024115
036115
163115
2112105
3240105
4758105
55450105
08323105
Stop Event
iter limit
node limit
iter limit
Calls
Call 1
Inputs
#s(approx (/ (+ x y) (* (* x 2) y)) (-.f64 (/.f64 #s(literal 1/2 binary64) y) (/.f64 #s(literal -1/2 binary64) x)))
(-.f64 (/.f64 #s(literal 1/2 binary64) y) (/.f64 #s(literal -1/2 binary64) x))
(/.f64 #s(literal 1/2 binary64) y)
#s(literal 1/2 binary64)
y
(/.f64 #s(literal -1/2 binary64) x)
#s(literal -1/2 binary64)
x
#s(approx (/ (+ x y) (* (* x 2) y)) (/.f64 #s(literal 1/2 binary64) x))
(/.f64 #s(literal 1/2 binary64) x)
#s(literal 1/2 binary64)
x
#s(approx (/ (+ x y) (* (* x 2) y)) (/.f64 #s(literal 1/2 binary64) y))
(/.f64 #s(literal 1/2 binary64) y)
#s(literal 1/2 binary64)
y
(/.f64 (+.f64 x y) (*.f64 (+.f64 x x) y))
(+.f64 x y)
x
y
(*.f64 (+.f64 x x) y)
(+.f64 x x)
(/.f64 (/.f64 (+.f64 y x) x) (*.f64 #s(literal 2 binary64) y))
(/.f64 (+.f64 y x) x)
(+.f64 y x)
y
x
(*.f64 #s(literal 2 binary64) y)
#s(literal 2 binary64)
Outputs
#s(approx (/ (+ x y) (* (* x 2) y)) (-.f64 (/.f64 #s(literal 1/2 binary64) y) (/.f64 #s(literal -1/2 binary64) x)))
(-.f64 (/.f64 #s(literal 1/2 binary64) y) (/.f64 #s(literal -1/2 binary64) x))
(/.f64 #s(literal 1/2 binary64) y)
#s(literal 1/2 binary64)
y
(/.f64 #s(literal -1/2 binary64) x)
#s(literal -1/2 binary64)
x
#s(approx (/ (+ x y) (* (* x 2) y)) (/.f64 #s(literal 1/2 binary64) x))
(/.f64 #s(literal 1/2 binary64) x)
#s(literal 1/2 binary64)
x
#s(approx (/ (+ x y) (* (* x 2) y)) (/.f64 #s(literal 1/2 binary64) y))
(/.f64 #s(literal 1/2 binary64) y)
#s(literal 1/2 binary64)
y
(/.f64 (+.f64 x y) (*.f64 (+.f64 x x) y))
(+.f64 (/.f64 #s(literal 1/2 binary64) x) (/.f64 #s(literal 1/2 binary64) y))
(+.f64 x y)
(+.f64 y x)
x
y
(*.f64 (+.f64 x x) y)
(*.f64 (*.f64 #s(literal 2 binary64) x) y)
(+.f64 x x)
(*.f64 #s(literal 2 binary64) x)
(/.f64 (/.f64 (+.f64 y x) x) (*.f64 #s(literal 2 binary64) y))
(+.f64 (/.f64 #s(literal 1/2 binary64) x) (/.f64 #s(literal 1/2 binary64) y))
(/.f64 (+.f64 y x) x)
(+.f64 y x)
y
x
(*.f64 #s(literal 2 binary64) y)
#s(literal 2 binary64)

localize71.0ms (1.8%)

Memory
44.2MiB live, 123.0MiB allocated; 31ms collecting garbage
Localize:

Found 16 expressions of interest:

NewMetricScoreProgram
accuracy0.0
(+.f64 y x)
accuracy0.0
(*.f64 #s(literal 2 binary64) y)
accuracy0.0078125
(/.f64 (+.f64 y x) x)
accuracy6.849419800213587
(/.f64 (/.f64 (+.f64 y x) x) (*.f64 #s(literal 2 binary64) y))
accuracy0.0
(+.f64 x y)
accuracy0.0
(+.f64 x x)
accuracy0.0
(*.f64 (+.f64 x x) y)
accuracy17.137231419419887
(/.f64 (+.f64 x y) (*.f64 (+.f64 x x) y))
accuracy0.0
(/.f64 #s(literal 1/2 binary64) y)
accuracy31.539463791142026
#s(approx (/ (+ x y) (* (* x 2) y)) (/.f64 #s(literal 1/2 binary64) y))
accuracy0.0
(/.f64 #s(literal 1/2 binary64) x)
accuracy31.8881573620254
#s(approx (/ (+ x y) (* (* x 2) y)) (/.f64 #s(literal 1/2 binary64) x))
accuracy0.0
(/.f64 #s(literal 1/2 binary64) y)
accuracy0.0
(/.f64 #s(literal -1/2 binary64) x)
accuracy0.0
#s(approx (/ (+ x y) (* (* x 2) y)) (-.f64 (/.f64 #s(literal 1/2 binary64) y) (/.f64 #s(literal -1/2 binary64) x)))
accuracy0.0234375
(-.f64 (/.f64 #s(literal 1/2 binary64) y) (/.f64 #s(literal -1/2 binary64) x))
Samples
58.0ms256×0valid
Compiler

Compiled 101 to 22 computations (78.2% saved)

Precisions
Click to see histograms. Total time spent on operations: 30.0ms
ival-div: 18.0ms (60.3% of total)
ival-mult: 6.0ms (20.1% of total)
ival-add: 4.0ms (13.4% of total)
ival-sub: 1.0ms (3.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)

series57.0ms (1.5%)

Memory
-43.3MiB live, 20.0MiB allocated; 26ms collecting garbage
Counts
15 → 21
Calls
Call 1
Inputs
#s(approx (/ (+ x y) (* (* x 2) y)) (-.f64 (/.f64 #s(literal 1/2 binary64) y) (/.f64 #s(literal -1/2 binary64) x)))
(-.f64 (/.f64 #s(literal 1/2 binary64) y) (/.f64 #s(literal -1/2 binary64) x))
(/.f64 #s(literal 1/2 binary64) y)
(/.f64 #s(literal -1/2 binary64) x)
#s(approx (/ (+ x y) (* (* x 2) y)) (/.f64 #s(literal 1/2 binary64) x))
(/.f64 #s(literal 1/2 binary64) x)
#s(approx (/ (+ x y) (* (* x 2) y)) (/.f64 #s(literal 1/2 binary64) y))
(/.f64 (+.f64 x y) (*.f64 (+.f64 x x) y))
(+.f64 x y)
(*.f64 (+.f64 x x) y)
(+.f64 x x)
(/.f64 (/.f64 (+.f64 y x) x) (*.f64 #s(literal 2 binary64) y))
(/.f64 (+.f64 y x) x)
(+.f64 y x)
(*.f64 #s(literal 2 binary64) y)
Outputs
(/ 1/2 x)
(/ (+ 1/2 (* 1/2 (/ x y))) x)
(/ -1/2 x)
y
(+ x y)
(* 2 (* x y))
(* 2 x)
(/ y x)
(/ (+ x y) x)
(/ 1/2 y)
(+ (* 1/2 (/ 1 x)) (* 1/2 (/ 1 y)))
x
(* x (+ 1 (/ y x)))
1
(+ 1 (/ y x))
(* -1 (* x (- (* -1 (/ y x)) 1)))
(/ (+ 1/2 (* 1/2 (/ y x))) y)
(* 2 y)
(* y (+ 1 (/ x y)))
(* y (+ (/ 1 x) (/ 1 y)))
(* -1 (* y (- (* -1 (/ x y)) 1)))
Calls

6 calls:

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

simplify237.0ms (6.2%)

Memory
36.1MiB live, 277.3MiB allocated; 135ms collecting garbage
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
04383
112383
227377
394877
4475977
0830377
Stop Event
iter limit
node limit
Counts
21 → 19
Calls
Call 1
Inputs
(/ 1/2 x)
(/ (+ 1/2 (* 1/2 (/ x y))) x)
(/ -1/2 x)
y
(+ x y)
(* 2 (* x y))
(* 2 x)
(/ y x)
(/ (+ x y) x)
(/ 1/2 y)
(+ (* 1/2 (/ 1 x)) (* 1/2 (/ 1 y)))
x
(* x (+ 1 (/ y x)))
1
(+ 1 (/ y x))
(* -1 (* x (- (* -1 (/ y x)) 1)))
(/ (+ 1/2 (* 1/2 (/ y x))) y)
(* 2 y)
(* y (+ 1 (/ x y)))
(* y (+ (/ 1 x) (/ 1 y)))
(* -1 (* y (- (* -1 (/ x y)) 1)))
Outputs
(/ 1/2 x)
(/.f64 #s(literal 1/2 binary64) x)
(/ (+ 1/2 (* 1/2 (/ x y))) x)
(-.f64 (/.f64 #s(literal 1/2 binary64) y) (/.f64 #s(literal -1/2 binary64) x))
(/ -1/2 x)
(/.f64 #s(literal -1/2 binary64) x)
y
(+ x y)
(+.f64 y x)
(* 2 (* x y))
(*.f64 (*.f64 y x) #s(literal 2 binary64))
(* 2 x)
(*.f64 #s(literal 2 binary64) x)
(/ y x)
(/.f64 y x)
(/ (+ x y) x)
(/.f64 (+.f64 y x) x)
(/ 1/2 y)
(/.f64 #s(literal 1/2 binary64) y)
(+ (* 1/2 (/ 1 x)) (* 1/2 (/ 1 y)))
(-.f64 (/.f64 #s(literal 1/2 binary64) y) (/.f64 #s(literal -1/2 binary64) x))
x
(* x (+ 1 (/ y x)))
(+.f64 y x)
1
#s(literal 1 binary64)
(+ 1 (/ y x))
(/.f64 (+.f64 y x) x)
(* -1 (* x (- (* -1 (/ y x)) 1)))
(+.f64 y x)
(/ (+ 1/2 (* 1/2 (/ y x))) y)
(-.f64 (/.f64 #s(literal 1/2 binary64) y) (/.f64 #s(literal -1/2 binary64) x))
(* 2 y)
(*.f64 #s(literal 2 binary64) y)
(* y (+ 1 (/ x y)))
(+.f64 y x)
(* y (+ (/ 1 x) (/ 1 y)))
(/.f64 (+.f64 y x) x)
(* -1 (* y (- (* -1 (/ x y)) 1)))
(+.f64 y x)

rewrite122.0ms (3.2%)

Memory
-27.7MiB live, 117.0MiB allocated; 12ms collecting garbage
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
02499
036101
112485
077585
Stop Event
iter limit
iter limit
node limit
iter limit
Counts
15 → 158
Calls
Call 1
Inputs
#s(approx (/ (+ x y) (* (* x 2) y)) (-.f64 (/.f64 #s(literal 1/2 binary64) y) (/.f64 #s(literal -1/2 binary64) x)))
(-.f64 (/.f64 #s(literal 1/2 binary64) y) (/.f64 #s(literal -1/2 binary64) x))
(/.f64 #s(literal 1/2 binary64) y)
(/.f64 #s(literal -1/2 binary64) x)
#s(approx (/ (+ x y) (* (* x 2) y)) (/.f64 #s(literal 1/2 binary64) x))
(/.f64 #s(literal 1/2 binary64) x)
#s(approx (/ (+ x y) (* (* x 2) y)) (/.f64 #s(literal 1/2 binary64) y))
(/.f64 (+.f64 x y) (*.f64 (+.f64 x x) y))
(+.f64 x y)
(*.f64 (+.f64 x x) y)
(+.f64 x x)
(/.f64 (/.f64 (+.f64 y x) x) (*.f64 #s(literal 2 binary64) y))
(/.f64 (+.f64 y x) x)
(+.f64 y x)
(*.f64 #s(literal 2 binary64) y)
Outputs
#s(approx (/ (+ x y) (* (* x 2) y)) (-.f64 (/.f64 #s(literal 1/2 binary64) y) (/.f64 #s(literal -1/2 binary64) x)))
(/.f64 (/.f64 (fma.f64 #s(literal 1/2 binary64) x (*.f64 (neg.f64 y) #s(literal -1/2 binary64))) y) x)
(/.f64 (neg.f64 (-.f64 (pow.f64 (/.f64 #s(literal 1/2 binary64) y) #s(literal 2 binary64)) (pow.f64 (/.f64 #s(literal -1/2 binary64) x) #s(literal 2 binary64)))) (neg.f64 (+.f64 (/.f64 #s(literal -1/2 binary64) x) (/.f64 #s(literal 1/2 binary64) y))))
(/.f64 (neg.f64 (-.f64 (pow.f64 (/.f64 #s(literal 1/2 binary64) y) #s(literal 3 binary64)) (pow.f64 (/.f64 #s(literal -1/2 binary64) x) #s(literal 3 binary64)))) (neg.f64 (fma.f64 (/.f64 #s(literal -1/2 binary64) x) (+.f64 (/.f64 #s(literal -1/2 binary64) x) (/.f64 #s(literal 1/2 binary64) y)) (pow.f64 (/.f64 #s(literal 1/2 binary64) y) #s(literal 2 binary64)))))
(/.f64 (neg.f64 (fma.f64 #s(literal 1/2 binary64) x (*.f64 (neg.f64 y) #s(literal -1/2 binary64)))) (neg.f64 (*.f64 y x)))
(/.f64 (-.f64 (*.f64 #s(literal -1/2 binary64) x) (*.f64 (neg.f64 y) #s(literal -1/2 binary64))) (*.f64 (neg.f64 y) x))
(/.f64 (-.f64 (*.f64 #s(literal -1/2 binary64) (neg.f64 x)) (*.f64 (neg.f64 y) #s(literal 1/2 binary64))) (*.f64 (neg.f64 y) (neg.f64 x)))
(/.f64 (-.f64 (*.f64 #s(literal 1/2 binary64) (neg.f64 x)) (*.f64 y #s(literal 1/2 binary64))) (*.f64 y (neg.f64 x)))
(/.f64 (-.f64 (pow.f64 (/.f64 #s(literal 1/2 binary64) y) #s(literal 2 binary64)) (pow.f64 (/.f64 #s(literal -1/2 binary64) x) #s(literal 2 binary64))) (+.f64 (/.f64 #s(literal -1/2 binary64) x) (/.f64 #s(literal 1/2 binary64) y)))
(/.f64 (-.f64 (pow.f64 (/.f64 #s(literal 1/2 binary64) y) #s(literal 3 binary64)) (pow.f64 (/.f64 #s(literal -1/2 binary64) x) #s(literal 3 binary64))) (fma.f64 (/.f64 #s(literal -1/2 binary64) x) (+.f64 (/.f64 #s(literal -1/2 binary64) x) (/.f64 #s(literal 1/2 binary64) y)) (pow.f64 (/.f64 #s(literal 1/2 binary64) y) #s(literal 2 binary64))))
(/.f64 (fma.f64 #s(literal 1/2 binary64) x (*.f64 (neg.f64 y) #s(literal -1/2 binary64))) (*.f64 y x))
(-.f64 (/.f64 (pow.f64 (/.f64 #s(literal 1/2 binary64) y) #s(literal 2 binary64)) (+.f64 (/.f64 #s(literal -1/2 binary64) x) (/.f64 #s(literal 1/2 binary64) y))) (/.f64 (pow.f64 (/.f64 #s(literal -1/2 binary64) x) #s(literal 2 binary64)) (+.f64 (/.f64 #s(literal -1/2 binary64) x) (/.f64 #s(literal 1/2 binary64) y))))
(-.f64 (/.f64 (pow.f64 (/.f64 #s(literal 1/2 binary64) y) #s(literal 3 binary64)) (fma.f64 (/.f64 #s(literal -1/2 binary64) x) (+.f64 (/.f64 #s(literal -1/2 binary64) x) (/.f64 #s(literal 1/2 binary64) y)) (pow.f64 (/.f64 #s(literal 1/2 binary64) y) #s(literal 2 binary64)))) (/.f64 (pow.f64 (/.f64 #s(literal -1/2 binary64) x) #s(literal 3 binary64)) (fma.f64 (/.f64 #s(literal -1/2 binary64) x) (+.f64 (/.f64 #s(literal -1/2 binary64) x) (/.f64 #s(literal 1/2 binary64) y)) (pow.f64 (/.f64 #s(literal 1/2 binary64) y) #s(literal 2 binary64)))))
(-.f64 (/.f64 (*.f64 #s(literal 1/2 binary64) x) (*.f64 y x)) (/.f64 (*.f64 #s(literal -1/2 binary64) y) (*.f64 y x)))
(-.f64 (/.f64 #s(literal 1/2 binary64) y) (/.f64 #s(literal -1/2 binary64) 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) (neg.f64 y)))
(neg.f64 (/.f64 #s(literal -1/2 binary64) y))
(/.f64 #s(literal -1/2 binary64) (neg.f64 (neg.f64 x)))
(/.f64 #s(literal -1/2 binary64) x)
(/.f64 #s(literal 1/2 binary64) (neg.f64 x))
(neg.f64 (/.f64 #s(literal 1/2 binary64) x))
#s(approx (/ (+ x y) (* (* x 2) y)) (/.f64 #s(literal 1/2 binary64) x))
(/.f64 #s(literal -1/2 binary64) (neg.f64 x))
(/.f64 #s(literal 1/2 binary64) (neg.f64 (neg.f64 x)))
(/.f64 #s(literal 1/2 binary64) x)
(neg.f64 (/.f64 #s(literal -1/2 binary64) x))
#s(approx (/ (+ x y) (* (* x 2) y)) (/.f64 #s(literal 1/2 binary64) y))
(/.f64 (/.f64 (/.f64 (+.f64 y x) x) y) #s(literal 2 binary64))
(/.f64 (/.f64 (+.f64 y x) y) #s(literal 2 binary64))
(/.f64 (-.f64 (*.f64 (/.f64 #s(literal 1 binary64) (*.f64 #s(literal 2 binary64) y)) (/.f64 #s(literal 1 binary64) (*.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 #s(literal 1 binary64) (*.f64 #s(literal 2 binary64) y)) (/.f64 y (*.f64 #s(literal 2 binary64) y))))
(/.f64 (+.f64 (pow.f64 (/.f64 #s(literal 1 binary64) (*.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 #s(literal 1 binary64) (*.f64 #s(literal 2 binary64) y)) (/.f64 #s(literal 1 binary64) (*.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 #s(literal 1 binary64) (*.f64 #s(literal 2 binary64) y)) (/.f64 y (*.f64 #s(literal 2 binary64) y))))))
(/.f64 (neg.f64 (/.f64 (+.f64 y x) #s(literal 2 binary64))) (neg.f64 y))
(/.f64 (neg.f64 (neg.f64 (+.f64 y x))) (neg.f64 (*.f64 #s(literal -2 binary64) y)))
(/.f64 (fma.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) #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 (+.f64 y x) (-.f64 y x)) (*.f64 (-.f64 y x) (*.f64 #s(literal 2 binary64) y)))
(/.f64 (+.f64 (pow.f64 x #s(literal 3 binary64)) (pow.f64 y #s(literal 3 binary64))) (*.f64 (fma.f64 y (-.f64 y x) (*.f64 x x)) (*.f64 #s(literal 2 binary64) y)))
(/.f64 (+.f64 (pow.f64 x #s(literal 3 binary64)) (pow.f64 y #s(literal 3 binary64))) (*.f64 (fma.f64 x (-.f64 x y) (*.f64 y y)) (*.f64 #s(literal 2 binary64) y)))
(/.f64 (neg.f64 (+.f64 y x)) (*.f64 #s(literal -2 binary64) y))
(/.f64 (/.f64 (+.f64 y x) (neg.f64 x)) (*.f64 #s(literal -2 binary64) y))
(/.f64 (/.f64 (+.f64 y x) x) (neg.f64 (*.f64 #s(literal -2 binary64) y)))
(/.f64 (/.f64 (+.f64 y x) x) (*.f64 #s(literal 2 binary64) y))
(/.f64 (+.f64 y x) (*.f64 #s(literal 2 binary64) y))
(neg.f64 (/.f64 (neg.f64 (+.f64 y x)) (*.f64 #s(literal 2 binary64) y)))
(neg.f64 (/.f64 (/.f64 (+.f64 y x) (neg.f64 x)) (*.f64 #s(literal 2 binary64) y)))
(neg.f64 (/.f64 (+.f64 y x) (*.f64 #s(literal -2 binary64) y)))
(neg.f64 (/.f64 (/.f64 (+.f64 y x) x) (*.f64 #s(literal -2 binary64) y)))
(+.f64 (/.f64 y (*.f64 #s(literal 2 binary64) y)) (/.f64 #s(literal 1 binary64) (*.f64 #s(literal 2 binary64) y)))
(+.f64 (/.f64 #s(literal 1 binary64) (*.f64 #s(literal 2 binary64) y)) (/.f64 y (*.f64 #s(literal 2 binary64) y)))
(/.f64 (neg.f64 (*.f64 (+.f64 y x) (-.f64 x y))) (neg.f64 (-.f64 x y)))
(/.f64 (neg.f64 (*.f64 (+.f64 y x) (-.f64 y x))) (neg.f64 (-.f64 y x)))
(/.f64 (neg.f64 (+.f64 (pow.f64 x #s(literal 3 binary64)) (pow.f64 y #s(literal 3 binary64)))) (neg.f64 (fma.f64 y (-.f64 y x) (*.f64 x x))))
(/.f64 (neg.f64 (+.f64 (pow.f64 x #s(literal 3 binary64)) (pow.f64 y #s(literal 3 binary64)))) (neg.f64 (fma.f64 x (-.f64 x y) (*.f64 y y))))
(/.f64 (*.f64 (+.f64 y x) (-.f64 x y)) (-.f64 x y))
(/.f64 (*.f64 (+.f64 y x) (-.f64 y x)) (-.f64 y x))
(/.f64 (+.f64 (pow.f64 x #s(literal 3 binary64)) (pow.f64 y #s(literal 3 binary64))) (fma.f64 y (-.f64 y x) (*.f64 x x)))
(/.f64 (+.f64 (pow.f64 x #s(literal 3 binary64)) (pow.f64 y #s(literal 3 binary64))) (fma.f64 x (-.f64 x y) (*.f64 y y)))
(-.f64 (/.f64 (*.f64 x x) (-.f64 x y)) (/.f64 (*.f64 y y) (-.f64 x y)))
(-.f64 (/.f64 (*.f64 y y) (-.f64 y x)) (/.f64 (*.f64 x x) (-.f64 y x)))
(+.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 (/.f64 (pow.f64 y #s(literal 3 binary64)) (fma.f64 x (-.f64 x y) (*.f64 y y))) (/.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 x (-.f64 x y) (*.f64 y y))))
(+.f64 y x)
(+.f64 x y)
(*.f64 (*.f64 y x) #s(literal 2 binary64))
(*.f64 (*.f64 #s(literal 2 binary64) y) x)
(*.f64 #s(literal 2 binary64) (*.f64 y x))
(*.f64 #s(literal 2 binary64) y)
(*.f64 y #s(literal 2 binary64))
(*.f64 x (*.f64 #s(literal 2 binary64) y))
(/.f64 (*.f64 #s(literal 0 binary64) y) #s(literal 0 binary64))
(/.f64 (*.f64 (*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 3 binary64))) y) (fma.f64 x x #s(literal 0 binary64)))
(/.f64 (*.f64 y #s(literal 0 binary64)) #s(literal 0 binary64))
(/.f64 (*.f64 y (*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 3 binary64)))) (fma.f64 x x #s(literal 0 binary64)))
(/.f64 (-.f64 (*.f64 y y) (*.f64 y y)) (-.f64 y y))
(/.f64 (+.f64 (pow.f64 y #s(literal 3 binary64)) (pow.f64 y #s(literal 3 binary64))) (fma.f64 y y (-.f64 (*.f64 y y) (*.f64 y y))))
(fma.f64 #s(literal 1 binary64) y (*.f64 #s(literal 1 binary64) y))
(fma.f64 y #s(literal 1 binary64) (*.f64 y #s(literal 1 binary64)))
(fma.f64 y x (*.f64 y x))
(fma.f64 x y (*.f64 y x))
(+.f64 (*.f64 #s(literal 1 binary64) y) (*.f64 #s(literal 1 binary64) y))
(+.f64 (*.f64 y #s(literal 1 binary64)) (*.f64 y #s(literal 1 binary64)))
(+.f64 (*.f64 y x) (*.f64 y x))
(+.f64 y y)
#s(literal 2 binary64)
(/.f64 (/.f64 (/.f64 (+.f64 y x) x) y) #s(literal 2 binary64))
(/.f64 (/.f64 (+.f64 y x) y) #s(literal 2 binary64))
(/.f64 (-.f64 (*.f64 (/.f64 #s(literal 1 binary64) (*.f64 #s(literal 2 binary64) y)) (/.f64 #s(literal 1 binary64) (*.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 #s(literal 1 binary64) (*.f64 #s(literal 2 binary64) y)) (/.f64 y (*.f64 #s(literal 2 binary64) y))))
(/.f64 (+.f64 (pow.f64 (/.f64 #s(literal 1 binary64) (*.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 #s(literal 1 binary64) (*.f64 #s(literal 2 binary64) y)) (/.f64 #s(literal 1 binary64) (*.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 #s(literal 1 binary64) (*.f64 #s(literal 2 binary64) y)) (/.f64 y (*.f64 #s(literal 2 binary64) y))))))
(/.f64 (neg.f64 (/.f64 (+.f64 y x) #s(literal 2 binary64))) (neg.f64 y))
(/.f64 (neg.f64 (neg.f64 (+.f64 y x))) (neg.f64 (*.f64 #s(literal -2 binary64) y)))
(/.f64 (fma.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) #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 (+.f64 y x) (-.f64 y x)) (*.f64 (-.f64 y x) (*.f64 #s(literal 2 binary64) y)))
(/.f64 (+.f64 (pow.f64 x #s(literal 3 binary64)) (pow.f64 y #s(literal 3 binary64))) (*.f64 (fma.f64 y (-.f64 y x) (*.f64 x x)) (*.f64 #s(literal 2 binary64) y)))
(/.f64 (+.f64 (pow.f64 x #s(literal 3 binary64)) (pow.f64 y #s(literal 3 binary64))) (*.f64 (fma.f64 x (-.f64 x y) (*.f64 y y)) (*.f64 #s(literal 2 binary64) y)))
(/.f64 (neg.f64 (+.f64 y x)) (*.f64 #s(literal -2 binary64) y))
(/.f64 (/.f64 (+.f64 y x) (neg.f64 x)) (*.f64 #s(literal -2 binary64) y))
(/.f64 (/.f64 (+.f64 y x) x) (neg.f64 (*.f64 #s(literal -2 binary64) y)))
(/.f64 (/.f64 (+.f64 y x) x) (*.f64 #s(literal 2 binary64) y))
(/.f64 (+.f64 y x) (*.f64 #s(literal 2 binary64) y))
(neg.f64 (/.f64 (neg.f64 (+.f64 y x)) (*.f64 #s(literal 2 binary64) y)))
(neg.f64 (/.f64 (/.f64 (+.f64 y x) (neg.f64 x)) (*.f64 #s(literal 2 binary64) y)))
(neg.f64 (/.f64 (+.f64 y x) (*.f64 #s(literal -2 binary64) y)))
(neg.f64 (/.f64 (/.f64 (+.f64 y x) x) (*.f64 #s(literal -2 binary64) y)))
(+.f64 (/.f64 y (*.f64 #s(literal 2 binary64) y)) (/.f64 #s(literal 1 binary64) (*.f64 #s(literal 2 binary64) y)))
(+.f64 (/.f64 #s(literal 1 binary64) (*.f64 #s(literal 2 binary64) y)) (/.f64 y (*.f64 #s(literal 2 binary64) y)))
(/.f64 (-.f64 (*.f64 (/.f64 y x) (/.f64 y x)) #s(literal 1 binary64)) (-.f64 (/.f64 y x) #s(literal 1 binary64)))
(/.f64 (+.f64 (pow.f64 (/.f64 y x) #s(literal 3 binary64)) #s(literal 1 binary64)) (fma.f64 (/.f64 y x) (/.f64 y x) (-.f64 #s(literal 1 binary64) (*.f64 (/.f64 y x) #s(literal 1 binary64)))))
(/.f64 (neg.f64 (neg.f64 (+.f64 y x))) (neg.f64 (neg.f64 x)))
(/.f64 (fma.f64 y x (*.f64 x x)) (*.f64 x x))
(/.f64 (*.f64 (+.f64 y x) (-.f64 x y)) (*.f64 (-.f64 x y) x))
(/.f64 (*.f64 (+.f64 y x) (-.f64 y x)) (*.f64 (-.f64 y x) x))
(/.f64 (+.f64 (pow.f64 x #s(literal 3 binary64)) (pow.f64 y #s(literal 3 binary64))) (*.f64 (fma.f64 y (-.f64 y x) (*.f64 x x)) x))
(/.f64 (+.f64 (pow.f64 x #s(literal 3 binary64)) (pow.f64 y #s(literal 3 binary64))) (*.f64 (fma.f64 x (-.f64 x y) (*.f64 y y)) x))
(/.f64 (neg.f64 (+.f64 y x)) (neg.f64 x))
(/.f64 (+.f64 y x) x)
(neg.f64 (/.f64 (+.f64 y x) (neg.f64 x)))
(+.f64 #s(literal 1 binary64) (/.f64 y x))
(+.f64 (/.f64 y x) #s(literal 1 binary64))
(/.f64 (neg.f64 (*.f64 (+.f64 y x) (-.f64 x y))) (neg.f64 (-.f64 x y)))
(/.f64 (neg.f64 (*.f64 (+.f64 y x) (-.f64 y x))) (neg.f64 (-.f64 y x)))
(/.f64 (neg.f64 (+.f64 (pow.f64 x #s(literal 3 binary64)) (pow.f64 y #s(literal 3 binary64)))) (neg.f64 (fma.f64 y (-.f64 y x) (*.f64 x x))))
(/.f64 (neg.f64 (+.f64 (pow.f64 x #s(literal 3 binary64)) (pow.f64 y #s(literal 3 binary64)))) (neg.f64 (fma.f64 x (-.f64 x y) (*.f64 y y))))
(/.f64 (*.f64 (+.f64 y x) (-.f64 x y)) (-.f64 x y))
(/.f64 (*.f64 (+.f64 y x) (-.f64 y x)) (-.f64 y x))
(/.f64 (+.f64 (pow.f64 x #s(literal 3 binary64)) (pow.f64 y #s(literal 3 binary64))) (fma.f64 y (-.f64 y x) (*.f64 x x)))
(/.f64 (+.f64 (pow.f64 x #s(literal 3 binary64)) (pow.f64 y #s(literal 3 binary64))) (fma.f64 x (-.f64 x y) (*.f64 y y)))
(-.f64 (/.f64 (*.f64 x x) (-.f64 x y)) (/.f64 (*.f64 y y) (-.f64 x y)))
(-.f64 (/.f64 (*.f64 y y) (-.f64 y x)) (/.f64 (*.f64 x x) (-.f64 y x)))
(+.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 (/.f64 (pow.f64 y #s(literal 3 binary64)) (fma.f64 x (-.f64 x y) (*.f64 y y))) (/.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 x (-.f64 x y) (*.f64 y y))))
(+.f64 y x)
(+.f64 x y)
(*.f64 (*.f64 y x) #s(literal 2 binary64))
(*.f64 (*.f64 #s(literal 2 binary64) y) x)
(*.f64 #s(literal 2 binary64) (*.f64 y x))
(*.f64 #s(literal 2 binary64) y)
(*.f64 y #s(literal 2 binary64))
(*.f64 x (*.f64 #s(literal 2 binary64) y))
(/.f64 (*.f64 #s(literal 0 binary64) y) #s(literal 0 binary64))
(/.f64 (*.f64 (*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 3 binary64))) y) (fma.f64 x x #s(literal 0 binary64)))
(/.f64 (*.f64 y #s(literal 0 binary64)) #s(literal 0 binary64))
(/.f64 (*.f64 y (*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 3 binary64)))) (fma.f64 x x #s(literal 0 binary64)))
(/.f64 (-.f64 (*.f64 y y) (*.f64 y y)) (-.f64 y y))
(/.f64 (+.f64 (pow.f64 y #s(literal 3 binary64)) (pow.f64 y #s(literal 3 binary64))) (fma.f64 y y (-.f64 (*.f64 y y) (*.f64 y y))))
(fma.f64 #s(literal 1 binary64) y (*.f64 #s(literal 1 binary64) y))
(fma.f64 y #s(literal 1 binary64) (*.f64 y #s(literal 1 binary64)))
(fma.f64 y x (*.f64 y x))
(fma.f64 x y (*.f64 y x))
(+.f64 (*.f64 #s(literal 1 binary64) y) (*.f64 #s(literal 1 binary64) y))
(+.f64 (*.f64 y #s(literal 1 binary64)) (*.f64 y #s(literal 1 binary64)))
(+.f64 (*.f64 y x) (*.f64 y x))
(+.f64 y y)

eval11.0ms (0.3%)

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

Compiled 1 881 to 349 computations (81.4% saved)

prune35.0ms (0.9%)

Memory
-36.3MiB live, 10.5MiB allocated; 3ms collecting garbage
Pruning

6 alts after pruning (1 fresh and 5 done)

PrunedKeptTotal
New1131114
Fresh000
Picked055
Done000
Total1136119
Accuracy
100.0%
Counts
119 → 6
Alt Table
Click to see full alt table
StatusAccuracyProgram
89.3%
(/.f64 (/.f64 (+.f64 y x) x) (*.f64 #s(literal 2 binary64) y))
73.2%
(/.f64 (+.f64 x y) (*.f64 (+.f64 x x) y))
39.5%
(/.f64 #s(approx (/ (+ y x) x) (/.f64 y x)) (*.f64 #s(literal 2 binary64) y))
50.7%
#s(approx (/ (+ x y) (* (* x 2) y)) (/.f64 #s(literal 1/2 binary64) y))
50.2%
#s(approx (/ (+ x y) (* (* x 2) y)) (/.f64 #s(literal 1/2 binary64) x))
100.0%
#s(approx (/ (+ x y) (* (* x 2) y)) (-.f64 (/.f64 #s(literal 1/2 binary64) y) (/.f64 #s(literal -1/2 binary64) x)))
Compiler

Compiled 74 to 55 computations (25.7% saved)

simplify140.0ms (3.6%)

Memory
34.7MiB live, 124.7MiB allocated; 12ms collecting garbage
Localize:

Found 4 expressions of interest:

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

Useful iterations: 0 (0.0ms)

IterNodesCost
0931
01231
12131
23331
36131
420231
593831
6719831
0802131
Stop Event
iter limit
node limit
iter limit
Calls
Call 1
Inputs
(/.f64 #s(approx (/ (+ y x) x) (/.f64 y x)) (*.f64 #s(literal 2 binary64) y))
#s(approx (/ (+ y x) x) (/.f64 y x))
(/.f64 y x)
y
x
(*.f64 #s(literal 2 binary64) y)
#s(literal 2 binary64)
Outputs
(/.f64 #s(approx (/ (+ y x) x) (/.f64 y x)) (*.f64 #s(literal 2 binary64) y))
#s(approx (/ (+ y x) x) (/.f64 y x))
(/.f64 y x)
y
x
(*.f64 #s(literal 2 binary64) y)
#s(literal 2 binary64)

localize42.0ms (1.1%)

Memory
-26.8MiB live, 68.9MiB allocated; 18ms collecting garbage
Localize:

Found 4 expressions of interest:

NewMetricScoreProgram
accuracy0.0
(/.f64 y x)
accuracy0.0
(*.f64 #s(literal 2 binary64) y)
accuracy6.849419800213587
(/.f64 #s(approx (/ (+ y x) x) (/.f64 y x)) (*.f64 #s(literal 2 binary64) y))
accuracy31.753617578633058
#s(approx (/ (+ y x) x) (/.f64 y x))
Samples
33.0ms256×0valid
Compiler

Compiled 25 to 10 computations (60% saved)

Precisions
Click to see histograms. Total time spent on operations: 8.0ms
ival-div: 5.0ms (60.8% of total)
ival-add: 1.0ms (12.2% of total)
ival-mult: 1.0ms (12.2% of total)
ival-true: 0.0ms (0% of total)
adjust: 0.0ms (0% of total)
exact: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

series5.0ms (0.1%)

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

6 calls:

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

simplify161.0ms (4.2%)

Memory
-4.8MiB live, 180.4MiB allocated; 35ms collecting garbage
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
02655
17055
217449
369949
4509049
0858549
Stop Event
iter limit
node limit
Counts
11 → 11
Calls
Call 1
Inputs
(/ 1/2 x)
(/ (+ 1/2 (* 1/2 (/ x y))) x)
(/ y x)
(/ (+ x y) x)
(/ 1/2 y)
(+ (* 1/2 (/ 1 x)) (* 1/2 (/ 1 y)))
1
(+ 1 (/ y x))
(/ (+ 1/2 (* 1/2 (/ y x))) y)
(* 2 y)
(* y (+ (/ 1 x) (/ 1 y)))
Outputs
(/ 1/2 x)
(/.f64 #s(literal 1/2 binary64) x)
(/ (+ 1/2 (* 1/2 (/ x y))) x)
(-.f64 (/.f64 #s(literal 1/2 binary64) y) (/.f64 #s(literal -1/2 binary64) x))
(/ y x)
(/.f64 y x)
(/ (+ x y) x)
(/.f64 (+.f64 x y) x)
(/ 1/2 y)
(/.f64 #s(literal 1/2 binary64) y)
(+ (* 1/2 (/ 1 x)) (* 1/2 (/ 1 y)))
(-.f64 (/.f64 #s(literal 1/2 binary64) y) (/.f64 #s(literal -1/2 binary64) x))
1
#s(literal 1 binary64)
(+ 1 (/ y x))
(/.f64 (+.f64 x y) x)
(/ (+ 1/2 (* 1/2 (/ y x))) y)
(-.f64 (/.f64 #s(literal 1/2 binary64) y) (/.f64 #s(literal -1/2 binary64) x))
(* 2 y)
(*.f64 #s(literal 2 binary64) y)
(* y (+ (/ 1 x) (/ 1 y)))
(/.f64 (+.f64 x y) x)

rewrite37.0ms (0.9%)

Memory
11.9MiB live, 57.5MiB allocated; 5ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0928
01228
14228
023128
Stop Event
iter limit
iter limit
iter limit
unsound
iter limit
Counts
4 → 23
Calls
Call 1
Inputs
(/.f64 #s(approx (/ (+ y x) x) (/.f64 y x)) (*.f64 #s(literal 2 binary64) y))
#s(approx (/ (+ y x) x) (/.f64 y x))
(/.f64 y x)
(*.f64 #s(literal 2 binary64) y)
Outputs
(/.f64 (/.f64 #s(approx (/ (+ y x) x) (/.f64 y x)) y) #s(literal 2 binary64))
(/.f64 (neg.f64 (/.f64 #s(approx (/ (+ y x) x) (/.f64 y x)) #s(literal 2 binary64))) (neg.f64 y))
(/.f64 (neg.f64 (neg.f64 #s(approx (/ (+ y x) x) (/.f64 y x)))) (neg.f64 (*.f64 #s(literal -2 binary64) y)))
(/.f64 (/.f64 #s(approx (/ (+ y x) x) (/.f64 y x)) #s(literal 2 binary64)) y)
(/.f64 (neg.f64 #s(approx (/ (+ y x) x) (/.f64 y x))) (*.f64 #s(literal -2 binary64) y))
(/.f64 #s(approx (/ (+ y x) x) (/.f64 y x)) (*.f64 #s(literal 2 binary64) y))
(neg.f64 (/.f64 (neg.f64 #s(approx (/ (+ y x) x) (/.f64 y x))) (*.f64 #s(literal 2 binary64) y)))
(neg.f64 (/.f64 #s(approx (/ (+ y x) x) (/.f64 y x)) (*.f64 #s(literal -2 binary64) y)))
#s(approx (/ (+ y x) x) (/.f64 y x))
(/.f64 (neg.f64 (neg.f64 y)) (neg.f64 (neg.f64 x)))
(/.f64 (neg.f64 y) (neg.f64 x))
(/.f64 y x)
(neg.f64 (/.f64 (neg.f64 y) x))
(neg.f64 (/.f64 y (neg.f64 x)))
(*.f64 #s(literal 2 binary64) y)
(*.f64 y #s(literal 2 binary64))
(/.f64 (-.f64 (*.f64 y y) (*.f64 y y)) (-.f64 y y))
(/.f64 (+.f64 (pow.f64 y #s(literal 3 binary64)) (pow.f64 y #s(literal 3 binary64))) (fma.f64 y y (-.f64 (*.f64 y y) (*.f64 y y))))
(fma.f64 #s(literal 1 binary64) y (*.f64 #s(literal 1 binary64) y))
(fma.f64 y #s(literal 1 binary64) (*.f64 y #s(literal 1 binary64)))
(+.f64 (*.f64 #s(literal 1 binary64) y) (*.f64 #s(literal 1 binary64) y))
(+.f64 (*.f64 y #s(literal 1 binary64)) (*.f64 y #s(literal 1 binary64)))
(+.f64 y y)

eval3.0ms (0.1%)

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

Compiled 441 to 90 computations (79.6% saved)

prune2.0ms (0.1%)

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

6 alts after pruning (1 fresh and 5 done)

PrunedKeptTotal
New28129
Fresh000
Picked101
Done055
Total29635
Accuracy
100.0%
Counts
35 → 6
Alt Table
Click to see full alt table
StatusAccuracyProgram
89.3%
(/.f64 (/.f64 (+.f64 y x) x) (*.f64 #s(literal 2 binary64) y))
73.2%
(/.f64 (+.f64 x y) (*.f64 (+.f64 x x) y))
39.5%
(/.f64 #s(approx (/ (+ y x) x) (/.f64 y x)) (+.f64 y y))
50.7%
#s(approx (/ (+ x y) (* (* x 2) y)) (/.f64 #s(literal 1/2 binary64) y))
50.2%
#s(approx (/ (+ x y) (* (* x 2) y)) (/.f64 #s(literal 1/2 binary64) x))
100.0%
#s(approx (/ (+ x y) (* (* x 2) y)) (-.f64 (/.f64 #s(literal 1/2 binary64) y) (/.f64 #s(literal -1/2 binary64) x)))
Compiler

Compiled 74 to 54 computations (27% saved)

simplify138.0ms (3.6%)

Memory
0.4MiB live, 192.6MiB allocated; 41ms collecting garbage
Localize:

Found 4 expressions of interest:

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

Useful iterations: 0 (0.0ms)

IterNodesCost
0830
01130
11630
22330
33430
46930
524230
6115830
0861130
Stop Event
iter limit
node limit
iter limit
Calls
Call 1
Inputs
(/.f64 #s(approx (/ (+ y x) x) (/.f64 y x)) (+.f64 y y))
#s(approx (/ (+ y x) x) (/.f64 y x))
(/.f64 y x)
y
x
(+.f64 y y)
Outputs
(/.f64 #s(approx (/ (+ y x) x) (/.f64 y x)) (+.f64 y y))
(/.f64 #s(approx (/ (+ y x) x) (/.f64 y x)) (*.f64 #s(literal 2 binary64) y))
#s(approx (/ (+ y x) x) (/.f64 y x))
(/.f64 y x)
y
x
(+.f64 y y)
(*.f64 #s(literal 2 binary64) y)

localize59.0ms (1.5%)

Memory
-18.5MiB live, 81.1MiB allocated; 28ms collecting garbage
Localize:

Found 4 expressions of interest:

NewMetricScoreProgram
accuracy0.0
(/.f64 y x)
accuracy0.0
(+.f64 y y)
accuracy6.849419800213587
(/.f64 #s(approx (/ (+ y x) x) (/.f64 y x)) (+.f64 y y))
accuracy31.753617578633058
#s(approx (/ (+ y x) x) (/.f64 y x))
Samples
53.0ms256×0valid
Compiler

Compiled 24 to 9 computations (62.5% saved)

Precisions
Click to see histograms. Total time spent on operations: 27.0ms
ival-div: 15.0ms (55.6% of total)
ival-add: 11.0ms (40.8% of total)
ival-true: 0.0ms (0% of total)
adjust: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

series4.0ms (0.1%)

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

6 calls:

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

simplify144.0ms (3.7%)

Memory
17.2MiB live, 149.4MiB allocated; 31ms collecting garbage
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
02655
17055
217449
369949
4509049
0858549
Stop Event
iter limit
node limit
Counts
11 → 11
Calls
Call 1
Inputs
(/ 1/2 x)
(/ (+ 1/2 (* 1/2 (/ x y))) x)
(/ y x)
(/ (+ x y) x)
(/ 1/2 y)
(+ (* 1/2 (/ 1 x)) (* 1/2 (/ 1 y)))
1
(+ 1 (/ y x))
(/ (+ 1/2 (* 1/2 (/ y x))) y)
(* 2 y)
(* y (+ (/ 1 x) (/ 1 y)))
Outputs
(/ 1/2 x)
(/.f64 #s(literal 1/2 binary64) x)
(/ (+ 1/2 (* 1/2 (/ x y))) x)
(-.f64 (/.f64 #s(literal 1/2 binary64) y) (/.f64 #s(literal -1/2 binary64) x))
(/ y x)
(/.f64 y x)
(/ (+ x y) x)
(/.f64 (+.f64 x y) x)
(/ 1/2 y)
(/.f64 #s(literal 1/2 binary64) y)
(+ (* 1/2 (/ 1 x)) (* 1/2 (/ 1 y)))
(-.f64 (/.f64 #s(literal 1/2 binary64) y) (/.f64 #s(literal -1/2 binary64) x))
1
#s(literal 1 binary64)
(+ 1 (/ y x))
(/.f64 (+.f64 x y) x)
(/ (+ 1/2 (* 1/2 (/ y x))) y)
(-.f64 (/.f64 #s(literal 1/2 binary64) y) (/.f64 #s(literal -1/2 binary64) x))
(* 2 y)
(*.f64 #s(literal 2 binary64) y)
(* y (+ (/ 1 x) (/ 1 y)))
(/.f64 (+.f64 x y) x)

rewrite41.0ms (1.1%)

Memory
-4.6MiB live, 52.6MiB allocated; 14ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0828
01128
14328
027228
Stop Event
iter limit
iter limit
iter limit
unsound
iter limit
Counts
4 → 27
Calls
Call 1
Inputs
(/.f64 #s(approx (/ (+ y x) x) (/.f64 y x)) (+.f64 y y))
#s(approx (/ (+ y x) x) (/.f64 y x))
(/.f64 y x)
(+.f64 y y)
Outputs
(*.f64 (/.f64 #s(approx (/ (+ y x) x) (/.f64 y x)) #s(literal 0 binary64)) #s(literal 0 binary64))
(*.f64 (/.f64 #s(approx (/ (+ y x) x) (/.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 #s(approx (/ (+ y x) x) (/.f64 y x)) #s(literal 2 binary64)) y)
(/.f64 (neg.f64 (neg.f64 #s(approx (/ (+ y x) x) (/.f64 y x)))) (*.f64 #s(literal -2 binary64) y))
(/.f64 (neg.f64 #s(approx (/ (+ y x) x) (/.f64 y x))) (*.f64 #s(literal -2 binary64) y))
(/.f64 #s(approx (/ (+ y x) x) (/.f64 y x)) (*.f64 #s(literal -2 binary64) y))
(neg.f64 (/.f64 #s(approx (/ (+ y x) x) (/.f64 y x)) (*.f64 #s(literal -2 binary64) y)))
#s(approx (/ (+ y x) x) (/.f64 y x))
(/.f64 (neg.f64 (neg.f64 y)) (neg.f64 (neg.f64 x)))
(/.f64 (neg.f64 y) (neg.f64 x))
(/.f64 y x)
(neg.f64 (/.f64 (neg.f64 y) x))
(neg.f64 (/.f64 y (neg.f64 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)

eval8.0ms (0.2%)

Memory
-34.7MiB live, 10.0MiB allocated; 5ms collecting garbage
Compiler

Compiled 516 to 95 computations (81.6% saved)

prune3.0ms (0.1%)

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

6 alts after pruning (1 fresh and 5 done)

PrunedKeptTotal
New32133
Fresh000
Picked011
Done145
Total33639
Accuracy
100.0%
Counts
39 → 6
Alt Table
Click to see full alt table
StatusAccuracyProgram
73.2%
(/.f64 (+.f64 x y) (*.f64 (+.f64 x x) y))
89.3%
(/.f64 #s(approx (/ (+ y x) x) (/.f64 (+.f64 x y) x)) (+.f64 y y))
39.5%
(/.f64 #s(approx (/ (+ y x) x) (/.f64 y x)) (+.f64 y y))
50.7%
#s(approx (/ (+ x y) (* (* x 2) y)) (/.f64 #s(literal 1/2 binary64) y))
50.2%
#s(approx (/ (+ x y) (* (* x 2) y)) (/.f64 #s(literal 1/2 binary64) x))
100.0%
#s(approx (/ (+ x y) (* (* x 2) y)) (-.f64 (/.f64 #s(literal 1/2 binary64) y) (/.f64 #s(literal -1/2 binary64) x)))
Compiler

Compiled 191 to 94 computations (50.8% saved)

regimes9.0ms (0.2%)

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

3 calls:

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

Compiled 11 to 11 computations (0% saved)

regimes8.0ms (0.2%)

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

3 calls:

4.0ms
y
2.0ms
x
2.0ms
(/.f64 (+.f64 x y) (*.f64 (*.f64 x #s(literal 2 binary64)) y))
Results
AccuracySegmentsBranch
86.8%5(/.f64 (+.f64 x y) (*.f64 (*.f64 x #s(literal 2 binary64)) y))
92.3%4x
90.8%3y
Compiler

Compiled 11 to 11 computations (0% saved)

regimes3.0ms (0.1%)

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

2 calls:

1.0ms
y
1.0ms
x
Results
AccuracySegmentsBranch
83.8%2x
82.5%2y
Compiler

Compiled 2 to 4 computations (-100% saved)

regimes3.0ms (0.1%)

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

Total 0.0b remaining (0%)

Threshold costs 0b (0%)

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

3 calls:

1.0ms
x
1.0ms
y
1.0ms
(/.f64 (+.f64 x y) (*.f64 (*.f64 x #s(literal 2 binary64)) y))
Results
AccuracySegmentsBranch
50.2%1(/.f64 (+.f64 x y) (*.f64 (*.f64 x #s(literal 2 binary64)) y))
50.2%1y
50.2%1x
Compiler

Compiled 11 to 11 computations (0% saved)

bsearch31.0ms (0.8%)

Memory
-5.3MiB live, 40.2MiB allocated; 6ms collecting garbage
Algorithm
binary-search
Stop Event
narrow-enough
narrow-enough
Steps
TimeLeftRight
15.0ms
2.8530670672032666e+127
7.858659645978149e+128
13.0ms
6.095500767812233e-181
8.836152514522778e-162
Samples
13.0ms272×0valid
Compiler

Compiled 386 to 318 computations (17.6% saved)

Precisions
Click to see histograms. Total time spent on operations: 7.0ms
ival-mult: 3.0ms (43.1% of total)
ival-div: 2.0ms (28.7% of total)
ival-add: 2.0ms (28.7% 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)

bsearch14.0ms (0.4%)

Memory
16.9MiB live, 16.9MiB allocated; 0ms collecting garbage
Algorithm
binary-search
Stop Event
narrow-enough
Steps
TimeLeftRight
12.0ms
-1.8682476963007392e-174
-3.2699476563192047e-180
Samples
7.0ms144×0valid
Compiler

Compiled 246 to 210 computations (14.6% saved)

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

simplify89.0ms (2.3%)

Memory
-14.2MiB live, 86.3MiB allocated; 17ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
029103
143103
289103
3200103
4582103
54876103
Stop Event
node limit
Calls
Call 1
Inputs
#s(approx (/ (+ x y) (* (* x 2) y)) (-.f64 (/.f64 #s(literal 1/2 binary64) y) (/.f64 #s(literal -1/2 binary64) x)))
(if (<=.f64 y #s(literal 3136677924615259/570305077202774402330146450712536415611653563406069991322399064737409395901084673313239101414671424972330288696699300913836088090171929749781582664965276773531499334295033118760359274030825472 binary64)) #s(approx (/ (+ x y) (* (* x 2) y)) (/.f64 #s(literal 1/2 binary64) y)) (if (<=.f64 y #s(literal 305000000000000013308588090496432729943473340178360040981491555890640416781872818026756868965380016378310018902837412910830977024 binary64)) (/.f64 (+.f64 x y) (*.f64 (+.f64 x x) y)) #s(approx (/ (+ x y) (* (* x 2) y)) (/.f64 #s(literal 1/2 binary64) x))))
(if (<=.f64 x #s(literal -8242690568946349/4455508415646675018204269146191690746966043464109921807206242693261010905477224010259680479802120507596330380442963288389344438204468201170168614570041224793214838549179946240315306828365824 binary64)) #s(approx (/ (+ x y) (* (* x 2) y)) (/.f64 #s(literal 1/2 binary64) y)) #s(approx (/ (+ x y) (* (* x 2) y)) (/.f64 #s(literal 1/2 binary64) x)))
#s(approx (/ (+ x y) (* (* x 2) y)) (/.f64 #s(literal 1/2 binary64) x))
Outputs
#s(approx (/ (+ x y) (* (* x 2) y)) (-.f64 (/.f64 #s(literal 1/2 binary64) y) (/.f64 #s(literal -1/2 binary64) x)))
(if (<=.f64 y #s(literal 3136677924615259/570305077202774402330146450712536415611653563406069991322399064737409395901084673313239101414671424972330288696699300913836088090171929749781582664965276773531499334295033118760359274030825472 binary64)) #s(approx (/ (+ x y) (* (* x 2) y)) (/.f64 #s(literal 1/2 binary64) y)) (if (<=.f64 y #s(literal 305000000000000013308588090496432729943473340178360040981491555890640416781872818026756868965380016378310018902837412910830977024 binary64)) (/.f64 (+.f64 x y) (*.f64 (+.f64 x x) y)) #s(approx (/ (+ x y) (* (* x 2) y)) (/.f64 #s(literal 1/2 binary64) x))))
(if (<=.f64 x #s(literal -8242690568946349/4455508415646675018204269146191690746966043464109921807206242693261010905477224010259680479802120507596330380442963288389344438204468201170168614570041224793214838549179946240315306828365824 binary64)) #s(approx (/ (+ x y) (* (* x 2) y)) (/.f64 #s(literal 1/2 binary64) y)) #s(approx (/ (+ x y) (* (* x 2) y)) (/.f64 #s(literal 1/2 binary64) x)))
#s(approx (/ (+ x y) (* (* x 2) y)) (/.f64 #s(literal 1/2 binary64) x))

derivations166.0ms (4.3%)

Memory
-7.1MiB live, 142.3MiB allocated; 35ms collecting garbage
Stop Event
fuel
Compiler

Compiled 103 to 29 computations (71.8% saved)

preprocess43.0ms (1.1%)

Memory
-8.1MiB live, 83.5MiB allocated; 11ms collecting garbage
Remove

(sort x y)

Compiler

Compiled 272 to 110 computations (59.6% saved)

end0.0ms (0%)

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

Profiling

Loading profile data...