Difference of squares

Time bar (total: 2.0s)

start0.0ms (0%)

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

analyze0.0ms (0%)

Memory
1.2MiB live, 1.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)

sample1.3s (64.9%)

Memory
-65.6MiB live, 1 245.2MiB allocated; 1.2s collecting garbage
Samples
507.0ms8 256×0valid
Precisions
Click to see histograms. Total time spent on operations: 170.0ms
ival-mult: 130.0ms (76.3% of total)
ival-sub: 36.0ms (21.1% of total)
ival-assert: 3.0ms (1.8% of total)
adjust: 2.0ms (1.2% of total)
Bogosity

explain237.0ms (11.6%)

Memory
-46.1MiB live, 103.8MiB allocated; 55ms collecting garbage
FPErrors
Click to see full error table
Ground TruthOverpredictionsExampleUnderpredictionsExampleSubexpression
160-0-(-.f64 (*.f64 a a) (*.f64 b b))
00-0-(*.f64 a a)
00-0-a
00-0-b
00-0-(*.f64 b b)
Explanations
Click to see full explanations table
OperatorSubexpressionExplanationCount
-.f64(-.f64 (*.f64 a a) (*.f64 b b))nan-rescue160
(*.f64 a a)overflow56
(*.f64 b b)overflow61
Confusion
Predicted +Predicted -
+160
-0240
Precision
1.0
Recall
1.0
Confusion?
Predicted +Predicted MaybePredicted -
+1600
-00240
Precision?
1.0
Recall?
1.0
Freqs
test
numberfreq
0240
116
Total Confusion?
Predicted +Predicted MaybePredicted -
+100
-000
Precision?
1.0
Recall?
1.0
Samples
23.0ms512×0valid
Compiler

Compiled 41 to 19 computations (53.7% saved)

Precisions
Click to see histograms. Total time spent on operations: 11.0ms
ival-mult: 8.0ms (75.5% of total)
ival-sub: 2.0ms (18.9% of total)
ival-true: 0.0ms (0% of total)
adjust: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

preprocess138.0ms (6.8%)

Memory
32.4MiB live, 134.6MiB allocated; 20ms 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 a a) (*.f64 b b))
Outputs
(-.f64 (*.f64 a a) (*.f64 b b))
(*.f64 (-.f64 (neg.f64 b) a) (-.f64 b a))
Symmetry

(abs a)

(abs b)

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
93.7%
(-.f64 (*.f64 a a) (*.f64 b b))
Compiler

Compiled 7 to 5 computations (28.6% saved)

series8.0ms (0.4%)

Memory
-35.6MiB live, 8.1MiB allocated; 8ms collecting garbage
Counts
5 → 10
Calls
Call 1
Inputs
(-.f64 (*.f64 a a) (*.f64 b b))
(*.f64 a a)
a
(*.f64 b b)
b
Outputs
#s(approx (- (* a a) (* b b)) #s(hole binary64 (* -1 (pow b 2))))
#s(approx (- (* a a) (* b b)) #s(hole binary64 (- (pow a 2) (pow b 2))))
#s(approx (* a a) #s(hole binary64 (pow a 2)))
#s(approx a #s(hole binary64 a))
#s(approx (- (* a a) (* b b)) #s(hole binary64 (pow a 2)))
#s(approx (- (* a a) (* b b)) #s(hole binary64 (* (pow a 2) (+ 1 (* -1 (/ (pow b 2) (pow a 2)))))))
#s(approx (- (* a a) (* b b)) #s(hole binary64 (+ (* -1 (pow b 2)) (pow a 2))))
#s(approx (* b b) #s(hole binary64 (pow b 2)))
#s(approx b #s(hole binary64 b))
#s(approx (- (* a a) (* b b)) #s(hole binary64 (* (pow b 2) (- (/ (pow a 2) (pow b 2)) 1))))
Calls

6 calls:

TimeVariablePointExpression
5.0ms
b
@-inf
((- (* a a) (* b b)) (* a a) a (* b b) b)
1.0ms
a
@inf
((- (* a a) (* b b)) (* a a) a (* b b) b)
1.0ms
a
@0
((- (* a a) (* b b)) (* a a) a (* b b) b)
1.0ms
a
@-inf
((- (* a a) (* b b)) (* a a) a (* b b) b)
1.0ms
b
@inf
((- (* a a) (* b b)) (* a a) a (* b b) b)

rewrite66.0ms (3.2%)

