Commute and associate

Time bar (total: 4.4s)

start0.0ms (0%)

Memory
0.0MiB live, 0.0MiB allocated

analyze0.0ms (0%)

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

sample2.1s (46.3%)

Memory
-6.3MiB live, 1 358.7MiB allocated
Samples
916.0ms3 924×2valid
506.0ms4 325×1valid
0.0ms0valid
Precisions
Click to see histograms. Total time spent on operations: 1.1s
ival-add: 641.0ms (59% of total)
adjust: 350.0ms (32.2% of total)
ival-sub: 86.0ms (7.9% of total)
ival-true: 6.0ms (0.6% of total)
ival-assert: 3.0ms (0.3% of total)
Bogosity

explain146.0ms (3.3%)

Memory
2.0MiB live, 132.8MiB allocated
FPErrors
Click to see full error table
Ground TruthOverpredictionsExampleUnderpredictionsExampleSubexpression
00-0-(+.f64 (+.f64 x y) z)
00-0-(+.f64 y z)
00-0-y
00-0-(-.f64 (+.f64 (+.f64 x y) z) (+.f64 x (+.f64 y z)))
00-0-(+.f64 x y)
00-0-(+.f64 x (+.f64 y z))
00-0-z
00-0-x
Confusion
Predicted +Predicted -
+00
-0256
Precision
0/0
Recall
0/0
Confusion?
Predicted +Predicted MaybePredicted -
+000
-00256
Precision?
0/0
Recall?
0/0
Freqs
test
numberfreq
0256
Total Confusion?
Predicted +Predicted MaybePredicted -
+000
-001
Precision?
0/0
Recall?
0/0
Samples
44.0ms236×2valid
34.0ms276×1valid
Compiler

Compiled 105 to 36 computations (65.7% saved)

Precisions
Click to see histograms. Total time spent on operations: 51.0ms
ival-add: 23.0ms (45.3% of total)
adjust: 21.0ms (41.4% of total)
ival-sub: 5.0ms (9.8% of total)
ival-assert: 0.0ms (0% of total)
ival-true: 0.0ms (0% of total)

preprocess384.0ms (8.6%)

Memory
23.7MiB live, 112.8MiB allocated
Algorithm
egg-herbie
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
036117
11229
25259
316609
425109
527669
627779
727859
827859
927859
1027859
1127859
0811
01311
1261
2901
33611
411621
518081
638801
750441
858721
963261
1063601
1163641
1264821
1364911
1464921
1564921
1664921
1773411
1874931
1976451
2077591
2177971
2277971
081811
Stop Event
iter limit
node limit
iter limit
node limit
Calls
Call 1
Inputs
(-.f64 (+.f64 (+.f64 x y) z) (+.f64 x (+.f64 y z)))
Outputs
#s(literal 0 binary64)
Symmetry

(abs z)

(abs y)

(abs x)

(negabs z)

(negabs y)

(negabs x)

(sort x y z)

Compiler

Compiled 11 to 8 computations (27.3% saved)

eval0.0ms (0%)

Memory
0.3MiB live, 0.3MiB allocated
Compiler

Compiled 0 to 3 computations (-∞% saved)

prune0.0ms (0%)

Memory
0.8MiB live, 0.8MiB allocated
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(-.f64 (+.f64 (+.f64 x y) z) (+.f64 x (+.f64 y z)))
Compiler

Compiled 11 to 8 computations (27.3% saved)

simplify314.0ms (7.1%)

Memory
-1.7MiB live, 71.0MiB allocated
Algorithm
egg-herbie
Localize:

Found 4 expressions of interest:

NewMetricScoreProgram
cost-diff0
(+.f64 x (+.f64 y z))
cost-diff0
(+.f64 x y)
cost-diff0
(+.f64 (+.f64 x y) z)
cost-diff960
(-.f64 (+.f64 (+.f64 x y) z) (+.f64 x (+.f64 y z)))
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
0830
01330
12620
29020
336120
4116220
5180820
6388020
7504420
8587220
9632620
10636020
11636420
12648220
13649120
14649220
15649220
16649220
17734120
18749320
19764520
20775920
21779720
22779720
0818120
Stop Event
iter limit
node limit
iter limit
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)
(+.f64 (+.f64 z y) x)
(+.f64 y x)
x
y
z
(+.f64 (+.f64 z y) x)
(+.f64 z y)

localize75.0ms (1.7%)

Memory
-14.8MiB live, 15.9MiB allocated
Localize:

Found 4 expressions of interest:

NewMetricScoreProgram
accuracy0
(+.f64 y z)
accuracy0
(+.f64 x y)
accuracy0.0078125
(+.f64 (+.f64 x y) z)
accuracy0.0078125
(+.f64 x (+.f64 y z))
Samples
52.0ms118×2valid
16.0ms138×1valid
Compiler

Compiled 62 to 18 computations (71% saved)

Precisions
Click to see histograms. Total time spent on operations: 55.0ms
ival-add: 42.0ms (76.3% of total)
adjust: 10.0ms (18.2% of total)
ival-sub: 3.0ms (5.4% of total)
ival-assert: 0.0ms (0% of total)
ival-true: 0.0ms (0% of total)

series6.0ms (0.1%)

