simple fma test

Time bar (total: 5.6s)

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 (24.3%)

Memory
35.9MiB live, 1 370.7MiB allocated
Samples
718.0ms6 039×1valid
108.0ms2 217×0valid
Precisions
Click to see histograms. Total time spent on operations: 520.0ms
ival-mult: 166.0ms (31.9% of total)
ival-add: 142.0ms (27.3% of total)
adjust: 127.0ms (24.4% of total)
ival-sub: 71.0ms (13.7% of total)
ival-true: 5.0ms (1% of total)
exact: 5.0ms (1% of total)
ival-assert: 3.0ms (0.6% of total)
Bogosity

preprocess1.1s (20.1%)

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

explain134.0ms (2.4%)

Memory
-0.2MiB live, 345.6MiB allocated
FPErrors
Click to see full error table
Ground TruthOverpredictionsExampleUnderpredictionsExampleSubexpression
2209(1.6838573534591888e-305 1.0517704878200647e-157 290.1256193819036)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)))cancellation2161
-.f64(-.f64 (fma.f64 x y z) (+.f64 #s(literal 1 binary64) (+.f64 (*.f64 x y) z)))nan-rescue130
(fma.f64 x y z)overflow13
(+.f64 (*.f64 x y) z)overflow13
(+.f64 #s(literal 1 binary64) (+.f64 (*.f64 x y) z))overflow13
(*.f64 x y)overflow13
Confusion
Predicted +Predicted -
+2200
-927
Precision
0.9606986899563319
Recall
1.0
Confusion?
Predicted +Predicted MaybePredicted -
+22000
-9126
Precision?
0.9565217391304348
Recall?
1.0
Freqs
test
numberfreq
027
1229
Total Confusion?
Predicted +Predicted MaybePredicted -
+100
-000
Precision?
1.0
Recall?
1.0
Samples
51.0ms448×1valid
4.0ms64×0valid
Compiler

Compiled 108 to 38 computations (64.8% saved)

Precisions
Click to see histograms. Total time spent on operations: 29.0ms
ival-add: 10.0ms (34.3% of total)
adjust: 9.0ms (30.9% of total)
ival-mult: 5.0ms (17.2% of total)
ival-sub: 4.0ms (13.7% of total)
ival-assert: 0.0ms (0% of total)
ival-true: 0.0ms (0% of total)
exact: 0.0ms (0% of total)

eval0.0ms (0%)

Memory
0.6MiB live, 0.6MiB allocated
Compiler

Compiled 3 to 3 computations (0% saved)

prune1.0ms (0%)

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

Compiled 15 to 9 computations (40% saved)

simplify665.0ms (12%)

Memory
27.4MiB live, 899.4MiB 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)
x
y
z
(+.f64 #s(literal 1 binary64) (+.f64 (*.f64 x y) z))
(+.f64 (fma.f64 x y z) #s(literal 1 binary64))
#s(literal 1 binary64)
(+.f64 (*.f64 x y) z)
(fma.f64 x y z)
(*.f64 x y)

localize43.0ms (0.8%)

Memory
-6.1MiB live, 71.4MiB allocated
Localize:

Found 4 expressions of interest:

NewMetricScoreProgram
accuracy100.0%
(+.f64 #s(literal 1 binary64) (+.f64 (*.f64 x y) z))
accuracy100.0%
(*.f64 x y)
accuracy100.0%
(+.f64 (*.f64 x y) z)
accuracy16.6%
(-.f64 (fma.f64 x y z) (+.f64 #s(literal 1 binary64) (+.f64 (*.f64 x y) z)))
Samples
24.0ms224×1valid
2.0ms32×0valid
Compiler

Compiled 39 to 10 computations (74.4% saved)

Precisions
Click to see histograms. Total time spent on operations: 15.0ms
adjust: 5.0ms (34.2% of total)
ival-add: 4.0ms (27.3% of total)
ival-mult: 3.0ms (20.5% of total)
ival-sub: 2.0ms (13.7% of total)
ival-assert: 0.0ms (0% of total)
ival-true: 0.0ms (0% of total)
exact: 0.0ms (0% of total)

series5.0ms (0.1%)

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

42 calls:

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

simplify221.0ms (4%)

Memory
20.5MiB live, 293.8MiB 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
31487630
43776630
55497630
66816630
77550630
08021548
Stop Event
iter limit
node limit
Counts
168 → 158
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
z
(+ z (* x y))
(+ z (* x y))
(+ z (* x y))
(* x y)
(* x (+ y (/ z x)))
(* x (+ y (/ z x)))
(* x (+ y (/ 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)))))
z
(+ z (* x y))
(+ z (* x y))
(+ z (* x y))
(* x y)
(* y (+ x (/ z y)))
(* y (+ x (/ z y)))
(* y (+ x (/ 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)
(+ z (* x y))
(+ z (* x y))
(+ z (* x y))
z
(* z (+ 1 (/ (* x y) z)))
(* z (+ 1 (/ (* x y) z)))
(* z (+ 1 (/ (* x y) z)))
z
(* -1 (* z (- (* -1 (/ (* x y) z)) 1)))
(* -1 (* z (- (* -1 (/ (* x y) z)) 1)))
(* -1 (* z (- (* -1 (/ (* x y) z)) 1)))
z
(+ z (* x y))
(+ z (* x y))
(+ z (* x y))
(* x y)
(* x (+ y (/ z x)))
(* x (+ y (/ z x)))
(* x (+ y (/ 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)))))
z
(+ z (* x y))
(+ z (* x y))
(+ z (* x y))
(* x y)
(* y (+ x (/ z y)))
(* y (+ x (/ z y)))
(* y (+ x (/ 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)
(+ z (* x y))
(+ z (* x y))
(+ z (* x y))
z
(* z (+ 1 (/ (* x y) z)))
(* z (+ 1 (/ (* x y) z)))
(* z (+ 1 (/ (* x y) z)))
z
(* -1 (* z (- (* -1 (/ (* x y) z)) 1)))
(* -1 (* z (- (* -1 (/ (* x y) z)) 1)))
(* -1 (* z (- (* -1 (/ (* x y) z)) 1)))
(+ 1 z)
(+ 1 (+ z (* x y)))
(+ 1 (+ z (* x y)))
(+ 1 (+ z (* x y)))
(* x y)
(* x (+ y (+ (/ 1 x) (/ z x))))
(* x (+ y (+ (/ 1 x) (/ z x))))
(* x (+ y (+ (/ 1 x) (/ 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)))))
(+ 1 z)
(+ 1 (+ z (* x y)))
(+ 1 (+ z (* x y)))
(+ 1 (+ z (* x y)))
(* x y)
(* y (+ x (+ (/ 1 y) (/ z y))))
(* y (+ x (+ (/ 1 y) (/ z y))))
(* y (+ x (+ (/ 1 y) (/ 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)))))
(+ 1 (* x y))
(+ 1 (+ z (* x y)))
(+ 1 (+ z (* x y)))
(+ 1 (+ z (* x y)))
z
(* z (+ 1 (+ (/ 1 z) (/ (* x y) z))))
(* z (+ 1 (+ (/ 1 z) (/ (* x y) z))))
(* z (+ 1 (+ (/ 1 z) (/ (* x y) z))))
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)))
(* x y)
(* x y)
(* x y)
(* x y)
(* x y)
(* x y)
(* x y)
(* x y)
(* x y)
(* x y)
(* x y)
(* x y)
(* x y)
(* x y)
(* x y)
(* x y)
(* x y)
(* x y)
(* x y)
(* x y)
(* 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)
-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)
z
(+ z (* x y))
(fma.f64 x y z)
(+ z (* x y))
(fma.f64 x y z)
(+ z (* x y))
(fma.f64 x y z)
(* x y)
(*.f64 x y)
(* x (+ y (/ z x)))
(fma.f64 x y z)
(* x (+ y (/ z x)))
(fma.f64 x y z)
(* x (+ y (/ z x)))
(fma.f64 x y z)
(* x y)
(*.f64 x y)
(* -1 (* x (+ (* -1 y) (* -1 (/ z x)))))
(fma.f64 x y z)
(* -1 (* x (+ (* -1 y) (* -1 (/ z x)))))
(fma.f64 x y z)
(* -1 (* x (+ (* -1 y) (* -1 (/ z x)))))
(fma.f64 x y z)
z
(+ z (* x y))
(fma.f64 x y z)
(+ z (* x y))
(fma.f64 x y z)
(+ z (* x y))
(fma.f64 x y z)
(* x y)
(*.f64 x y)
(* y (+ x (/ z y)))
(fma.f64 x y z)
(* y (+ x (/ z y)))
(fma.f64 x y z)
(* y (+ x (/ z y)))
(fma.f64 x y z)
(* x y)
(*.f64 x y)
(* -1 (* y (+ (* -1 x) (* -1 (/ z y)))))
(fma.f64 x y z)
(* -1 (* y (+ (* -1 x) (* -1 (/ z y)))))
(fma.f64 x y z)
(* -1 (* y (+ (* -1 x) (* -1 (/ z y)))))
(fma.f64 x y z)
(* x y)
(*.f64 x y)
(+ z (* x y))
(fma.f64 x y z)
(+ z (* x y))
(fma.f64 x y z)
(+ z (* x y))
(fma.f64 x y z)
z
(* z (+ 1 (/ (* x y) z)))
(fma.f64 x y z)
(* z (+ 1 (/ (* x y) z)))
(fma.f64 x y z)
(* z (+ 1 (/ (* x y) z)))
(fma.f64 x y z)
z
(* -1 (* z (- (* -1 (/ (* x y) z)) 1)))
(fma.f64 x y z)
(* -1 (* z (- (* -1 (/ (* x y) z)) 1)))
(fma.f64 x y z)
(* -1 (* z (- (* -1 (/ (* x y) z)) 1)))
(fma.f64 x y z)
z
(+ z (* x y))
(fma.f64 x y z)
(+ z (* x y))
(fma.f64 x y z)
(+ z (* x y))
(fma.f64 x y z)
(* x y)
(*.f64 x y)
(* x (+ y (/ z x)))
(fma.f64 x y z)
(* x (+ y (/ z x)))
(fma.f64 x y z)
(* x (+ y (/ z x)))
(fma.f64 x y z)
(* x y)
(*.f64 x y)
(* -1 (* x (+ (* -1 y) (* -1 (/ z x)))))
(fma.f64 x y z)
(* -1 (* x (+ (* -1 y) (* -1 (/ z x)))))
(fma.f64 x y z)
(* -1 (* x (+ (* -1 y) (* -1 (/ z x)))))
(fma.f64 x y z)
z
(+ z (* x y))
(fma.f64 x y z)
(+ z (* x y))
(fma.f64 x y z)
(+ z (* x y))
(fma.f64 x y z)
(* x y)
(*.f64 x y)
(* y (+ x (/ z y)))
(fma.f64 x y z)
(* y (+ x (/ z y)))
(fma.f64 x y z)
(* y (+ x (/ z y)))
(fma.f64 x y z)
(* x y)
(*.f64 x y)
(* -1 (* y (+ (* -1 x) (* -1 (/ z y)))))
(fma.f64 x y z)
(* -1 (* y (+ (* -1 x) (* -1 (/ z y)))))
(fma.f64 x y z)
(* -1 (* y (+ (* -1 x) (* -1 (/ z y)))))
(fma.f64 x y z)
(* x y)
(*.f64 x y)
(+ z (* x y))
(fma.f64 x y z)
(+ z (* x y))
(fma.f64 x y z)
(+ z (* x y))
(fma.f64 x y z)
z
(* z (+ 1 (/ (* x y) z)))
(fma.f64 x y z)
(* z (+ 1 (/ (* x y) z)))
(fma.f64 x y z)
(* z (+ 1 (/ (* x y) z)))
(fma.f64 x y z)
z
(* -1 (* z (- (* -1 (/ (* x y) z)) 1)))
(fma.f64 x y z)
(* -1 (* z (- (* -1 (/ (* x y) z)) 1)))
(fma.f64 x y z)
(* -1 (* z (- (* -1 (/ (* x y) z)) 1)))
(fma.f64 x y z)
(+ 1 z)
(+.f64 z #s(literal 1 binary64))
(+ 1 (+ z (* x y)))
(+.f64 z (fma.f64 x y #s(literal 1 binary64)))
(+ 1 (+ z (* x y)))
(+.f64 z (fma.f64 x y #s(literal 1 binary64)))
(+ 1 (+ z (* x y)))
(+.f64 z (fma.f64 x y #s(literal 1 binary64)))
(* x y)
(*.f64 x y)
(* x (+ y (+ (/ 1 x) (/ z x))))
(+.f64 z (fma.f64 x y #s(literal 1 binary64)))
(* x (+ y (+ (/ 1 x) (/ z x))))
(+.f64 z (fma.f64 x y #s(literal 1 binary64)))
(* x (+ y (+ (/ 1 x) (/ z x))))
(+.f64 z (fma.f64 x y #s(literal 1 binary64)))
(* x y)
(*.f64 x y)
(* -1 (* x (+ (* -1 y) (* -1 (/ (+ 1 z) x)))))
(+.f64 z (fma.f64 x y #s(literal 1 binary64)))
(* -1 (* x (+ (* -1 y) (* -1 (/ (+ 1 z) x)))))
(+.f64 z (fma.f64 x y #s(literal 1 binary64)))
(* -1 (* x (+ (* -1 y) (* -1 (/ (+ 1 z) x)))))
(+.f64 z (fma.f64 x y #s(literal 1 binary64)))
(+ 1 z)
(+.f64 z #s(literal 1 binary64))
(+ 1 (+ z (* x y)))
(+.f64 z (fma.f64 x y #s(literal 1 binary64)))
(+ 1 (+ z (* x y)))
(+.f64 z (fma.f64 x y #s(literal 1 binary64)))
(+ 1 (+ z (* x y)))
(+.f64 z (fma.f64 x y #s(literal 1 binary64)))
(* x y)
(*.f64 x y)
(* y (+ x (+ (/ 1 y) (/ z y))))
(+.f64 z (fma.f64 x y #s(literal 1 binary64)))
(* y (+ x (+ (/ 1 y) (/ z y))))
(+.f64 z (fma.f64 x y #s(literal 1 binary64)))
(* y (+ x (+ (/ 1 y) (/ z y))))
(+.f64 z (fma.f64 x y #s(literal 1 binary64)))
(* x y)
(*.f64 x y)
(* -1 (* y (+ (* -1 x) (* -1 (/ (+ 1 z) y)))))
(+.f64 z (fma.f64 x y #s(literal 1 binary64)))
(* -1 (* y (+ (* -1 x) (* -1 (/ (+ 1 z) y)))))
(+.f64 z (fma.f64 x y #s(literal 1 binary64)))
(* -1 (* y (+ (* -1 x) (* -1 (/ (+ 1 z) y)))))
(+.f64 z (fma.f64 x y #s(literal 1 binary64)))
(+ 1 (* x y))
(fma.f64 x y #s(literal 1 binary64))
(+ 1 (+ z (* x y)))
(+.f64 z (fma.f64 x y #s(literal 1 binary64)))
(+ 1 (+ z (* x y)))
(+.f64 z (fma.f64 x y #s(literal 1 binary64)))
(+ 1 (+ z (* x y)))
(+.f64 z (fma.f64 x y #s(literal 1 binary64)))
z
(* z (+ 1 (+ (/ 1 z) (/ (* x y) z))))
(+.f64 z (fma.f64 x y #s(literal 1 binary64)))
(* z (+ 1 (+ (/ 1 z) (/ (* x y) z))))
(+.f64 z (fma.f64 x y #s(literal 1 binary64)))
(* z (+ 1 (+ (/ 1 z) (/ (* x y) z))))
(+.f64 z (fma.f64 x y #s(literal 1 binary64)))
z
(* -1 (* z (- (* -1 (/ (+ 1 (* x y)) z)) 1)))
(+.f64 z (fma.f64 x y #s(literal 1 binary64)))
(* -1 (* z (- (* -1 (/ (+ 1 (* x y)) z)) 1)))
(+.f64 z (fma.f64 x y #s(literal 1 binary64)))
(* -1 (* z (- (* -1 (/ (+ 1 (* x y)) z)) 1)))
(+.f64 z (fma.f64 x y #s(literal 1 binary64)))
(* x y)
(*.f64 x y)
(* x y)
(*.f64 x y)
(* x y)
(*.f64 x y)
(* x y)
(*.f64 x y)
(* x y)
(*.f64 x y)
(* x y)
(*.f64 x y)
(* x y)
(*.f64 x y)
(* x y)
(*.f64 x y)
(* x y)
(*.f64 x y)
(* x y)
(*.f64 x y)
(* x y)
(*.f64 x y)
(* x y)
(*.f64 x y)
(* x y)
(*.f64 x y)
(* x y)
(*.f64 x y)
(* x y)
(*.f64 x y)
(* x y)
(*.f64 x y)
(* x y)
(*.f64 x y)
(* x y)
(*.f64 x y)
(* x y)
(*.f64 x y)
(* x y)
(*.f64 x y)
(* x y)
(*.f64 x y)
(* x y)
(*.f64 x y)
(* x y)
(*.f64 x y)
(* x y)
(*.f64 x y)

rewrite413.0ms (7.4%)

Memory
-40.4MiB live, 482.8MiB allocated
Algorithm
batch-egg-rewrite
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
#s(literal -1 binary64)
(+.f64 z (*.f64 x y))
(+.f64 (*.f64 x y) z)
(+.f64 (/.f64 (*.f64 x (*.f64 y (*.f64 x y))) (fma.f64 x y (neg.f64 z))) (neg.f64 (/.f64 (*.f64 z z) (fma.f64 x y (neg.f64 z)))))
(-.f64 (/.f64 (*.f64 x (*.f64 y (*.f64 x y))) (fma.f64 x y (neg.f64 z))) (/.f64 (*.f64 z z) (fma.f64 x y (neg.f64 z))))
(-.f64 (/.f64 (*.f64 z z) (-.f64 z (*.f64 x y))) (/.f64 (*.f64 x (*.f64 y (*.f64 x y))) (-.f64 z (*.f64 x y))))
(fma.f64 x y z)
(fma.f64 y x z)
(fma.f64 z #s(literal 1 binary64) (*.f64 x y))
(fma.f64 #s(literal 1 binary64) z (*.f64 x y))
(fma.f64 #s(literal 1 binary64) (*.f64 x y) z)
(fma.f64 (*.f64 x y) #s(literal 1 binary64) z)
(fma.f64 (*.f64 x (*.f64 y (*.f64 x y))) (/.f64 #s(literal 1 binary64) (fma.f64 x y (neg.f64 z))) (neg.f64 (/.f64 (*.f64 z z) (fma.f64 x y (neg.f64 z)))))
(/.f64 #s(literal 1 binary64) (/.f64 #s(literal 1 binary64) (fma.f64 x y z)))
(/.f64 #s(literal 1 binary64) (/.f64 (/.f64 #s(literal 1 binary64) (fma.f64 x y z)) #s(literal 1 binary64)))
(/.f64 #s(literal 1 binary64) (/.f64 (fma.f64 z z (-.f64 (*.f64 x (*.f64 y (*.f64 x y))) (*.f64 z (*.f64 x y)))) (fma.f64 (*.f64 x y) (*.f64 x (*.f64 y (*.f64 x y))) (*.f64 z (*.f64 z z)))))
(/.f64 #s(literal 1 binary64) (/.f64 (-.f64 z (*.f64 x y)) (-.f64 (*.f64 z z) (*.f64 x (*.f64 y (*.f64 x y))))))
(/.f64 (fma.f64 (*.f64 x y) (*.f64 x (*.f64 y (*.f64 x y))) (*.f64 z (*.f64 z z))) (fma.f64 z (-.f64 z (*.f64 x y)) (*.f64 x (*.f64 y (*.f64 x y)))))
(/.f64 (fma.f64 (*.f64 x y) (*.f64 x (*.f64 y (*.f64 x y))) (*.f64 z (*.f64 z z))) (fma.f64 z z (-.f64 (*.f64 x (*.f64 y (*.f64 x y))) (*.f64 z (*.f64 x y)))))
(/.f64 (*.f64 (fma.f64 x y z) (fma.f64 x y (neg.f64 z))) (fma.f64 x y (neg.f64 z)))
(/.f64 (neg.f64 (fma.f64 (*.f64 x y) (*.f64 x (*.f64 y (*.f64 x y))) (*.f64 z (*.f64 z z)))) (neg.f64 (fma.f64 z (-.f64 z (*.f64 x y)) (*.f64 x (*.f64 y (*.f64 x y))))))
(/.f64 (neg.f64 (fma.f64 (*.f64 x y) (*.f64 x (*.f64 y (*.f64 x y))) (*.f64 z (*.f64 z z)))) (neg.f64 (fma.f64 z z (-.f64 (*.f64 x (*.f64 y (*.f64 x y))) (*.f64 z (*.f64 x y))))))
(/.f64 (neg.f64 (*.f64 (fma.f64 x y z) (fma.f64 x y (neg.f64 z)))) (neg.f64 (fma.f64 x y (neg.f64 z))))
(/.f64 #s(literal -1 binary64) (neg.f64 (/.f64 #s(literal 1 binary64) (fma.f64 x y z))))
(/.f64 (-.f64 (*.f64 z z) (*.f64 x (*.f64 y (*.f64 x y)))) (-.f64 z (*.f64 x y)))
(/.f64 (-.f64 (*.f64 (*.f64 x (*.f64 y (*.f64 x y))) (fma.f64 x y (neg.f64 z))) (*.f64 (fma.f64 x y (neg.f64 z)) (*.f64 z z))) (*.f64 (fma.f64 x y (neg.f64 z)) (fma.f64 x y (neg.f64 z))))
(/.f64 (neg.f64 (neg.f64 (fma.f64 (*.f64 x y) (*.f64 x (*.f64 y (*.f64 x y))) (*.f64 z (*.f64 z z))))) (neg.f64 (neg.f64 (fma.f64 z (-.f64 z (*.f64 x y)) (*.f64 x (*.f64 y (*.f64 x y)))))))
(/.f64 (neg.f64 (neg.f64 (*.f64 (fma.f64 x y z) (fma.f64 x y (neg.f64 z))))) (neg.f64 (neg.f64 (fma.f64 x y (neg.f64 z)))))
(/.f64 (neg.f64 (-.f64 (*.f64 z z) (*.f64 x (*.f64 y (*.f64 x y))))) (neg.f64 (-.f64 z (*.f64 x y))))
(/.f64 (-.f64 (pow.f64 (/.f64 (*.f64 x (*.f64 y (*.f64 x y))) (fma.f64 x y (neg.f64 z))) #s(literal 3 binary64)) (pow.f64 (/.f64 (*.f64 z z) (fma.f64 x y (neg.f64 z))) #s(literal 3 binary64))) (fma.f64 (/.f64 (*.f64 x (*.f64 y (*.f64 x y))) (fma.f64 x y (neg.f64 z))) (/.f64 (*.f64 x (*.f64 y (*.f64 x y))) (fma.f64 x y (neg.f64 z))) (fma.f64 (/.f64 (*.f64 z z) (fma.f64 x y (neg.f64 z))) (/.f64 (*.f64 z z) (fma.f64 x y (neg.f64 z))) (*.f64 (/.f64 (*.f64 x (*.f64 y (*.f64 x y))) (fma.f64 x y (neg.f64 z))) (/.f64 (*.f64 z z) (fma.f64 x y (neg.f64 z)))))))
(pow.f64 (/.f64 #s(literal 1 binary64) (fma.f64 x y z)) #s(literal -1 binary64))
(*.f64 (fma.f64 x y z) #s(literal 1 binary64))
(*.f64 #s(literal 1 binary64) (fma.f64 x y z))
(*.f64 (fma.f64 (*.f64 x y) (*.f64 x (*.f64 y (*.f64 x y))) (*.f64 z (*.f64 z z))) (/.f64 #s(literal 1 binary64) (fma.f64 z (-.f64 z (*.f64 x y)) (*.f64 x (*.f64 y (*.f64 x y))))))
(*.f64 (fma.f64 (*.f64 x y) (*.f64 x (*.f64 y (*.f64 x y))) (*.f64 z (*.f64 z z))) (/.f64 #s(literal 1 binary64) (fma.f64 z z (-.f64 (*.f64 x (*.f64 y (*.f64 x y))) (*.f64 z (*.f64 x y))))))
(*.f64 (*.f64 (fma.f64 x y z) (fma.f64 x y (neg.f64 z))) (/.f64 #s(literal 1 binary64) (fma.f64 x y (neg.f64 z))))
(*.f64 (neg.f64 (fma.f64 (*.f64 x y) (*.f64 x (*.f64 y (*.f64 x y))) (*.f64 z (*.f64 z z)))) (/.f64 #s(literal 1 binary64) (neg.f64 (fma.f64 z (-.f64 z (*.f64 x y)) (*.f64 x (*.f64 y (*.f64 x y)))))))
(*.f64 (neg.f64 (*.f64 (fma.f64 x y z) (fma.f64 x y (neg.f64 z)))) (/.f64 #s(literal 1 binary64) (neg.f64 (fma.f64 x y (neg.f64 z)))))
(*.f64 (-.f64 (*.f64 z z) (*.f64 x (*.f64 y (*.f64 x y)))) (/.f64 #s(literal 1 binary64) (-.f64 z (*.f64 x y))))
(+.f64 z (*.f64 x y))
(+.f64 (*.f64 x y) z)
(+.f64 (/.f64 (*.f64 x (*.f64 y (*.f64 x y))) (fma.f64 x y (neg.f64 z))) (neg.f64 (/.f64 (*.f64 z z) (fma.f64 x y (neg.f64 z)))))
(-.f64 (/.f64 (*.f64 x (*.f64 y (*.f64 x y))) (fma.f64 x y (neg.f64 z))) (/.f64 (*.f64 z z) (fma.f64 x y (neg.f64 z))))
(-.f64 (/.f64 (*.f64 z z) (-.f64 z (*.f64 x y))) (/.f64 (*.f64 x (*.f64 y (*.f64 x y))) (-.f64 z (*.f64 x y))))
(fma.f64 x y z)
(fma.f64 y x z)
(fma.f64 z #s(literal 1 binary64) (*.f64 x y))
(fma.f64 #s(literal 1 binary64) z (*.f64 x y))
(fma.f64 #s(literal 1 binary64) (*.f64 x y) z)
(fma.f64 (*.f64 x y) #s(literal 1 binary64) z)
(fma.f64 (*.f64 x (*.f64 y (*.f64 x y))) (/.f64 #s(literal 1 binary64) (fma.f64 x y (neg.f64 z))) (neg.f64 (/.f64 (*.f64 z z) (fma.f64 x y (neg.f64 z)))))
(/.f64 #s(literal 1 binary64) (/.f64 #s(literal 1 binary64) (fma.f64 x y z)))
(/.f64 #s(literal 1 binary64) (/.f64 (/.f64 #s(literal 1 binary64) (fma.f64 x y z)) #s(literal 1 binary64)))
(/.f64 #s(literal 1 binary64) (/.f64 (fma.f64 z z (-.f64 (*.f64 x (*.f64 y (*.f64 x y))) (*.f64 z (*.f64 x y)))) (fma.f64 (*.f64 x y) (*.f64 x (*.f64 y (*.f64 x y))) (*.f64 z (*.f64 z z)))))
(/.f64 #s(literal 1 binary64) (/.f64 (-.f64 z (*.f64 x y)) (-.f64 (*.f64 z z) (*.f64 x (*.f64 y (*.f64 x y))))))
(/.f64 (fma.f64 (*.f64 x y) (*.f64 x (*.f64 y (*.f64 x y))) (*.f64 z (*.f64 z z))) (fma.f64 z (-.f64 z (*.f64 x y)) (*.f64 x (*.f64 y (*.f64 x y)))))
(/.f64 (fma.f64 (*.f64 x y) (*.f64 x (*.f64 y (*.f64 x y))) (*.f64 z (*.f64 z z))) (fma.f64 z z (-.f64 (*.f64 x (*.f64 y (*.f64 x y))) (*.f64 z (*.f64 x y)))))
(/.f64 (*.f64 (fma.f64 x y z) (fma.f64 x y (neg.f64 z))) (fma.f64 x y (neg.f64 z)))
(/.f64 (neg.f64 (fma.f64 (*.f64 x y) (*.f64 x (*.f64 y (*.f64 x y))) (*.f64 z (*.f64 z z)))) (neg.f64 (fma.f64 z (-.f64 z (*.f64 x y)) (*.f64 x (*.f64 y (*.f64 x y))))))
(/.f64 (neg.f64 (fma.f64 (*.f64 x y) (*.f64 x (*.f64 y (*.f64 x y))) (*.f64 z (*.f64 z z)))) (neg.f64 (fma.f64 z z (-.f64 (*.f64 x (*.f64 y (*.f64 x y))) (*.f64 z (*.f64 x y))))))
(/.f64 (neg.f64 (*.f64 (fma.f64 x y z) (fma.f64 x y (neg.f64 z)))) (neg.f64 (fma.f64 x y (neg.f64 z))))
(/.f64 #s(literal -1 binary64) (neg.f64 (/.f64 #s(literal 1 binary64) (fma.f64 x y z))))
(/.f64 (-.f64 (*.f64 z z) (*.f64 x (*.f64 y (*.f64 x y)))) (-.f64 z (*.f64 x y)))
(/.f64 (-.f64 (*.f64 (*.f64 x (*.f64 y (*.f64 x y))) (fma.f64 x y (neg.f64 z))) (*.f64 (fma.f64 x y (neg.f64 z)) (*.f64 z z))) (*.f64 (fma.f64 x y (neg.f64 z)) (fma.f64 x y (neg.f64 z))))
(/.f64 (neg.f64 (neg.f64 (fma.f64 (*.f64 x y) (*.f64 x (*.f64 y (*.f64 x y))) (*.f64 z (*.f64 z z))))) (neg.f64 (neg.f64 (fma.f64 z (-.f64 z (*.f64 x y)) (*.f64 x (*.f64 y (*.f64 x y)))))))
(/.f64 (neg.f64 (neg.f64 (*.f64 (fma.f64 x y z) (fma.f64 x y (neg.f64 z))))) (neg.f64 (neg.f64 (fma.f64 x y (neg.f64 z)))))
(/.f64 (neg.f64 (-.f64 (*.f64 z z) (*.f64 x (*.f64 y (*.f64 x y))))) (neg.f64 (-.f64 z (*.f64 x y))))
(/.f64 (-.f64 (pow.f64 (/.f64 (*.f64 x (*.f64 y (*.f64 x y))) (fma.f64 x y (neg.f64 z))) #s(literal 3 binary64)) (pow.f64 (/.f64 (*.f64 z z) (fma.f64 x y (neg.f64 z))) #s(literal 3 binary64))) (fma.f64 (/.f64 (*.f64 x (*.f64 y (*.f64 x y))) (fma.f64 x y (neg.f64 z))) (/.f64 (*.f64 x (*.f64 y (*.f64 x y))) (fma.f64 x y (neg.f64 z))) (fma.f64 (/.f64 (*.f64 z z) (fma.f64 x y (neg.f64 z))) (/.f64 (*.f64 z z) (fma.f64 x y (neg.f64 z))) (*.f64 (/.f64 (*.f64 x (*.f64 y (*.f64 x y))) (fma.f64 x y (neg.f64 z))) (/.f64 (*.f64 z z) (fma.f64 x y (neg.f64 z)))))))
(pow.f64 (/.f64 #s(literal 1 binary64) (fma.f64 x y z)) #s(literal -1 binary64))
(*.f64 (fma.f64 x y z) #s(literal 1 binary64))
(*.f64 #s(literal 1 binary64) (fma.f64 x y z))
(*.f64 (fma.f64 (*.f64 x y) (*.f64 x (*.f64 y (*.f64 x y))) (*.f64 z (*.f64 z z))) (/.f64 #s(literal 1 binary64) (fma.f64 z (-.f64 z (*.f64 x y)) (*.f64 x (*.f64 y (*.f64 x y))))))
(*.f64 (fma.f64 (*.f64 x y) (*.f64 x (*.f64 y (*.f64 x y))) (*.f64 z (*.f64 z z))) (/.f64 #s(literal 1 binary64) (fma.f64 z z (-.f64 (*.f64 x (*.f64 y (*.f64 x y))) (*.f64 z (*.f64 x y))))))
(*.f64 (*.f64 (fma.f64 x y z) (fma.f64 x y (neg.f64 z))) (/.f64 #s(literal 1 binary64) (fma.f64 x y (neg.f64 z))))
(*.f64 (neg.f64 (fma.f64 (*.f64 x y) (*.f64 x (*.f64 y (*.f64 x y))) (*.f64 z (*.f64 z z)))) (/.f64 #s(literal 1 binary64) (neg.f64 (fma.f64 z (-.f64 z (*.f64 x y)) (*.f64 x (*.f64 y (*.f64 x y)))))))
(*.f64 (neg.f64 (*.f64 (fma.f64 x y z) (fma.f64 x y (neg.f64 z)))) (/.f64 #s(literal 1 binary64) (neg.f64 (fma.f64 x y (neg.f64 z)))))
(*.f64 (-.f64 (*.f64 z z) (*.f64 x (*.f64 y (*.f64 x y)))) (/.f64 #s(literal 1 binary64) (-.f64 z (*.f64 x y))))
(+.f64 z (fma.f64 x y #s(literal 1 binary64)))
(+.f64 (fma.f64 x y z) #s(literal 1 binary64))
(+.f64 #s(literal 1 binary64) (fma.f64 x y z))
(+.f64 (*.f64 x y) (+.f64 z #s(literal 1 binary64)))
(+.f64 (fma.f64 x y #s(literal 1 binary64)) z)
(+.f64 (/.f64 #s(literal 1 binary64) (-.f64 #s(literal 1 binary64) (fma.f64 x y z))) (neg.f64 (/.f64 (*.f64 (fma.f64 x y z) (fma.f64 x y z)) (-.f64 #s(literal 1 binary64) (fma.f64 x y z)))))
(+.f64 (+.f64 #s(literal 1 binary64) z) (*.f64 x y))
(-.f64 (/.f64 #s(literal 1 binary64) (-.f64 #s(literal 1 binary64) (fma.f64 x y z))) (/.f64 (*.f64 (fma.f64 x y z) (fma.f64 x y z)) (-.f64 #s(literal 1 binary64) (fma.f64 x y z))))
(-.f64 (/.f64 (*.f64 (fma.f64 x y z) (fma.f64 x y z)) (+.f64 z (fma.f64 x y #s(literal -1 binary64)))) (/.f64 #s(literal 1 binary64) (+.f64 z (fma.f64 x y #s(literal -1 binary64)))))
(-.f64 (/.f64 (*.f64 (fma.f64 x y #s(literal 1 binary64)) (fma.f64 x y #s(literal 1 binary64))) (-.f64 (fma.f64 x y #s(literal 1 binary64)) z)) (/.f64 (*.f64 z z) (-.f64 (fma.f64 x y #s(literal 1 binary64)) z)))
(fma.f64 x y (+.f64 z #s(literal 1 binary64)))
(fma.f64 y x (+.f64 z #s(literal 1 binary64)))
(fma.f64 z #s(literal 1 binary64) (fma.f64 x y #s(literal 1 binary64)))
(fma.f64 (fma.f64 x y z) #s(literal 1 binary64) #s(literal 1 binary64))
(fma.f64 #s(literal 1 binary64) z (fma.f64 x y #s(literal 1 binary64)))
(fma.f64 #s(literal 1 binary64) (fma.f64 x y z) #s(literal 1 binary64))
(fma.f64 #s(literal 1 binary64) (*.f64 x y) (+.f64 z #s(literal 1 binary64)))
(fma.f64 #s(literal 1 binary64) (/.f64 #s(literal 1 binary64) (-.f64 #s(literal 1 binary64) (fma.f64 x y z))) (neg.f64 (/.f64 (*.f64 (fma.f64 x y z) (fma.f64 x y z)) (-.f64 #s(literal 1 binary64) (fma.f64 x y z)))))
(fma.f64 (*.f64 x y) #s(literal 1 binary64) (+.f64 z #s(literal 1 binary64)))
(fma.f64 (fma.f64 (*.f64 x y) (*.f64 x (*.f64 y (*.f64 x y))) (*.f64 z (*.f64 z z))) (/.f64 #s(literal 1 binary64) (fma.f64 z (-.f64 z (*.f64 x y)) (*.f64 x (*.f64 y (*.f64 x y))))) #s(literal 1 binary64))
(fma.f64 (fma.f64 (*.f64 x y) (*.f64 x (*.f64 y (*.f64 x y))) (*.f64 z (*.f64 z z))) (/.f64 #s(literal 1 binary64) (fma.f64 z z (-.f64 (*.f64 x (*.f64 y (*.f64 x y))) (*.f64 z (*.f64 x y))))) #s(literal 1 binary64))
(fma.f64 (*.f64 (fma.f64 x y z) (fma.f64 x y (neg.f64 z))) (/.f64 #s(literal 1 binary64) (fma.f64 x y (neg.f64 z))) #s(literal 1 binary64))
(fma.f64 (neg.f64 (fma.f64 (*.f64 x y) (*.f64 x (*.f64 y (*.f64 x y))) (*.f64 z (*.f64 z z)))) (/.f64 #s(literal 1 binary64) (neg.f64 (fma.f64 z (-.f64 z (*.f64 x y)) (*.f64 x (*.f64 y (*.f64 x y)))))) #s(literal 1 binary64))
(fma.f64 (neg.f64 (*.f64 (fma.f64 x y z) (fma.f64 x y (neg.f64 z)))) (/.f64 #s(literal 1 binary64) (neg.f64 (fma.f64 x y (neg.f64 z)))) #s(literal 1 binary64))
(fma.f64 (+.f64 #s(literal 1 binary64) (*.f64 (*.f64 x y) (*.f64 x (*.f64 y (*.f64 x y))))) (/.f64 #s(literal 1 binary64) (+.f64 #s(literal 1 binary64) (-.f64 (*.f64 x (*.f64 y (*.f64 x y))) (*.f64 x y)))) z)
(fma.f64 (-.f64 (*.f64 z z) (*.f64 x (*.f64 y (*.f64 x y)))) (/.f64 #s(literal 1 binary64) (-.f64 z (*.f64 x y))) #s(literal 1 binary64))
(fma.f64 (-.f64 #s(literal 1 binary64) (*.f64 x (*.f64 y (*.f64 x y)))) (/.f64 #s(literal 1 binary64) (-.f64 #s(literal 1 binary64) (*.f64 x y))) z)
(/.f64 #s(literal 1 binary64) (/.f64 #s(literal 1 binary64) (+.f64 z (fma.f64 x y #s(literal 1 binary64)))))
(/.f64 #s(literal 1 binary64) (/.f64 (/.f64 #s(literal 1 binary64) (+.f64 z (fma.f64 x y #s(literal 1 binary64)))) #s(literal 1 binary64)))
(/.f64 #s(literal 1 binary64) (/.f64 (fma.f64 (fma.f64 x y z) (fma.f64 x y z) (-.f64 #s(literal 1 binary64) (fma.f64 x y z))) (fma.f64 (fma.f64 x y z) (*.f64 (fma.f64 x y z) (fma.f64 x y z)) #s(literal 1 binary64))))
(/.f64 #s(literal 1 binary64) (/.f64 (fma.f64 (fma.f64 x y #s(literal 1 binary64)) (fma.f64 x y #s(literal 1 binary64)) (-.f64 (*.f64 z z) (*.f64 (fma.f64 x y #s(literal 1 binary64)) z))) (fma.f64 (fma.f64 x y #s(literal 1 binary64)) (*.f64 (fma.f64 x y #s(literal 1 binary64)) (fma.f64 x y #s(literal 1 binary64))) (*.f64 z (*.f64 z z)))))
(/.f64 #s(literal 1 binary64) (/.f64 (+.f64 z (fma.f64 x y #s(literal -1 binary64))) (fma.f64 (fma.f64 x y z) (fma.f64 x y z) #s(literal -1 binary64))))
(/.f64 #s(literal 1 binary64) (/.f64 (-.f64 (fma.f64 x y #s(literal 1 binary64)) z) (-.f64 (*.f64 (fma.f64 x y #s(literal 1 binary64)) (fma.f64 x y #s(literal 1 binary64))) (*.f64 z z))))
(/.f64 (fma.f64 (fma.f64 x y z) (*.f64 (fma.f64 x y z) (fma.f64 x y z)) #s(literal 1 binary64)) (fma.f64 (fma.f64 x y z) (+.f64 z (fma.f64 x y #s(literal -1 binary64))) #s(literal 1 binary64)))
(/.f64 (fma.f64 (fma.f64 x y z) (*.f64 (fma.f64 x y z) (fma.f64 x y z)) #s(literal 1 binary64)) (fma.f64 (fma.f64 x y z) (fma.f64 x y z) (-.f64 #s(literal 1 binary64) (fma.f64 x y z))))
(/.f64 (-.f64 #s(literal 1 binary64) (*.f64 (fma.f64 x y z) (fma.f64 x y z))) (-.f64 #s(literal 1 binary64) (fma.f64 x y z)))
(/.f64 (neg.f64 (fma.f64 (fma.f64 x y z) (*.f64 (fma.f64 x y z) (fma.f64 x y z)) #s(literal 1 binary64))) (neg.f64 (fma.f64 (fma.f64 x y z) (+.f64 z (fma.f64 x y #s(literal -1 binary64))) #s(literal 1 binary64))))
(/.f64 (neg.f64 (fma.f64 (fma.f64 x y z) (*.f64 (fma.f64 x y z) (fma.f64 x y z)) #s(literal 1 binary64))) (neg.f64 (fma.f64 (fma.f64 x y z) (fma.f64 x y z) (-.f64 #s(literal 1 binary64) (fma.f64 x y z)))))
(/.f64 (neg.f64 (-.f64 #s(literal 1 binary64) (*.f64 (fma.f64 x y z) (fma.f64 x y z)))) (neg.f64 (-.f64 #s(literal 1 binary64) (fma.f64 x y z))))
(/.f64 (fma.f64 (fma.f64 x y #s(literal 1 binary64)) (*.f64 (fma.f64 x y #s(literal 1 binary64)) (fma.f64 x y #s(literal 1 binary64))) (*.f64 z (*.f64 z z))) (fma.f64 (fma.f64 x y #s(literal 1 binary64)) (fma.f64 x y #s(literal 1 binary64)) (-.f64 (*.f64 z z) (*.f64 (fma.f64 x y #s(literal 1 binary64)) z))))
(/.f64 #s(literal -1 binary64) (neg.f64 (/.f64 #s(literal 1 binary64) (+.f64 z (fma.f64 x y #s(literal 1 binary64))))))
(/.f64 (fma.f64 (fma.f64 x y z) (fma.f64 x y z) #s(literal -1 binary64)) (+.f64 z (fma.f64 x y #s(literal -1 binary64))))
(/.f64 (-.f64 (*.f64 (fma.f64 x y #s(literal 1 binary64)) (fma.f64 x y #s(literal 1 binary64))) (*.f64 z z)) (-.f64 (fma.f64 x y #s(literal 1 binary64)) z))
(/.f64 (-.f64 (*.f64 #s(literal 1 binary64) (-.f64 #s(literal 1 binary64) (fma.f64 x y z))) (*.f64 (-.f64 #s(literal 1 binary64) (fma.f64 x y z)) (*.f64 (fma.f64 x y z) (fma.f64 x y z)))) (*.f64 (-.f64 #s(literal 1 binary64) (fma.f64 x y z)) (-.f64 #s(literal 1 binary64) (fma.f64 x y z))))
(/.f64 (neg.f64 (neg.f64 (fma.f64 (fma.f64 x y z) (*.f64 (fma.f64 x y z) (fma.f64 x y z)) #s(literal 1 binary64)))) (neg.f64 (neg.f64 (fma.f64 (fma.f64 x y z) (+.f64 z (fma.f64 x y #s(literal -1 binary64))) #s(literal 1 binary64)))))
(/.f64 (neg.f64 (neg.f64 (-.f64 #s(literal 1 binary64) (*.f64 (fma.f64 x y z) (fma.f64 x y z))))) (neg.f64 (neg.f64 (-.f64 #s(literal 1 binary64) (fma.f64 x y z)))))
(/.f64 (neg.f64 (fma.f64 (fma.f64 x y z) (fma.f64 x y z) #s(literal -1 binary64))) (neg.f64 (+.f64 z (fma.f64 x y #s(literal -1 binary64)))))
(/.f64 (neg.f64 (fma.f64 (fma.f64 x y #s(literal 1 binary64)) (*.f64 (fma.f64 x y #s(literal 1 binary64)) (fma.f64 x y #s(literal 1 binary64))) (*.f64 z (*.f64 z z)))) (neg.f64 (fma.f64 (fma.f64 x y #s(literal 1 binary64)) (fma.f64 x y #s(literal 1 binary64)) (-.f64 (*.f64 z z) (*.f64 (fma.f64 x y #s(literal 1 binary64)) z)))))
(/.f64 (neg.f64 (-.f64 (*.f64 (fma.f64 x y #s(literal 1 binary64)) (fma.f64 x y #s(literal 1 binary64))) (*.f64 z z))) (neg.f64 (-.f64 (fma.f64 x y #s(literal 1 binary64)) z)))
(/.f64 (fma.f64 z (*.f64 z z) (*.f64 (fma.f64 x y #s(literal 1 binary64)) (*.f64 (fma.f64 x y #s(literal 1 binary64)) (fma.f64 x y #s(literal 1 binary64))))) (fma.f64 z z (-.f64 (*.f64 (fma.f64 x y #s(literal 1 binary64)) (fma.f64 x y #s(literal 1 binary64))) (*.f64 z (fma.f64 x y #s(literal 1 binary64))))))
(/.f64 (fma.f64 (*.f64 x y) (*.f64 x (*.f64 y (*.f64 x y))) (pow.f64 (+.f64 z #s(literal 1 binary64)) #s(literal 3 binary64))) (fma.f64 x (*.f64 y (*.f64 x y)) (-.f64 (*.f64 (+.f64 z #s(literal 1 binary64)) (+.f64 z #s(literal 1 binary64))) (*.f64 (*.f64 x y) (+.f64 z #s(literal 1 binary64))))))
(/.f64 (+.f64 (pow.f64 (+.f64 #s(literal 1 binary64) z) #s(literal 3 binary64)) (*.f64 (*.f64 x y) (*.f64 x (*.f64 y (*.f64 x y))))) (fma.f64 (+.f64 #s(literal 1 binary64) z) (+.f64 #s(literal 1 binary64) z) (-.f64 (*.f64 x (*.f64 y (*.f64 x y))) (*.f64 (+.f64 #s(literal 1 binary64) z) (*.f64 x y)))))
(/.f64 (-.f64 (pow.f64 (/.f64 #s(literal 1 binary64) (-.f64 #s(literal 1 binary64) (fma.f64 x y z))) #s(literal 3 binary64)) (pow.f64 (/.f64 (*.f64 (fma.f64 x y z) (fma.f64 x y z)) (-.f64 #s(literal 1 binary64) (fma.f64 x y z))) #s(literal 3 binary64))) (fma.f64 (/.f64 #s(literal 1 binary64) (-.f64 #s(literal 1 binary64) (fma.f64 x y z))) (/.f64 #s(literal 1 binary64) (-.f64 #s(literal 1 binary64) (fma.f64 x y z))) (fma.f64 (/.f64 (*.f64 (fma.f64 x y z) (fma.f64 x y z)) (-.f64 #s(literal 1 binary64) (fma.f64 x y z))) (/.f64 (*.f64 (fma.f64 x y z) (fma.f64 x y z)) (-.f64 #s(literal 1 binary64) (fma.f64 x y z))) (*.f64 (/.f64 #s(literal 1 binary64) (-.f64 #s(literal 1 binary64) (fma.f64 x y z))) (/.f64 (*.f64 (fma.f64 x y z) (fma.f64 x y z)) (-.f64 #s(literal 1 binary64) (fma.f64 x y z)))))))
(/.f64 (-.f64 (*.f64 z z) (*.f64 (fma.f64 x y #s(literal 1 binary64)) (fma.f64 x y #s(literal 1 binary64)))) (-.f64 z (fma.f64 x y #s(literal 1 binary64))))
(/.f64 (-.f64 (*.f64 x (*.f64 y (*.f64 x y))) (*.f64 (+.f64 z #s(literal 1 binary64)) (+.f64 z #s(literal 1 binary64)))) (-.f64 (*.f64 x y) (+.f64 z #s(literal 1 binary64))))
(/.f64 (-.f64 (*.f64 (+.f64 #s(literal 1 binary64) z) (+.f64 #s(literal 1 binary64) z)) (*.f64 x (*.f64 y (*.f64 x y)))) (-.f64 (+.f64 #s(literal 1 binary64) z) (*.f64 x y)))
(pow.f64 (/.f64 #s(literal 1 binary64) (+.f64 z (fma.f64 x y #s(literal 1 binary64)))) #s(literal -1 binary64))
(*.f64 #s(literal 1 binary64) (+.f64 z (fma.f64 x y #s(literal 1 binary64))))
(*.f64 (+.f64 z (fma.f64 x y #s(literal 1 binary64))) #s(literal 1 binary64))
(*.f64 (fma.f64 (fma.f64 x y z) (*.f64 (fma.f64 x y z) (fma.f64 x y z)) #s(literal 1 binary64)) (/.f64 #s(literal 1 binary64) (fma.f64 (fma.f64 x y z) (+.f64 z (fma.f64 x y #s(literal -1 binary64))) #s(literal 1 binary64))))
(*.f64 (fma.f64 (fma.f64 x y z) (*.f64 (fma.f64 x y z) (fma.f64 x y z)) #s(literal 1 binary64)) (/.f64 #s(literal 1 binary64) (fma.f64 (fma.f64 x y z) (fma.f64 x y z) (-.f64 #s(literal 1 binary64) (fma.f64 x y z)))))
(*.f64 (-.f64 #s(literal 1 binary64) (*.f64 (fma.f64 x y z) (fma.f64 x y z))) (/.f64 #s(literal 1 binary64) (-.f64 #s(literal 1 binary64) (fma.f64 x y z))))
(*.f64 (neg.f64 (fma.f64 (fma.f64 x y z) (*.f64 (fma.f64 x y z) (fma.f64 x y z)) #s(literal 1 binary64))) (/.f64 #s(literal 1 binary64) (neg.f64 (fma.f64 (fma.f64 x y z) (+.f64 z (fma.f64 x y #s(literal -1 binary64))) #s(literal 1 binary64)))))
(*.f64 (neg.f64 (-.f64 #s(literal 1 binary64) (*.f64 (fma.f64 x y z) (fma.f64 x y z)))) (/.f64 #s(literal 1 binary64) (neg.f64 (-.f64 #s(literal 1 binary64) (fma.f64 x y z)))))
(*.f64 (fma.f64 (fma.f64 x y #s(literal 1 binary64)) (*.f64 (fma.f64 x y #s(literal 1 binary64)) (fma.f64 x y #s(literal 1 binary64))) (*.f64 z (*.f64 z z))) (/.f64 #s(literal 1 binary64) (fma.f64 (fma.f64 x y #s(literal 1 binary64)) (fma.f64 x y #s(literal 1 binary64)) (-.f64 (*.f64 z z) (*.f64 (fma.f64 x y #s(literal 1 binary64)) z)))))
(*.f64 (fma.f64 (fma.f64 x y z) (fma.f64 x y z) #s(literal -1 binary64)) (/.f64 #s(literal 1 binary64) (+.f64 z (fma.f64 x y #s(literal -1 binary64)))))
(*.f64 (-.f64 (*.f64 (fma.f64 x y #s(literal 1 binary64)) (fma.f64 x y #s(literal 1 binary64))) (*.f64 z z)) (/.f64 #s(literal 1 binary64) (-.f64 (fma.f64 x y #s(literal 1 binary64)) z)))
(*.f64 x y)
(*.f64 y x)
(*.f64 #s(literal 1 binary64) (*.f64 x y))
(*.f64 (*.f64 x y) #s(literal 1 binary64))

eval49.0ms (0.9%)

Memory
15.1MiB live, 58.3MiB allocated
Compiler

Compiled 5 470 to 454 computations (91.7% saved)

prune23.0ms (0.4%)

Memory
-13.4MiB live, 62.7MiB 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 4 to 4 computations (0% saved)

simplify918.0ms (16.5%)

Memory
41.8MiB live, 913.9MiB 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
01028
12328
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)

localize50.0ms (0.9%)

Memory
-17.1MiB live, 57.1MiB allocated
Localize:

Found 1 expressions of interest:

NewMetricScoreProgram
accuracy100.0%
#s(approx (- (+ (* x y) z) (+ 1 (+ (* x y) z))) #s(literal -1 binary64))
Samples
22.0ms224×1valid
22.0ms32×0valid
Compiler

Compiled 16 to 11 computations (31.3% saved)

Precisions
Click to see histograms. Total time spent on operations: 15.0ms
adjust: 6.0ms (39% of total)
ival-add: 4.0ms (26% of total)
ival-mult: 2.0ms (13% of total)
ival-sub: 2.0ms (13% of total)
ival-assert: 0.0ms (0% of total)
ival-true: 0.0ms (0% of total)
exact: 0.0ms (0% of total)

series0.0ms (0%)

Memory
0.9MiB live, 0.9MiB allocated
Counts
1 → 36
Calls
Call 1
Inputs
#<alt #s(approx (- (+ (* x y) z) (+ 1 (+ (* x y) z))) #s(literal -1 binary64))>
Outputs
#<alt -1>
#<alt -1>
#<alt -1>
#<alt -1>
#<alt -1>
#<alt -1>
#<alt -1>
#<alt -1>
#<alt -1>
#<alt -1>
#<alt -1>
#<alt -1>
#<alt -1>
#<alt -1>
#<alt -1>
#<alt -1>
#<alt -1>
#<alt -1>
#<alt -1>
#<alt -1>
#<alt -1>
#<alt -1>
#<alt -1>
#<alt -1>
#<alt -1>
#<alt -1>
#<alt -1>
#<alt -1>
#<alt -1>
#<alt -1>
#<alt -1>
#<alt -1>
#<alt -1>
#<alt -1>
#<alt -1>
#<alt -1>
Calls

9 calls:

TimeVariablePointExpression
0.0ms
x
@0
(- (+ (* x y) z) (+ 1 (+ (* x y) z)))
0.0ms
x
@inf
(- (+ (* x y) z) (+ 1 (+ (* x y) z)))
0.0ms
x
@-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)))

simplify3.0ms (0.1%)

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

rewrite295.0ms (5.3%)

Memory
4.7MiB live, 627.6MiB allocated
Algorithm
batch-egg-rewrite
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
#s(approx (- (+ (* x y) z) (+ 1 (+ (* x y) z))) #s(literal -1 binary64))

eval3.0ms (0.1%)

Memory
12.5MiB live, 12.5MiB allocated
Compiler

Compiled 40 to 4 computations (90% saved)

prune1.0ms (0%)

Memory
4.2MiB live, 4.3MiB 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 20 to 14 computations (30% saved)

regimes7.0ms (0.1%)

Memory
-15.8MiB live, 22.6MiB allocated
Accuracy

Total -53.4b remaining (-∞%)

Threshold costs -53.4b (-∞%)

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:

3.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 27 to 18 computations (33.3% saved)

simplify5.0ms (0.1%)

Memory
19.6MiB live, 19.6MiB allocated
Algorithm
egg-herbie
Rules
1-exp_binary64
1-exp_binary32
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))

soundness213.0ms (3.8%)

Memory
-17.1MiB live, 100.5MiB 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
31487630
43776630
55497630
66816630
77550630
08021548
Stop Event
done
iter limit
node limit
Compiler

Compiled 8 to 8 computations (0% saved)

preprocess45.0ms (0.8%)

Memory
6.3MiB live, 166.7MiB allocated
Remove

(sort x y z)

(abs x)

(abs y)

(abs z)

Compiler

Compiled 78 to 66 computations (15.4% saved)

end0.0ms (0%)

Memory
0.0MiB live, 0.0MiB allocated

Profiling

Loading profile data...