Difference of squares

Time bar (total: 2.1s)

start0.0ms (0%)

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

analyze0.0ms (0%)

Memory
0.3MiB live, 0.3MiB 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 (34%)

Memory
-16.6MiB live, 829.7MiB allocated; 187ms collecting garbage
Samples
406.0ms8 256×0valid
Precisions
Click to see histograms. Total time spent on operations: 217.0ms
ival-mult: 170.0ms (78.5% of total)
ival-sub: 36.0ms (16.6% of total)
ival-true: 6.0ms (2.8% of total)
ival-assert: 3.0ms (1.4% of total)
adjust: 2.0ms (0.9% of total)
Bogosity

explain110.0ms (5.3%)

Memory
5.3MiB live, 192.1MiB allocated; 40ms collecting garbage
FPErrors
Click to see full error table
Ground TruthOverpredictionsExampleUnderpredictionsExampleSubexpression
80-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-rescue80
(*.f64 a a)overflow63
(*.f64 b b)overflow60
Confusion
Predicted +Predicted -
+80
-0248
Precision
1.0
Recall
1.0
Confusion?
Predicted +Predicted MaybePredicted -
+800
-00248
Precision?
1.0
Recall?
1.0
Freqs
test
numberfreq
0248
18
Total Confusion?
Predicted +Predicted MaybePredicted -
+100
-000
Precision?
1.0
Recall?
1.0
Samples
26.0ms512×0valid
Compiler

Compiled 41 to 19 computations (53.7% saved)

Precisions
Click to see histograms. Total time spent on operations: 13.0ms
ival-mult: 10.0ms (75.9% of total)
ival-sub: 2.0ms (15.2% of total)
ival-true: 0.0ms (0% of total)
adjust: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

preprocess131.0ms (6.3%)

Memory
2.8MiB live, 140.2MiB allocated; 25ms 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 a a) (*.f64 b b))
Outputs
(-.f64 (*.f64 a a) (*.f64 b b))
(*.f64 (-.f64 a b) (+.f64 b a))
Symmetry

(abs b)

(abs a)

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

Compiled 7 to 5 computations (28.6% saved)

series4.0ms (0.2%)

Memory
11.4MiB live, 11.4MiB allocated; 0ms collecting garbage
Counts
5 → 9
Calls
Call 1
Inputs
(-.f64 (*.f64 a a) (*.f64 b b))
(*.f64 a a)
a
(*.f64 b b)
b
Outputs
(* -1 (pow b 2))
(- (pow a 2) (pow b 2))
(pow a 2)
a
(* (pow a 2) (+ 1 (* -1 (/ (pow b 2) (pow a 2)))))
(+ (* -1 (pow b 2)) (pow a 2))
(pow b 2)
b
(* (pow b 2) (- (/ (pow a 2) (pow b 2)) 1))
Calls

6 calls:

TimeVariablePointExpression
1.0ms
a
@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
b
@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)
1.0ms
a
@0
((- (* a a) (* b b)) (* a a) a (* b b) b)

simplify212.0ms (10.2%)