Memory
3.5MiB live, 3.5MiB allocated
Counts
5 → 156
Calls
Call 1
Inputs
#s(alt #<batchref> (patch (-.f64 (+.f64 (+.f64 x y) z) (+.f64 x (+.f64 y z))) #<representation binary64>) () ())
#s(alt #<batchref> (patch (+.f64 (+.f64 x y) z) #<representation binary64>) () ())
#s(alt #<batchref> (patch (+.f64 x y) #<representation binary64>) () ())
#s(alt #<batchref> (patch (+.f64 x (+.f64 y z)) #<representation binary64>) () ())
#s(alt #<batchref> (patch (+.f64 y z) #<representation binary64>) () ())
Outputs
#s(alt #<batchref> (taylor 0 z) (#s(alt #<batchref> (patch (-.f64 (+.f64 (+.f64 x y) z) (+.f64 x (+.f64 y z))) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor 0 z) (#s(alt #<batchref> (patch (-.f64 (+.f64 (+.f64 x y) z) (+.f64 x (+.f64 y z))) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor 0 z) (#s(alt #<batchref> (patch (-.f64 (+.f64 (+.f64 x y) z) (+.f64 x (+.f64 y z))) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor 0 z) (#s(alt #<batchref> (patch (-.f64 (+.f64 (+.f64 x y) z) (+.f64 x (+.f64 y z))) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor 0 z) (#s(alt #<batchref> (patch (+.f64 (+.f64 x y) z) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor 0 z) (#s(alt #<batchref> (patch (+.f64 (+.f64 x y) z) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor 0 z) (#s(alt #<batchref> (patch (+.f64 (+.f64 x y) z) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor 0 z) (#s(alt #<batchref> (patch (+.f64 (+.f64 x y) z) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor 0 z) (#s(alt #<batchref> (patch (+.f64 x (+.f64 y z)) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor 0 z) (#s(alt #<batchref> (patch (+.f64 x (+.f64 y z)) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor 0 z) (#s(alt #<batchref> (patch (+.f64 x (+.f64 y z)) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor 0 z) (#s(alt #<batchref> (patch (+.f64 x (+.f64 y z)) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor 0 z) (#s(alt #<batchref> (patch (+.f64 y z) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor 0 z) (#s(alt #<batchref> (patch (+.f64 y z) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor 0 z) (#s(alt #<batchref> (patch (+.f64 y z) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor 0 z) (#s(alt #<batchref> (patch (+.f64 y z) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor inf z) (#s(alt #<batchref> (patch (-.f64 (+.f64 (+.f64 x y) z) (+.f64 x (+.f64 y z))) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor inf z) (#s(alt #<batchref> (patch (-.f64 (+.f64 (+.f64 x y) z) (+.f64 x (+.f64 y z))) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor inf z) (#s(alt #<batchref> (patch (-.f64 (+.f64 (+.f64 x y) z) (+.f64 x (+.f64 y z))) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor inf z) (#s(alt #<batchref> (patch (-.f64 (+.f64 (+.f64 x y) z) (+.f64 x (+.f64 y z))) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor inf z) (#s(alt #<batchref> (patch (+.f64 (+.f64 x y) z) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor inf z) (#s(alt #<batchref> (patch (+.f64 (+.f64 x y) z) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor inf z) (#s(alt #<batchref> (patch (+.f64 (+.f64 x y) z) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor inf z) (#s(alt #<batchref> (patch (+.f64 (+.f64 x y) z) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor inf z) (#s(alt #<batchref> (patch (+.f64 x (+.f64 y z)) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor inf z) (#s(alt #<batchref> (patch (+.f64 x (+.f64 y z)) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor inf z) (#s(alt #<batchref> (patch (+.f64 x (+.f64 y z)) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor inf z) (#s(alt #<batchref> (patch (+.f64 x (+.f64 y z)) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor inf z) (#s(alt #<batchref> (patch (+.f64 y z) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor inf z) (#s(alt #<batchref> (patch (+.f64 y z) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor inf z) (#s(alt #<batchref> (patch (+.f64 y z) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor inf z) (#s(alt #<batchref> (patch (+.f64 y z) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor -inf z) (#s(alt #<batchref> (patch (-.f64 (+.f64 (+.f64 x y) z) (+.f64 x (+.f64 y z))) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor -inf z) (#s(alt #<batchref> (patch (-.f64 (+.f64 (+.f64 x y) z) (+.f64 x (+.f64 y z))) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor -inf z) (#s(alt #<batchref> (patch (-.f64 (+.f64 (+.f64 x y) z) (+.f64 x (+.f64 y z))) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor -inf z) (#s(alt #<batchref> (patch (-.f64 (+.f64 (+.f64 x y) z) (+.f64 x (+.f64 y z))) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor -inf z) (#s(alt #<batchref> (patch (+.f64 (+.f64 x y) z) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor -inf z) (#s(alt #<batchref> (patch (+.f64 (+.f64 x y) z) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor -inf z) (#s(alt #<batchref> (patch (+.f64 (+.f64 x y) z) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor -inf z) (#s(alt #<batchref> (patch (+.f64 (+.f64 x y) z) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor -inf z) (#s(alt #<batchref> (patch (+.f64 x (+.f64 y z)) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor -inf z) (#s(alt #<batchref> (patch (+.f64 x (+.f64 y z)) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor -inf z) (#s(alt #<batchref> (patch (+.f64 x (+.f64 y z)) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor -inf z) (#s(alt #<batchref> (patch (+.f64 x (+.f64 y z)) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor -inf z) (#s(alt #<batchref> (patch (+.f64 y z) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor -inf z) (#s(alt #<batchref> (patch (+.f64 y z) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor -inf z) (#s(alt #<batchref> (patch (+.f64 y z) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor -inf z) (#s(alt #<batchref> (patch (+.f64 y z) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor 0 y) (#s(alt #<batchref> (patch (-.f64 (+.f64 (+.f64 x y) z) (+.f64 x (+.f64 y z))) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor 0 y) (#s(alt #<batchref> (patch (-.f64 (+.f64 (+.f64 x y) z) (+.f64 x (+.f64 y z))) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor 0 y) (#s(alt #<batchref> (patch (-.f64 (+.f64 (+.f64 x y) z) (+.f64 x (+.f64 y z))) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor 0 y) (#s(alt #<batchref> (patch (-.f64 (+.f64 (+.f64 x y) z) (+.f64 x (+.f64 y z))) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor 0 y) (#s(alt #<batchref> (patch (+.f64 (+.f64 x y) z) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor 0 y) (#s(alt #<batchref> (patch (+.f64 (+.f64 x y) z) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor 0 y) (#s(alt #<batchref> (patch (+.f64 (+.f64 x y) z) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor 0 y) (#s(alt #<batchref> (patch (+.f64 (+.f64 x y) z) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor 0 y) (#s(alt #<batchref> (patch (+.f64 x y) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor 0 y) (#s(alt #<batchref> (patch (+.f64 x y) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor 0 y) (#s(alt #<batchref> (patch (+.f64 x y) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor 0 y) (#s(alt #<batchref> (patch (+.f64 x y) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor 0 y) (#s(alt #<batchref> (patch (+.f64 x (+.f64 y z)) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor 0 y) (#s(alt #<batchref> (patch (+.f64 x (+.f64 y z)) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor 0 y) (#s(alt #<batchref> (patch (+.f64 x (+.f64 y z)) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor 0 y) (#s(alt #<batchref> (patch (+.f64 x (+.f64 y z)) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor 0 y) (#s(alt #<batchref> (patch (+.f64 y z) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor 0 y) (#s(alt #<batchref> (patch (+.f64 y z) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor 0 y) (#s(alt #<batchref> (patch (+.f64 y z) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor 0 y) (#s(alt #<batchref> (patch (+.f64 y z) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor inf y) (#s(alt #<batchref> (patch (-.f64 (+.f64 (+.f64 x y) z) (+.f64 x (+.f64 y z))) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor inf y) (#s(alt #<batchref> (patch (-.f64 (+.f64 (+.f64 x y) z) (+.f64 x (+.f64 y z))) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor inf y) (#s(alt #<batchref> (patch (-.f64 (+.f64 (+.f64 x y) z) (+.f64 x (+.f64 y z))) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor inf y) (#s(alt #<batchref> (patch (-.f64 (+.f64 (+.f64 x y) z) (+.f64 x (+.f64 y z))) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor inf y) (#s(alt #<batchref> (patch (+.f64 (+.f64 x y) z) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor inf y) (#s(alt #<batchref> (patch (+.f64 (+.f64 x y) z) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor inf y) (#s(alt #<batchref> (patch (+.f64 (+.f64 x y) z) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor inf y) (#s(alt #<batchref> (patch (+.f64 (+.f64 x y) z) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor inf y) (#s(alt #<batchref> (patch (+.f64 x y) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor inf y) (#s(alt #<batchref> (patch (+.f64 x y) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor inf y) (#s(alt #<batchref> (patch (+.f64 x y) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor inf y) (#s(alt #<batchref> (patch (+.f64 x y) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor inf y) (#s(alt #<batchref> (patch (+.f64 x (+.f64 y z)) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor inf y) (#s(alt #<batchref> (patch (+.f64 x (+.f64 y z)) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor inf y) (#s(alt #<batchref> (patch (+.f64 x (+.f64 y z)) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor inf y) (#s(alt #<batchref> (patch (+.f64 x (+.f64 y z)) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor inf y) (#s(alt #<batchref> (patch (+.f64 y z) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor inf y) (#s(alt #<batchref> (patch (+.f64 y z) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor inf y) (#s(alt #<batchref> (patch (+.f64 y z) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor inf y) (#s(alt #<batchref> (patch (+.f64 y z) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor -inf y) (#s(alt #<batchref> (patch (-.f64 (+.f64 (+.f64 x y) z) (+.f64 x (+.f64 y z))) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor -inf y) (#s(alt #<batchref> (patch (-.f64 (+.f64 (+.f64 x y) z) (+.f64 x (+.f64 y z))) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor -inf y) (#s(alt #<batchref> (patch (-.f64 (+.f64 (+.f64 x y) z) (+.f64 x (+.f64 y z))) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor -inf y) (#s(alt #<batchref> (patch (-.f64 (+.f64 (+.f64 x y) z) (+.f64 x (+.f64 y z))) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor -inf y) (#s(alt #<batchref> (patch (+.f64 (+.f64 x y) z) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor -inf y) (#s(alt #<batchref> (patch (+.f64 (+.f64 x y) z) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor -inf y) (#s(alt #<batchref> (patch (+.f64 (+.f64 x y) z) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor -inf y) (#s(alt #<batchref> (patch (+.f64 (+.f64 x y) z) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor -inf y) (#s(alt #<batchref> (patch (+.f64 x y) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor -inf y) (#s(alt #<batchref> (patch (+.f64 x y) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor -inf y) (#s(alt #<batchref> (patch (+.f64 x y) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor -inf y) (#s(alt #<batchref> (patch (+.f64 x y) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor -inf y) (#s(alt #<batchref> (patch (+.f64 x (+.f64 y z)) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor -inf y) (#s(alt #<batchref> (patch (+.f64 x (+.f64 y z)) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor -inf y) (#s(alt #<batchref> (patch (+.f64 x (+.f64 y z)) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor -inf y) (#s(alt #<batchref> (patch (+.f64 x (+.f64 y z)) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor -inf y) (#s(alt #<batchref> (patch (+.f64 y z) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor -inf y) (#s(alt #<batchref> (patch (+.f64 y z) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor -inf y) (#s(alt #<batchref> (patch (+.f64 y z) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor -inf y) (#s(alt #<batchref> (patch (+.f64 y z) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor 0 x) (#s(alt #<batchref> (patch (-.f64 (+.f64 (+.f64 x y) z) (+.f64 x (+.f64 y z))) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor 0 x) (#s(alt #<batchref> (patch (-.f64 (+.f64 (+.f64 x y) z) (+.f64 x (+.f64 y z))) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor 0 x) (#s(alt #<batchref> (patch (-.f64 (+.f64 (+.f64 x y) z) (+.f64 x (+.f64 y z))) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor 0 x) (#s(alt #<batchref> (patch (-.f64 (+.f64 (+.f64 x y) z) (+.f64 x (+.f64 y z))) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor 0 x) (#s(alt #<batchref> (patch (+.f64 (+.f64 x y) z) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor 0 x) (#s(alt #<batchref> (patch (+.f64 (+.f64 x y) z) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor 0 x) (#s(alt #<batchref> (patch (+.f64 (+.f64 x y) z) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor 0 x) (#s(alt #<batchref> (patch (+.f64 (+.f64 x y) z) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor 0 x) (#s(alt #<batchref> (patch (+.f64 x y) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor 0 x) (#s(alt #<batchref> (patch (+.f64 x y) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor 0 x) (#s(alt #<batchref> (patch (+.f64 x y) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor 0 x) (#s(alt #<batchref> (patch (+.f64 x y) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor 0 x) (#s(alt #<batchref> (patch (+.f64 x (+.f64 y z)) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor 0 x) (#s(alt #<batchref> (patch (+.f64 x (+.f64 y z)) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor 0 x) (#s(alt #<batchref> (patch (+.f64 x (+.f64 y z)) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor 0 x) (#s(alt #<batchref> (patch (+.f64 x (+.f64 y z)) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor inf x) (#s(alt #<batchref> (patch (-.f64 (+.f64 (+.f64 x y) z) (+.f64 x (+.f64 y z))) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor inf x) (#s(alt #<batchref> (patch (-.f64 (+.f64 (+.f64 x y) z) (+.f64 x (+.f64 y z))) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor inf x) (#s(alt #<batchref> (patch (-.f64 (+.f64 (+.f64 x y) z) (+.f64 x (+.f64 y z))) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor inf x) (#s(alt #<batchref> (patch (-.f64 (+.f64 (+.f64 x y) z) (+.f64 x (+.f64 y z))) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor inf x) (#s(alt #<batchref> (patch (+.f64 (+.f64 x y) z) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor inf x) (#s(alt #<batchref> (patch (+.f64 (+.f64 x y) z) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor inf x) (#s(alt #<batchref> (patch (+.f64 (+.f64 x y) z) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor inf x) (#s(alt #<batchref> (patch (+.f64 (+.f64 x y) z) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor inf x) (#s(alt #<batchref> (patch (+.f64 x y) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor inf x) (#s(alt #<batchref> (patch (+.f64 x y) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor inf x) (#s(alt #<batchref> (patch (+.f64 x y) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor inf x) (#s(alt #<batchref> (patch (+.f64 x y) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor inf x) (#s(alt #<batchref> (patch (+.f64 x (+.f64 y z)) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor inf x) (#s(alt #<batchref> (patch (+.f64 x (+.f64 y z)) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor inf x) (#s(alt #<batchref> (patch (+.f64 x (+.f64 y z)) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor inf x) (#s(alt #<batchref> (patch (+.f64 x (+.f64 y z)) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor -inf x) (#s(alt #<batchref> (patch (-.f64 (+.f64 (+.f64 x y) z) (+.f64 x (+.f64 y z))) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor -inf x) (#s(alt #<batchref> (patch (-.f64 (+.f64 (+.f64 x y) z) (+.f64 x (+.f64 y z))) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor -inf x) (#s(alt #<batchref> (patch (-.f64 (+.f64 (+.f64 x y) z) (+.f64 x (+.f64 y z))) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor -inf x) (#s(alt #<batchref> (patch (-.f64 (+.f64 (+.f64 x y) z) (+.f64 x (+.f64 y z))) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor -inf x) (#s(alt #<batchref> (patch (+.f64 (+.f64 x y) z) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor -inf x) (#s(alt #<batchref> (patch (+.f64 (+.f64 x y) z) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor -inf x) (#s(alt #<batchref> (patch (+.f64 (+.f64 x y) z) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor -inf x) (#s(alt #<batchref> (patch (+.f64 (+.f64 x y) z) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor -inf x) (#s(alt #<batchref> (patch (+.f64 x y) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor -inf x) (#s(alt #<batchref> (patch (+.f64 x y) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor -inf x) (#s(alt #<batchref> (patch (+.f64 x y) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor -inf x) (#s(alt #<batchref> (patch (+.f64 x y) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor -inf x) (#s(alt #<batchref> (patch (+.f64 x (+.f64 y z)) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor -inf x) (#s(alt #<batchref> (patch (+.f64 x (+.f64 y z)) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor -inf x) (#s(alt #<batchref> (patch (+.f64 x (+.f64 y z)) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor -inf x) (#s(alt #<batchref> (patch (+.f64 x (+.f64 y z)) #<representation binary64>) () ())) ())
Calls

