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

Time bar (total: 3.3s)

start0.0ms (0%)

Memory
0.0MiB live, 0.0MiB allocated

analyze0.0ms (0%)

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

sample974.0ms (29.1%)

Memory
-18.0MiB live, 507.8MiB allocated
Samples
757.0ms8 256×0valid
Precisions
Click to see histograms. Total time spent on operations: 352.0ms
ival-mult: 186.0ms (52.8% of total)
ival-add: 151.0ms (42.9% of total)
ival-true: 7.0ms (2% of total)
exact: 4.0ms (1.1% of total)
ival-assert: 3.0ms (0.9% of total)
Bogosity

explain76.0ms (2.3%)

Memory
-10.9MiB live, 65.5MiB 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
53.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 (40.1% of total)
ival-mult: 3.0ms (40.1% of total)
ival-true: 1.0ms (13.4% of total)
exact: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

preprocess132.0ms (4%)

Memory
6.7MiB live, 44.7MiB allocated
Algorithm
egg-herbie
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.5MiB live, 0.5MiB allocated
Compiler

Compiled 0 to 2 computations (-∞% saved)

prune0.0ms (0%)

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

simplify3.0ms (0.1%)

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

localize40.0ms (1.2%)

Memory
-24.5MiB live, 21.3MiB 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
36.0ms256×0valid
Compiler

Compiled 13 to 7 computations (46.2% saved)

Precisions
Click to see histograms. Total time spent on operations: 30.0ms
ival-add: 28.0ms (93.3% of total)
ival-mult: 2.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)

series3.0ms (0.1%)

Memory
2.8MiB live, 2.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))

simplify337.0ms (10.1%)

Memory
25.4MiB live, 102.5MiB allocated
Algorithm
egg-herbie
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)

rewrite455.0ms (13.6%)

Memory
-32.2MiB live, 218.8MiB allocated
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>

eval39.0ms (1.2%)

Memory
24.0MiB live, 59.3MiB allocated
Compiler

Compiled 6 423 to 807 computations (87.4% saved)

prune7.0ms (0.2%)

Memory
-16.8MiB live, 20.4MiB 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)
51.7%
(*.f64 x #s(approx (+ y 1) #s(literal 1 binary64)))
51.3%
#s(approx (* x (+ y 1)) (*.f64 y x))
Compiler

Compiled 12 to 12 computations (0% saved)

simplify4.0ms (0.1%)

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

localize24.0ms (0.7%)

Memory
8.8MiB live, 43.6MiB 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)))
accuracy31.09293722475613
#s(approx (+ y 1) #s(literal 1 binary64))
accuracy0
(*.f64 y x)
accuracy31.140782069204995
#s(approx (* x (+ y 1)) (*.f64 y x))
Samples
18.0ms256×0valid
Compiler

Compiled 29 to 9 computations (69% saved)

Precisions
Click to see histograms. Total time spent on operations: 6.0ms
ival-add: 3.0ms (47.6% of total)
ival-mult: 3.0ms (47.6% 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
14.3MiB live, 14.3MiB 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))
1.0ms
x
@0
((* 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))

simplify166.0ms (5%)

Memory
-14.0MiB live, 111.5MiB allocated
Algorithm
egg-herbie
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)

rewrite184.0ms (5.5%)

Memory
-9.3MiB live, 298.5MiB allocated
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>

eval63.0ms (1.9%)

Memory
-5.1MiB live, 122.2MiB allocated
Compiler

Compiled 4 698 to 510 computations (89.1% saved)

prune8.0ms (0.2%)

Memory
-2.6MiB live, 36.8MiB 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)
51.7%
(*.f64 x #s(approx (+ y 1) #s(literal 1 binary64)))
51.3%
#s(approx (* x (+ y 1)) (*.f64 y x))
Compiler

Compiled 29 to 22 computations (24.1% saved)

regimes10.0ms (0.3%)

Memory
4.6MiB live, 44.0MiB 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:

3.0ms
x
2.0ms
(*.f64 x (+.f64 y #s(literal 1 binary64)))
2.0ms
y
2.0ms
(+.f64 y #s(literal 1 binary64))
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)

regimes8.0ms (0.3%)

Memory
-12.2MiB live, 32.8MiB 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:

3.0ms
x
2.0ms
(*.f64 x (+.f64 y #s(literal 1 binary64)))
2.0ms
y
1.0ms
(+.f64 y #s(literal 1 binary64))
Results
AccuracySegmentsBranch
61.2%3x
98.9%3y
84.2%3(*.f64 x (+.f64 y #s(literal 1 binary64)))
98.9%3(+.f64 y #s(literal 1 binary64))
Compiler

Compiled 10 to 13 computations (-30% saved)

regimes5.0ms (0.2%)

Memory
18.3MiB live, 18.3MiB 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:

1.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
51.3%1x
51.3%1(*.f64 x (+.f64 y #s(literal 1 binary64)))
51.3%1y
51.3%1(+.f64 y #s(literal 1 binary64))
Compiler

Compiled 10 to 13 computations (-30% saved)

bsearch1.0ms (0%)

Memory
2.0MiB live, 2.0MiB allocated
Algorithm
left-value
Steps
TimeLeftRight
0.0ms
1.001228951317832
29957030.924406834
0.0ms
-478775.70834929217
1.0
Compiler

Compiled 8 to 10 computations (-25% saved)

simplify33.0ms (1%)

Memory
-19.1MiB live, 59.7MiB allocated
Algorithm
egg-herbie
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 -400000 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 -400000 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 -400000 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))

soundness713.0ms (21.3%)

Memory
11.7MiB live, 203.2MiB allocated
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)

preprocess56.0ms (1.7%)

Memory
7.0MiB live, 88.2MiB 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...