Diagrams.Solve.Tridiagonal:solveTriDiagonal from diagrams-solve-0.1, C

Time bar (total: 2.8s)

start0.0ms (0%)

Memory
0.1MiB live, 0.1MiB allocated

analyze0.0ms (0%)

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

sample634.0ms (22.8%)

Memory
20.1MiB live, 810.3MiB allocated
Samples
378.0ms8 256×0valid
Precisions
Click to see histograms. Total time spent on operations: 164.0ms
ival-mult: 114.0ms (69.5% of total)
ival-sub: 40.0ms (24.4% of total)
ival-true: 6.0ms (3.7% of total)
ival-assert: 3.0ms (1.8% of total)
Bogosity

explain85.0ms (3%)

Memory
-14.1MiB live, 73.2MiB allocated
FPErrors
Click to see full error table
Ground TruthOverpredictionsExampleUnderpredictionsExampleSubexpression
00-0-y
00-0-(-.f64 x (*.f64 y z))
00-0-(*.f64 y z)
00-0-z
00-0-x
Confusion
Predicted +Predicted -
+00
-0256
Precision
0/0
Recall
0/0
Confusion?
Predicted +Predicted MaybePredicted -
+000
-00256
Precision?
0/0
Recall?
0/0
Freqs
test
numberfreq
0256
Total Confusion?
Predicted +Predicted MaybePredicted -
+000
-001
Precision?
0/0
Recall?
0/0
Samples
49.0ms512×0valid
Compiler

Compiled 31 to 19 computations (38.7% saved)

Precisions
Click to see histograms. Total time spent on operations: 7.0ms
ival-mult: 4.0ms (56.8% of total)
ival-sub: 2.0ms (28.4% of total)
ival-true: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

preprocess28.0ms (1%)

Memory
30.2MiB live, 30.2MiB allocated
Algorithm
egg-herbie
Rules
144×lower-fma.f64
144×lower-fma.f32
98×sub-neg
96×lower-*.f32
94×lower-*.f64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02148
16548
212548
326948
444148
549348
649548
055
075
1135
2255
3375
4525
5765
61165
71505
81925
92175
102335
02335
Stop Event
iter limit
saturated
iter limit
saturated
Calls
Call 1
Inputs
(-.f64 x (*.f64 y z))
Outputs
(-.f64 x (*.f64 y z))
(fma.f64 (neg.f64 z) y x)
Symmetry

(sort y z)

Compiler

Compiled 5 to 5 computations (0% saved)

eval0.0ms (0%)

Memory
0.4MiB live, 0.4MiB allocated
Compiler

Compiled 0 to 3 computations (-∞% saved)

prune0.0ms (0%)

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

Compiled 5 to 5 computations (0% saved)

simplify18.0ms (0.6%)

Memory
-28.2MiB live, 9.1MiB allocated
Algorithm
egg-herbie
Localize:

Found 2 expressions of interest:

NewMetricScoreProgram
cost-diff0
(*.f64 y z)
cost-diff0
(-.f64 x (*.f64 y z))
Rules
144×lower-fma.f64
144×lower-fma.f32
96×lower-*.f32
94×lower-*.f64
48×lower-+.f64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0511
0711
11311
22511
33711
45211
57611
611611
715011
819211
921711
1023311
023311
Stop Event
iter limit
saturated
iter limit
Calls
Call 1
Inputs
(-.f64 x (*.f64 y z))
x
(*.f64 y z)
y
z
Outputs
(-.f64 x (*.f64 y z))
(fma.f64 (neg.f64 z) y x)
x
(*.f64 y z)
(*.f64 z y)
y
z

localize14.0ms (0.5%)

Memory
32.3MiB live, 32.3MiB allocated
Localize:

Found 2 expressions of interest:

NewMetricScoreProgram
accuracy0
(*.f64 y z)
accuracy0.00390625
(-.f64 x (*.f64 y z))
Samples
10.0ms256×0valid
Compiler

Compiled 13 to 7 computations (46.2% saved)

Precisions
Click to see histograms. Total time spent on operations: 3.0ms
ival-mult: 2.0ms (58.7% of total)
ival-sub: 1.0ms (29.3% of total)
ival-true: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

series41.0ms (1.5%)

