Examples.Basics.BasicTests:f2 from sbv-4.4

Time bar (total: 1.1s)

start0.0ms (0%)

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

analyze0.0ms (0%)

Memory
0.7MiB live, 0.7MiB allocated; 0ms collecting garbage
Algorithm
search
Search
ProbabilityValidUnknownPreconditionInfiniteDomainCan'tIter
0%0%99.9%0.1%0%0%0%0
100%99.9%0%0.1%0%0%0%1
Compiler

Compiled 9 to 7 computations (22.2% saved)

sample669.0ms (60%)

Memory
-1.8MiB live, 619.8MiB allocated; 139ms collecting garbage
Samples
484.0ms8 256×0valid
Precisions
Click to see histograms. Total time spent on operations: 142.0ms
ival-mult!: 100.0ms (70.6% of total)
ival-sub!: 40.0ms (28.2% of total)
adjust: 1.0ms (0.7% of total)
Bogosity

preprocess53.0ms (4.7%)

Memory
-8.5MiB live, 38.3MiB allocated; 3ms collecting garbage
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01445
15642
224042
343142
4117642
5384942
Stop Event
node-limit
Alt Table
Click to see full alt table
StatusAccuracyProgram
94.9%
(-.f64 (*.f64 x x) (*.f64 y y))
Symmetry

(abs x)

(abs y)

Compiler

Compiled 14 to 10 computations (28.6% saved)

series4.0ms (0.4%)

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

6 calls:

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

rewrite69.0ms (6.2%)

