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

Time bar (total: 3.5s)

start0.0ms (0%)

Memory
0.1MiB live, 0.1MiB allocated

analyze0.0ms (0%)

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

Compiled 7 to 6 computations (14.3% saved)

sample746.0ms (21.1%)

Memory
-11.6MiB live, 985.3MiB allocated
Samples
361.0ms8 256×0valid
Precisions
Click to see histograms. Total time spent on operations: 181.0ms
ival-sub: 104.0ms (57.5% of total)
ival-mult: 67.0ms (37.1% of total)
ival-true: 6.0ms (3.3% of total)
ival-assert: 4.0ms (2.2% of total)
Bogosity

explain62.0ms (1.7%)

Memory
12.4MiB live, 58.2MiB 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 39 to 20 computations (48.7% saved)

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

preprocess42.0ms (1.2%)

Memory
-1.8MiB live, 36.9MiB allocated
Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01229
13929
29526
320426
431426
533726
634326
045
065
1115
2195
3285
4415
5605
6965
71315
81655
91865
101985
01985
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.0MiB live, 1.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)

simplify7.0ms (0.2%)

Memory
10.1MiB live, 10.1MiB 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
713110
816510
918610
1019810
019810
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

localize47.0ms (1.3%)

Memory
-13.2MiB live, 24.7MiB allocated
Localize:

Found 2 expressions of interest:

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

Compiled 22 to 10 computations (54.5% saved)

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

series3.0ms (0.1%)

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

simplify159.0ms (4.5%)

Memory
18.2MiB live, 95.9MiB allocated
Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
019141
146141
2112141
3310141
4929141
51980141
63848141
76398141
08210141
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))

rewrite278.0ms (7.9%)

Memory
-21.4MiB live, 158.0MiB allocated
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
048
068
1268
21798
315548
084938
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>

eval59.0ms (1.7%)

Memory
-30.2MiB live, 43.9MiB allocated
Compiler

Compiled 6 631 to 573 computations (91.4% saved)

prune5.0ms (0.1%)

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

Compiled 10 to 9 computations (10% saved)

simplify8.0ms (0.2%)

Memory
4.4MiB live, 4.4MiB 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
713626
816826
918926
1020126
020126
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

localize78.0ms (2.2%)

Memory
-13.6MiB live, 23.2MiB 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)
accuracy27.405992201268734
#s(approx (- x (* y y)) (*.f64 (neg.f64 y) y))
Samples
14.0ms256×0valid
Compiler

Compiled 45 to 15 computations (66.7% saved)

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

series4.0ms (0.1%)

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

simplify139.0ms (3.9%)

Memory
24.3MiB live, 109.2MiB allocated
Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
020282
149282
2111282
3296282
4934282
52000282
63846282
76394282
08205282
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)

rewrite217.0ms (6.1%)

Memory
-8.2MiB live, 140.7MiB allocated
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
0821
01121
14421
230821
3323916
0927816
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>

eval206.0ms (5.8%)

Memory
-7.5MiB live, 110.0MiB allocated
Compiler

Compiled 6 931 to 847 computations (87.8% saved)

prune24.0ms (0.7%)

Memory
4.5MiB live, 43.0MiB 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)
42.7%
(fma.f64 y y x)
57.2%
#s(approx (- x (* y y)) (*.f64 (neg.f64 y) y))
2.0%
#s(approx (- x (* y y)) (*.f64 y y))
Compiler

Compiled 18 to 16 computations (11.1% saved)

simplify10.0ms (0.3%)

Memory
25.6MiB live, 25.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
714419
818819
921819
1024219
1124819
024819
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

localize53.0ms (1.5%)

Memory
-15.2MiB live, 61.8MiB allocated
Localize:

Found 3 expressions of interest:

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

Compiled 32 to 12 computations (62.5% saved)

Precisions
Click to see histograms. Total time spent on operations: 43.0ms
ival-add: 38.0ms (88.1% of total)
ival-sub: 2.0ms (4.6% of total)
ival-mult: 2.0ms (4.6% of total)
ival-true: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

series3.0ms (0.1%)

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

simplify405.0ms (11.5%)

Memory
-15.7MiB live, 118.9MiB allocated
Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
027243
174243
2181243
3532243
41519243
53106243
65380243
76728243
08155225
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)

rewrite140.0ms (4%)

Memory
5.6MiB live, 199.5MiB allocated
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0716
0916
13716
227416
3303516
0905316
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>

eval34.0ms (1%)

Memory
-13.2MiB live, 72.2MiB allocated
Compiler

Compiled 4 009 to 447 computations (88.9% saved)

prune8.0ms (0.2%)

Memory
-9.2MiB live, 29.9MiB 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)
42.7%
(fma.f64 y y x)
57.2%
#s(approx (- x (* y y)) (*.f64 (neg.f64 y) y))
2.0%
#s(approx (- x (* y y)) (*.f64 y y))
Compiler

Compiled 41 to 26 computations (36.6% saved)

regimes12.0ms (0.3%)

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

4.0ms
x
3.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
28.3MiB live, 28.3MiB 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
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.3MiB live, 22.2MiB 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 x (*.f64 y y))
2.0ms
x
2.0ms
y
2.0ms
(*.f64 y y)
Results
AccuracySegmentsBranch
67.1%3x
85.1%2y
80.1%2(-.f64 x (*.f64 y y))
85.1%2(*.f64 y y)
Compiler

Compiled 10 to 11 computations (-10% saved)

regimes7.0ms (0.2%)

Memory
22.8MiB live, 22.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:

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

Compiled 10 to 11 computations (-10% saved)

regimes6.0ms (0.2%)

Memory
-20.6MiB live, 18.8MiB 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.0%1x
2.0%1y
2.0%1(*.f64 y y)
2.0%1(-.f64 x (*.f64 y y))
Compiler

Compiled 10 to 11 computations (-10% saved)

bsearch0.0ms (0%)

Memory
1.0MiB live, 1.0MiB allocated
Algorithm
left-value
Steps
TimeLeftRight
0.0ms
3.476480970977462e-41
1.0886488896678933e-39
Compiler

Compiled 8 to 9 computations (-12.5% saved)

simplify69.0ms (2%)

Memory
13.8MiB live, 53.1MiB allocated
Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01543
12843
24043
35443
47543
59743
618943
7121243
8403843
Stop Event
node limit
Calls
Call 1
Inputs
(fma.f64 (neg.f64 y) y x)
(-.f64 x (*.f64 y y))
(if (<=.f64 (*.f64 y y) #s(literal 1225996432692711/24519928653854221733733552434404946937899825954937634816 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 1225996432692711/24519928653854221733733552434404946937899825954937634816 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))

soundness568.0ms (16.1%)

Memory
-27.1MiB live, 344.5MiB allocated
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
019141
146141
2112141
3310141
4929141
51980141
63848141
76398141
08210141
048
068
1268
21798
315548
084938
0821
01121
14421
230821
3323916
0927816
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)

preprocess110.0ms (3.1%)

Memory
-7.8MiB live, 109.0MiB allocated
Remove

(abs y)

Compiler

Compiled 96 to 50 computations (47.9% saved)

end0.0ms (0%)

Memory
0.1MiB live, 0.1MiB allocated

Profiling

Loading profile data...