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

Time bar (total: 3.1s)

start0.0ms (0%)

Memory
0.0MiB live, 0.0MiB allocated

analyze0.0ms (0%)

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

Compiled 7 to 6 computations (14.3% saved)

sample755.0ms (24.3%)

Memory
-37.5MiB live, 1 016.8MiB allocated
Samples
482.0ms8 256×0valid
Precisions
Click to see histograms. Total time spent on operations: 212.0ms
ival-sub: 111.0ms (52.4% of total)
ival-mult: 91.0ms (43% of total)
ival-true: 6.0ms (2.8% of total)
ival-assert: 3.0ms (1.4% of total)
Bogosity

explain134.0ms (4.3%)

Memory
-6.5MiB live, 70.1MiB 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
18.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 (57.5% of total)
ival-sub: 2.0ms (28.8% of total)
ival-true: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

preprocess22.0ms (0.7%)

Memory
36.7MiB live, 36.7MiB allocated
Algorithm
egg-herbie
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.4MiB live, 0.4MiB allocated
Compiler

Compiled 0 to 2 computations (-∞% saved)

prune0.0ms (0%)

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

simplify30.0ms (1%)

Memory
-22.9MiB live, 12.4MiB allocated
Algorithm
egg-herbie
Localize:

Found 2 expressions of interest:

NewMetricScoreProgram
cost-diff0
(*.f64 y y)
cost-diff0
(-.f64 x (*.f64 y y))
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.4%)

Memory
21.3MiB live, 21.3MiB allocated
Localize:

Found 2 expressions of interest:

NewMetricScoreProgram
accuracy0
(*.f64 y y)
accuracy0.01171875
(-.f64 x (*.f64 y y))
Samples
9.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 (60.6% of total)
ival-sub: 1.0ms (30.3% of total)
ival-true: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

series3.0ms (0.1%)

Memory
4.9MiB live, 4.9MiB 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
@0
((- x (* y y)) (* y y))
0.0ms
y
@-inf
((- x (* y y)) (* y y))
0.0ms
x
@0
((- x (* y y)) (* y y))
0.0ms
x
@-inf
((- x (* y y)) (* y y))

simplify139.0ms (4.5%)

Memory
-18.5MiB live, 94.9MiB allocated
Algorithm
egg-herbie
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))

rewrite373.0ms (12%)

Memory
-3.6MiB live, 266.6MiB allocated
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>

eval127.0ms (4.1%)

Memory
-4.6MiB live, 35.0MiB allocated
Compiler

Compiled 6 631 to 573 computations (91.4% saved)

prune62.0ms (2%)

Memory
-21.0MiB live, 16.3MiB 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)
48.2%
#s(approx (- x (* y y)) (*.f64 (neg.f64 y) y))
Compiler

Compiled 10 to 9 computations (10% saved)

simplify8.0ms (0.3%)

Memory
12.6MiB live, 12.6MiB 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))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0826
01126
11926
22426
33626
44826
56626
610526
713326
816026
918026
1019226
019226
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)
(neg.f64 y)
y
x

localize25.0ms (0.8%)

Memory
-0.7MiB live, 36.1MiB 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)
accuracy33.15444209856144
#s(approx (- x (* y y)) (*.f64 (neg.f64 y) y))
Samples
19.0ms256×0valid
Compiler

Compiled 24 to 9 computations (62.5% saved)

Precisions
Click to see histograms. Total time spent on operations: 12.0ms
ival-mult: 7.0ms (58.6% of total)
ival-sub: 2.0ms (16.8% of total)
ival-add: 1.0ms (8.4% of total)
ival-neg: 1.0ms (8.4% of total)
ival-true: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

series4.0ms (0.1%)

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

simplify141.0ms (4.5%)

Memory
-7.2MiB live, 104.2MiB allocated
Algorithm
egg-herbie
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)

rewrite182.0ms (5.9%)

Memory
2.9MiB live, 204.9MiB allocated
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
0821
01121
14421
230821
3323016
0925416
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>

eval61.0ms (2%)

Memory
-5.2MiB live, 108.3MiB allocated
Compiler

Compiled 6 931 to 847 computations (87.8% saved)

prune13.0ms (0.4%)