Memory
-21.4MiB live, 189.2MiB allocated; 127ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01746
14046
215246
394346
4554146
0845845
Stop Event
iter limit
node limit
Counts
9 → 7
Calls
Call 1
Inputs
(* -1 (pow b 2))
(- (pow a 2) (pow b 2))
(pow a 2)
a
(* (pow a 2) (+ 1 (* -1 (/ (pow b 2) (pow a 2)))))
(+ (* -1 (pow b 2)) (pow a 2))
(pow b 2)
b
(* (pow b 2) (- (/ (pow a 2) (pow b 2)) 1))
Outputs
(* -1 (pow b 2))
(*.f64 (neg.f64 b) b)
(- (pow a 2) (pow b 2))
(fma.f64 (neg.f64 b) b (*.f64 a a))
(pow a 2)
(*.f64 a a)
a
(* (pow a 2) (+ 1 (* -1 (/ (pow b 2) (pow a 2)))))
(fma.f64 (neg.f64 b) b (*.f64 a a))
(+ (* -1 (pow b 2)) (pow a 2))
(fma.f64 (neg.f64 b) b (*.f64 a a))
(pow b 2)
(*.f64 b b)
b
(* (pow b 2) (- (/ (pow a 2) (pow b 2)) 1))
(*.f64 (fma.f64 (/.f64 (/.f64 a b) b) a #s(literal -1 binary64)) (*.f64 b b))

rewrite70.0ms (3.4%)

Memory
25.6MiB live, 81.5MiB allocated; 11ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0515
0815
13715
032915
Stop Event
iter limit
iter limit
iter limit
unsound
iter limit
Counts
5 → 75
Calls
Call 1
Inputs
(-.f64 (*.f64 a a) (*.f64 b b))
(*.f64 a a)
a
(*.f64 b b)
b
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 (+.f64 (pow.f64 a #s(literal 6 binary64)) (pow.f64 (*.f64 (neg.f64 b) b) #s(literal 3 binary64))) (+.f64 (pow.f64 a #s(literal 4 binary64)) (-.f64 (pow.f64 b #s(literal 4 binary64)) (*.f64 (*.f64 a a) (*.f64 (neg.f64 b) b)))))
(/.f64 (neg.f64 (-.f64 (pow.f64 a #s(literal 4 binary64)) (pow.f64 b #s(literal 4 binary64)))) (neg.f64 (fma.f64 b b (*.f64 a a))))
(/.f64 (neg.f64 (-.f64 (pow.f64 a #s(literal 6 binary64)) (pow.f64 b #s(literal 6 binary64)))) (neg.f64 (fma.f64 (*.f64 b b) (fma.f64 b b (*.f64 a a)) (pow.f64 a #s(literal 4 binary64)))))
(/.f64 (-.f64 (pow.f64 a #s(literal 4 binary64)) (pow.f64 b #s(literal 4 binary64))) (fma.f64 b b (*.f64 a a)))
(/.f64 (-.f64 (pow.f64 a #s(literal 6 binary64)) (pow.f64 b #s(literal 6 binary64))) (fma.f64 (*.f64 b b) (fma.f64 b b (*.f64 a a)) (pow.f64 a #s(literal 4 binary64))))
(fma.f64 (pow.f64 a #s(literal 1 binary64)) (pow.f64 a #s(literal 1 binary64)) (*.f64 (neg.f64 (neg.f64 b)) (neg.f64 b)))
(fma.f64 (pow.f64 a #s(literal 1 binary64)) (pow.f64 a #s(literal 1 binary64)) (*.f64 (neg.f64 (fabs.f64 b)) (fabs.f64 b)))
(fma.f64 (pow.f64 a #s(literal 1 binary64)) (pow.f64 a #s(literal 1 binary64)) (*.f64 (neg.f64 b) b))
(fma.f64 (neg.f64 (neg.f64 a)) (neg.f64 (neg.f64 a)) (*.f64 (neg.f64 (neg.f64 b)) (neg.f64 b)))
(fma.f64 (neg.f64 (neg.f64 a)) (neg.f64 (neg.f64 a)) (*.f64 (neg.f64 (fabs.f64 b)) (fabs.f64 b)))
(fma.f64 (neg.f64 (neg.f64 a)) (neg.f64 (neg.f64 a)) (*.f64 (neg.f64 b) b))
(fma.f64 (neg.f64 (fabs.f64 a)) (neg.f64 (fabs.f64 a)) (*.f64 (neg.f64 (neg.f64 b)) (neg.f64 b)))
(fma.f64 (neg.f64 (fabs.f64 a)) (neg.f64 (fabs.f64 a)) (*.f64 (neg.f64 (fabs.f64 b)) (fabs.f64 b)))
(fma.f64 (neg.f64 (fabs.f64 a)) (neg.f64 (fabs.f64 a)) (*.f64 (neg.f64 b) b))
(fma.f64 (fabs.f64 (fabs.f64 a)) (fabs.f64 (fabs.f64 a)) (*.f64 (neg.f64 (neg.f64 b)) (neg.f64 b)))
(fma.f64 (fabs.f64 (fabs.f64 a)) (fabs.f64 (fabs.f64 a)) (*.f64 (neg.f64 (fabs.f64 b)) (fabs.f64 b)))
(fma.f64 (fabs.f64 (fabs.f64 a)) (fabs.f64 (fabs.f64 a)) (*.f64 (neg.f64 b) b))
(fma.f64 (neg.f64 b) b (*.f64 a a))
(fma.f64 (neg.f64 a) (neg.f64 a) (*.f64 (neg.f64 (neg.f64 b)) (neg.f64 b)))
(fma.f64 (neg.f64 a) (neg.f64 a) (*.f64 (neg.f64 (fabs.f64 b)) (fabs.f64 b)))
(fma.f64 (neg.f64 a) (neg.f64 a) (*.f64 (neg.f64 b) b))
(fma.f64 (fabs.f64 a) (fabs.f64 a) (*.f64 (neg.f64 (neg.f64 b)) (neg.f64 b)))
(fma.f64 (fabs.f64 a) (fabs.f64 a) (*.f64 (neg.f64 (fabs.f64 b)) (fabs.f64 b)))
(fma.f64 (fabs.f64 a) (fabs.f64 a) (*.f64 (neg.f64 b) b))
(fma.f64 b (neg.f64 b) (*.f64 a a))
(fma.f64 a a (*.f64 (neg.f64 (neg.f64 b)) (neg.f64 b)))
(fma.f64 a a (*.f64 (neg.f64 (fabs.f64 b)) (fabs.f64 b)))
(fma.f64 a a (*.f64 (neg.f64 b) b))
(-.f64 (/.f64 (pow.f64 a #s(literal 4 binary64)) (fma.f64 b b (*.f64 a a))) (/.f64 (pow.f64 b #s(literal 4 binary64)) (fma.f64 b b (*.f64 a a))))
(-.f64 (/.f64 (pow.f64 a #s(literal 6 binary64)) (fma.f64 (*.f64 b b) (fma.f64 b b (*.f64 a a)) (pow.f64 a #s(literal 4 binary64)))) (/.f64 (pow.f64 b #s(literal 6 binary64)) (fma.f64 (*.f64 b b) (fma.f64 b b (*.f64 a a)) (pow.f64 a #s(literal 4 binary64)))))
(-.f64 (*.f64 a a) (*.f64 (neg.f64 (neg.f64 b)) b))
(-.f64 (*.f64 a a) (*.f64 b b))
(+.f64 (*.f64 (neg.f64 b) b) (*.f64 a a))
(+.f64 (*.f64 a a) (*.f64 (neg.f64 (neg.f64 b)) (neg.f64 b)))
(+.f64 (*.f64 a a) (*.f64 (neg.f64 (fabs.f64 b)) (fabs.f64 b)))
(+.f64 (*.f64 a a) (*.f64 (neg.f64 b) b))
(*.f64 (pow.f64 a #s(literal 1 binary64)) (pow.f64 a #s(literal 1 binary64)))
(*.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 (neg.f64 a) (neg.f64 a))
(*.f64 (fabs.f64 a) (fabs.f64 a))
(*.f64 a a)
(pow.f64 (neg.f64 a) #s(literal 2 binary64))
(pow.f64 (fabs.f64 a) #s(literal 2 binary64))
(pow.f64 a #s(literal 2 binary64))
(neg.f64 (*.f64 (neg.f64 a) a))
(neg.f64 (*.f64 a (neg.f64 a)))
(fabs.f64 (*.f64 a a))
(exp.f64 (*.f64 (log.f64 a) #s(literal 2 binary64)))
a
(*.f64 (pow.f64 b #s(literal 1 binary64)) (pow.f64 b #s(literal 1 binary64)))
(*.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 (neg.f64 b) (neg.f64 b))
(*.f64 (fabs.f64 b) (fabs.f64 b))
(*.f64 b b)
(pow.f64 (neg.f64 b) #s(literal 2 binary64))
(pow.f64 (fabs.f64 b) #s(literal 2 binary64))
(pow.f64 b #s(literal 2 binary64))
(neg.f64 (*.f64 (neg.f64 b) b))
(fabs.f64 (*.f64 b b))
(exp.f64 (*.f64 (log.f64 b) #s(literal 2 binary64)))
b

eval15.0ms (0.7%)

Memory
-25.4MiB live, 20.2MiB allocated; 5ms collecting garbage
Compiler

Compiled 894 to 181 computations (79.8% saved)

prune3.0ms (0.1%)

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

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New80282
Fresh000
Picked101
Done000
Total81283
Accuracy
100.0%
Counts
83 → 2
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(*.f64 (-.f64 a b) (+.f64 b a))
51.9%
#s(approx (- (* a a) (* b b)) (*.f64 (neg.f64 b) b))
Compiler

Compiled 19 to 13 computations (31.6% saved)

series6.0ms (0.3%)

Memory
9.9MiB live, 9.9MiB allocated; 0ms collecting garbage
Counts
8 → 31
Calls
Call 1
Inputs
#s(approx (- (* a a) (* b b)) (*.f64 (neg.f64 b) b))
(*.f64 (neg.f64 b) b)
(neg.f64 b)
b
(*.f64 (-.f64 a b) (+.f64 b a))
(-.f64 a b)
a
(+.f64 b a)
Outputs
(* -1 (pow b 2))
(- (pow a 2) (pow b 2))
(+ (* -1 (pow b 2)) (* a (+ b (* -1 b))))
(+ (* -1 (pow b 2)) (* a (+ a (+ b (* -1 b)))))
(* -1 b)
(- a b)
a
b
(+ a b)
(pow a 2)
(* (pow a 2) (+ 1 (* -1 (/ (pow b 2) (pow a 2)))))
(* (pow a 2) (+ 1 (+ (* -1 (/ b a)) (/ b a))))
(* (pow a 2) (+ 1 (+ (* -1 (/ b a)) (+ (* -1 (/ (pow b 2) (pow a 2))) (/ b a)))))
(* a (+ 1 (* -1 (/ b a))))
(* a (+ 1 (/ b a)))
(* (pow a 2) (+ 1 (* -1 (/ (+ (* -1 (+ b (* -1 b))) (/ (pow b 2) a)) a))))
(* -1 (* a (- (/ b a) 1)))
(* -1 (* a (- (* -1 (/ b a)) 1)))
(+ (* -1 (pow b 2)) (pow a 2))
(+ (* b (+ a (* -1 a))) (pow a 2))
(+ (* b (+ a (+ (* -1 a) (* -1 b)))) (pow a 2))
(+ a (* -1 b))
(* (pow b 2) (- (/ (pow a 2) (pow b 2)) 1))
(* (pow b 2) (- (+ (* -1 (/ a b)) (/ a b)) 1))
(* (pow b 2) (- (+ (* -1 (/ a b)) (+ (/ a b) (/ (pow a 2) (pow b 2)))) 1))
(* b (- (/ a b) 1))
(* b (+ 1 (/ a b)))
(* (pow b 2) (- (* -1 (/ (+ a (* -1 a)) b)) 1))
(* (pow b 2) (- (* -1 (/ (+ a (+ (* -1 a) (* -1 (/ (pow a 2) b)))) b)) 1))
(* -1 (* b (+ 1 (* -1 (/ a b)))))
(* -1 (* b (- (* -1 (/ a b)) 1)))
Calls

6 calls:

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

simplify272.0ms (13.1%)

Memory
25.3MiB live, 251.8MiB allocated; 45ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
092205
1299200
21122200
08075193
Stop Event
iter limit
node limit
Counts
31 → 29
Calls
Call 1
Inputs
(* -1 (pow b 2))
(- (pow a 2) (pow b 2))
(+ (* -1 (pow b 2)) (* a (+ b (* -1 b))))
(+ (* -1 (pow b 2)) (* a (+ a (+ b (* -1 b)))))
(* -1 b)
(- a b)
a
b
(+ a b)
(pow a 2)
(* (pow a 2) (+ 1 (* -1 (/ (pow b 2) (pow a 2)))))
(* (pow a 2) (+ 1 (+ (* -1 (/ b a)) (/ b a))))
(* (pow a 2) (+ 1 (+ (* -1 (/ b a)) (+ (* -1 (/ (pow b 2) (pow a 2))) (/ b a)))))
(* a (+ 1 (* -1 (/ b a))))
(* a (+ 1 (/ b a)))
(* (pow a 2) (+ 1 (* -1 (/ (+ (* -1 (+ b (* -1 b))) (/ (pow b 2) a)) a))))
(* -1 (* a (- (/ b a) 1)))
(* -1 (* a (- (* -1 (/ b a)) 1)))
(+ (* -1 (pow b 2)) (pow a 2))
(+ (* b (+ a (* -1 a))) (pow a 2))
(+ (* b (+ a (+ (* -1 a) (* -1 b)))) (pow a 2))
(+ a (* -1 b))
(* (pow b 2) (- (/ (pow a 2) (pow b 2)) 1))
(* (pow b 2) (- (+ (* -1 (/ a b)) (/ a b)) 1))
(* (pow b 2) (- (+ (* -1 (/ a b)) (+ (/ a b) (/ (pow a 2) (pow b 2)))) 1))
(* b (- (/ a b) 1))
(* b (+ 1 (/ a b)))
(* (pow b 2) (- (* -1 (/ (+ a (* -1 a)) b)) 1))
(* (pow b 2) (- (* -1 (/ (+ a (+ (* -1 a) (* -1 (/ (pow a 2) b)))) b)) 1))
(* -1 (* b (+ 1 (* -1 (/ a b)))))
(* -1 (* b (- (* -1 (/ a b)) 1)))
Outputs
(* -1 (pow b 2))
(*.f64 (neg.f64 b) b)
(- (pow a 2) (pow b 2))
(fma.f64 (neg.f64 b) b (*.f64 a a))
(+ (* -1 (pow b 2)) (* a (+ b (* -1 b))))
(*.f64 (neg.f64 b) b)
(+ (* -1 (pow b 2)) (* a (+ a (+ b (* -1 b)))))
(fma.f64 (neg.f64 b) b (*.f64 a a))
(* -1 b)
(neg.f64 b)
(- a b)
(-.f64 a b)
a
b
(+ a b)
(+.f64 b a)
(pow a 2)
(*.f64 a a)
(* (pow a 2) (+ 1 (* -1 (/ (pow b 2) (pow a 2)))))
(*.f64 (neg.f64 (*.f64 a (fma.f64 (/.f64 b a) (/.f64 b a) #s(literal -1 binary64)))) a)
(* (pow a 2) (+ 1 (+ (* -1 (/ b a)) (/ b a))))
(*.f64 a a)
(* (pow a 2) (+ 1 (+ (* -1 (/ b a)) (+ (* -1 (/ (pow b 2) (pow a 2))) (/ b a)))))
(*.f64 (neg.f64 (*.f64 a (fma.f64 (/.f64 b a) (/.f64 b a) #s(literal -1 binary64)))) a)
(* a (+ 1 (* -1 (/ b a))))
(*.f64 (-.f64 #s(literal 1 binary64) (/.f64 b a)) a)
(* a (+ 1 (/ b a)))
(fma.f64 (/.f64 b a) a a)
(* (pow a 2) (+ 1 (* -1 (/ (+ (* -1 (+ b (* -1 b))) (/ (pow b 2) a)) a))))
(*.f64 (neg.f64 (*.f64 a (fma.f64 (/.f64 b a) (/.f64 b a) #s(literal -1 binary64)))) a)
(* -1 (* a (- (/ b a) 1)))
(*.f64 (-.f64 #s(literal 1 binary64) (/.f64 b a)) a)
(* -1 (* a (- (* -1 (/ b a)) 1)))
(fma.f64 (/.f64 b a) a a)
(+ (* -1 (pow b 2)) (pow a 2))
(fma.f64 (neg.f64 b) b (*.f64 a a))
(+ (* b (+ a (* -1 a))) (pow a 2))
(*.f64 a a)
(+ (* b (+ a (+ (* -1 a) (* -1 b)))) (pow a 2))
(fma.f64 (neg.f64 b) b (*.f64 a a))
(+ a (* -1 b))
(-.f64 a b)
(* (pow b 2) (- (/ (pow a 2) (pow b 2)) 1))
(*.f64 (fma.f64 (/.f64 (/.f64 a b) b) a #s(literal -1 binary64)) (*.f64 b b))
(* (pow b 2) (- (+ (* -1 (/ a b)) (/ a b)) 1))
(*.f64 (neg.f64 b) b)
(* (pow b 2) (- (+ (* -1 (/ a b)) (+ (/ a b) (/ (pow a 2) (pow b 2)))) 1))
(*.f64 (fma.f64 (/.f64 (/.f64 a b) b) a #s(literal -1 binary64)) (*.f64 b b))
(* b (- (/ a b) 1))
(*.f64 (-.f64 (/.f64 a b) #s(literal 1 binary64)) b)
(* b (+ 1 (/ a b)))
(fma.f64 (/.f64 a b) b b)
(* (pow b 2) (- (* -1 (/ (+ a (* -1 a)) b)) 1))
(*.f64 (neg.f64 b) b)
(* (pow b 2) (- (* -1 (/ (+ a (+ (* -1 a) (* -1 (/ (pow a 2) b)))) b)) 1))
(*.f64 (fma.f64 (/.f64 (/.f64 a b) b) a #s(literal -1 binary64)) (*.f64 b b))
(* -1 (* b (+ 1 (* -1 (/ a b)))))
(*.f64 (-.f64 (/.f64 a b) #s(literal 1 binary64)) b)
(* -1 (* b (- (* -1 (/ a b)) 1)))
(fma.f64 (/.f64 a b) b b)

rewrite80.0ms (3.9%)

Memory
-44.8MiB live, 64.1MiB allocated; 7ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01133
01633
16833
061033
Stop Event
iter limit
iter limit
node limit
iter limit
Counts
8 → 96
Calls
Call 1
Inputs
#s(approx (- (* a a) (* b b)) (*.f64 (neg.f64 b) b))
(*.f64 (neg.f64 b) b)
(neg.f64 b)
b
(*.f64 (-.f64 a b) (+.f64 b a))
(-.f64 a b)
a
(+.f64 b a)
Outputs
#s(approx (- (* a a) (* b b)) (*.f64 (neg.f64 b) b))
(*.f64 (neg.f64 (fabs.f64 b)) (fabs.f64 b))
(*.f64 (neg.f64 (neg.f64 b)) (neg.f64 b))
(*.f64 (fabs.f64 b) (neg.f64 (fabs.f64 b)))
(*.f64 (neg.f64 b) (neg.f64 (neg.f64 b)))
(*.f64 (neg.f64 b) b)
(*.f64 b (neg.f64 b))
(neg.f64 (*.f64 b b))
(neg.f64 b)
b
(*.f64 (+.f64 (neg.f64 a) (fabs.f64 b)) (-.f64 (neg.f64 a) (fabs.f64 b)))
(*.f64 (+.f64 (neg.f64 a) (neg.f64 b)) (-.f64 (neg.f64 a) (neg.f64 b)))
(*.f64 (+.f64 (neg.f64 a) b) (-.f64 (neg.f64 a) b))
(*.f64 (+.f64 (fabs.f64 a) (fabs.f64 b)) (-.f64 (fabs.f64 a) (fabs.f64 b)))
(*.f64 (+.f64 (fabs.f64 a) (neg.f64 b)) (-.f64 (fabs.f64 a) (neg.f64 b)))
(*.f64 (+.f64 (fabs.f64 a) b) (-.f64 (fabs.f64 a) b))
(*.f64 (+.f64 a (fabs.f64 b)) (-.f64 a (fabs.f64 b)))
(*.f64 (+.f64 a (neg.f64 b)) (-.f64 a (neg.f64 b)))
(*.f64 (+.f64 b a) (-.f64 a b))
(*.f64 (-.f64 a b) (+.f64 b a))
(/.f64 (*.f64 (*.f64 (+.f64 b a) (-.f64 b a)) (-.f64 a b)) (-.f64 b a))
(/.f64 (*.f64 (+.f64 (pow.f64 a #s(literal 3 binary64)) (pow.f64 b #s(literal 3 binary64))) (-.f64 a b)) (fma.f64 (-.f64 a b) a (*.f64 b b)))
(/.f64 (*.f64 (-.f64 (pow.f64 a #s(literal 3 binary64)) (pow.f64 b #s(literal 3 binary64))) (+.f64 b a)) (fma.f64 b (+.f64 b a) (*.f64 a a)))
(/.f64 (*.f64 (*.f64 (+.f64 b a) (-.f64 a b)) (+.f64 b a)) (+.f64 b a))
(/.f64 (*.f64 (+.f64 b a) (-.f64 (pow.f64 a #s(literal 3 binary64)) (pow.f64 b #s(literal 3 binary64)))) (fma.f64 b (+.f64 b a) (*.f64 a a)))
(/.f64 (*.f64 (+.f64 b a) (*.f64 (+.f64 b a) (-.f64 a b))) (+.f64 b a))
(/.f64 (*.f64 (-.f64 a b) (*.f64 (+.f64 b a) (-.f64 b a))) (-.f64 b a))
(/.f64 (*.f64 (-.f64 a b) (+.f64 (pow.f64 a #s(literal 3 binary64)) (pow.f64 b #s(literal 3 binary64)))) (fma.f64 (-.f64 a b) a (*.f64 b b)))
(/.f64 (-.f64 (*.f64 (*.f64 (-.f64 a b) b) (*.f64 (-.f64 a b) b)) (*.f64 (*.f64 (-.f64 a b) a) (*.f64 (-.f64 a b) a))) (-.f64 (*.f64 (-.f64 a b) b) (*.f64 (-.f64 a b) a)))
(/.f64 (+.f64 (pow.f64 (*.f64 (-.f64 a b) b) #s(literal 3 binary64)) (pow.f64 (*.f64 (-.f64 a b) a) #s(literal 3 binary64))) (fma.f64 (*.f64 (-.f64 a b) b) (*.f64 (-.f64 a b) b) (-.f64 (*.f64 (*.f64 (-.f64 a b) a) (*.f64 (-.f64 a b) a)) (*.f64 (*.f64 (-.f64 a b) b) (*.f64 (-.f64 a b) a)))))
(/.f64 (+.f64 (pow.f64 a #s(literal 6 binary64)) (pow.f64 (*.f64 (neg.f64 b) b) #s(literal 3 binary64))) (+.f64 (pow.f64 a #s(literal 4 binary64)) (-.f64 (pow.f64 b #s(literal 4 binary64)) (*.f64 (*.f64 a a) (*.f64 (neg.f64 b) b)))))
(/.f64 (neg.f64 (-.f64 (pow.f64 a #s(literal 4 binary64)) (pow.f64 b #s(literal 4 binary64)))) (neg.f64 (fma.f64 b b (*.f64 a a))))
(/.f64 (neg.f64 (-.f64 (pow.f64 a #s(literal 6 binary64)) (pow.f64 b #s(literal 6 binary64)))) (neg.f64 (fma.f64 (*.f64 b b) (fma.f64 b b (*.f64 a a)) (pow.f64 a #s(literal 4 binary64)))))
(/.f64 (*.f64 (*.f64 (+.f64 b a) (-.f64 b a)) (-.f64 (pow.f64 a #s(literal 3 binary64)) (pow.f64 b #s(literal 3 binary64)))) (*.f64 (-.f64 b a) (fma.f64 b (+.f64 b a) (*.f64 a a))))
(/.f64 (*.f64 (*.f64 (+.f64 b a) (-.f64 b a)) (*.f64 (+.f64 b a) (-.f64 a b))) (*.f64 (-.f64 b a) (+.f64 b a)))
(/.f64 (*.f64 (+.f64 (pow.f64 a #s(literal 3 binary64)) (pow.f64 b #s(literal 3 binary64))) (-.f64 (pow.f64 a #s(literal 3 binary64)) (pow.f64 b #s(literal 3 binary64)))) (*.f64 (fma.f64 (-.f64 a b) a (*.f64 b b)) (fma.f64 b (+.f64 b a) (*.f64 a a))))
(/.f64 (*.f64 (+.f64 (pow.f64 a #s(literal 3 binary64)) (pow.f64 b #s(literal 3 binary64))) (*.f64 (+.f64 b a) (-.f64 a b))) (+.f64 (pow.f64 a #s(literal 3 binary64)) (pow.f64 b #s(literal 3 binary64))))
(/.f64 (*.f64 (-.f64 (pow.f64 a #s(literal 3 binary64)) (pow.f64 b #s(literal 3 binary64))) (*.f64 (+.f64 b a) (-.f64 b a))) (*.f64 (fma.f64 b (+.f64 b a) (*.f64 a a)) (-.f64 b a)))
(/.f64 (*.f64 (-.f64 (pow.f64 a #s(literal 3 binary64)) (pow.f64 b #s(literal 3 binary64))) (+.f64 (pow.f64 a #s(literal 3 binary64)) (pow.f64 b #s(literal 3 binary64)))) (*.f64 (fma.f64 b (+.f64 b a) (*.f64 a a)) (fma.f64 (-.f64 a b) a (*.f64 b b))))
(/.f64 (*.f64 (*.f64 (+.f64 b a) (-.f64 a b)) (*.f64 (+.f64 b a) (-.f64 b a))) (*.f64 (+.f64 b a) (-.f64 b a)))
(/.f64 (*.f64 (*.f64 (+.f64 b a) (-.f64 a b)) (+.f64 (pow.f64 a #s(literal 3 binary64)) (pow.f64 b #s(literal 3 binary64)))) (*.f64 (+.f64 b a) (fma.f64 (-.f64 a b) a (*.f64 b b))))
(/.f64 (-.f64 (pow.f64 a #s(literal 4 binary64)) (pow.f64 b #s(literal 4 binary64))) (fma.f64 b b (*.f64 a a)))
(/.f64 (-.f64 (pow.f64 a #s(literal 6 binary64)) (pow.f64 b #s(literal 6 binary64))) (fma.f64 (*.f64 b b) (fma.f64 b b (*.f64 a a)) (pow.f64 a #s(literal 4 binary64))))
(fma.f64 (pow.f64 a #s(literal 1 binary64)) (pow.f64 a #s(literal 1 binary64)) (*.f64 (neg.f64 b) b))
(fma.f64 (neg.f64 (neg.f64 a)) (neg.f64 (neg.f64 a)) (*.f64 (neg.f64 b) b))
(fma.f64 (neg.f64 (fabs.f64 a)) (neg.f64 (fabs.f64 a)) (*.f64 (neg.f64 b) b))
(fma.f64 (neg.f64 (fabs.f64 b)) (fabs.f64 b) (*.f64 a a))
(fma.f64 (neg.f64 (neg.f64 b)) (neg.f64 b) (*.f64 a a))
(fma.f64 (fabs.f64 (fabs.f64 a)) (fabs.f64 (fabs.f64 a)) (*.f64 (neg.f64 b) b))
(fma.f64 (neg.f64 a) (neg.f64 a) (*.f64 (neg.f64 b) b))
(fma.f64 (fabs.f64 b) (neg.f64 (fabs.f64 b)) (*.f64 a a))
(fma.f64 (fabs.f64 a) (fabs.f64 a) (*.f64 (neg.f64 b) b))
(fma.f64 (-.f64 a b) b (*.f64 (-.f64 a b) a))
(fma.f64 (-.f64 a b) a (*.f64 (-.f64 a b) b))
(fma.f64 (neg.f64 b) (neg.f64 (neg.f64 b)) (*.f64 a a))
(fma.f64 (neg.f64 b) b (*.f64 a a))
(fma.f64 b (-.f64 a b) (*.f64 (-.f64 a b) a))
(fma.f64 b (neg.f64 b) (*.f64 a a))
(fma.f64 a (-.f64 a b) (*.f64 (-.f64 a b) b))
(fma.f64 a a (*.f64 (neg.f64 b) b))
(-.f64 (/.f64 (pow.f64 a #s(literal 4 binary64)) (fma.f64 b b (*.f64 a a))) (/.f64 (pow.f64 b #s(literal 4 binary64)) (fma.f64 b b (*.f64 a a))))
(-.f64 (/.f64 (pow.f64 a #s(literal 6 binary64)) (fma.f64 (*.f64 b b) (fma.f64 b b (*.f64 a a)) (pow.f64 a #s(literal 4 binary64)))) (/.f64 (pow.f64 b #s(literal 6 binary64)) (fma.f64 (*.f64 b b) (fma.f64 b b (*.f64 a a)) (pow.f64 a #s(literal 4 binary64)))))
(-.f64 (*.f64 (-.f64 a b) b) (*.f64 (neg.f64 a) (-.f64 a b)))
(-.f64 (*.f64 (-.f64 a b) b) (*.f64 (neg.f64 (-.f64 a b)) a))
(-.f64 (*.f64 a a) (*.f64 (neg.f64 (neg.f64 b)) b))
(-.f64 (*.f64 a a) (*.f64 b b))
(+.f64 (*.f64 (-.f64 a b) a) (*.f64 (-.f64 a b) b))
(+.f64 (*.f64 (-.f64 a b) b) (*.f64 (-.f64 a b) a))
(+.f64 (*.f64 (neg.f64 b) b) (*.f64 a a))
(+.f64 (*.f64 a a) (*.f64 (neg.f64 b) b))
(*.f64 (/.f64 (*.f64 (+.f64 b a) (-.f64 a b)) (*.f64 (+.f64 b a) (-.f64 b a))) (-.f64 b a))
(*.f64 (/.f64 (*.f64 (+.f64 b a) (-.f64 a b)) (+.f64 (pow.f64 a #s(literal 3 binary64)) (pow.f64 b #s(literal 3 binary64)))) (fma.f64 (-.f64 a b) a (*.f64 b b)))
(*.f64 (+.f64 b a) (/.f64 (-.f64 a b) (+.f64 b a)))
(*.f64 (-.f64 a b) (/.f64 (+.f64 b a) (+.f64 b a)))
(/.f64 (neg.f64 (-.f64 (pow.f64 a #s(literal 3 binary64)) (pow.f64 b #s(literal 3 binary64)))) (neg.f64 (fma.f64 b (+.f64 b a) (*.f64 a a))))
(/.f64 (neg.f64 (*.f64 (+.f64 b a) (-.f64 a b))) (neg.f64 (+.f64 b a)))
(/.f64 (-.f64 (pow.f64 a #s(literal 4 binary64)) (pow.f64 b #s(literal 4 binary64))) (*.f64 (fma.f64 b b (*.f64 a a)) (+.f64 b a)))
(/.f64 (-.f64 (pow.f64 a #s(literal 3 binary64)) (pow.f64 b #s(literal 3 binary64))) (fma.f64 b (+.f64 b a) (*.f64 a a)))
(/.f64 (-.f64 (pow.f64 a #s(literal 6 binary64)) (pow.f64 b #s(literal 6 binary64))) (*.f64 (fma.f64 (*.f64 b b) (fma.f64 b b (*.f64 a a)) (pow.f64 a #s(literal 4 binary64))) (+.f64 b a)))
(/.f64 (*.f64 (+.f64 b a) (-.f64 a b)) (+.f64 b a))
(-.f64 (/.f64 (pow.f64 a #s(literal 3 binary64)) (fma.f64 b (+.f64 b a) (*.f64 a a))) (/.f64 (pow.f64 b #s(literal 3 binary64)) (fma.f64 b (+.f64 b a) (*.f64 a a))))
(-.f64 (/.f64 (*.f64 a a) (+.f64 b a)) (/.f64 (*.f64 b b) (+.f64 b a)))
(-.f64 a b)
(+.f64 (/.f64 (*.f64 (-.f64 a b) b) (+.f64 b a)) (/.f64 (*.f64 (-.f64 a b) a) (+.f64 b a)))
(+.f64 (/.f64 (*.f64 a a) (+.f64 b a)) (/.f64 (*.f64 (neg.f64 b) b) (+.f64 b a)))
a
(/.f64 (neg.f64 (*.f64 (+.f64 b a) (-.f64 b a))) (neg.f64 (-.f64 b a)))
(/.f64 (neg.f64 (+.f64 (pow.f64 a #s(literal 3 binary64)) (pow.f64 b #s(literal 3 binary64)))) (neg.f64 (fma.f64 (-.f64 a b) a (*.f64 b b))))
(/.f64 (*.f64 (+.f64 b a) (-.f64 b a)) (-.f64 b a))
(/.f64 (+.f64 (pow.f64 a #s(literal 3 binary64)) (pow.f64 b #s(literal 3 binary64))) (fma.f64 a a (-.f64 (*.f64 b b) (*.f64 b a))))
(/.f64 (+.f64 (pow.f64 a #s(literal 3 binary64)) (pow.f64 b #s(literal 3 binary64))) (fma.f64 (-.f64 a b) a (*.f64 b b)))
(/.f64 (*.f64 (+.f64 b a) (-.f64 a b)) (-.f64 a b))
(-.f64 (/.f64 (*.f64 b b) (-.f64 b a)) (/.f64 (*.f64 a a) (-.f64 b a)))
(+.f64 (/.f64 (pow.f64 b #s(literal 3 binary64)) (fma.f64 (-.f64 a b) a (*.f64 b b))) (/.f64 (pow.f64 a #s(literal 3 binary64)) (fma.f64 (-.f64 a b) a (*.f64 b b))))
(+.f64 b a)
(+.f64 a b)

eval11.0ms (0.5%)

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

Compiled 1 813 to 296 computations (83.7% saved)

prune13.0ms (0.6%)

Memory
-35.6MiB live, 10.9MiB allocated; 2ms collecting garbage
Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New1151116
Fresh000
Picked022
Done000
Total1153118
Accuracy
100.0%
Counts
118 → 3
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(*.f64 (-.f64 a b) (+.f64 b a))
51.9%
#s(approx (- (* a a) (* b b)) (*.f64 (neg.f64 b) b))
54.8%
#s(approx (- (* a a) (* b b)) (*.f64 a a))
Compiler

Compiled 30 to 20 computations (33.3% saved)

series2.0ms (0.1%)

Memory
5.6MiB live, 5.6MiB allocated; 0ms collecting garbage
Counts
3 → 7
Calls
Call 1
Inputs
#s(approx (- (* a a) (* b b)) (*.f64 a a))
(*.f64 a a)
a
Outputs
(* -1 (pow b 2))
(- (pow a 2) (pow b 2))
(pow a 2)
a
(* (pow a 2) (+ 1 (* -1 (/ (pow b 2) (pow a 2)))))
(+ (* -1 (pow b 2)) (pow a 2))
(* (pow b 2) (- (/ (pow a 2) (pow b 2)) 1))
Calls

6 calls:

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

simplify162.0ms (7.8%)

Memory
15.1MiB live, 203.8MiB allocated; 35ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01742
14042
215242
394342
4554142
0845841
Stop Event
iter limit
node limit
Counts
7 → 6
Calls
Call 1
Inputs
(* -1 (pow b 2))
(- (pow a 2) (pow b 2))
(pow a 2)
a
(* (pow a 2) (+ 1 (* -1 (/ (pow b 2) (pow a 2)))))
(+ (* -1 (pow b 2)) (pow a 2))
(* (pow b 2) (- (/ (pow a 2) (pow b 2)) 1))
Outputs
(* -1 (pow b 2))
(*.f64 (neg.f64 b) b)
(- (pow a 2) (pow b 2))
(fma.f64 (neg.f64 b) b (*.f64 a a))
(pow a 2)
(*.f64 a a)
a
(* (pow a 2) (+ 1 (* -1 (/ (pow b 2) (pow a 2)))))
(fma.f64 (neg.f64 b) b (*.f64 a a))
(+ (* -1 (pow b 2)) (pow a 2))
(fma.f64 (neg.f64 b) b (*.f64 a a))
(* (pow b 2) (- (/ (pow a 2) (pow b 2)) 1))
(*.f64 (fma.f64 (/.f64 (/.f64 a b) b) a #s(literal -1 binary64)) (*.f64 b b))

rewrite52.0ms (2.5%)

Memory
-12.0MiB live, 31.5MiB allocated; 10ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0715
0815
13715
032915
Stop Event
iter limit
iter limit
iter limit
unsound
iter limit
Counts
3 → 16
Calls
Call 1
Inputs
#s(approx (- (* a a) (* b b)) (*.f64 a a))
(*.f64 a a)
a
Outputs
#s(approx (- (* a a) (* b b)) (*.f64 a a))
(*.f64 (pow.f64 a #s(literal 1 binary64)) (pow.f64 a #s(literal 1 binary64)))
(*.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 (neg.f64 a) (neg.f64 a))
(*.f64 (fabs.f64 a) (fabs.f64 a))
(*.f64 a a)
(pow.f64 (neg.f64 a) #s(literal 2 binary64))
(pow.f64 (fabs.f64 a) #s(literal 2 binary64))
(pow.f64 a #s(literal 2 binary64))
(neg.f64 (*.f64 (neg.f64 a) a))
(neg.f64 (*.f64 a (neg.f64 a)))
(fabs.f64 (*.f64 a a))
(exp.f64 (*.f64 (log.f64 a) #s(literal 2 binary64)))
a

eval2.0ms (0.1%)

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

Compiled 278 to 59 computations (78.8% saved)

prune2.0ms (0.1%)

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

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New21021
Fresh000
Picked011
Done022
Total21324
Accuracy
100.0%
Counts
24 → 3
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(*.f64 (-.f64 a b) (+.f64 b a))
51.9%
#s(approx (- (* a a) (* b b)) (*.f64 (neg.f64 b) b))
54.8%
#s(approx (- (* a a) (* b b)) (*.f64 a a))
Compiler

Compiled 67 to 35 computations (47.8% saved)

regimes9.0ms (0.4%)

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

2.0ms
b
2.0ms
a
2.0ms
(-.f64 (*.f64 a a) (*.f64 b b))
2.0ms
(*.f64 a a)
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)

regimes6.0ms (0.3%)

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

5 calls:

1.0ms
b
1.0ms
a
1.0ms
(*.f64 b b)
1.0ms
(-.f64 (*.f64 a a) (*.f64 b b))
1.0ms
(*.f64 a a)
Results
AccuracySegmentsBranch
83.4%2(*.f64 b b)
81.2%2(*.f64 a a)
97.1%2(-.f64 (*.f64 a a) (*.f64 b b))
81.2%2a
83.4%2b
Compiler

Compiled 15 to 15 computations (0% saved)

regimes27.0ms (1.3%)

Memory
-30.1MiB live, 14.4MiB allocated; 6ms collecting garbage
Accuracy

Total -0.0b remaining (-0%)

Threshold costs -0b (-0%)

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

5 calls:

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

Compiled 15 to 15 computations (0% saved)

bsearch0.0ms (0%)

Memory
0.8MiB live, 0.8MiB allocated; 0ms collecting garbage
Algorithm
left-value
Steps
TimeLeftRight
0.0ms
-3.681872723753311e-303
0.0
Compiler

Compiled 10 to 10 computations (0% saved)

simplify65.0ms (3.2%)

Memory
-10.9MiB live, 45.6MiB allocated; 14ms 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 a b) (+.f64 b a))
(if (<=.f64 (-.f64 (*.f64 a a) (*.f64 b b)) #s(literal -6176826577981891/3088413288990945714607167766096760666649729152895234960279866913260350640380788374205938472006792060778611417607373228628384532735989280347702230834056678923362997806954442769843550227998248540363155634742320939156524772391123850992097524347673943425610505012700786888921103128284156837954503288400970554554866145951744 binary64)) #s(approx (- (* a a) (* b b)) (*.f64 (neg.f64 b) b)) #s(approx (- (* a a) (* b b)) (*.f64 a a)))
#s(approx (- (* a a) (* b b)) (*.f64 a a))
Outputs
(*.f64 (-.f64 a b) (+.f64 b a))
(if (<=.f64 (-.f64 (*.f64 a a) (*.f64 b b)) #s(literal -6176826577981891/3088413288990945714607167766096760666649729152895234960279866913260350640380788374205938472006792060778611417607373228628384532735989280347702230834056678923362997806954442769843550227998248540363155634742320939156524772391123850992097524347673943425610505012700786888921103128284156837954503288400970554554866145951744 binary64)) #s(approx (- (* a a) (* b b)) (*.f64 (neg.f64 b) b)) #s(approx (- (* a a) (* b b)) (*.f64 a a)))
#s(approx (- (* a a) (* b b)) (*.f64 a a))

derivations94.0ms (4.5%)

Memory
3.0MiB live, 93.4MiB allocated; 8ms collecting garbage
Stop Event
done
Compiler

Compiled 51 to 18 computations (64.7% saved)

preprocess21.0ms (1%)

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

(abs a)

(abs b)

Compiler

Compiled 158 to 76 computations (51.9% saved)

end0.0ms (0%)

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

Profiling

Loading profile data...