Data.Colour.RGB:hslsv from colour-2.3.3, E

Time bar (total: 3.0s)

start0.0ms (0%)

Memory
0.1MiB live, 0.1MiB allocated

analyze49.0ms (1.6%)

Memory
-28.8MiB live, 13.2MiB allocated
Algorithm
search
Search
ProbabilityValidUnknownPreconditionInfiniteDomainCan'tIter
0%0%99.9%0.1%0%0%0%0
0%0%99.9%0.1%0%0%0%1
50%50%50%0.1%0%0%0%2
50%50%50%0.1%0%0%0%3
75%74.9%25%0.1%0%0%0%4
75%74.9%25%0.1%0%0%0%5
87.5%87.4%12.5%0.1%0%0%0%6
87.5%87.4%12.5%0.1%0%0%0%7
93.8%93.7%6.2%0.1%0%0%0%8
93.8%93.7%6.2%0.1%0%0%0%9
96.9%96.8%3.1%0.1%0%0%0%10
96.9%96.8%3.1%0.1%0%0%0%11
98.4%98.3%1.6%0.1%0%0%0%12
Compiler

Compiled 7 to 6 computations (14.3% saved)

sample1.2s (41.1%)

Memory
12.9MiB live, 675.7MiB allocated
Samples
814.0ms8 256×0valid
Precisions
Click to see histograms. Total time spent on operations: 397.0ms
ival-sub: 317.0ms (79.7% of total)
ival-div: 70.0ms (17.6% of total)
ival-true: 6.0ms (1.5% of total)
ival-assert: 4.0ms (1% of total)
Bogosity

explain77.0ms (2.6%)

Memory
2.6MiB live, 40.7MiB allocated
FPErrors
Click to see full error table
Ground TruthOverpredictionsExampleUnderpredictionsExampleSubexpression
00-0-y
00-0-(-.f64 x y)
00-0-(/.f64 (-.f64 x y) x)
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
56.0ms512×0valid
Compiler

Compiled 39 to 20 computations (48.7% saved)

Precisions
Click to see histograms. Total time spent on operations: 7.0ms
ival-div: 4.0ms (54.1% of total)
ival-sub: 3.0ms (40.6% of total)
ival-true: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

