Examples.Basics.BasicTests:f1 from sbv-4.4

Time bar (total: 4.5s)

start0.0ms (0%)

Memory
0.1MiB live, 0.1MiB allocated

analyze0.0ms (0%)

Memory
0.8MiB live, 0.7MiB 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 7 computations (22.2% saved)

sample662.0ms (14.8%)

Memory
16.7MiB live, 1 127.9MiB allocated
Samples
325.0ms8 256×0valid
Precisions
Click to see histograms. Total time spent on operations: 157.0ms
ival-mult: 56.0ms (35.6% of total)
ival-add: 51.0ms (32.4% of total)
ival-sub: 41.0ms (26% of total)
ival-true: 7.0ms (4.4% of total)
ival-assert: 4.0ms (2.5% of total)
Bogosity

explain260.0ms (5.8%)

Memory
-2.5MiB live, 120.0MiB allocated
FPErrors
Click to see full error table
Ground TruthOverpredictionsExampleUnderpredictionsExampleSubexpression
00-0-y
00-0-(*.f64 (+.f64 x y) (-.f64 x y))
00-0-(+.f64 x y)
00-0-(-.f64 x y)
00-0-x
Confusion
Predicted +Predicted -
+00
-0256
Precision
0/0
Recall
0/0
Confusion?
Predicted +Predicted MaybePredicted -
+000
-00256
Precision?
0/0
Recall?
0/0
Freqs
test
numberfreq
0256
Total Confusion?
Predicted +Predicted MaybePredicted -
+000
-001
Precision?
0/0
Recall?
0/0
Samples
21.0ms512×0valid
Compiler

Compiled 41 to 19 computations (53.7% saved)

Precisions
Click to see histograms. Total time spent on operations: 9.0ms
ival-sub: 3.0ms (32.5% of total)
ival-add: 3.0ms (32.5% of total)
ival-mult: 3.0ms (32.5% of total)
ival-true: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

preprocess611.0ms (13.7%)

Memory
39.7MiB live, 346.9MiB allocated
Algorithm
egg-herbie
Rules
37 776×lower-fma.f64
37 776×lower-fma.f32
8 740×lower-+.f32
8 738×lower-+.f64
3 244×associate-+r+
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01543
14437
215135
352435
4114735
5195435
6247735
7317135
8414035
9474035
10494435
11501035
12507435
13510635
14637835
15780235
057
087
1127
2317
3697
41807
53447
66827
712767
822047
928257
1029937
1130357
1230737
1330737
1430737
1530757
093437
Stop Event
iter limit
node limit
iter limit
node limit
Calls
Call 1
Inputs
(*.f64 (+.f64 x y) (-.f64 x y))
Outputs
(*.f64 (+.f64 x y) (-.f64 x y))
(fma.f64 (neg.f64 y) y (*.f64 x x))
Symmetry

(abs y)

(abs x)

Compiler

Compiled 7 to 5 computations (28.6% saved)

eval0.0ms (0%)

Memory
0.3MiB live, 0.3MiB allocated
Compiler

Compiled 0 to 2 computations (-∞% saved)

prune0.0ms (0%)

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

Compiled 7 to 5 computations (28.6% saved)

simplify428.0ms (9.6%)

Memory
-31.9MiB live, 289.5MiB allocated
Algorithm
egg-herbie
Localize:

Found 3 expressions of interest:

NewMetricScoreProgram
cost-diff-128
(*.f64 (+.f64 x y) (-.f64 x y))
cost-diff0
(-.f64 x y)
cost-diff0
(+.f64 x y)
Rules
37 776×lower-fma.f64
37 776×lower-fma.f32
8 740×lower-+.f32
8 738×lower-+.f64
3 244×associate-+r+
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0515
0815
11215
23115
36915
418015
534415
668215
7127615
8220415
9282515
10299315
11303515
12307315
13307315
14307315
15307515
0934315
Stop Event
iter limit
node limit
iter limit
Calls
Call 1
Inputs
(*.f64 (+.f64 x y) (-.f64 x y))
(+.f64 x y)
x
y
(-.f64 x y)
Outputs
(*.f64 (+.f64 x y) (-.f64 x y))
(fma.f64 (neg.f64 y) y (*.f64 x x))
(+.f64 x y)
(+.f64 y x)
x
y
(-.f64 x y)

localize14.0ms (0.3%)

Memory
15.5MiB live, 15.5MiB allocated
Localize:

Found 3 expressions of interest:

NewMetricScoreProgram
accuracy0
(-.f64 x y)
accuracy0
(+.f64 x y)
accuracy0
(*.f64 (+.f64 x y) (-.f64 x y))
Samples
10.0ms256×0valid
Compiler

Compiled 17 to 7 computations (58.8% saved)

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

series4.0ms (0.1%)

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

6 calls:

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

simplify144.0ms (3.2%)

