Data.Colour.SRGB:transferFunction from colour-2.3.3

Time bar (total: 5.1s)

start0.0ms (0%)

Memory
0.1MiB live, 0.0MiB allocated

analyze0.0ms (0%)

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

Compiled 9 to 8 computations (11.1% saved)

sample972.0ms (19.1%)

Memory
-23.2MiB live, 823.3MiB allocated
Samples
579.0ms8 253×0valid
0.0ms2valid
0.0ms1valid
Precisions
Click to see histograms. Total time spent on operations: 351.0ms
ival-mult: 250.0ms (71.2% of total)
ival-add: 50.0ms (14.2% of total)
ival-sub: 36.0ms (10.3% of total)
ival-true: 7.0ms (2% of total)
exact: 5.0ms (1.4% of total)
ival-assert: 4.0ms (1.1% of total)
adjust: 0.0ms (0% of total)
Bogosity

explain67.0ms (1.3%)

Memory
25.3MiB live, 100.4MiB allocated
FPErrors
Click to see full error table
Ground TruthOverpredictionsExampleUnderpredictionsExampleSubexpression
10-1(-3.265543599405987e+234 0.9824173618145615)(-.f64 (*.f64 (+.f64 x #s(literal 1 binary64)) y) x)
00-0-(+.f64 x #s(literal 1 binary64))
00-0-(*.f64 (+.f64 x #s(literal 1 binary64)) y)
00-0-y
00-0-#s(literal 1 binary64)
00-0-x
Confusion
Predicted +Predicted -
+01
-0255
Precision
0/0
Recall
0.0
Confusion?
Predicted +Predicted MaybePredicted -
+010
-00255
Precision?
1.0
Recall?
1.0
Freqs
test
numberfreq
0256
Total Confusion?
Predicted +Predicted MaybePredicted -
+010
-000
Precision?
1.0
Recall?
1.0
Samples
26.0ms512×0valid
Compiler

Compiled 47 to 22 computations (53.2% saved)

Precisions
Click to see histograms. Total time spent on operations: 13.0ms
ival-add: 7.0ms (53.2% of total)
ival-mult: 3.0ms (22.8% of total)
ival-sub: 2.0ms (15.2% of total)
ival-true: 0.0ms (0% of total)
exact: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

preprocess87.0ms (1.7%)

Memory
1.6MiB live, 39.4MiB allocated
Algorithm
egg-herbie
Rules
496×lower-fma.f64
496×lower-fma.f32
232×unsub-neg
192×lower-*.f32
190×lower-*.f64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01643
13939
212337
350935
4102335
5133535
6137635
7138035
067
097
1157
2277
3587
41097
51917
63547
75627
86367
96417
06416
Stop Event
iter limit
saturated
iter limit
saturated
Calls
Call 1
Inputs
(-.f64 (*.f64 (+.f64 x #s(literal 1 binary64)) y) x)
Outputs
(-.f64 (*.f64 (+.f64 x #s(literal 1 binary64)) y) x)
(fma.f64 y x (-.f64 y x))
Compiler

Compiled 7 to 6 computations (14.3% 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 (+.f64 x #s(literal 1 binary64)) y) x)
Compiler

Compiled 7 to 6 computations (14.3% saved)

simplify120.0ms (2.4%)

Memory
-26.4MiB live, 15.7MiB allocated
Algorithm
egg-herbie
Localize:

Found 3 expressions of interest:

NewMetricScoreProgram
cost-diff0
(+.f64 x #s(literal 1 binary64))
cost-diff0
(-.f64 (*.f64 (+.f64 x #s(literal 1 binary64)) y) x)
cost-diff128
(*.f64 (+.f64 x #s(literal 1 binary64)) y)
Rules
496×lower-fma.f64
496×lower-fma.f32
192×lower-*.f32
190×lower-*.f64
136×lower-+.f32
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0618
0918
11518
22718
35818
410918
519118
635418
756218
863618
964118
064116
Stop Event
iter limit
saturated
iter limit
Calls
Call 1
Inputs
(-.f64 (*.f64 (+.f64 x #s(literal 1 binary64)) y) x)
(*.f64 (+.f64 x #s(literal 1 binary64)) y)
(+.f64 x #s(literal 1 binary64))
x
#s(literal 1 binary64)
y
Outputs
(-.f64 (*.f64 (+.f64 x #s(literal 1 binary64)) y) x)
(fma.f64 y x (-.f64 y x))
(*.f64 (+.f64 x #s(literal 1 binary64)) y)
(fma.f64 y x y)
(+.f64 x #s(literal 1 binary64))
(-.f64 x #s(literal -1 binary64))
x
#s(literal 1 binary64)
y

localize15.0ms (0.3%)

Memory
20.5MiB live, 20.5MiB allocated
Localize:

Found 3 expressions of interest:

NewMetricScoreProgram
accuracy0
(+.f64 x #s(literal 1 binary64))
accuracy0.01171875
(*.f64 (+.f64 x #s(literal 1 binary64)) y)
accuracy0.019352329337448734
(-.f64 (*.f64 (+.f64 x #s(literal 1 binary64)) y) x)
Samples
11.0ms256×0valid
Compiler

Compiled 20 to 8 computations (60% saved)

Precisions
Click to see histograms. Total time spent on operations: 5.0ms
ival-mult: 2.0ms (43.3% of total)
ival-sub: 1.0ms (21.6% of total)
ival-add: 1.0ms (21.6% of total)
ival-true: 0.0ms (0% of total)
exact: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

series81.0ms (1.6%)

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

6 calls:

TimeVariablePointExpression
77.0ms
x
@inf
((* (+ x 1) y) (- (* (+ x 1) y) x) (+ x 1))
1.0ms
y
@inf
((* (+ x 1) y) (- (* (+ x 1) y) x) (+ x 1))
1.0ms
y
@0
((* (+ x 1) y) (- (* (+ x 1) y) x) (+ x 1))
0.0ms
y
@-inf
((* (+ x 1) y) (- (* (+ x 1) y) x) (+ x 1))
0.0ms
x
@-inf
((* (+ x 1) y) (- (* (+ x 1) y) x) (+ x 1))

simplify190.0ms (3.7%)

Memory
24.5MiB live, 102.0MiB allocated
Algorithm
egg-herbie
Rules
4 192×lower-*.f64
4 192×lower-*.f32
3 480×lower-fma.f64
3 480×lower-fma.f32
1 904×div-sub
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
041291
1140291
2363291
3978291
42455291
53593291
64358291
75301291
85827291
96391291
107434291
08103250
Stop Event
iter limit
node limit
Counts
60 → 56
Calls
Call 1
Inputs
(* y (+ 1 x))
(* y (+ 1 x))
(* y (+ 1 x))
(* y (+ 1 x))
(* -1 x)
(- (* y (+ 1 x)) x)
(- (* y (+ 1 x)) x)
(- (* y (+ 1 x)) x)
(* y (+ 1 x))
(* y (+ 1 x))
(* y (+ 1 x))
(* y (+ 1 x))
(* y (+ 1 x))
(* y (+ 1 (+ x (* -1 (/ x y)))))
(* y (+ 1 (+ x (* -1 (/ x y)))))
(* y (+ 1 (+ x (* -1 (/ x y)))))
(* y (+ 1 x))
(* y (+ 1 x))
(* y (+ 1 x))
(* y (+ 1 x))
(* y (+ 1 x))
(* -1 (* y (+ (* -1 (+ 1 x)) (/ x y))))
(* -1 (* y (+ (* -1 (+ 1 x)) (/ x y))))
(* -1 (* y (+ (* -1 (+ 1 x)) (/ x y))))
y
(+ y (* x y))
(+ y (* x y))
(+ y (* x y))
y
(+ y (* x (- y 1)))
(+ y (* x (- y 1)))
(+ y (* x (- y 1)))
1
(+ 1 x)
(+ 1 x)
(+ 1 x)
(* x y)
(* x (+ y (/ y x)))
(* x (+ y (/ y x)))
(* x (+ y (/ y x)))
(* x (- y 1))
(* x (- (+ y (/ y x)) 1))
(* x (- (+ y (/ y x)) 1))
(* x (- (+ y (/ y x)) 1))
x
(* x (+ 1 (/ 1 x)))
(* x (+ 1 (/ 1 x)))
(* x (+ 1 (/ 1 x)))
(* x y)
(* -1 (* x (+ (* -1 y) (* -1 (/ y x)))))
(* -1 (* x (+ (* -1 y) (* -1 (/ y x)))))
(* -1 (* x (+ (* -1 y) (* -1 (/ y x)))))
(* -1 (* x (+ 1 (* -1 y))))
(* -1 (* x (+ 1 (+ (* -1 y) (* -1 (/ y x))))))
(* -1 (* x (+ 1 (+ (* -1 y) (* -1 (/ y x))))))
(* -1 (* x (+ 1 (+ (* -1 y) (* -1 (/ y x))))))
x
(* x (+ 1 (/ 1 x)))
(* x (+ 1 (/ 1 x)))
(* x (+ 1 (/ 1 x)))
Outputs
(* y (+ 1 x))
(fma.f64 x y y)
(* y (+ 1 x))
(fma.f64 x y y)
(* y (+ 1 x))
(fma.f64 x y y)
(* y (+ 1 x))
(fma.f64 x y y)
(* -1 x)
(neg.f64 x)
(- (* y (+ 1 x)) x)
(-.f64 (fma.f64 x y y) x)
(- (* y (+ 1 x)) x)
(-.f64 (fma.f64 x y y) x)
(- (* y (+ 1 x)) x)
(-.f64 (fma.f64 x y y) x)
(* y (+ 1 x))
(fma.f64 x y y)
(* y (+ 1 x))
(fma.f64 x y y)
(* y (+ 1 x))
(fma.f64 x y y)
(* y (+ 1 x))
(fma.f64 x y y)
(* y (+ 1 x))
(fma.f64 x y y)
(* y (+ 1 (+ x (* -1 (/ x y)))))
(-.f64 (fma.f64 x y y) x)
(* y (+ 1 (+ x (* -1 (/ x y)))))
(-.f64 (fma.f64 x y y) x)
(* y (+ 1 (+ x (* -1 (/ x y)))))
(-.f64 (fma.f64 x y y) x)
(* y (+ 1 x))
(fma.f64 x y y)
(* y (+ 1 x))
(fma.f64 x y y)
(* y (+ 1 x))
(fma.f64 x y y)
(* y (+ 1 x))
(fma.f64 x y y)
(* y (+ 1 x))
(fma.f64 x y y)
(* -1 (* y (+ (* -1 (+ 1 x)) (/ x y))))
(-.f64 (fma.f64 x y y) x)
(* -1 (* y (+ (* -1 (+ 1 x)) (/ x y))))
(-.f64 (fma.f64 x y y) x)
(* -1 (* y (+ (* -1 (+ 1 x)) (/ x y))))
(-.f64 (fma.f64 x y y) x)
y
(+ y (* x y))
(fma.f64 x y y)
(+ y (* x y))
(fma.f64 x y y)
(+ y (* x y))
(fma.f64 x y y)
y
(+ y (* x (- y 1)))
(-.f64 (fma.f64 x y y) x)
(+ y (* x (- y 1)))
(-.f64 (fma.f64 x y y) x)
(+ y (* x (- y 1)))
(-.f64 (fma.f64 x y y) x)
1
#s(literal 1 binary64)
(+ 1 x)
(-.f64 x #s(literal -1 binary64))
(+ 1 x)
(-.f64 x #s(literal -1 binary64))
(+ 1 x)
(-.f64 x #s(literal -1 binary64))
(* x y)
(*.f64 x y)
(* x (+ y (/ y x)))
(fma.f64 x y y)
(* x (+ y (/ y x)))
(fma.f64 x y y)
(* x (+ y (/ y x)))
(fma.f64 x y y)
(* x (- y 1))
(fma.f64 x y (neg.f64 x))
(* x (- (+ y (/ y x)) 1))
(-.f64 (fma.f64 x y y) x)
(* x (- (+ y (/ y x)) 1))
(-.f64 (fma.f64 x y y) x)
(* x (- (+ y (/ y x)) 1))
(-.f64 (fma.f64 x y y) x)
x
(* x (+ 1 (/ 1 x)))
(-.f64 x #s(literal -1 binary64))
(* x (+ 1 (/ 1 x)))
(-.f64 x #s(literal -1 binary64))
(* x (+ 1 (/ 1 x)))
(-.f64 x #s(literal -1 binary64))
(* x y)
(*.f64 x y)
(* -1 (* x (+ (* -1 y) (* -1 (/ y x)))))
(fma.f64 x y y)
(* -1 (* x (+ (* -1 y) (* -1 (/ y x)))))
(fma.f64 x y y)
(* -1 (* x (+ (* -1 y) (* -1 (/ y x)))))
(fma.f64 x y y)
(* -1 (* x (+ 1 (* -1 y))))
(fma.f64 x y (neg.f64 x))
(* -1 (* x (+ 1 (+ (* -1 y) (* -1 (/ y x))))))
(-.f64 (fma.f64 x y y) x)
(* -1 (* x (+ 1 (+ (* -1 y) (* -1 (/ y x))))))
(-.f64 (fma.f64 x y y) x)
(* -1 (* x (+ 1 (+ (* -1 y) (* -1 (/ y x))))))
(-.f64 (fma.f64 x y y) x)
x
(* x (+ 1 (/ 1 x)))
(-.f64 x #s(literal -1 binary64))
(* x (+ 1 (/ 1 x)))
(-.f64 x #s(literal -1 binary64))
(* x (+ 1 (/ 1 x)))
(-.f64 x #s(literal -1 binary64))

rewrite296.0ms (5.8%)

Memory
-1.1MiB live, 150.5MiB allocated
Rules
5 040×lower-fma.f64
5 040×lower-fma.f32
3 674×lower-/.f64
3 674×lower-/.f32
3 510×lower-*.f32
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0615
0915
13815
226915
3336215
0849513
Stop Event
iter limit
node limit
iter limit
Counts
3 → 328
Calls
Call 1
Inputs
(*.f64 (+.f64 x #s(literal 1 binary64)) y)
(-.f64 (*.f64 (+.f64 x #s(literal 1 binary64)) y) x)
(+.f64 x #s(literal 1 binary64))
Outputs
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>

eval74.0ms (1.4%)

Memory
-8.6MiB live, 113.9MiB allocated
Compiler

Compiled 7 966 to 1 055 computations (86.8% saved)

prune6.0ms (0.1%)

Memory
28.0MiB live, 28.0MiB allocated
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New3804384
Fresh000
Picked101
Done000
Total3814385
Accuracy
100.0%
Counts
385 → 4
Alt Table
Click to see full alt table
StatusAccuracyProgram
75.3%
(-.f64 (*.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y) x)
64.9%
#s(approx (- (* (+ x 1) y) x) (fma.f64 x y (neg.f64 x)))
59.8%
#s(approx (- (* (+ x 1) y) x) (fma.f64 x y y))
41.0%
#s(approx (- (* (+ x 1) y) x) (neg.f64 x))
Compiler

Compiled 20 to 19 computations (5% saved)

simplify32.0ms (0.6%)

Memory
-38.0MiB live, 46.1MiB allocated
Algorithm
egg-herbie
Localize:

Found 10 expressions of interest:

NewMetricScoreProgram
cost-diff0
#s(approx (+ x 1) #s(literal 1 binary64))
cost-diff0
(*.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y)
cost-diff0
(-.f64 (*.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y) x)
cost-diff0
(neg.f64 x)
cost-diff0
(fma.f64 x y (neg.f64 x))
cost-diff0
#s(approx (- (* (+ x 1) y) x) (fma.f64 x y (neg.f64 x)))
cost-diff0
(fma.f64 x y y)
cost-diff0
#s(approx (- (* (+ x 1) y) x) (fma.f64 x y y))
cost-diff0
(neg.f64 x)
cost-diff0
#s(approx (- (* (+ x 1) y) x) (neg.f64 x))
Rules
608×lower-fma.f32
604×lower-fma.f64
256×lower-*.f32
254×lower-*.f64
168×lower-+.f64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01577
02174
13674
26374
39774
418874
537374
655274
763674
864274
964474
064474
Stop Event
iter limit
saturated
iter limit
Calls
Call 1
Inputs
#s(approx (- (* (+ x 1) y) x) (neg.f64 x))
(neg.f64 x)
x
#s(approx (- (* (+ x 1) y) x) (fma.f64 x y y))
(fma.f64 x y y)
x
y
#s(approx (- (* (+ x 1) y) x) (fma.f64 x y (neg.f64 x)))
(fma.f64 x y (neg.f64 x))
x
y
(neg.f64 x)
(-.f64 (*.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y) x)
(*.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y)
#s(approx (+ x 1) #s(literal 1 binary64))
#s(literal 1 binary64)
y
x
Outputs
#s(approx (- (* (+ x 1) y) x) (neg.f64 x))
(neg.f64 x)
x
#s(approx (- (* (+ x 1) y) x) (fma.f64 x y y))
#s(approx (- (* (+ x 1) y) x) (fma.f64 y x y))
(fma.f64 x y y)
(fma.f64 y x y)
x
y
#s(approx (- (* (+ x 1) y) x) (fma.f64 x y (neg.f64 x)))
#s(approx (- (* (+ x 1) y) x) (fma.f64 y x (neg.f64 x)))
(fma.f64 x y (neg.f64 x))
(fma.f64 y x (neg.f64 x))
x
y
(neg.f64 x)
(-.f64 (*.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y) x)
(fma.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y (neg.f64 x))
(*.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y)
#s(approx (+ x 1) #s(literal 1 binary64))
#s(literal 1 binary64)
y
x

localize28.0ms (0.6%)

Memory
30.9MiB live, 70.2MiB allocated
Localize:

Found 10 expressions of interest:

NewMetricScoreProgram
accuracy0.01171875
(*.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y)
accuracy0.019352329337448734
(-.f64 (*.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y) x)
accuracy32.99111241558671
#s(approx (+ x 1) #s(literal 1 binary64))
accuracy0
(fma.f64 x y (neg.f64 x))
accuracy0
(neg.f64 x)
accuracy22.486991811073395
#s(approx (- (* (+ x 1) y) x) (fma.f64 x y (neg.f64 x)))
accuracy0
(fma.f64 x y y)
accuracy25.69678604779048
#s(approx (- (* (+ x 1) y) x) (fma.f64 x y y))
accuracy0
(neg.f64 x)
accuracy37.74236949971486
#s(approx (- (* (+ x 1) y) x) (neg.f64 x))
Samples
19.0ms256×0valid
Compiler

Compiled 61 to 12 computations (80.3% saved)

Precisions
Click to see histograms. Total time spent on operations: 10.0ms
ival-add: 4.0ms (41.9% of total)
ival-mult: 3.0ms (31.4% of total)
ival-sub: 1.0ms (10.5% of total)
ival-neg: 1.0ms (10.5% of total)
ival-true: 0.0ms (0% of total)
exact: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

series10.0ms (0.2%)

Memory
-18.0MiB live, 21.1MiB allocated
Counts
9 → 192
Calls
Call 1
Inputs
#s(alt #s(approx (- (* (+ x 1) y) x) (neg.f64 x)) (patch #s(approx (- (* (+ x 1) y) x) (neg.f64 x)) #<representation binary64>) () ())
#s(alt (neg.f64 x) (patch (neg.f64 x) #<representation binary64>) () ())
#s(alt #s(approx (- (* (+ x 1) y) x) (fma.f64 x y y)) (patch #s(approx (- (* (+ x 1) y) x) (fma.f64 x y y)) #<representation binary64>) () ())
#s(alt (fma.f64 x y y) (patch (fma.f64 x y y) #<representation binary64>) () ())
#s(alt #s(approx (- (* (+ x 1) y) x) (fma.f64 x y (neg.f64 x))) (patch #s(approx (- (* (+ x 1) y) x) (fma.f64 x y (neg.f64 x))) #<representation binary64>) () ())
#s(alt (fma.f64 x y (neg.f64 x)) (patch (fma.f64 x y (neg.f64 x)) #<representation binary64>) () ())
#s(alt (-.f64 (*.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y) x) (patch (-.f64 (*.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y) x) #<representation binary64>) () ())
#s(alt (*.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y) (patch (*.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y) #<representation binary64>) () ())
#s(alt #s(approx (+ x 1) #s(literal 1 binary64)) (patch #s(approx (+ x 1) #s(literal 1 binary64)) #<representation binary64>) () ())
Outputs
#s(alt (* -1 x) (taylor 0 y) (#s(alt #s(approx (- (* (+ x 1) y) x) (neg.f64 x)) (patch #s(approx (- (* (+ x 1) y) x) (neg.f64 x)) #<representation binary64>) () ())) ())
#s(alt (- (* y (+ 1 x)) x) (taylor 0 y) (#s(alt #s(approx (- (* (+ x 1) y) x) (neg.f64 x)) (patch #s(approx (- (* (+ x 1) y) x) (neg.f64 x)) #<representation binary64>) () ())) ())
#s(alt (- (* y (+ 1 x)) x) (taylor 0 y) (#s(alt #s(approx (- (* (+ x 1) y) x) (neg.f64 x)) (patch #s(approx (- (* (+ x 1) y) x) (neg.f64 x)) #<representation binary64>) () ())) ())
#s(alt (- (* y (+ 1 x)) x) (taylor 0 y) (#s(alt #s(approx (- (* (+ x 1) y) x) (neg.f64 x)) (patch #s(approx (- (* (+ x 1) y) x) (neg.f64 x)) #<representation binary64>) () ())) ())
#s(alt (* -1 x) (taylor 0 y) (#s(alt #s(approx (- (* (+ x 1) y) x) (fma.f64 x y y)) (patch #s(approx (- (* (+ x 1) y) x) (fma.f64 x y y)) #<representation binary64>) () ())) ())
#s(alt (- (* y (+ 1 x)) x) (taylor 0 y) (#s(alt #s(approx (- (* (+ x 1) y) x) (fma.f64 x y y)) (patch #s(approx (- (* (+ x 1) y) x) (fma.f64 x y y)) #<representation binary64>) () ())) ())
#s(alt (- (* y (+ 1 x)) x) (taylor 0 y) (#s(alt #s(approx (- (* (+ x 1) y) x) (fma.f64 x y y)) (patch #s(approx (- (* (+ x 1) y) x) (fma.f64 x y y)) #<representation binary64>) () ())) ())
#s(alt (- (* y (+ 1 x)) x) (taylor 0 y) (#s(alt #s(approx (- (* (+ x 1) y) x) (fma.f64 x y y)) (patch #s(approx (- (* (+ x 1) y) x) (fma.f64 x y y)) #<representation binary64>) () ())) ())
#s(alt (* y (+ 1 x)) (taylor 0 y) (#s(alt (fma.f64 x y y) (patch (fma.f64 x y y) #<representation binary64>) () ())) ())
#s(alt (* y (+ 1 x)) (taylor 0 y) (#s(alt (fma.f64 x y y) (patch (fma.f64 x y y) #<representation binary64>) () ())) ())
#s(alt (* y (+ 1 x)) (taylor 0 y) (#s(alt (fma.f64 x y y) (patch (fma.f64 x y y) #<representation binary64>) () ())) ())
#s(alt (* y (+ 1 x)) (taylor 0 y) (#s(alt (fma.f64 x y y) (patch (fma.f64 x y y) #<representation binary64>) () ())) ())
#s(alt (* -1 x) (taylor 0 y) (#s(alt #s(approx (- (* (+ x 1) y) x) (fma.f64 x y (neg.f64 x))) (patch #s(approx (- (* (+ x 1) y) x) (fma.f64 x y (neg.f64 x))) #<representation binary64>) () ())) ())
#s(alt (- (* y (+ 1 x)) x) (taylor 0 y) (#s(alt #s(approx (- (* (+ x 1) y) x) (fma.f64 x y (neg.f64 x))) (patch #s(approx (- (* (+ x 1) y) x) (fma.f64 x y (neg.f64 x))) #<representation binary64>) () ())) ())
#s(alt (- (* y (+ 1 x)) x) (taylor 0 y) (#s(alt #s(approx (- (* (+ x 1) y) x) (fma.f64 x y (neg.f64 x))) (patch #s(approx (- (* (+ x 1) y) x) (fma.f64 x y (neg.f64 x))) #<representation binary64>) () ())) ())
#s(alt (- (* y (+ 1 x)) x) (taylor 0 y) (#s(alt #s(approx (- (* (+ x 1) y) x) (fma.f64 x y (neg.f64 x))) (patch #s(approx (- (* (+ x 1) y) x) (fma.f64 x y (neg.f64 x))) #<representation binary64>) () ())) ())
#s(alt (* -1 x) (taylor 0 y) (#s(alt (fma.f64 x y (neg.f64 x)) (patch (fma.f64 x y (neg.f64 x)) #<representation binary64>) () ())) ())
#s(alt (- (* x y) x) (taylor 0 y) (#s(alt (fma.f64 x y (neg.f64 x)) (patch (fma.f64 x y (neg.f64 x)) #<representation binary64>) () ())) ())
#s(alt (- (* x y) x) (taylor 0 y) (#s(alt (fma.f64 x y (neg.f64 x)) (patch (fma.f64 x y (neg.f64 x)) #<representation binary64>) () ())) ())
#s(alt (- (* x y) x) (taylor 0 y) (#s(alt (fma.f64 x y (neg.f64 x)) (patch (fma.f64 x y (neg.f64 x)) #<representation binary64>) () ())) ())
#s(alt (* -1 x) (taylor 0 y) (#s(alt (-.f64 (*.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y) x) (patch (-.f64 (*.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y) x) #<representation binary64>) () ())) ())
#s(alt (- (* y (+ 1 x)) x) (taylor 0 y) (#s(alt (-.f64 (*.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y) x) (patch (-.f64 (*.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y) x) #<representation binary64>) () ())) ())
#s(alt (- (* y (+ 1 x)) x) (taylor 0 y) (#s(alt (-.f64 (*.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y) x) (patch (-.f64 (*.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y) x) #<representation binary64>) () ())) ())
#s(alt (- (* y (+ 1 x)) x) (taylor 0 y) (#s(alt (-.f64 (*.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y) x) (patch (-.f64 (*.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y) x) #<representation binary64>) () ())) ())
#s(alt (* y (+ 1 x)) (taylor 0 y) (#s(alt (*.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y) (patch (*.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y) #<representation binary64>) () ())) ())
#s(alt (* y (+ 1 x)) (taylor 0 y) (#s(alt (*.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y) (patch (*.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y) #<representation binary64>) () ())) ())
#s(alt (* y (+ 1 x)) (taylor 0 y) (#s(alt (*.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y) (patch (*.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y) #<representation binary64>) () ())) ())
#s(alt (* y (+ 1 x)) (taylor 0 y) (#s(alt (*.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y) (patch (*.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y) #<representation binary64>) () ())) ())
#s(alt (* y (+ 1 x)) (taylor inf y) (#s(alt #s(approx (- (* (+ x 1) y) x) (neg.f64 x)) (patch #s(approx (- (* (+ x 1) y) x) (neg.f64 x)) #<representation binary64>) () ())) ())
#s(alt (* y (+ 1 (+ x (* -1 (/ x y))))) (taylor inf y) (#s(alt #s(approx (- (* (+ x 1) y) x) (neg.f64 x)) (patch #s(approx (- (* (+ x 1) y) x) (neg.f64 x)) #<representation binary64>) () ())) ())
#s(alt (* y (+ 1 (+ x (* -1 (/ x y))))) (taylor inf y) (#s(alt #s(approx (- (* (+ x 1) y) x) (neg.f64 x)) (patch #s(approx (- (* (+ x 1) y) x) (neg.f64 x)) #<representation binary64>) () ())) ())
#s(alt (* y (+ 1 (+ x (* -1 (/ x y))))) (taylor inf y) (#s(alt #s(approx (- (* (+ x 1) y) x) (neg.f64 x)) (patch #s(approx (- (* (+ x 1) y) x) (neg.f64 x)) #<representation binary64>) () ())) ())
#s(alt (* y (+ 1 x)) (taylor inf y) (#s(alt #s(approx (- (* (+ x 1) y) x) (fma.f64 x y y)) (patch #s(approx (- (* (+ x 1) y) x) (fma.f64 x y y)) #<representation binary64>) () ())) ())
#s(alt (* y (+ 1 (+ x (* -1 (/ x y))))) (taylor inf y) (#s(alt #s(approx (- (* (+ x 1) y) x) (fma.f64 x y y)) (patch #s(approx (- (* (+ x 1) y) x) (fma.f64 x y y)) #<representation binary64>) () ())) ())
#s(alt (* y (+ 1 (+ x (* -1 (/ x y))))) (taylor inf y) (#s(alt #s(approx (- (* (+ x 1) y) x) (fma.f64 x y y)) (patch #s(approx (- (* (+ x 1) y) x) (fma.f64 x y y)) #<representation binary64>) () ())) ())
#s(alt (* y (+ 1 (+ x (* -1 (/ x y))))) (taylor inf y) (#s(alt #s(approx (- (* (+ x 1) y) x) (fma.f64 x y y)) (patch #s(approx (- (* (+ x 1) y) x) (fma.f64 x y y)) #<representation binary64>) () ())) ())
#s(alt (* y (+ 1 x)) (taylor inf y) (#s(alt (fma.f64 x y y) (patch (fma.f64 x y y) #<representation binary64>) () ())) ())
#s(alt (* y (+ 1 x)) (taylor inf y) (#s(alt (fma.f64 x y y) (patch (fma.f64 x y y) #<representation binary64>) () ())) ())
#s(alt (* y (+ 1 x)) (taylor inf y) (#s(alt (fma.f64 x y y) (patch (fma.f64 x y y) #<representation binary64>) () ())) ())
#s(alt (* y (+ 1 x)) (taylor inf y) (#s(alt (fma.f64 x y y) (patch (fma.f64 x y y) #<representation binary64>) () ())) ())
#s(alt (* y (+ 1 x)) (taylor inf y) (#s(alt #s(approx (- (* (+ x 1) y) x) (fma.f64 x y (neg.f64 x))) (patch #s(approx (- (* (+ x 1) y) x) (fma.f64 x y (neg.f64 x))) #<representation binary64>) () ())) ())
#s(alt (* y (+ 1 (+ x (* -1 (/ x y))))) (taylor inf y) (#s(alt #s(approx (- (* (+ x 1) y) x) (fma.f64 x y (neg.f64 x))) (patch #s(approx (- (* (+ x 1) y) x) (fma.f64 x y (neg.f64 x))) #<representation binary64>) () ())) ())
#s(alt (* y (+ 1 (+ x (* -1 (/ x y))))) (taylor inf y) (#s(alt #s(approx (- (* (+ x 1) y) x) (fma.f64 x y (neg.f64 x))) (patch #s(approx (- (* (+ x 1) y) x) (fma.f64 x y (neg.f64 x))) #<representation binary64>) () ())) ())
#s(alt (* y (+ 1 (+ x (* -1 (/ x y))))) (taylor inf y) (#s(alt #s(approx (- (* (+ x 1) y) x) (fma.f64 x y (neg.f64 x))) (patch #s(approx (- (* (+ x 1) y) x) (fma.f64 x y (neg.f64 x))) #<representation binary64>) () ())) ())
#s(alt (* x y) (taylor inf y) (#s(alt (fma.f64 x y (neg.f64 x)) (patch (fma.f64 x y (neg.f64 x)) #<representation binary64>) () ())) ())
#s(alt (* y (+ x (* -1 (/ x y)))) (taylor inf y) (#s(alt (fma.f64 x y (neg.f64 x)) (patch (fma.f64 x y (neg.f64 x)) #<representation binary64>) () ())) ())
#s(alt (* y (+ x (* -1 (/ x y)))) (taylor inf y) (#s(alt (fma.f64 x y (neg.f64 x)) (patch (fma.f64 x y (neg.f64 x)) #<representation binary64>) () ())) ())
#s(alt (* y (+ x (* -1 (/ x y)))) (taylor inf y) (#s(alt (fma.f64 x y (neg.f64 x)) (patch (fma.f64 x y (neg.f64 x)) #<representation binary64>) () ())) ())
#s(alt (* y (+ 1 x)) (taylor inf y) (#s(alt (-.f64 (*.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y) x) (patch (-.f64 (*.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y) x) #<representation binary64>) () ())) ())
#s(alt (* y (+ 1 (+ x (* -1 (/ x y))))) (taylor inf y) (#s(alt (-.f64 (*.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y) x) (patch (-.f64 (*.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y) x) #<representation binary64>) () ())) ())
#s(alt (* y (+ 1 (+ x (* -1 (/ x y))))) (taylor inf y) (#s(alt (-.f64 (*.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y) x) (patch (-.f64 (*.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y) x) #<representation binary64>) () ())) ())
#s(alt (* y (+ 1 (+ x (* -1 (/ x y))))) (taylor inf y) (#s(alt (-.f64 (*.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y) x) (patch (-.f64 (*.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y) x) #<representation binary64>) () ())) ())
#s(alt (* y (+ 1 x)) (taylor inf y) (#s(alt (*.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y) (patch (*.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y) #<representation binary64>) () ())) ())
#s(alt (* y (+ 1 x)) (taylor inf y) (#s(alt (*.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y) (patch (*.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y) #<representation binary64>) () ())) ())
#s(alt (* y (+ 1 x)) (taylor inf y) (#s(alt (*.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y) (patch (*.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y) #<representation binary64>) () ())) ())
#s(alt (* y (+ 1 x)) (taylor inf y) (#s(alt (*.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y) (patch (*.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y) #<representation binary64>) () ())) ())
#s(alt (* y (+ 1 x)) (taylor -inf y) (#s(alt #s(approx (- (* (+ x 1) y) x) (neg.f64 x)) (patch #s(approx (- (* (+ x 1) y) x) (neg.f64 x)) #<representation binary64>) () ())) ())
#s(alt (* -1 (* y (+ (* -1 (+ 1 x)) (/ x y)))) (taylor -inf y) (#s(alt #s(approx (- (* (+ x 1) y) x) (neg.f64 x)) (patch #s(approx (- (* (+ x 1) y) x) (neg.f64 x)) #<representation binary64>) () ())) ())
#s(alt (* -1 (* y (+ (* -1 (+ 1 x)) (/ x y)))) (taylor -inf y) (#s(alt #s(approx (- (* (+ x 1) y) x) (neg.f64 x)) (patch #s(approx (- (* (+ x 1) y) x) (neg.f64 x)) #<representation binary64>) () ())) ())
#s(alt (* -1 (* y (+ (* -1 (+ 1 x)) (/ x y)))) (taylor -inf y) (#s(alt #s(approx (- (* (+ x 1) y) x) (neg.f64 x)) (patch #s(approx (- (* (+ x 1) y) x) (neg.f64 x)) #<representation binary64>) () ())) ())
#s(alt (* y (+ 1 x)) (taylor -inf y) (#s(alt #s(approx (- (* (+ x 1) y) x) (fma.f64 x y y)) (patch #s(approx (- (* (+ x 1) y) x) (fma.f64 x y y)) #<representation binary64>) () ())) ())
#s(alt (* -1 (* y (+ (* -1 (+ 1 x)) (/ x y)))) (taylor -inf y) (#s(alt #s(approx (- (* (+ x 1) y) x) (fma.f64 x y y)) (patch #s(approx (- (* (+ x 1) y) x) (fma.f64 x y y)) #<representation binary64>) () ())) ())
#s(alt (* -1 (* y (+ (* -1 (+ 1 x)) (/ x y)))) (taylor -inf y) (#s(alt #s(approx (- (* (+ x 1) y) x) (fma.f64 x y y)) (patch #s(approx (- (* (+ x 1) y) x) (fma.f64 x y y)) #<representation binary64>) () ())) ())
#s(alt (* -1 (* y (+ (* -1 (+ 1 x)) (/ x y)))) (taylor -inf y) (#s(alt #s(approx (- (* (+ x 1) y) x) (fma.f64 x y y)) (patch #s(approx (- (* (+ x 1) y) x) (fma.f64 x y y)) #<representation binary64>) () ())) ())
#s(alt (* -1 (* y (- (* -1 x) 1))) (taylor -inf y) (#s(alt (fma.f64 x y y) (patch (fma.f64 x y y) #<representation binary64>) () ())) ())
#s(alt (* -1 (* y (- (* -1 x) 1))) (taylor -inf y) (#s(alt (fma.f64 x y y) (patch (fma.f64 x y y) #<representation binary64>) () ())) ())
#s(alt (* -1 (* y (- (* -1 x) 1))) (taylor -inf y) (#s(alt (fma.f64 x y y) (patch (fma.f64 x y y) #<representation binary64>) () ())) ())
#s(alt (* -1 (* y (- (* -1 x) 1))) (taylor -inf y) (#s(alt (fma.f64 x y y) (patch (fma.f64 x y y) #<representation binary64>) () ())) ())
#s(alt (* y (+ 1 x)) (taylor -inf y) (#s(alt #s(approx (- (* (+ x 1) y) x) (fma.f64 x y (neg.f64 x))) (patch #s(approx (- (* (+ x 1) y) x) (fma.f64 x y (neg.f64 x))) #<representation binary64>) () ())) ())
#s(alt (* -1 (* y (+ (* -1 (+ 1 x)) (/ x y)))) (taylor -inf y) (#s(alt #s(approx (- (* (+ x 1) y) x) (fma.f64 x y (neg.f64 x))) (patch #s(approx (- (* (+ x 1) y) x) (fma.f64 x y (neg.f64 x))) #<representation binary64>) () ())) ())
#s(alt (* -1 (* y (+ (* -1 (+ 1 x)) (/ x y)))) (taylor -inf y) (#s(alt #s(approx (- (* (+ x 1) y) x) (fma.f64 x y (neg.f64 x))) (patch #s(approx (- (* (+ x 1) y) x) (fma.f64 x y (neg.f64 x))) #<representation binary64>) () ())) ())
#s(alt (* -1 (* y (+ (* -1 (+ 1 x)) (/ x y)))) (taylor -inf y) (#s(alt #s(approx (- (* (+ x 1) y) x) (fma.f64 x y (neg.f64 x))) (patch #s(approx (- (* (+ x 1) y) x) (fma.f64 x y (neg.f64 x))) #<representation binary64>) () ())) ())
#s(alt (* x y) (taylor -inf y) (#s(alt (fma.f64 x y (neg.f64 x)) (patch (fma.f64 x y (neg.f64 x)) #<representation binary64>) () ())) ())
#s(alt (* -1 (* y (+ (* -1 x) (/ x y)))) (taylor -inf y) (#s(alt (fma.f64 x y (neg.f64 x)) (patch (fma.f64 x y (neg.f64 x)) #<representation binary64>) () ())) ())
#s(alt (* -1 (* y (+ (* -1 x) (/ x y)))) (taylor -inf y) (#s(alt (fma.f64 x y (neg.f64 x)) (patch (fma.f64 x y (neg.f64 x)) #<representation binary64>) () ())) ())
#s(alt (* -1 (* y (+ (* -1 x) (/ x y)))) (taylor -inf y) (#s(alt (fma.f64 x y (neg.f64 x)) (patch (fma.f64 x y (neg.f64 x)) #<representation binary64>) () ())) ())
#s(alt (* y (+ 1 x)) (taylor -inf y) (#s(alt (-.f64 (*.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y) x) (patch (-.f64 (*.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y) x) #<representation binary64>) () ())) ())
#s(alt (* -1 (* y (+ (* -1 (+ 1 x)) (/ x y)))) (taylor -inf y) (#s(alt (-.f64 (*.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y) x) (patch (-.f64 (*.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y) x) #<representation binary64>) () ())) ())
#s(alt (* -1 (* y (+ (* -1 (+ 1 x)) (/ x y)))) (taylor -inf y) (#s(alt (-.f64 (*.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y) x) (patch (-.f64 (*.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y) x) #<representation binary64>) () ())) ())
#s(alt (* -1 (* y (+ (* -1 (+ 1 x)) (/ x y)))) (taylor -inf y) (#s(alt (-.f64 (*.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y) x) (patch (-.f64 (*.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y) x) #<representation binary64>) () ())) ())
#s(alt (* y (+ 1 x)) (taylor -inf y) (#s(alt (*.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y) (patch (*.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y) #<representation binary64>) () ())) ())
#s(alt (* y (+ 1 x)) (taylor -inf y) (#s(alt (*.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y) (patch (*.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y) #<representation binary64>) () ())) ())
#s(alt (* y (+ 1 x)) (taylor -inf y) (#s(alt (*.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y) (patch (*.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y) #<representation binary64>) () ())) ())
#s(alt (* y (+ 1 x)) (taylor -inf y) (#s(alt (*.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y) (patch (*.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y) #<representation binary64>) () ())) ())
#s(alt y (taylor 0 x) (#s(alt #s(approx (- (* (+ x 1) y) x) (neg.f64 x)) (patch #s(approx (- (* (+ x 1) y) x) (neg.f64 x)) #<representation binary64>) () ())) ())
#s(alt (+ y (* x (- y 1))) (taylor 0 x) (#s(alt #s(approx (- (* (+ x 1) y) x) (neg.f64 x)) (patch #s(approx (- (* (+ x 1) y) x) (neg.f64 x)) #<representation binary64>) () ())) ())
#s(alt (+ y (* x (- y 1))) (taylor 0 x) (#s(alt #s(approx (- (* (+ x 1) y) x) (neg.f64 x)) (patch #s(approx (- (* (+ x 1) y) x) (neg.f64 x)) #<representation binary64>) () ())) ())
#s(alt (+ y (* x (- y 1))) (taylor 0 x) (#s(alt #s(approx (- (* (+ x 1) y) x) (neg.f64 x)) (patch #s(approx (- (* (+ x 1) y) x) (neg.f64 x)) #<representation binary64>) () ())) ())
#s(alt (* -1 x) (taylor 0 x) (#s(alt (neg.f64 x) (patch (neg.f64 x) #<representation binary64>) () ())) ())
#s(alt (* -1 x) (taylor 0 x) (#s(alt (neg.f64 x) (patch (neg.f64 x) #<representation binary64>) () ())) ())
#s(alt (* -1 x) (taylor 0 x) (#s(alt (neg.f64 x) (patch (neg.f64 x) #<representation binary64>) () ())) ())
#s(alt (* -1 x) (taylor 0 x) (#s(alt (neg.f64 x) (patch (neg.f64 x) #<representation binary64>) () ())) ())
#s(alt y (taylor 0 x) (#s(alt #s(approx (- (* (+ x 1) y) x) (fma.f64 x y y)) (patch #s(approx (- (* (+ x 1) y) x) (fma.f64 x y y)) #<representation binary64>) () ())) ())
#s(alt (+ y (* x (- y 1))) (taylor 0 x) (#s(alt #s(approx (- (* (+ x 1) y) x) (fma.f64 x y y)) (patch #s(approx (- (* (+ x 1) y) x) (fma.f64 x y y)) #<representation binary64>) () ())) ())
#s(alt (+ y (* x (- y 1))) (taylor 0 x) (#s(alt #s(approx (- (* (+ x 1) y) x) (fma.f64 x y y)) (patch #s(approx (- (* (+ x 1) y) x) (fma.f64 x y y)) #<representation binary64>) () ())) ())
#s(alt (+ y (* x (- y 1))) (taylor 0 x) (#s(alt #s(approx (- (* (+ x 1) y) x) (fma.f64 x y y)) (patch #s(approx (- (* (+ x 1) y) x) (fma.f64 x y y)) #<representation binary64>) () ())) ())
#s(alt y (taylor 0 x) (#s(alt (fma.f64 x y y) (patch (fma.f64 x y y) #<representation binary64>) () ())) ())
#s(alt (+ y (* x y)) (taylor 0 x) (#s(alt (fma.f64 x y y) (patch (fma.f64 x y y) #<representation binary64>) () ())) ())
#s(alt (+ y (* x y)) (taylor 0 x) (#s(alt (fma.f64 x y y) (patch (fma.f64 x y y) #<representation binary64>) () ())) ())
#s(alt (+ y (* x y)) (taylor 0 x) (#s(alt (fma.f64 x y y) (patch (fma.f64 x y y) #<representation binary64>) () ())) ())
#s(alt y (taylor 0 x) (#s(alt #s(approx (- (* (+ x 1) y) x) (fma.f64 x y (neg.f64 x))) (patch #s(approx (- (* (+ x 1) y) x) (fma.f64 x y (neg.f64 x))) #<representation binary64>) () ())) ())
#s(alt (+ y (* x (- y 1))) (taylor 0 x) (#s(alt #s(approx (- (* (+ x 1) y) x) (fma.f64 x y (neg.f64 x))) (patch #s(approx (- (* (+ x 1) y) x) (fma.f64 x y (neg.f64 x))) #<representation binary64>) () ())) ())
#s(alt (+ y (* x (- y 1))) (taylor 0 x) (#s(alt #s(approx (- (* (+ x 1) y) x) (fma.f64 x y (neg.f64 x))) (patch #s(approx (- (* (+ x 1) y) x) (fma.f64 x y (neg.f64 x))) #<representation binary64>) () ())) ())
#s(alt (+ y (* x (- y 1))) (taylor 0 x) (#s(alt #s(approx (- (* (+ x 1) y) x) (fma.f64 x y (neg.f64 x))) (patch #s(approx (- (* (+ x 1) y) x) (fma.f64 x y (neg.f64 x))) #<representation binary64>) () ())) ())
#s(alt (* x (- y 1)) (taylor 0 x) (#s(alt (fma.f64 x y (neg.f64 x)) (patch (fma.f64 x y (neg.f64 x)) #<representation binary64>) () ())) ())
#s(alt (* x (- y 1)) (taylor 0 x) (#s(alt (fma.f64 x y (neg.f64 x)) (patch (fma.f64 x y (neg.f64 x)) #<representation binary64>) () ())) ())
#s(alt (* x (- y 1)) (taylor 0 x) (#s(alt (fma.f64 x y (neg.f64 x)) (patch (fma.f64 x y (neg.f64 x)) #<representation binary64>) () ())) ())
#s(alt (* x (- y 1)) (taylor 0 x) (#s(alt (fma.f64 x y (neg.f64 x)) (patch (fma.f64 x y (neg.f64 x)) #<representation binary64>) () ())) ())
#s(alt y (taylor 0 x) (#s(alt (-.f64 (*.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y) x) (patch (-.f64 (*.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y) x) #<representation binary64>) () ())) ())
#s(alt (+ y (* x (- y 1))) (taylor 0 x) (#s(alt (-.f64 (*.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y) x) (patch (-.f64 (*.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y) x) #<representation binary64>) () ())) ())
#s(alt (+ y (* x (- y 1))) (taylor 0 x) (#s(alt (-.f64 (*.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y) x) (patch (-.f64 (*.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y) x) #<representation binary64>) () ())) ())
#s(alt (+ y (* x (- y 1))) (taylor 0 x) (#s(alt (-.f64 (*.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y) x) (patch (-.f64 (*.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y) x) #<representation binary64>) () ())) ())
#s(alt y (taylor 0 x) (#s(alt (*.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y) (patch (*.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y) #<representation binary64>) () ())) ())
#s(alt (+ y (* x y)) (taylor 0 x) (#s(alt (*.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y) (patch (*.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y) #<representation binary64>) () ())) ())
#s(alt (+ y (* x y)) (taylor 0 x) (#s(alt (*.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y) (patch (*.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y) #<representation binary64>) () ())) ())
#s(alt (+ y (* x y)) (taylor 0 x) (#s(alt (*.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y) (patch (*.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y) #<representation binary64>) () ())) ())
#s(alt 1 (taylor 0 x) (#s(alt #s(approx (+ x 1) #s(literal 1 binary64)) (patch #s(approx (+ x 1) #s(literal 1 binary64)) #<representation binary64>) () ())) ())
#s(alt (+ 1 x) (taylor 0 x) (#s(alt #s(approx (+ x 1) #s(literal 1 binary64)) (patch #s(approx (+ x 1) #s(literal 1 binary64)) #<representation binary64>) () ())) ())
#s(alt (+ 1 x) (taylor 0 x) (#s(alt #s(approx (+ x 1) #s(literal 1 binary64)) (patch #s(approx (+ x 1) #s(literal 1 binary64)) #<representation binary64>) () ())) ())
#s(alt (+ 1 x) (taylor 0 x) (#s(alt #s(approx (+ x 1) #s(literal 1 binary64)) (patch #s(approx (+ x 1) #s(literal 1 binary64)) #<representation binary64>) () ())) ())
#s(alt (* x (- y 1)) (taylor inf x) (#s(alt #s(approx (- (* (+ x 1) y) x) (neg.f64 x)) (patch #s(approx (- (* (+ x 1) y) x) (neg.f64 x)) #<representation binary64>) () ())) ())
#s(alt (* x (- (+ y (/ y x)) 1)) (taylor inf x) (#s(alt #s(approx (- (* (+ x 1) y) x) (neg.f64 x)) (patch #s(approx (- (* (+ x 1) y) x) (neg.f64 x)) #<representation binary64>) () ())) ())
#s(alt (* x (- (+ y (/ y x)) 1)) (taylor inf x) (#s(alt #s(approx (- (* (+ x 1) y) x) (neg.f64 x)) (patch #s(approx (- (* (+ x 1) y) x) (neg.f64 x)) #<representation binary64>) () ())) ())
#s(alt (* x (- (+ y (/ y x)) 1)) (taylor inf x) (#s(alt #s(approx (- (* (+ x 1) y) x) (neg.f64 x)) (patch #s(approx (- (* (+ x 1) y) x) (neg.f64 x)) #<representation binary64>) () ())) ())
#s(alt (* -1 x) (taylor inf x) (#s(alt (neg.f64 x) (patch (neg.f64 x) #<representation binary64>) () ())) ())
#s(alt (* -1 x) (taylor inf x) (#s(alt (neg.f64 x) (patch (neg.f64 x) #<representation binary64>) () ())) ())
#s(alt (* -1 x) (taylor inf x) (#s(alt (neg.f64 x) (patch (neg.f64 x) #<representation binary64>) () ())) ())
#s(alt (* -1 x) (taylor inf x) (#s(alt (neg.f64 x) (patch (neg.f64 x) #<representation binary64>) () ())) ())
#s(alt (* x (- y 1)) (taylor inf x) (#s(alt #s(approx (- (* (+ x 1) y) x) (fma.f64 x y y)) (patch #s(approx (- (* (+ x 1) y) x) (fma.f64 x y y)) #<representation binary64>) () ())) ())
#s(alt (* x (- (+ y (/ y x)) 1)) (taylor inf x) (#s(alt #s(approx (- (* (+ x 1) y) x) (fma.f64 x y y)) (patch #s(approx (- (* (+ x 1) y) x) (fma.f64 x y y)) #<representation binary64>) () ())) ())
#s(alt (* x (- (+ y (/ y x)) 1)) (taylor inf x) (#s(alt #s(approx (- (* (+ x 1) y) x) (fma.f64 x y y)) (patch #s(approx (- (* (+ x 1) y) x) (fma.f64 x y y)) #<representation binary64>) () ())) ())
#s(alt (* x (- (+ y (/ y x)) 1)) (taylor inf x) (#s(alt #s(approx (- (* (+ x 1) y) x) (fma.f64 x y y)) (patch #s(approx (- (* (+ x 1) y) x) (fma.f64 x y y)) #<representation binary64>) () ())) ())
#s(alt (* x y) (taylor inf x) (#s(alt (fma.f64 x y y) (patch (fma.f64 x y y) #<representation binary64>) () ())) ())
#s(alt (* x (+ y (/ y x))) (taylor inf x) (#s(alt (fma.f64 x y y) (patch (fma.f64 x y y) #<representation binary64>) () ())) ())
#s(alt (* x (+ y (/ y x))) (taylor inf x) (#s(alt (fma.f64 x y y) (patch (fma.f64 x y y) #<representation binary64>) () ())) ())
#s(alt (* x (+ y (/ y x))) (taylor inf x) (#s(alt (fma.f64 x y y) (patch (fma.f64 x y y) #<representation binary64>) () ())) ())
#s(alt (* x (- y 1)) (taylor inf x) (#s(alt #s(approx (- (* (+ x 1) y) x) (fma.f64 x y (neg.f64 x))) (patch #s(approx (- (* (+ x 1) y) x) (fma.f64 x y (neg.f64 x))) #<representation binary64>) () ())) ())
#s(alt (* x (- (+ y (/ y x)) 1)) (taylor inf x) (#s(alt #s(approx (- (* (+ x 1) y) x) (fma.f64 x y (neg.f64 x))) (patch #s(approx (- (* (+ x 1) y) x) (fma.f64 x y (neg.f64 x))) #<representation binary64>) () ())) ())
#s(alt (* x (- (+ y (/ y x)) 1)) (taylor inf x) (#s(alt #s(approx (- (* (+ x 1) y) x) (fma.f64 x y (neg.f64 x))) (patch #s(approx (- (* (+ x 1) y) x) (fma.f64 x y (neg.f64 x))) #<representation binary64>) () ())) ())
#s(alt (* x (- (+ y (/ y x)) 1)) (taylor inf x) (#s(alt #s(approx (- (* (+ x 1) y) x) (fma.f64 x y (neg.f64 x))) (patch #s(approx (- (* (+ x 1) y) x) (fma.f64 x y (neg.f64 x))) #<representation binary64>) () ())) ())
#s(alt (* x (- y 1)) (taylor inf x) (#s(alt (fma.f64 x y (neg.f64 x)) (patch (fma.f64 x y (neg.f64 x)) #<representation binary64>) () ())) ())
#s(alt (* x (- y 1)) (taylor inf x) (#s(alt (fma.f64 x y (neg.f64 x)) (patch (fma.f64 x y (neg.f64 x)) #<representation binary64>) () ())) ())
#s(alt (* x (- y 1)) (taylor inf x) (#s(alt (fma.f64 x y (neg.f64 x)) (patch (fma.f64 x y (neg.f64 x)) #<representation binary64>) () ())) ())
#s(alt (* x (- y 1)) (taylor inf x) (#s(alt (fma.f64 x y (neg.f64 x)) (patch (fma.f64 x y (neg.f64 x)) #<representation binary64>) () ())) ())
#s(alt (* x (- y 1)) (taylor inf x) (#s(alt (-.f64 (*.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y) x) (patch (-.f64 (*.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y) x) #<representation binary64>) () ())) ())
#s(alt (* x (- (+ y (/ y x)) 1)) (taylor inf x) (#s(alt (-.f64 (*.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y) x) (patch (-.f64 (*.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y) x) #<representation binary64>) () ())) ())
#s(alt (* x (- (+ y (/ y x)) 1)) (taylor inf x) (#s(alt (-.f64 (*.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y) x) (patch (-.f64 (*.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y) x) #<representation binary64>) () ())) ())
#s(alt (* x (- (+ y (/ y x)) 1)) (taylor inf x) (#s(alt (-.f64 (*.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y) x) (patch (-.f64 (*.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y) x) #<representation binary64>) () ())) ())
#s(alt (* x y) (taylor inf x) (#s(alt (*.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y) (patch (*.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y) #<representation binary64>) () ())) ())
#s(alt (* x (+ y (/ y x))) (taylor inf x) (#s(alt (*.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y) (patch (*.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y) #<representation binary64>) () ())) ())
#s(alt (* x (+ y (/ y x))) (taylor inf x) (#s(alt (*.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y) (patch (*.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y) #<representation binary64>) () ())) ())
#s(alt (* x (+ y (/ y x))) (taylor inf x) (#s(alt (*.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y) (patch (*.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y) #<representation binary64>) () ())) ())
#s(alt x (taylor inf x) (#s(alt #s(approx (+ x 1) #s(literal 1 binary64)) (patch #s(approx (+ x 1) #s(literal 1 binary64)) #<representation binary64>) () ())) ())
#s(alt (* x (+ 1 (/ 1 x))) (taylor inf x) (#s(alt #s(approx (+ x 1) #s(literal 1 binary64)) (patch #s(approx (+ x 1) #s(literal 1 binary64)) #<representation binary64>) () ())) ())
#s(alt (* x (+ 1 (/ 1 x))) (taylor inf x) (#s(alt #s(approx (+ x 1) #s(literal 1 binary64)) (patch #s(approx (+ x 1) #s(literal 1 binary64)) #<representation binary64>) () ())) ())
#s(alt (* x (+ 1 (/ 1 x))) (taylor inf x) (#s(alt #s(approx (+ x 1) #s(literal 1 binary64)) (patch #s(approx (+ x 1) #s(literal 1 binary64)) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x (+ 1 (* -1 y)))) (taylor -inf x) (#s(alt #s(approx (- (* (+ x 1) y) x) (neg.f64 x)) (patch #s(approx (- (* (+ x 1) y) x) (neg.f64 x)) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x (+ 1 (+ (* -1 y) (* -1 (/ y x)))))) (taylor -inf x) (#s(alt #s(approx (- (* (+ x 1) y) x) (neg.f64 x)) (patch #s(approx (- (* (+ x 1) y) x) (neg.f64 x)) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x (+ 1 (+ (* -1 y) (* -1 (/ y x)))))) (taylor -inf x) (#s(alt #s(approx (- (* (+ x 1) y) x) (neg.f64 x)) (patch #s(approx (- (* (+ x 1) y) x) (neg.f64 x)) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x (+ 1 (+ (* -1 y) (* -1 (/ y x)))))) (taylor -inf x) (#s(alt #s(approx (- (* (+ x 1) y) x) (neg.f64 x)) (patch #s(approx (- (* (+ x 1) y) x) (neg.f64 x)) #<representation binary64>) () ())) ())
#s(alt (* -1 x) (taylor -inf x) (#s(alt (neg.f64 x) (patch (neg.f64 x) #<representation binary64>) () ())) ())
#s(alt (* -1 x) (taylor -inf x) (#s(alt (neg.f64 x) (patch (neg.f64 x) #<representation binary64>) () ())) ())
#s(alt (* -1 x) (taylor -inf x) (#s(alt (neg.f64 x) (patch (neg.f64 x) #<representation binary64>) () ())) ())
#s(alt (* -1 x) (taylor -inf x) (#s(alt (neg.f64 x) (patch (neg.f64 x) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x (+ 1 (* -1 y)))) (taylor -inf x) (#s(alt #s(approx (- (* (+ x 1) y) x) (fma.f64 x y y)) (patch #s(approx (- (* (+ x 1) y) x) (fma.f64 x y y)) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x (+ 1 (+ (* -1 y) (* -1 (/ y x)))))) (taylor -inf x) (#s(alt #s(approx (- (* (+ x 1) y) x) (fma.f64 x y y)) (patch #s(approx (- (* (+ x 1) y) x) (fma.f64 x y y)) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x (+ 1 (+ (* -1 y) (* -1 (/ y x)))))) (taylor -inf x) (#s(alt #s(approx (- (* (+ x 1) y) x) (fma.f64 x y y)) (patch #s(approx (- (* (+ x 1) y) x) (fma.f64 x y y)) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x (+ 1 (+ (* -1 y) (* -1 (/ y x)))))) (taylor -inf x) (#s(alt #s(approx (- (* (+ x 1) y) x) (fma.f64 x y y)) (patch #s(approx (- (* (+ x 1) y) x) (fma.f64 x y y)) #<representation binary64>) () ())) ())
#s(alt (* x y) (taylor -inf x) (#s(alt (fma.f64 x y y) (patch (fma.f64 x y y) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x (+ (* -1 y) (* -1 (/ y x))))) (taylor -inf x) (#s(alt (fma.f64 x y y) (patch (fma.f64 x y y) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x (+ (* -1 y) (* -1 (/ y x))))) (taylor -inf x) (#s(alt (fma.f64 x y y) (patch (fma.f64 x y y) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x (+ (* -1 y) (* -1 (/ y x))))) (taylor -inf x) (#s(alt (fma.f64 x y y) (patch (fma.f64 x y y) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x (+ 1 (* -1 y)))) (taylor -inf x) (#s(alt #s(approx (- (* (+ x 1) y) x) (fma.f64 x y (neg.f64 x))) (patch #s(approx (- (* (+ x 1) y) x) (fma.f64 x y (neg.f64 x))) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x (+ 1 (+ (* -1 y) (* -1 (/ y x)))))) (taylor -inf x) (#s(alt #s(approx (- (* (+ x 1) y) x) (fma.f64 x y (neg.f64 x))) (patch #s(approx (- (* (+ x 1) y) x) (fma.f64 x y (neg.f64 x))) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x (+ 1 (+ (* -1 y) (* -1 (/ y x)))))) (taylor -inf x) (#s(alt #s(approx (- (* (+ x 1) y) x) (fma.f64 x y (neg.f64 x))) (patch #s(approx (- (* (+ x 1) y) x) (fma.f64 x y (neg.f64 x))) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x (+ 1 (+ (* -1 y) (* -1 (/ y x)))))) (taylor -inf x) (#s(alt #s(approx (- (* (+ x 1) y) x) (fma.f64 x y (neg.f64 x))) (patch #s(approx (- (* (+ x 1) y) x) (fma.f64 x y (neg.f64 x))) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x (+ 1 (* -1 y)))) (taylor -inf x) (#s(alt (fma.f64 x y (neg.f64 x)) (patch (fma.f64 x y (neg.f64 x)) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x (+ 1 (* -1 y)))) (taylor -inf x) (#s(alt (fma.f64 x y (neg.f64 x)) (patch (fma.f64 x y (neg.f64 x)) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x (+ 1 (* -1 y)))) (taylor -inf x) (#s(alt (fma.f64 x y (neg.f64 x)) (patch (fma.f64 x y (neg.f64 x)) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x (+ 1 (* -1 y)))) (taylor -inf x) (#s(alt (fma.f64 x y (neg.f64 x)) (patch (fma.f64 x y (neg.f64 x)) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x (+ 1 (* -1 y)))) (taylor -inf x) (#s(alt (-.f64 (*.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y) x) (patch (-.f64 (*.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y) x) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x (+ 1 (+ (* -1 y) (* -1 (/ y x)))))) (taylor -inf x) (#s(alt (-.f64 (*.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y) x) (patch (-.f64 (*.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y) x) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x (+ 1 (+ (* -1 y) (* -1 (/ y x)))))) (taylor -inf x) (#s(alt (-.f64 (*.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y) x) (patch (-.f64 (*.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y) x) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x (+ 1 (+ (* -1 y) (* -1 (/ y x)))))) (taylor -inf x) (#s(alt (-.f64 (*.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y) x) (patch (-.f64 (*.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y) x) #<representation binary64>) () ())) ())
#s(alt (* x y) (taylor -inf x) (#s(alt (*.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y) (patch (*.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x (+ (* -1 y) (* -1 (/ y x))))) (taylor -inf x) (#s(alt (*.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y) (patch (*.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x (+ (* -1 y) (* -1 (/ y x))))) (taylor -inf x) (#s(alt (*.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y) (patch (*.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x (+ (* -1 y) (* -1 (/ y x))))) (taylor -inf x) (#s(alt (*.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y) (patch (*.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y) #<representation binary64>) () ())) ())
#s(alt x (taylor -inf x) (#s(alt #s(approx (+ x 1) #s(literal 1 binary64)) (patch #s(approx (+ x 1) #s(literal 1 binary64)) #<representation binary64>) () ())) ())
#s(alt (* x (+ 1 (/ 1 x))) (taylor -inf x) (#s(alt #s(approx (+ x 1) #s(literal 1 binary64)) (patch #s(approx (+ x 1) #s(literal 1 binary64)) #<representation binary64>) () ())) ())
#s(alt (* x (+ 1 (/ 1 x))) (taylor -inf x) (#s(alt #s(approx (+ x 1) #s(literal 1 binary64)) (patch #s(approx (+ x 1) #s(literal 1 binary64)) #<representation binary64>) () ())) ())
#s(alt (* x (+ 1 (/ 1 x))) (taylor -inf x) (#s(alt #s(approx (+ x 1) #s(literal 1 binary64)) (patch #s(approx (+ x 1) #s(literal 1 binary64)) #<representation binary64>) () ())) ())
Calls

6 calls:

TimeVariablePointExpression
2.0ms
y
@-inf
((- (* (+ x 1) y) x) (neg x) (- (* (+ x 1) y) x) (+ (* x y) y) (- (* (+ x 1) y) x) (+ (* x y) (neg x)) (- (* (+ x 1) y) x) (* (+ x 1) y) (+ x 1))
1.0ms
x
@inf
((- (* (+ x 1) y) x) (neg x) (- (* (+ x 1) y) x) (+ (* x y) y) (- (* (+ x 1) y) x) (+ (* x y) (neg x)) (- (* (+ x 1) y) x) (* (+ x 1) y) (+ x 1))
1.0ms
x
@-inf
((- (* (+ x 1) y) x) (neg x) (- (* (+ x 1) y) x) (+ (* x y) y) (- (* (+ x 1) y) x) (+ (* x y) (neg x)) (- (* (+ x 1) y) x) (* (+ x 1) y) (+ x 1))
1.0ms
y
@inf
((- (* (+ x 1) y) x) (neg x) (- (* (+ x 1) y) x) (+ (* x y) y) (- (* (+ x 1) y) x) (+ (* x y) (neg x)) (- (* (+ x 1) y) x) (* (+ x 1) y) (+ x 1))
1.0ms
x
@0
((- (* (+ x 1) y) x) (neg x) (- (* (+ x 1) y) x) (+ (* x y) y) (- (* (+ x 1) y) x) (+ (* x y) (neg x)) (- (* (+ x 1) y) x) (* (+ x 1) y) (+ x 1))

simplify146.0ms (2.9%)

Memory
-5.9MiB live, 151.2MiB allocated
Algorithm
egg-herbie
Rules
4 208×lower-*.f64
4 208×lower-*.f32
3 480×lower-fma.f64
3 480×lower-fma.f32
1 908×div-sub
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
049987
1170987
2441987
31071987
42529987
53601987
64346987
75290987
85816987
96382987
107441987
08110865
Stop Event
iter limit
node limit
Counts
192 → 184
Calls
Call 1
Inputs
(* -1 x)
(- (* y (+ 1 x)) x)
(- (* y (+ 1 x)) x)
(- (* y (+ 1 x)) x)
(* -1 x)
(- (* y (+ 1 x)) x)
(- (* y (+ 1 x)) x)
(- (* y (+ 1 x)) x)
(* y (+ 1 x))
(* y (+ 1 x))
(* y (+ 1 x))
(* y (+ 1 x))
(* -1 x)
(- (* y (+ 1 x)) x)
(- (* y (+ 1 x)) x)
(- (* y (+ 1 x)) x)
(* -1 x)
(- (* x y) x)
(- (* x y) x)
(- (* x y) x)
(* -1 x)
(- (* y (+ 1 x)) x)
(- (* y (+ 1 x)) x)
(- (* y (+ 1 x)) x)
(* y (+ 1 x))
(* y (+ 1 x))
(* y (+ 1 x))
(* y (+ 1 x))
(* y (+ 1 x))
(* y (+ 1 (+ x (* -1 (/ x y)))))
(* y (+ 1 (+ x (* -1 (/ x y)))))
(* y (+ 1 (+ x (* -1 (/ x y)))))
(* y (+ 1 x))
(* y (+ 1 (+ x (* -1 (/ x y)))))
(* y (+ 1 (+ x (* -1 (/ x y)))))
(* y (+ 1 (+ x (* -1 (/ x y)))))
(* y (+ 1 x))
(* y (+ 1 x))
(* y (+ 1 x))
(* y (+ 1 x))
(* y (+ 1 x))
(* y (+ 1 (+ x (* -1 (/ x y)))))
(* y (+ 1 (+ x (* -1 (/ x y)))))
(* y (+ 1 (+ x (* -1 (/ x y)))))
(* x y)
(* y (+ x (* -1 (/ x y))))
(* y (+ x (* -1 (/ x y))))
(* y (+ x (* -1 (/ x y))))
(* y (+ 1 x))
(* y (+ 1 (+ x (* -1 (/ x y)))))
(* y (+ 1 (+ x (* -1 (/ x y)))))
(* y (+ 1 (+ x (* -1 (/ x y)))))
(* y (+ 1 x))
(* y (+ 1 x))
(* y (+ 1 x))
(* y (+ 1 x))
(* y (+ 1 x))
(* -1 (* y (+ (* -1 (+ 1 x)) (/ x y))))
(* -1 (* y (+ (* -1 (+ 1 x)) (/ x y))))
(* -1 (* y (+ (* -1 (+ 1 x)) (/ x y))))
(* y (+ 1 x))
(* -1 (* y (+ (* -1 (+ 1 x)) (/ x y))))
(* -1 (* y (+ (* -1 (+ 1 x)) (/ x y))))
(* -1 (* y (+ (* -1 (+ 1 x)) (/ x y))))
(* -1 (* y (- (* -1 x) 1)))
(* -1 (* y (- (* -1 x) 1)))
(* -1 (* y (- (* -1 x) 1)))
(* -1 (* y (- (* -1 x) 1)))
(* y (+ 1 x))
(* -1 (* y (+ (* -1 (+ 1 x)) (/ x y))))
(* -1 (* y (+ (* -1 (+ 1 x)) (/ x y))))
(* -1 (* y (+ (* -1 (+ 1 x)) (/ x y))))
(* x y)
(* -1 (* y (+ (* -1 x) (/ x y))))
(* -1 (* y (+ (* -1 x) (/ x y))))
(* -1 (* y (+ (* -1 x) (/ x y))))
(* y (+ 1 x))
(* -1 (* y (+ (* -1 (+ 1 x)) (/ x y))))
(* -1 (* y (+ (* -1 (+ 1 x)) (/ x y))))
(* -1 (* y (+ (* -1 (+ 1 x)) (/ x y))))
(* y (+ 1 x))
(* y (+ 1 x))
(* y (+ 1 x))
(* y (+ 1 x))
y
(+ y (* x (- y 1)))
(+ y (* x (- y 1)))
(+ y (* x (- y 1)))
(* -1 x)
(* -1 x)
(* -1 x)
(* -1 x)
y
(+ y (* x (- y 1)))
(+ y (* x (- y 1)))
(+ y (* x (- y 1)))
y
(+ y (* x y))
(+ y (* x y))
(+ y (* x y))
y
(+ y (* x (- y 1)))
(+ y (* x (- y 1)))
(+ y (* x (- y 1)))
(* x (- y 1))
(* x (- y 1))
(* x (- y 1))
(* x (- y 1))
y
(+ y (* x (- y 1)))
(+ y (* x (- y 1)))
(+ y (* x (- y 1)))
y
(+ y (* x y))
(+ y (* x y))
(+ y (* x y))
1
(+ 1 x)
(+ 1 x)
(+ 1 x)
(* x (- y 1))
(* x (- (+ y (/ y x)) 1))
(* x (- (+ y (/ y x)) 1))
(* x (- (+ y (/ y x)) 1))
(* -1 x)
(* -1 x)
(* -1 x)
(* -1 x)
(* x (- y 1))
(* x (- (+ y (/ y x)) 1))
(* x (- (+ y (/ y x)) 1))
(* x (- (+ y (/ y x)) 1))
(* x y)
(* x (+ y (/ y x)))
(* x (+ y (/ y x)))
(* x (+ y (/ y x)))
(* x (- y 1))
(* x (- (+ y (/ y x)) 1))
(* x (- (+ y (/ y x)) 1))
(* x (- (+ y (/ y x)) 1))
(* x (- y 1))
(* x (- y 1))
(* x (- y 1))
(* x (- y 1))
(* x (- y 1))
(* x (- (+ y (/ y x)) 1))
(* x (- (+ y (/ y x)) 1))
(* x (- (+ y (/ y x)) 1))
(* x y)
(* x (+ y (/ y x)))
(* x (+ y (/ y x)))
(* x (+ y (/ y x)))
x
(* x (+ 1 (/ 1 x)))
(* x (+ 1 (/ 1 x)))
(* x (+ 1 (/ 1 x)))
(* -1 (* x (+ 1 (* -1 y))))
(* -1 (* x (+ 1 (+ (* -1 y) (* -1 (/ y x))))))
(* -1 (* x (+ 1 (+ (* -1 y) (* -1 (/ y x))))))
(* -1 (* x (+ 1 (+ (* -1 y) (* -1 (/ y x))))))
(* -1 x)
(* -1 x)
(* -1 x)
(* -1 x)
(* -1 (* x (+ 1 (* -1 y))))
(* -1 (* x (+ 1 (+ (* -1 y) (* -1 (/ y x))))))
(* -1 (* x (+ 1 (+ (* -1 y) (* -1 (/ y x))))))
(* -1 (* x (+ 1 (+ (* -1 y) (* -1 (/ y x))))))
(* x y)
(* -1 (* x (+ (* -1 y) (* -1 (/ y x)))))
(* -1 (* x (+ (* -1 y) (* -1 (/ y x)))))
(* -1 (* x (+ (* -1 y) (* -1 (/ y x)))))
(* -1 (* x (+ 1 (* -1 y))))
(* -1 (* x (+ 1 (+ (* -1 y) (* -1 (/ y x))))))
(* -1 (* x (+ 1 (+ (* -1 y) (* -1 (/ y x))))))
(* -1 (* x (+ 1 (+ (* -1 y) (* -1 (/ y x))))))
(* -1 (* x (+ 1 (* -1 y))))
(* -1 (* x (+ 1 (* -1 y))))
(* -1 (* x (+ 1 (* -1 y))))
(* -1 (* x (+ 1 (* -1 y))))
(* -1 (* x (+ 1 (* -1 y))))
(* -1 (* x (+ 1 (+ (* -1 y) (* -1 (/ y x))))))
(* -1 (* x (+ 1 (+ (* -1 y) (* -1 (/ y x))))))
(* -1 (* x (+ 1 (+ (* -1 y) (* -1 (/ y x))))))
(* x y)
(* -1 (* x (+ (* -1 y) (* -1 (/ y x)))))
(* -1 (* x (+ (* -1 y) (* -1 (/ y x)))))
(* -1 (* x (+ (* -1 y) (* -1 (/ y x)))))
x
(* x (+ 1 (/ 1 x)))
(* x (+ 1 (/ 1 x)))
(* x (+ 1 (/ 1 x)))
Outputs
(* -1 x)
(neg.f64 x)
(- (* y (+ 1 x)) x)
(fma.f64 (-.f64 y #s(literal 1 binary64)) x y)
(- (* y (+ 1 x)) x)
(fma.f64 (-.f64 y #s(literal 1 binary64)) x y)
(- (* y (+ 1 x)) x)
(fma.f64 (-.f64 y #s(literal 1 binary64)) x y)
(* -1 x)
(neg.f64 x)
(- (* y (+ 1 x)) x)
(fma.f64 (-.f64 y #s(literal 1 binary64)) x y)
(- (* y (+ 1 x)) x)
(fma.f64 (-.f64 y #s(literal 1 binary64)) x y)
(- (* y (+ 1 x)) x)
(fma.f64 (-.f64 y #s(literal 1 binary64)) x y)
(* y (+ 1 x))
(fma.f64 y x y)
(* y (+ 1 x))
(fma.f64 y x y)
(* y (+ 1 x))
(fma.f64 y x y)
(* y (+ 1 x))
(fma.f64 y x y)
(* -1 x)
(neg.f64 x)
(- (* y (+ 1 x)) x)
(fma.f64 (-.f64 y #s(literal 1 binary64)) x y)
(- (* y (+ 1 x)) x)
(fma.f64 (-.f64 y #s(literal 1 binary64)) x y)
(- (* y (+ 1 x)) x)
(fma.f64 (-.f64 y #s(literal 1 binary64)) x y)
(* -1 x)
(neg.f64 x)
(- (* x y) x)
(fma.f64 y x (neg.f64 x))
(- (* x y) x)
(fma.f64 y x (neg.f64 x))
(- (* x y) x)
(fma.f64 y x (neg.f64 x))
(* -1 x)
(neg.f64 x)
(- (* y (+ 1 x)) x)
(fma.f64 (-.f64 y #s(literal 1 binary64)) x y)
(- (* y (+ 1 x)) x)
(fma.f64 (-.f64 y #s(literal 1 binary64)) x y)
(- (* y (+ 1 x)) x)
(fma.f64 (-.f64 y #s(literal 1 binary64)) x y)
(* y (+ 1 x))
(fma.f64 y x y)
(* y (+ 1 x))
(fma.f64 y x y)
(* y (+ 1 x))
(fma.f64 y x y)
(* y (+ 1 x))
(fma.f64 y x y)
(* y (+ 1 x))
(fma.f64 y x y)
(* y (+ 1 (+ x (* -1 (/ x y)))))
(fma.f64 (-.f64 y #s(literal 1 binary64)) x y)
(* y (+ 1 (+ x (* -1 (/ x y)))))
(fma.f64 (-.f64 y #s(literal 1 binary64)) x y)
(* y (+ 1 (+ x (* -1 (/ x y)))))
(fma.f64 (-.f64 y #s(literal 1 binary64)) x y)
(* y (+ 1 x))
(fma.f64 y x y)
(* y (+ 1 (+ x (* -1 (/ x y)))))
(fma.f64 (-.f64 y #s(literal 1 binary64)) x y)
(* y (+ 1 (+ x (* -1 (/ x y)))))
(fma.f64 (-.f64 y #s(literal 1 binary64)) x y)
(* y (+ 1 (+ x (* -1 (/ x y)))))
(fma.f64 (-.f64 y #s(literal 1 binary64)) x y)
(* y (+ 1 x))
(fma.f64 y x y)
(* y (+ 1 x))
(fma.f64 y x y)
(* y (+ 1 x))
(fma.f64 y x y)
(* y (+ 1 x))
(fma.f64 y x y)
(* y (+ 1 x))
(fma.f64 y x y)
(* y (+ 1 (+ x (* -1 (/ x y)))))
(fma.f64 (-.f64 y #s(literal 1 binary64)) x y)
(* y (+ 1 (+ x (* -1 (/ x y)))))
(fma.f64 (-.f64 y #s(literal 1 binary64)) x y)
(* y (+ 1 (+ x (* -1 (/ x y)))))
(fma.f64 (-.f64 y #s(literal 1 binary64)) x y)
(* x y)
(*.f64 y x)
(* y (+ x (* -1 (/ x y))))
(fma.f64 y x (neg.f64 x))
(* y (+ x (* -1 (/ x y))))
(fma.f64 y x (neg.f64 x))
(* y (+ x (* -1 (/ x y))))
(fma.f64 y x (neg.f64 x))
(* y (+ 1 x))
(fma.f64 y x y)
(* y (+ 1 (+ x (* -1 (/ x y)))))
(fma.f64 (-.f64 y #s(literal 1 binary64)) x y)
(* y (+ 1 (+ x (* -1 (/ x y)))))
(fma.f64 (-.f64 y #s(literal 1 binary64)) x y)
(* y (+ 1 (+ x (* -1 (/ x y)))))
(fma.f64 (-.f64 y #s(literal 1 binary64)) x y)
(* y (+ 1 x))
(fma.f64 y x y)
(* y (+ 1 x))
(fma.f64 y x y)
(* y (+ 1 x))
(fma.f64 y x y)
(* y (+ 1 x))
(fma.f64 y x y)
(* y (+ 1 x))
(fma.f64 y x y)
(* -1 (* y (+ (* -1 (+ 1 x)) (/ x y))))
(fma.f64 (-.f64 y #s(literal 1 binary64)) x y)
(* -1 (* y (+ (* -1 (+ 1 x)) (/ x y))))
(fma.f64 (-.f64 y #s(literal 1 binary64)) x y)
(* -1 (* y (+ (* -1 (+ 1 x)) (/ x y))))
(fma.f64 (-.f64 y #s(literal 1 binary64)) x y)
(* y (+ 1 x))
(fma.f64 y x y)
(* -1 (* y (+ (* -1 (+ 1 x)) (/ x y))))
(fma.f64 (-.f64 y #s(literal 1 binary64)) x y)
(* -1 (* y (+ (* -1 (+ 1 x)) (/ x y))))
(fma.f64 (-.f64 y #s(literal 1 binary64)) x y)
(* -1 (* y (+ (* -1 (+ 1 x)) (/ x y))))
(fma.f64 (-.f64 y #s(literal 1 binary64)) x y)
(* -1 (* y (- (* -1 x) 1)))
(fma.f64 y x y)
(* -1 (* y (- (* -1 x) 1)))
(fma.f64 y x y)
(* -1 (* y (- (* -1 x) 1)))
(fma.f64 y x y)
(* -1 (* y (- (* -1 x) 1)))
(fma.f64 y x y)
(* y (+ 1 x))
(fma.f64 y x y)
(* -1 (* y (+ (* -1 (+ 1 x)) (/ x y))))
(fma.f64 (-.f64 y #s(literal 1 binary64)) x y)
(* -1 (* y (+ (* -1 (+ 1 x)) (/ x y))))
(fma.f64 (-.f64 y #s(literal 1 binary64)) x y)
(* -1 (* y (+ (* -1 (+ 1 x)) (/ x y))))
(fma.f64 (-.f64 y #s(literal 1 binary64)) x y)
(* x y)
(*.f64 y x)
(* -1 (* y (+ (* -1 x) (/ x y))))
(fma.f64 y x (neg.f64 x))
(* -1 (* y (+ (* -1 x) (/ x y))))
(fma.f64 y x (neg.f64 x))
(* -1 (* y (+ (* -1 x) (/ x y))))
(fma.f64 y x (neg.f64 x))
(* y (+ 1 x))
(fma.f64 y x y)
(* -1 (* y (+ (* -1 (+ 1 x)) (/ x y))))
(fma.f64 (-.f64 y #s(literal 1 binary64)) x y)
(* -1 (* y (+ (* -1 (+ 1 x)) (/ x y))))
(fma.f64 (-.f64 y #s(literal 1 binary64)) x y)
(* -1 (* y (+ (* -1 (+ 1 x)) (/ x y))))
(fma.f64 (-.f64 y #s(literal 1 binary64)) x y)
(* y (+ 1 x))
(fma.f64 y x y)
(* y (+ 1 x))
(fma.f64 y x y)
(* y (+ 1 x))
(fma.f64 y x y)
(* y (+ 1 x))
(fma.f64 y x y)
y
(+ y (* x (- y 1)))
(fma.f64 (-.f64 y #s(literal 1 binary64)) x y)
(+ y (* x (- y 1)))
(fma.f64 (-.f64 y #s(literal 1 binary64)) x y)
(+ y (* x (- y 1)))
(fma.f64 (-.f64 y #s(literal 1 binary64)) x y)
(* -1 x)
(neg.f64 x)
(* -1 x)
(neg.f64 x)
(* -1 x)
(neg.f64 x)
(* -1 x)
(neg.f64 x)
y
(+ y (* x (- y 1)))
(fma.f64 (-.f64 y #s(literal 1 binary64)) x y)
(+ y (* x (- y 1)))
(fma.f64 (-.f64 y #s(literal 1 binary64)) x y)
(+ y (* x (- y 1)))
(fma.f64 (-.f64 y #s(literal 1 binary64)) x y)
y
(+ y (* x y))
(fma.f64 y x y)
(+ y (* x y))
(fma.f64 y x y)
(+ y (* x y))
(fma.f64 y x y)
y
(+ y (* x (- y 1)))
(fma.f64 (-.f64 y #s(literal 1 binary64)) x y)
(+ y (* x (- y 1)))
(fma.f64 (-.f64 y #s(literal 1 binary64)) x y)
(+ y (* x (- y 1)))
(fma.f64 (-.f64 y #s(literal 1 binary64)) x y)
(* x (- y 1))
(fma.f64 y x (neg.f64 x))
(* x (- y 1))
(fma.f64 y x (neg.f64 x))
(* x (- y 1))
(fma.f64 y x (neg.f64 x))
(* x (- y 1))
(fma.f64 y x (neg.f64 x))
y
(+ y (* x (- y 1)))
(fma.f64 (-.f64 y #s(literal 1 binary64)) x y)
(+ y (* x (- y 1)))
(fma.f64 (-.f64 y #s(literal 1 binary64)) x y)
(+ y (* x (- y 1)))
(fma.f64 (-.f64 y #s(literal 1 binary64)) x y)
y
(+ y (* x y))
(fma.f64 y x y)
(+ y (* x y))
(fma.f64 y x y)
(+ y (* x y))
(fma.f64 y x y)
1
#s(literal 1 binary64)
(+ 1 x)
(-.f64 x #s(literal -1 binary64))
(+ 1 x)
(-.f64 x #s(literal -1 binary64))
(+ 1 x)
(-.f64 x #s(literal -1 binary64))
(* x (- y 1))
(fma.f64 y x (neg.f64 x))
(* x (- (+ y (/ y x)) 1))
(fma.f64 (-.f64 y #s(literal 1 binary64)) x y)
(* x (- (+ y (/ y x)) 1))
(fma.f64 (-.f64 y #s(literal 1 binary64)) x y)
(* x (- (+ y (/ y x)) 1))
(fma.f64 (-.f64 y #s(literal 1 binary64)) x y)
(* -1 x)
(neg.f64 x)
(* -1 x)
(neg.f64 x)
(* -1 x)
(neg.f64 x)
(* -1 x)
(neg.f64 x)
(* x (- y 1))
(fma.f64 y x (neg.f64 x))
(* x (- (+ y (/ y x)) 1))
(fma.f64 (-.f64 y #s(literal 1 binary64)) x y)
(* x (- (+ y (/ y x)) 1))
(fma.f64 (-.f64 y #s(literal 1 binary64)) x y)
(* x (- (+ y (/ y x)) 1))
(fma.f64 (-.f64 y #s(literal 1 binary64)) x y)
(* x y)
(*.f64 y x)
(* x (+ y (/ y x)))
(fma.f64 y x y)
(* x (+ y (/ y x)))
(fma.f64 y x y)
(* x (+ y (/ y x)))
(fma.f64 y x y)
(* x (- y 1))
(fma.f64 y x (neg.f64 x))
(* x (- (+ y (/ y x)) 1))
(fma.f64 (-.f64 y #s(literal 1 binary64)) x y)
(* x (- (+ y (/ y x)) 1))
(fma.f64 (-.f64 y #s(literal 1 binary64)) x y)
(* x (- (+ y (/ y x)) 1))
(fma.f64 (-.f64 y #s(literal 1 binary64)) x y)
(* x (- y 1))
(fma.f64 y x (neg.f64 x))
(* x (- y 1))
(fma.f64 y x (neg.f64 x))
(* x (- y 1))
(fma.f64 y x (neg.f64 x))
(* x (- y 1))
(fma.f64 y x (neg.f64 x))
(* x (- y 1))
(fma.f64 y x (neg.f64 x))
(* x (- (+ y (/ y x)) 1))
(fma.f64 (-.f64 y #s(literal 1 binary64)) x y)
(* x (- (+ y (/ y x)) 1))
(fma.f64 (-.f64 y #s(literal 1 binary64)) x y)
(* x (- (+ y (/ y x)) 1))
(fma.f64 (-.f64 y #s(literal 1 binary64)) x y)
(* x y)
(*.f64 y x)
(* x (+ y (/ y x)))
(fma.f64 y x y)
(* x (+ y (/ y x)))
(fma.f64 y x y)
(* x (+ y (/ y x)))
(fma.f64 y x y)
x
(* x (+ 1 (/ 1 x)))
(-.f64 x #s(literal -1 binary64))
(* x (+ 1 (/ 1 x)))
(-.f64 x #s(literal -1 binary64))
(* x (+ 1 (/ 1 x)))
(-.f64 x #s(literal -1 binary64))
(* -1 (* x (+ 1 (* -1 y))))
(fma.f64 y x (neg.f64 x))
(* -1 (* x (+ 1 (+ (* -1 y) (* -1 (/ y x))))))
(fma.f64 (-.f64 y #s(literal 1 binary64)) x y)
(* -1 (* x (+ 1 (+ (* -1 y) (* -1 (/ y x))))))
(fma.f64 (-.f64 y #s(literal 1 binary64)) x y)
(* -1 (* x (+ 1 (+ (* -1 y) (* -1 (/ y x))))))
(fma.f64 (-.f64 y #s(literal 1 binary64)) x y)
(* -1 x)
(neg.f64 x)
(* -1 x)
(neg.f64 x)
(* -1 x)
(neg.f64 x)
(* -1 x)
(neg.f64 x)
(* -1 (* x (+ 1 (* -1 y))))
(fma.f64 y x (neg.f64 x))
(* -1 (* x (+ 1 (+ (* -1 y) (* -1 (/ y x))))))
(fma.f64 (-.f64 y #s(literal 1 binary64)) x y)
(* -1 (* x (+ 1 (+ (* -1 y) (* -1 (/ y x))))))
(fma.f64 (-.f64 y #s(literal 1 binary64)) x y)
(* -1 (* x (+ 1 (+ (* -1 y) (* -1 (/ y x))))))
(fma.f64 (-.f64 y #s(literal 1 binary64)) x y)
(* x y)
(*.f64 y x)
(* -1 (* x (+ (* -1 y) (* -1 (/ y x)))))
(fma.f64 y x y)
(* -1 (* x (+ (* -1 y) (* -1 (/ y x)))))
(fma.f64 y x y)
(* -1 (* x (+ (* -1 y) (* -1 (/ y x)))))
(fma.f64 y x y)
(* -1 (* x (+ 1 (* -1 y))))
(fma.f64 y x (neg.f64 x))
(* -1 (* x (+ 1 (+ (* -1 y) (* -1 (/ y x))))))
(fma.f64 (-.f64 y #s(literal 1 binary64)) x y)
(* -1 (* x (+ 1 (+ (* -1 y) (* -1 (/ y x))))))
(fma.f64 (-.f64 y #s(literal 1 binary64)) x y)
(* -1 (* x (+ 1 (+ (* -1 y) (* -1 (/ y x))))))
(fma.f64 (-.f64 y #s(literal 1 binary64)) x y)
(* -1 (* x (+ 1 (* -1 y))))
(fma.f64 y x (neg.f64 x))
(* -1 (* x (+ 1 (* -1 y))))
(fma.f64 y x (neg.f64 x))
(* -1 (* x (+ 1 (* -1 y))))
(fma.f64 y x (neg.f64 x))
(* -1 (* x (+ 1 (* -1 y))))
(fma.f64 y x (neg.f64 x))
(* -1 (* x (+ 1 (* -1 y))))
(fma.f64 y x (neg.f64 x))
(* -1 (* x (+ 1 (+ (* -1 y) (* -1 (/ y x))))))
(fma.f64 (-.f64 y #s(literal 1 binary64)) x y)
(* -1 (* x (+ 1 (+ (* -1 y) (* -1 (/ y x))))))
(fma.f64 (-.f64 y #s(literal 1 binary64)) x y)
(* -1 (* x (+ 1 (+ (* -1 y) (* -1 (/ y x))))))
(fma.f64 (-.f64 y #s(literal 1 binary64)) x y)
(* x y)
(*.f64 y x)
(* -1 (* x (+ (* -1 y) (* -1 (/ y x)))))
(fma.f64 y x y)
(* -1 (* x (+ (* -1 y) (* -1 (/ y x)))))
(fma.f64 y x y)
(* -1 (* x (+ (* -1 y) (* -1 (/ y x)))))
(fma.f64 y x y)
x
(* x (+ 1 (/ 1 x)))
(-.f64 x #s(literal -1 binary64))
(* x (+ 1 (/ 1 x)))
(-.f64 x #s(literal -1 binary64))
(* x (+ 1 (/ 1 x)))
(-.f64 x #s(literal -1 binary64))

rewrite229.0ms (4.5%)

Memory
3.8MiB live, 281.3MiB allocated
Rules
8 216×lower-fma.f32
8 212×lower-fma.f64
4 826×lower-*.f32
4 824×lower-*.f64
3 420×lower-/.f64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01567
02164
19164
273360
0958059
Stop Event
iter limit
node limit
iter limit
Counts
9 → 340
Calls
Call 1
Inputs
#s(approx (- (* (+ x 1) y) x) (neg.f64 x))
(neg.f64 x)
#s(approx (- (* (+ x 1) y) x) (fma.f64 x y y))
(fma.f64 x y y)
#s(approx (- (* (+ x 1) y) x) (fma.f64 x y (neg.f64 x)))
(fma.f64 x y (neg.f64 x))
(-.f64 (*.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y) x)
(*.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y)
#s(approx (+ x 1) #s(literal 1 binary64))
Outputs
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>

eval93.0ms (1.8%)

Memory
-3.3MiB live, 113.7MiB allocated
Compiler

Compiled 8 081 to 1 027 computations (87.3% saved)

prune15.0ms (0.3%)

Memory
1.0MiB live, 39.0MiB allocated
Pruning

6 alts after pruning (2 fresh and 4 done)

PrunedKeptTotal
New5522554
Fresh000
Picked044
Done000
Total5526558
Accuracy
100.0%
Counts
558 → 6
Alt Table
Click to see full alt table
StatusAccuracyProgram
75.3%
(-.f64 (*.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y) x)
64.9%
#s(approx (- (* (+ x 1) y) x) (fma.f64 x y (neg.f64 x)))
59.8%
#s(approx (- (* (+ x 1) y) x) (fma.f64 x y y))
41.0%
#s(approx (- (* (+ x 1) y) x) (neg.f64 x))
25.7%
#s(approx (- (* (+ x 1) y) x) #s(approx (+ (* x y) (neg x)) (*.f64 y x)))
2.4%
#s(approx (- (* (+ x 1) y) x) x)
Compiler

Compiled 27 to 27 computations (0% saved)

simplify19.0ms (0.4%)

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

Found 4 expressions of interest:

NewMetricScoreProgram
cost-diff0
(*.f64 y x)
cost-diff0
#s(approx (+ (* x y) (neg x)) (*.f64 y x))
cost-diff0
#s(approx (- (* (+ x 1) y) x) #s(approx (+ (* x y) (neg x)) (*.f64 y x)))
cost-diff0
#s(approx (- (* (+ x 1) y) x) x)
Rules
496×lower-fma.f64
496×lower-fma.f32
192×lower-*.f32
190×lower-*.f64
136×lower-+.f64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01343
01441
12541
24441
37641
415041
529041
644241
750941
851241
051239
Stop Event
iter limit
saturated
iter limit
Calls
Call 1
Inputs
#s(approx (- (* (+ x 1) y) x) x)
x
#s(approx (- (* (+ x 1) y) x) #s(approx (+ (* x y) (neg x)) (*.f64 y x)))
#s(approx (+ (* x y) (neg x)) (*.f64 y x))
(*.f64 y x)
y
x
Outputs
#s(approx (- (* (+ x 1) y) x) x)
x
#s(approx (- (* (+ x 1) y) x) #s(approx (+ (* x y) (neg x)) (*.f64 y x)))
#s(approx (+ (* x y) (neg x)) (*.f64 y x))
(*.f64 y x)
y
x

localize40.0ms (0.8%)

Memory
-4.0MiB live, 32.5MiB allocated
Localize:

Found 4 expressions of interest:

NewMetricScoreProgram
accuracy0
(*.f64 y x)
accuracy22.486991811073395
#s(approx (- (* (+ x 1) y) x) #s(approx (+ (* x y) (neg x)) (*.f64 y x)))
accuracy32.935829859423585
#s(approx (+ (* x y) (neg x)) (*.f64 y x))
accuracy62.43809364982131
#s(approx (- (* (+ x 1) y) x) x)
Samples
34.0ms256×0valid
Compiler

Compiled 28 to 12 computations (57.1% saved)

Precisions
Click to see histograms. Total time spent on operations: 27.0ms
ival-mult: 21.0ms (78.8% of total)
ival-add: 3.0ms (11.3% of total)
ival-sub: 1.0ms (3.8% of total)
ival-neg: 1.0ms (3.8% of total)
ival-true: 0.0ms (0% of total)
exact: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

series5.0ms (0.1%)

Memory
9.2MiB live, 9.2MiB allocated
Counts
4 → 96
Calls
Call 1
Inputs
#s(alt #s(approx (- (* (+ x 1) y) x) x) (patch #s(approx (- (* (+ x 1) y) x) x) #<representation binary64>) () ())
#s(alt #s(approx (- (* (+ x 1) y) x) #s(approx (+ (* x y) (neg x)) (*.f64 y x))) (patch #s(approx (- (* (+ x 1) y) x) #s(approx (+ (* x y) (neg x)) (*.f64 y x))) #<representation binary64>) () ())
#s(alt #s(approx (+ (* x y) (neg x)) (*.f64 y x)) (patch #s(approx (+ (* x y) (neg x)) (*.f64 y x)) #<representation binary64>) () ())
#s(alt (*.f64 y x) (patch (*.f64 y x) #<representation binary64>) () ())
Outputs
#s(alt (* -1 x) (taylor 0 y) (#s(alt #s(approx (- (* (+ x 1) y) x) x) (patch #s(approx (- (* (+ x 1) y) x) x) #<representation binary64>) () ())) ())
#s(alt (- (* y (+ 1 x)) x) (taylor 0 y) (#s(alt #s(approx (- (* (+ x 1) y) x) x) (patch #s(approx (- (* (+ x 1) y) x) x) #<representation binary64>) () ())) ())
#s(alt (- (* y (+ 1 x)) x) (taylor 0 y) (#s(alt #s(approx (- (* (+ x 1) y) x) x) (patch #s(approx (- (* (+ x 1) y) x) x) #<representation binary64>) () ())) ())
#s(alt (- (* y (+ 1 x)) x) (taylor 0 y) (#s(alt #s(approx (- (* (+ x 1) y) x) x) (patch #s(approx (- (* (+ x 1) y) x) x) #<representation binary64>) () ())) ())
#s(alt (* -1 x) (taylor 0 y) (#s(alt #s(approx (- (* (+ x 1) y) x) #s(approx (+ (* x y) (neg x)) (*.f64 y x))) (patch #s(approx (- (* (+ x 1) y) x) #s(approx (+ (* x y) (neg x)) (*.f64 y x))) #<representation binary64>) () ())) ())
#s(alt (- (* y (+ 1 x)) x) (taylor 0 y) (#s(alt #s(approx (- (* (+ x 1) y) x) #s(approx (+ (* x y) (neg x)) (*.f64 y x))) (patch #s(approx (- (* (+ x 1) y) x) #s(approx (+ (* x y) (neg x)) (*.f64 y x))) #<representation binary64>) () ())) ())
#s(alt (- (* y (+ 1 x)) x) (taylor 0 y) (#s(alt #s(approx (- (* (+ x 1) y) x) #s(approx (+ (* x y) (neg x)) (*.f64 y x))) (patch #s(approx (- (* (+ x 1) y) x) #s(approx (+ (* x y) (neg x)) (*.f64 y x))) #<representation binary64>) () ())) ())
#s(alt (- (* y (+ 1 x)) x) (taylor 0 y) (#s(alt #s(approx (- (* (+ x 1) y) x) #s(approx (+ (* x y) (neg x)) (*.f64 y x))) (patch #s(approx (- (* (+ x 1) y) x) #s(approx (+ (* x y) (neg x)) (*.f64 y x))) #<representation binary64>) () ())) ())
#s(alt (* -1 x) (taylor 0 y) (#s(alt #s(approx (+ (* x y) (neg x)) (*.f64 y x)) (patch #s(approx (+ (* x y) (neg x)) (*.f64 y x)) #<representation binary64>) () ())) ())
#s(alt (- (* x y) x) (taylor 0 y) (#s(alt #s(approx (+ (* x y) (neg x)) (*.f64 y x)) (patch #s(approx (+ (* x y) (neg x)) (*.f64 y x)) #<representation binary64>) () ())) ())
#s(alt (- (* x y) x) (taylor 0 y) (#s(alt #s(approx (+ (* x y) (neg x)) (*.f64 y x)) (patch #s(approx (+ (* x y) (neg x)) (*.f64 y x)) #<representation binary64>) () ())) ())
#s(alt (- (* x y) x) (taylor 0 y) (#s(alt #s(approx (+ (* x y) (neg x)) (*.f64 y x)) (patch #s(approx (+ (* x y) (neg x)) (*.f64 y x)) #<representation binary64>) () ())) ())
#s(alt (* x y) (taylor 0 y) (#s(alt (*.f64 y x) (patch (*.f64 y x) #<representation binary64>) () ())) ())
#s(alt (* x y) (taylor 0 y) (#s(alt (*.f64 y x) (patch (*.f64 y x) #<representation binary64>) () ())) ())
#s(alt (* x y) (taylor 0 y) (#s(alt (*.f64 y x) (patch (*.f64 y x) #<representation binary64>) () ())) ())
#s(alt (* x y) (taylor 0 y) (#s(alt (*.f64 y x) (patch (*.f64 y x) #<representation binary64>) () ())) ())
#s(alt (* y (+ 1 x)) (taylor inf y) (#s(alt #s(approx (- (* (+ x 1) y) x) x) (patch #s(approx (- (* (+ x 1) y) x) x) #<representation binary64>) () ())) ())
#s(alt (* y (+ 1 (+ x (* -1 (/ x y))))) (taylor inf y) (#s(alt #s(approx (- (* (+ x 1) y) x) x) (patch #s(approx (- (* (+ x 1) y) x) x) #<representation binary64>) () ())) ())
#s(alt (* y (+ 1 (+ x (* -1 (/ x y))))) (taylor inf y) (#s(alt #s(approx (- (* (+ x 1) y) x) x) (patch #s(approx (- (* (+ x 1) y) x) x) #<representation binary64>) () ())) ())
#s(alt (* y (+ 1 (+ x (* -1 (/ x y))))) (taylor inf y) (#s(alt #s(approx (- (* (+ x 1) y) x) x) (patch #s(approx (- (* (+ x 1) y) x) x) #<representation binary64>) () ())) ())
#s(alt (* y (+ 1 x)) (taylor inf y) (#s(alt #s(approx (- (* (+ x 1) y) x) #s(approx (+ (* x y) (neg x)) (*.f64 y x))) (patch #s(approx (- (* (+ x 1) y) x) #s(approx (+ (* x y) (neg x)) (*.f64 y x))) #<representation binary64>) () ())) ())
#s(alt (* y (+ 1 (+ x (* -1 (/ x y))))) (taylor inf y) (#s(alt #s(approx (- (* (+ x 1) y) x) #s(approx (+ (* x y) (neg x)) (*.f64 y x))) (patch #s(approx (- (* (+ x 1) y) x) #s(approx (+ (* x y) (neg x)) (*.f64 y x))) #<representation binary64>) () ())) ())
#s(alt (* y (+ 1 (+ x (* -1 (/ x y))))) (taylor inf y) (#s(alt #s(approx (- (* (+ x 1) y) x) #s(approx (+ (* x y) (neg x)) (*.f64 y x))) (patch #s(approx (- (* (+ x 1) y) x) #s(approx (+ (* x y) (neg x)) (*.f64 y x))) #<representation binary64>) () ())) ())
#s(alt (* y (+ 1 (+ x (* -1 (/ x y))))) (taylor inf y) (#s(alt #s(approx (- (* (+ x 1) y) x) #s(approx (+ (* x y) (neg x)) (*.f64 y x))) (patch #s(approx (- (* (+ x 1) y) x) #s(approx (+ (* x y) (neg x)) (*.f64 y x))) #<representation binary64>) () ())) ())
#s(alt (* x y) (taylor inf y) (#s(alt #s(approx (+ (* x y) (neg x)) (*.f64 y x)) (patch #s(approx (+ (* x y) (neg x)) (*.f64 y x)) #<representation binary64>) () ())) ())
#s(alt (* y (+ x (* -1 (/ x y)))) (taylor inf y) (#s(alt #s(approx (+ (* x y) (neg x)) (*.f64 y x)) (patch #s(approx (+ (* x y) (neg x)) (*.f64 y x)) #<representation binary64>) () ())) ())
#s(alt (* y (+ x (* -1 (/ x y)))) (taylor inf y) (#s(alt #s(approx (+ (* x y) (neg x)) (*.f64 y x)) (patch #s(approx (+ (* x y) (neg x)) (*.f64 y x)) #<representation binary64>) () ())) ())
#s(alt (* y (+ x (* -1 (/ x y)))) (taylor inf y) (#s(alt #s(approx (+ (* x y) (neg x)) (*.f64 y x)) (patch #s(approx (+ (* x y) (neg x)) (*.f64 y x)) #<representation binary64>) () ())) ())
#s(alt (* x y) (taylor inf y) (#s(alt (*.f64 y x) (patch (*.f64 y x) #<representation binary64>) () ())) ())
#s(alt (* x y) (taylor inf y) (#s(alt (*.f64 y x) (patch (*.f64 y x) #<representation binary64>) () ())) ())
#s(alt (* x y) (taylor inf y) (#s(alt (*.f64 y x) (patch (*.f64 y x) #<representation binary64>) () ())) ())
#s(alt (* x y) (taylor inf y) (#s(alt (*.f64 y x) (patch (*.f64 y x) #<representation binary64>) () ())) ())
#s(alt (* y (+ 1 x)) (taylor -inf y) (#s(alt #s(approx (- (* (+ x 1) y) x) x) (patch #s(approx (- (* (+ x 1) y) x) x) #<representation binary64>) () ())) ())
#s(alt (* -1 (* y (+ (* -1 (+ 1 x)) (/ x y)))) (taylor -inf y) (#s(alt #s(approx (- (* (+ x 1) y) x) x) (patch #s(approx (- (* (+ x 1) y) x) x) #<representation binary64>) () ())) ())
#s(alt (* -1 (* y (+ (* -1 (+ 1 x)) (/ x y)))) (taylor -inf y) (#s(alt #s(approx (- (* (+ x 1) y) x) x) (patch #s(approx (- (* (+ x 1) y) x) x) #<representation binary64>) () ())) ())
#s(alt (* -1 (* y (+ (* -1 (+ 1 x)) (/ x y)))) (taylor -inf y) (#s(alt #s(approx (- (* (+ x 1) y) x) x) (patch #s(approx (- (* (+ x 1) y) x) x) #<representation binary64>) () ())) ())
#s(alt (* y (+ 1 x)) (taylor -inf y) (#s(alt #s(approx (- (* (+ x 1) y) x) #s(approx (+ (* x y) (neg x)) (*.f64 y x))) (patch #s(approx (- (* (+ x 1) y) x) #s(approx (+ (* x y) (neg x)) (*.f64 y x))) #<representation binary64>) () ())) ())
#s(alt (* -1 (* y (+ (* -1 (+ 1 x)) (/ x y)))) (taylor -inf y) (#s(alt #s(approx (- (* (+ x 1) y) x) #s(approx (+ (* x y) (neg x)) (*.f64 y x))) (patch #s(approx (- (* (+ x 1) y) x) #s(approx (+ (* x y) (neg x)) (*.f64 y x))) #<representation binary64>) () ())) ())
#s(alt (* -1 (* y (+ (* -1 (+ 1 x)) (/ x y)))) (taylor -inf y) (#s(alt #s(approx (- (* (+ x 1) y) x) #s(approx (+ (* x y) (neg x)) (*.f64 y x))) (patch #s(approx (- (* (+ x 1) y) x) #s(approx (+ (* x y) (neg x)) (*.f64 y x))) #<representation binary64>) () ())) ())
#s(alt (* -1 (* y (+ (* -1 (+ 1 x)) (/ x y)))) (taylor -inf y) (#s(alt #s(approx (- (* (+ x 1) y) x) #s(approx (+ (* x y) (neg x)) (*.f64 y x))) (patch #s(approx (- (* (+ x 1) y) x) #s(approx (+ (* x y) (neg x)) (*.f64 y x))) #<representation binary64>) () ())) ())
#s(alt (* x y) (taylor -inf y) (#s(alt #s(approx (+ (* x y) (neg x)) (*.f64 y x)) (patch #s(approx (+ (* x y) (neg x)) (*.f64 y x)) #<representation binary64>) () ())) ())
#s(alt (* -1 (* y (+ (* -1 x) (/ x y)))) (taylor -inf y) (#s(alt #s(approx (+ (* x y) (neg x)) (*.f64 y x)) (patch #s(approx (+ (* x y) (neg x)) (*.f64 y x)) #<representation binary64>) () ())) ())
#s(alt (* -1 (* y (+ (* -1 x) (/ x y)))) (taylor -inf y) (#s(alt #s(approx (+ (* x y) (neg x)) (*.f64 y x)) (patch #s(approx (+ (* x y) (neg x)) (*.f64 y x)) #<representation binary64>) () ())) ())
#s(alt (* -1 (* y (+ (* -1 x) (/ x y)))) (taylor -inf y) (#s(alt #s(approx (+ (* x y) (neg x)) (*.f64 y x)) (patch #s(approx (+ (* x y) (neg x)) (*.f64 y x)) #<representation binary64>) () ())) ())
#s(alt (* x y) (taylor -inf y) (#s(alt (*.f64 y x) (patch (*.f64 y x) #<representation binary64>) () ())) ())
#s(alt (* x y) (taylor -inf y) (#s(alt (*.f64 y x) (patch (*.f64 y x) #<representation binary64>) () ())) ())
#s(alt (* x y) (taylor -inf y) (#s(alt (*.f64 y x) (patch (*.f64 y x) #<representation binary64>) () ())) ())
#s(alt (* x y) (taylor -inf y) (#s(alt (*.f64 y x) (patch (*.f64 y x) #<representation binary64>) () ())) ())
#s(alt y (taylor 0 x) (#s(alt #s(approx (- (* (+ x 1) y) x) x) (patch #s(approx (- (* (+ x 1) y) x) x) #<representation binary64>) () ())) ())
#s(alt (+ y (* x (- y 1))) (taylor 0 x) (#s(alt #s(approx (- (* (+ x 1) y) x) x) (patch #s(approx (- (* (+ x 1) y) x) x) #<representation binary64>) () ())) ())
#s(alt (+ y (* x (- y 1))) (taylor 0 x) (#s(alt #s(approx (- (* (+ x 1) y) x) x) (patch #s(approx (- (* (+ x 1) y) x) x) #<representation binary64>) () ())) ())
#s(alt (+ y (* x (- y 1))) (taylor 0 x) (#s(alt #s(approx (- (* (+ x 1) y) x) x) (patch #s(approx (- (* (+ x 1) y) x) x) #<representation binary64>) () ())) ())
#s(alt y (taylor 0 x) (#s(alt #s(approx (- (* (+ x 1) y) x) #s(approx (+ (* x y) (neg x)) (*.f64 y x))) (patch #s(approx (- (* (+ x 1) y) x) #s(approx (+ (* x y) (neg x)) (*.f64 y x))) #<representation binary64>) () ())) ())
#s(alt (+ y (* x (- y 1))) (taylor 0 x) (#s(alt #s(approx (- (* (+ x 1) y) x) #s(approx (+ (* x y) (neg x)) (*.f64 y x))) (patch #s(approx (- (* (+ x 1) y) x) #s(approx (+ (* x y) (neg x)) (*.f64 y x))) #<representation binary64>) () ())) ())
#s(alt (+ y (* x (- y 1))) (taylor 0 x) (#s(alt #s(approx (- (* (+ x 1) y) x) #s(approx (+ (* x y) (neg x)) (*.f64 y x))) (patch #s(approx (- (* (+ x 1) y) x) #s(approx (+ (* x y) (neg x)) (*.f64 y x))) #<representation binary64>) () ())) ())
#s(alt (+ y (* x (- y 1))) (taylor 0 x) (#s(alt #s(approx (- (* (+ x 1) y) x) #s(approx (+ (* x y) (neg x)) (*.f64 y x))) (patch #s(approx (- (* (+ x 1) y) x) #s(approx (+ (* x y) (neg x)) (*.f64 y x))) #<representation binary64>) () ())) ())
#s(alt (* x (- y 1)) (taylor 0 x) (#s(alt #s(approx (+ (* x y) (neg x)) (*.f64 y x)) (patch #s(approx (+ (* x y) (neg x)) (*.f64 y x)) #<representation binary64>) () ())) ())
#s(alt (* x (- y 1)) (taylor 0 x) (#s(alt #s(approx (+ (* x y) (neg x)) (*.f64 y x)) (patch #s(approx (+ (* x y) (neg x)) (*.f64 y x)) #<representation binary64>) () ())) ())
#s(alt (* x (- y 1)) (taylor 0 x) (#s(alt #s(approx (+ (* x y) (neg x)) (*.f64 y x)) (patch #s(approx (+ (* x y) (neg x)) (*.f64 y x)) #<representation binary64>) () ())) ())
#s(alt (* x (- y 1)) (taylor 0 x) (#s(alt #s(approx (+ (* x y) (neg x)) (*.f64 y x)) (patch #s(approx (+ (* x y) (neg x)) (*.f64 y x)) #<representation binary64>) () ())) ())
#s(alt (* x y) (taylor 0 x) (#s(alt (*.f64 y x) (patch (*.f64 y x) #<representation binary64>) () ())) ())
#s(alt (* x y) (taylor 0 x) (#s(alt (*.f64 y x) (patch (*.f64 y x) #<representation binary64>) () ())) ())
#s(alt (* x y) (taylor 0 x) (#s(alt (*.f64 y x) (patch (*.f64 y x) #<representation binary64>) () ())) ())
#s(alt (* x y) (taylor 0 x) (#s(alt (*.f64 y x) (patch (*.f64 y x) #<representation binary64>) () ())) ())
#s(alt (* x (- y 1)) (taylor inf x) (#s(alt #s(approx (- (* (+ x 1) y) x) x) (patch #s(approx (- (* (+ x 1) y) x) x) #<representation binary64>) () ())) ())
#s(alt (* x (- (+ y (/ y x)) 1)) (taylor inf x) (#s(alt #s(approx (- (* (+ x 1) y) x) x) (patch #s(approx (- (* (+ x 1) y) x) x) #<representation binary64>) () ())) ())
#s(alt (* x (- (+ y (/ y x)) 1)) (taylor inf x) (#s(alt #s(approx (- (* (+ x 1) y) x) x) (patch #s(approx (- (* (+ x 1) y) x) x) #<representation binary64>) () ())) ())
#s(alt (* x (- (+ y (/ y x)) 1)) (taylor inf x) (#s(alt #s(approx (- (* (+ x 1) y) x) x) (patch #s(approx (- (* (+ x 1) y) x) x) #<representation binary64>) () ())) ())
#s(alt (* x (- y 1)) (taylor inf x) (#s(alt #s(approx (- (* (+ x 1) y) x) #s(approx (+ (* x y) (neg x)) (*.f64 y x))) (patch #s(approx (- (* (+ x 1) y) x) #s(approx (+ (* x y) (neg x)) (*.f64 y x))) #<representation binary64>) () ())) ())
#s(alt (* x (- (+ y (/ y x)) 1)) (taylor inf x) (#s(alt #s(approx (- (* (+ x 1) y) x) #s(approx (+ (* x y) (neg x)) (*.f64 y x))) (patch #s(approx (- (* (+ x 1) y) x) #s(approx (+ (* x y) (neg x)) (*.f64 y x))) #<representation binary64>) () ())) ())
#s(alt (* x (- (+ y (/ y x)) 1)) (taylor inf x) (#s(alt #s(approx (- (* (+ x 1) y) x) #s(approx (+ (* x y) (neg x)) (*.f64 y x))) (patch #s(approx (- (* (+ x 1) y) x) #s(approx (+ (* x y) (neg x)) (*.f64 y x))) #<representation binary64>) () ())) ())
#s(alt (* x (- (+ y (/ y x)) 1)) (taylor inf x) (#s(alt #s(approx (- (* (+ x 1) y) x) #s(approx (+ (* x y) (neg x)) (*.f64 y x))) (patch #s(approx (- (* (+ x 1) y) x) #s(approx (+ (* x y) (neg x)) (*.f64 y x))) #<representation binary64>) () ())) ())
#s(alt (* x (- y 1)) (taylor inf x) (#s(alt #s(approx (+ (* x y) (neg x)) (*.f64 y x)) (patch #s(approx (+ (* x y) (neg x)) (*.f64 y x)) #<representation binary64>) () ())) ())
#s(alt (* x (- y 1)) (taylor inf x) (#s(alt #s(approx (+ (* x y) (neg x)) (*.f64 y x)) (patch #s(approx (+ (* x y) (neg x)) (*.f64 y x)) #<representation binary64>) () ())) ())
#s(alt (* x (- y 1)) (taylor inf x) (#s(alt #s(approx (+ (* x y) (neg x)) (*.f64 y x)) (patch #s(approx (+ (* x y) (neg x)) (*.f64 y x)) #<representation binary64>) () ())) ())
#s(alt (* x (- y 1)) (taylor inf x) (#s(alt #s(approx (+ (* x y) (neg x)) (*.f64 y x)) (patch #s(approx (+ (* x y) (neg x)) (*.f64 y x)) #<representation binary64>) () ())) ())
#s(alt (* x y) (taylor inf x) (#s(alt (*.f64 y x) (patch (*.f64 y x) #<representation binary64>) () ())) ())
#s(alt (* x y) (taylor inf x) (#s(alt (*.f64 y x) (patch (*.f64 y x) #<representation binary64>) () ())) ())
#s(alt (* x y) (taylor inf x) (#s(alt (*.f64 y x) (patch (*.f64 y x) #<representation binary64>) () ())) ())
#s(alt (* x y) (taylor inf x) (#s(alt (*.f64 y x) (patch (*.f64 y x) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x (+ 1 (* -1 y)))) (taylor -inf x) (#s(alt #s(approx (- (* (+ x 1) y) x) x) (patch #s(approx (- (* (+ x 1) y) x) x) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x (+ 1 (+ (* -1 y) (* -1 (/ y x)))))) (taylor -inf x) (#s(alt #s(approx (- (* (+ x 1) y) x) x) (patch #s(approx (- (* (+ x 1) y) x) x) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x (+ 1 (+ (* -1 y) (* -1 (/ y x)))))) (taylor -inf x) (#s(alt #s(approx (- (* (+ x 1) y) x) x) (patch #s(approx (- (* (+ x 1) y) x) x) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x (+ 1 (+ (* -1 y) (* -1 (/ y x)))))) (taylor -inf x) (#s(alt #s(approx (- (* (+ x 1) y) x) x) (patch #s(approx (- (* (+ x 1) y) x) x) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x (+ 1 (* -1 y)))) (taylor -inf x) (#s(alt #s(approx (- (* (+ x 1) y) x) #s(approx (+ (* x y) (neg x)) (*.f64 y x))) (patch #s(approx (- (* (+ x 1) y) x) #s(approx (+ (* x y) (neg x)) (*.f64 y x))) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x (+ 1 (+ (* -1 y) (* -1 (/ y x)))))) (taylor -inf x) (#s(alt #s(approx (- (* (+ x 1) y) x) #s(approx (+ (* x y) (neg x)) (*.f64 y x))) (patch #s(approx (- (* (+ x 1) y) x) #s(approx (+ (* x y) (neg x)) (*.f64 y x))) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x (+ 1 (+ (* -1 y) (* -1 (/ y x)))))) (taylor -inf x) (#s(alt #s(approx (- (* (+ x 1) y) x) #s(approx (+ (* x y) (neg x)) (*.f64 y x))) (patch #s(approx (- (* (+ x 1) y) x) #s(approx (+ (* x y) (neg x)) (*.f64 y x))) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x (+ 1 (+ (* -1 y) (* -1 (/ y x)))))) (taylor -inf x) (#s(alt #s(approx (- (* (+ x 1) y) x) #s(approx (+ (* x y) (neg x)) (*.f64 y x))) (patch #s(approx (- (* (+ x 1) y) x) #s(approx (+ (* x y) (neg x)) (*.f64 y x))) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x (+ 1 (* -1 y)))) (taylor -inf x) (#s(alt #s(approx (+ (* x y) (neg x)) (*.f64 y x)) (patch #s(approx (+ (* x y) (neg x)) (*.f64 y x)) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x (+ 1 (* -1 y)))) (taylor -inf x) (#s(alt #s(approx (+ (* x y) (neg x)) (*.f64 y x)) (patch #s(approx (+ (* x y) (neg x)) (*.f64 y x)) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x (+ 1 (* -1 y)))) (taylor -inf x) (#s(alt #s(approx (+ (* x y) (neg x)) (*.f64 y x)) (patch #s(approx (+ (* x y) (neg x)) (*.f64 y x)) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x (+ 1 (* -1 y)))) (taylor -inf x) (#s(alt #s(approx (+ (* x y) (neg x)) (*.f64 y x)) (patch #s(approx (+ (* x y) (neg x)) (*.f64 y x)) #<representation binary64>) () ())) ())
#s(alt (* x y) (taylor -inf x) (#s(alt (*.f64 y x) (patch (*.f64 y x) #<representation binary64>) () ())) ())
#s(alt (* x y) (taylor -inf x) (#s(alt (*.f64 y x) (patch (*.f64 y x) #<representation binary64>) () ())) ())
#s(alt (* x y) (taylor -inf x) (#s(alt (*.f64 y x) (patch (*.f64 y x) #<representation binary64>) () ())) ())
#s(alt (* x y) (taylor -inf x) (#s(alt (*.f64 y x) (patch (*.f64 y x) #<representation binary64>) () ())) ())
Calls

6 calls:

TimeVariablePointExpression
1.0ms
x
@-inf
((- (* (+ x 1) y) x) (- (* (+ x 1) y) x) (+ (* x y) (neg x)) (* y x))
1.0ms
y
@-inf
((- (* (+ x 1) y) x) (- (* (+ x 1) y) x) (+ (* x y) (neg x)) (* y x))
0.0ms
x
@inf
((- (* (+ x 1) y) x) (- (* (+ x 1) y) x) (+ (* x y) (neg x)) (* y x))
0.0ms
y
@inf
((- (* (+ x 1) y) x) (- (* (+ x 1) y) x) (+ (* x y) (neg x)) (* y x))
0.0ms
y
@0
((- (* (+ x 1) y) x) (- (* (+ x 1) y) x) (+ (* x y) (neg x)) (* y x))

simplify238.0ms (4.7%)

Memory
-0.6MiB live, 148.7MiB allocated
Algorithm
egg-herbie
Rules
20 656×lower-fma.f64
20 656×lower-fma.f32
3 176×lower-*.f64
3 176×lower-*.f32
2 552×lower-/.f32
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
039483
1134483
2362483
3977483
42490483
53685483
64434483
74822483
85060483
95211483
105317483
08590443
Stop Event
iter limit
node limit
Counts
96 → 94
Calls
Call 1
Inputs
(* -1 x)
(- (* y (+ 1 x)) x)
(- (* y (+ 1 x)) x)
(- (* y (+ 1 x)) x)
(* -1 x)
(- (* y (+ 1 x)) x)
(- (* y (+ 1 x)) x)
(- (* y (+ 1 x)) x)
(* -1 x)
(- (* x y) x)
(- (* x y) x)
(- (* x y) x)
(* x y)
(* x y)
(* x y)
(* x y)
(* y (+ 1 x))
(* y (+ 1 (+ x (* -1 (/ x y)))))
(* y (+ 1 (+ x (* -1 (/ x y)))))
(* y (+ 1 (+ x (* -1 (/ x y)))))
(* y (+ 1 x))
(* y (+ 1 (+ x (* -1 (/ x y)))))
(* y (+ 1 (+ x (* -1 (/ x y)))))
(* y (+ 1 (+ x (* -1 (/ x y)))))
(* x y)
(* y (+ x (* -1 (/ x y))))
(* y (+ x (* -1 (/ x y))))
(* y (+ x (* -1 (/ x y))))
(* x y)
(* x y)
(* x y)
(* x y)
(* y (+ 1 x))
(* -1 (* y (+ (* -1 (+ 1 x)) (/ x y))))
(* -1 (* y (+ (* -1 (+ 1 x)) (/ x y))))
(* -1 (* y (+ (* -1 (+ 1 x)) (/ x y))))
(* y (+ 1 x))
(* -1 (* y (+ (* -1 (+ 1 x)) (/ x y))))
(* -1 (* y (+ (* -1 (+ 1 x)) (/ x y))))
(* -1 (* y (+ (* -1 (+ 1 x)) (/ x y))))
(* x y)
(* -1 (* y (+ (* -1 x) (/ x y))))
(* -1 (* y (+ (* -1 x) (/ x y))))
(* -1 (* y (+ (* -1 x) (/ x y))))
(* x y)
(* x y)
(* x y)
(* x y)
y
(+ y (* x (- y 1)))
(+ y (* x (- y 1)))
(+ y (* x (- y 1)))
y
(+ y (* x (- y 1)))
(+ y (* x (- y 1)))
(+ y (* x (- y 1)))
(* x (- y 1))
(* x (- y 1))
(* x (- y 1))
(* x (- y 1))
(* x y)
(* x y)
(* x y)
(* x y)
(* x (- y 1))
(* x (- (+ y (/ y x)) 1))
(* x (- (+ y (/ y x)) 1))
(* x (- (+ y (/ y x)) 1))
(* x (- y 1))
(* x (- (+ y (/ y x)) 1))
(* x (- (+ y (/ y x)) 1))
(* x (- (+ y (/ y x)) 1))
(* x (- y 1))
(* x (- y 1))
(* x (- y 1))
(* x (- y 1))
(* x y)
(* x y)
(* x y)
(* x y)
(* -1 (* x (+ 1 (* -1 y))))
(* -1 (* x (+ 1 (+ (* -1 y) (* -1 (/ y x))))))
(* -1 (* x (+ 1 (+ (* -1 y) (* -1 (/ y x))))))
(* -1 (* x (+ 1 (+ (* -1 y) (* -1 (/ y x))))))
(* -1 (* x (+ 1 (* -1 y))))
(* -1 (* x (+ 1 (+ (* -1 y) (* -1 (/ y x))))))
(* -1 (* x (+ 1 (+ (* -1 y) (* -1 (/ y x))))))
(* -1 (* x (+ 1 (+ (* -1 y) (* -1 (/ y x))))))
(* -1 (* x (+ 1 (* -1 y))))
(* -1 (* x (+ 1 (* -1 y))))
(* -1 (* x (+ 1 (* -1 y))))
(* -1 (* x (+ 1 (* -1 y))))
(* x y)
(* x y)
(* x y)
(* x y)
Outputs
(* -1 x)
(neg.f64 x)
(- (* y (+ 1 x)) x)
(-.f64 (fma.f64 y x y) x)
(- (* y (+ 1 x)) x)
(-.f64 (fma.f64 y x y) x)
(- (* y (+ 1 x)) x)
(-.f64 (fma.f64 y x y) x)
(* -1 x)
(neg.f64 x)
(- (* y (+ 1 x)) x)
(-.f64 (fma.f64 y x y) x)
(- (* y (+ 1 x)) x)
(-.f64 (fma.f64 y x y) x)
(- (* y (+ 1 x)) x)
(-.f64 (fma.f64 y x y) x)
(* -1 x)
(neg.f64 x)
(- (* x y) x)
(-.f64 (*.f64 y x) x)
(- (* x y) x)
(-.f64 (*.f64 y x) x)
(- (* x y) x)
(-.f64 (*.f64 y x) x)
(* x y)
(*.f64 y x)
(* x y)
(*.f64 y x)
(* x y)
(*.f64 y x)
(* x y)
(*.f64 y x)
(* y (+ 1 x))
(fma.f64 y x y)
(* y (+ 1 (+ x (* -1 (/ x y)))))
(-.f64 (fma.f64 y x y) x)
(* y (+ 1 (+ x (* -1 (/ x y)))))
(-.f64 (fma.f64 y x y) x)
(* y (+ 1 (+ x (* -1 (/ x y)))))
(-.f64 (fma.f64 y x y) x)
(* y (+ 1 x))
(fma.f64 y x y)
(* y (+ 1 (+ x (* -1 (/ x y)))))
(-.f64 (fma.f64 y x y) x)
(* y (+ 1 (+ x (* -1 (/ x y)))))
(-.f64 (fma.f64 y x y) x)
(* y (+ 1 (+ x (* -1 (/ x y)))))
(-.f64 (fma.f64 y x y) x)
(* x y)
(*.f64 y x)
(* y (+ x (* -1 (/ x y))))
(-.f64 (*.f64 y x) x)
(* y (+ x (* -1 (/ x y))))
(-.f64 (*.f64 y x) x)
(* y (+ x (* -1 (/ x y))))
(-.f64 (*.f64 y x) x)
(* x y)
(*.f64 y x)
(* x y)
(*.f64 y x)
(* x y)
(*.f64 y x)
(* x y)
(*.f64 y x)
(* y (+ 1 x))
(fma.f64 y x y)
(* -1 (* y (+ (* -1 (+ 1 x)) (/ x y))))
(-.f64 (fma.f64 y x y) x)
(* -1 (* y (+ (* -1 (+ 1 x)) (/ x y))))
(-.f64 (fma.f64 y x y) x)
(* -1 (* y (+ (* -1 (+ 1 x)) (/ x y))))
(-.f64 (fma.f64 y x y) x)
(* y (+ 1 x))
(fma.f64 y x y)
(* -1 (* y (+ (* -1 (+ 1 x)) (/ x y))))
(-.f64 (fma.f64 y x y) x)
(* -1 (* y (+ (* -1 (+ 1 x)) (/ x y))))
(-.f64 (fma.f64 y x y) x)
(* -1 (* y (+ (* -1 (+ 1 x)) (/ x y))))
(-.f64 (fma.f64 y x y) x)
(* x y)
(*.f64 y x)
(* -1 (* y (+ (* -1 x) (/ x y))))
(-.f64 (*.f64 y x) x)
(* -1 (* y (+ (* -1 x) (/ x y))))
(-.f64 (*.f64 y x) x)
(* -1 (* y (+ (* -1 x) (/ x y))))
(-.f64 (*.f64 y x) x)
(* x y)
(*.f64 y x)
(* x y)
(*.f64 y x)
(* x y)
(*.f64 y x)
(* x y)
(*.f64 y x)
y
(+ y (* x (- y 1)))
(-.f64 (fma.f64 y x y) x)
(+ y (* x (- y 1)))
(-.f64 (fma.f64 y x y) x)
(+ y (* x (- y 1)))
(-.f64 (fma.f64 y x y) x)
y
(+ y (* x (- y 1)))
(-.f64 (fma.f64 y x y) x)
(+ y (* x (- y 1)))
(-.f64 (fma.f64 y x y) x)
(+ y (* x (- y 1)))
(-.f64 (fma.f64 y x y) x)
(* x (- y 1))
(-.f64 (*.f64 y x) x)
(* x (- y 1))
(-.f64 (*.f64 y x) x)
(* x (- y 1))
(-.f64 (*.f64 y x) x)
(* x (- y 1))
(-.f64 (*.f64 y x) x)
(* x y)
(*.f64 y x)
(* x y)
(*.f64 y x)
(* x y)
(*.f64 y x)
(* x y)
(*.f64 y x)
(* x (- y 1))
(-.f64 (*.f64 y x) x)
(* x (- (+ y (/ y x)) 1))
(-.f64 (fma.f64 y x y) x)
(* x (- (+ y (/ y x)) 1))
(-.f64 (fma.f64 y x y) x)
(* x (- (+ y (/ y x)) 1))
(-.f64 (fma.f64 y x y) x)
(* x (- y 1))
(-.f64 (*.f64 y x) x)
(* x (- (+ y (/ y x)) 1))
(-.f64 (fma.f64 y x y) x)
(* x (- (+ y (/ y x)) 1))
(-.f64 (fma.f64 y x y) x)
(* x (- (+ y (/ y x)) 1))
(-.f64 (fma.f64 y x y) x)
(* x (- y 1))
(-.f64 (*.f64 y x) x)
(* x (- y 1))
(-.f64 (*.f64 y x) x)
(* x (- y 1))
(-.f64 (*.f64 y x) x)
(* x (- y 1))
(-.f64 (*.f64 y x) x)
(* x y)
(*.f64 y x)
(* x y)
(*.f64 y x)
(* x y)
(*.f64 y x)
(* x y)
(*.f64 y x)
(* -1 (* x (+ 1 (* -1 y))))
(-.f64 (*.f64 y x) x)
(* -1 (* x (+ 1 (+ (* -1 y) (* -1 (/ y x))))))
(-.f64 (fma.f64 y x y) x)
(* -1 (* x (+ 1 (+ (* -1 y) (* -1 (/ y x))))))
(-.f64 (fma.f64 y x y) x)
(* -1 (* x (+ 1 (+ (* -1 y) (* -1 (/ y x))))))
(-.f64 (fma.f64 y x y) x)
(* -1 (* x (+ 1 (* -1 y))))
(-.f64 (*.f64 y x) x)
(* -1 (* x (+ 1 (+ (* -1 y) (* -1 (/ y x))))))
(-.f64 (fma.f64 y x y) x)
(* -1 (* x (+ 1 (+ (* -1 y) (* -1 (/ y x))))))
(-.f64 (fma.f64 y x y) x)
(* -1 (* x (+ 1 (+ (* -1 y) (* -1 (/ y x))))))
(-.f64 (fma.f64 y x y) x)
(* -1 (* x (+ 1 (* -1 y))))
(-.f64 (*.f64 y x) x)
(* -1 (* x (+ 1 (* -1 y))))
(-.f64 (*.f64 y x) x)
(* -1 (* x (+ 1 (* -1 y))))
(-.f64 (*.f64 y x) x)
(* -1 (* x (+ 1 (* -1 y))))
(-.f64 (*.f64 y x) x)
(* x y)
(*.f64 y x)
(* x y)
(*.f64 y x)
(* x y)
(*.f64 y x)
(* x y)
(*.f64 y x)

rewrite209.0ms (4.1%)

Memory
-15.5MiB live, 186.8MiB allocated
Rules
4 506×lower-fma.f64
4 506×lower-fma.f32
3 104×lower-*.f32
3 102×lower-*.f64
1 796×lower-/.f64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01340
01438
16038
245738
3614138
0808534
Stop Event
iter limit
node limit
iter limit
Counts
4 → 39
Calls
Call 1
Inputs
#s(approx (- (* (+ x 1) y) x) x)
#s(approx (- (* (+ x 1) y) x) #s(approx (+ (* x y) (neg x)) (*.f64 y x)))
#s(approx (+ (* x y) (neg x)) (*.f64 y x))
(*.f64 y x)
Outputs
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>

eval13.0ms (0.2%)

Memory
32.2MiB live, 32.2MiB allocated
Compiler

Compiled 920 to 151 computations (83.6% saved)

prune26.0ms (0.5%)

Memory
-60.1MiB live, 21.9MiB allocated
Pruning

7 alts after pruning (1 fresh and 6 done)

PrunedKeptTotal
New1321133
Fresh000
Picked022
Done044
Total1327139
Accuracy
100.0%
Counts
139 → 7
Alt Table
Click to see full alt table
StatusAccuracyProgram
75.3%
(-.f64 (*.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y) x)
64.9%
#s(approx (- (* (+ x 1) y) x) (fma.f64 x y (neg.f64 x)))
59.8%
#s(approx (- (* (+ x 1) y) x) (fma.f64 x y y))
41.0%
#s(approx (- (* (+ x 1) y) x) (neg.f64 x))
2.9%
#s(approx (- (* (+ x 1) y) x) #s(approx (+ (* x y) (neg x)) (*.f64 (neg.f64 y) x)))
25.7%
#s(approx (- (* (+ x 1) y) x) #s(approx (+ (* x y) (neg x)) (*.f64 y x)))
2.4%
#s(approx (- (* (+ x 1) y) x) x)
Compiler

Compiled 33 to 33 computations (0% saved)

simplify30.0ms (0.6%)

Memory
-6.7MiB live, 31.7MiB allocated
Algorithm
egg-herbie
Localize:

Found 4 expressions of interest:

NewMetricScoreProgram
cost-diff0
(neg.f64 y)
cost-diff0
(*.f64 (neg.f64 y) x)
cost-diff0
#s(approx (+ (* x y) (neg x)) (*.f64 (neg.f64 y) x))
cost-diff0
#s(approx (- (* (+ x 1) y) x) #s(approx (+ (* x y) (neg x)) (*.f64 (neg.f64 y) x)))
Rules
496×lower-fma.f64
496×lower-fma.f32
192×lower-*.f32
190×lower-*.f64
136×lower-+.f64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01338
01536
13136
25736
39436
418136
529736
644536
751236
851536
051535
Stop Event
iter limit
saturated
iter limit
Calls
Call 1
Inputs
#s(approx (- (* (+ x 1) y) x) #s(approx (+ (* x y) (neg x)) (*.f64 (neg.f64 y) x)))
#s(approx (+ (* x y) (neg x)) (*.f64 (neg.f64 y) x))
(*.f64 (neg.f64 y) x)
(neg.f64 y)
y
x
Outputs
#s(approx (- (* (+ x 1) y) x) #s(approx (+ (* x y) (neg x)) (*.f64 (neg.f64 y) x)))
#s(approx (+ (* x y) (neg x)) (*.f64 (neg.f64 y) x))
(*.f64 (neg.f64 y) x)
(neg.f64 y)
y
x

localize25.0ms (0.5%)

Memory
21.0MiB live, 58.5MiB allocated
Localize:

Found 4 expressions of interest:

NewMetricScoreProgram
accuracy0
(*.f64 (neg.f64 y) x)
accuracy0
(neg.f64 y)
accuracy22.486991811073395
#s(approx (- (* (+ x 1) y) x) #s(approx (+ (* x y) (neg x)) (*.f64 (neg.f64 y) x)))
accuracy62.25545346339094
#s(approx (+ (* x y) (neg x)) (*.f64 (neg.f64 y) x))
Samples
19.0ms256×0valid
Compiler

Compiled 23 to 13 computations (43.5% saved)

Precisions
Click to see histograms. Total time spent on operations: 12.0ms
ival-mult: 5.0ms (41.2% of total)
ival-add: 3.0ms (24.7% of total)
ival-sub: 2.0ms (16.5% of total)
ival-neg: 2.0ms (16.5% of total)
ival-true: 0.0ms (0% of total)
exact: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

series5.0ms (0.1%)

Memory
13.6MiB live, 13.6MiB allocated
Counts
4 → 84
Calls
Call 1
Inputs
#s(alt #s(approx (- (* (+ x 1) y) x) #s(approx (+ (* x y) (neg x)) (*.f64 (neg.f64 y) x))) (patch #s(approx (- (* (+ x 1) y) x) #s(approx (+ (* x y) (neg x)) (*.f64 (neg.f64 y) x))) #<representation binary64>) () ())
#s(alt #s(approx (+ (* x y) (neg x)) (*.f64 (neg.f64 y) x)) (patch #s(approx (+ (* x y) (neg x)) (*.f64 (neg.f64 y) x)) #<representation binary64>) () ())
#s(alt (*.f64 (neg.f64 y) x) (patch (*.f64 (neg.f64 y) x) #<representation binary64>) () ())
#s(alt (neg.f64 y) (patch (neg.f64 y) #<representation binary64>) () ())
Outputs
#s(alt (* -1 x) (taylor 0 y) (#s(alt #s(approx (- (* (+ x 1) y) x) #s(approx (+ (* x y) (neg x)) (*.f64 (neg.f64 y) x))) (patch #s(approx (- (* (+ x 1) y) x) #s(approx (+ (* x y) (neg x)) (*.f64 (neg.f64 y) x))) #<representation binary64>) () ())) ())
#s(alt (- (* y (+ 1 x)) x) (taylor 0 y) (#s(alt #s(approx (- (* (+ x 1) y) x) #s(approx (+ (* x y) (neg x)) (*.f64 (neg.f64 y) x))) (patch #s(approx (- (* (+ x 1) y) x) #s(approx (+ (* x y) (neg x)) (*.f64 (neg.f64 y) x))) #<representation binary64>) () ())) ())
#s(alt (- (* y (+ 1 x)) x) (taylor 0 y) (#s(alt #s(approx (- (* (+ x 1) y) x) #s(approx (+ (* x y) (neg x)) (*.f64 (neg.f64 y) x))) (patch #s(approx (- (* (+ x 1) y) x) #s(approx (+ (* x y) (neg x)) (*.f64 (neg.f64 y) x))) #<representation binary64>) () ())) ())
#s(alt (- (* y (+ 1 x)) x) (taylor 0 y) (#s(alt #s(approx (- (* (+ x 1) y) x) #s(approx (+ (* x y) (neg x)) (*.f64 (neg.f64 y) x))) (patch #s(approx (- (* (+ x 1) y) x) #s(approx (+ (* x y) (neg x)) (*.f64 (neg.f64 y) x))) #<representation binary64>) () ())) ())
#s(alt (* -1 x) (taylor 0 y) (#s(alt #s(approx (+ (* x y) (neg x)) (*.f64 (neg.f64 y) x)) (patch #s(approx (+ (* x y) (neg x)) (*.f64 (neg.f64 y) x)) #<representation binary64>) () ())) ())
#s(alt (- (* x y) x) (taylor 0 y) (#s(alt #s(approx (+ (* x y) (neg x)) (*.f64 (neg.f64 y) x)) (patch #s(approx (+ (* x y) (neg x)) (*.f64 (neg.f64 y) x)) #<representation binary64>) () ())) ())
#s(alt (- (* x y) x) (taylor 0 y) (#s(alt #s(approx (+ (* x y) (neg x)) (*.f64 (neg.f64 y) x)) (patch #s(approx (+ (* x y) (neg x)) (*.f64 (neg.f64 y) x)) #<representation binary64>) () ())) ())
#s(alt (- (* x y) x) (taylor 0 y) (#s(alt #s(approx (+ (* x y) (neg x)) (*.f64 (neg.f64 y) x)) (patch #s(approx (+ (* x y) (neg x)) (*.f64 (neg.f64 y) x)) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x y)) (taylor 0 y) (#s(alt (*.f64 (neg.f64 y) x) (patch (*.f64 (neg.f64 y) x) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x y)) (taylor 0 y) (#s(alt (*.f64 (neg.f64 y) x) (patch (*.f64 (neg.f64 y) x) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x y)) (taylor 0 y) (#s(alt (*.f64 (neg.f64 y) x) (patch (*.f64 (neg.f64 y) x) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x y)) (taylor 0 y) (#s(alt (*.f64 (neg.f64 y) x) (patch (*.f64 (neg.f64 y) x) #<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 (* y (+ 1 x)) (taylor inf y) (#s(alt #s(approx (- (* (+ x 1) y) x) #s(approx (+ (* x y) (neg x)) (*.f64 (neg.f64 y) x))) (patch #s(approx (- (* (+ x 1) y) x) #s(approx (+ (* x y) (neg x)) (*.f64 (neg.f64 y) x))) #<representation binary64>) () ())) ())
#s(alt (* y (+ 1 (+ x (* -1 (/ x y))))) (taylor inf y) (#s(alt #s(approx (- (* (+ x 1) y) x) #s(approx (+ (* x y) (neg x)) (*.f64 (neg.f64 y) x))) (patch #s(approx (- (* (+ x 1) y) x) #s(approx (+ (* x y) (neg x)) (*.f64 (neg.f64 y) x))) #<representation binary64>) () ())) ())
#s(alt (* y (+ 1 (+ x (* -1 (/ x y))))) (taylor inf y) (#s(alt #s(approx (- (* (+ x 1) y) x) #s(approx (+ (* x y) (neg x)) (*.f64 (neg.f64 y) x))) (patch #s(approx (- (* (+ x 1) y) x) #s(approx (+ (* x y) (neg x)) (*.f64 (neg.f64 y) x))) #<representation binary64>) () ())) ())
#s(alt (* y (+ 1 (+ x (* -1 (/ x y))))) (taylor inf y) (#s(alt #s(approx (- (* (+ x 1) y) x) #s(approx (+ (* x y) (neg x)) (*.f64 (neg.f64 y) x))) (patch #s(approx (- (* (+ x 1) y) x) #s(approx (+ (* x y) (neg x)) (*.f64 (neg.f64 y) x))) #<representation binary64>) () ())) ())
#s(alt (* x y) (taylor inf y) (#s(alt #s(approx (+ (* x y) (neg x)) (*.f64 (neg.f64 y) x)) (patch #s(approx (+ (* x y) (neg x)) (*.f64 (neg.f64 y) x)) #<representation binary64>) () ())) ())
#s(alt (* y (+ x (* -1 (/ x y)))) (taylor inf y) (#s(alt #s(approx (+ (* x y) (neg x)) (*.f64 (neg.f64 y) x)) (patch #s(approx (+ (* x y) (neg x)) (*.f64 (neg.f64 y) x)) #<representation binary64>) () ())) ())
#s(alt (* y (+ x (* -1 (/ x y)))) (taylor inf y) (#s(alt #s(approx (+ (* x y) (neg x)) (*.f64 (neg.f64 y) x)) (patch #s(approx (+ (* x y) (neg x)) (*.f64 (neg.f64 y) x)) #<representation binary64>) () ())) ())
#s(alt (* y (+ x (* -1 (/ x y)))) (taylor inf y) (#s(alt #s(approx (+ (* x y) (neg x)) (*.f64 (neg.f64 y) x)) (patch #s(approx (+ (* x y) (neg x)) (*.f64 (neg.f64 y) x)) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x y)) (taylor inf y) (#s(alt (*.f64 (neg.f64 y) x) (patch (*.f64 (neg.f64 y) x) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x y)) (taylor inf y) (#s(alt (*.f64 (neg.f64 y) x) (patch (*.f64 (neg.f64 y) x) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x y)) (taylor inf y) (#s(alt (*.f64 (neg.f64 y) x) (patch (*.f64 (neg.f64 y) x) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x y)) (taylor inf y) (#s(alt (*.f64 (neg.f64 y) x) (patch (*.f64 (neg.f64 y) x) #<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 (* y (+ 1 x)) (taylor -inf y) (#s(alt #s(approx (- (* (+ x 1) y) x) #s(approx (+ (* x y) (neg x)) (*.f64 (neg.f64 y) x))) (patch #s(approx (- (* (+ x 1) y) x) #s(approx (+ (* x y) (neg x)) (*.f64 (neg.f64 y) x))) #<representation binary64>) () ())) ())
#s(alt (* -1 (* y (+ (* -1 (+ 1 x)) (/ x y)))) (taylor -inf y) (#s(alt #s(approx (- (* (+ x 1) y) x) #s(approx (+ (* x y) (neg x)) (*.f64 (neg.f64 y) x))) (patch #s(approx (- (* (+ x 1) y) x) #s(approx (+ (* x y) (neg x)) (*.f64 (neg.f64 y) x))) #<representation binary64>) () ())) ())
#s(alt (* -1 (* y (+ (* -1 (+ 1 x)) (/ x y)))) (taylor -inf y) (#s(alt #s(approx (- (* (+ x 1) y) x) #s(approx (+ (* x y) (neg x)) (*.f64 (neg.f64 y) x))) (patch #s(approx (- (* (+ x 1) y) x) #s(approx (+ (* x y) (neg x)) (*.f64 (neg.f64 y) x))) #<representation binary64>) () ())) ())
#s(alt (* -1 (* y (+ (* -1 (+ 1 x)) (/ x y)))) (taylor -inf y) (#s(alt #s(approx (- (* (+ x 1) y) x) #s(approx (+ (* x y) (neg x)) (*.f64 (neg.f64 y) x))) (patch #s(approx (- (* (+ x 1) y) x) #s(approx (+ (* x y) (neg x)) (*.f64 (neg.f64 y) x))) #<representation binary64>) () ())) ())
#s(alt (* x y) (taylor -inf y) (#s(alt #s(approx (+ (* x y) (neg x)) (*.f64 (neg.f64 y) x)) (patch #s(approx (+ (* x y) (neg x)) (*.f64 (neg.f64 y) x)) #<representation binary64>) () ())) ())
#s(alt (* -1 (* y (+ (* -1 x) (/ x y)))) (taylor -inf y) (#s(alt #s(approx (+ (* x y) (neg x)) (*.f64 (neg.f64 y) x)) (patch #s(approx (+ (* x y) (neg x)) (*.f64 (neg.f64 y) x)) #<representation binary64>) () ())) ())
#s(alt (* -1 (* y (+ (* -1 x) (/ x y)))) (taylor -inf y) (#s(alt #s(approx (+ (* x y) (neg x)) (*.f64 (neg.f64 y) x)) (patch #s(approx (+ (* x y) (neg x)) (*.f64 (neg.f64 y) x)) #<representation binary64>) () ())) ())
#s(alt (* -1 (* y (+ (* -1 x) (/ x y)))) (taylor -inf y) (#s(alt #s(approx (+ (* x y) (neg x)) (*.f64 (neg.f64 y) x)) (patch #s(approx (+ (* x y) (neg x)) (*.f64 (neg.f64 y) x)) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x y)) (taylor -inf y) (#s(alt (*.f64 (neg.f64 y) x) (patch (*.f64 (neg.f64 y) x) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x y)) (taylor -inf y) (#s(alt (*.f64 (neg.f64 y) x) (patch (*.f64 (neg.f64 y) x) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x y)) (taylor -inf y) (#s(alt (*.f64 (neg.f64 y) x) (patch (*.f64 (neg.f64 y) x) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x y)) (taylor -inf y) (#s(alt (*.f64 (neg.f64 y) x) (patch (*.f64 (neg.f64 y) x) #<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 y (taylor 0 x) (#s(alt #s(approx (- (* (+ x 1) y) x) #s(approx (+ (* x y) (neg x)) (*.f64 (neg.f64 y) x))) (patch #s(approx (- (* (+ x 1) y) x) #s(approx (+ (* x y) (neg x)) (*.f64 (neg.f64 y) x))) #<representation binary64>) () ())) ())
#s(alt (+ y (* x (- y 1))) (taylor 0 x) (#s(alt #s(approx (- (* (+ x 1) y) x) #s(approx (+ (* x y) (neg x)) (*.f64 (neg.f64 y) x))) (patch #s(approx (- (* (+ x 1) y) x) #s(approx (+ (* x y) (neg x)) (*.f64 (neg.f64 y) x))) #<representation binary64>) () ())) ())
#s(alt (+ y (* x (- y 1))) (taylor 0 x) (#s(alt #s(approx (- (* (+ x 1) y) x) #s(approx (+ (* x y) (neg x)) (*.f64 (neg.f64 y) x))) (patch #s(approx (- (* (+ x 1) y) x) #s(approx (+ (* x y) (neg x)) (*.f64 (neg.f64 y) x))) #<representation binary64>) () ())) ())
#s(alt (+ y (* x (- y 1))) (taylor 0 x) (#s(alt #s(approx (- (* (+ x 1) y) x) #s(approx (+ (* x y) (neg x)) (*.f64 (neg.f64 y) x))) (patch #s(approx (- (* (+ x 1) y) x) #s(approx (+ (* x y) (neg x)) (*.f64 (neg.f64 y) x))) #<representation binary64>) () ())) ())
#s(alt (* x (- y 1)) (taylor 0 x) (#s(alt #s(approx (+ (* x y) (neg x)) (*.f64 (neg.f64 y) x)) (patch #s(approx (+ (* x y) (neg x)) (*.f64 (neg.f64 y) x)) #<representation binary64>) () ())) ())
#s(alt (* x (- y 1)) (taylor 0 x) (#s(alt #s(approx (+ (* x y) (neg x)) (*.f64 (neg.f64 y) x)) (patch #s(approx (+ (* x y) (neg x)) (*.f64 (neg.f64 y) x)) #<representation binary64>) () ())) ())
#s(alt (* x (- y 1)) (taylor 0 x) (#s(alt #s(approx (+ (* x y) (neg x)) (*.f64 (neg.f64 y) x)) (patch #s(approx (+ (* x y) (neg x)) (*.f64 (neg.f64 y) x)) #<representation binary64>) () ())) ())
#s(alt (* x (- y 1)) (taylor 0 x) (#s(alt #s(approx (+ (* x y) (neg x)) (*.f64 (neg.f64 y) x)) (patch #s(approx (+ (* x y) (neg x)) (*.f64 (neg.f64 y) x)) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x y)) (taylor 0 x) (#s(alt (*.f64 (neg.f64 y) x) (patch (*.f64 (neg.f64 y) x) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x y)) (taylor 0 x) (#s(alt (*.f64 (neg.f64 y) x) (patch (*.f64 (neg.f64 y) x) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x y)) (taylor 0 x) (#s(alt (*.f64 (neg.f64 y) x) (patch (*.f64 (neg.f64 y) x) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x y)) (taylor 0 x) (#s(alt (*.f64 (neg.f64 y) x) (patch (*.f64 (neg.f64 y) x) #<representation binary64>) () ())) ())
#s(alt (* x (- y 1)) (taylor inf x) (#s(alt #s(approx (- (* (+ x 1) y) x) #s(approx (+ (* x y) (neg x)) (*.f64 (neg.f64 y) x))) (patch #s(approx (- (* (+ x 1) y) x) #s(approx (+ (* x y) (neg x)) (*.f64 (neg.f64 y) x))) #<representation binary64>) () ())) ())
#s(alt (* x (- (+ y (/ y x)) 1)) (taylor inf x) (#s(alt #s(approx (- (* (+ x 1) y) x) #s(approx (+ (* x y) (neg x)) (*.f64 (neg.f64 y) x))) (patch #s(approx (- (* (+ x 1) y) x) #s(approx (+ (* x y) (neg x)) (*.f64 (neg.f64 y) x))) #<representation binary64>) () ())) ())
#s(alt (* x (- (+ y (/ y x)) 1)) (taylor inf x) (#s(alt #s(approx (- (* (+ x 1) y) x) #s(approx (+ (* x y) (neg x)) (*.f64 (neg.f64 y) x))) (patch #s(approx (- (* (+ x 1) y) x) #s(approx (+ (* x y) (neg x)) (*.f64 (neg.f64 y) x))) #<representation binary64>) () ())) ())
#s(alt (* x (- (+ y (/ y x)) 1)) (taylor inf x) (#s(alt #s(approx (- (* (+ x 1) y) x) #s(approx (+ (* x y) (neg x)) (*.f64 (neg.f64 y) x))) (patch #s(approx (- (* (+ x 1) y) x) #s(approx (+ (* x y) (neg x)) (*.f64 (neg.f64 y) x))) #<representation binary64>) () ())) ())
#s(alt (* x (- y 1)) (taylor inf x) (#s(alt #s(approx (+ (* x y) (neg x)) (*.f64 (neg.f64 y) x)) (patch #s(approx (+ (* x y) (neg x)) (*.f64 (neg.f64 y) x)) #<representation binary64>) () ())) ())
#s(alt (* x (- y 1)) (taylor inf x) (#s(alt #s(approx (+ (* x y) (neg x)) (*.f64 (neg.f64 y) x)) (patch #s(approx (+ (* x y) (neg x)) (*.f64 (neg.f64 y) x)) #<representation binary64>) () ())) ())
#s(alt (* x (- y 1)) (taylor inf x) (#s(alt #s(approx (+ (* x y) (neg x)) (*.f64 (neg.f64 y) x)) (patch #s(approx (+ (* x y) (neg x)) (*.f64 (neg.f64 y) x)) #<representation binary64>) () ())) ())
#s(alt (* x (- y 1)) (taylor inf x) (#s(alt #s(approx (+ (* x y) (neg x)) (*.f64 (neg.f64 y) x)) (patch #s(approx (+ (* x y) (neg x)) (*.f64 (neg.f64 y) x)) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x y)) (taylor inf x) (#s(alt (*.f64 (neg.f64 y) x) (patch (*.f64 (neg.f64 y) x) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x y)) (taylor inf x) (#s(alt (*.f64 (neg.f64 y) x) (patch (*.f64 (neg.f64 y) x) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x y)) (taylor inf x) (#s(alt (*.f64 (neg.f64 y) x) (patch (*.f64 (neg.f64 y) x) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x y)) (taylor inf x) (#s(alt (*.f64 (neg.f64 y) x) (patch (*.f64 (neg.f64 y) x) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x (+ 1 (* -1 y)))) (taylor -inf x) (#s(alt #s(approx (- (* (+ x 1) y) x) #s(approx (+ (* x y) (neg x)) (*.f64 (neg.f64 y) x))) (patch #s(approx (- (* (+ x 1) y) x) #s(approx (+ (* x y) (neg x)) (*.f64 (neg.f64 y) x))) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x (+ 1 (+ (* -1 y) (* -1 (/ y x)))))) (taylor -inf x) (#s(alt #s(approx (- (* (+ x 1) y) x) #s(approx (+ (* x y) (neg x)) (*.f64 (neg.f64 y) x))) (patch #s(approx (- (* (+ x 1) y) x) #s(approx (+ (* x y) (neg x)) (*.f64 (neg.f64 y) x))) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x (+ 1 (+ (* -1 y) (* -1 (/ y x)))))) (taylor -inf x) (#s(alt #s(approx (- (* (+ x 1) y) x) #s(approx (+ (* x y) (neg x)) (*.f64 (neg.f64 y) x))) (patch #s(approx (- (* (+ x 1) y) x) #s(approx (+ (* x y) (neg x)) (*.f64 (neg.f64 y) x))) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x (+ 1 (+ (* -1 y) (* -1 (/ y x)))))) (taylor -inf x) (#s(alt #s(approx (- (* (+ x 1) y) x) #s(approx (+ (* x y) (neg x)) (*.f64 (neg.f64 y) x))) (patch #s(approx (- (* (+ x 1) y) x) #s(approx (+ (* x y) (neg x)) (*.f64 (neg.f64 y) x))) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x (+ 1 (* -1 y)))) (taylor -inf x) (#s(alt #s(approx (+ (* x y) (neg x)) (*.f64 (neg.f64 y) x)) (patch #s(approx (+ (* x y) (neg x)) (*.f64 (neg.f64 y) x)) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x (+ 1 (* -1 y)))) (taylor -inf x) (#s(alt #s(approx (+ (* x y) (neg x)) (*.f64 (neg.f64 y) x)) (patch #s(approx (+ (* x y) (neg x)) (*.f64 (neg.f64 y) x)) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x (+ 1 (* -1 y)))) (taylor -inf x) (#s(alt #s(approx (+ (* x y) (neg x)) (*.f64 (neg.f64 y) x)) (patch #s(approx (+ (* x y) (neg x)) (*.f64 (neg.f64 y) x)) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x (+ 1 (* -1 y)))) (taylor -inf x) (#s(alt #s(approx (+ (* x y) (neg x)) (*.f64 (neg.f64 y) x)) (patch #s(approx (+ (* x y) (neg x)) (*.f64 (neg.f64 y) x)) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x y)) (taylor -inf x) (#s(alt (*.f64 (neg.f64 y) x) (patch (*.f64 (neg.f64 y) x) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x y)) (taylor -inf x) (#s(alt (*.f64 (neg.f64 y) x) (patch (*.f64 (neg.f64 y) x) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x y)) (taylor -inf x) (#s(alt (*.f64 (neg.f64 y) x) (patch (*.f64 (neg.f64 y) x) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x y)) (taylor -inf x) (#s(alt (*.f64 (neg.f64 y) x) (patch (*.f64 (neg.f64 y) x) #<representation binary64>) () ())) ())
Calls

6 calls:

TimeVariablePointExpression
1.0ms
y
@-inf
((- (* (+ x 1) y) x) (+ (* x y) (neg x)) (* (neg y) x) (neg y))
1.0ms
y
@0
((- (* (+ x 1) y) x) (+ (* x y) (neg x)) (* (neg y) x) (neg y))
1.0ms
x
@-inf
((- (* (+ x 1) y) x) (+ (* x y) (neg x)) (* (neg y) x) (neg y))
1.0ms
x
@inf
((- (* (+ x 1) y) x) (+ (* x y) (neg x)) (* (neg y) x) (neg y))
1.0ms
x
@0
((- (* (+ x 1) y) x) (+ (* x y) (neg x)) (* (neg y) x) (neg y))

simplify336.0ms (6.6%)

Memory
-31.3MiB live, 244.2MiB allocated
Algorithm
egg-herbie
Rules
20 656×lower-fma.f64
20 656×lower-fma.f32
3 176×lower-*.f64
3 176×lower-*.f32
2 552×lower-/.f32
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
040382
1137382
2360382
3992382
42543382
53744382
64468382
74856382
85092382
95241382
105347382
08585362
Stop Event
iter limit
node limit
Counts
84 → 83
Calls
Call 1
Inputs
(* -1 x)
(- (* y (+ 1 x)) x)
(- (* y (+ 1 x)) x)
(- (* y (+ 1 x)) x)
(* -1 x)
(- (* x y) x)
(- (* x y) x)
(- (* x y) x)
(* -1 (* x y))
(* -1 (* x y))
(* -1 (* x y))
(* -1 (* x y))
(* -1 y)
(* -1 y)
(* -1 y)
(* -1 y)
(* y (+ 1 x))
(* y (+ 1 (+ x (* -1 (/ x y)))))
(* y (+ 1 (+ x (* -1 (/ x y)))))
(* y (+ 1 (+ x (* -1 (/ x y)))))
(* x y)
(* y (+ x (* -1 (/ x y))))
(* y (+ x (* -1 (/ x y))))
(* y (+ x (* -1 (/ x y))))
(* -1 (* x y))
(* -1 (* x y))
(* -1 (* x y))
(* -1 (* x y))
(* -1 y)
(* -1 y)
(* -1 y)
(* -1 y)
(* y (+ 1 x))
(* -1 (* y (+ (* -1 (+ 1 x)) (/ x y))))
(* -1 (* y (+ (* -1 (+ 1 x)) (/ x y))))
(* -1 (* y (+ (* -1 (+ 1 x)) (/ x y))))
(* x y)
(* -1 (* y (+ (* -1 x) (/ x y))))
(* -1 (* y (+ (* -1 x) (/ x y))))
(* -1 (* y (+ (* -1 x) (/ x y))))
(* -1 (* x y))
(* -1 (* x y))
(* -1 (* x y))
(* -1 (* x y))
(* -1 y)
(* -1 y)
(* -1 y)
(* -1 y)
y
(+ y (* x (- y 1)))
(+ y (* x (- y 1)))
(+ y (* x (- y 1)))
(* x (- y 1))
(* x (- y 1))
(* x (- y 1))
(* x (- y 1))
(* -1 (* x y))
(* -1 (* x y))
(* -1 (* x y))
(* -1 (* x y))
(* x (- y 1))
(* x (- (+ y (/ y x)) 1))
(* x (- (+ y (/ y x)) 1))
(* x (- (+ y (/ y x)) 1))
(* x (- y 1))
(* x (- y 1))
(* x (- y 1))
(* x (- y 1))
(* -1 (* x y))
(* -1 (* x y))
(* -1 (* x y))
(* -1 (* x y))
(* -1 (* x (+ 1 (* -1 y))))
(* -1 (* x (+ 1 (+ (* -1 y) (* -1 (/ y x))))))
(* -1 (* x (+ 1 (+ (* -1 y) (* -1 (/ y x))))))
(* -1 (* x (+ 1 (+ (* -1 y) (* -1 (/ y x))))))
(* -1 (* x (+ 1 (* -1 y))))
(* -1 (* x (+ 1 (* -1 y))))
(* -1 (* x (+ 1 (* -1 y))))
(* -1 (* x (+ 1 (* -1 y))))
(* -1 (* x y))
(* -1 (* x y))
(* -1 (* x y))
(* -1 (* x y))
Outputs
(* -1 x)
(neg.f64 x)
(- (* y (+ 1 x)) x)
(-.f64 (fma.f64 y x y) x)
(- (* y (+ 1 x)) x)
(-.f64 (fma.f64 y x y) x)
(- (* y (+ 1 x)) x)
(-.f64 (fma.f64 y x y) x)
(* -1 x)
(neg.f64 x)
(- (* x y) x)
(-.f64 (*.f64 y x) x)
(- (* x y) x)
(-.f64 (*.f64 y x) x)
(- (* x y) x)
(-.f64 (*.f64 y x) x)
(* -1 (* x y))
(*.f64 (neg.f64 x) y)
(* -1 (* x y))
(*.f64 (neg.f64 x) y)
(* -1 (* x y))
(*.f64 (neg.f64 x) y)
(* -1 (* x y))
(*.f64 (neg.f64 x) y)
(* -1 y)
(neg.f64 y)
(* -1 y)
(neg.f64 y)
(* -1 y)
(neg.f64 y)
(* -1 y)
(neg.f64 y)
(* y (+ 1 x))
(fma.f64 y x y)
(* y (+ 1 (+ x (* -1 (/ x y)))))
(-.f64 (fma.f64 y x y) x)
(* y (+ 1 (+ x (* -1 (/ x y)))))
(-.f64 (fma.f64 y x y) x)
(* y (+ 1 (+ x (* -1 (/ x y)))))
(-.f64 (fma.f64 y x y) x)
(* x y)
(*.f64 y x)
(* y (+ x (* -1 (/ x y))))
(-.f64 (*.f64 y x) x)
(* y (+ x (* -1 (/ x y))))
(-.f64 (*.f64 y x) x)
(* y (+ x (* -1 (/ x y))))
(-.f64 (*.f64 y x) x)
(* -1 (* x y))
(*.f64 (neg.f64 x) y)
(* -1 (* x y))
(*.f64 (neg.f64 x) y)
(* -1 (* x y))
(*.f64 (neg.f64 x) y)
(* -1 (* x y))
(*.f64 (neg.f64 x) y)
(* -1 y)
(neg.f64 y)
(* -1 y)
(neg.f64 y)
(* -1 y)
(neg.f64 y)
(* -1 y)
(neg.f64 y)
(* y (+ 1 x))
(fma.f64 y x y)
(* -1 (* y (+ (* -1 (+ 1 x)) (/ x y))))
(-.f64 (fma.f64 y x y) x)
(* -1 (* y (+ (* -1 (+ 1 x)) (/ x y))))
(-.f64 (fma.f64 y x y) x)
(* -1 (* y (+ (* -1 (+ 1 x)) (/ x y))))
(-.f64 (fma.f64 y x y) x)
(* x y)
(*.f64 y x)
(* -1 (* y (+ (* -1 x) (/ x y))))
(-.f64 (*.f64 y x) x)
(* -1 (* y (+ (* -1 x) (/ x y))))
(-.f64 (*.f64 y x) x)
(* -1 (* y (+ (* -1 x) (/ x y))))
(-.f64 (*.f64 y x) x)
(* -1 (* x y))
(*.f64 (neg.f64 x) y)
(* -1 (* x y))
(*.f64 (neg.f64 x) y)
(* -1 (* x y))
(*.f64 (neg.f64 x) y)
(* -1 (* x y))
(*.f64 (neg.f64 x) y)
(* -1 y)
(neg.f64 y)
(* -1 y)
(neg.f64 y)
(* -1 y)
(neg.f64 y)
(* -1 y)
(neg.f64 y)
y
(+ y (* x (- y 1)))
(-.f64 (fma.f64 y x y) x)
(+ y (* x (- y 1)))
(-.f64 (fma.f64 y x y) x)
(+ y (* x (- y 1)))
(-.f64 (fma.f64 y x y) x)
(* x (- y 1))
(-.f64 (*.f64 y x) x)
(* x (- y 1))
(-.f64 (*.f64 y x) x)
(* x (- y 1))
(-.f64 (*.f64 y x) x)
(* x (- y 1))
(-.f64 (*.f64 y x) x)
(* -1 (* x y))
(*.f64 (neg.f64 x) y)
(* -1 (* x y))
(*.f64 (neg.f64 x) y)
(* -1 (* x y))
(*.f64 (neg.f64 x) y)
(* -1 (* x y))
(*.f64 (neg.f64 x) y)
(* x (- y 1))
(-.f64 (*.f64 y x) x)
(* x (- (+ y (/ y x)) 1))
(-.f64 (fma.f64 y x y) x)
(* x (- (+ y (/ y x)) 1))
(-.f64 (fma.f64 y x y) x)
(* x (- (+ y (/ y x)) 1))
(-.f64 (fma.f64 y x y) x)
(* x (- y 1))
(-.f64 (*.f64 y x) x)
(* x (- y 1))
(-.f64 (*.f64 y x) x)
(* x (- y 1))
(-.f64 (*.f64 y x) x)
(* x (- y 1))
(-.f64 (*.f64 y x) x)
(* -1 (* x y))
(*.f64 (neg.f64 x) y)
(* -1 (* x y))
(*.f64 (neg.f64 x) y)
(* -1 (* x y))
(*.f64 (neg.f64 x) y)
(* -1 (* x y))
(*.f64 (neg.f64 x) y)
(* -1 (* x (+ 1 (* -1 y))))
(-.f64 (*.f64 y x) x)
(* -1 (* x (+ 1 (+ (* -1 y) (* -1 (/ y x))))))
(-.f64 (fma.f64 y x y) x)
(* -1 (* x (+ 1 (+ (* -1 y) (* -1 (/ y x))))))
(-.f64 (fma.f64 y x y) x)
(* -1 (* x (+ 1 (+ (* -1 y) (* -1 (/ y x))))))
(-.f64 (fma.f64 y x y) x)
(* -1 (* x (+ 1 (* -1 y))))
(-.f64 (*.f64 y x) x)
(* -1 (* x (+ 1 (* -1 y))))
(-.f64 (*.f64 y x) x)
(* -1 (* x (+ 1 (* -1 y))))
(-.f64 (*.f64 y x) x)
(* -1 (* x (+ 1 (* -1 y))))
(-.f64 (*.f64 y x) x)
(* -1 (* x y))
(*.f64 (neg.f64 x) y)
(* -1 (* x y))
(*.f64 (neg.f64 x) y)
(* -1 (* x y))
(*.f64 (neg.f64 x) y)
(* -1 (* x y))
(*.f64 (neg.f64 x) y)

rewrite128.0ms (2.5%)

Memory
24.0MiB live, 142.5MiB allocated
Rules
4 456×lower-fma.f64
4 456×lower-fma.f32
3 124×lower-*.f32
3 122×lower-*.f64
1 862×lower-/.f64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01336
01534
16634
247631
3626631
0818728
Stop Event
iter limit
node limit
iter limit
Counts
4 → 65
Calls
Call 1
Inputs
#s(approx (- (* (+ x 1) y) x) #s(approx (+ (* x y) (neg x)) (*.f64 (neg.f64 y) x)))
#s(approx (+ (* x y) (neg x)) (*.f64 (neg.f64 y) x))
(*.f64 (neg.f64 y) x)
(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>

eval28.0ms (0.6%)

Memory
-11.7MiB live, 26.0MiB allocated
Compiler

Compiled 1 208 to 288 computations (76.2% saved)

prune6.0ms (0.1%)

Memory
14.4MiB live, 14.4MiB allocated
Pruning

7 alts after pruning (0 fresh and 7 done)

PrunedKeptTotal
New1480148
Fresh000
Picked011
Done066
Total1487155
Accuracy
100.0%
Counts
155 → 7
Alt Table
Click to see full alt table
StatusAccuracyProgram
75.3%
(-.f64 (*.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y) x)
64.9%
#s(approx (- (* (+ x 1) y) x) (fma.f64 x y (neg.f64 x)))
59.8%
#s(approx (- (* (+ x 1) y) x) (fma.f64 x y y))
41.0%
#s(approx (- (* (+ x 1) y) x) (neg.f64 x))
2.9%
#s(approx (- (* (+ x 1) y) x) #s(approx (+ (* x y) (neg x)) (*.f64 (neg.f64 y) x)))
25.7%
#s(approx (- (* (+ x 1) y) x) #s(approx (+ (* x y) (neg x)) (*.f64 y x)))
2.4%
#s(approx (- (* (+ x 1) y) x) x)
Compiler

Compiled 73 to 56 computations (23.3% saved)

regimes24.0ms (0.5%)

Memory
-22.2MiB live, 16.2MiB allocated
Counts
8 → 1
Calls
Call 1
Inputs
#s(approx (- (* (+ x 1) y) x) x)
#s(approx (- (* (+ x 1) y) x) (neg.f64 x))
#s(approx (- (* (+ x 1) y) x) #s(approx (+ (* x y) (neg x)) (*.f64 y x)))
#s(approx (- (* (+ x 1) y) x) (fma.f64 x y y))
#s(approx (- (* (+ x 1) y) x) #s(approx (+ (* x y) (neg x)) (*.f64 (neg.f64 y) x)))
#s(approx (- (* (+ x 1) y) x) (fma.f64 x y (neg.f64 x)))
(-.f64 (*.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y) x)
(-.f64 (*.f64 (+.f64 x #s(literal 1 binary64)) y) x)
Outputs
(-.f64 (*.f64 (+.f64 x #s(literal 1 binary64)) y) x)
Calls

3 calls:

17.0ms
x
3.0ms
(-.f64 (*.f64 (+.f64 x #s(literal 1 binary64)) y) x)
3.0ms
y
Results
AccuracySegmentsBranch
100.0%1x
100.0%1y
100.0%1(-.f64 (*.f64 (+.f64 x #s(literal 1 binary64)) y) x)
Compiler

Compiled 9 to 10 computations (-11.1% saved)

regimes10.0ms (0.2%)

Memory
18.6MiB live, 18.6MiB allocated
Counts
7 → 3
Calls
Call 1
Inputs
#s(approx (- (* (+ x 1) y) x) x)
#s(approx (- (* (+ x 1) y) x) (neg.f64 x))
#s(approx (- (* (+ x 1) y) x) #s(approx (+ (* x y) (neg x)) (*.f64 y x)))
#s(approx (- (* (+ x 1) y) x) (fma.f64 x y y))
#s(approx (- (* (+ x 1) y) x) #s(approx (+ (* x y) (neg x)) (*.f64 (neg.f64 y) x)))
#s(approx (- (* (+ x 1) y) x) (fma.f64 x y (neg.f64 x)))
(-.f64 (*.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y) x)
Outputs
#s(approx (- (* (+ x 1) y) x) (fma.f64 x y (neg.f64 x)))
(-.f64 (*.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y) x)
#s(approx (- (* (+ x 1) y) x) (fma.f64 x y (neg.f64 x)))
Calls

3 calls:

3.0ms
x
3.0ms
(-.f64 (*.f64 (+.f64 x #s(literal 1 binary64)) y) x)
3.0ms
y
Results
AccuracySegmentsBranch
98.8%3x
98.4%3y
91.5%3(-.f64 (*.f64 (+.f64 x #s(literal 1 binary64)) y) x)
Compiler

Compiled 9 to 10 computations (-11.1% saved)

regimes9.0ms (0.2%)

Memory
18.5MiB live, 18.5MiB allocated
Counts
6 → 3
Calls
Call 1
Inputs
#s(approx (- (* (+ x 1) y) x) x)
#s(approx (- (* (+ x 1) y) x) (neg.f64 x))
#s(approx (- (* (+ x 1) y) x) #s(approx (+ (* x y) (neg x)) (*.f64 y x)))
#s(approx (- (* (+ x 1) y) x) (fma.f64 x y y))
#s(approx (- (* (+ x 1) y) x) #s(approx (+ (* x y) (neg x)) (*.f64 (neg.f64 y) x)))
#s(approx (- (* (+ x 1) y) x) (fma.f64 x y (neg.f64 x)))
Outputs
#s(approx (- (* (+ x 1) y) x) (fma.f64 x y (neg.f64 x)))
#s(approx (- (* (+ x 1) y) x) (fma.f64 x y y))
#s(approx (- (* (+ x 1) y) x) (fma.f64 x y (neg.f64 x)))
Calls

3 calls:

3.0ms
x
3.0ms
y
3.0ms
(-.f64 (*.f64 (+.f64 x #s(literal 1 binary64)) y) x)
Results
AccuracySegmentsBranch
72.6%4(-.f64 (*.f64 (+.f64 x #s(literal 1 binary64)) y) x)
88.6%3y
90.7%3x
Compiler

Compiled 9 to 10 computations (-11.1% saved)

regimes8.0ms (0.2%)

Memory
-24.9MiB live, 11.8MiB allocated
Counts
5 → 3
Calls
Call 1
Inputs
#s(approx (- (* (+ x 1) y) x) x)
#s(approx (- (* (+ x 1) y) x) (neg.f64 x))
#s(approx (- (* (+ x 1) y) x) #s(approx (+ (* x y) (neg x)) (*.f64 y x)))
#s(approx (- (* (+ x 1) y) x) (fma.f64 x y y))
#s(approx (- (* (+ x 1) y) x) #s(approx (+ (* x y) (neg x)) (*.f64 (neg.f64 y) x)))
Outputs
#s(approx (- (* (+ x 1) y) x) (fma.f64 x y y))
#s(approx (- (* (+ x 1) y) x) (neg.f64 x))
#s(approx (- (* (+ x 1) y) x) (fma.f64 x y y))
Calls

2 calls:

5.0ms
x
2.0ms
y
Results
AccuracySegmentsBranch
88.4%3y
72.5%6x
Compiler

Compiled 2 to 4 computations (-100% saved)

regimes6.0ms (0.1%)

Memory
14.2MiB live, 14.2MiB allocated
Counts
3 → 3
Calls
Call 1
Inputs
#s(approx (- (* (+ x 1) y) x) x)
#s(approx (- (* (+ x 1) y) x) (neg.f64 x))
#s(approx (- (* (+ x 1) y) x) #s(approx (+ (* x y) (neg x)) (*.f64 y x)))
Outputs
#s(approx (- (* (+ x 1) y) x) #s(approx (+ (* x y) (neg x)) (*.f64 y x)))
#s(approx (- (* (+ x 1) y) x) (neg.f64 x))
#s(approx (- (* (+ x 1) y) x) #s(approx (+ (* x y) (neg x)) (*.f64 y x)))
Calls

3 calls:

2.0ms
y
2.0ms
x
2.0ms
(-.f64 (*.f64 (+.f64 x #s(literal 1 binary64)) y) x)
Results
AccuracySegmentsBranch
46.7%4x
55.7%3(-.f64 (*.f64 (+.f64 x #s(literal 1 binary64)) y) x)
63.2%3y
Compiler

Compiled 9 to 10 computations (-11.1% saved)

regimes5.0ms (0.1%)

Memory
12.4MiB live, 12.4MiB allocated
Counts
2 → 1
Calls
Call 1
Inputs
#s(approx (- (* (+ x 1) y) x) x)
#s(approx (- (* (+ x 1) y) x) (neg.f64 x))
Outputs
#s(approx (- (* (+ x 1) y) x) (neg.f64 x))
Calls

3 calls:

2.0ms
(-.f64 (*.f64 (+.f64 x #s(literal 1 binary64)) y) x)
2.0ms
x
2.0ms
y
Results
AccuracySegmentsBranch
41.0%1x
41.0%1(-.f64 (*.f64 (+.f64 x #s(literal 1 binary64)) y) x)
41.0%1y
Compiler

Compiled 9 to 10 computations (-11.1% saved)

regimes41.0ms (0.8%)

Memory
-43.3MiB live, 7.0MiB allocated
Accuracy

Total -0.0b remaining (-0%)

Threshold costs -0b (-0%)

Counts
1 → 1
Calls
Call 1
Inputs
#s(approx (- (* (+ x 1) y) x) x)
Outputs
#s(approx (- (* (+ x 1) y) x) x)
Calls

3 calls:

38.0ms
y
1.0ms
(-.f64 (*.f64 (+.f64 x #s(literal 1 binary64)) y) x)
1.0ms
x
Results
AccuracySegmentsBranch
2.4%1(-.f64 (*.f64 (+.f64 x #s(literal 1 binary64)) y) x)
2.4%1y
2.4%1x
Compiler

Compiled 9 to 10 computations (-11.1% saved)

bsearch18.0ms (0.3%)

Memory
12.3MiB live, 12.3MiB allocated
Algorithm
binary-search
Stop Event
narrow-enough
narrow-enough
Steps
TimeLeftRight
5.0ms
5.3536526255049264e-17
9.108461022382205e-17
11.0ms
-1.708323790204963
-1.155688496630143e-6
Samples
8.0ms208×0valid
Compiler

Compiled 166 to 180 computations (-8.4% saved)

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

bsearch19.0ms (0.4%)

Memory
16.3MiB live, 16.3MiB allocated
Algorithm
binary-search
Stop Event
narrow-enough
narrow-enough
Steps
TimeLeftRight
7.0ms
1.4871345746348427e-97
1.060165868370096e-96
10.0ms
-2.3802566226354565e-32
-3.085744950077282e-35
Samples
9.0ms224×0valid
Compiler

Compiled 164 to 165 computations (-0.6% saved)

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

bsearch24.0ms (0.5%)

Memory
5.5MiB live, 42.2MiB allocated
Algorithm
binary-search
Stop Event
narrow-enough
narrow-enough
Steps
TimeLeftRight
10.0ms
9.400315786677661e-81
1.9079722570343082e-76
12.0ms
-2.5745515459969313e-8
-8.75709867842271e-10
Samples
13.0ms240×0valid
Compiler

Compiled 130 to 161 computations (-23.8% saved)

Precisions
Click to see histograms. Total time spent on operations: 8.0ms
ival-add: 5.0ms (61.6% of total)
ival-mult: 2.0ms (24.6% of total)
ival-sub: 1.0ms (12.3% of total)
ival-true: 0.0ms (0% of total)
exact: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

bsearch30.0ms (0.6%)

Memory
-24.0MiB live, 49.5MiB allocated
Algorithm
binary-search
Stop Event
narrow-enough
narrow-enough
Steps
TimeLeftRight
13.0ms
0.9824173618145615
1.2495571554999126e+27
13.0ms
-532.6416129294325
-0.26952924940940565
Samples
12.0ms304×0valid
Compiler

Compiled 162 to 220 computations (-35.8% saved)

Precisions
Click to see histograms. Total time spent on operations: 6.0ms
ival-add: 2.0ms (36.2% of total)
ival-mult: 2.0ms (36.2% of total)
ival-sub: 1.0ms (18.1% of total)
ival-true: 0.0ms (0% of total)
exact: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

simplify29.0ms (0.6%)

Memory
14.4MiB live, 58.4MiB allocated
Algorithm
egg-herbie
Rules
*-commutative-binary64-*.f64
+-commutative-binary64-+.f64
sub-neg-binary64-neg.f64-+.f64--.f64
1-exp-binary32-exp.f32
1-exp-binary64-exp.f64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
047211
158211
262211
363211
Stop Event
saturated
Calls
Call 1
Inputs
(-.f64 (*.f64 (+.f64 x #s(literal 1 binary64)) y) x)
(if (<=.f64 x #s(literal -1 binary64)) #s(approx (- (* (+ x 1) y) x) (fma.f64 x y (neg.f64 x))) (if (<=.f64 x #s(literal 7301667457314601/81129638414606681695789005144064 binary64)) (-.f64 (*.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y) x) #s(approx (- (* (+ x 1) y) x) (fma.f64 x y (neg.f64 x)))))
(if (<=.f64 x #s(literal -7716728645107167/11692013098647223345629478661730264157247460343808 binary64)) #s(approx (- (* (+ x 1) y) x) (fma.f64 x y (neg.f64 x))) (if (<=.f64 x #s(literal 5050305969996851/4809815209520810450717656262224562232065397860164239095208531909697964083434718092213655548692006303809402830848 binary64)) #s(approx (- (* (+ x 1) y) x) (fma.f64 x y y)) #s(approx (- (* (+ x 1) y) x) (fma.f64 x y (neg.f64 x)))))
(if (<=.f64 y #s(literal -8510837770086989/9671406556917033397649408 binary64)) #s(approx (- (* (+ x 1) y) x) (fma.f64 x y y)) (if (<=.f64 y #s(literal 4237034830775731/32592575621351777380295131014550050576823494298654980010178247189670100796213387298934358016 binary64)) #s(approx (- (* (+ x 1) y) x) (neg.f64 x)) #s(approx (- (* (+ x 1) y) x) (fma.f64 x y y))))
(if (<=.f64 y #s(literal -1 binary64)) #s(approx (- (* (+ x 1) y) x) #s(approx (+ (* x y) (neg x)) (*.f64 y x))) (if (<=.f64 y #s(literal 1 binary64)) #s(approx (- (* (+ x 1) y) x) (neg.f64 x)) #s(approx (- (* (+ x 1) y) x) #s(approx (+ (* x y) (neg x)) (*.f64 y x)))))
#s(approx (- (* (+ x 1) y) x) (neg.f64 x))
#s(approx (- (* (+ x 1) y) x) x)
Outputs
(-.f64 (*.f64 (+.f64 x #s(literal 1 binary64)) y) x)
(-.f64 (*.f64 y (+.f64 #s(literal 1 binary64) x)) x)
(if (<=.f64 x #s(literal -1 binary64)) #s(approx (- (* (+ x 1) y) x) (fma.f64 x y (neg.f64 x))) (if (<=.f64 x #s(literal 7301667457314601/81129638414606681695789005144064 binary64)) (-.f64 (*.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y) x) #s(approx (- (* (+ x 1) y) x) (fma.f64 x y (neg.f64 x)))))
(if (<=.f64 x #s(literal -7716728645107167/11692013098647223345629478661730264157247460343808 binary64)) #s(approx (- (* (+ x 1) y) x) (fma.f64 x y (neg.f64 x))) (if (<=.f64 x #s(literal 5050305969996851/4809815209520810450717656262224562232065397860164239095208531909697964083434718092213655548692006303809402830848 binary64)) #s(approx (- (* (+ x 1) y) x) (fma.f64 x y y)) #s(approx (- (* (+ x 1) y) x) (fma.f64 x y (neg.f64 x)))))
(if (<=.f64 y #s(literal -8510837770086989/9671406556917033397649408 binary64)) #s(approx (- (* (+ x 1) y) x) (fma.f64 x y y)) (if (<=.f64 y #s(literal 4237034830775731/32592575621351777380295131014550050576823494298654980010178247189670100796213387298934358016 binary64)) #s(approx (- (* (+ x 1) y) x) (neg.f64 x)) #s(approx (- (* (+ x 1) y) x) (fma.f64 x y y))))
(if (<=.f64 y #s(literal -1 binary64)) #s(approx (- (* (+ x 1) y) x) #s(approx (+ (* x y) (neg x)) (*.f64 y x))) (if (<=.f64 y #s(literal 1 binary64)) #s(approx (- (* (+ x 1) y) x) (neg.f64 x)) #s(approx (- (* (+ x 1) y) x) #s(approx (+ (* x y) (neg x)) (*.f64 y x)))))
#s(approx (- (* (+ x 1) y) x) (neg.f64 x))
#s(approx (- (* (+ x 1) y) x) x)

soundness1.1s (21.4%)

Memory
9.3MiB live, 433.3MiB allocated
Rules
8 216×lower-fma.f32
8 212×lower-fma.f64
4 826×lower-*.f32
4 824×lower-*.f64
4 208×lower-*.f64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
041291
1140291
2363291
3978291
42455291
53593291
64358291
75301291
85827291
96391291
107434291
08103250
01567
02164
19164
273360
0958059
049987
1170987
2441987
31071987
42529987
53601987
64346987
75290987
85816987
96382987
107441987
08110865
Stop Event
done
iter limit
node limit
iter limit
node limit
iter limit
iter limit
node limit
Compiler

Compiled 144 to 82 computations (43.1% saved)

preprocess199.0ms (3.9%)

Memory
-19.4MiB live, 147.4MiB allocated
Compiler

Compiled 224 to 94 computations (58% saved)

end0.0ms (0%)

Memory
0.0MiB live, 0.0MiB allocated

Profiling

Loading profile data...