9 calls:

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

simplify221.0ms (5%)

Memory
-0.3MiB live, 93.3MiB allocated
Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
064456
1188456
2475456
31436456
43501456
54420456
64927456
75058456
85076456
95076456
08922456
Stop Event
iter limit
node limit
Counts
156 → 132
Calls
Call 1
Inputs
0
0
0
0
(+ x y)
(+ x (+ y z))
(+ x (+ y z))
(+ x (+ y z))
(+ x y)
(+ x (+ y z))
(+ x (+ y z))
(+ x (+ y z))
y
(+ y z)
(+ y z)
(+ y z)
0
0
0
0
z
(* z (+ 1 (+ (/ x z) (/ y z))))
(* z (+ 1 (+ (/ x z) (/ y z))))
(* z (+ 1 (+ (/ x z) (/ y z))))
z
(* z (+ 1 (+ (/ x z) (/ y z))))
(* z (+ 1 (+ (/ x z) (/ y z))))
(* z (+ 1 (+ (/ x z) (/ y z))))
z
(* z (+ 1 (/ y z)))
(* z (+ 1 (/ y z)))
(* z (+ 1 (/ y z)))
0
0
0
0
z
(* -1 (* z (- (* -1 (/ (+ x y) z)) 1)))
(* -1 (* z (- (* -1 (/ (+ x y) z)) 1)))
(* -1 (* z (- (* -1 (/ (+ x y) z)) 1)))
z
(* -1 (* z (- (* -1 (/ (+ x y) z)) 1)))
(* -1 (* z (- (* -1 (/ (+ x y) z)) 1)))
(* -1 (* z (- (* -1 (/ (+ x y) z)) 1)))
z
(* -1 (* z (- (* -1 (/ y z)) 1)))
(* -1 (* z (- (* -1 (/ y z)) 1)))
(* -1 (* z (- (* -1 (/ y z)) 1)))
0
0
0
0
(+ x z)
(+ x (+ y z))
(+ x (+ y z))
(+ x (+ y z))
x
(+ x y)
(+ x y)
(+ x y)
(+ x z)
(+ x (+ y z))
(+ x (+ y z))
(+ x (+ y z))
z
(+ y z)
(+ y z)
(+ y z)
0
0
0
0
y
(* y (+ 1 (+ (/ x y) (/ z y))))
(* y (+ 1 (+ (/ x y) (/ z y))))
(* y (+ 1 (+ (/ x y) (/ z y))))
y
(* y (+ 1 (/ x y)))
(* y (+ 1 (/ x y)))
(* y (+ 1 (/ x y)))
y
(* y (+ 1 (+ (/ x y) (/ z y))))
(* y (+ 1 (+ (/ x y) (/ z y))))
(* y (+ 1 (+ (/ x y) (/ z y))))
y
(* y (+ 1 (/ z y)))
(* y (+ 1 (/ z y)))
(* y (+ 1 (/ z y)))
0
0
0
0
y
(* -1 (* y (- (* -1 (/ (+ x z) y)) 1)))
(* -1 (* y (- (* -1 (/ (+ x z) y)) 1)))
(* -1 (* y (- (* -1 (/ (+ x z) y)) 1)))
y
(* -1 (* y (- (* -1 (/ x y)) 1)))
(* -1 (* y (- (* -1 (/ x y)) 1)))
(* -1 (* y (- (* -1 (/ x y)) 1)))
y
(* -1 (* y (- (* -1 (/ (+ x z) y)) 1)))
(* -1 (* y (- (* -1 (/ (+ x z) y)) 1)))
(* -1 (* y (- (* -1 (/ (+ x z) y)) 1)))
y
(* -1 (* y (- (* -1 (/ z y)) 1)))
(* -1 (* y (- (* -1 (/ z y)) 1)))
(* -1 (* y (- (* -1 (/ z y)) 1)))
0
0
0
0
(+ y z)
(+ x (+ y z))
(+ x (+ y z))
(+ x (+ y z))
y
(+ x y)
(+ x y)
(+ x y)
(+ y z)
(+ x (+ y z))
(+ x (+ y z))
(+ x (+ y z))
0
0
0
0
x
(* x (+ 1 (+ (/ y x) (/ z x))))
(* x (+ 1 (+ (/ y x) (/ z x))))
(* x (+ 1 (+ (/ y x) (/ z x))))
x
(* x (+ 1 (/ y x)))
(* x (+ 1 (/ y x)))
(* x (+ 1 (/ y x)))
x
(* x (+ 1 (+ (/ y x) (/ z x))))
(* x (+ 1 (+ (/ y x) (/ z x))))
(* x (+ 1 (+ (/ y x) (/ z x))))
0
0
0
0
x
(* -1 (* x (- (* -1 (/ (+ y z) x)) 1)))
(* -1 (* x (- (* -1 (/ (+ y z) x)) 1)))
(* -1 (* x (- (* -1 (/ (+ y z) x)) 1)))
x
(* -1 (* x (- (* -1 (/ y x)) 1)))
(* -1 (* x (- (* -1 (/ y x)) 1)))
(* -1 (* x (- (* -1 (/ y x)) 1)))
x
(* -1 (* x (- (* -1 (/ (+ y z) x)) 1)))
(* -1 (* x (- (* -1 (/ (+ y z) x)) 1)))
(* -1 (* x (- (* -1 (/ (+ y z) x)) 1)))
Outputs
#s(literal 0 binary64)
#s(literal 0 binary64)
#s(literal 0 binary64)
#s(literal 0 binary64)
(+.f64 y x)
(+.f64 (+.f64 z y) x)
(+.f64 (+.f64 z y) x)
(+.f64 (+.f64 z y) x)
(+.f64 y x)
(+.f64 (+.f64 z y) x)
(+.f64 (+.f64 z y) x)
(+.f64 (+.f64 z y) x)
y
(+.f64 z y)
(+.f64 z y)
(+.f64 z y)
#s(literal 0 binary64)
#s(literal 0 binary64)
#s(literal 0 binary64)
#s(literal 0 binary64)
z
(+.f64 (+.f64 z y) x)
(+.f64 (+.f64 z y) x)
(+.f64 (+.f64 z y) x)
z
(+.f64 (+.f64 z y) x)
(+.f64 (+.f64 z y) x)
(+.f64 (+.f64 z y) x)
z
(+.f64 z y)
(+.f64 z y)
(+.f64 z y)
#s(literal 0 binary64)
#s(literal 0 binary64)
#s(literal 0 binary64)
#s(literal 0 binary64)
z
(+.f64 (+.f64 z y) x)
(+.f64 (+.f64 z y) x)
(+.f64 (+.f64 z y) x)
z
(+.f64 (+.f64 z y) x)
(+.f64 (+.f64 z y) x)
(+.f64 (+.f64 z y) x)
z
(+.f64 z y)
(+.f64 z y)
(+.f64 z y)
#s(literal 0 binary64)
#s(literal 0 binary64)
#s(literal 0 binary64)
#s(literal 0 binary64)
(+.f64 z x)
(+.f64 (+.f64 z y) x)
(+.f64 (+.f64 z y) x)
(+.f64 (+.f64 z y) x)
x
(+.f64 y x)
(+.f64 y x)
(+.f64 y x)
(+.f64 z x)
(+.f64 (+.f64 z y) x)
(+.f64 (+.f64 z y) x)
(+.f64 (+.f64 z y) x)
z
(+.f64 z y)
(+.f64 z y)
(+.f64 z y)
#s(literal 0 binary64)
#s(literal 0 binary64)
#s(literal 0 binary64)
#s(literal 0 binary64)
y
(+.f64 (+.f64 z y) x)
(+.f64 (+.f64 z y) x)
(+.f64 (+.f64 z y) x)
y
(+.f64 y x)
(+.f64 y x)
(+.f64 y x)
y
(+.f64 (+.f64 z y) x)
(+.f64 (+.f64 z y) x)
(+.f64 (+.f64 z y) x)
y
(+.f64 z y)
(+.f64 z y)
(+.f64 z y)
#s(literal 0 binary64)
#s(literal 0 binary64)
#s(literal 0 binary64)
#s(literal 0 binary64)
y
(+.f64 (+.f64 z y) x)
(+.f64 (+.f64 z y) x)
(+.f64 (+.f64 z y) x)
y
(+.f64 y x)
(+.f64 y x)
(+.f64 y x)
y
(+.f64 (+.f64 z y) x)
(+.f64 (+.f64 z y) x)
(+.f64 (+.f64 z y) x)
y
(+.f64 z y)
(+.f64 z y)
(+.f64 z y)
#s(literal 0 binary64)
#s(literal 0 binary64)
#s(literal 0 binary64)
#s(literal 0 binary64)
(+.f64 z y)
(+.f64 (+.f64 z y) x)
(+.f64 (+.f64 z y) x)
(+.f64 (+.f64 z y) x)
y
(+.f64 y x)
(+.f64 y x)
(+.f64 y x)
(+.f64 z y)
(+.f64 (+.f64 z y) x)
(+.f64 (+.f64 z y) x)
(+.f64 (+.f64 z y) x)
#s(literal 0 binary64)
#s(literal 0 binary64)
#s(literal 0 binary64)
#s(literal 0 binary64)
x
(+.f64 (+.f64 z y) x)
(+.f64 (+.f64 z y) x)
(+.f64 (+.f64 z y) x)
x
(+.f64 y x)
(+.f64 y x)
(+.f64 y x)
x
(+.f64 (+.f64 z y) x)
(+.f64 (+.f64 z y) x)
(+.f64 (+.f64 z y) x)
#s(literal 0 binary64)
#s(literal 0 binary64)
#s(literal 0 binary64)
#s(literal 0 binary64)
x
(+.f64 (+.f64 z y) x)
(+.f64 (+.f64 z y) x)
(+.f64 (+.f64 z y) x)
x
(+.f64 y x)
(+.f64 y x)
(+.f64 y x)
x
(+.f64 (+.f64 z y) x)
(+.f64 (+.f64 z y) x)
(+.f64 (+.f64 z y) x)

