simple fma test

Time bar (total: 4.3s)

start0.0ms (0%)

Memory
0.0MiB live, 0.0MiB allocated

analyze0.0ms (0%)

Memory
0.4MiB live, 0.4MiB 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 15 to 10 computations (33.3% saved)

sample1.4s (31.6%)

Memory
39.2MiB live, 1 323.1MiB allocated
Samples
860.0ms6 002×1valid
117.0ms2 254×0valid
Precisions
Click to see histograms. Total time spent on operations: 546.0ms
ival-mult: 187.0ms (34.2% of total)
ival-add: 150.0ms (27.5% of total)
adjust: 125.0ms (22.9% of total)
ival-sub: 69.0ms (12.6% of total)
ival-true: 6.0ms (1.1% of total)
exact: 5.0ms (0.9% of total)
ival-assert: 3.0ms (0.5% of total)
Bogosity

explain366.0ms (8.5%)

Memory
7.7MiB live, 236.6MiB allocated
FPErrors
Click to see full error table
Ground TruthOverpredictionsExampleUnderpredictionsExampleSubexpression
1834(2.375997289837602e-114 -0.0005546539620789807 265361951242.38174)0-(-.f64 (fma.f64 x y z) (+.f64 #s(literal 1 binary64) (+.f64 (*.f64 x y) z)))
00-0-(+.f64 (*.f64 x y) z)
00-0-(fma.f64 x y z)
00-0-#s(literal 1 binary64)
00-0-(+.f64 #s(literal 1 binary64) (+.f64 (*.f64 x y) z))
00-0-z
00-0-(*.f64 x y)
00-0-y
00-0-x
Explanations
Click to see full explanations table
OperatorSubexpressionExplanationCount
-.f64(-.f64 (fma.f64 x y z) (+.f64 #s(literal 1 binary64) (+.f64 (*.f64 x y) z)))cancellation1610
-.f64(-.f64 (fma.f64 x y z) (+.f64 #s(literal 1 binary64) (+.f64 (*.f64 x y) z)))nan-rescue260
(fma.f64 x y z)overflow26
(+.f64 (*.f64 x y) z)overflow26
(+.f64 #s(literal 1 binary64) (+.f64 (*.f64 x y) z))overflow26
(*.f64 x y)overflow26
Confusion
Predicted +Predicted -
+1830
-469
Precision
0.9786096256684492
Recall
1.0
Confusion?
Predicted +Predicted MaybePredicted -
+18300
-4069
Precision?
0.9786096256684492
Recall?
1.0
Freqs
test
numberfreq
069
1187
Total Confusion?
Predicted +Predicted MaybePredicted -
+100
-000
Precision?
1.0
Recall?
1.0
Samples
249.0ms372×1valid
8.0ms140×0valid
Compiler

Compiled 90 to 29 computations (67.8% saved)

Precisions
Click to see histograms. Total time spent on operations: 31.0ms
ival-add: 13.0ms (41.7% of total)
adjust: 8.0ms (25.6% of total)
ival-mult: 6.0ms (19.2% of total)
ival-sub: 4.0ms (12.8% of total)
ival-assert: 0.0ms (0% of total)
ival-true: 0.0ms (0% of total)
exact: 0.0ms (0% of total)

preprocess523.0ms (12.2%)

Memory
6.1MiB live, 274.1MiB allocated
Algorithm
egg-herbie
Rules
23 408×lower-fma.f32
23 406×lower-fma.f64
4 272×lower-+.f32
4 268×lower-+.f64
3 446×associate--l+
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
034138
1119117
23899
314999
430709
538729
645759
753099
859599
960439
1060439
1161519
1262389
1362599
1462719
1562779
1662779
0911
01511
12811
2711
32331
45441
519181
634461
746001
851831
953131
1053451
1153451
1256131
1357831
1458591
1558751
1658751
1758911
1858911
1960191
2067651
085081
Stop Event
iter limit
node limit
iter limit
node limit
Calls
Call 1
Inputs
(-.f64 (fma.f64 x y z) (+.f64 #s(literal 1 binary64) (+.f64 (*.f64 x y) z)))
Outputs
(-.f64 (fma.f64 x y z) (+.f64 #s(literal 1 binary64) (+.f64 (*.f64 x y) z)))
#s(literal -1 binary64)
Symmetry

(abs z)

(abs y)

(abs x)

(sort x y z)

Compiler

Compiled 12 to 9 computations (25% saved)

eval0.0ms (0%)

Memory
0.3MiB live, 0.4MiB allocated
Compiler

Compiled 0 to 3 computations (-∞% saved)

prune1.0ms (0%)

Memory
1.5MiB live, 1.5MiB allocated
Alt Table
Click to see full alt table
StatusAccuracyProgram
17.4%
(-.f64 (fma.f64 x y z) (+.f64 #s(literal 1 binary64) (+.f64 (*.f64 x y) z)))
Compiler

Compiled 12 to 9 computations (25% saved)

simplify424.0ms (9.9%)

Memory
-20.4MiB live, 266.7MiB allocated
Algorithm
egg-herbie
Localize:

Found 4 expressions of interest:

NewMetricScoreProgram
cost-diff0
(+.f64 #s(literal 1 binary64) (+.f64 (*.f64 x y) z))
cost-diff0
(fma.f64 x y z)
cost-diff128
(+.f64 (*.f64 x y) z)
cost-diff1152
(-.f64 (fma.f64 x y z) (+.f64 #s(literal 1 binary64) (+.f64 (*.f64 x y) z)))
Rules
23 408×lower-fma.f32
23 406×lower-fma.f64
4 272×lower-+.f32
4 268×lower-+.f64
2 278×distribute-lft-in
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
0932
01532
12832
27122
323322
454422
5191822
6344622
7460022
8518322
9531322
10534522
11534522
12561322
13578322
14585922
15587522
16587522
17589122
18589122
19601922
20676522
0850822
Stop Event
iter limit
node limit
iter limit
Calls
Call 1
Inputs
(-.f64 (fma.f64 x y z) (+.f64 #s(literal 1 binary64) (+.f64 (*.f64 x y) z)))
(fma.f64 x y z)
x
y
z
(+.f64 #s(literal 1 binary64) (+.f64 (*.f64 x y) z))
#s(literal 1 binary64)
(+.f64 (*.f64 x y) z)
(*.f64 x y)
Outputs
(-.f64 (fma.f64 x y z) (+.f64 #s(literal 1 binary64) (+.f64 (*.f64 x y) z)))
#s(literal -1 binary64)
(fma.f64 x y z)
(fma.f64 y x z)
x
y
z
(+.f64 #s(literal 1 binary64) (+.f64 (*.f64 x y) z))
(-.f64 (fma.f64 y x z) #s(literal -1 binary64))
#s(literal 1 binary64)
(+.f64 (*.f64 x y) z)
(fma.f64 y x z)
(*.f64 x y)
(*.f64 y x)

localize37.0ms (0.9%)

Memory
30.2MiB live, 100.5MiB allocated
Localize:

Found 4 expressions of interest:

NewMetricScoreProgram
accuracy0
(+.f64 #s(literal 1 binary64) (+.f64 (*.f64 x y) z))
accuracy0
(*.f64 x y)
accuracy0.00390625
(+.f64 (*.f64 x y) z)
accuracy52.832838743876685
(-.f64 (fma.f64 x y z) (+.f64 #s(literal 1 binary64) (+.f64 (*.f64 x y) z)))
Samples
26.0ms220×1valid
5.0ms36×0valid
Compiler

Compiled 39 to 10 computations (74.4% saved)

Precisions
Click to see histograms. Total time spent on operations: 17.0ms
ival-mult: 5.0ms (29.9% of total)
ival-add: 4.0ms (23.9% of total)
adjust: 4.0ms (23.9% of total)
ival-sub: 2.0ms (12% of total)
ival-assert: 0.0ms (0% of total)
ival-true: 0.0ms (0% of total)
exact: 0.0ms (0% of total)

series12.0ms (0.3%)

Memory
-9.3MiB live, 44.2MiB allocated
Counts
5 → 168
Calls
Call 1
Inputs
#s(alt (-.f64 (fma.f64 x y z) (+.f64 #s(literal 1 binary64) (+.f64 (*.f64 x y) z))) (patch (-.f64 (fma.f64 x y z) (+.f64 #s(literal 1 binary64) (+.f64 (*.f64 x y) z))) #<representation binary64>) () ())
#s(alt (+.f64 (*.f64 x y) z) (patch (+.f64 (*.f64 x y) z) #<representation binary64>) () ())
#s(alt (fma.f64 x y z) (patch (fma.f64 x y z) #<representation binary64>) () ())
#s(alt (+.f64 #s(literal 1 binary64) (+.f64 (*.f64 x y) z)) (patch (+.f64 #s(literal 1 binary64) (+.f64 (*.f64 x y) z)) #<representation binary64>) () ())
#s(alt (*.f64 x y) (patch (*.f64 x y) #<representation binary64>) () ())
Outputs
#s(alt -1 (taylor 0 z) (#s(alt (-.f64 (fma.f64 x y z) (+.f64 #s(literal 1 binary64) (+.f64 (*.f64 x y) z))) (patch (-.f64 (fma.f64 x y z) (+.f64 #s(literal 1 binary64) (+.f64 (*.f64 x y) z))) #<representation binary64>) () ())) ())
#s(alt -1 (taylor 0 z) (#s(alt (-.f64 (fma.f64 x y z) (+.f64 #s(literal 1 binary64) (+.f64 (*.f64 x y) z))) (patch (-.f64 (fma.f64 x y z) (+.f64 #s(literal 1 binary64) (+.f64 (*.f64 x y) z))) #<representation binary64>) () ())) ())
#s(alt -1 (taylor 0 z) (#s(alt (-.f64 (fma.f64 x y z) (+.f64 #s(literal 1 binary64) (+.f64 (*.f64 x y) z))) (patch (-.f64 (fma.f64 x y z) (+.f64 #s(literal 1 binary64) (+.f64 (*.f64 x y) z))) #<representation binary64>) () ())) ())
#s(alt -1 (taylor 0 z) (#s(alt (-.f64 (fma.f64 x y z) (+.f64 #s(literal 1 binary64) (+.f64 (*.f64 x y) z))) (patch (-.f64 (fma.f64 x y z) (+.f64 #s(literal 1 binary64) (+.f64 (*.f64 x y) z))) #<representation binary64>) () ())) ())
#s(alt (* x y) (taylor 0 z) (#s(alt (+.f64 (*.f64 x y) z) (patch (+.f64 (*.f64 x y) z) #<representation binary64>) () ())) ())
#s(alt (+ z (* x y)) (taylor 0 z) (#s(alt (+.f64 (*.f64 x y) z) (patch (+.f64 (*.f64 x y) z) #<representation binary64>) () ())) ())
#s(alt (+ z (* x y)) (taylor 0 z) (#s(alt (+.f64 (*.f64 x y) z) (patch (+.f64 (*.f64 x y) z) #<representation binary64>) () ())) ())
#s(alt (+ z (* x y)) (taylor 0 z) (#s(alt (+.f64 (*.f64 x y) z) (patch (+.f64 (*.f64 x y) z) #<representation binary64>) () ())) ())
#s(alt (* x y) (taylor 0 z) (#s(alt (fma.f64 x y z) (patch (fma.f64 x y z) #<representation binary64>) () ())) ())
#s(alt (+ z (* x y)) (taylor 0 z) (#s(alt (fma.f64 x y z) (patch (fma.f64 x y z) #<representation binary64>) () ())) ())
#s(alt (+ z (* x y)) (taylor 0 z) (#s(alt (fma.f64 x y z) (patch (fma.f64 x y z) #<representation binary64>) () ())) ())
#s(alt (+ z (* x y)) (taylor 0 z) (#s(alt (fma.f64 x y z) (patch (fma.f64 x y z) #<representation binary64>) () ())) ())
#s(alt (+ 1 (* x y)) (taylor 0 z) (#s(alt (+.f64 #s(literal 1 binary64) (+.f64 (*.f64 x y) z)) (patch (+.f64 #s(literal 1 binary64) (+.f64 (*.f64 x y) z)) #<representation binary64>) () ())) ())
#s(alt (+ 1 (+ z (* x y))) (taylor 0 z) (#s(alt (+.f64 #s(literal 1 binary64) (+.f64 (*.f64 x y) z)) (patch (+.f64 #s(literal 1 binary64) (+.f64 (*.f64 x y) z)) #<representation binary64>) () ())) ())
#s(alt (+ 1 (+ z (* x y))) (taylor 0 z) (#s(alt (+.f64 #s(literal 1 binary64) (+.f64 (*.f64 x y) z)) (patch (+.f64 #s(literal 1 binary64) (+.f64 (*.f64 x y) z)) #<representation binary64>) () ())) ())
#s(alt (+ 1 (+ z (* x y))) (taylor 0 z) (#s(alt (+.f64 #s(literal 1 binary64) (+.f64 (*.f64 x y) z)) (patch (+.f64 #s(literal 1 binary64) (+.f64 (*.f64 x y) z)) #<representation binary64>) () ())) ())
#s(alt -1 (taylor inf z) (#s(alt (-.f64 (fma.f64 x y z) (+.f64 #s(literal 1 binary64) (+.f64 (*.f64 x y) z))) (patch (-.f64 (fma.f64 x y z) (+.f64 #s(literal 1 binary64) (+.f64 (*.f64 x y) z))) #<representation binary64>) () ())) ())
#s(alt -1 (taylor inf z) (#s(alt (-.f64 (fma.f64 x y z) (+.f64 #s(literal 1 binary64) (+.f64 (*.f64 x y) z))) (patch (-.f64 (fma.f64 x y z) (+.f64 #s(literal 1 binary64) (+.f64 (*.f64 x y) z))) #<representation binary64>) () ())) ())
#s(alt -1 (taylor inf z) (#s(alt (-.f64 (fma.f64 x y z) (+.f64 #s(literal 1 binary64) (+.f64 (*.f64 x y) z))) (patch (-.f64 (fma.f64 x y z) (+.f64 #s(literal 1 binary64) (+.f64 (*.f64 x y) z))) #<representation binary64>) () ())) ())
#s(alt -1 (taylor inf z) (#s(alt (-.f64 (fma.f64 x y z) (+.f64 #s(literal 1 binary64) (+.f64 (*.f64 x y) z))) (patch (-.f64 (fma.f64 x y z) (+.f64 #s(literal 1 binary64) (+.f64 (*.f64 x y) z))) #<representation binary64>) () ())) ())
#s(alt z (taylor inf z) (#s(alt (+.f64 (*.f64 x y) z) (patch (+.f64 (*.f64 x y) z) #<representation binary64>) () ())) ())
#s(alt (* z (+ 1 (/ (* x y) z))) (taylor inf z) (#s(alt (+.f64 (*.f64 x y) z) (patch (+.f64 (*.f64 x y) z) #<representation binary64>) () ())) ())
#s(alt (* z (+ 1 (/ (* x y) z))) (taylor inf z) (#s(alt (+.f64 (*.f64 x y) z) (patch (+.f64 (*.f64 x y) z) #<representation binary64>) () ())) ())
#s(alt (* z (+ 1 (/ (* x y) z))) (taylor inf z) (#s(alt (+.f64 (*.f64 x y) z) (patch (+.f64 (*.f64 x y) z) #<representation binary64>) () ())) ())
#s(alt z (taylor inf z) (#s(alt (fma.f64 x y z) (patch (fma.f64 x y z) #<representation binary64>) () ())) ())
#s(alt (* z (+ 1 (/ (* x y) z))) (taylor inf z) (#s(alt (fma.f64 x y z) (patch (fma.f64 x y z) #<representation binary64>) () ())) ())
#s(alt (* z (+ 1 (/ (* x y) z))) (taylor inf z) (#s(alt (fma.f64 x y z) (patch (fma.f64 x y z) #<representation binary64>) () ())) ())
#s(alt (* z (+ 1 (/ (* x y) z))) (taylor inf z) (#s(alt (fma.f64 x y z) (patch (fma.f64 x y z) #<representation binary64>) () ())) ())
#s(alt z (taylor inf z) (#s(alt (+.f64 #s(literal 1 binary64) (+.f64 (*.f64 x y) z)) (patch (+.f64 #s(literal 1 binary64) (+.f64 (*.f64 x y) z)) #<representation binary64>) () ())) ())
#s(alt (* z (+ 1 (+ (/ 1 z) (/ (* x y) z)))) (taylor inf z) (#s(alt (+.f64 #s(literal 1 binary64) (+.f64 (*.f64 x y) z)) (patch (+.f64 #s(literal 1 binary64) (+.f64 (*.f64 x y) z)) #<representation binary64>) () ())) ())
#s(alt (* z (+ 1 (+ (/ 1 z) (/ (* x y) z)))) (taylor inf z) (#s(alt (+.f64 #s(literal 1 binary64) (+.f64 (*.f64 x y) z)) (patch (+.f64 #s(literal 1 binary64) (+.f64 (*.f64 x y) z)) #<representation binary64>) () ())) ())
#s(alt (* z (+ 1 (+ (/ 1 z) (/ (* x y) z)))) (taylor inf z) (#s(alt (+.f64 #s(literal 1 binary64) (+.f64 (*.f64 x y) z)) (patch (+.f64 #s(literal 1 binary64) (+.f64 (*.f64 x y) z)) #<representation binary64>) () ())) ())
#s(alt -1 (taylor -inf z) (#s(alt (-.f64 (fma.f64 x y z) (+.f64 #s(literal 1 binary64) (+.f64 (*.f64 x y) z))) (patch (-.f64 (fma.f64 x y z) (+.f64 #s(literal 1 binary64) (+.f64 (*.f64 x y) z))) #<representation binary64>) () ())) ())
#s(alt -1 (taylor -inf z) (#s(alt (-.f64 (fma.f64 x y z) (+.f64 #s(literal 1 binary64) (+.f64 (*.f64 x y) z))) (patch (-.f64 (fma.f64 x y z) (+.f64 #s(literal 1 binary64) (+.f64 (*.f64 x y) z))) #<representation binary64>) () ())) ())
#s(alt -1 (taylor -inf z) (#s(alt (-.f64 (fma.f64 x y z) (+.f64 #s(literal 1 binary64) (+.f64 (*.f64 x y) z))) (patch (-.f64 (fma.f64 x y z) (+.f64 #s(literal 1 binary64) (+.f64 (*.f64 x y) z))) #<representation binary64>) () ())) ())
#s(alt -1 (taylor -inf z) (#s(alt (-.f64 (fma.f64 x y z) (+.f64 #s(literal 1 binary64) (+.f64 (*.f64 x y) z))) (patch (-.f64 (fma.f64 x y z) (+.f64 #s(literal 1 binary64) (+.f64 (*.f64 x y) z))) #<representation binary64>) () ())) ())
#s(alt z (taylor -inf z) (#s(alt (+.f64 (*.f64 x y) z) (patch (+.f64 (*.f64 x y) z) #<representation binary64>) () ())) ())
#s(alt (* -1 (* z (- (* -1 (/ (* x y) z)) 1))) (taylor -inf z) (#s(alt (+.f64 (*.f64 x y) z) (patch (+.f64 (*.f64 x y) z) #<representation binary64>) () ())) ())
#s(alt (* -1 (* z (- (* -1 (/ (* x y) z)) 1))) (taylor -inf z) (#s(alt (+.f64 (*.f64 x y) z) (patch (+.f64 (*.f64 x y) z) #<representation binary64>) () ())) ())
#s(alt (* -1 (* z (- (* -1 (/ (* x y) z)) 1))) (taylor -inf z) (#s(alt (+.f64 (*.f64 x y) z) (patch (+.f64 (*.f64 x y) z) #<representation binary64>) () ())) ())
#s(alt z (taylor -inf z) (#s(alt (fma.f64 x y z) (patch (fma.f64 x y z) #<representation binary64>) () ())) ())
#s(alt (* -1 (* z (- (* -1 (/ (* x y) z)) 1))) (taylor -inf z) (#s(alt (fma.f64 x y z) (patch (fma.f64 x y z) #<representation binary64>) () ())) ())
#s(alt (* -1 (* z (- (* -1 (/ (* x y) z)) 1))) (taylor -inf z) (#s(alt (fma.f64 x y z) (patch (fma.f64 x y z) #<representation binary64>) () ())) ())
#s(alt (* -1 (* z (- (* -1 (/ (* x y) z)) 1))) (taylor -inf z) (#s(alt (fma.f64 x y z) (patch (fma.f64 x y z) #<representation binary64>) () ())) ())
#s(alt z (taylor -inf z) (#s(alt (+.f64 #s(literal 1 binary64) (+.f64 (*.f64 x y) z)) (patch (+.f64 #s(literal 1 binary64) (+.f64 (*.f64 x y) z)) #<representation binary64>) () ())) ())
#s(alt (* -1 (* z (- (* -1 (/ (+ 1 (* x y)) z)) 1))) (taylor -inf z) (#s(alt (+.f64 #s(literal 1 binary64) (+.f64 (*.f64 x y) z)) (patch (+.f64 #s(literal 1 binary64) (+.f64 (*.f64 x y) z)) #<representation binary64>) () ())) ())
#s(alt (* -1 (* z (- (* -1 (/ (+ 1 (* x y)) z)) 1))) (taylor -inf z) (#s(alt (+.f64 #s(literal 1 binary64) (+.f64 (*.f64 x y) z)) (patch (+.f64 #s(literal 1 binary64) (+.f64 (*.f64 x y) z)) #<representation binary64>) () ())) ())
#s(alt (* -1 (* z (- (* -1 (/ (+ 1 (* x y)) z)) 1))) (taylor -inf z) (#s(alt (+.f64 #s(literal 1 binary64) (+.f64 (*.f64 x y) z)) (patch (+.f64 #s(literal 1 binary64) (+.f64 (*.f64 x y) z)) #<representation binary64>) () ())) ())
#s(alt -1 (taylor 0 y) (#s(alt (-.f64 (fma.f64 x y z) (+.f64 #s(literal 1 binary64) (+.f64 (*.f64 x y) z))) (patch (-.f64 (fma.f64 x y z) (+.f64 #s(literal 1 binary64) (+.f64 (*.f64 x y) z))) #<representation binary64>) () ())) ())
#s(alt -1 (taylor 0 y) (#s(alt (-.f64 (fma.f64 x y z) (+.f64 #s(literal 1 binary64) (+.f64 (*.f64 x y) z))) (patch (-.f64 (fma.f64 x y z) (+.f64 #s(literal 1 binary64) (+.f64 (*.f64 x y) z))) #<representation binary64>) () ())) ())
#s(alt -1 (taylor 0 y) (#s(alt (-.f64 (fma.f64 x y z) (+.f64 #s(literal 1 binary64) (+.f64 (*.f64 x y) z))) (patch (-.f64 (fma.f64 x y z) (+.f64 #s(literal 1 binary64) (+.f64 (*.f64 x y) z))) #<representation binary64>) () ())) ())
#s(alt -1 (taylor 0 y) (#s(alt (-.f64 (fma.f64 x y z) (+.f64 #s(literal 1 binary64) (+.f64 (*.f64 x y) z))) (patch (-.f64 (fma.f64 x y z) (+.f64 #s(literal 1 binary64) (+.f64 (*.f64 x y) z))) #<representation binary64>) () ())) ())
#s(alt z (taylor 0 y) (#s(alt (+.f64 (*.f64 x y) z) (patch (+.f64 (*.f64 x y) z) #<representation binary64>) () ())) ())
#s(alt (+ z (* x y)) (taylor 0 y) (#s(alt (+.f64 (*.f64 x y) z) (patch (+.f64 (*.f64 x y) z) #<representation binary64>) () ())) ())
#s(alt (+ z (* x y)) (taylor 0 y) (#s(alt (+.f64 (*.f64 x y) z) (patch (+.f64 (*.f64 x y) z) #<representation binary64>) () ())) ())
#s(alt (+ z (* x y)) (taylor 0 y) (#s(alt (+.f64 (*.f64 x y) z) (patch (+.f64 (*.f64 x y) z) #<representation binary64>) () ())) ())
#s(alt z (taylor 0 y) (#s(alt (fma.f64 x y z) (patch (fma.f64 x y z) #<representation binary64>) () ())) ())
#s(alt (+ z (* x y)) (taylor 0 y) (#s(alt (fma.f64 x y z) (patch (fma.f64 x y z) #<representation binary64>) () ())) ())
#s(alt (+ z (* x y)) (taylor 0 y) (#s(alt (fma.f64 x y z) (patch (fma.f64 x y z) #<representation binary64>) () ())) ())
#s(alt (+ z (* x y)) (taylor 0 y) (#s(alt (fma.f64 x y z) (patch (fma.f64 x y z) #<representation binary64>) () ())) ())
#s(alt (+ 1 z) (taylor 0 y) (#s(alt (+.f64 #s(literal 1 binary64) (+.f64 (*.f64 x y) z)) (patch (+.f64 #s(literal 1 binary64) (+.f64 (*.f64 x y) z)) #<representation binary64>) () ())) ())
#s(alt (+ 1 (+ z (* x y))) (taylor 0 y) (#s(alt (+.f64 #s(literal 1 binary64) (+.f64 (*.f64 x y) z)) (patch (+.f64 #s(literal 1 binary64) (+.f64 (*.f64 x y) z)) #<representation binary64>) () ())) ())
#s(alt (+ 1 (+ z (* x y))) (taylor 0 y) (#s(alt (+.f64 #s(literal 1 binary64) (+.f64 (*.f64 x y) z)) (patch (+.f64 #s(literal 1 binary64) (+.f64 (*.f64 x y) z)) #<representation binary64>) () ())) ())
#s(alt (+ 1 (+ z (* x y))) (taylor 0 y) (#s(alt (+.f64 #s(literal 1 binary64) (+.f64 (*.f64 x y) z)) (patch (+.f64 #s(literal 1 binary64) (+.f64 (*.f64 x y) z)) #<representation binary64>) () ())) ())
#s(alt (* x y) (taylor 0 y) (#s(alt (*.f64 x y) (patch (*.f64 x y) #<representation binary64>) () ())) ())
#s(alt (* x y) (taylor 0 y) (#s(alt (*.f64 x y) (patch (*.f64 x y) #<representation binary64>) () ())) ())
#s(alt (* x y) (taylor 0 y) (#s(alt (*.f64 x y) (patch (*.f64 x y) #<representation binary64>) () ())) ())
#s(alt (* x y) (taylor 0 y) (#s(alt (*.f64 x y) (patch (*.f64 x y) #<representation binary64>) () ())) ())
#s(alt -1 (taylor inf y) (#s(alt (-.f64 (fma.f64 x y z) (+.f64 #s(literal 1 binary64) (+.f64 (*.f64 x y) z))) (patch (-.f64 (fma.f64 x y z) (+.f64 #s(literal 1 binary64) (+.f64 (*.f64 x y) z))) #<representation binary64>) () ())) ())
#s(alt -1 (taylor inf y) (#s(alt (-.f64 (fma.f64 x y z) (+.f64 #s(literal 1 binary64) (+.f64 (*.f64 x y) z))) (patch (-.f64 (fma.f64 x y z) (+.f64 #s(literal 1 binary64) (+.f64 (*.f64 x y) z))) #<representation binary64>) () ())) ())
#s(alt -1 (taylor inf y) (#s(alt (-.f64 (fma.f64 x y z) (+.f64 #s(literal 1 binary64) (+.f64 (*.f64 x y) z))) (patch (-.f64 (fma.f64 x y z) (+.f64 #s(literal 1 binary64) (+.f64 (*.f64 x y) z))) #<representation binary64>) () ())) ())
#s(alt -1 (taylor inf y) (#s(alt (-.f64 (fma.f64 x y z) (+.f64 #s(literal 1 binary64) (+.f64 (*.f64 x y) z))) (patch (-.f64 (fma.f64 x y z) (+.f64 #s(literal 1 binary64) (+.f64 (*.f64 x y) z))) #<representation binary64>) () ())) ())
#s(alt (* x y) (taylor inf y) (#s(alt (+.f64 (*.f64 x y) z) (patch (+.f64 (*.f64 x y) z) #<representation binary64>) () ())) ())
#s(alt (* y (+ x (/ z y))) (taylor inf y) (#s(alt (+.f64 (*.f64 x y) z) (patch (+.f64 (*.f64 x y) z) #<representation binary64>) () ())) ())
#s(alt (* y (+ x (/ z y))) (taylor inf y) (#s(alt (+.f64 (*.f64 x y) z) (patch (+.f64 (*.f64 x y) z) #<representation binary64>) () ())) ())
#s(alt (* y (+ x (/ z y))) (taylor inf y) (#s(alt (+.f64 (*.f64 x y) z) (patch (+.f64 (*.f64 x y) z) #<representation binary64>) () ())) ())
#s(alt (* x y) (taylor inf y) (#s(alt (fma.f64 x y z) (patch (fma.f64 x y z) #<representation binary64>) () ())) ())
#s(alt (* y (+ x (/ z y))) (taylor inf y) (#s(alt (fma.f64 x y z) (patch (fma.f64 x y z) #<representation binary64>) () ())) ())
#s(alt (* y (+ x (/ z y))) (taylor inf y) (#s(alt (fma.f64 x y z) (patch (fma.f64 x y z) #<representation binary64>) () ())) ())
#s(alt (* y (+ x (/ z y))) (taylor inf y) (#s(alt (fma.f64 x y z) (patch (fma.f64 x y z) #<representation binary64>) () ())) ())
#s(alt (* x y) (taylor inf y) (#s(alt (+.f64 #s(literal 1 binary64) (+.f64 (*.f64 x y) z)) (patch (+.f64 #s(literal 1 binary64) (+.f64 (*.f64 x y) z)) #<representation binary64>) () ())) ())
#s(alt (* y (+ x (+ (/ 1 y) (/ z y)))) (taylor inf y) (#s(alt (+.f64 #s(literal 1 binary64) (+.f64 (*.f64 x y) z)) (patch (+.f64 #s(literal 1 binary64) (+.f64 (*.f64 x y) z)) #<representation binary64>) () ())) ())
#s(alt (* y (+ x (+ (/ 1 y) (/ z y)))) (taylor inf y) (#s(alt (+.f64 #s(literal 1 binary64) (+.f64 (*.f64 x y) z)) (patch (+.f64 #s(literal 1 binary64) (+.f64 (*.f64 x y) z)) #<representation binary64>) () ())) ())
#s(alt (* y (+ x (+ (/ 1 y) (/ z y)))) (taylor inf y) (#s(alt (+.f64 #s(literal 1 binary64) (+.f64 (*.f64 x y) z)) (patch (+.f64 #s(literal 1 binary64) (+.f64 (*.f64 x y) z)) #<representation binary64>) () ())) ())
#s(alt (* x y) (taylor inf y) (#s(alt (*.f64 x y) (patch (*.f64 x y) #<representation binary64>) () ())) ())
#s(alt (* x y) (taylor inf y) (#s(alt (*.f64 x y) (patch (*.f64 x y) #<representation binary64>) () ())) ())
#s(alt (* x y) (taylor inf y) (#s(alt (*.f64 x y) (patch (*.f64 x y) #<representation binary64>) () ())) ())
#s(alt (* x y) (taylor inf y) (#s(alt (*.f64 x y) (patch (*.f64 x y) #<representation binary64>) () ())) ())
#s(alt -1 (taylor -inf y) (#s(alt (-.f64 (fma.f64 x y z) (+.f64 #s(literal 1 binary64) (+.f64 (*.f64 x y) z))) (patch (-.f64 (fma.f64 x y z) (+.f64 #s(literal 1 binary64) (+.f64 (*.f64 x y) z))) #<representation binary64>) () ())) ())
#s(alt -1 (taylor -inf y) (#s(alt (-.f64 (fma.f64 x y z) (+.f64 #s(literal 1 binary64) (+.f64 (*.f64 x y) z))) (patch (-.f64 (fma.f64 x y z) (+.f64 #s(literal 1 binary64) (+.f64 (*.f64 x y) z))) #<representation binary64>) () ())) ())
#s(alt -1 (taylor -inf y) (#s(alt (-.f64 (fma.f64 x y z) (+.f64 #s(literal 1 binary64) (+.f64 (*.f64 x y) z))) (patch (-.f64 (fma.f64 x y z) (+.f64 #s(literal 1 binary64) (+.f64 (*.f64 x y) z))) #<representation binary64>) () ())) ())
#s(alt -1 (taylor -inf y) (#s(alt (-.f64 (fma.f64 x y z) (+.f64 #s(literal 1 binary64) (+.f64 (*.f64 x y) z))) (patch (-.f64 (fma.f64 x y z) (+.f64 #s(literal 1 binary64) (+.f64 (*.f64 x y) z))) #<representation binary64>) () ())) ())
#s(alt (* x y) (taylor -inf y) (#s(alt (+.f64 (*.f64 x y) z) (patch (+.f64 (*.f64 x y) z) #<representation binary64>) () ())) ())
#s(alt (* -1 (* y (+ (* -1 x) (* -1 (/ z y))))) (taylor -inf y) (#s(alt (+.f64 (*.f64 x y) z) (patch (+.f64 (*.f64 x y) z) #<representation binary64>) () ())) ())
#s(alt (* -1 (* y (+ (* -1 x) (* -1 (/ z y))))) (taylor -inf y) (#s(alt (+.f64 (*.f64 x y) z) (patch (+.f64 (*.f64 x y) z) #<representation binary64>) () ())) ())
#s(alt (* -1 (* y (+ (* -1 x) (* -1 (/ z y))))) (taylor -inf y) (#s(alt (+.f64 (*.f64 x y) z) (patch (+.f64 (*.f64 x y) z) #<representation binary64>) () ())) ())
#s(alt (* x y) (taylor -inf y) (#s(alt (fma.f64 x y z) (patch (fma.f64 x y z) #<representation binary64>) () ())) ())
#s(alt (* -1 (* y (+ (* -1 x) (* -1 (/ z y))))) (taylor -inf y) (#s(alt (fma.f64 x y z) (patch (fma.f64 x y z) #<representation binary64>) () ())) ())
#s(alt (* -1 (* y (+ (* -1 x) (* -1 (/ z y))))) (taylor -inf y) (#s(alt (fma.f64 x y z) (patch (fma.f64 x y z) #<representation binary64>) () ())) ())
#s(alt (* -1 (* y (+ (* -1 x) (* -1 (/ z y))))) (taylor -inf y) (#s(alt (fma.f64 x y z) (patch (fma.f64 x y z) #<representation binary64>) () ())) ())
#s(alt (* x y) (taylor -inf y) (#s(alt (+.f64 #s(literal 1 binary64) (+.f64 (*.f64 x y) z)) (patch (+.f64 #s(literal 1 binary64) (+.f64 (*.f64 x y) z)) #<representation binary64>) () ())) ())
#s(alt (* -1 (* y (+ (* -1 x) (* -1 (/ (+ 1 z) y))))) (taylor -inf y) (#s(alt (+.f64 #s(literal 1 binary64) (+.f64 (*.f64 x y) z)) (patch (+.f64 #s(literal 1 binary64) (+.f64 (*.f64 x y) z)) #<representation binary64>) () ())) ())
#s(alt (* -1 (* y (+ (* -1 x) (* -1 (/ (+ 1 z) y))))) (taylor -inf y) (#s(alt (+.f64 #s(literal 1 binary64) (+.f64 (*.f64 x y) z)) (patch (+.f64 #s(literal 1 binary64) (+.f64 (*.f64 x y) z)) #<representation binary64>) () ())) ())
#s(alt (* -1 (* y (+ (* -1 x) (* -1 (/ (+ 1 z) y))))) (taylor -inf y) (#s(alt (+.f64 #s(literal 1 binary64) (+.f64 (*.f64 x y) z)) (patch (+.f64 #s(literal 1 binary64) (+.f64 (*.f64 x y) z)) #<representation binary64>) () ())) ())
#s(alt (* x y) (taylor -inf y) (#s(alt (*.f64 x y) (patch (*.f64 x y) #<representation binary64>) () ())) ())
#s(alt (* x y) (taylor -inf y) (#s(alt (*.f64 x y) (patch (*.f64 x y) #<representation binary64>) () ())) ())
#s(alt (* x y) (taylor -inf y) (#s(alt (*.f64 x y) (patch (*.f64 x y) #<representation binary64>) () ())) ())
#s(alt (* x y) (taylor -inf y) (#s(alt (*.f64 x y) (patch (*.f64 x y) #<representation binary64>) () ())) ())
#s(alt -1 (taylor 0 x) (#s(alt (-.f64 (fma.f64 x y z) (+.f64 #s(literal 1 binary64) (+.f64 (*.f64 x y) z))) (patch (-.f64 (fma.f64 x y z) (+.f64 #s(literal 1 binary64) (+.f64 (*.f64 x y) z))) #<representation binary64>) () ())) ())
#s(alt -1 (taylor 0 x) (#s(alt (-.f64 (fma.f64 x y z) (+.f64 #s(literal 1 binary64) (+.f64 (*.f64 x y) z))) (patch (-.f64 (fma.f64 x y z) (+.f64 #s(literal 1 binary64) (+.f64 (*.f64 x y) z))) #<representation binary64>) () ())) ())
#s(alt -1 (taylor 0 x) (#s(alt (-.f64 (fma.f64 x y z) (+.f64 #s(literal 1 binary64) (+.f64 (*.f64 x y) z))) (patch (-.f64 (fma.f64 x y z) (+.f64 #s(literal 1 binary64) (+.f64 (*.f64 x y) z))) #<representation binary64>) () ())) ())
#s(alt -1 (taylor 0 x) (#s(alt (-.f64 (fma.f64 x y z) (+.f64 #s(literal 1 binary64) (+.f64 (*.f64 x y) z))) (patch (-.f64 (fma.f64 x y z) (+.f64 #s(literal 1 binary64) (+.f64 (*.f64 x y) z))) #<representation binary64>) () ())) ())
#s(alt z (taylor 0 x) (#s(alt (+.f64 (*.f64 x y) z) (patch (+.f64 (*.f64 x y) z) #<representation binary64>) () ())) ())
#s(alt (+ z (* x y)) (taylor 0 x) (#s(alt (+.f64 (*.f64 x y) z) (patch (+.f64 (*.f64 x y) z) #<representation binary64>) () ())) ())
#s(alt (+ z (* x y)) (taylor 0 x) (#s(alt (+.f64 (*.f64 x y) z) (patch (+.f64 (*.f64 x y) z) #<representation binary64>) () ())) ())
#s(alt (+ z (* x y)) (taylor 0 x) (#s(alt (+.f64 (*.f64 x y) z) (patch (+.f64 (*.f64 x y) z) #<representation binary64>) () ())) ())
#s(alt z (taylor 0 x) (#s(alt (fma.f64 x y z) (patch (fma.f64 x y z) #<representation binary64>) () ())) ())
#s(alt (+ z (* x y)) (taylor 0 x) (#s(alt (fma.f64 x y z) (patch (fma.f64 x y z) #<representation binary64>) () ())) ())
#s(alt (+ z (* x y)) (taylor 0 x) (#s(alt (fma.f64 x y z) (patch (fma.f64 x y z) #<representation binary64>) () ())) ())
#s(alt (+ z (* x y)) (taylor 0 x) (#s(alt (fma.f64 x y z) (patch (fma.f64 x y z) #<representation binary64>) () ())) ())
#s(alt (+ 1 z) (taylor 0 x) (#s(alt (+.f64 #s(literal 1 binary64) (+.f64 (*.f64 x y) z)) (patch (+.f64 #s(literal 1 binary64) (+.f64 (*.f64 x y) z)) #<representation binary64>) () ())) ())
#s(alt (+ 1 (+ z (* x y))) (taylor 0 x) (#s(alt (+.f64 #s(literal 1 binary64) (+.f64 (*.f64 x y) z)) (patch (+.f64 #s(literal 1 binary64) (+.f64 (*.f64 x y) z)) #<representation binary64>) () ())) ())
#s(alt (+ 1 (+ z (* x y))) (taylor 0 x) (#s(alt (+.f64 #s(literal 1 binary64) (+.f64 (*.f64 x y) z)) (patch (+.f64 #s(literal 1 binary64) (+.f64 (*.f64 x y) z)) #<representation binary64>) () ())) ())
#s(alt (+ 1 (+ z (* x y))) (taylor 0 x) (#s(alt (+.f64 #s(literal 1 binary64) (+.f64 (*.f64 x y) z)) (patch (+.f64 #s(literal 1 binary64) (+.f64 (*.f64 x y) z)) #<representation binary64>) () ())) ())
#s(alt (* x y) (taylor 0 x) (#s(alt (*.f64 x y) (patch (*.f64 x y) #<representation binary64>) () ())) ())
#s(alt (* x y) (taylor 0 x) (#s(alt (*.f64 x y) (patch (*.f64 x y) #<representation binary64>) () ())) ())
#s(alt (* x y) (taylor 0 x) (#s(alt (*.f64 x y) (patch (*.f64 x y) #<representation binary64>) () ())) ())
#s(alt (* x y) (taylor 0 x) (#s(alt (*.f64 x y) (patch (*.f64 x y) #<representation binary64>) () ())) ())
#s(alt -1 (taylor inf x) (#s(alt (-.f64 (fma.f64 x y z) (+.f64 #s(literal 1 binary64) (+.f64 (*.f64 x y) z))) (patch (-.f64 (fma.f64 x y z) (+.f64 #s(literal 1 binary64) (+.f64 (*.f64 x y) z))) #<representation binary64>) () ())) ())
#s(alt -1 (taylor inf x) (#s(alt (-.f64 (fma.f64 x y z) (+.f64 #s(literal 1 binary64) (+.f64 (*.f64 x y) z))) (patch (-.f64 (fma.f64 x y z) (+.f64 #s(literal 1 binary64) (+.f64 (*.f64 x y) z))) #<representation binary64>) () ())) ())
#s(alt -1 (taylor inf x) (#s(alt (-.f64 (fma.f64 x y z) (+.f64 #s(literal 1 binary64) (+.f64 (*.f64 x y) z))) (patch (-.f64 (fma.f64 x y z) (+.f64 #s(literal 1 binary64) (+.f64 (*.f64 x y) z))) #<representation binary64>) () ())) ())
#s(alt -1 (taylor inf x) (#s(alt (-.f64 (fma.f64 x y z) (+.f64 #s(literal 1 binary64) (+.f64 (*.f64 x y) z))) (patch (-.f64 (fma.f64 x y z) (+.f64 #s(literal 1 binary64) (+.f64 (*.f64 x y) z))) #<representation binary64>) () ())) ())
#s(alt (* x y) (taylor inf x) (#s(alt (+.f64 (*.f64 x y) z) (patch (+.f64 (*.f64 x y) z) #<representation binary64>) () ())) ())
#s(alt (* x (+ y (/ z x))) (taylor inf x) (#s(alt (+.f64 (*.f64 x y) z) (patch (+.f64 (*.f64 x y) z) #<representation binary64>) () ())) ())
#s(alt (* x (+ y (/ z x))) (taylor inf x) (#s(alt (+.f64 (*.f64 x y) z) (patch (+.f64 (*.f64 x y) z) #<representation binary64>) () ())) ())
#s(alt (* x (+ y (/ z x))) (taylor inf x) (#s(alt (+.f64 (*.f64 x y) z) (patch (+.f64 (*.f64 x y) z) #<representation binary64>) () ())) ())
#s(alt (* x y) (taylor inf x) (#s(alt (fma.f64 x y z) (patch (fma.f64 x y z) #<representation binary64>) () ())) ())
#s(alt (* x (+ y (/ z x))) (taylor inf x) (#s(alt (fma.f64 x y z) (patch (fma.f64 x y z) #<representation binary64>) () ())) ())
#s(alt (* x (+ y (/ z x))) (taylor inf x) (#s(alt (fma.f64 x y z) (patch (fma.f64 x y z) #<representation binary64>) () ())) ())
#s(alt (* x (+ y (/ z x))) (taylor inf x) (#s(alt (fma.f64 x y z) (patch (fma.f64 x y z) #<representation binary64>) () ())) ())
#s(alt (* x y) (taylor inf x) (#s(alt (+.f64 #s(literal 1 binary64) (+.f64 (*.f64 x y) z)) (patch (+.f64 #s(literal 1 binary64) (+.f64 (*.f64 x y) z)) #<representation binary64>) () ())) ())
#s(alt (* x (+ y (+ (/ 1 x) (/ z x)))) (taylor inf x) (#s(alt (+.f64 #s(literal 1 binary64) (+.f64 (*.f64 x y) z)) (patch (+.f64 #s(literal 1 binary64) (+.f64 (*.f64 x y) z)) #<representation binary64>) () ())) ())
#s(alt (* x (+ y (+ (/ 1 x) (/ z x)))) (taylor inf x) (#s(alt (+.f64 #s(literal 1 binary64) (+.f64 (*.f64 x y) z)) (patch (+.f64 #s(literal 1 binary64) (+.f64 (*.f64 x y) z)) #<representation binary64>) () ())) ())
#s(alt (* x (+ y (+ (/ 1 x) (/ z x)))) (taylor inf x) (#s(alt (+.f64 #s(literal 1 binary64) (+.f64 (*.f64 x y) z)) (patch (+.f64 #s(literal 1 binary64) (+.f64 (*.f64 x y) z)) #<representation binary64>) () ())) ())
#s(alt (* x y) (taylor inf x) (#s(alt (*.f64 x y) (patch (*.f64 x y) #<representation binary64>) () ())) ())
#s(alt (* x y) (taylor inf x) (#s(alt (*.f64 x y) (patch (*.f64 x y) #<representation binary64>) () ())) ())
#s(alt (* x y) (taylor inf x) (#s(alt (*.f64 x y) (patch (*.f64 x y) #<representation binary64>) () ())) ())
#s(alt (* x y) (taylor inf x) (#s(alt (*.f64 x y) (patch (*.f64 x y) #<representation binary64>) () ())) ())
#s(alt -1 (taylor -inf x) (#s(alt (-.f64 (fma.f64 x y z) (+.f64 #s(literal 1 binary64) (+.f64 (*.f64 x y) z))) (patch (-.f64 (fma.f64 x y z) (+.f64 #s(literal 1 binary64) (+.f64 (*.f64 x y) z))) #<representation binary64>) () ())) ())
#s(alt -1 (taylor -inf x) (#s(alt (-.f64 (fma.f64 x y z) (+.f64 #s(literal 1 binary64) (+.f64 (*.f64 x y) z))) (patch (-.f64 (fma.f64 x y z) (+.f64 #s(literal 1 binary64) (+.f64 (*.f64 x y) z))) #<representation binary64>) () ())) ())
#s(alt -1 (taylor -inf x) (#s(alt (-.f64 (fma.f64 x y z) (+.f64 #s(literal 1 binary64) (+.f64 (*.f64 x y) z))) (patch (-.f64 (fma.f64 x y z) (+.f64 #s(literal 1 binary64) (+.f64 (*.f64 x y) z))) #<representation binary64>) () ())) ())
#s(alt -1 (taylor -inf x) (#s(alt (-.f64 (fma.f64 x y z) (+.f64 #s(literal 1 binary64) (+.f64 (*.f64 x y) z))) (patch (-.f64 (fma.f64 x y z) (+.f64 #s(literal 1 binary64) (+.f64 (*.f64 x y) z))) #<representation binary64>) () ())) ())
#s(alt (* x y) (taylor -inf x) (#s(alt (+.f64 (*.f64 x y) z) (patch (+.f64 (*.f64 x y) z) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x (+ (* -1 y) (* -1 (/ z x))))) (taylor -inf x) (#s(alt (+.f64 (*.f64 x y) z) (patch (+.f64 (*.f64 x y) z) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x (+ (* -1 y) (* -1 (/ z x))))) (taylor -inf x) (#s(alt (+.f64 (*.f64 x y) z) (patch (+.f64 (*.f64 x y) z) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x (+ (* -1 y) (* -1 (/ z x))))) (taylor -inf x) (#s(alt (+.f64 (*.f64 x y) z) (patch (+.f64 (*.f64 x y) z) #<representation binary64>) () ())) ())
#s(alt (* x y) (taylor -inf x) (#s(alt (fma.f64 x y z) (patch (fma.f64 x y z) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x (+ (* -1 y) (* -1 (/ z x))))) (taylor -inf x) (#s(alt (fma.f64 x y z) (patch (fma.f64 x y z) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x (+ (* -1 y) (* -1 (/ z x))))) (taylor -inf x) (#s(alt (fma.f64 x y z) (patch (fma.f64 x y z) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x (+ (* -1 y) (* -1 (/ z x))))) (taylor -inf x) (#s(alt (fma.f64 x y z) (patch (fma.f64 x y z) #<representation binary64>) () ())) ())
#s(alt (* x y) (taylor -inf x) (#s(alt (+.f64 #s(literal 1 binary64) (+.f64 (*.f64 x y) z)) (patch (+.f64 #s(literal 1 binary64) (+.f64 (*.f64 x y) z)) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x (+ (* -1 y) (* -1 (/ (+ 1 z) x))))) (taylor -inf x) (#s(alt (+.f64 #s(literal 1 binary64) (+.f64 (*.f64 x y) z)) (patch (+.f64 #s(literal 1 binary64) (+.f64 (*.f64 x y) z)) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x (+ (* -1 y) (* -1 (/ (+ 1 z) x))))) (taylor -inf x) (#s(alt (+.f64 #s(literal 1 binary64) (+.f64 (*.f64 x y) z)) (patch (+.f64 #s(literal 1 binary64) (+.f64 (*.f64 x y) z)) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x (+ (* -1 y) (* -1 (/ (+ 1 z) x))))) (taylor -inf x) (#s(alt (+.f64 #s(literal 1 binary64) (+.f64 (*.f64 x y) z)) (patch (+.f64 #s(literal 1 binary64) (+.f64 (*.f64 x y) z)) #<representation binary64>) () ())) ())
#s(alt (* x y) (taylor -inf x) (#s(alt (*.f64 x y) (patch (*.f64 x y) #<representation binary64>) () ())) ())
#s(alt (* x y) (taylor -inf x) (#s(alt (*.f64 x y) (patch (*.f64 x y) #<representation binary64>) () ())) ())
#s(alt (* x y) (taylor -inf x) (#s(alt (*.f64 x y) (patch (*.f64 x y) #<representation binary64>) () ())) ())
#s(alt (* x y) (taylor -inf x) (#s(alt (*.f64 x y) (patch (*.f64 x y) #<representation binary64>) () ())) ())
Calls

9 calls:

TimeVariablePointExpression
5.0ms
x
@0
((- (+ (* x y) z) (+ 1 (+ (* x y) z))) (+ (* x y) z) (+ (* x y) z) (+ 1 (+ (* x y) z)) (* x y))
1.0ms
y
@-inf
((- (+ (* x y) z) (+ 1 (+ (* x y) z))) (+ (* x y) z) (+ (* x y) z) (+ 1 (+ (* x y) z)) (* x y))
1.0ms
x
@-inf
((- (+ (* x y) z) (+ 1 (+ (* x y) z))) (+ (* x y) z) (+ (* x y) z) (+ 1 (+ (* x y) z)) (* x y))
0.0ms
y
@inf
((- (+ (* x y) z) (+ 1 (+ (* x y) z))) (+ (* x y) z) (+ (* x y) z) (+ 1 (+ (* x y) z)) (* x y))
0.0ms
x
@inf
((- (+ (* x y) z) (+ 1 (+ (* x y) z))) (+ (* x y) z) (+ (* x y) z) (+ 1 (+ (* x y) z)) (* x y))

simplify158.0ms (3.7%)

Memory
-9.9MiB live, 66.1MiB allocated
Algorithm
egg-herbie
Rules
5 866×lower-fma.f64
5 866×lower-fma.f32
2 620×lower-*.f64
2 620×lower-*.f32
1 204×sub-neg
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
060630
1204630
2610630
31490630
43757630
55460630
66796630
77547630
08018548
Stop Event
iter limit
node limit
Counts
168 → 158
Calls
Call 1
Inputs
-1
-1
-1
-1
(* x y)
(+ z (* x y))
(+ z (* x y))
(+ z (* x y))
(* x y)
(+ z (* x y))
(+ z (* x y))
(+ z (* x y))
(+ 1 (* x y))
(+ 1 (+ z (* x y)))
(+ 1 (+ z (* x y)))
(+ 1 (+ z (* x y)))
-1
-1
-1
-1
z
(* z (+ 1 (/ (* x y) z)))
(* z (+ 1 (/ (* x y) z)))
(* z (+ 1 (/ (* x y) z)))
z
(* z (+ 1 (/ (* x y) z)))
(* z (+ 1 (/ (* x y) z)))
(* z (+ 1 (/ (* x y) z)))
z
(* z (+ 1 (+ (/ 1 z) (/ (* x y) z))))
(* z (+ 1 (+ (/ 1 z) (/ (* x y) z))))
(* z (+ 1 (+ (/ 1 z) (/ (* x y) z))))
-1
-1
-1
-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 (/ (* x y) z)) 1)))
(* -1 (* z (- (* -1 (/ (* x y) z)) 1)))
(* -1 (* z (- (* -1 (/ (* x y) z)) 1)))
z
(* -1 (* z (- (* -1 (/ (+ 1 (* x y)) z)) 1)))
(* -1 (* z (- (* -1 (/ (+ 1 (* x y)) z)) 1)))
(* -1 (* z (- (* -1 (/ (+ 1 (* x y)) z)) 1)))
-1
-1
-1
-1
z
(+ z (* x y))
(+ z (* x y))
(+ z (* x y))
z
(+ z (* x y))
(+ z (* x y))
(+ z (* x y))
(+ 1 z)
(+ 1 (+ z (* x y)))
(+ 1 (+ z (* x y)))
(+ 1 (+ z (* x y)))
(* x y)
(* x y)
(* x y)
(* x y)
-1
-1
-1
-1
(* x y)
(* y (+ x (/ z y)))
(* y (+ x (/ z y)))
(* y (+ x (/ z y)))
(* x y)
(* y (+ x (/ z y)))
(* y (+ x (/ z y)))
(* y (+ x (/ z y)))
(* x y)
(* y (+ x (+ (/ 1 y) (/ z y))))
(* y (+ x (+ (/ 1 y) (/ z y))))
(* y (+ x (+ (/ 1 y) (/ z y))))
(* x y)
(* x y)
(* x y)
(* x y)
-1
-1
-1
-1
(* x y)
(* -1 (* y (+ (* -1 x) (* -1 (/ z y)))))
(* -1 (* y (+ (* -1 x) (* -1 (/ z y)))))
(* -1 (* y (+ (* -1 x) (* -1 (/ z y)))))
(* x y)
(* -1 (* y (+ (* -1 x) (* -1 (/ z y)))))
(* -1 (* y (+ (* -1 x) (* -1 (/ z y)))))
(* -1 (* y (+ (* -1 x) (* -1 (/ z y)))))
(* x y)
(* -1 (* y (+ (* -1 x) (* -1 (/ (+ 1 z) y)))))
(* -1 (* y (+ (* -1 x) (* -1 (/ (+ 1 z) y)))))
(* -1 (* y (+ (* -1 x) (* -1 (/ (+ 1 z) y)))))
(* x y)
(* x y)
(* x y)
(* x y)
-1
-1
-1
-1
z
(+ z (* x y))
(+ z (* x y))
(+ z (* x y))
z
(+ z (* x y))
(+ z (* x y))
(+ z (* x y))
(+ 1 z)
(+ 1 (+ z (* x y)))
(+ 1 (+ z (* x y)))
(+ 1 (+ z (* x y)))
(* x y)
(* x y)
(* x y)
(* x y)
-1
-1
-1
-1
(* x y)
(* x (+ y (/ z x)))
(* x (+ y (/ z x)))
(* x (+ y (/ z x)))
(* x y)
(* x (+ y (/ z x)))
(* x (+ y (/ z x)))
(* x (+ y (/ z x)))
(* x y)
(* x (+ y (+ (/ 1 x) (/ z x))))
(* x (+ y (+ (/ 1 x) (/ z x))))
(* x (+ y (+ (/ 1 x) (/ z x))))
(* x y)
(* x y)
(* x y)
(* x y)
-1
-1
-1
-1
(* x y)
(* -1 (* x (+ (* -1 y) (* -1 (/ z x)))))
(* -1 (* x (+ (* -1 y) (* -1 (/ z x)))))
(* -1 (* x (+ (* -1 y) (* -1 (/ z x)))))
(* x y)
(* -1 (* x (+ (* -1 y) (* -1 (/ z x)))))
(* -1 (* x (+ (* -1 y) (* -1 (/ z x)))))
(* -1 (* x (+ (* -1 y) (* -1 (/ z x)))))
(* x y)
(* -1 (* x (+ (* -1 y) (* -1 (/ (+ 1 z) x)))))
(* -1 (* x (+ (* -1 y) (* -1 (/ (+ 1 z) x)))))
(* -1 (* x (+ (* -1 y) (* -1 (/ (+ 1 z) x)))))
(* x y)
(* x y)
(* x y)
(* x y)
Outputs
-1
#s(literal -1 binary64)
-1
#s(literal -1 binary64)
-1
#s(literal -1 binary64)
-1
#s(literal -1 binary64)
(* x y)
(*.f64 y x)
(+ z (* x y))
(fma.f64 y x z)
(+ z (* x y))
(fma.f64 y x z)
(+ z (* x y))
(fma.f64 y x z)
(* x y)
(*.f64 y x)
(+ z (* x y))
(fma.f64 y x z)
(+ z (* x y))
(fma.f64 y x z)
(+ z (* x y))
(fma.f64 y x z)
(+ 1 (* x y))
(fma.f64 y x #s(literal 1 binary64))
(+ 1 (+ z (* x y)))
(fma.f64 y x (-.f64 z #s(literal -1 binary64)))
(+ 1 (+ z (* x y)))
(fma.f64 y x (-.f64 z #s(literal -1 binary64)))
(+ 1 (+ z (* x y)))
(fma.f64 y x (-.f64 z #s(literal -1 binary64)))
-1
#s(literal -1 binary64)
-1
#s(literal -1 binary64)
-1
#s(literal -1 binary64)
-1
#s(literal -1 binary64)
z
(* z (+ 1 (/ (* x y) z)))
(fma.f64 y x z)
(* z (+ 1 (/ (* x y) z)))
(fma.f64 y x z)
(* z (+ 1 (/ (* x y) z)))
(fma.f64 y x z)
z
(* z (+ 1 (/ (* x y) z)))
(fma.f64 y x z)
(* z (+ 1 (/ (* x y) z)))
(fma.f64 y x z)
(* z (+ 1 (/ (* x y) z)))
(fma.f64 y x z)
z
(* z (+ 1 (+ (/ 1 z) (/ (* x y) z))))
(fma.f64 y x (-.f64 z #s(literal -1 binary64)))
(* z (+ 1 (+ (/ 1 z) (/ (* x y) z))))
(fma.f64 y x (-.f64 z #s(literal -1 binary64)))
(* z (+ 1 (+ (/ 1 z) (/ (* x y) z))))
(fma.f64 y x (-.f64 z #s(literal -1 binary64)))
-1
#s(literal -1 binary64)
-1
#s(literal -1 binary64)
-1
#s(literal -1 binary64)
-1
#s(literal -1 binary64)
z
(* -1 (* z (- (* -1 (/ (* x y) z)) 1)))
(fma.f64 y x z)
(* -1 (* z (- (* -1 (/ (* x y) z)) 1)))
(fma.f64 y x z)
(* -1 (* z (- (* -1 (/ (* x y) z)) 1)))
(fma.f64 y x z)
z
(* -1 (* z (- (* -1 (/ (* x y) z)) 1)))
(fma.f64 y x z)
(* -1 (* z (- (* -1 (/ (* x y) z)) 1)))
(fma.f64 y x z)
(* -1 (* z (- (* -1 (/ (* x y) z)) 1)))
(fma.f64 y x z)
z
(* -1 (* z (- (* -1 (/ (+ 1 (* x y)) z)) 1)))
(fma.f64 y x (-.f64 z #s(literal -1 binary64)))
(* -1 (* z (- (* -1 (/ (+ 1 (* x y)) z)) 1)))
(fma.f64 y x (-.f64 z #s(literal -1 binary64)))
(* -1 (* z (- (* -1 (/ (+ 1 (* x y)) z)) 1)))
(fma.f64 y x (-.f64 z #s(literal -1 binary64)))
-1
#s(literal -1 binary64)
-1
#s(literal -1 binary64)
-1
#s(literal -1 binary64)
-1
#s(literal -1 binary64)
z
(+ z (* x y))
(fma.f64 y x z)
(+ z (* x y))
(fma.f64 y x z)
(+ z (* x y))
(fma.f64 y x z)
z
(+ z (* x y))
(fma.f64 y x z)
(+ z (* x y))
(fma.f64 y x z)
(+ z (* x y))
(fma.f64 y x z)
(+ 1 z)
(-.f64 z #s(literal -1 binary64))
(+ 1 (+ z (* x y)))
(fma.f64 y x (-.f64 z #s(literal -1 binary64)))
(+ 1 (+ z (* x y)))
(fma.f64 y x (-.f64 z #s(literal -1 binary64)))
(+ 1 (+ z (* x y)))
(fma.f64 y x (-.f64 z #s(literal -1 binary64)))
(* x y)
(*.f64 y x)
(* x y)
(*.f64 y x)
(* x y)
(*.f64 y x)
(* x y)
(*.f64 y x)
-1
#s(literal -1 binary64)
-1
#s(literal -1 binary64)
-1
#s(literal -1 binary64)
-1
#s(literal -1 binary64)
(* x y)
(*.f64 y x)
(* y (+ x (/ z y)))
(fma.f64 y x z)
(* y (+ x (/ z y)))
(fma.f64 y x z)
(* y (+ x (/ z y)))
(fma.f64 y x z)
(* x y)
(*.f64 y x)
(* y (+ x (/ z y)))
(fma.f64 y x z)
(* y (+ x (/ z y)))
(fma.f64 y x z)
(* y (+ x (/ z y)))
(fma.f64 y x z)
(* x y)
(*.f64 y x)
(* y (+ x (+ (/ 1 y) (/ z y))))
(fma.f64 y x (-.f64 z #s(literal -1 binary64)))
(* y (+ x (+ (/ 1 y) (/ z y))))
(fma.f64 y x (-.f64 z #s(literal -1 binary64)))
(* y (+ x (+ (/ 1 y) (/ z y))))
(fma.f64 y x (-.f64 z #s(literal -1 binary64)))
(* x y)
(*.f64 y x)
(* x y)
(*.f64 y x)
(* x y)
(*.f64 y x)
(* x y)
(*.f64 y x)
-1
#s(literal -1 binary64)
-1
#s(literal -1 binary64)
-1
#s(literal -1 binary64)
-1
#s(literal -1 binary64)
(* x y)
(*.f64 y x)
(* -1 (* y (+ (* -1 x) (* -1 (/ z y)))))
(fma.f64 y x z)
(* -1 (* y (+ (* -1 x) (* -1 (/ z y)))))
(fma.f64 y x z)
(* -1 (* y (+ (* -1 x) (* -1 (/ z y)))))
(fma.f64 y x z)
(* x y)
(*.f64 y x)
(* -1 (* y (+ (* -1 x) (* -1 (/ z y)))))
(fma.f64 y x z)
(* -1 (* y (+ (* -1 x) (* -1 (/ z y)))))
(fma.f64 y x z)
(* -1 (* y (+ (* -1 x) (* -1 (/ z y)))))
(fma.f64 y x z)
(* x y)
(*.f64 y x)
(* -1 (* y (+ (* -1 x) (* -1 (/ (+ 1 z) y)))))
(fma.f64 y x (-.f64 z #s(literal -1 binary64)))
(* -1 (* y (+ (* -1 x) (* -1 (/ (+ 1 z) y)))))
(fma.f64 y x (-.f64 z #s(literal -1 binary64)))
(* -1 (* y (+ (* -1 x) (* -1 (/ (+ 1 z) y)))))
(fma.f64 y x (-.f64 z #s(literal -1 binary64)))
(* x y)
(*.f64 y x)
(* x y)
(*.f64 y x)
(* x y)
(*.f64 y x)
(* x y)
(*.f64 y x)
-1
#s(literal -1 binary64)
-1
#s(literal -1 binary64)
-1
#s(literal -1 binary64)
-1
#s(literal -1 binary64)
z
(+ z (* x y))
(fma.f64 y x z)
(+ z (* x y))
(fma.f64 y x z)
(+ z (* x y))
(fma.f64 y x z)
z
(+ z (* x y))
(fma.f64 y x z)
(+ z (* x y))
(fma.f64 y x z)
(+ z (* x y))
(fma.f64 y x z)
(+ 1 z)
(-.f64 z #s(literal -1 binary64))
(+ 1 (+ z (* x y)))
(fma.f64 y x (-.f64 z #s(literal -1 binary64)))
(+ 1 (+ z (* x y)))
(fma.f64 y x (-.f64 z #s(literal -1 binary64)))
(+ 1 (+ z (* x y)))
(fma.f64 y x (-.f64 z #s(literal -1 binary64)))
(* x y)
(*.f64 y x)
(* x y)
(*.f64 y x)
(* x y)
(*.f64 y x)
(* x y)
(*.f64 y x)
-1
#s(literal -1 binary64)
-1
#s(literal -1 binary64)
-1
#s(literal -1 binary64)
-1
#s(literal -1 binary64)
(* x y)
(*.f64 y x)
(* x (+ y (/ z x)))
(fma.f64 y x z)
(* x (+ y (/ z x)))
(fma.f64 y x z)
(* x (+ y (/ z x)))
(fma.f64 y x z)
(* x y)
(*.f64 y x)
(* x (+ y (/ z x)))
(fma.f64 y x z)
(* x (+ y (/ z x)))
(fma.f64 y x z)
(* x (+ y (/ z x)))
(fma.f64 y x z)
(* x y)
(*.f64 y x)
(* x (+ y (+ (/ 1 x) (/ z x))))
(fma.f64 y x (-.f64 z #s(literal -1 binary64)))
(* x (+ y (+ (/ 1 x) (/ z x))))
(fma.f64 y x (-.f64 z #s(literal -1 binary64)))
(* x (+ y (+ (/ 1 x) (/ z x))))
(fma.f64 y x (-.f64 z #s(literal -1 binary64)))
(* x y)
(*.f64 y x)
(* x y)
(*.f64 y x)
(* x y)
(*.f64 y x)
(* x y)
(*.f64 y x)
-1
#s(literal -1 binary64)
-1
#s(literal -1 binary64)
-1
#s(literal -1 binary64)
-1
#s(literal -1 binary64)
(* x y)
(*.f64 y x)
(* -1 (* x (+ (* -1 y) (* -1 (/ z x)))))
(fma.f64 y x z)
(* -1 (* x (+ (* -1 y) (* -1 (/ z x)))))
(fma.f64 y x z)
(* -1 (* x (+ (* -1 y) (* -1 (/ z x)))))
(fma.f64 y x z)
(* x y)
(*.f64 y x)
(* -1 (* x (+ (* -1 y) (* -1 (/ z x)))))
(fma.f64 y x z)
(* -1 (* x (+ (* -1 y) (* -1 (/ z x)))))
(fma.f64 y x z)
(* -1 (* x (+ (* -1 y) (* -1 (/ z x)))))
(fma.f64 y x z)
(* x y)
(*.f64 y x)
(* -1 (* x (+ (* -1 y) (* -1 (/ (+ 1 z) x)))))
(fma.f64 y x (-.f64 z #s(literal -1 binary64)))
(* -1 (* x (+ (* -1 y) (* -1 (/ (+ 1 z) x)))))
(fma.f64 y x (-.f64 z #s(literal -1 binary64)))
(* -1 (* x (+ (* -1 y) (* -1 (/ (+ 1 z) x)))))
(fma.f64 y x (-.f64 z #s(literal -1 binary64)))
(* x y)
(*.f64 y x)
(* x y)
(*.f64 y x)
(* x y)
(*.f64 y x)
(* x y)
(*.f64 y x)

rewrite432.0ms (10%)

Memory
23.0MiB live, 177.2MiB allocated
Rules
4 312×lower-fma.f32
4 310×lower-fma.f64
4 202×lower-*.f32
4 200×lower-*.f64
3 672×lower-/.f64
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
0928
01528
16328
262818
0846618
Stop Event
iter limit
node limit
iter limit
Counts
5 → 148
Calls
Call 1
Inputs
(-.f64 (fma.f64 x y z) (+.f64 #s(literal 1 binary64) (+.f64 (*.f64 x y) z)))
(+.f64 (*.f64 x y) z)
(fma.f64 x y z)
(+.f64 #s(literal 1 binary64) (+.f64 (*.f64 x y) z))
(*.f64 x y)
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>

eval116.0ms (2.7%)

Memory
-25.0MiB live, 67.6MiB allocated
Compiler

Compiled 5 134 to 470 computations (90.8% saved)

prune8.0ms (0.2%)

Memory
21.5MiB live, 21.5MiB allocated
Pruning

1 alts after pruning (1 fresh and 0 done)

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

Compiled 2 to 5 computations (-150% saved)

simplify348.0ms (8.1%)

Memory
-1.3MiB live, 306.3MiB allocated
Algorithm
egg-herbie
Localize:

Found 1 expressions of interest:

NewMetricScoreProgram
cost-diff0
#s(approx (- (+ (* x y) z) (+ 1 (+ (* x y) z))) #s(literal -1 binary64))
Rules
23 408×lower-fma.f64
23 408×lower-fma.f32
4 272×lower-+.f64
4 272×lower-+.f32
2 274×distribute-lft-in
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01016
01016
12316
2654
32284
45364
519484
634534
745974
851664
952964
1053284
1153284
1255964
1357634
1458394
1558554
1658554
1758714
1858714
1959994
2067644
085074
Stop Event
iter limit
node limit
saturated
Calls
Call 1
Inputs
#s(approx (- (+ (* x y) z) (+ 1 (+ (* x y) z))) #s(literal -1 binary64))
#s(literal -1 binary64)
Outputs
#s(approx (- (+ (* x y) z) (+ 1 (+ (* x y) z))) #s(literal -1 binary64))
#s(literal -1 binary64)

localize29.0ms (0.7%)

Memory
14.7MiB live, 92.9MiB allocated
Localize:

Found 1 expressions of interest:

NewMetricScoreProgram
accuracy0
#s(approx (- (+ (* x y) z) (+ 1 (+ (* x y) z))) #s(literal -1 binary64))
Samples
21.0ms220×1valid
3.0ms36×0valid
Compiler

Compiled 16 to 11 computations (31.3% saved)

Precisions
Click to see histograms. Total time spent on operations: 14.0ms
ival-add: 4.0ms (29.4% of total)
adjust: 4.0ms (29.4% of total)
ival-mult: 3.0ms (22.1% of total)
ival-sub: 2.0ms (14.7% of total)
ival-assert: 0.0ms (0% of total)
ival-true: 0.0ms (0% of total)
exact: 0.0ms (0% of total)

series3.0ms (0.1%)

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

9 calls:

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

simplify3.0ms (0.1%)

Memory
8.1MiB live, 8.0MiB allocated
Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

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

rewrite124.0ms (2.9%)

Memory
4.0MiB live, 150.6MiB allocated
Rules
4 312×lower-fma.f64
4 312×lower-fma.f32
4 202×lower-*.f64
4 202×lower-*.f32
3 672×lower-/.f64
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01015
01015
15815
26223
084673
Stop Event
iter limit
node limit
saturated
Counts
1 → 1
Calls
Call 1
Inputs
#s(approx (- (+ (* x y) z) (+ 1 (+ (* x y) z))) #s(literal -1 binary64))
Outputs
#<batchref>

eval3.0ms (0.1%)

Memory
8.0MiB live, 8.0MiB allocated
Compiler

Compiled 74 to 5 computations (93.2% saved)

prune3.0ms (0.1%)

Memory
7.9MiB live, 7.9MiB 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) (+ 1 (+ (* x y) z))) #s(literal -1 binary64))
Compiler

Compiled 16 to 16 computations (0% saved)

regimes6.0ms (0.1%)

Memory
17.3MiB live, 17.3MiB allocated
Accuracy

Total -52.8b remaining (-∞%)

Threshold costs -52.8b (-∞%)

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

4 calls:

1.0ms
x
1.0ms
z
1.0ms
y
1.0ms
(-.f64 (fma.f64 x y z) (+.f64 #s(literal 1 binary64) (+.f64 (*.f64 x y) z)))
Results
AccuracySegmentsBranch
100.0%1x
100.0%1y
100.0%1z
100.0%1(-.f64 (fma.f64 x y z) (+.f64 #s(literal 1 binary64) (+.f64 (*.f64 x y) z)))
Compiler

Compiled 15 to 18 computations (-20% saved)

simplify88.0ms (2.1%)

Memory
-57.1MiB live, 105.2MiB allocated
Algorithm
egg-herbie
Rules
1-exp-binary32-exp.f32
1-exp-binary64-exp.f64
Iterations

Useful iterations: 0 (0.0ms)

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

soundness224.0ms (5.2%)

Memory
-7.3MiB live, 104.3MiB allocated
Rules
5 866×lower-fma.f64
5 866×lower-fma.f32
2 620×lower-*.f64
2 620×lower-*.f32
1 204×sub-neg
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
060630
1204630
2610630
31490630
43757630
55460630
66796630
77547630
08018548
Stop Event
done
iter limit
node limit
Compiler

Compiled 3 to 9 computations (-200% saved)

preprocess33.0ms (0.8%)

Memory
28.7MiB live, 105.1MiB allocated
Remove

(sort x y z)

(abs x)

(abs y)

(abs z)

Compiler

Compiled 46 to 76 computations (-65.2% saved)

end0.0ms (0%)

Memory
0.0MiB live, 0.0MiB allocated

Profiling

Loading profile data...