Memory
-0.4MiB live, 151.3MiB allocated
Algorithm
egg-herbie
Rules
14 152×lower-fma.f64
14 152×lower-fma.f32
2 614×lower--.f64
2 614×lower--.f32
2 222×lower-*.f64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
086309
1265249
2786249
33277249
08535249
Stop Event
iter limit
node limit
Counts
72 → 63
Calls
Call 1
Inputs
x
(+ x y)
(+ x y)
(+ x y)
x
(+ x (* -1 y))
(+ x (* -1 y))
(+ x (* -1 y))
(pow x 2)
(+ (* y (+ x (* -1 x))) (pow x 2))
(+ (* y (+ x (+ (* -1 x) (* -1 y)))) (pow x 2))
(+ (* y (+ x (+ (* -1 x) (* -1 y)))) (pow x 2))
y
(* y (+ 1 (/ x y)))
(* y (+ 1 (/ x y)))
(* y (+ 1 (/ x y)))
(* -1 y)
(* y (- (/ x y) 1))
(* y (- (/ x y) 1))
(* y (- (/ x y) 1))
(* -1 (pow y 2))
(* (pow y 2) (- (+ (* -1 (/ x y)) (/ x y)) 1))
(* (pow y 2) (- (+ (* -1 (/ x y)) (+ (/ x y) (/ (pow x 2) (pow y 2)))) 1))
(* (pow y 2) (- (+ (* -1 (/ x y)) (+ (/ x y) (/ (pow x 2) (pow y 2)))) 1))
y
(* -1 (* y (- (* -1 (/ x y)) 1)))
(* -1 (* y (- (* -1 (/ x y)) 1)))
(* -1 (* y (- (* -1 (/ x y)) 1)))
(* -1 y)
(* -1 (* y (+ 1 (* -1 (/ x y)))))
(* -1 (* y (+ 1 (* -1 (/ x y)))))
(* -1 (* y (+ 1 (* -1 (/ x y)))))
(* -1 (pow y 2))
(* (pow y 2) (- (* -1 (/ (+ x (* -1 x)) y)) 1))
(* (pow y 2) (- (* -1 (/ (+ x (+ (* -1 x) (* -1 (/ (pow x 2) y)))) y)) 1))
(* (pow y 2) (- (* -1 (/ (+ x (+ (* -1 x) (* -1 (/ (pow x 2) y)))) y)) 1))
y
(+ x y)
(+ x y)
(+ x y)
(* -1 y)
(- x y)
(- x y)
(- x y)
(* -1 (pow y 2))
(+ (* -1 (pow y 2)) (* x (+ y (* -1 y))))
(+ (* -1 (pow y 2)) (* x (+ x (+ y (* -1 y)))))
(+ (* -1 (pow y 2)) (* x (+ x (+ y (* -1 y)))))
x
(* x (+ 1 (/ y x)))
(* x (+ 1 (/ y x)))
(* x (+ 1 (/ y x)))
x
(* x (+ 1 (* -1 (/ y x))))
(* x (+ 1 (* -1 (/ y x))))
(* x (+ 1 (* -1 (/ y x))))
(pow x 2)
(* (pow x 2) (+ 1 (+ (* -1 (/ y x)) (/ y x))))
(* (pow x 2) (+ 1 (+ (* -1 (/ y x)) (+ (* -1 (/ (pow y 2) (pow x 2))) (/ y x)))))
(* (pow x 2) (+ 1 (+ (* -1 (/ y x)) (+ (* -1 (/ (pow y 2) (pow x 2))) (/ y x)))))
x
(* -1 (* x (- (* -1 (/ y x)) 1)))
(* -1 (* x (- (* -1 (/ y x)) 1)))
(* -1 (* x (- (* -1 (/ y x)) 1)))
x
(* -1 (* x (- (/ y x) 1)))
(* -1 (* x (- (/ y x) 1)))
(* -1 (* x (- (/ y x) 1)))
(pow x 2)
(* (pow x 2) (+ 1 (+ (* -1 (/ y x)) (/ y x))))
(* (pow x 2) (+ 1 (* -1 (/ (+ (* -1 (+ y (* -1 y))) (/ (pow y 2) x)) x))))
(* (pow x 2) (+ 1 (* -1 (/ (+ (* -1 (+ y (* -1 y))) (/ (pow y 2) x)) x))))
Outputs
x
(+ x y)
(+.f64 y x)
(+ x y)
(+.f64 y x)
(+ x y)
(+.f64 y x)
x
(+ x (* -1 y))
(-.f64 x y)
(+ x (* -1 y))
(-.f64 x y)
(+ x (* -1 y))
(-.f64 x y)
(pow x 2)
(*.f64 x x)
(+ (* y (+ x (* -1 x))) (pow x 2))
(*.f64 x x)
(+ (* y (+ x (+ (* -1 x) (* -1 y)))) (pow x 2))
(fma.f64 (neg.f64 y) y (*.f64 x x))
(+ (* y (+ x (+ (* -1 x) (* -1 y)))) (pow x 2))
(fma.f64 (neg.f64 y) y (*.f64 x x))
y
(* y (+ 1 (/ x y)))
(+.f64 y x)
(* y (+ 1 (/ x y)))
(+.f64 y x)
(* y (+ 1 (/ x y)))
(+.f64 y x)
(* -1 y)
(neg.f64 y)
(* y (- (/ x y) 1))
(-.f64 x y)
(* y (- (/ x y) 1))
(-.f64 x y)
(* y (- (/ x y) 1))
(-.f64 x y)
(* -1 (pow y 2))
(*.f64 (neg.f64 y) y)
(* (pow y 2) (- (+ (* -1 (/ x y)) (/ x y)) 1))
(*.f64 (neg.f64 y) y)
(* (pow y 2) (- (+ (* -1 (/ x y)) (+ (/ x y) (/ (pow x 2) (pow y 2)))) 1))
(fma.f64 (neg.f64 y) y (*.f64 x x))
(* (pow y 2) (- (+ (* -1 (/ x y)) (+ (/ x y) (/ (pow x 2) (pow y 2)))) 1))
(fma.f64 (neg.f64 y) y (*.f64 x x))
y
(* -1 (* y (- (* -1 (/ x y)) 1)))
(+.f64 y x)
(* -1 (* y (- (* -1 (/ x y)) 1)))
(+.f64 y x)
(* -1 (* y (- (* -1 (/ x y)) 1)))
(+.f64 y x)
(* -1 y)
(neg.f64 y)
(* -1 (* y (+ 1 (* -1 (/ x y)))))
(-.f64 x y)
(* -1 (* y (+ 1 (* -1 (/ x y)))))
(-.f64 x y)
(* -1 (* y (+ 1 (* -1 (/ x y)))))
(-.f64 x y)
(* -1 (pow y 2))
(*.f64 (neg.f64 y) y)
(* (pow y 2) (- (* -1 (/ (+ x (* -1 x)) y)) 1))
(*.f64 (neg.f64 y) y)
(* (pow y 2) (- (* -1 (/ (+ x (+ (* -1 x) (* -1 (/ (pow x 2) y)))) y)) 1))
(fma.f64 (neg.f64 y) y (*.f64 x x))
(* (pow y 2) (- (* -1 (/ (+ x (+ (* -1 x) (* -1 (/ (pow x 2) y)))) y)) 1))
(fma.f64 (neg.f64 y) y (*.f64 x x))
y
(+ x y)
(+.f64 y x)
(+ x y)
(+.f64 y x)
(+ x y)
(+.f64 y x)
(* -1 y)
(neg.f64 y)
(- x y)
(-.f64 x y)
(- x y)
(-.f64 x y)
(- x y)
(-.f64 x y)
(* -1 (pow y 2))
(*.f64 (neg.f64 y) y)
(+ (* -1 (pow y 2)) (* x (+ y (* -1 y))))
(*.f64 (neg.f64 y) y)
(+ (* -1 (pow y 2)) (* x (+ x (+ y (* -1 y)))))
(fma.f64 (neg.f64 y) y (*.f64 x x))
(+ (* -1 (pow y 2)) (* x (+ x (+ y (* -1 y)))))
(fma.f64 (neg.f64 y) y (*.f64 x x))
x
(* x (+ 1 (/ y x)))
(+.f64 y x)
(* x (+ 1 (/ y x)))
(+.f64 y x)
(* x (+ 1 (/ y x)))
(+.f64 y x)
x
(* x (+ 1 (* -1 (/ y x))))
(-.f64 x y)
(* x (+ 1 (* -1 (/ y x))))
(-.f64 x y)
(* x (+ 1 (* -1 (/ y x))))
(-.f64 x y)
(pow x 2)
(*.f64 x x)
(* (pow x 2) (+ 1 (+ (* -1 (/ y x)) (/ y x))))
(*.f64 x x)
(* (pow x 2) (+ 1 (+ (* -1 (/ y x)) (+ (* -1 (/ (pow y 2) (pow x 2))) (/ y x)))))
(fma.f64 (neg.f64 y) y (*.f64 x x))
(* (pow x 2) (+ 1 (+ (* -1 (/ y x)) (+ (* -1 (/ (pow y 2) (pow x 2))) (/ y x)))))
(fma.f64 (neg.f64 y) y (*.f64 x x))
x
(* -1 (* x (- (* -1 (/ y x)) 1)))
(+.f64 y x)
(* -1 (* x (- (* -1 (/ y x)) 1)))
(+.f64 y x)
(* -1 (* x (- (* -1 (/ y x)) 1)))
(+.f64 y x)
x
(* -1 (* x (- (/ y x) 1)))
(-.f64 x y)
(* -1 (* x (- (/ y x) 1)))
(-.f64 x y)
(* -1 (* x (- (/ y x) 1)))
(-.f64 x y)
(pow x 2)
(*.f64 x x)
(* (pow x 2) (+ 1 (+ (* -1 (/ y x)) (/ y x))))
(*.f64 x x)
(* (pow x 2) (+ 1 (* -1 (/ (+ (* -1 (+ y (* -1 y))) (/ (pow y 2) x)) x))))
(fma.f64 (neg.f64 y) y (*.f64 x x))
(* (pow x 2) (+ 1 (* -1 (/ (+ (* -1 (+ y (* -1 y))) (/ (pow y 2) x)) x))))
(fma.f64 (neg.f64 y) y (*.f64 x x))

