Examples.Basics.BasicTests:f1 from sbv-4.4

Time bar (total: 797.0ms)

start0.0ms (0%)

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

analyze0.0ms (0%)

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

sample557.0ms (69.8%)

Memory
2.2MiB live, 715.8MiB allocated; 159ms collecting garbage
Samples
319.0ms8 256×0valid
Precisions
Click to see histograms. Total time spent on operations: 106.0ms
ival-mult!: 53.0ms (50.1% of total)
ival-add!: 31.0ms (29.3% of total)
ival-sub!: 21.0ms (19.8% of total)
adjust: 1.0ms (0.9% of total)
Bogosity

preprocess49.0ms (6.1%)

Memory
2.6MiB live, 48.7MiB allocated; 5ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01842
15242
216642
354842
4120242
5232842
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.5%)

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

rewrite54.0ms (6.8%)

Memory
36.4MiB live, 82.8MiB allocated; 5ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0120475
0122427
0817417
Stop Event
iter-limit
iter-limit
node-limit
iter-limit
Counts
35 → 52
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 x (neg.f64 y))
(+.f64 y x)
(+.f64 x y)
x
y
(/.f64 (-.f64 (*.f64 x x) (*.f64 (neg.f64 y) (neg.f64 y))) (+.f64 y x))
(/.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 (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 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 (neg.f64 (neg.f64 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))))

eval14.0ms (1.8%)

Memory
-22.9MiB live, 28.6MiB allocated; 9ms collecting garbage
Compiler

Compiled 302 to 175 computations (42.1% saved)

prune2.0ms (0.3%)

Memory
3.9MiB live, 3.9MiB allocated; 0ms 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
94.5%
(-.f64 (*.f64 x x) (*.f64 y y))
100.0%
(*.f64 (+.f64 x y) (-.f64 x y))
52.0%
#s(approx (* (+ x y) (- x y)) (*.f64 x x))
53.9%
#s(approx (* (+ x y) (- x y)) (neg.f64 (*.f64 y y)))
Compiler

Compiled 25 to 25 computations (0% saved)

series5.0ms (0.6%)

Memory
8.0MiB live, 8.0MiB 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
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
@0
((* (+ x y) (- x y)) (neg (* y y)) (* y y) y (* (+ x y) (- x y)) (* x x) x (- (* x x) (* y y)))

rewrite44.0ms (5.5%)

Memory
-8.9MiB live, 36.1MiB allocated; 5ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0106477
0111435
0754425
Stop Event
iter-limit
iter-limit
node-limit
iter-limit
Counts
32 → 70
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 (fabs.f64 y) #s(literal 2 binary64))
(pow.f64 (neg.f64 y) #s(literal 2 binary64))
(pow.f64 y #s(literal 2 binary64))
(fabs.f64 (*.f64 y y))
(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 (fabs.f64 x) #s(literal 2 binary64))
(pow.f64 (neg.f64 x) #s(literal 2 binary64))
(pow.f64 x #s(literal 2 binary64))
(fabs.f64 (*.f64 x x))
(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 (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)))))
(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 (neg.f64 y) y) (neg.f64 (*.f64 x x)))
(+.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)))

eval7.0ms (0.8%)

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

Compiled 446 to 212 computations (52.5% saved)

prune7.0ms (0.8%)

Memory
-34.5MiB live, 9.5MiB allocated; 4ms collecting garbage
Pruning

4 alts after pruning (0 fresh and 4 done)

PrunedKeptTotal
New79079
Fresh000
Picked033
Done011
Total79483
Accuracy
100.0%
Counts
83 → 4
Alt Table
Click to see full alt table
StatusAccuracyProgram
94.5%
(-.f64 (*.f64 x x) (*.f64 y y))
100.0%
(*.f64 (+.f64 x y) (-.f64 x y))
52.0%
#s(approx (* (+ x y) (- x y)) (*.f64 x x))
53.9%
#s(approx (* (+ x y) (- x y)) (neg.f64 (*.f64 y y)))
Compiler

Compiled 44 to 39 computations (11.4% saved)

regimes5.0ms (0.7%)

Memory
16.9MiB live, 16.9MiB 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.5%)

Memory
13.5MiB live, 13.5MiB 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
x
1.0ms
y
1.0ms
(*.f64 (+.f64 x y) (-.f64 x y))
Results
AccuracySegmentsBranch
99.4%2(*.f64 (+.f64 x y) (-.f64 x y))
82.5%2x
78.9%2y
Compiler

Compiled 7 to 9 computations (-28.6% saved)

regimes5.0ms (0.7%)

Memory
-31.4MiB live, 13.2MiB allocated; 4ms 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:

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

Compiled 7 to 9 computations (-28.6% saved)

bsearch0.0ms (0%)

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

Compiled 8 to 10 computations (-25% saved)

derivations4.0ms (0.5%)

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

Compiled 19 to 16 computations (15.8% saved)

preprocess35.0ms (4.4%)

Memory
-6.7MiB live, 92.0MiB allocated; 17ms 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...