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

Time bar (total: 3.2s)

start0.0ms (0%)

Memory
0.1MiB live, 0.1MiB allocated

analyze10.0ms (0.3%)

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

sample733.0ms (23.2%)

Memory
23.4MiB live, 1 017.4MiB allocated
Samples
481.0ms8 256×0valid
Precisions
Click to see histograms. Total time spent on operations: 156.0ms
ival-div: 84.0ms (54% of total)
ival-sub: 62.0ms (39.8% of total)
ival-true: 6.0ms (3.9% of total)
ival-assert: 3.0ms (1.9% of total)
Bogosity

explain44.0ms (1.4%)

Memory
-21.1MiB live, 94.0MiB 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
20.0ms512×0valid
Compiler

Compiled 29 to 16 computations (44.8% saved)

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

preprocess69.0ms (2.2%)

Memory
13.1MiB live, 59.4MiB allocated
Algorithm
egg-herbie
Rules
354×times-frac
232×div-sub
192×lower-fma.f64
192×lower-fma.f32
166×div-sub
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.3MiB live, 0.3MiB allocated
Compiler

Compiled 0 to 2 computations (-∞% saved)

prune0.0ms (0%)

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

Compiled 5 to 4 computations (20% saved)

simplify17.0ms (0.5%)

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

Found 2 expressions of interest:

NewMetricScoreProgram
cost-diff0
(-.f64 x y)
cost-diff0
(/.f64 (-.f64 x y) x)
Rules
192×lower-fma.f64
192×lower-fma.f32
166×div-sub
128×lower-*.f64
128×lower-*.f32
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

localize21.0ms (0.7%)

Memory
-11.5MiB live, 24.4MiB allocated
Localize:

Found 2 expressions of interest:

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

Compiled 12 to 6 computations (50% saved)

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

series3.0ms (0.1%)

Memory
5.5MiB live, 5.5MiB 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))
0.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))

simplify161.0ms (5.1%)

Memory
-7.6MiB live, 111.6MiB allocated
Algorithm
egg-herbie
Rules
4 562×lower-fma.f64
4 562×lower-fma.f32
3 310×lower-*.f64
3 310×lower-*.f32
2 080×associate-/r/
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)

rewrite336.0ms (10.7%)

Memory
-8.2MiB live, 188.3MiB allocated
Rules
4 762×lower-/.f32
4 760×lower-/.f64
3 702×lower-*.f64
3 702×lower-*.f32
2 232×lower-fma.f64
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>

eval111.0ms (3.5%)

Memory
17.9MiB live, 93.4MiB allocated
Compiler

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

prune47.0ms (1.5%)

