Data.Colour.CIE:cieLAB from colour-2.3.3, D

Time bar (total: 3.5s)

start0.0ms (0%)

Memory
0.0MiB live, 0.0MiB allocated

analyze0.0ms (0%)

Memory
0.2MiB live, 0.2MiB allocated
Algorithm
search
Search
ProbabilityValidUnknownPreconditionInfiniteDomainCan'tIter
0%0%99.9%0.1%0%0%0%0
100%99.9%0%0.1%0%0%0%1
Compiler

Compiled 7 to 7 computations (0% saved)

sample1.0s (30%)

Memory
-6.3MiB live, 788.1MiB allocated
Samples
835.0ms8 256×0valid
Precisions
Click to see histograms. Total time spent on operations: 374.0ms
ival-sub: 223.0ms (59.6% of total)
ival-div: 137.0ms (36.6% of total)
ival-true: 7.0ms (1.9% of total)
exact: 4.0ms (1.1% of total)
ival-assert: 3.0ms (0.8% of total)
Bogosity

explain62.0ms (1.8%)

Memory
-37.5MiB live, 63.1MiB allocated
FPErrors
Click to see full error table
Ground TruthOverpredictionsExampleUnderpredictionsExampleSubexpression
00-0-y
00-0-#s(literal 200 binary64)
00-0-(-.f64 x (/.f64 y #s(literal 200 binary64)))
00-0-(/.f64 y #s(literal 200 binary64))
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
19.0ms512×0valid
Compiler

Compiled 31 to 19 computations (38.7% saved)

Precisions
Click to see histograms. Total time spent on operations: 8.0ms
ival-div: 4.0ms (53% of total)
ival-sub: 2.0ms (26.5% of total)
ival-true: 0.0ms (0% of total)
exact: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

preprocess25.0ms (0.7%)

Memory
13.3MiB live, 51.7MiB allocated
Algorithm
egg-herbie
Rules
128×lower-fma.f64
128×lower-fma.f32
80×lower-*.f64
80×lower-*.f32
46×sub-neg
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01329
13027
27425
315225
425025
529325
629925
055
075
195
2195
3275
4395
5585
6945
71265
81825
92135
102465
112475
02474
Stop Event
iter limit
saturated
iter limit
saturated
Calls
Call 1
Inputs
(-.f64 x (/.f64 y #s(literal 200 binary64)))
Outputs
(-.f64 x (/.f64 y #s(literal 200 binary64)))
(fma.f64 #s(literal -1/200 binary64) y x)
Compiler

Compiled 5 to 5 computations (0% saved)

eval0.0ms (0%)

Memory
0.4MiB live, 0.4MiB allocated
Compiler

Compiled 0 to 2 computations (-∞% saved)

prune0.0ms (0%)

Memory
1.7MiB live, 1.7MiB allocated
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(-.f64 x (/.f64 y #s(literal 200 binary64)))
Compiler

Compiled 5 to 5 computations (0% saved)

simplify9.0ms (0.3%)

Memory
21.8MiB live, 21.8MiB allocated
Algorithm
egg-herbie
Localize:

Found 2 expressions of interest:

NewMetricScoreProgram
cost-diff128
(-.f64 x (/.f64 y #s(literal 200 binary64)))
cost-diff384
(/.f64 y #s(literal 200 binary64))
Rules
128×lower-fma.f64
128×lower-fma.f32
80×lower-*.f64
80×lower-*.f32
40×lower-+.f64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0511
0711
1911
21911
32711
43911
55811
69411
712611
818211
921311
1024611
1124711
024710
Stop Event
iter limit
saturated
iter limit
Calls
Call 1
Inputs
(-.f64 x (/.f64 y #s(literal 200 binary64)))
x
(/.f64 y #s(literal 200 binary64))
y
#s(literal 200 binary64)
Outputs
(-.f64 x (/.f64 y #s(literal 200 binary64)))
(fma.f64 #s(literal -1/200 binary64) y x)
x
(/.f64 y #s(literal 200 binary64))
(*.f64 #s(literal 1/200 binary64) y)
y
#s(literal 200 binary64)

localize37.0ms (1.1%)

Memory
-7.4MiB live, 30.6MiB allocated
Localize:

Found 2 expressions of interest:

NewMetricScoreProgram
accuracy0
(/.f64 y #s(literal 200 binary64))
accuracy0
(-.f64 x (/.f64 y #s(literal 200 binary64)))
Samples
33.0ms256×0valid
Compiler

Compiled 13 to 7 computations (46.2% saved)

Precisions
Click to see histograms. Total time spent on operations: 27.0ms
ival-div: 25.0ms (92.4% of total)
ival-sub: 1.0ms (3.7% of total)
ival-true: 0.0ms (0% of total)
exact: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

series3.0ms (0.1%)

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

6 calls:

TimeVariablePointExpression
1.0ms
y
@inf
((/ y 200) (- x (/ y 200)))
1.0ms
y
@-inf
((/ y 200) (- x (/ y 200)))
0.0ms
x
@-inf
((/ y 200) (- x (/ y 200)))
0.0ms
y
@0
((/ y 200) (- x (/ y 200)))
0.0ms
x
@inf
((/ y 200) (- x (/ y 200)))

simplify177.0ms (5.1%)

Memory
-0.1MiB live, 151.4MiB allocated
Algorithm
egg-herbie
Rules
3 160×lower-fma.f64
3 160×lower-fma.f32
2 584×lower-*.f64
2 584×lower-*.f32
2 384×lower-/.f32
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
025138
168138
2170138
3455138
41249138
52477138
63282138
73618138
83914138
94095138
105236138
116032138
126800138
137068138
147848138
08384120
Stop Event
iter limit
node limit
Counts
36 → 33
Calls
Call 1
Inputs
(* 1/200 y)
(* 1/200 y)
(* 1/200 y)
(* 1/200 y)
x
(+ x (* -1/200 y))
(+ x (* -1/200 y))
(+ x (* -1/200 y))
(* 1/200 y)
(* 1/200 y)
(* 1/200 y)
(* 1/200 y)
(* -1/200 y)
(* y (- (/ x y) 1/200))
(* y (- (/ x y) 1/200))
(* y (- (/ x y) 1/200))
(* 1/200 y)
(* 1/200 y)
(* 1/200 y)
(* 1/200 y)
(* -1/200 y)
(* -1 (* y (+ 1/200 (* -1 (/ x y)))))
(* -1 (* y (+ 1/200 (* -1 (/ x y)))))
(* -1 (* y (+ 1/200 (* -1 (/ x y)))))
(* -1/200 y)
(- x (* 1/200 y))
(- x (* 1/200 y))
(- x (* 1/200 y))
x
(* x (+ 1 (* -1/200 (/ y x))))
(* x (+ 1 (* -1/200 (/ y x))))
(* x (+ 1 (* -1/200 (/ y x))))
x
(* -1 (* x (- (* 1/200 (/ y x)) 1)))
(* -1 (* x (- (* 1/200 (/ y x)) 1)))
(* -1 (* x (- (* 1/200 (/ y x)) 1)))
Outputs
(* 1/200 y)
(*.f64 y #s(literal 1/200 binary64))
(* 1/200 y)
(*.f64 y #s(literal 1/200 binary64))
(* 1/200 y)
(*.f64 y #s(literal 1/200 binary64))
(* 1/200 y)
(*.f64 y #s(literal 1/200 binary64))
x
(+ x (* -1/200 y))
(fma.f64 #s(literal -1/200 binary64) y x)
(+ x (* -1/200 y))
(fma.f64 #s(literal -1/200 binary64) y x)
(+ x (* -1/200 y))
(fma.f64 #s(literal -1/200 binary64) y x)
(* 1/200 y)
(*.f64 y #s(literal 1/200 binary64))
(* 1/200 y)
(*.f64 y #s(literal 1/200 binary64))
(* 1/200 y)
(*.f64 y #s(literal 1/200 binary64))
(* 1/200 y)
(*.f64 y #s(literal 1/200 binary64))
(* -1/200 y)
(*.f64 #s(literal -1/200 binary64) y)
(* y (- (/ x y) 1/200))
(fma.f64 #s(literal -1/200 binary64) y x)
(* y (- (/ x y) 1/200))
(fma.f64 #s(literal -1/200 binary64) y x)
(* y (- (/ x y) 1/200))
(fma.f64 #s(literal -1/200 binary64) y x)
(* 1/200 y)
(*.f64 y #s(literal 1/200 binary64))
(* 1/200 y)
(*.f64 y #s(literal 1/200 binary64))
(* 1/200 y)
(*.f64 y #s(literal 1/200 binary64))
(* 1/200 y)
(*.f64 y #s(literal 1/200 binary64))
(* -1/200 y)
(*.f64 #s(literal -1/200 binary64) y)
(* -1 (* y (+ 1/200 (* -1 (/ x y)))))
(fma.f64 #s(literal -1/200 binary64) y x)
(* -1 (* y (+ 1/200 (* -1 (/ x y)))))
(fma.f64 #s(literal -1/200 binary64) y x)
(* -1 (* y (+ 1/200 (* -1 (/ x y)))))
(fma.f64 #s(literal -1/200 binary64) y x)
(* -1/200 y)
(*.f64 #s(literal -1/200 binary64) y)
(- x (* 1/200 y))
(fma.f64 #s(literal -1/200 binary64) y x)
(- x (* 1/200 y))
(fma.f64 #s(literal -1/200 binary64) y x)
(- x (* 1/200 y))
(fma.f64 #s(literal -1/200 binary64) y x)
x
(* x (+ 1 (* -1/200 (/ y x))))
(fma.f64 #s(literal -1/200 binary64) y x)
(* x (+ 1 (* -1/200 (/ y x))))
(fma.f64 #s(literal -1/200 binary64) y x)
(* x (+ 1 (* -1/200 (/ y x))))
(fma.f64 #s(literal -1/200 binary64) y x)
x
(* -1 (* x (- (* 1/200 (/ y x)) 1)))
(fma.f64 #s(literal -1/200 binary64) y x)
(* -1 (* x (- (* 1/200 (/ y x)) 1)))
(fma.f64 #s(literal -1/200 binary64) y x)
(* -1 (* x (- (* 1/200 (/ y x)) 1)))
(fma.f64 #s(literal -1/200 binary64) y x)

rewrite160.0ms (4.6%)

Memory
3.7MiB live, 270.9MiB allocated
Rules
3 368×lower-fma.f64
3 368×lower-fma.f32
3 224×lower-*.f64
3 224×lower-*.f32
2 912×lower-/.f32
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
058
078
1328
22488
340678
081647
Stop Event
iter limit
node limit
iter limit
Counts
2 → 130
Calls
Call 1
Inputs
(/.f64 y #s(literal 200 binary64))
(-.f64 x (/.f64 y #s(literal 200 binary64)))
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>

eval27.0ms (0.8%)

Memory
-35.5MiB live, 63.9MiB allocated
Compiler

Compiled 2 670 to 399 computations (85.1% saved)

prune14.0ms (0.4%)

Memory
28.5MiB live, 28.5MiB allocated
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New1612163
Fresh000
Picked011
Done000
Total1613164
Accuracy
100.0%
Counts
164 → 3
Alt Table
Click to see full alt table
StatusAccuracyProgram
99.9%
(fma.f64 y #s(literal -1/200 binary64) x)
100.0%
(-.f64 x (/.f64 y #s(literal 200 binary64)))
45.3%
#s(approx (- x (/ y 200)) (*.f64 #s(literal -1/200 binary64) y))
Compiler

Compiled 13 to 14 computations (-7.7% saved)

simplify13.0ms (0.4%)

Memory
-25.7MiB live, 13.1MiB allocated
Algorithm
egg-herbie
Localize:

Found 3 expressions of interest:

NewMetricScoreProgram
cost-diff0
(fma.f64 y #s(literal -1/200 binary64) x)
cost-diff0
(*.f64 #s(literal -1/200 binary64) y)
cost-diff0
#s(approx (- x (/ y 200)) (*.f64 #s(literal -1/200 binary64) y))
Rules
128×lower-fma.f32
126×lower-fma.f64
80×lower-*.f32
78×lower-*.f64
40×lower-+.f64
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
0921
01221
11621
22621
33421
44720
57120
610620
713520
819120
922220
1025520
1125620
025620
Stop Event
iter limit
saturated
iter limit
Calls
Call 1
Inputs
#s(approx (- x (/ y 200)) (*.f64 #s(literal -1/200 binary64) y))
(*.f64 #s(literal -1/200 binary64) y)
#s(literal -1/200 binary64)
y
(fma.f64 y #s(literal -1/200 binary64) x)
y
#s(literal -1/200 binary64)
x
Outputs
#s(approx (- x (/ y 200)) (*.f64 #s(literal -1/200 binary64) y))
(*.f64 #s(literal -1/200 binary64) y)
#s(literal -1/200 binary64)
y
(fma.f64 y #s(literal -1/200 binary64) x)
(fma.f64 #s(literal -1/200 binary64) y x)
y
#s(literal -1/200 binary64)
x

localize29.0ms (0.8%)

Memory
14.2MiB live, 52.2MiB allocated
Localize:

Found 3 expressions of interest:

NewMetricScoreProgram
accuracy0.0390625
(fma.f64 y #s(literal -1/200 binary64) x)
accuracy0.09765625
(*.f64 #s(literal -1/200 binary64) y)
accuracy34.96967661747678
#s(approx (- x (/ y 200)) (*.f64 #s(literal -1/200 binary64) y))
Samples
23.0ms256×0valid
Compiler

Compiled 20 to 11 computations (45% saved)

Precisions
Click to see histograms. Total time spent on operations: 12.0ms
ival-mult: 3.0ms (24.7% of total)
const: 3.0ms (24.7% of total)
ival-div: 2.0ms (16.5% of total)
ival-sub: 1.0ms (8.2% of total)
ival-add: 1.0ms (8.2% of total)
ival-true: 0.0ms (0% of total)
exact: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

series3.0ms (0.1%)

Memory
6.1MiB live, 6.1MiB allocated
Counts
3 → 60
Calls
Call 1
Inputs
#s(alt #s(approx (- x (/ y 200)) (*.f64 #s(literal -1/200 binary64) y)) (patch #s(approx (- x (/ y 200)) (*.f64 #s(literal -1/200 binary64) y)) #<representation binary64>) () ())
#s(alt (*.f64 #s(literal -1/200 binary64) y) (patch (*.f64 #s(literal -1/200 binary64) y) #<representation binary64>) () ())
#s(alt (fma.f64 y #s(literal -1/200 binary64) x) (patch (fma.f64 y #s(literal -1/200 binary64) x) #<representation binary64>) () ())
Outputs
#s(alt x (taylor 0 y) (#s(alt #s(approx (- x (/ y 200)) (*.f64 #s(literal -1/200 binary64) y)) (patch #s(approx (- x (/ y 200)) (*.f64 #s(literal -1/200 binary64) y)) #<representation binary64>) () ())) ())
#s(alt (+ x (* -1/200 y)) (taylor 0 y) (#s(alt #s(approx (- x (/ y 200)) (*.f64 #s(literal -1/200 binary64) y)) (patch #s(approx (- x (/ y 200)) (*.f64 #s(literal -1/200 binary64) y)) #<representation binary64>) () ())) ())
#s(alt (+ x (* -1/200 y)) (taylor 0 y) (#s(alt #s(approx (- x (/ y 200)) (*.f64 #s(literal -1/200 binary64) y)) (patch #s(approx (- x (/ y 200)) (*.f64 #s(literal -1/200 binary64) y)) #<representation binary64>) () ())) ())
#s(alt (+ x (* -1/200 y)) (taylor 0 y) (#s(alt #s(approx (- x (/ y 200)) (*.f64 #s(literal -1/200 binary64) y)) (patch #s(approx (- x (/ y 200)) (*.f64 #s(literal -1/200 binary64) y)) #<representation binary64>) () ())) ())
#s(alt (* -1/200 y) (taylor 0 y) (#s(alt (*.f64 #s(literal -1/200 binary64) y) (patch (*.f64 #s(literal -1/200 binary64) y) #<representation binary64>) () ())) ())
#s(alt (* -1/200 y) (taylor 0 y) (#s(alt (*.f64 #s(literal -1/200 binary64) y) (patch (*.f64 #s(literal -1/200 binary64) y) #<representation binary64>) () ())) ())
#s(alt (* -1/200 y) (taylor 0 y) (#s(alt (*.f64 #s(literal -1/200 binary64) y) (patch (*.f64 #s(literal -1/200 binary64) y) #<representation binary64>) () ())) ())
#s(alt (* -1/200 y) (taylor 0 y) (#s(alt (*.f64 #s(literal -1/200 binary64) y) (patch (*.f64 #s(literal -1/200 binary64) y) #<representation binary64>) () ())) ())
#s(alt x (taylor 0 y) (#s(alt (fma.f64 y #s(literal -1/200 binary64) x) (patch (fma.f64 y #s(literal -1/200 binary64) x) #<representation binary64>) () ())) ())
#s(alt (+ x (* -1/200 y)) (taylor 0 y) (#s(alt (fma.f64 y #s(literal -1/200 binary64) x) (patch (fma.f64 y #s(literal -1/200 binary64) x) #<representation binary64>) () ())) ())
#s(alt (+ x (* -1/200 y)) (taylor 0 y) (#s(alt (fma.f64 y #s(literal -1/200 binary64) x) (patch (fma.f64 y #s(literal -1/200 binary64) x) #<representation binary64>) () ())) ())
#s(alt (+ x (* -1/200 y)) (taylor 0 y) (#s(alt (fma.f64 y #s(literal -1/200 binary64) x) (patch (fma.f64 y #s(literal -1/200 binary64) x) #<representation binary64>) () ())) ())
#s(alt (* -1/200 y) (taylor inf y) (#s(alt #s(approx (- x (/ y 200)) (*.f64 #s(literal -1/200 binary64) y)) (patch #s(approx (- x (/ y 200)) (*.f64 #s(literal -1/200 binary64) y)) #<representation binary64>) () ())) ())
#s(alt (* y (- (/ x y) 1/200)) (taylor inf y) (#s(alt #s(approx (- x (/ y 200)) (*.f64 #s(literal -1/200 binary64) y)) (patch #s(approx (- x (/ y 200)) (*.f64 #s(literal -1/200 binary64) y)) #<representation binary64>) () ())) ())
#s(alt (* y (- (/ x y) 1/200)) (taylor inf y) (#s(alt #s(approx (- x (/ y 200)) (*.f64 #s(literal -1/200 binary64) y)) (patch #s(approx (- x (/ y 200)) (*.f64 #s(literal -1/200 binary64) y)) #<representation binary64>) () ())) ())
#s(alt (* y (- (/ x y) 1/200)) (taylor inf y) (#s(alt #s(approx (- x (/ y 200)) (*.f64 #s(literal -1/200 binary64) y)) (patch #s(approx (- x (/ y 200)) (*.f64 #s(literal -1/200 binary64) y)) #<representation binary64>) () ())) ())
#s(alt (* -1/200 y) (taylor inf y) (#s(alt (*.f64 #s(literal -1/200 binary64) y) (patch (*.f64 #s(literal -1/200 binary64) y) #<representation binary64>) () ())) ())
#s(alt (* -1/200 y) (taylor inf y) (#s(alt (*.f64 #s(literal -1/200 binary64) y) (patch (*.f64 #s(literal -1/200 binary64) y) #<representation binary64>) () ())) ())
#s(alt (* -1/200 y) (taylor inf y) (#s(alt (*.f64 #s(literal -1/200 binary64) y) (patch (*.f64 #s(literal -1/200 binary64) y) #<representation binary64>) () ())) ())
#s(alt (* -1/200 y) (taylor inf y) (#s(alt (*.f64 #s(literal -1/200 binary64) y) (patch (*.f64 #s(literal -1/200 binary64) y) #<representation binary64>) () ())) ())
#s(alt (* -1/200 y) (taylor inf y) (#s(alt (fma.f64 y #s(literal -1/200 binary64) x) (patch (fma.f64 y #s(literal -1/200 binary64) x) #<representation binary64>) () ())) ())
#s(alt (* y (- (/ x y) 1/200)) (taylor inf y) (#s(alt (fma.f64 y #s(literal -1/200 binary64) x) (patch (fma.f64 y #s(literal -1/200 binary64) x) #<representation binary64>) () ())) ())
#s(alt (* y (- (/ x y) 1/200)) (taylor inf y) (#s(alt (fma.f64 y #s(literal -1/200 binary64) x) (patch (fma.f64 y #s(literal -1/200 binary64) x) #<representation binary64>) () ())) ())
#s(alt (* y (- (/ x y) 1/200)) (taylor inf y) (#s(alt (fma.f64 y #s(literal -1/200 binary64) x) (patch (fma.f64 y #s(literal -1/200 binary64) x) #<representation binary64>) () ())) ())
#s(alt (* -1/200 y) (taylor -inf y) (#s(alt #s(approx (- x (/ y 200)) (*.f64 #s(literal -1/200 binary64) y)) (patch #s(approx (- x (/ y 200)) (*.f64 #s(literal -1/200 binary64) y)) #<representation binary64>) () ())) ())
#s(alt (* -1 (* y (+ 1/200 (* -1 (/ x y))))) (taylor -inf y) (#s(alt #s(approx (- x (/ y 200)) (*.f64 #s(literal -1/200 binary64) y)) (patch #s(approx (- x (/ y 200)) (*.f64 #s(literal -1/200 binary64) y)) #<representation binary64>) () ())) ())
#s(alt (* -1 (* y (+ 1/200 (* -1 (/ x y))))) (taylor -inf y) (#s(alt #s(approx (- x (/ y 200)) (*.f64 #s(literal -1/200 binary64) y)) (patch #s(approx (- x (/ y 200)) (*.f64 #s(literal -1/200 binary64) y)) #<representation binary64>) () ())) ())
#s(alt (* -1 (* y (+ 1/200 (* -1 (/ x y))))) (taylor -inf y) (#s(alt #s(approx (- x (/ y 200)) (*.f64 #s(literal -1/200 binary64) y)) (patch #s(approx (- x (/ y 200)) (*.f64 #s(literal -1/200 binary64) y)) #<representation binary64>) () ())) ())
#s(alt (* -1/200 y) (taylor -inf y) (#s(alt (*.f64 #s(literal -1/200 binary64) y) (patch (*.f64 #s(literal -1/200 binary64) y) #<representation binary64>) () ())) ())
#s(alt (* -1/200 y) (taylor -inf y) (#s(alt (*.f64 #s(literal -1/200 binary64) y) (patch (*.f64 #s(literal -1/200 binary64) y) #<representation binary64>) () ())) ())
#s(alt (* -1/200 y) (taylor -inf y) (#s(alt (*.f64 #s(literal -1/200 binary64) y) (patch (*.f64 #s(literal -1/200 binary64) y) #<representation binary64>) () ())) ())
#s(alt (* -1/200 y) (taylor -inf y) (#s(alt (*.f64 #s(literal -1/200 binary64) y) (patch (*.f64 #s(literal -1/200 binary64) y) #<representation binary64>) () ())) ())
#s(alt (* -1/200 y) (taylor -inf y) (#s(alt (fma.f64 y #s(literal -1/200 binary64) x) (patch (fma.f64 y #s(literal -1/200 binary64) x) #<representation binary64>) () ())) ())
#s(alt (* -1 (* y (+ 1/200 (* -1 (/ x y))))) (taylor -inf y) (#s(alt (fma.f64 y #s(literal -1/200 binary64) x) (patch (fma.f64 y #s(literal -1/200 binary64) x) #<representation binary64>) () ())) ())
#s(alt (* -1 (* y (+ 1/200 (* -1 (/ x y))))) (taylor -inf y) (#s(alt (fma.f64 y #s(literal -1/200 binary64) x) (patch (fma.f64 y #s(literal -1/200 binary64) x) #<representation binary64>) () ())) ())
#s(alt (* -1 (* y (+ 1/200 (* -1 (/ x y))))) (taylor -inf y) (#s(alt (fma.f64 y #s(literal -1/200 binary64) x) (patch (fma.f64 y #s(literal -1/200 binary64) x) #<representation binary64>) () ())) ())
#s(alt (* -1/200 y) (taylor 0 x) (#s(alt #s(approx (- x (/ y 200)) (*.f64 #s(literal -1/200 binary64) y)) (patch #s(approx (- x (/ y 200)) (*.f64 #s(literal -1/200 binary64) y)) #<representation binary64>) () ())) ())
#s(alt (- x (* 1/200 y)) (taylor 0 x) (#s(alt #s(approx (- x (/ y 200)) (*.f64 #s(literal -1/200 binary64) y)) (patch #s(approx (- x (/ y 200)) (*.f64 #s(literal -1/200 binary64) y)) #<representation binary64>) () ())) ())
#s(alt (- x (* 1/200 y)) (taylor 0 x) (#s(alt #s(approx (- x (/ y 200)) (*.f64 #s(literal -1/200 binary64) y)) (patch #s(approx (- x (/ y 200)) (*.f64 #s(literal -1/200 binary64) y)) #<representation binary64>) () ())) ())
#s(alt (- x (* 1/200 y)) (taylor 0 x) (#s(alt #s(approx (- x (/ y 200)) (*.f64 #s(literal -1/200 binary64) y)) (patch #s(approx (- x (/ y 200)) (*.f64 #s(literal -1/200 binary64) y)) #<representation binary64>) () ())) ())
#s(alt (* -1/200 y) (taylor 0 x) (#s(alt (fma.f64 y #s(literal -1/200 binary64) x) (patch (fma.f64 y #s(literal -1/200 binary64) x) #<representation binary64>) () ())) ())
#s(alt (+ x (* -1/200 y)) (taylor 0 x) (#s(alt (fma.f64 y #s(literal -1/200 binary64) x) (patch (fma.f64 y #s(literal -1/200 binary64) x) #<representation binary64>) () ())) ())
#s(alt (+ x (* -1/200 y)) (taylor 0 x) (#s(alt (fma.f64 y #s(literal -1/200 binary64) x) (patch (fma.f64 y #s(literal -1/200 binary64) x) #<representation binary64>) () ())) ())
#s(alt (+ x (* -1/200 y)) (taylor 0 x) (#s(alt (fma.f64 y #s(literal -1/200 binary64) x) (patch (fma.f64 y #s(literal -1/200 binary64) x) #<representation binary64>) () ())) ())
#s(alt x (taylor inf x) (#s(alt #s(approx (- x (/ y 200)) (*.f64 #s(literal -1/200 binary64) y)) (patch #s(approx (- x (/ y 200)) (*.f64 #s(literal -1/200 binary64) y)) #<representation binary64>) () ())) ())
#s(alt (* x (+ 1 (* -1/200 (/ y x)))) (taylor inf x) (#s(alt #s(approx (- x (/ y 200)) (*.f64 #s(literal -1/200 binary64) y)) (patch #s(approx (- x (/ y 200)) (*.f64 #s(literal -1/200 binary64) y)) #<representation binary64>) () ())) ())
#s(alt (* x (+ 1 (* -1/200 (/ y x)))) (taylor inf x) (#s(alt #s(approx (- x (/ y 200)) (*.f64 #s(literal -1/200 binary64) y)) (patch #s(approx (- x (/ y 200)) (*.f64 #s(literal -1/200 binary64) y)) #<representation binary64>) () ())) ())
#s(alt (* x (+ 1 (* -1/200 (/ y x)))) (taylor inf x) (#s(alt #s(approx (- x (/ y 200)) (*.f64 #s(literal -1/200 binary64) y)) (patch #s(approx (- x (/ y 200)) (*.f64 #s(literal -1/200 binary64) y)) #<representation binary64>) () ())) ())
#s(alt x (taylor inf x) (#s(alt (fma.f64 y #s(literal -1/200 binary64) x) (patch (fma.f64 y #s(literal -1/200 binary64) x) #<representation binary64>) () ())) ())
#s(alt (* x (+ 1 (* -1/200 (/ y x)))) (taylor inf x) (#s(alt (fma.f64 y #s(literal -1/200 binary64) x) (patch (fma.f64 y #s(literal -1/200 binary64) x) #<representation binary64>) () ())) ())
#s(alt (* x (+ 1 (* -1/200 (/ y x)))) (taylor inf x) (#s(alt (fma.f64 y #s(literal -1/200 binary64) x) (patch (fma.f64 y #s(literal -1/200 binary64) x) #<representation binary64>) () ())) ())
#s(alt (* x (+ 1 (* -1/200 (/ y x)))) (taylor inf x) (#s(alt (fma.f64 y #s(literal -1/200 binary64) x) (patch (fma.f64 y #s(literal -1/200 binary64) x) #<representation binary64>) () ())) ())
#s(alt x (taylor -inf x) (#s(alt #s(approx (- x (/ y 200)) (*.f64 #s(literal -1/200 binary64) y)) (patch #s(approx (- x (/ y 200)) (*.f64 #s(literal -1/200 binary64) y)) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x (- (* 1/200 (/ y x)) 1))) (taylor -inf x) (#s(alt #s(approx (- x (/ y 200)) (*.f64 #s(literal -1/200 binary64) y)) (patch #s(approx (- x (/ y 200)) (*.f64 #s(literal -1/200 binary64) y)) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x (- (* 1/200 (/ y x)) 1))) (taylor -inf x) (#s(alt #s(approx (- x (/ y 200)) (*.f64 #s(literal -1/200 binary64) y)) (patch #s(approx (- x (/ y 200)) (*.f64 #s(literal -1/200 binary64) y)) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x (- (* 1/200 (/ y x)) 1))) (taylor -inf x) (#s(alt #s(approx (- x (/ y 200)) (*.f64 #s(literal -1/200 binary64) y)) (patch #s(approx (- x (/ y 200)) (*.f64 #s(literal -1/200 binary64) y)) #<representation binary64>) () ())) ())
#s(alt x (taylor -inf x) (#s(alt (fma.f64 y #s(literal -1/200 binary64) x) (patch (fma.f64 y #s(literal -1/200 binary64) x) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x (- (* 1/200 (/ y x)) 1))) (taylor -inf x) (#s(alt (fma.f64 y #s(literal -1/200 binary64) x) (patch (fma.f64 y #s(literal -1/200 binary64) x) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x (- (* 1/200 (/ y x)) 1))) (taylor -inf x) (#s(alt (fma.f64 y #s(literal -1/200 binary64) x) (patch (fma.f64 y #s(literal -1/200 binary64) x) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x (- (* 1/200 (/ y x)) 1))) (taylor -inf x) (#s(alt (fma.f64 y #s(literal -1/200 binary64) x) (patch (fma.f64 y #s(literal -1/200 binary64) x) #<representation binary64>) () ())) ())
Calls

6 calls:

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

simplify201.0ms (5.8%)

Memory
-14.3MiB live, 140.0MiB allocated
Algorithm
egg-herbie
Rules
3 160×lower-fma.f64
3 160×lower-fma.f32
2 584×lower-*.f64
2 584×lower-*.f32
2 384×lower-/.f32
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
025240
168240
2170240
3456240
41244240
52466240
63268240
73604240
83900240
94084240
105232240
116028240
126796240
137064240
147844240
08380204
Stop Event
iter limit
node limit
Counts
60 → 54
Calls
Call 1
Inputs
x
(+ x (* -1/200 y))
(+ x (* -1/200 y))
(+ x (* -1/200 y))
(* -1/200 y)
(* -1/200 y)
(* -1/200 y)
(* -1/200 y)
x
(+ x (* -1/200 y))
(+ x (* -1/200 y))
(+ x (* -1/200 y))
(* -1/200 y)
(* y (- (/ x y) 1/200))
(* y (- (/ x y) 1/200))
(* y (- (/ x y) 1/200))
(* -1/200 y)
(* -1/200 y)
(* -1/200 y)
(* -1/200 y)
(* -1/200 y)
(* y (- (/ x y) 1/200))
(* y (- (/ x y) 1/200))
(* y (- (/ x y) 1/200))
(* -1/200 y)
(* -1 (* y (+ 1/200 (* -1 (/ x y)))))
(* -1 (* y (+ 1/200 (* -1 (/ x y)))))
(* -1 (* y (+ 1/200 (* -1 (/ x y)))))
(* -1/200 y)
(* -1/200 y)
(* -1/200 y)
(* -1/200 y)
(* -1/200 y)
(* -1 (* y (+ 1/200 (* -1 (/ x y)))))
(* -1 (* y (+ 1/200 (* -1 (/ x y)))))
(* -1 (* y (+ 1/200 (* -1 (/ x y)))))
(* -1/200 y)
(- x (* 1/200 y))
(- x (* 1/200 y))
(- x (* 1/200 y))
(* -1/200 y)
(+ x (* -1/200 y))
(+ x (* -1/200 y))
(+ x (* -1/200 y))
x
(* x (+ 1 (* -1/200 (/ y x))))
(* x (+ 1 (* -1/200 (/ y x))))
(* x (+ 1 (* -1/200 (/ y x))))
x
(* x (+ 1 (* -1/200 (/ y x))))
(* x (+ 1 (* -1/200 (/ y x))))
(* x (+ 1 (* -1/200 (/ y x))))
x
(* -1 (* x (- (* 1/200 (/ y x)) 1)))
(* -1 (* x (- (* 1/200 (/ y x)) 1)))
(* -1 (* x (- (* 1/200 (/ y x)) 1)))
x
(* -1 (* x (- (* 1/200 (/ y x)) 1)))
(* -1 (* x (- (* 1/200 (/ y x)) 1)))
(* -1 (* x (- (* 1/200 (/ y x)) 1)))
Outputs
x
(+ x (* -1/200 y))
(fma.f64 y #s(literal -1/200 binary64) x)
(+ x (* -1/200 y))
(fma.f64 y #s(literal -1/200 binary64) x)
(+ x (* -1/200 y))
(fma.f64 y #s(literal -1/200 binary64) x)
(* -1/200 y)
(*.f64 y #s(literal -1/200 binary64))
(* -1/200 y)
(*.f64 y #s(literal -1/200 binary64))
(* -1/200 y)
(*.f64 y #s(literal -1/200 binary64))
(* -1/200 y)
(*.f64 y #s(literal -1/200 binary64))
x
(+ x (* -1/200 y))
(fma.f64 y #s(literal -1/200 binary64) x)
(+ x (* -1/200 y))
(fma.f64 y #s(literal -1/200 binary64) x)
(+ x (* -1/200 y))
(fma.f64 y #s(literal -1/200 binary64) x)
(* -1/200 y)
(*.f64 y #s(literal -1/200 binary64))
(* y (- (/ x y) 1/200))
(fma.f64 y #s(literal -1/200 binary64) x)
(* y (- (/ x y) 1/200))
(fma.f64 y #s(literal -1/200 binary64) x)
(* y (- (/ x y) 1/200))
(fma.f64 y #s(literal -1/200 binary64) x)
(* -1/200 y)
(*.f64 y #s(literal -1/200 binary64))
(* -1/200 y)
(*.f64 y #s(literal -1/200 binary64))
(* -1/200 y)
(*.f64 y #s(literal -1/200 binary64))
(* -1/200 y)
(*.f64 y #s(literal -1/200 binary64))
(* -1/200 y)
(*.f64 y #s(literal -1/200 binary64))
(* y (- (/ x y) 1/200))
(fma.f64 y #s(literal -1/200 binary64) x)
(* y (- (/ x y) 1/200))
(fma.f64 y #s(literal -1/200 binary64) x)
(* y (- (/ x y) 1/200))
(fma.f64 y #s(literal -1/200 binary64) x)
(* -1/200 y)
(*.f64 y #s(literal -1/200 binary64))
(* -1 (* y (+ 1/200 (* -1 (/ x y)))))
(fma.f64 y #s(literal -1/200 binary64) x)
(* -1 (* y (+ 1/200 (* -1 (/ x y)))))
(fma.f64 y #s(literal -1/200 binary64) x)
(* -1 (* y (+ 1/200 (* -1 (/ x y)))))
(fma.f64 y #s(literal -1/200 binary64) x)
(* -1/200 y)
(*.f64 y #s(literal -1/200 binary64))
(* -1/200 y)
(*.f64 y #s(literal -1/200 binary64))
(* -1/200 y)
(*.f64 y #s(literal -1/200 binary64))
(* -1/200 y)
(*.f64 y #s(literal -1/200 binary64))
(* -1/200 y)
(*.f64 y #s(literal -1/200 binary64))
(* -1 (* y (+ 1/200 (* -1 (/ x y)))))
(fma.f64 y #s(literal -1/200 binary64) x)
(* -1 (* y (+ 1/200 (* -1 (/ x y)))))
(fma.f64 y #s(literal -1/200 binary64) x)
(* -1 (* y (+ 1/200 (* -1 (/ x y)))))
(fma.f64 y #s(literal -1/200 binary64) x)
(* -1/200 y)
(*.f64 y #s(literal -1/200 binary64))
(- x (* 1/200 y))
(fma.f64 y #s(literal -1/200 binary64) x)
(- x (* 1/200 y))
(fma.f64 y #s(literal -1/200 binary64) x)
(- x (* 1/200 y))
(fma.f64 y #s(literal -1/200 binary64) x)
(* -1/200 y)
(*.f64 y #s(literal -1/200 binary64))
(+ x (* -1/200 y))
(fma.f64 y #s(literal -1/200 binary64) x)
(+ x (* -1/200 y))
(fma.f64 y #s(literal -1/200 binary64) x)
(+ x (* -1/200 y))
(fma.f64 y #s(literal -1/200 binary64) x)
x
(* x (+ 1 (* -1/200 (/ y x))))
(fma.f64 y #s(literal -1/200 binary64) x)
(* x (+ 1 (* -1/200 (/ y x))))
(fma.f64 y #s(literal -1/200 binary64) x)
(* x (+ 1 (* -1/200 (/ y x))))
(fma.f64 y #s(literal -1/200 binary64) x)
x
(* x (+ 1 (* -1/200 (/ y x))))
(fma.f64 y #s(literal -1/200 binary64) x)
(* x (+ 1 (* -1/200 (/ y x))))
(fma.f64 y #s(literal -1/200 binary64) x)
(* x (+ 1 (* -1/200 (/ y x))))
(fma.f64 y #s(literal -1/200 binary64) x)
x
(* -1 (* x (- (* 1/200 (/ y x)) 1)))
(fma.f64 y #s(literal -1/200 binary64) x)
(* -1 (* x (- (* 1/200 (/ y x)) 1)))
(fma.f64 y #s(literal -1/200 binary64) x)
(* -1 (* x (- (* 1/200 (/ y x)) 1)))
(fma.f64 y #s(literal -1/200 binary64) x)
x
(* -1 (* x (- (* 1/200 (/ y x)) 1)))
(fma.f64 y #s(literal -1/200 binary64) x)
(* -1 (* x (- (* 1/200 (/ y x)) 1)))
(fma.f64 y #s(literal -1/200 binary64) x)
(* -1 (* x (- (* 1/200 (/ y x)) 1)))
(fma.f64 y #s(literal -1/200 binary64) x)

rewrite144.0ms (4.1%)

Memory
3.9MiB live, 161.0MiB allocated
Rules
4 868×lower-fma.f32
4 866×lower-fma.f64
3 436×lower-*.f32
3 434×lower-*.f64
2 340×lower-/.f64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
0916
01216
14915
239915
3647815
0820615
Stop Event
iter limit
node limit
iter limit
Counts
3 → 141
Calls
Call 1
Inputs
#s(approx (- x (/ y 200)) (*.f64 #s(literal -1/200 binary64) y))
(*.f64 #s(literal -1/200 binary64) y)
(fma.f64 y #s(literal -1/200 binary64) 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>

eval23.0ms (0.7%)

Memory
10.4MiB live, 46.0MiB allocated
Compiler

Compiled 3 387 to 413 computations (87.8% saved)

prune7.0ms (0.2%)

Memory
19.2MiB live, 19.2MiB allocated
Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New1941195
Fresh000
Picked022
Done101
Total1953198
Accuracy
100.0%
Counts
198 → 3
Alt Table
Click to see full alt table
StatusAccuracyProgram
99.9%
(fma.f64 y #s(literal -1/200 binary64) x)
45.4%
#s(approx (- x (/ y 200)) (/.f64 y #s(literal -200 binary64)))
45.3%
#s(approx (- x (/ y 200)) (*.f64 #s(literal -1/200 binary64) y))
Compiler

Compiled 12 to 14 computations (-16.7% saved)

simplify22.0ms (0.6%)

Memory
-26.6MiB live, 22.0MiB allocated
Algorithm
egg-herbie
Localize:

Found 2 expressions of interest:

NewMetricScoreProgram
cost-diff0
#s(approx (- x (/ y 200)) (/.f64 y #s(literal -200 binary64)))
cost-diff384
(/.f64 y #s(literal -200 binary64))
Rules
128×lower-fma.f64
128×lower-fma.f32
80×lower-*.f64
80×lower-*.f32
40×lower-+.f64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0814
0914
11114
22014
32814
44114
56014
69614
712814
818314
921414
1024714
1124814
024813
Stop Event
iter limit
saturated
iter limit
Calls
Call 1
Inputs
#s(approx (- x (/ y 200)) (/.f64 y #s(literal -200 binary64)))
(/.f64 y #s(literal -200 binary64))
y
#s(literal -200 binary64)
Outputs
#s(approx (- x (/ y 200)) (/.f64 y #s(literal -200 binary64)))
#s(approx (- x (/ y 200)) (*.f64 #s(literal -1/200 binary64) y))
(/.f64 y #s(literal -200 binary64))
(*.f64 #s(literal -1/200 binary64) y)
y
#s(literal -200 binary64)

localize16.0ms (0.5%)

Memory
27.3MiB live, 27.3MiB allocated
Localize:

Found 2 expressions of interest:

NewMetricScoreProgram
accuracy0
(/.f64 y #s(literal -200 binary64))
accuracy34.96967661747678
#s(approx (- x (/ y 200)) (/.f64 y #s(literal -200 binary64)))
Samples
12.0ms256×0valid
Compiler

Compiled 12 to 9 computations (25% saved)

Precisions
Click to see histograms. Total time spent on operations: 6.0ms
ival-div: 4.0ms (70.1% of total)
ival-sub: 1.0ms (17.5% of total)
ival-true: 0.0ms (0% of total)
exact: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

series4.0ms (0.1%)

Memory
-31.0MiB live, 7.6MiB allocated
Counts
2 → 36
Calls
Call 1
Inputs
#s(alt (/.f64 y #s(literal -200 binary64)) (patch (/.f64 y #s(literal -200 binary64)) #<representation binary64>) () ())
#s(alt #s(approx (- x (/ y 200)) (/.f64 y #s(literal -200 binary64))) (patch #s(approx (- x (/ y 200)) (/.f64 y #s(literal -200 binary64))) #<representation binary64>) () ())
Outputs
#s(alt (* -1/200 y) (taylor 0 y) (#s(alt (/.f64 y #s(literal -200 binary64)) (patch (/.f64 y #s(literal -200 binary64)) #<representation binary64>) () ())) ())
#s(alt (* -1/200 y) (taylor 0 y) (#s(alt (/.f64 y #s(literal -200 binary64)) (patch (/.f64 y #s(literal -200 binary64)) #<representation binary64>) () ())) ())
#s(alt (* -1/200 y) (taylor 0 y) (#s(alt (/.f64 y #s(literal -200 binary64)) (patch (/.f64 y #s(literal -200 binary64)) #<representation binary64>) () ())) ())
#s(alt (* -1/200 y) (taylor 0 y) (#s(alt (/.f64 y #s(literal -200 binary64)) (patch (/.f64 y #s(literal -200 binary64)) #<representation binary64>) () ())) ())
#s(alt x (taylor 0 y) (#s(alt #s(approx (- x (/ y 200)) (/.f64 y #s(literal -200 binary64))) (patch #s(approx (- x (/ y 200)) (/.f64 y #s(literal -200 binary64))) #<representation binary64>) () ())) ())
#s(alt (+ x (* -1/200 y)) (taylor 0 y) (#s(alt #s(approx (- x (/ y 200)) (/.f64 y #s(literal -200 binary64))) (patch #s(approx (- x (/ y 200)) (/.f64 y #s(literal -200 binary64))) #<representation binary64>) () ())) ())
#s(alt (+ x (* -1/200 y)) (taylor 0 y) (#s(alt #s(approx (- x (/ y 200)) (/.f64 y #s(literal -200 binary64))) (patch #s(approx (- x (/ y 200)) (/.f64 y #s(literal -200 binary64))) #<representation binary64>) () ())) ())
#s(alt (+ x (* -1/200 y)) (taylor 0 y) (#s(alt #s(approx (- x (/ y 200)) (/.f64 y #s(literal -200 binary64))) (patch #s(approx (- x (/ y 200)) (/.f64 y #s(literal -200 binary64))) #<representation binary64>) () ())) ())
#s(alt (* -1/200 y) (taylor inf y) (#s(alt (/.f64 y #s(literal -200 binary64)) (patch (/.f64 y #s(literal -200 binary64)) #<representation binary64>) () ())) ())
#s(alt (* -1/200 y) (taylor inf y) (#s(alt (/.f64 y #s(literal -200 binary64)) (patch (/.f64 y #s(literal -200 binary64)) #<representation binary64>) () ())) ())
#s(alt (* -1/200 y) (taylor inf y) (#s(alt (/.f64 y #s(literal -200 binary64)) (patch (/.f64 y #s(literal -200 binary64)) #<representation binary64>) () ())) ())
#s(alt (* -1/200 y) (taylor inf y) (#s(alt (/.f64 y #s(literal -200 binary64)) (patch (/.f64 y #s(literal -200 binary64)) #<representation binary64>) () ())) ())
#s(alt (* -1/200 y) (taylor inf y) (#s(alt #s(approx (- x (/ y 200)) (/.f64 y #s(literal -200 binary64))) (patch #s(approx (- x (/ y 200)) (/.f64 y #s(literal -200 binary64))) #<representation binary64>) () ())) ())
#s(alt (* y (- (/ x y) 1/200)) (taylor inf y) (#s(alt #s(approx (- x (/ y 200)) (/.f64 y #s(literal -200 binary64))) (patch #s(approx (- x (/ y 200)) (/.f64 y #s(literal -200 binary64))) #<representation binary64>) () ())) ())
#s(alt (* y (- (/ x y) 1/200)) (taylor inf y) (#s(alt #s(approx (- x (/ y 200)) (/.f64 y #s(literal -200 binary64))) (patch #s(approx (- x (/ y 200)) (/.f64 y #s(literal -200 binary64))) #<representation binary64>) () ())) ())
#s(alt (* y (- (/ x y) 1/200)) (taylor inf y) (#s(alt #s(approx (- x (/ y 200)) (/.f64 y #s(literal -200 binary64))) (patch #s(approx (- x (/ y 200)) (/.f64 y #s(literal -200 binary64))) #<representation binary64>) () ())) ())
#s(alt (* -1/200 y) (taylor -inf y) (#s(alt (/.f64 y #s(literal -200 binary64)) (patch (/.f64 y #s(literal -200 binary64)) #<representation binary64>) () ())) ())
#s(alt (* -1/200 y) (taylor -inf y) (#s(alt (/.f64 y #s(literal -200 binary64)) (patch (/.f64 y #s(literal -200 binary64)) #<representation binary64>) () ())) ())
#s(alt (* -1/200 y) (taylor -inf y) (#s(alt (/.f64 y #s(literal -200 binary64)) (patch (/.f64 y #s(literal -200 binary64)) #<representation binary64>) () ())) ())
#s(alt (* -1/200 y) (taylor -inf y) (#s(alt (/.f64 y #s(literal -200 binary64)) (patch (/.f64 y #s(literal -200 binary64)) #<representation binary64>) () ())) ())
#s(alt (* -1/200 y) (taylor -inf y) (#s(alt #s(approx (- x (/ y 200)) (/.f64 y #s(literal -200 binary64))) (patch #s(approx (- x (/ y 200)) (/.f64 y #s(literal -200 binary64))) #<representation binary64>) () ())) ())
#s(alt (* -1 (* y (+ 1/200 (* -1 (/ x y))))) (taylor -inf y) (#s(alt #s(approx (- x (/ y 200)) (/.f64 y #s(literal -200 binary64))) (patch #s(approx (- x (/ y 200)) (/.f64 y #s(literal -200 binary64))) #<representation binary64>) () ())) ())
#s(alt (* -1 (* y (+ 1/200 (* -1 (/ x y))))) (taylor -inf y) (#s(alt #s(approx (- x (/ y 200)) (/.f64 y #s(literal -200 binary64))) (patch #s(approx (- x (/ y 200)) (/.f64 y #s(literal -200 binary64))) #<representation binary64>) () ())) ())
#s(alt (* -1 (* y (+ 1/200 (* -1 (/ x y))))) (taylor -inf y) (#s(alt #s(approx (- x (/ y 200)) (/.f64 y #s(literal -200 binary64))) (patch #s(approx (- x (/ y 200)) (/.f64 y #s(literal -200 binary64))) #<representation binary64>) () ())) ())
#s(alt (* -1/200 y) (taylor 0 x) (#s(alt #s(approx (- x (/ y 200)) (/.f64 y #s(literal -200 binary64))) (patch #s(approx (- x (/ y 200)) (/.f64 y #s(literal -200 binary64))) #<representation binary64>) () ())) ())
#s(alt (- x (* 1/200 y)) (taylor 0 x) (#s(alt #s(approx (- x (/ y 200)) (/.f64 y #s(literal -200 binary64))) (patch #s(approx (- x (/ y 200)) (/.f64 y #s(literal -200 binary64))) #<representation binary64>) () ())) ())
#s(alt (- x (* 1/200 y)) (taylor 0 x) (#s(alt #s(approx (- x (/ y 200)) (/.f64 y #s(literal -200 binary64))) (patch #s(approx (- x (/ y 200)) (/.f64 y #s(literal -200 binary64))) #<representation binary64>) () ())) ())
#s(alt (- x (* 1/200 y)) (taylor 0 x) (#s(alt #s(approx (- x (/ y 200)) (/.f64 y #s(literal -200 binary64))) (patch #s(approx (- x (/ y 200)) (/.f64 y #s(literal -200 binary64))) #<representation binary64>) () ())) ())
#s(alt x (taylor inf x) (#s(alt #s(approx (- x (/ y 200)) (/.f64 y #s(literal -200 binary64))) (patch #s(approx (- x (/ y 200)) (/.f64 y #s(literal -200 binary64))) #<representation binary64>) () ())) ())
#s(alt (* x (+ 1 (* -1/200 (/ y x)))) (taylor inf x) (#s(alt #s(approx (- x (/ y 200)) (/.f64 y #s(literal -200 binary64))) (patch #s(approx (- x (/ y 200)) (/.f64 y #s(literal -200 binary64))) #<representation binary64>) () ())) ())
#s(alt (* x (+ 1 (* -1/200 (/ y x)))) (taylor inf x) (#s(alt #s(approx (- x (/ y 200)) (/.f64 y #s(literal -200 binary64))) (patch #s(approx (- x (/ y 200)) (/.f64 y #s(literal -200 binary64))) #<representation binary64>) () ())) ())
#s(alt (* x (+ 1 (* -1/200 (/ y x)))) (taylor inf x) (#s(alt #s(approx (- x (/ y 200)) (/.f64 y #s(literal -200 binary64))) (patch #s(approx (- x (/ y 200)) (/.f64 y #s(literal -200 binary64))) #<representation binary64>) () ())) ())
#s(alt x (taylor -inf x) (#s(alt #s(approx (- x (/ y 200)) (/.f64 y #s(literal -200 binary64))) (patch #s(approx (- x (/ y 200)) (/.f64 y #s(literal -200 binary64))) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x (- (* 1/200 (/ y x)) 1))) (taylor -inf x) (#s(alt #s(approx (- x (/ y 200)) (/.f64 y #s(literal -200 binary64))) (patch #s(approx (- x (/ y 200)) (/.f64 y #s(literal -200 binary64))) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x (- (* 1/200 (/ y x)) 1))) (taylor -inf x) (#s(alt #s(approx (- x (/ y 200)) (/.f64 y #s(literal -200 binary64))) (patch #s(approx (- x (/ y 200)) (/.f64 y #s(literal -200 binary64))) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x (- (* 1/200 (/ y x)) 1))) (taylor -inf x) (#s(alt #s(approx (- x (/ y 200)) (/.f64 y #s(literal -200 binary64))) (patch #s(approx (- x (/ y 200)) (/.f64 y #s(literal -200 binary64))) #<representation binary64>) () ())) ())
Calls

6 calls:

TimeVariablePointExpression
1.0ms
x
@inf
((/ y -200) (- x (/ y 200)))
0.0ms
y
@inf
((/ y -200) (- x (/ y 200)))
0.0ms
y
@-inf
((/ y -200) (- x (/ y 200)))
0.0ms
y
@0
((/ y -200) (- x (/ y 200)))
0.0ms
x
@-inf
((/ y -200) (- x (/ y 200)))

simplify180.0ms (5.2%)

Memory
26.4MiB live, 147.3MiB allocated
Algorithm
egg-herbie
Rules
3 160×lower-fma.f64
3 160×lower-fma.f32
2 584×lower-*.f64
2 584×lower-*.f32
2 384×lower-/.f32
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
025138
168138
2170138
3456138
41245138
52470138
63272138
73608138
83904138
94087138
105232138
116028138
126796138
137064138
147844138
08380120
Stop Event
iter limit
node limit
Counts
36 → 33
Calls
Call 1
Inputs
(* -1/200 y)
(* -1/200 y)
(* -1/200 y)
(* -1/200 y)
x
(+ x (* -1/200 y))
(+ x (* -1/200 y))
(+ x (* -1/200 y))
(* -1/200 y)
(* -1/200 y)
(* -1/200 y)
(* -1/200 y)
(* -1/200 y)
(* y (- (/ x y) 1/200))
(* y (- (/ x y) 1/200))
(* y (- (/ x y) 1/200))
(* -1/200 y)
(* -1/200 y)
(* -1/200 y)
(* -1/200 y)
(* -1/200 y)
(* -1 (* y (+ 1/200 (* -1 (/ x y)))))
(* -1 (* y (+ 1/200 (* -1 (/ x y)))))
(* -1 (* y (+ 1/200 (* -1 (/ x y)))))
(* -1/200 y)
(- x (* 1/200 y))
(- x (* 1/200 y))
(- x (* 1/200 y))
x
(* x (+ 1 (* -1/200 (/ y x))))
(* x (+ 1 (* -1/200 (/ y x))))
(* x (+ 1 (* -1/200 (/ y x))))
x
(* -1 (* x (- (* 1/200 (/ y x)) 1)))
(* -1 (* x (- (* 1/200 (/ y x)) 1)))
(* -1 (* x (- (* 1/200 (/ y x)) 1)))
Outputs
(* -1/200 y)
(*.f64 y #s(literal -1/200 binary64))
(* -1/200 y)
(*.f64 y #s(literal -1/200 binary64))
(* -1/200 y)
(*.f64 y #s(literal -1/200 binary64))
(* -1/200 y)
(*.f64 y #s(literal -1/200 binary64))
x
(+ x (* -1/200 y))
(fma.f64 y #s(literal -1/200 binary64) x)
(+ x (* -1/200 y))
(fma.f64 y #s(literal -1/200 binary64) x)
(+ x (* -1/200 y))
(fma.f64 y #s(literal -1/200 binary64) x)
(* -1/200 y)
(*.f64 y #s(literal -1/200 binary64))
(* -1/200 y)
(*.f64 y #s(literal -1/200 binary64))
(* -1/200 y)
(*.f64 y #s(literal -1/200 binary64))
(* -1/200 y)
(*.f64 y #s(literal -1/200 binary64))
(* -1/200 y)
(*.f64 y #s(literal -1/200 binary64))
(* y (- (/ x y) 1/200))
(fma.f64 y #s(literal -1/200 binary64) x)
(* y (- (/ x y) 1/200))
(fma.f64 y #s(literal -1/200 binary64) x)
(* y (- (/ x y) 1/200))
(fma.f64 y #s(literal -1/200 binary64) x)
(* -1/200 y)
(*.f64 y #s(literal -1/200 binary64))
(* -1/200 y)
(*.f64 y #s(literal -1/200 binary64))
(* -1/200 y)
(*.f64 y #s(literal -1/200 binary64))
(* -1/200 y)
(*.f64 y #s(literal -1/200 binary64))
(* -1/200 y)
(*.f64 y #s(literal -1/200 binary64))
(* -1 (* y (+ 1/200 (* -1 (/ x y)))))
(fma.f64 y #s(literal -1/200 binary64) x)
(* -1 (* y (+ 1/200 (* -1 (/ x y)))))
(fma.f64 y #s(literal -1/200 binary64) x)
(* -1 (* y (+ 1/200 (* -1 (/ x y)))))
(fma.f64 y #s(literal -1/200 binary64) x)
(* -1/200 y)
(*.f64 y #s(literal -1/200 binary64))
(- x (* 1/200 y))
(fma.f64 y #s(literal -1/200 binary64) x)
(- x (* 1/200 y))
(fma.f64 y #s(literal -1/200 binary64) x)
(- x (* 1/200 y))
(fma.f64 y #s(literal -1/200 binary64) x)
x
(* x (+ 1 (* -1/200 (/ y x))))
(fma.f64 y #s(literal -1/200 binary64) x)
(* x (+ 1 (* -1/200 (/ y x))))
(fma.f64 y #s(literal -1/200 binary64) x)
(* x (+ 1 (* -1/200 (/ y x))))
(fma.f64 y #s(literal -1/200 binary64) x)
x
(* -1 (* x (- (* 1/200 (/ y x)) 1)))
(fma.f64 y #s(literal -1/200 binary64) x)
(* -1 (* x (- (* 1/200 (/ y x)) 1)))
(fma.f64 y #s(literal -1/200 binary64) x)
(* -1 (* x (- (* 1/200 (/ y x)) 1)))
(fma.f64 y #s(literal -1/200 binary64) x)

rewrite116.0ms (3.3%)

Memory
5.4MiB live, 157.7MiB allocated
Rules
2 862×lower-*.f64
2 862×lower-*.f32
2 754×lower-fma.f64
2 754×lower-fma.f32
2 540×lower-/.f32
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0812
0912
14012
226212
3423412
0905611
Stop Event
iter limit
node limit
iter limit
Counts
2 → 56
Calls
Call 1
Inputs
(/.f64 y #s(literal -200 binary64))
#s(approx (- x (/ y 200)) (/.f64 y #s(literal -200 binary64)))
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>

eval14.0ms (0.4%)

Memory
-6.4MiB live, 26.4MiB allocated
Compiler

Compiled 562 to 166 computations (70.5% saved)

prune5.0ms (0.1%)

Memory
15.5MiB live, 15.5MiB allocated
Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New88189
Fresh000
Picked011
Done022
Total88492
Accuracy
100.0%
Counts
92 → 4
Alt Table
Click to see full alt table
StatusAccuracyProgram
99.9%
(fma.f64 y #s(literal -1/200 binary64) x)
45.4%
#s(approx (- x (/ y 200)) (/.f64 y #s(literal -200 binary64)))
2.2%
#s(approx (- x (/ y 200)) (*.f64 y #s(literal 1/200 binary64)))
45.3%
#s(approx (- x (/ y 200)) (*.f64 #s(literal -1/200 binary64) y))
Compiler

Compiled 16 to 19 computations (-18.8% saved)

simplify12.0ms (0.3%)

Memory
-18.4MiB live, 19.8MiB allocated
Algorithm
egg-herbie
Localize:

Found 2 expressions of interest:

NewMetricScoreProgram
cost-diff0
(*.f64 y #s(literal 1/200 binary64))
cost-diff0
#s(approx (- x (/ y 200)) (*.f64 y #s(literal 1/200 binary64)))
Rules
128×lower-fma.f64
128×lower-fma.f32
80×lower-*.f32
78×lower-*.f64
40×lower-+.f64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0814
0914
11214
22214
33014
44314
56214
69814
712714
818514
921414
1024714
1124814
024813
Stop Event
iter limit
saturated
iter limit
Calls
Call 1
Inputs
#s(approx (- x (/ y 200)) (*.f64 y #s(literal 1/200 binary64)))
(*.f64 y #s(literal 1/200 binary64))
y
#s(literal 1/200 binary64)
Outputs
#s(approx (- x (/ y 200)) (*.f64 y #s(literal 1/200 binary64)))
#s(approx (- x (/ y 200)) (*.f64 #s(literal 1/200 binary64) y))
(*.f64 y #s(literal 1/200 binary64))
(*.f64 #s(literal 1/200 binary64) y)
y
#s(literal 1/200 binary64)

localize27.0ms (0.8%)

Memory
-9.1MiB live, 80.4MiB allocated
Localize:

Found 2 expressions of interest:

NewMetricScoreProgram
accuracy0.09765625
(*.f64 y #s(literal 1/200 binary64))
accuracy62.608283024875504
#s(approx (- x (/ y 200)) (*.f64 y #s(literal 1/200 binary64)))
Samples
22.0ms256×0valid
Compiler

Compiled 12 to 9 computations (25% saved)

Precisions
Click to see histograms. Total time spent on operations: 15.0ms
ival-mult: 8.0ms (53.6% of total)
const: 3.0ms (20.1% of total)
ival-div: 2.0ms (13.4% of total)
ival-sub: 1.0ms (6.7% of total)
ival-true: 0.0ms (0% of total)
exact: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

series2.0ms (0.1%)

Memory
2.9MiB live, 2.9MiB allocated
Counts
2 → 36
Calls
Call 1
Inputs
#s(alt #s(approx (- x (/ y 200)) (*.f64 y #s(literal 1/200 binary64))) (patch #s(approx (- x (/ y 200)) (*.f64 y #s(literal 1/200 binary64))) #<representation binary64>) () ())
#s(alt (*.f64 y #s(literal 1/200 binary64)) (patch (*.f64 y #s(literal 1/200 binary64)) #<representation binary64>) () ())
Outputs
#s(alt x (taylor 0 y) (#s(alt #s(approx (- x (/ y 200)) (*.f64 y #s(literal 1/200 binary64))) (patch #s(approx (- x (/ y 200)) (*.f64 y #s(literal 1/200 binary64))) #<representation binary64>) () ())) ())
#s(alt (+ x (* -1/200 y)) (taylor 0 y) (#s(alt #s(approx (- x (/ y 200)) (*.f64 y #s(literal 1/200 binary64))) (patch #s(approx (- x (/ y 200)) (*.f64 y #s(literal 1/200 binary64))) #<representation binary64>) () ())) ())
#s(alt (+ x (* -1/200 y)) (taylor 0 y) (#s(alt #s(approx (- x (/ y 200)) (*.f64 y #s(literal 1/200 binary64))) (patch #s(approx (- x (/ y 200)) (*.f64 y #s(literal 1/200 binary64))) #<representation binary64>) () ())) ())
#s(alt (+ x (* -1/200 y)) (taylor 0 y) (#s(alt #s(approx (- x (/ y 200)) (*.f64 y #s(literal 1/200 binary64))) (patch #s(approx (- x (/ y 200)) (*.f64 y #s(literal 1/200 binary64))) #<representation binary64>) () ())) ())
#s(alt (* 1/200 y) (taylor 0 y) (#s(alt (*.f64 y #s(literal 1/200 binary64)) (patch (*.f64 y #s(literal 1/200 binary64)) #<representation binary64>) () ())) ())
#s(alt (* 1/200 y) (taylor 0 y) (#s(alt (*.f64 y #s(literal 1/200 binary64)) (patch (*.f64 y #s(literal 1/200 binary64)) #<representation binary64>) () ())) ())
#s(alt (* 1/200 y) (taylor 0 y) (#s(alt (*.f64 y #s(literal 1/200 binary64)) (patch (*.f64 y #s(literal 1/200 binary64)) #<representation binary64>) () ())) ())
#s(alt (* 1/200 y) (taylor 0 y) (#s(alt (*.f64 y #s(literal 1/200 binary64)) (patch (*.f64 y #s(literal 1/200 binary64)) #<representation binary64>) () ())) ())
#s(alt (* -1/200 y) (taylor inf y) (#s(alt #s(approx (- x (/ y 200)) (*.f64 y #s(literal 1/200 binary64))) (patch #s(approx (- x (/ y 200)) (*.f64 y #s(literal 1/200 binary64))) #<representation binary64>) () ())) ())
#s(alt (* y (- (/ x y) 1/200)) (taylor inf y) (#s(alt #s(approx (- x (/ y 200)) (*.f64 y #s(literal 1/200 binary64))) (patch #s(approx (- x (/ y 200)) (*.f64 y #s(literal 1/200 binary64))) #<representation binary64>) () ())) ())
#s(alt (* y (- (/ x y) 1/200)) (taylor inf y) (#s(alt #s(approx (- x (/ y 200)) (*.f64 y #s(literal 1/200 binary64))) (patch #s(approx (- x (/ y 200)) (*.f64 y #s(literal 1/200 binary64))) #<representation binary64>) () ())) ())
#s(alt (* y (- (/ x y) 1/200)) (taylor inf y) (#s(alt #s(approx (- x (/ y 200)) (*.f64 y #s(literal 1/200 binary64))) (patch #s(approx (- x (/ y 200)) (*.f64 y #s(literal 1/200 binary64))) #<representation binary64>) () ())) ())
#s(alt (* 1/200 y) (taylor inf y) (#s(alt (*.f64 y #s(literal 1/200 binary64)) (patch (*.f64 y #s(literal 1/200 binary64)) #<representation binary64>) () ())) ())
#s(alt (* 1/200 y) (taylor inf y) (#s(alt (*.f64 y #s(literal 1/200 binary64)) (patch (*.f64 y #s(literal 1/200 binary64)) #<representation binary64>) () ())) ())
#s(alt (* 1/200 y) (taylor inf y) (#s(alt (*.f64 y #s(literal 1/200 binary64)) (patch (*.f64 y #s(literal 1/200 binary64)) #<representation binary64>) () ())) ())
#s(alt (* 1/200 y) (taylor inf y) (#s(alt (*.f64 y #s(literal 1/200 binary64)) (patch (*.f64 y #s(literal 1/200 binary64)) #<representation binary64>) () ())) ())
#s(alt (* -1/200 y) (taylor -inf y) (#s(alt #s(approx (- x (/ y 200)) (*.f64 y #s(literal 1/200 binary64))) (patch #s(approx (- x (/ y 200)) (*.f64 y #s(literal 1/200 binary64))) #<representation binary64>) () ())) ())
#s(alt (* -1 (* y (+ 1/200 (* -1 (/ x y))))) (taylor -inf y) (#s(alt #s(approx (- x (/ y 200)) (*.f64 y #s(literal 1/200 binary64))) (patch #s(approx (- x (/ y 200)) (*.f64 y #s(literal 1/200 binary64))) #<representation binary64>) () ())) ())
#s(alt (* -1 (* y (+ 1/200 (* -1 (/ x y))))) (taylor -inf y) (#s(alt #s(approx (- x (/ y 200)) (*.f64 y #s(literal 1/200 binary64))) (patch #s(approx (- x (/ y 200)) (*.f64 y #s(literal 1/200 binary64))) #<representation binary64>) () ())) ())
#s(alt (* -1 (* y (+ 1/200 (* -1 (/ x y))))) (taylor -inf y) (#s(alt #s(approx (- x (/ y 200)) (*.f64 y #s(literal 1/200 binary64))) (patch #s(approx (- x (/ y 200)) (*.f64 y #s(literal 1/200 binary64))) #<representation binary64>) () ())) ())
#s(alt (* 1/200 y) (taylor -inf y) (#s(alt (*.f64 y #s(literal 1/200 binary64)) (patch (*.f64 y #s(literal 1/200 binary64)) #<representation binary64>) () ())) ())
#s(alt (* 1/200 y) (taylor -inf y) (#s(alt (*.f64 y #s(literal 1/200 binary64)) (patch (*.f64 y #s(literal 1/200 binary64)) #<representation binary64>) () ())) ())
#s(alt (* 1/200 y) (taylor -inf y) (#s(alt (*.f64 y #s(literal 1/200 binary64)) (patch (*.f64 y #s(literal 1/200 binary64)) #<representation binary64>) () ())) ())
#s(alt (* 1/200 y) (taylor -inf y) (#s(alt (*.f64 y #s(literal 1/200 binary64)) (patch (*.f64 y #s(literal 1/200 binary64)) #<representation binary64>) () ())) ())
#s(alt (* -1/200 y) (taylor 0 x) (#s(alt #s(approx (- x (/ y 200)) (*.f64 y #s(literal 1/200 binary64))) (patch #s(approx (- x (/ y 200)) (*.f64 y #s(literal 1/200 binary64))) #<representation binary64>) () ())) ())
#s(alt (- x (* 1/200 y)) (taylor 0 x) (#s(alt #s(approx (- x (/ y 200)) (*.f64 y #s(literal 1/200 binary64))) (patch #s(approx (- x (/ y 200)) (*.f64 y #s(literal 1/200 binary64))) #<representation binary64>) () ())) ())
#s(alt (- x (* 1/200 y)) (taylor 0 x) (#s(alt #s(approx (- x (/ y 200)) (*.f64 y #s(literal 1/200 binary64))) (patch #s(approx (- x (/ y 200)) (*.f64 y #s(literal 1/200 binary64))) #<representation binary64>) () ())) ())
#s(alt (- x (* 1/200 y)) (taylor 0 x) (#s(alt #s(approx (- x (/ y 200)) (*.f64 y #s(literal 1/200 binary64))) (patch #s(approx (- x (/ y 200)) (*.f64 y #s(literal 1/200 binary64))) #<representation binary64>) () ())) ())
#s(alt x (taylor inf x) (#s(alt #s(approx (- x (/ y 200)) (*.f64 y #s(literal 1/200 binary64))) (patch #s(approx (- x (/ y 200)) (*.f64 y #s(literal 1/200 binary64))) #<representation binary64>) () ())) ())
#s(alt (* x (+ 1 (* -1/200 (/ y x)))) (taylor inf x) (#s(alt #s(approx (- x (/ y 200)) (*.f64 y #s(literal 1/200 binary64))) (patch #s(approx (- x (/ y 200)) (*.f64 y #s(literal 1/200 binary64))) #<representation binary64>) () ())) ())
#s(alt (* x (+ 1 (* -1/200 (/ y x)))) (taylor inf x) (#s(alt #s(approx (- x (/ y 200)) (*.f64 y #s(literal 1/200 binary64))) (patch #s(approx (- x (/ y 200)) (*.f64 y #s(literal 1/200 binary64))) #<representation binary64>) () ())) ())
#s(alt (* x (+ 1 (* -1/200 (/ y x)))) (taylor inf x) (#s(alt #s(approx (- x (/ y 200)) (*.f64 y #s(literal 1/200 binary64))) (patch #s(approx (- x (/ y 200)) (*.f64 y #s(literal 1/200 binary64))) #<representation binary64>) () ())) ())
#s(alt x (taylor -inf x) (#s(alt #s(approx (- x (/ y 200)) (*.f64 y #s(literal 1/200 binary64))) (patch #s(approx (- x (/ y 200)) (*.f64 y #s(literal 1/200 binary64))) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x (- (* 1/200 (/ y x)) 1))) (taylor -inf x) (#s(alt #s(approx (- x (/ y 200)) (*.f64 y #s(literal 1/200 binary64))) (patch #s(approx (- x (/ y 200)) (*.f64 y #s(literal 1/200 binary64))) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x (- (* 1/200 (/ y x)) 1))) (taylor -inf x) (#s(alt #s(approx (- x (/ y 200)) (*.f64 y #s(literal 1/200 binary64))) (patch #s(approx (- x (/ y 200)) (*.f64 y #s(literal 1/200 binary64))) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x (- (* 1/200 (/ y x)) 1))) (taylor -inf x) (#s(alt #s(approx (- x (/ y 200)) (*.f64 y #s(literal 1/200 binary64))) (patch #s(approx (- x (/ y 200)) (*.f64 y #s(literal 1/200 binary64))) #<representation binary64>) () ())) ())
Calls

6 calls:

TimeVariablePointExpression
0.0ms
y
@inf
((- x (/ y 200)) (* y 1/200))
0.0ms
y
@-inf
((- x (/ y 200)) (* y 1/200))
0.0ms
y
@0
((- x (/ y 200)) (* y 1/200))
0.0ms
x
@inf
((- x (/ y 200)) (* y 1/200))
0.0ms
x
@-inf
((- x (/ y 200)) (* y 1/200))

simplify177.0ms (5.1%)

Memory
12.5MiB live, 125.9MiB allocated
Algorithm
egg-herbie
Rules
3 160×lower-fma.f64
3 160×lower-fma.f32
2 584×lower-*.f64
2 584×lower-*.f32
2 384×lower-/.f32
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
025138
168138
2170138
3455138
41250138
52475138
63277138
73613138
83909138
94090138
105236138
116032138
126800138
137068138
147848138
08384120
Stop Event
iter limit
node limit
Counts
36 → 33
Calls
Call 1
Inputs
x
(+ x (* -1/200 y))
(+ x (* -1/200 y))
(+ x (* -1/200 y))
(* 1/200 y)
(* 1/200 y)
(* 1/200 y)
(* 1/200 y)
(* -1/200 y)
(* y (- (/ x y) 1/200))
(* y (- (/ x y) 1/200))
(* y (- (/ x y) 1/200))
(* 1/200 y)
(* 1/200 y)
(* 1/200 y)
(* 1/200 y)
(* -1/200 y)
(* -1 (* y (+ 1/200 (* -1 (/ x y)))))
(* -1 (* y (+ 1/200 (* -1 (/ x y)))))
(* -1 (* y (+ 1/200 (* -1 (/ x y)))))
(* 1/200 y)
(* 1/200 y)
(* 1/200 y)
(* 1/200 y)
(* -1/200 y)
(- x (* 1/200 y))
(- x (* 1/200 y))
(- x (* 1/200 y))
x
(* x (+ 1 (* -1/200 (/ y x))))
(* x (+ 1 (* -1/200 (/ y x))))
(* x (+ 1 (* -1/200 (/ y x))))
x
(* -1 (* x (- (* 1/200 (/ y x)) 1)))
(* -1 (* x (- (* 1/200 (/ y x)) 1)))
(* -1 (* x (- (* 1/200 (/ y x)) 1)))
Outputs
x
(+ x (* -1/200 y))
(fma.f64 y #s(literal -1/200 binary64) x)
(+ x (* -1/200 y))
(fma.f64 y #s(literal -1/200 binary64) x)
(+ x (* -1/200 y))
(fma.f64 y #s(literal -1/200 binary64) x)
(* 1/200 y)
(*.f64 #s(literal 1/200 binary64) y)
(* 1/200 y)
(*.f64 #s(literal 1/200 binary64) y)
(* 1/200 y)
(*.f64 #s(literal 1/200 binary64) y)
(* 1/200 y)
(*.f64 #s(literal 1/200 binary64) y)
(* -1/200 y)
(*.f64 y #s(literal -1/200 binary64))
(* y (- (/ x y) 1/200))
(fma.f64 y #s(literal -1/200 binary64) x)
(* y (- (/ x y) 1/200))
(fma.f64 y #s(literal -1/200 binary64) x)
(* y (- (/ x y) 1/200))
(fma.f64 y #s(literal -1/200 binary64) x)
(* 1/200 y)
(*.f64 #s(literal 1/200 binary64) y)
(* 1/200 y)
(*.f64 #s(literal 1/200 binary64) y)
(* 1/200 y)
(*.f64 #s(literal 1/200 binary64) y)
(* 1/200 y)
(*.f64 #s(literal 1/200 binary64) y)
(* -1/200 y)
(*.f64 y #s(literal -1/200 binary64))
(* -1 (* y (+ 1/200 (* -1 (/ x y)))))
(fma.f64 y #s(literal -1/200 binary64) x)
(* -1 (* y (+ 1/200 (* -1 (/ x y)))))
(fma.f64 y #s(literal -1/200 binary64) x)
(* -1 (* y (+ 1/200 (* -1 (/ x y)))))
(fma.f64 y #s(literal -1/200 binary64) x)
(* 1/200 y)
(*.f64 #s(literal 1/200 binary64) y)
(* 1/200 y)
(*.f64 #s(literal 1/200 binary64) y)
(* 1/200 y)
(*.f64 #s(literal 1/200 binary64) y)
(* 1/200 y)
(*.f64 #s(literal 1/200 binary64) y)
(* -1/200 y)
(*.f64 y #s(literal -1/200 binary64))
(- x (* 1/200 y))
(fma.f64 y #s(literal -1/200 binary64) x)
(- x (* 1/200 y))
(fma.f64 y #s(literal -1/200 binary64) x)
(- x (* 1/200 y))
(fma.f64 y #s(literal -1/200 binary64) x)
x
(* x (+ 1 (* -1/200 (/ y x))))
(fma.f64 y #s(literal -1/200 binary64) x)
(* x (+ 1 (* -1/200 (/ y x))))
(fma.f64 y #s(literal -1/200 binary64) x)
(* x (+ 1 (* -1/200 (/ y x))))
(fma.f64 y #s(literal -1/200 binary64) x)
x
(* -1 (* x (- (* 1/200 (/ y x)) 1)))
(fma.f64 y #s(literal -1/200 binary64) x)
(* -1 (* x (- (* 1/200 (/ y x)) 1)))
(fma.f64 y #s(literal -1/200 binary64) x)
(* -1 (* x (- (* 1/200 (/ y x)) 1)))
(fma.f64 y #s(literal -1/200 binary64) x)

rewrite270.0ms (7.7%)

Memory
-2.7MiB live, 153.7MiB allocated
Rules
3 750×lower-fma.f64
3 750×lower-fma.f32
3 446×lower-*.f32
3 444×lower-*.f64
2 920×lower-/.f64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0812
0912
13412
225912
3416112
0835111
Stop Event
iter limit
node limit
iter limit
Counts
2 → 40
Calls
Call 1
Inputs
#s(approx (- x (/ y 200)) (*.f64 y #s(literal 1/200 binary64)))
(*.f64 y #s(literal 1/200 binary64))
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>

eval8.0ms (0.2%)

Memory
13.7MiB live, 13.6MiB allocated
Compiler

Compiled 447 to 133 computations (70.2% saved)

prune5.0ms (0.1%)

Memory
11.3MiB live, 11.3MiB allocated
Pruning

4 alts after pruning (0 fresh and 4 done)

PrunedKeptTotal
New73073
Fresh000
Picked011
Done033
Total73477
Accuracy
100.0%
Counts
77 → 4
Alt Table
Click to see full alt table
StatusAccuracyProgram
99.9%
(fma.f64 y #s(literal -1/200 binary64) x)
45.4%
#s(approx (- x (/ y 200)) (/.f64 y #s(literal -200 binary64)))
2.2%
#s(approx (- x (/ y 200)) (*.f64 y #s(literal 1/200 binary64)))
45.3%
#s(approx (- x (/ y 200)) (*.f64 #s(literal -1/200 binary64) y))
Compiler

Compiled 37 to 34 computations (8.1% saved)

regimes51.0ms (1.5%)

Memory
-27.6MiB live, 40.8MiB allocated
Counts
5 → 1
Calls
Call 1
Inputs
#s(approx (- x (/ y 200)) (*.f64 #s(literal -1/200 binary64) y))
#s(approx (- x (/ y 200)) (*.f64 y #s(literal 1/200 binary64)))
(fma.f64 y #s(literal -1/200 binary64) x)
#s(approx (- x (/ y 200)) (/.f64 y #s(literal -200 binary64)))
(-.f64 x (/.f64 y #s(literal 200 binary64)))
Outputs
(-.f64 x (/.f64 y #s(literal 200 binary64)))
Calls

4 calls:

43.0ms
(/.f64 y #s(literal 200 binary64))
2.0ms
(-.f64 x (/.f64 y #s(literal 200 binary64)))
2.0ms
y
2.0ms
x
Results
AccuracySegmentsBranch
100.0%1x
100.0%1y
100.0%1(-.f64 x (/.f64 y #s(literal 200 binary64)))
100.0%1(/.f64 y #s(literal 200 binary64))
Compiler

Compiled 10 to 13 computations (-30% saved)

regimes19.0ms (0.5%)

Memory
-17.9MiB live, 19.4MiB allocated
Counts
4 → 1
Calls
Call 1
Inputs
#s(approx (- x (/ y 200)) (*.f64 #s(literal -1/200 binary64) y))
#s(approx (- x (/ y 200)) (*.f64 y #s(literal 1/200 binary64)))
(fma.f64 y #s(literal -1/200 binary64) x)
#s(approx (- x (/ y 200)) (/.f64 y #s(literal -200 binary64)))
Outputs
(fma.f64 y #s(literal -1/200 binary64) x)
Calls

4 calls:

12.0ms
(/.f64 y #s(literal 200 binary64))
2.0ms
(-.f64 x (/.f64 y #s(literal 200 binary64)))
2.0ms
y
2.0ms
x
Results
AccuracySegmentsBranch
99.9%1x
99.9%1y
99.9%1(-.f64 x (/.f64 y #s(literal 200 binary64)))
99.9%1(/.f64 y #s(literal 200 binary64))
Compiler

Compiled 10 to 13 computations (-30% saved)

regimes7.0ms (0.2%)

Memory
14.6MiB live, 14.6MiB allocated
Accuracy

Total -28.0b remaining (-80.1%)

Threshold costs -28b (-80.1%)

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

4 calls:

2.0ms
(-.f64 x (/.f64 y #s(literal 200 binary64)))
2.0ms
(/.f64 y #s(literal 200 binary64))
2.0ms
y
1.0ms
x
Results
AccuracySegmentsBranch
45.3%1x
45.3%1y
45.3%1(-.f64 x (/.f64 y #s(literal 200 binary64)))
45.3%1(/.f64 y #s(literal 200 binary64))
Compiler

Compiled 10 to 13 computations (-30% saved)

simplify26.0ms (0.8%)

Memory
-16.7MiB live, 60.0MiB allocated
Algorithm
egg-herbie
Rules
*-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
01118
11418
22318
32918
43418
53618
Stop Event
saturated
Calls
Call 1
Inputs
(-.f64 x (/.f64 y #s(literal 200 binary64)))
(fma.f64 y #s(literal -1/200 binary64) x)
#s(approx (- x (/ y 200)) (*.f64 #s(literal -1/200 binary64) y))
Outputs
(-.f64 x (/.f64 y #s(literal 200 binary64)))
(fma.f64 y #s(literal -1/200 binary64) x)
#s(approx (- x (/ y 200)) (*.f64 #s(literal -1/200 binary64) y))

soundness518.0ms (14.8%)

Memory
-6.7MiB live, 269.4MiB allocated
Rules
3 368×lower-fma.f64
3 368×lower-fma.f32
3 224×lower-*.f64
3 224×lower-*.f32
3 160×lower-fma.f64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
025138
168138
2170138
3455138
41249138
52477138
63282138
73618138
83914138
94095138
105236138
116032138
126800138
137068138
147848138
08384120
058
078
1328
22488
340678
081647
Stop Event
done
iter limit
node limit
iter limit
iter limit
node limit
Compiler

Compiled 25 to 20 computations (20% saved)

preprocess28.0ms (0.8%)

Memory
38.2MiB live, 75.1MiB allocated
Compiler

Compiled 36 to 28 computations (22.2% saved)

end0.0ms (0%)

Memory
0.0MiB live, 0.0MiB allocated

Profiling

Loading profile data...