rewrite277.0ms (6.2%)

Memory
21.3MiB live, 212.2MiB allocated
Rules
5 088×lower-fma.f64
5 088×lower-fma.f32
4 974×lower-*.f32
4 972×lower-*.f64
3 706×lower-/.f64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0513
0813
12913
225013
3394513
0947513
Stop Event
iter limit
node limit
iter limit
Counts
3 → 1 091
Calls
Call 1
Inputs
(+.f64 x y)
(-.f64 x y)
(*.f64 (+.f64 x y) (-.f64 x y))
Outputs
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>

eval340.0ms (7.6%)

Memory
-15.6MiB live, 397.2MiB allocated
Compiler

Compiled 37 757 to 2 885 computations (92.4% saved)

prune58.0ms (1.3%)

Memory
9.7MiB live, 49.0MiB allocated
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New1 15221 154
Fresh000
Picked011
Done000
Total1 15231 155
Accuracy
100.0%
Counts
1 155 → 3
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(*.f64 (+.f64 x y) (-.f64 x y))
48.2%
#s(approx (* (+ x y) (- x y)) (*.f64 (neg.f64 y) y))
57.4%
#s(approx (* (+ x y) (- x y)) (*.f64 x x))
Compiler

Compiled 16 to 14 computations (12.5% saved)

