Linear.Projection:inversePerspective from linear-1.19.1.3, C

Time bar (total: 4.1s)

start0.0ms (0%)

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

analyze69.0ms (1.7%)

Memory
-17.6MiB live, 24.0MiB allocated; 14ms 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.3s (31.2%)

Memory
8.7MiB live, 1 441.0MiB allocated; 370ms collecting garbage
Samples
923.0ms8 256×0valid
Precisions
Click to see histograms. Total time spent on operations: 598.0ms
ival-mult: 278.0ms (46.5% of total)
ival-div: 170.0ms (28.4% of total)
ival-add: 132.0ms (22.1% of total)
ival-true: 7.0ms (1.2% of total)
exact: 5.0ms (0.8% of total)
ival-assert: 3.0ms (0.5% of total)
adjust: 2.0ms (0.3% of total)
Bogosity

explain125.0ms (3%)

Memory
-10.6MiB live, 187.7MiB allocated; 20ms collecting garbage
FPErrors
Click to see full error table
Ground TruthOverpredictionsExampleUnderpredictionsExampleSubexpression
710-4(-2.5727323236288795e-246 -1.000820277287922e-67)(/.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/u390
(*.f64 (*.f64 x #s(literal 2 binary64)) y)underflow39
/.f64(/.f64 (+.f64 x y) (*.f64 (*.f64 x #s(literal 2 binary64)) y))n/o280
(*.f64 (*.f64 x #s(literal 2 binary64)) y)overflow28
Confusion
Predicted +Predicted -
+674
-0185
Precision
1.0
Recall
0.9436619718309859
Confusion?
Predicted +Predicted MaybePredicted -
+6704
-00185
Precision?
1.0
Recall?
0.9436619718309859
Freqs
test
numberfreq
0189
167
Total Confusion?
Predicted +Predicted MaybePredicted -
+100
-000
Precision?
1.0
Recall?
1.0
Samples
28.0ms512×0valid
Compiler

Compiled 59 to 25 computations (57.6% saved)

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

preprocess248.0ms (6%)

Memory
43.4MiB live, 368.3MiB allocated; 34ms 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)

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.7MiB live, 1.7MiB allocated; 0ms collecting garbage
Alt Table
Click to see full alt table
StatusAccuracyProgram
74.6%
(/.f64 (+.f64 x y) (*.f64 (*.f64 x #s(literal 2 binary64)) y))
Compiler

Compiled 9 to 7 computations (22.2% saved)

simplify205.0ms (4.9%)

Memory
-41.7MiB live, 347.2MiB allocated; 71ms 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)

localize19.0ms (0.5%)

Memory
42.6MiB live, 42.5MiB 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))
accuracy16.25815338188026
(/.f64 (+.f64 x y) (*.f64 (*.f64 x #s(literal 2 binary64)) y))
Samples
14.0ms256×0valid
Compiler

Compiled 25 to 9 computations (64% saved)

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

series11.0ms (0.3%)

Memory
-22.2MiB live, 24.4MiB allocated; 4ms 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
#s(approx (/ (+ x y) (* (* x 2) y)) #s(hole binary64 (/ 1/2 x)))
#s(approx (/ (+ x y) (* (* x 2) y)) #s(hole binary64 (/ (+ 1/2 (* 1/2 (/ x y))) x)))
#s(approx (+ x y) #s(hole binary64 y))
#s(approx (+ x y) #s(hole binary64 (+ x y)))
#s(approx (* (* x 2) y) #s(hole binary64 (* 2 (* x y))))
#s(approx (* x 2) #s(hole binary64 (* 2 x)))
#s(approx (/ (+ x y) (* (* x 2) y)) #s(hole binary64 (/ 1/2 y)))
#s(approx (/ (+ x y) (* (* x 2) y)) #s(hole binary64 (+ (* 1/2 (/ 1 x)) (* 1/2 (/ 1 y)))))
#s(approx (+ x y) #s(hole binary64 x))
#s(approx (+ x y) #s(hole binary64 (* x (+ 1 (/ y x)))))
#s(approx (+ x y) #s(hole binary64 (* -1 (* x (- (* -1 (/ y x)) 1)))))
#s(approx (/ (+ x y) (* (* x 2) y)) #s(hole binary64 (/ (+ 1/2 (* 1/2 (/ y x))) y)))
#s(approx (+ x y) #s(hole binary64 (* y (+ 1 (/ x y)))))
#s(approx (+ x y) #s(hole binary64 (* -1 (* y (- (* -1 (/ x y)) 1)))))
Calls

6 calls:

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

simplify224.0ms (5.4%)

Memory
14.9MiB live, 200.3MiB allocated; 41ms collecting garbage
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
054146
1134146
2307130
3978130
44829130
08068130
Stop Event
iter limit
node limit
Counts
14 → 14
Calls
Call 1
Inputs
#s(approx (/ (+ x y) (* (* x 2) y)) #s(hole binary64 (/ 1/2 x)))
#s(approx (/ (+ x y) (* (* x 2) y)) #s(hole binary64 (/ (+ 1/2 (* 1/2 (/ x y))) x)))
#s(approx (+ x y) #s(hole binary64 y))
#s(approx (+ x y) #s(hole binary64 (+ x y)))
#s(approx (* (* x 2) y) #s(hole binary64 (* 2 (* x y))))
#s(approx (* x 2) #s(hole binary64 (* 2 x)))
#s(approx (/ (+ x y) (* (* x 2) y)) #s(hole binary64 (/ 1/2 y)))
#s(approx (/ (+ x y) (* (* x 2) y)) #s(hole binary64 (+ (* 1/2 (/ 1 x)) (* 1/2 (/ 1 y)))))
#s(approx (+ x y) #s(hole binary64 x))
#s(approx (+ x y) #s(hole binary64 (* x (+ 1 (/ y x)))))
#s(approx (+ x y) #s(hole binary64 (* -1 (* x (- (* -1 (/ y x)) 1)))))
#s(approx (/ (+ x y) (* (* x 2) y)) #s(hole binary64 (/ (+ 1/2 (* 1/2 (/ y x))) y)))
#s(approx (+ x y) #s(hole binary64 (* y (+ 1 (/ x y)))))
#s(approx (+ x y) #s(hole binary64 (* -1 (* y (- (* -1 (/ x y)) 1)))))
Outputs
#s(approx (/ (+ x y) (* (* x 2) y)) #s(hole binary64 (/ 1/2 x)))
#s(approx (/ (+ x y) (* (* x 2) y)) (/.f64 #s(literal 1/2 binary64) x))
#s(approx (/ (+ x y) (* (* x 2) y)) #s(hole binary64 (/ (+ 1/2 (* 1/2 (/ x y))) x)))
#s(approx (/ (+ x y) (* (* x 2) y)) (-.f64 (/.f64 #s(literal 1/2 binary64) x) (/.f64 #s(literal -1/2 binary64) y)))
#s(approx (+ x y) #s(hole binary64 y))
#s(approx (+ x y) y)
#s(approx (+ x y) #s(hole binary64 (+ x y)))
#s(approx (+ x y) (+.f64 y x))
#s(approx (* (* x 2) y) #s(hole binary64 (* 2 (* x y))))
#s(approx (* (* x 2) y) (*.f64 (*.f64 #s(literal 2 binary64) x) y))
#s(approx (* x 2) #s(hole binary64 (* 2 x)))
#s(approx (* x 2) (*.f64 #s(literal 2 binary64) x))
#s(approx (/ (+ x y) (* (* x 2) y)) #s(hole binary64 (/ 1/2 y)))
#s(approx (/ (+ x y) (* (* x 2) y)) (/.f64 #s(literal 1/2 binary64) y))
#s(approx (/ (+ x y) (* (* x 2) y)) #s(hole binary64 (+ (* 1/2 (/ 1 x)) (* 1/2 (/ 1 y)))))
#s(approx (/ (+ x y) (* (* x 2) y)) (-.f64 (/.f64 #s(literal 1/2 binary64) x) (/.f64 #s(literal -1/2 binary64) y)))
#s(approx (+ x y) #s(hole binary64 x))
#s(approx (+ x y) x)
#s(approx (+ x y) #s(hole binary64 (* x (+ 1 (/ y x)))))
#s(approx (+ x y) (+.f64 y x))
#s(approx (+ x y) #s(hole binary64 (* -1 (* x (- (* -1 (/ y x)) 1)))))
#s(approx (+ x y) (+.f64 y x))
#s(approx (/ (+ x y) (* (* x 2) y)) #s(hole binary64 (/ (+ 1/2 (* 1/2 (/ y x))) y)))
#s(approx (/ (+ x y) (* (* x 2) y)) (-.f64 (/.f64 #s(literal 1/2 binary64) x) (/.f64 #s(literal -1/2 binary64) y)))
#s(approx (+ x y) #s(hole binary64 (* y (+ 1 (/ x y)))))
#s(approx (+ x y) (+.f64 y x))
#s(approx (+ x y) #s(hole binary64 (* -1 (* y (- (* -1 (/ x y)) 1)))))
#s(approx (+ x y) (+.f64 y x))

rewrite65.0ms (1.6%)

Memory
5.8MiB live, 63.1MiB allocated; 5ms 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)

eval34.0ms (0.8%)

Memory
-32.2MiB live, 14.5MiB allocated; 3ms collecting garbage
Compiler

Compiled 731 to 150 computations (79.5% saved)

prune4.0ms (0.1%)

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

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New41647
Fresh000
Picked101
Done000
Total42648
Accuracy
100.0%
Counts
48 → 6
Alt Table
Click to see full alt table
StatusAccuracyProgram
90.3%
(/.f64 (/.f64 (+.f64 y x) y) (*.f64 #s(literal 2 binary64) x))
74.6%
(/.f64 (+.f64 x y) (*.f64 (+.f64 x x) y))
37.8%
(/.f64 #s(approx (+ x y) y) (*.f64 (*.f64 x #s(literal 2 binary64)) y))
52.5%
#s(approx (/ (+ x y) (* (* x 2) y)) (/.f64 #s(literal 1/2 binary64) y))
48.7%
#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 144 to 108 computations (25% saved)

simplify199.0ms (4.8%)

Memory
25.4MiB live, 260.4MiB allocated; 51ms collecting garbage
Localize:

Found 16 expressions of interest:

NewMetricScoreProgram
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 x #s(literal 2 binary64))
cost-diff0
(*.f64 (*.f64 x #s(literal 2 binary64)) y)
cost-diff0
#s(approx (+ x y) y)
cost-diff0
(/.f64 #s(approx (+ x y) y) (*.f64 (*.f64 x #s(literal 2 binary64)) 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
024119
035117
156117
2102111
3228111
4582111
53821111
08426111
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)
#s(literal -1/2 binary64)
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 #s(approx (+ x y) y) (*.f64 (*.f64 x #s(literal 2 binary64)) y))
#s(approx (+ x y) y)
y
(*.f64 (*.f64 x #s(literal 2 binary64)) y)
(*.f64 x #s(literal 2 binary64))
x
#s(literal 2 binary64)
(/.f64 (+.f64 x y) (*.f64 (+.f64 x x) y))
(+.f64 x y)
x
y
(*.f64 (+.f64 x x) y)
(+.f64 x 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 #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)
#s(literal -1/2 binary64)
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 #s(approx (+ x y) y) (*.f64 (*.f64 x #s(literal 2 binary64)) y))
(/.f64 (/.f64 (/.f64 #s(approx (+ x y) y) y) x) #s(literal 2 binary64))
#s(approx (+ x y) y)
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)
x
#s(literal 2 binary64)
(/.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)

localize62.0ms (1.5%)

Memory
-6.6MiB live, 95.3MiB allocated; 7ms collecting garbage
Localize:

Found 16 expressions of interest:

NewMetricScoreProgram
accuracy0.0
(+.f64 x y)
accuracy0.0
(+.f64 x x)
accuracy0.0
(*.f64 (+.f64 x x) y)
accuracy16.25815338188026
(/.f64 (+.f64 x y) (*.f64 (+.f64 x x) y))
accuracy0.0
(*.f64 (*.f64 x #s(literal 2 binary64)) y)
accuracy0.0
(*.f64 x #s(literal 2 binary64))
accuracy16.25815338188026
(/.f64 #s(approx (+ x y) y) (*.f64 (*.f64 x #s(literal 2 binary64)) y))
accuracy32.76450360195971
#s(approx (+ x y) y)
accuracy0.0
(/.f64 #s(literal 1/2 binary64) y)
accuracy30.37251796809458
#s(approx (/ (+ x y) (* (* x 2) y)) (/.f64 #s(literal 1/2 binary64) y))
accuracy0.0
(/.f64 #s(literal 1/2 binary64) x)
accuracy32.828167807700915
#s(approx (/ (+ x y) (* (* x 2) y)) (/.f64 #s(literal 1/2 binary64) x))
accuracy0.0
(/.f64 #s(literal 1/2 binary64) x)
accuracy0.0
(/.f64 #s(literal -1/2 binary64) y)
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.015625
(-.f64 (/.f64 #s(literal 1/2 binary64) x) (/.f64 #s(literal -1/2 binary64) y))
Samples
33.0ms256×0valid
Compiler

Compiled 101 to 18 computations (82.2% saved)

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

series12.0ms (0.3%)

Memory
-16.2MiB live, 29.7MiB allocated; 4ms collecting garbage
Counts
15 → 29
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 #s(approx (+ x y) y) (*.f64 (*.f64 x #s(literal 2 binary64)) y))
#s(approx (+ x y) y)
(*.f64 (*.f64 x #s(literal 2 binary64)) y)
(*.f64 x #s(literal 2 binary64))
(/.f64 (+.f64 x y) (*.f64 (+.f64 x x) y))
(+.f64 x y)
(*.f64 (+.f64 x x) y)
(+.f64 x x)
Outputs
#s(approx (/ (+ x y) (* (* x 2) y)) #s(hole binary64 (/ 1/2 x)))
#s(approx (/ (+ x y) (* (* x 2) y)) #s(hole binary64 (/ (+ 1/2 (* 1/2 (/ x y))) x)))
#s(approx (- (/ 1/2 x) (/ -1/2 y)) #s(hole binary64 (/ 1/2 x)))
#s(approx (- (/ 1/2 x) (/ -1/2 y)) #s(hole binary64 (/ (+ 1/2 (* 1/2 (/ x y))) x)))
#s(approx (/ 1/2 x) #s(hole binary64 (/ 1/2 x)))
#s(approx (+ x y) #s(hole binary64 y))
#s(approx (+ x y) #s(hole binary64 (+ x y)))
#s(approx (* (* x 2) y) #s(hole binary64 (* 2 (* x y))))
#s(approx (* x 2) #s(hole binary64 (* 2 x)))
#s(approx (/ (+ x y) (* (+ x x) y)) #s(hole binary64 (/ 1/2 x)))
#s(approx (/ (+ x y) (* (+ x x) y)) #s(hole binary64 (/ (+ 1/2 (* 1/2 (/ x y))) x)))
#s(approx (* (+ x x) y) #s(hole binary64 (* 2 (* x y))))
#s(approx (+ x x) #s(hole binary64 (* 2 x)))
#s(approx (/ (+ x y) (* (* x 2) y)) #s(hole binary64 (/ 1/2 y)))
#s(approx (/ (+ x y) (* (* x 2) y)) #s(hole binary64 (+ (* 1/2 (/ 1 x)) (* 1/2 (/ 1 y)))))
#s(approx (- (/ 1/2 x) (/ -1/2 y)) #s(hole binary64 (/ 1/2 y)))
#s(approx (- (/ 1/2 x) (/ -1/2 y)) #s(hole binary64 (+ (* 1/2 (/ 1 x)) (* 1/2 (/ 1 y)))))
#s(approx (+ x y) #s(hole binary64 x))
#s(approx (+ x y) #s(hole binary64 (* x (+ 1 (/ y x)))))
#s(approx (/ (+ x y) (* (+ x x) y)) #s(hole binary64 (/ 1/2 y)))
#s(approx (/ (+ x y) (* (+ x x) y)) #s(hole binary64 (+ (* 1/2 (/ 1 x)) (* 1/2 (/ 1 y)))))
#s(approx (+ x y) #s(hole binary64 (* -1 (* x (- (* -1 (/ y x)) 1)))))
#s(approx (/ (+ x y) (* (* x 2) y)) #s(hole binary64 (/ (+ 1/2 (* 1/2 (/ y x))) y)))
#s(approx (- (/ 1/2 x) (/ -1/2 y)) #s(hole binary64 (/ (+ 1/2 (* 1/2 (/ y x))) y)))
#s(approx (/ -1/2 y) #s(hole binary64 (/ -1/2 y)))
#s(approx (/ 1/2 y) #s(hole binary64 (/ 1/2 y)))
#s(approx (/ (+ x y) (* (+ x x) y)) #s(hole binary64 (/ (+ 1/2 (* 1/2 (/ y x))) y)))
#s(approx (+ x y) #s(hole binary64 (* y (+ 1 (/ x y)))))
#s(approx (+ x y) #s(hole binary64 (* -1 (* y (- (* -1 (/ x y)) 1)))))
Calls

6 calls:

TimeVariablePointExpression
4.0ms
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 2) y)) (+ x y) (* (* x 2) y) (* x 2) (/ (+ x y) (* (+ x x) y)) (+ x y) (* (+ x x) y) (+ x 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 2) y)) (+ x y) (* (* x 2) y) (* x 2) (/ (+ x y) (* (+ x x) y)) (+ x y) (* (+ x x) y) (+ x 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 2) y)) (+ x y) (* (* x 2) y) (* x 2) (/ (+ x y) (* (+ x x) y)) (+ x y) (* (+ x x) y) (+ x 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 2) y)) (+ x y) (* (* x 2) y) (* x 2) (/ (+ x y) (* (+ x x) y)) (+ x y) (* (+ x x) y) (+ x x))
1.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 2) y)) (+ x y) (* (* x 2) y) (* x 2) (/ (+ x y) (* (+ x x) y)) (+ x y) (* (+ x x) y) (+ x x))

simplify202.0ms (4.9%)

Memory
2.8MiB live, 226.1MiB allocated; 51ms collecting garbage
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
075351
1160351
2334303
3997303
44830303
08080303
Stop Event
iter limit
node limit
Counts
29 → 29
Calls
Call 1
Inputs
#s(approx (/ (+ x y) (* (* x 2) y)) #s(hole binary64 (/ 1/2 x)))
#s(approx (/ (+ x y) (* (* x 2) y)) #s(hole binary64 (/ (+ 1/2 (* 1/2 (/ x y))) x)))
#s(approx (- (/ 1/2 x) (/ -1/2 y)) #s(hole binary64 (/ 1/2 x)))
#s(approx (- (/ 1/2 x) (/ -1/2 y)) #s(hole binary64 (/ (+ 1/2 (* 1/2 (/ x y))) x)))
#s(approx (/ 1/2 x) #s(hole binary64 (/ 1/2 x)))
#s(approx (+ x y) #s(hole binary64 y))
#s(approx (+ x y) #s(hole binary64 (+ x y)))
#s(approx (* (* x 2) y) #s(hole binary64 (* 2 (* x y))))
#s(approx (* x 2) #s(hole binary64 (* 2 x)))
#s(approx (/ (+ x y) (* (+ x x) y)) #s(hole binary64 (/ 1/2 x)))
#s(approx (/ (+ x y) (* (+ x x) y)) #s(hole binary64 (/ (+ 1/2 (* 1/2 (/ x y))) x)))
#s(approx (* (+ x x) y) #s(hole binary64 (* 2 (* x y))))
#s(approx (+ x x) #s(hole binary64 (* 2 x)))
#s(approx (/ (+ x y) (* (* x 2) y)) #s(hole binary64 (/ 1/2 y)))
#s(approx (/ (+ x y) (* (* x 2) y)) #s(hole binary64 (+ (* 1/2 (/ 1 x)) (* 1/2 (/ 1 y)))))
#s(approx (- (/ 1/2 x) (/ -1/2 y)) #s(hole binary64 (/ 1/2 y)))
#s(approx (- (/ 1/2 x) (/ -1/2 y)) #s(hole binary64 (+ (* 1/2 (/ 1 x)) (* 1/2 (/ 1 y)))))
#s(approx (+ x y) #s(hole binary64 x))
#s(approx (+ x y) #s(hole binary64 (* x (+ 1 (/ y x)))))
#s(approx (/ (+ x y) (* (+ x x) y)) #s(hole binary64 (/ 1/2 y)))
#s(approx (/ (+ x y) (* (+ x x) y)) #s(hole binary64 (+ (* 1/2 (/ 1 x)) (* 1/2 (/ 1 y)))))
#s(approx (+ x y) #s(hole binary64 (* -1 (* x (- (* -1 (/ y x)) 1)))))
#s(approx (/ (+ x y) (* (* x 2) y)) #s(hole binary64 (/ (+ 1/2 (* 1/2 (/ y x))) y)))
#s(approx (- (/ 1/2 x) (/ -1/2 y)) #s(hole binary64 (/ (+ 1/2 (* 1/2 (/ y x))) y)))
#s(approx (/ -1/2 y) #s(hole binary64 (/ -1/2 y)))
#s(approx (/ 1/2 y) #s(hole binary64 (/ 1/2 y)))
#s(approx (/ (+ x y) (* (+ x x) y)) #s(hole binary64 (/ (+ 1/2 (* 1/2 (/ y x))) y)))
#s(approx (+ x y) #s(hole binary64 (* y (+ 1 (/ x y)))))
#s(approx (+ x y) #s(hole binary64 (* -1 (* y (- (* -1 (/ x y)) 1)))))
Outputs
#s(approx (/ (+ x y) (* (* x 2) y)) #s(hole binary64 (/ 1/2 x)))
#s(approx (/ (+ x y) (* (+ x x) y)) (/.f64 #s(literal 1/2 binary64) x))
#s(approx (/ (+ x y) (* (* x 2) y)) #s(hole binary64 (/ (+ 1/2 (* 1/2 (/ x y))) x)))
#s(approx (/ (+ x y) (* (+ x x) y)) (-.f64 (/.f64 #s(literal 1/2 binary64) y) (/.f64 #s(literal -1/2 binary64) x)))
#s(approx (- (/ 1/2 x) (/ -1/2 y)) #s(hole binary64 (/ 1/2 x)))
#s(approx (/ (+ x y) (* (+ x x) y)) (/.f64 #s(literal 1/2 binary64) x))
#s(approx (- (/ 1/2 x) (/ -1/2 y)) #s(hole binary64 (/ (+ 1/2 (* 1/2 (/ x y))) x)))
#s(approx (/ (+ x y) (* (+ x x) y)) (-.f64 (/.f64 #s(literal 1/2 binary64) y) (/.f64 #s(literal -1/2 binary64) x)))
#s(approx (/ 1/2 x) #s(hole binary64 (/ 1/2 x)))
#s(approx (/ 1/2 x) (/.f64 #s(literal 1/2 binary64) x))
#s(approx (+ x y) #s(hole binary64 y))
#s(approx (+ x y) y)
#s(approx (+ x y) #s(hole binary64 (+ x y)))
#s(approx (+ x y) (+.f64 y x))
#s(approx (* (* x 2) y) #s(hole binary64 (* 2 (* x y))))
#s(approx (* (+ x x) y) (*.f64 (*.f64 #s(literal 2 binary64) y) x))
#s(approx (* x 2) #s(hole binary64 (* 2 x)))
#s(approx (+ x x) (*.f64 #s(literal 2 binary64) x))
#s(approx (/ (+ x y) (* (+ x x) y)) #s(hole binary64 (/ 1/2 x)))
#s(approx (/ (+ x y) (* (+ x x) y)) (/.f64 #s(literal 1/2 binary64) x))
#s(approx (/ (+ x y) (* (+ x x) y)) #s(hole binary64 (/ (+ 1/2 (* 1/2 (/ x y))) x)))
#s(approx (/ (+ x y) (* (+ x x) y)) (-.f64 (/.f64 #s(literal 1/2 binary64) y) (/.f64 #s(literal -1/2 binary64) x)))
#s(approx (* (+ x x) y) #s(hole binary64 (* 2 (* x y))))
#s(approx (* (+ x x) y) (*.f64 (*.f64 #s(literal 2 binary64) y) x))
#s(approx (+ x x) #s(hole binary64 (* 2 x)))
#s(approx (+ x x) (*.f64 #s(literal 2 binary64) x))
#s(approx (/ (+ x y) (* (* x 2) y)) #s(hole binary64 (/ 1/2 y)))
#s(approx (/ (+ x y) (* (+ x x) y)) (/.f64 #s(literal 1/2 binary64) y))
#s(approx (/ (+ x y) (* (* x 2) y)) #s(hole binary64 (+ (* 1/2 (/ 1 x)) (* 1/2 (/ 1 y)))))
#s(approx (/ (+ x y) (* (+ x x) y)) (-.f64 (/.f64 #s(literal 1/2 binary64) y) (/.f64 #s(literal -1/2 binary64) x)))
#s(approx (- (/ 1/2 x) (/ -1/2 y)) #s(hole binary64 (/ 1/2 y)))
#s(approx (/ (+ x y) (* (+ x x) y)) (/.f64 #s(literal 1/2 binary64) y))
#s(approx (- (/ 1/2 x) (/ -1/2 y)) #s(hole binary64 (+ (* 1/2 (/ 1 x)) (* 1/2 (/ 1 y)))))
#s(approx (/ (+ x y) (* (+ x x) y)) (-.f64 (/.f64 #s(literal 1/2 binary64) y) (/.f64 #s(literal -1/2 binary64) x)))
#s(approx (+ x y) #s(hole binary64 x))
#s(approx (+ x y) x)
#s(approx (+ x y) #s(hole binary64 (* x (+ 1 (/ y x)))))
#s(approx (+ x y) (+.f64 y x))
#s(approx (/ (+ x y) (* (+ x x) y)) #s(hole binary64 (/ 1/2 y)))
#s(approx (/ (+ x y) (* (+ x x) y)) (/.f64 #s(literal 1/2 binary64) y))
#s(approx (/ (+ x y) (* (+ x x) y)) #s(hole binary64 (+ (* 1/2 (/ 1 x)) (* 1/2 (/ 1 y)))))
#s(approx (/ (+ x y) (* (+ x x) y)) (-.f64 (/.f64 #s(literal 1/2 binary64) y) (/.f64 #s(literal -1/2 binary64) x)))
#s(approx (+ x y) #s(hole binary64 (* -1 (* x (- (* -1 (/ y x)) 1)))))
#s(approx (+ x y) (+.f64 y x))
#s(approx (/ (+ x y) (* (* x 2) y)) #s(hole binary64 (/ (+ 1/2 (* 1/2 (/ y x))) y)))
#s(approx (/ (+ x y) (* (+ x x) y)) (-.f64 (/.f64 #s(literal 1/2 binary64) y) (/.f64 #s(literal -1/2 binary64) x)))
#s(approx (- (/ 1/2 x) (/ -1/2 y)) #s(hole binary64 (/ (+ 1/2 (* 1/2 (/ y x))) y)))
#s(approx (/ (+ x y) (* (+ x x) y)) (-.f64 (/.f64 #s(literal 1/2 binary64) y) (/.f64 #s(literal -1/2 binary64) x)))
#s(approx (/ -1/2 y) #s(hole binary64 (/ -1/2 y)))
#s(approx (/ -1/2 y) (/.f64 #s(literal -1/2 binary64) y))
#s(approx (/ 1/2 y) #s(hole binary64 (/ 1/2 y)))
#s(approx (/ 1/2 y) (/.f64 #s(literal 1/2 binary64) y))
#s(approx (/ (+ x y) (* (+ x x) y)) #s(hole binary64 (/ (+ 1/2 (* 1/2 (/ y x))) y)))
#s(approx (/ (+ x y) (* (+ x x) y)) (-.f64 (/.f64 #s(literal 1/2 binary64) y) (/.f64 #s(literal -1/2 binary64) x)))
#s(approx (+ x y) #s(hole binary64 (* y (+ 1 (/ x y)))))
#s(approx (+ x y) (+.f64 y x))
#s(approx (+ x y) #s(hole binary64 (* -1 (* y (- (* -1 (/ x y)) 1)))))
#s(approx (+ x y) (+.f64 y x))

rewrite52.0ms (1.3%)

Memory
20.2MiB live, 64.8MiB allocated; 6ms collecting garbage
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
024103
035103
110585
062285
Stop Event
iter limit
iter limit
node limit
iter limit
Counts
15 → 96
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 #s(approx (+ x y) y) (*.f64 (*.f64 x #s(literal 2 binary64)) y))
#s(approx (+ x y) y)
(*.f64 (*.f64 x #s(literal 2 binary64)) y)
(*.f64 x #s(literal 2 binary64))
(/.f64 (+.f64 x y) (*.f64 (+.f64 x x) y))
(+.f64 x y)
(*.f64 (+.f64 x x) y)
(+.f64 x 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 (fma.f64 #s(literal 1/2 binary64) y (*.f64 (neg.f64 x) #s(literal -1/2 binary64))) x) y)
(/.f64 (neg.f64 (-.f64 (pow.f64 (/.f64 #s(literal 1/2 binary64) x) #s(literal 2 binary64)) (pow.f64 (/.f64 #s(literal -1/2 binary64) y) #s(literal 2 binary64)))) (neg.f64 (+.f64 (/.f64 #s(literal -1/2 binary64) y) (/.f64 #s(literal 1/2 binary64) x))))
(/.f64 (neg.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)))) (neg.f64 (fma.f64 (/.f64 #s(literal -1/2 binary64) y) (+.f64 (/.f64 #s(literal -1/2 binary64) y) (/.f64 #s(literal 1/2 binary64) x)) (pow.f64 (/.f64 #s(literal 1/2 binary64) x) #s(literal 2 binary64)))))
(/.f64 (neg.f64 (fma.f64 #s(literal 1/2 binary64) y (*.f64 (neg.f64 x) #s(literal -1/2 binary64)))) (neg.f64 (*.f64 y x)))
(/.f64 (-.f64 (*.f64 #s(literal -1/2 binary64) y) (*.f64 (neg.f64 x) #s(literal -1/2 binary64))) (*.f64 (neg.f64 x) y))
(/.f64 (-.f64 (*.f64 #s(literal -1/2 binary64) (neg.f64 y)) (*.f64 (neg.f64 x) #s(literal 1/2 binary64))) (*.f64 (neg.f64 x) (neg.f64 y)))
(/.f64 (-.f64 (*.f64 #s(literal 1/2 binary64) (neg.f64 y)) (*.f64 x #s(literal 1/2 binary64))) (*.f64 x (neg.f64 y)))
(/.f64 (-.f64 (pow.f64 (/.f64 #s(literal 1/2 binary64) x) #s(literal 2 binary64)) (pow.f64 (/.f64 #s(literal -1/2 binary64) y) #s(literal 2 binary64))) (+.f64 (/.f64 #s(literal -1/2 binary64) y) (/.f64 #s(literal 1/2 binary64) x)))
(/.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) y) (+.f64 (/.f64 #s(literal -1/2 binary64) y) (/.f64 #s(literal 1/2 binary64) x)) (pow.f64 (/.f64 #s(literal 1/2 binary64) x) #s(literal 2 binary64))))
(/.f64 (fma.f64 #s(literal 1/2 binary64) y (*.f64 (neg.f64 x) #s(literal -1/2 binary64))) (*.f64 y x))
(-.f64 (/.f64 (pow.f64 (/.f64 #s(literal 1/2 binary64) x) #s(literal 2 binary64)) (+.f64 (/.f64 #s(literal -1/2 binary64) y) (/.f64 #s(literal 1/2 binary64) x))) (/.f64 (pow.f64 (/.f64 #s(literal -1/2 binary64) y) #s(literal 2 binary64)) (+.f64 (/.f64 #s(literal -1/2 binary64) y) (/.f64 #s(literal 1/2 binary64) x))))
(-.f64 (/.f64 (pow.f64 (/.f64 #s(literal 1/2 binary64) x) #s(literal 3 binary64)) (fma.f64 (/.f64 #s(literal -1/2 binary64) y) (+.f64 (/.f64 #s(literal -1/2 binary64) y) (/.f64 #s(literal 1/2 binary64) x)) (pow.f64 (/.f64 #s(literal 1/2 binary64) x) #s(literal 2 binary64)))) (/.f64 (pow.f64 (/.f64 #s(literal -1/2 binary64) y) #s(literal 3 binary64)) (fma.f64 (/.f64 #s(literal -1/2 binary64) y) (+.f64 (/.f64 #s(literal -1/2 binary64) y) (/.f64 #s(literal 1/2 binary64) x)) (pow.f64 (/.f64 #s(literal 1/2 binary64) x) #s(literal 2 binary64)))))
(-.f64 (/.f64 (*.f64 #s(literal 1/2 binary64) y) (*.f64 y x)) (/.f64 (*.f64 #s(literal -1/2 binary64) x) (*.f64 y x)))
(-.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) (neg.f64 (neg.f64 x)))
(/.f64 #s(literal 1/2 binary64) x)
(neg.f64 (/.f64 #s(literal 1/2 binary64) (neg.f64 x)))
(neg.f64 (/.f64 #s(literal -1/2 binary64) x))
(/.f64 #s(literal -1/2 binary64) (neg.f64 (neg.f64 y)))
(/.f64 #s(literal -1/2 binary64) y)
(/.f64 #s(literal 1/2 binary64) (neg.f64 y))
(neg.f64 (/.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) (neg.f64 y))
(/.f64 #s(literal 1/2 binary64) (neg.f64 (neg.f64 y)))
(/.f64 #s(literal 1/2 binary64) y)
(neg.f64 (/.f64 #s(literal -1/2 binary64) y))
(/.f64 (/.f64 #s(approx (+ x y) y) y) #s(literal 2 binary64))
(/.f64 (/.f64 #s(approx (+ x y) y) x) (*.f64 #s(literal 2 binary64) y))
(/.f64 (neg.f64 (/.f64 #s(approx (+ x y) y) #s(literal 2 binary64))) (neg.f64 y))
(/.f64 (neg.f64 (neg.f64 #s(approx (+ x y) y))) (neg.f64 (*.f64 #s(literal -2 binary64) y)))
(/.f64 (/.f64 #s(approx (+ x y) y) #s(literal 2 binary64)) y)
(/.f64 (neg.f64 #s(approx (+ x y) y)) (*.f64 #s(literal -2 binary64) y))
(/.f64 #s(approx (+ x y) y) (*.f64 #s(literal 2 binary64) y))
(neg.f64 (/.f64 (neg.f64 #s(approx (+ x y) y)) (*.f64 #s(literal 2 binary64) y)))
(neg.f64 (/.f64 #s(approx (+ x y) y) (*.f64 #s(literal -2 binary64) y)))
#s(approx (+ x y) 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)))
(fma.f64 y x (*.f64 y x))
(fma.f64 x y (*.f64 y x))
(+.f64 (*.f64 y x) (*.f64 y x))
(+.f64 y y)
#s(literal 2 binary64)
(/.f64 (/.f64 (+.f64 y x) y) #s(literal 2 binary64))
(/.f64 (/.f64 (+.f64 y x) x) (*.f64 #s(literal 2 binary64) y))
(/.f64 (-.f64 (*.f64 (/.f64 x (*.f64 #s(literal 2 binary64) y)) (/.f64 x (*.f64 #s(literal 2 binary64) y))) (*.f64 (/.f64 y (*.f64 #s(literal 2 binary64) y)) (/.f64 y (*.f64 #s(literal 2 binary64) y)))) (-.f64 (/.f64 x (*.f64 #s(literal 2 binary64) y)) (/.f64 y (*.f64 #s(literal 2 binary64) y))))
(/.f64 (+.f64 (pow.f64 (/.f64 x (*.f64 #s(literal 2 binary64) y)) #s(literal 3 binary64)) (pow.f64 (/.f64 y (*.f64 #s(literal 2 binary64) y)) #s(literal 3 binary64))) (fma.f64 (/.f64 x (*.f64 #s(literal 2 binary64) y)) (/.f64 x (*.f64 #s(literal 2 binary64) y)) (-.f64 (*.f64 (/.f64 y (*.f64 #s(literal 2 binary64) y)) (/.f64 y (*.f64 #s(literal 2 binary64) y))) (*.f64 (/.f64 x (*.f64 #s(literal 2 binary64) y)) (/.f64 y (*.f64 #s(literal 2 binary64) y))))))
(/.f64 (neg.f64 (/.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 (pow.f64 y #s(literal 3 binary64)) (pow.f64 x #s(literal 3 binary64))) (*.f64 (fma.f64 y (-.f64 y x) (*.f64 x x)) (*.f64 #s(literal 2 binary64) y)))
(/.f64 (neg.f64 (+.f64 y x)) (*.f64 #s(literal -2 binary64) y))
(/.f64 (+.f64 y x) (*.f64 #s(literal 2 binary64) y))
(neg.f64 (/.f64 (neg.f64 (+.f64 y x)) (*.f64 #s(literal 2 binary64) y)))
(neg.f64 (/.f64 (+.f64 y x) (*.f64 #s(literal -2 binary64) y)))
(+.f64 (/.f64 y (*.f64 #s(literal 2 binary64) y)) (/.f64 x (*.f64 #s(literal 2 binary64) y)))
(+.f64 (/.f64 x (*.f64 #s(literal 2 binary64) y)) (/.f64 y (*.f64 #s(literal 2 binary64) y)))
(/.f64 (-.f64 (*.f64 y y) (*.f64 x x)) (-.f64 y x))
(/.f64 (neg.f64 (*.f64 (+.f64 y x) (-.f64 x y))) (neg.f64 (-.f64 x y)))
(/.f64 (neg.f64 (+.f64 (pow.f64 y #s(literal 3 binary64)) (pow.f64 x #s(literal 3 binary64)))) (neg.f64 (fma.f64 y (-.f64 y x) (*.f64 x x))))
(/.f64 (*.f64 (+.f64 y x) (-.f64 x y)) (-.f64 x y))
(/.f64 (+.f64 (pow.f64 y #s(literal 3 binary64)) (pow.f64 x #s(literal 3 binary64))) (fma.f64 y y (-.f64 (*.f64 x x) (*.f64 y x))))
(/.f64 (+.f64 (pow.f64 y #s(literal 3 binary64)) (pow.f64 x #s(literal 3 binary64))) (fma.f64 y (-.f64 y x) (*.f64 x x)))
(-.f64 (/.f64 (*.f64 x x) (-.f64 x y)) (/.f64 (*.f64 y y) (-.f64 x y)))
(+.f64 (/.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 y (-.f64 y x) (*.f64 x x))) (/.f64 (pow.f64 y #s(literal 3 binary64)) (fma.f64 y (-.f64 y x) (*.f64 x x))))
(+.f64 y x)
(+.f64 x y)
(*.f64 (*.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)))
(fma.f64 y x (*.f64 y x))
(fma.f64 x y (*.f64 y x))
(+.f64 (*.f64 y x) (*.f64 y x))
(+.f64 y y)
#s(literal 2 binary64)

eval10.0ms (0.2%)

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

Compiled 1 619 to 290 computations (82.1% saved)

prune18.0ms (0.4%)

Memory
-43.8MiB live, 10.8MiB allocated; 20ms collecting garbage
Pruning

6 alts after pruning (1 fresh and 5 done)

PrunedKeptTotal
New97097
Fresh011
Picked055
Done000
Total976103
Accuracy
100.0%
Counts
103 → 6
Alt Table
Click to see full alt table
StatusAccuracyProgram
90.3%
(/.f64 (/.f64 (+.f64 y x) y) (*.f64 #s(literal 2 binary64) x))
74.6%
(/.f64 (+.f64 x y) (*.f64 (+.f64 x x) y))
37.8%
(/.f64 #s(approx (+ x y) y) (*.f64 (*.f64 x #s(literal 2 binary64)) y))
52.5%
#s(approx (/ (+ x y) (* (* x 2) y)) (/.f64 #s(literal 1/2 binary64) y))
48.7%
#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 72 to 54 computations (25% saved)

simplify111.0ms (2.7%)

Memory
53.0MiB live, 142.3MiB allocated; 16ms collecting garbage
Localize:

Found 4 expressions of interest:

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

Useful iterations: 4 (0.0ms)

IterNodesCost
0723
01123
12323
25723
314623
445421
5322221
0848221
Stop Event
iter limit
node limit
iter limit
Calls
Call 1
Inputs
(/.f64 (/.f64 (+.f64 y x) y) (*.f64 #s(literal 2 binary64) x))
(/.f64 (+.f64 y x) y)
(+.f64 y x)
y
x
(*.f64 #s(literal 2 binary64) x)
#s(literal 2 binary64)
Outputs
(/.f64 (/.f64 (+.f64 y x) y) (*.f64 #s(literal 2 binary64) x))
(-.f64 (/.f64 #s(literal 1/2 binary64) y) (/.f64 #s(literal -1/2 binary64) x))
(/.f64 (+.f64 y x) y)
(/.f64 (+.f64 x y) y)
(+.f64 y x)
(+.f64 x y)
y
x
(*.f64 #s(literal 2 binary64) x)
#s(literal 2 binary64)

localize24.0ms (0.6%)

Memory
-3.1MiB live, 39.9MiB allocated; 10ms collecting garbage
Localize:

Found 4 expressions of interest:

NewMetricScoreProgram
accuracy0.0
(+.f64 y x)
accuracy0.0
(*.f64 #s(literal 2 binary64) x)
accuracy0.01953125
(/.f64 (+.f64 y x) y)
accuracy6.212175714316233
(/.f64 (/.f64 (+.f64 y x) y) (*.f64 #s(literal 2 binary64) x))
Samples
19.0ms256×0valid
Compiler

Compiled 25 to 9 computations (64% saved)

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

series100.0ms (2.4%)

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

6 calls:

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

simplify218.0ms (5.3%)

Memory
-30.2MiB live, 211.6MiB allocated; 50ms collecting garbage
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
059184
1141184
2313168
31107168
44950168
08118168
Stop Event
iter limit
node limit
Counts
18 → 18
Calls
Call 1
Inputs
#s(approx (/ (/ (+ y x) y) (* 2 x)) #s(hole binary64 (/ 1/2 x)))
#s(approx (/ (/ (+ y x) y) (* 2 x)) #s(hole binary64 (/ (+ 1/2 (* 1/2 (/ x y))) x)))
#s(approx (/ (+ y x) y) #s(hole binary64 1))
#s(approx (/ (+ y x) y) #s(hole binary64 (+ 1 (/ x y))))
#s(approx (+ y x) #s(hole binary64 y))
#s(approx (+ y x) #s(hole binary64 (+ x y)))
#s(approx (* 2 x) #s(hole binary64 (* 2 x)))
#s(approx (/ (/ (+ y x) y) (* 2 x)) #s(hole binary64 (/ 1/2 y)))
#s(approx (/ (/ (+ y x) y) (* 2 x)) #s(hole binary64 (+ (* 1/2 (/ 1 x)) (* 1/2 (/ 1 y)))))
#s(approx (/ (+ y x) y) #s(hole binary64 (/ x y)))
#s(approx (/ (+ y x) y) #s(hole binary64 (* x (+ (/ 1 x) (/ 1 y)))))
#s(approx (+ y x) #s(hole binary64 x))
#s(approx (+ y x) #s(hole binary64 (* x (+ 1 (/ y x)))))
#s(approx (+ y x) #s(hole binary64 (* -1 (* x (- (* -1 (/ y x)) 1)))))
#s(approx (/ (/ (+ y x) y) (* 2 x)) #s(hole binary64 (/ (+ 1/2 (* 1/2 (/ y x))) y)))
#s(approx (/ (+ y x) y) #s(hole binary64 (/ (+ x y) y)))
#s(approx (+ y x) #s(hole binary64 (* y (+ 1 (/ x y)))))
#s(approx (+ y x) #s(hole binary64 (* -1 (* y (- (* -1 (/ x y)) 1)))))
Outputs
#s(approx (/ (/ (+ y x) y) (* 2 x)) #s(hole binary64 (/ 1/2 x)))
#s(approx (/ (/ (+ y x) y) (* 2 x)) (/.f64 #s(literal 1/2 binary64) x))
#s(approx (/ (/ (+ y x) y) (* 2 x)) #s(hole binary64 (/ (+ 1/2 (* 1/2 (/ x y))) x)))
#s(approx (/ (/ (+ y x) y) (* 2 x)) (-.f64 (/.f64 #s(literal 1/2 binary64) x) (/.f64 #s(literal -1/2 binary64) y)))
#s(approx (/ (+ y x) y) #s(hole binary64 1))
#s(approx (/ (+ y x) y) #s(literal 1 binary64))
#s(approx (/ (+ y x) y) #s(hole binary64 (+ 1 (/ x y))))
#s(approx (/ (+ y x) y) (/.f64 (+.f64 x y) y))
#s(approx (+ y x) #s(hole binary64 y))
#s(approx (+ y x) y)
#s(approx (+ y x) #s(hole binary64 (+ x y)))
#s(approx (+ y x) (+.f64 x y))
#s(approx (* 2 x) #s(hole binary64 (* 2 x)))
#s(approx (* 2 x) (*.f64 #s(literal 2 binary64) x))
#s(approx (/ (/ (+ y x) y) (* 2 x)) #s(hole binary64 (/ 1/2 y)))
#s(approx (/ (/ (+ y x) y) (* 2 x)) (/.f64 #s(literal 1/2 binary64) y))
#s(approx (/ (/ (+ y x) y) (* 2 x)) #s(hole binary64 (+ (* 1/2 (/ 1 x)) (* 1/2 (/ 1 y)))))
#s(approx (/ (/ (+ y x) y) (* 2 x)) (-.f64 (/.f64 #s(literal 1/2 binary64) x) (/.f64 #s(literal -1/2 binary64) y)))
#s(approx (/ (+ y x) y) #s(hole binary64 (/ x y)))
#s(approx (/ (+ y x) y) (/.f64 x y))
#s(approx (/ (+ y x) y) #s(hole binary64 (* x (+ (/ 1 x) (/ 1 y)))))
#s(approx (/ (+ y x) y) (/.f64 (+.f64 x y) y))
#s(approx (+ y x) #s(hole binary64 x))
#s(approx (+ y x) x)
#s(approx (+ y x) #s(hole binary64 (* x (+ 1 (/ y x)))))
#s(approx (+ y x) (+.f64 x y))
#s(approx (+ y x) #s(hole binary64 (* -1 (* x (- (* -1 (/ y x)) 1)))))
#s(approx (+ y x) (+.f64 x y))
#s(approx (/ (/ (+ y x) y) (* 2 x)) #s(hole binary64 (/ (+ 1/2 (* 1/2 (/ y x))) y)))
#s(approx (/ (/ (+ y x) y) (* 2 x)) (-.f64 (/.f64 #s(literal 1/2 binary64) x) (/.f64 #s(literal -1/2 binary64) y)))
#s(approx (/ (+ y x) y) #s(hole binary64 (/ (+ x y) y)))
#s(approx (/ (+ y x) y) (/.f64 (+.f64 x y) y))
#s(approx (+ y x) #s(hole binary64 (* y (+ 1 (/ x y)))))
#s(approx (+ y x) (+.f64 x y))
#s(approx (+ y x) #s(hole binary64 (* -1 (* y (- (* -1 (/ x y)) 1)))))
#s(approx (+ y x) (+.f64 x y))

rewrite47.0ms (1.1%)

Memory
16.5MiB live, 63.0MiB allocated; 3ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

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

eval6.0ms (0.1%)

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

Compiled 794 to 180 computations (77.3% saved)

prune6.0ms (0.2%)

Memory
-29.5MiB live, 14.4MiB allocated; 3ms collecting garbage
Pruning

7 alts after pruning (2 fresh and 5 done)

PrunedKeptTotal
New54256
Fresh000
Picked101
Done055
Total55762
Accuracy
100.0%
Counts
62 → 7
Alt Table
Click to see full alt table
StatusAccuracyProgram
90.3%
(/.f64 (/.f64 (+.f64 y x) y) (+.f64 x x))
90.3%
(/.f64 (+.f64 (/.f64 x y) #s(literal 1 binary64)) (*.f64 #s(literal 2 binary64) x))
74.6%
(/.f64 (+.f64 x y) (*.f64 (+.f64 x x) y))
37.8%
(/.f64 #s(approx (+ x y) y) (*.f64 (*.f64 x #s(literal 2 binary64)) y))
52.5%
#s(approx (/ (+ x y) (* (* x 2) y)) (/.f64 #s(literal 1/2 binary64) y))
48.7%
#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 81 to 61 computations (24.7% saved)

simplify169.0ms (4.1%)

Memory
16.4MiB live, 202.7MiB allocated; 19ms collecting garbage
Localize:

Found 8 expressions of interest:

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

Useful iterations: 4 (0.0ms)

IterNodesCost
01246
02046
13746
28046
318246
474042
5700242
0810742
Stop Event
iter limit
node limit
iter limit
Calls
Call 1
Inputs
(/.f64 (+.f64 (/.f64 x y) #s(literal 1 binary64)) (*.f64 #s(literal 2 binary64) x))
(+.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)
(/.f64 (/.f64 (+.f64 y x) y) (+.f64 x x))
(/.f64 (+.f64 y x) y)
(+.f64 y x)
y
x
(+.f64 x x)
Outputs
(/.f64 (+.f64 (/.f64 x y) #s(literal 1 binary64)) (*.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) #s(literal 1 binary64))
(/.f64 (+.f64 y x) y)
(/.f64 x y)
x
y
#s(literal 1 binary64)
(*.f64 #s(literal 2 binary64) x)
#s(literal 2 binary64)
(/.f64 (/.f64 (+.f64 y x) y) (+.f64 x x))
(+.f64 (/.f64 #s(literal 1/2 binary64) y) (/.f64 #s(literal 1/2 binary64) x))
(/.f64 (+.f64 y x) y)
(+.f64 y x)
y
x
(+.f64 x x)
(*.f64 #s(literal 2 binary64) x)

localize76.0ms (1.8%)

Memory
-14.2MiB live, 135.1MiB allocated; 12ms collecting garbage
Localize:

Found 8 expressions of interest:

NewMetricScoreProgram
accuracy0.0
(+.f64 y x)
accuracy0.0
(+.f64 x x)
accuracy0.01953125
(/.f64 (+.f64 y x) y)
accuracy6.212175714316233
(/.f64 (/.f64 (+.f64 y x) y) (+.f64 x x))
accuracy0.0
(/.f64 x y)
accuracy0.0
(*.f64 #s(literal 2 binary64) x)
accuracy0.00390625
(+.f64 (/.f64 x y) #s(literal 1 binary64))
accuracy6.212175714316233
(/.f64 (+.f64 (/.f64 x y) #s(literal 1 binary64)) (*.f64 #s(literal 2 binary64) x))
Samples
42.0ms256×0valid
Compiler

Compiled 48 to 14 computations (70.8% saved)

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

series8.0ms (0.2%)

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

6 calls:

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

simplify160.0ms (3.9%)

Memory
20.4MiB live, 213.1MiB allocated; 29ms collecting garbage
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
074330
1161330
2335298
31127298
44967298
08165298
Stop Event
iter limit
node limit
Counts
30 → 30
Calls
Call 1
Inputs
#s(approx (/ (+ (/ x y) 1) (* 2 x)) #s(hole binary64 (/ 1/2 x)))
#s(approx (/ (+ (/ x y) 1) (* 2 x)) #s(hole binary64 (/ (+ 1/2 (* 1/2 (/ x y))) x)))
#s(approx (+ (/ x y) 1) #s(hole binary64 1))
#s(approx (+ (/ x y) 1) #s(hole binary64 (+ 1 (/ x y))))
#s(approx (/ x y) #s(hole binary64 (/ x y)))
#s(approx (* 2 x) #s(hole binary64 (* 2 x)))
#s(approx (/ (/ (+ y x) y) (+ x x)) #s(hole binary64 (/ 1/2 x)))
#s(approx (/ (/ (+ y x) y) (+ x x)) #s(hole binary64 (/ (+ 1/2 (* 1/2 (/ x y))) x)))
#s(approx (/ (+ y x) y) #s(hole binary64 1))
#s(approx (/ (+ y x) y) #s(hole binary64 (+ 1 (/ x y))))
#s(approx (+ y x) #s(hole binary64 y))
#s(approx (+ y x) #s(hole binary64 (+ x y)))
#s(approx (+ x x) #s(hole binary64 (* 2 x)))
#s(approx (/ (+ (/ x y) 1) (* 2 x)) #s(hole binary64 (/ 1/2 y)))
#s(approx (/ (+ (/ x y) 1) (* 2 x)) #s(hole binary64 (+ (* 1/2 (/ 1 x)) (* 1/2 (/ 1 y)))))
#s(approx (+ (/ x y) 1) #s(hole binary64 (/ x y)))
#s(approx (+ (/ x y) 1) #s(hole binary64 (* x (+ (/ 1 x) (/ 1 y)))))
#s(approx (/ (/ (+ y x) y) (+ x x)) #s(hole binary64 (/ 1/2 y)))
#s(approx (/ (/ (+ y x) y) (+ x x)) #s(hole binary64 (+ (* 1/2 (/ 1 x)) (* 1/2 (/ 1 y)))))
#s(approx (/ (+ y x) y) #s(hole binary64 (/ x y)))
#s(approx (/ (+ y x) y) #s(hole binary64 (* x (+ (/ 1 x) (/ 1 y)))))
#s(approx (+ y x) #s(hole binary64 x))
#s(approx (+ y x) #s(hole binary64 (* x (+ 1 (/ y x)))))
#s(approx (+ y x) #s(hole binary64 (* -1 (* x (- (* -1 (/ y x)) 1)))))
#s(approx (/ (+ (/ x y) 1) (* 2 x)) #s(hole binary64 (/ (+ 1/2 (* 1/2 (/ y x))) y)))
#s(approx (+ (/ x y) 1) #s(hole binary64 (/ (+ x y) y)))
#s(approx (/ (/ (+ y x) y) (+ x x)) #s(hole binary64 (/ (+ 1/2 (* 1/2 (/ y x))) y)))
#s(approx (/ (+ y x) y) #s(hole binary64 (/ (+ x y) y)))
#s(approx (+ y x) #s(hole binary64 (* y (+ 1 (/ x y)))))
#s(approx (+ y x) #s(hole binary64 (* -1 (* y (- (* -1 (/ x y)) 1)))))
Outputs
#s(approx (/ (+ (/ x y) 1) (* 2 x)) #s(hole binary64 (/ 1/2 x)))
#s(approx (/ (+ (/ x y) 1) (* 2 x)) (/.f64 #s(literal 1/2 binary64) x))
#s(approx (/ (+ (/ x y) 1) (* 2 x)) #s(hole binary64 (/ (+ 1/2 (* 1/2 (/ x y))) x)))
#s(approx (/ (+ (/ x y) 1) (* 2 x)) (-.f64 (/.f64 #s(literal 1/2 binary64) y) (/.f64 #s(literal -1/2 binary64) x)))
#s(approx (+ (/ x y) 1) #s(hole binary64 1))
#s(approx (/ (+ y x) y) #s(literal 1 binary64))
#s(approx (+ (/ x y) 1) #s(hole binary64 (+ 1 (/ x y))))
#s(approx (/ (+ y x) y) (-.f64 (/.f64 x y) #s(literal -1 binary64)))
#s(approx (/ x y) #s(hole binary64 (/ x y)))
#s(approx (/ x y) (/.f64 x y))
#s(approx (* 2 x) #s(hole binary64 (* 2 x)))
#s(approx (* 2 x) (*.f64 #s(literal 2 binary64) x))
#s(approx (/ (/ (+ y x) y) (+ x x)) #s(hole binary64 (/ 1/2 x)))
#s(approx (/ (+ (/ x y) 1) (* 2 x)) (/.f64 #s(literal 1/2 binary64) x))
#s(approx (/ (/ (+ y x) y) (+ x x)) #s(hole binary64 (/ (+ 1/2 (* 1/2 (/ x y))) x)))
#s(approx (/ (+ (/ x y) 1) (* 2 x)) (-.f64 (/.f64 #s(literal 1/2 binary64) y) (/.f64 #s(literal -1/2 binary64) x)))
#s(approx (/ (+ y x) y) #s(hole binary64 1))
#s(approx (/ (+ y x) y) #s(literal 1 binary64))
#s(approx (/ (+ y x) y) #s(hole binary64 (+ 1 (/ x y))))
#s(approx (/ (+ y x) y) (-.f64 (/.f64 x y) #s(literal -1 binary64)))
#s(approx (+ y x) #s(hole binary64 y))
#s(approx (+ y x) y)
#s(approx (+ y x) #s(hole binary64 (+ x y)))
#s(approx (+ y x) (+.f64 y x))
#s(approx (+ x x) #s(hole binary64 (* 2 x)))
#s(approx (* 2 x) (*.f64 #s(literal 2 binary64) x))
#s(approx (/ (+ (/ x y) 1) (* 2 x)) #s(hole binary64 (/ 1/2 y)))
#s(approx (/ (+ (/ x y) 1) (* 2 x)) (/.f64 #s(literal 1/2 binary64) y))
#s(approx (/ (+ (/ x y) 1) (* 2 x)) #s(hole binary64 (+ (* 1/2 (/ 1 x)) (* 1/2 (/ 1 y)))))
#s(approx (/ (+ (/ x y) 1) (* 2 x)) (-.f64 (/.f64 #s(literal 1/2 binary64) y) (/.f64 #s(literal -1/2 binary64) x)))
#s(approx (+ (/ x y) 1) #s(hole binary64 (/ x y)))
#s(approx (/ (+ y x) y) (/.f64 x y))
#s(approx (+ (/ x y) 1) #s(hole binary64 (* x (+ (/ 1 x) (/ 1 y)))))
#s(approx (/ (+ y x) y) (-.f64 (/.f64 x y) #s(literal -1 binary64)))
#s(approx (/ (/ (+ y x) y) (+ x x)) #s(hole binary64 (/ 1/2 y)))
#s(approx (/ (+ (/ x y) 1) (* 2 x)) (/.f64 #s(literal 1/2 binary64) y))
#s(approx (/ (/ (+ y x) y) (+ x x)) #s(hole binary64 (+ (* 1/2 (/ 1 x)) (* 1/2 (/ 1 y)))))
#s(approx (/ (+ (/ x y) 1) (* 2 x)) (-.f64 (/.f64 #s(literal 1/2 binary64) y) (/.f64 #s(literal -1/2 binary64) x)))
#s(approx (/ (+ y x) y) #s(hole binary64 (/ x y)))
#s(approx (/ (+ y x) y) (/.f64 x y))
#s(approx (/ (+ y x) y) #s(hole binary64 (* x (+ (/ 1 x) (/ 1 y)))))
#s(approx (/ (+ y x) y) (-.f64 (/.f64 x y) #s(literal -1 binary64)))
#s(approx (+ y x) #s(hole binary64 x))
#s(approx (+ y x) x)
#s(approx (+ y x) #s(hole binary64 (* x (+ 1 (/ y x)))))
#s(approx (+ y x) (+.f64 y x))
#s(approx (+ y x) #s(hole binary64 (* -1 (* x (- (* -1 (/ y x)) 1)))))
#s(approx (+ y x) (+.f64 y x))
#s(approx (/ (+ (/ x y) 1) (* 2 x)) #s(hole binary64 (/ (+ 1/2 (* 1/2 (/ y x))) y)))
#s(approx (/ (+ (/ x y) 1) (* 2 x)) (-.f64 (/.f64 #s(literal 1/2 binary64) y) (/.f64 #s(literal -1/2 binary64) x)))
#s(approx (+ (/ x y) 1) #s(hole binary64 (/ (+ x y) y)))
#s(approx (/ (+ y x) y) (-.f64 (/.f64 x y) #s(literal -1 binary64)))
#s(approx (/ (/ (+ y x) y) (+ x x)) #s(hole binary64 (/ (+ 1/2 (* 1/2 (/ y x))) y)))
#s(approx (/ (+ (/ x y) 1) (* 2 x)) (-.f64 (/.f64 #s(literal 1/2 binary64) y) (/.f64 #s(literal -1/2 binary64) x)))
#s(approx (/ (+ y x) y) #s(hole binary64 (/ (+ x y) y)))
#s(approx (/ (+ y x) y) (-.f64 (/.f64 x y) #s(literal -1 binary64)))
#s(approx (+ y x) #s(hole binary64 (* y (+ 1 (/ x y)))))
#s(approx (+ y x) (+.f64 y x))
#s(approx (+ y x) #s(hole binary64 (* -1 (* y (- (* -1 (/ x y)) 1)))))
#s(approx (+ y x) (+.f64 y x))

rewrite21.0ms (0.5%)

Memory
-11.7MiB live, 33.2MiB allocated; 4ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01240
02040
08140
Stop Event
iter limit
iter limit
iter limit
unsound
iter limit
Counts
8 → 30
Calls
Call 1
Inputs
(/.f64 (+.f64 (/.f64 x y) #s(literal 1 binary64)) (*.f64 #s(literal 2 binary64) x))
(+.f64 (/.f64 x y) #s(literal 1 binary64))
(/.f64 x y)
(*.f64 #s(literal 2 binary64) x)
(/.f64 (/.f64 (+.f64 y x) y) (+.f64 x x))
(/.f64 (+.f64 y x) y)
(+.f64 y x)
(+.f64 x x)
Outputs
(/.f64 (/.f64 (+.f64 #s(literal 1 binary64) (/.f64 x y)) #s(literal 2 binary64)) x)
(/.f64 (neg.f64 (+.f64 #s(literal 1 binary64) (/.f64 x y))) (neg.f64 (*.f64 #s(literal 2 binary64) x)))
(/.f64 (+.f64 #s(literal 1 binary64) (/.f64 x y)) (*.f64 #s(literal 2 binary64) x))
(+.f64 (/.f64 (/.f64 x y) (*.f64 #s(literal 2 binary64) x)) (/.f64 #s(literal 1 binary64) (*.f64 #s(literal 2 binary64) x)))
(/.f64 (-.f64 (*.f64 (/.f64 x y) (/.f64 x y)) #s(literal 1 binary64)) (-.f64 (/.f64 x y) #s(literal 1 binary64)))
(/.f64 (+.f64 (pow.f64 (/.f64 x y) #s(literal 3 binary64)) #s(literal 1 binary64)) (fma.f64 (/.f64 x y) (/.f64 x y) (-.f64 #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 (neg.f64 x) (neg.f64 y))
(/.f64 x 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 (neg.f64 (/.f64 (+.f64 y x) y)) (neg.f64 (*.f64 #s(literal 2 binary64) x)))
(/.f64 (/.f64 (+.f64 y x) y) (*.f64 #s(literal 2 binary64) x))
(/.f64 (+.f64 y x) (*.f64 y (*.f64 #s(literal 2 binary64) x)))
(/.f64 (neg.f64 (+.f64 y x)) (neg.f64 y))
(/.f64 (+.f64 y x) y)
(+.f64 (/.f64 y y) (/.f64 x y))
(/.f64 (-.f64 (*.f64 y y) (*.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 y (-.f64 (*.f64 x x) (*.f64 y x))))
(+.f64 y x)
(+.f64 x 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)

eval4.0ms (0.1%)

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

Compiled 455 to 120 computations (73.6% saved)

prune10.0ms (0.2%)

Memory
-41.8MiB live, 15.9MiB allocated; 6ms collecting garbage
Pruning

6 alts after pruning (1 fresh and 5 done)

PrunedKeptTotal
New35136
Fresh000
Picked202
Done055
Total37643
Accuracy
100.0%
Counts
43 → 6
Alt Table
Click to see full alt table
StatusAccuracyProgram
90.3%
(/.f64 (+.f64 (/.f64 x y) #s(literal 1 binary64)) (+.f64 x x))
74.6%
(/.f64 (+.f64 x y) (*.f64 (+.f64 x x) y))
37.8%
(/.f64 #s(approx (+ x y) y) (*.f64 (*.f64 x #s(literal 2 binary64)) y))
52.5%
#s(approx (/ (+ x y) (* (* x 2) y)) (/.f64 #s(literal 1/2 binary64) y))
48.7%
#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 180 to 90 computations (50% saved)

regimes11.0ms (0.3%)

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

regimes22.0ms (0.5%)

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

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

Compiled 11 to 11 computations (0% saved)

regimes3.0ms (0.1%)

Memory
9.1MiB live, 9.1MiB allocated; 0ms collecting garbage
Counts
3 → 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))
(/.f64 #s(approx (+ x y) y) (*.f64 (*.f64 x #s(literal 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:

2.0ms
y
2.0ms
x
Results
AccuracySegmentsBranch
84.0%2x
84.1%2y
Compiler

Compiled 2 to 4 computations (-100% saved)

regimes3.0ms (0.1%)

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

Total 0.0b remaining (0%)

Threshold costs 0b (0%)

Counts
1 → 1
Calls
Call 1
Inputs
#s(approx (/ (+ x 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
(/.f64 (+.f64 x y) (*.f64 (*.f64 x #s(literal 2 binary64)) y))
1.0ms
y
1.0ms
x
Results
AccuracySegmentsBranch
48.7%1(/.f64 (+.f64 x y) (*.f64 (*.f64 x #s(literal 2 binary64)) y))
48.7%1x
48.7%1y
Compiler

Compiled 11 to 11 computations (0% saved)

bsearch41.0ms (1%)

Memory
-18.9MiB live, 74.5MiB allocated; 4ms collecting garbage
Algorithm
binary-search
Stop Event
narrow-enough
narrow-enough
Steps
TimeLeftRight
11.0ms
6.270139967826461e+117
1.0541619905609945e+121
13.0ms
5.134386342191365e-193
3.4640816761043943e-190
Samples
13.0ms256×0valid
Compiler

Compiled 364 to 300 computations (17.6% saved)

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

bsearch13.0ms (0.3%)

Memory
22.2MiB live, 22.2MiB allocated; 0ms collecting garbage
Algorithm
binary-search
Stop Event
narrow-enough
Steps
TimeLeftRight
11.0ms
1.2052928587734166e-70
1.2584092721669018e-67
Samples
6.0ms128×0valid
Compiler

Compiled 220 to 188 computations (14.5% saved)

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

simplify47.0ms (1.1%)

Memory
-15.3MiB live, 36.2MiB allocated; 7ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
029103
143103
289103
3201103
4587103
54643103
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 6822380853753841/20065826040452474621738395244141115820123061381619162977212070095324448220432589806036630768881181530864650607514107580997541169167266097500334986765487216377087492641938951866881041556870737904629872328704 binary64)) #s(approx (/ (+ x y) (* (* x 2) y)) (/.f64 #s(literal 1/2 binary64) y)) (if (<=.f64 y #s(literal 1699999999999999994674628890446035903972230019201001240877764494715827151586489325626677990487047248458351241684402044928 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 4506991829963691/3885337784451458141838923813647037813284813678104279042503624819477808570410416996352 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 6822380853753841/20065826040452474621738395244141115820123061381619162977212070095324448220432589806036630768881181530864650607514107580997541169167266097500334986765487216377087492641938951866881041556870737904629872328704 binary64)) #s(approx (/ (+ x y) (* (* x 2) y)) (/.f64 #s(literal 1/2 binary64) y)) (if (<=.f64 y #s(literal 1699999999999999994674628890446035903972230019201001240877764494715827151586489325626677990487047248458351241684402044928 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 4506991829963691/3885337784451458141838923813647037813284813678104279042503624819477808570410416996352 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))

derivations165.0ms (4%)

Memory
1.1MiB live, 132.0MiB allocated; 28ms collecting garbage
Stop Event
fuel
Compiler

Compiled 103 to 29 computations (71.8% saved)

preprocess25.0ms (0.6%)

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