Linear.Projection:inversePerspective from linear-1.19.1.3, B

Time bar (total: 3.8s)

start0.0ms (0%)

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

analyze51.0ms (1.3%)

Memory
19.3MiB live, 63.3MiB allocated; 12ms 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.2s (32.1%)

Memory
14.2MiB live, 1 397.1MiB allocated; 340ms collecting garbage
Samples
856.0ms8 256×0valid
Precisions
Click to see histograms. Total time spent on operations: 439.0ms
ival-sub: 167.0ms (38.1% of total)
ival-mult: 167.0ms (38.1% of total)
ival-div: 88.0ms (20.1% of total)
ival-true: 6.0ms (1.4% of total)
exact: 5.0ms (1.1% of total)
ival-assert: 3.0ms (0.7% of total)
adjust: 2.0ms (0.5% of total)
Bogosity

explain101.0ms (2.6%)

Memory
-4.2MiB live, 136.6MiB allocated; 26ms 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
56.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.2% of total)
ival-sub: 3.0ms (22.6% of total)
ival-div: 3.0ms (22.6% of total)
ival-true: 0.0ms (0% of total)
adjust: 0.0ms (0% of total)
exact: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

preprocess223.0ms (5.9%)

Memory
-34.8MiB live, 299.4MiB allocated; 63ms collecting garbage
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01953
15949
222937
388335
4241335
5721535
079
0119
1229
2587
31557
44267
532457
082777
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) y) (/.f64 #s(literal 1/2 binary64) x))
Compiler

Compiled 9 to 7 computations (22.2% saved)

eval0.0ms (0%)

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

Compiled 0 to 2 computations (-∞% saved)

prune0.0ms (0%)

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

simplify158.0ms (4.1%)

Memory
1.0MiB live, 191.0MiB allocated; 44ms 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
12223
25821
315521
442621
5324521
0827721
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) y) (/.f64 #s(literal 1/2 binary64) x))
(-.f64 x y)
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)

localize18.0ms (0.5%)

Memory
32.1MiB live, 32.1MiB allocated; 0ms 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.141137527309517
(/.f64 (-.f64 x y) (*.f64 (*.f64 x #s(literal 2 binary64)) y))
Samples
13.0ms256×0valid
Compiler

Compiled 25 to 9 computations (64% saved)

Precisions
Click to see histograms. Total time spent on operations: 6.0ms
ival-mult: 3.0ms (46.5% of total)
ival-div: 2.0ms (31% of total)
ival-sub: 1.0ms (15.5% 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)

series20.0ms (0.5%)

Memory
-28.8MiB live, 15.1MiB allocated; 10ms collecting garbage
Counts
4 → 15
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 (/ x y)) 1/2) x)
(* -1 y)
(- x y)
(* 2 (* x y))
(* 2 x)
(/ 1/2 y)
(- (* 1/2 (/ 1 y)) (* 1/2 (/ 1 x)))
x
(* x (+ 1 (* -1 (/ y x))))
(* -1 (* x (- (/ y x) 1)))
(/ (+ 1/2 (* -1/2 (/ y x))) y)
(+ x (* -1 y))
(* y (- (/ x y) 1))
(* -1 (* y (+ 1 (* -1 (/ x y)))))
Calls

6 calls:

TimeVariablePointExpression
13.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))

simplify129.0ms (3.4%)