Memory
-24.2MiB live, 8.8MiB allocated
Counts
2 → 60
Calls
Call 1
Inputs
#s(alt (-.f64 x (*.f64 y z)) (patch (-.f64 x (*.f64 y z)) #<representation binary64>) () ())
#s(alt (*.f64 y z) (patch (*.f64 y z) #<representation binary64>) () ())
Outputs
#s(alt x (taylor 0 z) (#s(alt (-.f64 x (*.f64 y z)) (patch (-.f64 x (*.f64 y z)) #<representation binary64>) () ())) ())
#s(alt (+ x (* -1 (* y z))) (taylor 0 z) (#s(alt (-.f64 x (*.f64 y z)) (patch (-.f64 x (*.f64 y z)) #<representation binary64>) () ())) ())
#s(alt (+ x (* -1 (* y z))) (taylor 0 z) (#s(alt (-.f64 x (*.f64 y z)) (patch (-.f64 x (*.f64 y z)) #<representation binary64>) () ())) ())
#s(alt (+ x (* -1 (* y z))) (taylor 0 z) (#s(alt (-.f64 x (*.f64 y z)) (patch (-.f64 x (*.f64 y z)) #<representation binary64>) () ())) ())
#s(alt (* y z) (taylor 0 z) (#s(alt (*.f64 y z) (patch (*.f64 y z) #<representation binary64>) () ())) ())
#s(alt (* y z) (taylor 0 z) (#s(alt (*.f64 y z) (patch (*.f64 y z) #<representation binary64>) () ())) ())
#s(alt (* y z) (taylor 0 z) (#s(alt (*.f64 y z) (patch (*.f64 y z) #<representation binary64>) () ())) ())
#s(alt (* y z) (taylor 0 z) (#s(alt (*.f64 y z) (patch (*.f64 y z) #<representation binary64>) () ())) ())
#s(alt (* -1 (* y z)) (taylor inf z) (#s(alt (-.f64 x (*.f64 y z)) (patch (-.f64 x (*.f64 y z)) #<representation binary64>) () ())) ())
#s(alt (* z (- (/ x z) y)) (taylor inf z) (#s(alt (-.f64 x (*.f64 y z)) (patch (-.f64 x (*.f64 y z)) #<representation binary64>) () ())) ())
#s(alt (* z (- (/ x z) y)) (taylor inf z) (#s(alt (-.f64 x (*.f64 y z)) (patch (-.f64 x (*.f64 y z)) #<representation binary64>) () ())) ())
#s(alt (* z (- (/ x z) y)) (taylor inf z) (#s(alt (-.f64 x (*.f64 y z)) (patch (-.f64 x (*.f64 y z)) #<representation binary64>) () ())) ())
#s(alt (* y z) (taylor inf z) (#s(alt (*.f64 y z) (patch (*.f64 y z) #<representation binary64>) () ())) ())
#s(alt (* y z) (taylor inf z) (#s(alt (*.f64 y z) (patch (*.f64 y z) #<representation binary64>) () ())) ())
#s(alt (* y z) (taylor inf z) (#s(alt (*.f64 y z) (patch (*.f64 y z) #<representation binary64>) () ())) ())
#s(alt (* y z) (taylor inf z) (#s(alt (*.f64 y z) (patch (*.f64 y z) #<representation binary64>) () ())) ())
#s(alt (* -1 (* y z)) (taylor -inf z) (#s(alt (-.f64 x (*.f64 y z)) (patch (-.f64 x (*.f64 y z)) #<representation binary64>) () ())) ())
#s(alt (* -1 (* z (- (* -1 (/ x z)) (* -1 y)))) (taylor -inf z) (#s(alt (-.f64 x (*.f64 y z)) (patch (-.f64 x (*.f64 y z)) #<representation binary64>) () ())) ())
#s(alt (* -1 (* z (- (* -1 (/ x z)) (* -1 y)))) (taylor -inf z) (#s(alt (-.f64 x (*.f64 y z)) (patch (-.f64 x (*.f64 y z)) #<representation binary64>) () ())) ())
#s(alt (* -1 (* z (- (* -1 (/ x z)) (* -1 y)))) (taylor -inf z) (#s(alt (-.f64 x (*.f64 y z)) (patch (-.f64 x (*.f64 y z)) #<representation binary64>) () ())) ())
#s(alt (* y z) (taylor -inf z) (#s(alt (*.f64 y z) (patch (*.f64 y z) #<representation binary64>) () ())) ())
#s(alt (* y z) (taylor -inf z) (#s(alt (*.f64 y z) (patch (*.f64 y z) #<representation binary64>) () ())) ())
#s(alt (* y z) (taylor -inf z) (#s(alt (*.f64 y z) (patch (*.f64 y z) #<representation binary64>) () ())) ())
#s(alt (* y z) (taylor -inf z) (#s(alt (*.f64 y z) (patch (*.f64 y z) #<representation binary64>) () ())) ())
#s(alt x (taylor 0 y) (#s(alt (-.f64 x (*.f64 y z)) (patch (-.f64 x (*.f64 y z)) #<representation binary64>) () ())) ())
#s(alt (+ x (* -1 (* y z))) (taylor 0 y) (#s(alt (-.f64 x (*.f64 y z)) (patch (-.f64 x (*.f64 y z)) #<representation binary64>) () ())) ())
#s(alt (+ x (* -1 (* y z))) (taylor 0 y) (#s(alt (-.f64 x (*.f64 y z)) (patch (-.f64 x (*.f64 y z)) #<representation binary64>) () ())) ())
#s(alt (+ x (* -1 (* y z))) (taylor 0 y) (#s(alt (-.f64 x (*.f64 y z)) (patch (-.f64 x (*.f64 y z)) #<representation binary64>) () ())) ())
#s(alt (* y z) (taylor 0 y) (#s(alt (*.f64 y z) (patch (*.f64 y z) #<representation binary64>) () ())) ())
#s(alt (* y z) (taylor 0 y) (#s(alt (*.f64 y z) (patch (*.f64 y z) #<representation binary64>) () ())) ())
#s(alt (* y z) (taylor 0 y) (#s(alt (*.f64 y z) (patch (*.f64 y z) #<representation binary64>) () ())) ())
#s(alt (* y z) (taylor 0 y) (#s(alt (*.f64 y z) (patch (*.f64 y z) #<representation binary64>) () ())) ())
#s(alt (* -1 (* y z)) (taylor inf y) (#s(alt (-.f64 x (*.f64 y z)) (patch (-.f64 x (*.f64 y z)) #<representation binary64>) () ())) ())
#s(alt (* y (- (/ x y) z)) (taylor inf y) (#s(alt (-.f64 x (*.f64 y z)) (patch (-.f64 x (*.f64 y z)) #<representation binary64>) () ())) ())
#s(alt (* y (- (/ x y) z)) (taylor inf y) (#s(alt (-.f64 x (*.f64 y z)) (patch (-.f64 x (*.f64 y z)) #<representation binary64>) () ())) ())
#s(alt (* y (- (/ x y) z)) (taylor inf y) (#s(alt (-.f64 x (*.f64 y z)) (patch (-.f64 x (*.f64 y z)) #<representation binary64>) () ())) ())
#s(alt (* y z) (taylor inf y) (#s(alt (*.f64 y z) (patch (*.f64 y z) #<representation binary64>) () ())) ())
#s(alt (* y z) (taylor inf y) (#s(alt (*.f64 y z) (patch (*.f64 y z) #<representation binary64>) () ())) ())
#s(alt (* y z) (taylor inf y) (#s(alt (*.f64 y z) (patch (*.f64 y z) #<representation binary64>) () ())) ())
#s(alt (* y z) (taylor inf y) (#s(alt (*.f64 y z) (patch (*.f64 y z) #<representation binary64>) () ())) ())
#s(alt (* -1 (* y z)) (taylor -inf y) (#s(alt (-.f64 x (*.f64 y z)) (patch (-.f64 x (*.f64 y z)) #<representation binary64>) () ())) ())
#s(alt (* -1 (* y (- (* -1 (/ x y)) (* -1 z)))) (taylor -inf y) (#s(alt (-.f64 x (*.f64 y z)) (patch (-.f64 x (*.f64 y z)) #<representation binary64>) () ())) ())
#s(alt (* -1 (* y (- (* -1 (/ x y)) (* -1 z)))) (taylor -inf y) (#s(alt (-.f64 x (*.f64 y z)) (patch (-.f64 x (*.f64 y z)) #<representation binary64>) () ())) ())
#s(alt (* -1 (* y (- (* -1 (/ x y)) (* -1 z)))) (taylor -inf y) (#s(alt (-.f64 x (*.f64 y z)) (patch (-.f64 x (*.f64 y z)) #<representation binary64>) () ())) ())
#s(alt (* y z) (taylor -inf y) (#s(alt (*.f64 y z) (patch (*.f64 y z) #<representation binary64>) () ())) ())
#s(alt (* y z) (taylor -inf y) (#s(alt (*.f64 y z) (patch (*.f64 y z) #<representation binary64>) () ())) ())
#s(alt (* y z) (taylor -inf y) (#s(alt (*.f64 y z) (patch (*.f64 y z) #<representation binary64>) () ())) ())
#s(alt (* y z) (taylor -inf y) (#s(alt (*.f64 y z) (patch (*.f64 y z) #<representation binary64>) () ())) ())
#s(alt (* -1 (* y z)) (taylor 0 x) (#s(alt (-.f64 x (*.f64 y z)) (patch (-.f64 x (*.f64 y z)) #<representation binary64>) () ())) ())
#s(alt (- x (* y z)) (taylor 0 x) (#s(alt (-.f64 x (*.f64 y z)) (patch (-.f64 x (*.f64 y z)) #<representation binary64>) () ())) ())
#s(alt (- x (* y z)) (taylor 0 x) (#s(alt (-.f64 x (*.f64 y z)) (patch (-.f64 x (*.f64 y z)) #<representation binary64>) () ())) ())
#s(alt (- x (* y z)) (taylor 0 x) (#s(alt (-.f64 x (*.f64 y z)) (patch (-.f64 x (*.f64 y z)) #<representation binary64>) () ())) ())
#s(alt x (taylor inf x) (#s(alt (-.f64 x (*.f64 y z)) (patch (-.f64 x (*.f64 y z)) #<representation binary64>) () ())) ())
#s(alt (* x (+ 1 (* -1 (/ (* y z) x)))) (taylor inf x) (#s(alt (-.f64 x (*.f64 y z)) (patch (-.f64 x (*.f64 y z)) #<representation binary64>) () ())) ())
#s(alt (* x (+ 1 (* -1 (/ (* y z) x)))) (taylor inf x) (#s(alt (-.f64 x (*.f64 y z)) (patch (-.f64 x (*.f64 y z)) #<representation binary64>) () ())) ())
#s(alt (* x (+ 1 (* -1 (/ (* y z) x)))) (taylor inf x) (#s(alt (-.f64 x (*.f64 y z)) (patch (-.f64 x (*.f64 y z)) #<representation binary64>) () ())) ())
#s(alt x (taylor -inf x) (#s(alt (-.f64 x (*.f64 y z)) (patch (-.f64 x (*.f64 y z)) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x (- (/ (* y z) x) 1))) (taylor -inf x) (#s(alt (-.f64 x (*.f64 y z)) (patch (-.f64 x (*.f64 y z)) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x (- (/ (* y z) x) 1))) (taylor -inf x) (#s(alt (-.f64 x (*.f64 y z)) (patch (-.f64 x (*.f64 y z)) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x (- (/ (* y z) x) 1))) (taylor -inf x) (#s(alt (-.f64 x (*.f64 y z)) (patch (-.f64 x (*.f64 y z)) #<representation binary64>) () ())) ())
Calls

9 calls:

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

simplify385.0ms (13.8%)