simplify698.0ms (15.6%)

Memory
15.3MiB live, 478.3MiB allocated
Algorithm
egg-herbie
Localize:

Found 5 expressions of interest:

NewMetricScoreProgram
cost-diff0
(neg.f64 y)
cost-diff0
(*.f64 (neg.f64 y) y)
cost-diff0
#s(approx (* (+ x y) (- x y)) (*.f64 (neg.f64 y) y))
cost-diff0
(*.f64 x x)
cost-diff0
#s(approx (* (+ x y) (- x y)) (*.f64 x x))
Rules
74 416×lower-fma.f64
74 416×lower-fma.f32
6 048×lower-*.f32
6 044×lower-*.f64
4 262×distribute-rgt-out
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01034
01334
12334
24534
39934
426534
550034
696434
7163134
8301934
9388834
10412734
11425234
12434134
13434334
14483034
15531234
16571234
17589234
18595234
19597634
20600034
21600034
22609634
23609634
24658534
25698534
26714534
27730534
28738534
29738534
30738534
0993734
Stop Event
iter limit
node limit
iter limit
Calls
Call 1
Inputs
#s(approx (* (+ x y) (- x y)) (*.f64 x x))
(*.f64 x x)
x
#s(approx (* (+ x y) (- x y)) (*.f64 (neg.f64 y) y))
(*.f64 (neg.f64 y) y)
(neg.f64 y)
y
Outputs
#s(approx (* (+ x y) (- x y)) (*.f64 x x))
(*.f64 x x)
x
#s(approx (* (+ x y) (- x y)) (*.f64 (neg.f64 y) y))
(*.f64 (neg.f64 y) y)
(neg.f64 y)
y

localize24.0ms (0.5%)

Memory
-18.4MiB live, 58.6MiB allocated
Localize:

Found 5 expressions of interest:

NewMetricScoreProgram
accuracy0
(*.f64 (neg.f64 y) y)
accuracy0
(neg.f64 y)
accuracy33.1363227721594
#s(approx (* (+ x y) (- x y)) (*.f64 (neg.f64 y) y))
accuracy0
(*.f64 x x)
accuracy27.295026130899345
#s(approx (* (+ x y) (- x y)) (*.f64 x x))
Samples
18.0ms256×0valid
Compiler

Compiled 27 to 10 computations (63% saved)

Precisions
Click to see histograms. Total time spent on operations: 9.0ms
ival-mult: 5.0ms (58.5% of total)
ival-sub: 1.0ms (11.7% of total)
ival-add: 1.0ms (11.7% of total)
ival-neg: 1.0ms (11.7% of total)
ival-true: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

series5.0ms (0.1%)

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

6 calls:

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

simplify290.0ms (6.5%)

