Examples.Basics.BasicTests:f1 from sbv-4.4

Time bar (total: 1.4s)

start0.0ms (0%)

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

analyze0.0ms (0%)

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

sample672.0ms (48.2%)

Memory
14.0MiB live, 949.1MiB allocated; 189ms collecting garbage
Samples
471.0ms8 256×0valid
Precisions
Click to see histograms. Total time spent on operations: 162.0ms
ival-mult!: 71.0ms (43.8% of total)
ival-add!: 53.0ms (32.7% of total)
ival-sub!: 37.0ms (22.8% of total)
adjust: 1.0ms (0.6% of total)
Bogosity

preprocess55.0ms (3.9%)

Memory
-27.1MiB live, 20.1MiB allocated; 2ms collecting garbage
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01845
15242
219142
346942
492942
5161842
6347542
7489642
8598542
9652642
Stop Event
node-limit
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(*.f64 (+.f64 x y) (-.f64 x y))
Symmetry

(abs x)

(abs y)

Compiler

Compiled 10 to 10 computations (0% saved)

series4.0ms (0.3%)

Memory
14.7MiB live, 14.6MiB allocated; 0ms collecting garbage
Counts
5 → 30
Calls
Call 1
Inputs
(*.f64 (+.f64 x y) (-.f64 x y))
(+.f64 x y)
x
y
(-.f64 x y)
Outputs
#s(approx (* (+ x y) (- x y)) #s(hole binary64 (* -1 (pow y 2))))
#s(approx (* (+ x y) (- x y)) #s(hole binary64 (+ (* -1 (pow y 2)) (* x (+ y (* -1 y))))))
#s(approx (* (+ x y) (- x y)) #s(hole binary64 (+ (* -1 (pow y 2)) (* x (+ x (+ y (* -1 y)))))))
#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 y) #s(hole binary64 (* -1 y)))
#s(approx (- x y) #s(hole binary64 (- x y)))
#s(approx (* (+ x y) (- x y)) #s(hole binary64 (pow x 2)))
#s(approx (* (+ x y) (- x y)) #s(hole binary64 (* (pow x 2) (+ 1 (+ (* -1 (/ y x)) (/ y x))))))
#s(approx (* (+ x y) (- x y)) #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 (/ y x)))))
#s(approx (- x y) #s(hole binary64 x))
#s(approx (- x y) #s(hole binary64 (* x (+ 1 (* -1 (/ y x))))))
#s(approx (* (+ x y) (- x y)) #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 (- (* -1 (/ y x)) 1)))))
#s(approx (- x y) #s(hole binary64 (* -1 (* x (- (/ y x) 1)))))
#s(approx (* (+ x y) (- x y)) #s(hole binary64 (+ (* y (+ x (* -1 x))) (pow x 2))))
#s(approx (* (+ x y) (- x y)) #s(hole binary64 (+ (* y (+ x (+ (* -1 x) (* -1 y)))) (pow x 2))))
#s(approx y #s(hole binary64 y))
#s(approx (- x y) #s(hole binary64 (+ x (* -1 y))))
#s(approx (* (+ x y) (- x y)) #s(hole binary64 (* (pow y 2) (- (+ (* -1 (/ x y)) (/ x y)) 1))))
#s(approx (* (+ x y) (- x y)) #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 (+ 1 (/ x y)))))
#s(approx (- x y) #s(hole binary64 (* y (- (/ x y) 1))))
#s(approx (* (+ x y) (- x y)) #s(hole binary64 (* (pow y 2) (- (* -1 (/ (+ x (* -1 x)) y)) 1))))
#s(approx (* (+ x y) (- x y)) #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 (/ x y)) 1)))))
#s(approx (- x y) #s(hole binary64 (* -1 (* y (+ 1 (* -1 (/ x y)))))))
Calls

6 calls:

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

rewrite555.0ms (39.9%)

