Examples.Basics.BasicTests:f2 from sbv-4.4

Time bar (total: 1.3s)

start0.0ms (0%)

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

analyze0.0ms (0%)

Memory
0.3MiB live, 0.3MiB 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)

sample688.0ms (54.7%)

Memory
6.0MiB live, 770.7MiB allocated; 263ms collecting garbage
Samples
501.0ms8 256×0valid
Precisions
Click to see histograms. Total time spent on operations: 197.0ms
ival-mult!: 175.0ms (88.8% of total)
ival-sub!: 21.0ms (10.7% of total)
adjust: 2.0ms (1% of total)
Bogosity

preprocess48.0ms (3.8%)

Memory
-14.6MiB live, 32.5MiB allocated; 3ms collecting garbage
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01445
15142
222342
338642
495042
5195542
6295942
7329942
8337742
9337742
10357042
Stop Event
saturated
Alt Table
Click to see full alt table
StatusAccuracyProgram
94.5%
(-.f64 (*.f64 x x) (*.f64 y y))
Symmetry

(abs x)

(abs y)

Compiler

Compiled 10 to 10 computations (0% saved)

series4.0ms (0.3%)

Memory
9.1MiB live, 9.1MiB allocated; 0ms collecting garbage
Counts
5 → 10
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)))
#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
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)
1.0ms
x
@0
((- (* x x) (* y y)) (* x x) x (* y y) y)

rewrite72.0ms (5.7%)

