Graphics.Rasterific.Shading:$sradialGradientWithFocusShader from Rasterific-0.6.1

Time bar (total: 2.8s)

start0.0ms (0%)

Memory
0.0MiB live, 0.0MiB allocated

analyze0.0ms (0%)

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

Compiled 7 to 6 computations (14.3% saved)

sample863.0ms (30.9%)

Memory
12.7MiB live, 648.9MiB allocated
Samples
610.0ms8 256×0valid
Precisions
Click to see histograms. Total time spent on operations: 236.0ms
ival-mult: 117.0ms (49.5% of total)
ival-sub: 111.0ms (46.9% of total)
ival-true: 6.0ms (2.5% of total)
ival-assert: 3.0ms (1.3% of total)
Bogosity

explain59.0ms (2.1%)

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

Compiled 29 to 16 computations (44.8% saved)

Precisions
Click to see histograms. Total time spent on operations: 7.0ms
ival-mult: 4.0ms (61.3% of total)
ival-sub: 2.0ms (30.7% of total)
ival-true: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

preprocess26.0ms (0.9%)

Memory
19.9MiB live, 56.8MiB allocated
Algorithm
egg-herbie
Rules
112×lower-fma.f64
112×lower-fma.f32
80×sub-neg
72×lower-*.f32
70×lower-*.f64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01229
13929
29026
319826
430626
533026
633226
045
065
1115
2195
3285
4415
5605
6965
71285
81575
91775
101895
01895
Stop Event
iter limit
saturated
iter limit
saturated
Calls
Call 1
Inputs
(-.f64 x (*.f64 y y))
Outputs
(-.f64 x (*.f64 y y))
(fma.f64 (neg.f64 y) y x)
Symmetry

(abs y)

Compiler

Compiled 5 to 4 computations (20% saved)

eval0.0ms (0%)

Memory
0.6MiB live, 0.6MiB allocated
Compiler

Compiled 0 to 2 computations (-∞% saved)

prune0.0ms (0%)

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

Compiled 5 to 4 computations (20% saved)

simplify10.0ms (0.3%)

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

Found 2 expressions of interest:

NewMetricScoreProgram
cost-diff0
(*.f64 y y)
cost-diff0
(-.f64 x (*.f64 y y))
Rules
112×lower-fma.f64
112×lower-fma.f32
72×lower-*.f32
70×lower-*.f64
40×lower-+.f64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0410
0610
11110
21910
32810
44110
56010
69610
712810
815710
917710
1018910
018910
Stop Event
iter limit
saturated
iter limit
Calls
Call 1
Inputs
(-.f64 x (*.f64 y y))
x
(*.f64 y y)
y
Outputs
(-.f64 x (*.f64 y y))
(fma.f64 (neg.f64 y) y x)
x
(*.f64 y y)
y

localize13.0ms (0.5%)

Memory
11.7MiB live, 50.1MiB allocated
Localize:

Found 2 expressions of interest:

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

Compiled 12 to 6 computations (50% saved)

Precisions
Click to see histograms. Total time spent on operations: 3.0ms
ival-mult: 2.0ms (64.8% of total)
ival-sub: 1.0ms (32.4% of total)
ival-true: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

series3.0ms (0.1%)

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

6 calls:

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

simplify98.0ms (3.5%)