Memory
-37.2MiB live, 25.9MiB allocated
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New4733476
Fresh000
Picked011
Done000
Total4734477
Accuracy
100.0%
Counts
477 → 4
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(/.f64 (-.f64 x y) x)
48.6%
(/.f64 #s(approx (- x y) (neg.f64 y)) x)
100.0%
(-.f64 #s(literal 1 binary64) (/.f64 y x))
52.6%
#s(approx (/ (- x y) x) #s(literal 1 binary64))
Compiler

Compiled 17 to 18 computations (-5.9% saved)

simplify24.0ms (0.8%)

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

Found 6 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
(/.f64 y x)
cost-diff0
(-.f64 #s(literal 1 binary64) (/.f64 y x))
cost-diff0
#s(approx (/ (- x y) x) #s(literal 1 binary64))
Rules
240×lower-fma.f64
240×lower-fma.f32
176×lower-*.f64
176×lower-*.f32
164×div-sub
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01137
01537
12537
23737
35737
48837
511337
614837
727837
855937
965937
1070137
1173437
1275937
1376837
076837
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(literal 1 binary64) (/.f64 y x))
#s(literal 1 binary64)
(/.f64 y x)
y
x
(/.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(literal 1 binary64) (/.f64 y x))
(/.f64 (-.f64 x y) x)
#s(literal 1 binary64)
(/.f64 y x)
y
x
(/.f64 #s(approx (- x y) (neg.f64 y)) x)
#s(approx (- x y) (neg.f64 y))
(neg.f64 y)
y
x

localize22.0ms (0.7%)

Memory
16.8MiB live, 16.8MiB allocated
Localize:

Found 6 expressions of interest:

NewMetricScoreProgram
accuracy0
(neg.f64 y)
accuracy0.01953125
(/.f64 #s(approx (- x y) (neg.f64 y)) x)
accuracy33.01747900410924
#s(approx (- x y) (neg.f64 y))
accuracy0
(/.f64 y x)
accuracy0.00390625
(-.f64 #s(literal 1 binary64) (/.f64 y x))
accuracy30.363619019019737
#s(approx (/ (- x y) x) #s(literal 1 binary64))
Samples
15.0ms256×0valid
Compiler

Compiled 31 to 10 computations (67.7% saved)

Precisions
Click to see histograms. Total time spent on operations: 7.0ms
ival-div: 3.0ms (40.8% of total)
ival-sub: 3.0ms (40.8% of total)
ival-neg: 1.0ms (13.6% of total)
ival-true: 0.0ms (0% of total)
exact: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

series39.0ms (1.2%)

Memory
-27.1MiB live, 11.0MiB allocated
Counts
6 → 132
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(literal 1 binary64) (/.f64 y x)) (patch (-.f64 #s(literal 1 binary64) (/.f64 y x)) #<representation binary64>) () ())
#s(alt (/.f64 y x) (patch (/.f64 y x) #<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(literal 1 binary64) (/.f64 y x)) (patch (-.f64 #s(literal 1 binary64) (/.f64 y x)) #<representation binary64>) () ())) ())
#s(alt (+ 1 (* -1 (/ y x))) (taylor 0 y) (#s(alt (-.f64 #s(literal 1 binary64) (/.f64 y x)) (patch (-.f64 #s(literal 1 binary64) (/.f64 y x)) #<representation binary64>) () ())) ())
#s(alt (+ 1 (* -1 (/ y x))) (taylor 0 y) (#s(alt (-.f64 #s(literal 1 binary64) (/.f64 y x)) (patch (-.f64 #s(literal 1 binary64) (/.f64 y x)) #<representation binary64>) () ())) ())
#s(alt (+ 1 (* -1 (/ y x))) (taylor 0 y) (#s(alt (-.f64 #s(literal 1 binary64) (/.f64 y x)) (patch (-.f64 #s(literal 1 binary64) (/.f64 y x)) #<representation binary64>) () ())) ())
#s(alt (/ y x) (taylor 0 y) (#s(alt (/.f64 y x) (patch (/.f64 y x) #<representation binary64>) () ())) ())
#s(alt (/ y x) (taylor 0 y) (#s(alt (/.f64 y x) (patch (/.f64 y x) #<representation binary64>) () ())) ())
#s(alt (/ y x) (taylor 0 y) (#s(alt (/.f64 y x) (patch (/.f64 y x) #<representation binary64>) () ())) ())
#s(alt (/ y x) (taylor 0 y) (#s(alt (/.f64 y x) (patch (/.f64 y x) #<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(literal 1 binary64) (/.f64 y x)) (patch (-.f64 #s(literal 1 binary64) (/.f64 y x)) #<representation binary64>) () ())) ())
#s(alt (* y (- (/ 1 y) (/ 1 x))) (taylor inf y) (#s(alt (-.f64 #s(literal 1 binary64) (/.f64 y x)) (patch (-.f64 #s(literal 1 binary64) (/.f64 y x)) #<representation binary64>) () ())) ())
#s(alt (* y (- (/ 1 y) (/ 1 x))) (taylor inf y) (#s(alt (-.f64 #s(literal 1 binary64) (/.f64 y x)) (patch (-.f64 #s(literal 1 binary64) (/.f64 y x)) #<representation binary64>) () ())) ())
#s(alt (* y (- (/ 1 y) (/ 1 x))) (taylor inf y) (#s(alt (-.f64 #s(literal 1 binary64) (/.f64 y x)) (patch (-.f64 #s(literal 1 binary64) (/.f64 y x)) #<representation binary64>) () ())) ())
#s(alt (/ y x) (taylor inf y) (#s(alt (/.f64 y x) (patch (/.f64 y x) #<representation binary64>) () ())) ())
#s(alt (/ y x) (taylor inf y) (#s(alt (/.f64 y x) (patch (/.f64 y x) #<representation binary64>) () ())) ())
#s(alt (/ y x) (taylor inf y) (#s(alt (/.f64 y x) (patch (/.f64 y x) #<representation binary64>) () ())) ())
#s(alt (/ y x) (taylor inf y) (#s(alt (/.f64 y x) (patch (/.f64 y x) #<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(literal 1 binary64) (/.f64 y x)) (patch (-.f64 #s(literal 1 binary64) (/.f64 y x)) #<representation binary64>) () ())) ())
#s(alt (* -1 (* y (- (/ 1 x) (/ 1 y)))) (taylor -inf y) (#s(alt (-.f64 #s(literal 1 binary64) (/.f64 y x)) (patch (-.f64 #s(literal 1 binary64) (/.f64 y x)) #<representation binary64>) () ())) ())
#s(alt (* -1 (* y (- (/ 1 x) (/ 1 y)))) (taylor -inf y) (#s(alt (-.f64 #s(literal 1 binary64) (/.f64 y x)) (patch (-.f64 #s(literal 1 binary64) (/.f64 y x)) #<representation binary64>) () ())) ())
#s(alt (* -1 (* y (- (/ 1 x) (/ 1 y)))) (taylor -inf y) (#s(alt (-.f64 #s(literal 1 binary64) (/.f64 y x)) (patch (-.f64 #s(literal 1 binary64) (/.f64 y x)) #<representation binary64>) () ())) ())
#s(alt (/ y x) (taylor -inf y) (#s(alt (/.f64 y x) (patch (/.f64 y x) #<representation binary64>) () ())) ())
#s(alt (/ y x) (taylor -inf y) (#s(alt (/.f64 y x) (patch (/.f64 y x) #<representation binary64>) () ())) ())
#s(alt (/ y x) (taylor -inf y) (#s(alt (/.f64 y x) (patch (/.f64 y x) #<representation binary64>) () ())) ())
#s(alt (/ y x) (taylor -inf y) (#s(alt (/.f64 y x) (patch (/.f64 y x) #<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(literal 1 binary64) (/.f64 y x)) (patch (-.f64 #s(literal 1 binary64) (/.f64 y x)) #<representation binary64>) () ())) ())
#s(alt (/ (- x y) x) (taylor 0 x) (#s(alt (-.f64 #s(literal 1 binary64) (/.f64 y x)) (patch (-.f64 #s(literal 1 binary64) (/.f64 y x)) #<representation binary64>) () ())) ())
#s(alt (/ (- x y) x) (taylor 0 x) (#s(alt (-.f64 #s(literal 1 binary64) (/.f64 y x)) (patch (-.f64 #s(literal 1 binary64) (/.f64 y x)) #<representation binary64>) () ())) ())
#s(alt (/ (- x y) x) (taylor 0 x) (#s(alt (-.f64 #s(literal 1 binary64) (/.f64 y x)) (patch (-.f64 #s(literal 1 binary64) (/.f64 y x)) #<representation binary64>) () ())) ())
#s(alt (/ y x) (taylor 0 x) (#s(alt (/.f64 y x) (patch (/.f64 y x) #<representation binary64>) () ())) ())
#s(alt (/ y x) (taylor 0 x) (#s(alt (/.f64 y x) (patch (/.f64 y x) #<representation binary64>) () ())) ())
#s(alt (/ y x) (taylor 0 x) (#s(alt (/.f64 y x) (patch (/.f64 y x) #<representation binary64>) () ())) ())
#s(alt (/ y x) (taylor 0 x) (#s(alt (/.f64 y x) (patch (/.f64 y x) #<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(literal 1 binary64) (/.f64 y x)) (patch (-.f64 #s(literal 1 binary64) (/.f64 y x)) #<representation binary64>) () ())) ())
#s(alt (+ 1 (* -1 (/ y x))) (taylor inf x) (#s(alt (-.f64 #s(literal 1 binary64) (/.f64 y x)) (patch (-.f64 #s(literal 1 binary64) (/.f64 y x)) #<representation binary64>) () ())) ())
#s(alt (+ 1 (* -1 (/ y x))) (taylor inf x) (#s(alt (-.f64 #s(literal 1 binary64) (/.f64 y x)) (patch (-.f64 #s(literal 1 binary64) (/.f64 y x)) #<representation binary64>) () ())) ())
#s(alt (+ 1 (* -1 (/ y x))) (taylor inf x) (#s(alt (-.f64 #s(literal 1 binary64) (/.f64 y x)) (patch (-.f64 #s(literal 1 binary64) (/.f64 y x)) #<representation binary64>) () ())) ())
#s(alt (/ y x) (taylor inf x) (#s(alt (/.f64 y x) (patch (/.f64 y x) #<representation binary64>) () ())) ())
#s(alt (/ y x) (taylor inf x) (#s(alt (/.f64 y x) (patch (/.f64 y x) #<representation binary64>) () ())) ())
#s(alt (/ y x) (taylor inf x) (#s(alt (/.f64 y x) (patch (/.f64 y x) #<representation binary64>) () ())) ())
#s(alt (/ y x) (taylor inf x) (#s(alt (/.f64 y x) (patch (/.f64 y x) #<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(literal 1 binary64) (/.f64 y x)) (patch (-.f64 #s(literal 1 binary64) (/.f64 y x)) #<representation binary64>) () ())) ())
#s(alt (+ 1 (* -1 (/ y x))) (taylor -inf x) (#s(alt (-.f64 #s(literal 1 binary64) (/.f64 y x)) (patch (-.f64 #s(literal 1 binary64) (/.f64 y x)) #<representation binary64>) () ())) ())
#s(alt (+ 1 (* -1 (/ y x))) (taylor -inf x) (#s(alt (-.f64 #s(literal 1 binary64) (/.f64 y x)) (patch (-.f64 #s(literal 1 binary64) (/.f64 y x)) #<representation binary64>) () ())) ())
#s(alt (+ 1 (* -1 (/ y x))) (taylor -inf x) (#s(alt (-.f64 #s(literal 1 binary64) (/.f64 y x)) (patch (-.f64 #s(literal 1 binary64) (/.f64 y x)) #<representation binary64>) () ())) ())
#s(alt (/ y x) (taylor -inf x) (#s(alt (/.f64 y x) (patch (/.f64 y x) #<representation binary64>) () ())) ())
#s(alt (/ y x) (taylor -inf x) (#s(alt (/.f64 y x) (patch (/.f64 y x) #<representation binary64>) () ())) ())
#s(alt (/ y x) (taylor -inf x) (#s(alt (/.f64 y x) (patch (/.f64 y x) #<representation binary64>) () ())) ())
#s(alt (/ y x) (taylor -inf x) (#s(alt (/.f64 y x) (patch (/.f64 y x) #<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
1.0ms
x
@inf
((/ (- x y) x) (- 1 (/ y x)) (/ y x) (/ (- x y) x) (- x y) (neg y))
1.0ms
y
@inf
((/ (- x y) x) (- 1 (/ y x)) (/ y x) (/ (- x y) x) (- x y) (neg y))
1.0ms
y
@-inf
((/ (- x y) x) (- 1 (/ y x)) (/ y x) (/ (- x y) x) (- x y) (neg y))
1.0ms
x
@-inf
((/ (- x y) x) (- 1 (/ y x)) (/ y x) (/ (- x y) x) (- x y) (neg y))
1.0ms
y
@0
((/ (- x y) x) (- 1 (/ y x)) (/ y x) (/ (- x y) x) (- x y) (neg y))

simplify231.0ms (7.3%)

Memory
30.9MiB live, 148.2MiB allocated
Algorithm
egg-herbie
Rules
4 508×lower-fma.f64
4 508×lower-fma.f32
3 466×lower-*.f64
3 466×lower-*.f32
1 520×lower-/.f32
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
030528
181474
2221474
3569474
41545474
53118474
64327474
75512474
86278474
96721474
107312474
117722474
08028474
Stop Event
iter limit
node limit
Counts
132 → 129
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)))
(/ y x)
(/ y x)
(/ y x)
(/ 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)))
(/ y x)
(/ y x)
(/ y x)
(/ y 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))))
(/ y x)
(/ y x)
(/ y x)
(/ y x)
(* -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 y) x)
(/ (- x y) x)
(/ (- x y) x)
(/ y x)
(/ y x)
(/ y x)
(/ 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)))
(/ y x)
(/ y x)
(/ y x)
(/ 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)))
(/ y x)
(/ y x)
(/ y x)
(/ 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)
(/ y x)
(/.f64 y x)
(/ y x)
(/.f64 y x)
(/ y x)
(/.f64 y x)
(/ y x)
(/.f64 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)
(/ y x)
(/.f64 y x)
(/ y x)
(/.f64 y x)
(/ y x)
(/.f64 y x)
(/ y x)
(/.f64 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)
(/ y x)
(/.f64 y x)
(/ y x)
(/.f64 y x)
(/ y x)
(/.f64 y x)
(/ y x)
(/.f64 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 y) x)
(/.f64 (-.f64 x y) x)
(/ (- x y) x)
(/.f64 (-.f64 x y) x)
(/ (- x y) x)
(/.f64 (-.f64 x y) x)
(/ y x)
(/.f64 y x)
(/ y x)
(/.f64 y x)
(/ y x)
(/.f64 y x)
(/ y x)
(/.f64 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)
(/ y x)
(/.f64 y x)
(/ y x)
(/.f64 y x)
(/ y x)
(/.f64 y x)
(/ y x)
(/.f64 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)
(/ y x)
(/.f64 y x)
(/ y x)
(/.f64 y x)
(/ y x)
(/.f64 y x)
(/ y x)
(/.f64 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)

