Linear.Projection:inversePerspective from linear-1.19.1.3, C

Time bar (total: 1.1s)

start0.0ms (0%)

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

analyze19.0ms (1.8%)

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

sample671.0ms (63.7%)

Memory
-12.9MiB live, 1 117.8MiB allocated; 211ms collecting garbage
Samples
418.0ms8 256×0valid
Precisions
Click to see histograms. Total time spent on operations: 213.0ms
ival-mult!: 75.0ms (35.2% of total)
ival-div!: 70.0ms (32.8% of total)
ival-add!: 67.0ms (31.4% of total)
adjust: 2.0ms (0.9% of total)
Bogosity

preprocess30.0ms (2.8%)

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

Useful iterations: 2 (0.0ms)

IterNodesCost
02262
17258
226442
3101342
4312742
Stop Event
node-limit
Alt Table
Click to see full alt table
StatusAccuracyProgram
78.2%
(/.f64 (+.f64 x y) (*.f64 (*.f64 x #s(literal 2 binary64)) y))
Symmetry

(sort x y)

Compiler

Compiled 14 to 14 computations (0% saved)

series124.0ms (11.8%)

Memory
-40.0MiB live, 20.0MiB allocated; 130ms collecting garbage
Counts
7 → 16
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
#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 #s(hole binary64 x))
#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 y #s(hole binary64 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
116.0ms
x
@inf
((/ (+ x y) (* (* x 2) y)) (+ x y) x y (* (* x 2) y) (* x 2) 2)
2.0ms
y
@-inf
((/ (+ x y) (* (* x 2) y)) (+ x y) x y (* (* x 2) y) (* x 2) 2)
2.0ms
x
@-inf
((/ (+ x y) (* (* x 2) y)) (+ x y) x y (* (* x 2) y) (* x 2) 2)
1.0ms
x
@0
((/ (+ x y) (* (* x 2) y)) (+ x y) x y (* (* x 2) y) (* x 2) 2)
1.0ms
y
@inf
((/ (+ x y) (* (* x 2) y)) (+ x y) x y (* (* x 2) y) (* x 2) 2)

rewrite76.0ms (7.2%)

Memory
23.0MiB live, 78.4MiB allocated; 17ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
060201
065193
1255193
01893189
Stop Event
iter-limit
iter-limit
node-limit
iter-limit
Counts
23 → 69
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)
#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 #s(hole binary64 x))
#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 y #s(hole binary64 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
(/.f64 (/.f64 (+.f64 y x) #s(literal 2 binary64)) (*.f64 y x))
(/.f64 (/.f64 (+.f64 y x) y) (+.f64 x x))
(/.f64 (/.f64 (+.f64 y x) x) (+.f64 y y))
(/.f64 (-.f64 (*.f64 (/.f64 x (*.f64 (+.f64 x x) y)) (/.f64 x (*.f64 (+.f64 x x) y))) (*.f64 (/.f64 y (*.f64 (+.f64 x x) y)) (/.f64 y (*.f64 (+.f64 x x) y)))) (-.f64 (/.f64 x (*.f64 (+.f64 x x) y)) (/.f64 y (*.f64 (+.f64 x x) y))))
(/.f64 (+.f64 (pow.f64 (/.f64 x (*.f64 (+.f64 x x) y)) #s(literal 3 binary64)) (pow.f64 (/.f64 y (*.f64 (+.f64 x x) y)) #s(literal 3 binary64))) (fma.f64 (/.f64 x (*.f64 (+.f64 x x) y)) (/.f64 x (*.f64 (+.f64 x x) y)) (-.f64 (*.f64 (/.f64 y (*.f64 (+.f64 x x) y)) (/.f64 y (*.f64 (+.f64 x x) y))) (*.f64 (/.f64 x (*.f64 (+.f64 x x) y)) (/.f64 y (*.f64 (+.f64 x x) y))))))
(/.f64 (neg.f64 (/.f64 (+.f64 y x) (+.f64 x x))) (neg.f64 y))
(/.f64 (neg.f64 (neg.f64 (+.f64 y x))) (neg.f64 (*.f64 #s(literal -2 binary64) (*.f64 y x))))
(/.f64 (fma.f64 x (*.f64 (+.f64 x x) y) (*.f64 (*.f64 (+.f64 x x) y) y)) (*.f64 (*.f64 (+.f64 x x) y) (*.f64 (+.f64 x x) y)))
(/.f64 (/.f64 (+.f64 y x) (+.f64 x x)) y)
(/.f64 (/.f64 (+.f64 y x) (*.f64 y x)) #s(literal 2 binary64))
(/.f64 (*.f64 (+.f64 y x) (-.f64 x y)) (*.f64 (-.f64 x y) (*.f64 (+.f64 x x) y)))
(/.f64 (fma.f64 (*.f64 y y) y (*.f64 (*.f64 x x) x)) (*.f64 (fma.f64 y (-.f64 y x) (*.f64 x x)) (*.f64 (+.f64 x x) y)))
(/.f64 (neg.f64 (+.f64 y x)) (*.f64 #s(literal -2 binary64) (*.f64 y x)))
(/.f64 (+.f64 y x) (*.f64 (+.f64 x x) y))
(neg.f64 (/.f64 (neg.f64 (+.f64 y x)) (*.f64 (+.f64 x x) y)))
(neg.f64 (/.f64 (+.f64 y x) (*.f64 #s(literal -2 binary64) (*.f64 y x))))
(+.f64 (/.f64 y (*.f64 (+.f64 x x) y)) (/.f64 x (*.f64 (+.f64 x x) y)))
(+.f64 (/.f64 x (*.f64 (+.f64 x x) y)) (/.f64 y (*.f64 (+.f64 x 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 (fma.f64 (*.f64 y y) y (*.f64 (*.f64 x x) x))) (neg.f64 (fma.f64 y (-.f64 y x) (*.f64 x x))))
(/.f64 (*.f64 (+.f64 y x) (-.f64 x y)) (-.f64 x y))
(/.f64 (fma.f64 (*.f64 y y) y (*.f64 (*.f64 x x) x)) (fma.f64 y y (-.f64 (*.f64 x x) (*.f64 y x))))
(/.f64 (fma.f64 (*.f64 y y) y (*.f64 (*.f64 x x) x)) (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 (*.f64 (*.f64 x x) x) (fma.f64 y (-.f64 y x) (*.f64 x x))) (/.f64 (*.f64 (*.f64 y y) y) (fma.f64 y (-.f64 y x) (*.f64 x x))))
(+.f64 y x)
(+.f64 x y)
x
y
(*.f64 (+.f64 y y) x)
(*.f64 (*.f64 y x) #s(literal 2 binary64))
(*.f64 (+.f64 x x) y)
(*.f64 #s(literal 2 binary64) (*.f64 y x))
(*.f64 y (+.f64 x x))
(*.f64 x (+.f64 y y))
(/.f64 (-.f64 (*.f64 (*.f64 y x) (*.f64 y x)) (*.f64 (*.f64 y x) (*.f64 y x))) (-.f64 (*.f64 y x) (*.f64 y x)))
(/.f64 (+.f64 (pow.f64 (*.f64 y x) #s(literal 3 binary64)) (pow.f64 (*.f64 y x) #s(literal 3 binary64))) (fma.f64 (*.f64 y x) (*.f64 y x) (-.f64 (*.f64 (*.f64 y x) (*.f64 y x)) (*.f64 (*.f64 y x) (*.f64 y x)))))
(fma.f64 #s(literal 1 binary64) (*.f64 y x) (*.f64 #s(literal 1 binary64) (*.f64 y x)))
(fma.f64 (*.f64 y x) #s(literal 1 binary64) (*.f64 (*.f64 y x) #s(literal 1 binary64)))
(fma.f64 y x (*.f64 y x))
(fma.f64 x y (*.f64 y x))
(-.f64 (*.f64 y x) (*.f64 (neg.f64 y) x))
(-.f64 (*.f64 y x) (*.f64 (neg.f64 x) y))
(+.f64 (*.f64 #s(literal 1 binary64) (*.f64 y x)) (*.f64 #s(literal 1 binary64) (*.f64 y x)))
(+.f64 (*.f64 (*.f64 y x) #s(literal 1 binary64)) (*.f64 (*.f64 y x) #s(literal 1 binary64)))
(+.f64 (*.f64 y x) (*.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 (fma.f64 (*.f64 x x) x (*.f64 (*.f64 x x) x)) (fma.f64 x x (-.f64 (*.f64 x x) (*.f64 x x))))
(+.f64 x x)
#s(literal 2 binary64)
#s(approx (/ (+ x y) (* (* x 2) y)) (/.f64 #s(literal 1/2 binary64) x))
#s(approx (/ (+ x y) (* (* x 2) y)) (/.f64 (fma.f64 (/.f64 x y) #s(literal 1/2 binary64) #s(literal 1/2 binary64)) x))
#s(approx (+ x y) y)
#s(approx (+ x y) (+.f64 y x))
#s(approx x x)
#s(approx (* (* x 2) y) (*.f64 (+.f64 x x) y))
#s(approx (* x 2) (+.f64 x x))
#s(approx (/ (+ x y) (* (* x 2) y)) (/.f64 #s(literal 1/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)))
#s(approx (+ x y) x)
#s(approx (+ x y) (fma.f64 (/.f64 y x) x x))
#s(approx (+ x y) (*.f64 (neg.f64 x) (-.f64 (/.f64 (neg.f64 y) x) #s(literal 1 binary64))))
#s(approx (/ (+ x y) (* (* x 2) y)) (/.f64 (fma.f64 (/.f64 y x) #s(literal 1/2 binary64) #s(literal 1/2 binary64)) y))
#s(approx y y)
#s(approx (+ x y) (fma.f64 (/.f64 x y) y y))
#s(approx (+ x y) (*.f64 (neg.f64 y) (-.f64 (/.f64 (neg.f64 x) y) #s(literal 1 binary64))))

eval8.0ms (0.8%)

Memory
-33.1MiB live, 13.7MiB allocated; 2ms collecting garbage
Compiler

Compiled 448 to 216 computations (51.8% saved)

prune3.0ms (0.2%)

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

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New62466
Fresh000
Picked101
Done000
Total63467
Accuracy
100.0%
Counts
67 → 4
Alt Table
Click to see full alt table
StatusAccuracyProgram
84.5%
(/.f64 (/.f64 (+.f64 y x) (+.f64 x x)) y)
44.3%
#s(approx (/ (+ x y) (* (* x 2) y)) (/.f64 #s(literal 1/2 binary64) y))
57.3%
#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 39 to 39 computations (0% saved)

series9.0ms (0.9%)

Memory
17.1MiB live, 17.1MiB allocated; 0ms collecting garbage
Counts
15 → 33
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))
#s(approx (/ (+ x y) (* (* x 2) y)) (/.f64 #s(literal 1/2 binary64) y))
(/.f64 #s(literal 1/2 binary64) y)
(/.f64 (/.f64 (+.f64 y x) (+.f64 x x)) y)
(/.f64 (+.f64 y x) (+.f64 x x))
(+.f64 y x)
(+.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 #s(hole binary64 x))
#s(approx (/ (/ (+ y x) (+ x x)) y) #s(hole binary64 (/ 1/2 x)))
#s(approx (/ (/ (+ y x) (+ x x)) y) #s(hole binary64 (/ (+ 1/2 (* 1/2 (/ x y))) x)))
#s(approx (/ (+ y x) (+ x x)) #s(hole binary64 (* 1/2 (/ y x))))
#s(approx (/ (+ y x) (+ x x)) #s(hole binary64 (/ (+ (* 1/2 x) (* 1/2 y)) x)))
#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) (* (* 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 (/ (/ (+ y x) (+ x x)) y) #s(hole binary64 (/ 1/2 y)))
#s(approx (/ (/ (+ y x) (+ x x)) y) #s(hole binary64 (+ (* 1/2 (/ 1 x)) (* 1/2 (/ 1 y)))))
#s(approx (/ (+ y x) (+ x x)) #s(hole binary64 1/2))
#s(approx (/ (+ y x) (+ x x)) #s(hole binary64 (+ 1/2 (* 1/2 (/ y x)))))
#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) (* (* 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 y #s(hole binary64 y))
#s(approx (/ 1/2 y) #s(hole binary64 (/ 1/2 y)))
#s(approx (/ (/ (+ y x) (+ x x)) y) #s(hole binary64 (/ (+ 1/2 (* 1/2 (/ y x))) y)))
#s(approx (/ (+ y x) (+ x x)) #s(hole binary64 (* y (+ (* 1/2 (/ 1 x)) (* 1/2 (/ 1 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
@0
((/ (+ x y) (* (* x 2) y)) (- (/ 1/2 x) (/ -1/2 y)) (/ 1/2 x) 1/2 x (/ -1/2 y) -1/2 y (/ (+ x y) (* (* x 2) y)) (/ (+ x y) (* (* x 2) y)) (/ 1/2 y) (/ (/ (+ y x) (+ x x)) y) (/ (+ y x) (+ x x)) (+ y x) (+ x x))
1.0ms
x
@-inf
((/ (+ x y) (* (* x 2) y)) (- (/ 1/2 x) (/ -1/2 y)) (/ 1/2 x) 1/2 x (/ -1/2 y) -1/2 y (/ (+ x y) (* (* x 2) y)) (/ (+ x y) (* (* x 2) y)) (/ 1/2 y) (/ (/ (+ y x) (+ x x)) y) (/ (+ y x) (+ x x)) (+ y x) (+ x x))
1.0ms
y
@0
((/ (+ x y) (* (* x 2) y)) (- (/ 1/2 x) (/ -1/2 y)) (/ 1/2 x) 1/2 x (/ -1/2 y) -1/2 y (/ (+ x y) (* (* x 2) y)) (/ (+ x y) (* (* x 2) y)) (/ 1/2 y) (/ (/ (+ y x) (+ x x)) y) (/ (+ y x) (+ x x)) (+ y x) (+ x x))
1.0ms
y
@-inf
((/ (+ x y) (* (* x 2) y)) (- (/ 1/2 x) (/ -1/2 y)) (/ 1/2 x) 1/2 x (/ -1/2 y) -1/2 y (/ (+ x y) (* (* x 2) y)) (/ (+ x y) (* (* x 2) y)) (/ 1/2 y) (/ (/ (+ y x) (+ x x)) y) (/ (+ y x) (+ x x)) (+ y x) (+ x x))
1.0ms
x
@inf
((/ (+ x y) (* (* x 2) y)) (- (/ 1/2 x) (/ -1/2 y)) (/ 1/2 x) 1/2 x (/ -1/2 y) -1/2 y (/ (+ x y) (* (* x 2) y)) (/ (+ x y) (* (* x 2) y)) (/ 1/2 y) (/ (/ (+ y x) (+ x x)) y) (/ (+ y x) (+ x x)) (+ y x) (+ x x))

rewrite34.0ms (3.2%)

Memory
-7.3MiB live, 39.6MiB allocated; 2ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
094508
0100486
0365479
Stop Event
iter-limit
iter-limit
iter-limit
unsound
iter-limit
Counts
48 → 73
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))
#s(approx (/ (+ x y) (* (* x 2) y)) (/.f64 #s(literal 1/2 binary64) y))
(/.f64 #s(literal 1/2 binary64) y)
(/.f64 (/.f64 (+.f64 y x) (+.f64 x x)) y)
(/.f64 (+.f64 y x) (+.f64 x x))
(+.f64 y x)
(+.f64 x x)
#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 #s(hole binary64 x))
#s(approx (/ (/ (+ y x) (+ x x)) y) #s(hole binary64 (/ 1/2 x)))
#s(approx (/ (/ (+ y x) (+ x x)) y) #s(hole binary64 (/ (+ 1/2 (* 1/2 (/ x y))) x)))
#s(approx (/ (+ y x) (+ x x)) #s(hole binary64 (* 1/2 (/ y x))))
#s(approx (/ (+ y x) (+ x x)) #s(hole binary64 (/ (+ (* 1/2 x) (* 1/2 y)) x)))
#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) (* (* 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 (/ (/ (+ y x) (+ x x)) y) #s(hole binary64 (/ 1/2 y)))
#s(approx (/ (/ (+ y x) (+ x x)) y) #s(hole binary64 (+ (* 1/2 (/ 1 x)) (* 1/2 (/ 1 y)))))
#s(approx (/ (+ y x) (+ x x)) #s(hole binary64 1/2))
#s(approx (/ (+ y x) (+ x x)) #s(hole binary64 (+ 1/2 (* 1/2 (/ y x)))))
#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) (* (* 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 y #s(hole binary64 y))
#s(approx (/ 1/2 y) #s(hole binary64 (/ 1/2 y)))
#s(approx (/ (/ (+ y x) (+ x x)) y) #s(hole binary64 (/ (+ 1/2 (* 1/2 (/ y x))) y)))
#s(approx (/ (+ y x) (+ x x)) #s(hole binary64 (* y (+ (* 1/2 (/ 1 x)) (* 1/2 (/ 1 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) (* (* 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 (/.f64 #s(literal 1 binary64) x) #s(literal 1/2 binary64))
(*.f64 #s(literal 1/2 binary64) (/.f64 #s(literal 1 binary64) x))
(/.f64 #s(literal -1/2 binary64) (neg.f64 x))
(/.f64 #s(literal 1/2 binary64) x)
#s(literal 1/2 binary64)
x
(/.f64 #s(literal -1/2 binary64) y)
(/.f64 #s(literal 1/2 binary64) (neg.f64 y))
#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 (/.f64 #s(literal 1 binary64) y) #s(literal 1/2 binary64))
(*.f64 #s(literal 1/2 binary64) (/.f64 #s(literal 1 binary64) y))
(/.f64 #s(literal -1/2 binary64) (neg.f64 y))
(/.f64 #s(literal 1/2 binary64) y)
(/.f64 (neg.f64 (/.f64 (+.f64 y x) (+.f64 x x))) (neg.f64 y))
(/.f64 (neg.f64 (+.f64 y x)) (neg.f64 (*.f64 (+.f64 x x) y)))
(/.f64 (/.f64 (+.f64 y x) (+.f64 x x)) y)
(/.f64 (+.f64 y x) (*.f64 (+.f64 x x) y))
(+.f64 (/.f64 x (*.f64 (+.f64 x x) y)) (/.f64 y (*.f64 (+.f64 x x) y)))
(/.f64 (neg.f64 (+.f64 y x)) (neg.f64 (+.f64 x x)))
(/.f64 (+.f64 y x) (+.f64 x x))
(+.f64 (/.f64 y (+.f64 x x)) (/.f64 x (+.f64 x x)))
(/.f64 (-.f64 (*.f64 x x) (*.f64 y y)) (-.f64 x y))
(/.f64 (-.f64 (*.f64 y y) (*.f64 x 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 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)
#s(approx (/ (+ x y) (* (* x 2) y)) (/.f64 #s(literal 1/2 binary64) x))
#s(approx (/ (+ x y) (* (* x 2) y)) (/.f64 (fma.f64 (/.f64 x y) #s(literal 1/2 binary64) #s(literal 1/2 binary64)) x))
#s(approx (- (/ 1/2 x) (/ -1/2 y)) (/.f64 #s(literal 1/2 binary64) x))
#s(approx (- (/ 1/2 x) (/ -1/2 y)) (/.f64 (fma.f64 (/.f64 x y) #s(literal 1/2 binary64) #s(literal 1/2 binary64)) x))
#s(approx (/ 1/2 x) (/.f64 #s(literal 1/2 binary64) x))
#s(approx x x)
#s(approx (/ (+ x y) (* (* x 2) y)) (/.f64 #s(literal 1/2 binary64) x))
#s(approx (/ (+ x y) (* (* x 2) y)) (/.f64 (fma.f64 (/.f64 x y) #s(literal 1/2 binary64) #s(literal 1/2 binary64)) x))
#s(approx (/ (+ y x) (+ x x)) (*.f64 (/.f64 y x) #s(literal 1/2 binary64)))
#s(approx (/ (+ y x) (+ x x)) (/.f64 (*.f64 #s(literal 1/2 binary64) (+.f64 y x)) x))
#s(approx (+ y x) y)
#s(approx (+ y x) (+.f64 y x))
#s(approx (+ x x) (+.f64 x x))
#s(approx (/ (+ x y) (* (* x 2) y)) (/.f64 #s(literal 1/2 binary64) y))
#s(approx (/ (+ x y) (* (* x 2) y)) (+.f64 (/.f64 #s(literal 1/2 binary64) y) (/.f64 #s(literal 1/2 binary64) x)))
#s(approx (- (/ 1/2 x) (/ -1/2 y)) (/.f64 #s(literal 1/2 binary64) y))
#s(approx (- (/ 1/2 x) (/ -1/2 y)) (+.f64 (/.f64 #s(literal 1/2 binary64) y) (/.f64 #s(literal 1/2 binary64) x)))
#s(approx (/ (+ x y) (* (* x 2) y)) (/.f64 #s(literal 1/2 binary64) y))
#s(approx (/ (+ x y) (* (* x 2) y)) (+.f64 (/.f64 #s(literal 1/2 binary64) y) (/.f64 #s(literal 1/2 binary64) x)))
#s(approx (/ (+ y x) (+ x x)) #s(literal 1/2 binary64))
#s(approx (/ (+ y x) (+ x x)) (fma.f64 (/.f64 y x) #s(literal 1/2 binary64) #s(literal 1/2 binary64)))
#s(approx (+ y x) x)
#s(approx (+ y x) (*.f64 (+.f64 #s(literal 1 binary64) (/.f64 y x)) x))
#s(approx (+ y x) (neg.f64 (*.f64 (-.f64 (neg.f64 (/.f64 y x)) #s(literal 1 binary64)) x)))
#s(approx (/ (+ x y) (* (* x 2) y)) (/.f64 (fma.f64 (/.f64 y x) #s(literal 1/2 binary64) #s(literal 1/2 binary64)) y))
#s(approx (- (/ 1/2 x) (/ -1/2 y)) (/.f64 (fma.f64 (/.f64 y x) #s(literal 1/2 binary64) #s(literal 1/2 binary64)) y))
#s(approx (/ -1/2 y) (/.f64 #s(literal -1/2 binary64) y))
#s(approx y y)
#s(approx (/ 1/2 y) (/.f64 #s(literal 1/2 binary64) y))
#s(approx (/ (+ x y) (* (* x 2) y)) (/.f64 (fma.f64 (/.f64 y x) #s(literal 1/2 binary64) #s(literal 1/2 binary64)) y))
#s(approx (/ (+ y x) (+ x x)) (*.f64 (+.f64 (/.f64 #s(literal 1/2 binary64) y) (/.f64 #s(literal 1/2 binary64) x)) y))
#s(approx (+ y x) (*.f64 (+.f64 #s(literal 1 binary64) (/.f64 x y)) y))
#s(approx (+ y x) (neg.f64 (*.f64 (-.f64 (neg.f64 (/.f64 x y)) #s(literal 1 binary64)) y)))

eval5.0ms (0.5%)

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

Compiled 386 to 238 computations (38.3% saved)

prune3.0ms (0.3%)

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

4 alts after pruning (0 fresh and 4 done)

PrunedKeptTotal
New62062
Fresh000
Picked044
Done000
Total62466
Accuracy
100.0%
Counts
66 → 4
Alt Table
Click to see full alt table
StatusAccuracyProgram
84.5%
(/.f64 (/.f64 (+.f64 y x) (+.f64 x x)) y)
44.3%
#s(approx (/ (+ x y) (* (* x 2) y)) (/.f64 #s(literal 1/2 binary64) y))
57.3%
#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 73 to 64 computations (12.3% saved)

regimes14.0ms (1.4%)

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

10.0ms
y
2.0ms
x
2.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 9 to 11 computations (-22.2% saved)

regimes4.0ms (0.4%)

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

3 calls:

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

Compiled 9 to 11 computations (-22.2% saved)

regimes3.0ms (0.3%)

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

Compiled 9 to 11 computations (-22.2% saved)

bsearch11.0ms (1.1%)

Memory
-29.9MiB live, 17.1MiB allocated; 2ms collecting garbage
Algorithm
binary-search
Stop Event
narrow-enough
Steps
TimeLeftRight
10.0ms
7.80701238073247e-164
2.4178634162854675e-159
Samples
6.0ms128×0valid
Compiler

Compiled 172 to 188 computations (-9.3% saved)

Precisions
Click to see histograms. Total time spent on operations: 3.0ms
ival-div!: 2.0ms (63.2% of total)
ival-mult!: 1.0ms (31.6% of total)
adjust: 0.0ms (0% of total)
ival-add!: 0.0ms (0% of total)

derivations16.0ms (1.5%)

Memory
19.9MiB live, 19.9MiB allocated; 0ms collecting garbage
Stop Event
done
Compiler

Compiled 28 to 19 computations (32.1% saved)

preprocess22.0ms (2.1%)

Memory
-1.1MiB live, 45.2MiB allocated; 3ms collecting garbage
Compiler

Compiled 119 to 102 computations (14.3% saved)

end0.0ms (0%)

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

Profiling

Loading profile data...