Examples.Basics.BasicTests:f2 from sbv-4.4

Time bar (total: 1.1s)

start0.0ms (0%)

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

analyze0.0ms (0%)

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

sample544.0ms (51.8%)

Memory
5.5MiB live, 664.1MiB allocated; 108ms collecting garbage
Samples
314.0ms8 256×0valid
Precisions
Click to see histograms. Total time spent on operations: 119.0ms
ival-mult!: 100.0ms (83.9% of total)
ival-sub!: 17.0ms (14.3% of total)
adjust: 1.0ms (0.8% of total)
Bogosity

explain104.0ms (9.9%)

Memory
-6.3MiB live, 92.3MiB allocated; 27ms collecting garbage
FPErrors
Click to see full error table
Ground TruthOverpredictionsExampleUnderpredictionsExampleSubexpression
140-0-(-.f64 (*.f64 x x) (*.f64 y y))
00-0-y
00-0-(*.f64 y y)
00-0-(*.f64 x x)
00-0-x
Explanations
Click to see full explanations table
OperatorSubexpressionExplanationCount
-.f64(-.f64 (*.f64 x x) (*.f64 y y))nan-rescue140
(*.f64 x x)overflow65
(*.f64 y y)overflow57
Confusion
Predicted +Predicted -
+140
-0242
Precision
1.0
Recall
1.0
Confusion?
Predicted +Predicted MaybePredicted -
+1400
-00242
Precision?
1.0
Recall?
1.0
Freqs
test
numberfreq
0242
114
Total Confusion?
Predicted +Predicted MaybePredicted -
+100
-000
Precision?
1.0
Recall?
1.0
Samples
18.0ms512×0valid
Compiler

Compiled 41 to 19 computations (53.7% saved)

Precisions
Click to see histograms. Total time spent on operations: 7.0ms
ival-mult!: 5.0ms (76.3% of total)
ival-sub!: 1.0ms (15.3% of total)
adjust: 0.0ms (0% of total)

preprocess126.0ms (12%)

Memory
-6.5MiB live, 88.2MiB allocated; 7ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01445
15142
222342
338642
495042
5195542
6295942
7329942
8337742
9337742
10357042
057
087
1217
2817
32237
44037
58367
613857
720697
828987
932087
1032707
1132707
1233487
033487
Stop Event
iter-limit
saturated
iter-limit
saturated
Calls
Call 1
Inputs
(-.f64 (*.f64 x x) (*.f64 y y))
Outputs
(-.f64 (*.f64 x x) (*.f64 y y))
(*.f64 (-.f64 x y) (+.f64 y x))
Symmetry

(abs x)

(abs y)

Compiler

Compiled 7 to 5 computations (28.6% saved)

eval0.0ms (0%)

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

Compiled 0 to 2 computations (-∞% saved)

prune0.0ms (0%)

Memory
1.0MiB live, 1.0MiB allocated; 0ms collecting garbage
Alt Table
Click to see full alt table
StatusAccuracyProgram
94.5%
(-.f64 (*.f64 x x) (*.f64 y y))
Compiler

Compiled 7 to 5 computations (28.6% saved)

series4.0ms (0.4%)

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

rewrite62.0ms (5.9%)

