Linear.Matrix:fromQuaternion from linear-1.19.1.3, A

Time bar (total: 4.5s)

start0.0ms (0%)

Memory
0.1MiB live, 0.1MiB 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 11 to 9 computations (18.2% saved)

sample962.0ms (21.6%)

Memory
2.2MiB live, 1 159.0MiB allocated
Samples
659.0ms8 256×0valid
Precisions
Click to see histograms. Total time spent on operations: 377.0ms
ival-mult: 298.0ms (79.1% of total)
ival-sub: 64.0ms (17% of total)
ival-true: 6.0ms (1.6% of total)
exact: 5.0ms (1.3% of total)
ival-assert: 3.0ms (0.8% of total)
Bogosity

explain91.0ms (2%)

Memory
36.6MiB live, 181.1MiB allocated
FPErrors
Click to see full error table
Ground TruthOverpredictionsExampleUnderpredictionsExampleSubexpression
70-0-(-.f64 (*.f64 x x) (*.f64 x y))
00-0-#s(literal 2 binary64)
00-0-y
00-0-(*.f64 #s(literal 2 binary64) (-.f64 (*.f64 x x) (*.f64 x y)))
00-0-(*.f64 x x)
00-0-(*.f64 x y)
00-0-x
Explanations
Click to see full explanations table
OperatorSubexpressionExplanationCount
-.f64(-.f64 (*.f64 x x) (*.f64 x y))nan-rescue70
(*.f64 x x)overflow64
(*.f64 x y)overflow35
Confusion
Predicted +Predicted -
+70
-0249
Precision
1.0
Recall
1.0
Confusion?
Predicted +Predicted MaybePredicted -
+700
-00249
Precision?
1.0
Recall?
1.0
Freqs
test
numberfreq
0249
17
Total Confusion?
Predicted +Predicted MaybePredicted -
+100
-000
Precision?
1.0
Recall?
1.0
Samples
29.0ms512×0valid
Compiler

Compiled 63 to 25 computations (60.3% saved)

Precisions
Click to see histograms. Total time spent on operations: 15.0ms
ival-mult: 12.0ms (77.5% of total)
ival-sub: 2.0ms (12.9% of total)
ival-true: 0.0ms (0% of total)
exact: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

preprocess92.0ms (2.1%)

Memory
-17.9MiB live, 109.5MiB allocated
Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01939
17035
216935
355635
4111835
5144035
6156235
7156235
8156235
079
0117
1207
2447
3957
41737
52337
63837
75517
87567
98067
08067
Stop Event
iter limit
saturated
iter limit
saturated
Calls
Call 1
Inputs
(*.f64 #s(literal 2 binary64) (-.f64 (*.f64 x x) (*.f64 x y)))
Outputs
(*.f64 #s(literal 2 binary64) (-.f64 (*.f64 x x) (*.f64 x y)))
(*.f64 (-.f64 y x) (*.f64 #s(literal -2 binary64) x))
Compiler

Compiled 9 to 7 computations (22.2% saved)

eval0.0ms (0%)

Memory
0.4MiB live, 0.4MiB allocated
Compiler

Compiled 0 to 2 computations (-∞% saved)

prune0.0ms (0%)

Memory
1.5MiB live, 1.5MiB allocated
Alt Table
Click to see full alt table
StatusAccuracyProgram
97.2%
(*.f64 #s(literal 2 binary64) (-.f64 (*.f64 x x) (*.f64 x y)))
Compiler

Compiled 9 to 7 computations (22.2% saved)

simplify44.0ms (1%)

Memory
-10.5MiB live, 25.8MiB allocated
Algorithm
egg-herbie
Localize:

Found 4 expressions of interest:

NewMetricScoreProgram
cost-diff0
(*.f64 x y)
cost-diff0
(*.f64 x x)
cost-diff0
(*.f64 #s(literal 2 binary64) (-.f64 (*.f64 x x) (*.f64 x y)))
cost-diff320
(-.f64 (*.f64 x x) (*.f64 x y))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0725
01121
12021
24421
39521
417321
523321
638321
755121
875621
980621
080621
Stop Event
iter limit
saturated
iter limit
Calls
Call 1
Inputs
(*.f64 #s(literal 2 binary64) (-.f64 (*.f64 x x) (*.f64 x y)))
#s(literal 2 binary64)
(-.f64 (*.f64 x x) (*.f64 x y))
(*.f64 x x)
x
(*.f64 x y)
y
Outputs
(*.f64 #s(literal 2 binary64) (-.f64 (*.f64 x x) (*.f64 x y)))
(*.f64 (-.f64 y x) (*.f64 #s(literal -2 binary64) x))
#s(literal 2 binary64)
(-.f64 (*.f64 x x) (*.f64 x y))
(*.f64 (-.f64 x y) x)
(*.f64 x x)
x
(*.f64 x y)
(*.f64 y x)
y

localize18.0ms (0.4%)

Memory
35.3MiB live, 35.3MiB allocated
Localize:

Found 4 expressions of interest:

NewMetricScoreProgram
accuracy0
(*.f64 x y)
accuracy0
(*.f64 x x)
accuracy0.015625
(*.f64 #s(literal 2 binary64) (-.f64 (*.f64 x x) (*.f64 x y)))
accuracy1.5078083716604118
(-.f64 (*.f64 x x) (*.f64 x y))
Samples
13.0ms256×0valid
Compiler

Compiled 27 to 9 computations (66.7% saved)

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

series20.0ms (0.4%)

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

6 calls:

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

simplify112.0ms (2.5%)

Memory
15.4MiB live, 127.3MiB allocated
Algorithm
egg-herbie
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
042501
1132411
2315411
31115375
43465375
55485375
66485375
77973375
08405375
Stop Event
iter limit
node limit
Counts
84 → 84
Calls
Call 1
Inputs
(pow x 2)
(+ (* -1 (* x y)) (pow x 2))
(+ (* -1 (* x y)) (pow x 2))
(+ (* -1 (* x y)) (pow x 2))
(* 2 (pow x 2))
(+ (* -2 (* x y)) (* 2 (pow x 2)))
(+ (* -2 (* x y)) (* 2 (pow x 2)))
(+ (* -2 (* x y)) (* 2 (pow x 2)))
(* x y)
(* x y)
(* x y)
(* x y)
(* -1 (* x y))
(* y (- (/ (pow x 2) y) x))
(* y (- (/ (pow x 2) y) x))
(* y (- (/ (pow x 2) y) x))
(* -2 (* x y))
(* y (+ (* -2 x) (* 2 (/ (pow x 2) y))))
(* y (+ (* -2 x) (* 2 (/ (pow x 2) y))))
(* y (+ (* -2 x) (* 2 (/ (pow x 2) y))))
(* x y)
(* x y)
(* x y)
(* x y)
(* -1 (* x y))
(* -1 (* y (- (* -1 (/ (pow x 2) y)) (* -1 x))))
(* -1 (* y (- (* -1 (/ (pow x 2) y)) (* -1 x))))
(* -1 (* y (- (* -1 (/ (pow x 2) y)) (* -1 x))))
(* -2 (* x y))
(* -1 (* y (+ (* -2 (/ (pow x 2) y)) (* 2 x))))
(* -1 (* y (+ (* -2 (/ (pow x 2) y)) (* 2 x))))
(* -1 (* y (+ (* -2 (/ (pow x 2) y)) (* 2 x))))
(* x y)
(* x y)
(* x y)
(* x y)
(* -1 (* x y))
(* x (- x y))
(* x (- x y))
(* x (- x y))
(* -2 (* x y))
(* x (+ (* -2 y) (* 2 x)))
(* x (+ (* -2 y) (* 2 x)))
(* x (+ (* -2 y) (* 2 x)))
(pow x 2)
(pow x 2)
(pow x 2)
(pow x 2)
(* x y)
(* x y)
(* x y)
(* x y)
(pow x 2)
(* (pow x 2) (+ 1 (* -1 (/ y x))))
(* (pow x 2) (+ 1 (* -1 (/ y x))))
(* (pow x 2) (+ 1 (* -1 (/ y x))))
(* 2 (pow x 2))
(* (pow x 2) (+ 2 (* -2 (/ y x))))
(* (pow x 2) (+ 2 (* -2 (/ y x))))
(* (pow x 2) (+ 2 (* -2 (/ y x))))
(pow x 2)
(pow x 2)
(pow x 2)
(pow x 2)
(* x y)
(* x y)
(* x y)
(* x y)
(pow x 2)
(* (pow x 2) (+ 1 (* -1 (/ y x))))
(* (pow x 2) (+ 1 (* -1 (/ y x))))
(* (pow x 2) (+ 1 (* -1 (/ y x))))
(* 2 (pow x 2))
(* (pow x 2) (+ 2 (* -2 (/ y x))))
(* (pow x 2) (+ 2 (* -2 (/ y x))))
(* (pow x 2) (+ 2 (* -2 (/ y x))))
(pow x 2)
(pow x 2)
(pow x 2)
(pow x 2)
(* x y)
(* x y)
(* x y)
(* x y)
Outputs
(pow x 2)
(*.f64 x x)
(+ (* -1 (* x y)) (pow x 2))
(*.f64 (-.f64 x y) x)
(+ (* -1 (* x y)) (pow x 2))
(*.f64 (-.f64 x y) x)
(+ (* -1 (* x y)) (pow x 2))
(*.f64 (-.f64 x y) x)
(* 2 (pow x 2))
(*.f64 (*.f64 x x) #s(literal 2 binary64))
(+ (* -2 (* x y)) (* 2 (pow x 2)))
(*.f64 (*.f64 #s(literal 2 binary64) x) (-.f64 x y))
(+ (* -2 (* x y)) (* 2 (pow x 2)))
(*.f64 (*.f64 #s(literal 2 binary64) x) (-.f64 x y))
(+ (* -2 (* x y)) (* 2 (pow x 2)))
(*.f64 (*.f64 #s(literal 2 binary64) x) (-.f64 x y))
(* x y)
(*.f64 y x)
(* x y)
(*.f64 y x)
(* x y)
(*.f64 y x)
(* x y)
(*.f64 y x)
(* -1 (* x y))
(*.f64 (neg.f64 y) x)
(* y (- (/ (pow x 2) y) x))
(*.f64 (-.f64 x y) x)
(* y (- (/ (pow x 2) y) x))
(*.f64 (-.f64 x y) x)
(* y (- (/ (pow x 2) y) x))
(*.f64 (-.f64 x y) x)
(* -2 (* x y))
(*.f64 #s(literal -2 binary64) (*.f64 y x))
(* y (+ (* -2 x) (* 2 (/ (pow x 2) y))))
(*.f64 (*.f64 #s(literal 2 binary64) x) (-.f64 x y))
(* y (+ (* -2 x) (* 2 (/ (pow x 2) y))))
(*.f64 (*.f64 #s(literal 2 binary64) x) (-.f64 x y))
(* y (+ (* -2 x) (* 2 (/ (pow x 2) y))))
(*.f64 (*.f64 #s(literal 2 binary64) x) (-.f64 x y))
(* x y)
(*.f64 y x)
(* x y)
(*.f64 y x)
(* x y)
(*.f64 y x)
(* x y)
(*.f64 y x)
(* -1 (* x y))
(*.f64 (neg.f64 y) x)
(* -1 (* y (- (* -1 (/ (pow x 2) y)) (* -1 x))))
(*.f64 (-.f64 x y) x)
(* -1 (* y (- (* -1 (/ (pow x 2) y)) (* -1 x))))
(*.f64 (-.f64 x y) x)
(* -1 (* y (- (* -1 (/ (pow x 2) y)) (* -1 x))))
(*.f64 (-.f64 x y) x)
(* -2 (* x y))
(*.f64 #s(literal -2 binary64) (*.f64 y x))
(* -1 (* y (+ (* -2 (/ (pow x 2) y)) (* 2 x))))
(*.f64 (*.f64 #s(literal 2 binary64) x) (-.f64 x y))
(* -1 (* y (+ (* -2 (/ (pow x 2) y)) (* 2 x))))
(*.f64 (*.f64 #s(literal 2 binary64) x) (-.f64 x y))
(* -1 (* y (+ (* -2 (/ (pow x 2) y)) (* 2 x))))
(*.f64 (*.f64 #s(literal 2 binary64) x) (-.f64 x y))
(* x y)
(*.f64 y x)
(* x y)
(*.f64 y x)
(* x y)
(*.f64 y x)
(* x y)
(*.f64 y x)
(* -1 (* x y))
(*.f64 (neg.f64 y) x)
(* x (- x y))
(*.f64 (-.f64 x y) x)
(* x (- x y))
(*.f64 (-.f64 x y) x)
(* x (- x y))
(*.f64 (-.f64 x y) x)
(* -2 (* x y))
(*.f64 #s(literal -2 binary64) (*.f64 y x))
(* x (+ (* -2 y) (* 2 x)))
(*.f64 (*.f64 #s(literal 2 binary64) x) (-.f64 x y))
(* x (+ (* -2 y) (* 2 x)))
(*.f64 (*.f64 #s(literal 2 binary64) x) (-.f64 x y))
(* x (+ (* -2 y) (* 2 x)))
(*.f64 (*.f64 #s(literal 2 binary64) x) (-.f64 x y))
(pow x 2)
(*.f64 x x)
(pow x 2)
(*.f64 x x)
(pow x 2)
(*.f64 x x)
(pow x 2)
(*.f64 x x)
(* x y)
(*.f64 y x)
(* x y)
(*.f64 y x)
(* x y)
(*.f64 y x)
(* x y)
(*.f64 y x)
(pow x 2)
(*.f64 x x)
(* (pow x 2) (+ 1 (* -1 (/ y x))))
(*.f64 (-.f64 x y) x)
(* (pow x 2) (+ 1 (* -1 (/ y x))))
(*.f64 (-.f64 x y) x)
(* (pow x 2) (+ 1 (* -1 (/ y x))))
(*.f64 (-.f64 x y) x)
(* 2 (pow x 2))
(*.f64 (*.f64 x x) #s(literal 2 binary64))
(* (pow x 2) (+ 2 (* -2 (/ y x))))
(*.f64 (*.f64 #s(literal 2 binary64) x) (-.f64 x y))
(* (pow x 2) (+ 2 (* -2 (/ y x))))
(*.f64 (*.f64 #s(literal 2 binary64) x) (-.f64 x y))
(* (pow x 2) (+ 2 (* -2 (/ y x))))
(*.f64 (*.f64 #s(literal 2 binary64) x) (-.f64 x y))
(pow x 2)
(*.f64 x x)
(pow x 2)
(*.f64 x x)
(pow x 2)
(*.f64 x x)
(pow x 2)
(*.f64 x x)
(* x y)
(*.f64 y x)
(* x y)
(*.f64 y x)
(* x y)
(*.f64 y x)
(* x y)
(*.f64 y x)
(pow x 2)
(*.f64 x x)
(* (pow x 2) (+ 1 (* -1 (/ y x))))
(*.f64 (-.f64 x y) x)
(* (pow x 2) (+ 1 (* -1 (/ y x))))
(*.f64 (-.f64 x y) x)
(* (pow x 2) (+ 1 (* -1 (/ y x))))
(*.f64 (-.f64 x y) x)
(* 2 (pow x 2))
(*.f64 (*.f64 x x) #s(literal 2 binary64))
(* (pow x 2) (+ 2 (* -2 (/ y x))))
(*.f64 (*.f64 #s(literal 2 binary64) x) (-.f64 x y))
(* (pow x 2) (+ 2 (* -2 (/ y x))))
(*.f64 (*.f64 #s(literal 2 binary64) x) (-.f64 x y))
(* (pow x 2) (+ 2 (* -2 (/ y x))))
(*.f64 (*.f64 #s(literal 2 binary64) x) (-.f64 x y))
(pow x 2)
(*.f64 x x)
(pow x 2)
(*.f64 x x)
(pow x 2)
(*.f64 x x)
(pow x 2)
(*.f64 x x)
(* x y)
(*.f64 y x)
(* x y)
(*.f64 y x)
(* x y)
(*.f64 y x)
(* x y)
(*.f64 y x)

rewrite231.0ms (5.2%)

Memory
19.9MiB live, 282.5MiB allocated
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0722
01118
13418
223518
3220418
0878518
Stop Event
iter limit
node limit
iter limit
Counts
4 → 304
Calls
Call 1
Inputs
(-.f64 (*.f64 x x) (*.f64 x y))
(*.f64 #s(literal 2 binary64) (-.f64 (*.f64 x x) (*.f64 x y)))
(*.f64 x x)
(*.f64 x y)
Outputs
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>

eval45.0ms (1%)

Memory
-5.3MiB live, 119.6MiB allocated
Compiler

Compiled 10 068 to 1 087 computations (89.2% saved)

prune212.0ms (4.8%)

Memory
-19.7MiB live, 18.6MiB allocated
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New3853388
Fresh000
Picked011
Done000
Total3854389
Accuracy
100.0%
Counts
389 → 4
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(*.f64 (-.f64 x y) (*.f64 #s(literal 2 binary64) x))
97.2%
(*.f64 #s(literal 2 binary64) (-.f64 (*.f64 x x) (*.f64 x y)))
59.4%
(*.f64 #s(literal 2 binary64) #s(approx (- (* x x) (* x y)) (*.f64 x x)))
58.3%
#s(approx (* 2 (- (* x x) (* x y))) (*.f64 #s(literal -2 binary64) (*.f64 y x)))
Compiler

Compiled 28 to 25 computations (10.7% saved)

simplify26.0ms (0.6%)

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

Found 9 expressions of interest:

NewMetricScoreProgram
cost-diff0
(*.f64 #s(literal 2 binary64) x)
cost-diff0
(-.f64 x y)
cost-diff0
(*.f64 (-.f64 x y) (*.f64 #s(literal 2 binary64) x))
cost-diff0
(*.f64 x x)
cost-diff0
#s(approx (- (* x x) (* x y)) (*.f64 x x))
cost-diff0
(*.f64 #s(literal 2 binary64) #s(approx (- (* x x) (* x y)) (*.f64 x x)))
cost-diff0
(*.f64 y x)
cost-diff0
(*.f64 #s(literal -2 binary64) (*.f64 y x))
cost-diff0
#s(approx (* 2 (- (* x x) (* x y))) (*.f64 #s(literal -2 binary64) (*.f64 y x)))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01771
02465
14365
28165
313765
421865
532965
649265
774565
882765
982965
082965
Stop Event
iter limit
saturated
iter limit
Calls
Call 1
Inputs
#s(approx (* 2 (- (* x x) (* x y))) (*.f64 #s(literal -2 binary64) (*.f64 y x)))
(*.f64 #s(literal -2 binary64) (*.f64 y x))
#s(literal -2 binary64)
(*.f64 y x)
y
x
(*.f64 #s(literal 2 binary64) #s(approx (- (* x x) (* x y)) (*.f64 x x)))
#s(literal 2 binary64)
#s(approx (- (* x x) (* x y)) (*.f64 x x))
(*.f64 x x)
x
(*.f64 (-.f64 x y) (*.f64 #s(literal 2 binary64) x))
(-.f64 x y)
x
y
(*.f64 #s(literal 2 binary64) x)
#s(literal 2 binary64)
Outputs
#s(approx (* 2 (- (* x x) (* x y))) (*.f64 #s(literal -2 binary64) (*.f64 y x)))
(*.f64 #s(literal -2 binary64) (*.f64 y x))
#s(literal -2 binary64)
(*.f64 y x)
y
x
(*.f64 #s(literal 2 binary64) #s(approx (- (* x x) (* x y)) (*.f64 x x)))
(*.f64 #s(approx (- (* x x) (* x y)) (*.f64 x x)) #s(literal 2 binary64))
#s(literal 2 binary64)
#s(approx (- (* x x) (* x y)) (*.f64 x x))
(*.f64 x x)
x
(*.f64 (-.f64 x y) (*.f64 #s(literal 2 binary64) x))
(*.f64 (*.f64 #s(literal -2 binary64) x) (-.f64 y x))
(-.f64 x y)
x
y
(*.f64 #s(literal 2 binary64) x)
(*.f64 x #s(literal 2 binary64))
#s(literal 2 binary64)

localize70.0ms (1.6%)

Memory
-40.5MiB live, 70.4MiB allocated
Localize:

Found 9 expressions of interest:

NewMetricScoreProgram
accuracy0
(-.f64 x y)
accuracy0
(*.f64 #s(literal 2 binary64) x)
accuracy0.01171875
(*.f64 (-.f64 x y) (*.f64 #s(literal 2 binary64) x))
accuracy0
(*.f64 x x)
accuracy0.015625
(*.f64 #s(literal 2 binary64) #s(approx (- (* x x) (* x y)) (*.f64 x x)))
accuracy25.951804825239478
#s(approx (- (* x x) (* x y)) (*.f64 x x))
accuracy0
(*.f64 y x)
accuracy0.0078125
(*.f64 #s(literal -2 binary64) (*.f64 y x))
accuracy26.667059598652987
#s(approx (* 2 (- (* x x) (* x y))) (*.f64 #s(literal -2 binary64) (*.f64 y x)))
Samples
27.0ms256×0valid
Compiler

Compiled 59 to 15 computations (74.6% saved)

Precisions
Click to see histograms. Total time spent on operations: 13.0ms
ival-mult: 11.0ms (81.5% of total)
ival-sub: 2.0ms (14.8% of total)
ival-true: 0.0ms (0% of total)
exact: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

series16.0ms (0.4%)

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

6 calls:

TimeVariablePointExpression
3.0ms
x
@inf
((* 2 (- (* x x) (* x y))) (* -2 (* y x)) (* y x) (* 2 (- (* x x) (* x y))) (- (* x x) (* x y)) (* x x) (* (- x y) (* 2 x)) (- x y) (* 2 x))
2.0ms
x
@-inf
((* 2 (- (* x x) (* x y))) (* -2 (* y x)) (* y x) (* 2 (- (* x x) (* x y))) (- (* x x) (* x y)) (* x x) (* (- x y) (* 2 x)) (- x y) (* 2 x))
1.0ms
x
@0
((* 2 (- (* x x) (* x y))) (* -2 (* y x)) (* y x) (* 2 (- (* x x) (* x y))) (- (* x x) (* x y)) (* x x) (* (- x y) (* 2 x)) (- x y) (* 2 x))
1.0ms
y
@-inf
((* 2 (- (* x x) (* x y))) (* -2 (* y x)) (* y x) (* 2 (- (* x x) (* x y))) (- (* x x) (* x y)) (* x x) (* (- x y) (* 2 x)) (- x y) (* 2 x))
1.0ms
y
@0
((* 2 (- (* x x) (* x y))) (* -2 (* y x)) (* y x) (* 2 (- (* x x) (* x y))) (- (* x x) (* x y)) (* x x) (* (- x y) (* 2 x)) (- x y) (* 2 x))

simplify114.0ms (2.5%)

Memory
29.0MiB live, 148.1MiB allocated
Algorithm
egg-herbie
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
0551176
11741014
24281014
31520906
43584906
55338906
66931906
08098906
Stop Event
iter limit
node limit
Counts
192 → 189
Calls
Call 1
Inputs
(* 2 (pow x 2))
(+ (* -2 (* x y)) (* 2 (pow x 2)))
(+ (* -2 (* x y)) (* 2 (pow x 2)))
(+ (* -2 (* x y)) (* 2 (pow x 2)))
(* -2 (* x y))
(* -2 (* x y))
(* -2 (* x y))
(* -2 (* x y))
(* x y)
(* x y)
(* x y)
(* x y)
(* 2 (pow x 2))
(+ (* -2 (* x y)) (* 2 (pow x 2)))
(+ (* -2 (* x y)) (* 2 (pow x 2)))
(+ (* -2 (* x y)) (* 2 (pow x 2)))
(pow x 2)
(+ (* -1 (* x y)) (pow x 2))
(+ (* -1 (* x y)) (pow x 2))
(+ (* -1 (* x y)) (pow x 2))
(* 2 (pow x 2))
(+ (* -2 (* x y)) (* 2 (pow x 2)))
(+ (* -2 (* x y)) (* 2 (pow x 2)))
(+ (* -2 (* x y)) (* 2 (pow x 2)))
x
(+ x (* -1 y))
(+ x (* -1 y))
(+ x (* -1 y))
(* -2 (* x y))
(* y (+ (* -2 x) (* 2 (/ (pow x 2) y))))
(* y (+ (* -2 x) (* 2 (/ (pow x 2) y))))
(* y (+ (* -2 x) (* 2 (/ (pow x 2) y))))
(* -2 (* x y))
(* -2 (* x y))
(* -2 (* x y))
(* -2 (* x y))
(* x y)
(* x y)
(* x y)
(* x y)
(* -2 (* x y))
(* y (+ (* -2 x) (* 2 (/ (pow x 2) y))))
(* y (+ (* -2 x) (* 2 (/ (pow x 2) y))))
(* y (+ (* -2 x) (* 2 (/ (pow x 2) y))))
(* -1 (* x y))
(* y (- (/ (pow x 2) y) x))
(* y (- (/ (pow x 2) y) x))
(* y (- (/ (pow x 2) y) x))
(* -2 (* x y))
(* y (+ (* -2 x) (* 2 (/ (pow x 2) y))))
(* y (+ (* -2 x) (* 2 (/ (pow x 2) y))))
(* y (+ (* -2 x) (* 2 (/ (pow x 2) y))))
(* -1 y)
(* y (- (/ x y) 1))
(* y (- (/ x y) 1))
(* y (- (/ x y) 1))
(* -2 (* x y))
(* -1 (* y (+ (* -2 (/ (pow x 2) y)) (* 2 x))))
(* -1 (* y (+ (* -2 (/ (pow x 2) y)) (* 2 x))))
(* -1 (* y (+ (* -2 (/ (pow x 2) y)) (* 2 x))))
(* -2 (* x y))
(* -2 (* x y))
(* -2 (* x y))
(* -2 (* x y))
(* x y)
(* x y)
(* x y)
(* x y)
(* -2 (* x y))
(* -1 (* y (+ (* -2 (/ (pow x 2) y)) (* 2 x))))
(* -1 (* y (+ (* -2 (/ (pow x 2) y)) (* 2 x))))
(* -1 (* y (+ (* -2 (/ (pow x 2) y)) (* 2 x))))
(* -1 (* x y))
(* -1 (* y (- (* -1 (/ (pow x 2) y)) (* -1 x))))
(* -1 (* y (- (* -1 (/ (pow x 2) y)) (* -1 x))))
(* -1 (* y (- (* -1 (/ (pow x 2) y)) (* -1 x))))
(* -2 (* x y))
(* -1 (* y (+ (* -2 (/ (pow x 2) y)) (* 2 x))))
(* -1 (* y (+ (* -2 (/ (pow x 2) y)) (* 2 x))))
(* -1 (* y (+ (* -2 (/ (pow x 2) y)) (* 2 x))))
(* -1 y)
(* -1 (* y (+ 1 (* -1 (/ x y)))))
(* -1 (* y (+ 1 (* -1 (/ x y)))))
(* -1 (* y (+ 1 (* -1 (/ x y)))))
(* -2 (* x y))
(* x (+ (* -2 y) (* 2 x)))
(* x (+ (* -2 y) (* 2 x)))
(* x (+ (* -2 y) (* 2 x)))
(* -2 (* x y))
(* -2 (* x y))
(* -2 (* x y))
(* -2 (* x y))
(* x y)
(* x y)
(* x y)
(* x y)
(* -2 (* x y))
(* x (+ (* -2 y) (* 2 x)))
(* x (+ (* -2 y) (* 2 x)))
(* x (+ (* -2 y) (* 2 x)))
(* -1 (* x y))
(* x (- x y))
(* x (- x y))
(* x (- x y))
(pow x 2)
(pow x 2)
(pow x 2)
(pow x 2)
(* -2 (* x y))
(* x (+ (* -2 y) (* 2 x)))
(* x (+ (* -2 y) (* 2 x)))
(* x (+ (* -2 y) (* 2 x)))
(* -1 y)
(- x y)
(- x y)
(- x y)
(* 2 x)
(* 2 x)
(* 2 x)
(* 2 x)
(* 2 (pow x 2))
(* (pow x 2) (+ 2 (* -2 (/ y x))))
(* (pow x 2) (+ 2 (* -2 (/ y x))))
(* (pow x 2) (+ 2 (* -2 (/ y x))))
(* -2 (* x y))
(* -2 (* x y))
(* -2 (* x y))
(* -2 (* x y))
(* x y)
(* x y)
(* x y)
(* x y)
(* 2 (pow x 2))
(* (pow x 2) (+ 2 (* -2 (/ y x))))
(* (pow x 2) (+ 2 (* -2 (/ y x))))
(* (pow x 2) (+ 2 (* -2 (/ y x))))
(pow x 2)
(* (pow x 2) (+ 1 (* -1 (/ y x))))
(* (pow x 2) (+ 1 (* -1 (/ y x))))
(* (pow x 2) (+ 1 (* -1 (/ y x))))
(pow x 2)
(pow x 2)
(pow x 2)
(pow x 2)
(* 2 (pow x 2))
(* (pow x 2) (+ 2 (* -2 (/ y x))))
(* (pow x 2) (+ 2 (* -2 (/ y x))))
(* (pow x 2) (+ 2 (* -2 (/ y x))))
x
(* x (+ 1 (* -1 (/ y x))))
(* x (+ 1 (* -1 (/ y x))))
(* x (+ 1 (* -1 (/ y x))))
(* 2 x)
(* 2 x)
(* 2 x)
(* 2 x)
(* 2 (pow x 2))
(* (pow x 2) (+ 2 (* -2 (/ y x))))
(* (pow x 2) (+ 2 (* -2 (/ y x))))
(* (pow x 2) (+ 2 (* -2 (/ y x))))
(* -2 (* x y))
(* -2 (* x y))
(* -2 (* x y))
(* -2 (* x y))
(* x y)
(* x y)
(* x y)
(* x y)
(* 2 (pow x 2))
(* (pow x 2) (+ 2 (* -2 (/ y x))))
(* (pow x 2) (+ 2 (* -2 (/ y x))))
(* (pow x 2) (+ 2 (* -2 (/ y x))))
(pow x 2)
(* (pow x 2) (+ 1 (* -1 (/ y x))))
(* (pow x 2) (+ 1 (* -1 (/ y x))))
(* (pow x 2) (+ 1 (* -1 (/ y x))))
(pow x 2)
(pow x 2)
(pow x 2)
(pow x 2)
(* 2 (pow x 2))
(* (pow x 2) (+ 2 (* -2 (/ y x))))
(* (pow x 2) (+ 2 (* -2 (/ y x))))
(* (pow x 2) (+ 2 (* -2 (/ y x))))
x
(* -1 (* x (- (/ y x) 1)))
(* -1 (* x (- (/ y x) 1)))
(* -1 (* x (- (/ y x) 1)))
(* 2 x)
(* 2 x)
(* 2 x)
(* 2 x)
Outputs
(* 2 (pow x 2))
(*.f64 (*.f64 x x) #s(literal 2 binary64))
(+ (* -2 (* x y)) (* 2 (pow x 2)))
(*.f64 (*.f64 (-.f64 x y) x) #s(literal 2 binary64))
(+ (* -2 (* x y)) (* 2 (pow x 2)))
(*.f64 (*.f64 (-.f64 x y) x) #s(literal 2 binary64))
(+ (* -2 (* x y)) (* 2 (pow x 2)))
(*.f64 (*.f64 (-.f64 x y) x) #s(literal 2 binary64))
(* -2 (* x y))
(*.f64 (*.f64 y x) #s(literal -2 binary64))
(* -2 (* x y))
(*.f64 (*.f64 y x) #s(literal -2 binary64))
(* -2 (* x y))
(*.f64 (*.f64 y x) #s(literal -2 binary64))
(* -2 (* x y))
(*.f64 (*.f64 y x) #s(literal -2 binary64))
(* x y)
(*.f64 y x)
(* x y)
(*.f64 y x)
(* x y)
(*.f64 y x)
(* x y)
(*.f64 y x)
(* 2 (pow x 2))
(*.f64 (*.f64 x x) #s(literal 2 binary64))
(+ (* -2 (* x y)) (* 2 (pow x 2)))
(*.f64 (*.f64 (-.f64 x y) x) #s(literal 2 binary64))
(+ (* -2 (* x y)) (* 2 (pow x 2)))
(*.f64 (*.f64 (-.f64 x y) x) #s(literal 2 binary64))
(+ (* -2 (* x y)) (* 2 (pow x 2)))
(*.f64 (*.f64 (-.f64 x y) x) #s(literal 2 binary64))
(pow x 2)
(*.f64 x x)
(+ (* -1 (* x y)) (pow x 2))
(*.f64 (-.f64 x y) x)
(+ (* -1 (* x y)) (pow x 2))
(*.f64 (-.f64 x y) x)
(+ (* -1 (* x y)) (pow x 2))
(*.f64 (-.f64 x y) x)
(* 2 (pow x 2))
(*.f64 (*.f64 x x) #s(literal 2 binary64))
(+ (* -2 (* x y)) (* 2 (pow x 2)))
(*.f64 (*.f64 (-.f64 x y) x) #s(literal 2 binary64))
(+ (* -2 (* x y)) (* 2 (pow x 2)))
(*.f64 (*.f64 (-.f64 x y) x) #s(literal 2 binary64))
(+ (* -2 (* x y)) (* 2 (pow x 2)))
(*.f64 (*.f64 (-.f64 x y) x) #s(literal 2 binary64))
x
(+ x (* -1 y))
(-.f64 x y)
(+ x (* -1 y))
(-.f64 x y)
(+ x (* -1 y))
(-.f64 x y)
(* -2 (* x y))
(*.f64 (*.f64 y x) #s(literal -2 binary64))
(* y (+ (* -2 x) (* 2 (/ (pow x 2) y))))
(*.f64 (*.f64 (-.f64 x y) x) #s(literal 2 binary64))
(* y (+ (* -2 x) (* 2 (/ (pow x 2) y))))
(*.f64 (*.f64 (-.f64 x y) x) #s(literal 2 binary64))
(* y (+ (* -2 x) (* 2 (/ (pow x 2) y))))
(*.f64 (*.f64 (-.f64 x y) x) #s(literal 2 binary64))
(* -2 (* x y))
(*.f64 (*.f64 y x) #s(literal -2 binary64))
(* -2 (* x y))
(*.f64 (*.f64 y x) #s(literal -2 binary64))
(* -2 (* x y))
(*.f64 (*.f64 y x) #s(literal -2 binary64))
(* -2 (* x y))
(*.f64 (*.f64 y x) #s(literal -2 binary64))
(* x y)
(*.f64 y x)
(* x y)
(*.f64 y x)
(* x y)
(*.f64 y x)
(* x y)
(*.f64 y x)
(* -2 (* x y))
(*.f64 (*.f64 y x) #s(literal -2 binary64))
(* y (+ (* -2 x) (* 2 (/ (pow x 2) y))))
(*.f64 (*.f64 (-.f64 x y) x) #s(literal 2 binary64))
(* y (+ (* -2 x) (* 2 (/ (pow x 2) y))))
(*.f64 (*.f64 (-.f64 x y) x) #s(literal 2 binary64))
(* y (+ (* -2 x) (* 2 (/ (pow x 2) y))))
(*.f64 (*.f64 (-.f64 x y) x) #s(literal 2 binary64))
(* -1 (* x y))
(*.f64 (neg.f64 x) y)
(* y (- (/ (pow x 2) y) x))
(*.f64 (-.f64 x y) x)
(* y (- (/ (pow x 2) y) x))
(*.f64 (-.f64 x y) x)
(* y (- (/ (pow x 2) y) x))
(*.f64 (-.f64 x y) x)
(* -2 (* x y))
(*.f64 (*.f64 y x) #s(literal -2 binary64))
(* y (+ (* -2 x) (* 2 (/ (pow x 2) y))))
(*.f64 (*.f64 (-.f64 x y) x) #s(literal 2 binary64))
(* y (+ (* -2 x) (* 2 (/ (pow x 2) y))))
(*.f64 (*.f64 (-.f64 x y) x) #s(literal 2 binary64))
(* y (+ (* -2 x) (* 2 (/ (pow x 2) y))))
(*.f64 (*.f64 (-.f64 x y) x) #s(literal 2 binary64))
(* -1 y)
(neg.f64 y)
(* y (- (/ x y) 1))
(-.f64 x y)
(* y (- (/ x y) 1))
(-.f64 x y)
(* y (- (/ x y) 1))
(-.f64 x y)
(* -2 (* x y))
(*.f64 (*.f64 y x) #s(literal -2 binary64))
(* -1 (* y (+ (* -2 (/ (pow x 2) y)) (* 2 x))))
(*.f64 (*.f64 (-.f64 x y) x) #s(literal 2 binary64))
(* -1 (* y (+ (* -2 (/ (pow x 2) y)) (* 2 x))))
(*.f64 (*.f64 (-.f64 x y) x) #s(literal 2 binary64))
(* -1 (* y (+ (* -2 (/ (pow x 2) y)) (* 2 x))))
(*.f64 (*.f64 (-.f64 x y) x) #s(literal 2 binary64))
(* -2 (* x y))
(*.f64 (*.f64 y x) #s(literal -2 binary64))
(* -2 (* x y))
(*.f64 (*.f64 y x) #s(literal -2 binary64))
(* -2 (* x y))
(*.f64 (*.f64 y x) #s(literal -2 binary64))
(* -2 (* x y))
(*.f64 (*.f64 y x) #s(literal -2 binary64))
(* x y)
(*.f64 y x)
(* x y)
(*.f64 y x)
(* x y)
(*.f64 y x)
(* x y)
(*.f64 y x)
(* -2 (* x y))
(*.f64 (*.f64 y x) #s(literal -2 binary64))
(* -1 (* y (+ (* -2 (/ (pow x 2) y)) (* 2 x))))
(*.f64 (*.f64 (-.f64 x y) x) #s(literal 2 binary64))
(* -1 (* y (+ (* -2 (/ (pow x 2) y)) (* 2 x))))
(*.f64 (*.f64 (-.f64 x y) x) #s(literal 2 binary64))
(* -1 (* y (+ (* -2 (/ (pow x 2) y)) (* 2 x))))
(*.f64 (*.f64 (-.f64 x y) x) #s(literal 2 binary64))
(* -1 (* x y))
(*.f64 (neg.f64 x) y)
(* -1 (* y (- (* -1 (/ (pow x 2) y)) (* -1 x))))
(*.f64 (-.f64 x y) x)
(* -1 (* y (- (* -1 (/ (pow x 2) y)) (* -1 x))))
(*.f64 (-.f64 x y) x)
(* -1 (* y (- (* -1 (/ (pow x 2) y)) (* -1 x))))
(*.f64 (-.f64 x y) x)
(* -2 (* x y))
(*.f64 (*.f64 y x) #s(literal -2 binary64))
(* -1 (* y (+ (* -2 (/ (pow x 2) y)) (* 2 x))))
(*.f64 (*.f64 (-.f64 x y) x) #s(literal 2 binary64))
(* -1 (* y (+ (* -2 (/ (pow x 2) y)) (* 2 x))))
(*.f64 (*.f64 (-.f64 x y) x) #s(literal 2 binary64))
(* -1 (* y (+ (* -2 (/ (pow x 2) y)) (* 2 x))))
(*.f64 (*.f64 (-.f64 x y) x) #s(literal 2 binary64))
(* -1 y)
(neg.f64 y)
(* -1 (* y (+ 1 (* -1 (/ x y)))))
(-.f64 x y)
(* -1 (* y (+ 1 (* -1 (/ x y)))))
(-.f64 x y)
(* -1 (* y (+ 1 (* -1 (/ x y)))))
(-.f64 x y)
(* -2 (* x y))
(*.f64 (*.f64 y x) #s(literal -2 binary64))
(* x (+ (* -2 y) (* 2 x)))
(*.f64 (*.f64 (-.f64 x y) x) #s(literal 2 binary64))
(* x (+ (* -2 y) (* 2 x)))
(*.f64 (*.f64 (-.f64 x y) x) #s(literal 2 binary64))
(* x (+ (* -2 y) (* 2 x)))
(*.f64 (*.f64 (-.f64 x y) x) #s(literal 2 binary64))
(* -2 (* x y))
(*.f64 (*.f64 y x) #s(literal -2 binary64))
(* -2 (* x y))
(*.f64 (*.f64 y x) #s(literal -2 binary64))
(* -2 (* x y))
(*.f64 (*.f64 y x) #s(literal -2 binary64))
(* -2 (* x y))
(*.f64 (*.f64 y x) #s(literal -2 binary64))
(* x y)
(*.f64 y x)
(* x y)
(*.f64 y x)
(* x y)
(*.f64 y x)
(* x y)
(*.f64 y x)
(* -2 (* x y))
(*.f64 (*.f64 y x) #s(literal -2 binary64))
(* x (+ (* -2 y) (* 2 x)))
(*.f64 (*.f64 (-.f64 x y) x) #s(literal 2 binary64))
(* x (+ (* -2 y) (* 2 x)))
(*.f64 (*.f64 (-.f64 x y) x) #s(literal 2 binary64))
(* x (+ (* -2 y) (* 2 x)))
(*.f64 (*.f64 (-.f64 x y) x) #s(literal 2 binary64))
(* -1 (* x y))
(*.f64 (neg.f64 x) y)
(* x (- x y))
(*.f64 (-.f64 x y) x)
(* x (- x y))
(*.f64 (-.f64 x y) x)
(* x (- x y))
(*.f64 (-.f64 x y) x)
(pow x 2)
(*.f64 x x)
(pow x 2)
(*.f64 x x)
(pow x 2)
(*.f64 x x)
(pow x 2)
(*.f64 x x)
(* -2 (* x y))
(*.f64 (*.f64 y x) #s(literal -2 binary64))
(* x (+ (* -2 y) (* 2 x)))
(*.f64 (*.f64 (-.f64 x y) x) #s(literal 2 binary64))
(* x (+ (* -2 y) (* 2 x)))
(*.f64 (*.f64 (-.f64 x y) x) #s(literal 2 binary64))
(* x (+ (* -2 y) (* 2 x)))
(*.f64 (*.f64 (-.f64 x y) x) #s(literal 2 binary64))
(* -1 y)
(neg.f64 y)
(- x y)
(-.f64 x y)
(- x y)
(-.f64 x y)
(- x y)
(-.f64 x y)
(* 2 x)
(*.f64 x #s(literal 2 binary64))
(* 2 x)
(*.f64 x #s(literal 2 binary64))
(* 2 x)
(*.f64 x #s(literal 2 binary64))
(* 2 x)
(*.f64 x #s(literal 2 binary64))
(* 2 (pow x 2))
(*.f64 (*.f64 x x) #s(literal 2 binary64))
(* (pow x 2) (+ 2 (* -2 (/ y x))))
(*.f64 (*.f64 (-.f64 x y) x) #s(literal 2 binary64))
(* (pow x 2) (+ 2 (* -2 (/ y x))))
(*.f64 (*.f64 (-.f64 x y) x) #s(literal 2 binary64))
(* (pow x 2) (+ 2 (* -2 (/ y x))))
(*.f64 (*.f64 (-.f64 x y) x) #s(literal 2 binary64))
(* -2 (* x y))
(*.f64 (*.f64 y x) #s(literal -2 binary64))
(* -2 (* x y))
(*.f64 (*.f64 y x) #s(literal -2 binary64))
(* -2 (* x y))
(*.f64 (*.f64 y x) #s(literal -2 binary64))
(* -2 (* x y))
(*.f64 (*.f64 y x) #s(literal -2 binary64))
(* x y)
(*.f64 y x)
(* x y)
(*.f64 y x)
(* x y)
(*.f64 y x)
(* x y)
(*.f64 y x)
(* 2 (pow x 2))
(*.f64 (*.f64 x x) #s(literal 2 binary64))
(* (pow x 2) (+ 2 (* -2 (/ y x))))
(*.f64 (*.f64 (-.f64 x y) x) #s(literal 2 binary64))
(* (pow x 2) (+ 2 (* -2 (/ y x))))
(*.f64 (*.f64 (-.f64 x y) x) #s(literal 2 binary64))
(* (pow x 2) (+ 2 (* -2 (/ y x))))
(*.f64 (*.f64 (-.f64 x y) x) #s(literal 2 binary64))
(pow x 2)
(*.f64 x x)
(* (pow x 2) (+ 1 (* -1 (/ y x))))
(*.f64 (-.f64 x y) x)
(* (pow x 2) (+ 1 (* -1 (/ y x))))
(*.f64 (-.f64 x y) x)
(* (pow x 2) (+ 1 (* -1 (/ y x))))
(*.f64 (-.f64 x y) x)
(pow x 2)
(*.f64 x x)
(pow x 2)
(*.f64 x x)
(pow x 2)
(*.f64 x x)
(pow x 2)
(*.f64 x x)
(* 2 (pow x 2))
(*.f64 (*.f64 x x) #s(literal 2 binary64))
(* (pow x 2) (+ 2 (* -2 (/ y x))))
(*.f64 (*.f64 (-.f64 x y) x) #s(literal 2 binary64))
(* (pow x 2) (+ 2 (* -2 (/ y x))))
(*.f64 (*.f64 (-.f64 x y) x) #s(literal 2 binary64))
(* (pow x 2) (+ 2 (* -2 (/ y x))))
(*.f64 (*.f64 (-.f64 x y) x) #s(literal 2 binary64))
x
(* x (+ 1 (* -1 (/ y x))))
(-.f64 x y)
(* x (+ 1 (* -1 (/ y x))))
(-.f64 x y)
(* x (+ 1 (* -1 (/ y x))))
(-.f64 x y)
(* 2 x)
(*.f64 x #s(literal 2 binary64))
(* 2 x)
(*.f64 x #s(literal 2 binary64))
(* 2 x)
(*.f64 x #s(literal 2 binary64))
(* 2 x)
(*.f64 x #s(literal 2 binary64))
(* 2 (pow x 2))
(*.f64 (*.f64 x x) #s(literal 2 binary64))
(* (pow x 2) (+ 2 (* -2 (/ y x))))
(*.f64 (*.f64 (-.f64 x y) x) #s(literal 2 binary64))
(* (pow x 2) (+ 2 (* -2 (/ y x))))
(*.f64 (*.f64 (-.f64 x y) x) #s(literal 2 binary64))
(* (pow x 2) (+ 2 (* -2 (/ y x))))
(*.f64 (*.f64 (-.f64 x y) x) #s(literal 2 binary64))
(* -2 (* x y))
(*.f64 (*.f64 y x) #s(literal -2 binary64))
(* -2 (* x y))
(*.f64 (*.f64 y x) #s(literal -2 binary64))
(* -2 (* x y))
(*.f64 (*.f64 y x) #s(literal -2 binary64))
(* -2 (* x y))
(*.f64 (*.f64 y x) #s(literal -2 binary64))
(* x y)
(*.f64 y x)
(* x y)
(*.f64 y x)
(* x y)
(*.f64 y x)
(* x y)
(*.f64 y x)
(* 2 (pow x 2))
(*.f64 (*.f64 x x) #s(literal 2 binary64))
(* (pow x 2) (+ 2 (* -2 (/ y x))))
(*.f64 (*.f64 (-.f64 x y) x) #s(literal 2 binary64))
(* (pow x 2) (+ 2 (* -2 (/ y x))))
(*.f64 (*.f64 (-.f64 x y) x) #s(literal 2 binary64))
(* (pow x 2) (+ 2 (* -2 (/ y x))))
(*.f64 (*.f64 (-.f64 x y) x) #s(literal 2 binary64))
(pow x 2)
(*.f64 x x)
(* (pow x 2) (+ 1 (* -1 (/ y x))))
(*.f64 (-.f64 x y) x)
(* (pow x 2) (+ 1 (* -1 (/ y x))))
(*.f64 (-.f64 x y) x)
(* (pow x 2) (+ 1 (* -1 (/ y x))))
(*.f64 (-.f64 x y) x)
(pow x 2)
(*.f64 x x)
(pow x 2)
(*.f64 x x)
(pow x 2)
(*.f64 x x)
(pow x 2)
(*.f64 x x)
(* 2 (pow x 2))
(*.f64 (*.f64 x x) #s(literal 2 binary64))
(* (pow x 2) (+ 2 (* -2 (/ y x))))
(*.f64 (*.f64 (-.f64 x y) x) #s(literal 2 binary64))
(* (pow x 2) (+ 2 (* -2 (/ y x))))
(*.f64 (*.f64 (-.f64 x y) x) #s(literal 2 binary64))
(* (pow x 2) (+ 2 (* -2 (/ y x))))
(*.f64 (*.f64 (-.f64 x y) x) #s(literal 2 binary64))
x
(* -1 (* x (- (/ y x) 1)))
(-.f64 x y)
(* -1 (* x (- (/ y x) 1)))
(-.f64 x y)
(* -1 (* x (- (/ y x) 1)))
(-.f64 x y)
(* 2 x)
(*.f64 x #s(literal 2 binary64))
(* 2 x)
(*.f64 x #s(literal 2 binary64))
(* 2 x)
(*.f64 x #s(literal 2 binary64))
(* 2 x)
(*.f64 x #s(literal 2 binary64))

rewrite173.0ms (3.9%)

Memory
-5.3MiB live, 220.0MiB allocated
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01763
02457
16757
238557
3363357
0860757
Stop Event
iter limit
node limit
iter limit
Counts
9 → 231
Calls
Call 1
Inputs
#s(approx (* 2 (- (* x x) (* x y))) (*.f64 #s(literal -2 binary64) (*.f64 y x)))
(*.f64 #s(literal -2 binary64) (*.f64 y x))
(*.f64 y x)
(*.f64 #s(literal 2 binary64) #s(approx (- (* x x) (* x y)) (*.f64 x x)))
#s(approx (- (* x x) (* x y)) (*.f64 x x))
(*.f64 x x)
(*.f64 (-.f64 x y) (*.f64 #s(literal 2 binary64) x))
(-.f64 x y)
(*.f64 #s(literal 2 binary64) 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>

eval45.0ms (1%)

Memory
8.8MiB live, 91.9MiB allocated
Compiler

Compiled 5 981 to 734 computations (87.7% saved)

prune21.0ms (0.5%)

Memory
-1.8MiB live, 36.4MiB allocated
Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New4191420
Fresh000
Picked123
Done011
Total4204424
Accuracy
100.0%
Counts
424 → 4
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(*.f64 (-.f64 x y) (*.f64 #s(literal 2 binary64) x))
97.2%
(*.f64 #s(literal 2 binary64) (-.f64 (*.f64 x x) (*.f64 x y)))
59.4%
(*.f64 #s(literal 2 binary64) #s(approx (- (* x x) (* x y)) (*.f64 x x)))
58.3%
#s(approx (* 2 (- (* x x) (* x y))) (*.f64 (*.f64 #s(literal -2 binary64) y) x))
Compiler

Compiled 28 to 25 computations (10.7% saved)

simplify33.0ms (0.7%)

Memory
-10.8MiB live, 28.5MiB allocated
Algorithm
egg-herbie
Localize:

Found 3 expressions of interest:

NewMetricScoreProgram
cost-diff0
(*.f64 #s(literal -2 binary64) y)
cost-diff0
(*.f64 (*.f64 #s(literal -2 binary64) y) x)
cost-diff0
#s(approx (* 2 (- (* x x) (* x y))) (*.f64 (*.f64 #s(literal -2 binary64) y) x))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01126
01324
12624
25624
310724
418424
524324
639124
756224
876924
982124
082124
Stop Event
iter limit
saturated
iter limit
Calls
Call 1
Inputs
#s(approx (* 2 (- (* x x) (* x y))) (*.f64 (*.f64 #s(literal -2 binary64) y) x))
(*.f64 (*.f64 #s(literal -2 binary64) y) x)
(*.f64 #s(literal -2 binary64) y)
#s(literal -2 binary64)
y
x
Outputs
#s(approx (* 2 (- (* x x) (* x y))) (*.f64 (*.f64 #s(literal -2 binary64) y) x))
(*.f64 (*.f64 #s(literal -2 binary64) y) x)
(*.f64 #s(literal -2 binary64) y)
#s(literal -2 binary64)
y
x

localize25.0ms (0.6%)

Memory
10.9MiB live, 48.1MiB allocated
Localize:

Found 3 expressions of interest:

NewMetricScoreProgram
accuracy0
(*.f64 (*.f64 #s(literal -2 binary64) y) x)
accuracy0
(*.f64 #s(literal -2 binary64) y)
accuracy26.667059598652987
#s(approx (* 2 (- (* x x) (* x y))) (*.f64 (*.f64 #s(literal -2 binary64) y) x))
Samples
19.0ms256×0valid
Compiler

Compiled 22 to 12 computations (45.5% saved)

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

series5.0ms (0.1%)

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

6 calls:

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

simplify123.0ms (2.8%)

Memory
-9.1MiB live, 118.1MiB allocated
Algorithm
egg-herbie
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
027384
178348
2182348
3394330
4950312
52439312
65131312
77944312
08035312
Stop Event
iter limit
node limit
Counts
60 → 60
Calls
Call 1
Inputs
(* 2 (pow x 2))
(+ (* -2 (* x y)) (* 2 (pow x 2)))
(+ (* -2 (* x y)) (* 2 (pow x 2)))
(+ (* -2 (* x y)) (* 2 (pow x 2)))
(* -2 (* x y))
(* -2 (* x y))
(* -2 (* x y))
(* -2 (* x y))
(* -2 y)
(* -2 y)
(* -2 y)
(* -2 y)
(* -2 (* x y))
(* y (+ (* -2 x) (* 2 (/ (pow x 2) y))))
(* y (+ (* -2 x) (* 2 (/ (pow x 2) y))))
(* y (+ (* -2 x) (* 2 (/ (pow x 2) y))))
(* -2 (* x y))
(* -2 (* x y))
(* -2 (* x y))
(* -2 (* x y))
(* -2 y)
(* -2 y)
(* -2 y)
(* -2 y)
(* -2 (* x y))
(* -1 (* y (+ (* -2 (/ (pow x 2) y)) (* 2 x))))
(* -1 (* y (+ (* -2 (/ (pow x 2) y)) (* 2 x))))
(* -1 (* y (+ (* -2 (/ (pow x 2) y)) (* 2 x))))
(* -2 (* x y))
(* -2 (* x y))
(* -2 (* x y))
(* -2 (* x y))
(* -2 y)
(* -2 y)
(* -2 y)
(* -2 y)
(* -2 (* x y))
(* x (+ (* -2 y) (* 2 x)))
(* x (+ (* -2 y) (* 2 x)))
(* x (+ (* -2 y) (* 2 x)))
(* -2 (* x y))
(* -2 (* x y))
(* -2 (* x y))
(* -2 (* x y))
(* 2 (pow x 2))
(* (pow x 2) (+ 2 (* -2 (/ y x))))
(* (pow x 2) (+ 2 (* -2 (/ y x))))
(* (pow x 2) (+ 2 (* -2 (/ y x))))
(* -2 (* x y))
(* -2 (* x y))
(* -2 (* x y))
(* -2 (* x y))
(* 2 (pow x 2))
(* (pow x 2) (+ 2 (* -2 (/ y x))))
(* (pow x 2) (+ 2 (* -2 (/ y x))))
(* (pow x 2) (+ 2 (* -2 (/ y x))))
(* -2 (* x y))
(* -2 (* x y))
(* -2 (* x y))
(* -2 (* x y))
Outputs
(* 2 (pow x 2))
(*.f64 (*.f64 x #s(literal 2 binary64)) x)
(+ (* -2 (* x y)) (* 2 (pow x 2)))
(*.f64 (-.f64 y x) (*.f64 #s(literal -2 binary64) x))
(+ (* -2 (* x y)) (* 2 (pow x 2)))
(*.f64 (-.f64 y x) (*.f64 #s(literal -2 binary64) x))
(+ (* -2 (* x y)) (* 2 (pow x 2)))
(*.f64 (-.f64 y x) (*.f64 #s(literal -2 binary64) x))
(* -2 (* x y))
(*.f64 (*.f64 y x) #s(literal -2 binary64))
(* -2 (* x y))
(*.f64 (*.f64 y x) #s(literal -2 binary64))
(* -2 (* x y))
(*.f64 (*.f64 y x) #s(literal -2 binary64))
(* -2 (* x y))
(*.f64 (*.f64 y x) #s(literal -2 binary64))
(* -2 y)
(*.f64 y #s(literal -2 binary64))
(* -2 y)
(*.f64 y #s(literal -2 binary64))
(* -2 y)
(*.f64 y #s(literal -2 binary64))
(* -2 y)
(*.f64 y #s(literal -2 binary64))
(* -2 (* x y))
(*.f64 (*.f64 y x) #s(literal -2 binary64))
(* y (+ (* -2 x) (* 2 (/ (pow x 2) y))))
(*.f64 (-.f64 y x) (*.f64 #s(literal -2 binary64) x))
(* y (+ (* -2 x) (* 2 (/ (pow x 2) y))))
(*.f64 (-.f64 y x) (*.f64 #s(literal -2 binary64) x))
(* y (+ (* -2 x) (* 2 (/ (pow x 2) y))))
(*.f64 (-.f64 y x) (*.f64 #s(literal -2 binary64) x))
(* -2 (* x y))
(*.f64 (*.f64 y x) #s(literal -2 binary64))
(* -2 (* x y))
(*.f64 (*.f64 y x) #s(literal -2 binary64))
(* -2 (* x y))
(*.f64 (*.f64 y x) #s(literal -2 binary64))
(* -2 (* x y))
(*.f64 (*.f64 y x) #s(literal -2 binary64))
(* -2 y)
(*.f64 y #s(literal -2 binary64))
(* -2 y)
(*.f64 y #s(literal -2 binary64))
(* -2 y)
(*.f64 y #s(literal -2 binary64))
(* -2 y)
(*.f64 y #s(literal -2 binary64))
(* -2 (* x y))
(*.f64 (*.f64 y x) #s(literal -2 binary64))
(* -1 (* y (+ (* -2 (/ (pow x 2) y)) (* 2 x))))
(*.f64 (-.f64 y x) (*.f64 #s(literal -2 binary64) x))
(* -1 (* y (+ (* -2 (/ (pow x 2) y)) (* 2 x))))
(*.f64 (-.f64 y x) (*.f64 #s(literal -2 binary64) x))
(* -1 (* y (+ (* -2 (/ (pow x 2) y)) (* 2 x))))
(*.f64 (-.f64 y x) (*.f64 #s(literal -2 binary64) x))
(* -2 (* x y))
(*.f64 (*.f64 y x) #s(literal -2 binary64))
(* -2 (* x y))
(*.f64 (*.f64 y x) #s(literal -2 binary64))
(* -2 (* x y))
(*.f64 (*.f64 y x) #s(literal -2 binary64))
(* -2 (* x y))
(*.f64 (*.f64 y x) #s(literal -2 binary64))
(* -2 y)
(*.f64 y #s(literal -2 binary64))
(* -2 y)
(*.f64 y #s(literal -2 binary64))
(* -2 y)
(*.f64 y #s(literal -2 binary64))
(* -2 y)
(*.f64 y #s(literal -2 binary64))
(* -2 (* x y))
(*.f64 (*.f64 y x) #s(literal -2 binary64))
(* x (+ (* -2 y) (* 2 x)))
(*.f64 (-.f64 y x) (*.f64 #s(literal -2 binary64) x))
(* x (+ (* -2 y) (* 2 x)))
(*.f64 (-.f64 y x) (*.f64 #s(literal -2 binary64) x))
(* x (+ (* -2 y) (* 2 x)))
(*.f64 (-.f64 y x) (*.f64 #s(literal -2 binary64) x))
(* -2 (* x y))
(*.f64 (*.f64 y x) #s(literal -2 binary64))
(* -2 (* x y))
(*.f64 (*.f64 y x) #s(literal -2 binary64))
(* -2 (* x y))
(*.f64 (*.f64 y x) #s(literal -2 binary64))
(* -2 (* x y))
(*.f64 (*.f64 y x) #s(literal -2 binary64))
(* 2 (pow x 2))
(*.f64 (*.f64 x #s(literal 2 binary64)) x)
(* (pow x 2) (+ 2 (* -2 (/ y x))))
(*.f64 (-.f64 y x) (*.f64 #s(literal -2 binary64) x))
(* (pow x 2) (+ 2 (* -2 (/ y x))))
(*.f64 (-.f64 y x) (*.f64 #s(literal -2 binary64) x))
(* (pow x 2) (+ 2 (* -2 (/ y x))))
(*.f64 (-.f64 y x) (*.f64 #s(literal -2 binary64) x))
(* -2 (* x y))
(*.f64 (*.f64 y x) #s(literal -2 binary64))
(* -2 (* x y))
(*.f64 (*.f64 y x) #s(literal -2 binary64))
(* -2 (* x y))
(*.f64 (*.f64 y x) #s(literal -2 binary64))
(* -2 (* x y))
(*.f64 (*.f64 y x) #s(literal -2 binary64))
(* 2 (pow x 2))
(*.f64 (*.f64 x #s(literal 2 binary64)) x)
(* (pow x 2) (+ 2 (* -2 (/ y x))))
(*.f64 (-.f64 y x) (*.f64 #s(literal -2 binary64) x))
(* (pow x 2) (+ 2 (* -2 (/ y x))))
(*.f64 (-.f64 y x) (*.f64 #s(literal -2 binary64) x))
(* (pow x 2) (+ 2 (* -2 (/ y x))))
(*.f64 (-.f64 y x) (*.f64 #s(literal -2 binary64) x))
(* -2 (* x y))
(*.f64 (*.f64 y x) #s(literal -2 binary64))
(* -2 (* x y))
(*.f64 (*.f64 y x) #s(literal -2 binary64))
(* -2 (* x y))
(*.f64 (*.f64 y x) #s(literal -2 binary64))
(* -2 (* x y))
(*.f64 (*.f64 y x) #s(literal -2 binary64))

rewrite492.0ms (11%)

Memory
8.4MiB live, 196.9MiB allocated
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01123
01321
14021
224721
3221521
0881521
Stop Event
iter limit
node limit
iter limit
Counts
3 → 22
Calls
Call 1
Inputs
#s(approx (* 2 (- (* x x) (* x y))) (*.f64 (*.f64 #s(literal -2 binary64) y) x))
(*.f64 (*.f64 #s(literal -2 binary64) y) x)
(*.f64 #s(literal -2 binary64) y)
Outputs
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>

eval7.0ms (0.2%)

Memory
15.1MiB live, 15.1MiB allocated
Compiler

Compiled 578 to 71 computations (87.7% saved)

prune149.0ms (3.3%)

Memory
-12.7MiB live, 32.6MiB allocated
Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New81182
Fresh000
Picked011
Done123
Total82486
Accuracy
100.0%
Counts
86 → 4
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(*.f64 (-.f64 x y) (*.f64 #s(literal 2 binary64) x))
97.2%
(*.f64 #s(literal 2 binary64) (-.f64 (*.f64 x x) (*.f64 x y)))
59.4%
#s(approx (* 2 (- (* x x) (* x y))) (*.f64 (*.f64 x #s(literal 2 binary64)) x))
58.3%
#s(approx (* 2 (- (* x x) (* x y))) (*.f64 (*.f64 #s(literal -2 binary64) y) x))
Compiler

Compiled 28 to 25 computations (10.7% saved)

simplify54.0ms (1.2%)

Memory
-7.4MiB live, 29.2MiB allocated
Algorithm
egg-herbie
Localize:

Found 3 expressions of interest:

NewMetricScoreProgram
cost-diff0
(*.f64 x #s(literal 2 binary64))
cost-diff0
(*.f64 (*.f64 x #s(literal 2 binary64)) x)
cost-diff0
#s(approx (* 2 (- (* x x) (* x y))) (*.f64 (*.f64 x #s(literal 2 binary64)) x))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01025
01223
12423
24923
39423
417123
523123
637923
754523
874823
979523
079523
Stop Event
iter limit
saturated
iter limit
Calls
Call 1
Inputs
#s(approx (* 2 (- (* x x) (* x y))) (*.f64 (*.f64 x #s(literal 2 binary64)) x))
(*.f64 (*.f64 x #s(literal 2 binary64)) x)
(*.f64 x #s(literal 2 binary64))
x
#s(literal 2 binary64)
Outputs
#s(approx (* 2 (- (* x x) (* x y))) (*.f64 (*.f64 x #s(literal 2 binary64)) x))
(*.f64 (*.f64 x #s(literal 2 binary64)) x)
(*.f64 x #s(literal 2 binary64))
x
#s(literal 2 binary64)

localize49.0ms (1.1%)

Memory
10.5MiB live, 43.9MiB allocated
Localize:

Found 3 expressions of interest:

NewMetricScoreProgram
accuracy0
(*.f64 (*.f64 x #s(literal 2 binary64)) x)
accuracy0
(*.f64 x #s(literal 2 binary64))
accuracy25.958162050555327
#s(approx (* 2 (- (* x x) (* x y))) (*.f64 (*.f64 x #s(literal 2 binary64)) x))
Samples
44.0ms256×0valid
Compiler

Compiled 21 to 11 computations (47.6% saved)

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

series4.0ms (0.1%)

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

6 calls:

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

simplify134.0ms (3%)

Memory
-19.2MiB live, 106.6MiB allocated
Algorithm
egg-herbie
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
027324
178288
2182288
3394270
4959252
52450252
65143252
77955252
08046252
Stop Event
iter limit
node limit
Counts
48 → 48
Calls
Call 1
Inputs
(* 2 (pow x 2))
(+ (* -2 (* x y)) (* 2 (pow x 2)))
(+ (* -2 (* x y)) (* 2 (pow x 2)))
(+ (* -2 (* x y)) (* 2 (pow x 2)))
(* -2 (* x y))
(* y (+ (* -2 x) (* 2 (/ (pow x 2) y))))
(* y (+ (* -2 x) (* 2 (/ (pow x 2) y))))
(* y (+ (* -2 x) (* 2 (/ (pow x 2) y))))
(* -2 (* x y))
(* -1 (* y (+ (* -2 (/ (pow x 2) y)) (* 2 x))))
(* -1 (* y (+ (* -2 (/ (pow x 2) y)) (* 2 x))))
(* -1 (* y (+ (* -2 (/ (pow x 2) y)) (* 2 x))))
(* -2 (* x y))
(* x (+ (* -2 y) (* 2 x)))
(* x (+ (* -2 y) (* 2 x)))
(* x (+ (* -2 y) (* 2 x)))
(* 2 (pow x 2))
(* 2 (pow x 2))
(* 2 (pow x 2))
(* 2 (pow x 2))
(* 2 x)
(* 2 x)
(* 2 x)
(* 2 x)
(* 2 (pow x 2))
(* (pow x 2) (+ 2 (* -2 (/ y x))))
(* (pow x 2) (+ 2 (* -2 (/ y x))))
(* (pow x 2) (+ 2 (* -2 (/ y x))))
(* 2 (pow x 2))
(* 2 (pow x 2))
(* 2 (pow x 2))
(* 2 (pow x 2))
(* 2 x)
(* 2 x)
(* 2 x)
(* 2 x)
(* 2 (pow x 2))
(* (pow x 2) (+ 2 (* -2 (/ y x))))
(* (pow x 2) (+ 2 (* -2 (/ y x))))
(* (pow x 2) (+ 2 (* -2 (/ y x))))
(* 2 (pow x 2))
(* 2 (pow x 2))
(* 2 (pow x 2))
(* 2 (pow x 2))
(* 2 x)
(* 2 x)
(* 2 x)
(* 2 x)
Outputs
(* 2 (pow x 2))
(*.f64 (*.f64 x #s(literal 2 binary64)) x)
(+ (* -2 (* x y)) (* 2 (pow x 2)))
(*.f64 (-.f64 y x) (*.f64 #s(literal -2 binary64) x))
(+ (* -2 (* x y)) (* 2 (pow x 2)))
(*.f64 (-.f64 y x) (*.f64 #s(literal -2 binary64) x))
(+ (* -2 (* x y)) (* 2 (pow x 2)))
(*.f64 (-.f64 y x) (*.f64 #s(literal -2 binary64) x))
(* -2 (* x y))
(*.f64 (*.f64 y x) #s(literal -2 binary64))
(* y (+ (* -2 x) (* 2 (/ (pow x 2) y))))
(*.f64 (-.f64 y x) (*.f64 #s(literal -2 binary64) x))
(* y (+ (* -2 x) (* 2 (/ (pow x 2) y))))
(*.f64 (-.f64 y x) (*.f64 #s(literal -2 binary64) x))
(* y (+ (* -2 x) (* 2 (/ (pow x 2) y))))
(*.f64 (-.f64 y x) (*.f64 #s(literal -2 binary64) x))
(* -2 (* x y))
(*.f64 (*.f64 y x) #s(literal -2 binary64))
(* -1 (* y (+ (* -2 (/ (pow x 2) y)) (* 2 x))))
(*.f64 (-.f64 y x) (*.f64 #s(literal -2 binary64) x))
(* -1 (* y (+ (* -2 (/ (pow x 2) y)) (* 2 x))))
(*.f64 (-.f64 y x) (*.f64 #s(literal -2 binary64) x))
(* -1 (* y (+ (* -2 (/ (pow x 2) y)) (* 2 x))))
(*.f64 (-.f64 y x) (*.f64 #s(literal -2 binary64) x))
(* -2 (* x y))
(*.f64 (*.f64 y x) #s(literal -2 binary64))
(* x (+ (* -2 y) (* 2 x)))
(*.f64 (-.f64 y x) (*.f64 #s(literal -2 binary64) x))
(* x (+ (* -2 y) (* 2 x)))
(*.f64 (-.f64 y x) (*.f64 #s(literal -2 binary64) x))
(* x (+ (* -2 y) (* 2 x)))
(*.f64 (-.f64 y x) (*.f64 #s(literal -2 binary64) x))
(* 2 (pow x 2))
(*.f64 (*.f64 x #s(literal 2 binary64)) x)
(* 2 (pow x 2))
(*.f64 (*.f64 x #s(literal 2 binary64)) x)
(* 2 (pow x 2))
(*.f64 (*.f64 x #s(literal 2 binary64)) x)
(* 2 (pow x 2))
(*.f64 (*.f64 x #s(literal 2 binary64)) x)
(* 2 x)
(*.f64 x #s(literal 2 binary64))
(* 2 x)
(*.f64 x #s(literal 2 binary64))
(* 2 x)
(*.f64 x #s(literal 2 binary64))
(* 2 x)
(*.f64 x #s(literal 2 binary64))
(* 2 (pow x 2))
(*.f64 (*.f64 x #s(literal 2 binary64)) x)
(* (pow x 2) (+ 2 (* -2 (/ y x))))
(*.f64 (-.f64 y x) (*.f64 #s(literal -2 binary64) x))
(* (pow x 2) (+ 2 (* -2 (/ y x))))
(*.f64 (-.f64 y x) (*.f64 #s(literal -2 binary64) x))
(* (pow x 2) (+ 2 (* -2 (/ y x))))
(*.f64 (-.f64 y x) (*.f64 #s(literal -2 binary64) x))
(* 2 (pow x 2))
(*.f64 (*.f64 x #s(literal 2 binary64)) x)
(* 2 (pow x 2))
(*.f64 (*.f64 x #s(literal 2 binary64)) x)
(* 2 (pow x 2))
(*.f64 (*.f64 x #s(literal 2 binary64)) x)
(* 2 (pow x 2))
(*.f64 (*.f64 x #s(literal 2 binary64)) x)
(* 2 x)
(*.f64 x #s(literal 2 binary64))
(* 2 x)
(*.f64 x #s(literal 2 binary64))
(* 2 x)
(*.f64 x #s(literal 2 binary64))
(* 2 x)
(*.f64 x #s(literal 2 binary64))
(* 2 (pow x 2))
(*.f64 (*.f64 x #s(literal 2 binary64)) x)
(* (pow x 2) (+ 2 (* -2 (/ y x))))
(*.f64 (-.f64 y x) (*.f64 #s(literal -2 binary64) x))
(* (pow x 2) (+ 2 (* -2 (/ y x))))
(*.f64 (-.f64 y x) (*.f64 #s(literal -2 binary64) x))
(* (pow x 2) (+ 2 (* -2 (/ y x))))
(*.f64 (-.f64 y x) (*.f64 #s(literal -2 binary64) x))
(* 2 (pow x 2))
(*.f64 (*.f64 x #s(literal 2 binary64)) x)
(* 2 (pow x 2))
(*.f64 (*.f64 x #s(literal 2 binary64)) x)
(* 2 (pow x 2))
(*.f64 (*.f64 x #s(literal 2 binary64)) x)
(* 2 (pow x 2))
(*.f64 (*.f64 x #s(literal 2 binary64)) x)
(* 2 x)
(*.f64 x #s(literal 2 binary64))
(* 2 x)
(*.f64 x #s(literal 2 binary64))
(* 2 x)
(*.f64 x #s(literal 2 binary64))
(* 2 x)
(*.f64 x #s(literal 2 binary64))

rewrite255.0ms (5.7%)

Memory
9.6MiB live, 173.2MiB allocated
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01023
01221
13821
224021
3220021
0878521
Stop Event
iter limit
node limit
iter limit
Counts
3 → 7
Calls
Call 1
Inputs
#s(approx (* 2 (- (* x x) (* x y))) (*.f64 (*.f64 x #s(literal 2 binary64)) x))
(*.f64 (*.f64 x #s(literal 2 binary64)) x)
(*.f64 x #s(literal 2 binary64))
Outputs
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>

eval7.0ms (0.2%)

Memory
-29.0MiB live, 9.9MiB allocated
Compiler

Compiled 390 to 29 computations (92.6% saved)

prune6.0ms (0.1%)

Memory
17.3MiB live, 17.3MiB allocated
Pruning

4 alts after pruning (0 fresh and 4 done)

PrunedKeptTotal
New55055
Fresh000
Picked011
Done033
Total55459
Accuracy
100.0%
Counts
59 → 4
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(*.f64 (-.f64 x y) (*.f64 #s(literal 2 binary64) x))
97.2%
(*.f64 #s(literal 2 binary64) (-.f64 (*.f64 x x) (*.f64 x y)))
59.4%
#s(approx (* 2 (- (* x x) (* x y))) (*.f64 (*.f64 x #s(literal 2 binary64)) x))
58.3%
#s(approx (* 2 (- (* x x) (* x y))) (*.f64 (*.f64 #s(literal -2 binary64) y) x))
Compiler

Compiled 68 to 47 computations (30.9% saved)

regimes12.0ms (0.3%)

Memory
-16.3MiB live, 23.0MiB allocated
Counts
6 → 1
Calls
Call 1
Inputs
#s(approx (* 2 (- (* x x) (* x y))) (*.f64 #s(literal -2 binary64) (*.f64 y x)))
#s(approx (* 2 (- (* x x) (* x y))) (*.f64 (*.f64 #s(literal -2 binary64) y) x))
#s(approx (* 2 (- (* x x) (* x y))) (*.f64 (*.f64 x #s(literal 2 binary64)) x))
(*.f64 #s(literal 2 binary64) #s(approx (- (* x x) (* x y)) (*.f64 x x)))
(*.f64 (-.f64 x y) (*.f64 #s(literal 2 binary64) x))
(*.f64 #s(literal 2 binary64) (-.f64 (*.f64 x x) (*.f64 x y)))
Outputs
(*.f64 (-.f64 x y) (*.f64 #s(literal 2 binary64) x))
Calls

4 calls:

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

Compiled 18 to 16 computations (11.1% saved)

regimes9.0ms (0.2%)

Memory
19.5MiB live, 19.4MiB allocated
Counts
4 → 3
Calls
Call 1
Inputs
#s(approx (* 2 (- (* x x) (* x y))) (*.f64 #s(literal -2 binary64) (*.f64 y x)))
#s(approx (* 2 (- (* x x) (* x y))) (*.f64 (*.f64 #s(literal -2 binary64) y) x))
#s(approx (* 2 (- (* x x) (* x y))) (*.f64 (*.f64 x #s(literal 2 binary64)) x))
(*.f64 #s(literal 2 binary64) #s(approx (- (* x x) (* x y)) (*.f64 x x)))
Outputs
#s(approx (* 2 (- (* x x) (* x y))) (*.f64 #s(literal -2 binary64) (*.f64 y x)))
#s(approx (* 2 (- (* x x) (* x y))) (*.f64 (*.f64 x #s(literal 2 binary64)) x))
#s(approx (* 2 (- (* x x) (* x y))) (*.f64 #s(literal -2 binary64) (*.f64 y x)))
Calls

4 calls:

2.0ms
y
2.0ms
(*.f64 #s(literal 2 binary64) (-.f64 (*.f64 x x) (*.f64 x y)))
2.0ms
x
2.0ms
(-.f64 (*.f64 x x) (*.f64 x y))
Results
AccuracySegmentsBranch
82.0%3x
87.2%3y
79.9%2(*.f64 #s(literal 2 binary64) (-.f64 (*.f64 x x) (*.f64 x y)))
79.9%2(-.f64 (*.f64 x x) (*.f64 x y))
Compiler

Compiled 18 to 16 computations (11.1% saved)

regimes6.0ms (0.1%)

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

4 calls:

2.0ms
x
2.0ms
y
1.0ms
(-.f64 (*.f64 x x) (*.f64 x y))
1.0ms
(*.f64 #s(literal 2 binary64) (-.f64 (*.f64 x x) (*.f64 x y)))
Results
AccuracySegmentsBranch
58.3%1(*.f64 #s(literal 2 binary64) (-.f64 (*.f64 x x) (*.f64 x y)))
58.3%1(-.f64 (*.f64 x x) (*.f64 x y))
58.3%1x
58.3%1y
Compiler

Compiled 18 to 16 computations (11.1% saved)

regimes8.0ms (0.2%)

Memory
-34.1MiB live, 11.9MiB allocated
Accuracy

Total -0.0b remaining (-0%)

Threshold costs -0b (-0%)

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

4 calls:

4.0ms
y
1.0ms
x
1.0ms
(*.f64 #s(literal 2 binary64) (-.f64 (*.f64 x x) (*.f64 x y)))
1.0ms
(-.f64 (*.f64 x x) (*.f64 x y))
Results
AccuracySegmentsBranch
58.3%1(*.f64 #s(literal 2 binary64) (-.f64 (*.f64 x x) (*.f64 x y)))
58.3%1(-.f64 (*.f64 x x) (*.f64 x y))
58.3%1x
58.3%1y
Compiler

Compiled 18 to 16 computations (11.1% saved)

bsearch21.0ms (0.5%)

Memory
-8.3MiB live, 30.3MiB allocated
Algorithm
binary-search
Stop Event
narrow-enough
narrow-enough
Steps
TimeLeftRight
8.0ms
524673158297.9558
2418362200455.524
9.0ms
-167816054282253100.0
-9536305311224502.0
Samples
10.0ms208×0valid
Compiler

Compiled 168 to 194 computations (-15.5% saved)

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

simplify25.0ms (0.6%)

Memory
11.5MiB live, 50.1MiB allocated
Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02690
13690
24190
34390
44490
Stop Event
saturated
Calls
Call 1
Inputs
(*.f64 (-.f64 x y) (*.f64 #s(literal 2 binary64) x))
(if (<=.f64 y #s(literal -25000000000000000 binary64)) #s(approx (* 2 (- (* x x) (* x y))) (*.f64 #s(literal -2 binary64) (*.f64 y x))) (if (<=.f64 y #s(literal 540000000000 binary64)) #s(approx (* 2 (- (* x x) (* x y))) (*.f64 (*.f64 x #s(literal 2 binary64)) x)) #s(approx (* 2 (- (* x x) (* x y))) (*.f64 #s(literal -2 binary64) (*.f64 y x)))))
#s(approx (* 2 (- (* x x) (* x y))) (*.f64 (*.f64 #s(literal -2 binary64) y) x))
#s(approx (* 2 (- (* x x) (* x y))) (*.f64 #s(literal -2 binary64) (*.f64 y x)))
Outputs
(*.f64 (-.f64 x y) (*.f64 #s(literal 2 binary64) x))
(*.f64 (*.f64 #s(literal 2 binary64) x) (-.f64 x y))
(if (<=.f64 y #s(literal -25000000000000000 binary64)) #s(approx (* 2 (- (* x x) (* x y))) (*.f64 #s(literal -2 binary64) (*.f64 y x))) (if (<=.f64 y #s(literal 540000000000 binary64)) #s(approx (* 2 (- (* x x) (* x y))) (*.f64 (*.f64 x #s(literal 2 binary64)) x)) #s(approx (* 2 (- (* x x) (* x y))) (*.f64 #s(literal -2 binary64) (*.f64 y x)))))
(if (<=.f64 y #s(literal -25000000000000000 binary64)) #s(approx (* 2 (- (* x x) (* x y))) (*.f64 (*.f64 y x) #s(literal -2 binary64))) (if (<=.f64 y #s(literal 540000000000 binary64)) #s(approx (* 2 (- (* x x) (* x y))) (*.f64 (*.f64 #s(literal 2 binary64) x) x)) #s(approx (* 2 (- (* x x) (* x y))) (*.f64 (*.f64 y x) #s(literal -2 binary64)))))
#s(approx (* 2 (- (* x x) (* x y))) (*.f64 (*.f64 #s(literal -2 binary64) y) x))
#s(approx (* 2 (- (* x x) (* x y))) (*.f64 #s(literal -2 binary64) (*.f64 y x)))
#s(approx (* 2 (- (* x x) (* x y))) (*.f64 (*.f64 y x) #s(literal -2 binary64)))

soundness633.0ms (14.2%)

Memory
3.4MiB live, 355.9MiB allocated
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
027384
178348
2182348
3394330
4950312
52439312
65131312
77944312
08035312
01763
02457
16757
238557
3363357
0860757
0722
01118
13418
223518
3220418
0878518
042501
1132411
2315411
31115375
43465375
55485375
66485375
77973375
08405375
Stop Event
done
iter limit
node limit
iter limit
node limit
iter limit
iter limit
node limit
iter limit
iter limit
node limit
Compiler

Compiled 98 to 68 computations (30.6% saved)

preprocess107.0ms (2.4%)

Memory
32.3MiB live, 111.4MiB allocated
Compiler

Compiled 122 to 68 computations (44.3% saved)

end0.0ms (0%)

Memory
0.0MiB live, 0.0MiB allocated

Profiling

Loading profile data...