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

Time bar (total: 1.8s)

start0.0ms (0%)

Memory
0.0MiB live, 0.0MiB allocated

analyze0.0ms (0%)

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

Compiled 7 to 7 computations (0% saved)

sample418.0ms (23.2%)

Memory
160.2MiB live, 160.2MiB allocated
Samples
239.0ms8 256×0valid
Precisions
Click to see histograms. Total time spent on operations: 108.0ms
ival-div: 61.0ms (56.6% of total)
ival-add: 34.0ms (31.5% of total)
ival-true: 5.0ms (4.6% of total)
exact: 5.0ms (4.6% of total)
ival-assert: 3.0ms (2.8% of total)
Bogosity

explain60.0ms (3.3%)

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

Compiled 64 to 40 computations (37.5% saved)

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

preprocess16.0ms (0.9%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
01329
13225
27425
317625
424525
529425
630125
055
075
185
085
Stop Event
iter limit
saturated
iter limit
saturated
Calls
Call 1
Inputs
(+.f64 x (/.f64 y #s(literal 500 binary64)))
Outputs
(+.f64 x (/.f64 y #s(literal 500 binary64)))
(+.f64 (/.f64 y #s(literal 500 binary64)) x)
Compiler

Compiled 5 to 5 computations (0% saved)

eval0.0ms (0%)

Memory
0.2MiB live, 0.2MiB allocated
Compiler

Compiled 0 to 2 computations (-∞% saved)

prune0.0ms (0%)

Memory
0.4MiB live, 0.4MiB allocated
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(+.f64 x (/.f64 y #s(literal 500 binary64)))
Compiler

Compiled 5 to 5 computations (0% saved)

simplify2.0ms (0.1%)

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

Found 2 expressions of interest:

NewMetricScoreProgram
cost-diff0
(/.f64 y #s(literal 500 binary64))
cost-diff0
(+.f64 x (/.f64 y #s(literal 500 binary64)))
Iterations

Useful iterations: 0 (0.0ms)

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

localize12.0ms (0.7%)

Memory
5.6MiB live, 5.6MiB allocated
Localize:

Found 2 expressions of interest:

NewMetricScoreProgram
accuracy0
(/.f64 y #s(literal 500 binary64))
accuracy0.015625
(+.f64 x (/.f64 y #s(literal 500 binary64)))
Samples
9.0ms256×0valid
Compiler

Compiled 24 to 12 computations (50% saved)

Precisions
Click to see histograms. Total time spent on operations: 3.0ms
ival-div: 2.0ms (60.4% of total)
ival-add: 1.0ms (30.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.2%)

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

6 calls:

TimeVariablePointExpression
1.0ms
y
@inf
((+ x (/ y 500)) (/ y 500))
0.0ms
y
@-inf
((+ x (/ y 500)) (/ y 500))
0.0ms
x
@-inf
((+ x (/ y 500)) (/ y 500))
0.0ms
y
@0
((+ x (/ y 500)) (/ y 500))
0.0ms
x
@inf
((+ x (/ y 500)) (/ y 500))

simplify158.0ms (8.8%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
023138
164138
2141138
3395138
41104138
52534138
63433138
74306138
84782138
94957138
105047138
115745138
126061138
136065138
146065138
156065138
08138120
Stop Event
iter limit
node limit
Counts
36 → 33
Calls
Call 1
Inputs
x
(+ x (* 1/500 y))
(+ x (* 1/500 y))
(+ x (* 1/500 y))
(* 1/500 y)
(* 1/500 y)
(* 1/500 y)
(* 1/500 y)
(* 1/500 y)
(* y (+ 1/500 (/ x y)))
(* y (+ 1/500 (/ x y)))
(* y (+ 1/500 (/ x y)))
(* 1/500 y)
(* 1/500 y)
(* 1/500 y)
(* 1/500 y)
(* 1/500 y)
(* -1 (* y (- (* -1 (/ x y)) 1/500)))
(* -1 (* y (- (* -1 (/ x y)) 1/500)))
(* -1 (* y (- (* -1 (/ x y)) 1/500)))
(* 1/500 y)
(* 1/500 y)
(* 1/500 y)
(* 1/500 y)
(* 1/500 y)
(+ x (* 1/500 y))
(+ x (* 1/500 y))
(+ x (* 1/500 y))
x
(* x (+ 1 (* 1/500 (/ y x))))
(* x (+ 1 (* 1/500 (/ y x))))
(* x (+ 1 (* 1/500 (/ y x))))
x
(* -1 (* x (- (* -1/500 (/ y x)) 1)))
(* -1 (* x (- (* -1/500 (/ y x)) 1)))
(* -1 (* x (- (* -1/500 (/ y x)) 1)))
Outputs
x
(+ x (* 1/500 y))
(fma.f64 y #s(literal 1/500 binary64) x)
(+ x (* 1/500 y))
(fma.f64 y #s(literal 1/500 binary64) x)
(+ x (* 1/500 y))
(fma.f64 y #s(literal 1/500 binary64) x)
(* 1/500 y)
(*.f64 y #s(literal 1/500 binary64))
(* 1/500 y)
(*.f64 y #s(literal 1/500 binary64))
(* 1/500 y)
(*.f64 y #s(literal 1/500 binary64))
(* 1/500 y)
(*.f64 y #s(literal 1/500 binary64))
(* 1/500 y)
(*.f64 y #s(literal 1/500 binary64))
(* y (+ 1/500 (/ x y)))
(fma.f64 y #s(literal 1/500 binary64) x)
(* y (+ 1/500 (/ x y)))
(fma.f64 y #s(literal 1/500 binary64) x)
(* y (+ 1/500 (/ x y)))
(fma.f64 y #s(literal 1/500 binary64) x)
(* 1/500 y)
(*.f64 y #s(literal 1/500 binary64))
(* 1/500 y)
(*.f64 y #s(literal 1/500 binary64))
(* 1/500 y)
(*.f64 y #s(literal 1/500 binary64))
(* 1/500 y)
(*.f64 y #s(literal 1/500 binary64))
(* 1/500 y)
(*.f64 y #s(literal 1/500 binary64))
(* -1 (* y (- (* -1 (/ x y)) 1/500)))
(fma.f64 y #s(literal 1/500 binary64) x)
(* -1 (* y (- (* -1 (/ x y)) 1/500)))
(fma.f64 y #s(literal 1/500 binary64) x)
(* -1 (* y (- (* -1 (/ x y)) 1/500)))
(fma.f64 y #s(literal 1/500 binary64) x)
(* 1/500 y)
(*.f64 y #s(literal 1/500 binary64))
(* 1/500 y)
(*.f64 y #s(literal 1/500 binary64))
(* 1/500 y)
(*.f64 y #s(literal 1/500 binary64))
(* 1/500 y)
(*.f64 y #s(literal 1/500 binary64))
(* 1/500 y)
(*.f64 y #s(literal 1/500 binary64))
(+ x (* 1/500 y))
(fma.f64 y #s(literal 1/500 binary64) x)
(+ x (* 1/500 y))
(fma.f64 y #s(literal 1/500 binary64) x)
(+ x (* 1/500 y))
(fma.f64 y #s(literal 1/500 binary64) x)
x
(* x (+ 1 (* 1/500 (/ y x))))
(fma.f64 y #s(literal 1/500 binary64) x)
(* x (+ 1 (* 1/500 (/ y x))))
(fma.f64 y #s(literal 1/500 binary64) x)
(* x (+ 1 (* 1/500 (/ y x))))
(fma.f64 y #s(literal 1/500 binary64) x)
x
(* -1 (* x (- (* -1/500 (/ y x)) 1)))
(fma.f64 y #s(literal 1/500 binary64) x)
(* -1 (* x (- (* -1/500 (/ y x)) 1)))
(fma.f64 y #s(literal 1/500 binary64) x)
(* -1 (* x (- (* -1/500 (/ y x)) 1)))
(fma.f64 y #s(literal 1/500 binary64) x)

rewrite101.0ms (5.6%)

Memory
37.3MiB live, 37.3MiB allocated
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
058
078
1318
22358
337068
082957
Stop Event
iter limit
node limit
iter limit
Counts
2 → 154
Calls
Call 1
Inputs
(+.f64 x (/.f64 y #s(literal 500 binary64)))
(/.f64 y #s(literal 500 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>

eval18.0ms (1%)

Memory
15.4MiB live, 15.4MiB allocated
Compiler

Compiled 2 922 to 434 computations (85.1% saved)

prune4.0ms (0.2%)

Memory
8.3MiB live, 8.3MiB allocated
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New1852187
Fresh000
Picked011
Done000
Total1853188
Accuracy
100.0%
Counts
188 → 3
Alt Table
Click to see full alt table
StatusAccuracyProgram
99.9%
(fma.f64 y #s(literal 1/500 binary64) x)
100.0%
(+.f64 x (/.f64 y #s(literal 500 binary64)))
51.6%
#s(approx (+ x (/ y 500)) (*.f64 y #s(literal 1/500 binary64)))
Compiler

Compiled 13 to 14 computations (-7.7% saved)

simplify3.0ms (0.2%)

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

Found 3 expressions of interest:

NewMetricScoreProgram
cost-diff0
(fma.f64 y #s(literal 1/500 binary64) x)
cost-diff0
(*.f64 y #s(literal 1/500 binary64))
cost-diff0
#s(approx (+ x (/ y 500)) (*.f64 y #s(literal 1/500 binary64)))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0921
01121
11421
01421
Stop Event
iter limit
saturated
iter limit
Calls
Call 1
Inputs
#s(approx (+ x (/ y 500)) (*.f64 y #s(literal 1/500 binary64)))
(*.f64 y #s(literal 1/500 binary64))
y
#s(literal 1/500 binary64)
(fma.f64 y #s(literal 1/500 binary64) x)
y
#s(literal 1/500 binary64)
x
Outputs
#s(approx (+ x (/ y 500)) (*.f64 y #s(literal 1/500 binary64)))
#s(approx (+ x (/ y 500)) (*.f64 #s(literal 1/500 binary64) y))
(*.f64 y #s(literal 1/500 binary64))
(*.f64 #s(literal 1/500 binary64) y)
y
#s(literal 1/500 binary64)
(fma.f64 y #s(literal 1/500 binary64) x)
(fma.f64 #s(literal 1/500 binary64) y x)
y
#s(literal 1/500 binary64)
x

localize21.0ms (1.2%)

Memory
8.2MiB live, 8.2MiB allocated
Localize:

Found 3 expressions of interest:

NewMetricScoreProgram
accuracy0.0546875
(fma.f64 y #s(literal 1/500 binary64) x)
accuracy0.09765625
(*.f64 y #s(literal 1/500 binary64))
accuracy30.950159025876584
#s(approx (+ x (/ y 500)) (*.f64 y #s(literal 1/500 binary64)))
Samples
16.0ms256×0valid
Compiler

Compiled 36 to 16 computations (55.6% saved)

Precisions
Click to see histograms. Total time spent on operations: 9.0ms
const: 3.0ms (33.2% of total)
ival-div: 2.0ms (22.2% of total)
ival-add: 2.0ms (22.2% of total)
ival-mult: 2.0ms (22.2% 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
1.6MiB live, 1.6MiB allocated
Counts
3 → 60
Calls
Call 1
Inputs
#s(alt #s(approx (+ x (/ y 500)) (*.f64 y #s(literal 1/500 binary64))) (patch #s(approx (+ x (/ y 500)) (*.f64 y #s(literal 1/500 binary64))) #<representation binary64>) () ())
#s(alt (*.f64 y #s(literal 1/500 binary64)) (patch (*.f64 y #s(literal 1/500 binary64)) #<representation binary64>) () ())
#s(alt (fma.f64 y #s(literal 1/500 binary64) x) (patch (fma.f64 y #s(literal 1/500 binary64) x) #<representation binary64>) () ())
Outputs
#s(alt x (taylor 0 y) (#s(alt #s(approx (+ x (/ y 500)) (*.f64 y #s(literal 1/500 binary64))) (patch #s(approx (+ x (/ y 500)) (*.f64 y #s(literal 1/500 binary64))) #<representation binary64>) () ())) ())
#s(alt (+ x (* 1/500 y)) (taylor 0 y) (#s(alt #s(approx (+ x (/ y 500)) (*.f64 y #s(literal 1/500 binary64))) (patch #s(approx (+ x (/ y 500)) (*.f64 y #s(literal 1/500 binary64))) #<representation binary64>) () ())) ())
#s(alt (+ x (* 1/500 y)) (taylor 0 y) (#s(alt #s(approx (+ x (/ y 500)) (*.f64 y #s(literal 1/500 binary64))) (patch #s(approx (+ x (/ y 500)) (*.f64 y #s(literal 1/500 binary64))) #<representation binary64>) () ())) ())
#s(alt (+ x (* 1/500 y)) (taylor 0 y) (#s(alt #s(approx (+ x (/ y 500)) (*.f64 y #s(literal 1/500 binary64))) (patch #s(approx (+ x (/ y 500)) (*.f64 y #s(literal 1/500 binary64))) #<representation binary64>) () ())) ())
#s(alt (* 1/500 y) (taylor 0 y) (#s(alt (*.f64 y #s(literal 1/500 binary64)) (patch (*.f64 y #s(literal 1/500 binary64)) #<representation binary64>) () ())) ())
#s(alt (* 1/500 y) (taylor 0 y) (#s(alt (*.f64 y #s(literal 1/500 binary64)) (patch (*.f64 y #s(literal 1/500 binary64)) #<representation binary64>) () ())) ())
#s(alt (* 1/500 y) (taylor 0 y) (#s(alt (*.f64 y #s(literal 1/500 binary64)) (patch (*.f64 y #s(literal 1/500 binary64)) #<representation binary64>) () ())) ())
#s(alt (* 1/500 y) (taylor 0 y) (#s(alt (*.f64 y #s(literal 1/500 binary64)) (patch (*.f64 y #s(literal 1/500 binary64)) #<representation binary64>) () ())) ())
#s(alt x (taylor 0 y) (#s(alt (fma.f64 y #s(literal 1/500 binary64) x) (patch (fma.f64 y #s(literal 1/500 binary64) x) #<representation binary64>) () ())) ())
#s(alt (+ x (* 1/500 y)) (taylor 0 y) (#s(alt (fma.f64 y #s(literal 1/500 binary64) x) (patch (fma.f64 y #s(literal 1/500 binary64) x) #<representation binary64>) () ())) ())
#s(alt (+ x (* 1/500 y)) (taylor 0 y) (#s(alt (fma.f64 y #s(literal 1/500 binary64) x) (patch (fma.f64 y #s(literal 1/500 binary64) x) #<representation binary64>) () ())) ())
#s(alt (+ x (* 1/500 y)) (taylor 0 y) (#s(alt (fma.f64 y #s(literal 1/500 binary64) x) (patch (fma.f64 y #s(literal 1/500 binary64) x) #<representation binary64>) () ())) ())
#s(alt (* 1/500 y) (taylor inf y) (#s(alt #s(approx (+ x (/ y 500)) (*.f64 y #s(literal 1/500 binary64))) (patch #s(approx (+ x (/ y 500)) (*.f64 y #s(literal 1/500 binary64))) #<representation binary64>) () ())) ())
#s(alt (* y (+ 1/500 (/ x y))) (taylor inf y) (#s(alt #s(approx (+ x (/ y 500)) (*.f64 y #s(literal 1/500 binary64))) (patch #s(approx (+ x (/ y 500)) (*.f64 y #s(literal 1/500 binary64))) #<representation binary64>) () ())) ())
#s(alt (* y (+ 1/500 (/ x y))) (taylor inf y) (#s(alt #s(approx (+ x (/ y 500)) (*.f64 y #s(literal 1/500 binary64))) (patch #s(approx (+ x (/ y 500)) (*.f64 y #s(literal 1/500 binary64))) #<representation binary64>) () ())) ())
#s(alt (* y (+ 1/500 (/ x y))) (taylor inf y) (#s(alt #s(approx (+ x (/ y 500)) (*.f64 y #s(literal 1/500 binary64))) (patch #s(approx (+ x (/ y 500)) (*.f64 y #s(literal 1/500 binary64))) #<representation binary64>) () ())) ())
#s(alt (* 1/500 y) (taylor inf y) (#s(alt (*.f64 y #s(literal 1/500 binary64)) (patch (*.f64 y #s(literal 1/500 binary64)) #<representation binary64>) () ())) ())
#s(alt (* 1/500 y) (taylor inf y) (#s(alt (*.f64 y #s(literal 1/500 binary64)) (patch (*.f64 y #s(literal 1/500 binary64)) #<representation binary64>) () ())) ())
#s(alt (* 1/500 y) (taylor inf y) (#s(alt (*.f64 y #s(literal 1/500 binary64)) (patch (*.f64 y #s(literal 1/500 binary64)) #<representation binary64>) () ())) ())
#s(alt (* 1/500 y) (taylor inf y) (#s(alt (*.f64 y #s(literal 1/500 binary64)) (patch (*.f64 y #s(literal 1/500 binary64)) #<representation binary64>) () ())) ())
#s(alt (* 1/500 y) (taylor inf y) (#s(alt (fma.f64 y #s(literal 1/500 binary64) x) (patch (fma.f64 y #s(literal 1/500 binary64) x) #<representation binary64>) () ())) ())
#s(alt (* y (+ 1/500 (/ x y))) (taylor inf y) (#s(alt (fma.f64 y #s(literal 1/500 binary64) x) (patch (fma.f64 y #s(literal 1/500 binary64) x) #<representation binary64>) () ())) ())
#s(alt (* y (+ 1/500 (/ x y))) (taylor inf y) (#s(alt (fma.f64 y #s(literal 1/500 binary64) x) (patch (fma.f64 y #s(literal 1/500 binary64) x) #<representation binary64>) () ())) ())
#s(alt (* y (+ 1/500 (/ x y))) (taylor inf y) (#s(alt (fma.f64 y #s(literal 1/500 binary64) x) (patch (fma.f64 y #s(literal 1/500 binary64) x) #<representation binary64>) () ())) ())
#s(alt (* 1/500 y) (taylor -inf y) (#s(alt #s(approx (+ x (/ y 500)) (*.f64 y #s(literal 1/500 binary64))) (patch #s(approx (+ x (/ y 500)) (*.f64 y #s(literal 1/500 binary64))) #<representation binary64>) () ())) ())
#s(alt (* -1 (* y (- (* -1 (/ x y)) 1/500))) (taylor -inf y) (#s(alt #s(approx (+ x (/ y 500)) (*.f64 y #s(literal 1/500 binary64))) (patch #s(approx (+ x (/ y 500)) (*.f64 y #s(literal 1/500 binary64))) #<representation binary64>) () ())) ())
#s(alt (* -1 (* y (- (* -1 (/ x y)) 1/500))) (taylor -inf y) (#s(alt #s(approx (+ x (/ y 500)) (*.f64 y #s(literal 1/500 binary64))) (patch #s(approx (+ x (/ y 500)) (*.f64 y #s(literal 1/500 binary64))) #<representation binary64>) () ())) ())
#s(alt (* -1 (* y (- (* -1 (/ x y)) 1/500))) (taylor -inf y) (#s(alt #s(approx (+ x (/ y 500)) (*.f64 y #s(literal 1/500 binary64))) (patch #s(approx (+ x (/ y 500)) (*.f64 y #s(literal 1/500 binary64))) #<representation binary64>) () ())) ())
#s(alt (* 1/500 y) (taylor -inf y) (#s(alt (*.f64 y #s(literal 1/500 binary64)) (patch (*.f64 y #s(literal 1/500 binary64)) #<representation binary64>) () ())) ())
#s(alt (* 1/500 y) (taylor -inf y) (#s(alt (*.f64 y #s(literal 1/500 binary64)) (patch (*.f64 y #s(literal 1/500 binary64)) #<representation binary64>) () ())) ())
#s(alt (* 1/500 y) (taylor -inf y) (#s(alt (*.f64 y #s(literal 1/500 binary64)) (patch (*.f64 y #s(literal 1/500 binary64)) #<representation binary64>) () ())) ())
#s(alt (* 1/500 y) (taylor -inf y) (#s(alt (*.f64 y #s(literal 1/500 binary64)) (patch (*.f64 y #s(literal 1/500 binary64)) #<representation binary64>) () ())) ())
#s(alt (* 1/500 y) (taylor -inf y) (#s(alt (fma.f64 y #s(literal 1/500 binary64) x) (patch (fma.f64 y #s(literal 1/500 binary64) x) #<representation binary64>) () ())) ())
#s(alt (* -1 (* y (- (* -1 (/ x y)) 1/500))) (taylor -inf y) (#s(alt (fma.f64 y #s(literal 1/500 binary64) x) (patch (fma.f64 y #s(literal 1/500 binary64) x) #<representation binary64>) () ())) ())
#s(alt (* -1 (* y (- (* -1 (/ x y)) 1/500))) (taylor -inf y) (#s(alt (fma.f64 y #s(literal 1/500 binary64) x) (patch (fma.f64 y #s(literal 1/500 binary64) x) #<representation binary64>) () ())) ())
#s(alt (* -1 (* y (- (* -1 (/ x y)) 1/500))) (taylor -inf y) (#s(alt (fma.f64 y #s(literal 1/500 binary64) x) (patch (fma.f64 y #s(literal 1/500 binary64) x) #<representation binary64>) () ())) ())
#s(alt (* 1/500 y) (taylor 0 x) (#s(alt #s(approx (+ x (/ y 500)) (*.f64 y #s(literal 1/500 binary64))) (patch #s(approx (+ x (/ y 500)) (*.f64 y #s(literal 1/500 binary64))) #<representation binary64>) () ())) ())
#s(alt (+ x (* 1/500 y)) (taylor 0 x) (#s(alt #s(approx (+ x (/ y 500)) (*.f64 y #s(literal 1/500 binary64))) (patch #s(approx (+ x (/ y 500)) (*.f64 y #s(literal 1/500 binary64))) #<representation binary64>) () ())) ())
#s(alt (+ x (* 1/500 y)) (taylor 0 x) (#s(alt #s(approx (+ x (/ y 500)) (*.f64 y #s(literal 1/500 binary64))) (patch #s(approx (+ x (/ y 500)) (*.f64 y #s(literal 1/500 binary64))) #<representation binary64>) () ())) ())
#s(alt (+ x (* 1/500 y)) (taylor 0 x) (#s(alt #s(approx (+ x (/ y 500)) (*.f64 y #s(literal 1/500 binary64))) (patch #s(approx (+ x (/ y 500)) (*.f64 y #s(literal 1/500 binary64))) #<representation binary64>) () ())) ())
#s(alt (* 1/500 y) (taylor 0 x) (#s(alt (fma.f64 y #s(literal 1/500 binary64) x) (patch (fma.f64 y #s(literal 1/500 binary64) x) #<representation binary64>) () ())) ())
#s(alt (+ x (* 1/500 y)) (taylor 0 x) (#s(alt (fma.f64 y #s(literal 1/500 binary64) x) (patch (fma.f64 y #s(literal 1/500 binary64) x) #<representation binary64>) () ())) ())
#s(alt (+ x (* 1/500 y)) (taylor 0 x) (#s(alt (fma.f64 y #s(literal 1/500 binary64) x) (patch (fma.f64 y #s(literal 1/500 binary64) x) #<representation binary64>) () ())) ())
#s(alt (+ x (* 1/500 y)) (taylor 0 x) (#s(alt (fma.f64 y #s(literal 1/500 binary64) x) (patch (fma.f64 y #s(literal 1/500 binary64) x) #<representation binary64>) () ())) ())
#s(alt x (taylor inf x) (#s(alt #s(approx (+ x (/ y 500)) (*.f64 y #s(literal 1/500 binary64))) (patch #s(approx (+ x (/ y 500)) (*.f64 y #s(literal 1/500 binary64))) #<representation binary64>) () ())) ())
#s(alt (* x (+ 1 (* 1/500 (/ y x)))) (taylor inf x) (#s(alt #s(approx (+ x (/ y 500)) (*.f64 y #s(literal 1/500 binary64))) (patch #s(approx (+ x (/ y 500)) (*.f64 y #s(literal 1/500 binary64))) #<representation binary64>) () ())) ())
#s(alt (* x (+ 1 (* 1/500 (/ y x)))) (taylor inf x) (#s(alt #s(approx (+ x (/ y 500)) (*.f64 y #s(literal 1/500 binary64))) (patch #s(approx (+ x (/ y 500)) (*.f64 y #s(literal 1/500 binary64))) #<representation binary64>) () ())) ())
#s(alt (* x (+ 1 (* 1/500 (/ y x)))) (taylor inf x) (#s(alt #s(approx (+ x (/ y 500)) (*.f64 y #s(literal 1/500 binary64))) (patch #s(approx (+ x (/ y 500)) (*.f64 y #s(literal 1/500 binary64))) #<representation binary64>) () ())) ())
#s(alt x (taylor inf x) (#s(alt (fma.f64 y #s(literal 1/500 binary64) x) (patch (fma.f64 y #s(literal 1/500 binary64) x) #<representation binary64>) () ())) ())
#s(alt (* x (+ 1 (* 1/500 (/ y x)))) (taylor inf x) (#s(alt (fma.f64 y #s(literal 1/500 binary64) x) (patch (fma.f64 y #s(literal 1/500 binary64) x) #<representation binary64>) () ())) ())
#s(alt (* x (+ 1 (* 1/500 (/ y x)))) (taylor inf x) (#s(alt (fma.f64 y #s(literal 1/500 binary64) x) (patch (fma.f64 y #s(literal 1/500 binary64) x) #<representation binary64>) () ())) ())
#s(alt (* x (+ 1 (* 1/500 (/ y x)))) (taylor inf x) (#s(alt (fma.f64 y #s(literal 1/500 binary64) x) (patch (fma.f64 y #s(literal 1/500 binary64) x) #<representation binary64>) () ())) ())
#s(alt x (taylor -inf x) (#s(alt #s(approx (+ x (/ y 500)) (*.f64 y #s(literal 1/500 binary64))) (patch #s(approx (+ x (/ y 500)) (*.f64 y #s(literal 1/500 binary64))) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x (- (* -1/500 (/ y x)) 1))) (taylor -inf x) (#s(alt #s(approx (+ x (/ y 500)) (*.f64 y #s(literal 1/500 binary64))) (patch #s(approx (+ x (/ y 500)) (*.f64 y #s(literal 1/500 binary64))) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x (- (* -1/500 (/ y x)) 1))) (taylor -inf x) (#s(alt #s(approx (+ x (/ y 500)) (*.f64 y #s(literal 1/500 binary64))) (patch #s(approx (+ x (/ y 500)) (*.f64 y #s(literal 1/500 binary64))) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x (- (* -1/500 (/ y x)) 1))) (taylor -inf x) (#s(alt #s(approx (+ x (/ y 500)) (*.f64 y #s(literal 1/500 binary64))) (patch #s(approx (+ x (/ y 500)) (*.f64 y #s(literal 1/500 binary64))) #<representation binary64>) () ())) ())
#s(alt x (taylor -inf x) (#s(alt (fma.f64 y #s(literal 1/500 binary64) x) (patch (fma.f64 y #s(literal 1/500 binary64) x) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x (- (* -1/500 (/ y x)) 1))) (taylor -inf x) (#s(alt (fma.f64 y #s(literal 1/500 binary64) x) (patch (fma.f64 y #s(literal 1/500 binary64) x) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x (- (* -1/500 (/ y x)) 1))) (taylor -inf x) (#s(alt (fma.f64 y #s(literal 1/500 binary64) x) (patch (fma.f64 y #s(literal 1/500 binary64) x) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x (- (* -1/500 (/ y x)) 1))) (taylor -inf x) (#s(alt (fma.f64 y #s(literal 1/500 binary64) x) (patch (fma.f64 y #s(literal 1/500 binary64) x) #<representation binary64>) () ())) ())
Calls

6 calls:

TimeVariablePointExpression
0.0ms
y
@-inf
((+ x (/ y 500)) (* y 1/500) (+ (* y 1/500) x))
0.0ms
y
@inf
((+ x (/ y 500)) (* y 1/500) (+ (* y 1/500) x))
0.0ms
y
@0
((+ x (/ y 500)) (* y 1/500) (+ (* y 1/500) x))
0.0ms
x
@-inf
((+ x (/ y 500)) (* y 1/500) (+ (* y 1/500) x))
0.0ms
x
@inf
((+ x (/ y 500)) (* y 1/500) (+ (* y 1/500) x))

simplify147.0ms (8.2%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
023240
164240
2141240
3395240
41104240
52534240
63433240
74306240
84782240
94957240
105047240
115745240
126061240
136065240
146065240
156065240
08138204
Stop Event
iter limit
node limit
Counts
60 → 54
Calls
Call 1
Inputs
x
(+ x (* 1/500 y))
(+ x (* 1/500 y))
(+ x (* 1/500 y))
(* 1/500 y)
(* 1/500 y)
(* 1/500 y)
(* 1/500 y)
x
(+ x (* 1/500 y))
(+ x (* 1/500 y))
(+ x (* 1/500 y))
(* 1/500 y)
(* y (+ 1/500 (/ x y)))
(* y (+ 1/500 (/ x y)))
(* y (+ 1/500 (/ x y)))
(* 1/500 y)
(* 1/500 y)
(* 1/500 y)
(* 1/500 y)
(* 1/500 y)
(* y (+ 1/500 (/ x y)))
(* y (+ 1/500 (/ x y)))
(* y (+ 1/500 (/ x y)))
(* 1/500 y)
(* -1 (* y (- (* -1 (/ x y)) 1/500)))
(* -1 (* y (- (* -1 (/ x y)) 1/500)))
(* -1 (* y (- (* -1 (/ x y)) 1/500)))
(* 1/500 y)
(* 1/500 y)
(* 1/500 y)
(* 1/500 y)
(* 1/500 y)
(* -1 (* y (- (* -1 (/ x y)) 1/500)))
(* -1 (* y (- (* -1 (/ x y)) 1/500)))
(* -1 (* y (- (* -1 (/ x y)) 1/500)))
(* 1/500 y)
(+ x (* 1/500 y))
(+ x (* 1/500 y))
(+ x (* 1/500 y))
(* 1/500 y)
(+ x (* 1/500 y))
(+ x (* 1/500 y))
(+ x (* 1/500 y))
x
(* x (+ 1 (* 1/500 (/ y x))))
(* x (+ 1 (* 1/500 (/ y x))))
(* x (+ 1 (* 1/500 (/ y x))))
x
(* x (+ 1 (* 1/500 (/ y x))))
(* x (+ 1 (* 1/500 (/ y x))))
(* x (+ 1 (* 1/500 (/ y x))))
x
(* -1 (* x (- (* -1/500 (/ y x)) 1)))
(* -1 (* x (- (* -1/500 (/ y x)) 1)))
(* -1 (* x (- (* -1/500 (/ y x)) 1)))
x
(* -1 (* x (- (* -1/500 (/ y x)) 1)))
(* -1 (* x (- (* -1/500 (/ y x)) 1)))
(* -1 (* x (- (* -1/500 (/ y x)) 1)))
Outputs
x
(+ x (* 1/500 y))
(fma.f64 y #s(literal 1/500 binary64) x)
(+ x (* 1/500 y))
(fma.f64 y #s(literal 1/500 binary64) x)
(+ x (* 1/500 y))
(fma.f64 y #s(literal 1/500 binary64) x)
(* 1/500 y)
(*.f64 y #s(literal 1/500 binary64))
(* 1/500 y)
(*.f64 y #s(literal 1/500 binary64))
(* 1/500 y)
(*.f64 y #s(literal 1/500 binary64))
(* 1/500 y)
(*.f64 y #s(literal 1/500 binary64))
x
(+ x (* 1/500 y))
(fma.f64 y #s(literal 1/500 binary64) x)
(+ x (* 1/500 y))
(fma.f64 y #s(literal 1/500 binary64) x)
(+ x (* 1/500 y))
(fma.f64 y #s(literal 1/500 binary64) x)
(* 1/500 y)
(*.f64 y #s(literal 1/500 binary64))
(* y (+ 1/500 (/ x y)))
(fma.f64 y #s(literal 1/500 binary64) x)
(* y (+ 1/500 (/ x y)))
(fma.f64 y #s(literal 1/500 binary64) x)
(* y (+ 1/500 (/ x y)))
(fma.f64 y #s(literal 1/500 binary64) x)
(* 1/500 y)
(*.f64 y #s(literal 1/500 binary64))
(* 1/500 y)
(*.f64 y #s(literal 1/500 binary64))
(* 1/500 y)
(*.f64 y #s(literal 1/500 binary64))
(* 1/500 y)
(*.f64 y #s(literal 1/500 binary64))
(* 1/500 y)
(*.f64 y #s(literal 1/500 binary64))
(* y (+ 1/500 (/ x y)))
(fma.f64 y #s(literal 1/500 binary64) x)
(* y (+ 1/500 (/ x y)))
(fma.f64 y #s(literal 1/500 binary64) x)
(* y (+ 1/500 (/ x y)))
(fma.f64 y #s(literal 1/500 binary64) x)
(* 1/500 y)
(*.f64 y #s(literal 1/500 binary64))
(* -1 (* y (- (* -1 (/ x y)) 1/500)))
(fma.f64 y #s(literal 1/500 binary64) x)
(* -1 (* y (- (* -1 (/ x y)) 1/500)))
(fma.f64 y #s(literal 1/500 binary64) x)
(* -1 (* y (- (* -1 (/ x y)) 1/500)))
(fma.f64 y #s(literal 1/500 binary64) x)
(* 1/500 y)
(*.f64 y #s(literal 1/500 binary64))
(* 1/500 y)
(*.f64 y #s(literal 1/500 binary64))
(* 1/500 y)
(*.f64 y #s(literal 1/500 binary64))
(* 1/500 y)
(*.f64 y #s(literal 1/500 binary64))
(* 1/500 y)
(*.f64 y #s(literal 1/500 binary64))
(* -1 (* y (- (* -1 (/ x y)) 1/500)))
(fma.f64 y #s(literal 1/500 binary64) x)
(* -1 (* y (- (* -1 (/ x y)) 1/500)))
(fma.f64 y #s(literal 1/500 binary64) x)
(* -1 (* y (- (* -1 (/ x y)) 1/500)))
(fma.f64 y #s(literal 1/500 binary64) x)
(* 1/500 y)
(*.f64 y #s(literal 1/500 binary64))
(+ x (* 1/500 y))
(fma.f64 y #s(literal 1/500 binary64) x)
(+ x (* 1/500 y))
(fma.f64 y #s(literal 1/500 binary64) x)
(+ x (* 1/500 y))
(fma.f64 y #s(literal 1/500 binary64) x)
(* 1/500 y)
(*.f64 y #s(literal 1/500 binary64))
(+ x (* 1/500 y))
(fma.f64 y #s(literal 1/500 binary64) x)
(+ x (* 1/500 y))
(fma.f64 y #s(literal 1/500 binary64) x)
(+ x (* 1/500 y))
(fma.f64 y #s(literal 1/500 binary64) x)
x
(* x (+ 1 (* 1/500 (/ y x))))
(fma.f64 y #s(literal 1/500 binary64) x)
(* x (+ 1 (* 1/500 (/ y x))))
(fma.f64 y #s(literal 1/500 binary64) x)
(* x (+ 1 (* 1/500 (/ y x))))
(fma.f64 y #s(literal 1/500 binary64) x)
x
(* x (+ 1 (* 1/500 (/ y x))))
(fma.f64 y #s(literal 1/500 binary64) x)
(* x (+ 1 (* 1/500 (/ y x))))
(fma.f64 y #s(literal 1/500 binary64) x)
(* x (+ 1 (* 1/500 (/ y x))))
(fma.f64 y #s(literal 1/500 binary64) x)
x
(* -1 (* x (- (* -1/500 (/ y x)) 1)))
(fma.f64 y #s(literal 1/500 binary64) x)
(* -1 (* x (- (* -1/500 (/ y x)) 1)))
(fma.f64 y #s(literal 1/500 binary64) x)
(* -1 (* x (- (* -1/500 (/ y x)) 1)))
(fma.f64 y #s(literal 1/500 binary64) x)
x
(* -1 (* x (- (* -1/500 (/ y x)) 1)))
(fma.f64 y #s(literal 1/500 binary64) x)
(* -1 (* x (- (* -1/500 (/ y x)) 1)))
(fma.f64 y #s(literal 1/500 binary64) x)
(* -1 (* x (- (* -1/500 (/ y x)) 1)))
(fma.f64 y #s(literal 1/500 binary64) x)

rewrite101.0ms (5.6%)

Memory
35.9MiB live, 35.9MiB allocated
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0916
01115
14715
234115
3603815
0830115
Stop Event
iter limit
node limit
iter limit
Counts
3 → 153
Calls
Call 1
Inputs
#s(approx (+ x (/ y 500)) (*.f64 y #s(literal 1/500 binary64)))
(*.f64 y #s(literal 1/500 binary64))
(fma.f64 y #s(literal 1/500 binary64) x)
Outputs
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>

eval19.0ms (1.1%)

Memory
17.2MiB live, 17.2MiB allocated
Compiler

Compiled 3 329 to 434 computations (87% saved)

prune7.0ms (0.4%)

Memory
10.8MiB live, 10.8MiB allocated
Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New2061207
Fresh000
Picked022
Done101
Total2073210
Accuracy
100.0%
Counts
210 → 3
Alt Table
Click to see full alt table
StatusAccuracyProgram
99.9%
(fma.f64 y #s(literal 1/500 binary64) x)
51.6%
#s(approx (+ x (/ y 500)) (/.f64 y #s(literal 500 binary64)))
51.6%
#s(approx (+ x (/ y 500)) (*.f64 y #s(literal 1/500 binary64)))
Compiler

Compiled 12 to 14 computations (-16.7% saved)

simplify2.0ms (0.1%)

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

Found 2 expressions of interest:

NewMetricScoreProgram
cost-diff0
(/.f64 y #s(literal 500 binary64))
cost-diff0
#s(approx (+ x (/ y 500)) (/.f64 y #s(literal 500 binary64)))
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 (/ y 500)) (/.f64 y #s(literal 500 binary64)))
(/.f64 y #s(literal 500 binary64))
y
#s(literal 500 binary64)
Outputs
#s(approx (+ x (/ y 500)) (/.f64 y #s(literal 500 binary64)))
(/.f64 y #s(literal 500 binary64))
y
#s(literal 500 binary64)

localize12.0ms (0.7%)

Memory
5.4MiB live, 5.4MiB allocated
Localize:

Found 2 expressions of interest:

NewMetricScoreProgram
accuracy0
(/.f64 y #s(literal 500 binary64))
accuracy30.950159025876584
#s(approx (+ x (/ y 500)) (/.f64 y #s(literal 500 binary64)))
Samples
8.0ms256×0valid
Compiler

Compiled 21 to 12 computations (42.9% saved)

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

6 calls:

TimeVariablePointExpression
0.0ms
y
@inf
((+ x (/ y 500)) (/ y 500))
0.0ms
y
@-inf
((+ x (/ y 500)) (/ y 500))
0.0ms
y
@0
((+ x (/ y 500)) (/ y 500))
0.0ms
x
@-inf
((+ x (/ y 500)) (/ y 500))
0.0ms
x
@inf
((+ x (/ y 500)) (/ y 500))

simplify144.0ms (8%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
023138
164138
2141138
3395138
41104138
52534138
63433138
74306138
84782138
94957138
105047138
115745138
126061138
136065138
146065138
156065138
08138120
Stop Event
iter limit
node limit
Counts
36 → 33
Calls
Call 1
Inputs
x
(+ x (* 1/500 y))
(+ x (* 1/500 y))
(+ x (* 1/500 y))
(* 1/500 y)
(* 1/500 y)
(* 1/500 y)
(* 1/500 y)
(* 1/500 y)
(* y (+ 1/500 (/ x y)))
(* y (+ 1/500 (/ x y)))
(* y (+ 1/500 (/ x y)))
(* 1/500 y)
(* 1/500 y)
(* 1/500 y)
(* 1/500 y)
(* 1/500 y)
(* -1 (* y (- (* -1 (/ x y)) 1/500)))
(* -1 (* y (- (* -1 (/ x y)) 1/500)))
(* -1 (* y (- (* -1 (/ x y)) 1/500)))
(* 1/500 y)
(* 1/500 y)
(* 1/500 y)
(* 1/500 y)
(* 1/500 y)
(+ x (* 1/500 y))
(+ x (* 1/500 y))
(+ x (* 1/500 y))
x
(* x (+ 1 (* 1/500 (/ y x))))
(* x (+ 1 (* 1/500 (/ y x))))
(* x (+ 1 (* 1/500 (/ y x))))
x
(* -1 (* x (- (* -1/500 (/ y x)) 1)))
(* -1 (* x (- (* -1/500 (/ y x)) 1)))
(* -1 (* x (- (* -1/500 (/ y x)) 1)))
Outputs
x
(+ x (* 1/500 y))
(fma.f64 y #s(literal 1/500 binary64) x)
(+ x (* 1/500 y))
(fma.f64 y #s(literal 1/500 binary64) x)
(+ x (* 1/500 y))
(fma.f64 y #s(literal 1/500 binary64) x)
(* 1/500 y)
(*.f64 y #s(literal 1/500 binary64))
(* 1/500 y)
(*.f64 y #s(literal 1/500 binary64))
(* 1/500 y)
(*.f64 y #s(literal 1/500 binary64))
(* 1/500 y)
(*.f64 y #s(literal 1/500 binary64))
(* 1/500 y)
(*.f64 y #s(literal 1/500 binary64))
(* y (+ 1/500 (/ x y)))
(fma.f64 y #s(literal 1/500 binary64) x)
(* y (+ 1/500 (/ x y)))
(fma.f64 y #s(literal 1/500 binary64) x)
(* y (+ 1/500 (/ x y)))
(fma.f64 y #s(literal 1/500 binary64) x)
(* 1/500 y)
(*.f64 y #s(literal 1/500 binary64))
(* 1/500 y)
(*.f64 y #s(literal 1/500 binary64))
(* 1/500 y)
(*.f64 y #s(literal 1/500 binary64))
(* 1/500 y)
(*.f64 y #s(literal 1/500 binary64))
(* 1/500 y)
(*.f64 y #s(literal 1/500 binary64))
(* -1 (* y (- (* -1 (/ x y)) 1/500)))
(fma.f64 y #s(literal 1/500 binary64) x)
(* -1 (* y (- (* -1 (/ x y)) 1/500)))
(fma.f64 y #s(literal 1/500 binary64) x)
(* -1 (* y (- (* -1 (/ x y)) 1/500)))
(fma.f64 y #s(literal 1/500 binary64) x)
(* 1/500 y)
(*.f64 y #s(literal 1/500 binary64))
(* 1/500 y)
(*.f64 y #s(literal 1/500 binary64))
(* 1/500 y)
(*.f64 y #s(literal 1/500 binary64))
(* 1/500 y)
(*.f64 y #s(literal 1/500 binary64))
(* 1/500 y)
(*.f64 y #s(literal 1/500 binary64))
(+ x (* 1/500 y))
(fma.f64 y #s(literal 1/500 binary64) x)
(+ x (* 1/500 y))
(fma.f64 y #s(literal 1/500 binary64) x)
(+ x (* 1/500 y))
(fma.f64 y #s(literal 1/500 binary64) x)
x
(* x (+ 1 (* 1/500 (/ y x))))
(fma.f64 y #s(literal 1/500 binary64) x)
(* x (+ 1 (* 1/500 (/ y x))))
(fma.f64 y #s(literal 1/500 binary64) x)
(* x (+ 1 (* 1/500 (/ y x))))
(fma.f64 y #s(literal 1/500 binary64) x)
x
(* -1 (* x (- (* -1/500 (/ y x)) 1)))
(fma.f64 y #s(literal 1/500 binary64) x)
(* -1 (* x (- (* -1/500 (/ y x)) 1)))
(fma.f64 y #s(literal 1/500 binary64) x)
(* -1 (* x (- (* -1/500 (/ y x)) 1)))
(fma.f64 y #s(literal 1/500 binary64) x)

rewrite92.0ms (5.1%)

Memory
31.2MiB live, 31.2MiB allocated
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0712
0812
13212
223612
3370712
0829611
Stop Event
iter limit
node limit
iter limit
Counts
2 → 41
Calls
Call 1
Inputs
#s(approx (+ x (/ y 500)) (/.f64 y #s(literal 500 binary64)))
(/.f64 y #s(literal 500 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>

eval8.0ms (0.4%)

Memory
6.1MiB live, 6.1MiB allocated
Compiler

Compiled 452 to 133 computations (70.6% saved)

prune5.0ms (0.3%)

Memory
6.0MiB live, 6.0MiB allocated
Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New74074
Fresh000
Picked011
Done022
Total74377
Accuracy
100.0%
Counts
77 → 3
Alt Table
Click to see full alt table
StatusAccuracyProgram
99.9%
(fma.f64 y #s(literal 1/500 binary64) x)
51.6%
#s(approx (+ x (/ y 500)) (/.f64 y #s(literal 500 binary64)))
51.6%
#s(approx (+ x (/ y 500)) (*.f64 y #s(literal 1/500 binary64)))
Compiler

Compiled 29 to 24 computations (17.2% saved)

regimes8.0ms (0.5%)

Memory
6.9MiB live, 6.9MiB allocated
Counts
4 → 1
Calls
Call 1
Inputs
#s(approx (+ x (/ y 500)) (*.f64 y #s(literal 1/500 binary64)))
(fma.f64 y #s(literal 1/500 binary64) x)
#s(approx (+ x (/ y 500)) (/.f64 y #s(literal 500 binary64)))
(+.f64 x (/.f64 y #s(literal 500 binary64)))
Outputs
(+.f64 x (/.f64 y #s(literal 500 binary64)))
Calls

4 calls:

2.0ms
(/.f64 y #s(literal 500 binary64))
2.0ms
(+.f64 x (/.f64 y #s(literal 500 binary64)))
2.0ms
y
2.0ms
x
Results
AccuracySegmentsBranch
100.0%1x
100.0%1y
100.0%1(+.f64 x (/.f64 y #s(literal 500 binary64)))
100.0%1(/.f64 y #s(literal 500 binary64))
Compiler

Compiled 10 to 13 computations (-30% saved)

regimes7.0ms (0.4%)

Memory
6.6MiB live, 6.6MiB allocated
Counts
3 → 1
Calls
Call 1
Inputs
#s(approx (+ x (/ y 500)) (*.f64 y #s(literal 1/500 binary64)))
(fma.f64 y #s(literal 1/500 binary64) x)
#s(approx (+ x (/ y 500)) (/.f64 y #s(literal 500 binary64)))
Outputs
(fma.f64 y #s(literal 1/500 binary64) x)
Calls

4 calls:

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

Compiled 10 to 13 computations (-30% saved)

regimes5.0ms (0.3%)

Memory
6.0MiB live, 6.0MiB allocated
Accuracy

Total -0.0b remaining (-0%)

Threshold costs -0b (-0%)

Counts
1 → 1
Calls
Call 1
Inputs
#s(approx (+ x (/ y 500)) (*.f64 y #s(literal 1/500 binary64)))
Outputs
#s(approx (+ x (/ y 500)) (*.f64 y #s(literal 1/500 binary64)))
Calls

4 calls:

1.0ms
(+.f64 x (/.f64 y #s(literal 500 binary64)))
1.0ms
(/.f64 y #s(literal 500 binary64))
1.0ms
y
1.0ms
x
Results
AccuracySegmentsBranch
51.6%1x
51.6%1y
51.6%1(+.f64 x (/.f64 y #s(literal 500 binary64)))
51.6%1(/.f64 y #s(literal 500 binary64))
Compiler

Compiled 10 to 13 computations (-30% saved)

simplify21.0ms (1.2%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
01118
11318
Stop Event
saturated
Calls
Call 1
Inputs
(+.f64 x (/.f64 y #s(literal 500 binary64)))
(fma.f64 y #s(literal 1/500 binary64) x)
#s(approx (+ x (/ y 500)) (*.f64 y #s(literal 1/500 binary64)))
Outputs
(+.f64 x (/.f64 y #s(literal 500 binary64)))
(+.f64 (/.f64 y #s(literal 500 binary64)) x)
(fma.f64 y #s(literal 1/500 binary64) x)
#s(approx (+ x (/ y 500)) (*.f64 y #s(literal 1/500 binary64)))
#s(approx (+ x (/ y 500)) (*.f64 #s(literal 1/500 binary64) y))

soundness369.0ms (20.4%)

Memory
1.8MiB live, 1.8MiB allocated
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
023138
164138
2141138
3395138
41104138
52534138
63433138
74306138
84782138
94957138
105047138
115745138
126061138
136065138
146065138
156065138
08138120
058
078
1318
22358
337068
082957
Stop Event
done
iter limit
node limit
iter limit
iter limit
node limit
Compiler

Compiled 25 to 20 computations (20% saved)

preprocess35.0ms (1.9%)

Memory
25.7MiB live, 25.7MiB allocated
Compiler

Compiled 36 to 28 computations (22.2% saved)

end0.0ms (0%)

Memory
0.0MiB live, 0.0MiB allocated

Profiling

Loading profile data...