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

Time bar (total: 2.7s)

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)

sample990.0ms (37.3%)

Memory
-13.9MiB live, 701.8MiB allocated
Samples
519.0ms8 256×0valid
Precisions
Click to see histograms. Total time spent on operations: 260.0ms
ival-add: 162.0ms (62.3% of total)
ival-div: 81.0ms (31.1% of total)
exact: 8.0ms (3.1% of total)
ival-true: 6.0ms (2.3% of total)
ival-assert: 3.0ms (1.2% of total)
Bogosity

explain118.0ms (4.5%)

Memory
21.0MiB live, 99.0MiB allocated
FPErrors
Click to see full error table
Ground TruthOverpredictionsExampleUnderpredictionsExampleSubexpression
00-0-(/.f64 (+.f64 x #s(literal 16 binary64)) #s(literal 116 binary64))
00-0-(+.f64 x #s(literal 16 binary64))
00-0-#s(literal 16 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
95.0ms512×0valid
Compiler

Compiled 31 to 19 computations (38.7% saved)

Precisions
Click to see histograms. Total time spent on operations: 8.0ms
ival-div: 4.0ms (51% of total)
ival-add: 3.0ms (38.2% 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.8%)

Memory
-35.2MiB live, 16.5MiB allocated
Algorithm
egg-herbie
Rules
36×div-sub
30×sub-neg
28×distribute-lft-neg-in
26×associate-/l*
26×*-commutative
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0712
11910
23410
37510
416110
524010
625810
726210
055
075
185
085
Stop Event
iter limit
saturated
iter limit
saturated
Calls
Call 1
Inputs
(/.f64 (+.f64 x #s(literal 16 binary64)) #s(literal 116 binary64))
Outputs
(/.f64 (+.f64 x #s(literal 16 binary64)) #s(literal 116 binary64))
(/.f64 (+.f64 #s(literal 16 binary64) x) #s(literal 116 binary64))
Compiler

Compiled 5 to 5 computations (0% saved)

eval0.0ms (0%)

Memory
0.3MiB live, 0.3MiB allocated
Compiler

Compiled 0 to 1 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 16 binary64)) #s(literal 116 binary64))
Compiler

Compiled 5 to 5 computations (0% saved)

simplify4.0ms (0.1%)

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

Found 2 expressions of interest:

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

Useful iterations: 0 (0.0ms)

IterNodesCost
0511
0711
1811
0811
Stop Event
iter limit
saturated
iter limit
Calls
Call 1
Inputs
(/.f64 (+.f64 x #s(literal 16 binary64)) #s(literal 116 binary64))
(+.f64 x #s(literal 16 binary64))
x
#s(literal 16 binary64)
#s(literal 116 binary64)
Outputs
(/.f64 (+.f64 x #s(literal 16 binary64)) #s(literal 116 binary64))
(/.f64 (+.f64 #s(literal 16 binary64) x) #s(literal 116 binary64))
(+.f64 x #s(literal 16 binary64))
(+.f64 #s(literal 16 binary64) x)
x
#s(literal 16 binary64)
#s(literal 116 binary64)

localize13.0ms (0.5%)

Memory
25.8MiB live, 25.8MiB allocated
Localize:

Found 2 expressions of interest:

NewMetricScoreProgram
accuracy0
(+.f64 x #s(literal 16 binary64))
accuracy0.0078125
(/.f64 (+.f64 x #s(literal 16 binary64)) #s(literal 116 binary64))
Samples
9.0ms256×0valid
Compiler

Compiled 13 to 7 computations (46.2% saved)

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

series35.0ms (1.3%)

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

3 calls:

TimeVariablePointExpression
33.0ms
x
@-inf
((/ (+ x 16) 116) (+ x 16))
0.0ms
x
@inf
((/ (+ x 16) 116) (+ x 16))
0.0ms
x
@0
((/ (+ x 16) 116) (+ x 16))

simplify6.0ms (0.2%)

Memory
16.9MiB live, 16.9MiB allocated
Algorithm
egg-herbie
Rules
72×lower-*.f64
72×lower-*.f32
32×associate-*r*
32×associate-*l*
28×lower-fma.f64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01582
14182
26782
314082
414082
514382
614882
714882
014873
Stop Event
iter limit
saturated
Counts
24 → 22
Calls
Call 1
Inputs
4/29
(+ 4/29 (* 1/116 x))
(+ 4/29 (* 1/116 x))
(+ 4/29 (* 1/116 x))
16
(+ 16 x)
(+ 16 x)
(+ 16 x)
(* 1/116 x)
(* x (+ 1/116 (* 4/29 (/ 1 x))))
(* x (+ 1/116 (* 4/29 (/ 1 x))))
(* x (+ 1/116 (* 4/29 (/ 1 x))))
x
(* x (+ 1 (* 16 (/ 1 x))))
(* x (+ 1 (* 16 (/ 1 x))))
(* x (+ 1 (* 16 (/ 1 x))))
(* 1/116 x)
(* x (+ 1/116 (* 4/29 (/ 1 x))))
(* x (+ 1/116 (* 4/29 (/ 1 x))))
(* x (+ 1/116 (* 4/29 (/ 1 x))))
x
(* x (+ 1 (* 16 (/ 1 x))))
(* x (+ 1 (* 16 (/ 1 x))))
(* x (+ 1 (* 16 (/ 1 x))))
Outputs
4/29
#s(literal 4/29 binary64)
(+ 4/29 (* 1/116 x))
(fma.f64 x #s(literal 1/116 binary64) #s(literal 4/29 binary64))
(+ 4/29 (* 1/116 x))
(fma.f64 x #s(literal 1/116 binary64) #s(literal 4/29 binary64))
(+ 4/29 (* 1/116 x))
(fma.f64 x #s(literal 1/116 binary64) #s(literal 4/29 binary64))
16
#s(literal 16 binary64)
(+ 16 x)
(+.f64 #s(literal 16 binary64) x)
(+ 16 x)
(+.f64 #s(literal 16 binary64) x)
(+ 16 x)
(+.f64 #s(literal 16 binary64) x)
(* 1/116 x)
(*.f64 x #s(literal 1/116 binary64))
(* x (+ 1/116 (* 4/29 (/ 1 x))))
(fma.f64 x #s(literal 1/116 binary64) #s(literal 4/29 binary64))
(* x (+ 1/116 (* 4/29 (/ 1 x))))
(fma.f64 x #s(literal 1/116 binary64) #s(literal 4/29 binary64))
(* x (+ 1/116 (* 4/29 (/ 1 x))))
(fma.f64 x #s(literal 1/116 binary64) #s(literal 4/29 binary64))
x
(* x (+ 1 (* 16 (/ 1 x))))
(+.f64 #s(literal 16 binary64) x)
(* x (+ 1 (* 16 (/ 1 x))))
(+.f64 #s(literal 16 binary64) x)
(* x (+ 1 (* 16 (/ 1 x))))
(+.f64 #s(literal 16 binary64) x)
(* 1/116 x)
(*.f64 x #s(literal 1/116 binary64))
(* x (+ 1/116 (* 4/29 (/ 1 x))))
(fma.f64 x #s(literal 1/116 binary64) #s(literal 4/29 binary64))
(* x (+ 1/116 (* 4/29 (/ 1 x))))
(fma.f64 x #s(literal 1/116 binary64) #s(literal 4/29 binary64))
(* x (+ 1/116 (* 4/29 (/ 1 x))))
(fma.f64 x #s(literal 1/116 binary64) #s(literal 4/29 binary64))
x
(* x (+ 1 (* 16 (/ 1 x))))
(+.f64 #s(literal 16 binary64) x)
(* x (+ 1 (* 16 (/ 1 x))))
(+.f64 #s(literal 16 binary64) x)
(* x (+ 1 (* 16 (/ 1 x))))
(+.f64 #s(literal 16 binary64) x)

rewrite174.0ms (6.6%)

Memory
-6.8MiB live, 186.8MiB allocated
Rules
5 334×lower-/.f32
5 332×lower-/.f64
3 418×lower-*.f64
3 418×lower-*.f32
2 760×lower-fma.f64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
058
078
1338
21778
314408
084047
Stop Event
iter limit
node limit
iter limit
Counts
2 → 416
Calls
Call 1
Inputs
(/.f64 (+.f64 x #s(literal 16 binary64)) #s(literal 116 binary64))
(+.f64 x #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>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>

eval85.0ms (3.2%)

Memory
-5.7MiB live, 75.0MiB allocated
Compiler

Compiled 8 443 to 1 239 computations (85.3% saved)

prune7.0ms (0.3%)

Memory
23.9MiB live, 23.9MiB allocated
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New4344438
Fresh000
Picked011
Done000
Total4345439
Accuracy
100.0%
Counts
439 → 5
Alt Table
Click to see full alt table
StatusAccuracyProgram
99.9%
(fma.f64 x #s(literal 1/116 binary64) #s(literal 4/29 binary64))
100.0%
(/.f64 (+.f64 x #s(literal 16 binary64)) #s(literal 116 binary64))
99.9%
(*.f64 (-.f64 x #s(literal -16 binary64)) #s(literal 1/116 binary64))
46.0%
#s(approx (/ (+ x 16) 116) (*.f64 x #s(literal 1/116 binary64)))
54.5%
#s(approx (/ (+ x 16) 116) #s(literal 4/29 binary64))
Compiler

Compiled 20 to 21 computations (-5% saved)

simplify5.0ms (0.2%)

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

Found 6 expressions of interest:

NewMetricScoreProgram
cost-diff0
(fma.f64 x #s(literal 1/116 binary64) #s(literal 4/29 binary64))
cost-diff0
(-.f64 x #s(literal -16 binary64))
cost-diff128
(*.f64 (-.f64 x #s(literal -16 binary64)) #s(literal 1/116 binary64))
cost-diff0
(*.f64 x #s(literal 1/116 binary64))
cost-diff0
#s(approx (/ (+ x 16) 116) (*.f64 x #s(literal 1/116 binary64)))
cost-diff0
#s(approx (/ (+ x 16) 116) #s(literal 4/29 binary64))
Rules
12×lower-+.f64
12×lower-+.f32
lower-*.f32
+-commutative
*-commutative
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01440
01841
12439
23039
33239
43339
03339
Stop Event
iter limit
saturated
iter limit
Calls
Call 1
Inputs
#s(approx (/ (+ x 16) 116) #s(literal 4/29 binary64))
#s(literal 4/29 binary64)
#s(approx (/ (+ x 16) 116) (*.f64 x #s(literal 1/116 binary64)))
(*.f64 x #s(literal 1/116 binary64))
x
#s(literal 1/116 binary64)
(*.f64 (-.f64 x #s(literal -16 binary64)) #s(literal 1/116 binary64))
(-.f64 x #s(literal -16 binary64))
x
#s(literal -16 binary64)
#s(literal 1/116 binary64)
(fma.f64 x #s(literal 1/116 binary64) #s(literal 4/29 binary64))
x
#s(literal 1/116 binary64)
#s(literal 4/29 binary64)
Outputs
#s(approx (/ (+ x 16) 116) #s(literal 4/29 binary64))
#s(literal 4/29 binary64)
#s(approx (/ (+ x 16) 116) (*.f64 x #s(literal 1/116 binary64)))
#s(approx (/ (+ x 16) 116) (*.f64 #s(literal 1/116 binary64) x))
(*.f64 x #s(literal 1/116 binary64))
(*.f64 #s(literal 1/116 binary64) x)
x
#s(literal 1/116 binary64)
(*.f64 (-.f64 x #s(literal -16 binary64)) #s(literal 1/116 binary64))
(fma.f64 #s(literal 1/116 binary64) x #s(literal 4/29 binary64))
(-.f64 x #s(literal -16 binary64))
x
#s(literal -16 binary64)
#s(literal 1/116 binary64)
(fma.f64 x #s(literal 1/116 binary64) #s(literal 4/29 binary64))
(fma.f64 #s(literal 1/116 binary64) x #s(literal 4/29 binary64))
x
#s(literal 1/116 binary64)
#s(literal 4/29 binary64)

localize48.0ms (1.8%)

Memory
-3.7MiB live, 34.0MiB allocated
Localize:

Found 6 expressions of interest:

NewMetricScoreProgram
accuracy0.0546875
(fma.f64 x #s(literal 1/116 binary64) #s(literal 4/29 binary64))
accuracy0
(-.f64 x #s(literal -16 binary64))
accuracy0.05078125
(*.f64 (-.f64 x #s(literal -16 binary64)) #s(literal 1/116 binary64))
accuracy0.09375
(*.f64 x #s(literal 1/116 binary64))
accuracy34.253018663597906
#s(approx (/ (+ x 16) 116) (*.f64 x #s(literal 1/116 binary64)))
accuracy29.140409888813068
#s(approx (/ (+ x 16) 116) #s(literal 4/29 binary64))
Samples
39.0ms255×0valid
1.0ms5exit
Compiler

Compiled 37 to 14 computations (62.2% saved)

Precisions
Click to see histograms. Total time spent on operations: 31.0ms
ival-add: 16.0ms (52.1% of total)
const: 6.0ms (19.5% of total)
ival-mult: 3.0ms (9.8% of total)
ival-div: 2.0ms (6.5% of total)
ival-sub: 2.0ms (6.5% 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.1%)

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

3 calls:

TimeVariablePointExpression
1.0ms
x
@inf
((/ (+ x 16) 116) (/ (+ x 16) 116) (* x 1/116) (* (- x -16) 1/116) (- x -16) (+ (* x 1/116) 4/29))
1.0ms
x
@-inf
((/ (+ x 16) 116) (/ (+ x 16) 116) (* x 1/116) (* (- x -16) 1/116) (- x -16) (+ (* x 1/116) 4/29))
0.0ms
x
@0
((/ (+ x 16) 116) (/ (+ x 16) 116) (* x 1/116) (* (- x -16) 1/116) (- x -16) (+ (* x 1/116) 4/29))

simplify7.0ms (0.3%)

Memory
6.2MiB live, 6.2MiB allocated
Algorithm
egg-herbie
Rules
72×lower-*.f64
72×lower-*.f32
32×associate-*r*
32×associate-*l*
28×lower-fma.f64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
015274
141274
267274
3140274
4140274
5143274
6148274
7148274
0148238
Stop Event
iter limit
saturated
Counts
72 → 70
Calls
Call 1
Inputs
4/29
(+ 4/29 (* 1/116 x))
(+ 4/29 (* 1/116 x))
(+ 4/29 (* 1/116 x))
4/29
(+ 4/29 (* 1/116 x))
(+ 4/29 (* 1/116 x))
(+ 4/29 (* 1/116 x))
(* 1/116 x)
(* 1/116 x)
(* 1/116 x)
(* 1/116 x)
4/29
(+ 4/29 (* 1/116 x))
(+ 4/29 (* 1/116 x))
(+ 4/29 (* 1/116 x))
16
(+ 16 x)
(+ 16 x)
(+ 16 x)
4/29
(+ 4/29 (* 1/116 x))
(+ 4/29 (* 1/116 x))
(+ 4/29 (* 1/116 x))
(* 1/116 x)
(* x (+ 1/116 (* 4/29 (/ 1 x))))
(* x (+ 1/116 (* 4/29 (/ 1 x))))
(* x (+ 1/116 (* 4/29 (/ 1 x))))
(* 1/116 x)
(* x (+ 1/116 (* 4/29 (/ 1 x))))
(* x (+ 1/116 (* 4/29 (/ 1 x))))
(* x (+ 1/116 (* 4/29 (/ 1 x))))
(* 1/116 x)
(* 1/116 x)
(* 1/116 x)
(* 1/116 x)
(* 1/116 x)
(* x (+ 1/116 (* 4/29 (/ 1 x))))
(* x (+ 1/116 (* 4/29 (/ 1 x))))
(* x (+ 1/116 (* 4/29 (/ 1 x))))
x
(* x (+ 1 (* 16 (/ 1 x))))
(* x (+ 1 (* 16 (/ 1 x))))
(* x (+ 1 (* 16 (/ 1 x))))
(* 1/116 x)
(* x (+ 1/116 (* 4/29 (/ 1 x))))
(* x (+ 1/116 (* 4/29 (/ 1 x))))
(* x (+ 1/116 (* 4/29 (/ 1 x))))
(* 1/116 x)
(* x (+ 1/116 (* 4/29 (/ 1 x))))
(* x (+ 1/116 (* 4/29 (/ 1 x))))
(* x (+ 1/116 (* 4/29 (/ 1 x))))
(* 1/116 x)
(* x (+ 1/116 (* 4/29 (/ 1 x))))
(* x (+ 1/116 (* 4/29 (/ 1 x))))
(* x (+ 1/116 (* 4/29 (/ 1 x))))
(* 1/116 x)
(* 1/116 x)
(* 1/116 x)
(* 1/116 x)
(* 1/116 x)
(* x (+ 1/116 (* 4/29 (/ 1 x))))
(* x (+ 1/116 (* 4/29 (/ 1 x))))
(* x (+ 1/116 (* 4/29 (/ 1 x))))
x
(* x (+ 1 (* 16 (/ 1 x))))
(* x (+ 1 (* 16 (/ 1 x))))
(* x (+ 1 (* 16 (/ 1 x))))
(* 1/116 x)
(* x (+ 1/116 (* 4/29 (/ 1 x))))
(* x (+ 1/116 (* 4/29 (/ 1 x))))
(* x (+ 1/116 (* 4/29 (/ 1 x))))
Outputs
4/29
#s(literal 4/29 binary64)
(+ 4/29 (* 1/116 x))
(fma.f64 x #s(literal 1/116 binary64) #s(literal 4/29 binary64))
(+ 4/29 (* 1/116 x))
(fma.f64 x #s(literal 1/116 binary64) #s(literal 4/29 binary64))
(+ 4/29 (* 1/116 x))
(fma.f64 x #s(literal 1/116 binary64) #s(literal 4/29 binary64))
4/29
#s(literal 4/29 binary64)
(+ 4/29 (* 1/116 x))
(fma.f64 x #s(literal 1/116 binary64) #s(literal 4/29 binary64))
(+ 4/29 (* 1/116 x))
(fma.f64 x #s(literal 1/116 binary64) #s(literal 4/29 binary64))
(+ 4/29 (* 1/116 x))
(fma.f64 x #s(literal 1/116 binary64) #s(literal 4/29 binary64))
(* 1/116 x)
(*.f64 x #s(literal 1/116 binary64))
(* 1/116 x)
(*.f64 x #s(literal 1/116 binary64))
(* 1/116 x)
(*.f64 x #s(literal 1/116 binary64))
(* 1/116 x)
(*.f64 x #s(literal 1/116 binary64))
4/29
#s(literal 4/29 binary64)
(+ 4/29 (* 1/116 x))
(fma.f64 x #s(literal 1/116 binary64) #s(literal 4/29 binary64))
(+ 4/29 (* 1/116 x))
(fma.f64 x #s(literal 1/116 binary64) #s(literal 4/29 binary64))
(+ 4/29 (* 1/116 x))
(fma.f64 x #s(literal 1/116 binary64) #s(literal 4/29 binary64))
16
#s(literal 16 binary64)
(+ 16 x)
(+.f64 #s(literal 16 binary64) x)
(+ 16 x)
(+.f64 #s(literal 16 binary64) x)
(+ 16 x)
(+.f64 #s(literal 16 binary64) x)
4/29
#s(literal 4/29 binary64)
(+ 4/29 (* 1/116 x))
(fma.f64 x #s(literal 1/116 binary64) #s(literal 4/29 binary64))
(+ 4/29 (* 1/116 x))
(fma.f64 x #s(literal 1/116 binary64) #s(literal 4/29 binary64))
(+ 4/29 (* 1/116 x))
(fma.f64 x #s(literal 1/116 binary64) #s(literal 4/29 binary64))
(* 1/116 x)
(*.f64 x #s(literal 1/116 binary64))
(* x (+ 1/116 (* 4/29 (/ 1 x))))
(fma.f64 x #s(literal 1/116 binary64) #s(literal 4/29 binary64))
(* x (+ 1/116 (* 4/29 (/ 1 x))))
(fma.f64 x #s(literal 1/116 binary64) #s(literal 4/29 binary64))
(* x (+ 1/116 (* 4/29 (/ 1 x))))
(fma.f64 x #s(literal 1/116 binary64) #s(literal 4/29 binary64))
(* 1/116 x)
(*.f64 x #s(literal 1/116 binary64))
(* x (+ 1/116 (* 4/29 (/ 1 x))))
(fma.f64 x #s(literal 1/116 binary64) #s(literal 4/29 binary64))
(* x (+ 1/116 (* 4/29 (/ 1 x))))
(fma.f64 x #s(literal 1/116 binary64) #s(literal 4/29 binary64))
(* x (+ 1/116 (* 4/29 (/ 1 x))))
(fma.f64 x #s(literal 1/116 binary64) #s(literal 4/29 binary64))
(* 1/116 x)
(*.f64 x #s(literal 1/116 binary64))
(* 1/116 x)
(*.f64 x #s(literal 1/116 binary64))
(* 1/116 x)
(*.f64 x #s(literal 1/116 binary64))
(* 1/116 x)
(*.f64 x #s(literal 1/116 binary64))
(* 1/116 x)
(*.f64 x #s(literal 1/116 binary64))
(* x (+ 1/116 (* 4/29 (/ 1 x))))
(fma.f64 x #s(literal 1/116 binary64) #s(literal 4/29 binary64))
(* x (+ 1/116 (* 4/29 (/ 1 x))))
(fma.f64 x #s(literal 1/116 binary64) #s(literal 4/29 binary64))
(* x (+ 1/116 (* 4/29 (/ 1 x))))
(fma.f64 x #s(literal 1/116 binary64) #s(literal 4/29 binary64))
x
(* x (+ 1 (* 16 (/ 1 x))))
(+.f64 #s(literal 16 binary64) x)
(* x (+ 1 (* 16 (/ 1 x))))
(+.f64 #s(literal 16 binary64) x)
(* x (+ 1 (* 16 (/ 1 x))))
(+.f64 #s(literal 16 binary64) x)
(* 1/116 x)
(*.f64 x #s(literal 1/116 binary64))
(* x (+ 1/116 (* 4/29 (/ 1 x))))
(fma.f64 x #s(literal 1/116 binary64) #s(literal 4/29 binary64))
(* x (+ 1/116 (* 4/29 (/ 1 x))))
(fma.f64 x #s(literal 1/116 binary64) #s(literal 4/29 binary64))
(* x (+ 1/116 (* 4/29 (/ 1 x))))
(fma.f64 x #s(literal 1/116 binary64) #s(literal 4/29 binary64))
(* 1/116 x)
(*.f64 x #s(literal 1/116 binary64))
(* x (+ 1/116 (* 4/29 (/ 1 x))))
(fma.f64 x #s(literal 1/116 binary64) #s(literal 4/29 binary64))
(* x (+ 1/116 (* 4/29 (/ 1 x))))
(fma.f64 x #s(literal 1/116 binary64) #s(literal 4/29 binary64))
(* x (+ 1/116 (* 4/29 (/ 1 x))))
(fma.f64 x #s(literal 1/116 binary64) #s(literal 4/29 binary64))
(* 1/116 x)
(*.f64 x #s(literal 1/116 binary64))
(* x (+ 1/116 (* 4/29 (/ 1 x))))
(fma.f64 x #s(literal 1/116 binary64) #s(literal 4/29 binary64))
(* x (+ 1/116 (* 4/29 (/ 1 x))))
(fma.f64 x #s(literal 1/116 binary64) #s(literal 4/29 binary64))
(* x (+ 1/116 (* 4/29 (/ 1 x))))
(fma.f64 x #s(literal 1/116 binary64) #s(literal 4/29 binary64))
(* 1/116 x)
(*.f64 x #s(literal 1/116 binary64))
(* 1/116 x)
(*.f64 x #s(literal 1/116 binary64))
(* 1/116 x)
(*.f64 x #s(literal 1/116 binary64))
(* 1/116 x)
(*.f64 x #s(literal 1/116 binary64))
(* 1/116 x)
(*.f64 x #s(literal 1/116 binary64))
(* x (+ 1/116 (* 4/29 (/ 1 x))))
(fma.f64 x #s(literal 1/116 binary64) #s(literal 4/29 binary64))
(* x (+ 1/116 (* 4/29 (/ 1 x))))
(fma.f64 x #s(literal 1/116 binary64) #s(literal 4/29 binary64))
(* x (+ 1/116 (* 4/29 (/ 1 x))))
(fma.f64 x #s(literal 1/116 binary64) #s(literal 4/29 binary64))
x
(* x (+ 1 (* 16 (/ 1 x))))
(+.f64 #s(literal 16 binary64) x)
(* x (+ 1 (* 16 (/ 1 x))))
(+.f64 #s(literal 16 binary64) x)
(* x (+ 1 (* 16 (/ 1 x))))
(+.f64 #s(literal 16 binary64) x)
(* 1/116 x)
(*.f64 x #s(literal 1/116 binary64))
(* x (+ 1/116 (* 4/29 (/ 1 x))))
(fma.f64 x #s(literal 1/116 binary64) #s(literal 4/29 binary64))
(* x (+ 1/116 (* 4/29 (/ 1 x))))
(fma.f64 x #s(literal 1/116 binary64) #s(literal 4/29 binary64))
(* x (+ 1/116 (* 4/29 (/ 1 x))))
(fma.f64 x #s(literal 1/116 binary64) #s(literal 4/29 binary64))

rewrite234.0ms (8.8%)

Memory
2.5MiB live, 157.9MiB allocated
Rules
5 122×lower-/.f64
5 122×lower-/.f32
3 536×lower-*.f32
3 532×lower-*.f64
3 276×lower-fma.f32
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01431
01832
17228
241628
3353028
0939028
Stop Event
iter limit
node limit
iter limit
Counts
6 → 768
Calls
Call 1
Inputs
#s(approx (/ (+ x 16) 116) #s(literal 4/29 binary64))
#s(approx (/ (+ x 16) 116) (*.f64 x #s(literal 1/116 binary64)))
(*.f64 x #s(literal 1/116 binary64))
(*.f64 (-.f64 x #s(literal -16 binary64)) #s(literal 1/116 binary64))
(-.f64 x #s(literal -16 binary64))
(fma.f64 x #s(literal 1/116 binary64) #s(literal 4/29 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>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>

eval253.0ms (9.5%)

Memory
-8.3MiB live, 150.8MiB allocated
Compiler

Compiled 15 325 to 1 441 computations (90.6% saved)

prune73.0ms (2.8%)

Memory
5.9MiB live, 43.1MiB allocated
Pruning

5 alts after pruning (1 fresh and 4 done)

PrunedKeptTotal
New8371838
Fresh000
Picked044
Done101
Total8385843
Accuracy
100.0%
Counts
843 → 5
Alt Table
Click to see full alt table
StatusAccuracyProgram
99.9%
(fma.f64 x #s(literal 1/116 binary64) #s(literal 4/29 binary64))
99.9%
(*.f64 (-.f64 x #s(literal -16 binary64)) #s(literal 1/116 binary64))
46.1%
#s(approx (/ (+ x 16) 116) (/.f64 x #s(literal 116 binary64)))
46.0%
#s(approx (/ (+ x 16) 116) (*.f64 x #s(literal 1/116 binary64)))
54.5%
#s(approx (/ (+ x 16) 116) #s(literal 4/29 binary64))
Compiler

Compiled 19 to 20 computations (-5.3% saved)

simplify4.0ms (0.2%)

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

Found 2 expressions of interest:

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

Useful iterations: 0 (0.0ms)

IterNodesCost
0714
0814
1914
0914
Stop Event
iter limit
saturated
iter limit
Calls
Call 1
Inputs
#s(approx (/ (+ x 16) 116) (/.f64 x #s(literal 116 binary64)))
(/.f64 x #s(literal 116 binary64))
x
#s(literal 116 binary64)
Outputs
#s(approx (/ (+ x 16) 116) (/.f64 x #s(literal 116 binary64)))
(/.f64 x #s(literal 116 binary64))
x
#s(literal 116 binary64)

localize60.0ms (2.3%)

Memory
-20.5MiB live, 18.1MiB allocated
Localize:

Found 2 expressions of interest:

NewMetricScoreProgram
accuracy0
(/.f64 x #s(literal 116 binary64))
accuracy34.49518475328667
#s(approx (/ (+ x 16) 116) (/.f64 x #s(literal 116 binary64)))
Samples
11.0ms256×0valid
Compiler

Compiled 12 to 8 computations (33.3% saved)

Precisions
Click to see histograms. Total time spent on operations: 5.0ms
ival-div: 3.0ms (55.1% of total)
ival-add: 2.0ms (36.7% of total)
ival-true: 0.0ms (0% of total)
exact: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

series2.0ms (0.1%)

Memory
2.0MiB live, 2.0MiB allocated
Counts
2 → 24
Calls
Call 1
Inputs
#s(alt #s(approx (/ (+ x 16) 116) (/.f64 x #s(literal 116 binary64))) (patch #s(approx (/ (+ x 16) 116) (/.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>) () ())
Outputs
#s(alt 4/29 (taylor 0 x) (#s(alt #s(approx (/ (+ x 16) 116) (/.f64 x #s(literal 116 binary64))) (patch #s(approx (/ (+ x 16) 116) (/.f64 x #s(literal 116 binary64))) #<representation binary64>) () ())) ())
#s(alt (+ 4/29 (* 1/116 x)) (taylor 0 x) (#s(alt #s(approx (/ (+ x 16) 116) (/.f64 x #s(literal 116 binary64))) (patch #s(approx (/ (+ x 16) 116) (/.f64 x #s(literal 116 binary64))) #<representation binary64>) () ())) ())
#s(alt (+ 4/29 (* 1/116 x)) (taylor 0 x) (#s(alt #s(approx (/ (+ x 16) 116) (/.f64 x #s(literal 116 binary64))) (patch #s(approx (/ (+ x 16) 116) (/.f64 x #s(literal 116 binary64))) #<representation binary64>) () ())) ())
#s(alt (+ 4/29 (* 1/116 x)) (taylor 0 x) (#s(alt #s(approx (/ (+ x 16) 116) (/.f64 x #s(literal 116 binary64))) (patch #s(approx (/ (+ x 16) 116) (/.f64 x #s(literal 116 binary64))) #<representation binary64>) () ())) ())
#s(alt (* 1/116 x) (taylor 0 x) (#s(alt (/.f64 x #s(literal 116 binary64)) (patch (/.f64 x #s(literal 116 binary64)) #<representation binary64>) () ())) ())
#s(alt (* 1/116 x) (taylor 0 x) (#s(alt (/.f64 x #s(literal 116 binary64)) (patch (/.f64 x #s(literal 116 binary64)) #<representation binary64>) () ())) ())
#s(alt (* 1/116 x) (taylor 0 x) (#s(alt (/.f64 x #s(literal 116 binary64)) (patch (/.f64 x #s(literal 116 binary64)) #<representation binary64>) () ())) ())
#s(alt (* 1/116 x) (taylor 0 x) (#s(alt (/.f64 x #s(literal 116 binary64)) (patch (/.f64 x #s(literal 116 binary64)) #<representation binary64>) () ())) ())
#s(alt (* 1/116 x) (taylor inf x) (#s(alt #s(approx (/ (+ x 16) 116) (/.f64 x #s(literal 116 binary64))) (patch #s(approx (/ (+ x 16) 116) (/.f64 x #s(literal 116 binary64))) #<representation binary64>) () ())) ())
#s(alt (* x (+ 1/116 (* 4/29 (/ 1 x)))) (taylor inf x) (#s(alt #s(approx (/ (+ x 16) 116) (/.f64 x #s(literal 116 binary64))) (patch #s(approx (/ (+ x 16) 116) (/.f64 x #s(literal 116 binary64))) #<representation binary64>) () ())) ())
#s(alt (* x (+ 1/116 (* 4/29 (/ 1 x)))) (taylor inf x) (#s(alt #s(approx (/ (+ x 16) 116) (/.f64 x #s(literal 116 binary64))) (patch #s(approx (/ (+ x 16) 116) (/.f64 x #s(literal 116 binary64))) #<representation binary64>) () ())) ())
#s(alt (* x (+ 1/116 (* 4/29 (/ 1 x)))) (taylor inf x) (#s(alt #s(approx (/ (+ x 16) 116) (/.f64 x #s(literal 116 binary64))) (patch #s(approx (/ (+ x 16) 116) (/.f64 x #s(literal 116 binary64))) #<representation binary64>) () ())) ())
#s(alt (* 1/116 x) (taylor inf x) (#s(alt (/.f64 x #s(literal 116 binary64)) (patch (/.f64 x #s(literal 116 binary64)) #<representation binary64>) () ())) ())
#s(alt (* 1/116 x) (taylor inf x) (#s(alt (/.f64 x #s(literal 116 binary64)) (patch (/.f64 x #s(literal 116 binary64)) #<representation binary64>) () ())) ())
#s(alt (* 1/116 x) (taylor inf x) (#s(alt (/.f64 x #s(literal 116 binary64)) (patch (/.f64 x #s(literal 116 binary64)) #<representation binary64>) () ())) ())
#s(alt (* 1/116 x) (taylor inf x) (#s(alt (/.f64 x #s(literal 116 binary64)) (patch (/.f64 x #s(literal 116 binary64)) #<representation binary64>) () ())) ())
#s(alt (* 1/116 x) (taylor -inf x) (#s(alt #s(approx (/ (+ x 16) 116) (/.f64 x #s(literal 116 binary64))) (patch #s(approx (/ (+ x 16) 116) (/.f64 x #s(literal 116 binary64))) #<representation binary64>) () ())) ())
#s(alt (* x (+ 1/116 (* 4/29 (/ 1 x)))) (taylor -inf x) (#s(alt #s(approx (/ (+ x 16) 116) (/.f64 x #s(literal 116 binary64))) (patch #s(approx (/ (+ x 16) 116) (/.f64 x #s(literal 116 binary64))) #<representation binary64>) () ())) ())
#s(alt (* x (+ 1/116 (* 4/29 (/ 1 x)))) (taylor -inf x) (#s(alt #s(approx (/ (+ x 16) 116) (/.f64 x #s(literal 116 binary64))) (patch #s(approx (/ (+ x 16) 116) (/.f64 x #s(literal 116 binary64))) #<representation binary64>) () ())) ())
#s(alt (* x (+ 1/116 (* 4/29 (/ 1 x)))) (taylor -inf x) (#s(alt #s(approx (/ (+ x 16) 116) (/.f64 x #s(literal 116 binary64))) (patch #s(approx (/ (+ x 16) 116) (/.f64 x #s(literal 116 binary64))) #<representation binary64>) () ())) ())
#s(alt (* 1/116 x) (taylor -inf x) (#s(alt (/.f64 x #s(literal 116 binary64)) (patch (/.f64 x #s(literal 116 binary64)) #<representation binary64>) () ())) ())
#s(alt (* 1/116 x) (taylor -inf x) (#s(alt (/.f64 x #s(literal 116 binary64)) (patch (/.f64 x #s(literal 116 binary64)) #<representation binary64>) () ())) ())
#s(alt (* 1/116 x) (taylor -inf x) (#s(alt (/.f64 x #s(literal 116 binary64)) (patch (/.f64 x #s(literal 116 binary64)) #<representation binary64>) () ())) ())
#s(alt (* 1/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
0.0ms
x
@inf
((/ (+ x 16) 116) (/ x 116))
0.0ms
x
@-inf
((/ (+ x 16) 116) (/ x 116))
0.0ms
x
@0
((/ (+ x 16) 116) (/ x 116))

simplify5.0ms (0.2%)

Memory
4.6MiB live, 4.6MiB allocated
Algorithm
egg-herbie
Rules
44×lower-*.f64
44×lower-*.f32
16×lower-fma.f64
16×lower-fma.f32
12×*-commutative
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01088
12488
23788
34988
44988
56488
67088
77488
87488
07479
Stop Event
iter limit
saturated
Counts
24 → 24
Calls
Call 1
Inputs
4/29
(+ 4/29 (* 1/116 x))
(+ 4/29 (* 1/116 x))
(+ 4/29 (* 1/116 x))
(* 1/116 x)
(* 1/116 x)
(* 1/116 x)
(* 1/116 x)
(* 1/116 x)
(* x (+ 1/116 (* 4/29 (/ 1 x))))
(* x (+ 1/116 (* 4/29 (/ 1 x))))
(* x (+ 1/116 (* 4/29 (/ 1 x))))
(* 1/116 x)
(* 1/116 x)
(* 1/116 x)
(* 1/116 x)
(* 1/116 x)
(* x (+ 1/116 (* 4/29 (/ 1 x))))
(* x (+ 1/116 (* 4/29 (/ 1 x))))
(* x (+ 1/116 (* 4/29 (/ 1 x))))
(* 1/116 x)
(* 1/116 x)
(* 1/116 x)
(* 1/116 x)
Outputs
4/29
#s(literal 4/29 binary64)
(+ 4/29 (* 1/116 x))
(fma.f64 x #s(literal 1/116 binary64) #s(literal 4/29 binary64))
(+ 4/29 (* 1/116 x))
(fma.f64 x #s(literal 1/116 binary64) #s(literal 4/29 binary64))
(+ 4/29 (* 1/116 x))
(fma.f64 x #s(literal 1/116 binary64) #s(literal 4/29 binary64))
(* 1/116 x)
(*.f64 x #s(literal 1/116 binary64))
(* 1/116 x)
(*.f64 x #s(literal 1/116 binary64))
(* 1/116 x)
(*.f64 x #s(literal 1/116 binary64))
(* 1/116 x)
(*.f64 x #s(literal 1/116 binary64))
(* 1/116 x)
(*.f64 x #s(literal 1/116 binary64))
(* x (+ 1/116 (* 4/29 (/ 1 x))))
(fma.f64 x #s(literal 1/116 binary64) #s(literal 4/29 binary64))
(* x (+ 1/116 (* 4/29 (/ 1 x))))
(fma.f64 x #s(literal 1/116 binary64) #s(literal 4/29 binary64))
(* x (+ 1/116 (* 4/29 (/ 1 x))))
(fma.f64 x #s(literal 1/116 binary64) #s(literal 4/29 binary64))
(* 1/116 x)
(*.f64 x #s(literal 1/116 binary64))
(* 1/116 x)
(*.f64 x #s(literal 1/116 binary64))
(* 1/116 x)
(*.f64 x #s(literal 1/116 binary64))
(* 1/116 x)
(*.f64 x #s(literal 1/116 binary64))
(* 1/116 x)
(*.f64 x #s(literal 1/116 binary64))
(* x (+ 1/116 (* 4/29 (/ 1 x))))
(fma.f64 x #s(literal 1/116 binary64) #s(literal 4/29 binary64))
(* x (+ 1/116 (* 4/29 (/ 1 x))))
(fma.f64 x #s(literal 1/116 binary64) #s(literal 4/29 binary64))
(* x (+ 1/116 (* 4/29 (/ 1 x))))
(fma.f64 x #s(literal 1/116 binary64) #s(literal 4/29 binary64))
(* 1/116 x)
(*.f64 x #s(literal 1/116 binary64))
(* 1/116 x)
(*.f64 x #s(literal 1/116 binary64))
(* 1/116 x)
(*.f64 x #s(literal 1/116 binary64))
(* 1/116 x)
(*.f64 x #s(literal 1/116 binary64))

rewrite160.0ms (6%)

Memory
7.5MiB live, 121.3MiB allocated
Rules
5 340×lower-/.f32
5 338×lower-/.f64
3 610×lower-*.f64
3 610×lower-*.f32
2 986×lower-fma.f64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0712
0812
13912
220012
3154112
0856911
Stop Event
iter limit
node limit
iter limit
Counts
2 → 30
Calls
Call 1
Inputs
#s(approx (/ (+ x 16) 116) (/.f64 x #s(literal 116 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>

eval5.0ms (0.2%)

Memory
9.7MiB live, 9.7MiB allocated
Compiler

Compiled 323 to 94 computations (70.9% saved)

prune4.0ms (0.2%)

Memory
9.2MiB live, 9.2MiB allocated
Pruning

5 alts after pruning (0 fresh and 5 done)

PrunedKeptTotal
New54054
Fresh000
Picked011
Done044
Total54559
Accuracy
100.0%
Counts
59 → 5
Alt Table
Click to see full alt table
StatusAccuracyProgram
99.9%
(fma.f64 x #s(literal 1/116 binary64) #s(literal 4/29 binary64))
99.9%
(*.f64 (-.f64 x #s(literal -16 binary64)) #s(literal 1/116 binary64))
46.1%
#s(approx (/ (+ x 16) 116) (/.f64 x #s(literal 116 binary64)))
46.0%
#s(approx (/ (+ x 16) 116) (*.f64 x #s(literal 1/116 binary64)))
54.5%
#s(approx (/ (+ x 16) 116) #s(literal 4/29 binary64))
Compiler

Compiled 43 to 36 computations (16.3% saved)

regimes37.0ms (1.4%)

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

3 calls:

32.0ms
(/.f64 (+.f64 x #s(literal 16 binary64)) #s(literal 116 binary64))
3.0ms
x
2.0ms
(+.f64 x #s(literal 16 binary64))
Results
AccuracySegmentsBranch
100.0%1x
100.0%1(/.f64 (+.f64 x #s(literal 16 binary64)) #s(literal 116 binary64))
100.0%1(+.f64 x #s(literal 16 binary64))
Compiler

Compiled 9 to 9 computations (0% saved)

regimes7.0ms (0.3%)

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

3 calls:

2.0ms
x
2.0ms
(/.f64 (+.f64 x #s(literal 16 binary64)) #s(literal 116 binary64))
2.0ms
(+.f64 x #s(literal 16 binary64))
Results
AccuracySegmentsBranch
99.9%1x
99.9%1(/.f64 (+.f64 x #s(literal 16 binary64)) #s(literal 116 binary64))
99.9%1(+.f64 x #s(literal 16 binary64))
Compiler

Compiled 9 to 9 computations (0% saved)

regimes5.0ms (0.2%)

Memory
9.6MiB live, 9.6MiB allocated
Counts
3 → 1
Calls
Call 1
Inputs
#s(approx (/ (+ x 16) 116) #s(literal 4/29 binary64))
#s(approx (/ (+ x 16) 116) (*.f64 x #s(literal 1/116 binary64)))
(fma.f64 x #s(literal 1/116 binary64) #s(literal 4/29 binary64))
Outputs
(fma.f64 x #s(literal 1/116 binary64) #s(literal 4/29 binary64))
Calls

3 calls:

2.0ms
x
2.0ms
(+.f64 x #s(literal 16 binary64))
2.0ms
(/.f64 (+.f64 x #s(literal 16 binary64)) #s(literal 116 binary64))
Results
AccuracySegmentsBranch
99.9%1x
99.9%1(/.f64 (+.f64 x #s(literal 16 binary64)) #s(literal 116 binary64))
99.9%1(+.f64 x #s(literal 16 binary64))
Compiler

Compiled 9 to 9 computations (0% saved)

regimes4.0ms (0.2%)

Memory
8.4MiB live, 8.4MiB allocated
Counts
2 → 3
Calls
Call 1
Inputs
#s(approx (/ (+ x 16) 116) #s(literal 4/29 binary64))
#s(approx (/ (+ x 16) 116) (*.f64 x #s(literal 1/116 binary64)))
Outputs
#s(approx (/ (+ x 16) 116) (*.f64 x #s(literal 1/116 binary64)))
#s(approx (/ (+ x 16) 116) #s(literal 4/29 binary64))
#s(approx (/ (+ x 16) 116) (*.f64 x #s(literal 1/116 binary64)))
Calls

3 calls:

1.0ms
x
1.0ms
(+.f64 x #s(literal 16 binary64))
1.0ms
(/.f64 (+.f64 x #s(literal 16 binary64)) #s(literal 116 binary64))
Results
AccuracySegmentsBranch
96.8%3x
96.8%3(/.f64 (+.f64 x #s(literal 16 binary64)) #s(literal 116 binary64))
96.8%3(+.f64 x #s(literal 16 binary64))
Compiler

Compiled 9 to 9 computations (0% saved)

regimes36.0ms (1.4%)

Memory
-27.6MiB live, 20.1MiB allocated
Accuracy

Total 0.0b remaining (0%)

Threshold costs 0b (0%)

Counts
1 → 1
Calls
Call 1
Inputs
#s(approx (/ (+ x 16) 116) #s(literal 4/29 binary64))
Outputs
#s(approx (/ (+ x 16) 116) #s(literal 4/29 binary64))
Calls

3 calls:

33.0ms
(/.f64 (+.f64 x #s(literal 16 binary64)) #s(literal 116 binary64))
1.0ms
x
1.0ms
(+.f64 x #s(literal 16 binary64))
Results
AccuracySegmentsBranch
54.5%1x
54.5%1(/.f64 (+.f64 x #s(literal 16 binary64)) #s(literal 116 binary64))
54.5%1(+.f64 x #s(literal 16 binary64))
Compiler

Compiled 9 to 9 computations (0% saved)

bsearch1.0ms (0%)

Memory
1.0MiB live, 1.0MiB allocated
Algorithm
left-value
Steps
TimeLeftRight
0.0ms
16.335926870594978
193.07712049101065
0.0ms
-1412.9503549602534
15.97078950411443
Compiler

Compiled 8 to 9 computations (-12.5% saved)

simplify38.0ms (1.4%)

Memory
7.3MiB live, 45.8MiB allocated
Algorithm
egg-herbie
Rules
*-commutative-binary64-*.f64
+-commutative-binary64-+.f64
sub-neg-binary64-neg.f64-+.f64--.f64
neg-sub0-binary64--.f64-neg.f64
neg-mul-1-binary64-*.f64-neg.f64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02258
12758
23258
33458
43558
Stop Event
saturated
Calls
Call 1
Inputs
(/.f64 (+.f64 x #s(literal 16 binary64)) #s(literal 116 binary64))
(*.f64 (-.f64 x #s(literal -16 binary64)) #s(literal 1/116 binary64))
(fma.f64 x #s(literal 1/116 binary64) #s(literal 4/29 binary64))
(if (<=.f64 (+.f64 x #s(literal 16 binary64)) #s(literal -1000 binary64)) #s(approx (/ (+ x 16) 116) (*.f64 x #s(literal 1/116 binary64))) (if (<=.f64 (+.f64 x #s(literal 16 binary64)) #s(literal 20 binary64)) #s(approx (/ (+ x 16) 116) #s(literal 4/29 binary64)) #s(approx (/ (+ x 16) 116) (*.f64 x #s(literal 1/116 binary64)))))
#s(approx (/ (+ x 16) 116) #s(literal 4/29 binary64))
Outputs
(/.f64 (+.f64 x #s(literal 16 binary64)) #s(literal 116 binary64))
(/.f64 (+.f64 #s(literal 16 binary64) x) #s(literal 116 binary64))
(*.f64 (-.f64 x #s(literal -16 binary64)) #s(literal 1/116 binary64))
(*.f64 #s(literal 1/116 binary64) (-.f64 x #s(literal -16 binary64)))
(fma.f64 x #s(literal 1/116 binary64) #s(literal 4/29 binary64))
(if (<=.f64 (+.f64 x #s(literal 16 binary64)) #s(literal -1000 binary64)) #s(approx (/ (+ x 16) 116) (*.f64 x #s(literal 1/116 binary64))) (if (<=.f64 (+.f64 x #s(literal 16 binary64)) #s(literal 20 binary64)) #s(approx (/ (+ x 16) 116) #s(literal 4/29 binary64)) #s(approx (/ (+ x 16) 116) (*.f64 x #s(literal 1/116 binary64)))))
(if (<=.f64 (+.f64 #s(literal 16 binary64) x) #s(literal -1000 binary64)) #s(approx (/ (+ x 16) 116) (*.f64 #s(literal 1/116 binary64) x)) (if (<=.f64 (+.f64 #s(literal 16 binary64) x) #s(literal 20 binary64)) #s(approx (/ (+ x 16) 116) #s(literal 4/29 binary64)) #s(approx (/ (+ x 16) 116) (*.f64 #s(literal 1/116 binary64) x))))
#s(approx (/ (+ x 16) 116) #s(literal 4/29 binary64))

soundness163.0ms (6.1%)

Memory
-17.5MiB live, 104.9MiB allocated
Rules
5 334×lower-/.f32
5 332×lower-/.f64
3 418×lower-*.f64
3 418×lower-*.f32
2 760×lower-fma.f64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01582
14182
26782
314082
414082
514382
614882
714882
014873
058
078
1338
21778
314408
084047
Stop Event
done
iter limit
node limit
iter limit
iter limit
saturated
Compiler

Compiled 62 to 44 computations (29% saved)

preprocess42.0ms (1.6%)

Memory
26.9MiB live, 65.5MiB allocated
Compiler

Compiled 86 to 50 computations (41.9% saved)

end0.0ms (0%)

Memory
0.0MiB live, 0.0MiB allocated

Profiling

Loading profile data...