Linear.Projection:inversePerspective from linear-1.19.1.3, C

Time bar (total: 2.5s)

start0.0ms (0%)

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

analyze309.0ms (12.3%)

Memory
116.1MiB live, 166.0MiB allocated; 166ms collecting garbage
Algorithm
search
Search
ProbabilityValidUnknownPreconditionInfiniteDomainCan'tIter
0%0%99.9%0.1%0%0%0%0
0%0%99.9%0.1%0%0%0%1
0%0%99.9%0.1%0%0%0%2
25%25%74.9%0.1%0%0%0%3
37.5%37.5%62.4%0.1%0%0%0%4
56.3%56.2%43.7%0.1%0%0%0%5
65.6%65.6%34.3%0.1%0%0%0%6
76.6%76.5%23.4%0.1%0%0%0%7
82%82%18%0.1%0%0%0%8
87.9%87.8%12.1%0.1%0%0%0%9
90.8%90.7%9.2%0.1%0%0%0%10
93.8%93.8%6.1%0.1%0%0%0%11
95.4%95.3%4.6%0.1%0%0%0%12
Compiler

Compiled 11 to 9 computations (18.2% saved)

sample1.2s (46.2%)

Memory
32.3MiB live, 929.4MiB allocated; 521ms collecting garbage
Samples
755.0ms8 256×0valid
Precisions
Click to see histograms. Total time spent on operations: 486.0ms
ival-div: 249.0ms (51.2% of total)
ival-mult: 175.0ms (36% of total)
ival-add: 51.0ms (10.5% of total)
exact: 5.0ms (1% of total)
ival-assert: 3.0ms (0.6% of total)
adjust: 2.0ms (0.4% of total)
Bogosity

explain96.0ms (3.8%)

