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

Time bar (total: 2.8s)

start0.0ms (0%)

Memory
0.0MiB live, 0.0MiB allocated

analyze0.0ms (0%)

Memory
0.4MiB live, 0.4MiB allocated
Algorithm
search
Search
ProbabilityValidUnknownPreconditionInfiniteDomainCan'tIter
0%0%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)

sample703.0ms (24.9%)

Memory
-13.6MiB live, 909.7MiB allocated
Samples
499.0ms8 256×0valid
Precisions
Click to see histograms. Total time spent on operations: 176.0ms
ival-add: 84.0ms (47.7% of total)
ival-div: 79.0ms (44.9% of total)
ival-true: 6.0ms (3.4% of total)
exact: 4.0ms (2.3% of total)
ival-assert: 3.0ms (1.7% of total)
Bogosity

explain75.0ms (2.7%)

Memory
-8.4MiB live, 55.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
47.0ms512×0valid
Compiler

Compiled 42 to 24 computations (42.9% saved)

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

preprocess31.0ms (1.1%)

Memory
-23.2MiB live, 15.4MiB 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 (/.f64 y #s(literal 500 binary64)) x)
Compiler

Compiled 5 to 5 computations (0% saved)

eval0.0ms (0%)

Memory
0.5MiB live, 0.5MiB allocated
Compiler

Compiled 0 to 2 computations (-∞% saved)

prune0.0ms (0%)

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

simplify3.0ms (0.1%)

Memory
3.0MiB live, 3.0MiB 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 (/.f64 y #s(literal 500 binary64)) x)
x
(/.f64 y #s(literal 500 binary64))
y
#s(literal 500 binary64)

localize14.0ms (0.5%)

Memory
19.7MiB live, 19.7MiB 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
10.0ms256×0valid
Compiler

Compiled 24 to 12 computations (50% saved)

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

series4.0ms (0.1%)

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

6 calls:

TimeVariablePointExpression
1.0ms
y
@inf
((+ x (/ y 500)) (/ y 500))
1.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))

simplify167.0ms (5.9%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
023138
164138
2141138
3395138
41104138
52534138
63434138
74307138
84783138
94958138
105048138
115746138
126062138
136066138
146066138
156066138
08140120
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
(fma.f64 #s(literal 1/500 binary64) y x)
(fma.f64 #s(literal 1/500 binary64) y x)
(fma.f64 #s(literal 1/500 binary64) y x)
(*.f64 #s(literal 1/500 binary64) y)
(*.f64 #s(literal 1/500 binary64) y)
(*.f64 #s(literal 1/500 binary64) y)
(*.f64 #s(literal 1/500 binary64) y)
(*.f64 #s(literal 1/500 binary64) y)
(fma.f64 #s(literal 1/500 binary64) y x)
(fma.f64 #s(literal 1/500 binary64) y x)
(fma.f64 #s(literal 1/500 binary64) y x)
(*.f64 #s(literal 1/500 binary64) y)
(*.f64 #s(literal 1/500 binary64) y)
(*.f64 #s(literal 1/500 binary64) y)
(*.f64 #s(literal 1/500 binary64) y)
(*.f64 #s(literal 1/500 binary64) y)
(fma.f64 #s(literal 1/500 binary64) y x)
(fma.f64 #s(literal 1/500 binary64) y x)
(fma.f64 #s(literal 1/500 binary64) y x)
(*.f64 #s(literal 1/500 binary64) y)
(*.f64 #s(literal 1/500 binary64) y)
(*.f64 #s(literal 1/500 binary64) y)
(*.f64 #s(literal 1/500 binary64) y)
(*.f64 #s(literal 1/500 binary64) y)
(fma.f64 #s(literal 1/500 binary64) y x)
(fma.f64 #s(literal 1/500 binary64) y x)
(fma.f64 #s(literal 1/500 binary64) y x)
x
(fma.f64 #s(literal 1/500 binary64) y x)
(fma.f64 #s(literal 1/500 binary64) y x)
(fma.f64 #s(literal 1/500 binary64) y x)
x
(fma.f64 #s(literal 1/500 binary64) y x)
(fma.f64 #s(literal 1/500 binary64) y x)
(fma.f64 #s(literal 1/500 binary64) y x)

rewrite173.0ms (6.1%)

Memory
-22.6MiB live, 181.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>

eval21.0ms (0.8%)

Memory
13.2MiB live, 50.1MiB allocated
Compiler

Compiled 3 063 to 437 computations (85.7% saved)

prune4.0ms (0.1%)

Memory
17.6MiB live, 17.6MiB 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 #s(literal 1/500 binary64) y))
Compiler

Compiled 18 to 17 computations (5.6% saved)

simplify5.0ms (0.2%)

Memory
-30.6MiB live, 7.6MiB 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 #s(literal 1/500 binary64) y)
cost-diff0
#s(approx (+ x (/ y 500)) (*.f64 #s(literal 1/500 binary64) y))
Iterations

Useful iterations: 0 (0.0ms)

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

localize27.0ms (1%)

Memory
27.8MiB live, 64.2MiB allocated
Localize:

Found 3 expressions of interest:

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

Compiled 41 to 20 computations (51.2% saved)

Precisions
Click to see histograms. Total time spent on operations: 11.0ms
ival-mult: 3.0ms (26.2% of total)
const: 3.0ms (26.2% of total)
ival-div: 2.0ms (17.5% of total)
ival-add: 2.0ms (17.5% of total)
ival-true: 0.0ms (0% of total)
exact: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

series3.0ms (0.1%)

Memory
8.9MiB live, 8.9MiB allocated
Counts
3 → 60
Calls
Call 1
Inputs
#s(alt #<batchref> (patch #s(approx (+ x (/ y 500)) (*.f64 #s(literal 1/500 binary64) y)) #<representation binary64>) () ())
#s(alt #<batchref> (patch (*.f64 #s(literal 1/500 binary64) y) #<representation binary64>) () ())
#s(alt #<batchref> (patch (fma.f64 y #s(literal 1/500 binary64) x) #<representation binary64>) () ())
Outputs
#s(alt #<batchref> (taylor 0 y) (#s(alt #<batchref> (patch #s(approx (+ x (/ y 500)) (*.f64 #s(literal 1/500 binary64) y)) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor 0 y) (#s(alt #<batchref> (patch #s(approx (+ x (/ y 500)) (*.f64 #s(literal 1/500 binary64) y)) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor 0 y) (#s(alt #<batchref> (patch #s(approx (+ x (/ y 500)) (*.f64 #s(literal 1/500 binary64) y)) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor 0 y) (#s(alt #<batchref> (patch #s(approx (+ x (/ y 500)) (*.f64 #s(literal 1/500 binary64) y)) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor 0 y) (#s(alt #<batchref> (patch (*.f64 #s(literal 1/500 binary64) y) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor 0 y) (#s(alt #<batchref> (patch (*.f64 #s(literal 1/500 binary64) y) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor 0 y) (#s(alt #<batchref> (patch (*.f64 #s(literal 1/500 binary64) y) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor 0 y) (#s(alt #<batchref> (patch (*.f64 #s(literal 1/500 binary64) y) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor 0 y) (#s(alt #<batchref> (patch (fma.f64 y #s(literal 1/500 binary64) x) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor 0 y) (#s(alt #<batchref> (patch (fma.f64 y #s(literal 1/500 binary64) x) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor 0 y) (#s(alt #<batchref> (patch (fma.f64 y #s(literal 1/500 binary64) x) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor 0 y) (#s(alt #<batchref> (patch (fma.f64 y #s(literal 1/500 binary64) x) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor inf y) (#s(alt #<batchref> (patch #s(approx (+ x (/ y 500)) (*.f64 #s(literal 1/500 binary64) y)) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor inf y) (#s(alt #<batchref> (patch #s(approx (+ x (/ y 500)) (*.f64 #s(literal 1/500 binary64) y)) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor inf y) (#s(alt #<batchref> (patch #s(approx (+ x (/ y 500)) (*.f64 #s(literal 1/500 binary64) y)) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor inf y) (#s(alt #<batchref> (patch #s(approx (+ x (/ y 500)) (*.f64 #s(literal 1/500 binary64) y)) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor inf y) (#s(alt #<batchref> (patch (*.f64 #s(literal 1/500 binary64) y) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor inf y) (#s(alt #<batchref> (patch (*.f64 #s(literal 1/500 binary64) y) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor inf y) (#s(alt #<batchref> (patch (*.f64 #s(literal 1/500 binary64) y) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor inf y) (#s(alt #<batchref> (patch (*.f64 #s(literal 1/500 binary64) y) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor inf y) (#s(alt #<batchref> (patch (fma.f64 y #s(literal 1/500 binary64) x) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor inf y) (#s(alt #<batchref> (patch (fma.f64 y #s(literal 1/500 binary64) x) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor inf y) (#s(alt #<batchref> (patch (fma.f64 y #s(literal 1/500 binary64) x) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor inf y) (#s(alt #<batchref> (patch (fma.f64 y #s(literal 1/500 binary64) x) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor -inf y) (#s(alt #<batchref> (patch #s(approx (+ x (/ y 500)) (*.f64 #s(literal 1/500 binary64) y)) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor -inf y) (#s(alt #<batchref> (patch #s(approx (+ x (/ y 500)) (*.f64 #s(literal 1/500 binary64) y)) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor -inf y) (#s(alt #<batchref> (patch #s(approx (+ x (/ y 500)) (*.f64 #s(literal 1/500 binary64) y)) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor -inf y) (#s(alt #<batchref> (patch #s(approx (+ x (/ y 500)) (*.f64 #s(literal 1/500 binary64) y)) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor -inf y) (#s(alt #<batchref> (patch (*.f64 #s(literal 1/500 binary64) y) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor -inf y) (#s(alt #<batchref> (patch (*.f64 #s(literal 1/500 binary64) y) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor -inf y) (#s(alt #<batchref> (patch (*.f64 #s(literal 1/500 binary64) y) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor -inf y) (#s(alt #<batchref> (patch (*.f64 #s(literal 1/500 binary64) y) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor -inf y) (#s(alt #<batchref> (patch (fma.f64 y #s(literal 1/500 binary64) x) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor -inf y) (#s(alt #<batchref> (patch (fma.f64 y #s(literal 1/500 binary64) x) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor -inf y) (#s(alt #<batchref> (patch (fma.f64 y #s(literal 1/500 binary64) x) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor -inf y) (#s(alt #<batchref> (patch (fma.f64 y #s(literal 1/500 binary64) x) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor 0 x) (#s(alt #<batchref> (patch #s(approx (+ x (/ y 500)) (*.f64 #s(literal 1/500 binary64) y)) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor 0 x) (#s(alt #<batchref> (patch #s(approx (+ x (/ y 500)) (*.f64 #s(literal 1/500 binary64) y)) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor 0 x) (#s(alt #<batchref> (patch #s(approx (+ x (/ y 500)) (*.f64 #s(literal 1/500 binary64) y)) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor 0 x) (#s(alt #<batchref> (patch #s(approx (+ x (/ y 500)) (*.f64 #s(literal 1/500 binary64) y)) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor 0 x) (#s(alt #<batchref> (patch (fma.f64 y #s(literal 1/500 binary64) x) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor 0 x) (#s(alt #<batchref> (patch (fma.f64 y #s(literal 1/500 binary64) x) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor 0 x) (#s(alt #<batchref> (patch (fma.f64 y #s(literal 1/500 binary64) x) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor 0 x) (#s(alt #<batchref> (patch (fma.f64 y #s(literal 1/500 binary64) x) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor inf x) (#s(alt #<batchref> (patch #s(approx (+ x (/ y 500)) (*.f64 #s(literal 1/500 binary64) y)) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor inf x) (#s(alt #<batchref> (patch #s(approx (+ x (/ y 500)) (*.f64 #s(literal 1/500 binary64) y)) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor inf x) (#s(alt #<batchref> (patch #s(approx (+ x (/ y 500)) (*.f64 #s(literal 1/500 binary64) y)) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor inf x) (#s(alt #<batchref> (patch #s(approx (+ x (/ y 500)) (*.f64 #s(literal 1/500 binary64) y)) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor inf x) (#s(alt #<batchref> (patch (fma.f64 y #s(literal 1/500 binary64) x) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor inf x) (#s(alt #<batchref> (patch (fma.f64 y #s(literal 1/500 binary64) x) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor inf x) (#s(alt #<batchref> (patch (fma.f64 y #s(literal 1/500 binary64) x) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor inf x) (#s(alt #<batchref> (patch (fma.f64 y #s(literal 1/500 binary64) x) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor -inf x) (#s(alt #<batchref> (patch #s(approx (+ x (/ y 500)) (*.f64 #s(literal 1/500 binary64) y)) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor -inf x) (#s(alt #<batchref> (patch #s(approx (+ x (/ y 500)) (*.f64 #s(literal 1/500 binary64) y)) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor -inf x) (#s(alt #<batchref> (patch #s(approx (+ x (/ y 500)) (*.f64 #s(literal 1/500 binary64) y)) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor -inf x) (#s(alt #<batchref> (patch #s(approx (+ x (/ y 500)) (*.f64 #s(literal 1/500 binary64) y)) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor -inf x) (#s(alt #<batchref> (patch (fma.f64 y #s(literal 1/500 binary64) x) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor -inf x) (#s(alt #<batchref> (patch (fma.f64 y #s(literal 1/500 binary64) x) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor -inf x) (#s(alt #<batchref> (patch (fma.f64 y #s(literal 1/500 binary64) x) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor -inf x) (#s(alt #<batchref> (patch (fma.f64 y #s(literal 1/500 binary64) x) #<representation binary64>) () ())) ())
Calls

6 calls:

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

simplify175.0ms (6.2%)

Memory
-23.2MiB live, 128.0MiB allocated
Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
023240
164240
2141240
3395240
41104240
52534240
63434240
74307240
84783240
94958240
105048240
115746240
126062240
136066240
146066240
156066240
08140204
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
(fma.f64 #s(literal 1/500 binary64) y x)
(fma.f64 #s(literal 1/500 binary64) y x)
(fma.f64 #s(literal 1/500 binary64) y x)
(*.f64 #s(literal 1/500 binary64) y)
(*.f64 #s(literal 1/500 binary64) y)
(*.f64 #s(literal 1/500 binary64) y)
(*.f64 #s(literal 1/500 binary64) y)
x
(fma.f64 #s(literal 1/500 binary64) y x)
(fma.f64 #s(literal 1/500 binary64) y x)
(fma.f64 #s(literal 1/500 binary64) y x)
(*.f64 #s(literal 1/500 binary64) y)
(fma.f64 #s(literal 1/500 binary64) y x)
(fma.f64 #s(literal 1/500 binary64) y x)
(fma.f64 #s(literal 1/500 binary64) y x)
(*.f64 #s(literal 1/500 binary64) y)
(*.f64 #s(literal 1/500 binary64) y)
(*.f64 #s(literal 1/500 binary64) y)
(*.f64 #s(literal 1/500 binary64) y)
(*.f64 #s(literal 1/500 binary64) y)
(fma.f64 #s(literal 1/500 binary64) y x)
(fma.f64 #s(literal 1/500 binary64) y x)
(fma.f64 #s(literal 1/500 binary64) y x)
(*.f64 #s(literal 1/500 binary64) y)
(fma.f64 #s(literal 1/500 binary64) y x)
(fma.f64 #s(literal 1/500 binary64) y x)
(fma.f64 #s(literal 1/500 binary64) y x)
(*.f64 #s(literal 1/500 binary64) y)
(*.f64 #s(literal 1/500 binary64) y)
(*.f64 #s(literal 1/500 binary64) y)
(*.f64 #s(literal 1/500 binary64) y)
(*.f64 #s(literal 1/500 binary64) y)
(fma.f64 #s(literal 1/500 binary64) y x)
(fma.f64 #s(literal 1/500 binary64) y x)
(fma.f64 #s(literal 1/500 binary64) y x)
(*.f64 #s(literal 1/500 binary64) y)
(fma.f64 #s(literal 1/500 binary64) y x)
(fma.f64 #s(literal 1/500 binary64) y x)
(fma.f64 #s(literal 1/500 binary64) y x)
(*.f64 #s(literal 1/500 binary64) y)
(fma.f64 #s(literal 1/500 binary64) y x)
(fma.f64 #s(literal 1/500 binary64) y x)
(fma.f64 #s(literal 1/500 binary64) y x)
x
(fma.f64 #s(literal 1/500 binary64) y x)
(fma.f64 #s(literal 1/500 binary64) y x)
(fma.f64 #s(literal 1/500 binary64) y x)
x
(fma.f64 #s(literal 1/500 binary64) y x)
(fma.f64 #s(literal 1/500 binary64) y x)
(fma.f64 #s(literal 1/500 binary64) y x)
x
(fma.f64 #s(literal 1/500 binary64) y x)
(fma.f64 #s(literal 1/500 binary64) y x)
(fma.f64 #s(literal 1/500 binary64) y x)
x
(fma.f64 #s(literal 1/500 binary64) y x)
(fma.f64 #s(literal 1/500 binary64) y x)
(fma.f64 #s(literal 1/500 binary64) y x)

rewrite274.0ms (9.7%)

Memory
27.8MiB live, 233.5MiB allocated
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0916
01215
14815
234215
3603715
0831115
Stop Event
iter limit
node limit
iter limit
Counts
3 → 153
Calls
Call 1
Inputs
#s(approx (+ x (/ y 500)) (*.f64 #s(literal 1/500 binary64) y))
(*.f64 #s(literal 1/500 binary64) y)
(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>

eval30.0ms (1.1%)

Memory
-9.6MiB live, 59.0MiB allocated
Compiler

Compiled 3 790 to 440 computations (88.4% saved)

prune7.0ms (0.2%)

Memory
23.2MiB live, 23.1MiB 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 #s(literal 1/500 binary64) y))
Compiler

Compiled 22 to 20 computations (9.1% saved)

simplify6.0ms (0.2%)

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

localize21.0ms (0.7%)

Memory
1.2MiB live, 48.9MiB 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
17.0ms256×0valid
Compiler

Compiled 26 to 15 computations (42.3% saved)

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

simplify167.0ms (5.9%)

Memory
-11.3MiB live, 104.0MiB allocated
Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
023138
164138
2141138
3395138
41104138
52534138
63434138
74307138
84783138
94958138
105048138
115746138
126062138
136066138
146066138
156066138
08140120
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
(fma.f64 #s(literal 1/500 binary64) y x)
(fma.f64 #s(literal 1/500 binary64) y x)
(fma.f64 #s(literal 1/500 binary64) y x)
(*.f64 #s(literal 1/500 binary64) y)
(*.f64 #s(literal 1/500 binary64) y)
(*.f64 #s(literal 1/500 binary64) y)
(*.f64 #s(literal 1/500 binary64) y)
(*.f64 #s(literal 1/500 binary64) y)
(fma.f64 #s(literal 1/500 binary64) y x)
(fma.f64 #s(literal 1/500 binary64) y x)
(fma.f64 #s(literal 1/500 binary64) y x)
(*.f64 #s(literal 1/500 binary64) y)
(*.f64 #s(literal 1/500 binary64) y)
(*.f64 #s(literal 1/500 binary64) y)
(*.f64 #s(literal 1/500 binary64) y)
(*.f64 #s(literal 1/500 binary64) y)
(fma.f64 #s(literal 1/500 binary64) y x)
(fma.f64 #s(literal 1/500 binary64) y x)
(fma.f64 #s(literal 1/500 binary64) y x)
(*.f64 #s(literal 1/500 binary64) y)
(*.f64 #s(literal 1/500 binary64) y)
(*.f64 #s(literal 1/500 binary64) y)
(*.f64 #s(literal 1/500 binary64) y)
(*.f64 #s(literal 1/500 binary64) y)
(fma.f64 #s(literal 1/500 binary64) y x)
(fma.f64 #s(literal 1/500 binary64) y x)
(fma.f64 #s(literal 1/500 binary64) y x)
x
(fma.f64 #s(literal 1/500 binary64) y x)
(fma.f64 #s(literal 1/500 binary64) y x)
(fma.f64 #s(literal 1/500 binary64) y x)
x
(fma.f64 #s(literal 1/500 binary64) y x)
(fma.f64 #s(literal 1/500 binary64) y x)
(fma.f64 #s(literal 1/500 binary64) y x)

rewrite234.0ms (8.3%)

Memory
1.8MiB live, 116.7MiB 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>

eval7.0ms (0.3%)

Memory
14.8MiB live, 14.8MiB allocated
Compiler

Compiled 858 to 136 computations (84.1% saved)

prune5.0ms (0.2%)

Memory
12.1MiB live, 12.1MiB 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 #s(literal 1/500 binary64) y))
Compiler

Compiled 49 to 33 computations (32.7% saved)

regimes19.0ms (0.7%)

Memory
-18.4MiB live, 19.0MiB allocated
Counts
4 → 1
Calls
Call 1
Inputs
#s(approx (+ x (/ y 500)) (*.f64 #s(literal 1/500 binary64) y))
(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:

12.0ms
y
2.0ms
(/.f64 y #s(literal 500 binary64))
2.0ms
(+.f64 x (/.f64 y #s(literal 500 binary64)))
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)

regimes8.0ms (0.3%)

Memory
17.4MiB live, 17.4MiB allocated
Counts
3 → 1
Calls
Call 1
Inputs
#s(approx (+ x (/ y 500)) (*.f64 #s(literal 1/500 binary64) y))
(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
x
2.0ms
y
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)

regimes25.0ms (0.9%)

Memory
-39.2MiB live, 25.8MiB allocated
Accuracy

Total -0.0b remaining (-0%)

Threshold costs -0b (-0%)

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

4 calls:

21.0ms
x
1.0ms
(/.f64 y #s(literal 500 binary64))
1.0ms
(+.f64 x (/.f64 y #s(literal 500 binary64)))
1.0ms
y
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)

simplify55.0ms (1.9%)

Memory
-0.6MiB live, 38.2MiB 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 #s(literal 1/500 binary64) y))
Outputs
(+.f64 (/.f64 y #s(literal 500 binary64)) x)
(fma.f64 y #s(literal 1/500 binary64) x)
#s(approx (+ x (/ y 500)) (*.f64 #s(literal 1/500 binary64) y))

soundness445.0ms (15.8%)

Memory
-4.6MiB live, 193.2MiB allocated
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
023138
164138
2141138
3395138
41104138
52534138
63434138
74307138
84783138
94958138
105048138
115746138
126062138
136066138
146066138
156066138
08140120
058
078
1318
22358
337068
082957
Stop Event
done
iter limit
node limit
iter limit
iter limit
node limit
Compiler

Compiled 30 to 23 computations (23.3% saved)

preprocess108.0ms (3.8%)

Memory
24.9MiB live, 63.1MiB allocated
Compiler

Compiled 46 to 34 computations (26.1% saved)

end0.0ms (0%)

Memory
0.0MiB live, 0.0MiB allocated

Profiling

Loading profile data...