Memory
-3.2MiB live, 88.5MiB allocated; 7ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
032124
033120
1133119
01183118
Stop Event
iter-limit
iter-limit
node-limit
iter-limit
Counts
14 → 128
Calls
Call 1
Inputs
(-.f64 (*.f64 x x) (*.f64 y y))
(*.f64 x x)
x
(*.f64 y y)
y
#s(approx (- (* x x) (* y y)) #s(hole binary64 (* -1 (pow y 2))))
#s(approx (- (* x x) (* y y)) #s(hole binary64 (- (pow x 2) (pow y 2))))
#s(approx (* x x) #s(hole binary64 (pow x 2)))
#s(approx x #s(hole binary64 x))
#s(approx (- (* x x) (* y y)) #s(hole binary64 (* (pow x 2) (+ 1 (* -1 (/ (pow y 2) (pow x 2)))))))
#s(approx (- (* x x) (* y y)) #s(hole binary64 (+ (* -1 (pow y 2)) (pow x 2))))
#s(approx (* y y) #s(hole binary64 (pow y 2)))
#s(approx y #s(hole binary64 y))
#s(approx (- (* x x) (* y y)) #s(hole binary64 (* (pow y 2) (- (/ (pow x 2) (pow y 2)) 1))))
Outputs
(*.f64 (+.f64 (fabs.f64 x) (fabs.f64 y)) (-.f64 (fabs.f64 x) (fabs.f64 y)))
(*.f64 (+.f64 (fabs.f64 x) (neg.f64 y)) (-.f64 (fabs.f64 x) (neg.f64 y)))
(*.f64 (+.f64 (fabs.f64 x) y) (-.f64 (fabs.f64 x) y))
(*.f64 (+.f64 (neg.f64 x) (fabs.f64 y)) (-.f64 (neg.f64 x) (fabs.f64 y)))
(*.f64 (+.f64 (neg.f64 x) (neg.f64 y)) (-.f64 (neg.f64 x) (neg.f64 y)))
(*.f64 (+.f64 (neg.f64 x) y) (-.f64 (neg.f64 x) y))
(*.f64 (+.f64 x (fabs.f64 y)) (-.f64 x (fabs.f64 y)))
(*.f64 (+.f64 x (neg.f64 y)) (-.f64 x (neg.f64 y)))
(*.f64 (-.f64 x y) (+.f64 y x))
(*.f64 (+.f64 y x) (-.f64 x y))
(/.f64 (neg.f64 (-.f64 (*.f64 (*.f64 (*.f64 y y) y) y) (*.f64 (*.f64 (*.f64 x x) x) x))) (neg.f64 (-.f64 (*.f64 (neg.f64 y) y) (*.f64 x x))))
(/.f64 (neg.f64 (fma.f64 (*.f64 (*.f64 (*.f64 y y) y) y) (*.f64 (neg.f64 y) y) (*.f64 (*.f64 (*.f64 (*.f64 x x) x) x) (*.f64 x x)))) (neg.f64 (fma.f64 (*.f64 (*.f64 y y) y) y (*.f64 (*.f64 x x) (fma.f64 y y (*.f64 x x))))))
(/.f64 (neg.f64 (*.f64 (fma.f64 y y (*.f64 x x)) (*.f64 (-.f64 x y) (+.f64 y x)))) (neg.f64 (fma.f64 y y (*.f64 x x))))
(/.f64 (neg.f64 (-.f64 (*.f64 (*.f64 (*.f64 (*.f64 x x) x) x) (*.f64 x x)) (*.f64 (*.f64 (*.f64 (*.f64 y y) y) y) (*.f64 y y)))) (neg.f64 (fma.f64 (*.f64 (*.f64 x x) x) x (*.f64 (*.f64 y y) (fma.f64 y y (*.f64 x x))))))
(/.f64 (-.f64 (*.f64 (*.f64 (*.f64 y y) y) y) (*.f64 (*.f64 (*.f64 x x) x) x)) (-.f64 (*.f64 (neg.f64 y) y) (*.f64 x x)))
(/.f64 (*.f64 (fma.f64 y y (*.f64 x x)) (*.f64 (-.f64 x y) (+.f64 y x))) (fma.f64 y y (*.f64 x x)))
(/.f64 (fma.f64 (*.f64 (*.f64 (*.f64 y y) y) y) (*.f64 (neg.f64 y) y) (*.f64 (*.f64 (*.f64 (*.f64 x x) x) x) (*.f64 x x))) (fma.f64 (*.f64 (*.f64 x x) x) x (-.f64 (*.f64 (*.f64 (*.f64 y y) y) y) (*.f64 (*.f64 x x) (*.f64 (neg.f64 y) y)))))
(/.f64 (fma.f64 (*.f64 (*.f64 (*.f64 y y) y) y) (*.f64 (neg.f64 y) y) (*.f64 (*.f64 (*.f64 (*.f64 x x) x) x) (*.f64 x x))) (fma.f64 (*.f64 (*.f64 y y) y) y (*.f64 (*.f64 x x) (fma.f64 y y (*.f64 x x)))))
(/.f64 (-.f64 (*.f64 (*.f64 (*.f64 (*.f64 x x) x) x) (*.f64 x x)) (*.f64 (*.f64 (*.f64 (*.f64 y y) y) y) (*.f64 y y))) (fma.f64 (*.f64 (*.f64 x x) x) x (*.f64 (*.f64 y y) (fma.f64 y y (*.f64 x x)))))
(fma.f64 (*.f64 #s(literal -1 binary64) (fabs.f64 y)) (fabs.f64 y) (*.f64 x x))
(fma.f64 (*.f64 #s(literal -1 binary64) (neg.f64 y)) (neg.f64 y) (*.f64 x x))
(fma.f64 (*.f64 #s(literal -1 binary64) y) y (*.f64 x x))
(fma.f64 (*.f64 #s(literal 1 binary64) (fabs.f64 x)) (*.f64 #s(literal 1 binary64) (fabs.f64 x)) (*.f64 (neg.f64 y) y))
(fma.f64 (*.f64 #s(literal 1 binary64) (fabs.f64 x)) (fabs.f64 x) (*.f64 (neg.f64 y) y))
(fma.f64 (*.f64 #s(literal 1 binary64) (neg.f64 x)) (*.f64 #s(literal 1 binary64) (neg.f64 x)) (*.f64 (neg.f64 y) y))
(fma.f64 (*.f64 #s(literal 1 binary64) (neg.f64 x)) (neg.f64 x) (*.f64 (neg.f64 y) y))
(fma.f64 (*.f64 #s(literal 1 binary64) x) (*.f64 #s(literal 1 binary64) x) (*.f64 (neg.f64 y) y))
(fma.f64 (*.f64 #s(literal 1 binary64) x) x (*.f64 (neg.f64 y) y))
(fma.f64 (*.f64 (fabs.f64 x) #s(literal 1 binary64)) (*.f64 (fabs.f64 x) #s(literal 1 binary64)) (*.f64 (neg.f64 y) y))
(fma.f64 (*.f64 (neg.f64 x) #s(literal 1 binary64)) (*.f64 (neg.f64 x) #s(literal 1 binary64)) (*.f64 (neg.f64 y) y))
(fma.f64 (*.f64 x #s(literal 1 binary64)) (*.f64 x #s(literal 1 binary64)) (*.f64 (neg.f64 y) y))
(fma.f64 (fabs.f64 (fabs.f64 x)) (fabs.f64 (fabs.f64 x)) (*.f64 (neg.f64 y) y))
(fma.f64 (neg.f64 (fabs.f64 y)) (fabs.f64 y) (*.f64 x x))
(fma.f64 (neg.f64 (neg.f64 y)) (neg.f64 y) (*.f64 x x))
(fma.f64 (neg.f64 (fabs.f64 x)) (neg.f64 (fabs.f64 x)) (*.f64 (neg.f64 y) y))
(fma.f64 (neg.f64 (neg.f64 x)) (neg.f64 (neg.f64 x)) (*.f64 (neg.f64 y) y))
(fma.f64 (exp.f64 (log.f64 x)) (exp.f64 (log.f64 x)) (*.f64 (neg.f64 y) y))
(fma.f64 (fabs.f64 y) (*.f64 (fabs.f64 y) #s(literal -1 binary64)) (*.f64 x x))
(fma.f64 (fabs.f64 y) (neg.f64 (fabs.f64 y)) (*.f64 x x))
(fma.f64 (fabs.f64 x) (*.f64 (fabs.f64 x) #s(literal 1 binary64)) (*.f64 (neg.f64 y) y))
(fma.f64 (fabs.f64 x) (fabs.f64 x) (*.f64 (neg.f64 y) y))
(fma.f64 (neg.f64 y) (*.f64 (neg.f64 y) #s(literal -1 binary64)) (*.f64 x x))
(fma.f64 (neg.f64 y) (neg.f64 (neg.f64 y)) (*.f64 x x))
(fma.f64 (neg.f64 y) y (*.f64 x x))
(fma.f64 (neg.f64 x) (*.f64 (neg.f64 x) #s(literal 1 binary64)) (*.f64 (neg.f64 y) y))
(fma.f64 (neg.f64 x) (neg.f64 x) (*.f64 (neg.f64 y) y))
(fma.f64 #s(literal 1 binary64) (*.f64 x x) (*.f64 (neg.f64 y) y))
(fma.f64 (*.f64 x x) #s(literal 1 binary64) (*.f64 (neg.f64 y) y))
(fma.f64 (*.f64 y y) #s(literal -1 binary64) (*.f64 x x))
(fma.f64 #s(literal -1 binary64) (*.f64 y y) (*.f64 x x))
(fma.f64 y (*.f64 y #s(literal -1 binary64)) (*.f64 x x))
(fma.f64 y (neg.f64 y) (*.f64 x x))
(fma.f64 x (*.f64 x #s(literal 1 binary64)) (*.f64 (neg.f64 y) y))
(fma.f64 x x (*.f64 (neg.f64 y) y))
(-.f64 (/.f64 (*.f64 (*.f64 (*.f64 y y) y) y) (-.f64 (*.f64 (neg.f64 y) y) (*.f64 x x))) (/.f64 (*.f64 (*.f64 (*.f64 x x) x) x) (-.f64 (*.f64 (neg.f64 y) y) (*.f64 x x))))
(-.f64 (/.f64 (*.f64 (*.f64 (*.f64 x x) x) x) (fma.f64 y y (*.f64 x x))) (/.f64 (*.f64 (*.f64 (*.f64 y y) y) y) (fma.f64 y y (*.f64 x x))))
(-.f64 (/.f64 (*.f64 (*.f64 (*.f64 (*.f64 x x) x) x) (*.f64 x x)) (fma.f64 (*.f64 (*.f64 x x) x) x (*.f64 (*.f64 y y) (fma.f64 y y (*.f64 x x))))) (/.f64 (*.f64 (*.f64 (*.f64 (*.f64 y y) y) y) (*.f64 y y)) (fma.f64 (*.f64 (*.f64 x x) x) x (*.f64 (*.f64 y y) (fma.f64 y y (*.f64 x x))))))
(-.f64 (*.f64 x x) (*.f64 (*.f64 (neg.f64 y) y) #s(literal -1 binary64)))
(-.f64 (*.f64 x x) (*.f64 #s(literal 1 binary64) (*.f64 y y)))
(-.f64 (*.f64 x x) (*.f64 (neg.f64 (neg.f64 y)) y))
(-.f64 (*.f64 x x) (*.f64 y y))
(-.f64 (*.f64 (neg.f64 y) y) (*.f64 (neg.f64 x) x))
(+.f64 (/.f64 (*.f64 (*.f64 (*.f64 (*.f64 y y) y) y) (*.f64 (neg.f64 y) y)) (fma.f64 (*.f64 (*.f64 y y) y) y (*.f64 (*.f64 x x) (fma.f64 y y (*.f64 x x))))) (/.f64 (*.f64 (*.f64 (*.f64 (*.f64 x x) x) x) (*.f64 x x)) (fma.f64 (*.f64 (*.f64 y y) y) y (*.f64 (*.f64 x x) (fma.f64 y y (*.f64 x x))))))
(+.f64 (*.f64 x x) (*.f64 (neg.f64 y) y))
(+.f64 (*.f64 (neg.f64 y) y) (*.f64 x x))
(*.f64 (*.f64 #s(literal 1 binary64) (fabs.f64 x)) (*.f64 #s(literal 1 binary64) (fabs.f64 x)))
(*.f64 (*.f64 #s(literal 1 binary64) (fabs.f64 x)) (fabs.f64 x))
(*.f64 (*.f64 #s(literal 1 binary64) (neg.f64 x)) (*.f64 #s(literal 1 binary64) (neg.f64 x)))
(*.f64 (*.f64 #s(literal 1 binary64) (neg.f64 x)) (neg.f64 x))
(*.f64 (*.f64 #s(literal 1 binary64) x) (*.f64 #s(literal 1 binary64) x))
(*.f64 (*.f64 #s(literal 1 binary64) x) x)
(*.f64 (*.f64 (fabs.f64 x) #s(literal 1 binary64)) (*.f64 (fabs.f64 x) #s(literal 1 binary64)))
(*.f64 (*.f64 (neg.f64 x) #s(literal 1 binary64)) (*.f64 (neg.f64 x) #s(literal 1 binary64)))
(*.f64 (*.f64 x #s(literal 1 binary64)) (*.f64 x #s(literal 1 binary64)))
(*.f64 (fabs.f64 (fabs.f64 x)) (fabs.f64 (fabs.f64 x)))
(*.f64 (neg.f64 (fabs.f64 x)) (neg.f64 (fabs.f64 x)))
(*.f64 (neg.f64 (neg.f64 x)) (neg.f64 (neg.f64 x)))
(*.f64 (exp.f64 (log.f64 x)) (exp.f64 (log.f64 x)))
(*.f64 (fabs.f64 x) (*.f64 (fabs.f64 x) #s(literal 1 binary64)))
(*.f64 (fabs.f64 x) (fabs.f64 x))
(*.f64 (neg.f64 x) (*.f64 (neg.f64 x) #s(literal 1 binary64)))
(*.f64 (neg.f64 x) (neg.f64 x))
(*.f64 #s(literal 1 binary64) (*.f64 x x))
(*.f64 (*.f64 x x) #s(literal 1 binary64))
(*.f64 x (*.f64 x #s(literal 1 binary64)))
(*.f64 x x)
(pow.f64 (exp.f64 (log.f64 x)) #s(literal 2 binary64))
(pow.f64 (fabs.f64 x) #s(literal 2 binary64))
(pow.f64 (neg.f64 x) #s(literal 2 binary64))
(pow.f64 (*.f64 x x) #s(literal 1 binary64))
(pow.f64 x #s(literal 2 binary64))
(/.f64 (*.f64 #s(literal 2 binary64) (*.f64 x x)) #s(literal 2 binary64))
(/.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)) #s(literal 2 binary64))
(neg.f64 (*.f64 #s(literal -1 binary64) (*.f64 x x)))
(neg.f64 (*.f64 (*.f64 x x) #s(literal -1 binary64)))
(neg.f64 (*.f64 (neg.f64 x) x))
(fabs.f64 (*.f64 x x))
(exp.f64 (+.f64 #s(literal 0 binary64) (*.f64 (log.f64 x) #s(literal 2 binary64))))
(exp.f64 (fma.f64 (log.f64 x) #s(literal 2 binary64) #s(literal 0 binary64)))
(exp.f64 (*.f64 (log.f64 x) #s(literal 2 binary64)))
(+.f64 (cosh.f64 (*.f64 (log.f64 x) #s(literal 2 binary64))) (sinh.f64 (*.f64 (log.f64 x) #s(literal 2 binary64))))
x
(*.f64 (fabs.f64 (fabs.f64 y)) (fabs.f64 (fabs.f64 y)))
(*.f64 (neg.f64 (fabs.f64 y)) (neg.f64 (fabs.f64 y)))
(*.f64 (neg.f64 (neg.f64 y)) (neg.f64 (neg.f64 y)))
(*.f64 (exp.f64 (log.f64 y)) (exp.f64 (log.f64 y)))
(*.f64 (fabs.f64 y) (fabs.f64 y))
(*.f64 (neg.f64 y) (neg.f64 y))
(*.f64 y y)
(pow.f64 (exp.f64 (log.f64 y)) #s(literal 2 binary64))
(pow.f64 (fabs.f64 y) #s(literal 2 binary64))
(pow.f64 (neg.f64 y) #s(literal 2 binary64))
(pow.f64 (*.f64 y y) #s(literal 1 binary64))
(pow.f64 y #s(literal 2 binary64))
(neg.f64 (*.f64 (neg.f64 y) y))
(fabs.f64 (*.f64 y y))
(exp.f64 (*.f64 (log.f64 y) #s(literal 2 binary64)))
(+.f64 (cosh.f64 (*.f64 (log.f64 y) #s(literal 2 binary64))) (sinh.f64 (*.f64 (log.f64 y) #s(literal 2 binary64))))
y
#s(approx (- (* x x) (* y y)) (*.f64 (neg.f64 y) y))
#s(approx (- (* x x) (* y y)) (*.f64 (-.f64 x y) (+.f64 y x)))
#s(approx (* x x) (*.f64 x x))
#s(approx x x)
#s(approx (- (* x x) (* y y)) (*.f64 (-.f64 #s(literal 1 binary64) (*.f64 y (/.f64 y (*.f64 x x)))) (*.f64 x x)))
#s(approx (- (* x x) (* y y)) (*.f64 (-.f64 x y) (+.f64 y x)))
#s(approx (* y y) (*.f64 y y))
#s(approx y y)
#s(approx (- (* x x) (* y y)) (*.f64 (*.f64 (fma.f64 x (/.f64 x (*.f64 y y)) #s(literal -1 binary64)) y) y))

eval10.0ms (0.9%)

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

Compiled 1 599 to 294 computations (81.6% saved)

prune4.0ms (0.3%)

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

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New1202122
Fresh000
Picked101
Done000
Total1212123
Accuracy
100.0%
Counts
123 → 2
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(*.f64 (-.f64 x y) (+.f64 y x))
55.9%
#s(approx (- (* x x) (* y y)) (*.f64 (neg.f64 y) y))
Compiler

Compiled 19 to 13 computations (31.6% saved)

series59.0ms (5.3%)

Memory
-28.7MiB live, 29.3MiB allocated; 43ms collecting garbage
Counts
8 → 31
Calls
Call 1
Inputs
#s(approx (- (* x x) (* y y)) (*.f64 (neg.f64 y) y))
(*.f64 (neg.f64 y) y)
(neg.f64 y)
y
(*.f64 (-.f64 x y) (+.f64 y x))
(-.f64 x y)
x
(+.f64 y x)
Outputs
#s(approx (- (* x x) (* y y)) #s(hole binary64 (* -1 (pow y 2))))
#s(approx (- (* x x) (* y y)) #s(hole binary64 (- (pow x 2) (pow y 2))))
#s(approx (* (- x y) (+ y x)) #s(hole binary64 (+ (* -1 (pow y 2)) (* x (+ y (* -1 y))))))
#s(approx (* (- x y) (+ y x)) #s(hole binary64 (+ (* -1 (pow y 2)) (* x (+ x (+ y (* -1 y)))))))
#s(approx (- x y) #s(hole binary64 (* -1 y)))
#s(approx (- x y) #s(hole binary64 (- x y)))
#s(approx x #s(hole binary64 x))
#s(approx (+ y x) #s(hole binary64 y))
#s(approx (+ y x) #s(hole binary64 (+ x y)))
#s(approx (- (* x x) (* y y)) #s(hole binary64 (pow x 2)))
#s(approx (- (* x x) (* y y)) #s(hole binary64 (* (pow x 2) (+ 1 (* -1 (/ (pow y 2) (pow x 2)))))))
#s(approx (* (- x y) (+ y x)) #s(hole binary64 (* (pow x 2) (+ 1 (+ (* -1 (/ y x)) (/ y x))))))
#s(approx (* (- x y) (+ y x)) #s(hole binary64 (* (pow x 2) (+ 1 (+ (* -1 (/ y x)) (+ (* -1 (/ (pow y 2) (pow x 2))) (/ y x)))))))
#s(approx (- x y) #s(hole binary64 (* x (+ 1 (* -1 (/ y x))))))
#s(approx (+ y x) #s(hole binary64 (* x (+ 1 (/ y x)))))
#s(approx (* (- x y) (+ y x)) #s(hole binary64 (* (pow x 2) (+ 1 (* -1 (/ (+ (* -1 (+ y (* -1 y))) (/ (pow y 2) x)) x))))))
#s(approx (- x y) #s(hole binary64 (* -1 (* x (- (/ y x) 1)))))
#s(approx (+ y x) #s(hole binary64 (* -1 (* x (- (* -1 (/ y x)) 1)))))
#s(approx (- (* x x) (* y y)) #s(hole binary64 (+ (* -1 (pow y 2)) (pow x 2))))
#s(approx (* (- x y) (+ y x)) #s(hole binary64 (+ (* y (+ x (* -1 x))) (pow x 2))))
#s(approx (* (- x y) (+ y x)) #s(hole binary64 (+ (* y (+ x (+ (* -1 x) (* -1 y)))) (pow x 2))))
#s(approx (- x y) #s(hole binary64 (+ x (* -1 y))))
#s(approx (- (* x x) (* y y)) #s(hole binary64 (* (pow y 2) (- (/ (pow x 2) (pow y 2)) 1))))
#s(approx (* (- x y) (+ y x)) #s(hole binary64 (* (pow y 2) (- (+ (* -1 (/ x y)) (/ x y)) 1))))
#s(approx (* (- x y) (+ y x)) #s(hole binary64 (* (pow y 2) (- (+ (* -1 (/ x y)) (+ (/ x y) (/ (pow x 2) (pow y 2)))) 1))))
#s(approx (- x y) #s(hole binary64 (* y (- (/ x y) 1))))
#s(approx (+ y x) #s(hole binary64 (* y (+ 1 (/ x y)))))
#s(approx (* (- x y) (+ y x)) #s(hole binary64 (* (pow y 2) (- (* -1 (/ (+ x (* -1 x)) y)) 1))))
#s(approx (* (- x y) (+ y x)) #s(hole binary64 (* (pow y 2) (- (* -1 (/ (+ x (+ (* -1 x) (* -1 (/ (pow x 2) y)))) y)) 1))))
#s(approx (- x y) #s(hole binary64 (* -1 (* y (+ 1 (* -1 (/ x y)))))))
#s(approx (+ y x) #s(hole binary64 (* -1 (* y (- (* -1 (/ x y)) 1)))))
Calls

6 calls:

TimeVariablePointExpression
54.0ms
y
@inf
((- (* x x) (* y y)) (* (neg y) y) (neg y) y (* (- x y) (+ y x)) (- x y) x (+ y x))
1.0ms
y
@-inf
((- (* x x) (* y y)) (* (neg y) y) (neg y) y (* (- x y) (+ y x)) (- x y) x (+ y x))
1.0ms
x
@-inf
((- (* x x) (* y y)) (* (neg y) y) (neg y) y (* (- x y) (+ y x)) (- x y) x (+ y x))
1.0ms
x
@0
((- (* x x) (* y y)) (* (neg y) y) (neg y) y (* (- x y) (+ y x)) (- x y) x (+ y x))
1.0ms
x
@inf
((- (* x x) (* y y)) (* (neg y) y) (neg y) y (* (- x y) (+ y x)) (- x y) x (+ y x))

rewrite52.0ms (4.7%)

Memory
31.4MiB live, 73.7MiB allocated; 12ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0134556
0138506
0807497
Stop Event
iter-limit
iter-limit
node-limit
iter-limit
Counts
39 → 72
Calls
Call 1
Inputs
#s(approx (- (* x x) (* y y)) (*.f64 (neg.f64 y) y))
(*.f64 (neg.f64 y) y)
(neg.f64 y)
y
(*.f64 (-.f64 x y) (+.f64 y x))
(-.f64 x y)
x
(+.f64 y x)
#s(approx (- (* x x) (* y y)) #s(hole binary64 (* -1 (pow y 2))))
#s(approx (- (* x x) (* y y)) #s(hole binary64 (- (pow x 2) (pow y 2))))
#s(approx (* (- x y) (+ y x)) #s(hole binary64 (+ (* -1 (pow y 2)) (* x (+ y (* -1 y))))))
#s(approx (* (- x y) (+ y x)) #s(hole binary64 (+ (* -1 (pow y 2)) (* x (+ x (+ y (* -1 y)))))))
#s(approx (- x y) #s(hole binary64 (* -1 y)))
#s(approx (- x y) #s(hole binary64 (- x y)))
#s(approx x #s(hole binary64 x))
#s(approx (+ y x) #s(hole binary64 y))
#s(approx (+ y x) #s(hole binary64 (+ x y)))
#s(approx (- (* x x) (* y y)) #s(hole binary64 (pow x 2)))
#s(approx (- (* x x) (* y y)) #s(hole binary64 (* (pow x 2) (+ 1 (* -1 (/ (pow y 2) (pow x 2)))))))
#s(approx (* (- x y) (+ y x)) #s(hole binary64 (* (pow x 2) (+ 1 (+ (* -1 (/ y x)) (/ y x))))))
#s(approx (* (- x y) (+ y x)) #s(hole binary64 (* (pow x 2) (+ 1 (+ (* -1 (/ y x)) (+ (* -1 (/ (pow y 2) (pow x 2))) (/ y x)))))))
#s(approx (- x y) #s(hole binary64 (* x (+ 1 (* -1 (/ y x))))))
#s(approx (+ y x) #s(hole binary64 (* x (+ 1 (/ y x)))))
#s(approx (* (- x y) (+ y x)) #s(hole binary64 (* (pow x 2) (+ 1 (* -1 (/ (+ (* -1 (+ y (* -1 y))) (/ (pow y 2) x)) x))))))
#s(approx (- x y) #s(hole binary64 (* -1 (* x (- (/ y x) 1)))))
#s(approx (+ y x) #s(hole binary64 (* -1 (* x (- (* -1 (/ y x)) 1)))))
#s(approx (- (* x x) (* y y)) #s(hole binary64 (+ (* -1 (pow y 2)) (pow x 2))))
#s(approx (* (- x y) (+ y x)) #s(hole binary64 (+ (* y (+ x (* -1 x))) (pow x 2))))
#s(approx (* (- x y) (+ y x)) #s(hole binary64 (+ (* y (+ x (+ (* -1 x) (* -1 y)))) (pow x 2))))
#s(approx (- x y) #s(hole binary64 (+ x (* -1 y))))
#s(approx (- (* x x) (* y y)) #s(hole binary64 (* (pow y 2) (- (/ (pow x 2) (pow y 2)) 1))))
#s(approx (* (- x y) (+ y x)) #s(hole binary64 (* (pow y 2) (- (+ (* -1 (/ x y)) (/ x y)) 1))))
#s(approx (* (- x y) (+ y x)) #s(hole binary64 (* (pow y 2) (- (+ (* -1 (/ x y)) (+ (/ x y) (/ (pow x 2) (pow y 2)))) 1))))
#s(approx (- x y) #s(hole binary64 (* y (- (/ x y) 1))))
#s(approx (+ y x) #s(hole binary64 (* y (+ 1 (/ x y)))))
#s(approx (* (- x y) (+ y x)) #s(hole binary64 (* (pow y 2) (- (* -1 (/ (+ x (* -1 x)) y)) 1))))
#s(approx (* (- x y) (+ y x)) #s(hole binary64 (* (pow y 2) (- (* -1 (/ (+ x (+ (* -1 x) (* -1 (/ (pow x 2) y)))) y)) 1))))
#s(approx (- x y) #s(hole binary64 (* -1 (* y (+ 1 (* -1 (/ x y)))))))
#s(approx (+ y x) #s(hole binary64 (* -1 (* y (- (* -1 (/ x y)) 1)))))
Outputs
#s(approx (* (- x y) (+ y x)) (*.f64 (neg.f64 y) y))
(*.f64 (neg.f64 y) y)
(*.f64 (*.f64 y y) #s(literal -1 binary64))
(*.f64 #s(literal -1 binary64) (*.f64 y y))
(*.f64 y (neg.f64 y))
(neg.f64 (*.f64 y y))
(*.f64 #s(literal -1 binary64) y)
(*.f64 y #s(literal -1 binary64))
(neg.f64 y)
y
(*.f64 (+.f64 y x) (-.f64 x y))
(*.f64 (-.f64 x y) (+.f64 y x))
(/.f64 (-.f64 (*.f64 (*.f64 (neg.f64 y) y) (*.f64 (neg.f64 y) y)) (*.f64 (*.f64 x x) (*.f64 x x))) (-.f64 (*.f64 (neg.f64 y) y) (*.f64 x x)))
(/.f64 (-.f64 (*.f64 (*.f64 x x) (*.f64 x x)) (*.f64 (*.f64 y y) (*.f64 y y))) (fma.f64 x x (*.f64 y y)))
(/.f64 (+.f64 (pow.f64 (*.f64 (neg.f64 y) y) #s(literal 3 binary64)) (pow.f64 (*.f64 x x) #s(literal 3 binary64))) (fma.f64 (*.f64 (neg.f64 y) y) (*.f64 (neg.f64 y) y) (-.f64 (*.f64 (*.f64 x x) (*.f64 x x)) (*.f64 (*.f64 (neg.f64 y) y) (*.f64 x x)))))
(/.f64 (-.f64 (pow.f64 (*.f64 x x) #s(literal 3 binary64)) (pow.f64 (*.f64 y y) #s(literal 3 binary64))) (fma.f64 (*.f64 x x) (*.f64 x x) (fma.f64 (*.f64 y y) (*.f64 y y) (*.f64 (*.f64 x x) (*.f64 y y)))))
(fma.f64 (pow.f64 x #s(literal 1 binary64)) (pow.f64 x #s(literal 1 binary64)) (*.f64 (neg.f64 y) y))
(fma.f64 (fabs.f64 x) (fabs.f64 x) (*.f64 (neg.f64 y) y))
(fma.f64 (neg.f64 x) (neg.f64 x) (*.f64 (neg.f64 y) y))
(fma.f64 (neg.f64 y) y (*.f64 x x))
(fma.f64 (-.f64 x y) y (*.f64 (-.f64 x y) x))
(fma.f64 (*.f64 y y) #s(literal -1 binary64) (*.f64 x x))
(fma.f64 #s(literal -1 binary64) (*.f64 y y) (*.f64 x x))
(fma.f64 y (neg.f64 y) (*.f64 x x))
(fma.f64 y (-.f64 x y) (*.f64 x (-.f64 x y)))
(fma.f64 x x (*.f64 (neg.f64 y) y))
(-.f64 (*.f64 x x) (*.f64 y y))
(+.f64 (*.f64 (-.f64 x y) y) (*.f64 (-.f64 x y) x))
(+.f64 (*.f64 y (-.f64 x y)) (*.f64 x (-.f64 x y)))
(+.f64 (*.f64 x x) (*.f64 (neg.f64 y) y))
(+.f64 (*.f64 (neg.f64 y) y) (*.f64 x x))
(/.f64 (-.f64 (pow.f64 x #s(literal 3 binary64)) (pow.f64 y #s(literal 3 binary64))) (fma.f64 x x (fma.f64 y y (*.f64 x y))))
(/.f64 (*.f64 (+.f64 y x) (-.f64 x y)) (+.f64 y x))
(-.f64 x y)
x
(/.f64 (-.f64 (*.f64 y y) (*.f64 x x)) (-.f64 y x))
(/.f64 (+.f64 (pow.f64 y #s(literal 3 binary64)) (pow.f64 x #s(literal 3 binary64))) (fma.f64 y y (-.f64 (*.f64 x x) (*.f64 y x))))
(/.f64 (+.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 (+.f64 y x) (-.f64 x y)) (-.f64 x y))
(+.f64 y x)
(+.f64 x y)
#s(approx (* (- x y) (+ y x)) (*.f64 (neg.f64 y) y))
#s(approx (* (- x y) (+ y x)) (*.f64 (+.f64 y x) (-.f64 x y)))
#s(approx (* (- x y) (+ y x)) (fma.f64 (neg.f64 y) y (*.f64 (*.f64 #s(literal 0 binary64) y) x)))
#s(approx (* (- x y) (+ y x)) (fma.f64 (neg.f64 y) y (*.f64 (fma.f64 #s(literal 0 binary64) y x) x)))
#s(approx (- x y) (neg.f64 y))
#s(approx (- x y) (-.f64 x y))
#s(approx x x)
#s(approx (+ y x) y)
#s(approx (+ y x) (+.f64 y x))
#s(approx (* (- x y) (+ y x)) (*.f64 x x))
#s(approx (* (- x y) (+ y x)) (*.f64 (+.f64 (/.f64 (*.f64 (neg.f64 y) y) (*.f64 x x)) #s(literal 1 binary64)) (*.f64 x x)))
#s(approx (* (- x y) (+ y x)) (*.f64 (fma.f64 #s(literal 0 binary64) (/.f64 y x) #s(literal 1 binary64)) (*.f64 x x)))
#s(approx (* (- x y) (+ y x)) (*.f64 (+.f64 (+.f64 (+.f64 (/.f64 (neg.f64 y) x) (/.f64 (*.f64 (neg.f64 y) y) (*.f64 x x))) (/.f64 y x)) #s(literal 1 binary64)) (*.f64 x x)))
#s(approx (- x y) (*.f64 (+.f64 (/.f64 (neg.f64 y) x) #s(literal 1 binary64)) x))
#s(approx (+ y x) (*.f64 (+.f64 (/.f64 y x) #s(literal 1 binary64)) x))
#s(approx (* (- x y) (+ y x)) (*.f64 (+.f64 (neg.f64 (/.f64 (+.f64 (/.f64 (*.f64 y y) x) (neg.f64 (*.f64 #s(literal 0 binary64) y))) x)) #s(literal 1 binary64)) (*.f64 x x)))
#s(approx (- x y) (*.f64 (neg.f64 x) (-.f64 (/.f64 y x) #s(literal 1 binary64))))
#s(approx (+ y x) (*.f64 (neg.f64 x) (-.f64 (/.f64 (neg.f64 y) x) #s(literal 1 binary64))))
#s(approx (* (- x y) (+ y x)) (*.f64 (+.f64 y x) (-.f64 x y)))
#s(approx (* (- x y) (+ y x)) (fma.f64 (*.f64 #s(literal 0 binary64) x) y (*.f64 x x)))
#s(approx (* (- x y) (+ y x)) (fma.f64 (fma.f64 #s(literal 0 binary64) x (neg.f64 y)) y (*.f64 x x)))
#s(approx (- x y) (+.f64 (neg.f64 y) x))
#s(approx (* (- x y) (+ y x)) (*.f64 (-.f64 (/.f64 (*.f64 x x) (*.f64 y y)) #s(literal 1 binary64)) (*.f64 y y)))
#s(approx (* (- x y) (+ y x)) (*.f64 (-.f64 (*.f64 #s(literal 0 binary64) (/.f64 x y)) #s(literal 1 binary64)) (*.f64 y y)))
#s(approx (* (- x y) (+ y x)) (*.f64 (-.f64 (fma.f64 #s(literal 0 binary64) (/.f64 x y) (/.f64 (*.f64 x x) (*.f64 y y))) #s(literal 1 binary64)) (*.f64 y y)))
#s(approx (- x y) (*.f64 (-.f64 (/.f64 x y) #s(literal 1 binary64)) y))
#s(approx (+ y x) (*.f64 (+.f64 (/.f64 x y) #s(literal 1 binary64)) y))
#s(approx (* (- x y) (+ y x)) (*.f64 (-.f64 (neg.f64 (*.f64 #s(literal 0 binary64) (/.f64 x y))) #s(literal 1 binary64)) (*.f64 y y)))
#s(approx (* (- x y) (+ y x)) (*.f64 (-.f64 (neg.f64 (/.f64 (fma.f64 #s(literal 0 binary64) x (neg.f64 (/.f64 (*.f64 x x) y))) y)) #s(literal 1 binary64)) (*.f64 y y)))
#s(approx (- x y) (*.f64 (neg.f64 y) (+.f64 (/.f64 (neg.f64 x) y) #s(literal 1 binary64))))
#s(approx (+ y x) (*.f64 (neg.f64 y) (-.f64 (/.f64 (neg.f64 x) y) #s(literal 1 binary64))))

eval10.0ms (0.9%)

Memory
-24.8MiB live, 19.1MiB allocated; 6ms collecting garbage
Compiler

Compiled 959 to 218 computations (77.3% saved)

prune3.0ms (0.2%)

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

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New61263
Fresh000
Picked022
Done000
Total61465
Accuracy
100.0%
Counts
65 → 4
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(*.f64 (-.f64 x y) (+.f64 y x))
55.3%
(*.f64 #s(approx (- x y) (neg.f64 y)) (+.f64 y x))
55.9%
#s(approx (- (* x x) (* y y)) (*.f64 (neg.f64 y) y))
54.4%
#s(approx (* (- x y) (+ y x)) (*.f64 x x))
Compiler

Compiled 40 to 27 computations (32.5% saved)

series3.0ms (0.3%)

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

6 calls:

TimeVariablePointExpression
1.0ms
x
@-inf
((* (- x y) (+ y x)) (* x x) x (* (- x y) (+ y x)) (- x y) (neg y) y (+ y x))
1.0ms
x
@inf
((* (- x y) (+ y x)) (* x x) x (* (- x y) (+ y x)) (- x y) (neg y) y (+ y x))
0.0ms
y
@-inf
((* (- x y) (+ y x)) (* x x) x (* (- x y) (+ y x)) (- x y) (neg y) y (+ y x))
0.0ms
y
@inf
((* (- x y) (+ y x)) (* x x) x (* (- x y) (+ y x)) (- x y) (neg y) y (+ y x))
0.0ms
x
@0
((* (- x y) (+ y x)) (* x x) x (* (- x y) (+ y x)) (- x y) (neg y) y (+ y x))

rewrite55.0ms (4.9%)

Memory
-34.8MiB live, 61.3MiB allocated; 26ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0122480
0127433
0739424
Stop Event
iter-limit
iter-limit
node-limit
iter-limit
Counts
35 → 52
Calls
Call 1
Inputs
#s(approx (* (- x y) (+ y x)) (*.f64 x x))
(*.f64 x x)
x
(*.f64 #s(approx (- x y) (neg.f64 y)) (+.f64 y x))
#s(approx (- x y) (neg.f64 y))
(neg.f64 y)
y
(+.f64 y x)
#s(approx (* (- x y) (+ y x)) #s(hole binary64 (* -1 (pow y 2))))
#s(approx (* (- x y) (+ y x)) #s(hole binary64 (+ (* -1 (pow y 2)) (* x (+ y (* -1 y))))))
#s(approx (* (- x y) (+ y x)) #s(hole binary64 (+ (* -1 (pow y 2)) (* x (+ x (+ y (* -1 y)))))))
#s(approx (* x x) #s(hole binary64 (pow x 2)))
#s(approx x #s(hole binary64 x))
#s(approx (- x y) #s(hole binary64 (* -1 y)))
#s(approx (- x y) #s(hole binary64 (- x y)))
#s(approx (+ y x) #s(hole binary64 y))
#s(approx (+ y x) #s(hole binary64 (+ x y)))
#s(approx (* (- x y) (+ y x)) #s(hole binary64 (* (pow x 2) (+ 1 (+ (* -1 (/ y x)) (/ y x))))))
#s(approx (* (- x y) (+ y x)) #s(hole binary64 (* (pow x 2) (+ 1 (+ (* -1 (/ y x)) (+ (* -1 (/ (pow y 2) (pow x 2))) (/ y x)))))))
#s(approx (- x y) #s(hole binary64 (* x (+ 1 (* -1 (/ y x))))))
#s(approx (+ y x) #s(hole binary64 (* x (+ 1 (/ y x)))))
#s(approx (* (- x y) (+ y x)) #s(hole binary64 (* (pow x 2) (+ 1 (* -1 (/ (+ (* -1 (+ y (* -1 y))) (/ (pow y 2) x)) x))))))
#s(approx (- x y) #s(hole binary64 (* -1 (* x (- (/ y x) 1)))))
#s(approx (+ y x) #s(hole binary64 (* -1 (* x (- (* -1 (/ y x)) 1)))))
#s(approx (* (- x y) (+ y x)) #s(hole binary64 (+ (* y (+ x (* -1 x))) (pow x 2))))
#s(approx (* (- x y) (+ y x)) #s(hole binary64 (+ (* y (+ x (+ (* -1 x) (* -1 y)))) (pow x 2))))
#s(approx (- x y) #s(hole binary64 (+ x (* -1 y))))
#s(approx (* (- x y) (+ y x)) #s(hole binary64 (* (pow y 2) (- (+ (* -1 (/ x y)) (/ x y)) 1))))
#s(approx (* (- x y) (+ y x)) #s(hole binary64 (* (pow y 2) (- (+ (* -1 (/ x y)) (+ (/ x y) (/ (pow x 2) (pow y 2)))) 1))))
#s(approx (- x y) #s(hole binary64 (* y (- (/ x y) 1))))
#s(approx (+ y x) #s(hole binary64 (* y (+ 1 (/ x y)))))
#s(approx (* (- x y) (+ y x)) #s(hole binary64 (* (pow y 2) (- (* -1 (/ (+ x (* -1 x)) y)) 1))))
#s(approx (* (- x y) (+ y x)) #s(hole binary64 (* (pow y 2) (- (* -1 (/ (+ x (+ (* -1 x) (* -1 (/ (pow x 2) y)))) y)) 1))))
#s(approx (- x y) #s(hole binary64 (* -1 (* y (+ 1 (* -1 (/ x y)))))))
#s(approx (+ y x) #s(hole binary64 (* -1 (* y (- (* -1 (/ x y)) 1)))))
Outputs
#s(approx (* (- x y) (+ y x)) (*.f64 x x))
(*.f64 (pow.f64 x #s(literal 1 binary64)) (pow.f64 x #s(literal 1 binary64)))
(*.f64 (fabs.f64 x) (fabs.f64 x))
(*.f64 (neg.f64 x) (neg.f64 x))
(*.f64 x x)
(pow.f64 x #s(literal 2 binary64))
(exp.f64 (*.f64 (log.f64 x) #s(literal 2 binary64)))
x
(*.f64 #s(approx (- x y) (neg.f64 y)) (+.f64 y x))
(*.f64 (+.f64 y x) #s(approx (- x y) (neg.f64 y)))
(fma.f64 #s(approx (- x y) (neg.f64 y)) y (*.f64 #s(approx (- x y) (neg.f64 y)) x))
(fma.f64 y #s(approx (- x y) (neg.f64 y)) (*.f64 x #s(approx (- x y) (neg.f64 y))))
(+.f64 (*.f64 #s(approx (- x y) (neg.f64 y)) y) (*.f64 #s(approx (- x y) (neg.f64 y)) x))
(+.f64 (*.f64 y #s(approx (- x y) (neg.f64 y))) (*.f64 x #s(approx (- x y) (neg.f64 y))))
#s(approx (- x y) (neg.f64 y))
(*.f64 #s(literal -1 binary64) y)
(*.f64 y #s(literal -1 binary64))
(neg.f64 y)
y
(/.f64 (-.f64 (*.f64 y y) (*.f64 x x)) (-.f64 y x))
(/.f64 (-.f64 (*.f64 x x) (*.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 (+.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 y x)
(+.f64 x y)
#s(approx (* (- x y) (+ y x)) (neg.f64 (*.f64 y y)))
#s(approx (* (- x y) (+ y x)) (fma.f64 (*.f64 #s(literal 0 binary64) y) x (neg.f64 (*.f64 y y))))
#s(approx (* (- x y) (+ y x)) (fma.f64 (fma.f64 #s(literal 0 binary64) y x) x (neg.f64 (*.f64 y y))))
#s(approx (* x x) (*.f64 x x))
#s(approx x x)
#s(approx (- x y) (neg.f64 y))
#s(approx (- x y) (-.f64 x y))
#s(approx (+ y x) y)
#s(approx (+ y x) (+.f64 y x))
#s(approx (* (- x y) (+ y x)) (*.f64 (fma.f64 #s(literal 0 binary64) (/.f64 y x) #s(literal 1 binary64)) (*.f64 x x)))
#s(approx (* (- x y) (+ y x)) (*.f64 (+.f64 (+.f64 (+.f64 (/.f64 (neg.f64 y) x) (/.f64 (neg.f64 (*.f64 y y)) (*.f64 x x))) (/.f64 y x)) #s(literal 1 binary64)) (*.f64 x x)))
#s(approx (- x y) (*.f64 (+.f64 (/.f64 (neg.f64 y) x) #s(literal 1 binary64)) x))
#s(approx (+ y x) (*.f64 (+.f64 (/.f64 y x) #s(literal 1 binary64)) x))
#s(approx (* (- x y) (+ y x)) (*.f64 (+.f64 (neg.f64 (/.f64 (+.f64 (/.f64 (*.f64 y y) x) (neg.f64 (*.f64 #s(literal 0 binary64) y))) x)) #s(literal 1 binary64)) (*.f64 x x)))
#s(approx (- x y) (*.f64 (neg.f64 x) (-.f64 (/.f64 y x) #s(literal 1 binary64))))
#s(approx (+ y x) (*.f64 (neg.f64 x) (-.f64 (/.f64 (neg.f64 y) x) #s(literal 1 binary64))))
#s(approx (* (- x y) (+ y x)) (fma.f64 (*.f64 #s(literal 0 binary64) x) y (*.f64 x x)))
#s(approx (* (- x y) (+ y x)) (fma.f64 (fma.f64 #s(literal 0 binary64) x (neg.f64 y)) y (*.f64 x x)))
#s(approx (- x y) (+.f64 (neg.f64 y) x))
#s(approx (* (- x y) (+ y x)) (*.f64 (-.f64 (*.f64 #s(literal 0 binary64) (/.f64 x y)) #s(literal 1 binary64)) (*.f64 y y)))
#s(approx (* (- x y) (+ y x)) (*.f64 (-.f64 (fma.f64 #s(literal 0 binary64) (/.f64 x y) (/.f64 (*.f64 x x) (*.f64 y y))) #s(literal 1 binary64)) (*.f64 y y)))
#s(approx (- x y) (*.f64 (-.f64 (/.f64 x y) #s(literal 1 binary64)) y))
#s(approx (+ y x) (*.f64 (+.f64 (/.f64 x y) #s(literal 1 binary64)) y))
#s(approx (* (- x y) (+ y x)) (*.f64 (-.f64 (neg.f64 (*.f64 #s(literal 0 binary64) (/.f64 x y))) #s(literal 1 binary64)) (*.f64 y y)))
#s(approx (* (- x y) (+ y x)) (*.f64 (-.f64 (neg.f64 (/.f64 (fma.f64 #s(literal 0 binary64) x (neg.f64 (/.f64 (*.f64 x x) y))) y)) #s(literal 1 binary64)) (*.f64 y y)))
#s(approx (- x y) (*.f64 (neg.f64 y) (+.f64 (/.f64 (neg.f64 x) y) #s(literal 1 binary64))))
#s(approx (+ y x) (*.f64 (neg.f64 y) (-.f64 (/.f64 (neg.f64 x) y) #s(literal 1 binary64))))

eval10.0ms (0.9%)

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

Compiled 738 to 174 computations (76.4% saved)

prune3.0ms (0.2%)

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

4 alts after pruning (0 fresh and 4 done)

PrunedKeptTotal
New44044
Fresh000
Picked022
Done022
Total44448
Accuracy
100.0%
Counts
48 → 4
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(*.f64 (-.f64 x y) (+.f64 y x))
55.3%
(*.f64 #s(approx (- x y) (neg.f64 y)) (+.f64 y x))
55.9%
#s(approx (- (* x x) (* y y)) (*.f64 (neg.f64 y) y))
54.4%
#s(approx (* (- x y) (+ y x)) (*.f64 x x))
Compiler

Compiled 87 to 47 computations (46% saved)

regimes12.0ms (1.1%)

Memory
-12.0MiB live, 33.4MiB allocated; 5ms collecting garbage
Counts
5 → 1
Calls
Call 1
Inputs
#s(approx (* (- x y) (+ y x)) (*.f64 x x))
#s(approx (- (* x x) (* y y)) (*.f64 (neg.f64 y) y))
(*.f64 #s(approx (- x y) (neg.f64 y)) (+.f64 y x))
(*.f64 (-.f64 x y) (+.f64 y x))
(-.f64 (*.f64 x x) (*.f64 y y))
Outputs
(*.f64 (-.f64 x y) (+.f64 y x))
Calls

5 calls:

5.0ms
y
2.0ms
x
2.0ms
(-.f64 (*.f64 x x) (*.f64 y y))
2.0ms
(*.f64 y y)
2.0ms
(*.f64 x x)
Results
AccuracySegmentsBranch
100.0%1(*.f64 y y)
100.0%1(*.f64 x x)
100.0%1(-.f64 (*.f64 x x) (*.f64 y y))
100.0%1x
100.0%1y
Compiler

Compiled 15 to 15 computations (0% saved)

regimes10.0ms (0.9%)

Memory
-21.3MiB live, 25.3MiB allocated; 3ms collecting garbage
Counts
3 → 2
Calls
Call 1
Inputs
#s(approx (* (- x y) (+ y x)) (*.f64 x x))
#s(approx (- (* x x) (* y y)) (*.f64 (neg.f64 y) y))
(*.f64 #s(approx (- x y) (neg.f64 y)) (+.f64 y x))
Outputs
#s(approx (- (* x x) (* y y)) (*.f64 (neg.f64 y) y))
#s(approx (* (- x y) (+ y x)) (*.f64 x x))
Calls

5 calls:

4.0ms
(*.f64 y y)
1.0ms
x
1.0ms
y
1.0ms
(-.f64 (*.f64 x x) (*.f64 y y))
1.0ms
(*.f64 x x)
Results
AccuracySegmentsBranch
83.4%2(*.f64 y y)
81.3%2(*.f64 x x)
96.8%2(-.f64 (*.f64 x x) (*.f64 y y))
81.3%2x
83.4%2y
Compiler

Compiled 15 to 15 computations (0% saved)

regimes5.0ms (0.4%)

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

Total -0.0b remaining (-0%)

Threshold costs -0b (-0%)

Counts
1 → 1
Calls
Call 1
Inputs
#s(approx (* (- x y) (+ y x)) (*.f64 x x))
Outputs
#s(approx (* (- x y) (+ y x)) (*.f64 x x))
Calls

5 calls:

1.0ms
(*.f64 x x)
1.0ms
y
1.0ms
x
1.0ms
(-.f64 (*.f64 x x) (*.f64 y y))
1.0ms
(*.f64 y y)
Results
AccuracySegmentsBranch
54.4%1(*.f64 x x)
54.4%1x
54.4%1(*.f64 y y)
54.4%1y
54.4%1(-.f64 (*.f64 x x) (*.f64 y y))
Compiler

Compiled 15 to 15 computations (0% saved)

bsearch0.0ms (0%)

Memory
1.0MiB live, 1.0MiB allocated; 0ms collecting garbage
Algorithm
left-value
Steps
TimeLeftRight
0.0ms
-6.95920679e-315
0.0
Compiler

Compiled 10 to 10 computations (0% saved)

derivations18.0ms (1.6%)

Memory
-15.1MiB live, 30.3MiB allocated; 5ms collecting garbage
Stop Event
done
Compiler

Compiled 51 to 21 computations (58.8% saved)

preprocess65.0ms (5.9%)

Memory
4.3MiB live, 52.7MiB allocated; 14ms collecting garbage
Remove

(abs y)

(abs x)

Compiler

Compiled 262 to 146 computations (44.3% saved)

end0.0ms (0%)

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

Profiling

Loading profile data...