Memory
40.3MiB live, 184.0MiB allocated; 34ms collecting garbage
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
04062
111462
234062
3110556
4464456
0812556
Stop Event
iter limit
node limit
Counts
15 → 14
Calls
Call 1
Inputs
(/ -1/2 x)
(/ (- (* 1/2 (/ x y)) 1/2) x)
(* -1 y)
(- x y)
(* 2 (* x y))
(* 2 x)
(/ 1/2 y)
(- (* 1/2 (/ 1 y)) (* 1/2 (/ 1 x)))
x
(* x (+ 1 (* -1 (/ y x))))
(* -1 (* x (- (/ y x) 1)))
(/ (+ 1/2 (* -1/2 (/ y x))) y)
(+ x (* -1 y))
(* y (- (/ x y) 1))
(* -1 (* y (+ 1 (* -1 (/ x y)))))
Outputs
(/ -1/2 x)
(/.f64 #s(literal -1/2 binary64) x)
(/ (- (* 1/2 (/ x y)) 1/2) x)
(-.f64 (/.f64 #s(literal -1/2 binary64) x) (/.f64 #s(literal -1/2 binary64) y))
(* -1 y)
(neg.f64 y)
(- x y)
(-.f64 x y)
(* 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 y)) (* 1/2 (/ 1 x)))
(-.f64 (/.f64 #s(literal -1/2 binary64) x) (/.f64 #s(literal -1/2 binary64) y))
x
(* x (+ 1 (* -1 (/ y x))))
(-.f64 x y)
(* -1 (* x (- (/ y x) 1)))
(-.f64 x y)
(/ (+ 1/2 (* -1/2 (/ y x))) y)
(-.f64 (/.f64 #s(literal -1/2 binary64) x) (/.f64 #s(literal -1/2 binary64) y))
(+ x (* -1 y))
(-.f64 x y)
(* y (- (/ x y) 1))
(-.f64 x y)
(* -1 (* y (+ 1 (* -1 (/ x y)))))
(-.f64 x y)

rewrite41.0ms (1.1%)

Memory
-29.0MiB live, 62.8MiB allocated; 10ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0720
01120
13820
022720
Stop Event
iter limit
iter limit
iter limit
unsound
iter limit
Counts
4 → 35
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 x y) y) (*.f64 #s(literal 2 binary64) x))
(/.f64 (/.f64 (-.f64 x y) 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)) (fma.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 x y) #s(literal 2 binary64)) x)) (neg.f64 y))
(/.f64 (neg.f64 (neg.f64 (-.f64 x y))) (neg.f64 (*.f64 (neg.f64 x) (*.f64 #s(literal 2 binary64) y))))
(/.f64 (-.f64 (*.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 x y) #s(literal 2 binary64)) x) y)
(/.f64 (*.f64 (+.f64 y x) (-.f64 x y)) (*.f64 (+.f64 y x) (*.f64 (*.f64 #s(literal 2 binary64) x) 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 (*.f64 #s(literal 2 binary64) x) y)))
(/.f64 (neg.f64 (-.f64 x y)) (*.f64 (neg.f64 x) (*.f64 #s(literal 2 binary64) y)))
(/.f64 (-.f64 x y) (*.f64 (*.f64 #s(literal 2 binary64) x) y))
(neg.f64 (/.f64 (neg.f64 (-.f64 x y)) (*.f64 (*.f64 #s(literal 2 binary64) x) y)))
(neg.f64 (/.f64 (-.f64 x y) (*.f64 (neg.f64 x) (*.f64 #s(literal 2 binary64) 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 y x) (-.f64 x y))) (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 (*.f64 (+.f64 y x) (-.f64 x y)) (+.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 (*.f64 x x) (+.f64 y x)) (/.f64 (*.f64 y y) (+.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 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
9.6MiB live, 9.6MiB allocated; 0ms collecting garbage
Compiler

Compiled 656 to 137 computations (79.1% saved)

prune3.0ms (0.1%)

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

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New37542
Fresh000
Picked101
Done000
Total38543
Accuracy
100.0%
Counts
43 → 5
Alt Table
Click to see full alt table
StatusAccuracyProgram
89.6%
(/.f64 (/.f64 (-.f64 x y) y) (*.f64 #s(literal 2 binary64) x))
73.2%
(/.f64 (-.f64 x y) (*.f64 (+.f64 x x) y))
47.1%
#s(approx (/ (- x y) (* (* x 2) y)) (/.f64 #s(literal 1/2 binary64) y))
53.9%
#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) x) (/.f64 #s(literal -1/2 binary64) y)))
Compiler

Compiled 122 to 90 computations (26.2% saved)

simplify175.0ms (4.6%)

Memory
1.3MiB live, 190.6MiB allocated; 26ms collecting garbage
Localize:

Found 16 expressions of interest:

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

Useful iterations: 2 (0.0ms)

IterNodesCost
023114
034114
161114
2107104
3207104
4539104
54003104
08228104
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) x) (/.f64 #s(literal -1/2 binary64) y)))
(-.f64 (/.f64 #s(literal -1/2 binary64) x) (/.f64 #s(literal -1/2 binary64) y))
(/.f64 #s(literal -1/2 binary64) x)
#s(literal -1/2 binary64)
x
(/.f64 #s(literal -1/2 binary64) y)
y
#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 x y) y) (*.f64 #s(literal 2 binary64) x))
(/.f64 (-.f64 x y) y)
(-.f64 x y)
x
y
(*.f64 #s(literal 2 binary64) x)
#s(literal 2 binary64)
Outputs
#s(approx (/ (- x y) (* (* x 2) y)) (-.f64 (/.f64 #s(literal -1/2 binary64) x) (/.f64 #s(literal -1/2 binary64) y)))
(-.f64 (/.f64 #s(literal -1/2 binary64) x) (/.f64 #s(literal -1/2 binary64) y))
(/.f64 #s(literal -1/2 binary64) x)
#s(literal -1/2 binary64)
x
(/.f64 #s(literal -1/2 binary64) y)
y
#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) y) (/.f64 #s(literal 1/2 binary64) x))
(-.f64 x y)
x
y
(*.f64 (+.f64 x x) y)
(*.f64 (*.f64 y x) #s(literal 2 binary64))
(+.f64 x x)
(*.f64 #s(literal 2 binary64) x)
(/.f64 (/.f64 (-.f64 x y) y) (*.f64 #s(literal 2 binary64) x))
(-.f64 (/.f64 #s(literal 1/2 binary64) y) (/.f64 #s(literal 1/2 binary64) x))
(/.f64 (-.f64 x y) y)
(-.f64 x y)
x
y
(*.f64 #s(literal 2 binary64) x)
#s(literal 2 binary64)

localize206.0ms (5.4%)

Memory
-19.5MiB live, 278.9MiB allocated; 48ms collecting garbage
Localize:

Found 16 expressions of interest:

NewMetricScoreProgram
accuracy0.0
(-.f64 x y)
accuracy0.0
(*.f64 #s(literal 2 binary64) x)
accuracy0.0234375
(/.f64 (-.f64 x y) y)
accuracy6.611348402792397
(/.f64 (/.f64 (-.f64 x y) y) (*.f64 #s(literal 2 binary64) x))
accuracy0.0
(-.f64 x y)
accuracy0.0
(+.f64 x x)
accuracy0.0
(*.f64 (+.f64 x x) y)
accuracy17.141137527309517
(/.f64 (-.f64 x y) (*.f64 (+.f64 x x) y))
accuracy0.0
(/.f64 #s(literal 1/2 binary64) y)
accuracy33.837015376221125
#s(approx (/ (- x y) (* (* x 2) y)) (/.f64 #s(literal 1/2 binary64) y))
accuracy0.0
(/.f64 #s(literal -1/2 binary64) x)
accuracy29.514854676469827
#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) x) (/.f64 #s(literal -1/2 binary64) y)))
accuracy0.01953125
(-.f64 (/.f64 #s(literal -1/2 binary64) x) (/.f64 #s(literal -1/2 binary64) y))
Samples
161.0ms256×0valid
Compiler

Compiled 100 to 21 computations (79% saved)

Precisions
Click to see histograms. Total time spent on operations: 97.0ms
ival-div: 87.0ms (89.4% of total)
ival-mult: 6.0ms (6.2% of total)
ival-sub: 3.0ms (3.1% of total)
ival-add: 1.0ms (1% of total)
ival-true: 0.0ms (0% of total)
adjust: 0.0ms (0% of total)
exact: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

series38.0ms (1%)

Memory
-10.2MiB live, 36.9MiB allocated; 2ms collecting garbage
Counts
14 → 22
Calls
Call 1
Inputs
#s(approx (/ (- x y) (* (* x 2) y)) (-.f64 (/.f64 #s(literal -1/2 binary64) x) (/.f64 #s(literal -1/2 binary64) y)))
(-.f64 (/.f64 #s(literal -1/2 binary64) x) (/.f64 #s(literal -1/2 binary64) y))
(/.f64 #s(literal -1/2 binary64) x)
(/.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) 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 x y) y) (*.f64 #s(literal 2 binary64) x))
(/.f64 (-.f64 x y) y)
(*.f64 #s(literal 2 binary64) x)
Outputs
(/ -1/2 x)
(/ (- (* 1/2 (/ x y)) 1/2) x)
(* -1 y)
(- x y)
(* 2 (* x y))
(* 2 x)
-1
(- (/ x y) 1)
(/ 1/2 y)
(- (* 1/2 (/ 1 y)) (* 1/2 (/ 1 x)))
x
(* x (+ 1 (* -1 (/ y x))))
(/ x y)
(* x (- (/ 1 y) (/ 1 x)))
(* -1 (* x (- (/ y x) 1)))
(* -1 (* x (- (/ 1 x) (/ 1 y))))
(/ (+ 1/2 (* -1/2 (/ y x))) y)
(/ -1/2 y)
(+ x (* -1 y))
(/ (+ x (* -1 y)) y)
(* y (- (/ x y) 1))
(* -1 (* y (+ 1 (* -1 (/ x y)))))
Calls

6 calls:

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

simplify121.0ms (3.2%)

Memory
39.3MiB live, 215.7MiB allocated; 31ms collecting garbage
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
04797
112797
237197
3121091
4563391
0820791
Stop Event
iter limit
node limit
Counts
22 → 21
Calls
Call 1
Inputs
(/ -1/2 x)
(/ (- (* 1/2 (/ x y)) 1/2) x)
(* -1 y)
(- x y)
(* 2 (* x y))
(* 2 x)
-1
(- (/ x y) 1)
(/ 1/2 y)
(- (* 1/2 (/ 1 y)) (* 1/2 (/ 1 x)))
x
(* x (+ 1 (* -1 (/ y x))))
(/ x y)
(* x (- (/ 1 y) (/ 1 x)))
(* -1 (* x (- (/ y x) 1)))
(* -1 (* x (- (/ 1 x) (/ 1 y))))
(/ (+ 1/2 (* -1/2 (/ y x))) y)
(/ -1/2 y)
(+ x (* -1 y))
(/ (+ x (* -1 y)) y)
(* y (- (/ x y) 1))
(* -1 (* y (+ 1 (* -1 (/ x y)))))
Outputs
(/ -1/2 x)
(/.f64 #s(literal -1/2 binary64) x)
(/ (- (* 1/2 (/ x y)) 1/2) x)
(-.f64 (/.f64 #s(literal -1/2 binary64) x) (/.f64 #s(literal -1/2 binary64) y))
(* -1 y)
(neg.f64 y)
(- x y)
(-.f64 x y)
(* 2 (* x y))
(*.f64 (*.f64 y x) #s(literal 2 binary64))
(* 2 x)
(*.f64 #s(literal 2 binary64) x)
-1
#s(literal -1 binary64)
(- (/ x y) 1)
(-.f64 (/.f64 x y) #s(literal 1 binary64))
(/ 1/2 y)
(/.f64 #s(literal 1/2 binary64) y)
(- (* 1/2 (/ 1 y)) (* 1/2 (/ 1 x)))
(-.f64 (/.f64 #s(literal -1/2 binary64) x) (/.f64 #s(literal -1/2 binary64) y))
x
(* x (+ 1 (* -1 (/ y x))))
(-.f64 x y)
(/ x y)
(/.f64 x y)
(* x (- (/ 1 y) (/ 1 x)))
(*.f64 (/.f64 (-.f64 (/.f64 x y) #s(literal 1 binary64)) x) x)
(* -1 (* x (- (/ y x) 1)))
(-.f64 x y)
(* -1 (* x (- (/ 1 x) (/ 1 y))))
(*.f64 (/.f64 (-.f64 (/.f64 x y) #s(literal 1 binary64)) x) x)
(/ (+ 1/2 (* -1/2 (/ y x))) y)
(-.f64 (/.f64 #s(literal -1/2 binary64) x) (/.f64 #s(literal -1/2 binary64) y))
(/ -1/2 y)
(/.f64 #s(literal -1/2 binary64) y)
(+ x (* -1 y))
(-.f64 x y)
(/ (+ x (* -1 y)) y)
(-.f64 (/.f64 x y) #s(literal 1 binary64))
(* y (- (/ x y) 1))
(-.f64 x y)
(* -1 (* y (+ 1 (* -1 (/ x y)))))
(-.f64 x y)

rewrite21.0ms (0.6%)

Memory
-7.5MiB live, 39.6MiB allocated; 3ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02396
03496
011296
Stop Event
iter limit
iter limit
iter limit
unsound
iter limit
Counts
14 → 46
Calls
Call 1
Inputs
#s(approx (/ (- x y) (* (* x 2) y)) (-.f64 (/.f64 #s(literal -1/2 binary64) x) (/.f64 #s(literal -1/2 binary64) y)))
(-.f64 (/.f64 #s(literal -1/2 binary64) x) (/.f64 #s(literal -1/2 binary64) y))
(/.f64 #s(literal -1/2 binary64) x)
(/.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) 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 x y) y) (*.f64 #s(literal 2 binary64) x))
(/.f64 (-.f64 x y) y)
(*.f64 #s(literal 2 binary64) x)
Outputs
#s(approx (/ (- x y) (* (* x 2) y)) (-.f64 (/.f64 #s(literal -1/2 binary64) x) (/.f64 #s(literal -1/2 binary64) y)))
(/.f64 (-.f64 (*.f64 (/.f64 #s(literal -1/2 binary64) x) (/.f64 #s(literal -1/2 binary64) x)) (*.f64 (/.f64 #s(literal -1/2 binary64) y) (/.f64 #s(literal -1/2 binary64) y))) (+.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) x) #s(literal 3 binary64)) (pow.f64 (/.f64 #s(literal -1/2 binary64) y) #s(literal 3 binary64))) (fma.f64 (/.f64 #s(literal -1/2 binary64) x) (/.f64 #s(literal -1/2 binary64) x) (fma.f64 (/.f64 #s(literal -1/2 binary64) y) (/.f64 #s(literal -1/2 binary64) y) (*.f64 (/.f64 #s(literal -1/2 binary64) x) (/.f64 #s(literal -1/2 binary64) y)))))
(/.f64 (-.f64 (*.f64 #s(literal -1/2 binary64) y) (*.f64 x #s(literal -1/2 binary64))) (*.f64 x y))
(-.f64 (/.f64 #s(literal -1/2 binary64) x) (/.f64 #s(literal -1/2 binary64) y))
(/.f64 #s(literal 1/2 binary64) (neg.f64 x))
(/.f64 #s(literal -1/2 binary64) x)
(/.f64 #s(literal 1/2 binary64) (neg.f64 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) y))
(/.f64 #s(literal 1/2 binary64) y)
(/.f64 #s(literal -1/2 binary64) (neg.f64 y))
(/.f64 (/.f64 (/.f64 (-.f64 x y) y) #s(literal 2 binary64)) x)
(/.f64 (/.f64 (-.f64 x y) (*.f64 #s(literal 2 binary64) x)) y)
(/.f64 (neg.f64 (/.f64 (-.f64 x y) y)) (neg.f64 (*.f64 #s(literal 2 binary64) x)))
(/.f64 (neg.f64 (-.f64 x y)) (neg.f64 (*.f64 (*.f64 #s(literal 2 binary64) x) y)))
(/.f64 (/.f64 (-.f64 x y) y) (*.f64 #s(literal 2 binary64) x))
(/.f64 (-.f64 x 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 (*.f64 x x) (*.f64 y y)) (+.f64 x y))
(/.f64 (-.f64 (pow.f64 x #s(literal 3 binary64)) (pow.f64 y #s(literal 3 binary64))) (fma.f64 x x (fma.f64 y y (*.f64 x y))))
(-.f64 x y)
(*.f64 (*.f64 #s(literal 2 binary64) x) y)
(*.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))
(/.f64 (-.f64 (*.f64 x x) (*.f64 x x)) (-.f64 x x))
(/.f64 (+.f64 (pow.f64 x #s(literal 3 binary64)) (pow.f64 x #s(literal 3 binary64))) (fma.f64 x x (-.f64 (*.f64 x x) (*.f64 x x))))
(+.f64 x x)
(/.f64 (/.f64 (/.f64 (-.f64 x y) y) #s(literal 2 binary64)) x)
(/.f64 (/.f64 (-.f64 x y) (*.f64 #s(literal 2 binary64) x)) y)
(/.f64 (neg.f64 (/.f64 (-.f64 x y) y)) (neg.f64 (*.f64 #s(literal 2 binary64) x)))
(/.f64 (neg.f64 (-.f64 x y)) (neg.f64 (*.f64 (*.f64 #s(literal 2 binary64) x) y)))
(/.f64 (/.f64 (-.f64 x y) y) (*.f64 #s(literal 2 binary64) x))
(/.f64 (-.f64 x 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 x y)) (neg.f64 y))
(/.f64 (-.f64 x y) y)
(-.f64 (/.f64 x y) (/.f64 y y))
(*.f64 #s(literal 2 binary64) x)
(*.f64 x #s(literal 2 binary64))
(/.f64 (-.f64 (*.f64 x x) (*.f64 x x)) (-.f64 x x))
(/.f64 (+.f64 (pow.f64 x #s(literal 3 binary64)) (pow.f64 x #s(literal 3 binary64))) (fma.f64 x x (-.f64 (*.f64 x x) (*.f64 x x))))
(+.f64 x x)

eval5.0ms (0.1%)

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

Compiled 735 to 148 computations (79.9% saved)

prune3.0ms (0.1%)

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

5 alts after pruning (1 fresh and 4 done)

PrunedKeptTotal
New49150
Fresh000
Picked145
Done000
Total50555
Accuracy
100.0%
Counts
55 → 5
Alt Table
Click to see full alt table
StatusAccuracyProgram
73.2%
(/.f64 (-.f64 x y) (*.f64 (+.f64 x x) y))
89.7%
(/.f64 #s(approx (/ (- x y) y) (-.f64 (/.f64 x y) #s(literal 1 binary64))) (*.f64 #s(literal 2 binary64) x))
47.1%
#s(approx (/ (- x y) (* (* x 2) y)) (/.f64 #s(literal 1/2 binary64) y))
53.9%
#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) x) (/.f64 #s(literal -1/2 binary64) y)))
Compiler

Compiled 67 to 49 computations (26.9% saved)

simplify115.0ms (3%)

Memory
-28.2MiB live, 163.3MiB allocated; 34ms collecting garbage
Localize:

Found 4 expressions of interest:

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

Useful iterations: 0 (0.0ms)

IterNodesCost
01141
01541
12441
23541
37641
435941
5259541
0869841
Stop Event
iter limit
node limit
iter limit
Calls
Call 1
Inputs
(/.f64 #s(approx (/ (- x y) y) (-.f64 (/.f64 x y) #s(literal 1 binary64))) (*.f64 #s(literal 2 binary64) x))
#s(approx (/ (- x y) y) (-.f64 (/.f64 x y) #s(literal 1 binary64)))
(-.f64 (/.f64 x y) #s(literal 1 binary64))
(/.f64 x y)
x
y
#s(literal 1 binary64)
(*.f64 #s(literal 2 binary64) x)
#s(literal 2 binary64)
Outputs
(/.f64 #s(approx (/ (- x y) y) (-.f64 (/.f64 x y) #s(literal 1 binary64))) (*.f64 #s(literal 2 binary64) x))
(/.f64 #s(approx (/ (- x y) y) (/.f64 (-.f64 x y) y)) (*.f64 #s(literal 2 binary64) x))
#s(approx (/ (- x y) y) (-.f64 (/.f64 x y) #s(literal 1 binary64)))
#s(approx (/ (- x y) y) (/.f64 (-.f64 x y) y))
(-.f64 (/.f64 x y) #s(literal 1 binary64))
(/.f64 (-.f64 x y) y)
(/.f64 x y)
x
y
#s(literal 1 binary64)
(*.f64 #s(literal 2 binary64) x)
#s(literal 2 binary64)

localize60.0ms (1.6%)

Memory
8.4MiB live, 63.6MiB allocated; 28ms collecting garbage
Localize:

Found 4 expressions of interest:

NewMetricScoreProgram
accuracy0.0
(-.f64 (/.f64 x y) #s(literal 1 binary64))
accuracy0.0
(*.f64 #s(literal 2 binary64) x)
accuracy0.0
#s(approx (/ (- x y) y) (-.f64 (/.f64 x y) #s(literal 1 binary64)))
accuracy6.611348402792397
(/.f64 #s(approx (/ (- x y) y) (-.f64 (/.f64 x y) #s(literal 1 binary64))) (*.f64 #s(literal 2 binary64) x))
Samples
17.0ms256×0valid
Compiler

Compiled 31 to 12 computations (61.3% saved)

Precisions
Click to see histograms. Total time spent on operations: 10.0ms
ival-div: 5.0ms (51.6% of total)
ival-sub: 3.0ms (31% of total)
ival-mult: 1.0ms (10.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)

series5.0ms (0.1%)

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

6 calls:

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

simplify135.0ms (3.6%)

Memory
-24.5MiB live, 161.5MiB allocated; 26ms collecting garbage
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
03268
17568
219268
365562
4386462
0836562
Stop Event
iter limit
node limit
Counts
12 → 12
Calls
Call 1
Inputs
(/ -1/2 x)
(/ (- (* 1/2 (/ x y)) 1/2) x)
-1
(- (/ x y) 1)
(/ x y)
(* 2 x)
(/ 1/2 y)
(- (* 1/2 (/ 1 y)) (* 1/2 (/ 1 x)))
(* x (- (/ 1 y) (/ 1 x)))
(* -1 (* x (- (/ 1 x) (/ 1 y))))
(/ (+ 1/2 (* -1/2 (/ y x))) y)
(/ (+ x (* -1 y)) y)
Outputs
(/ -1/2 x)
(/.f64 #s(literal -1/2 binary64) x)
(/ (- (* 1/2 (/ x y)) 1/2) x)
(-.f64 (/.f64 #s(literal -1/2 binary64) x) (/.f64 #s(literal -1/2 binary64) y))
-1
#s(literal -1 binary64)
(- (/ x y) 1)
(-.f64 (/.f64 x y) #s(literal 1 binary64))
(/ x y)
(/.f64 x y)
(* 2 x)
(*.f64 #s(literal 2 binary64) x)
(/ 1/2 y)
(/.f64 #s(literal 1/2 binary64) y)
(- (* 1/2 (/ 1 y)) (* 1/2 (/ 1 x)))
(-.f64 (/.f64 #s(literal -1/2 binary64) x) (/.f64 #s(literal -1/2 binary64) y))
(* x (- (/ 1 y) (/ 1 x)))
(*.f64 (/.f64 (-.f64 (/.f64 x y) #s(literal 1 binary64)) x) x)
(* -1 (* x (- (/ 1 x) (/ 1 y))))
(*.f64 (/.f64 (-.f64 (/.f64 x y) #s(literal 1 binary64)) x) x)
(/ (+ 1/2 (* -1/2 (/ y x))) y)
(-.f64 (/.f64 #s(literal -1/2 binary64) x) (/.f64 #s(literal -1/2 binary64) y))
(/ (+ x (* -1 y)) y)
(-.f64 (/.f64 x y) #s(literal 1 binary64))

rewrite59.0ms (1.5%)

Memory
19.8MiB live, 63.5MiB allocated; 7ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01137
01537
15837
037237
Stop Event
iter limit
iter limit
iter limit
unsound
iter limit
Counts
5 → 46
Calls
Call 1
Inputs
(/.f64 #s(approx (/ (- x y) y) (-.f64 (/.f64 x y) #s(literal 1 binary64))) (*.f64 #s(literal 2 binary64) x))
#s(approx (/ (- x y) y) (-.f64 (/.f64 x y) #s(literal 1 binary64)))
(-.f64 (/.f64 x y) #s(literal 1 binary64))
(/.f64 x y)
(*.f64 #s(literal 2 binary64) x)
Outputs
(/.f64 (/.f64 #s(approx (/ (- x y) y) (/.f64 (-.f64 x y) y)) x) #s(literal 2 binary64))
(/.f64 (neg.f64 (/.f64 #s(approx (/ (- x y) y) (/.f64 (-.f64 x y) y)) #s(literal 2 binary64))) (neg.f64 x))
(/.f64 (neg.f64 (neg.f64 #s(approx (/ (- x y) y) (/.f64 (-.f64 x y) y)))) (neg.f64 (*.f64 #s(literal -2 binary64) x)))
(/.f64 (/.f64 #s(approx (/ (- x y) y) (/.f64 (-.f64 x y) y)) #s(literal 2 binary64)) x)
(/.f64 (neg.f64 #s(approx (/ (- x y) y) (/.f64 (-.f64 x y) y))) (*.f64 #s(literal -2 binary64) x))
(/.f64 #s(approx (/ (- x y) y) (/.f64 (-.f64 x y) y)) (*.f64 #s(literal 2 binary64) x))
(neg.f64 (/.f64 (neg.f64 #s(approx (/ (- x y) y) (/.f64 (-.f64 x y) y))) (*.f64 #s(literal 2 binary64) x)))
(neg.f64 (/.f64 #s(approx (/ (- x y) y) (/.f64 (-.f64 x y) y)) (*.f64 #s(literal -2 binary64) x)))
#s(approx (/ (- x y) y) (/.f64 (-.f64 x y) y))
(/.f64 (neg.f64 (neg.f64 (-.f64 x y))) (neg.f64 (neg.f64 y)))
(/.f64 (neg.f64 (-.f64 (pow.f64 (/.f64 x y) #s(literal 2 binary64)) #s(literal 1 binary64))) (neg.f64 (-.f64 (/.f64 x y) #s(literal -1 binary64))))
(/.f64 (neg.f64 (-.f64 (pow.f64 (/.f64 x y) #s(literal 3 binary64)) #s(literal 1 binary64))) (neg.f64 (+.f64 (+.f64 (pow.f64 (/.f64 x y) #s(literal 2 binary64)) #s(literal 1 binary64)) (/.f64 x y))))
(/.f64 (-.f64 (*.f64 (neg.f64 x) y) (*.f64 (neg.f64 y) y)) (*.f64 (neg.f64 y) y))
(/.f64 (-.f64 (*.f64 y x) (*.f64 y y)) (*.f64 y y))
(/.f64 (-.f64 (pow.f64 (/.f64 x y) #s(literal 2 binary64)) #s(literal 1 binary64)) (-.f64 (/.f64 x y) #s(literal -1 binary64)))
(/.f64 (*.f64 (+.f64 y x) (-.f64 x y)) (*.f64 (+.f64 y x) y))
(/.f64 (-.f64 (pow.f64 (/.f64 x y) #s(literal 3 binary64)) #s(literal 1 binary64)) (+.f64 (+.f64 (pow.f64 (/.f64 x y) #s(literal 2 binary64)) #s(literal 1 binary64)) (/.f64 x 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)) y))
(/.f64 (neg.f64 (-.f64 x y)) (neg.f64 y))
(/.f64 (-.f64 x y) y)
(neg.f64 (/.f64 (neg.f64 (-.f64 x y)) y))
(neg.f64 (/.f64 (-.f64 x y) (neg.f64 y)))
(fma.f64 #s(literal 1 binary64) (/.f64 x y) #s(literal -1 binary64))
(fma.f64 (/.f64 x y) #s(literal 1 binary64) #s(literal -1 binary64))
(-.f64 (/.f64 (pow.f64 (/.f64 x y) #s(literal 2 binary64)) (-.f64 (/.f64 x y) #s(literal -1 binary64))) (/.f64 #s(literal 1 binary64) (-.f64 (/.f64 x y) #s(literal -1 binary64))))
(-.f64 (/.f64 (pow.f64 (/.f64 x y) #s(literal 3 binary64)) (+.f64 (+.f64 (pow.f64 (/.f64 x y) #s(literal 2 binary64)) #s(literal 1 binary64)) (/.f64 x y))) (/.f64 #s(literal 1 binary64) (+.f64 (+.f64 (pow.f64 (/.f64 x y) #s(literal 2 binary64)) #s(literal 1 binary64)) (/.f64 x y))))
(-.f64 (/.f64 x y) #s(literal 1 binary64))
(+.f64 (/.f64 x y) #s(literal -1 binary64))
(*.f64 #s(literal 1 binary64) (/.f64 x y))
(*.f64 (/.f64 x y) #s(literal 1 binary64))
(/.f64 (*.f64 (neg.f64 x) #s(literal 1 binary64)) (neg.f64 y))
(/.f64 (*.f64 x #s(literal 1 binary64)) y)
(/.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)))
(*.f64 #s(literal 2 binary64) x)
(*.f64 x #s(literal 2 binary64))
(/.f64 (-.f64 (*.f64 x x) (*.f64 x x)) (-.f64 x x))
(/.f64 (+.f64 (pow.f64 x #s(literal 3 binary64)) (pow.f64 x #s(literal 3 binary64))) (fma.f64 x x (-.f64 (*.f64 x x) (*.f64 x x))))
(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)

eval5.0ms (0.1%)

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

Compiled 1 018 to 205 computations (79.9% saved)

prune3.0ms (0.1%)

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

6 alts after pruning (2 fresh and 4 done)

PrunedKeptTotal
New52254
Fresh000
Picked101
Done044
Total53659
Accuracy
100.0%
Counts
59 → 6
Alt Table
Click to see full alt table
StatusAccuracyProgram
73.2%
(/.f64 (-.f64 x y) (*.f64 (+.f64 x x) y))
77.0%
(/.f64 #s(approx (/ (- x y) y) (/.f64 (-.f64 (pow.f64 (/.f64 x y) #s(literal 2 binary64)) #s(literal 1 binary64)) (-.f64 (/.f64 x y) #s(literal -1 binary64)))) (*.f64 #s(literal 2 binary64) x))
89.7%
(/.f64 #s(approx (/ (- x y) y) (-.f64 (/.f64 x y) #s(literal 1 binary64))) (+.f64 x x))
47.1%
#s(approx (/ (- x y) (* (* x 2) y)) (/.f64 #s(literal 1/2 binary64) y))
53.9%
#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) x) (/.f64 #s(literal -1/2 binary64) y)))
Compiler

Compiled 90 to 63 computations (30% saved)

simplify115.0ms (3%)

Memory
10.2MiB live, 98.4MiB allocated; 17ms collecting garbage
Localize:

Found 8 expressions of interest:

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

Useful iterations: 0 (0.0ms)

IterNodesCost
019123
02999
14399
27399
316899
476999
5609499
0811799
Stop Event
iter limit
node limit
iter limit
Calls
Call 1
Inputs
(/.f64 #s(approx (/ (- x y) y) (-.f64 (/.f64 x y) #s(literal 1 binary64))) (+.f64 x x))
#s(approx (/ (- x y) y) (-.f64 (/.f64 x y) #s(literal 1 binary64)))
(-.f64 (/.f64 x y) #s(literal 1 binary64))
(/.f64 x y)
x
y
#s(literal 1 binary64)
(+.f64 x x)
(/.f64 #s(approx (/ (- x y) y) (/.f64 (-.f64 (pow.f64 (/.f64 x y) #s(literal 2 binary64)) #s(literal 1 binary64)) (-.f64 (/.f64 x y) #s(literal -1 binary64)))) (*.f64 #s(literal 2 binary64) x))
#s(approx (/ (- x y) y) (/.f64 (-.f64 (pow.f64 (/.f64 x y) #s(literal 2 binary64)) #s(literal 1 binary64)) (-.f64 (/.f64 x y) #s(literal -1 binary64))))
(/.f64 (-.f64 (pow.f64 (/.f64 x y) #s(literal 2 binary64)) #s(literal 1 binary64)) (-.f64 (/.f64 x y) #s(literal -1 binary64)))
(-.f64 (pow.f64 (/.f64 x y) #s(literal 2 binary64)) #s(literal 1 binary64))
(pow.f64 (/.f64 x y) #s(literal 2 binary64))
(/.f64 x y)
x
y
#s(literal 2 binary64)
#s(literal 1 binary64)
(-.f64 (/.f64 x y) #s(literal -1 binary64))
#s(literal -1 binary64)
(*.f64 #s(literal 2 binary64) x)
Outputs
(/.f64 #s(approx (/ (- x y) y) (-.f64 (/.f64 x y) #s(literal 1 binary64))) (+.f64 x x))
(/.f64 #s(approx (/ (- x y) y) (/.f64 (-.f64 x y) y)) (*.f64 #s(literal 2 binary64) x))
#s(approx (/ (- x y) y) (-.f64 (/.f64 x y) #s(literal 1 binary64)))
#s(approx (/ (- x y) y) (/.f64 (-.f64 x y) y))
(-.f64 (/.f64 x y) #s(literal 1 binary64))
(/.f64 (-.f64 x y) y)
(/.f64 x y)
x
y
#s(literal 1 binary64)
(+.f64 x x)
(*.f64 #s(literal 2 binary64) x)
(/.f64 #s(approx (/ (- x y) y) (/.f64 (-.f64 (pow.f64 (/.f64 x y) #s(literal 2 binary64)) #s(literal 1 binary64)) (-.f64 (/.f64 x y) #s(literal -1 binary64)))) (*.f64 #s(literal 2 binary64) x))
(/.f64 #s(approx (/ (- x y) y) (/.f64 (-.f64 x y) y)) (*.f64 #s(literal 2 binary64) x))
#s(approx (/ (- x y) y) (/.f64 (-.f64 (pow.f64 (/.f64 x y) #s(literal 2 binary64)) #s(literal 1 binary64)) (-.f64 (/.f64 x y) #s(literal -1 binary64))))
#s(approx (/ (- x y) y) (/.f64 (-.f64 x y) y))
(/.f64 (-.f64 (pow.f64 (/.f64 x y) #s(literal 2 binary64)) #s(literal 1 binary64)) (-.f64 (/.f64 x y) #s(literal -1 binary64)))
(/.f64 (-.f64 x y) y)
(-.f64 (pow.f64 (/.f64 x y) #s(literal 2 binary64)) #s(literal 1 binary64))
(pow.f64 (/.f64 x y) #s(literal 2 binary64))
(/.f64 x y)
x
y
#s(literal 2 binary64)
#s(literal 1 binary64)
(-.f64 (/.f64 x y) #s(literal -1 binary64))
#s(literal -1 binary64)
(*.f64 #s(literal 2 binary64) x)

localize91.0ms (2.4%)

Memory
-22.6MiB live, 122.2MiB allocated; 18ms collecting garbage
Localize:

Found 8 expressions of interest:

NewMetricScoreProgram
accuracy0.0
#s(approx (/ (- x y) y) (/.f64 (-.f64 (pow.f64 (/.f64 x y) #s(literal 2 binary64)) #s(literal 1 binary64)) (-.f64 (/.f64 x y) #s(literal -1 binary64))))
accuracy0.21484375
(pow.f64 (/.f64 x y) #s(literal 2 binary64))
accuracy6.611348402792397
(/.f64 #s(approx (/ (- x y) y) (/.f64 (-.f64 (pow.f64 (/.f64 x y) #s(literal 2 binary64)) #s(literal 1 binary64)) (-.f64 (/.f64 x y) #s(literal -1 binary64)))) (*.f64 #s(literal 2 binary64) x))
accuracy13.837371493459774
(/.f64 (-.f64 (pow.f64 (/.f64 x y) #s(literal 2 binary64)) #s(literal 1 binary64)) (-.f64 (/.f64 x y) #s(literal -1 binary64)))
accuracy0.0
(-.f64 (/.f64 x y) #s(literal 1 binary64))
accuracy0.0
(+.f64 x x)
accuracy0.0
#s(approx (/ (- x y) y) (-.f64 (/.f64 x y) #s(literal 1 binary64)))
accuracy6.611348402792397
(/.f64 #s(approx (/ (- x y) y) (-.f64 (/.f64 x y) #s(literal 1 binary64))) (+.f64 x x))
Samples
47.0ms256×0valid
Compiler

Compiled 85 to 19 computations (77.6% saved)

Precisions
Click to see histograms. Total time spent on operations: 22.0ms
ival-div: 8.0ms (37% of total)
ival-sub: 5.0ms (23.1% of total)
ival-add: 3.0ms (13.9% of total)
ival-pow2: 3.0ms (13.9% of total)
ival-mult: 1.0ms (4.6% of total)
adjust: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)
ival-true: 0.0ms (0% of total)
exact: 0.0ms (0% of total)

series17.0ms (0.5%)

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

6 calls:

TimeVariablePointExpression
5.0ms
y
@inf
((/ (/ (- x y) y) (+ x x)) (/ (- x y) y) (- (/ x y) 1) (/ x y) (/ (- (pow (/ x y) 2) 1) (- (/ x y) -1)) (/ (/ (- x y) y) (* 2 x)) (/ (- x y) y) (- (pow (/ x y) 2) 1) (+ x x) (pow (/ x y) 2))
4.0ms
y
@-inf
((/ (/ (- x y) y) (+ x x)) (/ (- x y) y) (- (/ x y) 1) (/ x y) (/ (- (pow (/ x y) 2) 1) (- (/ x y) -1)) (/ (/ (- x y) y) (* 2 x)) (/ (- x y) y) (- (pow (/ x y) 2) 1) (+ x x) (pow (/ x y) 2))
2.0ms
x
@inf
((/ (/ (- x y) y) (+ x x)) (/ (- x y) y) (- (/ x y) 1) (/ x y) (/ (- (pow (/ x y) 2) 1) (- (/ x y) -1)) (/ (/ (- x y) y) (* 2 x)) (/ (- x y) y) (- (pow (/ x y) 2) 1) (+ x x) (pow (/ x y) 2))
2.0ms
x
@-inf
((/ (/ (- x y) y) (+ x x)) (/ (- x y) y) (- (/ x y) 1) (/ x y) (/ (- (pow (/ x y) 2) 1) (- (/ x y) -1)) (/ (/ (- x y) y) (* 2 x)) (/ (- x y) y) (- (pow (/ x y) 2) 1) (+ x x) (pow (/ x y) 2))
2.0ms
x
@0
((/ (/ (- x y) y) (+ x x)) (/ (- x y) y) (- (/ x y) 1) (/ x y) (/ (- (pow (/ x y) 2) 1) (- (/ x y) -1)) (/ (/ (- x y) y) (* 2 x)) (/ (- x y) y) (- (pow (/ x y) 2) 1) (+ x x) (pow (/ x y) 2))

simplify182.0ms (4.8%)

Memory
-22.5MiB live, 245.9MiB allocated; 100ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
043109
194109
2256109
31019103
47521103
08160101
Stop Event
iter limit
node limit
Counts
16 → 16
Calls
Call 1
Inputs
(/ -1/2 x)
(/ (- (* 1/2 (/ x y)) 1/2) x)
-1
(- (/ x y) 1)
(/ x y)
(- (/ (pow x 2) (pow y 2)) 1)
(* 2 x)
(/ (pow x 2) (pow y 2))
(/ 1/2 y)
(- (* 1/2 (/ 1 y)) (* 1/2 (/ 1 x)))
(* x (- (/ 1 y) (/ 1 x)))
(* (pow x 2) (- (/ 1 (pow y 2)) (/ 1 (pow x 2))))
(* -1 (* x (- (/ 1 x) (/ 1 y))))
(/ (+ 1/2 (* -1/2 (/ y x))) y)
(/ (+ x (* -1 y)) y)
(/ (+ (* -1 (pow y 2)) (pow x 2)) (pow y 2))
Outputs
(/ -1/2 x)
(/.f64 #s(literal -1/2 binary64) x)
(/ (- (* 1/2 (/ x y)) 1/2) x)
(-.f64 (/.f64 #s(literal -1/2 binary64) x) (/.f64 #s(literal -1/2 binary64) y))
-1
#s(literal -1 binary64)
(- (/ x y) 1)
(-.f64 (/.f64 x y) #s(literal 1 binary64))
(/ x y)
(/.f64 x y)
(- (/ (pow x 2) (pow y 2)) 1)
(fma.f64 (/.f64 x y) (/.f64 x y) #s(literal -1 binary64))
(* 2 x)
(*.f64 #s(literal 2 binary64) x)
(/ (pow x 2) (pow y 2))
(*.f64 (/.f64 (/.f64 x y) y) x)
(/ 1/2 y)
(/.f64 #s(literal 1/2 binary64) y)
(- (* 1/2 (/ 1 y)) (* 1/2 (/ 1 x)))
(-.f64 (/.f64 #s(literal -1/2 binary64) x) (/.f64 #s(literal -1/2 binary64) y))
(* x (- (/ 1 y) (/ 1 x)))
(*.f64 (/.f64 (-.f64 (/.f64 x y) #s(literal 1 binary64)) x) x)
(* (pow x 2) (- (/ 1 (pow y 2)) (/ 1 (pow x 2))))
(*.f64 (-.f64 (/.f64 (/.f64 #s(literal 1 binary64) y) y) (/.f64 (/.f64 #s(literal 1 binary64) x) x)) (*.f64 x x))
(* -1 (* x (- (/ 1 x) (/ 1 y))))
(*.f64 (neg.f64 x) (/.f64 (-.f64 (/.f64 y x) #s(literal 1 binary64)) y))
(/ (+ 1/2 (* -1/2 (/ y x))) y)
(-.f64 (/.f64 #s(literal -1/2 binary64) x) (/.f64 #s(literal -1/2 binary64) y))
(/ (+ x (* -1 y)) y)
(-.f64 (/.f64 x y) #s(literal 1 binary64))
(/ (+ (* -1 (pow y 2)) (pow x 2)) (pow y 2))
(fma.f64 (/.f64 x y) (/.f64 x y) #s(literal -1 binary64))

rewrite29.0ms (0.7%)

Memory
1.0MiB live, 51.8MiB allocated; 8ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
019104
029104
0113104
Stop Event
iter limit
iter limit
iter limit
unsound
iter limit
Counts
10 → 28
Calls
Call 1
Inputs
(/.f64 #s(approx (/ (- x y) y) (-.f64 (/.f64 x y) #s(literal 1 binary64))) (+.f64 x x))
#s(approx (/ (- x y) y) (-.f64 (/.f64 x y) #s(literal 1 binary64)))
(-.f64 (/.f64 x y) #s(literal 1 binary64))
(/.f64 x y)
(/.f64 (-.f64 (pow.f64 (/.f64 x y) #s(literal 2 binary64)) #s(literal 1 binary64)) (-.f64 (/.f64 x y) #s(literal -1 binary64)))
(/.f64 #s(approx (/ (- x y) y) (/.f64 (-.f64 (pow.f64 (/.f64 x y) #s(literal 2 binary64)) #s(literal 1 binary64)) (-.f64 (/.f64 x y) #s(literal -1 binary64)))) (*.f64 #s(literal 2 binary64) x))
#s(approx (/ (- x y) y) (/.f64 (-.f64 (pow.f64 (/.f64 x y) #s(literal 2 binary64)) #s(literal 1 binary64)) (-.f64 (/.f64 x y) #s(literal -1 binary64))))
(-.f64 (pow.f64 (/.f64 x y) #s(literal 2 binary64)) #s(literal 1 binary64))
(+.f64 x x)
(pow.f64 (/.f64 x y) #s(literal 2 binary64))
Outputs
(/.f64 (neg.f64 #s(approx (/ (- x y) y) (-.f64 (/.f64 x y) #s(literal 1 binary64)))) (neg.f64 (*.f64 #s(literal 2 binary64) x)))
(/.f64 #s(approx (/ (- x y) y) (-.f64 (/.f64 x y) #s(literal 1 binary64))) (*.f64 #s(literal 2 binary64) x))
#s(approx (/ (- x y) y) (-.f64 (/.f64 x y) #s(literal 1 binary64)))
(/.f64 (-.f64 (pow.f64 (/.f64 x y) #s(literal 3 binary64)) #s(literal 1 binary64)) (+.f64 (pow.f64 (/.f64 x y) #s(literal 2 binary64)) (+.f64 #s(literal 1 binary64) (*.f64 (/.f64 x y) #s(literal 1 binary64)))))
(/.f64 (-.f64 (pow.f64 (/.f64 x y) #s(literal 2 binary64)) #s(literal 1 binary64)) (+.f64 (/.f64 x y) #s(literal 1 binary64)))
(-.f64 (/.f64 x y) #s(literal 1 binary64))
(/.f64 (neg.f64 x) (neg.f64 y))
(/.f64 x y)
(/.f64 (neg.f64 (-.f64 (pow.f64 (/.f64 x y) #s(literal 2 binary64)) #s(literal 1 binary64))) (neg.f64 (-.f64 (/.f64 x y) #s(literal -1 binary64))))
(/.f64 (-.f64 (pow.f64 (/.f64 x y) #s(literal 2 binary64)) #s(literal 1 binary64)) (-.f64 (/.f64 x y) #s(literal -1 binary64)))
(-.f64 (/.f64 (pow.f64 (/.f64 x y) #s(literal 2 binary64)) (-.f64 (/.f64 x y) #s(literal -1 binary64))) (/.f64 #s(literal 1 binary64) (-.f64 (/.f64 x y) #s(literal -1 binary64))))
(/.f64 (/.f64 #s(approx (/ (- x y) y) (/.f64 (-.f64 (pow.f64 (/.f64 x y) #s(literal 2 binary64)) #s(literal 1 binary64)) (-.f64 (/.f64 x y) #s(literal -1 binary64)))) #s(literal 2 binary64)) x)
(/.f64 (neg.f64 #s(approx (/ (- x y) y) (/.f64 (-.f64 (pow.f64 (/.f64 x y) #s(literal 2 binary64)) #s(literal 1 binary64)) (-.f64 (/.f64 x y) #s(literal -1 binary64))))) (neg.f64 (*.f64 #s(literal 2 binary64) x)))
(/.f64 #s(approx (/ (- x y) y) (/.f64 (-.f64 (pow.f64 (/.f64 x y) #s(literal 2 binary64)) #s(literal 1 binary64)) (-.f64 (/.f64 x y) #s(literal -1 binary64)))) (*.f64 #s(literal 2 binary64) x))
#s(approx (/ (- x y) y) (/.f64 (-.f64 (pow.f64 (/.f64 x y) #s(literal 2 binary64)) #s(literal 1 binary64)) (-.f64 (/.f64 x y) #s(literal -1 binary64))))
(/.f64 (-.f64 (*.f64 (pow.f64 (/.f64 x y) #s(literal 2 binary64)) (pow.f64 (/.f64 x y) #s(literal 2 binary64))) #s(literal 1 binary64)) (+.f64 (pow.f64 (/.f64 x y) #s(literal 2 binary64)) #s(literal 1 binary64)))
(/.f64 (-.f64 (pow.f64 (pow.f64 (/.f64 x y) #s(literal 2 binary64)) #s(literal 3 binary64)) #s(literal 1 binary64)) (fma.f64 (pow.f64 (/.f64 x y) #s(literal 2 binary64)) (pow.f64 (/.f64 x y) #s(literal 2 binary64)) (+.f64 #s(literal 1 binary64) (*.f64 (pow.f64 (/.f64 x y) #s(literal 2 binary64)) #s(literal 1 binary64)))))
(expm1.f64 (*.f64 (log.f64 (/.f64 x y)) #s(literal 2 binary64)))
(-.f64 (pow.f64 (/.f64 x y) #s(literal 2 binary64)) #s(literal 1 binary64))
(*.f64 #s(literal 2 binary64) x)
(*.f64 x #s(literal 2 binary64))
(/.f64 (-.f64 (*.f64 x x) (*.f64 x x)) (-.f64 x x))
(/.f64 (+.f64 (pow.f64 x #s(literal 3 binary64)) (pow.f64 x #s(literal 3 binary64))) (fma.f64 x x (-.f64 (*.f64 x x) (*.f64 x x))))
(+.f64 x x)
(*.f64 (pow.f64 (/.f64 x y) #s(literal 1 binary64)) (pow.f64 (/.f64 x y) #s(literal 1 binary64)))
(*.f64 (/.f64 x y) (/.f64 x y))
(pow.f64 (/.f64 x y) #s(literal 2 binary64))
(exp.f64 (*.f64 (log.f64 (/.f64 x y)) #s(literal 2 binary64)))

eval5.0ms (0.1%)

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

Compiled 1 031 to 180 computations (82.5% saved)

prune6.0ms (0.2%)

Memory
-33.6MiB live, 11.9MiB allocated; 3ms collecting garbage
Pruning

6 alts after pruning (1 fresh and 5 done)

PrunedKeptTotal
New44145
Fresh000
Picked112
Done044
Total45651
Accuracy
100.0%
Counts
51 → 6
Alt Table
Click to see full alt table
StatusAccuracyProgram
73.2%
(/.f64 (-.f64 x y) (*.f64 (+.f64 x x) y))
89.7%
(/.f64 #s(approx (/ (- x y) y) (-.f64 (/.f64 x y) #s(literal 1 binary64))) (+.f64 x x))
78.3%
(/.f64 #s(approx (/ (- x y) y) (*.f64 (neg.f64 x) (/.f64 (-.f64 (/.f64 y x) #s(literal 1 binary64)) y))) (+.f64 x x))
47.1%
#s(approx (/ (- x y) (* (* x 2) y)) (/.f64 #s(literal 1/2 binary64) y))
53.9%
#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) x) (/.f64 #s(literal -1/2 binary64) y)))
Compiler

Compiled 230 to 109 computations (52.6% saved)

regimes11.0ms (0.3%)

Memory
28.4MiB live, 28.4MiB allocated; 0ms collecting garbage
Counts
10 → 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) x) (/.f64 #s(literal -1/2 binary64) y)))
(/.f64 #s(approx (/ (- x y) y) (-.f64 (/.f64 x y) #s(literal 1 binary64))) (+.f64 x x))
(/.f64 #s(approx (/ (- x y) y) (-.f64 (/.f64 x y) #s(literal 1 binary64))) (*.f64 #s(literal 2 binary64) x))
(/.f64 (/.f64 (-.f64 x y) y) (*.f64 #s(literal 2 binary64) x))
(/.f64 #s(approx (/ (- x y) y) (*.f64 (neg.f64 x) (/.f64 (-.f64 (/.f64 y x) #s(literal 1 binary64)) y))) (+.f64 x x))
(/.f64 #s(approx (/ (- x y) y) (/.f64 (-.f64 (pow.f64 (/.f64 x y) #s(literal 2 binary64)) #s(literal 1 binary64)) (-.f64 (/.f64 x y) #s(literal -1 binary64)))) (*.f64 #s(literal 2 binary64) x))
Outputs
#s(approx (/ (- x y) (* (* x 2) y)) (-.f64 (/.f64 #s(literal -1/2 binary64) x) (/.f64 #s(literal -1/2 binary64) y)))
Calls

3 calls:

4.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)

regimes6.0ms (0.1%)

Memory
17.3MiB live, 17.3MiB allocated; 0ms collecting garbage
Counts
4 → 5
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) x))
(/.f64 (-.f64 x y) (*.f64 (+.f64 x x) y))
#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:

2.0ms
y
2.0ms
x
2.0ms
(/.f64 (-.f64 x y) (*.f64 (*.f64 x #s(literal 2 binary64)) y))
Results
AccuracySegmentsBranch
86.3%5(/.f64 (-.f64 x y) (*.f64 (*.f64 x #s(literal 2 binary64)) y))
85.7%5x
86.4%5y
Compiler

Compiled 11 to 11 computations (0% saved)

regimes7.0ms (0.2%)

Memory
-33.4MiB live, 12.6MiB allocated; 5ms collecting garbage
Counts
2 → 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))
Outputs
#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))
#s(approx (/ (- x y) (* (* x 2) y)) (/.f64 #s(literal -1/2 binary64) x))
Calls

3 calls:

4.0ms
y
1.0ms
(/.f64 (-.f64 x y) (*.f64 (*.f64 x #s(literal 2 binary64)) y))
1.0ms
x
Results
AccuracySegmentsBranch
74.9%3x
57.0%2(/.f64 (-.f64 x y) (*.f64 (*.f64 x #s(literal 2 binary64)) y))
76.5%3y
Compiler

Compiled 11 to 11 computations (0% saved)

regimes3.0ms (0.1%)

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

Compiled 11 to 11 computations (0% saved)

bsearch83.0ms (2.2%)

Memory
-9.2MiB live, 134.1MiB allocated; 22ms collecting garbage
Algorithm
binary-search
Stop Event
narrow-enough
narrow-enough
narrow-enough
narrow-enough
Steps
TimeLeftRight
13.0ms
6.025234308096771e+117
4.8000119065228744e+135
16.0ms
6.095500767812233e-181
4.781833744968847e-165
16.0ms
-4.3734047116874843e-221
-7.353905706974495e-225
10.0ms
-1.0691429848229524e+128
-7.412651161889819e+124
Samples
27.0ms576×0valid
Compiler

Compiled 804 to 660 computations (17.9% saved)

Precisions
Click to see histograms. Total time spent on operations: 15.0ms
ival-mult: 7.0ms (47.3% of total)
ival-div: 4.0ms (27% of total)
ival-sub: 3.0ms (20.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)

bsearch21.0ms (0.5%)

Memory
34.9MiB live, 34.9MiB allocated; 0ms collecting garbage
Algorithm
binary-search
Stop Event
narrow-enough
narrow-enough
Steps
TimeLeftRight
8.0ms
4.246689518093647e+52
1.8394263366011102e+53
10.0ms
-1.803198416446238e-98
-6.0798437980907414e-102
Samples
10.0ms224×0valid
Compiler

Compiled 376 to 320 computations (14.9% saved)

Precisions
Click to see histograms. Total time spent on operations: 6.0ms
ival-mult: 3.0ms (54% of total)
ival-sub: 1.0ms (18% of total)
ival-div: 1.0ms (18% 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)

simplify73.0ms (1.9%)

Memory
-15.0MiB live, 82.8MiB allocated; 10ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
038138
156138
2102138
3202138
4517138
54531138
Stop Event
node limit
Calls
Call 1
Inputs
#s(approx (/ (- x y) (* (* x 2) y)) (-.f64 (/.f64 #s(literal -1/2 binary64) x) (/.f64 #s(literal -1/2 binary64) y)))
(if (<=.f64 y #s(literal -63999999999999995191536743615544450722858935669429661532110462222418828798450753702602463600820329840097923738473954066101698560 binary64)) #s(approx (/ (- x y) (* (* x 2) y)) (/.f64 #s(literal -1/2 binary64) x)) (if (<=.f64 y #s(literal -1093767626242957/25436456424254815193480879938969641865328820504439957276902228591018818808813598905645111850248543894740790979741795503409915167442777118989423202714274711784725790327125604852535546439788108920017108978789850624014628402852922291912704 binary64)) (/.f64 (-.f64 x y) (*.f64 (+.f64 x x) y)) (if (<=.f64 y #s(literal 3630826122770869/2074757784440496479256203931845580575506223116121218449997828664845326405706454073199853524473551897144098943305650394591197575537705887653943437417056981843530590901700754761842688 binary64)) #s(approx (/ (- x y) (* (* x 2) y)) (/.f64 #s(literal 1/2 binary64) y)) (if (<=.f64 y #s(literal 4399999999999999896606886656158450140574614779693151524602422963933029598611368952491434075145245931363423906157786898699348849406771200 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 y #s(literal -6501331022405089/19701003098197239606139520050071806902539869635232723333974146702122860885748605305707133127442457820403313995153408 binary64)) #s(approx (/ (- x y) (* (* x 2) y)) (/.f64 #s(literal -1/2 binary64) x)) (if (<=.f64 y #s(literal 63999999999999999566140715159144190493549340284420096 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) x) (/.f64 #s(literal -1/2 binary64) y)))
(if (<=.f64 y #s(literal -63999999999999995191536743615544450722858935669429661532110462222418828798450753702602463600820329840097923738473954066101698560 binary64)) #s(approx (/ (- x y) (* (* x 2) y)) (/.f64 #s(literal -1/2 binary64) x)) (if (<=.f64 y #s(literal -1093767626242957/25436456424254815193480879938969641865328820504439957276902228591018818808813598905645111850248543894740790979741795503409915167442777118989423202714274711784725790327125604852535546439788108920017108978789850624014628402852922291912704 binary64)) (/.f64 (-.f64 x y) (*.f64 (+.f64 x x) y)) (if (<=.f64 y #s(literal 3630826122770869/2074757784440496479256203931845580575506223116121218449997828664845326405706454073199853524473551897144098943305650394591197575537705887653943437417056981843530590901700754761842688 binary64)) #s(approx (/ (- x y) (* (* x 2) y)) (/.f64 #s(literal 1/2 binary64) y)) (if (<=.f64 y #s(literal 4399999999999999896606886656158450140574614779693151524602422963933029598611368952491434075145245931363423906157786898699348849406771200 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 y #s(literal -6501331022405089/19701003098197239606139520050071806902539869635232723333974146702122860885748605305707133127442457820403313995153408 binary64)) #s(approx (/ (- x y) (* (* x 2) y)) (/.f64 #s(literal -1/2 binary64) x)) (if (<=.f64 y #s(literal 63999999999999999566140715159144190493549340284420096 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))))
(if (or (<=.f64 y #s(literal -6501331022405089/19701003098197239606139520050071806902539869635232723333974146702122860885748605305707133127442457820403313995153408 binary64)) (not (<=.f64 y #s(literal 63999999999999999566140715159144190493549340284420096 binary64)))) #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)))
#s(approx (/ (- x y) (* (* x 2) y)) (/.f64 #s(literal -1/2 binary64) x))

derivations193.0ms (5.1%)

Memory
-12.2MiB live, 117.8MiB allocated; 27ms collecting garbage
Stop Event
fuel
Compiler

Compiled 138 to 39 computations (71.7% saved)

preprocess49.0ms (1.3%)

Memory
-7.8MiB live, 51.7MiB allocated; 15ms collecting garbage
Compiler

Compiled 308 to 104 computations (66.2% saved)

end0.0ms (0%)

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

Profiling

Loading profile data...