Memory
3.5MiB live, 101.0MiB allocated; 15ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
033135
034131
1134130
01189129
Stop Event
iter-limit
iter-limit
node-limit
iter-limit
Counts
15 → 129
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)))
#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 (neg.f64 x) (neg.f64 y)) (-.f64 (neg.f64 x) (neg.f64 y)))
(*.f64 (+.f64 (neg.f64 x) (fabs.f64 y)) (-.f64 (neg.f64 x) (fabs.f64 y)))
(*.f64 (+.f64 (neg.f64 x) y) (-.f64 (neg.f64 x) y))
(*.f64 (+.f64 (fabs.f64 x) (neg.f64 y)) (-.f64 (fabs.f64 x) (neg.f64 y)))
(*.f64 (+.f64 (fabs.f64 x) (fabs.f64 y)) (-.f64 (fabs.f64 x) (fabs.f64 y)))
(*.f64 (+.f64 (fabs.f64 x) y) (-.f64 (fabs.f64 x) y))
(*.f64 (+.f64 x (neg.f64 y)) (-.f64 x (neg.f64 y)))
(*.f64 (+.f64 x (fabs.f64 y)) (-.f64 x (fabs.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 (fma.f64 y y (*.f64 x x)) (*.f64 (-.f64 x y) (+.f64 y x))) (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 (*.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)))))
(/.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)))))
(fma.f64 (*.f64 #s(literal -1 binary64) (neg.f64 y)) (neg.f64 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) y) y (*.f64 x x))
(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 (fabs.f64 x) #s(literal 1 binary64)) (*.f64 (fabs.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 (*.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) (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) 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 (neg.f64 (neg.f64 y)) (neg.f64 y) (*.f64 x x))
(fma.f64 (neg.f64 (fabs.f64 y)) (fabs.f64 y) (*.f64 x x))
(fma.f64 (neg.f64 (neg.f64 x)) (neg.f64 (neg.f64 x)) (*.f64 (neg.f64 y) y))
(fma.f64 (neg.f64 (fabs.f64 x)) (neg.f64 (fabs.f64 x)) (*.f64 (neg.f64 y) y))
(fma.f64 (fabs.f64 (fabs.f64 x)) (fabs.f64 (fabs.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 (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 (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 #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 (neg.f64 (neg.f64 y)) y))
(-.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 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 (neg.f64 x) #s(literal 1 binary64)) (*.f64 (neg.f64 x) #s(literal 1 binary64)))
(*.f64 (*.f64 (fabs.f64 x) #s(literal 1 binary64)) (*.f64 (fabs.f64 x) #s(literal 1 binary64)))
(*.f64 (*.f64 x #s(literal 1 binary64)) (*.f64 x #s(literal 1 binary64)))
(*.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) (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) x) (*.f64 #s(literal 1 binary64) x))
(*.f64 (*.f64 #s(literal 1 binary64) x) x)
(*.f64 (neg.f64 (neg.f64 x)) (neg.f64 (neg.f64 x)))
(*.f64 (neg.f64 (fabs.f64 x)) (neg.f64 (fabs.f64 x)))
(*.f64 (fabs.f64 (fabs.f64 x)) (fabs.f64 (fabs.f64 x)))
(*.f64 (exp.f64 (log.f64 x)) (exp.f64 (log.f64 x)))
(*.f64 (neg.f64 x) (*.f64 (neg.f64 x) #s(literal 1 binary64)))
(*.f64 (neg.f64 x) (neg.f64 x))
(*.f64 (fabs.f64 x) (*.f64 (fabs.f64 x) #s(literal 1 binary64)))
(*.f64 (fabs.f64 x) (fabs.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 (neg.f64 x) #s(literal 2 binary64))
(pow.f64 (fabs.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 (*.f64 x x) #s(literal -1 binary64)))
(neg.f64 (*.f64 #s(literal -1 binary64) (*.f64 x x)))
(neg.f64 (*.f64 (neg.f64 x) x))
(fabs.f64 (*.f64 x x))
(exp.f64 (fma.f64 (log.f64 x) #s(literal 2 binary64) #s(literal 0 binary64)))
(exp.f64 (+.f64 #s(literal 0 binary64) (*.f64 (log.f64 x) #s(literal 2 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 (neg.f64 (neg.f64 y)) (neg.f64 (neg.f64 y)))
(*.f64 (neg.f64 (fabs.f64 y)) (neg.f64 (fabs.f64 y)))
(*.f64 (fabs.f64 (fabs.f64 y)) (fabs.f64 (fabs.f64 y)))
(*.f64 (exp.f64 (log.f64 y)) (exp.f64 (log.f64 y)))
(*.f64 (neg.f64 y) (neg.f64 y))
(*.f64 (fabs.f64 y) (fabs.f64 y))
(*.f64 y y)
(pow.f64 (exp.f64 (log.f64 y)) #s(literal 2 binary64))
(pow.f64 (neg.f64 y) #s(literal 2 binary64))
(pow.f64 (fabs.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 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))

eval11.0ms (0.9%)

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

Compiled 778 to 299 computations (61.6% saved)

prune6.0ms (0.5%)

Memory
-37.8MiB live, 8.6MiB allocated; 5ms collecting garbage
Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New1223125
Fresh000
Picked101
Done000
Total1233126
Accuracy
100.0%
Counts
126 → 3
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(*.f64 (-.f64 x y) (+.f64 y x))
55.6%
#s(approx (- (* x x) (* y y)) (*.f64 (neg.f64 y) y))
50.7%
#s(approx (- (* x x) (* y y)) (*.f64 x x))
Compiler

Compiled 20 to 20 computations (0% saved)

series7.0ms (0.5%)

Memory
17.7MiB live, 17.7MiB allocated; 0ms collecting garbage
Counts
10 → 39
Calls
Call 1
Inputs
#s(approx (- (* x x) (* y y)) (*.f64 x x))
(*.f64 x x)
x
#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)
(+.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 x) #s(hole binary64 (pow x 2)))
#s(approx x #s(hole binary64 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 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 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)))
#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))
#s(approx (- x y) #s(hole binary64 (* x (+ 1 (* -1 (/ y x))))))
#s(approx (+ y x) #s(hole binary64 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 (* (neg y) y) #s(hole binary64 (* -1 (pow y 2))))
#s(approx (neg y) #s(hole binary64 (* -1 y)))
#s(approx y #s(hole binary64 y))
#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
1.0ms
y
@-inf
((- (* x x) (* y y)) (* x x) x (- (* x x) (* y y)) (* (neg y) y) (neg y) y (* (- x y) (+ y x)) (- x y) (+ y x))
1.0ms
x
@-inf
((- (* x x) (* y y)) (* x x) x (- (* x x) (* y y)) (* (neg y) y) (neg y) y (* (- x y) (+ y x)) (- x y) (+ y x))
1.0ms
y
@inf
((- (* x x) (* y y)) (* x x) x (- (* x x) (* y y)) (* (neg y) y) (neg y) y (* (- x y) (+ y x)) (- x y) (+ y x))
1.0ms
x
@inf
((- (* x x) (* y y)) (* x x) x (- (* x x) (* y y)) (* (neg y) y) (neg y) y (* (- x y) (+ y x)) (- x y) (+ y x))
1.0ms
x
@0
((- (* x x) (* y y)) (* x x) x (- (* x x) (* y y)) (* (neg y) y) (neg y) y (* (- x y) (+ y x)) (- x y) (+ y x))

rewrite76.0ms (6%)

Memory
5.3MiB live, 52.0MiB allocated; 5ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0146630
0152577
0821568
Stop Event
iter-limit
iter-limit
node-limit
iter-limit
Counts
49 → 87
Calls
Call 1
Inputs
#s(approx (- (* x x) (* y y)) (*.f64 x x))
(*.f64 x x)
x
#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)
(+.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 x) #s(hole binary64 (pow x 2)))
#s(approx x #s(hole binary64 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 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 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)))
#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))
#s(approx (- x y) #s(hole binary64 (* x (+ 1 (* -1 (/ y x))))))
#s(approx (+ y x) #s(hole binary64 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 (* (neg y) y) #s(hole binary64 (* -1 (pow y 2))))
#s(approx (neg y) #s(hole binary64 (* -1 y)))
#s(approx y #s(hole binary64 y))
#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 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
#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 x x) (*.f64 x x)) (*.f64 (*.f64 y y) (*.f64 y y))) (fma.f64 x x (*.f64 y y)))
(/.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 (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)))))
(/.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)))))
(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 y (-.f64 x y)) (*.f64 x (-.f64 x y)))
(+.f64 (*.f64 (-.f64 x y) y) (*.f64 (-.f64 x y) x))
(+.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)
(/.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 x) (*.f64 x x))
#s(approx x x)
#s(approx (* (- x y) (+ y x)) (*.f64 (neg.f64 y) 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 (+ 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 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) x)
#s(approx (- x y) (*.f64 (+.f64 (/.f64 (neg.f64 y) x) #s(literal 1 binary64)) x))
#s(approx (+ y x) 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 (* (neg y) y) (*.f64 (neg.f64 y) y))
#s(approx (neg y) (neg.f64 y))
#s(approx y 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))))

eval7.0ms (0.6%)

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

Compiled 493 to 259 computations (47.5% saved)

prune6.0ms (0.5%)

Memory
-37.4MiB live, 8.8MiB allocated; 4ms collecting garbage
Pruning

5 alts after pruning (2 fresh and 3 done)

PrunedKeptTotal
New78280
Fresh000
Picked033
Done000
Total78583
Accuracy
100.0%
Counts
83 → 5
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(*.f64 (-.f64 x y) (+.f64 y x))
63.0%
(*.f64 (-.f64 x y) #s(approx (+ y x) y))
56.0%
(*.f64 (-.f64 x y) #s(approx (+ y x) x))
55.6%
#s(approx (- (* x x) (* y y)) (*.f64 (neg.f64 y) y))
50.7%
#s(approx (- (* x x) (* y y)) (*.f64 x x))
Compiler

Compiled 32 to 32 computations (0% saved)

series3.0ms (0.2%)

Memory
5.6MiB live, 5.6MiB allocated; 0ms collecting garbage
Counts
7 → 30
Calls
Call 1
Inputs
(*.f64 (-.f64 x y) #s(approx (+ y x) x))
(-.f64 x y)
x
y
#s(approx (+ y x) x)
(*.f64 (-.f64 x y) #s(approx (+ y x) y))
#s(approx (+ y x) y)
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 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 y) (+ y x)) #s(hole binary64 (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))
#s(approx (- x y) #s(hole binary64 (* x (+ 1 (* -1 (/ y x))))))
#s(approx (+ y x) #s(hole binary64 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 y #s(hole binary64 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
0.0ms
x
@-inf
((* (- x y) (+ y x)) (- x y) x y (+ y x) (* (- x y) (+ y x)) (+ y x))
0.0ms
y
@-inf
((* (- x y) (+ y x)) (- x y) x y (+ y x) (* (- x y) (+ y x)) (+ y x))
0.0ms
y
@inf
((* (- x y) (+ y x)) (- x y) x y (+ y x) (* (- x y) (+ y x)) (+ y x))
0.0ms
x
@inf
((* (- x y) (+ y x)) (- x y) x y (+ y x) (* (- x y) (+ y x)) (+ y x))
0.0ms
x
@0
((* (- x y) (+ y x)) (- x y) x y (+ y x) (* (- x y) (+ y x)) (+ y x))

rewrite76.0ms (6%)

Memory
8.1MiB live, 71.5MiB allocated; 22ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0121493
0127446
0725437
Stop Event
iter-limit
iter-limit
node-limit
iter-limit
Counts
37 → 41
Calls
Call 1
Inputs
(*.f64 (-.f64 x y) #s(approx (+ y x) x))
(-.f64 x y)
x
y
#s(approx (+ y x) x)
(*.f64 (-.f64 x y) #s(approx (+ y x) y))
#s(approx (+ y x) y)
#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 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 y) (+ y x)) #s(hole binary64 (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))
#s(approx (- x y) #s(hole binary64 (* x (+ 1 (* -1 (/ y x))))))
#s(approx (+ y x) #s(hole binary64 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 y #s(hole binary64 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
(*.f64 (-.f64 x y) #s(approx (+ y x) x))
(*.f64 #s(approx (+ y x) x) (-.f64 x y))
(/.f64 (-.f64 (*.f64 x x) (*.f64 y y)) (+.f64 y 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 x y)
x
y
#s(approx (+ y x) x)
(*.f64 (-.f64 x y) #s(approx (+ y x) y))
(*.f64 #s(approx (+ y x) y) (-.f64 x y))
#s(approx (+ y 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 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 (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) x)
#s(approx (- x y) (*.f64 (+.f64 (/.f64 (neg.f64 y) x) #s(literal 1 binary64)) x))
#s(approx (+ y x) 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 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))))

eval4.0ms (0.3%)

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

Compiled 308 to 151 computations (51% saved)

prune34.0ms (2.7%)

Memory
-41.5MiB live, 6.2MiB allocated; 2ms collecting garbage
Pruning

7 alts after pruning (2 fresh and 5 done)

PrunedKeptTotal
New44246
Fresh000
Picked022
Done033
Total44751
Accuracy
100.0%
Counts
51 → 7
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(*.f64 (-.f64 x y) (+.f64 y x))
63.0%
(*.f64 (-.f64 x y) #s(approx (+ y x) y))
56.0%
(*.f64 (-.f64 x y) #s(approx (+ y x) x))
12.4%
(*.f64 #s(approx (- x y) (neg.f64 y)) #s(approx (+ y x) x))
14.8%
(*.f64 #s(approx (- x y) x) #s(approx (+ y x) y))
55.6%
#s(approx (- (* x x) (* y y)) (*.f64 (neg.f64 y) y))
50.7%
#s(approx (- (* x x) (* y y)) (*.f64 x x))
Compiler

Compiled 47 to 47 computations (0% saved)

series4.0ms (0.3%)

Memory
10.2MiB live, 10.2MiB allocated; 0ms collecting garbage
Counts
9 → 31
Calls
Call 1
Inputs
(*.f64 #s(approx (- x y) x) #s(approx (+ y x) y))
#s(approx (- x y) x)
x
#s(approx (+ y x) y)
y
(*.f64 #s(approx (- x y) (neg.f64 y)) #s(approx (+ y x) x))
#s(approx (- x y) (neg.f64 y))
(neg.f64 y)
#s(approx (+ y x) 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 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 y) (+ y x)) #s(hole binary64 (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))
#s(approx (- x y) #s(hole binary64 (* x (+ 1 (* -1 (/ y x))))))
#s(approx (+ y x) #s(hole binary64 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 y #s(hole binary64 y))
#s(approx (neg y) #s(hole binary64 (* -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
2.0ms
x
@inf
((* (- x y) (+ y x)) (- x y) x (+ y x) y (* (- x y) (+ y x)) (- x y) (neg y) (+ y x))
1.0ms
y
@-inf
((* (- x y) (+ y x)) (- x y) x (+ y x) y (* (- x y) (+ y x)) (- x y) (neg y) (+ y x))
1.0ms
x
@-inf
((* (- x y) (+ y x)) (- x y) x (+ y x) y (* (- x y) (+ y x)) (- x y) (neg y) (+ y x))
0.0ms
y
@inf
((* (- x y) (+ y x)) (- x y) x (+ y x) y (* (- x y) (+ y x)) (- x y) (neg y) (+ y x))
0.0ms
x
@0
((* (- x y) (+ y x)) (- x y) x (+ y x) y (* (- x y) (+ y x)) (- x y) (neg y) (+ y x))

rewrite46.0ms (3.7%)

Memory
18.6MiB live, 63.6MiB allocated; 4ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0124514
0127466
0725457
Stop Event
iter-limit
iter-limit
node-limit
iter-limit
Counts
40 → 44
Calls
Call 1
Inputs
(*.f64 #s(approx (- x y) x) #s(approx (+ y x) y))
#s(approx (- x y) x)
x
#s(approx (+ y x) y)
y
(*.f64 #s(approx (- x y) (neg.f64 y)) #s(approx (+ y x) x))
#s(approx (- x y) (neg.f64 y))
(neg.f64 y)
#s(approx (+ y x) 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 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 y) (+ y x)) #s(hole binary64 (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))
#s(approx (- x y) #s(hole binary64 (* x (+ 1 (* -1 (/ y x))))))
#s(approx (+ y x) #s(hole binary64 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 y #s(hole binary64 y))
#s(approx (neg y) #s(hole binary64 (* -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
(*.f64 #s(approx (+ y x) y) #s(approx (- x y) x))
(*.f64 #s(approx (- x y) x) #s(approx (+ y x) y))
#s(approx (- x y) x)
x
#s(approx (+ y x) y)
y
(*.f64 #s(approx (+ y x) x) #s(approx (- x y) (neg.f64 y)))
(*.f64 #s(approx (- x y) (neg.f64 y)) #s(approx (+ y x) x))
#s(approx (- x y) (neg.f64 y))
(*.f64 #s(literal -1 binary64) y)
(*.f64 y #s(literal -1 binary64))
(neg.f64 y)
#s(approx (+ y x) x)
#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 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 (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) x)
#s(approx (- x y) (*.f64 (+.f64 (/.f64 (neg.f64 y) x) #s(literal 1 binary64)) x))
#s(approx (+ y x) 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 y y)
#s(approx (neg y) (neg.f64 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))))

eval3.0ms (0.2%)

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

Compiled 242 to 137 computations (43.4% saved)

prune3.0ms (0.3%)

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

7 alts after pruning (0 fresh and 7 done)

PrunedKeptTotal
New33033
Fresh000
Picked022
Done055
Total33740
Accuracy
100.0%
Counts
40 → 7
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(*.f64 (-.f64 x y) (+.f64 y x))
63.0%
(*.f64 (-.f64 x y) #s(approx (+ y x) y))
56.0%
(*.f64 (-.f64 x y) #s(approx (+ y x) x))
12.4%
(*.f64 #s(approx (- x y) (neg.f64 y)) #s(approx (+ y x) x))
14.8%
(*.f64 #s(approx (- x y) x) #s(approx (+ y x) y))
55.6%
#s(approx (- (* x x) (* y y)) (*.f64 (neg.f64 y) y))
50.7%
#s(approx (- (* x x) (* y y)) (*.f64 x x))
Compiler

Compiled 79 to 72 computations (8.9% saved)

regimes46.0ms (3.7%)

Memory
-16.5MiB live, 28.5MiB allocated; 3ms collecting garbage
Counts
8 → 1
Calls
Call 1
Inputs
#s(approx (- (* x x) (* y y)) (*.f64 x x))
(*.f64 #s(approx (- x y) x) #s(approx (+ y x) y))
#s(approx (- (* x x) (* y y)) (*.f64 (neg.f64 y) y))
(*.f64 #s(approx (- x y) (neg.f64 y)) #s(approx (+ y x) x))
(*.f64 (-.f64 x y) #s(approx (+ y x) x))
(*.f64 (-.f64 x y) #s(approx (+ y x) y))
(*.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:

36.0ms
x
3.0ms
y
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 11 to 15 computations (-36.4% saved)

regimes11.0ms (0.9%)

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

5 calls:

2.0ms
y
2.0ms
x
2.0ms
(*.f64 y y)
2.0ms
(-.f64 (*.f64 x x) (*.f64 y y))
2.0ms
(*.f64 x x)
Results
AccuracySegmentsBranch
83.2%2(*.f64 y y)
85.2%2(*.f64 x x)
98.9%2(-.f64 (*.f64 x x) (*.f64 y y))
85.2%2x
83.2%2y
Compiler

Compiled 11 to 15 computations (-36.4% saved)

regimes2.0ms (0.2%)

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

1 calls:

2.0ms
(-.f64 (*.f64 x x) (*.f64 y y))
Results
AccuracySegmentsBranch
97.0%2(-.f64 (*.f64 x x) (*.f64 y y))
Compiler

Compiled 5 to 5 computations (0% saved)

regimes47.0ms (3.7%)

Memory
-23.7MiB live, 27.3MiB allocated; 5ms collecting garbage
Accuracy

Total -22.9b remaining (-72.7%)

Threshold costs -22.9b (-72.7%)

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

5 calls:

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

Compiled 11 to 15 computations (-36.4% saved)

bsearch0.0ms (0%)

Memory
0.9MiB live, 0.9MiB allocated; 0ms collecting garbage
Algorithm
left-value
Steps
TimeLeftRight
0.0ms
-1.714078069e-314
0.0
Compiler

Compiled 8 to 10 computations (-25% saved)

bsearch0.0ms (0%)

Memory
0.7MiB live, 0.7MiB allocated; 0ms collecting garbage
Algorithm
left-value
Steps
TimeLeftRight
0.0ms
-1.714078069e-314
0.0
Compiler

Compiled 8 to 10 computations (-25% saved)

derivations21.0ms (1.7%)

Memory
-8.0MiB live, 36.9MiB allocated; 4ms collecting garbage
Stop Event
done
Compiler

Compiled 28 to 22 computations (21.4% saved)

preprocess31.0ms (2.5%)

Memory
31.2MiB live, 76.2MiB allocated; 5ms collecting garbage
Remove

(abs y)

(abs x)

Compiler

Compiled 229 to 207 computations (9.6% saved)

end0.0ms (0%)

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

Profiling

Loading profile data...