Memory
23.7MiB live, 148.3MiB allocated
Algorithm
egg-herbie
Rules
12 196×lower-fma.f64
12 196×lower-fma.f32
2 412×lower-*.f64
2 412×lower-*.f32
2 050×unsub-neg
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
032231
196231
2229231
3777231
42183231
53289231
64321231
75328231
86178231
96433231
106654231
117617231
08215231
Stop Event
iter limit
node limit
Counts
60 → 56
Calls
Call 1
Inputs
x
(+ x (* -1 (* y z)))
(+ x (* -1 (* y z)))
(+ x (* -1 (* y z)))
(* y z)
(* y z)
(* y z)
(* y z)
(* -1 (* y z))
(* z (- (/ x z) y))
(* z (- (/ x z) y))
(* z (- (/ x z) y))
(* y z)
(* y z)
(* y z)
(* y z)
(* -1 (* y z))
(* -1 (* z (- (* -1 (/ x z)) (* -1 y))))
(* -1 (* z (- (* -1 (/ x z)) (* -1 y))))
(* -1 (* z (- (* -1 (/ x z)) (* -1 y))))
(* y z)
(* y z)
(* y z)
(* y z)
x
(+ x (* -1 (* y z)))
(+ x (* -1 (* y z)))
(+ x (* -1 (* y z)))
(* y z)
(* y z)
(* y z)
(* y z)
(* -1 (* y z))
(* y (- (/ x y) z))
(* y (- (/ x y) z))
(* y (- (/ x y) z))
(* y z)
(* y z)
(* y z)
(* y z)
(* -1 (* y z))
(* -1 (* y (- (* -1 (/ x y)) (* -1 z))))
(* -1 (* y (- (* -1 (/ x y)) (* -1 z))))
(* -1 (* y (- (* -1 (/ x y)) (* -1 z))))
(* y z)
(* y z)
(* y z)
(* y z)
(* -1 (* y z))
(- x (* y z))
(- x (* y z))
(- x (* y z))
x
(* x (+ 1 (* -1 (/ (* y z) x))))
(* x (+ 1 (* -1 (/ (* y z) x))))
(* x (+ 1 (* -1 (/ (* y z) x))))
x
(* -1 (* x (- (/ (* y z) x) 1)))
(* -1 (* x (- (/ (* y z) x) 1)))
(* -1 (* x (- (/ (* y z) x) 1)))
Outputs
x
(+ x (* -1 (* y z)))
(fma.f64 (neg.f64 z) y x)
(+ x (* -1 (* y z)))
(fma.f64 (neg.f64 z) y x)
(+ x (* -1 (* y z)))
(fma.f64 (neg.f64 z) y x)
(* y z)
(*.f64 z y)
(* y z)
(*.f64 z y)
(* y z)
(*.f64 z y)
(* y z)
(*.f64 z y)
(* -1 (* y z))
(*.f64 (neg.f64 z) y)
(* z (- (/ x z) y))
(fma.f64 (neg.f64 z) y x)
(* z (- (/ x z) y))
(fma.f64 (neg.f64 z) y x)
(* z (- (/ x z) y))
(fma.f64 (neg.f64 z) y x)
(* y z)
(*.f64 z y)
(* y z)
(*.f64 z y)
(* y z)
(*.f64 z y)
(* y z)
(*.f64 z y)
(* -1 (* y z))
(*.f64 (neg.f64 z) y)
(* -1 (* z (- (* -1 (/ x z)) (* -1 y))))
(fma.f64 (neg.f64 z) y x)
(* -1 (* z (- (* -1 (/ x z)) (* -1 y))))
(fma.f64 (neg.f64 z) y x)
(* -1 (* z (- (* -1 (/ x z)) (* -1 y))))
(fma.f64 (neg.f64 z) y x)
(* y z)
(*.f64 z y)
(* y z)
(*.f64 z y)
(* y z)
(*.f64 z y)
(* y z)
(*.f64 z y)
x
(+ x (* -1 (* y z)))
(fma.f64 (neg.f64 z) y x)
(+ x (* -1 (* y z)))
(fma.f64 (neg.f64 z) y x)
(+ x (* -1 (* y z)))
(fma.f64 (neg.f64 z) y x)
(* y z)
(*.f64 z y)
(* y z)
(*.f64 z y)
(* y z)
(*.f64 z y)
(* y z)
(*.f64 z y)
(* -1 (* y z))
(*.f64 (neg.f64 z) y)
(* y (- (/ x y) z))
(fma.f64 (neg.f64 z) y x)
(* y (- (/ x y) z))
(fma.f64 (neg.f64 z) y x)
(* y (- (/ x y) z))
(fma.f64 (neg.f64 z) y x)
(* y z)
(*.f64 z y)
(* y z)
(*.f64 z y)
(* y z)
(*.f64 z y)
(* y z)
(*.f64 z y)
(* -1 (* y z))
(*.f64 (neg.f64 z) y)
(* -1 (* y (- (* -1 (/ x y)) (* -1 z))))
(fma.f64 (neg.f64 z) y x)
(* -1 (* y (- (* -1 (/ x y)) (* -1 z))))
(fma.f64 (neg.f64 z) y x)
(* -1 (* y (- (* -1 (/ x y)) (* -1 z))))
(fma.f64 (neg.f64 z) y x)
(* y z)
(*.f64 z y)
(* y z)
(*.f64 z y)
(* y z)
(*.f64 z y)
(* y z)
(*.f64 z y)
(* -1 (* y z))
(*.f64 (neg.f64 z) y)
(- x (* y z))
(fma.f64 (neg.f64 z) y x)
(- x (* y z))
(fma.f64 (neg.f64 z) y x)
(- x (* y z))
(fma.f64 (neg.f64 z) y x)
x
(* x (+ 1 (* -1 (/ (* y z) x))))
(fma.f64 (neg.f64 z) y x)
(* x (+ 1 (* -1 (/ (* y z) x))))
(fma.f64 (neg.f64 z) y x)
(* x (+ 1 (* -1 (/ (* y z) x))))
(fma.f64 (neg.f64 z) y x)
x
(* -1 (* x (- (/ (* y z) x) 1)))
(fma.f64 (neg.f64 z) y x)
(* -1 (* x (- (/ (* y z) x) 1)))
(fma.f64 (neg.f64 z) y x)
(* -1 (* x (- (/ (* y z) x) 1)))
(fma.f64 (neg.f64 z) y x)

rewrite352.0ms (12.6%)

Memory
1.2MiB live, 231.2MiB allocated
Rules
7 952×lower-fma.f64
7 952×lower-fma.f32
3 972×lower-/.f64
3 972×lower-/.f32
3 636×lower-*.f32
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
058
078
1268
21838
317078
084728
Stop Event
iter limit
node limit
iter limit
Counts
2 → 202
Calls
Call 1
Inputs
(-.f64 x (*.f64 y z))
(*.f64 y z)
Outputs
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>

eval29.0ms (1.1%)

Memory
-19.5MiB live, 65.7MiB allocated
Compiler

Compiled 7 413 to 576 computations (92.2% saved)

prune6.0ms (0.2%)

Memory
18.6MiB live, 18.6MiB allocated
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New2562258
Fresh000
Picked101
Done000
Total2572259
Accuracy
100.0%
Counts
259 → 2
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(fma.f64 (neg.f64 z) y x)
51.5%
#s(approx (- x (* y z)) (*.f64 (neg.f64 z) y))
Compiler

Compiled 10 to 11 computations (-10% saved)

simplify10.0ms (0.4%)

Memory
-23.9MiB live, 15.1MiB allocated
Algorithm
egg-herbie
Localize:

Found 5 expressions of interest:

NewMetricScoreProgram
cost-diff0
(neg.f64 z)
cost-diff0
(fma.f64 (neg.f64 z) y x)
cost-diff0
(neg.f64 z)
cost-diff0
(*.f64 (neg.f64 z) y)
cost-diff0
#s(approx (- x (* y z)) (*.f64 (neg.f64 z) y))
Rules
144×lower-fma.f32
142×lower-fma.f64
96×lower-*.f32
94×lower-*.f64
48×lower-+.f64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0928
01228
12528
23428
34728
46428
58628
612828
716028
819528
922028
1023628
023628
Stop Event
iter limit
saturated
iter limit
Calls
Call 1
Inputs
#s(approx (- x (* y z)) (*.f64 (neg.f64 z) y))
(*.f64 (neg.f64 z) y)
(neg.f64 z)
z
y
(fma.f64 (neg.f64 z) y x)
(neg.f64 z)
z
y
x
Outputs
#s(approx (- x (* y z)) (*.f64 (neg.f64 z) y))
(*.f64 (neg.f64 z) y)
(neg.f64 z)
z
y
(fma.f64 (neg.f64 z) y x)
(-.f64 x (*.f64 z y))
(neg.f64 z)
z
y
x

localize22.0ms (0.8%)

Memory
8.1MiB live, 47.0MiB allocated
Localize:

Found 5 expressions of interest:

NewMetricScoreProgram
accuracy0
(fma.f64 (neg.f64 z) y x)
accuracy0
(neg.f64 z)
accuracy0
(*.f64 (neg.f64 z) y)
accuracy0
(neg.f64 z)
accuracy31.009354771942075
#s(approx (- x (* y z)) (*.f64 (neg.f64 z) y))
Samples
17.0ms256×0valid
Compiler

Compiled 26 to 10 computations (61.5% saved)

Precisions
Click to see histograms. Total time spent on operations: 8.0ms
ival-mult: 5.0ms (60.4% of total)
ival-sub: 1.0ms (12.1% of total)
ival-add: 1.0ms (12.1% of total)
ival-neg: 1.0ms (12.1% of total)
ival-true: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

series6.0ms (0.2%)

