Data.Colour.RGBSpace.HSL:hsl from colour-2.3.3, B

Time bar (total: 3.5s)

start0.0ms (0%)

Memory
0.0MiB live, 0.0MiB allocated

analyze0.0ms (0%)

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

Compiled 7 to 7 computations (0% saved)

sample720.0ms (20.8%)

Memory
35.6MiB live, 775.6MiB allocated
Samples
428.0ms8 256×0valid
Precisions
Click to see histograms. Total time spent on operations: 141.0ms
ival-add: 69.0ms (48.9% of total)
ival-mult: 58.0ms (41.1% of total)
ival-true: 6.0ms (4.3% of total)
exact: 5.0ms (3.5% of total)
ival-assert: 3.0ms (2.1% of total)
Bogosity

explain60.0ms (1.7%)

Memory
-45.8MiB live, 99.3MiB allocated
FPErrors
Click to see full error table
Ground TruthOverpredictionsExampleUnderpredictionsExampleSubexpression
00-0-(+.f64 y #s(literal 1 binary64))
00-0-y
00-0-#s(literal 1 binary64)
00-0-(*.f64 x (+.f64 y #s(literal 1 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: 7.0ms
ival-add: 3.0ms (41.2% of total)
ival-mult: 3.0ms (41.2% of total)
ival-true: 0.0ms (0% of total)
exact: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

preprocess26.0ms (0.7%)

Memory
22.5MiB live, 22.5MiB allocated
Algorithm
egg-herbie
Rules
102×unsub-neg
74×distribute-lft-in
68×distribute-rgt-in
68×associate-*r*
68×sub-neg
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01331
15727
216225
338825
451425
561525
662025
055
075
1175
2215
3345
4345
0344
Stop Event
iter limit
saturated
iter limit
saturated
Calls
Call 1
Inputs
(*.f64 x (+.f64 y #s(literal 1 binary64)))
Outputs
(*.f64 x (+.f64 y #s(literal 1 binary64)))
(fma.f64 y x x)
Symmetry

(negabs x)

Compiler

Compiled 5 to 5 computations (0% saved)

eval0.0ms (0%)

Memory
0.3MiB live, 0.3MiB allocated
Compiler

Compiled 0 to 2 computations (-∞% saved)

prune0.0ms (0%)

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

Compiled 5 to 5 computations (0% saved)

simplify4.0ms (0.1%)

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

Found 2 expressions of interest:

NewMetricScoreProgram
cost-diff0
(+.f64 y #s(literal 1 binary64))
cost-diff128
(*.f64 x (+.f64 y #s(literal 1 binary64)))
Rules
28×lower-*.f32
26×lower-*.f64
16×lower-fma.f64
16×lower-fma.f32
associate-*r*
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0511
0711
11711
22111
33411
43411
03410
Stop Event
iter limit
saturated
iter limit
Calls
Call 1
Inputs
(*.f64 x (+.f64 y #s(literal 1 binary64)))
x
(+.f64 y #s(literal 1 binary64))
y
#s(literal 1 binary64)
Outputs
(*.f64 x (+.f64 y #s(literal 1 binary64)))
(fma.f64 y x x)
x
(+.f64 y #s(literal 1 binary64))
(+.f64 #s(literal 1 binary64) y)
y
#s(literal 1 binary64)

localize17.0ms (0.5%)

Memory
-7.8MiB live, 30.9MiB allocated
Localize:

Found 2 expressions of interest:

NewMetricScoreProgram
accuracy0
(+.f64 y #s(literal 1 binary64))
accuracy0.0078125
(*.f64 x (+.f64 y #s(literal 1 binary64)))
Samples
13.0ms256×0valid
Compiler

Compiled 13 to 7 computations (46.2% saved)

Precisions
Click to see histograms. Total time spent on operations: 5.0ms
ival-add: 3.0ms (59.4% of total)
ival-mult: 2.0ms (39.6% 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.8MiB live, 6.8MiB allocated
Counts
2 → 36
Calls
Call 1
Inputs
#s(alt (*.f64 x (+.f64 y #s(literal 1 binary64))) (patch (*.f64 x (+.f64 y #s(literal 1 binary64))) #<representation binary64>) () ())
#s(alt (+.f64 y #s(literal 1 binary64)) (patch (+.f64 y #s(literal 1 binary64)) #<representation binary64>) () ())
Outputs
#s(alt x (taylor 0 y) (#s(alt (*.f64 x (+.f64 y #s(literal 1 binary64))) (patch (*.f64 x (+.f64 y #s(literal 1 binary64))) #<representation binary64>) () ())) ())
#s(alt (+ x (* x y)) (taylor 0 y) (#s(alt (*.f64 x (+.f64 y #s(literal 1 binary64))) (patch (*.f64 x (+.f64 y #s(literal 1 binary64))) #<representation binary64>) () ())) ())
#s(alt (+ x (* x y)) (taylor 0 y) (#s(alt (*.f64 x (+.f64 y #s(literal 1 binary64))) (patch (*.f64 x (+.f64 y #s(literal 1 binary64))) #<representation binary64>) () ())) ())
#s(alt (+ x (* x y)) (taylor 0 y) (#s(alt (*.f64 x (+.f64 y #s(literal 1 binary64))) (patch (*.f64 x (+.f64 y #s(literal 1 binary64))) #<representation binary64>) () ())) ())
#s(alt 1 (taylor 0 y) (#s(alt (+.f64 y #s(literal 1 binary64)) (patch (+.f64 y #s(literal 1 binary64)) #<representation binary64>) () ())) ())
#s(alt (+ 1 y) (taylor 0 y) (#s(alt (+.f64 y #s(literal 1 binary64)) (patch (+.f64 y #s(literal 1 binary64)) #<representation binary64>) () ())) ())
#s(alt (+ 1 y) (taylor 0 y) (#s(alt (+.f64 y #s(literal 1 binary64)) (patch (+.f64 y #s(literal 1 binary64)) #<representation binary64>) () ())) ())
#s(alt (+ 1 y) (taylor 0 y) (#s(alt (+.f64 y #s(literal 1 binary64)) (patch (+.f64 y #s(literal 1 binary64)) #<representation binary64>) () ())) ())
#s(alt (* x y) (taylor inf y) (#s(alt (*.f64 x (+.f64 y #s(literal 1 binary64))) (patch (*.f64 x (+.f64 y #s(literal 1 binary64))) #<representation binary64>) () ())) ())
#s(alt (* y (+ x (/ x y))) (taylor inf y) (#s(alt (*.f64 x (+.f64 y #s(literal 1 binary64))) (patch (*.f64 x (+.f64 y #s(literal 1 binary64))) #<representation binary64>) () ())) ())
#s(alt (* y (+ x (/ x y))) (taylor inf y) (#s(alt (*.f64 x (+.f64 y #s(literal 1 binary64))) (patch (*.f64 x (+.f64 y #s(literal 1 binary64))) #<representation binary64>) () ())) ())
#s(alt (* y (+ x (/ x y))) (taylor inf y) (#s(alt (*.f64 x (+.f64 y #s(literal 1 binary64))) (patch (*.f64 x (+.f64 y #s(literal 1 binary64))) #<representation binary64>) () ())) ())
#s(alt y (taylor inf y) (#s(alt (+.f64 y #s(literal 1 binary64)) (patch (+.f64 y #s(literal 1 binary64)) #<representation binary64>) () ())) ())
#s(alt (* y (+ 1 (/ 1 y))) (taylor inf y) (#s(alt (+.f64 y #s(literal 1 binary64)) (patch (+.f64 y #s(literal 1 binary64)) #<representation binary64>) () ())) ())
#s(alt (* y (+ 1 (/ 1 y))) (taylor inf y) (#s(alt (+.f64 y #s(literal 1 binary64)) (patch (+.f64 y #s(literal 1 binary64)) #<representation binary64>) () ())) ())
#s(alt (* y (+ 1 (/ 1 y))) (taylor inf y) (#s(alt (+.f64 y #s(literal 1 binary64)) (patch (+.f64 y #s(literal 1 binary64)) #<representation binary64>) () ())) ())
#s(alt (* x y) (taylor -inf y) (#s(alt (*.f64 x (+.f64 y #s(literal 1 binary64))) (patch (*.f64 x (+.f64 y #s(literal 1 binary64))) #<representation binary64>) () ())) ())
#s(alt (* -1 (* y (+ (* -1 x) (* -1 (/ x y))))) (taylor -inf y) (#s(alt (*.f64 x (+.f64 y #s(literal 1 binary64))) (patch (*.f64 x (+.f64 y #s(literal 1 binary64))) #<representation binary64>) () ())) ())
#s(alt (* -1 (* y (+ (* -1 x) (* -1 (/ x y))))) (taylor -inf y) (#s(alt (*.f64 x (+.f64 y #s(literal 1 binary64))) (patch (*.f64 x (+.f64 y #s(literal 1 binary64))) #<representation binary64>) () ())) ())
#s(alt (* -1 (* y (+ (* -1 x) (* -1 (/ x y))))) (taylor -inf y) (#s(alt (*.f64 x (+.f64 y #s(literal 1 binary64))) (patch (*.f64 x (+.f64 y #s(literal 1 binary64))) #<representation binary64>) () ())) ())
#s(alt y (taylor -inf y) (#s(alt (+.f64 y #s(literal 1 binary64)) (patch (+.f64 y #s(literal 1 binary64)) #<representation binary64>) () ())) ())
#s(alt (* y (+ 1 (/ 1 y))) (taylor -inf y) (#s(alt (+.f64 y #s(literal 1 binary64)) (patch (+.f64 y #s(literal 1 binary64)) #<representation binary64>) () ())) ())
#s(alt (* y (+ 1 (/ 1 y))) (taylor -inf y) (#s(alt (+.f64 y #s(literal 1 binary64)) (patch (+.f64 y #s(literal 1 binary64)) #<representation binary64>) () ())) ())
#s(alt (* y (+ 1 (/ 1 y))) (taylor -inf y) (#s(alt (+.f64 y #s(literal 1 binary64)) (patch (+.f64 y #s(literal 1 binary64)) #<representation binary64>) () ())) ())
#s(alt (* x (+ 1 y)) (taylor 0 x) (#s(alt (*.f64 x (+.f64 y #s(literal 1 binary64))) (patch (*.f64 x (+.f64 y #s(literal 1 binary64))) #<representation binary64>) () ())) ())
#s(alt (* x (+ 1 y)) (taylor 0 x) (#s(alt (*.f64 x (+.f64 y #s(literal 1 binary64))) (patch (*.f64 x (+.f64 y #s(literal 1 binary64))) #<representation binary64>) () ())) ())
#s(alt (* x (+ 1 y)) (taylor 0 x) (#s(alt (*.f64 x (+.f64 y #s(literal 1 binary64))) (patch (*.f64 x (+.f64 y #s(literal 1 binary64))) #<representation binary64>) () ())) ())
#s(alt (* x (+ 1 y)) (taylor 0 x) (#s(alt (*.f64 x (+.f64 y #s(literal 1 binary64))) (patch (*.f64 x (+.f64 y #s(literal 1 binary64))) #<representation binary64>) () ())) ())
#s(alt (* x (+ 1 y)) (taylor inf x) (#s(alt (*.f64 x (+.f64 y #s(literal 1 binary64))) (patch (*.f64 x (+.f64 y #s(literal 1 binary64))) #<representation binary64>) () ())) ())
#s(alt (* x (+ 1 y)) (taylor inf x) (#s(alt (*.f64 x (+.f64 y #s(literal 1 binary64))) (patch (*.f64 x (+.f64 y #s(literal 1 binary64))) #<representation binary64>) () ())) ())
#s(alt (* x (+ 1 y)) (taylor inf x) (#s(alt (*.f64 x (+.f64 y #s(literal 1 binary64))) (patch (*.f64 x (+.f64 y #s(literal 1 binary64))) #<representation binary64>) () ())) ())
#s(alt (* x (+ 1 y)) (taylor inf x) (#s(alt (*.f64 x (+.f64 y #s(literal 1 binary64))) (patch (*.f64 x (+.f64 y #s(literal 1 binary64))) #<representation binary64>) () ())) ())
#s(alt (* x (+ 1 y)) (taylor -inf x) (#s(alt (*.f64 x (+.f64 y #s(literal 1 binary64))) (patch (*.f64 x (+.f64 y #s(literal 1 binary64))) #<representation binary64>) () ())) ())
#s(alt (* x (+ 1 y)) (taylor -inf x) (#s(alt (*.f64 x (+.f64 y #s(literal 1 binary64))) (patch (*.f64 x (+.f64 y #s(literal 1 binary64))) #<representation binary64>) () ())) ())
#s(alt (* x (+ 1 y)) (taylor -inf x) (#s(alt (*.f64 x (+.f64 y #s(literal 1 binary64))) (patch (*.f64 x (+.f64 y #s(literal 1 binary64))) #<representation binary64>) () ())) ())
#s(alt (* x (+ 1 y)) (taylor -inf x) (#s(alt (*.f64 x (+.f64 y #s(literal 1 binary64))) (patch (*.f64 x (+.f64 y #s(literal 1 binary64))) #<representation binary64>) () ())) ())
Calls

6 calls:

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

simplify218.0ms (6.3%)

Memory
-3.0MiB live, 116.3MiB allocated
Algorithm
egg-herbie
Rules
3 472×lower-fma.f64
3 472×lower-fma.f32
2 232×lower-/.f32
2 232×lower-/.f64
2 112×lower-*.f64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
019142
163142
2136142
3336142
41268142
52642142
63266142
73557142
83733142
93767142
104347142
115640142
126396142
136645142
146701142
156701142
167189142
177285142
187437142
197497142
08093121
Stop Event
iter limit
node limit
Counts
36 → 33
Calls
Call 1
Inputs
x
(+ x (* x y))
(+ x (* x y))
(+ x (* x y))
1
(+ 1 y)
(+ 1 y)
(+ 1 y)
(* x y)
(* y (+ x (/ x y)))
(* y (+ x (/ x y)))
(* y (+ x (/ x y)))
y
(* y (+ 1 (/ 1 y)))
(* y (+ 1 (/ 1 y)))
(* y (+ 1 (/ 1 y)))
(* x y)
(* -1 (* y (+ (* -1 x) (* -1 (/ x y)))))
(* -1 (* y (+ (* -1 x) (* -1 (/ x y)))))
(* -1 (* y (+ (* -1 x) (* -1 (/ x y)))))
y
(* y (+ 1 (/ 1 y)))
(* y (+ 1 (/ 1 y)))
(* y (+ 1 (/ 1 y)))
(* x (+ 1 y))
(* x (+ 1 y))
(* x (+ 1 y))
(* x (+ 1 y))
(* x (+ 1 y))
(* x (+ 1 y))
(* x (+ 1 y))
(* x (+ 1 y))
(* x (+ 1 y))
(* x (+ 1 y))
(* x (+ 1 y))
(* x (+ 1 y))
Outputs
x
(+ x (* x y))
(fma.f64 y x x)
(+ x (* x y))
(fma.f64 y x x)
(+ x (* x y))
(fma.f64 y x x)
1
#s(literal 1 binary64)
(+ 1 y)
(-.f64 y #s(literal -1 binary64))
(+ 1 y)
(-.f64 y #s(literal -1 binary64))
(+ 1 y)
(-.f64 y #s(literal -1 binary64))
(* x y)
(*.f64 y x)
(* y (+ x (/ x y)))
(fma.f64 y x x)
(* y (+ x (/ x y)))
(fma.f64 y x x)
(* y (+ x (/ x y)))
(fma.f64 y x x)
y
(* y (+ 1 (/ 1 y)))
(-.f64 y #s(literal -1 binary64))
(* y (+ 1 (/ 1 y)))
(-.f64 y #s(literal -1 binary64))
(* y (+ 1 (/ 1 y)))
(-.f64 y #s(literal -1 binary64))
(* x y)
(*.f64 y x)
(* -1 (* y (+ (* -1 x) (* -1 (/ x y)))))
(fma.f64 y x x)
(* -1 (* y (+ (* -1 x) (* -1 (/ x y)))))
(fma.f64 y x x)
(* -1 (* y (+ (* -1 x) (* -1 (/ x y)))))
(fma.f64 y x x)
y
(* y (+ 1 (/ 1 y)))
(-.f64 y #s(literal -1 binary64))
(* y (+ 1 (/ 1 y)))
(-.f64 y #s(literal -1 binary64))
(* y (+ 1 (/ 1 y)))
(-.f64 y #s(literal -1 binary64))
(* x (+ 1 y))
(fma.f64 y x x)
(* x (+ 1 y))
(fma.f64 y x x)
(* x (+ 1 y))
(fma.f64 y x x)
(* x (+ 1 y))
(fma.f64 y x x)
(* x (+ 1 y))
(fma.f64 y x x)
(* x (+ 1 y))
(fma.f64 y x x)
(* x (+ 1 y))
(fma.f64 y x x)
(* x (+ 1 y))
(fma.f64 y x x)
(* x (+ 1 y))
(fma.f64 y x x)
(* x (+ 1 y))
(fma.f64 y x x)
(* x (+ 1 y))
(fma.f64 y x x)
(* x (+ 1 y))
(fma.f64 y x x)

rewrite311.0ms (9%)

Memory
-10.9MiB live, 183.7MiB allocated
Rules
7 892×lower-fma.f64
7 892×lower-fma.f32
4 072×lower-/.f64
4 072×lower-/.f32
3 458×lower-*.f32
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
058
078
1308
21738
312668
084267
Stop Event
iter limit
node limit
iter limit
Counts
2 → 279
Calls
Call 1
Inputs
(*.f64 x (+.f64 y #s(literal 1 binary64)))
(+.f64 y #s(literal 1 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>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>

eval70.0ms (2%)

Memory
0.7MiB live, 70.9MiB allocated
Compiler

Compiled 6 423 to 807 computations (87.4% saved)

prune5.0ms (0.2%)

Memory
20.0MiB live, 20.0MiB allocated
Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New3093312
Fresh000
Picked101
Done000
Total3103313
Accuracy
100.0%
Counts
313 → 3
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(fma.f64 y x x)
52.3%
(*.f64 x #s(approx (+ y 1) #s(literal 1 binary64)))
49.6%
#s(approx (* x (+ y 1)) (*.f64 y x))
Compiler

Compiled 12 to 12 computations (0% saved)

simplify5.0ms (0.1%)

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

Found 5 expressions of interest:

NewMetricScoreProgram
cost-diff0
(fma.f64 y x x)
cost-diff0
#s(approx (+ y 1) #s(literal 1 binary64))
cost-diff0
(*.f64 x #s(approx (+ y 1) #s(literal 1 binary64)))
cost-diff0
(*.f64 y x)
cost-diff0
#s(approx (* x (+ y 1)) (*.f64 y x))
Rules
40×lower-*.f32
36×lower-*.f64
16×lower-fma.f32
14×lower-fma.f64
12×associate-*r*
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01034
01333
12533
22533
34433
44433
04433
Stop Event
iter limit
saturated
iter limit
Calls
Call 1
Inputs
#s(approx (* x (+ y 1)) (*.f64 y x))
(*.f64 y x)
y
x
(*.f64 x #s(approx (+ y 1) #s(literal 1 binary64)))
x
#s(approx (+ y 1) #s(literal 1 binary64))
#s(literal 1 binary64)
(fma.f64 y x x)
y
x
Outputs
#s(approx (* x (+ y 1)) (*.f64 y x))
(*.f64 y x)
y
x
(*.f64 x #s(approx (+ y 1) #s(literal 1 binary64)))
(*.f64 #s(approx (+ y 1) #s(literal 1 binary64)) x)
x
#s(approx (+ y 1) #s(literal 1 binary64))
#s(literal 1 binary64)
(fma.f64 y x x)
y
x

localize54.0ms (1.6%)

Memory
-29.2MiB live, 22.0MiB allocated
Localize:

Found 5 expressions of interest:

NewMetricScoreProgram
accuracy0
(fma.f64 y x x)
accuracy0.0078125
(*.f64 x #s(approx (+ y 1) #s(literal 1 binary64)))
accuracy30.671458013390662
#s(approx (+ y 1) #s(literal 1 binary64))
accuracy0
(*.f64 y x)
accuracy32.232767882176155
#s(approx (* x (+ y 1)) (*.f64 y x))
Samples
47.0ms256×0valid
Compiler

Compiled 29 to 9 computations (69% saved)

Precisions
Click to see histograms. Total time spent on operations: 6.0ms
ival-mult: 3.0ms (49.9% of total)
ival-add: 2.0ms (33.2% of total)
ival-true: 0.0ms (0% of total)
exact: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

series6.0ms (0.2%)

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

6 calls:

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

simplify167.0ms (4.8%)

Memory
-5.3MiB live, 33.3MiB allocated
Algorithm
egg-herbie
Rules
2 840×lower-fma.f64
2 840×lower-fma.f32
1 792×lower-/.f32
1 792×lower-/.f64
1 676×lower-*.f64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
023438
174438
2162438
3389438
41416438
52597438
63130438
73458438
83618438
93624438
104475438
115777438
126911438
137598438
147637438
157649438
08329375
Stop Event
iter limit
node limit
Counts
108 → 103
Calls
Call 1
Inputs
x
(+ x (* x y))
(+ x (* x y))
(+ x (* x y))
(* x y)
(* x y)
(* x y)
(* x y)
x
(+ x (* x y))
(+ x (* x y))
(+ x (* x y))
1
(+ 1 y)
(+ 1 y)
(+ 1 y)
x
(+ x (* x y))
(+ x (* x y))
(+ x (* x y))
(* x y)
(* y (+ x (/ x y)))
(* y (+ x (/ x y)))
(* y (+ x (/ x y)))
(* x y)
(* x y)
(* x y)
(* x y)
(* x y)
(* y (+ x (/ x y)))
(* y (+ x (/ x y)))
(* y (+ x (/ x y)))
y
(* y (+ 1 (/ 1 y)))
(* y (+ 1 (/ 1 y)))
(* y (+ 1 (/ 1 y)))
(* x y)
(* y (+ x (/ x y)))
(* y (+ x (/ x y)))
(* y (+ x (/ x y)))
(* x y)
(* -1 (* y (+ (* -1 x) (* -1 (/ x y)))))
(* -1 (* y (+ (* -1 x) (* -1 (/ x y)))))
(* -1 (* y (+ (* -1 x) (* -1 (/ x y)))))
(* x y)
(* x y)
(* x y)
(* x y)
(* x y)
(* -1 (* y (+ (* -1 x) (* -1 (/ x y)))))
(* -1 (* y (+ (* -1 x) (* -1 (/ x y)))))
(* -1 (* y (+ (* -1 x) (* -1 (/ x y)))))
y
(* y (+ 1 (/ 1 y)))
(* y (+ 1 (/ 1 y)))
(* y (+ 1 (/ 1 y)))
(* x y)
(* -1 (* y (+ (* -1 x) (* -1 (/ x y)))))
(* -1 (* y (+ (* -1 x) (* -1 (/ x y)))))
(* -1 (* y (+ (* -1 x) (* -1 (/ x y)))))
(* x (+ 1 y))
(* x (+ 1 y))
(* x (+ 1 y))
(* x (+ 1 y))
(* x y)
(* x y)
(* x y)
(* x y)
(* x (+ 1 y))
(* x (+ 1 y))
(* x (+ 1 y))
(* x (+ 1 y))
(* x (+ 1 y))
(* x (+ 1 y))
(* x (+ 1 y))
(* x (+ 1 y))
(* x (+ 1 y))
(* x (+ 1 y))
(* x (+ 1 y))
(* x (+ 1 y))
(* x y)
(* x y)
(* x y)
(* x y)
(* x (+ 1 y))
(* x (+ 1 y))
(* x (+ 1 y))
(* x (+ 1 y))
(* x (+ 1 y))
(* x (+ 1 y))
(* x (+ 1 y))
(* x (+ 1 y))
(* x (+ 1 y))
(* x (+ 1 y))
(* x (+ 1 y))
(* x (+ 1 y))
(* x y)
(* x y)
(* x y)
(* x y)
(* x (+ 1 y))
(* x (+ 1 y))
(* x (+ 1 y))
(* x (+ 1 y))
(* -1 (* x (- (* -1 y) 1)))
(* -1 (* x (- (* -1 y) 1)))
(* -1 (* x (- (* -1 y) 1)))
(* -1 (* x (- (* -1 y) 1)))
Outputs
x
(+ x (* x y))
(fma.f64 y x x)
(+ x (* x y))
(fma.f64 y x x)
(+ x (* x y))
(fma.f64 y x x)
(* x y)
(*.f64 y x)
(* x y)
(*.f64 y x)
(* x y)
(*.f64 y x)
(* x y)
(*.f64 y x)
x
(+ x (* x y))
(fma.f64 y x x)
(+ x (* x y))
(fma.f64 y x x)
(+ x (* x y))
(fma.f64 y x x)
1
#s(literal 1 binary64)
(+ 1 y)
(-.f64 y #s(literal -1 binary64))
(+ 1 y)
(-.f64 y #s(literal -1 binary64))
(+ 1 y)
(-.f64 y #s(literal -1 binary64))
x
(+ x (* x y))
(fma.f64 y x x)
(+ x (* x y))
(fma.f64 y x x)
(+ x (* x y))
(fma.f64 y x x)
(* x y)
(*.f64 y x)
(* y (+ x (/ x y)))
(fma.f64 y x x)
(* y (+ x (/ x y)))
(fma.f64 y x x)
(* y (+ x (/ x y)))
(fma.f64 y x x)
(* x y)
(*.f64 y x)
(* x y)
(*.f64 y x)
(* x y)
(*.f64 y x)
(* x y)
(*.f64 y x)
(* x y)
(*.f64 y x)
(* y (+ x (/ x y)))
(fma.f64 y x x)
(* y (+ x (/ x y)))
(fma.f64 y x x)
(* y (+ x (/ x y)))
(fma.f64 y x x)
y
(* y (+ 1 (/ 1 y)))
(-.f64 y #s(literal -1 binary64))
(* y (+ 1 (/ 1 y)))
(-.f64 y #s(literal -1 binary64))
(* y (+ 1 (/ 1 y)))
(-.f64 y #s(literal -1 binary64))
(* x y)
(*.f64 y x)
(* y (+ x (/ x y)))
(fma.f64 y x x)
(* y (+ x (/ x y)))
(fma.f64 y x x)
(* y (+ x (/ x y)))
(fma.f64 y x x)
(* x y)
(*.f64 y x)
(* -1 (* y (+ (* -1 x) (* -1 (/ x y)))))
(fma.f64 y x x)
(* -1 (* y (+ (* -1 x) (* -1 (/ x y)))))
(fma.f64 y x x)
(* -1 (* y (+ (* -1 x) (* -1 (/ x y)))))
(fma.f64 y x x)
(* x y)
(*.f64 y x)
(* x y)
(*.f64 y x)
(* x y)
(*.f64 y x)
(* x y)
(*.f64 y x)
(* x y)
(*.f64 y x)
(* -1 (* y (+ (* -1 x) (* -1 (/ x y)))))
(fma.f64 y x x)
(* -1 (* y (+ (* -1 x) (* -1 (/ x y)))))
(fma.f64 y x x)
(* -1 (* y (+ (* -1 x) (* -1 (/ x y)))))
(fma.f64 y x x)
y
(* y (+ 1 (/ 1 y)))
(-.f64 y #s(literal -1 binary64))
(* y (+ 1 (/ 1 y)))
(-.f64 y #s(literal -1 binary64))
(* y (+ 1 (/ 1 y)))
(-.f64 y #s(literal -1 binary64))
(* x y)
(*.f64 y x)
(* -1 (* y (+ (* -1 x) (* -1 (/ x y)))))
(fma.f64 y x x)
(* -1 (* y (+ (* -1 x) (* -1 (/ x y)))))
(fma.f64 y x x)
(* -1 (* y (+ (* -1 x) (* -1 (/ x y)))))
(fma.f64 y x x)
(* x (+ 1 y))
(fma.f64 y x x)
(* x (+ 1 y))
(fma.f64 y x x)
(* x (+ 1 y))
(fma.f64 y x x)
(* x (+ 1 y))
(fma.f64 y x x)
(* x y)
(*.f64 y x)
(* x y)
(*.f64 y x)
(* x y)
(*.f64 y x)
(* x y)
(*.f64 y x)
(* x (+ 1 y))
(fma.f64 y x x)
(* x (+ 1 y))
(fma.f64 y x x)
(* x (+ 1 y))
(fma.f64 y x x)
(* x (+ 1 y))
(fma.f64 y x x)
(* x (+ 1 y))
(fma.f64 y x x)
(* x (+ 1 y))
(fma.f64 y x x)
(* x (+ 1 y))
(fma.f64 y x x)
(* x (+ 1 y))
(fma.f64 y x x)
(* x (+ 1 y))
(fma.f64 y x x)
(* x (+ 1 y))
(fma.f64 y x x)
(* x (+ 1 y))
(fma.f64 y x x)
(* x (+ 1 y))
(fma.f64 y x x)
(* x y)
(*.f64 y x)
(* x y)
(*.f64 y x)
(* x y)
(*.f64 y x)
(* x y)
(*.f64 y x)
(* x (+ 1 y))
(fma.f64 y x x)
(* x (+ 1 y))
(fma.f64 y x x)
(* x (+ 1 y))
(fma.f64 y x x)
(* x (+ 1 y))
(fma.f64 y x x)
(* x (+ 1 y))
(fma.f64 y x x)
(* x (+ 1 y))
(fma.f64 y x x)
(* x (+ 1 y))
(fma.f64 y x x)
(* x (+ 1 y))
(fma.f64 y x x)
(* x (+ 1 y))
(fma.f64 y x x)
(* x (+ 1 y))
(fma.f64 y x x)
(* x (+ 1 y))
(fma.f64 y x x)
(* x (+ 1 y))
(fma.f64 y x x)
(* x y)
(*.f64 y x)
(* x y)
(*.f64 y x)
(* x y)
(*.f64 y x)
(* x y)
(*.f64 y x)
(* x (+ 1 y))
(fma.f64 y x x)
(* x (+ 1 y))
(fma.f64 y x x)
(* x (+ 1 y))
(fma.f64 y x x)
(* x (+ 1 y))
(fma.f64 y x x)
(* -1 (* x (- (* -1 y) 1)))
(fma.f64 y x x)
(* -1 (* x (- (* -1 y) 1)))
(fma.f64 y x x)
(* -1 (* x (- (* -1 y) 1)))
(fma.f64 y x x)
(* -1 (* x (- (* -1 y) 1)))
(fma.f64 y x x)

rewrite268.0ms (7.7%)

Memory
5.8MiB live, 161.3MiB allocated
Rules
8 298×lower-fma.f32
8 296×lower-fma.f64
4 642×lower-/.f64
4 642×lower-/.f32
4 138×lower-*.f32
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01028
01327
15027
229227
3264127
0922327
Stop Event
iter limit
node limit
iter limit
Counts
5 → 177
Calls
Call 1
Inputs
#s(approx (* x (+ y 1)) (*.f64 y x))
(*.f64 y x)
(*.f64 x #s(approx (+ y 1) #s(literal 1 binary64)))
#s(approx (+ y 1) #s(literal 1 binary64))
(fma.f64 y x 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>

eval80.0ms (2.3%)

Memory
5.6MiB live, 76.8MiB allocated
Compiler

Compiled 4 698 to 510 computations (89.1% saved)

prune7.0ms (0.2%)

Memory
27.4MiB live, 27.4MiB allocated
Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New2800280
Fresh000
Picked033
Done000
Total2803283
Accuracy
100.0%
Counts
283 → 3
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(fma.f64 y x x)
52.3%
(*.f64 x #s(approx (+ y 1) #s(literal 1 binary64)))
49.6%
#s(approx (* x (+ y 1)) (*.f64 y x))
Compiler

Compiled 29 to 22 computations (24.1% saved)

regimes44.0ms (1.3%)

Memory
-33.3MiB live, 17.5MiB allocated
Counts
4 → 1
Calls
Call 1
Inputs
#s(approx (* x (+ y 1)) (*.f64 y x))
(*.f64 x #s(approx (+ y 1) #s(literal 1 binary64)))
(fma.f64 y x x)
(*.f64 x (+.f64 y #s(literal 1 binary64)))
Outputs
(fma.f64 y x x)
Calls

4 calls:

38.0ms
(+.f64 y #s(literal 1 binary64))
2.0ms
x
2.0ms
(*.f64 x (+.f64 y #s(literal 1 binary64)))
2.0ms
y
Results
AccuracySegmentsBranch
100.0%1x
100.0%1y
100.0%1(*.f64 x (+.f64 y #s(literal 1 binary64)))
100.0%1(+.f64 y #s(literal 1 binary64))
Compiler

Compiled 10 to 13 computations (-30% saved)

regimes7.0ms (0.2%)

Memory
14.7MiB live, 14.7MiB allocated
Counts
2 → 3
Calls
Call 1
Inputs
#s(approx (* x (+ y 1)) (*.f64 y x))
(*.f64 x #s(approx (+ y 1) #s(literal 1 binary64)))
Outputs
#s(approx (* x (+ y 1)) (*.f64 y x))
(*.f64 x #s(approx (+ y 1) #s(literal 1 binary64)))
#s(approx (* x (+ y 1)) (*.f64 y x))
Calls

4 calls:

2.0ms
(*.f64 x (+.f64 y #s(literal 1 binary64)))
2.0ms
x
2.0ms
y
1.0ms
(+.f64 y #s(literal 1 binary64))
Results
AccuracySegmentsBranch
61.3%5x
97.6%3y
80.2%3(*.f64 x (+.f64 y #s(literal 1 binary64)))
97.6%3(+.f64 y #s(literal 1 binary64))
Compiler

Compiled 10 to 13 computations (-30% saved)

regimes22.0ms (0.6%)

Memory
-24.0MiB live, 12.2MiB allocated
Accuracy

Total 0.0b remaining (0%)

Threshold costs 0b (0%)

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

4 calls:

17.0ms
(*.f64 x (+.f64 y #s(literal 1 binary64)))
1.0ms
y
1.0ms
x
1.0ms
(+.f64 y #s(literal 1 binary64))
Results
AccuracySegmentsBranch
49.6%1x
49.6%1(*.f64 x (+.f64 y #s(literal 1 binary64)))
49.6%1y
49.6%1(+.f64 y #s(literal 1 binary64))
Compiler

Compiled 10 to 13 computations (-30% saved)

bsearch1.0ms (0%)

Memory
0.6MiB live, 0.6MiB allocated
Algorithm
left-value
Steps
TimeLeftRight
0.0ms
1.1043110191478023
216.86398378882288
0.0ms
-147851.08707673659
1.0
Compiler

Compiled 8 to 10 computations (-25% saved)

simplify130.0ms (3.8%)

Memory
12.9MiB live, 52.1MiB allocated
Algorithm
egg-herbie
Rules
*-commutative-binary64-*.f64
1-exp-binary32-exp.f32
1-exp-binary64-exp.f64
+-commutative-binary64-+.f64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01750
12350
Stop Event
saturated
Calls
Call 1
Inputs
(fma.f64 y x x)
(if (<=.f64 (+.f64 y #s(literal 1 binary64)) #s(literal -100000 binary64)) #s(approx (* x (+ y 1)) (*.f64 y x)) (if (<=.f64 (+.f64 y #s(literal 1 binary64)) #s(literal 2 binary64)) (*.f64 x #s(approx (+ y 1) #s(literal 1 binary64))) #s(approx (* x (+ y 1)) (*.f64 y x))))
#s(approx (* x (+ y 1)) (*.f64 y x))
Outputs
(fma.f64 y x x)
(if (<=.f64 (+.f64 y #s(literal 1 binary64)) #s(literal -100000 binary64)) #s(approx (* x (+ y 1)) (*.f64 y x)) (if (<=.f64 (+.f64 y #s(literal 1 binary64)) #s(literal 2 binary64)) (*.f64 x #s(approx (+ y 1) #s(literal 1 binary64))) #s(approx (* x (+ y 1)) (*.f64 y x))))
(if (<=.f64 (+.f64 #s(literal 1 binary64) y) #s(literal -100000 binary64)) #s(approx (* x (+ y 1)) (*.f64 x y)) (if (<=.f64 (+.f64 #s(literal 1 binary64) y) #s(literal 2 binary64)) (*.f64 #s(approx (+ y 1) #s(literal 1 binary64)) x) #s(approx (* x (+ y 1)) (*.f64 x y))))
#s(approx (* x (+ y 1)) (*.f64 y x))
#s(approx (* x (+ y 1)) (*.f64 x y))

soundness870.0ms (25.1%)

Memory
-15.6MiB live, 187.1MiB allocated
Rules
7 892×lower-fma.f64
7 892×lower-fma.f32
4 072×lower-/.f64
4 072×lower-/.f32
3 472×lower-fma.f64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
058
078
1308
21738
312668
084267
019142
163142
2136142
3336142
41268142
52642142
63266142
73557142
83733142
93767142
104347142
115640142
126396142
136645142
146701142
156701142
167189142
177285142
187437142
197497142
08093121
Stop Event
done
iter limit
node limit
iter limit
node limit
iter limit
Compiler

Compiled 50 to 31 computations (38% saved)

preprocess371.0ms (10.7%)

Memory
12.3MiB live, 91.4MiB allocated
Remove

(negabs x)

Compiler

Compiled 100 to 60 computations (40% saved)

end0.0ms (0%)

Memory
0.0MiB live, 0.0MiB allocated

Profiling

Loading profile data...