Difference of squares

Time bar (total: 934.0ms)

start0.0ms (0%)

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

analyze0.0ms (0%)

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

sample651.0ms (69.7%)

Memory
50.1MiB live, 892.3MiB allocated; 172ms collecting garbage
Samples
466.0ms8 256×0valid
Precisions
Click to see histograms. Total time spent on operations: 201.0ms
ival-mult!: 183.0ms (91% of total)
ival-sub!: 17.0ms (8.4% of total)
adjust: 1.0ms (0.5% of total)
Bogosity

preprocess81.0ms (8.7%)

Memory
-59.3MiB live, 55.0MiB allocated; 37ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01442
16242
227342
347742
4120242
5463242
Stop Event
node-limit
Alt Table
Click to see full alt table
StatusAccuracyProgram
93.7%
(-.f64 (*.f64 a a) (*.f64 b b))
Symmetry

(abs a)

(abs b)

Compiler

Compiled 10 to 10 computations (0% saved)

series4.0ms (0.4%)

Memory
8.2MiB live, 8.2MiB 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
#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) (+ 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
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)

rewrite163.0ms (17.5%)

Memory
30.5MiB live, 220.2MiB allocated; 9ms collecting garbage
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
032124
033120
1163119
21182115
Stop Event
iter-limit
unsound
node-limit
iter-limit
Counts
14 → 11
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) (+ 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 a a) (*.f64 b b))
(*.f64 a a)
a
(*.f64 b b)
b
#s(approx (- (* a a) (* b b)) (-.f64 (*.f64 a a) (*.f64 b b)))
#s(approx (* a a) (*.f64 a a))
#s(approx a a)
#s(approx (- (* a a) (* b b)) (-.f64 (*.f64 a a) (*.f64 b b)))
#s(approx (* b b) (*.f64 b b))
#s(approx b b)

eval0.0ms (0%)

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

Compiled 27 to 19 computations (29.6% saved)

prune1.0ms (0.1%)

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

1 alts after pruning (0 fresh and 1 done)

PrunedKeptTotal
New505
Fresh000
Picked011
Done000
Total516
Accuracy
93.7%
Counts
6 → 1
Alt Table
Click to see full alt table
StatusAccuracyProgram
93.7%
(-.f64 (*.f64 a a) (*.f64 b b))
Compiler

Compiled 10 to 10 computations (0% saved)

derivations0.0ms (0%)

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

Compiled 5 to 5 computations (0% saved)

preprocess32.0ms (3.5%)

Memory
-20.5MiB live, 26.0MiB allocated; 2ms collecting garbage
Remove

(abs b)

(abs a)

Compiler

Compiled 35 to 35 computations (0% saved)

end0.0ms (0%)

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

Profiling

Loading profile data...