Memory
14.4MiB live, 14.4MiB allocated
Counts
4 → 108
Calls
Call 1
Inputs
#s(alt #s(approx (- x (* y z)) (*.f64 (neg.f64 z) y)) (patch #s(approx (- x (* y z)) (*.f64 (neg.f64 z) y)) #<representation binary64>) () ())
#s(alt (*.f64 (neg.f64 z) y) (patch (*.f64 (neg.f64 z) y) #<representation binary64>) () ())
#s(alt (neg.f64 z) (patch (neg.f64 z) #<representation binary64>) () ())
#s(alt (fma.f64 (neg.f64 z) y x) (patch (fma.f64 (neg.f64 z) y x) #<representation binary64>) () ())
Outputs
#s(alt x (taylor 0 z) (#s(alt #s(approx (- x (* y z)) (*.f64 (neg.f64 z) y)) (patch #s(approx (- x (* y z)) (*.f64 (neg.f64 z) y)) #<representation binary64>) () ())) ())
#s(alt (+ x (* -1 (* y z))) (taylor 0 z) (#s(alt #s(approx (- x (* y z)) (*.f64 (neg.f64 z) y)) (patch #s(approx (- x (* y z)) (*.f64 (neg.f64 z) y)) #<representation binary64>) () ())) ())
#s(alt (+ x (* -1 (* y z))) (taylor 0 z) (#s(alt #s(approx (- x (* y z)) (*.f64 (neg.f64 z) y)) (patch #s(approx (- x (* y z)) (*.f64 (neg.f64 z) y)) #<representation binary64>) () ())) ())
#s(alt (+ x (* -1 (* y z))) (taylor 0 z) (#s(alt #s(approx (- x (* y z)) (*.f64 (neg.f64 z) y)) (patch #s(approx (- x (* y z)) (*.f64 (neg.f64 z) y)) #<representation binary64>) () ())) ())
#s(alt (* -1 (* y z)) (taylor 0 z) (#s(alt (*.f64 (neg.f64 z) y) (patch (*.f64 (neg.f64 z) y) #<representation binary64>) () ())) ())
#s(alt (* -1 (* y z)) (taylor 0 z) (#s(alt (*.f64 (neg.f64 z) y) (patch (*.f64 (neg.f64 z) y) #<representation binary64>) () ())) ())
#s(alt (* -1 (* y z)) (taylor 0 z) (#s(alt (*.f64 (neg.f64 z) y) (patch (*.f64 (neg.f64 z) y) #<representation binary64>) () ())) ())
#s(alt (* -1 (* y z)) (taylor 0 z) (#s(alt (*.f64 (neg.f64 z) y) (patch (*.f64 (neg.f64 z) y) #<representation binary64>) () ())) ())
#s(alt (* -1 z) (taylor 0 z) (#s(alt (neg.f64 z) (patch (neg.f64 z) #<representation binary64>) () ())) ())
#s(alt (* -1 z) (taylor 0 z) (#s(alt (neg.f64 z) (patch (neg.f64 z) #<representation binary64>) () ())) ())
#s(alt (* -1 z) (taylor 0 z) (#s(alt (neg.f64 z) (patch (neg.f64 z) #<representation binary64>) () ())) ())
#s(alt (* -1 z) (taylor 0 z) (#s(alt (neg.f64 z) (patch (neg.f64 z) #<representation binary64>) () ())) ())
#s(alt x (taylor 0 z) (#s(alt (fma.f64 (neg.f64 z) y x) (patch (fma.f64 (neg.f64 z) y x) #<representation binary64>) () ())) ())
#s(alt (+ x (* -1 (* y z))) (taylor 0 z) (#s(alt (fma.f64 (neg.f64 z) y x) (patch (fma.f64 (neg.f64 z) y x) #<representation binary64>) () ())) ())
#s(alt (+ x (* -1 (* y z))) (taylor 0 z) (#s(alt (fma.f64 (neg.f64 z) y x) (patch (fma.f64 (neg.f64 z) y x) #<representation binary64>) () ())) ())
#s(alt (+ x (* -1 (* y z))) (taylor 0 z) (#s(alt (fma.f64 (neg.f64 z) y x) (patch (fma.f64 (neg.f64 z) y x) #<representation binary64>) () ())) ())
#s(alt (* -1 (* y z)) (taylor inf z) (#s(alt #s(approx (- x (* y z)) (*.f64 (neg.f64 z) y)) (patch #s(approx (- x (* y z)) (*.f64 (neg.f64 z) y)) #<representation binary64>) () ())) ())
#s(alt (* z (- (/ x z) y)) (taylor inf z) (#s(alt #s(approx (- x (* y z)) (*.f64 (neg.f64 z) y)) (patch #s(approx (- x (* y z)) (*.f64 (neg.f64 z) y)) #<representation binary64>) () ())) ())
#s(alt (* z (- (/ x z) y)) (taylor inf z) (#s(alt #s(approx (- x (* y z)) (*.f64 (neg.f64 z) y)) (patch #s(approx (- x (* y z)) (*.f64 (neg.f64 z) y)) #<representation binary64>) () ())) ())
#s(alt (* z (- (/ x z) y)) (taylor inf z) (#s(alt #s(approx (- x (* y z)) (*.f64 (neg.f64 z) y)) (patch #s(approx (- x (* y z)) (*.f64 (neg.f64 z) y)) #<representation binary64>) () ())) ())
#s(alt (* -1 (* y z)) (taylor inf z) (#s(alt (*.f64 (neg.f64 z) y) (patch (*.f64 (neg.f64 z) y) #<representation binary64>) () ())) ())
#s(alt (* -1 (* y z)) (taylor inf z) (#s(alt (*.f64 (neg.f64 z) y) (patch (*.f64 (neg.f64 z) y) #<representation binary64>) () ())) ())
#s(alt (* -1 (* y z)) (taylor inf z) (#s(alt (*.f64 (neg.f64 z) y) (patch (*.f64 (neg.f64 z) y) #<representation binary64>) () ())) ())
#s(alt (* -1 (* y z)) (taylor inf z) (#s(alt (*.f64 (neg.f64 z) y) (patch (*.f64 (neg.f64 z) y) #<representation binary64>) () ())) ())
#s(alt (* -1 z) (taylor inf z) (#s(alt (neg.f64 z) (patch (neg.f64 z) #<representation binary64>) () ())) ())
#s(alt (* -1 z) (taylor inf z) (#s(alt (neg.f64 z) (patch (neg.f64 z) #<representation binary64>) () ())) ())
#s(alt (* -1 z) (taylor inf z) (#s(alt (neg.f64 z) (patch (neg.f64 z) #<representation binary64>) () ())) ())
#s(alt (* -1 z) (taylor inf z) (#s(alt (neg.f64 z) (patch (neg.f64 z) #<representation binary64>) () ())) ())
#s(alt (* -1 (* y z)) (taylor inf z) (#s(alt (fma.f64 (neg.f64 z) y x) (patch (fma.f64 (neg.f64 z) y x) #<representation binary64>) () ())) ())
#s(alt (* z (+ (* -1 y) (/ x z))) (taylor inf z) (#s(alt (fma.f64 (neg.f64 z) y x) (patch (fma.f64 (neg.f64 z) y x) #<representation binary64>) () ())) ())
#s(alt (* z (+ (* -1 y) (/ x z))) (taylor inf z) (#s(alt (fma.f64 (neg.f64 z) y x) (patch (fma.f64 (neg.f64 z) y x) #<representation binary64>) () ())) ())
#s(alt (* z (+ (* -1 y) (/ x z))) (taylor inf z) (#s(alt (fma.f64 (neg.f64 z) y x) (patch (fma.f64 (neg.f64 z) y x) #<representation binary64>) () ())) ())
#s(alt (* -1 (* y z)) (taylor -inf z) (#s(alt #s(approx (- x (* y z)) (*.f64 (neg.f64 z) y)) (patch #s(approx (- x (* y z)) (*.f64 (neg.f64 z) y)) #<representation binary64>) () ())) ())
#s(alt (* -1 (* z (- (* -1 (/ x z)) (* -1 y)))) (taylor -inf z) (#s(alt #s(approx (- x (* y z)) (*.f64 (neg.f64 z) y)) (patch #s(approx (- x (* y z)) (*.f64 (neg.f64 z) y)) #<representation binary64>) () ())) ())
#s(alt (* -1 (* z (- (* -1 (/ x z)) (* -1 y)))) (taylor -inf z) (#s(alt #s(approx (- x (* y z)) (*.f64 (neg.f64 z) y)) (patch #s(approx (- x (* y z)) (*.f64 (neg.f64 z) y)) #<representation binary64>) () ())) ())
#s(alt (* -1 (* z (- (* -1 (/ x z)) (* -1 y)))) (taylor -inf z) (#s(alt #s(approx (- x (* y z)) (*.f64 (neg.f64 z) y)) (patch #s(approx (- x (* y z)) (*.f64 (neg.f64 z) y)) #<representation binary64>) () ())) ())
#s(alt (* -1 (* y z)) (taylor -inf z) (#s(alt (*.f64 (neg.f64 z) y) (patch (*.f64 (neg.f64 z) y) #<representation binary64>) () ())) ())
#s(alt (* -1 (* y z)) (taylor -inf z) (#s(alt (*.f64 (neg.f64 z) y) (patch (*.f64 (neg.f64 z) y) #<representation binary64>) () ())) ())
#s(alt (* -1 (* y z)) (taylor -inf z) (#s(alt (*.f64 (neg.f64 z) y) (patch (*.f64 (neg.f64 z) y) #<representation binary64>) () ())) ())
#s(alt (* -1 (* y z)) (taylor -inf z) (#s(alt (*.f64 (neg.f64 z) y) (patch (*.f64 (neg.f64 z) y) #<representation binary64>) () ())) ())
#s(alt (* -1 z) (taylor -inf z) (#s(alt (neg.f64 z) (patch (neg.f64 z) #<representation binary64>) () ())) ())
#s(alt (* -1 z) (taylor -inf z) (#s(alt (neg.f64 z) (patch (neg.f64 z) #<representation binary64>) () ())) ())
#s(alt (* -1 z) (taylor -inf z) (#s(alt (neg.f64 z) (patch (neg.f64 z) #<representation binary64>) () ())) ())
#s(alt (* -1 z) (taylor -inf z) (#s(alt (neg.f64 z) (patch (neg.f64 z) #<representation binary64>) () ())) ())
#s(alt (* -1 (* y z)) (taylor -inf z) (#s(alt (fma.f64 (neg.f64 z) y x) (patch (fma.f64 (neg.f64 z) y x) #<representation binary64>) () ())) ())
#s(alt (* -1 (* z (+ y (* -1 (/ x z))))) (taylor -inf z) (#s(alt (fma.f64 (neg.f64 z) y x) (patch (fma.f64 (neg.f64 z) y x) #<representation binary64>) () ())) ())
#s(alt (* -1 (* z (+ y (* -1 (/ x z))))) (taylor -inf z) (#s(alt (fma.f64 (neg.f64 z) y x) (patch (fma.f64 (neg.f64 z) y x) #<representation binary64>) () ())) ())
#s(alt (* -1 (* z (+ y (* -1 (/ x z))))) (taylor -inf z) (#s(alt (fma.f64 (neg.f64 z) y x) (patch (fma.f64 (neg.f64 z) y x) #<representation binary64>) () ())) ())
#s(alt x (taylor 0 y) (#s(alt #s(approx (- x (* y z)) (*.f64 (neg.f64 z) y)) (patch #s(approx (- x (* y z)) (*.f64 (neg.f64 z) y)) #<representation binary64>) () ())) ())
#s(alt (+ x (* -1 (* y z))) (taylor 0 y) (#s(alt #s(approx (- x (* y z)) (*.f64 (neg.f64 z) y)) (patch #s(approx (- x (* y z)) (*.f64 (neg.f64 z) y)) #<representation binary64>) () ())) ())
#s(alt (+ x (* -1 (* y z))) (taylor 0 y) (#s(alt #s(approx (- x (* y z)) (*.f64 (neg.f64 z) y)) (patch #s(approx (- x (* y z)) (*.f64 (neg.f64 z) y)) #<representation binary64>) () ())) ())
#s(alt (+ x (* -1 (* y z))) (taylor 0 y) (#s(alt #s(approx (- x (* y z)) (*.f64 (neg.f64 z) y)) (patch #s(approx (- x (* y z)) (*.f64 (neg.f64 z) y)) #<representation binary64>) () ())) ())
#s(alt (* -1 (* y z)) (taylor 0 y) (#s(alt (*.f64 (neg.f64 z) y) (patch (*.f64 (neg.f64 z) y) #<representation binary64>) () ())) ())
#s(alt (* -1 (* y z)) (taylor 0 y) (#s(alt (*.f64 (neg.f64 z) y) (patch (*.f64 (neg.f64 z) y) #<representation binary64>) () ())) ())
#s(alt (* -1 (* y z)) (taylor 0 y) (#s(alt (*.f64 (neg.f64 z) y) (patch (*.f64 (neg.f64 z) y) #<representation binary64>) () ())) ())
#s(alt (* -1 (* y z)) (taylor 0 y) (#s(alt (*.f64 (neg.f64 z) y) (patch (*.f64 (neg.f64 z) y) #<representation binary64>) () ())) ())
#s(alt x (taylor 0 y) (#s(alt (fma.f64 (neg.f64 z) y x) (patch (fma.f64 (neg.f64 z) y x) #<representation binary64>) () ())) ())
#s(alt (+ x (* -1 (* y z))) (taylor 0 y) (#s(alt (fma.f64 (neg.f64 z) y x) (patch (fma.f64 (neg.f64 z) y x) #<representation binary64>) () ())) ())
#s(alt (+ x (* -1 (* y z))) (taylor 0 y) (#s(alt (fma.f64 (neg.f64 z) y x) (patch (fma.f64 (neg.f64 z) y x) #<representation binary64>) () ())) ())
#s(alt (+ x (* -1 (* y z))) (taylor 0 y) (#s(alt (fma.f64 (neg.f64 z) y x) (patch (fma.f64 (neg.f64 z) y x) #<representation binary64>) () ())) ())
#s(alt (* -1 (* y z)) (taylor inf y) (#s(alt #s(approx (- x (* y z)) (*.f64 (neg.f64 z) y)) (patch #s(approx (- x (* y z)) (*.f64 (neg.f64 z) y)) #<representation binary64>) () ())) ())
#s(alt (* y (- (/ x y) z)) (taylor inf y) (#s(alt #s(approx (- x (* y z)) (*.f64 (neg.f64 z) y)) (patch #s(approx (- x (* y z)) (*.f64 (neg.f64 z) y)) #<representation binary64>) () ())) ())
#s(alt (* y (- (/ x y) z)) (taylor inf y) (#s(alt #s(approx (- x (* y z)) (*.f64 (neg.f64 z) y)) (patch #s(approx (- x (* y z)) (*.f64 (neg.f64 z) y)) #<representation binary64>) () ())) ())
#s(alt (* y (- (/ x y) z)) (taylor inf y) (#s(alt #s(approx (- x (* y z)) (*.f64 (neg.f64 z) y)) (patch #s(approx (- x (* y z)) (*.f64 (neg.f64 z) y)) #<representation binary64>) () ())) ())
#s(alt (* -1 (* y z)) (taylor inf y) (#s(alt (*.f64 (neg.f64 z) y) (patch (*.f64 (neg.f64 z) y) #<representation binary64>) () ())) ())
#s(alt (* -1 (* y z)) (taylor inf y) (#s(alt (*.f64 (neg.f64 z) y) (patch (*.f64 (neg.f64 z) y) #<representation binary64>) () ())) ())
#s(alt (* -1 (* y z)) (taylor inf y) (#s(alt (*.f64 (neg.f64 z) y) (patch (*.f64 (neg.f64 z) y) #<representation binary64>) () ())) ())
#s(alt (* -1 (* y z)) (taylor inf y) (#s(alt (*.f64 (neg.f64 z) y) (patch (*.f64 (neg.f64 z) y) #<representation binary64>) () ())) ())
#s(alt (* -1 (* y z)) (taylor inf y) (#s(alt (fma.f64 (neg.f64 z) y x) (patch (fma.f64 (neg.f64 z) y x) #<representation binary64>) () ())) ())
#s(alt (* y (+ (* -1 z) (/ x y))) (taylor inf y) (#s(alt (fma.f64 (neg.f64 z) y x) (patch (fma.f64 (neg.f64 z) y x) #<representation binary64>) () ())) ())
#s(alt (* y (+ (* -1 z) (/ x y))) (taylor inf y) (#s(alt (fma.f64 (neg.f64 z) y x) (patch (fma.f64 (neg.f64 z) y x) #<representation binary64>) () ())) ())
#s(alt (* y (+ (* -1 z) (/ x y))) (taylor inf y) (#s(alt (fma.f64 (neg.f64 z) y x) (patch (fma.f64 (neg.f64 z) y x) #<representation binary64>) () ())) ())
#s(alt (* -1 (* y z)) (taylor -inf y) (#s(alt #s(approx (- x (* y z)) (*.f64 (neg.f64 z) y)) (patch #s(approx (- x (* y z)) (*.f64 (neg.f64 z) y)) #<representation binary64>) () ())) ())
#s(alt (* -1 (* y (- (* -1 (/ x y)) (* -1 z)))) (taylor -inf y) (#s(alt #s(approx (- x (* y z)) (*.f64 (neg.f64 z) y)) (patch #s(approx (- x (* y z)) (*.f64 (neg.f64 z) y)) #<representation binary64>) () ())) ())
#s(alt (* -1 (* y (- (* -1 (/ x y)) (* -1 z)))) (taylor -inf y) (#s(alt #s(approx (- x (* y z)) (*.f64 (neg.f64 z) y)) (patch #s(approx (- x (* y z)) (*.f64 (neg.f64 z) y)) #<representation binary64>) () ())) ())
#s(alt (* -1 (* y (- (* -1 (/ x y)) (* -1 z)))) (taylor -inf y) (#s(alt #s(approx (- x (* y z)) (*.f64 (neg.f64 z) y)) (patch #s(approx (- x (* y z)) (*.f64 (neg.f64 z) y)) #<representation binary64>) () ())) ())
#s(alt (* -1 (* y z)) (taylor -inf y) (#s(alt (*.f64 (neg.f64 z) y) (patch (*.f64 (neg.f64 z) y) #<representation binary64>) () ())) ())
#s(alt (* -1 (* y z)) (taylor -inf y) (#s(alt (*.f64 (neg.f64 z) y) (patch (*.f64 (neg.f64 z) y) #<representation binary64>) () ())) ())
#s(alt (* -1 (* y z)) (taylor -inf y) (#s(alt (*.f64 (neg.f64 z) y) (patch (*.f64 (neg.f64 z) y) #<representation binary64>) () ())) ())
#s(alt (* -1 (* y z)) (taylor -inf y) (#s(alt (*.f64 (neg.f64 z) y) (patch (*.f64 (neg.f64 z) y) #<representation binary64>) () ())) ())
#s(alt (* -1 (* y z)) (taylor -inf y) (#s(alt (fma.f64 (neg.f64 z) y x) (patch (fma.f64 (neg.f64 z) y x) #<representation binary64>) () ())) ())
#s(alt (* -1 (* y (+ z (* -1 (/ x y))))) (taylor -inf y) (#s(alt (fma.f64 (neg.f64 z) y x) (patch (fma.f64 (neg.f64 z) y x) #<representation binary64>) () ())) ())
#s(alt (* -1 (* y (+ z (* -1 (/ x y))))) (taylor -inf y) (#s(alt (fma.f64 (neg.f64 z) y x) (patch (fma.f64 (neg.f64 z) y x) #<representation binary64>) () ())) ())
#s(alt (* -1 (* y (+ z (* -1 (/ x y))))) (taylor -inf y) (#s(alt (fma.f64 (neg.f64 z) y x) (patch (fma.f64 (neg.f64 z) y x) #<representation binary64>) () ())) ())
#s(alt (* -1 (* y z)) (taylor 0 x) (#s(alt #s(approx (- x (* y z)) (*.f64 (neg.f64 z) y)) (patch #s(approx (- x (* y z)) (*.f64 (neg.f64 z) y)) #<representation binary64>) () ())) ())
#s(alt (- x (* y z)) (taylor 0 x) (#s(alt #s(approx (- x (* y z)) (*.f64 (neg.f64 z) y)) (patch #s(approx (- x (* y z)) (*.f64 (neg.f64 z) y)) #<representation binary64>) () ())) ())
#s(alt (- x (* y z)) (taylor 0 x) (#s(alt #s(approx (- x (* y z)) (*.f64 (neg.f64 z) y)) (patch #s(approx (- x (* y z)) (*.f64 (neg.f64 z) y)) #<representation binary64>) () ())) ())
#s(alt (- x (* y z)) (taylor 0 x) (#s(alt #s(approx (- x (* y z)) (*.f64 (neg.f64 z) y)) (patch #s(approx (- x (* y z)) (*.f64 (neg.f64 z) y)) #<representation binary64>) () ())) ())
#s(alt (* -1 (* y z)) (taylor 0 x) (#s(alt (fma.f64 (neg.f64 z) y x) (patch (fma.f64 (neg.f64 z) y x) #<representation binary64>) () ())) ())
#s(alt (+ x (* -1 (* y z))) (taylor 0 x) (#s(alt (fma.f64 (neg.f64 z) y x) (patch (fma.f64 (neg.f64 z) y x) #<representation binary64>) () ())) ())
#s(alt (+ x (* -1 (* y z))) (taylor 0 x) (#s(alt (fma.f64 (neg.f64 z) y x) (patch (fma.f64 (neg.f64 z) y x) #<representation binary64>) () ())) ())
#s(alt (+ x (* -1 (* y z))) (taylor 0 x) (#s(alt (fma.f64 (neg.f64 z) y x) (patch (fma.f64 (neg.f64 z) y x) #<representation binary64>) () ())) ())
#s(alt x (taylor inf x) (#s(alt #s(approx (- x (* y z)) (*.f64 (neg.f64 z) y)) (patch #s(approx (- x (* y z)) (*.f64 (neg.f64 z) y)) #<representation binary64>) () ())) ())
#s(alt (* x (+ 1 (* -1 (/ (* y z) x)))) (taylor inf x) (#s(alt #s(approx (- x (* y z)) (*.f64 (neg.f64 z) y)) (patch #s(approx (- x (* y z)) (*.f64 (neg.f64 z) y)) #<representation binary64>) () ())) ())
#s(alt (* x (+ 1 (* -1 (/ (* y z) x)))) (taylor inf x) (#s(alt #s(approx (- x (* y z)) (*.f64 (neg.f64 z) y)) (patch #s(approx (- x (* y z)) (*.f64 (neg.f64 z) y)) #<representation binary64>) () ())) ())
#s(alt (* x (+ 1 (* -1 (/ (* y z) x)))) (taylor inf x) (#s(alt #s(approx (- x (* y z)) (*.f64 (neg.f64 z) y)) (patch #s(approx (- x (* y z)) (*.f64 (neg.f64 z) y)) #<representation binary64>) () ())) ())
#s(alt x (taylor inf x) (#s(alt (fma.f64 (neg.f64 z) y x) (patch (fma.f64 (neg.f64 z) y x) #<representation binary64>) () ())) ())
#s(alt (* x (+ 1 (* -1 (/ (* y z) x)))) (taylor inf x) (#s(alt (fma.f64 (neg.f64 z) y x) (patch (fma.f64 (neg.f64 z) y x) #<representation binary64>) () ())) ())
#s(alt (* x (+ 1 (* -1 (/ (* y z) x)))) (taylor inf x) (#s(alt (fma.f64 (neg.f64 z) y x) (patch (fma.f64 (neg.f64 z) y x) #<representation binary64>) () ())) ())
#s(alt (* x (+ 1 (* -1 (/ (* y z) x)))) (taylor inf x) (#s(alt (fma.f64 (neg.f64 z) y x) (patch (fma.f64 (neg.f64 z) y x) #<representation binary64>) () ())) ())
#s(alt x (taylor -inf x) (#s(alt #s(approx (- x (* y z)) (*.f64 (neg.f64 z) y)) (patch #s(approx (- x (* y z)) (*.f64 (neg.f64 z) y)) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x (- (/ (* y z) x) 1))) (taylor -inf x) (#s(alt #s(approx (- x (* y z)) (*.f64 (neg.f64 z) y)) (patch #s(approx (- x (* y z)) (*.f64 (neg.f64 z) y)) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x (- (/ (* y z) x) 1))) (taylor -inf x) (#s(alt #s(approx (- x (* y z)) (*.f64 (neg.f64 z) y)) (patch #s(approx (- x (* y z)) (*.f64 (neg.f64 z) y)) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x (- (/ (* y z) x) 1))) (taylor -inf x) (#s(alt #s(approx (- x (* y z)) (*.f64 (neg.f64 z) y)) (patch #s(approx (- x (* y z)) (*.f64 (neg.f64 z) y)) #<representation binary64>) () ())) ())
#s(alt x (taylor -inf x) (#s(alt (fma.f64 (neg.f64 z) y x) (patch (fma.f64 (neg.f64 z) y x) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x (- (/ (* y z) x) 1))) (taylor -inf x) (#s(alt (fma.f64 (neg.f64 z) y x) (patch (fma.f64 (neg.f64 z) y x) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x (- (/ (* y z) x) 1))) (taylor -inf x) (#s(alt (fma.f64 (neg.f64 z) y x) (patch (fma.f64 (neg.f64 z) y x) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x (- (/ (* y z) x) 1))) (taylor -inf x) (#s(alt (fma.f64 (neg.f64 z) y x) (patch (fma.f64 (neg.f64 z) y x) #<representation binary64>) () ())) ())
Calls