Memory
-12.7MiB live, 144.5MiB allocated
Algorithm
egg-herbie
Rules
3 332×lower-*.f64
3 332×lower-*.f32
3 136×lower-fma.f64
3 136×lower-fma.f32
2 370×lower-/.f32
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
019141
146141
2112141
3309141
4929141
51915141
63790141
76274141
08148141
Stop Event
iter limit
node limit
Counts
36 → 33
Calls
Call 1
Inputs
x
(+ x (* -1 (pow y 2)))
(+ x (* -1 (pow y 2)))
(+ x (* -1 (pow y 2)))
(pow y 2)
(pow y 2)
(pow y 2)
(pow y 2)
(* -1 (pow y 2))
(* (pow y 2) (- (/ x (pow y 2)) 1))
(* (pow y 2) (- (/ x (pow y 2)) 1))
(* (pow y 2) (- (/ x (pow y 2)) 1))
(pow y 2)
(pow y 2)
(pow y 2)
(pow y 2)
(* -1 (pow y 2))
(* (pow y 2) (- (/ x (pow y 2)) 1))
(* (pow y 2) (- (/ x (pow y 2)) 1))
(* (pow y 2) (- (/ x (pow y 2)) 1))
(pow y 2)
(pow y 2)
(pow y 2)
(pow y 2)
(* -1 (pow y 2))
(- x (pow y 2))
(- x (pow y 2))
(- x (pow y 2))
x
(* x (+ 1 (* -1 (/ (pow y 2) x))))
(* x (+ 1 (* -1 (/ (pow y 2) x))))
(* x (+ 1 (* -1 (/ (pow y 2) x))))
x
(* -1 (* x (- (/ (pow y 2) x) 1)))
(* -1 (* x (- (/ (pow y 2) x) 1)))
(* -1 (* x (- (/ (pow y 2) x) 1)))
Outputs
x
(+ x (* -1 (pow y 2)))
(-.f64 x (*.f64 y y))
(+ x (* -1 (pow y 2)))
(-.f64 x (*.f64 y y))
(+ x (* -1 (pow y 2)))
(-.f64 x (*.f64 y y))
(pow y 2)
(*.f64 y y)
(pow y 2)
(*.f64 y y)
(pow y 2)
(*.f64 y y)
(pow y 2)
(*.f64 y y)
(* -1 (pow y 2))
(*.f64 (neg.f64 y) y)
(* (pow y 2) (- (/ x (pow y 2)) 1))
(-.f64 x (*.f64 y y))
(* (pow y 2) (- (/ x (pow y 2)) 1))
(-.f64 x (*.f64 y y))
(* (pow y 2) (- (/ x (pow y 2)) 1))
(-.f64 x (*.f64 y y))
(pow y 2)
(*.f64 y y)
(pow y 2)
(*.f64 y y)
(pow y 2)
(*.f64 y y)
(pow y 2)
(*.f64 y y)
(* -1 (pow y 2))
(*.f64 (neg.f64 y) y)
(* (pow y 2) (- (/ x (pow y 2)) 1))
(-.f64 x (*.f64 y y))
(* (pow y 2) (- (/ x (pow y 2)) 1))
(-.f64 x (*.f64 y y))
(* (pow y 2) (- (/ x (pow y 2)) 1))
(-.f64 x (*.f64 y y))
(pow y 2)
(*.f64 y y)
(pow y 2)
(*.f64 y y)
(pow y 2)
(*.f64 y y)
(pow y 2)
(*.f64 y y)
(* -1 (pow y 2))
(*.f64 (neg.f64 y) y)
(- x (pow y 2))
(-.f64 x (*.f64 y y))
(- x (pow y 2))
(-.f64 x (*.f64 y y))
(- x (pow y 2))
(-.f64 x (*.f64 y y))
x
(* x (+ 1 (* -1 (/ (pow y 2) x))))
(-.f64 x (*.f64 y y))
(* x (+ 1 (* -1 (/ (pow y 2) x))))
(-.f64 x (*.f64 y y))
(* x (+ 1 (* -1 (/ (pow y 2) x))))
(-.f64 x (*.f64 y y))
x
(* -1 (* x (- (/ (pow y 2) x) 1)))
(-.f64 x (*.f64 y y))
(* -1 (* x (- (/ (pow y 2) x) 1)))
(-.f64 x (*.f64 y y))
(* -1 (* x (- (/ (pow y 2) x) 1)))
(-.f64 x (*.f64 y y))

rewrite235.0ms (8.4%)

