Data.Colour.CIE:lightness from colour-2.3.3

Time bar (total: 2.2s)

start0.0ms (0%)

Memory
0.0MiB live, 0.0MiB allocated

analyze0.0ms (0%)

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

Compiled 7 to 7 computations (0% saved)

sample535.0ms (23.9%)

Memory
26.3MiB live, 847.5MiB allocated
Samples
345.0ms8 191×0valid
2.0ms28×2valid
2.0ms37×1valid
Precisions
Click to see histograms. Total time spent on operations: 169.0ms
ival-mult: 98.0ms (57.9% of total)
ival-sub: 53.0ms (31.3% of total)
exact: 8.0ms (4.7% of total)
ival-true: 6.0ms (3.5% of total)
ival-assert: 3.0ms (1.8% of total)
adjust: 1.0ms (0.6% of total)
Bogosity

explain50.0ms (2.2%)

Memory
23.9MiB live, 107.3MiB allocated
FPErrors
Click to see full error table
Ground TruthOverpredictionsExampleUnderpredictionsExampleSubexpression
00-0-(-.f64 (*.f64 x #s(literal 116 binary64)) #s(literal 16 binary64))
00-0-#s(literal 16 binary64)
00-0-(*.f64 x #s(literal 116 binary64))
00-0-#s(literal 116 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
17.0ms508×0valid
0.0ms2valid
Compiler

Compiled 31 to 19 computations (38.7% saved)

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

preprocess16.0ms (0.7%)

Memory
-7.4MiB live, 30.1MiB allocated
Algorithm
egg-herbie
Rules
22×cancel-sign-sub-inv
20×distribute-lft-neg-in
20×sub-neg
14×distribute-rgt-neg-in
14×neg-mul-1
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0713
11911
24510
39610
414510
516410
617210
055
075
1115
2125
0124
Stop Event
iter limit
saturated
iter limit
saturated
Calls
Call 1
Inputs
(-.f64 (*.f64 x #s(literal 116 binary64)) #s(literal 16 binary64))
Outputs
(-.f64 (*.f64 x #s(literal 116 binary64)) #s(literal 16 binary64))
(fma.f64 #s(literal 116 binary64) x #s(literal -16 binary64))
Compiler

Compiled 5 to 5 computations (0% saved)

eval0.0ms (0%)

Memory
0.5MiB live, 0.5MiB allocated
Compiler

Compiled 0 to 1 computations (-∞% saved)

prune0.0ms (0%)

Memory
1.4MiB live, 1.4MiB allocated
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(-.f64 (*.f64 x #s(literal 116 binary64)) #s(literal 16 binary64))
Compiler

Compiled 5 to 5 computations (0% saved)

simplify4.0ms (0.2%)

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

Found 2 expressions of interest:

NewMetricScoreProgram
cost-diff0
(*.f64 x #s(literal 116 binary64))
cost-diff128
(-.f64 (*.f64 x #s(literal 116 binary64)) #s(literal 16 binary64))
Rules
lower-fma.f64
lower-+.f64
lower-fma.f32
lower-*.f32
lower-+.f32
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0511
0711
11111
21211
01210
Stop Event
iter limit
saturated
iter limit
Calls
Call 1
Inputs
(-.f64 (*.f64 x #s(literal 116 binary64)) #s(literal 16 binary64))
(*.f64 x #s(literal 116 binary64))
x
#s(literal 116 binary64)
#s(literal 16 binary64)
Outputs
(-.f64 (*.f64 x #s(literal 116 binary64)) #s(literal 16 binary64))
(fma.f64 #s(literal 116 binary64) x #s(literal -16 binary64))
(*.f64 x #s(literal 116 binary64))
(*.f64 #s(literal 116 binary64) x)
x
#s(literal 116 binary64)
#s(literal 16 binary64)

localize15.0ms (0.7%)

Memory
-10.8MiB live, 26.5MiB allocated
Localize:

Found 2 expressions of interest:

NewMetricScoreProgram
accuracy0
(*.f64 x #s(literal 116 binary64))
accuracy0.015625
(-.f64 (*.f64 x #s(literal 116 binary64)) #s(literal 16 binary64))
Samples
10.0ms254×0valid
0.0ms2valid
Compiler

Compiled 13 to 7 computations (46.2% saved)

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

series2.0ms (0.1%)

Memory
6.1MiB live, 6.1MiB allocated
Counts
2 → 24
Calls
Call 1
Inputs
#s(alt (-.f64 (*.f64 x #s(literal 116 binary64)) #s(literal 16 binary64)) (patch (-.f64 (*.f64 x #s(literal 116 binary64)) #s(literal 16 binary64)) #<representation binary64>) () ())
#s(alt (*.f64 x #s(literal 116 binary64)) (patch (*.f64 x #s(literal 116 binary64)) #<representation binary64>) () ())
Outputs
#s(alt -16 (taylor 0 x) (#s(alt (-.f64 (*.f64 x #s(literal 116 binary64)) #s(literal 16 binary64)) (patch (-.f64 (*.f64 x #s(literal 116 binary64)) #s(literal 16 binary64)) #<representation binary64>) () ())) ())
#s(alt (- (* 116 x) 16) (taylor 0 x) (#s(alt (-.f64 (*.f64 x #s(literal 116 binary64)) #s(literal 16 binary64)) (patch (-.f64 (*.f64 x #s(literal 116 binary64)) #s(literal 16 binary64)) #<representation binary64>) () ())) ())
#s(alt (- (* 116 x) 16) (taylor 0 x) (#s(alt (-.f64 (*.f64 x #s(literal 116 binary64)) #s(literal 16 binary64)) (patch (-.f64 (*.f64 x #s(literal 116 binary64)) #s(literal 16 binary64)) #<representation binary64>) () ())) ())
#s(alt (- (* 116 x) 16) (taylor 0 x) (#s(alt (-.f64 (*.f64 x #s(literal 116 binary64)) #s(literal 16 binary64)) (patch (-.f64 (*.f64 x #s(literal 116 binary64)) #s(literal 16 binary64)) #<representation binary64>) () ())) ())
#s(alt (* 116 x) (taylor 0 x) (#s(alt (*.f64 x #s(literal 116 binary64)) (patch (*.f64 x #s(literal 116 binary64)) #<representation binary64>) () ())) ())
#s(alt (* 116 x) (taylor 0 x) (#s(alt (*.f64 x #s(literal 116 binary64)) (patch (*.f64 x #s(literal 116 binary64)) #<representation binary64>) () ())) ())
#s(alt (* 116 x) (taylor 0 x) (#s(alt (*.f64 x #s(literal 116 binary64)) (patch (*.f64 x #s(literal 116 binary64)) #<representation binary64>) () ())) ())
#s(alt (* 116 x) (taylor 0 x) (#s(alt (*.f64 x #s(literal 116 binary64)) (patch (*.f64 x #s(literal 116 binary64)) #<representation binary64>) () ())) ())
#s(alt (* 116 x) (taylor inf x) (#s(alt (-.f64 (*.f64 x #s(literal 116 binary64)) #s(literal 16 binary64)) (patch (-.f64 (*.f64 x #s(literal 116 binary64)) #s(literal 16 binary64)) #<representation binary64>) () ())) ())
#s(alt (* x (- 116 (* 16 (/ 1 x)))) (taylor inf x) (#s(alt (-.f64 (*.f64 x #s(literal 116 binary64)) #s(literal 16 binary64)) (patch (-.f64 (*.f64 x #s(literal 116 binary64)) #s(literal 16 binary64)) #<representation binary64>) () ())) ())
#s(alt (* x (- 116 (* 16 (/ 1 x)))) (taylor inf x) (#s(alt (-.f64 (*.f64 x #s(literal 116 binary64)) #s(literal 16 binary64)) (patch (-.f64 (*.f64 x #s(literal 116 binary64)) #s(literal 16 binary64)) #<representation binary64>) () ())) ())
#s(alt (* x (- 116 (* 16 (/ 1 x)))) (taylor inf x) (#s(alt (-.f64 (*.f64 x #s(literal 116 binary64)) #s(literal 16 binary64)) (patch (-.f64 (*.f64 x #s(literal 116 binary64)) #s(literal 16 binary64)) #<representation binary64>) () ())) ())
#s(alt (* 116 x) (taylor inf x) (#s(alt (*.f64 x #s(literal 116 binary64)) (patch (*.f64 x #s(literal 116 binary64)) #<representation binary64>) () ())) ())
#s(alt (* 116 x) (taylor inf x) (#s(alt (*.f64 x #s(literal 116 binary64)) (patch (*.f64 x #s(literal 116 binary64)) #<representation binary64>) () ())) ())
#s(alt (* 116 x) (taylor inf x) (#s(alt (*.f64 x #s(literal 116 binary64)) (patch (*.f64 x #s(literal 116 binary64)) #<representation binary64>) () ())) ())
#s(alt (* 116 x) (taylor inf x) (#s(alt (*.f64 x #s(literal 116 binary64)) (patch (*.f64 x #s(literal 116 binary64)) #<representation binary64>) () ())) ())
#s(alt (* 116 x) (taylor -inf x) (#s(alt (-.f64 (*.f64 x #s(literal 116 binary64)) #s(literal 16 binary64)) (patch (-.f64 (*.f64 x #s(literal 116 binary64)) #s(literal 16 binary64)) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x (- (* 16 (/ 1 x)) 116))) (taylor -inf x) (#s(alt (-.f64 (*.f64 x #s(literal 116 binary64)) #s(literal 16 binary64)) (patch (-.f64 (*.f64 x #s(literal 116 binary64)) #s(literal 16 binary64)) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x (- (* 16 (/ 1 x)) 116))) (taylor -inf x) (#s(alt (-.f64 (*.f64 x #s(literal 116 binary64)) #s(literal 16 binary64)) (patch (-.f64 (*.f64 x #s(literal 116 binary64)) #s(literal 16 binary64)) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x (- (* 16 (/ 1 x)) 116))) (taylor -inf x) (#s(alt (-.f64 (*.f64 x #s(literal 116 binary64)) #s(literal 16 binary64)) (patch (-.f64 (*.f64 x #s(literal 116 binary64)) #s(literal 16 binary64)) #<representation binary64>) () ())) ())
#s(alt (* 116 x) (taylor -inf x) (#s(alt (*.f64 x #s(literal 116 binary64)) (patch (*.f64 x #s(literal 116 binary64)) #<representation binary64>) () ())) ())
#s(alt (* 116 x) (taylor -inf x) (#s(alt (*.f64 x #s(literal 116 binary64)) (patch (*.f64 x #s(literal 116 binary64)) #<representation binary64>) () ())) ())
#s(alt (* 116 x) (taylor -inf x) (#s(alt (*.f64 x #s(literal 116 binary64)) (patch (*.f64 x #s(literal 116 binary64)) #<representation binary64>) () ())) ())
#s(alt (* 116 x) (taylor -inf x) (#s(alt (*.f64 x #s(literal 116 binary64)) (patch (*.f64 x #s(literal 116 binary64)) #<representation binary64>) () ())) ())
Calls

3 calls:

TimeVariablePointExpression
1.0ms
x
@inf
((- (* x 116) 16) (* x 116))
0.0ms
x
@-inf
((- (* x 116) 16) (* x 116))
0.0ms
x
@0
((- (* x 116) 16) (* x 116))

simplify15.0ms (0.7%)

Memory
-14.1MiB live, 22.9MiB allocated
Algorithm
egg-herbie
Rules
180×lower-fma.f64
180×lower-fma.f32
132×lower-*.f64
132×lower-*.f32
72×lower-+.f64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01588
13688
27888
316888
426488
529488
635688
740688
844288
945188
1045588
045579
Stop Event
iter limit
saturated
Counts
24 → 24
Calls
Call 1
Inputs
-16
(- (* 116 x) 16)
(- (* 116 x) 16)
(- (* 116 x) 16)
(* 116 x)
(* 116 x)
(* 116 x)
(* 116 x)
(* 116 x)
(* x (- 116 (* 16 (/ 1 x))))
(* x (- 116 (* 16 (/ 1 x))))
(* x (- 116 (* 16 (/ 1 x))))
(* 116 x)
(* 116 x)
(* 116 x)
(* 116 x)
(* 116 x)
(* -1 (* x (- (* 16 (/ 1 x)) 116)))
(* -1 (* x (- (* 16 (/ 1 x)) 116)))
(* -1 (* x (- (* 16 (/ 1 x)) 116)))
(* 116 x)
(* 116 x)
(* 116 x)
(* 116 x)
Outputs
-16
#s(literal -16 binary64)
(- (* 116 x) 16)
(fma.f64 x #s(literal 116 binary64) #s(literal -16 binary64))
(- (* 116 x) 16)
(fma.f64 x #s(literal 116 binary64) #s(literal -16 binary64))
(- (* 116 x) 16)
(fma.f64 x #s(literal 116 binary64) #s(literal -16 binary64))
(* 116 x)
(*.f64 x #s(literal 116 binary64))
(* 116 x)
(*.f64 x #s(literal 116 binary64))
(* 116 x)
(*.f64 x #s(literal 116 binary64))
(* 116 x)
(*.f64 x #s(literal 116 binary64))
(* 116 x)
(*.f64 x #s(literal 116 binary64))
(* x (- 116 (* 16 (/ 1 x))))
(fma.f64 x #s(literal 116 binary64) #s(literal -16 binary64))
(* x (- 116 (* 16 (/ 1 x))))
(fma.f64 x #s(literal 116 binary64) #s(literal -16 binary64))
(* x (- 116 (* 16 (/ 1 x))))
(fma.f64 x #s(literal 116 binary64) #s(literal -16 binary64))
(* 116 x)
(*.f64 x #s(literal 116 binary64))
(* 116 x)
(*.f64 x #s(literal 116 binary64))
(* 116 x)
(*.f64 x #s(literal 116 binary64))
(* 116 x)
(*.f64 x #s(literal 116 binary64))
(* 116 x)
(*.f64 x #s(literal 116 binary64))
(* -1 (* x (- (* 16 (/ 1 x)) 116)))
(fma.f64 x #s(literal 116 binary64) #s(literal -16 binary64))
(* -1 (* x (- (* 16 (/ 1 x)) 116)))
(fma.f64 x #s(literal 116 binary64) #s(literal -16 binary64))
(* -1 (* x (- (* 16 (/ 1 x)) 116)))
(fma.f64 x #s(literal 116 binary64) #s(literal -16 binary64))
(* 116 x)
(*.f64 x #s(literal 116 binary64))
(* 116 x)
(*.f64 x #s(literal 116 binary64))
(* 116 x)
(*.f64 x #s(literal 116 binary64))
(* 116 x)
(*.f64 x #s(literal 116 binary64))

rewrite493.0ms (22%)

Memory
-9.7MiB live, 238.6MiB allocated
Rules
9 662×lower-fma.f64
9 662×lower-fma.f32
4 548×lower-/.f64
4 548×lower-/.f32
4 348×lower-*.f32
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
058
078
1268
21528
312118
082917
Stop Event
iter limit
node limit
iter limit
Counts
2 → 298
Calls
Call 1
Inputs
(-.f64 (*.f64 x #s(literal 116 binary64)) #s(literal 16 binary64))
(*.f64 x #s(literal 116 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>

eval41.0ms (1.8%)

Memory
24.5MiB live, 97.9MiB allocated
Compiler

Compiled 9 962 to 890 computations (91.1% saved)

prune319.0ms (14.2%)

Memory
-18.6MiB live, 27.2MiB allocated
Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New3193322
Fresh000
Picked101
Done000
Total3203323
Accuracy
100.0%
Counts
323 → 3
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(fma.f64 x #s(literal 116 binary64) #s(literal -16 binary64))
46.4%
#s(approx (- (* x 116) 16) (*.f64 x #s(literal 116 binary64)))
53.8%
#s(approx (- (* x 116) 16) #s(literal -16 binary64))
Compiler

Compiled 10 to 11 computations (-10% saved)

simplify4.0ms (0.2%)

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

Found 4 expressions of interest:

NewMetricScoreProgram
cost-diff0
(fma.f64 x #s(literal 116 binary64) #s(literal -16 binary64))
cost-diff0
(*.f64 x #s(literal 116 binary64))
cost-diff0
#s(approx (- (* x 116) 16) (*.f64 x #s(literal 116 binary64)))
cost-diff0
#s(approx (- (* x 116) 16) #s(literal -16 binary64))
Rules
lower-+.f64
lower-fma.f32
lower-*.f32
lower-+.f32
*-commutative
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01029
01227
11527
01527
Stop Event
iter limit
saturated
iter limit
Calls
Call 1
Inputs
#s(approx (- (* x 116) 16) #s(literal -16 binary64))
#s(literal -16 binary64)
#s(approx (- (* x 116) 16) (*.f64 x #s(literal 116 binary64)))
(*.f64 x #s(literal 116 binary64))
x
#s(literal 116 binary64)
(fma.f64 x #s(literal 116 binary64) #s(literal -16 binary64))
x
#s(literal 116 binary64)
#s(literal -16 binary64)
Outputs
#s(approx (- (* x 116) 16) #s(literal -16 binary64))
#s(literal -16 binary64)
#s(approx (- (* x 116) 16) (*.f64 x #s(literal 116 binary64)))
#s(approx (- (* x 116) 16) (*.f64 #s(literal 116 binary64) x))
(*.f64 x #s(literal 116 binary64))
(*.f64 #s(literal 116 binary64) x)
x
#s(literal 116 binary64)
(fma.f64 x #s(literal 116 binary64) #s(literal -16 binary64))
(fma.f64 #s(literal 116 binary64) x #s(literal -16 binary64))
x
#s(literal 116 binary64)
#s(literal -16 binary64)

localize66.0ms (2.9%)

Memory
17.7MiB live, 50.5MiB allocated
Localize:

Found 4 expressions of interest:

NewMetricScoreProgram
accuracy0
(fma.f64 x #s(literal 116 binary64) #s(literal -16 binary64))
accuracy0
(*.f64 x #s(literal 116 binary64))
accuracy34.28142790875415
#s(approx (- (* x 116) 16) (*.f64 x #s(literal 116 binary64)))
accuracy29.54985373988489
#s(approx (- (* x 116) 16) #s(literal -16 binary64))
Samples
12.0ms254×0valid
0.0ms2valid
Compiler

Compiled 26 to 9 computations (65.4% saved)

Precisions
Click to see histograms. Total time spent on operations: 5.0ms
ival-mult: 2.0ms (36.8% of total)
ival-add: 1.0ms (18.4% of total)
ival-sub: 1.0ms (18.4% of total)
adjust: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)
ival-true: 0.0ms (0% of total)
exact: 0.0ms (0% of total)

series4.0ms (0.2%)

Memory
-29.5MiB live, 6.3MiB allocated
Counts
4 → 48
Calls
Call 1
Inputs
#s(alt #s(approx (- (* x 116) 16) #s(literal -16 binary64)) (patch #s(approx (- (* x 116) 16) #s(literal -16 binary64)) #<representation binary64>) () ())
#s(alt #s(approx (- (* x 116) 16) (*.f64 x #s(literal 116 binary64))) (patch #s(approx (- (* x 116) 16) (*.f64 x #s(literal 116 binary64))) #<representation binary64>) () ())
#s(alt (*.f64 x #s(literal 116 binary64)) (patch (*.f64 x #s(literal 116 binary64)) #<representation binary64>) () ())
#s(alt (fma.f64 x #s(literal 116 binary64) #s(literal -16 binary64)) (patch (fma.f64 x #s(literal 116 binary64) #s(literal -16 binary64)) #<representation binary64>) () ())
Outputs
#s(alt -16 (taylor 0 x) (#s(alt #s(approx (- (* x 116) 16) #s(literal -16 binary64)) (patch #s(approx (- (* x 116) 16) #s(literal -16 binary64)) #<representation binary64>) () ())) ())
#s(alt (- (* 116 x) 16) (taylor 0 x) (#s(alt #s(approx (- (* x 116) 16) #s(literal -16 binary64)) (patch #s(approx (- (* x 116) 16) #s(literal -16 binary64)) #<representation binary64>) () ())) ())
#s(alt (- (* 116 x) 16) (taylor 0 x) (#s(alt #s(approx (- (* x 116) 16) #s(literal -16 binary64)) (patch #s(approx (- (* x 116) 16) #s(literal -16 binary64)) #<representation binary64>) () ())) ())
#s(alt (- (* 116 x) 16) (taylor 0 x) (#s(alt #s(approx (- (* x 116) 16) #s(literal -16 binary64)) (patch #s(approx (- (* x 116) 16) #s(literal -16 binary64)) #<representation binary64>) () ())) ())
#s(alt -16 (taylor 0 x) (#s(alt #s(approx (- (* x 116) 16) (*.f64 x #s(literal 116 binary64))) (patch #s(approx (- (* x 116) 16) (*.f64 x #s(literal 116 binary64))) #<representation binary64>) () ())) ())
#s(alt (- (* 116 x) 16) (taylor 0 x) (#s(alt #s(approx (- (* x 116) 16) (*.f64 x #s(literal 116 binary64))) (patch #s(approx (- (* x 116) 16) (*.f64 x #s(literal 116 binary64))) #<representation binary64>) () ())) ())
#s(alt (- (* 116 x) 16) (taylor 0 x) (#s(alt #s(approx (- (* x 116) 16) (*.f64 x #s(literal 116 binary64))) (patch #s(approx (- (* x 116) 16) (*.f64 x #s(literal 116 binary64))) #<representation binary64>) () ())) ())
#s(alt (- (* 116 x) 16) (taylor 0 x) (#s(alt #s(approx (- (* x 116) 16) (*.f64 x #s(literal 116 binary64))) (patch #s(approx (- (* x 116) 16) (*.f64 x #s(literal 116 binary64))) #<representation binary64>) () ())) ())
#s(alt (* 116 x) (taylor 0 x) (#s(alt (*.f64 x #s(literal 116 binary64)) (patch (*.f64 x #s(literal 116 binary64)) #<representation binary64>) () ())) ())
#s(alt (* 116 x) (taylor 0 x) (#s(alt (*.f64 x #s(literal 116 binary64)) (patch (*.f64 x #s(literal 116 binary64)) #<representation binary64>) () ())) ())
#s(alt (* 116 x) (taylor 0 x) (#s(alt (*.f64 x #s(literal 116 binary64)) (patch (*.f64 x #s(literal 116 binary64)) #<representation binary64>) () ())) ())
#s(alt (* 116 x) (taylor 0 x) (#s(alt (*.f64 x #s(literal 116 binary64)) (patch (*.f64 x #s(literal 116 binary64)) #<representation binary64>) () ())) ())
#s(alt -16 (taylor 0 x) (#s(alt (fma.f64 x #s(literal 116 binary64) #s(literal -16 binary64)) (patch (fma.f64 x #s(literal 116 binary64) #s(literal -16 binary64)) #<representation binary64>) () ())) ())
#s(alt (- (* 116 x) 16) (taylor 0 x) (#s(alt (fma.f64 x #s(literal 116 binary64) #s(literal -16 binary64)) (patch (fma.f64 x #s(literal 116 binary64) #s(literal -16 binary64)) #<representation binary64>) () ())) ())
#s(alt (- (* 116 x) 16) (taylor 0 x) (#s(alt (fma.f64 x #s(literal 116 binary64) #s(literal -16 binary64)) (patch (fma.f64 x #s(literal 116 binary64) #s(literal -16 binary64)) #<representation binary64>) () ())) ())
#s(alt (- (* 116 x) 16) (taylor 0 x) (#s(alt (fma.f64 x #s(literal 116 binary64) #s(literal -16 binary64)) (patch (fma.f64 x #s(literal 116 binary64) #s(literal -16 binary64)) #<representation binary64>) () ())) ())
#s(alt (* 116 x) (taylor inf x) (#s(alt #s(approx (- (* x 116) 16) #s(literal -16 binary64)) (patch #s(approx (- (* x 116) 16) #s(literal -16 binary64)) #<representation binary64>) () ())) ())
#s(alt (* x (- 116 (* 16 (/ 1 x)))) (taylor inf x) (#s(alt #s(approx (- (* x 116) 16) #s(literal -16 binary64)) (patch #s(approx (- (* x 116) 16) #s(literal -16 binary64)) #<representation binary64>) () ())) ())
#s(alt (* x (- 116 (* 16 (/ 1 x)))) (taylor inf x) (#s(alt #s(approx (- (* x 116) 16) #s(literal -16 binary64)) (patch #s(approx (- (* x 116) 16) #s(literal -16 binary64)) #<representation binary64>) () ())) ())
#s(alt (* x (- 116 (* 16 (/ 1 x)))) (taylor inf x) (#s(alt #s(approx (- (* x 116) 16) #s(literal -16 binary64)) (patch #s(approx (- (* x 116) 16) #s(literal -16 binary64)) #<representation binary64>) () ())) ())
#s(alt (* 116 x) (taylor inf x) (#s(alt #s(approx (- (* x 116) 16) (*.f64 x #s(literal 116 binary64))) (patch #s(approx (- (* x 116) 16) (*.f64 x #s(literal 116 binary64))) #<representation binary64>) () ())) ())
#s(alt (* x (- 116 (* 16 (/ 1 x)))) (taylor inf x) (#s(alt #s(approx (- (* x 116) 16) (*.f64 x #s(literal 116 binary64))) (patch #s(approx (- (* x 116) 16) (*.f64 x #s(literal 116 binary64))) #<representation binary64>) () ())) ())
#s(alt (* x (- 116 (* 16 (/ 1 x)))) (taylor inf x) (#s(alt #s(approx (- (* x 116) 16) (*.f64 x #s(literal 116 binary64))) (patch #s(approx (- (* x 116) 16) (*.f64 x #s(literal 116 binary64))) #<representation binary64>) () ())) ())
#s(alt (* x (- 116 (* 16 (/ 1 x)))) (taylor inf x) (#s(alt #s(approx (- (* x 116) 16) (*.f64 x #s(literal 116 binary64))) (patch #s(approx (- (* x 116) 16) (*.f64 x #s(literal 116 binary64))) #<representation binary64>) () ())) ())
#s(alt (* 116 x) (taylor inf x) (#s(alt (*.f64 x #s(literal 116 binary64)) (patch (*.f64 x #s(literal 116 binary64)) #<representation binary64>) () ())) ())
#s(alt (* 116 x) (taylor inf x) (#s(alt (*.f64 x #s(literal 116 binary64)) (patch (*.f64 x #s(literal 116 binary64)) #<representation binary64>) () ())) ())
#s(alt (* 116 x) (taylor inf x) (#s(alt (*.f64 x #s(literal 116 binary64)) (patch (*.f64 x #s(literal 116 binary64)) #<representation binary64>) () ())) ())
#s(alt (* 116 x) (taylor inf x) (#s(alt (*.f64 x #s(literal 116 binary64)) (patch (*.f64 x #s(literal 116 binary64)) #<representation binary64>) () ())) ())
#s(alt (* 116 x) (taylor inf x) (#s(alt (fma.f64 x #s(literal 116 binary64) #s(literal -16 binary64)) (patch (fma.f64 x #s(literal 116 binary64) #s(literal -16 binary64)) #<representation binary64>) () ())) ())
#s(alt (* x (- 116 (* 16 (/ 1 x)))) (taylor inf x) (#s(alt (fma.f64 x #s(literal 116 binary64) #s(literal -16 binary64)) (patch (fma.f64 x #s(literal 116 binary64) #s(literal -16 binary64)) #<representation binary64>) () ())) ())
#s(alt (* x (- 116 (* 16 (/ 1 x)))) (taylor inf x) (#s(alt (fma.f64 x #s(literal 116 binary64) #s(literal -16 binary64)) (patch (fma.f64 x #s(literal 116 binary64) #s(literal -16 binary64)) #<representation binary64>) () ())) ())
#s(alt (* x (- 116 (* 16 (/ 1 x)))) (taylor inf x) (#s(alt (fma.f64 x #s(literal 116 binary64) #s(literal -16 binary64)) (patch (fma.f64 x #s(literal 116 binary64) #s(literal -16 binary64)) #<representation binary64>) () ())) ())
#s(alt (* 116 x) (taylor -inf x) (#s(alt #s(approx (- (* x 116) 16) #s(literal -16 binary64)) (patch #s(approx (- (* x 116) 16) #s(literal -16 binary64)) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x (- (* 16 (/ 1 x)) 116))) (taylor -inf x) (#s(alt #s(approx (- (* x 116) 16) #s(literal -16 binary64)) (patch #s(approx (- (* x 116) 16) #s(literal -16 binary64)) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x (- (* 16 (/ 1 x)) 116))) (taylor -inf x) (#s(alt #s(approx (- (* x 116) 16) #s(literal -16 binary64)) (patch #s(approx (- (* x 116) 16) #s(literal -16 binary64)) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x (- (* 16 (/ 1 x)) 116))) (taylor -inf x) (#s(alt #s(approx (- (* x 116) 16) #s(literal -16 binary64)) (patch #s(approx (- (* x 116) 16) #s(literal -16 binary64)) #<representation binary64>) () ())) ())
#s(alt (* 116 x) (taylor -inf x) (#s(alt #s(approx (- (* x 116) 16) (*.f64 x #s(literal 116 binary64))) (patch #s(approx (- (* x 116) 16) (*.f64 x #s(literal 116 binary64))) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x (- (* 16 (/ 1 x)) 116))) (taylor -inf x) (#s(alt #s(approx (- (* x 116) 16) (*.f64 x #s(literal 116 binary64))) (patch #s(approx (- (* x 116) 16) (*.f64 x #s(literal 116 binary64))) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x (- (* 16 (/ 1 x)) 116))) (taylor -inf x) (#s(alt #s(approx (- (* x 116) 16) (*.f64 x #s(literal 116 binary64))) (patch #s(approx (- (* x 116) 16) (*.f64 x #s(literal 116 binary64))) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x (- (* 16 (/ 1 x)) 116))) (taylor -inf x) (#s(alt #s(approx (- (* x 116) 16) (*.f64 x #s(literal 116 binary64))) (patch #s(approx (- (* x 116) 16) (*.f64 x #s(literal 116 binary64))) #<representation binary64>) () ())) ())
#s(alt (* 116 x) (taylor -inf x) (#s(alt (*.f64 x #s(literal 116 binary64)) (patch (*.f64 x #s(literal 116 binary64)) #<representation binary64>) () ())) ())
#s(alt (* 116 x) (taylor -inf x) (#s(alt (*.f64 x #s(literal 116 binary64)) (patch (*.f64 x #s(literal 116 binary64)) #<representation binary64>) () ())) ())
#s(alt (* 116 x) (taylor -inf x) (#s(alt (*.f64 x #s(literal 116 binary64)) (patch (*.f64 x #s(literal 116 binary64)) #<representation binary64>) () ())) ())
#s(alt (* 116 x) (taylor -inf x) (#s(alt (*.f64 x #s(literal 116 binary64)) (patch (*.f64 x #s(literal 116 binary64)) #<representation binary64>) () ())) ())
#s(alt (* 116 x) (taylor -inf x) (#s(alt (fma.f64 x #s(literal 116 binary64) #s(literal -16 binary64)) (patch (fma.f64 x #s(literal 116 binary64) #s(literal -16 binary64)) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x (- (* 16 (/ 1 x)) 116))) (taylor -inf x) (#s(alt (fma.f64 x #s(literal 116 binary64) #s(literal -16 binary64)) (patch (fma.f64 x #s(literal 116 binary64) #s(literal -16 binary64)) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x (- (* 16 (/ 1 x)) 116))) (taylor -inf x) (#s(alt (fma.f64 x #s(literal 116 binary64) #s(literal -16 binary64)) (patch (fma.f64 x #s(literal 116 binary64) #s(literal -16 binary64)) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x (- (* 16 (/ 1 x)) 116))) (taylor -inf x) (#s(alt (fma.f64 x #s(literal 116 binary64) #s(literal -16 binary64)) (patch (fma.f64 x #s(literal 116 binary64) #s(literal -16 binary64)) #<representation binary64>) () ())) ())
Calls

3 calls:

TimeVariablePointExpression
3.0ms
x
@-inf
((- (* x 116) 16) (- (* x 116) 16) (* x 116) (+ (* x 116) -16))
0.0ms
x
@inf
((- (* x 116) 16) (- (* x 116) 16) (* x 116) (+ (* x 116) -16))
0.0ms
x
@0
((- (* x 116) 16) (- (* x 116) 16) (* x 116) (+ (* x 116) -16))

simplify13.0ms (0.6%)

Memory
30.6MiB live, 30.6MiB allocated
Algorithm
egg-herbie
Rules
180×lower-fma.f64
180×lower-fma.f32
132×lower-*.f64
132×lower-*.f32
72×lower-+.f64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
015192
136192
278192
3168192
4264192
5294192
6356192
7406192
8442192
9451192
10455192
0455165
Stop Event
iter limit
saturated
Counts
48 → 48
Calls
Call 1
Inputs
-16
(- (* 116 x) 16)
(- (* 116 x) 16)
(- (* 116 x) 16)
-16
(- (* 116 x) 16)
(- (* 116 x) 16)
(- (* 116 x) 16)
(* 116 x)
(* 116 x)
(* 116 x)
(* 116 x)
-16
(- (* 116 x) 16)
(- (* 116 x) 16)
(- (* 116 x) 16)
(* 116 x)
(* x (- 116 (* 16 (/ 1 x))))
(* x (- 116 (* 16 (/ 1 x))))
(* x (- 116 (* 16 (/ 1 x))))
(* 116 x)
(* x (- 116 (* 16 (/ 1 x))))
(* x (- 116 (* 16 (/ 1 x))))
(* x (- 116 (* 16 (/ 1 x))))
(* 116 x)
(* 116 x)
(* 116 x)
(* 116 x)
(* 116 x)
(* x (- 116 (* 16 (/ 1 x))))
(* x (- 116 (* 16 (/ 1 x))))
(* x (- 116 (* 16 (/ 1 x))))
(* 116 x)
(* -1 (* x (- (* 16 (/ 1 x)) 116)))
(* -1 (* x (- (* 16 (/ 1 x)) 116)))
(* -1 (* x (- (* 16 (/ 1 x)) 116)))
(* 116 x)
(* -1 (* x (- (* 16 (/ 1 x)) 116)))
(* -1 (* x (- (* 16 (/ 1 x)) 116)))
(* -1 (* x (- (* 16 (/ 1 x)) 116)))
(* 116 x)
(* 116 x)
(* 116 x)
(* 116 x)
(* 116 x)
(* -1 (* x (- (* 16 (/ 1 x)) 116)))
(* -1 (* x (- (* 16 (/ 1 x)) 116)))
(* -1 (* x (- (* 16 (/ 1 x)) 116)))
Outputs
-16
#s(literal -16 binary64)
(- (* 116 x) 16)
(fma.f64 x #s(literal 116 binary64) #s(literal -16 binary64))
(- (* 116 x) 16)
(fma.f64 x #s(literal 116 binary64) #s(literal -16 binary64))
(- (* 116 x) 16)
(fma.f64 x #s(literal 116 binary64) #s(literal -16 binary64))
-16
#s(literal -16 binary64)
(- (* 116 x) 16)
(fma.f64 x #s(literal 116 binary64) #s(literal -16 binary64))
(- (* 116 x) 16)
(fma.f64 x #s(literal 116 binary64) #s(literal -16 binary64))
(- (* 116 x) 16)
(fma.f64 x #s(literal 116 binary64) #s(literal -16 binary64))
(* 116 x)
(*.f64 x #s(literal 116 binary64))
(* 116 x)
(*.f64 x #s(literal 116 binary64))
(* 116 x)
(*.f64 x #s(literal 116 binary64))
(* 116 x)
(*.f64 x #s(literal 116 binary64))
-16
#s(literal -16 binary64)
(- (* 116 x) 16)
(fma.f64 x #s(literal 116 binary64) #s(literal -16 binary64))
(- (* 116 x) 16)
(fma.f64 x #s(literal 116 binary64) #s(literal -16 binary64))
(- (* 116 x) 16)
(fma.f64 x #s(literal 116 binary64) #s(literal -16 binary64))
(* 116 x)
(*.f64 x #s(literal 116 binary64))
(* x (- 116 (* 16 (/ 1 x))))
(fma.f64 x #s(literal 116 binary64) #s(literal -16 binary64))
(* x (- 116 (* 16 (/ 1 x))))
(fma.f64 x #s(literal 116 binary64) #s(literal -16 binary64))
(* x (- 116 (* 16 (/ 1 x))))
(fma.f64 x #s(literal 116 binary64) #s(literal -16 binary64))
(* 116 x)
(*.f64 x #s(literal 116 binary64))
(* x (- 116 (* 16 (/ 1 x))))
(fma.f64 x #s(literal 116 binary64) #s(literal -16 binary64))
(* x (- 116 (* 16 (/ 1 x))))
(fma.f64 x #s(literal 116 binary64) #s(literal -16 binary64))
(* x (- 116 (* 16 (/ 1 x))))
(fma.f64 x #s(literal 116 binary64) #s(literal -16 binary64))
(* 116 x)
(*.f64 x #s(literal 116 binary64))
(* 116 x)
(*.f64 x #s(literal 116 binary64))
(* 116 x)
(*.f64 x #s(literal 116 binary64))
(* 116 x)
(*.f64 x #s(literal 116 binary64))
(* 116 x)
(*.f64 x #s(literal 116 binary64))
(* x (- 116 (* 16 (/ 1 x))))
(fma.f64 x #s(literal 116 binary64) #s(literal -16 binary64))
(* x (- 116 (* 16 (/ 1 x))))
(fma.f64 x #s(literal 116 binary64) #s(literal -16 binary64))
(* x (- 116 (* 16 (/ 1 x))))
(fma.f64 x #s(literal 116 binary64) #s(literal -16 binary64))
(* 116 x)
(*.f64 x #s(literal 116 binary64))
(* -1 (* x (- (* 16 (/ 1 x)) 116)))
(fma.f64 x #s(literal 116 binary64) #s(literal -16 binary64))
(* -1 (* x (- (* 16 (/ 1 x)) 116)))
(fma.f64 x #s(literal 116 binary64) #s(literal -16 binary64))
(* -1 (* x (- (* 16 (/ 1 x)) 116)))
(fma.f64 x #s(literal 116 binary64) #s(literal -16 binary64))
(* 116 x)
(*.f64 x #s(literal 116 binary64))
(* -1 (* x (- (* 16 (/ 1 x)) 116)))
(fma.f64 x #s(literal 116 binary64) #s(literal -16 binary64))
(* -1 (* x (- (* 16 (/ 1 x)) 116)))
(fma.f64 x #s(literal 116 binary64) #s(literal -16 binary64))
(* -1 (* x (- (* 16 (/ 1 x)) 116)))
(fma.f64 x #s(literal 116 binary64) #s(literal -16 binary64))
(* 116 x)
(*.f64 x #s(literal 116 binary64))
(* 116 x)
(*.f64 x #s(literal 116 binary64))
(* 116 x)
(*.f64 x #s(literal 116 binary64))
(* 116 x)
(*.f64 x #s(literal 116 binary64))
(* 116 x)
(*.f64 x #s(literal 116 binary64))
(* -1 (* x (- (* 16 (/ 1 x)) 116)))
(fma.f64 x #s(literal 116 binary64) #s(literal -16 binary64))
(* -1 (* x (- (* 16 (/ 1 x)) 116)))
(fma.f64 x #s(literal 116 binary64) #s(literal -16 binary64))
(* -1 (* x (- (* 16 (/ 1 x)) 116)))
(fma.f64 x #s(literal 116 binary64) #s(literal -16 binary64))

rewrite296.0ms (13.2%)

Memory
-46.1MiB live, 261.8MiB allocated
Rules
6 712×lower-fma.f32
6 710×lower-fma.f64
5 072×lower-/.f64
5 072×lower-/.f32
4 324×lower-*.f32
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01023
01221
14021
223021
3186821
0863121
Stop Event
iter limit
node limit
iter limit
Counts
4 → 314
Calls
Call 1
Inputs
#s(approx (- (* x 116) 16) #s(literal -16 binary64))
#s(approx (- (* x 116) 16) (*.f64 x #s(literal 116 binary64)))
(*.f64 x #s(literal 116 binary64))
(fma.f64 x #s(literal 116 binary64) #s(literal -16 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>

eval52.0ms (2.3%)

Memory
7.4MiB live, 80.9MiB allocated
Compiler

Compiled 10 402 to 933 computations (91% saved)

prune10.0ms (0.4%)

Memory
-20.7MiB live, 27.4MiB allocated
Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New3620362
Fresh000
Picked033
Done000
Total3623365
Accuracy
100.0%
Counts
365 → 3
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(fma.f64 x #s(literal 116 binary64) #s(literal -16 binary64))
46.4%
#s(approx (- (* x 116) 16) (*.f64 x #s(literal 116 binary64)))
53.8%
#s(approx (- (* x 116) 16) #s(literal -16 binary64))
Compiler

Compiled 25 to 20 computations (20% saved)

regimes7.0ms (0.3%)

Memory
14.1MiB live, 14.1MiB allocated
Counts
4 → 1
Calls
Call 1
Inputs
#s(approx (- (* x 116) 16) #s(literal -16 binary64))
#s(approx (- (* x 116) 16) (*.f64 x #s(literal 116 binary64)))
(fma.f64 x #s(literal 116 binary64) #s(literal -16 binary64))
(-.f64 (*.f64 x #s(literal 116 binary64)) #s(literal 16 binary64))
Outputs
(fma.f64 x #s(literal 116 binary64) #s(literal -16 binary64))
Calls

3 calls:

2.0ms
(*.f64 x #s(literal 116 binary64))
2.0ms
x
2.0ms
(-.f64 (*.f64 x #s(literal 116 binary64)) #s(literal 16 binary64))
Results
AccuracySegmentsBranch
100.0%1x
100.0%1(-.f64 (*.f64 x #s(literal 116 binary64)) #s(literal 16 binary64))
100.0%1(*.f64 x #s(literal 116 binary64))
Compiler

Compiled 9 to 9 computations (0% saved)

regimes5.0ms (0.2%)

Memory
10.5MiB live, 10.5MiB allocated
Counts
2 → 3
Calls
Call 1
Inputs
#s(approx (- (* x 116) 16) #s(literal -16 binary64))
#s(approx (- (* x 116) 16) (*.f64 x #s(literal 116 binary64)))
Outputs
#s(approx (- (* x 116) 16) (*.f64 x #s(literal 116 binary64)))
#s(approx (- (* x 116) 16) #s(literal -16 binary64))
#s(approx (- (* x 116) 16) (*.f64 x #s(literal 116 binary64)))
Calls

3 calls:

2.0ms
(*.f64 x #s(literal 116 binary64))
1.0ms
x
1.0ms
(-.f64 (*.f64 x #s(literal 116 binary64)) #s(literal 16 binary64))
Results
AccuracySegmentsBranch
96.7%3x
96.7%3(-.f64 (*.f64 x #s(literal 116 binary64)) #s(literal 16 binary64))
96.7%3(*.f64 x #s(literal 116 binary64))
Compiler

Compiled 9 to 9 computations (0% saved)

regimes4.0ms (0.2%)

Memory
10.2MiB live, 10.2MiB allocated
Accuracy

Total -0.0b remaining (-0%)

Threshold costs -0b (-0%)

Counts
1 → 1
Calls
Call 1
Inputs
#s(approx (- (* x 116) 16) #s(literal -16 binary64))
Outputs
#s(approx (- (* x 116) 16) #s(literal -16 binary64))
Calls

3 calls:

1.0ms
x
1.0ms
(*.f64 x #s(literal 116 binary64))
1.0ms
(-.f64 (*.f64 x #s(literal 116 binary64)) #s(literal 16 binary64))
Results
AccuracySegmentsBranch
53.8%1x
53.8%1(-.f64 (*.f64 x #s(literal 116 binary64)) #s(literal 16 binary64))
53.8%1(*.f64 x #s(literal 116 binary64))
Compiler

Compiled 9 to 9 computations (0% saved)

bsearch14.0ms (0.6%)

Memory
-16.8MiB live, 22.3MiB allocated
Algorithm
binary-search
Stop Event
narrow-enough
narrow-enough
Steps
TimeLeftRight
4.0ms
14.21589310299562
24.508162416427872
9.0ms
-165758.2411753894
-3.388417522726069
Samples
6.0ms192×0valid
Compiler

Compiled 56 to 93 computations (-66.1% saved)

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

simplify23.0ms (1%)

Memory
-0.4MiB live, 37.9MiB allocated
Algorithm
egg-herbie
Rules
*-commutative-binary64-*.f64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01448
11548
Stop Event
saturated
Calls
Call 1
Inputs
(fma.f64 x #s(literal 116 binary64) #s(literal -16 binary64))
(if (<=.f64 (*.f64 x #s(literal 116 binary64)) #s(literal -16 binary64)) #s(approx (- (* x 116) 16) (*.f64 x #s(literal 116 binary64))) (if (<=.f64 (*.f64 x #s(literal 116 binary64)) #s(literal 16 binary64)) #s(approx (- (* x 116) 16) #s(literal -16 binary64)) #s(approx (- (* x 116) 16) (*.f64 x #s(literal 116 binary64)))))
#s(approx (- (* x 116) 16) #s(literal -16 binary64))
Outputs
(fma.f64 x #s(literal 116 binary64) #s(literal -16 binary64))
(if (<=.f64 (*.f64 x #s(literal 116 binary64)) #s(literal -16 binary64)) #s(approx (- (* x 116) 16) (*.f64 x #s(literal 116 binary64))) (if (<=.f64 (*.f64 x #s(literal 116 binary64)) #s(literal 16 binary64)) #s(approx (- (* x 116) 16) #s(literal -16 binary64)) #s(approx (- (* x 116) 16) (*.f64 x #s(literal 116 binary64)))))
(if (<=.f64 (*.f64 #s(literal 116 binary64) x) #s(literal -16 binary64)) #s(approx (- (* x 116) 16) (*.f64 #s(literal 116 binary64) x)) (if (<=.f64 (*.f64 #s(literal 116 binary64) x) #s(literal 16 binary64)) #s(approx (- (* x 116) 16) #s(literal -16 binary64)) #s(approx (- (* x 116) 16) (*.f64 #s(literal 116 binary64) x))))
#s(approx (- (* x 116) 16) #s(literal -16 binary64))

soundness203.0ms (9.1%)

Memory
-5.9MiB live, 108.0MiB allocated
Rules
9 662×lower-fma.f64
9 662×lower-fma.f32
4 548×lower-/.f64
4 548×lower-/.f32
4 348×lower-*.f32
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01588
13688
27888
316888
426488
529488
635688
740688
844288
945188
1045588
045579
058
078
1268
21528
312118
082917
Stop Event
done
iter limit
node limit
iter limit
iter limit
saturated
Compiler

Compiled 42 to 26 computations (38.1% saved)

preprocess49.0ms (2.2%)

Memory
8.1MiB live, 46.5MiB allocated
Compiler

Compiled 66 to 34 computations (48.5% saved)

end0.0ms (0%)

Memory
0.0MiB live, 0.0MiB allocated

Profiling

Loading profile data...