9 calls:

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

simplify215.0ms (7.7%)

Memory
-36.2MiB live, 255.4MiB allocated
Algorithm
egg-herbie
Rules
22 724×lower-fma.f64
22 724×lower-fma.f32
3 124×lower-+.f64
3 124×lower-+.f32
2 812×lower-*.f64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
042438
1140438
2329438
3959438
42566438
53497438
64560438
75676438
86395438
96663438
08341438
Stop Event
iter limit
node limit
Counts
108 → 100
Calls
Call 1
Inputs
x
(+ x (* -1 (* y z)))
(+ x (* -1 (* y z)))
(+ x (* -1 (* y z)))
(* -1 (* y z))
(* -1 (* y z))
(* -1 (* y z))
(* -1 (* y z))
(* -1 z)
(* -1 z)
(* -1 z)
(* -1 z)
x
(+ x (* -1 (* y z)))
(+ x (* -1 (* y z)))
(+ x (* -1 (* y z)))
(* -1 (* y z))
(* z (- (/ x z) y))
(* z (- (/ x z) y))
(* z (- (/ x z) y))
(* -1 (* y z))
(* -1 (* y z))
(* -1 (* y z))
(* -1 (* y z))
(* -1 z)
(* -1 z)
(* -1 z)
(* -1 z)
(* -1 (* y z))
(* z (+ (* -1 y) (/ x z)))
(* z (+ (* -1 y) (/ x z)))
(* z (+ (* -1 y) (/ x z)))
(* -1 (* y z))
(* -1 (* z (- (* -1 (/ x z)) (* -1 y))))
(* -1 (* z (- (* -1 (/ x z)) (* -1 y))))
(* -1 (* z (- (* -1 (/ x z)) (* -1 y))))
(* -1 (* y z))
(* -1 (* y z))
(* -1 (* y z))
(* -1 (* y z))
(* -1 z)
(* -1 z)
(* -1 z)
(* -1 z)
(* -1 (* y z))
(* -1 (* z (+ y (* -1 (/ x z)))))
(* -1 (* z (+ y (* -1 (/ x z)))))
(* -1 (* z (+ y (* -1 (/ x z)))))
x
(+ x (* -1 (* y z)))
(+ x (* -1 (* y z)))
(+ x (* -1 (* y z)))
(* -1 (* y z))
(* -1 (* y z))
(* -1 (* y z))
(* -1 (* y z))
x
(+ x (* -1 (* y z)))
(+ x (* -1 (* y z)))
(+ x (* -1 (* y z)))
(* -1 (* y z))
(* y (- (/ x y) z))
(* y (- (/ x y) z))
(* y (- (/ x y) z))
(* -1 (* y z))
(* -1 (* y z))
(* -1 (* y z))
(* -1 (* y z))
(* -1 (* y z))
(* y (+ (* -1 z) (/ x y)))
(* y (+ (* -1 z) (/ x y)))
(* y (+ (* -1 z) (/ x y)))
(* -1 (* y z))
(* -1 (* y (- (* -1 (/ x y)) (* -1 z))))
(* -1 (* y (- (* -1 (/ x y)) (* -1 z))))
(* -1 (* y (- (* -1 (/ x y)) (* -1 z))))
(* -1 (* y z))
(* -1 (* y z))
(* -1 (* y z))
(* -1 (* y z))
(* -1 (* y z))
(* -1 (* y (+ z (* -1 (/ x y)))))
(* -1 (* y (+ z (* -1 (/ x y)))))
(* -1 (* y (+ z (* -1 (/ x y)))))
(* -1 (* y z))
(- x (* y z))
(- x (* y z))
(- x (* y z))
(* -1 (* y z))
(+ x (* -1 (* y z)))
(+ x (* -1 (* y z)))
(+ x (* -1 (* y z)))
x
(* x (+ 1 (* -1 (/ (* y z) x))))
(* x (+ 1 (* -1 (/ (* y z) x))))
(* x (+ 1 (* -1 (/ (* y z) x))))
x
(* x (+ 1 (* -1 (/ (* y z) x))))
(* x (+ 1 (* -1 (/ (* y z) x))))
(* x (+ 1 (* -1 (/ (* y z) x))))
x
(* -1 (* x (- (/ (* y z) x) 1)))
(* -1 (* x (- (/ (* y z) x) 1)))
(* -1 (* x (- (/ (* y z) x) 1)))
x
(* -1 (* x (- (/ (* y z) x) 1)))
(* -1 (* x (- (/ (* y z) x) 1)))
(* -1 (* x (- (/ (* y z) x) 1)))
Outputs
x
(+ x (* -1 (* y z)))
(fma.f64 (neg.f64 y) z x)
(+ x (* -1 (* y z)))
(fma.f64 (neg.f64 y) z x)
(+ x (* -1 (* y z)))
(fma.f64 (neg.f64 y) z x)
(* -1 (* y z))
(*.f64 (neg.f64 y) z)
(* -1 (* y z))
(*.f64 (neg.f64 y) z)
(* -1 (* y z))
(*.f64 (neg.f64 y) z)
(* -1 (* y z))
(*.f64 (neg.f64 y) z)
(* -1 z)
(neg.f64 z)
(* -1 z)
(neg.f64 z)
(* -1 z)
(neg.f64 z)
(* -1 z)
(neg.f64 z)
x
(+ x (* -1 (* y z)))
(fma.f64 (neg.f64 y) z x)
(+ x (* -1 (* y z)))
(fma.f64 (neg.f64 y) z x)
(+ x (* -1 (* y z)))
(fma.f64 (neg.f64 y) z x)
(* -1 (* y z))
(*.f64 (neg.f64 y) z)
(* z (- (/ x z) y))
(fma.f64 (neg.f64 y) z x)
(* z (- (/ x z) y))
(fma.f64 (neg.f64 y) z x)
(* z (- (/ x z) y))
(fma.f64 (neg.f64 y) z x)
(* -1 (* y z))
(*.f64 (neg.f64 y) z)
(* -1 (* y z))
(*.f64 (neg.f64 y) z)
(* -1 (* y z))
(*.f64 (neg.f64 y) z)
(* -1 (* y z))
(*.f64 (neg.f64 y) z)
(* -1 z)
(neg.f64 z)
(* -1 z)
(neg.f64 z)
(* -1 z)
(neg.f64 z)
(* -1 z)
(neg.f64 z)
(* -1 (* y z))
(*.f64 (neg.f64 y) z)
(* z (+ (* -1 y) (/ x z)))
(fma.f64 (neg.f64 y) z x)
(* z (+ (* -1 y) (/ x z)))
(fma.f64 (neg.f64 y) z x)
(* z (+ (* -1 y) (/ x z)))
(fma.f64 (neg.f64 y) z x)
(* -1 (* y z))
(*.f64 (neg.f64 y) z)
(* -1 (* z (- (* -1 (/ x z)) (* -1 y))))
(fma.f64 (neg.f64 y) z x)
(* -1 (* z (- (* -1 (/ x z)) (* -1 y))))
(fma.f64 (neg.f64 y) z x)
(* -1 (* z (- (* -1 (/ x z)) (* -1 y))))
(fma.f64 (neg.f64 y) z x)
(* -1 (* y z))
(*.f64 (neg.f64 y) z)
(* -1 (* y z))
(*.f64 (neg.f64 y) z)
(* -1 (* y z))
(*.f64 (neg.f64 y) z)
(* -1 (* y z))
(*.f64 (neg.f64 y) z)
(* -1 z)
(neg.f64 z)
(* -1 z)
(neg.f64 z)
(* -1 z)
(neg.f64 z)
(* -1 z)
(neg.f64 z)
(* -1 (* y z))
(*.f64 (neg.f64 y) z)
(* -1 (* z (+ y (* -1 (/ x z)))))
(fma.f64 (neg.f64 y) z x)
(* -1 (* z (+ y (* -1 (/ x z)))))
(fma.f64 (neg.f64 y) z x)
(* -1 (* z (+ y (* -1 (/ x z)))))
(fma.f64 (neg.f64 y) z x)
x
(+ x (* -1 (* y z)))
(fma.f64 (neg.f64 y) z x)
(+ x (* -1 (* y z)))
(fma.f64 (neg.f64 y) z x)
(+ x (* -1 (* y z)))
(fma.f64 (neg.f64 y) z x)
(* -1 (* y z))
(*.f64 (neg.f64 y) z)
(* -1 (* y z))
(*.f64 (neg.f64 y) z)
(* -1 (* y z))
(*.f64 (neg.f64 y) z)
(* -1 (* y z))
(*.f64 (neg.f64 y) z)
x
(+ x (* -1 (* y z)))
(fma.f64 (neg.f64 y) z x)
(+ x (* -1 (* y z)))
(fma.f64 (neg.f64 y) z x)
(+ x (* -1 (* y z)))
(fma.f64 (neg.f64 y) z x)
(* -1 (* y z))
(*.f64 (neg.f64 y) z)
(* y (- (/ x y) z))
(fma.f64 (neg.f64 y) z x)
(* y (- (/ x y) z))
(fma.f64 (neg.f64 y) z x)
(* y (- (/ x y) z))
(fma.f64 (neg.f64 y) z x)
(* -1 (* y z))
(*.f64 (neg.f64 y) z)
(* -1 (* y z))
(*.f64 (neg.f64 y) z)
(* -1 (* y z))
(*.f64 (neg.f64 y) z)
(* -1 (* y z))
(*.f64 (neg.f64 y) z)
(* -1 (* y z))
(*.f64 (neg.f64 y) z)
(* y (+ (* -1 z) (/ x y)))
(fma.f64 (neg.f64 y) z x)
(* y (+ (* -1 z) (/ x y)))
(fma.f64 (neg.f64 y) z x)
(* y (+ (* -1 z) (/ x y)))
(fma.f64 (neg.f64 y) z x)
(* -1 (* y z))
(*.f64 (neg.f64 y) z)
(* -1 (* y (- (* -1 (/ x y)) (* -1 z))))
(fma.f64 (neg.f64 y) z x)
(* -1 (* y (- (* -1 (/ x y)) (* -1 z))))
(fma.f64 (neg.f64 y) z x)
(* -1 (* y (- (* -1 (/ x y)) (* -1 z))))
(fma.f64 (neg.f64 y) z x)
(* -1 (* y z))
(*.f64 (neg.f64 y) z)
(* -1 (* y z))
(*.f64 (neg.f64 y) z)
(* -1 (* y z))
(*.f64 (neg.f64 y) z)
(* -1 (* y z))
(*.f64 (neg.f64 y) z)
(* -1 (* y z))
(*.f64 (neg.f64 y) z)
(* -1 (* y (+ z (* -1 (/ x y)))))
(fma.f64 (neg.f64 y) z x)
(* -1 (* y (+ z (* -1 (/ x y)))))
(fma.f64 (neg.f64 y) z x)
(* -1 (* y (+ z (* -1 (/ x y)))))
(fma.f64 (neg.f64 y) z x)
(* -1 (* y z))
(*.f64 (neg.f64 y) z)
(- x (* y z))
(fma.f64 (neg.f64 y) z x)
(- x (* y z))
(fma.f64 (neg.f64 y) z x)
(- x (* y z))
(fma.f64 (neg.f64 y) z x)
(* -1 (* y z))
(*.f64 (neg.f64 y) z)
(+ x (* -1 (* y z)))
(fma.f64 (neg.f64 y) z x)
(+ x (* -1 (* y z)))
(fma.f64 (neg.f64 y) z x)
(+ x (* -1 (* y z)))
(fma.f64 (neg.f64 y) z x)
x
(* x (+ 1 (* -1 (/ (* y z) x))))
(fma.f64 (neg.f64 y) z x)
(* x (+ 1 (* -1 (/ (* y z) x))))
(fma.f64 (neg.f64 y) z x)
(* x (+ 1 (* -1 (/ (* y z) x))))
(fma.f64 (neg.f64 y) z x)
x
(* x (+ 1 (* -1 (/ (* y z) x))))
(fma.f64 (neg.f64 y) z x)
(* x (+ 1 (* -1 (/ (* y z) x))))
(fma.f64 (neg.f64 y) z x)
(* x (+ 1 (* -1 (/ (* y z) x))))
(fma.f64 (neg.f64 y) z x)
x
(* -1 (* x (- (/ (* y z) x) 1)))
(fma.f64 (neg.f64 y) z x)
(* -1 (* x (- (/ (* y z) x) 1)))
(fma.f64 (neg.f64 y) z x)
(* -1 (* x (- (/ (* y z) x) 1)))
(fma.f64 (neg.f64 y) z x)
x
(* -1 (* x (- (/ (* y z) x) 1)))
(fma.f64 (neg.f64 y) z x)
(* -1 (* x (- (/ (* y z) x) 1)))
(fma.f64 (neg.f64 y) z x)
(* -1 (* x (- (/ (* y z) x) 1)))
(fma.f64 (neg.f64 y) z x)