rewrite167.0ms (5.3%)

Memory
-17.3MiB live, 96.5MiB allocated
Rules
3 086×lower-fma.f64
3 086×lower-fma.f32
2 950×lower-*.f64
2 950×lower-*.f32
2 914×lower-/.f32
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01131
01531
16631
247131
3759731
0854531
Stop Event
iter limit
node limit
iter limit
Counts
6 → 295
Calls
Call 1
Inputs
#s(approx (/ (- x y) x) #s(literal 1 binary64))
(-.f64 #s(literal 1 binary64) (/.f64 y x))
(/.f64 y x)
(/.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>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>

eval82.0ms (2.6%)

Memory
23.3MiB live, 67.7MiB allocated
Compiler

Compiled 5 361 to 760 computations (85.8% saved)

prune127.0ms (4%)

Memory
-15.3MiB live, 22.4MiB allocated
Pruning

4 alts after pruning (0 fresh and 4 done)

PrunedKeptTotal
New4240424
Fresh000
Picked033
Done011
Total4244428
Accuracy
100.0%
Counts
428 → 4
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(/.f64 (-.f64 x y) x)
48.6%
(/.f64 #s(approx (- x y) (neg.f64 y)) x)
100.0%
(-.f64 #s(literal 1 binary64) (/.f64 y x))
52.6%
#s(approx (/ (- x y) x) #s(literal 1 binary64))
Compiler

Compiled 34 to 29 computations (14.7% saved)

regimes6.0ms (0.2%)

Memory
7.1MiB live, 7.1MiB allocated
Counts
4 → 1
Calls
Call 1
Inputs
#s(approx (/ (- x y) x) #s(literal 1 binary64))
(/.f64 #s(approx (- x y) (neg.f64 y)) x)
(-.f64 #s(literal 1 binary64) (/.f64 y x))
(/.f64 (-.f64 x y) x)
Outputs
(-.f64 #s(literal 1 binary64) (/.f64 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
6.1MiB live, 6.1MiB 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
y
2.0ms
x
1.0ms
(/.f64 (-.f64 x y) x)
Results
AccuracySegmentsBranch
77.3%3x
75.7%3y
97.9%3(/.f64 (-.f64 x y) x)
Compiler

Compiled 7 to 8 computations (-14.3% saved)

regimes4.0ms (0.1%)

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

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

Compiled 7 to 8 computations (-14.3% saved)

bsearch1.0ms (0%)

Memory
0.5MiB live, 0.5MiB allocated
Algorithm
left-value
Steps
TimeLeftRight
0.0ms
1.0000000000017697
219338.4723861032
0.0ms
-1.066059207347635
0.9999976042271929
Compiler

Compiled 8 to 9 computations (-12.5% saved)

simplify39.0ms (1.2%)

Memory
-0.2MiB live, 39.1MiB allocated
Algorithm
egg-herbie
Rules
10×+-commutative-binary64-+.f64
10×sub-neg-binary64-neg.f64-+.f64--.f64
*-commutative-binary64-*.f64
neg-sub0-binary64--.f64-neg.f64
neg-mul-1-binary64-*.f64-neg.f64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01951
12751
23651
34151
44451
54551
Stop Event
saturated
Calls
Call 1
Inputs
(-.f64 #s(literal 1 binary64) (/.f64 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 #s(literal 1 binary64) (/.f64 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))

soundness555.0ms (17.6%)

Memory
3.7MiB live, 155.7MiB allocated
Rules
4 762×lower-/.f32
4 760×lower-/.f64
4 562×lower-fma.f64
4 562×lower-fma.f32
3 702×lower-*.f64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
048
068
1328
22368
323828
084148
029186
178168
2219168
3570168
41458168
52857168
63896168
74683168
85005168
95246168
107496168
117990168
08114168
Stop Event
done
iter limit
node limit
iter limit
node limit
iter limit
Compiler

Compiled 51 to 34 computations (33.3% saved)

preprocess302.0ms (9.6%)

Memory
-26.7MiB live, 68.1MiB allocated
Compiler

Compiled 90 to 52 computations (42.2% saved)

end0.0ms (0%)

Memory
0.0MiB live, 0.0MiB allocated

Profiling

Loading profile data...