Examples.Basics.BasicTests:f2 from sbv-4.4

Time bar (total: 1.8s)

start0.0ms (0%)

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

sample705.0ms (39.6%)

Memory
-13.3MiB live, 859.2MiB allocated; 175ms collecting garbage
Samples
463.0ms8 256×0valid
Precisions
Click to see histograms. Total time spent on operations: 195.0ms
ival-mult: 153.0ms (78.3% of total)
ival-sub: 33.0ms (16.9% of total)
ival-true: 5.0ms (2.6% of total)
ival-assert: 3.0ms (1.5% of total)
adjust: 2.0ms (1% of total)
Bogosity

explain59.0ms (3.3%)

Memory
16.2MiB live, 105.5MiB allocated; 9ms 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)overflow66
(*.f64 y y)overflow60
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
24.0ms512×0valid
Compiler

Compiled 41 to 19 computations (53.7% saved)

Precisions
Click to see histograms. Total time spent on operations: 9.0ms
ival-mult: 7.0ms (73.9% of total)
ival-sub: 2.0ms (21.1% of total)
ival-true: 0.0ms (0% of total)
adjust: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

preprocess118.0ms (6.6%)

Memory
26.7MiB live, 126.2MiB allocated; 14ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01338
14835
221535
337135
490935
5192335
6292635
7326935
8334735
9334735
10354635
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 y)

(abs x)

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

simplify66.0ms (3.7%)

Memory
4.0MiB live, 48.5MiB allocated; 8ms collecting garbage
Localize:

Found 3 expressions of interest:

NewMetricScoreProgram
cost-diff0
(*.f64 y y)
cost-diff0
(*.f64 x x)
cost-diff0
(-.f64 (*.f64 x x) (*.f64 y y))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0515
0815
12115
28115
322315
440315
583615
6138515
7206915
8289815
9320815
10327015
11327015
12334815
0334815
Stop Event
iter limit
saturated
iter limit
Calls
Call 1
Inputs
(-.f64 (*.f64 x x) (*.f64 y y))
(*.f64 x x)
x
(*.f64 y y)
y
Outputs
(-.f64 (*.f64 x x) (*.f64 y y))
(*.f64 (-.f64 x y) (+.f64 y x))
(*.f64 x x)
x
(*.f64 y y)
y

localize21.0ms (1.2%)

Memory
-9.2MiB live, 35.4MiB allocated; 8ms collecting garbage
Localize:

Found 3 expressions of interest:

NewMetricScoreProgram
accuracy0.0
(*.f64 y y)
accuracy0.0
(*.f64 x x)
accuracy3.148423050811441
(-.f64 (*.f64 x x) (*.f64 y y))
Samples
17.0ms256×0valid
Compiler

Compiled 17 to 7 computations (58.8% saved)

Precisions
Click to see histograms. Total time spent on operations: 4.0ms
ival-mult: 3.0ms (67.8% of total)
ival-sub: 1.0ms (22.6% of total)
ival-true: 0.0ms (0% of total)
adjust: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

series3.0ms (0.2%)

