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

Time bar (total: 2.1s)

start0.0ms (0%)

Memory
0.1MiB live, 0.1MiB allocated

analyze0.0ms (0%)

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

sample750.0ms (35.1%)

Memory
0.5MiB live, 795.4MiB allocated
Samples
536.0ms8 256×0valid
Precisions
Click to see histograms. Total time spent on operations: 263.0ms
ival-add: 177.0ms (67.3% of total)
ival-div: 68.0ms (25.8% of total)
exact: 8.0ms (3% of total)
ival-true: 6.0ms (2.3% of total)
ival-assert: 3.0ms (1.1% of total)
Bogosity

explain53.0ms (2.5%)

Memory
-19.6MiB live, 95.6MiB 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
20.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 (50.6% of total)
ival-add: 3.0ms (38% of total)
exact: 1.0ms (12.7% of total)
ival-true: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

preprocess20.0ms (0.9%)

Memory
-8.2MiB live, 36.0MiB allocated
Algorithm
egg-herbie
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.4MiB allocated
Compiler

Compiled 0 to 1 computations (-∞% saved)

prune0.0ms (0%)

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

simplify3.0ms (0.1%)

Memory
6.1MiB live, 6.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))
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)

localize15.0ms (0.7%)

Memory
-4.1MiB live, 34.7MiB allocated
Localize:

Found 2 expressions of interest:

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

Compiled 13 to 7 computations (46.2% saved)

Precisions
Click to see histograms. Total time spent on operations: 6.0ms
ival-div: 3.0ms (54.4% of total)
ival-add: 2.0ms (36.3% 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
4.0MiB live, 4.0MiB 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
0.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))

simplify5.0ms (0.3%)

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

rewrite227.0ms (10.6%)

Memory
-21.5MiB live, 179.6MiB allocated
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>

eval89.0ms (4.2%)

Memory
20.9MiB live, 105.5MiB allocated
Compiler

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

prune97.0ms (4.5%)

Memory
-17.2MiB live, 21.4MiB allocated
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New4353438
Fresh000
Picked011
Done000
Total4354439
Accuracy
100.0%
Counts
439 → 4
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))
53.0%
#s(approx (/ (+ x 16) 116) (*.f64 x #s(literal 1/116 binary64)))
48.0%
#s(approx (/ (+ x 16) 116) #s(literal 4/29 binary64))
Compiler

Compiled 15 to 16 computations (-6.7% saved)

simplify4.0ms (0.2%)

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

Found 4 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 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))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01129
01329
11629
01629
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)
(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)
(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)

localize177.0ms (8.3%)

Memory
1.9MiB live, 40.4MiB allocated
Localize:

Found 4 expressions of interest:

NewMetricScoreProgram
accuracy0.05078125
(fma.f64 x #s(literal 1/116 binary64) #s(literal 4/29 binary64))
accuracy0.10546875
(*.f64 x #s(literal 1/116 binary64))
accuracy30.011959640213266
#s(approx (/ (+ x 16) 116) (*.f64 x #s(literal 1/116 binary64)))
accuracy33.30680545794727
#s(approx (/ (+ x 16) 116) #s(literal 4/29 binary64))
Samples
171.0ms256×0valid
Compiler

Compiled 26 to 11 computations (57.7% saved)

Precisions
Click to see histograms. Total time spent on operations: 164.0ms
ival-div: 152.0ms (92.8% of total)
const: 6.0ms (3.7% of total)
ival-add: 3.0ms (1.8% of total)
ival-mult: 2.0ms (1.2% of total)
ival-true: 0.0ms (0% of total)
exact: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

series3.0ms (0.1%)

Memory
3.3MiB live, 3.3MiB allocated
Counts
4 → 48
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 (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 (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 (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 (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 1/116) 4/29))
1.0ms
x
@-inf
((/ (+ x 16) 116) (/ (+ x 16) 116) (* x 1/116) (+ (* x 1/116) 4/29))
0.0ms
x
@0
((/ (+ x 16) 116) (/ (+ x 16) 116) (* x 1/116) (+ (* x 1/116) 4/29))

simplify5.0ms (0.2%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
010192
124192
237192
349192
449192
564192
670192
774192
874192
074165
Stop Event
iter limit
saturated
Counts
48 → 48
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))
(* 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))))
(* 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))))
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))
(* 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))
(* 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))

rewrite242.0ms (11.3%)

Memory
10.4MiB live, 161.7MiB allocated
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01123
01323
15423
231721
3262821
0907821
Stop Event
iter limit
node limit
iter limit
Counts
4 → 273
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))
(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>

eval58.0ms (2.7%)

Memory
-3.3MiB live, 81.6MiB allocated
Compiler

Compiled 5 258 to 801 computations (84.8% saved)

prune22.0ms (1%)

Memory
-13.9MiB live, 25.4MiB allocated
Pruning

4 alts after pruning (0 fresh and 4 done)

PrunedKeptTotal
New3210321
Fresh000
Picked033
Done011
Total3214325
Accuracy
100.0%
Counts
325 → 4
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))
53.0%
#s(approx (/ (+ x 16) 116) (*.f64 x #s(literal 1/116 binary64)))
48.0%
#s(approx (/ (+ x 16) 116) #s(literal 4/29 binary64))
Compiler

Compiled 30 to 27 computations (10% saved)

regimes7.0ms (0.3%)

Memory
16.9MiB live, 16.9MiB allocated
Counts
4 → 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 116 binary64))
Outputs
(/.f64 (+.f64 x #s(literal 16 binary64)) #s(literal 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
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)

regimes6.0ms (0.3%)

Memory
13.6MiB live, 13.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)

regimes26.0ms (1.2%)

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

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

Compiled 9 to 9 computations (0% saved)

regimes4.0ms (0.2%)

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

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

Compiled 9 to 9 computations (0% saved)

bsearch1.0ms (0%)

Memory
1.4MiB live, 1.4MiB allocated
Algorithm
left-value
Steps
TimeLeftRight
0.0ms
16.026899078401716
71745287.59635508
0.0ms
-23990.674306631856
15.060911254716448
Compiler

Compiled 8 to 9 computations (-12.5% saved)

simplify56.0ms (2.6%)

Memory
15.3MiB live, 54.6MiB allocated
Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01953
12153
Stop Event
saturated
Calls
Call 1
Inputs
(/.f64 (+.f64 x #s(literal 16 binary64)) #s(literal 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 -20000 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))
(fma.f64 x #s(literal 1/116 binary64) #s(literal 4/29 binary64))
(if (<=.f64 (+.f64 x #s(literal 16 binary64)) #s(literal -20000 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 -20000 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))

soundness202.0ms (9.5%)

Memory
-34.1MiB live, 91.1MiB allocated
Iterations

Useful iterations: 0 (0.0ms)

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

Compiled 47 to 32 computations (31.9% saved)

preprocess64.0ms (3%)

Memory
9.4MiB live, 46.9MiB allocated
Compiler

Compiled 76 to 44 computations (42.1% saved)

end0.0ms (0%)

Memory
0.0MiB live, 0.0MiB allocated

Profiling

Loading profile data...