Memory
1.5MiB live, 40.7MiB 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)
53.3%
(fma.f64 y y x)
48.2%
#s(approx (- x (* y y)) (*.f64 (neg.f64 y) y))
2.4%
#s(approx (- x (* y y)) (*.f64 y y))
Compiler

Compiled 18 to 16 computations (11.1% saved)

simplify10.0ms (0.3%)

Memory
12.6MiB live, 12.6MiB 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))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0719
0919
11519
22319
33219
44619
57119
610419
714119
818019
920919
1023319
1123519
023519
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

localize15.0ms (0.5%)

Memory
20.8MiB live, 20.8MiB allocated
Localize:

Found 3 expressions of interest:

NewMetricScoreProgram
accuracy0
(fma.f64 y y x)
accuracy0
(*.f64 y y)
accuracy62.47074552011355
#s(approx (- x (* y y)) (*.f64 y y))
Samples
11.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 (44.9% of total)
ival-sub: 1.0ms (22.4% of total)
ival-add: 1.0ms (22.4% of total)
ival-true: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

series27.0ms (0.9%)

Memory
-36.1MiB live, 21.4MiB 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
5.0ms
x
@-inf
((- x (* y y)) (* y y) (+ (* y y) x))
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))

simplify104.0ms (3.4%)

Memory
19.4MiB live, 133.6MiB allocated
Algorithm
egg-herbie
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)

rewrite192.0ms (6.2%)

Memory
-20.1MiB live, 251.9MiB allocated
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0716
0916
13716
227416
3302416
0900916
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>

eval22.0ms (0.7%)

Memory
28.0MiB live, 64.8MiB allocated
Compiler

Compiled 4 009 to 447 computations (88.9% saved)

prune12.0ms (0.4%)

Memory
-15.8MiB live, 28.6MiB 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)
53.3%
(fma.f64 y y x)
48.2%
#s(approx (- x (* y y)) (*.f64 (neg.f64 y) y))
2.4%
#s(approx (- x (* y y)) (*.f64 y y))
Compiler

Compiled 41 to 26 computations (36.6% saved)

regimes12.0ms (0.4%)

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

5.0ms
x
3.0ms
y
2.0ms
(-.f64 x (*.f64 y y))
2.0ms
(*.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
32.8MiB live, 32.8MiB 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:

2.0ms
y
2.0ms
x
2.0ms
(-.f64 x (*.f64 y y))
2.0ms
(*.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
-10.7MiB live, 28.0MiB 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:

3.0ms
(*.f64 y y)
2.0ms
x
2.0ms
y
2.0ms
(-.f64 x (*.f64 y y))
Results
AccuracySegmentsBranch
60.2%3x
89.2%2y
80.6%2(-.f64 x (*.f64 y y))
89.2%2(*.f64 y y)
Compiler

Compiled 10 to 11 computations (-10% saved)

regimes8.0ms (0.3%)

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

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

Compiled 10 to 11 computations (-10% saved)

regimes5.0ms (0.2%)

Memory
20.9MiB live, 20.9MiB 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 x (*.f64 y y))
1.0ms
(*.f64 y y)
Results
AccuracySegmentsBranch
2.4%1(-.f64 x (*.f64 y y))
2.4%1x
2.4%1y
2.4%1(*.f64 y y)
Compiler

Compiled 10 to 11 computations (-10% saved)

bsearch0.0ms (0%)

Memory
1.4MiB live, 1.4MiB allocated
Algorithm
left-value
Steps
TimeLeftRight
0.0ms
9.615558950685009e-37
1.8701817459229856e-36
Compiler

Compiled 8 to 9 computations (-12.5% saved)

simplify80.0ms (2.6%)

Memory
-22.6MiB live, 65.9MiB allocated
Algorithm
egg-herbie
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 2993155353253689/2993155353253689176481146537402947624255349848014848 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 2993155353253689/2993155353253689176481146537402947624255349848014848 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))

soundness457.0ms (14.7%)

Memory
12.1MiB live, 396.5MiB allocated
Iterations

Useful iterations: 0 (0.0ms)

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

Compiled 94 to 54 computations (42.6% saved)

preprocess48.0ms (1.5%)

Memory
-5.4MiB live, 152.8MiB 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...