Memory
-29.9MiB live, 112.4MiB allocated; 12ms collecting garbage
FPErrors
Click to see full error table
Ground TruthOverpredictionsExampleUnderpredictionsExampleSubexpression
730-3(5.049913188449929e-79 -7.363684107369646e-242)(/.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/o310
(*.f64 (*.f64 x #s(literal 2 binary64)) y)overflow31
Confusion
Predicted +Predicted -
+703
-0183
Precision
1.0
Recall
0.958904109589041
Confusion?
Predicted +Predicted MaybePredicted -
+7003
-00183
Precision?
1.0
Recall?
0.958904109589041
Freqs
test
numberfreq
0186
170
Total Confusion?
Predicted +Predicted MaybePredicted -
+100
-000
Precision?
1.0
Recall?
1.0
Samples
27.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 (50.8% of total)
ival-div: 3.0ms (21.8% of total)
ival-add: 3.0ms (21.8% 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)

preprocess179.0ms (7.1%)

Memory
38.8MiB live, 276.2MiB allocated; 37ms collecting garbage
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
02262
17258
226442
3101342
4312742
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.1MiB live, 0.1MiB allocated; 0ms collecting garbage
Compiler

Compiled 0 to 2 computations (-∞% saved)

prune0.0ms (0%)

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

Compiled 9 to 7 computations (22.2% saved)

series19.0ms (0.7%)

Memory
-30.4MiB live, 13.3MiB allocated; 10ms 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
9.0ms
y
@0
((/ (+ 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)
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)

rewrite77.0ms (3.1%)

Memory
34.8MiB live, 81.3MiB allocated; 4ms 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 #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 #s(literal -2 binary64) (*.f64 y x))))
(/.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 y x)) #s(literal 2 binary64))
(/.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 #s(literal -2 binary64) (*.f64 y x)))
(/.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 #s(literal -2 binary64) (*.f64 y x))))
(+.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)
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 (-.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 (+.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(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 #s(literal 2 binary64) 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)) (-.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) (fma.f64 #s(literal -1 binary64) (/.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) (fma.f64 #s(literal -1 binary64) (/.f64 x y) #s(literal -1 binary64))))

eval8.0ms (0.3%)

Memory
-31.7MiB live, 15.0MiB allocated; 2ms collecting garbage
Compiler

Compiled 1 110 to 216 computations (80.5% saved)

prune19.0ms (0.7%)

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

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New71273
Fresh000
Picked101
Done000
Total72274
Accuracy
100.0%
Counts
74 → 2
Alt Table
Click to see full alt table
StatusAccuracyProgram
85.2%
#s(approx (/ (+ x y) (* (* x 2) y)) (/.f64 (fma.f64 (/.f64 x y) #s(literal 1/2 binary64) #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 35 to 25 computations (28.6% saved)

series6.0ms (0.2%)

Memory
7.1MiB live, 7.1MiB allocated; 0ms collecting garbage
Counts
8 → 14
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
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 (/ (+ 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) (* (* 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))
Calls

6 calls:

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

rewrite71.0ms (2.8%)

Memory
-28.8MiB live, 63.0MiB allocated; 27ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
045214
048206
1182206
01274202
Stop Event
iter limit
iter limit
node limit
iter limit
Counts
22 → 81
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)) #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 (/ (+ 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) (* (* 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))
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 (pow.f64 y #s(literal -1 binary64)) (pow.f64 x #s(literal -1 binary64))) #s(literal 1/2 binary64))
(*.f64 #s(literal 1/2 binary64) (*.f64 #s(literal 1 binary64) (+.f64 (pow.f64 y #s(literal -1 binary64)) (pow.f64 x #s(literal -1 binary64)))))
(*.f64 #s(literal 1/2 binary64) (+.f64 (pow.f64 y #s(literal -1 binary64)) (pow.f64 x #s(literal -1 binary64))))
(/.f64 (/.f64 (fma.f64 #s(literal 1/2 binary64) y (*.f64 (neg.f64 x) #s(literal -1/2 binary64))) x) y)
(/.f64 (-.f64 (pow.f64 (/.f64 #s(literal 1/2 binary64) y) #s(literal 2 binary64)) (pow.f64 (/.f64 #s(literal 1/2 binary64) x) #s(literal 2 binary64))) (-.f64 (/.f64 #s(literal 1/2 binary64) 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) x) (/.f64 #s(literal 1/2 binary64) y)) (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 (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) x) (/.f64 #s(literal 1/2 binary64) y))))
(/.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 (-.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 #s(literal 1/2 binary64) x)) (*.f64 x (neg.f64 y)))
(/.f64 (fma.f64 #s(literal -1/2 binary64) (neg.f64 x) (*.f64 (neg.f64 y) #s(literal -1/2 binary64))) (*.f64 (neg.f64 y) (neg.f64 x)))
(/.f64 (fma.f64 #s(literal -1/2 binary64) x (*.f64 (neg.f64 y) #s(literal 1/2 binary64))) (*.f64 (neg.f64 y) x))
(/.f64 (fma.f64 #s(literal 1/2 binary64) (neg.f64 x) (*.f64 y #s(literal -1/2 binary64))) (*.f64 y (neg.f64 x)))
(/.f64 (fma.f64 #s(literal 1/2 binary64) x (*.f64 #s(literal 1/2 binary64) y)) (*.f64 y x))
(/.f64 (fma.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 (fma.f64 #s(literal -1/2 binary64) y (*.f64 (neg.f64 x) #s(literal 1/2 binary64))) (*.f64 (neg.f64 x) y))
(/.f64 (fma.f64 #s(literal 1/2 binary64) (neg.f64 y) (*.f64 #s(literal -1/2 binary64) x)) (*.f64 x (neg.f64 y)))
(/.f64 (fma.f64 #s(literal 1/2 binary64) y (*.f64 #s(literal 1/2 binary64) x)) (*.f64 y x))
(/.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) 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) y) (-.f64 (/.f64 #s(literal 1/2 binary64) x) (/.f64 #s(literal 1/2 binary64) y)) (pow.f64 (/.f64 #s(literal 1/2 binary64) x) #s(literal 2 binary64))))
(/.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))) (+.f64 (pow.f64 (/.f64 #s(literal 1/2 binary64) y) #s(literal 2 binary64)) (-.f64 (pow.f64 (/.f64 #s(literal 1/2 binary64) x) #s(literal 2 binary64)) (/.f64 #s(literal 1/4 binary64) (*.f64 y 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))
(neg.f64 (*.f64 #s(literal -1/2 binary64) (+.f64 (pow.f64 y #s(literal -1 binary64)) (pow.f64 x #s(literal -1 binary64)))))
(fma.f64 (/.f64 #s(literal 1/2 binary64) y) #s(literal 1 binary64) (/.f64 #s(literal 1/2 binary64) x))
(fma.f64 (pow.f64 y #s(literal -1 binary64)) #s(literal 1/2 binary64) (/.f64 #s(literal 1/2 binary64) x))
(fma.f64 (pow.f64 x #s(literal -1 binary64)) #s(literal 1/2 binary64) (/.f64 #s(literal 1/2 binary64) y))
(fma.f64 (/.f64 #s(literal 1/2 binary64) x) #s(literal 1 binary64) (/.f64 #s(literal 1/2 binary64) y))
(fma.f64 #s(literal 1/2 binary64) (*.f64 #s(literal 1 binary64) (pow.f64 x #s(literal -1 binary64))) (/.f64 #s(literal 1/2 binary64) y))
(fma.f64 #s(literal 1/2 binary64) (*.f64 #s(literal 1 binary64) (pow.f64 y #s(literal -1 binary64))) (/.f64 #s(literal 1/2 binary64) x))
(fma.f64 #s(literal 1/2 binary64) (pow.f64 y #s(literal -1 binary64)) (/.f64 #s(literal 1/2 binary64) x))
(fma.f64 #s(literal 1/2 binary64) (pow.f64 x #s(literal -1 binary64)) (/.f64 #s(literal 1/2 binary64) y))
(-.f64 (/.f64 (pow.f64 (/.f64 #s(literal 1/2 binary64) x) #s(literal 2 binary64)) (-.f64 (/.f64 #s(literal 1/2 binary64) x) (/.f64 #s(literal 1/2 binary64) y))) (/.f64 (pow.f64 (/.f64 #s(literal 1/2 binary64) y) #s(literal 2 binary64)) (-.f64 (/.f64 #s(literal 1/2 binary64) x) (/.f64 #s(literal 1/2 binary64) y))))
(-.f64 (/.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) x) (/.f64 #s(literal 1/2 binary64) y)) (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) x) (/.f64 #s(literal 1/2 binary64) y)) (pow.f64 (/.f64 #s(literal 1/2 binary64) x) #s(literal 2 binary64)))))
(-.f64 (/.f64 (*.f64 (/.f64 y x) #s(literal 1/2 binary64)) y) (/.f64 (*.f64 #s(literal -1/2 binary64) x) (*.f64 y x)))
(-.f64 (/.f64 #s(literal 1/2 binary64) y) (*.f64 (neg.f64 (pow.f64 x #s(literal -1 binary64))) #s(literal 1/2 binary64)))
(-.f64 (/.f64 #s(literal 1/2 binary64) y) (*.f64 #s(literal -1/2 binary64) (pow.f64 x #s(literal -1 binary64))))
(-.f64 (/.f64 #s(literal 1/2 binary64) x) (*.f64 (neg.f64 (pow.f64 y #s(literal -1 binary64))) #s(literal 1/2 binary64)))
(-.f64 (/.f64 #s(literal 1/2 binary64) x) (/.f64 #s(literal -1/2 binary64) y))
(+.f64 (/.f64 (pow.f64 (/.f64 #s(literal 1/2 binary64) 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 #s(literal 1/2 binary64) y) (/.f64 #s(literal 1/2 binary64) x))
(+.f64 (/.f64 #s(literal 1/2 binary64) x) (/.f64 #s(literal 1/2 binary64) y))
(*.f64 (pow.f64 x #s(literal -1 binary64)) #s(literal 1/2 binary64))
(*.f64 (/.f64 #s(literal 1/2 binary64) x) #s(literal 1 binary64))
(*.f64 #s(literal 1/2 binary64) (*.f64 #s(literal 1 binary64) (pow.f64 x #s(literal -1 binary64))))
(*.f64 #s(literal 1/2 binary64) (pow.f64 x #s(literal -1 binary64)))
(/.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))
(neg.f64 (*.f64 (pow.f64 x #s(literal -1 binary64)) #s(literal -1/2 binary64)))
(neg.f64 (*.f64 #s(literal -1/2 binary64) (pow.f64 x #s(literal -1 binary64))))
#s(literal 1/2 binary64)
x
(*.f64 (pow.f64 y #s(literal -1 binary64)) #s(literal -1/2 binary64))
(*.f64 #s(literal -1/2 binary64) (pow.f64 y #s(literal -1 binary64)))
(*.f64 #s(literal 1/2 binary64) (/.f64 #s(literal 1 binary64) (neg.f64 y)))
(/.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(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 (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) 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 (- (/ 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) x) (/.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 (- (/ 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)

eval9.0ms (0.4%)

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

Compiled 1 790 to 276 computations (84.6% saved)

prune83.0ms (3.3%)

Memory
14.9MiB live, 106.3MiB allocated; 11ms collecting garbage
Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New80080
Fresh011
Picked011
Done000
Total80282
Accuracy
100.0%
Counts
82 → 2
Alt Table
Click to see full alt table
StatusAccuracyProgram
85.2%
#s(approx (/ (+ x y) (* (* x 2) y)) (/.f64 (fma.f64 (/.f64 x y) #s(literal 1/2 binary64) #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 35 to 25 computations (28.6% saved)

series7.0ms (0.3%)

Memory
10.5MiB live, 10.5MiB allocated; 0ms collecting garbage
Counts
7 → 19
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)) #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) 1/2) 1/2) x) #s(hole binary64 (/ 1/2 x)))
#s(approx (/ (+ (* (/ x y) 1/2) 1/2) x) #s(hole binary64 (/ (+ 1/2 (* 1/2 (/ x y))) x)))
#s(approx (+ (* (/ x y) 1/2) 1/2) #s(hole binary64 1/2))
#s(approx (+ (* (/ x y) 1/2) 1/2) #s(hole binary64 (+ 1/2 (* 1/2 (/ x y)))))
#s(approx (/ x y) #s(hole binary64 (/ x y)))
#s(approx x #s(hole binary64 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) 1/2) 1/2) x) #s(hole binary64 (/ 1/2 y)))
#s(approx (/ (+ (* (/ x y) 1/2) 1/2) x) #s(hole binary64 (+ (* 1/2 (/ 1 x)) (* 1/2 (/ 1 y)))))
#s(approx (+ (* (/ x y) 1/2) 1/2) #s(hole binary64 (* 1/2 (/ x y))))
#s(approx (+ (* (/ x y) 1/2) 1/2) #s(hole binary64 (* x (+ (* 1/2 (/ 1 x)) (* 1/2 (/ 1 y))))))
#s(approx (+ (* (/ x y) 1/2) 1/2) #s(hole binary64 (* x (+ (* 1/2 (/ 1 y)) (* 1/2 (/ 1 x))))))
#s(approx (/ (+ x y) (* (* x 2) y)) #s(hole binary64 (/ (+ 1/2 (* 1/2 (/ y x))) y)))
#s(approx (/ (+ (* (/ x y) 1/2) 1/2) x) #s(hole binary64 (/ (+ 1/2 (* 1/2 (/ y x))) y)))
#s(approx (+ (* (/ x y) 1/2) 1/2) #s(hole binary64 (/ (+ (* 1/2 x) (* 1/2 y)) y)))
#s(approx y #s(hole binary64 y))
Calls

6 calls:

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

rewrite294.0ms (11.7%)

Memory
-31.5MiB live, 76.3MiB allocated; 248ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
057306
061285
1241285
01696283
Stop Event
iter limit
iter limit
node limit
iter limit
Counts
26 → 88
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)
#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) 1/2) 1/2) x) #s(hole binary64 (/ 1/2 x)))
#s(approx (/ (+ (* (/ x y) 1/2) 1/2) x) #s(hole binary64 (/ (+ 1/2 (* 1/2 (/ x y))) x)))
#s(approx (+ (* (/ x y) 1/2) 1/2) #s(hole binary64 1/2))
#s(approx (+ (* (/ x y) 1/2) 1/2) #s(hole binary64 (+ 1/2 (* 1/2 (/ x y)))))
#s(approx (/ x y) #s(hole binary64 (/ x y)))
#s(approx x #s(hole binary64 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) 1/2) 1/2) x) #s(hole binary64 (/ 1/2 y)))
#s(approx (/ (+ (* (/ x y) 1/2) 1/2) x) #s(hole binary64 (+ (* 1/2 (/ 1 x)) (* 1/2 (/ 1 y)))))
#s(approx (+ (* (/ x y) 1/2) 1/2) #s(hole binary64 (* 1/2 (/ x y))))
#s(approx (+ (* (/ x y) 1/2) 1/2) #s(hole binary64 (* x (+ (* 1/2 (/ 1 x)) (* 1/2 (/ 1 y))))))
#s(approx (+ (* (/ x y) 1/2) 1/2) #s(hole binary64 (* x (+ (* 1/2 (/ 1 y)) (* 1/2 (/ 1 x))))))
#s(approx (/ (+ x y) (* (* x 2) y)) #s(hole binary64 (/ (+ 1/2 (* 1/2 (/ y x))) y)))
#s(approx (/ (+ (* (/ x y) 1/2) 1/2) x) #s(hole binary64 (/ (+ 1/2 (* 1/2 (/ y x))) y)))
#s(approx (+ (* (/ x y) 1/2) 1/2) #s(hole binary64 (/ (+ (* 1/2 x) (* 1/2 y)) y)))
#s(approx y #s(hole binary64 y))
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 (+.f64 #s(literal 1 binary64) (/.f64 x y)) (/.f64 #s(literal 1/2 binary64) x))
(/.f64 (-.f64 (*.f64 (/.f64 (*.f64 (/.f64 x y) #s(literal 1/2 binary64)) x) (/.f64 (*.f64 (/.f64 x y) #s(literal 1/2 binary64)) x)) (pow.f64 (/.f64 #s(literal 1/2 binary64) x) #s(literal 2 binary64))) (-.f64 (/.f64 (*.f64 (/.f64 x y) #s(literal 1/2 binary64)) x) (/.f64 #s(literal 1/2 binary64) x)))
(/.f64 (-.f64 (pow.f64 (/.f64 #s(literal 1/2 binary64) x) #s(literal 2 binary64)) (*.f64 (/.f64 (*.f64 (/.f64 x y) #s(literal 1/2 binary64)) x) (/.f64 (*.f64 (/.f64 x y) #s(literal 1/2 binary64)) x))) (-.f64 (/.f64 #s(literal 1/2 binary64) x) (/.f64 (*.f64 (/.f64 x y) #s(literal 1/2 binary64)) x)))
(/.f64 (+.f64 (pow.f64 (/.f64 (*.f64 (/.f64 x y) #s(literal 1/2 binary64)) x) #s(literal 3 binary64)) (pow.f64 (/.f64 #s(literal 1/2 binary64) x) #s(literal 3 binary64))) (fma.f64 (/.f64 (*.f64 (/.f64 x y) #s(literal 1/2 binary64)) x) (/.f64 (*.f64 (/.f64 x y) #s(literal 1/2 binary64)) x) (-.f64 (pow.f64 (/.f64 #s(literal 1/2 binary64) x) #s(literal 2 binary64)) (*.f64 (/.f64 (*.f64 (/.f64 x y) #s(literal 1/2 binary64)) x) (/.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 (*.f64 (/.f64 x y) #s(literal 1/2 binary64)) x) #s(literal 3 binary64))) (+.f64 (pow.f64 (/.f64 #s(literal 1/2 binary64) x) #s(literal 2 binary64)) (-.f64 (*.f64 (/.f64 (*.f64 (/.f64 x y) #s(literal 1/2 binary64)) x) (/.f64 (*.f64 (/.f64 x y) #s(literal 1/2 binary64)) x)) (*.f64 (/.f64 #s(literal 1/2 binary64) x) (/.f64 (*.f64 (/.f64 x y) #s(literal 1/2 binary64)) x)))))
(/.f64 (neg.f64 (fma.f64 #s(literal -1/2 binary64) (/.f64 x y) #s(literal -1/2 binary64))) (neg.f64 (neg.f64 x)))
(/.f64 (fma.f64 (*.f64 (/.f64 x y) #s(literal 1/2 binary64)) (neg.f64 x) (*.f64 x #s(literal -1/2 binary64))) (*.f64 x (neg.f64 x)))
(/.f64 (fma.f64 (*.f64 (/.f64 x y) #s(literal 1/2 binary64)) x (*.f64 #s(literal 1/2 binary64) x)) (*.f64 x x))
(/.f64 (fma.f64 #s(literal -1/2 binary64) x (*.f64 (neg.f64 x) (*.f64 (/.f64 x y) #s(literal 1/2 binary64)))) (*.f64 (neg.f64 x) x))
(/.f64 (fma.f64 #s(literal 1/2 binary64) x (*.f64 x (*.f64 (/.f64 x y) #s(literal 1/2 binary64)))) (*.f64 x x))
(/.f64 (-.f64 (pow.f64 (*.f64 (/.f64 x y) #s(literal 1/2 binary64)) #s(literal 2 binary64)) #s(literal 1/4 binary64)) (*.f64 (fma.f64 (/.f64 #s(literal 1/2 binary64) y) x #s(literal -1/2 binary64)) x))
(/.f64 (-.f64 #s(literal 1/4 binary64) (pow.f64 (*.f64 (/.f64 x y) #s(literal 1/2 binary64)) #s(literal 2 binary64))) (*.f64 (-.f64 #s(literal 1/2 binary64) (*.f64 (/.f64 x y) #s(literal 1/2 binary64))) x))
(/.f64 (fma.f64 (pow.f64 (/.f64 x y) #s(literal 3 binary64)) #s(literal 1/8 binary64) #s(literal 1/8 binary64)) (*.f64 (-.f64 (+.f64 (pow.f64 (*.f64 (/.f64 x y) #s(literal 1/2 binary64)) #s(literal 2 binary64)) #s(literal 1/4 binary64)) (*.f64 #s(literal 1/4 binary64) (/.f64 x y))) x))
(/.f64 (fma.f64 (pow.f64 (/.f64 x y) #s(literal 3 binary64)) #s(literal 1/8 binary64) #s(literal 1/8 binary64)) (*.f64 (fma.f64 (*.f64 (/.f64 x y) #s(literal 1/2 binary64)) (fma.f64 (/.f64 #s(literal 1/2 binary64) y) x #s(literal -1/2 binary64)) #s(literal 1/4 binary64)) x))
(/.f64 (fma.f64 #s(literal -1/2 binary64) (/.f64 x y) #s(literal -1/2 binary64)) (neg.f64 x))
(/.f64 (fma.f64 (/.f64 x y) #s(literal 1/2 binary64) #s(literal 1/2 binary64)) x)
(neg.f64 (/.f64 (fma.f64 #s(literal -1/2 binary64) (/.f64 x y) #s(literal -1/2 binary64)) x))
(neg.f64 (/.f64 (fma.f64 (/.f64 x y) #s(literal 1/2 binary64) #s(literal 1/2 binary64)) (neg.f64 x)))
(fma.f64 (/.f64 #s(literal 1/2 binary64) x) #s(literal 1 binary64) (/.f64 (*.f64 (/.f64 x y) #s(literal 1/2 binary64)) x))
(fma.f64 (pow.f64 x #s(literal -1 binary64)) #s(literal 1/2 binary64) (/.f64 (*.f64 (/.f64 x y) #s(literal 1/2 binary64)) x))
(fma.f64 (/.f64 x y) (/.f64 #s(literal 1/2 binary64) x) (/.f64 #s(literal 1/2 binary64) x))
(fma.f64 #s(literal 1/2 binary64) (/.f64 (/.f64 x y) x) (/.f64 #s(literal 1/2 binary64) x))
(fma.f64 #s(literal 1/2 binary64) (*.f64 #s(literal 1 binary64) (pow.f64 x #s(literal -1 binary64))) (/.f64 (*.f64 (/.f64 x y) #s(literal 1/2 binary64)) x))
(fma.f64 #s(literal 1/2 binary64) (pow.f64 x #s(literal -1 binary64)) (/.f64 (*.f64 (/.f64 x y) #s(literal 1/2 binary64)) x))
(-.f64 (/.f64 (*.f64 (/.f64 x y) #s(literal 1/2 binary64)) x) (*.f64 (neg.f64 (pow.f64 x #s(literal -1 binary64))) #s(literal 1/2 binary64)))
(-.f64 (/.f64 (*.f64 (/.f64 x y) #s(literal 1/2 binary64)) x) (/.f64 #s(literal -1/2 binary64) x))
(-.f64 (/.f64 #s(literal 1/2 binary64) x) (/.f64 (*.f64 #s(literal -1/2 binary64) (/.f64 x y)) x))
(+.f64 (/.f64 (*.f64 (/.f64 x y) #s(literal 1/2 binary64)) x) (/.f64 #s(literal 1/2 binary64) x))
(+.f64 (/.f64 #s(literal 1/2 binary64) x) (/.f64 (*.f64 (/.f64 x y) #s(literal 1/2 binary64)) x))
(*.f64 (+.f64 #s(literal 1 binary64) (/.f64 x y)) #s(literal 1/2 binary64))
(*.f64 (fma.f64 (/.f64 x y) #s(literal 1/2 binary64) #s(literal 1/2 binary64)) #s(literal 1 binary64))
(*.f64 #s(literal 1/2 binary64) (+.f64 #s(literal 1 binary64) (/.f64 x y)))
(/.f64 (-.f64 #s(literal 1/8 binary64) (pow.f64 (*.f64 #s(literal -1/2 binary64) (/.f64 x y)) #s(literal 3 binary64))) (+.f64 #s(literal 1/4 binary64) (+.f64 (pow.f64 (*.f64 (/.f64 x y) #s(literal 1/2 binary64)) #s(literal 2 binary64)) (*.f64 #s(literal 1/2 binary64) (*.f64 #s(literal -1/2 binary64) (/.f64 x y))))))
(/.f64 (neg.f64 (-.f64 (pow.f64 (*.f64 (/.f64 x y) #s(literal 1/2 binary64)) #s(literal 2 binary64)) #s(literal 1/4 binary64))) (neg.f64 (fma.f64 (/.f64 #s(literal 1/2 binary64) y) x #s(literal -1/2 binary64))))
(/.f64 (neg.f64 (-.f64 #s(literal 1/4 binary64) (pow.f64 (*.f64 (/.f64 x y) #s(literal 1/2 binary64)) #s(literal 2 binary64)))) (neg.f64 (-.f64 #s(literal 1/2 binary64) (*.f64 (/.f64 x y) #s(literal 1/2 binary64)))))
(/.f64 (neg.f64 (fma.f64 (pow.f64 (/.f64 x y) #s(literal 3 binary64)) #s(literal 1/8 binary64) #s(literal 1/8 binary64))) (neg.f64 (-.f64 (+.f64 (pow.f64 (*.f64 (/.f64 x y) #s(literal 1/2 binary64)) #s(literal 2 binary64)) #s(literal 1/4 binary64)) (*.f64 #s(literal 1/4 binary64) (/.f64 x y)))))
(/.f64 (neg.f64 (fma.f64 (pow.f64 (/.f64 x y) #s(literal 3 binary64)) #s(literal 1/8 binary64) #s(literal 1/8 binary64))) (neg.f64 (fma.f64 (*.f64 (/.f64 x y) #s(literal 1/2 binary64)) (fma.f64 (/.f64 #s(literal 1/2 binary64) y) x #s(literal -1/2 binary64)) #s(literal 1/4 binary64))))
(/.f64 (-.f64 (pow.f64 (*.f64 (/.f64 x y) #s(literal 1/2 binary64)) #s(literal 2 binary64)) #s(literal 1/4 binary64)) (fma.f64 (/.f64 #s(literal 1/2 binary64) y) x #s(literal -1/2 binary64)))
(/.f64 (-.f64 #s(literal 1/4 binary64) (pow.f64 (*.f64 (/.f64 x y) #s(literal 1/2 binary64)) #s(literal 2 binary64))) (-.f64 #s(literal 1/2 binary64) (*.f64 (/.f64 x y) #s(literal 1/2 binary64))))
(/.f64 (fma.f64 (pow.f64 (/.f64 x y) #s(literal 3 binary64)) #s(literal 1/8 binary64) #s(literal 1/8 binary64)) (-.f64 (+.f64 (pow.f64 (*.f64 (/.f64 x y) #s(literal 1/2 binary64)) #s(literal 2 binary64)) #s(literal 1/4 binary64)) (*.f64 #s(literal 1/4 binary64) (/.f64 x y))))
(/.f64 (fma.f64 (pow.f64 (/.f64 x y) #s(literal 3 binary64)) #s(literal 1/8 binary64) #s(literal 1/8 binary64)) (fma.f64 (*.f64 (/.f64 x y) #s(literal 1/2 binary64)) (fma.f64 (/.f64 #s(literal 1/2 binary64) y) x #s(literal -1/2 binary64)) #s(literal 1/4 binary64)))
(fma.f64 (*.f64 x (pow.f64 y #s(literal -1 binary64))) #s(literal 1/2 binary64) #s(literal 1/2 binary64))
(fma.f64 (*.f64 #s(literal 1/2 binary64) x) (pow.f64 y #s(literal -1 binary64)) #s(literal 1/2 binary64))
(fma.f64 (/.f64 #s(literal 1/2 binary64) y) x #s(literal 1/2 binary64))
(fma.f64 (pow.f64 y #s(literal -1 binary64)) (*.f64 #s(literal 1/2 binary64) x) #s(literal 1/2 binary64))
(fma.f64 (*.f64 (/.f64 x y) #s(literal 1/2 binary64)) #s(literal 1 binary64) #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 #s(literal 1 binary64) (/.f64 x y)) #s(literal 1/2 binary64))
(fma.f64 #s(literal 1/2 binary64) (*.f64 (pow.f64 y #s(literal -1 binary64)) x) #s(literal 1/2 binary64))
(fma.f64 #s(literal 1/2 binary64) (/.f64 x y) #s(literal 1/2 binary64))
(fma.f64 x (/.f64 #s(literal 1/2 binary64) y) #s(literal 1/2 binary64))
(-.f64 (/.f64 (pow.f64 (*.f64 (/.f64 x y) #s(literal 1/2 binary64)) #s(literal 2 binary64)) (fma.f64 (/.f64 #s(literal 1/2 binary64) y) x #s(literal -1/2 binary64))) (/.f64 #s(literal 1/4 binary64) (fma.f64 (/.f64 #s(literal 1/2 binary64) y) x #s(literal -1/2 binary64))))
(-.f64 (/.f64 #s(literal 1/4 binary64) (-.f64 #s(literal 1/2 binary64) (*.f64 (/.f64 x y) #s(literal 1/2 binary64)))) (/.f64 (pow.f64 (*.f64 (/.f64 x y) #s(literal 1/2 binary64)) #s(literal 2 binary64)) (-.f64 #s(literal 1/2 binary64) (*.f64 (/.f64 x y) #s(literal 1/2 binary64)))))
(-.f64 (*.f64 (/.f64 x y) #s(literal 1/2 binary64)) #s(literal -1/2 binary64))
(-.f64 #s(literal 1/2 binary64) (*.f64 (neg.f64 (/.f64 x y)) #s(literal 1/2 binary64)))
(-.f64 #s(literal 1/2 binary64) (*.f64 #s(literal -1/2 binary64) (/.f64 x y)))
(+.f64 (/.f64 (pow.f64 (*.f64 (/.f64 x y) #s(literal 1/2 binary64)) #s(literal 3 binary64)) (-.f64 (+.f64 (pow.f64 (*.f64 (/.f64 x y) #s(literal 1/2 binary64)) #s(literal 2 binary64)) #s(literal 1/4 binary64)) (*.f64 #s(literal 1/4 binary64) (/.f64 x y)))) (/.f64 #s(literal 1/8 binary64) (-.f64 (+.f64 (pow.f64 (*.f64 (/.f64 x y) #s(literal 1/2 binary64)) #s(literal 2 binary64)) #s(literal 1/4 binary64)) (*.f64 #s(literal 1/4 binary64) (/.f64 x y)))))
(+.f64 (/.f64 #s(literal 1/8 binary64) (fma.f64 (*.f64 (/.f64 x y) #s(literal 1/2 binary64)) (fma.f64 (/.f64 #s(literal 1/2 binary64) y) x #s(literal -1/2 binary64)) #s(literal 1/4 binary64))) (/.f64 (pow.f64 (*.f64 (/.f64 x y) #s(literal 1/2 binary64)) #s(literal 3 binary64)) (fma.f64 (*.f64 (/.f64 x y) #s(literal 1/2 binary64)) (fma.f64 (/.f64 #s(literal 1/2 binary64) y) x #s(literal -1/2 binary64)) #s(literal 1/4 binary64))))
(+.f64 (*.f64 (/.f64 x y) #s(literal 1/2 binary64)) #s(literal 1/2 binary64))
(+.f64 #s(literal 1/2 binary64) (*.f64 (/.f64 x y) #s(literal 1/2 binary64)))
(/.f64 (neg.f64 (neg.f64 x)) (neg.f64 (neg.f64 y)))
(/.f64 (neg.f64 x) (neg.f64 y))
(/.f64 x y)
(neg.f64 (/.f64 (neg.f64 x) y))
(neg.f64 (/.f64 x (neg.f64 y)))
x
y
#s(literal 1/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) 1/2) 1/2) x) (/.f64 #s(literal 1/2 binary64) x))
#s(approx (/ (+ (* (/ x y) 1/2) 1/2) x) (/.f64 (fma.f64 (/.f64 x y) #s(literal 1/2 binary64) #s(literal 1/2 binary64)) x))
#s(approx (+ (* (/ x y) 1/2) 1/2) #s(literal 1/2 binary64))
#s(approx (+ (* (/ x y) 1/2) 1/2) (fma.f64 (/.f64 x y) #s(literal 1/2 binary64) #s(literal 1/2 binary64)))
#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)) (-.f64 (/.f64 #s(literal 1/2 binary64) y) (/.f64 #s(literal -1/2 binary64) x)))
#s(approx (/ (+ (* (/ x y) 1/2) 1/2) x) (/.f64 #s(literal 1/2 binary64) y))
#s(approx (/ (+ (* (/ x y) 1/2) 1/2) x) (-.f64 (/.f64 #s(literal 1/2 binary64) y) (/.f64 #s(literal -1/2 binary64) x)))
#s(approx (+ (* (/ x y) 1/2) 1/2) (*.f64 (/.f64 x y) #s(literal 1/2 binary64)))
#s(approx (+ (* (/ x y) 1/2) 1/2) (*.f64 (-.f64 (/.f64 #s(literal 1/2 binary64) y) (/.f64 #s(literal -1/2 binary64) x)) x))
#s(approx (+ (* (/ x y) 1/2) 1/2) (*.f64 (-.f64 (/.f64 #s(literal 1/2 binary64) y) (/.f64 #s(literal -1/2 binary64) x)) 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 (/ (+ (* (/ x y) 1/2) 1/2) x) (/.f64 (fma.f64 (/.f64 y x) #s(literal 1/2 binary64) #s(literal 1/2 binary64)) y))
#s(approx (+ (* (/ x y) 1/2) 1/2) (/.f64 (*.f64 #s(literal 1/2 binary64) (+.f64 y x)) y))
#s(approx y y)

eval9.0ms (0.3%)

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

Compiled 2 213 to 331 computations (85% saved)

prune94.0ms (3.7%)

Memory
-18.4MiB live, 121.7MiB allocated; 14ms collecting garbage
Pruning

2 alts after pruning (0 fresh and 2 done)

PrunedKeptTotal
New89089
Fresh000
Picked011
Done011
Total89291
Accuracy
100.0%
Counts
91 → 2
Alt Table
Click to see full alt table
StatusAccuracyProgram
85.2%
#s(approx (/ (+ x y) (* (* x 2) y)) (/.f64 (fma.f64 (/.f64 x y) #s(literal 1/2 binary64) #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 79 to 47 computations (40.5% saved)

regimes5.0ms (0.2%)

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

Total -26.4b remaining (-676404.4%)

Threshold costs -26.4b (-676404.4%)

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

3 calls:

1.0ms
y
1.0ms
x
1.0ms
(/.f64 (+.f64 x y) (*.f64 (*.f64 x #s(literal 2 binary64)) y))
Results
AccuracySegmentsBranch
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)

simplify48.0ms (1.9%)

Memory
-9.9MiB live, 36.3MiB allocated; 4ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01317
12717
27317
318517
455817
5470517
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)))
Outputs
#s(approx (/ (+ x y) (* (* x 2) y)) (-.f64 (/.f64 #s(literal 1/2 binary64) x) (/.f64 #s(literal -1/2 binary64) y)))

derivations7.0ms (0.3%)

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

Compiled 17 to 13 computations (23.5% saved)

preprocess14.0ms (0.6%)

Memory
23.7MiB live, 23.7MiB allocated; 0ms collecting garbage
Remove

(sort x y)

Compiler

Compiled 100 to 78 computations (22% saved)

end0.0ms (0%)

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

Profiling

Loading profile data...