rewrite228.0ms (8.2%)

Memory
4.3MiB live, 198.7MiB allocated
Rules
6 178×lower-fma.f32
6 176×lower-fma.f64
4 418×lower-*.f32
4 416×lower-*.f64
3 336×lower-/.f64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0921
01221
14821
233021
3358921
0865321
Stop Event
iter limit
node limit
iter limit
Counts
4 → 256
Calls
Call 1
Inputs
#s(approx (- x (* y z)) (*.f64 (neg.f64 z) y))
(*.f64 (neg.f64 z) y)
(neg.f64 z)
(fma.f64 (neg.f64 z) y x)
Outputs
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>

eval60.0ms (2.2%)

Memory
24.2MiB live, 103.6MiB allocated
Compiler

Compiled 7 560 to 814 computations (89.2% saved)

prune18.0ms (0.6%)

Memory
16.0MiB live, 51.7MiB allocated
Pruning

2 alts after pruning (0 fresh and 2 done)

PrunedKeptTotal
New4010401
Fresh000
Picked022
Done000
Total4012403
Accuracy
100.0%
Counts
403 → 2
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(fma.f64 (neg.f64 z) y x)
51.5%
#s(approx (- x (* y z)) (*.f64 (neg.f64 z) y))
Compiler

Compiled 25 to 20 computations (20% saved)