rewrite153.0ms (3.5%)

Memory
-7.4MiB live, 146.1MiB allocated
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
0827
01327
18617
296417
0844617
Stop Event
iter limit
node limit
iter limit
Counts
5 → 209
Calls
Call 1
Inputs
(-.f64 (+.f64 (+.f64 x y) z) (+.f64 x (+.f64 y z)))
(+.f64 (+.f64 x y) z)
(+.f64 x y)
(+.f64 x (+.f64 y z))
(+.f64 y z)
Outputs
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>

eval37.0ms (0.8%)

Memory
7.5MiB live, 77.0MiB allocated
Compiler

Compiled 7 251 to 639 computations (91.2% saved)

prune6.0ms (0.1%)

Memory
18.3MiB live, 18.3MiB allocated
Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New3401341
Fresh000
Picked101
Done000
Total3411342
Accuracy
100.0%
Counts
342 → 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 13 to 10 computations (23.1% saved)

simplify281.0ms (6.3%)

Memory
-19.5MiB live, 74.6MiB allocated
Algorithm
egg-herbie
Localize:

Found 1 expressions of interest:

NewMetricScoreProgram
cost-diff0
#s(approx (- (+ (+ x y) z) (+ x (+ y z))) #s(literal 0 binary64))
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01014
01014
1224
2864
33534
411764
518194
638814
750154
858424
962964
1063304
1163344
1264524
1364614
1464624
1564624
1664624
1773114
1874634
1976154
2077294
2177674
2277674
081514
Stop Event
iter limit
node limit
saturated
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)

