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

Time bar (total: 3.1s)

start0.0ms (0%)

Memory
0.0MiB live, 0.0MiB allocated

analyze0.0ms (0%)

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

sample809.0ms (26.4%)

Memory
7.5MiB live, 719.7MiB allocated
Samples
539.0ms8 256×0valid
Precisions
Click to see histograms. Total time spent on operations: 112.0ms
ival-mult: 56.0ms (50% of total)
ival-sub: 42.0ms (37.5% of total)
ival-true: 6.0ms (5.4% of total)
exact: 5.0ms (4.5% of total)
ival-assert: 3.0ms (2.7% of total)
Bogosity

explain66.0ms (2.1%)

Memory
-60.3MiB live, 101.7MiB allocated
FPErrors
Click to see full error table
Ground TruthOverpredictionsExampleUnderpredictionsExampleSubexpression
00-0-(-.f64 (*.f64 x #s(literal 2 binary64)) y)
00-0-(*.f64 x #s(literal 2 binary64))
00-0-#s(literal 2 binary64)
00-0-y
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
22.0ms512×0valid
Compiler

Compiled 42 to 24 computations (42.9% saved)

Precisions
Click to see histograms. Total time spent on operations: 7.0ms
ival-sub: 3.0ms (42.6% of total)
ival-mult: 3.0ms (42.6% of total)
ival-true: 0.0ms (0% of total)
exact: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

preprocess22.0ms (0.7%)

Memory
9.8MiB live, 9.8MiB allocated
Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01329
13125
27925
317025
424725
527525
628125
055
075
1105
2155
3215
4365
5555
61015
71435
81945
92115
102195
02195
Stop Event
iter limit
saturated
iter limit
saturated
Calls
Call 1
Inputs
(-.f64 (*.f64 x #s(literal 2 binary64)) y)
Outputs
(-.f64 (*.f64 x #s(literal 2 binary64)) y)
(fma.f64 #s(literal 2 binary64) x (neg.f64 y))
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 (*.f64 x #s(literal 2 binary64)) y)
Compiler

Compiled 5 to 5 computations (0% saved)

simplify8.0ms (0.2%)

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

Found 2 expressions of interest:

NewMetricScoreProgram
cost-diff0
(*.f64 x #s(literal 2 binary64))
cost-diff0
(-.f64 (*.f64 x #s(literal 2 binary64)) y)
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0511
0711
11011
21511
32111
43611
55511
610111
714311
819411
921111
1021911
021911
Stop Event
iter limit
saturated
iter limit
Calls
Call 1
Inputs
(-.f64 (*.f64 x #s(literal 2 binary64)) y)
(*.f64 x #s(literal 2 binary64))
x
#s(literal 2 binary64)
y
Outputs
(-.f64 (*.f64 x #s(literal 2 binary64)) y)
(fma.f64 #s(literal 2 binary64) x (neg.f64 y))
(*.f64 x #s(literal 2 binary64))
(*.f64 #s(literal 2 binary64) x)
x
#s(literal 2 binary64)
y

localize13.0ms (0.4%)

Memory
11.1MiB live, 11.1MiB allocated
Localize:

Found 2 expressions of interest:

NewMetricScoreProgram
accuracy0
(-.f64 (*.f64 x #s(literal 2 binary64)) y)
accuracy0
(*.f64 x #s(literal 2 binary64))
Samples
9.0ms256×0valid
Compiler

Compiled 24 to 12 computations (50% saved)

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

6 calls:

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

simplify189.0ms (6.2%)

Memory
-9.6MiB live, 102.2MiB allocated
Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
025141
168141
2170141
3436141
4958141
51948141
63052141
74443141
84919141
95131141
105185141
115944141
126883141
137325141
147907141
08235141
Stop Event
iter limit
node limit
Counts
36 → 36
Calls
Call 1
Inputs
(* 2 x)
(+ (* -1 y) (* 2 x))
(+ (* -1 y) (* 2 x))
(+ (* -1 y) (* 2 x))
(* -1 y)
(* y (- (* 2 (/ x y)) 1))
(* y (- (* 2 (/ x y)) 1))
(* y (- (* 2 (/ x y)) 1))
(* -1 y)
(* -1 (* y (+ 1 (* -2 (/ x y)))))
(* -1 (* y (+ 1 (* -2 (/ x y)))))
(* -1 (* y (+ 1 (* -2 (/ x y)))))
(* -1 y)
(- (* 2 x) y)
(- (* 2 x) y)
(- (* 2 x) y)
(* 2 x)
(* 2 x)
(* 2 x)
(* 2 x)
(* 2 x)
(* x (+ 2 (* -1 (/ y x))))
(* x (+ 2 (* -1 (/ y x))))
(* x (+ 2 (* -1 (/ y x))))
(* 2 x)
(* 2 x)
(* 2 x)
(* 2 x)
(* 2 x)
(* -1 (* x (- (/ y x) 2)))
(* -1 (* x (- (/ y x) 2)))
(* -1 (* x (- (/ y x) 2)))
(* 2 x)
(* 2 x)
(* 2 x)
(* 2 x)
Outputs
(* 2 x)
(*.f64 #s(literal 2 binary64) x)
(+ (* -1 y) (* 2 x))
(fma.f64 #s(literal 2 binary64) x (neg.f64 y))
(+ (* -1 y) (* 2 x))
(fma.f64 #s(literal 2 binary64) x (neg.f64 y))
(+ (* -1 y) (* 2 x))
(fma.f64 #s(literal 2 binary64) x (neg.f64 y))
(* -1 y)
(neg.f64 y)
(* y (- (* 2 (/ x y)) 1))
(fma.f64 #s(literal 2 binary64) x (neg.f64 y))
(* y (- (* 2 (/ x y)) 1))
(fma.f64 #s(literal 2 binary64) x (neg.f64 y))
(* y (- (* 2 (/ x y)) 1))
(fma.f64 #s(literal 2 binary64) x (neg.f64 y))
(* -1 y)
(neg.f64 y)
(* -1 (* y (+ 1 (* -2 (/ x y)))))
(fma.f64 #s(literal 2 binary64) x (neg.f64 y))
(* -1 (* y (+ 1 (* -2 (/ x y)))))
(fma.f64 #s(literal 2 binary64) x (neg.f64 y))
(* -1 (* y (+ 1 (* -2 (/ x y)))))
(fma.f64 #s(literal 2 binary64) x (neg.f64 y))
(* -1 y)
(neg.f64 y)
(- (* 2 x) y)
(fma.f64 #s(literal 2 binary64) x (neg.f64 y))
(- (* 2 x) y)
(fma.f64 #s(literal 2 binary64) x (neg.f64 y))
(- (* 2 x) y)
(fma.f64 #s(literal 2 binary64) x (neg.f64 y))
(* 2 x)
(*.f64 #s(literal 2 binary64) x)
(* 2 x)
(*.f64 #s(literal 2 binary64) x)
(* 2 x)
(*.f64 #s(literal 2 binary64) x)
(* 2 x)
(*.f64 #s(literal 2 binary64) x)
(* 2 x)
(*.f64 #s(literal 2 binary64) x)
(* x (+ 2 (* -1 (/ y x))))
(fma.f64 #s(literal 2 binary64) x (neg.f64 y))
(* x (+ 2 (* -1 (/ y x))))
(fma.f64 #s(literal 2 binary64) x (neg.f64 y))
(* x (+ 2 (* -1 (/ y x))))
(fma.f64 #s(literal 2 binary64) x (neg.f64 y))
(* 2 x)
(*.f64 #s(literal 2 binary64) x)
(* 2 x)
(*.f64 #s(literal 2 binary64) x)
(* 2 x)
(*.f64 #s(literal 2 binary64) x)
(* 2 x)
(*.f64 #s(literal 2 binary64) x)
(* 2 x)
(*.f64 #s(literal 2 binary64) x)
(* -1 (* x (- (/ y x) 2)))
(fma.f64 #s(literal 2 binary64) x (neg.f64 y))
(* -1 (* x (- (/ y x) 2)))
(fma.f64 #s(literal 2 binary64) x (neg.f64 y))
(* -1 (* x (- (/ y x) 2)))
(fma.f64 #s(literal 2 binary64) x (neg.f64 y))
(* 2 x)
(*.f64 #s(literal 2 binary64) x)
(* 2 x)
(*.f64 #s(literal 2 binary64) x)
(* 2 x)
(*.f64 #s(literal 2 binary64) x)
(* 2 x)
(*.f64 #s(literal 2 binary64) x)

rewrite227.0ms (7.4%)

Memory
23.7MiB live, 224.9MiB allocated
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
058
078
1238
21618
315768
093557
Stop Event
iter limit
node limit
iter limit
Counts
2 → 372
Calls
Call 1
Inputs
(-.f64 (*.f64 x #s(literal 2 binary64)) y)
(*.f64 x #s(literal 2 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>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>

eval51.0ms (1.7%)

Memory
-28.2MiB live, 131.3MiB allocated
Compiler

Compiled 12 573 to 816 computations (93.5% saved)

prune6.0ms (0.2%)

Memory
28.1MiB live, 28.1MiB allocated
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New4062408
Fresh000
Picked011
Done000
Total4063409
Accuracy
100.0%
Counts
409 → 3
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(-.f64 (*.f64 x #s(literal 2 binary64)) y)
53.2%
#s(approx (- (* x 2) y) (*.f64 #s(literal 2 binary64) x))
47.0%
#s(approx (- (* x 2) y) (neg.f64 y))
Compiler

Compiled 12 to 14 computations (-16.7% saved)

simplify10.0ms (0.3%)

Memory
-21.6MiB live, 16.7MiB allocated
Algorithm
egg-herbie
Localize:

Found 4 expressions of interest:

NewMetricScoreProgram
cost-diff0
(*.f64 #s(literal 2 binary64) x)
cost-diff0
#s(approx (- (* x 2) y) (*.f64 #s(literal 2 binary64) x))
cost-diff0
(neg.f64 y)
cost-diff0
#s(approx (- (* x 2) y) (neg.f64 y))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0925
01125
11725
22225
32925
44525
56625
610525
714825
819925
921625
1022425
022425
Stop Event
iter limit
saturated
iter limit
Calls
Call 1
Inputs
#s(approx (- (* x 2) y) (neg.f64 y))
(neg.f64 y)
y
#s(approx (- (* x 2) y) (*.f64 #s(literal 2 binary64) x))
(*.f64 #s(literal 2 binary64) x)
#s(literal 2 binary64)
x
Outputs
#s(approx (- (* x 2) y) (neg.f64 y))
(neg.f64 y)
y
#s(approx (- (* x 2) y) (*.f64 #s(literal 2 binary64) x))
(*.f64 #s(literal 2 binary64) x)
#s(literal 2 binary64)
x

localize21.0ms (0.7%)

Memory
10.0MiB live, 47.4MiB allocated
Localize:

Found 4 expressions of interest:

NewMetricScoreProgram
accuracy0
(*.f64 #s(literal 2 binary64) x)
accuracy29.948533407305543
#s(approx (- (* x 2) y) (*.f64 #s(literal 2 binary64) x))
accuracy0
(neg.f64 y)
accuracy33.93380724675158
#s(approx (- (* x 2) y) (neg.f64 y))
Samples
16.0ms256×0valid
Compiler

Compiled 35 to 16 computations (54.3% saved)

Precisions
Click to see histograms. Total time spent on operations: 7.0ms
ival-mult: 4.0ms (60.6% of total)
ival-sub: 1.0ms (15.1% of total)
ival-neg: 1.0ms (15.1% of total)
ival-true: 0.0ms (0% of total)
exact: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

series3.0ms (0.1%)

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

6 calls:

TimeVariablePointExpression
0.0ms
x
@inf
((- (* x 2) y) (neg y) (- (* x 2) y) (* 2 x))
0.0ms
x
@-inf
((- (* x 2) y) (neg y) (- (* x 2) y) (* 2 x))
0.0ms
y
@inf
((- (* x 2) y) (neg y) (- (* x 2) y) (* 2 x))
0.0ms
y
@-inf
((- (* x 2) y) (neg y) (- (* x 2) y) (* 2 x))
0.0ms
x
@0
((- (* x 2) y) (neg y) (- (* x 2) y) (* 2 x))

simplify252.0ms (8.2%)

Memory
-1.9MiB live, 121.4MiB allocated
Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
025270
168270
2170270
3436270
4958270
51948270
63052270
74443270
84919270
95131270
105185270
115944270
126883270
137325270
147907270
08235270
Stop Event
iter limit
node limit
Counts
72 → 72
Calls
Call 1
Inputs
(* 2 x)
(+ (* -1 y) (* 2 x))
(+ (* -1 y) (* 2 x))
(+ (* -1 y) (* 2 x))
(* -1 y)
(* -1 y)
(* -1 y)
(* -1 y)
(* 2 x)
(+ (* -1 y) (* 2 x))
(+ (* -1 y) (* 2 x))
(+ (* -1 y) (* 2 x))
(* -1 y)
(* y (- (* 2 (/ x y)) 1))
(* y (- (* 2 (/ x y)) 1))
(* y (- (* 2 (/ x y)) 1))
(* -1 y)
(* -1 y)
(* -1 y)
(* -1 y)
(* -1 y)
(* y (- (* 2 (/ x y)) 1))
(* y (- (* 2 (/ x y)) 1))
(* y (- (* 2 (/ x y)) 1))
(* -1 y)
(* -1 (* y (+ 1 (* -2 (/ x y)))))
(* -1 (* y (+ 1 (* -2 (/ x y)))))
(* -1 (* y (+ 1 (* -2 (/ x y)))))
(* -1 y)
(* -1 y)
(* -1 y)
(* -1 y)
(* -1 y)
(* -1 (* y (+ 1 (* -2 (/ x y)))))
(* -1 (* y (+ 1 (* -2 (/ x y)))))
(* -1 (* y (+ 1 (* -2 (/ x y)))))
(* -1 y)
(- (* 2 x) y)
(- (* 2 x) y)
(- (* 2 x) y)
(* -1 y)
(- (* 2 x) y)
(- (* 2 x) y)
(- (* 2 x) y)
(* 2 x)
(* 2 x)
(* 2 x)
(* 2 x)
(* 2 x)
(* x (+ 2 (* -1 (/ y x))))
(* x (+ 2 (* -1 (/ y x))))
(* x (+ 2 (* -1 (/ y x))))
(* 2 x)
(* x (+ 2 (* -1 (/ y x))))
(* x (+ 2 (* -1 (/ y x))))
(* x (+ 2 (* -1 (/ y x))))
(* 2 x)
(* 2 x)
(* 2 x)
(* 2 x)
(* 2 x)
(* -1 (* x (- (/ y x) 2)))
(* -1 (* x (- (/ y x) 2)))
(* -1 (* x (- (/ y x) 2)))
(* 2 x)
(* -1 (* x (- (/ y x) 2)))
(* -1 (* x (- (/ y x) 2)))
(* -1 (* x (- (/ y x) 2)))
(* 2 x)
(* 2 x)
(* 2 x)
(* 2 x)
Outputs
(* 2 x)
(*.f64 #s(literal 2 binary64) x)
(+ (* -1 y) (* 2 x))
(fma.f64 #s(literal 2 binary64) x (neg.f64 y))
(+ (* -1 y) (* 2 x))
(fma.f64 #s(literal 2 binary64) x (neg.f64 y))
(+ (* -1 y) (* 2 x))
(fma.f64 #s(literal 2 binary64) x (neg.f64 y))
(* -1 y)
(neg.f64 y)
(* -1 y)
(neg.f64 y)
(* -1 y)
(neg.f64 y)
(* -1 y)
(neg.f64 y)
(* 2 x)
(*.f64 #s(literal 2 binary64) x)
(+ (* -1 y) (* 2 x))
(fma.f64 #s(literal 2 binary64) x (neg.f64 y))
(+ (* -1 y) (* 2 x))
(fma.f64 #s(literal 2 binary64) x (neg.f64 y))
(+ (* -1 y) (* 2 x))
(fma.f64 #s(literal 2 binary64) x (neg.f64 y))
(* -1 y)
(neg.f64 y)
(* y (- (* 2 (/ x y)) 1))
(fma.f64 #s(literal 2 binary64) x (neg.f64 y))
(* y (- (* 2 (/ x y)) 1))
(fma.f64 #s(literal 2 binary64) x (neg.f64 y))
(* y (- (* 2 (/ x y)) 1))
(fma.f64 #s(literal 2 binary64) x (neg.f64 y))
(* -1 y)
(neg.f64 y)
(* -1 y)
(neg.f64 y)
(* -1 y)
(neg.f64 y)
(* -1 y)
(neg.f64 y)
(* -1 y)
(neg.f64 y)
(* y (- (* 2 (/ x y)) 1))
(fma.f64 #s(literal 2 binary64) x (neg.f64 y))
(* y (- (* 2 (/ x y)) 1))
(fma.f64 #s(literal 2 binary64) x (neg.f64 y))
(* y (- (* 2 (/ x y)) 1))
(fma.f64 #s(literal 2 binary64) x (neg.f64 y))
(* -1 y)
(neg.f64 y)
(* -1 (* y (+ 1 (* -2 (/ x y)))))
(fma.f64 #s(literal 2 binary64) x (neg.f64 y))
(* -1 (* y (+ 1 (* -2 (/ x y)))))
(fma.f64 #s(literal 2 binary64) x (neg.f64 y))
(* -1 (* y (+ 1 (* -2 (/ x y)))))
(fma.f64 #s(literal 2 binary64) x (neg.f64 y))
(* -1 y)
(neg.f64 y)
(* -1 y)
(neg.f64 y)
(* -1 y)
(neg.f64 y)
(* -1 y)
(neg.f64 y)
(* -1 y)
(neg.f64 y)
(* -1 (* y (+ 1 (* -2 (/ x y)))))
(fma.f64 #s(literal 2 binary64) x (neg.f64 y))
(* -1 (* y (+ 1 (* -2 (/ x y)))))
(fma.f64 #s(literal 2 binary64) x (neg.f64 y))
(* -1 (* y (+ 1 (* -2 (/ x y)))))
(fma.f64 #s(literal 2 binary64) x (neg.f64 y))
(* -1 y)
(neg.f64 y)
(- (* 2 x) y)
(fma.f64 #s(literal 2 binary64) x (neg.f64 y))
(- (* 2 x) y)
(fma.f64 #s(literal 2 binary64) x (neg.f64 y))
(- (* 2 x) y)
(fma.f64 #s(literal 2 binary64) x (neg.f64 y))
(* -1 y)
(neg.f64 y)
(- (* 2 x) y)
(fma.f64 #s(literal 2 binary64) x (neg.f64 y))
(- (* 2 x) y)
(fma.f64 #s(literal 2 binary64) x (neg.f64 y))
(- (* 2 x) y)
(fma.f64 #s(literal 2 binary64) x (neg.f64 y))
(* 2 x)
(*.f64 #s(literal 2 binary64) x)
(* 2 x)
(*.f64 #s(literal 2 binary64) x)
(* 2 x)
(*.f64 #s(literal 2 binary64) x)
(* 2 x)
(*.f64 #s(literal 2 binary64) x)
(* 2 x)
(*.f64 #s(literal 2 binary64) x)
(* x (+ 2 (* -1 (/ y x))))
(fma.f64 #s(literal 2 binary64) x (neg.f64 y))
(* x (+ 2 (* -1 (/ y x))))
(fma.f64 #s(literal 2 binary64) x (neg.f64 y))
(* x (+ 2 (* -1 (/ y x))))
(fma.f64 #s(literal 2 binary64) x (neg.f64 y))
(* 2 x)
(*.f64 #s(literal 2 binary64) x)
(* x (+ 2 (* -1 (/ y x))))
(fma.f64 #s(literal 2 binary64) x (neg.f64 y))
(* x (+ 2 (* -1 (/ y x))))
(fma.f64 #s(literal 2 binary64) x (neg.f64 y))
(* x (+ 2 (* -1 (/ y x))))
(fma.f64 #s(literal 2 binary64) x (neg.f64 y))
(* 2 x)
(*.f64 #s(literal 2 binary64) x)
(* 2 x)
(*.f64 #s(literal 2 binary64) x)
(* 2 x)
(*.f64 #s(literal 2 binary64) x)
(* 2 x)
(*.f64 #s(literal 2 binary64) x)
(* 2 x)
(*.f64 #s(literal 2 binary64) x)
(* -1 (* x (- (/ y x) 2)))
(fma.f64 #s(literal 2 binary64) x (neg.f64 y))
(* -1 (* x (- (/ y x) 2)))
(fma.f64 #s(literal 2 binary64) x (neg.f64 y))
(* -1 (* x (- (/ y x) 2)))
(fma.f64 #s(literal 2 binary64) x (neg.f64 y))
(* 2 x)
(*.f64 #s(literal 2 binary64) x)
(* -1 (* x (- (/ y x) 2)))
(fma.f64 #s(literal 2 binary64) x (neg.f64 y))
(* -1 (* x (- (/ y x) 2)))
(fma.f64 #s(literal 2 binary64) x (neg.f64 y))
(* -1 (* x (- (/ y x) 2)))
(fma.f64 #s(literal 2 binary64) x (neg.f64 y))
(* 2 x)
(*.f64 #s(literal 2 binary64) x)
(* 2 x)
(*.f64 #s(literal 2 binary64) x)
(* 2 x)
(*.f64 #s(literal 2 binary64) x)
(* 2 x)
(*.f64 #s(literal 2 binary64) x)

rewrite173.0ms (5.6%)

Memory
-21.7MiB live, 171.7MiB allocated
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0922
01122
13022
217822
3177320
0944818
Stop Event
iter limit
node limit
iter limit
Counts
4 → 68
Calls
Call 1
Inputs
#s(approx (- (* x 2) y) (neg.f64 y))
(neg.f64 y)
#s(approx (- (* x 2) y) (*.f64 #s(literal 2 binary64) x))
(*.f64 #s(literal 2 binary64) x)
Outputs
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>

eval14.0ms (0.4%)

Memory
34.0MiB live, 34.0MiB allocated
Compiler

Compiled 985 to 206 computations (79.1% saved)

prune35.0ms (1.2%)

Memory
-15.7MiB live, 22.7MiB allocated
Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New1391140
Fresh000
Picked022
Done011
Total1394143
Accuracy
100.0%
Counts
143 → 4
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(-.f64 (*.f64 x #s(literal 2 binary64)) y)
53.2%
#s(approx (- (* x 2) y) (*.f64 #s(literal 2 binary64) x))
47.0%
#s(approx (- (* x 2) y) (neg.f64 y))
2.5%
#s(approx (- (* x 2) y) y)
Compiler

Compiled 14 to 17 computations (-21.4% saved)

simplify8.0ms (0.3%)

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

Found 1 expressions of interest:

NewMetricScoreProgram
cost-diff0
#s(approx (- (* x 2) y) y)
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
068
068
198
2148
3208
4368
5558
61018
71438
81938
92108
102188
02188
Stop Event
iter limit
saturated
saturated
Calls
Call 1
Inputs
#s(approx (- (* x 2) y) y)
y
Outputs
#s(approx (- (* x 2) y) y)
y

localize17.0ms (0.6%)

Memory
-12.7MiB live, 36.4MiB allocated
Localize:

Found 1 expressions of interest:

NewMetricScoreProgram
accuracy62.42631195566353
#s(approx (- (* x 2) y) y)
Samples
13.0ms256×0valid
Compiler

Compiled 11 to 10 computations (9.1% saved)

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

series1.0ms (0%)

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

6 calls:

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

simplify179.0ms (5.8%)

Memory
-14.2MiB live, 144.4MiB allocated
Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
025105
168105
2170105
3436105
4958105
51948105
63052105
74443105
84919105
95131105
105185105
115944105
126883105
137325105
147907105
08235105
Stop Event
iter limit
node limit
Counts
24 → 24
Calls
Call 1
Inputs
(* 2 x)
(+ (* -1 y) (* 2 x))
(+ (* -1 y) (* 2 x))
(+ (* -1 y) (* 2 x))
(* -1 y)
(* y (- (* 2 (/ x y)) 1))
(* y (- (* 2 (/ x y)) 1))
(* y (- (* 2 (/ x y)) 1))
(* -1 y)
(* -1 (* y (+ 1 (* -2 (/ x y)))))
(* -1 (* y (+ 1 (* -2 (/ x y)))))
(* -1 (* y (+ 1 (* -2 (/ x y)))))
(* -1 y)
(- (* 2 x) y)
(- (* 2 x) y)
(- (* 2 x) y)
(* 2 x)
(* x (+ 2 (* -1 (/ y x))))
(* x (+ 2 (* -1 (/ y x))))
(* x (+ 2 (* -1 (/ y x))))
(* 2 x)
(* -1 (* x (- (/ y x) 2)))
(* -1 (* x (- (/ y x) 2)))
(* -1 (* x (- (/ y x) 2)))
Outputs
(* 2 x)
(*.f64 #s(literal 2 binary64) x)
(+ (* -1 y) (* 2 x))
(fma.f64 #s(literal 2 binary64) x (neg.f64 y))
(+ (* -1 y) (* 2 x))
(fma.f64 #s(literal 2 binary64) x (neg.f64 y))
(+ (* -1 y) (* 2 x))
(fma.f64 #s(literal 2 binary64) x (neg.f64 y))
(* -1 y)
(neg.f64 y)
(* y (- (* 2 (/ x y)) 1))
(fma.f64 #s(literal 2 binary64) x (neg.f64 y))
(* y (- (* 2 (/ x y)) 1))
(fma.f64 #s(literal 2 binary64) x (neg.f64 y))
(* y (- (* 2 (/ x y)) 1))
(fma.f64 #s(literal 2 binary64) x (neg.f64 y))
(* -1 y)
(neg.f64 y)
(* -1 (* y (+ 1 (* -2 (/ x y)))))
(fma.f64 #s(literal 2 binary64) x (neg.f64 y))
(* -1 (* y (+ 1 (* -2 (/ x y)))))
(fma.f64 #s(literal 2 binary64) x (neg.f64 y))
(* -1 (* y (+ 1 (* -2 (/ x y)))))
(fma.f64 #s(literal 2 binary64) x (neg.f64 y))
(* -1 y)
(neg.f64 y)
(- (* 2 x) y)
(fma.f64 #s(literal 2 binary64) x (neg.f64 y))
(- (* 2 x) y)
(fma.f64 #s(literal 2 binary64) x (neg.f64 y))
(- (* 2 x) y)
(fma.f64 #s(literal 2 binary64) x (neg.f64 y))
(* 2 x)
(*.f64 #s(literal 2 binary64) x)
(* x (+ 2 (* -1 (/ y x))))
(fma.f64 #s(literal 2 binary64) x (neg.f64 y))
(* x (+ 2 (* -1 (/ y x))))
(fma.f64 #s(literal 2 binary64) x (neg.f64 y))
(* x (+ 2 (* -1 (/ y x))))
(fma.f64 #s(literal 2 binary64) x (neg.f64 y))
(* 2 x)
(*.f64 #s(literal 2 binary64) x)
(* -1 (* x (- (/ y x) 2)))
(fma.f64 #s(literal 2 binary64) x (neg.f64 y))
(* -1 (* x (- (/ y x) 2)))
(fma.f64 #s(literal 2 binary64) x (neg.f64 y))
(* -1 (* x (- (/ y x) 2)))
(fma.f64 #s(literal 2 binary64) x (neg.f64 y))

rewrite231.0ms (7.5%)

Memory
14.6MiB live, 237.2MiB allocated
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
067
067
1227
21607
315707
093666
Stop Event
iter limit
node limit
saturated
Counts
1 → 1
Calls
Call 1
Inputs
#s(approx (- (* x 2) y) y)
Outputs
#<batchref>

eval2.0ms (0.1%)

Memory
5.9MiB live, 5.9MiB allocated
Compiler

Compiled 131 to 10 computations (92.4% saved)

prune3.0ms (0.1%)

Memory
8.8MiB live, 8.8MiB allocated
Pruning

4 alts after pruning (0 fresh and 4 done)

PrunedKeptTotal
New25025
Fresh000
Picked011
Done033
Total25429
Accuracy
100.0%
Counts
29 → 4
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(-.f64 (*.f64 x #s(literal 2 binary64)) y)
53.2%
#s(approx (- (* x 2) y) (*.f64 #s(literal 2 binary64) x))
47.0%
#s(approx (- (* x 2) y) (neg.f64 y))
2.5%
#s(approx (- (* x 2) y) y)
Compiler

Compiled 28 to 27 computations (3.6% saved)

regimes12.0ms (0.4%)

Memory
-5.1MiB live, 30.6MiB allocated
Counts
4 → 1
Calls
Call 1
Inputs
#s(approx (- (* x 2) y) y)
#s(approx (- (* x 2) y) (neg.f64 y))
#s(approx (- (* x 2) y) (*.f64 #s(literal 2 binary64) x))
(-.f64 (*.f64 x #s(literal 2 binary64)) y)
Outputs
(-.f64 (*.f64 x #s(literal 2 binary64)) y)
Calls

4 calls:

5.0ms
(*.f64 x #s(literal 2 binary64))
2.0ms
(-.f64 (*.f64 x #s(literal 2 binary64)) y)
2.0ms
x
2.0ms
y
Results
AccuracySegmentsBranch
100.0%1x
100.0%1y
100.0%1(-.f64 (*.f64 x #s(literal 2 binary64)) y)
100.0%1(*.f64 x #s(literal 2 binary64))
Compiler

Compiled 10 to 13 computations (-30% saved)

regimes16.0ms (0.5%)

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

4 calls:

9.0ms
(-.f64 (*.f64 x #s(literal 2 binary64)) y)
2.0ms
(*.f64 x #s(literal 2 binary64))
2.0ms
y
2.0ms
x
Results
AccuracySegmentsBranch
76.3%3x
78.2%3y
59.9%4(-.f64 (*.f64 x #s(literal 2 binary64)) y)
76.3%3(*.f64 x #s(literal 2 binary64))
Compiler

Compiled 10 to 13 computations (-30% saved)

regimes7.0ms (0.2%)

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

4 calls:

2.0ms
(*.f64 x #s(literal 2 binary64))
2.0ms
(-.f64 (*.f64 x #s(literal 2 binary64)) y)
2.0ms
y
2.0ms
x
Results
AccuracySegmentsBranch
47.0%1(-.f64 (*.f64 x #s(literal 2 binary64)) y)
47.0%1x
47.0%1(*.f64 x #s(literal 2 binary64))
47.0%1y
Compiler

Compiled 10 to 13 computations (-30% saved)

regimes7.0ms (0.2%)

Memory
-14.7MiB live, 24.3MiB allocated
Accuracy

Total 0.0b remaining (0%)

Threshold costs 0b (0%)

Counts
1 → 1
Calls
Call 1
Inputs
#s(approx (- (* x 2) y) y)
Outputs
#s(approx (- (* x 2) y) y)
Calls

4 calls:

2.0ms
(*.f64 x #s(literal 2 binary64))
1.0ms
(-.f64 (*.f64 x #s(literal 2 binary64)) y)
1.0ms
x
1.0ms
y
Results
AccuracySegmentsBranch
2.5%1x
2.5%1y
2.5%1(-.f64 (*.f64 x #s(literal 2 binary64)) y)
2.5%1(*.f64 x #s(literal 2 binary64))
Compiler

Compiled 10 to 13 computations (-30% saved)

bsearch18.0ms (0.6%)

Memory
-14.7MiB live, 63.2MiB allocated
Algorithm
binary-search
Stop Event
narrow-enough
narrow-enough
Steps
TimeLeftRight
8.0ms
1.3115325243259585e-37
4.9613280939220955e-36
8.0ms
-5.347887632589834e-21
-3.99650099806022e-22
Samples
8.0ms208×0valid
Compiler

Compiled 99 to 153 computations (-54.5% saved)

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

simplify26.0ms (0.8%)

Memory
10.3MiB live, 56.1MiB allocated
Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01853
12453
22753
32853
Stop Event
saturated
Calls
Call 1
Inputs
(-.f64 (*.f64 x #s(literal 2 binary64)) y)
(if (<=.f64 y #s(literal -7443676776395529/2658455991569831745807614120560689152 binary64)) #s(approx (- (* x 2) y) (neg.f64 y)) (if (<=.f64 y #s(literal 3591786423904427/748288838313422294120286634350736906063837462003712 binary64)) #s(approx (- (* x 2) y) (*.f64 #s(literal 2 binary64) x)) #s(approx (- (* x 2) y) (neg.f64 y))))
#s(approx (- (* x 2) y) (neg.f64 y))
#s(approx (- (* x 2) y) y)
Outputs
(-.f64 (*.f64 x #s(literal 2 binary64)) y)
(-.f64 (*.f64 #s(literal 2 binary64) x) y)
(if (<=.f64 y #s(literal -7443676776395529/2658455991569831745807614120560689152 binary64)) #s(approx (- (* x 2) y) (neg.f64 y)) (if (<=.f64 y #s(literal 3591786423904427/748288838313422294120286634350736906063837462003712 binary64)) #s(approx (- (* x 2) y) (*.f64 #s(literal 2 binary64) x)) #s(approx (- (* x 2) y) (neg.f64 y))))
#s(approx (- (* x 2) y) (neg.f64 y))
#s(approx (- (* x 2) y) y)

soundness608.0ms (19.8%)

Memory
-9.0MiB live, 226.5MiB allocated
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
025141
168141
2170141
3436141
4958141
51948141
63052141
74443141
84919141
95131141
105185141
115944141
126883141
137325141
147907141
08235141
0922
01122
13022
217822
3177320
0944818
Stop Event
done
iter limit
node limit
iter limit
iter limit
node limit
Compiler

Compiled 40 to 32 computations (20% saved)

preprocess27.0ms (0.9%)

Memory
24.1MiB live, 62.7MiB allocated
Compiler

Compiled 66 to 40 computations (39.4% saved)

end0.0ms (0%)

Memory
0.0MiB live, 0.0MiB allocated

Profiling

Loading profile data...