regimes10.0ms (0.4%)

Memory
-13.6MiB live, 25.6MiB allocated
Counts
3 → 1
Calls
Call 1
Inputs
#s(approx (- x (* y z)) (*.f64 (neg.f64 z) y))
(-.f64 x (*.f64 y z))
(fma.f64 (neg.f64 z) y x)
Outputs
(fma.f64 (neg.f64 z) y x)
Calls

5 calls:

3.0ms
(*.f64 y z)
2.0ms
(-.f64 x (*.f64 y z))
2.0ms
y
2.0ms
z
2.0ms
x
Results
AccuracySegmentsBranch
100.0%1x
100.0%1y
100.0%1z
100.0%1(-.f64 x (*.f64 y z))
100.0%1(*.f64 y z)
Compiler

Compiled 11 to 18 computations (-63.6% saved)

regimes87.0ms (3.1%)

Memory
-34.7MiB live, 60.8MiB allocated
Counts
2 → 1
Calls
Call 1
Inputs
#s(approx (- x (* y z)) (*.f64 (neg.f64 z) y))
(-.f64 x (*.f64 y z))
Outputs
(-.f64 x (*.f64 y z))
Calls

5 calls:

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

Compiled 11 to 18 computations (-63.6% saved)

regimes7.0ms (0.2%)