localize39.0ms (0.9%)

Memory
13.5MiB live, 13.5MiB allocated
Localize:

Found 1 expressions of interest:

NewMetricScoreProgram
accuracy0
#s(approx (- (+ (+ x y) z) (+ x (+ y z))) #s(literal 0 binary64))
Samples
19.0ms118×2valid
14.0ms138×1valid
Compiler

Compiled 28 to 21 computations (25% saved)

Precisions
Click to see histograms. Total time spent on operations: 24.0ms
adjust: 11.0ms (46.3% of total)
ival-add: 10.0ms (42.1% of total)
ival-sub: 3.0ms (12.6% of total)
ival-assert: 0.0ms (0% of total)
ival-true: 0.0ms (0% of total)
exact: 0.0ms (0% of total)

series2.0ms (0%)

Memory
0.8MiB live, 0.8MiB allocated
Counts
1 → 36
Calls
Call 1
Inputs
#s(alt #<batchref> (patch #s(approx (- (+ (+ x y) z) (+ x (+ y z))) #s(literal 0 binary64)) #<representation binary64>) () ())
Outputs
#s(alt #<batchref> (taylor 0 z) (#s(alt #<batchref> (patch #s(approx (- (+ (+ x y) z) (+ x (+ y z))) #s(literal 0 binary64)) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor 0 z) (#s(alt #<batchref> (patch #s(approx (- (+ (+ x y) z) (+ x (+ y z))) #s(literal 0 binary64)) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor 0 z) (#s(alt #<batchref> (patch #s(approx (- (+ (+ x y) z) (+ x (+ y z))) #s(literal 0 binary64)) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor 0 z) (#s(alt #<batchref> (patch #s(approx (- (+ (+ x y) z) (+ x (+ y z))) #s(literal 0 binary64)) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor inf z) (#s(alt #<batchref> (patch #s(approx (- (+ (+ x y) z) (+ x (+ y z))) #s(literal 0 binary64)) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor inf z) (#s(alt #<batchref> (patch #s(approx (- (+ (+ x y) z) (+ x (+ y z))) #s(literal 0 binary64)) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor inf z) (#s(alt #<batchref> (patch #s(approx (- (+ (+ x y) z) (+ x (+ y z))) #s(literal 0 binary64)) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor inf z) (#s(alt #<batchref> (patch #s(approx (- (+ (+ x y) z) (+ x (+ y z))) #s(literal 0 binary64)) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor -inf z) (#s(alt #<batchref> (patch #s(approx (- (+ (+ x y) z) (+ x (+ y z))) #s(literal 0 binary64)) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor -inf z) (#s(alt #<batchref> (patch #s(approx (- (+ (+ x y) z) (+ x (+ y z))) #s(literal 0 binary64)) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor -inf z) (#s(alt #<batchref> (patch #s(approx (- (+ (+ x y) z) (+ x (+ y z))) #s(literal 0 binary64)) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor -inf z) (#s(alt #<batchref> (patch #s(approx (- (+ (+ x y) z) (+ x (+ y z))) #s(literal 0 binary64)) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor 0 y) (#s(alt #<batchref> (patch #s(approx (- (+ (+ x y) z) (+ x (+ y z))) #s(literal 0 binary64)) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor 0 y) (#s(alt #<batchref> (patch #s(approx (- (+ (+ x y) z) (+ x (+ y z))) #s(literal 0 binary64)) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor 0 y) (#s(alt #<batchref> (patch #s(approx (- (+ (+ x y) z) (+ x (+ y z))) #s(literal 0 binary64)) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor 0 y) (#s(alt #<batchref> (patch #s(approx (- (+ (+ x y) z) (+ x (+ y z))) #s(literal 0 binary64)) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor inf y) (#s(alt #<batchref> (patch #s(approx (- (+ (+ x y) z) (+ x (+ y z))) #s(literal 0 binary64)) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor inf y) (#s(alt #<batchref> (patch #s(approx (- (+ (+ x y) z) (+ x (+ y z))) #s(literal 0 binary64)) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor inf y) (#s(alt #<batchref> (patch #s(approx (- (+ (+ x y) z) (+ x (+ y z))) #s(literal 0 binary64)) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor inf y) (#s(alt #<batchref> (patch #s(approx (- (+ (+ x y) z) (+ x (+ y z))) #s(literal 0 binary64)) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor -inf y) (#s(alt #<batchref> (patch #s(approx (- (+ (+ x y) z) (+ x (+ y z))) #s(literal 0 binary64)) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor -inf y) (#s(alt #<batchref> (patch #s(approx (- (+ (+ x y) z) (+ x (+ y z))) #s(literal 0 binary64)) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor -inf y) (#s(alt #<batchref> (patch #s(approx (- (+ (+ x y) z) (+ x (+ y z))) #s(literal 0 binary64)) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor -inf y) (#s(alt #<batchref> (patch #s(approx (- (+ (+ x y) z) (+ x (+ y z))) #s(literal 0 binary64)) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor 0 x) (#s(alt #<batchref> (patch #s(approx (- (+ (+ x y) z) (+ x (+ y z))) #s(literal 0 binary64)) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor 0 x) (#s(alt #<batchref> (patch #s(approx (- (+ (+ x y) z) (+ x (+ y z))) #s(literal 0 binary64)) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor 0 x) (#s(alt #<batchref> (patch #s(approx (- (+ (+ x y) z) (+ x (+ y z))) #s(literal 0 binary64)) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor 0 x) (#s(alt #<batchref> (patch #s(approx (- (+ (+ x y) z) (+ x (+ y z))) #s(literal 0 binary64)) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor inf x) (#s(alt #<batchref> (patch #s(approx (- (+ (+ x y) z) (+ x (+ y z))) #s(literal 0 binary64)) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor inf x) (#s(alt #<batchref> (patch #s(approx (- (+ (+ x y) z) (+ x (+ y z))) #s(literal 0 binary64)) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor inf x) (#s(alt #<batchref> (patch #s(approx (- (+ (+ x y) z) (+ x (+ y z))) #s(literal 0 binary64)) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor inf x) (#s(alt #<batchref> (patch #s(approx (- (+ (+ x y) z) (+ x (+ y z))) #s(literal 0 binary64)) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor -inf x) (#s(alt #<batchref> (patch #s(approx (- (+ (+ x y) z) (+ x (+ y z))) #s(literal 0 binary64)) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor -inf x) (#s(alt #<batchref> (patch #s(approx (- (+ (+ x y) z) (+ x (+ y z))) #s(literal 0 binary64)) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor -inf x) (#s(alt #<batchref> (patch #s(approx (- (+ (+ x y) z) (+ x (+ y z))) #s(literal 0 binary64)) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor -inf x) (#s(alt #<batchref> (patch #s(approx (- (+ (+ x y) z) (+ x (+ y z))) #s(literal 0 binary64)) #<representation binary64>) () ())) ())
Calls