preprocess47.0ms (1.6%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
01235
14427
212925
334725
482525
5116225
6120025
7122825
8128325
9130325
045
065
1115
2195
3325
4555
5885
61295
72585
85475
96105
106285
116525
126535
06535
Stop Event
iter limit
saturated
iter limit
saturated
Calls
Call 1
Inputs
(/.f64 (-.f64 x y) x)
Outputs
(/.f64 (-.f64 x y) x)
Compiler

Compiled 5 to 4 computations (20% saved)

eval0.0ms (0%)

Memory
0.2MiB live, 0.2MiB allocated
Compiler

Compiled 0 to 2 computations (-∞% saved)

prune0.0ms (0%)

Memory
0.6MiB live, 0.6MiB allocated
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(/.f64 (-.f64 x y) x)
Compiler

Compiled 5 to 4 computations (20% saved)

simplify133.0ms (4.5%)

Memory
-26.6MiB live, 9.9MiB allocated
Algorithm
egg-herbie
Localize:

Found 2 expressions of interest:

NewMetricScoreProgram
cost-diff0
(-.f64 x y)
cost-diff0
(/.f64 (-.f64 x y) x)
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0410
0610
11110
21910
33210
45510
58810
612910
725810
854710
961010
1062810
1165210
1265310
065310
Stop Event
iter limit
saturated
iter limit
Calls
Call 1
Inputs
(/.f64 (-.f64 x y) x)
(-.f64 x y)
x
y
Outputs
(/.f64 (-.f64 x y) x)
(-.f64 x y)
x
y

localize13.0ms (0.4%)

Memory
19.2MiB live, 19.2MiB allocated
Localize:

Found 2 expressions of interest:

NewMetricScoreProgram
accuracy0
(/.f64 (-.f64 x y) x)
accuracy0
(-.f64 x y)
Samples
9.0ms256×0valid
Compiler

Compiled 22 to 10 computations (54.5% saved)

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

series3.0ms (0.1%)

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

6 calls:

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

simplify165.0ms (5.6%)

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

Useful iterations: 1 (0.0ms)

IterNodesCost
029186
178168
2219168
3570168
41458168
52857168
63896168
74683168
85005168
95246168
107496168
117990168
08114168
Stop Event
iter limit
node limit
Counts
48 → 45
Calls
Call 1
Inputs
1
(+ 1 (* -1 (/ y x)))
(+ 1 (* -1 (/ y x)))
(+ 1 (* -1 (/ y x)))
x
(+ x (* -1 y))
(+ x (* -1 y))
(+ x (* -1 y))
(* -1 (/ y x))
(* y (- (/ 1 y) (/ 1 x)))
(* y (- (/ 1 y) (/ 1 x)))
(* y (- (/ 1 y) (/ 1 x)))
(* -1 y)
(* y (- (/ x y) 1))
(* y (- (/ x y) 1))
(* y (- (/ x y) 1))
(* -1 (/ y x))
(* -1 (* y (- (/ 1 x) (/ 1 y))))
(* -1 (* y (- (/ 1 x) (/ 1 y))))
(* -1 (* y (- (/ 1 x) (/ 1 y))))
(* -1 y)
(* -1 (* y (+ 1 (* -1 (/ x y)))))
(* -1 (* y (+ 1 (* -1 (/ x y)))))
(* -1 (* y (+ 1 (* -1 (/ x y)))))
(* -1 (/ y x))
(/ (+ x (* -1 y)) x)
(/ (+ x (* -1 y)) x)
(/ (+ x (* -1 y)) x)
(* -1 y)
(- x y)
(- x y)
(- x y)
1
(+ 1 (* -1 (/ y x)))
(+ 1 (* -1 (/ y x)))
(+ 1 (* -1 (/ y x)))
x
(* x (+ 1 (* -1 (/ y x))))
(* x (+ 1 (* -1 (/ y x))))
(* x (+ 1 (* -1 (/ y x))))
1
(+ 1 (* -1 (/ y x)))
(+ 1 (* -1 (/ y x)))
(+ 1 (* -1 (/ y x)))
x
(* -1 (* x (- (/ y x) 1)))
(* -1 (* x (- (/ y x) 1)))
(* -1 (* x (- (/ y x) 1)))
Outputs
1
#s(literal 1 binary64)
(+ 1 (* -1 (/ y x)))
(/.f64 (-.f64 x y) x)
(+ 1 (* -1 (/ y x)))
(/.f64 (-.f64 x y) x)
(+ 1 (* -1 (/ y x)))
(/.f64 (-.f64 x y) x)
x
(+ x (* -1 y))
(-.f64 x y)
(+ x (* -1 y))
(-.f64 x y)
(+ x (* -1 y))
(-.f64 x y)
(* -1 (/ y x))
(/.f64 (neg.f64 y) x)
(* y (- (/ 1 y) (/ 1 x)))
(/.f64 (-.f64 x y) x)
(* y (- (/ 1 y) (/ 1 x)))
(/.f64 (-.f64 x y) x)
(* y (- (/ 1 y) (/ 1 x)))
(/.f64 (-.f64 x y) x)
(* -1 y)
(neg.f64 y)
(* y (- (/ x y) 1))
(-.f64 x y)
(* y (- (/ x y) 1))
(-.f64 x y)
(* y (- (/ x y) 1))
(-.f64 x y)
(* -1 (/ y x))
(/.f64 (neg.f64 y) x)
(* -1 (* y (- (/ 1 x) (/ 1 y))))
(/.f64 (-.f64 x y) x)
(* -1 (* y (- (/ 1 x) (/ 1 y))))
(/.f64 (-.f64 x y) x)
(* -1 (* y (- (/ 1 x) (/ 1 y))))
(/.f64 (-.f64 x y) x)
(* -1 y)
(neg.f64 y)
(* -1 (* y (+ 1 (* -1 (/ x y)))))
(-.f64 x y)
(* -1 (* y (+ 1 (* -1 (/ x y)))))
(-.f64 x y)
(* -1 (* y (+ 1 (* -1 (/ x y)))))
(-.f64 x y)
(* -1 (/ y x))
(/.f64 (neg.f64 y) x)
(/ (+ x (* -1 y)) x)
(/.f64 (-.f64 x y) x)
(/ (+ x (* -1 y)) x)
(/.f64 (-.f64 x y) x)
(/ (+ x (* -1 y)) x)
(/.f64 (-.f64 x y) x)
(* -1 y)
(neg.f64 y)
(- x y)
(-.f64 x y)
(- x y)
(-.f64 x y)
(- x y)
(-.f64 x y)
1
#s(literal 1 binary64)
(+ 1 (* -1 (/ y x)))
(/.f64 (-.f64 x y) x)
(+ 1 (* -1 (/ y x)))
(/.f64 (-.f64 x y) x)
(+ 1 (* -1 (/ y x)))
(/.f64 (-.f64 x y) x)
x
(* x (+ 1 (* -1 (/ y x))))
(-.f64 x y)
(* x (+ 1 (* -1 (/ y x))))
(-.f64 x y)
(* x (+ 1 (* -1 (/ y x))))
(-.f64 x y)
1
#s(literal 1 binary64)
(+ 1 (* -1 (/ y x)))
(/.f64 (-.f64 x y) x)
(+ 1 (* -1 (/ y x)))
(/.f64 (-.f64 x y) x)
(+ 1 (* -1 (/ y x)))
(/.f64 (-.f64 x y) x)
x
(* -1 (* x (- (/ y x) 1)))
(-.f64 x y)
(* -1 (* x (- (/ y x) 1)))
(-.f64 x y)
(* -1 (* x (- (/ y x) 1)))
(-.f64 x y)

rewrite191.0ms (6.4%)

Memory
18.2MiB live, 209.9MiB allocated
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
048
068
1328
22368
323828
084148
Stop Event
iter limit
node limit
iter limit
Counts
2 → 431
Calls
Call 1
Inputs
(/.f64 (-.f64 x y) x)
(-.f64 x y)
Outputs
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>

eval71.0ms (2.4%)

Memory
-2.1MiB live, 129.4MiB allocated
Compiler

Compiled 10 355 to 1 296 computations (87.5% saved)

prune10.0ms (0.3%)

Memory
3.0MiB live, 39.6MiB allocated
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New4742476
Fresh000
Picked011
Done000
Total4743477
Accuracy
100.0%
Counts
477 → 3
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(/.f64 (-.f64 x y) x)
53.9%
(/.f64 #s(approx (- x y) (neg.f64 y)) x)
47.3%
#s(approx (/ (- x y) x) #s(literal 1 binary64))
Compiler

Compiled 12 to 13 computations (-8.3% saved)

simplify23.0ms (0.8%)

Memory
-37.9MiB live, 11.4MiB allocated
Algorithm
egg-herbie
Localize:

Found 4 expressions of interest:

NewMetricScoreProgram
cost-diff0
(neg.f64 y)
cost-diff0
#s(approx (- x y) (neg.f64 y))
cost-diff0
(/.f64 #s(approx (- x y) (neg.f64 y)) x)
cost-diff0
#s(approx (/ (- x y) x) #s(literal 1 binary64))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0926
01126
12026
22826
34326
46726
510426
614426
727626
855726
965526
1069726
1173026
1275526
1376426
076426
Stop Event
iter limit
saturated
iter limit
Calls
Call 1
Inputs
#s(approx (/ (- x y) x) #s(literal 1 binary64))
#s(literal 1 binary64)
(/.f64 #s(approx (- x y) (neg.f64 y)) x)
#s(approx (- x y) (neg.f64 y))
(neg.f64 y)
y
x
Outputs
#s(approx (/ (- x y) x) #s(literal 1 binary64))
#s(literal 1 binary64)
(/.f64 #s(approx (- x y) (neg.f64 y)) x)
#s(approx (- x y) (neg.f64 y))
(neg.f64 y)
y
x

localize18.0ms (0.6%)

Memory
-1.8MiB live, 37.2MiB allocated
Localize:

Found 4 expressions of interest:

NewMetricScoreProgram
accuracy0
(/.f64 #s(approx (- x y) (neg.f64 y)) x)
accuracy0
(neg.f64 y)
accuracy29.630945655020305
#s(approx (- x y) (neg.f64 y))
accuracy33.71918299964973
#s(approx (/ (- x y) x) #s(literal 1 binary64))
Samples
12.0ms256×0valid
Compiler

Compiled 35 to 15 computations (57.1% saved)

Precisions
Click to see histograms. Total time spent on operations: 5.0ms
ival-sub: 2.0ms (40.8% of total)
ival-div: 2.0ms (40.8% of total)
ival-neg: 1.0ms (20.4% 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
5.8MiB live, 5.8MiB allocated
Counts
4 → 84
Calls
Call 1
Inputs
#s(alt #s(approx (/ (- x y) x) #s(literal 1 binary64)) (patch #s(approx (/ (- x y) x) #s(literal 1 binary64)) #<representation binary64>) () ())
#s(alt (/.f64 #s(approx (- x y) (neg.f64 y)) x) (patch (/.f64 #s(approx (- x y) (neg.f64 y)) x) #<representation binary64>) () ())
#s(alt #s(approx (- x y) (neg.f64 y)) (patch #s(approx (- x y) (neg.f64 y)) #<representation binary64>) () ())
#s(alt (neg.f64 y) (patch (neg.f64 y) #<representation binary64>) () ())
Outputs
#s(alt 1 (taylor 0 y) (#s(alt #s(approx (/ (- x y) x) #s(literal 1 binary64)) (patch #s(approx (/ (- x y) x) #s(literal 1 binary64)) #<representation binary64>) () ())) ())
#s(alt (+ 1 (* -1 (/ y x))) (taylor 0 y) (#s(alt #s(approx (/ (- x y) x) #s(literal 1 binary64)) (patch #s(approx (/ (- x y) x) #s(literal 1 binary64)) #<representation binary64>) () ())) ())
#s(alt (+ 1 (* -1 (/ y x))) (taylor 0 y) (#s(alt #s(approx (/ (- x y) x) #s(literal 1 binary64)) (patch #s(approx (/ (- x y) x) #s(literal 1 binary64)) #<representation binary64>) () ())) ())
#s(alt (+ 1 (* -1 (/ y x))) (taylor 0 y) (#s(alt #s(approx (/ (- x y) x) #s(literal 1 binary64)) (patch #s(approx (/ (- x y) x) #s(literal 1 binary64)) #<representation binary64>) () ())) ())
#s(alt 1 (taylor 0 y) (#s(alt (/.f64 #s(approx (- x y) (neg.f64 y)) x) (patch (/.f64 #s(approx (- x y) (neg.f64 y)) x) #<representation binary64>) () ())) ())
#s(alt (+ 1 (* -1 (/ y x))) (taylor 0 y) (#s(alt (/.f64 #s(approx (- x y) (neg.f64 y)) x) (patch (/.f64 #s(approx (- x y) (neg.f64 y)) x) #<representation binary64>) () ())) ())
#s(alt (+ 1 (* -1 (/ y x))) (taylor 0 y) (#s(alt (/.f64 #s(approx (- x y) (neg.f64 y)) x) (patch (/.f64 #s(approx (- x y) (neg.f64 y)) x) #<representation binary64>) () ())) ())
#s(alt (+ 1 (* -1 (/ y x))) (taylor 0 y) (#s(alt (/.f64 #s(approx (- x y) (neg.f64 y)) x) (patch (/.f64 #s(approx (- x y) (neg.f64 y)) x) #<representation binary64>) () ())) ())
#s(alt x (taylor 0 y) (#s(alt #s(approx (- x y) (neg.f64 y)) (patch #s(approx (- x y) (neg.f64 y)) #<representation binary64>) () ())) ())
#s(alt (+ x (* -1 y)) (taylor 0 y) (#s(alt #s(approx (- x y) (neg.f64 y)) (patch #s(approx (- x y) (neg.f64 y)) #<representation binary64>) () ())) ())
#s(alt (+ x (* -1 y)) (taylor 0 y) (#s(alt #s(approx (- x y) (neg.f64 y)) (patch #s(approx (- x y) (neg.f64 y)) #<representation binary64>) () ())) ())
#s(alt (+ x (* -1 y)) (taylor 0 y) (#s(alt #s(approx (- x y) (neg.f64 y)) (patch #s(approx (- x y) (neg.f64 y)) #<representation binary64>) () ())) ())
#s(alt (* -1 y) (taylor 0 y) (#s(alt (neg.f64 y) (patch (neg.f64 y) #<representation binary64>) () ())) ())
#s(alt (* -1 y) (taylor 0 y) (#s(alt (neg.f64 y) (patch (neg.f64 y) #<representation binary64>) () ())) ())
#s(alt (* -1 y) (taylor 0 y) (#s(alt (neg.f64 y) (patch (neg.f64 y) #<representation binary64>) () ())) ())
#s(alt (* -1 y) (taylor 0 y) (#s(alt (neg.f64 y) (patch (neg.f64 y) #<representation binary64>) () ())) ())
#s(alt (* -1 (/ y x)) (taylor inf y) (#s(alt #s(approx (/ (- x y) x) #s(literal 1 binary64)) (patch #s(approx (/ (- x y) x) #s(literal 1 binary64)) #<representation binary64>) () ())) ())
#s(alt (* y (- (/ 1 y) (/ 1 x))) (taylor inf y) (#s(alt #s(approx (/ (- x y) x) #s(literal 1 binary64)) (patch #s(approx (/ (- x y) x) #s(literal 1 binary64)) #<representation binary64>) () ())) ())
#s(alt (* y (- (/ 1 y) (/ 1 x))) (taylor inf y) (#s(alt #s(approx (/ (- x y) x) #s(literal 1 binary64)) (patch #s(approx (/ (- x y) x) #s(literal 1 binary64)) #<representation binary64>) () ())) ())
#s(alt (* y (- (/ 1 y) (/ 1 x))) (taylor inf y) (#s(alt #s(approx (/ (- x y) x) #s(literal 1 binary64)) (patch #s(approx (/ (- x y) x) #s(literal 1 binary64)) #<representation binary64>) () ())) ())
#s(alt (* -1 (/ y x)) (taylor inf y) (#s(alt (/.f64 #s(approx (- x y) (neg.f64 y)) x) (patch (/.f64 #s(approx (- x y) (neg.f64 y)) x) #<representation binary64>) () ())) ())
#s(alt (* y (- (/ 1 y) (/ 1 x))) (taylor inf y) (#s(alt (/.f64 #s(approx (- x y) (neg.f64 y)) x) (patch (/.f64 #s(approx (- x y) (neg.f64 y)) x) #<representation binary64>) () ())) ())
#s(alt (* y (- (/ 1 y) (/ 1 x))) (taylor inf y) (#s(alt (/.f64 #s(approx (- x y) (neg.f64 y)) x) (patch (/.f64 #s(approx (- x y) (neg.f64 y)) x) #<representation binary64>) () ())) ())
#s(alt (* y (- (/ 1 y) (/ 1 x))) (taylor inf y) (#s(alt (/.f64 #s(approx (- x y) (neg.f64 y)) x) (patch (/.f64 #s(approx (- x y) (neg.f64 y)) x) #<representation binary64>) () ())) ())
#s(alt (* -1 y) (taylor inf y) (#s(alt #s(approx (- x y) (neg.f64 y)) (patch #s(approx (- x y) (neg.f64 y)) #<representation binary64>) () ())) ())
#s(alt (* y (- (/ x y) 1)) (taylor inf y) (#s(alt #s(approx (- x y) (neg.f64 y)) (patch #s(approx (- x y) (neg.f64 y)) #<representation binary64>) () ())) ())
#s(alt (* y (- (/ x y) 1)) (taylor inf y) (#s(alt #s(approx (- x y) (neg.f64 y)) (patch #s(approx (- x y) (neg.f64 y)) #<representation binary64>) () ())) ())
#s(alt (* y (- (/ x y) 1)) (taylor inf y) (#s(alt #s(approx (- x y) (neg.f64 y)) (patch #s(approx (- x y) (neg.f64 y)) #<representation binary64>) () ())) ())
#s(alt (* -1 y) (taylor inf y) (#s(alt (neg.f64 y) (patch (neg.f64 y) #<representation binary64>) () ())) ())
#s(alt (* -1 y) (taylor inf y) (#s(alt (neg.f64 y) (patch (neg.f64 y) #<representation binary64>) () ())) ())
#s(alt (* -1 y) (taylor inf y) (#s(alt (neg.f64 y) (patch (neg.f64 y) #<representation binary64>) () ())) ())
#s(alt (* -1 y) (taylor inf y) (#s(alt (neg.f64 y) (patch (neg.f64 y) #<representation binary64>) () ())) ())
#s(alt (* -1 (/ y x)) (taylor -inf y) (#s(alt #s(approx (/ (- x y) x) #s(literal 1 binary64)) (patch #s(approx (/ (- x y) x) #s(literal 1 binary64)) #<representation binary64>) () ())) ())
#s(alt (* -1 (* y (- (/ 1 x) (/ 1 y)))) (taylor -inf y) (#s(alt #s(approx (/ (- x y) x) #s(literal 1 binary64)) (patch #s(approx (/ (- x y) x) #s(literal 1 binary64)) #<representation binary64>) () ())) ())
#s(alt (* -1 (* y (- (/ 1 x) (/ 1 y)))) (taylor -inf y) (#s(alt #s(approx (/ (- x y) x) #s(literal 1 binary64)) (patch #s(approx (/ (- x y) x) #s(literal 1 binary64)) #<representation binary64>) () ())) ())
#s(alt (* -1 (* y (- (/ 1 x) (/ 1 y)))) (taylor -inf y) (#s(alt #s(approx (/ (- x y) x) #s(literal 1 binary64)) (patch #s(approx (/ (- x y) x) #s(literal 1 binary64)) #<representation binary64>) () ())) ())
#s(alt (* -1 (/ y x)) (taylor -inf y) (#s(alt (/.f64 #s(approx (- x y) (neg.f64 y)) x) (patch (/.f64 #s(approx (- x y) (neg.f64 y)) x) #<representation binary64>) () ())) ())
#s(alt (* -1 (* y (- (/ 1 x) (/ 1 y)))) (taylor -inf y) (#s(alt (/.f64 #s(approx (- x y) (neg.f64 y)) x) (patch (/.f64 #s(approx (- x y) (neg.f64 y)) x) #<representation binary64>) () ())) ())
#s(alt (* -1 (* y (- (/ 1 x) (/ 1 y)))) (taylor -inf y) (#s(alt (/.f64 #s(approx (- x y) (neg.f64 y)) x) (patch (/.f64 #s(approx (- x y) (neg.f64 y)) x) #<representation binary64>) () ())) ())
#s(alt (* -1 (* y (- (/ 1 x) (/ 1 y)))) (taylor -inf y) (#s(alt (/.f64 #s(approx (- x y) (neg.f64 y)) x) (patch (/.f64 #s(approx (- x y) (neg.f64 y)) x) #<representation binary64>) () ())) ())
#s(alt (* -1 y) (taylor -inf y) (#s(alt #s(approx (- x y) (neg.f64 y)) (patch #s(approx (- x y) (neg.f64 y)) #<representation binary64>) () ())) ())
#s(alt (* -1 (* y (+ 1 (* -1 (/ x y))))) (taylor -inf y) (#s(alt #s(approx (- x y) (neg.f64 y)) (patch #s(approx (- x y) (neg.f64 y)) #<representation binary64>) () ())) ())
#s(alt (* -1 (* y (+ 1 (* -1 (/ x y))))) (taylor -inf y) (#s(alt #s(approx (- x y) (neg.f64 y)) (patch #s(approx (- x y) (neg.f64 y)) #<representation binary64>) () ())) ())
#s(alt (* -1 (* y (+ 1 (* -1 (/ x y))))) (taylor -inf y) (#s(alt #s(approx (- x y) (neg.f64 y)) (patch #s(approx (- x y) (neg.f64 y)) #<representation binary64>) () ())) ())
#s(alt (* -1 y) (taylor -inf y) (#s(alt (neg.f64 y) (patch (neg.f64 y) #<representation binary64>) () ())) ())
#s(alt (* -1 y) (taylor -inf y) (#s(alt (neg.f64 y) (patch (neg.f64 y) #<representation binary64>) () ())) ())
#s(alt (* -1 y) (taylor -inf y) (#s(alt (neg.f64 y) (patch (neg.f64 y) #<representation binary64>) () ())) ())
#s(alt (* -1 y) (taylor -inf y) (#s(alt (neg.f64 y) (patch (neg.f64 y) #<representation binary64>) () ())) ())
#s(alt (* -1 (/ y x)) (taylor 0 x) (#s(alt #s(approx (/ (- x y) x) #s(literal 1 binary64)) (patch #s(approx (/ (- x y) x) #s(literal 1 binary64)) #<representation binary64>) () ())) ())
#s(alt (/ (+ x (* -1 y)) x) (taylor 0 x) (#s(alt #s(approx (/ (- x y) x) #s(literal 1 binary64)) (patch #s(approx (/ (- x y) x) #s(literal 1 binary64)) #<representation binary64>) () ())) ())
#s(alt (/ (+ x (* -1 y)) x) (taylor 0 x) (#s(alt #s(approx (/ (- x y) x) #s(literal 1 binary64)) (patch #s(approx (/ (- x y) x) #s(literal 1 binary64)) #<representation binary64>) () ())) ())
#s(alt (/ (+ x (* -1 y)) x) (taylor 0 x) (#s(alt #s(approx (/ (- x y) x) #s(literal 1 binary64)) (patch #s(approx (/ (- x y) x) #s(literal 1 binary64)) #<representation binary64>) () ())) ())
#s(alt (* -1 (/ y x)) (taylor 0 x) (#s(alt (/.f64 #s(approx (- x y) (neg.f64 y)) x) (patch (/.f64 #s(approx (- x y) (neg.f64 y)) x) #<representation binary64>) () ())) ())
#s(alt (/ (+ x (* -1 y)) x) (taylor 0 x) (#s(alt (/.f64 #s(approx (- x y) (neg.f64 y)) x) (patch (/.f64 #s(approx (- x y) (neg.f64 y)) x) #<representation binary64>) () ())) ())
#s(alt (/ (+ x (* -1 y)) x) (taylor 0 x) (#s(alt (/.f64 #s(approx (- x y) (neg.f64 y)) x) (patch (/.f64 #s(approx (- x y) (neg.f64 y)) x) #<representation binary64>) () ())) ())
#s(alt (/ (+ x (* -1 y)) x) (taylor 0 x) (#s(alt (/.f64 #s(approx (- x y) (neg.f64 y)) x) (patch (/.f64 #s(approx (- x y) (neg.f64 y)) x) #<representation binary64>) () ())) ())
#s(alt (* -1 y) (taylor 0 x) (#s(alt #s(approx (- x y) (neg.f64 y)) (patch #s(approx (- x y) (neg.f64 y)) #<representation binary64>) () ())) ())
#s(alt (- x y) (taylor 0 x) (#s(alt #s(approx (- x y) (neg.f64 y)) (patch #s(approx (- x y) (neg.f64 y)) #<representation binary64>) () ())) ())
#s(alt (- x y) (taylor 0 x) (#s(alt #s(approx (- x y) (neg.f64 y)) (patch #s(approx (- x y) (neg.f64 y)) #<representation binary64>) () ())) ())
#s(alt (- x y) (taylor 0 x) (#s(alt #s(approx (- x y) (neg.f64 y)) (patch #s(approx (- x y) (neg.f64 y)) #<representation binary64>) () ())) ())
#s(alt 1 (taylor inf x) (#s(alt #s(approx (/ (- x y) x) #s(literal 1 binary64)) (patch #s(approx (/ (- x y) x) #s(literal 1 binary64)) #<representation binary64>) () ())) ())
#s(alt (+ 1 (* -1 (/ y x))) (taylor inf x) (#s(alt #s(approx (/ (- x y) x) #s(literal 1 binary64)) (patch #s(approx (/ (- x y) x) #s(literal 1 binary64)) #<representation binary64>) () ())) ())
#s(alt (+ 1 (* -1 (/ y x))) (taylor inf x) (#s(alt #s(approx (/ (- x y) x) #s(literal 1 binary64)) (patch #s(approx (/ (- x y) x) #s(literal 1 binary64)) #<representation binary64>) () ())) ())
#s(alt (+ 1 (* -1 (/ y x))) (taylor inf x) (#s(alt #s(approx (/ (- x y) x) #s(literal 1 binary64)) (patch #s(approx (/ (- x y) x) #s(literal 1 binary64)) #<representation binary64>) () ())) ())
#s(alt 1 (taylor inf x) (#s(alt (/.f64 #s(approx (- x y) (neg.f64 y)) x) (patch (/.f64 #s(approx (- x y) (neg.f64 y)) x) #<representation binary64>) () ())) ())
#s(alt (+ 1 (* -1 (/ y x))) (taylor inf x) (#s(alt (/.f64 #s(approx (- x y) (neg.f64 y)) x) (patch (/.f64 #s(approx (- x y) (neg.f64 y)) x) #<representation binary64>) () ())) ())
#s(alt (+ 1 (* -1 (/ y x))) (taylor inf x) (#s(alt (/.f64 #s(approx (- x y) (neg.f64 y)) x) (patch (/.f64 #s(approx (- x y) (neg.f64 y)) x) #<representation binary64>) () ())) ())
#s(alt (+ 1 (* -1 (/ y x))) (taylor inf x) (#s(alt (/.f64 #s(approx (- x y) (neg.f64 y)) x) (patch (/.f64 #s(approx (- x y) (neg.f64 y)) x) #<representation binary64>) () ())) ())
#s(alt x (taylor inf x) (#s(alt #s(approx (- x y) (neg.f64 y)) (patch #s(approx (- x y) (neg.f64 y)) #<representation binary64>) () ())) ())
#s(alt (* x (+ 1 (* -1 (/ y x)))) (taylor inf x) (#s(alt #s(approx (- x y) (neg.f64 y)) (patch #s(approx (- x y) (neg.f64 y)) #<representation binary64>) () ())) ())
#s(alt (* x (+ 1 (* -1 (/ y x)))) (taylor inf x) (#s(alt #s(approx (- x y) (neg.f64 y)) (patch #s(approx (- x y) (neg.f64 y)) #<representation binary64>) () ())) ())
#s(alt (* x (+ 1 (* -1 (/ y x)))) (taylor inf x) (#s(alt #s(approx (- x y) (neg.f64 y)) (patch #s(approx (- x y) (neg.f64 y)) #<representation binary64>) () ())) ())
#s(alt 1 (taylor -inf x) (#s(alt #s(approx (/ (- x y) x) #s(literal 1 binary64)) (patch #s(approx (/ (- x y) x) #s(literal 1 binary64)) #<representation binary64>) () ())) ())
#s(alt (+ 1 (* -1 (/ y x))) (taylor -inf x) (#s(alt #s(approx (/ (- x y) x) #s(literal 1 binary64)) (patch #s(approx (/ (- x y) x) #s(literal 1 binary64)) #<representation binary64>) () ())) ())
#s(alt (+ 1 (* -1 (/ y x))) (taylor -inf x) (#s(alt #s(approx (/ (- x y) x) #s(literal 1 binary64)) (patch #s(approx (/ (- x y) x) #s(literal 1 binary64)) #<representation binary64>) () ())) ())
#s(alt (+ 1 (* -1 (/ y x))) (taylor -inf x) (#s(alt #s(approx (/ (- x y) x) #s(literal 1 binary64)) (patch #s(approx (/ (- x y) x) #s(literal 1 binary64)) #<representation binary64>) () ())) ())
#s(alt 1 (taylor -inf x) (#s(alt (/.f64 #s(approx (- x y) (neg.f64 y)) x) (patch (/.f64 #s(approx (- x y) (neg.f64 y)) x) #<representation binary64>) () ())) ())
#s(alt (+ 1 (* -1 (/ y x))) (taylor -inf x) (#s(alt (/.f64 #s(approx (- x y) (neg.f64 y)) x) (patch (/.f64 #s(approx (- x y) (neg.f64 y)) x) #<representation binary64>) () ())) ())
#s(alt (+ 1 (* -1 (/ y x))) (taylor -inf x) (#s(alt (/.f64 #s(approx (- x y) (neg.f64 y)) x) (patch (/.f64 #s(approx (- x y) (neg.f64 y)) x) #<representation binary64>) () ())) ())
#s(alt (+ 1 (* -1 (/ y x))) (taylor -inf x) (#s(alt (/.f64 #s(approx (- x y) (neg.f64 y)) x) (patch (/.f64 #s(approx (- x y) (neg.f64 y)) x) #<representation binary64>) () ())) ())
#s(alt x (taylor -inf x) (#s(alt #s(approx (- x y) (neg.f64 y)) (patch #s(approx (- x y) (neg.f64 y)) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x (- (/ y x) 1))) (taylor -inf x) (#s(alt #s(approx (- x y) (neg.f64 y)) (patch #s(approx (- x y) (neg.f64 y)) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x (- (/ y x) 1))) (taylor -inf x) (#s(alt #s(approx (- x y) (neg.f64 y)) (patch #s(approx (- x y) (neg.f64 y)) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x (- (/ y x) 1))) (taylor -inf x) (#s(alt #s(approx (- x y) (neg.f64 y)) (patch #s(approx (- x y) (neg.f64 y)) #<representation binary64>) () ())) ())
Calls

6 calls:

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

simplify272.0ms (9.2%)

Memory
22.9MiB live, 141.4MiB allocated
Algorithm
egg-herbie
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
029333
178297
2219297
3570297
41458297
52857297
63896297
74683297
85005297
95246297
107496297
117990297
08114297
Stop Event
iter limit
node limit
Counts
84 → 81
Calls
Call 1
Inputs
1
(+ 1 (* -1 (/ y x)))
(+ 1 (* -1 (/ y x)))
(+ 1 (* -1 (/ y x)))
1
(+ 1 (* -1 (/ y x)))
(+ 1 (* -1 (/ y x)))
(+ 1 (* -1 (/ y x)))
x
(+ x (* -1 y))
(+ x (* -1 y))
(+ x (* -1 y))
(* -1 y)
(* -1 y)
(* -1 y)
(* -1 y)
(* -1 (/ y x))
(* y (- (/ 1 y) (/ 1 x)))
(* y (- (/ 1 y) (/ 1 x)))
(* y (- (/ 1 y) (/ 1 x)))
(* -1 (/ y x))
(* y (- (/ 1 y) (/ 1 x)))
(* y (- (/ 1 y) (/ 1 x)))
(* y (- (/ 1 y) (/ 1 x)))
(* -1 y)
(* y (- (/ x y) 1))
(* y (- (/ x y) 1))
(* y (- (/ x y) 1))
(* -1 y)
(* -1 y)
(* -1 y)
(* -1 y)
(* -1 (/ y x))
(* -1 (* y (- (/ 1 x) (/ 1 y))))
(* -1 (* y (- (/ 1 x) (/ 1 y))))
(* -1 (* y (- (/ 1 x) (/ 1 y))))
(* -1 (/ y x))
(* -1 (* y (- (/ 1 x) (/ 1 y))))
(* -1 (* y (- (/ 1 x) (/ 1 y))))
(* -1 (* y (- (/ 1 x) (/ 1 y))))
(* -1 y)
(* -1 (* y (+ 1 (* -1 (/ x y)))))
(* -1 (* y (+ 1 (* -1 (/ x y)))))
(* -1 (* y (+ 1 (* -1 (/ x y)))))
(* -1 y)
(* -1 y)
(* -1 y)
(* -1 y)
(* -1 (/ y x))
(/ (+ x (* -1 y)) x)
(/ (+ x (* -1 y)) x)
(/ (+ x (* -1 y)) x)
(* -1 (/ y x))
(/ (+ x (* -1 y)) x)
(/ (+ x (* -1 y)) x)
(/ (+ x (* -1 y)) x)
(* -1 y)
(- x y)
(- x y)
(- x y)
1
(+ 1 (* -1 (/ y x)))
(+ 1 (* -1 (/ y x)))
(+ 1 (* -1 (/ y x)))
1
(+ 1 (* -1 (/ y x)))
(+ 1 (* -1 (/ y x)))
(+ 1 (* -1 (/ y x)))
x
(* x (+ 1 (* -1 (/ y x))))
(* x (+ 1 (* -1 (/ y x))))
(* x (+ 1 (* -1 (/ y x))))
1
(+ 1 (* -1 (/ y x)))
(+ 1 (* -1 (/ y x)))
(+ 1 (* -1 (/ y x)))
1
(+ 1 (* -1 (/ y x)))
(+ 1 (* -1 (/ y x)))
(+ 1 (* -1 (/ y x)))
x
(* -1 (* x (- (/ y x) 1)))
(* -1 (* x (- (/ y x) 1)))
(* -1 (* x (- (/ y x) 1)))
Outputs
1
#s(literal 1 binary64)
(+ 1 (* -1 (/ y x)))
(/.f64 (-.f64 x y) x)
(+ 1 (* -1 (/ y x)))
(/.f64 (-.f64 x y) x)
(+ 1 (* -1 (/ y x)))
(/.f64 (-.f64 x y) x)
1
#s(literal 1 binary64)
(+ 1 (* -1 (/ y x)))
(/.f64 (-.f64 x y) x)
(+ 1 (* -1 (/ y x)))
(/.f64 (-.f64 x y) x)
(+ 1 (* -1 (/ y x)))
(/.f64 (-.f64 x y) x)
x
(+ x (* -1 y))
(-.f64 x y)
(+ x (* -1 y))
(-.f64 x y)
(+ x (* -1 y))
(-.f64 x y)
(* -1 y)
(neg.f64 y)
(* -1 y)
(neg.f64 y)
(* -1 y)
(neg.f64 y)
(* -1 y)
(neg.f64 y)
(* -1 (/ y x))
(/.f64 (neg.f64 y) x)
(* y (- (/ 1 y) (/ 1 x)))
(/.f64 (-.f64 x y) x)
(* y (- (/ 1 y) (/ 1 x)))
(/.f64 (-.f64 x y) x)
(* y (- (/ 1 y) (/ 1 x)))
(/.f64 (-.f64 x y) x)
(* -1 (/ y x))
(/.f64 (neg.f64 y) x)
(* y (- (/ 1 y) (/ 1 x)))
(/.f64 (-.f64 x y) x)
(* y (- (/ 1 y) (/ 1 x)))
(/.f64 (-.f64 x y) x)
(* y (- (/ 1 y) (/ 1 x)))
(/.f64 (-.f64 x y) x)
(* -1 y)
(neg.f64 y)
(* y (- (/ x y) 1))
(-.f64 x y)
(* y (- (/ x y) 1))
(-.f64 x y)
(* y (- (/ x y) 1))
(-.f64 x y)
(* -1 y)
(neg.f64 y)
(* -1 y)
(neg.f64 y)
(* -1 y)
(neg.f64 y)
(* -1 y)
(neg.f64 y)
(* -1 (/ y x))
(/.f64 (neg.f64 y) x)
(* -1 (* y (- (/ 1 x) (/ 1 y))))
(/.f64 (-.f64 x y) x)
(* -1 (* y (- (/ 1 x) (/ 1 y))))
(/.f64 (-.f64 x y) x)
(* -1 (* y (- (/ 1 x) (/ 1 y))))
(/.f64 (-.f64 x y) x)
(* -1 (/ y x))
(/.f64 (neg.f64 y) x)
(* -1 (* y (- (/ 1 x) (/ 1 y))))
(/.f64 (-.f64 x y) x)
(* -1 (* y (- (/ 1 x) (/ 1 y))))
(/.f64 (-.f64 x y) x)
(* -1 (* y (- (/ 1 x) (/ 1 y))))
(/.f64 (-.f64 x y) x)
(* -1 y)
(neg.f64 y)
(* -1 (* y (+ 1 (* -1 (/ x y)))))
(-.f64 x y)
(* -1 (* y (+ 1 (* -1 (/ x y)))))
(-.f64 x y)
(* -1 (* y (+ 1 (* -1 (/ x y)))))
(-.f64 x y)
(* -1 y)
(neg.f64 y)
(* -1 y)
(neg.f64 y)
(* -1 y)
(neg.f64 y)
(* -1 y)
(neg.f64 y)
(* -1 (/ y x))
(/.f64 (neg.f64 y) x)
(/ (+ x (* -1 y)) x)
(/.f64 (-.f64 x y) x)
(/ (+ x (* -1 y)) x)
(/.f64 (-.f64 x y) x)
(/ (+ x (* -1 y)) x)
(/.f64 (-.f64 x y) x)
(* -1 (/ y x))
(/.f64 (neg.f64 y) x)
(/ (+ x (* -1 y)) x)
(/.f64 (-.f64 x y) x)
(/ (+ x (* -1 y)) x)
(/.f64 (-.f64 x y) x)
(/ (+ x (* -1 y)) x)
(/.f64 (-.f64 x y) x)
(* -1 y)
(neg.f64 y)
(- x y)
(-.f64 x y)
(- x y)
(-.f64 x y)
(- x y)
(-.f64 x y)
1
#s(literal 1 binary64)
(+ 1 (* -1 (/ y x)))
(/.f64 (-.f64 x y) x)
(+ 1 (* -1 (/ y x)))
(/.f64 (-.f64 x y) x)
(+ 1 (* -1 (/ y x)))
(/.f64 (-.f64 x y) x)
1
#s(literal 1 binary64)
(+ 1 (* -1 (/ y x)))
(/.f64 (-.f64 x y) x)
(+ 1 (* -1 (/ y x)))
(/.f64 (-.f64 x y) x)
(+ 1 (* -1 (/ y x)))
(/.f64 (-.f64 x y) x)
x
(* x (+ 1 (* -1 (/ y x))))
(-.f64 x y)
(* x (+ 1 (* -1 (/ y x))))
(-.f64 x y)
(* x (+ 1 (* -1 (/ y x))))
(-.f64 x y)
1
#s(literal 1 binary64)
(+ 1 (* -1 (/ y x)))
(/.f64 (-.f64 x y) x)
(+ 1 (* -1 (/ y x)))
(/.f64 (-.f64 x y) x)
(+ 1 (* -1 (/ y x)))
(/.f64 (-.f64 x y) x)
1
#s(literal 1 binary64)
(+ 1 (* -1 (/ y x)))
(/.f64 (-.f64 x y) x)
(+ 1 (* -1 (/ y x)))
(/.f64 (-.f64 x y) x)
(+ 1 (* -1 (/ y x)))
(/.f64 (-.f64 x y) x)
x
(* -1 (* x (- (/ y x) 1)))
(-.f64 x y)
(* -1 (* x (- (/ y x) 1)))
(-.f64 x y)
(* -1 (* x (- (/ y x) 1)))
(-.f64 x y)

rewrite139.0ms (4.7%)

Memory
10.1MiB live, 165.8MiB allocated
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
0923
01123
14523
228023
3271820
0969120
Stop Event
iter limit
node limit
iter limit
Counts
4 → 76
Calls
Call 1
Inputs
#s(approx (/ (- x y) x) #s(literal 1 binary64))
(/.f64 #s(approx (- x y) (neg.f64 y)) x)
#s(approx (- x y) (neg.f64 y))
(neg.f64 y)
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>

eval17.0ms (0.6%)

Memory
0.1MiB live, 38.5MiB allocated
Compiler

Compiled 1 098 to 221 computations (79.9% saved)

prune7.0ms (0.2%)

Memory
-23.3MiB live, 14.7MiB allocated
Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New1570157
Fresh000
Picked022
Done011
Total1573160
Accuracy
100.0%
Counts
160 → 3
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(/.f64 (-.f64 x y) x)
53.9%
(/.f64 #s(approx (- x y) (neg.f64 y)) x)
47.3%
#s(approx (/ (- x y) x) #s(literal 1 binary64))
Compiler

Compiled 24 to 22 computations (8.3% saved)

regimes6.0ms (0.2%)

Memory
14.3MiB live, 14.3MiB allocated
Counts
3 → 1
Calls
Call 1
Inputs
#s(approx (/ (- x y) x) #s(literal 1 binary64))
(/.f64 #s(approx (- x y) (neg.f64 y)) x)
(/.f64 (-.f64 x y) x)
Outputs
(/.f64 (-.f64 x y) x)
Calls

3 calls:

2.0ms
x
2.0ms
y
2.0ms
(/.f64 (-.f64 x y) x)
Results
AccuracySegmentsBranch
100.0%1x
100.0%1y
100.0%1(/.f64 (-.f64 x y) x)
Compiler

Compiled 7 to 8 computations (-14.3% saved)

regimes5.0ms (0.2%)

Memory
14.4MiB live, 14.4MiB allocated
Counts
2 → 3
Calls
Call 1
Inputs
#s(approx (/ (- x y) x) #s(literal 1 binary64))
(/.f64 #s(approx (- x y) (neg.f64 y)) x)
Outputs
(/.f64 #s(approx (- x y) (neg.f64 y)) x)
#s(approx (/ (- x y) x) #s(literal 1 binary64))
(/.f64 #s(approx (- x y) (neg.f64 y)) x)
Calls

3 calls:

2.0ms
x
2.0ms
y
1.0ms
(/.f64 (-.f64 x y) x)
Results
AccuracySegmentsBranch
78.6%3x
76.3%3y
97.6%3(/.f64 (-.f64 x y) x)
Compiler

Compiled 7 to 8 computations (-14.3% saved)

regimes7.0ms (0.2%)

Memory
-24.4MiB live, 12.1MiB allocated
Accuracy

Total -0.0b remaining (-0%)

Threshold costs -0b (-0%)

Counts
1 → 1
Calls
Call 1
Inputs
#s(approx (/ (- x y) x) #s(literal 1 binary64))
Outputs
#s(approx (/ (- x y) x) #s(literal 1 binary64))
Calls

3 calls:

4.0ms
(/.f64 (-.f64 x y) x)
1.0ms
y
1.0ms
x
Results
AccuracySegmentsBranch
47.3%1y
47.3%1x
47.3%1(/.f64 (-.f64 x y) x)
Compiler

Compiled 7 to 8 computations (-14.3% saved)

bsearch1.0ms (0%)

Memory
1.9MiB live, 1.9MiB allocated
Algorithm
left-value
Steps
TimeLeftRight
0.0ms
1.000084290954648
3994748357.6110826
0.0ms
-1.0270332062154133
0.9999137248157829
Compiler

Compiled 8 to 9 computations (-12.5% saved)

simplify30.0ms (1%)

Memory
10.5MiB live, 57.7MiB allocated
Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01751
12351
22651
32751
Stop Event
saturated
Calls
Call 1
Inputs
(/.f64 (-.f64 x y) x)
(if (<=.f64 (/.f64 (-.f64 x y) x) #s(literal -1 binary64)) (/.f64 #s(approx (- x y) (neg.f64 y)) x) (if (<=.f64 (/.f64 (-.f64 x y) x) #s(literal 2 binary64)) #s(approx (/ (- x y) x) #s(literal 1 binary64)) (/.f64 #s(approx (- x y) (neg.f64 y)) x)))
#s(approx (/ (- x y) x) #s(literal 1 binary64))
Outputs
(/.f64 (-.f64 x y) x)
(if (<=.f64 (/.f64 (-.f64 x y) x) #s(literal -1 binary64)) (/.f64 #s(approx (- x y) (neg.f64 y)) x) (if (<=.f64 (/.f64 (-.f64 x y) x) #s(literal 2 binary64)) #s(approx (/ (- x y) x) #s(literal 1 binary64)) (/.f64 #s(approx (- x y) (neg.f64 y)) x)))
#s(approx (/ (- x y) x) #s(literal 1 binary64))

soundness405.0ms (13.7%)

Memory
-19.6MiB live, 95.3MiB allocated
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
029186
178168
2219168
3570168
41458168
52857168
63896168
74683168
85005168
95246168
107496168
117990168
08114168
Stop Event
done
iter limit
node limit
Compiler

Compiled 41 to 25 computations (39% saved)

preprocess52.0ms (1.8%)

Memory
27.3MiB live, 143.1MiB allocated
Compiler

Compiled 90 to 48 computations (46.7% saved)

end0.0ms (0%)

Memory
0.0MiB live, 0.0MiB allocated

Profiling

Loading profile data...