Memory
22.0MiB live, 112.1MiB allocated; 9ms 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 a a) (*.f64 b b))
(*.f64 a a)
a
(*.f64 b b)
b
#s(approx (- (* a a) (* b b)) #s(hole binary64 (* -1 (pow b 2))))
#s(approx (- (* a a) (* b b)) #s(hole binary64 (- (pow a 2) (pow b 2))))
#s(approx (* a a) #s(hole binary64 (pow a 2)))
#s(approx a #s(hole binary64 a))
#s(approx (- (* a a) (* b b)) #s(hole binary64 (pow a 2)))
#s(approx (- (* a a) (* b b)) #s(hole binary64 (* (pow a 2) (+ 1 (* -1 (/ (pow b 2) (pow a 2)))))))
#s(approx (- (* a a) (* b b)) #s(hole binary64 (+ (* -1 (pow b 2)) (pow a 2))))
#s(approx (* b b) #s(hole binary64 (pow b 2)))
#s(approx b #s(hole binary64 b))
#s(approx (- (* a a) (* b b)) #s(hole binary64 (* (pow b 2) (- (/ (pow a 2) (pow b 2)) 1))))
Outputs
(*.f64 (+.f64 (neg.f64 a) (neg.f64 b)) (-.f64 (neg.f64 a) (neg.f64 b)))
(*.f64 (+.f64 (neg.f64 a) (fabs.f64 b)) (-.f64 (neg.f64 a) (fabs.f64 b)))
(*.f64 (+.f64 (neg.f64 a) b) (-.f64 (neg.f64 a) b))
(*.f64 (+.f64 (fabs.f64 a) (neg.f64 b)) (-.f64 (fabs.f64 a) (neg.f64 b)))
(*.f64 (+.f64 (fabs.f64 a) (fabs.f64 b)) (-.f64 (fabs.f64 a) (fabs.f64 b)))
(*.f64 (+.f64 (fabs.f64 a) b) (-.f64 (fabs.f64 a) b))
(*.f64 (+.f64 a (neg.f64 b)) (-.f64 a (neg.f64 b)))
(*.f64 (+.f64 a (fabs.f64 b)) (-.f64 a (fabs.f64 b)))
(*.f64 (-.f64 a b) (+.f64 b a))
(*.f64 (+.f64 b a) (-.f64 a b))
(/.f64 (neg.f64 (*.f64 (*.f64 (+.f64 (neg.f64 a) b) (-.f64 (neg.f64 a) b)) (fma.f64 (neg.f64 b) b (*.f64 (neg.f64 a) a)))) (neg.f64 (fma.f64 (neg.f64 b) b (*.f64 (neg.f64 a) a))))
(/.f64 (neg.f64 (fma.f64 (pow.f64 (*.f64 a a) #s(literal 3/2 binary64)) (pow.f64 (*.f64 a a) #s(literal 3/2 binary64)) (pow.f64 (*.f64 (*.f64 b b) #s(literal -1 binary64)) #s(literal 3 binary64)))) (neg.f64 (fma.f64 (*.f64 (*.f64 b b) b) b (*.f64 (*.f64 a a) (fma.f64 #s(literal 1 binary64) (*.f64 a a) (*.f64 b b))))))
(/.f64 (neg.f64 (*.f64 (fma.f64 #s(literal 1 binary64) (*.f64 a a) (*.f64 b b)) (*.f64 (+.f64 (neg.f64 a) b) (-.f64 (neg.f64 a) b)))) (neg.f64 (fma.f64 #s(literal 1 binary64) (*.f64 a a) (*.f64 b b))))
(/.f64 (neg.f64 (-.f64 (pow.f64 (*.f64 a a) #s(literal 3 binary64)) (pow.f64 (*.f64 b b) #s(literal 3 binary64)))) (neg.f64 (fma.f64 (*.f64 (*.f64 a a) a) a (*.f64 (*.f64 b b) (fma.f64 #s(literal 1 binary64) (*.f64 a a) (*.f64 b b))))))
(/.f64 (*.f64 (fma.f64 #s(literal 1 binary64) (*.f64 a a) (*.f64 b b)) (*.f64 (+.f64 (neg.f64 a) b) (-.f64 (neg.f64 a) b))) (fma.f64 #s(literal 1 binary64) (*.f64 a a) (*.f64 b b)))
(/.f64 (*.f64 (*.f64 (+.f64 (neg.f64 a) b) (-.f64 (neg.f64 a) b)) (fma.f64 (neg.f64 b) b (*.f64 (neg.f64 a) a))) (fma.f64 (neg.f64 b) b (*.f64 (neg.f64 a) a)))
(/.f64 (-.f64 (pow.f64 (*.f64 a a) #s(literal 3 binary64)) (pow.f64 (*.f64 b b) #s(literal 3 binary64))) (fma.f64 (*.f64 (*.f64 a a) a) a (*.f64 (*.f64 b b) (fma.f64 #s(literal 1 binary64) (*.f64 a a) (*.f64 b b)))))
(/.f64 (fma.f64 (pow.f64 (*.f64 a a) #s(literal 3/2 binary64)) (pow.f64 (*.f64 a a) #s(literal 3/2 binary64)) (pow.f64 (*.f64 (*.f64 b b) #s(literal -1 binary64)) #s(literal 3 binary64))) (fma.f64 (*.f64 (*.f64 a a) a) a (-.f64 (pow.f64 (*.f64 (*.f64 b b) #s(literal -1 binary64)) #s(literal 2 binary64)) (*.f64 (*.f64 (*.f64 (*.f64 b b) #s(literal -1 binary64)) a) a))))
(/.f64 (fma.f64 (pow.f64 (*.f64 a a) #s(literal 3/2 binary64)) (pow.f64 (*.f64 a a) #s(literal 3/2 binary64)) (pow.f64 (*.f64 (*.f64 b b) #s(literal -1 binary64)) #s(literal 3 binary64))) (fma.f64 (*.f64 (*.f64 b b) b) b (*.f64 (*.f64 a a) (fma.f64 #s(literal 1 binary64) (*.f64 a a) (*.f64 b b)))))
(fma.f64 (*.f64 #s(literal -1 binary64) (neg.f64 b)) (neg.f64 b) (*.f64 a a))
(fma.f64 (*.f64 #s(literal -1 binary64) (fabs.f64 b)) (fabs.f64 b) (*.f64 a a))
(fma.f64 (*.f64 #s(literal -1 binary64) b) b (*.f64 a a))
(fma.f64 (*.f64 (neg.f64 a) #s(literal 1 binary64)) (*.f64 (neg.f64 a) #s(literal 1 binary64)) (*.f64 (*.f64 b b) #s(literal -1 binary64)))
(fma.f64 (*.f64 (fabs.f64 a) #s(literal 1 binary64)) (*.f64 (fabs.f64 a) #s(literal 1 binary64)) (*.f64 (*.f64 b b) #s(literal -1 binary64)))
(fma.f64 (*.f64 a #s(literal 1 binary64)) (*.f64 a #s(literal 1 binary64)) (*.f64 (*.f64 b b) #s(literal -1 binary64)))
(fma.f64 (*.f64 #s(literal 1 binary64) (neg.f64 a)) (*.f64 #s(literal 1 binary64) (neg.f64 a)) (*.f64 (*.f64 b b) #s(literal -1 binary64)))
(fma.f64 (*.f64 #s(literal 1 binary64) (neg.f64 a)) (neg.f64 a) (*.f64 (*.f64 b b) #s(literal -1 binary64)))
(fma.f64 (*.f64 #s(literal 1 binary64) (fabs.f64 a)) (*.f64 #s(literal 1 binary64) (fabs.f64 a)) (*.f64 (*.f64 b b) #s(literal -1 binary64)))
(fma.f64 (*.f64 #s(literal 1 binary64) (fabs.f64 a)) (fabs.f64 a) (*.f64 (*.f64 b b) #s(literal -1 binary64)))
(fma.f64 (*.f64 #s(literal 1 binary64) a) (*.f64 #s(literal 1 binary64) a) (*.f64 (*.f64 b b) #s(literal -1 binary64)))
(fma.f64 (*.f64 #s(literal 1 binary64) a) a (*.f64 (*.f64 b b) #s(literal -1 binary64)))
(fma.f64 (neg.f64 (neg.f64 b)) (neg.f64 b) (*.f64 a a))
(fma.f64 (neg.f64 (fabs.f64 b)) (fabs.f64 b) (*.f64 a a))
(fma.f64 (neg.f64 (neg.f64 a)) (neg.f64 (neg.f64 a)) (*.f64 (*.f64 b b) #s(literal -1 binary64)))
(fma.f64 (neg.f64 (fabs.f64 a)) (neg.f64 (fabs.f64 a)) (*.f64 (*.f64 b b) #s(literal -1 binary64)))
(fma.f64 (fabs.f64 (fabs.f64 a)) (fabs.f64 (fabs.f64 a)) (*.f64 (*.f64 b b) #s(literal -1 binary64)))
(fma.f64 (exp.f64 (log.f64 a)) (exp.f64 (log.f64 a)) (*.f64 (*.f64 b b) #s(literal -1 binary64)))
(fma.f64 (neg.f64 a) (*.f64 (neg.f64 a) #s(literal 1 binary64)) (*.f64 (*.f64 b b) #s(literal -1 binary64)))
(fma.f64 (neg.f64 a) (neg.f64 a) (*.f64 (*.f64 b b) #s(literal -1 binary64)))
(fma.f64 (neg.f64 b) (*.f64 (neg.f64 b) #s(literal -1 binary64)) (*.f64 a a))
(fma.f64 (neg.f64 b) (neg.f64 (neg.f64 b)) (*.f64 a a))
(fma.f64 (neg.f64 b) b (*.f64 a a))
(fma.f64 (fabs.f64 a) (*.f64 (fabs.f64 a) #s(literal 1 binary64)) (*.f64 (*.f64 b b) #s(literal -1 binary64)))
(fma.f64 (fabs.f64 a) (fabs.f64 a) (*.f64 (*.f64 b b) #s(literal -1 binary64)))
(fma.f64 (fabs.f64 b) (*.f64 (fabs.f64 b) #s(literal -1 binary64)) (*.f64 a a))
(fma.f64 (fabs.f64 b) (neg.f64 (fabs.f64 b)) (*.f64 a a))
(fma.f64 #s(literal 1 binary64) (*.f64 a a) (*.f64 (*.f64 b b) #s(literal -1 binary64)))
(fma.f64 (*.f64 a a) #s(literal 1 binary64) (*.f64 (*.f64 b b) #s(literal -1 binary64)))
(fma.f64 (*.f64 b b) #s(literal -1 binary64) (*.f64 a a))
(fma.f64 #s(literal -1 binary64) (*.f64 b b) (*.f64 a a))
(fma.f64 b (*.f64 b #s(literal -1 binary64)) (*.f64 a a))
(fma.f64 b (neg.f64 b) (*.f64 a a))
(fma.f64 a (*.f64 a #s(literal 1 binary64)) (*.f64 (*.f64 b b) #s(literal -1 binary64)))
(fma.f64 a a (*.f64 (*.f64 b b) #s(literal -1 binary64)))
(-.f64 (/.f64 (pow.f64 (*.f64 (*.f64 b b) #s(literal -1 binary64)) #s(literal 2 binary64)) (fma.f64 (neg.f64 b) b (*.f64 (neg.f64 a) a))) (/.f64 (pow.f64 (*.f64 a a) #s(literal 2 binary64)) (fma.f64 (neg.f64 b) b (*.f64 (neg.f64 a) a))))
(-.f64 (/.f64 (pow.f64 (*.f64 a a) #s(literal 2 binary64)) (fma.f64 #s(literal 1 binary64) (*.f64 a a) (*.f64 b b))) (/.f64 (pow.f64 (*.f64 (*.f64 b b) #s(literal -1 binary64)) #s(literal 2 binary64)) (fma.f64 #s(literal 1 binary64) (*.f64 a a) (*.f64 b b))))
(-.f64 (/.f64 (pow.f64 (*.f64 a a) #s(literal 3 binary64)) (fma.f64 (*.f64 (*.f64 a a) a) a (*.f64 (*.f64 b b) (fma.f64 #s(literal 1 binary64) (*.f64 a a) (*.f64 b b))))) (/.f64 (pow.f64 (*.f64 b b) #s(literal 3 binary64)) (fma.f64 (*.f64 (*.f64 a a) a) a (*.f64 (*.f64 b b) (fma.f64 #s(literal 1 binary64) (*.f64 a a) (*.f64 b b))))))
(-.f64 (*.f64 a a) (*.f64 (neg.f64 (neg.f64 b)) b))
(-.f64 (*.f64 a a) (*.f64 (*.f64 (*.f64 b b) #s(literal -1 binary64)) #s(literal -1 binary64)))
(-.f64 (*.f64 a a) (*.f64 #s(literal 1 binary64) (*.f64 b b)))
(-.f64 (*.f64 a a) (*.f64 b b))
(-.f64 (*.f64 (*.f64 b b) #s(literal -1 binary64)) (*.f64 (neg.f64 a) a))
(+.f64 (/.f64 (pow.f64 (*.f64 (*.f64 b b) #s(literal -1 binary64)) #s(literal 3 binary64)) (fma.f64 (*.f64 (*.f64 b b) b) b (*.f64 (*.f64 a a) (fma.f64 #s(literal 1 binary64) (*.f64 a a) (*.f64 b b))))) (/.f64 (pow.f64 (*.f64 a a) #s(literal 3 binary64)) (fma.f64 (*.f64 (*.f64 b b) b) b (*.f64 (*.f64 a a) (fma.f64 #s(literal 1 binary64) (*.f64 a a) (*.f64 b b))))))
(+.f64 (*.f64 a a) (*.f64 (*.f64 b b) #s(literal -1 binary64)))
(+.f64 (*.f64 (*.f64 b b) #s(literal -1 binary64)) (*.f64 a a))
(*.f64 (*.f64 (neg.f64 a) #s(literal 1 binary64)) (*.f64 (neg.f64 a) #s(literal 1 binary64)))
(*.f64 (*.f64 (fabs.f64 a) #s(literal 1 binary64)) (*.f64 (fabs.f64 a) #s(literal 1 binary64)))
(*.f64 (*.f64 a #s(literal 1 binary64)) (*.f64 a #s(literal 1 binary64)))
(*.f64 (*.f64 #s(literal 1 binary64) (neg.f64 a)) (*.f64 #s(literal 1 binary64) (neg.f64 a)))
(*.f64 (*.f64 #s(literal 1 binary64) (neg.f64 a)) (neg.f64 a))
(*.f64 (*.f64 #s(literal 1 binary64) (fabs.f64 a)) (*.f64 #s(literal 1 binary64) (fabs.f64 a)))
(*.f64 (*.f64 #s(literal 1 binary64) (fabs.f64 a)) (fabs.f64 a))
(*.f64 (*.f64 #s(literal 1 binary64) a) (*.f64 #s(literal 1 binary64) a))
(*.f64 (*.f64 #s(literal 1 binary64) a) a)
(*.f64 (neg.f64 (neg.f64 a)) (neg.f64 (neg.f64 a)))
(*.f64 (neg.f64 (fabs.f64 a)) (neg.f64 (fabs.f64 a)))
(*.f64 (fabs.f64 (fabs.f64 a)) (fabs.f64 (fabs.f64 a)))
(*.f64 (exp.f64 (log.f64 a)) (exp.f64 (log.f64 a)))
(*.f64 (neg.f64 a) (*.f64 (neg.f64 a) #s(literal 1 binary64)))
(*.f64 (neg.f64 a) (neg.f64 a))
(*.f64 (fabs.f64 a) (*.f64 (fabs.f64 a) #s(literal 1 binary64)))
(*.f64 (fabs.f64 a) (fabs.f64 a))
(*.f64 #s(literal 1 binary64) (*.f64 a a))
(*.f64 (*.f64 a a) #s(literal 1 binary64))
(*.f64 a (*.f64 a #s(literal 1 binary64)))
(*.f64 a a)
(pow.f64 (exp.f64 (log.f64 a)) #s(literal 2 binary64))
(pow.f64 (neg.f64 a) #s(literal 2 binary64))
(pow.f64 (fabs.f64 a) #s(literal 2 binary64))
(pow.f64 (*.f64 a a) #s(literal 1 binary64))
(pow.f64 a #s(literal 2 binary64))
(/.f64 (*.f64 #s(literal 2 binary64) (*.f64 a a)) #s(literal 2 binary64))
(/.f64 (*.f64 (*.f64 a a) #s(literal 2 binary64)) #s(literal 2 binary64))
(neg.f64 (*.f64 (*.f64 a a) #s(literal -1 binary64)))
(neg.f64 (*.f64 #s(literal -1 binary64) (*.f64 a a)))
(neg.f64 (*.f64 (neg.f64 a) a))
(fabs.f64 (*.f64 a a))
(+.f64 (cosh.f64 (*.f64 (log.f64 a) #s(literal 2 binary64))) (sinh.f64 (*.f64 (log.f64 a) #s(literal 2 binary64))))
(exp.f64 (fma.f64 (log.f64 a) #s(literal 2 binary64) #s(literal 0 binary64)))
(exp.f64 (+.f64 #s(literal 0 binary64) (*.f64 (log.f64 a) #s(literal 2 binary64))))
(exp.f64 (*.f64 (log.f64 a) #s(literal 2 binary64)))
a
(*.f64 (neg.f64 (neg.f64 b)) (neg.f64 (neg.f64 b)))
(*.f64 (neg.f64 (fabs.f64 b)) (neg.f64 (fabs.f64 b)))
(*.f64 (fabs.f64 (fabs.f64 b)) (fabs.f64 (fabs.f64 b)))
(*.f64 (exp.f64 (log.f64 b)) (exp.f64 (log.f64 b)))
(*.f64 (neg.f64 b) (neg.f64 b))
(*.f64 (fabs.f64 b) (fabs.f64 b))
(*.f64 b b)
(pow.f64 (exp.f64 (log.f64 b)) #s(literal 2 binary64))
(pow.f64 (neg.f64 b) #s(literal 2 binary64))
(pow.f64 (fabs.f64 b) #s(literal 2 binary64))
(pow.f64 (*.f64 b b) #s(literal 1 binary64))
(pow.f64 b #s(literal 2 binary64))
(neg.f64 (*.f64 (*.f64 b b) #s(literal -1 binary64)))
(fabs.f64 (*.f64 b b))
(+.f64 (cosh.f64 (*.f64 (log.f64 b) #s(literal 2 binary64))) (sinh.f64 (*.f64 (log.f64 b) #s(literal 2 binary64))))
(exp.f64 (*.f64 (log.f64 b) #s(literal 2 binary64)))
b
#s(approx (- (* a a) (* b b)) (*.f64 (*.f64 b b) #s(literal -1 binary64)))
#s(approx (- (* a a) (* b b)) (*.f64 (+.f64 (neg.f64 a) b) (-.f64 (neg.f64 a) b)))
#s(approx (* a a) (*.f64 a a))
#s(approx a a)
#s(approx (- (* a a) (* b b)) (*.f64 a a))
#s(approx (- (* a a) (* b b)) (*.f64 (/.f64 (fma.f64 (*.f64 (*.f64 b b) #s(literal -1 binary64)) #s(literal 2 binary64) (*.f64 (*.f64 a a) #s(literal 2 binary64))) (*.f64 (*.f64 a a) #s(literal 2 binary64))) (*.f64 a a)))
#s(approx (- (* a a) (* b b)) (*.f64 (+.f64 (neg.f64 a) b) (-.f64 (neg.f64 a) b)))
#s(approx (* b b) (*.f64 b b))
#s(approx b b)
#s(approx (- (* a a) (* b b)) (*.f64 (fma.f64 (/.f64 (neg.f64 a) b) (/.f64 (neg.f64 a) b) #s(literal -1 binary64)) (*.f64 b b)))

eval20.0ms (1%)

Memory
-6.9MiB live, 48.0MiB allocated; 8ms collecting garbage
Compiler

Compiled 1 686 to 302 computations (82.1% saved)

prune38.0ms (1.8%)

Memory
32.3MiB live, 124.2MiB allocated; 6ms collecting garbage
Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New1311132
Fresh000
Picked101
Done000
Total1321133
Accuracy
100.0%
Counts
133 → 1
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(*.f64 (-.f64 a b) (+.f64 b a))
Compiler

Compiled 7 to 5 computations (28.6% saved)

series44.0ms (2.2%)

Memory
-35.3MiB live, 12.0MiB allocated; 1ms collecting garbage
Counts
5 → 30
Calls
Call 1
Inputs
(*.f64 (-.f64 a b) (+.f64 b a))
(-.f64 a b)
a
b
(+.f64 b a)
Outputs
#s(approx (* (- a b) (+ b a)) #s(hole binary64 (* -1 (pow b 2))))
#s(approx (* (- a b) (+ b a)) #s(hole binary64 (+ (* -1 (pow b 2)) (* a (+ b (* -1 b))))))
#s(approx (* (- a b) (+ b a)) #s(hole binary64 (+ (* -1 (pow b 2)) (* a (+ a (+ b (* -1 b)))))))
#s(approx (- a b) #s(hole binary64 (* -1 b)))
#s(approx (- a b) #s(hole binary64 (- a b)))
#s(approx a #s(hole binary64 a))
#s(approx (+ b a) #s(hole binary64 b))
#s(approx (+ b a) #s(hole binary64 (+ a b)))
#s(approx (* (- a b) (+ b a)) #s(hole binary64 (pow a 2)))
#s(approx (* (- a b) (+ b a)) #s(hole binary64 (* (pow a 2) (+ 1 (+ (* -1 (/ b a)) (/ b a))))))
#s(approx (* (- a b) (+ b a)) #s(hole binary64 (* (pow a 2) (+ 1 (+ (* -1 (/ b a)) (+ (* -1 (/ (pow b 2) (pow a 2))) (/ b a)))))))
#s(approx (- a b) #s(hole binary64 a))
#s(approx (- a b) #s(hole binary64 (* a (+ 1 (* -1 (/ b a))))))
#s(approx (+ b a) #s(hole binary64 a))
#s(approx (+ b a) #s(hole binary64 (* a (+ 1 (/ b a)))))
#s(approx (* (- a b) (+ b a)) #s(hole binary64 (* (pow a 2) (+ 1 (* -1 (/ (+ (* -1 (+ b (* -1 b))) (/ (pow b 2) a)) a))))))
#s(approx (- a b) #s(hole binary64 (* -1 (* a (- (/ b a) 1)))))
#s(approx (+ b a) #s(hole binary64 (* -1 (* a (- (* -1 (/ b a)) 1)))))
#s(approx (* (- a b) (+ b a)) #s(hole binary64 (+ (* b (+ a (* -1 a))) (pow a 2))))
#s(approx (* (- a b) (+ b a)) #s(hole binary64 (+ (* b (+ a (+ (* -1 a) (* -1 b)))) (pow a 2))))
#s(approx (- a b) #s(hole binary64 (+ a (* -1 b))))
#s(approx b #s(hole binary64 b))
#s(approx (* (- a b) (+ b a)) #s(hole binary64 (* (pow b 2) (- (+ (* -1 (/ a b)) (/ a b)) 1))))
#s(approx (* (- a b) (+ b a)) #s(hole binary64 (* (pow b 2) (- (+ (* -1 (/ a b)) (+ (/ a b) (/ (pow a 2) (pow b 2)))) 1))))
#s(approx (- a b) #s(hole binary64 (* b (- (/ a b) 1))))
#s(approx (+ b a) #s(hole binary64 (* b (+ 1 (/ a b)))))
#s(approx (* (- a b) (+ b a)) #s(hole binary64 (* (pow b 2) (- (* -1 (/ (+ a (* -1 a)) b)) 1))))
#s(approx (* (- a b) (+ b a)) #s(hole binary64 (* (pow b 2) (- (* -1 (/ (+ a (+ (* -1 a) (* -1 (/ (pow a 2) b)))) b)) 1))))
#s(approx (- a b) #s(hole binary64 (* -1 (* b (+ 1 (* -1 (/ a b)))))))
#s(approx (+ b a) #s(hole binary64 (* -1 (* b (- (* -1 (/ a b)) 1)))))
Calls

6 calls:

TimeVariablePointExpression
41.0ms
a
@-inf
((* (- a b) (+ b a)) (- a b) a b (+ b a))
1.0ms
a
@0
((* (- a b) (+ b a)) (- a b) a b (+ b a))
1.0ms
a
@inf
((* (- a b) (+ b a)) (- a b) a b (+ b a))
1.0ms
b
@-inf
((* (- a b) (+ b a)) (- a b) a b (+ b a))
1.0ms
b
@inf
((* (- a b) (+ b a)) (- a b) a b (+ b a))

rewrite85.0ms (4.1%)

Memory
19.6MiB live, 70.3MiB allocated; 5ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0121475
0122428
0718419
Stop Event
iter limit
iter limit
node limit
iter limit
Counts
35 → 47
Calls
Call 1
Inputs
(*.f64 (-.f64 a b) (+.f64 b a))
(-.f64 a b)
a
b
(+.f64 b a)
#s(approx (* (- a b) (+ b a)) #s(hole binary64 (* -1 (pow b 2))))
#s(approx (* (- a b) (+ b a)) #s(hole binary64 (+ (* -1 (pow b 2)) (* a (+ b (* -1 b))))))
#s(approx (* (- a b) (+ b a)) #s(hole binary64 (+ (* -1 (pow b 2)) (* a (+ a (+ b (* -1 b)))))))
#s(approx (- a b) #s(hole binary64 (* -1 b)))
#s(approx (- a b) #s(hole binary64 (- a b)))
#s(approx a #s(hole binary64 a))
#s(approx (+ b a) #s(hole binary64 b))
#s(approx (+ b a) #s(hole binary64 (+ a b)))
#s(approx (* (- a b) (+ b a)) #s(hole binary64 (pow a 2)))
#s(approx (* (- a b) (+ b a)) #s(hole binary64 (* (pow a 2) (+ 1 (+ (* -1 (/ b a)) (/ b a))))))
#s(approx (* (- a b) (+ b a)) #s(hole binary64 (* (pow a 2) (+ 1 (+ (* -1 (/ b a)) (+ (* -1 (/ (pow b 2) (pow a 2))) (/ b a)))))))
#s(approx (- a b) #s(hole binary64 a))
#s(approx (- a b) #s(hole binary64 (* a (+ 1 (* -1 (/ b a))))))
#s(approx (+ b a) #s(hole binary64 a))
#s(approx (+ b a) #s(hole binary64 (* a (+ 1 (/ b a)))))
#s(approx (* (- a b) (+ b a)) #s(hole binary64 (* (pow a 2) (+ 1 (* -1 (/ (+ (* -1 (+ b (* -1 b))) (/ (pow b 2) a)) a))))))
#s(approx (- a b) #s(hole binary64 (* -1 (* a (- (/ b a) 1)))))
#s(approx (+ b a) #s(hole binary64 (* -1 (* a (- (* -1 (/ b a)) 1)))))
#s(approx (* (- a b) (+ b a)) #s(hole binary64 (+ (* b (+ a (* -1 a))) (pow a 2))))
#s(approx (* (- a b) (+ b a)) #s(hole binary64 (+ (* b (+ a (+ (* -1 a) (* -1 b)))) (pow a 2))))
#s(approx (- a b) #s(hole binary64 (+ a (* -1 b))))
#s(approx b #s(hole binary64 b))
#s(approx (* (- a b) (+ b a)) #s(hole binary64 (* (pow b 2) (- (+ (* -1 (/ a b)) (/ a b)) 1))))
#s(approx (* (- a b) (+ b a)) #s(hole binary64 (* (pow b 2) (- (+ (* -1 (/ a b)) (+ (/ a b) (/ (pow a 2) (pow b 2)))) 1))))
#s(approx (- a b) #s(hole binary64 (* b (- (/ a b) 1))))
#s(approx (+ b a) #s(hole binary64 (* b (+ 1 (/ a b)))))
#s(approx (* (- a b) (+ b a)) #s(hole binary64 (* (pow b 2) (- (* -1 (/ (+ a (* -1 a)) b)) 1))))
#s(approx (* (- a b) (+ b a)) #s(hole binary64 (* (pow b 2) (- (* -1 (/ (+ a (+ (* -1 a) (* -1 (/ (pow a 2) b)))) b)) 1))))
#s(approx (- a b) #s(hole binary64 (* -1 (* b (+ 1 (* -1 (/ a b)))))))
#s(approx (+ b a) #s(hole binary64 (* -1 (* b (- (* -1 (/ a b)) 1)))))
Outputs
(*.f64 (+.f64 b a) (-.f64 a b))
(*.f64 (-.f64 a b) (+.f64 b a))
(fma.f64 (-.f64 a b) b (*.f64 (-.f64 a b) a))
(fma.f64 b (-.f64 a b) (*.f64 a (-.f64 a b)))
(+.f64 (*.f64 b (-.f64 a b)) (*.f64 a (-.f64 a b)))
(+.f64 (*.f64 (-.f64 a b) b) (*.f64 (-.f64 a b) a))
(/.f64 (-.f64 (*.f64 a a) (*.f64 b b)) (+.f64 b a))
(/.f64 (-.f64 (pow.f64 a #s(literal 3 binary64)) (pow.f64 b #s(literal 3 binary64))) (fma.f64 a a (fma.f64 b b (*.f64 a b))))
(-.f64 a b)
a
b
(/.f64 (-.f64 (*.f64 b b) (*.f64 a a)) (-.f64 b a))
(/.f64 (-.f64 (*.f64 a a) (*.f64 b b)) (-.f64 a b))
(/.f64 (+.f64 (pow.f64 b #s(literal 3 binary64)) (pow.f64 a #s(literal 3 binary64))) (fma.f64 (pow.f64 b #s(literal 1 binary64)) (pow.f64 b #s(literal 1 binary64)) (-.f64 (*.f64 a a) (*.f64 b a))))
(/.f64 (+.f64 (pow.f64 a #s(literal 3 binary64)) (pow.f64 b #s(literal 3 binary64))) (fma.f64 (pow.f64 a #s(literal 1 binary64)) (pow.f64 a #s(literal 1 binary64)) (-.f64 (*.f64 b b) (*.f64 a b))))
(+.f64 b a)
(+.f64 a b)
#s(approx (* (- a b) (+ b a)) (*.f64 (*.f64 b b) #s(literal -1 binary64)))
#s(approx (* (- a b) (+ b a)) (fma.f64 (*.f64 #s(literal 0 binary64) b) a (*.f64 (*.f64 b b) #s(literal -1 binary64))))
#s(approx (* (- a b) (+ b a)) (fma.f64 (fma.f64 #s(literal 0 binary64) b a) a (*.f64 (*.f64 b b) #s(literal -1 binary64))))
#s(approx (- a b) (*.f64 #s(literal -1 binary64) b))
#s(approx (- a b) (-.f64 a b))
#s(approx a a)
#s(approx (+ b a) b)
#s(approx (+ b a) (+.f64 b a))
#s(approx (* (- a b) (+ b a)) (*.f64 a a))
#s(approx (* (- a b) (+ b a)) (*.f64 (fma.f64 #s(literal 0 binary64) (/.f64 b a) #s(literal 1 binary64)) (*.f64 a a)))
#s(approx (* (- a b) (+ b a)) (*.f64 (+.f64 (fma.f64 (/.f64 b a) #s(literal -1 binary64) #s(literal 1 binary64)) (fma.f64 (/.f64 (*.f64 b b) (*.f64 a a)) #s(literal -1 binary64) (/.f64 b a))) (*.f64 a a)))
#s(approx (- a b) a)
#s(approx (- a b) (*.f64 (fma.f64 (/.f64 b a) #s(literal -1 binary64) #s(literal 1 binary64)) a))
#s(approx (+ b a) a)
#s(approx (+ b a) (*.f64 (+.f64 (/.f64 b a) #s(literal 1 binary64)) a))
#s(approx (* (- a b) (+ b a)) (*.f64 (fma.f64 (/.f64 (fma.f64 (*.f64 #s(literal 0 binary64) b) #s(literal -1 binary64) (/.f64 (*.f64 b b) a)) a) #s(literal -1 binary64) #s(literal 1 binary64)) (*.f64 a a)))
#s(approx (- a b) (*.f64 (*.f64 (-.f64 (/.f64 b a) #s(literal 1 binary64)) a) #s(literal -1 binary64)))
#s(approx (+ b a) (*.f64 (*.f64 (-.f64 (*.f64 (/.f64 b a) #s(literal -1 binary64)) #s(literal 1 binary64)) a) #s(literal -1 binary64)))
#s(approx (* (- a b) (+ b a)) (fma.f64 (*.f64 #s(literal 0 binary64) a) b (*.f64 a a)))
#s(approx (* (- a b) (+ b a)) (fma.f64 (fma.f64 #s(literal 0 binary64) a (*.f64 #s(literal -1 binary64) b)) b (*.f64 a a)))
#s(approx (- a b) (fma.f64 #s(literal -1 binary64) b a))
#s(approx b b)
#s(approx (* (- a b) (+ b a)) (*.f64 (-.f64 (*.f64 #s(literal 0 binary64) (/.f64 a b)) #s(literal 1 binary64)) (*.f64 b b)))
#s(approx (* (- a b) (+ b a)) (*.f64 (-.f64 (fma.f64 #s(literal 0 binary64) (/.f64 a b) (/.f64 (*.f64 a a) (*.f64 b b))) #s(literal 1 binary64)) (*.f64 b b)))
#s(approx (- a b) (*.f64 (-.f64 (/.f64 a b) #s(literal 1 binary64)) b))
#s(approx (+ b a) (*.f64 (+.f64 (/.f64 a b) #s(literal 1 binary64)) b))
#s(approx (* (- a b) (+ b a)) (*.f64 (-.f64 (*.f64 (*.f64 #s(literal 0 binary64) (/.f64 a b)) #s(literal -1 binary64)) #s(literal 1 binary64)) (*.f64 b b)))
#s(approx (* (- a b) (+ b a)) (*.f64 (-.f64 (*.f64 (/.f64 (fma.f64 #s(literal 0 binary64) a (*.f64 (/.f64 (*.f64 a a) b) #s(literal -1 binary64))) b) #s(literal -1 binary64)) #s(literal 1 binary64)) (*.f64 b b)))
#s(approx (- a b) (*.f64 (*.f64 (fma.f64 (/.f64 a b) #s(literal -1 binary64) #s(literal 1 binary64)) b) #s(literal -1 binary64)))
#s(approx (+ b a) (*.f64 (*.f64 (-.f64 (*.f64 (/.f64 a b) #s(literal -1 binary64)) #s(literal 1 binary64)) b) #s(literal -1 binary64)))

eval5.0ms (0.3%)

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

Compiled 731 to 171 computations (76.6% saved)

prune35.0ms (1.7%)

Memory
-12.8MiB live, 31.9MiB allocated; 5ms collecting garbage
Pruning

1 alts after pruning (0 fresh and 1 done)

PrunedKeptTotal
New51051
Fresh000
Picked011
Done000
Total51152
Accuracy
100.0%
Counts
52 → 1
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(*.f64 (-.f64 a b) (+.f64 b a))
Compiler

Compiled 21 to 13 computations (38.1% saved)

regimes9.0ms (0.4%)

Memory
-24.3MiB live, 20.1MiB allocated; 5ms collecting garbage
Accuracy

Total -4.0b remaining (-∞%)

Threshold costs -4b (-∞%)

Counts
2 → 1
Calls
Call 1
Inputs
(*.f64 (-.f64 a b) (+.f64 b a))
(-.f64 (*.f64 a a) (*.f64 b b))
Outputs
(*.f64 (-.f64 a b) (+.f64 b a))
Calls

5 calls:

1.0ms
b
1.0ms
(*.f64 a a)
1.0ms
a
1.0ms
(-.f64 (*.f64 a a) (*.f64 b b))
1.0ms
(*.f64 b b)
Results
AccuracySegmentsBranch
100.0%1(*.f64 b b)
100.0%1(*.f64 a a)
100.0%1(-.f64 (*.f64 a a) (*.f64 b b))
100.0%1a
100.0%1b
Compiler

Compiled 15 to 15 computations (0% saved)

simplify9.0ms (0.4%)

Memory
24.6MiB live, 24.6MiB allocated; 0ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
057
177
2127
3137
Stop Event
saturated
Calls
Call 1
Inputs
(*.f64 (-.f64 a b) (+.f64 b a))
Outputs
(*.f64 (-.f64 a b) (+.f64 b a))

derivations5.0ms (0.2%)

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

Compiled 7 to 5 computations (28.6% saved)

preprocess14.0ms (0.7%)

Memory
-9.4MiB live, 33.6MiB allocated; 8ms collecting garbage
Remove

(abs b)

(abs a)

Compiler

Compiled 56 to 40 computations (28.6% saved)

end0.0ms (0%)

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

Profiling

Loading profile data...