Memory
-45.0MiB live, 208.4MiB allocated; 699ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0120475
0122427
0728417
Stop Event
iter-limit
iter-limit
node-limit
iter-limit
Counts
35 → 50
Calls
Call 1
Inputs
(*.f64 (+.f64 x y) (-.f64 x y))
(+.f64 x y)
x
y
(-.f64 x y)
#s(approx (* (+ x y) (- x y)) #s(hole binary64 (* -1 (pow y 2))))
#s(approx (* (+ x y) (- x y)) #s(hole binary64 (+ (* -1 (pow y 2)) (* x (+ y (* -1 y))))))
#s(approx (* (+ x y) (- x y)) #s(hole binary64 (+ (* -1 (pow y 2)) (* x (+ x (+ y (* -1 y)))))))
#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 y) #s(hole binary64 (* -1 y)))
#s(approx (- x y) #s(hole binary64 (- x y)))
#s(approx (* (+ x y) (- x y)) #s(hole binary64 (pow x 2)))
#s(approx (* (+ x y) (- x y)) #s(hole binary64 (* (pow x 2) (+ 1 (+ (* -1 (/ y x)) (/ y x))))))
#s(approx (* (+ x y) (- x y)) #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 (/ y x)))))
#s(approx (- x y) #s(hole binary64 x))
#s(approx (- x y) #s(hole binary64 (* x (+ 1 (* -1 (/ y x))))))
#s(approx (* (+ x y) (- x y)) #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 (- (* -1 (/ y x)) 1)))))
#s(approx (- x y) #s(hole binary64 (* -1 (* x (- (/ y x) 1)))))
#s(approx (* (+ x y) (- x y)) #s(hole binary64 (+ (* y (+ x (* -1 x))) (pow x 2))))
#s(approx (* (+ x y) (- x y)) #s(hole binary64 (+ (* y (+ x (+ (* -1 x) (* -1 y)))) (pow x 2))))
#s(approx y #s(hole binary64 y))
#s(approx (- x y) #s(hole binary64 (+ x (* -1 y))))
#s(approx (* (+ x y) (- x y)) #s(hole binary64 (* (pow y 2) (- (+ (* -1 (/ x y)) (/ x y)) 1))))
#s(approx (* (+ x y) (- x y)) #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 (+ 1 (/ x y)))))
#s(approx (- x y) #s(hole binary64 (* y (- (/ x y) 1))))
#s(approx (* (+ x y) (- x y)) #s(hole binary64 (* (pow y 2) (- (* -1 (/ (+ x (* -1 x)) y)) 1))))
#s(approx (* (+ x y) (- x y)) #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 (/ x y)) 1)))))
#s(approx (- x y) #s(hole binary64 (* -1 (* y (+ 1 (* -1 (/ x y)))))))
Outputs
(*.f64 (-.f64 x y) (+.f64 y x))
(*.f64 (+.f64 y x) (-.f64 x y))
(-.f64 (*.f64 x x) (*.f64 y y))
(/.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 x y) (+.f64 y x)) (-.f64 x y))
(+.f64 y x)
(+.f64 x y)
x
y
(/.f64 (-.f64 (*.f64 x x) (*.f64 (neg.f64 y) (neg.f64 y))) (-.f64 x (neg.f64 y)))
(/.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 (pow.f64 x #s(literal 3 binary64)) (pow.f64 (neg.f64 y) #s(literal 3 binary64))) (fma.f64 x x (-.f64 (*.f64 (neg.f64 y) (neg.f64 y)) (*.f64 x (neg.f64 y)))))
(/.f64 (*.f64 (-.f64 x y) (+.f64 y x)) (+.f64 y x))
(neg.f64 (-.f64 y x))
(fma.f64 #s(literal -1 binary64) y x)
(fma.f64 y #s(literal -1 binary64) x)
(-.f64 x (*.f64 #s(literal 1 binary64) y))
(-.f64 x y)
(+.f64 (neg.f64 y) x)
(+.f64 x (neg.f64 y))
#s(approx (* (+ x y) (- x y)) (neg.f64 (*.f64 y y)))
#s(approx (* (+ x y) (- x y)) (fma.f64 (*.f64 #s(literal 0 binary64) y) x (neg.f64 (*.f64 y y))))
#s(approx (* (+ x y) (- x y)) (fma.f64 (fma.f64 #s(literal 0 binary64) y x) x (neg.f64 (*.f64 y y))))
#s(approx (+ x y) y)
#s(approx (+ x y) (+.f64 y x))
#s(approx x x)
#s(approx (- x y) (neg.f64 y))
#s(approx (- x y) (-.f64 x y))
#s(approx (* (+ x y) (- x y)) (*.f64 x x))
#s(approx (* (+ x y) (- x y)) (*.f64 (fma.f64 #s(literal 0 binary64) (/.f64 y x) #s(literal 1 binary64)) (*.f64 x x)))
#s(approx (* (+ x y) (- x y)) (*.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 y x) #s(literal 1 binary64)) x))
#s(approx (- x y) x)
#s(approx (- x y) (*.f64 (+.f64 (/.f64 (neg.f64 y) x) #s(literal 1 binary64)) x))
#s(approx (* (+ x y) (- x y)) (*.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 (neg.f64 y) x) #s(literal 1 binary64))))
#s(approx (- x y) (*.f64 (neg.f64 x) (-.f64 (/.f64 y x) #s(literal 1 binary64))))
#s(approx (* (+ x y) (- x y)) (fma.f64 (*.f64 #s(literal 0 binary64) x) y (*.f64 x x)))
#s(approx (* (+ x y) (- x y)) (fma.f64 (fma.f64 #s(literal 0 binary64) x (neg.f64 y)) y (*.f64 x x)))
#s(approx y y)
#s(approx (- x y) (-.f64 x y))
#s(approx (* (+ x y) (- x y)) (*.f64 (fma.f64 #s(literal 0 binary64) (/.f64 x y) #s(literal -1 binary64)) (*.f64 y y)))
#s(approx (* (+ x y) (- x y)) (*.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 (- x y) (*.f64 (-.f64 (/.f64 x y) #s(literal 1 binary64)) y))
#s(approx (* (+ x y) (- x y)) (*.f64 (-.f64 (neg.f64 (*.f64 #s(literal 0 binary64) (/.f64 x y))) #s(literal 1 binary64)) (*.f64 y y)))
#s(approx (* (+ x y) (- x y)) (*.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 (- x y) (*.f64 (neg.f64 y) (+.f64 (/.f64 (neg.f64 x) y) #s(literal 1 binary64))))

eval4.0ms (0.3%)

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

Compiled 298 to 173 computations (41.9% saved)

prune4.0ms (0.3%)

Memory
-40.6MiB live, 6.9MiB allocated; 1ms collecting garbage
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New44347
Fresh000
Picked011
Done000
Total44448
Accuracy
100.0%
Counts
48 → 4
Alt Table
Click to see full alt table
StatusAccuracyProgram
93.8%
(-.f64 (*.f64 x x) (*.f64 y y))
100.0%
(*.f64 (+.f64 x y) (-.f64 x y))
55.9%
#s(approx (* (+ x y) (- x y)) (*.f64 x x))
51.4%
#s(approx (* (+ x y) (- x y)) (neg.f64 (*.f64 y y)))
Compiler

Compiled 25 to 25 computations (0% saved)

series5.0ms (0.3%)

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

6 calls:

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

rewrite44.0ms (3.1%)

Memory
18.8MiB live, 67.1MiB allocated; 4ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

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

eval6.0ms (0.4%)

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

Compiled 411 to 196 computations (52.3% saved)

prune5.0ms (0.3%)

Memory
-38.5MiB live, 8.6MiB allocated; 2ms collecting garbage
Pruning

4 alts after pruning (0 fresh and 4 done)

PrunedKeptTotal
New70070
Fresh000
Picked033
Done011
Total70474
Accuracy
100.0%
Counts
74 → 4
Alt Table
Click to see full alt table
StatusAccuracyProgram
93.8%
(-.f64 (*.f64 x x) (*.f64 y y))
100.0%
(*.f64 (+.f64 x y) (-.f64 x y))
55.9%
#s(approx (* (+ x y) (- x y)) (*.f64 x x))
51.4%
#s(approx (* (+ x y) (- x y)) (neg.f64 (*.f64 y y)))
Compiler

Compiled 44 to 39 computations (11.4% saved)

regimes6.0ms (0.4%)

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

3 calls:

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

Compiled 7 to 9 computations (-28.6% saved)

regimes4.0ms (0.3%)

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

3 calls:

1.0ms
(*.f64 (+.f64 x y) (-.f64 x y))
1.0ms
x
1.0ms
y
Results
AccuracySegmentsBranch
99.5%2(*.f64 (+.f64 x y) (-.f64 x y))
78.8%2x
81.0%2y
Compiler

Compiled 7 to 9 computations (-28.6% saved)

regimes3.0ms (0.2%)

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

Total 0.0b remaining (0%)

Threshold costs 0b (0%)

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

3 calls:

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

Compiled 7 to 9 computations (-28.6% saved)

bsearch0.0ms (0%)

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

Compiled 8 to 10 computations (-25% saved)

derivations5.0ms (0.3%)

Memory
-40.6MiB live, 6.7MiB allocated; 2ms collecting garbage
Stop Event
done
Compiler

Compiled 19 to 16 computations (15.8% saved)

preprocess22.0ms (1.6%)

Memory
5.6MiB live, 52.3MiB allocated; 3ms collecting garbage
Remove

(abs y)

(abs x)

Compiler

Compiled 148 to 133 computations (10.1% saved)

end0.0ms (0%)

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

Profiling

Loading profile data...