Memory
-4.3MiB live, 42.6MiB allocated; 4ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
033135
036131
1136130
01191129
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 (pow.f64 y #s(literal 4 binary64)) (pow.f64 x #s(literal 4 binary64)))) (neg.f64 (fma.f64 (neg.f64 y) y (*.f64 (neg.f64 x) x))))
(/.f64 (neg.f64 (fma.f64 (pow.f64 y #s(literal 6 binary64)) #s(literal -1 binary64) (pow.f64 x #s(literal 6 binary64)))) (neg.f64 (fma.f64 (*.f64 x x) (fma.f64 y y (*.f64 x x)) (pow.f64 y #s(literal 4 binary64)))))
(/.f64 (neg.f64 (-.f64 (pow.f64 x #s(literal 4 binary64)) (pow.f64 y #s(literal 4 binary64)))) (neg.f64 (fma.f64 y y (*.f64 x x))))
(/.f64 (neg.f64 (-.f64 (pow.f64 x #s(literal 6 binary64)) (pow.f64 y #s(literal 6 binary64)))) (neg.f64 (fma.f64 (*.f64 y y) (fma.f64 y y (*.f64 x x)) (pow.f64 x #s(literal 4 binary64)))))
(/.f64 (-.f64 (pow.f64 x #s(literal 4 binary64)) (pow.f64 y #s(literal 4 binary64))) (fma.f64 y y (*.f64 x x)))
(/.f64 (-.f64 (pow.f64 y #s(literal 4 binary64)) (pow.f64 x #s(literal 4 binary64))) (fma.f64 (neg.f64 y) y (*.f64 (neg.f64 x) x)))
(/.f64 (-.f64 (pow.f64 x #s(literal 6 binary64)) (pow.f64 y #s(literal 6 binary64))) (fma.f64 (*.f64 y y) (fma.f64 y y (*.f64 x x)) (pow.f64 x #s(literal 4 binary64))))
(/.f64 (fma.f64 (pow.f64 y #s(literal 6 binary64)) #s(literal -1 binary64) (pow.f64 x #s(literal 6 binary64))) (+.f64 (pow.f64 x #s(literal 4 binary64)) (-.f64 (pow.f64 y #s(literal 4 binary64)) (neg.f64 (pow.f64 (*.f64 x y) #s(literal 2 binary64))))))
(/.f64 (fma.f64 (pow.f64 y #s(literal 6 binary64)) #s(literal -1 binary64) (pow.f64 x #s(literal 6 binary64))) (fma.f64 (*.f64 x x) (fma.f64 y y (*.f64 x x)) (pow.f64 y #s(literal 4 binary64))))
(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 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 (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 (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 (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 #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 (pow.f64 y #s(literal 4 binary64)) (fma.f64 (neg.f64 y) y (*.f64 (neg.f64 x) x))) (/.f64 (pow.f64 x #s(literal 4 binary64)) (fma.f64 (neg.f64 y) y (*.f64 (neg.f64 x) x))))
(-.f64 (/.f64 (pow.f64 x #s(literal 4 binary64)) (fma.f64 y y (*.f64 x x))) (/.f64 (pow.f64 y #s(literal 4 binary64)) (fma.f64 y y (*.f64 x x))))
(-.f64 (/.f64 (pow.f64 x #s(literal 6 binary64)) (fma.f64 (*.f64 y y) (fma.f64 y y (*.f64 x x)) (pow.f64 x #s(literal 4 binary64)))) (/.f64 (pow.f64 y #s(literal 6 binary64)) (fma.f64 (*.f64 y y) (fma.f64 y y (*.f64 x x)) (pow.f64 x #s(literal 4 binary64)))))
(-.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 (neg.f64 (pow.f64 y #s(literal 6 binary64))) (fma.f64 (*.f64 x x) (fma.f64 y y (*.f64 x x)) (pow.f64 y #s(literal 4 binary64)))) (/.f64 (pow.f64 x #s(literal 6 binary64)) (fma.f64 (*.f64 x x) (fma.f64 y y (*.f64 x x)) (pow.f64 y #s(literal 4 binary64)))))
(+.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 (neg.f64 (fma.f64 (/.f64 y x) (/.f64 y x) #s(literal -1 binary64))) (*.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 (fma.f64 (/.f64 x y) (/.f64 x y) #s(literal -1 binary64)) (*.f64 y y)))

eval12.0ms (1.2%)

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

Compiled 1 477 to 299 computations (79.8% saved)

prune22.0ms (2.1%)

Memory
-31.4MiB live, 19.0MiB allocated; 5ms collecting garbage
Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New1293132
Fresh000
Picked101
Done000
Total1303133
Accuracy
100.0%
Counts
133 → 3
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(*.f64 (-.f64 x y) (+.f64 y x))
56.3%
#s(approx (- (* x x) (* y y)) (*.f64 (neg.f64 y) y))
49.7%
#s(approx (- (* x x) (* y y)) (*.f64 x x))
Compiler

Compiled 30 to 20 computations (33.3% saved)

series7.0ms (0.7%)

Memory
12.1MiB live, 12.1MiB 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
2.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))

rewrite57.0ms (5.4%)

Memory
7.4MiB live, 51.7MiB allocated; 6ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0146630
0150577
0819568
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 (fma.f64 (/.f64 (*.f64 y y) (*.f64 x x)) #s(literal -1 binary64) #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 (fma.f64 (/.f64 y x) #s(literal -1 binary64) #s(literal 1 binary64)) (fma.f64 (/.f64 (*.f64 y y) (*.f64 x x)) #s(literal -1 binary64) (/.f64 y x))) (*.f64 x x)))
#s(approx (- x y) x)
#s(approx (- x y) (*.f64 (fma.f64 (/.f64 y x) #s(literal -1 binary64) #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 (fma.f64 (/.f64 (fma.f64 (*.f64 #s(literal 0 binary64) y) #s(literal -1 binary64) (/.f64 (*.f64 y y) x)) x) #s(literal -1 binary64) #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) (fma.f64 #s(literal -1 binary64) 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) (fma.f64 (/.f64 x y) #s(literal -1 binary64) #s(literal 1 binary64))))
#s(approx (+ y x) (*.f64 (neg.f64 y) (-.f64 (/.f64 (neg.f64 x) y) #s(literal 1 binary64))))

eval11.0ms (1.1%)

Memory
-22.9MiB live, 23.6MiB allocated; 2ms collecting garbage
Compiler

Compiled 1 298 to 259 computations (80% saved)

prune5.0ms (0.4%)

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

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New94094
Fresh000
Picked033
Done000
Total94397
Accuracy
100.0%
Counts
97 → 3
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(*.f64 (-.f64 x y) (+.f64 y x))
56.3%
#s(approx (- (* x x) (* y y)) (*.f64 (neg.f64 y) y))
49.7%
#s(approx (- (* x x) (* y y)) (*.f64 x x))
Compiler

Compiled 67 to 35 computations (47.8% saved)

regimes9.0ms (0.8%)

Memory
23.9MiB live, 23.8MiB allocated; 0ms collecting garbage
Counts
4 → 1
Calls
Call 1
Inputs
#s(approx (- (* x x) (* y y)) (*.f64 x x))
#s(approx (- (* x x) (* y y)) (*.f64 (neg.f64 y) 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:

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

Compiled 15 to 15 computations (0% saved)

regimes8.0ms (0.8%)

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

5 calls:

3.0ms
x
1.0ms
(-.f64 (*.f64 x x) (*.f64 y y))
1.0ms
y
1.0ms
(*.f64 y y)
1.0ms
(*.f64 x x)
Results
AccuracySegmentsBranch
79.9%2(*.f64 y y)
81.3%2(*.f64 x x)
97.0%2(-.f64 (*.f64 x x) (*.f64 y y))
81.3%2x
79.9%2y
Compiler

Compiled 15 to 15 computations (0% saved)

regimes5.0ms (0.5%)

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

Total 0.0b remaining (0%)

Threshold costs 0b (0%)

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

5 calls:

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

Compiled 15 to 15 computations (0% saved)

bsearch0.0ms (0%)

Memory
0.6MiB live, 0.6MiB allocated; 0ms collecting garbage
Algorithm
left-value
Steps
TimeLeftRight
0.0ms
-1.956e-321
0.0
Compiler

Compiled 10 to 10 computations (0% saved)

derivations52.0ms (4.9%)

Memory
-35.8MiB live, 22.1MiB allocated; 10ms collecting garbage
Stop Event
done
Compiler

Compiled 51 to 18 computations (64.7% saved)

preprocess22.0ms (2.1%)

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

(abs y)

(abs x)

Compiler

Compiled 320 to 154 computations (51.9% saved)

end0.0ms (0%)

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

Profiling

Loading profile data...