9 calls:

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

simplify2.0ms (0%)

Memory
0.5MiB live, 0.5MiB allocated
Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0136
0136
Stop Event
saturated
saturated
Counts
36 → 36
Calls
Call 1
Inputs
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
Outputs
#s(literal 0 binary64)
#s(literal 0 binary64)
#s(literal 0 binary64)
#s(literal 0 binary64)
#s(literal 0 binary64)
#s(literal 0 binary64)
#s(literal 0 binary64)
#s(literal 0 binary64)
#s(literal 0 binary64)
#s(literal 0 binary64)
#s(literal 0 binary64)
#s(literal 0 binary64)
#s(literal 0 binary64)
#s(literal 0 binary64)
#s(literal 0 binary64)
#s(literal 0 binary64)
#s(literal 0 binary64)
#s(literal 0 binary64)
#s(literal 0 binary64)
#s(literal 0 binary64)
#s(literal 0 binary64)
#s(literal 0 binary64)
#s(literal 0 binary64)
#s(literal 0 binary64)
#s(literal 0 binary64)
#s(literal 0 binary64)
#s(literal 0 binary64)
#s(literal 0 binary64)
#s(literal 0 binary64)
#s(literal 0 binary64)
#s(literal 0 binary64)
#s(literal 0 binary64)
#s(literal 0 binary64)
#s(literal 0 binary64)
#s(literal 0 binary64)
#s(literal 0 binary64)

