Commute and associate

Time bar (total: 2.3s)

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 13 to 10 computations (23.1% saved)

sample1.7s (76.3%)

Memory
18.1MiB live, 1 147.1MiB allocated; 787ms collecting garbage
Samples
734.0ms4 145×1valid
634.0ms4 108×2valid
0.0ms0valid
Precisions
Click to see histograms. Total time spent on operations: 849.0ms
ival-add!: 408.0ms (48% of total)
adjust: 399.0ms (47% of total)
ival-sub!: 42.0ms (4.9% of total)
Bogosity

preprocess47.0ms (2.1%)

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

Useful iterations: 1 (0.0ms)

IterNodesCost
039110
116310
274410
3259710
4409110
Stop Event
node-limit
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(-.f64 (+.f64 (+.f64 x y) z) (+.f64 x (+.f64 y z)))
Symmetry

(abs x)

(abs y)

(abs z)

(negabs x)

(negabs y)

(negabs z)

(sort x y z)

Compiler

Compiled 16 to 16 computations (0% saved)

series8.0ms (0.4%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
088274
Stop Event
iter-limit
Counts
8 → 22
Calls
Call 1
Inputs
(-.f64 (+.f64 (+.f64 x y) z) (+.f64 x (+.f64 y z)))
(+.f64 (+.f64 x y) z)
(+.f64 x y)
x
y
z
(+.f64 x (+.f64 y z))
(+.f64 y z)
Outputs
#s(approx (- (+ (+ x y) z) (+ x (+ y z))) #s(literal 0 binary64))
#s(approx (+ (+ x y) z) (+.f64 y z))
#s(approx (+ (+ x y) z) (+.f64 x (+.f64 y z)))
#s(approx (+ x y) y)
#s(approx (+ x y) (+.f64 x y))
#s(approx x x)
#s(approx (+ (+ x y) z) (*.f64 x (+.f64 #s(literal 1 binary64) (+.f64 (/.f64 y x) (/.f64 z x)))))
#s(approx (+ x y) (*.f64 x (+.f64 #s(literal 1 binary64) (/.f64 y x))))
#s(approx (+ (+ x y) z) (*.f64 #s(literal -1 binary64) (*.f64 x (-.f64 (*.f64 #s(literal -1 binary64) (/.f64 (+.f64 y z) x)) #s(literal 1 binary64)))))
#s(approx (+ x y) (*.f64 #s(literal -1 binary64) (*.f64 x (-.f64 (*.f64 #s(literal -1 binary64) (/.f64 y x)) #s(literal 1 binary64)))))
#s(approx (+ (+ x y) z) (+.f64 x z))
#s(approx (+ y z) z)
#s(approx (+ (+ x y) z) (*.f64 y (+.f64 #s(literal 1 binary64) (+.f64 (/.f64 x y) (/.f64 z y)))))
#s(approx (+ x y) (*.f64 y (+.f64 #s(literal 1 binary64) (/.f64 x y))))
#s(approx (+ y z) (*.f64 y (+.f64 #s(literal 1 binary64) (/.f64 z y))))
#s(approx (+ (+ x y) z) (*.f64 #s(literal -1 binary64) (*.f64 y (-.f64 (*.f64 #s(literal -1 binary64) (/.f64 (+.f64 x z) y)) #s(literal 1 binary64)))))
#s(approx (+ x y) (*.f64 #s(literal -1 binary64) (*.f64 y (-.f64 (*.f64 #s(literal -1 binary64) (/.f64 x y)) #s(literal 1 binary64)))))
#s(approx (+ y z) (*.f64 #s(literal -1 binary64) (*.f64 y (-.f64 (*.f64 #s(literal -1 binary64) (/.f64 z y)) #s(literal 1 binary64)))))
#s(approx (+ (+ x y) z) (*.f64 z (+.f64 #s(literal 1 binary64) (+.f64 (/.f64 x z) (/.f64 y z)))))
#s(approx (+ y z) (*.f64 z (+.f64 #s(literal 1 binary64) (/.f64 y z))))
#s(approx (+ (+ x y) z) (*.f64 #s(literal -1 binary64) (*.f64 z (-.f64 (*.f64 #s(literal -1 binary64) (/.f64 (+.f64 x y) z)) #s(literal 1 binary64)))))
#s(approx (+ y z) (*.f64 #s(literal -1 binary64) (*.f64 z (-.f64 (*.f64 #s(literal -1 binary64) (/.f64 y z)) #s(literal 1 binary64)))))
Calls

9 calls:

TimeVariablePointExpression
1.0ms
x
@-inf
((- (+ (+ x y) z) (+ x (+ y z))) (+ (+ x y) z) (+ x y) x y z (+ x (+ y z)) (+ y z))
1.0ms
x
@inf
((- (+ (+ x y) z) (+ x (+ y z))) (+ (+ x y) z) (+ x y) x y z (+ x (+ y z)) (+ y z))
0.0ms
y
@-inf
((- (+ (+ x y) z) (+ x (+ y z))) (+ (+ x y) z) (+ x y) x y z (+ x (+ y z)) (+ y z))
0.0ms
z
@-inf
((- (+ (+ x y) z) (+ x (+ y z))) (+ (+ x y) z) (+ x y) x y z (+ x (+ y z)) (+ y z))
0.0ms
y
@inf
((- (+ (+ x y) z) (+ x (+ y z))) (+ (+ x y) z) (+ x y) x y z (+ x (+ y z)) (+ y z))

rewrite222.0ms (9.8%)

Memory
-11.3MiB live, 258.5MiB allocated; 43ms collecting garbage
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
0830
01330
111320
238720
3251220
0911120
11798520
Stop Event
saturated
node-limit
iter-limit
Counts
8 → 49
Calls
Call 1
Inputs
(-.f64 (+.f64 (+.f64 x y) z) (+.f64 x (+.f64 y z)))
(+.f64 (+.f64 x y) z)
(+.f64 x y)
x
y
z
(+.f64 x (+.f64 y z))
(+.f64 y z)
Outputs
#s(literal 0 binary64)
(neg.f64 (-.f64 (-.f64 (neg.f64 y) z) x))
(-.f64 (+.f64 z x) (neg.f64 y))
(-.f64 (+.f64 z y) (neg.f64 x))
(-.f64 z (-.f64 (neg.f64 x) y))
(-.f64 (+.f64 y x) (neg.f64 z))
(-.f64 y (-.f64 (neg.f64 x) z))
(-.f64 y (+.f64 (neg.f64 x) (neg.f64 z)))
(-.f64 y (-.f64 (neg.f64 z) x))
(-.f64 x (-.f64 (neg.f64 y) z))
(+.f64 (neg.f64 (neg.f64 x)) (+.f64 z y))
(+.f64 (+.f64 z x) y)
(+.f64 (+.f64 z y) (neg.f64 (neg.f64 x)))
(+.f64 (+.f64 z y) x)
(+.f64 z (+.f64 y x))
(+.f64 (+.f64 y x) z)
(+.f64 y (+.f64 z x))
(+.f64 x (+.f64 z y))
(neg.f64 (-.f64 (neg.f64 x) y))
(-.f64 y (neg.f64 x))
(-.f64 x (neg.f64 y))
(+.f64 y (neg.f64 (neg.f64 x)))
(+.f64 y x)
(+.f64 x y)
x
y
z
(neg.f64 (-.f64 (-.f64 (neg.f64 y) z) x))
(-.f64 (+.f64 z x) (neg.f64 y))
(-.f64 (+.f64 z y) (neg.f64 x))
(-.f64 z (-.f64 (neg.f64 x) y))
(-.f64 (+.f64 y x) (neg.f64 z))
(-.f64 y (-.f64 (neg.f64 x) z))
(-.f64 y (+.f64 (neg.f64 x) (neg.f64 z)))
(-.f64 y (-.f64 (neg.f64 z) x))
(-.f64 x (-.f64 (neg.f64 y) z))
(+.f64 (neg.f64 (neg.f64 x)) (+.f64 z y))
(+.f64 (+.f64 z x) y)
(+.f64 (+.f64 z y) (neg.f64 (neg.f64 x)))
(+.f64 (+.f64 z y) x)
(+.f64 z (+.f64 y x))
(+.f64 (+.f64 y x) z)
(+.f64 y (+.f64 z x))
(+.f64 x (+.f64 z y))
(neg.f64 (-.f64 (neg.f64 y) z))
(-.f64 z (neg.f64 y))
(-.f64 y (neg.f64 z))
(+.f64 z y)
(+.f64 y z)

eval4.0ms (0.2%)

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

Compiled 275 to 196 computations (28.7% saved)

prune2.0ms (0.1%)

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

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New48149
Fresh000
Picked101
Done000
Total49150
Accuracy
100.0%
Counts
50 → 1
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
#s(approx (- (+ (+ x y) z) (+ x (+ y z))) #s(literal 0 binary64))
Compiler

Compiled 10 to 10 computations (0% saved)

series1.0ms (0.1%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
01013
Stop Event
iter-limit
Counts
2 → 1
Calls
Call 1
Inputs
#s(approx (- (+ (+ x y) z) (+ x (+ y z))) #s(literal 0 binary64))
#s(literal 0 binary64)
Outputs
#s(approx (- (+ (+ x y) z) (+ x (+ y z))) #s(literal 0 binary64))
Calls

9 calls:

TimeVariablePointExpression
0.0ms
y
@0
((- (+ (+ x y) z) (+ x (+ y z))) 0)
0.0ms
x
@0
((- (+ (+ x y) z) (+ x (+ y z))) 0)
0.0ms
x
@-inf
((- (+ (+ x y) z) (+ x (+ y z))) 0)
0.0ms
y
@inf
((- (+ (+ x y) z) (+ x (+ y z))) 0)
0.0ms
x
@inf
((- (+ (+ x y) z) (+ x (+ y z))) 0)

rewrite197.0ms (8.7%)

Memory
-21.9MiB live, 89.3MiB allocated; 34ms collecting garbage
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01014
01014
11114
23894
327214
086584
1200204
Stop Event
saturated
node-limit
saturated
Counts
2 → 2
Calls
Call 1
Inputs
#s(approx (- (+ (+ x y) z) (+ x (+ y z))) #s(literal 0 binary64))
#s(literal 0 binary64)
Outputs
#s(approx (- (+ (+ x y) z) (+ x (+ y z))) #s(literal 0 binary64))
#s(literal 0 binary64)

eval0.0ms (0%)

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

Compiled 0 to 3 computations (-∞% saved)

prune1.0ms (0%)

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

1 alts after pruning (0 fresh and 1 done)

PrunedKeptTotal
New000
Fresh000
Picked011
Done000
Total011
Accuracy
100.0%
Counts
1 → 1
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
#s(approx (- (+ (+ x y) z) (+ x (+ y z))) #s(literal 0 binary64))
Compiler

Compiled 25 to 25 computations (0% saved)

regimes4.0ms (0.2%)

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

Total 0.0b remaining (0%)

Threshold costs 0b (0%)

Counts
2 → 1
Calls
Call 1
Inputs
#s(approx (- (+ (+ x y) z) (+ x (+ y z))) #s(literal 0 binary64))
(-.f64 (+.f64 (+.f64 x y) z) (+.f64 x (+.f64 y z)))
Outputs
#s(approx (- (+ (+ x y) z) (+ x (+ y z))) #s(literal 0 binary64))
Calls

4 calls:

1.0ms
z
1.0ms
y
1.0ms
x
1.0ms
(-.f64 (+.f64 (+.f64 x y) z) (+.f64 x (+.f64 y z)))
Results
AccuracySegmentsBranch
100.0%1(-.f64 (+.f64 (+.f64 x y) z) (+.f64 x (+.f64 y z)))
100.0%1x
100.0%1y
100.0%1z
Compiler

Compiled 11 to 17 computations (-54.5% saved)

derivations1.0ms (0%)

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

Compiled 10 to 10 computations (0% saved)

preprocess49.0ms (2.2%)

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

(sort x y z)

(negabs z)

(negabs y)

(negabs x)

(abs z)

(abs y)

(abs x)

Compiler

Compiled 158 to 158 computations (0% saved)

end0.0ms (0%)

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

Profiling

Loading profile data...