Memory
2.9MiB live, 118.4MiB allocated
Algorithm
egg-herbie
Rules
14 420×lower-fma.f64
14 420×lower-fma.f32
2 986×lower-*.f64
2 986×lower-*.f32
2 168×lower--.f64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
063624
1194480
2604456
32453456
47125424
08327416
Stop Event
iter limit
node limit
Counts
84 → 84
Calls
Call 1
Inputs
(pow x 2)
(+ (* y (+ x (* -1 x))) (pow x 2))
(+ (* y (+ x (+ (* -1 x) (* -1 y)))) (pow x 2))
(+ (* y (+ x (+ (* -1 x) (* -1 y)))) (pow x 2))
(pow x 2)
(+ (* y (+ x (* -1 x))) (pow x 2))
(+ (* y (+ x (+ (* -1 x) (* -1 y)))) (pow x 2))
(+ (* y (+ x (+ (* -1 x) (* -1 y)))) (pow x 2))
(* -1 (pow y 2))
(* -1 (pow y 2))
(* -1 (pow y 2))
(* -1 (pow y 2))
(* -1 y)
(* -1 y)
(* -1 y)
(* -1 y)
(* -1 (pow y 2))
(* (pow y 2) (- (+ (* -1 (/ x y)) (/ x y)) 1))
(* (pow y 2) (- (+ (* -1 (/ x y)) (+ (/ x y) (/ (pow x 2) (pow y 2)))) 1))
(* (pow y 2) (- (+ (* -1 (/ x y)) (+ (/ x y) (/ (pow x 2) (pow y 2)))) 1))
(* -1 (pow y 2))
(* (pow y 2) (- (+ (* -1 (/ x y)) (/ x y)) 1))
(* (pow y 2) (- (+ (* -1 (/ x y)) (+ (/ x y) (/ (pow x 2) (pow y 2)))) 1))
(* (pow y 2) (- (+ (* -1 (/ x y)) (+ (/ x y) (/ (pow x 2) (pow y 2)))) 1))
(* -1 (pow y 2))
(* -1 (pow y 2))
(* -1 (pow y 2))
(* -1 (pow y 2))
(* -1 y)
(* -1 y)
(* -1 y)
(* -1 y)
(* -1 (pow y 2))
(* (pow y 2) (- (* -1 (/ (+ x (* -1 x)) y)) 1))
(* (pow y 2) (- (* -1 (/ (+ x (+ (* -1 x) (* -1 (/ (pow x 2) y)))) y)) 1))
(* (pow y 2) (- (* -1 (/ (+ x (+ (* -1 x) (* -1 (/ (pow x 2) y)))) y)) 1))
(* -1 (pow y 2))
(* (pow y 2) (- (* -1 (/ (+ x (* -1 x)) y)) 1))
(* (pow y 2) (- (* -1 (/ (+ x (+ (* -1 x) (* -1 (/ (pow x 2) y)))) y)) 1))
(* (pow y 2) (- (* -1 (/ (+ x (+ (* -1 x) (* -1 (/ (pow x 2) y)))) y)) 1))
(* -1 (pow y 2))
(* -1 (pow y 2))
(* -1 (pow y 2))
(* -1 (pow y 2))
(* -1 y)
(* -1 y)
(* -1 y)
(* -1 y)
(* -1 (pow y 2))
(+ (* -1 (pow y 2)) (* x (+ y (* -1 y))))
(+ (* -1 (pow y 2)) (* x (+ x (+ y (* -1 y)))))
(+ (* -1 (pow y 2)) (* x (+ x (+ y (* -1 y)))))
(pow x 2)
(pow x 2)
(pow x 2)
(pow x 2)
(* -1 (pow y 2))
(+ (* -1 (pow y 2)) (* x (+ y (* -1 y))))
(+ (* -1 (pow y 2)) (* x (+ x (+ y (* -1 y)))))
(+ (* -1 (pow y 2)) (* x (+ x (+ y (* -1 y)))))
(pow x 2)
(* (pow x 2) (+ 1 (+ (* -1 (/ y x)) (/ y x))))
(* (pow x 2) (+ 1 (+ (* -1 (/ y x)) (+ (* -1 (/ (pow y 2) (pow x 2))) (/ y x)))))
(* (pow x 2) (+ 1 (+ (* -1 (/ y x)) (+ (* -1 (/ (pow y 2) (pow x 2))) (/ y x)))))
(pow x 2)
(pow x 2)
(pow x 2)
(pow x 2)
(pow x 2)
(* (pow x 2) (+ 1 (+ (* -1 (/ y x)) (/ y x))))
(* (pow x 2) (+ 1 (+ (* -1 (/ y x)) (+ (* -1 (/ (pow y 2) (pow x 2))) (/ y x)))))
(* (pow x 2) (+ 1 (+ (* -1 (/ y x)) (+ (* -1 (/ (pow y 2) (pow x 2))) (/ y x)))))
(pow x 2)
(* (pow x 2) (+ 1 (+ (* -1 (/ y x)) (/ y x))))
(* (pow x 2) (+ 1 (* -1 (/ (+ (* -1 (+ y (* -1 y))) (/ (pow y 2) x)) x))))
(* (pow x 2) (+ 1 (* -1 (/ (+ (* -1 (+ y (* -1 y))) (/ (pow y 2) x)) x))))
(pow x 2)
(pow x 2)
(pow x 2)
(pow x 2)
(pow x 2)
(* (pow x 2) (+ 1 (+ (* -1 (/ y x)) (/ y x))))
(* (pow x 2) (+ 1 (* -1 (/ (+ (* -1 (+ y (* -1 y))) (/ (pow y 2) x)) x))))
(* (pow x 2) (+ 1 (* -1 (/ (+ (* -1 (+ y (* -1 y))) (/ (pow y 2) x)) x))))
Outputs
(pow x 2)
(*.f64 x x)
(+ (* y (+ x (* -1 x))) (pow x 2))
(*.f64 x x)
(+ (* y (+ x (+ (* -1 x) (* -1 y)))) (pow x 2))
(fma.f64 (neg.f64 y) y (*.f64 x x))
(+ (* y (+ x (+ (* -1 x) (* -1 y)))) (pow x 2))
(fma.f64 (neg.f64 y) y (*.f64 x x))
(pow x 2)
(*.f64 x x)
(+ (* y (+ x (* -1 x))) (pow x 2))
(*.f64 x x)
(+ (* y (+ x (+ (* -1 x) (* -1 y)))) (pow x 2))
(fma.f64 (neg.f64 y) y (*.f64 x x))
(+ (* y (+ x (+ (* -1 x) (* -1 y)))) (pow x 2))
(fma.f64 (neg.f64 y) y (*.f64 x x))
(* -1 (pow y 2))
(*.f64 (neg.f64 y) y)
(* -1 (pow y 2))
(*.f64 (neg.f64 y) y)
(* -1 (pow y 2))
(*.f64 (neg.f64 y) y)
(* -1 (pow y 2))
(*.f64 (neg.f64 y) y)
(* -1 y)
(neg.f64 y)
(* -1 y)
(neg.f64 y)
(* -1 y)
(neg.f64 y)
(* -1 y)
(neg.f64 y)
(* -1 (pow y 2))
(*.f64 (neg.f64 y) y)
(* (pow y 2) (- (+ (* -1 (/ x y)) (/ x y)) 1))
(*.f64 (neg.f64 y) y)
(* (pow y 2) (- (+ (* -1 (/ x y)) (+ (/ x y) (/ (pow x 2) (pow y 2)))) 1))
(*.f64 (*.f64 (fma.f64 (/.f64 x y) (/.f64 x y) #s(literal -1 binary64)) y) y)
(* (pow y 2) (- (+ (* -1 (/ x y)) (+ (/ x y) (/ (pow x 2) (pow y 2)))) 1))
(*.f64 (*.f64 (fma.f64 (/.f64 x y) (/.f64 x y) #s(literal -1 binary64)) y) y)
(* -1 (pow y 2))
(*.f64 (neg.f64 y) y)
(* (pow y 2) (- (+ (* -1 (/ x y)) (/ x y)) 1))
(*.f64 (neg.f64 y) y)
(* (pow y 2) (- (+ (* -1 (/ x y)) (+ (/ x y) (/ (pow x 2) (pow y 2)))) 1))
(*.f64 (*.f64 (fma.f64 (/.f64 x y) (/.f64 x y) #s(literal -1 binary64)) y) y)
(* (pow y 2) (- (+ (* -1 (/ x y)) (+ (/ x y) (/ (pow x 2) (pow y 2)))) 1))
(*.f64 (*.f64 (fma.f64 (/.f64 x y) (/.f64 x y) #s(literal -1 binary64)) y) y)
(* -1 (pow y 2))
(*.f64 (neg.f64 y) y)
(* -1 (pow y 2))
(*.f64 (neg.f64 y) y)
(* -1 (pow y 2))
(*.f64 (neg.f64 y) y)
(* -1 (pow y 2))
(*.f64 (neg.f64 y) y)
(* -1 y)
(neg.f64 y)
(* -1 y)
(neg.f64 y)
(* -1 y)
(neg.f64 y)
(* -1 y)
(neg.f64 y)
(* -1 (pow y 2))
(*.f64 (neg.f64 y) y)
(* (pow y 2) (- (* -1 (/ (+ x (* -1 x)) y)) 1))
(*.f64 (neg.f64 y) y)
(* (pow y 2) (- (* -1 (/ (+ x (+ (* -1 x) (* -1 (/ (pow x 2) y)))) y)) 1))
(*.f64 (*.f64 (fma.f64 (/.f64 x y) (/.f64 x y) #s(literal -1 binary64)) y) y)
(* (pow y 2) (- (* -1 (/ (+ x (+ (* -1 x) (* -1 (/ (pow x 2) y)))) y)) 1))
(*.f64 (*.f64 (fma.f64 (/.f64 x y) (/.f64 x y) #s(literal -1 binary64)) y) y)
(* -1 (pow y 2))
(*.f64 (neg.f64 y) y)
(* (pow y 2) (- (* -1 (/ (+ x (* -1 x)) y)) 1))
(*.f64 (neg.f64 y) y)
(* (pow y 2) (- (* -1 (/ (+ x (+ (* -1 x) (* -1 (/ (pow x 2) y)))) y)) 1))
(*.f64 (*.f64 (fma.f64 (/.f64 x y) (/.f64 x y) #s(literal -1 binary64)) y) y)
(* (pow y 2) (- (* -1 (/ (+ x (+ (* -1 x) (* -1 (/ (pow x 2) y)))) y)) 1))
(*.f64 (*.f64 (fma.f64 (/.f64 x y) (/.f64 x y) #s(literal -1 binary64)) y) y)
(* -1 (pow y 2))
(*.f64 (neg.f64 y) y)
(* -1 (pow y 2))
(*.f64 (neg.f64 y) y)
(* -1 (pow y 2))
(*.f64 (neg.f64 y) y)
(* -1 (pow y 2))
(*.f64 (neg.f64 y) y)
(* -1 y)
(neg.f64 y)
(* -1 y)
(neg.f64 y)
(* -1 y)
(neg.f64 y)
(* -1 y)
(neg.f64 y)
(* -1 (pow y 2))
(*.f64 (neg.f64 y) y)
(+ (* -1 (pow y 2)) (* x (+ y (* -1 y))))
(*.f64 (neg.f64 y) y)
(+ (* -1 (pow y 2)) (* x (+ x (+ y (* -1 y)))))
(fma.f64 (neg.f64 y) y (*.f64 x x))
(+ (* -1 (pow y 2)) (* x (+ x (+ y (* -1 y)))))
(fma.f64 (neg.f64 y) y (*.f64 x x))
(pow x 2)
(*.f64 x x)
(pow x 2)
(*.f64 x x)
(pow x 2)
(*.f64 x x)
(pow x 2)
(*.f64 x x)
(* -1 (pow y 2))
(*.f64 (neg.f64 y) y)
(+ (* -1 (pow y 2)) (* x (+ y (* -1 y))))
(*.f64 (neg.f64 y) y)
(+ (* -1 (pow y 2)) (* x (+ x (+ y (* -1 y)))))
(fma.f64 (neg.f64 y) y (*.f64 x x))
(+ (* -1 (pow y 2)) (* x (+ x (+ y (* -1 y)))))
(fma.f64 (neg.f64 y) y (*.f64 x x))
(pow x 2)
(*.f64 x x)
(* (pow x 2) (+ 1 (+ (* -1 (/ y x)) (/ y x))))
(*.f64 x x)
(* (pow x 2) (+ 1 (+ (* -1 (/ y x)) (+ (* -1 (/ (pow y 2) (pow x 2))) (/ y x)))))
(*.f64 (fma.f64 (/.f64 (neg.f64 y) x) y x) x)
(* (pow x 2) (+ 1 (+ (* -1 (/ y x)) (+ (* -1 (/ (pow y 2) (pow x 2))) (/ y x)))))
(*.f64 (fma.f64 (/.f64 (neg.f64 y) x) y x) x)
(pow x 2)
(*.f64 x x)
(pow x 2)
(*.f64 x x)
(pow x 2)
(*.f64 x x)
(pow x 2)
(*.f64 x x)
(pow x 2)
(*.f64 x x)
(* (pow x 2) (+ 1 (+ (* -1 (/ y x)) (/ y x))))
(*.f64 x x)
(* (pow x 2) (+ 1 (+ (* -1 (/ y x)) (+ (* -1 (/ (pow y 2) (pow x 2))) (/ y x)))))
(*.f64 (fma.f64 (/.f64 (neg.f64 y) x) y x) x)
(* (pow x 2) (+ 1 (+ (* -1 (/ y x)) (+ (* -1 (/ (pow y 2) (pow x 2))) (/ y x)))))
(*.f64 (fma.f64 (/.f64 (neg.f64 y) x) y x) x)
(pow x 2)
(*.f64 x x)
(* (pow x 2) (+ 1 (+ (* -1 (/ y x)) (/ y x))))
(*.f64 x x)
(* (pow x 2) (+ 1 (* -1 (/ (+ (* -1 (+ y (* -1 y))) (/ (pow y 2) x)) x))))
(*.f64 (fma.f64 (/.f64 (neg.f64 y) x) y x) x)
(* (pow x 2) (+ 1 (* -1 (/ (+ (* -1 (+ y (* -1 y))) (/ (pow y 2) x)) x))))
(*.f64 (fma.f64 (/.f64 (neg.f64 y) x) y x) x)
(pow x 2)
(*.f64 x x)
(pow x 2)
(*.f64 x x)
(pow x 2)
(*.f64 x x)
(pow x 2)
(*.f64 x x)
(pow x 2)
(*.f64 x x)
(* (pow x 2) (+ 1 (+ (* -1 (/ y x)) (/ y x))))
(*.f64 x x)
(* (pow x 2) (+ 1 (* -1 (/ (+ (* -1 (+ y (* -1 y))) (/ (pow y 2) x)) x))))
(*.f64 (fma.f64 (/.f64 (neg.f64 y) x) y x) x)
(* (pow x 2) (+ 1 (* -1 (/ (+ (* -1 (+ y (* -1 y))) (/ (pow y 2) x)) x))))
(*.f64 (fma.f64 (/.f64 (neg.f64 y) x) y x) x)

rewrite148.0ms (3.3%)

Memory
-12.9MiB live, 105.2MiB allocated
Rules
2 452×lower-fma.f64
2 452×lower-fma.f32
2 294×lower-/.f64
2 294×lower-/.f32
1 924×lower-*.f32
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01032
01332
14032
227532
3425325
01006725
Stop Event
iter limit
node limit
iter limit
Counts
5 → 70
Calls
Call 1
Inputs
#s(approx (* (+ x y) (- x y)) (*.f64 x x))
(*.f64 x x)
#s(approx (* (+ x y) (- x y)) (*.f64 (neg.f64 y) y))
(*.f64 (neg.f64 y) y)
(neg.f64 y)
Outputs
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>

eval17.0ms (0.4%)

Memory
8.3MiB live, 43.7MiB allocated
Compiler

Compiled 1 153 to 228 computations (80.2% saved)

prune8.0ms (0.2%)

Memory
25.3MiB live, 25.3MiB allocated
Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New1540154
Fresh000
Picked022
Done011
Total1543157
Accuracy
100.0%
Counts
157 → 3
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(*.f64 (+.f64 x y) (-.f64 x y))
48.2%
#s(approx (* (+ x y) (- x y)) (*.f64 (neg.f64 y) y))
57.4%
#s(approx (* (+ x y) (- x y)) (*.f64 x x))
Compiler

Compiled 32 to 24 computations (25% saved)

regimes7.0ms (0.2%)

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

3 calls:

3.0ms
y
2.0ms
x
2.0ms
(*.f64 (+.f64 x y) (-.f64 x y))
Results
AccuracySegmentsBranch
100.0%1x
100.0%1y
100.0%1(*.f64 (+.f64 x y) (-.f64 x y))
Compiler

Compiled 9 to 9 computations (0% saved)

regimes5.0ms (0.1%)

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

3 calls:

2.0ms
x
2.0ms
y
1.0ms
(*.f64 (+.f64 x y) (-.f64 x y))
Results
AccuracySegmentsBranch
82.3%2x
76.9%2y
99.5%2(*.f64 (+.f64 x y) (-.f64 x y))
Compiler

Compiled 9 to 9 computations (0% saved)

regimes4.0ms (0.1%)

Memory
13.8MiB live, 13.8MiB allocated
Accuracy

Total -0.0b remaining (-0%)

Threshold costs -0b (-0%)

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

3 calls:

1.0ms
x
1.0ms
y
1.0ms
(*.f64 (+.f64 x y) (-.f64 x y))
Results
AccuracySegmentsBranch
57.4%1y
57.4%1x
57.4%1(*.f64 (+.f64 x y) (-.f64 x y))
Compiler

Compiled 9 to 9 computations (0% saved)

bsearch0.0ms (0%)

Memory
1.2MiB live, 1.2MiB allocated
Algorithm
left-value
Steps
TimeLeftRight
0.0ms
-1.5360569610804272e-302
-0.0
Compiler

Compiled 10 to 10 computations (0% saved)

simplify126.0ms (2.8%)

Memory
-54.8MiB live, 107.4MiB allocated
Algorithm
egg-herbie
Rules
*-commutative-binary64-*.f64
+-commutative-binary64-+.f64
sub-neg-binary64-neg.f64-+.f64--.f64
neg-sub0-binary64--.f64-neg.f64
neg-mul-1-binary64-*.f64-neg.f64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01651
12651
23151
33451
43551
Stop Event
saturated
Calls
Call 1
Inputs
(*.f64 (+.f64 x y) (-.f64 x y))
(if (<=.f64 (*.f64 (+.f64 x y) (-.f64 x y)) #s(literal -1930258305619341/193025830561934107162947985381047541665608072055952185017491682078771915023799273387871154500424503798663213600460826789274033295999330021731389427128542432710187362934652673115221889249890533772697227171395058697282798274445240687006095271729621464100656563293799180557568945517759802372156455525060659659679134121984 binary64)) #s(approx (* (+ x y) (- x y)) (*.f64 (neg.f64 y) y)) #s(approx (* (+ x y) (- x y)) (*.f64 x x)))
#s(approx (* (+ x y) (- x y)) (*.f64 x x))
Outputs
(*.f64 (+.f64 x y) (-.f64 x y))
(*.f64 (-.f64 x y) (+.f64 y x))
(if (<=.f64 (*.f64 (+.f64 x y) (-.f64 x y)) #s(literal -1930258305619341/193025830561934107162947985381047541665608072055952185017491682078771915023799273387871154500424503798663213600460826789274033295999330021731389427128542432710187362934652673115221889249890533772697227171395058697282798274445240687006095271729621464100656563293799180557568945517759802372156455525060659659679134121984 binary64)) #s(approx (* (+ x y) (- x y)) (*.f64 (neg.f64 y) y)) #s(approx (* (+ x y) (- x y)) (*.f64 x x)))
(if (<=.f64 (*.f64 (-.f64 x y) (+.f64 y x)) #s(literal -1930258305619341/193025830561934107162947985381047541665608072055952185017491682078771915023799273387871154500424503798663213600460826789274033295999330021731389427128542432710187362934652673115221889249890533772697227171395058697282798274445240687006095271729621464100656563293799180557568945517759802372156455525060659659679134121984 binary64)) #s(approx (* (+ x y) (- x y)) (*.f64 (neg.f64 y) y)) #s(approx (* (+ x y) (- x y)) (*.f64 x x)))
#s(approx (* (+ x y) (- x y)) (*.f64 x x))

soundness288.0ms (6.4%)

Memory
-11.4MiB live, 139.7MiB allocated
Rules
14 152×lower-fma.f64
14 152×lower-fma.f32
2 614×lower--.f64
2 614×lower--.f32
2 222×lower-*.f64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
086309
1265249
2786249
33277249
08535249
Stop Event
done
iter limit
node limit
Compiler

Compiled 40 to 23 computations (42.5% saved)

preprocess49.0ms (1.1%)

Memory
33.6MiB live, 113.7MiB allocated
Remove

(abs x)

(abs y)

Compiler

Compiled 130 to 76 computations (41.5% saved)

end0.0ms (0%)

Memory
0.0MiB live, 0.0MiB allocated

Profiling

Loading profile data...