Memory
-11.6MiB live, 264.8MiB allocated
Rules
7 732×lower-fma.f64
7 732×lower-fma.f32
3 890×lower-/.f64
3 890×lower-/.f32
3 616×lower-*.f32
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
048
068
1268
21798
315548
084838
Stop Event
iter limit
node limit
iter limit
Counts
2 → 201
Calls
Call 1
Inputs
(-.f64 x (*.f64 y y))
(*.f64 y 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>

eval24.0ms (0.9%)

Memory
30.4MiB live, 67.0MiB allocated
Compiler

Compiled 6 631 to 573 computations (91.4% saved)

prune27.0ms (1%)

Memory
-16.9MiB live, 42.5MiB allocated
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New2322234
Fresh000
Picked101
Done000
Total2332235
Accuracy
100.0%
Counts
235 → 2
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(fma.f64 (neg.f64 y) y x)
52.4%
#s(approx (- x (* y y)) (*.f64 (neg.f64 y) y))
Compiler

Compiled 10 to 9 computations (10% saved)

simplify10.0ms (0.4%)

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

Found 5 expressions of interest:

NewMetricScoreProgram
cost-diff0
(neg.f64 y)
cost-diff0
(fma.f64 (neg.f64 y) y x)
cost-diff0
(neg.f64 y)
cost-diff0
(*.f64 (neg.f64 y) y)
cost-diff0
#s(approx (- x (* y y)) (*.f64 (neg.f64 y) y))
Rules
112×lower-fma.f32
110×lower-fma.f64
72×lower-*.f32
70×lower-*.f64
40×lower-+.f64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0826
01126
11926
22426
33626
44826
56626
610526
713226
815926
917926
1019126
019126
Stop Event
iter limit
saturated
iter limit
Calls
Call 1
Inputs
#s(approx (- x (* y y)) (*.f64 (neg.f64 y) y))
(*.f64 (neg.f64 y) y)
(neg.f64 y)
y
(fma.f64 (neg.f64 y) y x)
(neg.f64 y)
y
x
Outputs
#s(approx (- x (* y y)) (*.f64 (neg.f64 y) y))
(*.f64 (neg.f64 y) y)
(neg.f64 y)
y
(fma.f64 (neg.f64 y) y x)
(-.f64 x (*.f64 y y))
(neg.f64 y)
y
x

localize39.0ms (1.4%)

Memory
10.1MiB live, 48.4MiB allocated
Localize:

Found 5 expressions of interest:

NewMetricScoreProgram
accuracy0
(fma.f64 (neg.f64 y) y x)
accuracy0
(neg.f64 y)
accuracy0
(*.f64 (neg.f64 y) y)
accuracy0
(neg.f64 y)
accuracy30.43830366938934
#s(approx (- x (* y y)) (*.f64 (neg.f64 y) y))
Samples
34.0ms256×0valid
Compiler

Compiled 24 to 9 computations (62.5% saved)

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

series4.0ms (0.2%)

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

6 calls:

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

simplify127.0ms (4.6%)

Memory
12.7MiB live, 130.7MiB allocated
Algorithm
egg-herbie
Rules
3 318×lower-*.f64
3 318×lower-*.f32
3 102×lower-fma.f64
3 102×lower-fma.f32
2 370×lower-/.f32
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
020282
149282
2111282
3295282
4928282
51962282
63794282
76291282
08149282
Stop Event
iter limit
node limit
Counts
72 → 66
Calls
Call 1
Inputs
x
(+ x (* -1 (pow y 2)))
(+ x (* -1 (pow y 2)))
(+ x (* -1 (pow y 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)
x
(+ x (* -1 (pow y 2)))
(+ x (* -1 (pow y 2)))
(+ x (* -1 (pow y 2)))
(* -1 (pow y 2))
(* (pow y 2) (- (/ x (pow y 2)) 1))
(* (pow y 2) (- (/ x (pow y 2)) 1))
(* (pow y 2) (- (/ x (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) (- (/ x (pow y 2)) 1))
(* (pow y 2) (- (/ x (pow y 2)) 1))
(* (pow y 2) (- (/ x (pow y 2)) 1))
(* -1 (pow y 2))
(* (pow y 2) (- (/ x (pow y 2)) 1))
(* (pow y 2) (- (/ x (pow y 2)) 1))
(* (pow y 2) (- (/ x (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) (- (/ x (pow y 2)) 1))
(* (pow y 2) (- (/ x (pow y 2)) 1))
(* (pow y 2) (- (/ x (pow y 2)) 1))
(* -1 (pow y 2))
(- x (pow y 2))
(- x (pow y 2))
(- x (pow y 2))
(* -1 (pow y 2))
(+ x (* -1 (pow y 2)))
(+ x (* -1 (pow y 2)))
(+ x (* -1 (pow y 2)))
x
(* x (+ 1 (* -1 (/ (pow y 2) x))))
(* x (+ 1 (* -1 (/ (pow y 2) x))))
(* x (+ 1 (* -1 (/ (pow y 2) x))))
x
(* x (+ 1 (* -1 (/ (pow y 2) x))))
(* x (+ 1 (* -1 (/ (pow y 2) x))))
(* x (+ 1 (* -1 (/ (pow y 2) x))))
x
(* -1 (* x (- (/ (pow y 2) x) 1)))
(* -1 (* x (- (/ (pow y 2) x) 1)))
(* -1 (* x (- (/ (pow y 2) x) 1)))
x
(* -1 (* x (- (/ (pow y 2) x) 1)))
(* -1 (* x (- (/ (pow y 2) x) 1)))
(* -1 (* x (- (/ (pow y 2) x) 1)))
Outputs
x
(+ x (* -1 (pow y 2)))
(fma.f64 (neg.f64 y) y x)
(+ x (* -1 (pow y 2)))
(fma.f64 (neg.f64 y) y x)
(+ x (* -1 (pow y 2)))
(fma.f64 (neg.f64 y) y 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)
x
(+ x (* -1 (pow y 2)))
(fma.f64 (neg.f64 y) y x)
(+ x (* -1 (pow y 2)))
(fma.f64 (neg.f64 y) y x)
(+ x (* -1 (pow y 2)))
(fma.f64 (neg.f64 y) y x)
(* -1 (pow y 2))
(*.f64 (neg.f64 y) y)
(* (pow y 2) (- (/ x (pow y 2)) 1))
(fma.f64 (neg.f64 y) y x)
(* (pow y 2) (- (/ x (pow y 2)) 1))
(fma.f64 (neg.f64 y) y x)
(* (pow y 2) (- (/ x (pow y 2)) 1))
(fma.f64 (neg.f64 y) y 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) (- (/ x (pow y 2)) 1))
(fma.f64 (neg.f64 y) y x)
(* (pow y 2) (- (/ x (pow y 2)) 1))
(fma.f64 (neg.f64 y) y x)
(* (pow y 2) (- (/ x (pow y 2)) 1))
(fma.f64 (neg.f64 y) y x)
(* -1 (pow y 2))
(*.f64 (neg.f64 y) y)
(* (pow y 2) (- (/ x (pow y 2)) 1))
(fma.f64 (neg.f64 y) y x)
(* (pow y 2) (- (/ x (pow y 2)) 1))
(fma.f64 (neg.f64 y) y x)
(* (pow y 2) (- (/ x (pow y 2)) 1))
(fma.f64 (neg.f64 y) y 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) (- (/ x (pow y 2)) 1))
(fma.f64 (neg.f64 y) y x)
(* (pow y 2) (- (/ x (pow y 2)) 1))
(fma.f64 (neg.f64 y) y x)
(* (pow y 2) (- (/ x (pow y 2)) 1))
(fma.f64 (neg.f64 y) y x)
(* -1 (pow y 2))
(*.f64 (neg.f64 y) y)
(- x (pow y 2))
(fma.f64 (neg.f64 y) y x)
(- x (pow y 2))
(fma.f64 (neg.f64 y) y x)
(- x (pow y 2))
(fma.f64 (neg.f64 y) y x)
(* -1 (pow y 2))
(*.f64 (neg.f64 y) y)
(+ x (* -1 (pow y 2)))
(fma.f64 (neg.f64 y) y x)
(+ x (* -1 (pow y 2)))
(fma.f64 (neg.f64 y) y x)
(+ x (* -1 (pow y 2)))
(fma.f64 (neg.f64 y) y x)
x
(* x (+ 1 (* -1 (/ (pow y 2) x))))
(fma.f64 (neg.f64 y) y x)
(* x (+ 1 (* -1 (/ (pow y 2) x))))
(fma.f64 (neg.f64 y) y x)
(* x (+ 1 (* -1 (/ (pow y 2) x))))
(fma.f64 (neg.f64 y) y x)
x
(* x (+ 1 (* -1 (/ (pow y 2) x))))
(fma.f64 (neg.f64 y) y x)
(* x (+ 1 (* -1 (/ (pow y 2) x))))
(fma.f64 (neg.f64 y) y x)
(* x (+ 1 (* -1 (/ (pow y 2) x))))
(fma.f64 (neg.f64 y) y x)
x
(* -1 (* x (- (/ (pow y 2) x) 1)))
(fma.f64 (neg.f64 y) y x)
(* -1 (* x (- (/ (pow y 2) x) 1)))
(fma.f64 (neg.f64 y) y x)
(* -1 (* x (- (/ (pow y 2) x) 1)))
(fma.f64 (neg.f64 y) y x)
x
(* -1 (* x (- (/ (pow y 2) x) 1)))
(fma.f64 (neg.f64 y) y x)
(* -1 (* x (- (/ (pow y 2) x) 1)))
(fma.f64 (neg.f64 y) y x)
(* -1 (* x (- (/ (pow y 2) x) 1)))
(fma.f64 (neg.f64 y) y x)

rewrite151.0ms (5.4%)

Memory
-17.6MiB live, 218.1MiB allocated
Rules
3 388×lower-fma.f32
3 386×lower-fma.f64
2 770×lower-*.f32
2 768×lower-*.f64
2 574×lower-/.f64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
0821
01121
14421
230821
3323516
0923316
Stop Event
iter limit
node limit
iter limit
Counts
4 → 289
Calls
Call 1
Inputs
#s(approx (- x (* y y)) (*.f64 (neg.f64 y) y))
(*.f64 (neg.f64 y) y)
(neg.f64 y)
(fma.f64 (neg.f64 y) 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>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>

eval55.0ms (2%)

Memory
10.5MiB live, 122.6MiB allocated
Compiler

Compiled 6 931 to 847 computations (87.8% saved)

prune13.0ms (0.5%)

Memory
6.8MiB live, 44.3MiB allocated
Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New4032405
Fresh000
Picked022
Done000
Total4034407
Accuracy
100.0%
Counts
407 → 4
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(fma.f64 (neg.f64 y) y x)
47.9%
(fma.f64 y y x)
52.4%
#s(approx (- x (* y y)) (*.f64 (neg.f64 y) y))
2.2%
#s(approx (- x (* y y)) (*.f64 y y))
Compiler

Compiled 18 to 16 computations (11.1% saved)

simplify28.0ms (1%)

Memory
-36.9MiB live, 24.0MiB allocated
Algorithm
egg-herbie
Localize:

Found 3 expressions of interest:

NewMetricScoreProgram
cost-diff0
(fma.f64 y y x)
cost-diff0
(*.f64 y y)
cost-diff0
#s(approx (- x (* y y)) (*.f64 y y))
Rules
168×lower-fma.f32
166×lower-fma.f64
88×lower-*.f32
86×lower-*.f64
56×lower-+.f64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0719
0919
11519
22319
33219
44619
57119
610419
714019
817819
920719
1023119
1123319
023319
Stop Event
iter limit
saturated
iter limit
Calls
Call 1
Inputs
#s(approx (- x (* y y)) (*.f64 y y))
(*.f64 y y)
y
(fma.f64 y y x)
y
x
Outputs
#s(approx (- x (* y y)) (*.f64 y y))
(*.f64 y y)
y
(fma.f64 y y x)
y
x

localize14.0ms (0.5%)

Memory
12.1MiB live, 12.1MiB allocated
Localize:

Found 3 expressions of interest:

NewMetricScoreProgram
accuracy0
(fma.f64 y y x)
accuracy0
(*.f64 y y)
accuracy62.621264243833274
#s(approx (- x (* y y)) (*.f64 y y))
Samples
10.0ms256×0valid
Compiler

Compiled 18 to 7 computations (61.1% saved)

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

series3.0ms (0.1%)

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

6 calls:

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

simplify113.0ms (4%)

Memory
11.8MiB live, 168.0MiB allocated
Algorithm
egg-herbie
Rules
3 506×lower-*.f64
3 506×lower-*.f32
3 232×lower-fma.f64
3 232×lower-fma.f32
2 032×lower-/.f32
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
027243
174243
2181243
3531243
41513243
52969243
65225243
76553243
08013225
Stop Event
iter limit
node limit
Counts
60 → 54
Calls
Call 1
Inputs
x
(+ x (* -1 (pow y 2)))
(+ x (* -1 (pow y 2)))
(+ x (* -1 (pow y 2)))
(pow y 2)
(pow y 2)
(pow y 2)
(pow y 2)
x
(+ x (pow y 2))
(+ x (pow y 2))
(+ x (pow y 2))
(* -1 (pow y 2))
(* (pow y 2) (- (/ x (pow y 2)) 1))
(* (pow y 2) (- (/ x (pow y 2)) 1))
(* (pow y 2) (- (/ x (pow y 2)) 1))
(pow y 2)
(pow y 2)
(pow y 2)
(pow y 2)
(pow y 2)
(* (pow y 2) (+ 1 (/ x (pow y 2))))
(* (pow y 2) (+ 1 (/ x (pow y 2))))
(* (pow y 2) (+ 1 (/ x (pow y 2))))
(* -1 (pow y 2))
(* (pow y 2) (- (/ x (pow y 2)) 1))
(* (pow y 2) (- (/ x (pow y 2)) 1))
(* (pow y 2) (- (/ x (pow y 2)) 1))
(pow y 2)
(pow y 2)
(pow y 2)
(pow y 2)
(pow y 2)
(* (pow y 2) (+ 1 (/ x (pow y 2))))
(* (pow y 2) (+ 1 (/ x (pow y 2))))
(* (pow y 2) (+ 1 (/ x (pow y 2))))
(* -1 (pow y 2))
(- x (pow y 2))
(- x (pow y 2))
(- x (pow y 2))
(pow y 2)
(+ x (pow y 2))
(+ x (pow y 2))
(+ x (pow y 2))
x
(* x (+ 1 (* -1 (/ (pow y 2) x))))
(* x (+ 1 (* -1 (/ (pow y 2) x))))
(* x (+ 1 (* -1 (/ (pow y 2) x))))
x
(* x (+ 1 (/ (pow y 2) x)))
(* x (+ 1 (/ (pow y 2) x)))
(* x (+ 1 (/ (pow y 2) x)))
x
(* -1 (* x (- (/ (pow y 2) x) 1)))
(* -1 (* x (- (/ (pow y 2) x) 1)))
(* -1 (* x (- (/ (pow y 2) x) 1)))
x
(* -1 (* x (- (* -1 (/ (pow y 2) x)) 1)))
(* -1 (* x (- (* -1 (/ (pow y 2) x)) 1)))
(* -1 (* x (- (* -1 (/ (pow y 2) x)) 1)))
Outputs
x
(+ x (* -1 (pow y 2)))
(-.f64 x (*.f64 y y))
(+ x (* -1 (pow y 2)))
(-.f64 x (*.f64 y y))
(+ x (* -1 (pow y 2)))
(-.f64 x (*.f64 y y))
(pow y 2)
(*.f64 y y)
(pow y 2)
(*.f64 y y)
(pow y 2)
(*.f64 y y)
(pow y 2)
(*.f64 y y)
x
(+ x (pow y 2))
(fma.f64 y y x)
(+ x (pow y 2))
(fma.f64 y y x)
(+ x (pow y 2))
(fma.f64 y y x)
(* -1 (pow y 2))
(*.f64 (neg.f64 y) y)
(* (pow y 2) (- (/ x (pow y 2)) 1))
(-.f64 x (*.f64 y y))
(* (pow y 2) (- (/ x (pow y 2)) 1))
(-.f64 x (*.f64 y y))
(* (pow y 2) (- (/ x (pow y 2)) 1))
(-.f64 x (*.f64 y y))
(pow y 2)
(*.f64 y y)
(pow y 2)
(*.f64 y y)
(pow y 2)
(*.f64 y y)
(pow y 2)
(*.f64 y y)
(pow y 2)
(*.f64 y y)
(* (pow y 2) (+ 1 (/ x (pow y 2))))
(fma.f64 y y x)
(* (pow y 2) (+ 1 (/ x (pow y 2))))
(fma.f64 y y x)
(* (pow y 2) (+ 1 (/ x (pow y 2))))
(fma.f64 y y x)
(* -1 (pow y 2))
(*.f64 (neg.f64 y) y)
(* (pow y 2) (- (/ x (pow y 2)) 1))
(-.f64 x (*.f64 y y))
(* (pow y 2) (- (/ x (pow y 2)) 1))
(-.f64 x (*.f64 y y))
(* (pow y 2) (- (/ x (pow y 2)) 1))
(-.f64 x (*.f64 y y))
(pow y 2)
(*.f64 y y)
(pow y 2)
(*.f64 y y)
(pow y 2)
(*.f64 y y)
(pow y 2)
(*.f64 y y)
(pow y 2)
(*.f64 y y)
(* (pow y 2) (+ 1 (/ x (pow y 2))))
(fma.f64 y y x)
(* (pow y 2) (+ 1 (/ x (pow y 2))))
(fma.f64 y y x)
(* (pow y 2) (+ 1 (/ x (pow y 2))))
(fma.f64 y y x)
(* -1 (pow y 2))
(*.f64 (neg.f64 y) y)
(- x (pow y 2))
(-.f64 x (*.f64 y y))
(- x (pow y 2))
(-.f64 x (*.f64 y y))
(- x (pow y 2))
(-.f64 x (*.f64 y y))
(pow y 2)
(*.f64 y y)
(+ x (pow y 2))
(fma.f64 y y x)
(+ x (pow y 2))
(fma.f64 y y x)
(+ x (pow y 2))
(fma.f64 y y x)
x
(* x (+ 1 (* -1 (/ (pow y 2) x))))
(-.f64 x (*.f64 y y))
(* x (+ 1 (* -1 (/ (pow y 2) x))))
(-.f64 x (*.f64 y y))
(* x (+ 1 (* -1 (/ (pow y 2) x))))
(-.f64 x (*.f64 y y))
x
(* x (+ 1 (/ (pow y 2) x)))
(fma.f64 y y x)
(* x (+ 1 (/ (pow y 2) x)))
(fma.f64 y y x)
(* x (+ 1 (/ (pow y 2) x)))
(fma.f64 y y x)
x
(* -1 (* x (- (/ (pow y 2) x) 1)))
(-.f64 x (*.f64 y y))
(* -1 (* x (- (/ (pow y 2) x) 1)))
(-.f64 x (*.f64 y y))
(* -1 (* x (- (/ (pow y 2) x) 1)))
(-.f64 x (*.f64 y y))
x
(* -1 (* x (- (* -1 (/ (pow y 2) x)) 1)))
(fma.f64 y y x)
(* -1 (* x (- (* -1 (/ (pow y 2) x)) 1)))
(fma.f64 y y x)
(* -1 (* x (- (* -1 (/ (pow y 2) x)) 1)))
(fma.f64 y y x)

rewrite136.0ms (4.9%)

Memory
11.5MiB live, 242.9MiB allocated
Rules
4 588×lower-/.f64
4 588×lower-/.f32
4 074×lower-fma.f32
4 072×lower-fma.f64
3 462×lower-*.f32
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0716
0916
13716
227416
3302216
0901816
Stop Event
iter limit
node limit
iter limit
Counts
3 → 152
Calls
Call 1
Inputs
#s(approx (- x (* y y)) (*.f64 y y))
(*.f64 y y)
(fma.f64 y 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>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>

eval20.0ms (0.7%)

Memory
2.2MiB live, 40.9MiB allocated
Compiler

Compiled 4 009 to 448 computations (88.8% saved)

prune10.0ms (0.3%)

Memory
-23.1MiB live, 21.0MiB allocated
Pruning

4 alts after pruning (0 fresh and 4 done)

PrunedKeptTotal
New2060206
Fresh000
Picked022
Done022
Total2064210
Accuracy
100.0%
Counts
210 → 4
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(fma.f64 (neg.f64 y) y x)
47.9%
(fma.f64 y y x)
52.4%
#s(approx (- x (* y y)) (*.f64 (neg.f64 y) y))
2.2%
#s(approx (- x (* y y)) (*.f64 y y))
Compiler

Compiled 41 to 26 computations (36.6% saved)

regimes10.0ms (0.3%)

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

4 calls:

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

Compiled 10 to 11 computations (-10% saved)

regimes9.0ms (0.3%)

Memory
-21.5MiB live, 17.5MiB allocated
Counts
4 → 1
Calls
Call 1
Inputs
#s(approx (- x (* y y)) (*.f64 y y))
(fma.f64 y y x)
#s(approx (- x (* y y)) (*.f64 (neg.f64 y) y))
(-.f64 x (*.f64 y y))
Outputs
(-.f64 x (*.f64 y y))
Calls

4 calls:

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

Compiled 10 to 11 computations (-10% saved)

regimes7.0ms (0.3%)

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

4 calls:

2.0ms
x
2.0ms
y
2.0ms
(*.f64 y y)
2.0ms
(-.f64 x (*.f64 y y))
Results
AccuracySegmentsBranch
65.1%3x
89.7%2y
83.0%2(-.f64 x (*.f64 y y))
89.7%2(*.f64 y y)
Compiler

Compiled 10 to 11 computations (-10% saved)

regimes7.0ms (0.3%)

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

4 calls:

2.0ms
x
2.0ms
y
1.0ms
(*.f64 y y)
1.0ms
(-.f64 x (*.f64 y y))
Results
AccuracySegmentsBranch
47.9%1x
47.9%1(-.f64 x (*.f64 y y))
47.9%1y
47.9%1(*.f64 y y)
Compiler

Compiled 10 to 11 computations (-10% saved)

regimes5.0ms (0.2%)

Memory
11.4MiB live, 11.4MiB allocated
Accuracy

Total -0.0b remaining (-0%)

Threshold costs -0b (-0%)

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

4 calls:

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

Compiled 10 to 11 computations (-10% saved)

bsearch0.0ms (0%)

Memory
0.4MiB live, 0.4MiB allocated
Algorithm
left-value
Steps
TimeLeftRight
0.0ms
7.791364394693736e-68
5.420911777216145e-52
Compiler

Compiled 8 to 9 computations (-12.5% saved)

simplify22.0ms (0.8%)

Memory
10.5MiB live, 49.6MiB 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
01543
12343
22843
33143
43243
Stop Event
saturated
Calls
Call 1
Inputs
(fma.f64 (neg.f64 y) y x)
(-.f64 x (*.f64 y y))
(if (<=.f64 (*.f64 y y) #s(literal 6070840288205403/60708402882054033466233184588234965832575213720379360039119137804340758912662765568 binary64)) (fma.f64 y y x) #s(approx (- x (* y y)) (*.f64 (neg.f64 y) y)))
(fma.f64 y y x)
#s(approx (- x (* y y)) (*.f64 y y))
Outputs
(fma.f64 (neg.f64 y) y x)
(-.f64 x (*.f64 y y))
(if (<=.f64 (*.f64 y y) #s(literal 6070840288205403/60708402882054033466233184588234965832575213720379360039119137804340758912662765568 binary64)) (fma.f64 y y x) #s(approx (- x (* y y)) (*.f64 (neg.f64 y) y)))
(fma.f64 y y x)
#s(approx (- x (* y y)) (*.f64 y y))

soundness433.0ms (15.5%)

Memory
4.9MiB live, 334.5MiB allocated
Rules
7 732×lower-fma.f64
7 732×lower-fma.f32
3 890×lower-/.f64
3 890×lower-/.f32
3 616×lower-*.f32
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0821
01121
14421
230821
3323516
0923316
019141
146141
2112141
3309141
4929141
51915141
63790141
76274141
08148141
048
068
1268
21798
315548
084838
Stop Event
done
iter limit
node limit
iter limit
iter limit
node limit
iter limit
node limit
iter limit
Compiler

Compiled 94 to 54 computations (42.6% saved)

preprocess218.0ms (7.8%)

Memory
-31.5MiB live, 86.6MiB allocated
Remove

(abs y)

Compiler

Compiled 96 to 50 computations (47.9% saved)

end0.0ms (0%)

Memory
0.0MiB live, 0.0MiB allocated

Profiling

Loading profile data...