Memory
20.2MiB live, 20.2MiB allocated
Accuracy

Total -0.0b remaining (-0%)

Threshold costs -0b (-0%)

Counts
1 → 1
Calls
Call 1
Inputs
#s(approx (- x (* y z)) (*.f64 (neg.f64 z) y))
Outputs
#s(approx (- x (* y z)) (*.f64 (neg.f64 z) y))
Calls

5 calls:

1.0ms
(*.f64 y z)
1.0ms
(-.f64 x (*.f64 y z))
1.0ms
z
1.0ms
y
1.0ms
x
Results
AccuracySegmentsBranch
51.5%1x
51.5%1y
51.5%1z
51.5%1(-.f64 x (*.f64 y z))
51.5%1(*.f64 y z)
Compiler

Compiled 11 to 18 computations (-63.6% saved)

simplify25.0ms (0.9%)

Memory
17.9MiB live, 55.7MiB allocated
Algorithm
egg-herbie
Rules
10×*-commutative-binary64-*.f64
+-commutative-binary64-+.f64
sub-neg-binary64-neg.f64-+.f64--.f64
neg-sub0-binary64--.f64-neg.f64
neg-mul-1-binary64-*.f64-neg.f64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01120
12420
23220
33720
43920
Stop Event
saturated
Calls
Call 1
Inputs
(fma.f64 (neg.f64 z) y x)
(-.f64 x (*.f64 y z))
#s(approx (- x (* y z)) (*.f64 (neg.f64 z) y))
Outputs
(fma.f64 (neg.f64 z) y x)
(-.f64 x (*.f64 y z))
#s(approx (- x (* y z)) (*.f64 (neg.f64 z) y))
#s(approx (- x (* y z)) (*.f64 y (neg.f64 z)))

soundness466.0ms (16.7%)

Memory
-33.7MiB live, 245.7MiB allocated
Rules
12 196×lower-fma.f64
12 196×lower-fma.f32
7 952×lower-fma.f64
7 952×lower-fma.f32
3 972×lower-/.f64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
058
078
1268
21838
317078
084728
032231
196231
2229231
3777231
42183231
53289231
64321231
75328231
86178231
96433231
106654231
117617231
08215231
Stop Event
done
iter limit
node limit
iter limit
node limit
iter limit
Compiler

Compiled 29 to 21 computations (27.6% saved)

preprocess36.0ms (1.3%)

Memory
36.7MiB live, 75.7MiB allocated
Remove

(sort y z)

Compiler

Compiled 104 to 74 computations (28.8% saved)

end0.0ms (0%)

Memory
0.0MiB live, 0.0MiB allocated

Profiling

Loading profile data...