Linear.Projection:inversePerspective from linear-1.19.1.3, C

Time bar (total: 2.9s)

start0.0ms (0%)

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

analyze82.0ms (2.8%)

Memory
-9.2MiB live, 36.1MiB allocated; 18ms 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)

sample836.0ms (28.7%)

Memory
48.3MiB live, 980.8MiB allocated; 262ms collecting garbage
Samples
455.0ms8 256×0valid
Precisions
Click to see histograms. Total time spent on operations: 190.0ms
ival-mult!: 88.0ms (46.2% of total)
ival-div!: 68.0ms (35.7% of total)
ival-add!: 33.0ms (17.3% of total)
adjust: 1.0ms (0.5% of total)
Bogosity

preprocess40.0ms (1.4%)

Memory
-17.5MiB live, 32.0MiB allocated; 24ms collecting garbage
Iterations

Useful iterations: 1 (0.0ms)

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

(sort x y)

Compiler

Compiled 18 to 14 computations (22.2% saved)

series210.0ms (7.2%)

Memory
9.6MiB live, 144.0MiB allocated; 39ms collecting garbage
Counts
7 → 14
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)) (/.f64 #s(literal 1/2 binary64) x))
#s(approx (/ (+ x y) (* (* x 2) y)) (/.f64 (+.f64 #s(literal 1/2 binary64) (*.f64 #s(literal 1/2 binary64) (/.f64 x y))) x))
#s(approx (+ x y) y)
#s(approx (+ x y) (+.f64 x y))
#s(approx x x)
#s(approx (* (* x 2) y) (*.f64 #s(literal 2 binary64) (*.f64 x y)))
#s(approx (* x 2) (*.f64 #s(literal 2 binary64) x))
#s(approx (/ (+ x y) (* (* x 2) y)) (/.f64 #s(literal 1/2 binary64) y))
#s(approx (/ (+ x y) (* (* x 2) y)) (fma.f64 #s(literal 1/2 binary64) (/.f64 #s(literal 1 binary64) x) (*.f64 #s(literal 1/2 binary64) (/.f64 #s(literal 1 binary64) y))))
#s(approx (+ x y) (*.f64 x (+.f64 #s(literal 1 binary64) (/.f64 y x))))
#s(approx (+ x y) (*.f64 #s(literal -1 binary64) (*.f64 x (-.f64 (*.f64 #s(literal -1 binary64) (/.f64 y x)) #s(literal 1 binary64)))))
#s(approx (/ (+ x y) (* (* x 2) y)) (/.f64 (+.f64 #s(literal 1/2 binary64) (*.f64 #s(literal 1/2 binary64) (/.f64 y x))) y))
#s(approx (+ x y) (*.f64 y (+.f64 #s(literal 1 binary64) (/.f64 x y))))
#s(approx (+ x y) (*.f64 #s(literal -1 binary64) (*.f64 y (-.f64 (*.f64 #s(literal -1 binary64) (/.f64 x y)) #s(literal 1 binary64)))))
Calls

6 calls:

TimeVariablePoint
51.0ms
x
-inf
4.0ms
y
-inf
2.0ms
y
inf
2.0ms
x
inf
2.0ms
x
0

rewrite258.0ms (8.9%)

Memory
17.0MiB live, 115.3MiB allocated; 108ms collecting garbage
Counts
7 → 17
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 #s(literal 1 binary64) (*.f64 (*.f64 x #s(literal 2 binary64)) y)))
(+.f64 (/.f64 x (*.f64 (*.f64 x #s(literal 2 binary64)) y)) (/.f64 y (*.f64 (*.f64 x #s(literal 2 binary64)) y)))
(/.f64 (+.f64 x y) (*.f64 (*.f64 x #s(literal 2 binary64)) y))
(/.f64 (/.f64 (+.f64 x y) (*.f64 x #s(literal 2 binary64))) y)
(/.f64 (neg.f64 (+.f64 x y)) (neg.f64 (*.f64 (*.f64 x #s(literal 2 binary64)) y)))
(+.f64 x y)
(+.f64 y x)
(-.f64 x (neg.f64 y))
x
y
(*.f64 (*.f64 x #s(literal 2 binary64)) y)
(*.f64 y (*.f64 x #s(literal 2 binary64)))
(*.f64 x (*.f64 #s(literal 2 binary64) y))
(*.f64 x #s(literal 2 binary64))
(*.f64 #s(literal 2 binary64) x)
#s(literal 2 binary64)
(+.f64 #s(literal 1 binary64) #s(literal 1 binary64))

eval57.0ms (1.9%)

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

Compiled 328 to 96 computations (70.7% saved)

prune7.0ms (0.2%)

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

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New20424
Fresh000
Picked011
Done000
Total20525
Accuracy
100.0%
Counts
25 → 5
Alt Table
Click to see full alt table
StatusAccuracyProgram
80.5%
(/.f64 (+.f64 x y) (*.f64 (*.f64 x #s(literal 2 binary64)) y))
40.7%
(/.f64 #s(approx (+ x y) y) (*.f64 (*.f64 x #s(literal 2 binary64)) y))
87.9%
#s(approx (/ (+ x y) (* (* x 2) y)) (/.f64 (+.f64 #s(literal 1/2 binary64) (*.f64 #s(literal 1/2 binary64) (/.f64 x y))) x))
47.6%
#s(approx (/ (+ x y) (* (* x 2) y)) (/.f64 #s(literal 1/2 binary64) y))
53.6%
#s(approx (/ (+ x y) (* (* x 2) y)) (/.f64 #s(literal 1/2 binary64) x))
Compiler

Compiled 65 to 48 computations (26.2% saved)

series220.0ms (7.6%)

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

6 calls:

TimeVariablePoint
12.0ms
x
-inf
6.0ms
x
0
5.0ms
x
inf
4.0ms
y
-inf
3.0ms
y
inf

rewrite233.0ms (8%)

Memory
-11.7MiB live, 220.1MiB allocated; 94ms collecting garbage
Counts
17 → 38
Calls
Call 1
Inputs
#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)
y
#s(approx (/ (+ x y) (* (* x 2) y)) (/.f64 (+.f64 #s(literal 1/2 binary64) (*.f64 #s(literal 1/2 binary64) (/.f64 x y))) x))
(/.f64 (+.f64 #s(literal 1/2 binary64) (*.f64 #s(literal 1/2 binary64) (/.f64 x y))) x)
(+.f64 #s(literal 1/2 binary64) (*.f64 #s(literal 1/2 binary64) (/.f64 x y)))
(*.f64 #s(literal 1/2 binary64) (/.f64 x y))
(/.f64 x 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))
#s(literal 2 binary64)
Outputs
#s(approx (/ (+ x y) (* (* x 2) y)) (/.f64 #s(literal 1/2 binary64) x))
(*.f64 #s(literal 1/2 binary64) (/.f64 #s(literal 1 binary64) x))
(/.f64 #s(literal 1/2 binary64) x)
(/.f64 #s(literal -1/2 binary64) (neg.f64 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) (/.f64 #s(literal 1 binary64) y))
(/.f64 #s(literal 1/2 binary64) y)
(/.f64 #s(literal -1/2 binary64) (neg.f64 y))
y
#s(approx (/ (+ x y) (* (* x 2) y)) (/.f64 (fma.f64 (/.f64 x y) #s(literal 1/2 binary64) #s(literal 1/2 binary64)) x))
(*.f64 (fma.f64 (/.f64 x y) #s(literal 1/2 binary64) #s(literal 1/2 binary64)) (/.f64 #s(literal 1 binary64) x))
(+.f64 (/.f64 #s(literal 1/2 binary64) x) (/.f64 (/.f64 (*.f64 #s(literal 1/2 binary64) x) y) x))
(/.f64 (fma.f64 (/.f64 x y) #s(literal 1/2 binary64) #s(literal 1/2 binary64)) x)
(/.f64 (neg.f64 (fma.f64 (/.f64 x y) #s(literal 1/2 binary64) #s(literal 1/2 binary64))) (neg.f64 x))
(fma.f64 #s(literal 1/2 binary64) (/.f64 #s(literal 1 binary64) x) (/.f64 (/.f64 (*.f64 #s(literal 1/2 binary64) x) y) x))
(+.f64 #s(literal 1/2 binary64) (/.f64 (*.f64 #s(literal 1/2 binary64) x) y))
(+.f64 (/.f64 (*.f64 #s(literal 1/2 binary64) x) y) #s(literal 1/2 binary64))
(-.f64 #s(literal 1/2 binary64) (*.f64 #s(literal -1/2 binary64) (/.f64 x y)))
(-.f64 #s(literal 1/2 binary64) (neg.f64 (/.f64 (*.f64 #s(literal 1/2 binary64) x) y)))
(fma.f64 (/.f64 x y) #s(literal 1/2 binary64) #s(literal 1/2 binary64))
(fma.f64 #s(literal 1/2 binary64) (/.f64 x y) #s(literal 1/2 binary64))
(*.f64 #s(literal 1/2 binary64) (/.f64 x y))
(*.f64 (/.f64 x y) #s(literal 1/2 binary64))
(/.f64 (*.f64 #s(literal 1/2 binary64) x) y)
(*.f64 x (/.f64 #s(literal 1 binary64) y))
(/.f64 x y)
(/.f64 (neg.f64 x) (neg.f64 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 (*.f64 #s(literal 2 binary64) y))
(*.f64 y (*.f64 x #s(literal 2 binary64)))
(*.f64 x #s(literal 2 binary64))
(*.f64 #s(literal 2 binary64) x)
#s(literal 2 binary64)
(+.f64 #s(literal 1 binary64) #s(literal 1 binary64))

eval4.0ms (0.1%)

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

Compiled 815 to 171 computations (79% saved)

prune3.0ms (0.1%)

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

5 alts after pruning (1 fresh and 4 done)

PrunedKeptTotal
New42143
Fresh000
Picked134
Done011
Total43548
Accuracy
100.0%
Counts
48 → 5
Alt Table
Click to see full alt table
StatusAccuracyProgram
80.5%
(/.f64 (+.f64 x y) (*.f64 (*.f64 x #s(literal 2 binary64)) y))
40.7%
(/.f64 #s(approx (+ x y) y) (*.f64 (*.f64 x #s(literal 2 binary64)) y))
87.9%
#s(approx (/ (+ x y) (* (* x 2) y)) (/.f64 (fma.f64 (/.f64 x y) #s(literal 1/2 binary64) #s(literal 1/2 binary64)) x))
47.6%
#s(approx (/ (+ x y) (* (* x 2) y)) (/.f64 #s(literal 1/2 binary64) y))
53.6%
#s(approx (/ (+ x y) (* (* x 2) y)) (/.f64 #s(literal 1/2 binary64) x))
Compiler

Compiled 64 to 47 computations (26.6% saved)

series152.0ms (5.2%)

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

6 calls:

TimeVariablePoint
1.0ms
x
-inf
1.0ms
x
inf
1.0ms
y
-inf
1.0ms
x
0
1.0ms
y
inf

rewrite220.0ms (7.6%)

Memory
47.5MiB live, 184.6MiB allocated; 18ms collecting garbage
Counts
7 → 17
Calls
Call 1
Inputs
#s(approx (/ (+ x y) (* (* x 2) y)) (/.f64 (fma.f64 (/.f64 x y) #s(literal 1/2 binary64) #s(literal 1/2 binary64)) x))
(/.f64 (fma.f64 (/.f64 x y) #s(literal 1/2 binary64) #s(literal 1/2 binary64)) x)
(fma.f64 (/.f64 x y) #s(literal 1/2 binary64) #s(literal 1/2 binary64))
(/.f64 x y)
x
y
#s(literal 1/2 binary64)
Outputs
#s(approx (/ (+ x y) (* (* x 2) y)) (/.f64 (fma.f64 (/.f64 x y) #s(literal 1/2 binary64) #s(literal 1/2 binary64)) x))
(*.f64 (fma.f64 (/.f64 x y) #s(literal 1/2 binary64) #s(literal 1/2 binary64)) (/.f64 #s(literal 1 binary64) x))
(+.f64 (/.f64 (/.f64 (*.f64 x #s(literal 1/2 binary64)) y) x) (/.f64 #s(literal 1/2 binary64) x))
(/.f64 (fma.f64 (/.f64 x y) #s(literal 1/2 binary64) #s(literal 1/2 binary64)) x)
(/.f64 (neg.f64 (fma.f64 (/.f64 x y) #s(literal 1/2 binary64) #s(literal 1/2 binary64))) (neg.f64 x))
(*.f64 (+.f64 (/.f64 x y) #s(literal 1 binary64)) #s(literal 1/2 binary64))
(+.f64 (/.f64 (*.f64 x #s(literal 1/2 binary64)) y) #s(literal 1/2 binary64))
(+.f64 #s(literal 1/2 binary64) (/.f64 (*.f64 x #s(literal 1/2 binary64)) y))
(-.f64 (/.f64 (*.f64 x #s(literal 1/2 binary64)) y) #s(literal -1/2 binary64))
(fma.f64 (/.f64 x y) #s(literal 1/2 binary64) #s(literal 1/2 binary64))
(fma.f64 #s(literal 1/2 binary64) (/.f64 x y) #s(literal 1/2 binary64))
(*.f64 x (/.f64 #s(literal 1 binary64) y))
(/.f64 x y)
(/.f64 (neg.f64 x) (neg.f64 y))
x
y
#s(literal 1/2 binary64)

eval103.0ms (3.5%)

Memory
-90.6MiB live, 7.1MiB allocated; 185ms collecting garbage
Compiler

Compiled 482 to 106 computations (78% saved)

prune2.0ms (0.1%)

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

6 alts after pruning (1 fresh and 5 done)

PrunedKeptTotal
New21122
Fresh000
Picked011
Done044
Total21627
Accuracy
100.0%
Counts
27 → 6
Alt Table
Click to see full alt table
StatusAccuracyProgram
80.5%
(/.f64 (+.f64 x y) (*.f64 (*.f64 x #s(literal 2 binary64)) y))
40.7%
(/.f64 #s(approx (+ x y) y) (*.f64 (*.f64 x #s(literal 2 binary64)) y))
87.9%
#s(approx (/ (+ x y) (* (* x 2) y)) (/.f64 (fma.f64 (/.f64 x y) #s(literal 1/2 binary64) #s(literal 1/2 binary64)) x))
35.5%
#s(approx (/ (+ x y) (* (* x 2) y)) (/.f64 #s(approx (+ (* (/ x y) 1/2) 1/2) (*.f64 #s(literal 1/2 binary64) (/.f64 x y))) x))
47.6%
#s(approx (/ (+ x y) (* (* x 2) y)) (/.f64 #s(literal 1/2 binary64) y))
53.6%
#s(approx (/ (+ x y) (* (* x 2) y)) (/.f64 #s(literal 1/2 binary64) x))
Compiler

Compiled 89 to 64 computations (28.1% saved)

series145.0ms (5%)

Memory
8.2MiB live, 107.1MiB allocated; 21ms collecting garbage
Counts
8 → 14
Calls
Call 1
Inputs
#s(approx (/ (+ x y) (* (* x 2) y)) (/.f64 #s(approx (+ (* (/ x y) 1/2) 1/2) (*.f64 #s(literal 1/2 binary64) (/.f64 x y))) x))
(/.f64 #s(approx (+ (* (/ x y) 1/2) 1/2) (*.f64 #s(literal 1/2 binary64) (/.f64 x y))) x)
#s(approx (+ (* (/ x y) 1/2) 1/2) (*.f64 #s(literal 1/2 binary64) (/.f64 x y)))
(*.f64 #s(literal 1/2 binary64) (/.f64 x y))
#s(literal 1/2 binary64)
(/.f64 x y)
x
y
Outputs
#s(approx (/ (+ x y) (* (* x 2) y)) (/.f64 #s(literal 1/2 binary64) x))
#s(approx (/ (+ x y) (* (* x 2) y)) (/.f64 (+.f64 #s(literal 1/2 binary64) (*.f64 #s(literal 1/2 binary64) (/.f64 x y))) x))
#s(approx (+ (* (/ x y) 1/2) 1/2) #s(literal 1/2 binary64))
#s(approx (+ (* (/ x y) 1/2) 1/2) (+.f64 #s(literal 1/2 binary64) (*.f64 #s(literal 1/2 binary64) (/.f64 x y))))
#s(approx (* 1/2 (/ x y)) (*.f64 #s(literal 1/2 binary64) (/.f64 x y)))
#s(approx (/ x y) (/.f64 x y))
#s(approx x x)
#s(approx (/ (+ x y) (* (* x 2) y)) (/.f64 #s(literal 1/2 binary64) y))
#s(approx (/ (+ x y) (* (* x 2) y)) (fma.f64 #s(literal 1/2 binary64) (/.f64 #s(literal 1 binary64) x) (*.f64 #s(literal 1/2 binary64) (/.f64 #s(literal 1 binary64) y))))
#s(approx (+ (* (/ x y) 1/2) 1/2) (*.f64 x (fma.f64 #s(literal 1/2 binary64) (/.f64 #s(literal 1 binary64) x) (*.f64 #s(literal 1/2 binary64) (/.f64 #s(literal 1 binary64) y)))))
#s(approx (+ (* (/ x y) 1/2) 1/2) (*.f64 x (fma.f64 #s(literal 1/2 binary64) (/.f64 #s(literal 1 binary64) y) (*.f64 #s(literal 1/2 binary64) (/.f64 #s(literal 1 binary64) x)))))
#s(approx (/ (+ x y) (* (* x 2) y)) (/.f64 (+.f64 #s(literal 1/2 binary64) (*.f64 #s(literal 1/2 binary64) (/.f64 y x))) y))
#s(approx (+ (* (/ x y) 1/2) 1/2) (/.f64 (fma.f64 #s(literal 1/2 binary64) x (*.f64 #s(literal 1/2 binary64) y)) y))
#s(approx y y)
Calls

6 calls:

TimeVariablePoint
1.0ms
x
-inf
1.0ms
x
inf
1.0ms
y
-inf
1.0ms
y
inf
1.0ms
x
0

rewrite253.0ms (8.7%)

Memory
24.4MiB live, 212.7MiB allocated; 47ms collecting garbage
Counts
8 → 13
Calls
Call 1
Inputs
#s(approx (/ (+ x y) (* (* x 2) y)) (/.f64 #s(approx (+ (* (/ x y) 1/2) 1/2) (*.f64 #s(literal 1/2 binary64) (/.f64 x y))) x))
(/.f64 #s(approx (+ (* (/ x y) 1/2) 1/2) (*.f64 #s(literal 1/2 binary64) (/.f64 x y))) x)
#s(approx (+ (* (/ x y) 1/2) 1/2) (*.f64 #s(literal 1/2 binary64) (/.f64 x y)))
(*.f64 #s(literal 1/2 binary64) (/.f64 x y))
#s(literal 1/2 binary64)
(/.f64 x y)
x
y
Outputs
#s(approx (/ (+ x y) (* (* x 2) y)) (/.f64 #s(approx (+ (/ (* x 1/2) y) 1/2) (/.f64 (*.f64 x #s(literal 1/2 binary64)) y)) x))
(/.f64 #s(approx (+ (/ (* x 1/2) y) 1/2) (/.f64 (*.f64 x #s(literal 1/2 binary64)) y)) x)
#s(approx (+ (/ (* x 1/2) y) 1/2) (/.f64 (*.f64 x #s(literal 1/2 binary64)) y))
(*.f64 #s(literal 1/2 binary64) (/.f64 x y))
(*.f64 (/.f64 x y) #s(literal 1/2 binary64))
(/.f64 (*.f64 x #s(literal 1/2 binary64)) y)
(/.f64 (*.f64 #s(literal 1/2 binary64) x) y)
#s(literal 1/2 binary64)
(*.f64 x (/.f64 #s(literal 1 binary64) y))
(/.f64 x y)
(/.f64 (neg.f64 x) (neg.f64 y))
x
y

eval2.0ms (0.1%)

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

Compiled 518 to 104 computations (79.9% saved)

prune6.0ms (0.2%)

Memory
-39.0MiB live, 6.5MiB allocated; 4ms collecting garbage
Pruning

6 alts after pruning (0 fresh and 6 done)

PrunedKeptTotal
New20020
Fresh000
Picked011
Done055
Total20626
Accuracy
100.0%
Counts
26 → 6
Alt Table
Click to see full alt table
StatusAccuracyProgram
80.5%
(/.f64 (+.f64 x y) (*.f64 (*.f64 x #s(literal 2 binary64)) y))
40.7%
(/.f64 #s(approx (+ x y) y) (*.f64 (*.f64 x #s(literal 2 binary64)) y))
87.9%
#s(approx (/ (+ x y) (* (* x 2) y)) (/.f64 (fma.f64 (/.f64 x y) #s(literal 1/2 binary64) #s(literal 1/2 binary64)) x))
35.5%
#s(approx (/ (+ x y) (* (* x 2) y)) (/.f64 #s(approx (+ (* (/ x y) 1/2) 1/2) (*.f64 #s(literal 1/2 binary64) (/.f64 x y))) x))
47.6%
#s(approx (/ (+ x y) (* (* x 2) y)) (/.f64 #s(literal 1/2 binary64) y))
53.6%
#s(approx (/ (+ x y) (* (* x 2) y)) (/.f64 #s(literal 1/2 binary64) x))
Compiler

Compiled 89 to 64 computations (28.1% saved)

regimes26.0ms (0.9%)

Memory
-6.4MiB live, 44.4MiB allocated; 10ms collecting garbage
Accuracy

Total 0.0b remaining (0%)

Threshold costs 0b (0%)

Counts
1 → 1
4 → 2
7 → 2
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))
Call 2
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))
#s(approx (/ (+ x y) (* (* x 2) y)) (/.f64 #s(approx (+ (* (/ x y) 1/2) 1/2) (*.f64 #s(literal 1/2 binary64) (/.f64 x y))) x))
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))
Call 3
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))
#s(approx (/ (+ x y) (* (* x 2) y)) (/.f64 #s(approx (+ (* (/ x y) 1/2) 1/2) (*.f64 #s(literal 1/2 binary64) (/.f64 x y))) 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))
(/.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) (*.f64 #s(literal 1/2 binary64) (/.f64 x y))) x))
Outputs
#s(approx (/ (+ x y) (* (* x 2) y)) (/.f64 #s(literal 1/2 binary64) y))
#s(approx (/ (+ x y) (* (* x 2) y)) (/.f64 (fma.f64 (/.f64 x y) #s(literal 1/2 binary64) #s(literal 1/2 binary64)) x))
Calls

9 calls:

9.0ms
(/.f64 (+.f64 x y) (*.f64 (*.f64 x #s(literal 2 binary64)) y))
2.0ms
y
2.0ms
x
2.0ms
(/.f64 (+.f64 x y) (*.f64 (*.f64 x #s(literal 2 binary64)) y))
2.0ms
y
Results
AccuracySegmentsBranch
53.6%1(/.f64 (+.f64 x y) (*.f64 (*.f64 x #s(literal 2 binary64)) y))
53.6%1x
53.6%1y
80.9%2x
65.3%5(/.f64 (+.f64 x y) (*.f64 (*.f64 x #s(literal 2 binary64)) y))
83.5%2y
99.6%5(/.f64 (+.f64 x y) (*.f64 (*.f64 x #s(literal 2 binary64)) y))
94.5%2x
95.6%2y
Compiler

Compiled 141 to 67 computations (52.5% saved)

bsearch9.0ms (0.3%)

Memory
14.0MiB live, 14.0MiB allocated; 0ms collecting garbage
Algorithm
binary-search
Stop Event
narrow-enough
Steps
TimeLeftRight
8.0ms
8.80194435778975e-187
1.0267090755018501e-184
Samples
4.0ms112×0valid
Compiler

Compiled 229 to 180 computations (21.4% saved)

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

bsearch9.0ms (0.3%)

Memory
15.9MiB live, 15.9MiB allocated; 0ms collecting garbage
Algorithm
binary-search
Stop Event
narrow-enough
Steps
TimeLeftRight
8.0ms
5.368607078258779e-59
1.1672737316876762e-57
Samples
4.0ms112×0valid
Compiler

Compiled 194 to 166 computations (14.4% saved)

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

derivations1.0ms (0%)

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

Compiled 78 to 22 computations (71.8% saved)

preprocess33.0ms (1.1%)

Memory
-21.3MiB live, 70.6MiB allocated; 9ms collecting garbage
Compiler

Compiled 243 to 113 computations (53.5% saved)

end0.0ms (0%)

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

Profiling

Loading profile data...