Memory
7.2MiB live, 7.2MiB allocated; 0ms collecting garbage
Counts
3 → 8
Calls
Call 1
Inputs
(-.f64 (*.f64 x x) (*.f64 y y))
(*.f64 x x)
(*.f64 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 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 (- (* 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) (* y y))
1.0ms
x
@0
((- (* x x) (* y y)) (* x x) (* y y))
0.0ms
y
@inf
((- (* x x) (* y y)) (* x x) (* y y))
0.0ms
y
@-inf
((- (* x x) (* y y)) (* x x) (* y y))
0.0ms
x
@-inf
((- (* x x) (* y y)) (* x x) (* y y))

simplify169.0ms (9.5%)

Memory
-1.8MiB live, 185.0MiB allocated; 28ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
028110
165109
2325109
32580109
08368108
Stop Event
iter limit
node limit
Counts
8 → 8
Calls
Call 1
Inputs
#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 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 (- (* x x) (* y y)) #s(hole binary64 (* (pow y 2) (- (/ (pow x 2) (pow y 2)) 1))))
Outputs
#s(approx (- (* x x) (* y y)) #s(hole binary64 (* -1 (pow y 2))))
#s(approx (- (* x x) (* y y)) (*.f64 (neg.f64 y) y))
#s(approx (- (* x x) (* y y)) #s(hole binary64 (- (pow x 2) (pow y 2))))
#s(approx (- (* x x) (* y y)) (*.f64 (-.f64 x y) (+.f64 y x)))
#s(approx (* x x) #s(hole binary64 (pow x 2)))
#s(approx (* x x) (*.f64 x x))
#s(approx (- (* x x) (* y y)) #s(hole binary64 (pow x 2)))
#s(approx (- (* x x) (* y y)) (*.f64 x x))
#s(approx (- (* x x) (* y y)) #s(hole binary64 (* (pow x 2) (+ 1 (* -1 (/ (pow y 2) (pow x 2)))))))
#s(approx (- (* x x) (* y y)) (*.f64 (*.f64 (fma.f64 (/.f64 y x) (/.f64 y x) #s(literal -1 binary64)) x) (neg.f64 x)))
#s(approx (- (* x x) (* y y)) #s(hole binary64 (+ (* -1 (pow y 2)) (pow x 2))))
#s(approx (- (* x x) (* y y)) (*.f64 (-.f64 x y) (+.f64 y x)))
#s(approx (* y y) #s(hole binary64 (pow y 2)))
#s(approx (* y y) (*.f64 y y))
#s(approx (- (* x x) (* y y)) #s(hole binary64 (* (pow y 2) (- (/ (pow x 2) (pow y 2)) 1))))
#s(approx (- (* x x) (* y y)) (*.f64 (fma.f64 (/.f64 (/.f64 x y) y) x #s(literal -1 binary64)) (*.f64 y y)))

rewrite51.0ms (2.9%)

Memory
9.5MiB live, 64.2MiB allocated; 11ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0513
0813
13713
032913
Stop Event
iter limit
iter limit
iter limit
unsound
iter limit
Counts
3 → 73
Calls
Call 1
Inputs
(-.f64 (*.f64 x x) (*.f64 y y))
(*.f64 x x)
(*.f64 y y)
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 (+.f64 (pow.f64 x #s(literal 6 binary64)) (pow.f64 (*.f64 (neg.f64 y) y) #s(literal 3 binary64))) (+.f64 (pow.f64 x #s(literal 4 binary64)) (-.f64 (pow.f64 y #s(literal 4 binary64)) (*.f64 (*.f64 x x) (*.f64 (neg.f64 y) y)))))
(/.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 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))))
(fma.f64 (pow.f64 x #s(literal 1 binary64)) (pow.f64 x #s(literal 1 binary64)) (*.f64 (neg.f64 (neg.f64 y)) (neg.f64 y)))
(fma.f64 (pow.f64 x #s(literal 1 binary64)) (pow.f64 x #s(literal 1 binary64)) (*.f64 (neg.f64 (fabs.f64 y)) (fabs.f64 y)))
(fma.f64 (pow.f64 x #s(literal 1 binary64)) (pow.f64 x #s(literal 1 binary64)) (*.f64 (neg.f64 y) y))
(fma.f64 (neg.f64 (neg.f64 x)) (neg.f64 (neg.f64 x)) (*.f64 (neg.f64 (neg.f64 y)) (neg.f64 y)))
(fma.f64 (neg.f64 (neg.f64 x)) (neg.f64 (neg.f64 x)) (*.f64 (neg.f64 (fabs.f64 y)) (fabs.f64 y)))
(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 (neg.f64 y)) (neg.f64 y)))
(fma.f64 (neg.f64 (fabs.f64 x)) (neg.f64 (fabs.f64 x)) (*.f64 (neg.f64 (fabs.f64 y)) (fabs.f64 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 (neg.f64 y)) (neg.f64 y)))
(fma.f64 (fabs.f64 (fabs.f64 x)) (fabs.f64 (fabs.f64 x)) (*.f64 (neg.f64 (fabs.f64 y)) (fabs.f64 y)))
(fma.f64 (fabs.f64 (fabs.f64 x)) (fabs.f64 (fabs.f64 x)) (*.f64 (neg.f64 y) y))
(fma.f64 (neg.f64 y) y (*.f64 x x))
(fma.f64 (neg.f64 x) (neg.f64 x) (*.f64 (neg.f64 (neg.f64 y)) (neg.f64 y)))
(fma.f64 (neg.f64 x) (neg.f64 x) (*.f64 (neg.f64 (fabs.f64 y)) (fabs.f64 y)))
(fma.f64 (neg.f64 x) (neg.f64 x) (*.f64 (neg.f64 y) y))
(fma.f64 (fabs.f64 x) (fabs.f64 x) (*.f64 (neg.f64 (neg.f64 y)) (neg.f64 y)))
(fma.f64 (fabs.f64 x) (fabs.f64 x) (*.f64 (neg.f64 (fabs.f64 y)) (fabs.f64 y)))
(fma.f64 (fabs.f64 x) (fabs.f64 x) (*.f64 (neg.f64 y) y))
(fma.f64 y (neg.f64 y) (*.f64 x x))
(fma.f64 x x (*.f64 (neg.f64 (neg.f64 y)) (neg.f64 y)))
(fma.f64 x x (*.f64 (neg.f64 (fabs.f64 y)) (fabs.f64 y)))
(fma.f64 x x (*.f64 (neg.f64 y) y))
(-.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 y y))
(+.f64 (*.f64 (neg.f64 y) y) (*.f64 x x))
(+.f64 (*.f64 x x) (*.f64 (neg.f64 (neg.f64 y)) (neg.f64 y)))
(+.f64 (*.f64 x x) (*.f64 (neg.f64 (fabs.f64 y)) (fabs.f64 y)))
(+.f64 (*.f64 x x) (*.f64 (neg.f64 y) y))
(*.f64 (pow.f64 x #s(literal 1 binary64)) (pow.f64 x #s(literal 1 binary64)))
(*.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 (neg.f64 x) (neg.f64 x))
(*.f64 (fabs.f64 x) (fabs.f64 x))
(*.f64 x x)
(pow.f64 (neg.f64 x) #s(literal 2 binary64))
(pow.f64 (fabs.f64 x) #s(literal 2 binary64))
(pow.f64 x #s(literal 2 binary64))
(neg.f64 (*.f64 (neg.f64 x) x))
(neg.f64 (*.f64 x (neg.f64 x)))
(fabs.f64 (*.f64 x x))
(exp.f64 (*.f64 (log.f64 x) #s(literal 2 binary64)))
(*.f64 (pow.f64 y #s(literal 1 binary64)) (pow.f64 y #s(literal 1 binary64)))
(*.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 (neg.f64 y) (neg.f64 y))
(*.f64 (fabs.f64 y) (fabs.f64 y))
(*.f64 y y)
(pow.f64 (neg.f64 y) #s(literal 2 binary64))
(pow.f64 (fabs.f64 y) #s(literal 2 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)))

eval21.0ms (1.2%)

Memory
-28.2MiB live, 18.1MiB allocated; 4ms collecting garbage
Compiler

Compiled 898 to 187 computations (79.2% saved)

prune3.0ms (0.1%)

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

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New77380
Fresh000
Picked101
Done000
Total78381
Accuracy
100.0%
Counts
81 → 3
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(*.f64 (-.f64 x y) (+.f64 y x))
48.2%
#s(approx (- (* x x) (* y y)) (*.f64 (neg.f64 y) y))
56.9%
#s(approx (- (* x x) (* y y)) (*.f64 x x))
Compiler

Compiled 30 to 20 computations (33.3% saved)

simplify66.0ms (3.7%)

Memory
13.2MiB live, 60.9MiB allocated; 2ms collecting garbage
Localize:

Found 8 expressions of interest:

NewMetricScoreProgram
cost-diff0
(+.f64 y x)
cost-diff0
(-.f64 x y)
cost-diff0
(*.f64 (-.f64 x y) (+.f64 y x))
cost-diff0
(neg.f64 y)
cost-diff0
(*.f64 (neg.f64 y) y)
cost-diff0
#s(approx (- (* x x) (* y y)) (*.f64 (neg.f64 y) y))
cost-diff0
(*.f64 x x)
cost-diff0
#s(approx (- (* x x) (* y y)) (*.f64 x x))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01349
01949
13849
210249
324949
443249
586049
6139649
7208049
8291449
9322449
10328649
11328649
12336449
0336449
Stop Event
iter limit
saturated
iter limit
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)
x
y
(+.f64 y x)
Outputs
#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 (+.f64 y x) (-.f64 x y))
(-.f64 x y)
x
y
(+.f64 y x)

localize77.0ms (4.3%)

Memory
-9.3MiB live, 37.5MiB allocated; 3ms collecting garbage
Localize:

Found 8 expressions of interest:

NewMetricScoreProgram
accuracy0.0
(-.f64 x y)
accuracy0.0
(+.f64 y x)
accuracy0.0
(*.f64 (-.f64 x y) (+.f64 y x))
accuracy0.0
(*.f64 (neg.f64 y) y)
accuracy0.0
(neg.f64 y)
accuracy33.18315058826273
#s(approx (- (* x x) (* y y)) (*.f64 (neg.f64 y) y))
accuracy0.0
(*.f64 x x)
accuracy27.59743337712372
#s(approx (- (* x x) (* y y)) (*.f64 x x))
Samples
70.0ms256×0valid
Compiler

Compiled 42 to 12 computations (71.4% saved)

Precisions
Click to see histograms. Total time spent on operations: 11.0ms
ival-mult: 6.0ms (56.7% of total)
ival-sub: 2.0ms (18.9% of total)
ival-add: 1.0ms (9.5% of total)
ival-neg: 1.0ms (9.5% of total)
ival-true: 0.0ms (0% of total)
adjust: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

series6.0ms (0.4%)

Memory
8.2MiB live, 8.2MiB allocated; 0ms collecting garbage
Counts
8 → 37
Calls
Call 1
Inputs
#s(approx (- (* x x) (* y y)) (*.f64 x x))
(*.f64 x x)
#s(approx (- (* x x) (* y y)) (*.f64 (neg.f64 y) y))
(*.f64 (neg.f64 y) y)
(neg.f64 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 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 (* (- 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) (* y y)) (* (neg y) y) (neg y) (* (- x y) (+ y x)) (- x y) (+ y x))
1.0ms
y
@inf
((- (* x x) (* y y)) (* x x) (- (* x x) (* y y)) (* (neg y) y) (neg y) (* (- x y) (+ y x)) (- x y) (+ y x))
1.0ms
x
@inf
((- (* x x) (* y y)) (* x x) (- (* x x) (* y y)) (* (neg y) y) (neg y) (* (- x y) (+ y x)) (- x y) (+ y x))
1.0ms
x
@-inf
((- (* x x) (* y y)) (* x x) (- (* x x) (* y y)) (* (neg y) y) (neg y) (* (- x y) (+ y x)) (- x y) (+ y x))
1.0ms
y
@0
((- (* x x) (* y y)) (* x x) (- (* x x) (* y y)) (* (neg y) y) (neg y) (* (- x y) (+ y x)) (- x y) (+ y x))

simplify235.0ms (13.2%)

Memory
-9.7MiB live, 187.2MiB allocated; 34ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0136446
1369441
21458441
08395434
Stop Event
iter limit
node limit
Counts
37 → 37
Calls
Call 1
Inputs
#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 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 (* (- 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 x) (* y y)) #s(hole binary64 (* -1 (pow y 2))))
#s(approx (- (* x x) (* y y)) (*.f64 (neg.f64 y) y))
#s(approx (- (* x x) (* y y)) #s(hole binary64 (- (pow x 2) (pow y 2))))
#s(approx (- (* x x) (* y y)) (*.f64 (+.f64 y x) (-.f64 x y)))
#s(approx (* x x) #s(hole binary64 (pow x 2)))
#s(approx (* x x) (*.f64 x x))
#s(approx (* (- x y) (+ y x)) #s(hole binary64 (* -1 (pow y 2))))
#s(approx (- (* x x) (* y y)) (*.f64 (neg.f64 y) y))
#s(approx (* (- x y) (+ y x)) #s(hole binary64 (+ (* -1 (pow y 2)) (* x (+ y (* -1 y))))))
#s(approx (- (* x x) (* y y)) (*.f64 (neg.f64 y) y))
#s(approx (* (- x y) (+ y x)) #s(hole binary64 (+ (* -1 (pow y 2)) (* x (+ x (+ y (* -1 y)))))))
#s(approx (- (* x x) (* y y)) (*.f64 (+.f64 y x) (-.f64 x y)))
#s(approx (- x y) #s(hole binary64 (* -1 y)))
#s(approx (- x y) (neg.f64 y))
#s(approx (- x y) #s(hole binary64 (- x y)))
#s(approx (- x y) (-.f64 x y))
#s(approx (+ y x) #s(hole binary64 y))
#s(approx (+ y x) y)
#s(approx (+ y x) #s(hole binary64 (+ x y)))
#s(approx (+ y x) (+.f64 y x))
#s(approx (- (* x x) (* y y)) #s(hole binary64 (pow x 2)))
#s(approx (- (* x x) (* y y)) (*.f64 x x))
#s(approx (- (* x x) (* y y)) #s(hole binary64 (* (pow x 2) (+ 1 (* -1 (/ (pow y 2) (pow x 2)))))))
#s(approx (- (* x x) (* y y)) (*.f64 (*.f64 (fma.f64 (/.f64 (neg.f64 y) x) (/.f64 y x) #s(literal 1 binary64)) x) x))
#s(approx (* (- x y) (+ y x)) #s(hole binary64 (pow x 2)))
#s(approx (- (* x x) (* y y)) (*.f64 x x))
#s(approx (* (- x y) (+ y x)) #s(hole binary64 (* (pow x 2) (+ 1 (+ (* -1 (/ y x)) (/ y x))))))
#s(approx (- (* x x) (* y y)) (*.f64 x 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 x) (* y y)) (*.f64 (*.f64 (fma.f64 (/.f64 (neg.f64 y) x) (/.f64 y x) #s(literal 1 binary64)) x) x))
#s(approx (- x y) #s(hole binary64 x))
#s(approx (- x y) x)
#s(approx (- x y) #s(hole binary64 (* x (+ 1 (* -1 (/ y x))))))
#s(approx (- x y) (*.f64 (-.f64 #s(literal 1 binary64) (/.f64 y x)) x))
#s(approx (+ y x) #s(hole binary64 x))
#s(approx (+ y x) x)
#s(approx (+ y x) #s(hole binary64 (* x (+ 1 (/ y x)))))
#s(approx (+ y x) (fma.f64 (/.f64 y x) x 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 x) (* y y)) (*.f64 (*.f64 (fma.f64 (/.f64 (neg.f64 y) x) (/.f64 y x) #s(literal 1 binary64)) x) x))
#s(approx (- x y) #s(hole binary64 (* -1 (* x (- (/ y x) 1)))))
#s(approx (- x y) (*.f64 (-.f64 #s(literal 1 binary64) (/.f64 y x)) x))
#s(approx (+ y x) #s(hole binary64 (* -1 (* x (- (* -1 (/ y x)) 1)))))
#s(approx (+ y x) (fma.f64 (/.f64 y x) x x))
#s(approx (- (* x x) (* y y)) #s(hole binary64 (+ (* -1 (pow y 2)) (pow x 2))))
#s(approx (- (* x x) (* y y)) (*.f64 (+.f64 y x) (-.f64 x y)))
#s(approx (* (neg y) y) #s(hole binary64 (* -1 (pow y 2))))
#s(approx (* (neg y) y) (*.f64 (neg.f64 y) y))
#s(approx (neg y) #s(hole binary64 (* -1 y)))
#s(approx (neg y) (neg.f64 y))
#s(approx (* (- x y) (+ y x)) #s(hole binary64 (+ (* y (+ x (* -1 x))) (pow x 2))))
#s(approx (- (* x x) (* y y)) (*.f64 x x))
#s(approx (* (- x y) (+ y x)) #s(hole binary64 (+ (* y (+ x (+ (* -1 x) (* -1 y)))) (pow x 2))))
#s(approx (- (* x x) (* y y)) (*.f64 (+.f64 y x) (-.f64 x y)))
#s(approx (- x y) #s(hole binary64 (+ x (* -1 y))))
#s(approx (- x y) (-.f64 x y))
#s(approx (- (* x x) (* y y)) #s(hole binary64 (* (pow y 2) (- (/ (pow x 2) (pow y 2)) 1))))
#s(approx (- (* x x) (* y y)) (*.f64 (fma.f64 (/.f64 x y) (/.f64 x y) #s(literal -1 binary64)) (*.f64 y y)))
#s(approx (* (- x y) (+ y x)) #s(hole binary64 (* (pow y 2) (- (+ (* -1 (/ x y)) (/ x y)) 1))))
#s(approx (- (* x x) (* y y)) (*.f64 (neg.f64 y) y))
#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 x) (* y y)) (*.f64 (fma.f64 (/.f64 x y) (/.f64 x y) #s(literal -1 binary64)) (*.f64 y y)))
#s(approx (- x y) #s(hole binary64 (* y (- (/ x y) 1))))
#s(approx (- x y) (*.f64 (-.f64 (/.f64 x y) #s(literal 1 binary64)) y))
#s(approx (+ y x) #s(hole binary64 (* y (+ 1 (/ x y)))))
#s(approx (+ y x) (fma.f64 (/.f64 x y) y y))
#s(approx (* (- x y) (+ y x)) #s(hole binary64 (* (pow y 2) (- (* -1 (/ (+ x (* -1 x)) y)) 1))))
#s(approx (- (* x x) (* y y)) (*.f64 (neg.f64 y) y))
#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 x) (* y y)) (*.f64 (fma.f64 (/.f64 x y) (/.f64 x y) #s(literal -1 binary64)) (*.f64 y y)))
#s(approx (- x y) #s(hole binary64 (* -1 (* y (+ 1 (* -1 (/ x y)))))))
#s(approx (- x y) (*.f64 (-.f64 (/.f64 x y) #s(literal 1 binary64)) y))
#s(approx (+ y x) #s(hole binary64 (* -1 (* y (- (* -1 (/ x y)) 1)))))
#s(approx (+ y x) (fma.f64 (/.f64 x y) y y))

rewrite77.0ms (4.3%)

Memory
-26.0MiB live, 35.2MiB allocated; 7ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01345
01945
17145
061745
Stop Event
iter limit
iter limit
node limit
iter limit
Counts
8 → 109
Calls
Call 1
Inputs
#s(approx (- (* x x) (* y y)) (*.f64 x x))
(*.f64 x x)
#s(approx (- (* x x) (* y y)) (*.f64 (neg.f64 y) y))
(*.f64 (neg.f64 y) y)
(neg.f64 y)
(*.f64 (-.f64 x y) (+.f64 y x))
(-.f64 x y)
(+.f64 y x)
Outputs
#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 (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 (neg.f64 x) (neg.f64 x))
(*.f64 (fabs.f64 x) (fabs.f64 x))
(*.f64 x x)
(pow.f64 (neg.f64 x) #s(literal 2 binary64))
(pow.f64 (fabs.f64 x) #s(literal 2 binary64))
(pow.f64 x #s(literal 2 binary64))
(neg.f64 (*.f64 (neg.f64 x) x))
(neg.f64 (*.f64 x (neg.f64 x)))
(fabs.f64 (*.f64 x x))
(exp.f64 (*.f64 (log.f64 x) #s(literal 2 binary64)))
#s(approx (- (* x x) (* y y)) (*.f64 (neg.f64 y) y))
(*.f64 (neg.f64 (fabs.f64 y)) (fabs.f64 y))
(*.f64 (neg.f64 (neg.f64 y)) (neg.f64 y))
(*.f64 (fabs.f64 y) (neg.f64 (fabs.f64 y)))
(*.f64 (neg.f64 y) (neg.f64 (neg.f64 y)))
(*.f64 (neg.f64 y) y)
(*.f64 y (neg.f64 y))
(neg.f64 (*.f64 y y))
(neg.f64 y)
(*.f64 (+.f64 (neg.f64 x) (fabs.f64 y)) (-.f64 (neg.f64 x) (fabs.f64 y)))
(*.f64 (+.f64 (neg.f64 x) (neg.f64 y)) (-.f64 (neg.f64 x) (neg.f64 y)))
(*.f64 (+.f64 (neg.f64 x) y) (-.f64 (neg.f64 x) y))
(*.f64 (+.f64 (fabs.f64 x) (fabs.f64 y)) (-.f64 (fabs.f64 x) (fabs.f64 y)))
(*.f64 (+.f64 (fabs.f64 x) (neg.f64 y)) (-.f64 (fabs.f64 x) (neg.f64 y)))
(*.f64 (+.f64 (fabs.f64 x) y) (-.f64 (fabs.f64 x) y))
(*.f64 (+.f64 x (fabs.f64 y)) (-.f64 x (fabs.f64 y)))
(*.f64 (+.f64 x (neg.f64 y)) (-.f64 x (neg.f64 y)))
(*.f64 (+.f64 y x) (-.f64 x y))
(*.f64 (-.f64 x y) (+.f64 y x))
(/.f64 (*.f64 (*.f64 (+.f64 y x) (-.f64 y x)) (-.f64 x y)) (-.f64 y x))
(/.f64 (*.f64 (+.f64 (pow.f64 x #s(literal 3 binary64)) (pow.f64 y #s(literal 3 binary64))) (-.f64 x y)) (fma.f64 (-.f64 x y) x (*.f64 y y)))
(/.f64 (*.f64 (-.f64 (pow.f64 x #s(literal 3 binary64)) (pow.f64 y #s(literal 3 binary64))) (+.f64 y x)) (fma.f64 y (+.f64 y x) (*.f64 x x)))
(/.f64 (*.f64 (*.f64 (+.f64 y x) (-.f64 x y)) (+.f64 y x)) (+.f64 y x))
(/.f64 (*.f64 (+.f64 y x) (-.f64 (pow.f64 x #s(literal 3 binary64)) (pow.f64 y #s(literal 3 binary64)))) (fma.f64 y (+.f64 y x) (*.f64 x x)))
(/.f64 (*.f64 (+.f64 y x) (*.f64 (+.f64 y x) (-.f64 x y))) (+.f64 y x))
(/.f64 (*.f64 (-.f64 x y) (*.f64 (+.f64 y x) (-.f64 y x))) (-.f64 y x))
(/.f64 (*.f64 (-.f64 x y) (+.f64 (pow.f64 x #s(literal 3 binary64)) (pow.f64 y #s(literal 3 binary64)))) (fma.f64 (-.f64 x y) x (*.f64 y y)))
(/.f64 (-.f64 (*.f64 (*.f64 (-.f64 x y) y) (*.f64 (-.f64 x y) y)) (*.f64 (*.f64 (-.f64 x y) x) (*.f64 (-.f64 x y) x))) (-.f64 (*.f64 (-.f64 x y) y) (*.f64 (-.f64 x y) x)))
(/.f64 (+.f64 (pow.f64 (*.f64 (-.f64 x y) y) #s(literal 3 binary64)) (pow.f64 (*.f64 (-.f64 x y) x) #s(literal 3 binary64))) (fma.f64 (*.f64 (-.f64 x y) y) (*.f64 (-.f64 x y) y) (-.f64 (*.f64 (*.f64 (-.f64 x y) x) (*.f64 (-.f64 x y) x)) (*.f64 (*.f64 (-.f64 x y) y) (*.f64 (-.f64 x y) x)))))
(/.f64 (+.f64 (pow.f64 x #s(literal 6 binary64)) (pow.f64 (*.f64 (neg.f64 y) y) #s(literal 3 binary64))) (+.f64 (pow.f64 x #s(literal 4 binary64)) (-.f64 (pow.f64 y #s(literal 4 binary64)) (*.f64 (*.f64 x x) (*.f64 (neg.f64 y) y)))))
(/.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 (*.f64 (+.f64 y x) (-.f64 y x)) (-.f64 (pow.f64 x #s(literal 3 binary64)) (pow.f64 y #s(literal 3 binary64)))) (*.f64 (-.f64 y x) (fma.f64 y (+.f64 y x) (*.f64 x x))))
(/.f64 (*.f64 (*.f64 (+.f64 y x) (-.f64 y x)) (*.f64 (+.f64 y x) (-.f64 x y))) (*.f64 (-.f64 y x) (+.f64 y x)))
(/.f64 (*.f64 (+.f64 (pow.f64 x #s(literal 3 binary64)) (pow.f64 y #s(literal 3 binary64))) (-.f64 (pow.f64 x #s(literal 3 binary64)) (pow.f64 y #s(literal 3 binary64)))) (*.f64 (fma.f64 (-.f64 x y) x (*.f64 y y)) (fma.f64 y (+.f64 y x) (*.f64 x x))))
(/.f64 (*.f64 (+.f64 (pow.f64 x #s(literal 3 binary64)) (pow.f64 y #s(literal 3 binary64))) (*.f64 (+.f64 y x) (-.f64 x y))) (+.f64 (pow.f64 x #s(literal 3 binary64)) (pow.f64 y #s(literal 3 binary64))))
(/.f64 (*.f64 (-.f64 (pow.f64 x #s(literal 3 binary64)) (pow.f64 y #s(literal 3 binary64))) (*.f64 (+.f64 y x) (-.f64 y x))) (*.f64 (fma.f64 y (+.f64 y x) (*.f64 x x)) (-.f64 y x)))
(/.f64 (*.f64 (-.f64 (pow.f64 x #s(literal 3 binary64)) (pow.f64 y #s(literal 3 binary64))) (+.f64 (pow.f64 x #s(literal 3 binary64)) (pow.f64 y #s(literal 3 binary64)))) (*.f64 (fma.f64 y (+.f64 y x) (*.f64 x x)) (fma.f64 (-.f64 x y) x (*.f64 y y))))
(/.f64 (*.f64 (*.f64 (+.f64 y x) (-.f64 x y)) (*.f64 (+.f64 y x) (-.f64 y x))) (*.f64 (+.f64 y x) (-.f64 y x)))
(/.f64 (*.f64 (*.f64 (+.f64 y x) (-.f64 x y)) (+.f64 (pow.f64 x #s(literal 3 binary64)) (pow.f64 y #s(literal 3 binary64)))) (*.f64 (+.f64 y x) (fma.f64 (-.f64 x y) x (*.f64 y y))))
(/.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 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))))
(fma.f64 (pow.f64 x #s(literal 1 binary64)) (pow.f64 x #s(literal 1 binary64)) (*.f64 (neg.f64 y) y))
(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 (neg.f64 (fabs.f64 y)) (fabs.f64 y) (*.f64 x x))
(fma.f64 (neg.f64 (neg.f64 y)) (neg.f64 y) (*.f64 x x))
(fma.f64 (fabs.f64 (fabs.f64 x)) (fabs.f64 (fabs.f64 x)) (*.f64 (neg.f64 y) y))
(fma.f64 (neg.f64 x) (neg.f64 x) (*.f64 (neg.f64 y) y))
(fma.f64 (fabs.f64 y) (neg.f64 (fabs.f64 y)) (*.f64 x x))
(fma.f64 (fabs.f64 x) (fabs.f64 x) (*.f64 (neg.f64 y) y))
(fma.f64 (-.f64 x y) y (*.f64 (-.f64 x y) x))
(fma.f64 (-.f64 x y) x (*.f64 (-.f64 x y) y))
(fma.f64 (neg.f64 y) (neg.f64 (neg.f64 y)) (*.f64 x x))
(fma.f64 (neg.f64 y) y (*.f64 x x))
(fma.f64 y (-.f64 x y) (*.f64 (-.f64 x y) x))
(fma.f64 y (neg.f64 y) (*.f64 x x))
(fma.f64 x (-.f64 x y) (*.f64 (-.f64 x y) y))
(fma.f64 x x (*.f64 (neg.f64 y) y))
(-.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 (-.f64 x y) y) (*.f64 (neg.f64 x) (-.f64 x y)))
(-.f64 (*.f64 (-.f64 x y) y) (*.f64 (neg.f64 (-.f64 x y)) x))
(-.f64 (*.f64 x x) (*.f64 (neg.f64 (neg.f64 y)) y))
(-.f64 (*.f64 x x) (*.f64 y y))
(+.f64 (*.f64 (-.f64 x y) x) (*.f64 (-.f64 x y) y))
(+.f64 (*.f64 (-.f64 x y) y) (*.f64 (-.f64 x y) x))
(+.f64 (*.f64 (neg.f64 y) y) (*.f64 x x))
(+.f64 (*.f64 x x) (*.f64 (neg.f64 y) y))
(*.f64 (/.f64 (*.f64 (+.f64 y x) (-.f64 x y)) (*.f64 (+.f64 y x) (-.f64 y x))) (-.f64 y x))
(*.f64 (/.f64 (*.f64 (+.f64 y x) (-.f64 x y)) (+.f64 (pow.f64 x #s(literal 3 binary64)) (pow.f64 y #s(literal 3 binary64)))) (fma.f64 (-.f64 x y) x (*.f64 y y)))
(*.f64 (+.f64 y x) (/.f64 (-.f64 x y) (+.f64 y x)))
(*.f64 (-.f64 x y) (/.f64 (+.f64 y x) (+.f64 y x)))
(/.f64 (neg.f64 (-.f64 (pow.f64 x #s(literal 3 binary64)) (pow.f64 y #s(literal 3 binary64)))) (neg.f64 (fma.f64 y (+.f64 y x) (*.f64 x x))))
(/.f64 (neg.f64 (*.f64 (+.f64 y x) (-.f64 x y))) (neg.f64 (+.f64 y x)))
(/.f64 (-.f64 (pow.f64 x #s(literal 4 binary64)) (pow.f64 y #s(literal 4 binary64))) (*.f64 (fma.f64 y y (*.f64 x x)) (+.f64 y x)))
(/.f64 (-.f64 (pow.f64 x #s(literal 3 binary64)) (pow.f64 y #s(literal 3 binary64))) (fma.f64 y (+.f64 y x) (*.f64 x x)))
(/.f64 (-.f64 (pow.f64 x #s(literal 6 binary64)) (pow.f64 y #s(literal 6 binary64))) (*.f64 (fma.f64 (*.f64 y y) (fma.f64 y y (*.f64 x x)) (pow.f64 x #s(literal 4 binary64))) (+.f64 y x)))
(/.f64 (*.f64 (+.f64 y x) (-.f64 x y)) (+.f64 y x))
(-.f64 (/.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 y (+.f64 y x) (*.f64 x x))) (/.f64 (pow.f64 y #s(literal 3 binary64)) (fma.f64 y (+.f64 y x) (*.f64 x x))))
(-.f64 (/.f64 (*.f64 x x) (+.f64 y x)) (/.f64 (*.f64 y y) (+.f64 y x)))
(-.f64 x y)
(+.f64 (/.f64 (*.f64 (-.f64 x y) y) (+.f64 y x)) (/.f64 (*.f64 (-.f64 x y) x) (+.f64 y x)))
(+.f64 (/.f64 (*.f64 x x) (+.f64 y x)) (/.f64 (*.f64 (neg.f64 y) y) (+.f64 y x)))
(/.f64 (neg.f64 (*.f64 (+.f64 y x) (-.f64 y x))) (neg.f64 (-.f64 y x)))
(/.f64 (neg.f64 (+.f64 (pow.f64 x #s(literal 3 binary64)) (pow.f64 y #s(literal 3 binary64)))) (neg.f64 (fma.f64 (-.f64 x y) x (*.f64 y y))))
(/.f64 (*.f64 (+.f64 y x) (-.f64 y 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 y x))))
(/.f64 (+.f64 (pow.f64 x #s(literal 3 binary64)) (pow.f64 y #s(literal 3 binary64))) (fma.f64 (-.f64 x y) x (*.f64 y y)))
(/.f64 (*.f64 (+.f64 y x) (-.f64 x y)) (-.f64 x y))
(-.f64 (/.f64 (*.f64 y y) (-.f64 y x)) (/.f64 (*.f64 x x) (-.f64 y x)))
(+.f64 (/.f64 (pow.f64 y #s(literal 3 binary64)) (fma.f64 (-.f64 x y) x (*.f64 y y))) (/.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 (-.f64 x y) x (*.f64 y y))))
(+.f64 y x)
(+.f64 x y)

eval11.0ms (0.6%)

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

Compiled 1 939 to 335 computations (82.7% saved)

prune5.0ms (0.3%)

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

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New1250125
Fresh000
Picked033
Done000
Total1253128
Accuracy
100.0%
Counts
128 → 3
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(*.f64 (-.f64 x y) (+.f64 y x))
48.2%
#s(approx (- (* x x) (* y y)) (*.f64 (neg.f64 y) y))
56.9%
#s(approx (- (* x x) (* y y)) (*.f64 x x))
Compiler

Compiled 67 to 35 computations (47.8% saved)

regimes13.0ms (0.7%)

Memory
-26.4MiB live, 18.6MiB allocated; 5ms 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:

6.0ms
y
2.0ms
x
2.0ms
(*.f64 x x)
2.0ms
(-.f64 (*.f64 x x) (*.f64 y y))
2.0ms
(*.f64 y y)
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)

regimes6.0ms (0.4%)

Memory
17.9MiB live, 17.9MiB allocated; 0ms 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:

1.0ms
x
1.0ms
y
1.0ms
(-.f64 (*.f64 x x) (*.f64 y y))
1.0ms
(*.f64 y y)
1.0ms
(*.f64 x x)
Results
AccuracySegmentsBranch
79.6%2(*.f64 y y)
80.7%2(*.f64 x x)
96.9%2(-.f64 (*.f64 x x) (*.f64 y y))
80.7%2x
79.6%2y
Compiler

Compiled 15 to 15 computations (0% saved)

regimes7.0ms (0.4%)

Memory
-29.7MiB live, 15.7MiB allocated; 3ms collecting garbage
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:

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

Compiled 15 to 15 computations (0% saved)

bsearch0.0ms (0%)

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

Compiled 10 to 10 computations (0% saved)

simplify61.0ms (3.4%)

Memory
6.0MiB live, 51.6MiB allocated; 7ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01851
13951
210451
324751
442551
586051
6140951
7209351
8292451
9323451
10329651
11329651
12337451
Stop Event
saturated
Calls
Call 1
Inputs
(*.f64 (-.f64 x y) (+.f64 y x))
(if (<=.f64 (-.f64 (*.f64 x x) (*.f64 y y)) #s(literal -1012011266536553/50600563326827654588123836679729326762389162441035529589225339506857584891998836722990095925359281123796769466079202977847452184346448369216753349985184627480379356069141590341116726935523304085309941919618186267140501870856173174654525838912289889085202514128089692388083353653807625633046581877161501565826926935273373696 binary64)) #s(approx (- (* x x) (* y y)) (*.f64 (neg.f64 y) y)) #s(approx (- (* x x) (* y y)) (*.f64 x x)))
#s(approx (- (* x x) (* y y)) (*.f64 x x))
Outputs
(*.f64 (-.f64 x y) (+.f64 y x))
(if (<=.f64 (-.f64 (*.f64 x x) (*.f64 y y)) #s(literal -1012011266536553/50600563326827654588123836679729326762389162441035529589225339506857584891998836722990095925359281123796769466079202977847452184346448369216753349985184627480379356069141590341116726935523304085309941919618186267140501870856173174654525838912289889085202514128089692388083353653807625633046581877161501565826926935273373696 binary64)) #s(approx (- (* x x) (* y y)) (*.f64 (neg.f64 y) y)) #s(approx (- (* x x) (* y y)) (*.f64 x x)))
#s(approx (- (* x x) (* y y)) (*.f64 x x))

derivations0.0ms (0%)

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

end0.0ms (0%)

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

Profiling

Loading profile data...