rewrite250.0ms (5.6%)

Memory
-23.7MiB live, 41.5MiB allocated
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01013
01013
1823
29593
084413
Stop Event
iter limit
node limit
saturated
Counts
1 → 1
Calls
Call 1
Inputs
#s(approx (- (+ (+ x y) z) (+ x (+ y z))) #s(literal 0 binary64))
Outputs
#<batchref>

eval3.0ms (0.1%)

Memory
2.4MiB live, 2.4MiB allocated
Compiler

Compiled 481 to 10 computations (97.9% saved)

prune4.0ms (0.1%)

Memory
3.6MiB live, 3.6MiB allocated
Pruning

1 alts after pruning (0 fresh and 1 done)

PrunedKeptTotal
New37037
Fresh000
Picked011
Done000
Total37138
Accuracy
100.0%
Counts
38 → 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 37 to 25 computations (32.4% saved)

regimes6.0ms (0.1%)

Memory
5.6MiB live, 5.6MiB allocated
Accuracy

Total 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
y
1.0ms
z
1.0ms
x
1.0ms
(-.f64 (+.f64 (+.f64 x y) z) (+.f64 x (+.f64 y z)))
Results
AccuracySegmentsBranch
100.0%1x
100.0%1y
100.0%1z
100.0%1(-.f64 (+.f64 (+.f64 x y) z) (+.f64 x (+.f64 y z)))
Compiler

Compiled 14 to 17 computations (-21.4% saved)

simplify19.0ms (0.4%)

Memory
17.7MiB live, 17.7MiB allocated
Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01013
Stop Event
saturated
Calls
Call 1
Inputs
#s(approx (- (+ (+ x y) z) (+ x (+ y z))) #s(literal 0 binary64))
Outputs
#s(approx (- (+ (+ x y) z) (+ x (+ y z))) #s(literal 0 binary64))

soundness328.0ms (7.4%)

Memory
-30.2MiB live, 1.4MiB allocated
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
064456
1188456
2475456
31436456
43501456
54420456
64927456
75058456
85076456
95076456
08922456
Stop Event
done
iter limit
node limit
Compiler

Compiled 14 to 14 computations (0% saved)

preprocess108.0ms (2.4%)

Memory
0.6MiB live, 69.5MiB allocated
Remove

(sort x y z)

(negabs x)

(negabs y)

(negabs z)

(abs x)

(abs y)

(abs z)

Compiler

Compiled 230 to 176 computations (23.5% saved)

end0.0ms (0%)

Memory
0.0MiB live, 0.0MiB allocated

Profiling

Loading profile data...