Asymptote B

Time bar (total: 4.4s)

start0.0ms (0%)

Memory
0.1MiB live, 0.1MiB allocated

analyze2.0ms (0.1%)

Memory
2.5MiB live, 2.5MiB allocated
Algorithm
search
Search
ProbabilityValidUnknownPreconditionInfiniteDomainCan'tIter
0%0%100%0%0%0%0%0
0%0%100%0%0%0%0%1
0%0%100%0%0%0%0%2
50%50%50%0%0%0%0%3
75%75%25%0%0%0%0%4
87.5%87.5%12.5%0%0%0%0%5
93.8%93.7%6.2%0%0%0%0%6
96.9%96.8%3.1%0%0%0%0%7
98.4%98.4%1.6%0%0%0%0%8
99.2%99.2%0.8%0%0%0%0%9
99.6%99.6%0.4%0%0%0%0%10
99.8%99.8%0.2%0%0%0%0%11
99.9%99.9%0.1%0%0%0%0%12
Compiler

Compiled 13 to 9 computations (30.8% saved)

sample914.0ms (20.6%)

Memory
-175.4MiB live, 842.0MiB allocated
Samples
687.0ms8 256×0valid
Precisions
Click to see histograms. Total time spent on operations: 356.0ms
ival-sub: 156.0ms (43.8% of total)
ival-div: 112.0ms (31.4% of total)
ival-add: 76.0ms (21.3% of total)
ival-true: 5.0ms (1.4% of total)
exact: 4.0ms (1.1% of total)
ival-assert: 3.0ms (0.8% of total)
Bogosity

explain94.0ms (2.1%)

Memory
28.7MiB live, 106.0MiB allocated
FPErrors
Click to see full error table
Ground TruthOverpredictionsExampleUnderpredictionsExampleSubexpression
00-0-(/.f64 #s(literal 1 binary64) (-.f64 x #s(literal 1 binary64)))
00-0-(+.f64 x #s(literal 1 binary64))
00-0-(-.f64 x #s(literal 1 binary64))
00-0-#s(literal 1 binary64)
00-0-(+.f64 (/.f64 #s(literal 1 binary64) (-.f64 x #s(literal 1 binary64))) (/.f64 x (+.f64 x #s(literal 1 binary64))))
00-0-(/.f64 x (+.f64 x #s(literal 1 binary64)))
00-0-x
Confusion
Predicted +Predicted -
+00
-0256
Precision
0/0
Recall
0/0
Confusion?
Predicted +Predicted MaybePredicted -
+000
-00256
Precision?
0/0
Recall?
0/0
Freqs
test
numberfreq
0256
Total Confusion?
Predicted +Predicted MaybePredicted -
+000
-001
Precision?
0/0
Recall?
0/0
Samples
27.0ms512×0valid
Compiler

Compiled 102 to 32 computations (68.6% saved)

Precisions
Click to see histograms. Total time spent on operations: 15.0ms
ival-div: 7.0ms (46.9% of total)
ival-add: 5.0ms (33.5% of total)
ival-sub: 3.0ms (20.1% of total)
ival-true: 0.0ms (0% of total)
exact: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

preprocess24.0ms (0.5%)

Memory
-19.1MiB live, 22.9MiB allocated
Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0929
12524
26322
313822
425822
542822
645722
747122
848422
0711
01211
11911
22011
02011
Stop Event
iter limit
saturated
iter limit
saturated
Calls
Call 1
Inputs
(+.f64 (/.f64 #s(literal 1 binary64) (-.f64 x #s(literal 1 binary64))) (/.f64 x (+.f64 x #s(literal 1 binary64))))
Outputs
(+.f64 (/.f64 #s(literal 1 binary64) (-.f64 x #s(literal 1 binary64))) (/.f64 x (+.f64 x #s(literal 1 binary64))))
(+.f64 (/.f64 x (+.f64 x #s(literal 1 binary64))) (/.f64 #s(literal 1 binary64) (-.f64 x #s(literal 1 binary64))))
Compiler

Compiled 11 to 7 computations (36.4% saved)

eval0.0ms (0%)

Memory
0.3MiB live, 0.3MiB allocated
Compiler

Compiled 0 to 1 computations (-∞% saved)

prune0.0ms (0%)

Memory
0.8MiB live, 0.8MiB allocated
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(+.f64 (/.f64 #s(literal 1 binary64) (-.f64 x #s(literal 1 binary64))) (/.f64 x (+.f64 x #s(literal 1 binary64))))
Compiler

Compiled 11 to 7 computations (36.4% saved)

simplify3.0ms (0.1%)

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

Found 4 expressions of interest:

NewMetricScoreProgram
cost-diff0
(/.f64 x (+.f64 x #s(literal 1 binary64)))
cost-diff0
(-.f64 x #s(literal 1 binary64))
cost-diff0
(/.f64 #s(literal 1 binary64) (-.f64 x #s(literal 1 binary64)))
cost-diff0
(+.f64 (/.f64 #s(literal 1 binary64) (-.f64 x #s(literal 1 binary64))) (/.f64 x (+.f64 x #s(literal 1 binary64))))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0729
01229
11929
22029
02029
Stop Event
iter limit
saturated
iter limit
Calls
Call 1
Inputs
(+.f64 (/.f64 #s(literal 1 binary64) (-.f64 x #s(literal 1 binary64))) (/.f64 x (+.f64 x #s(literal 1 binary64))))
(/.f64 #s(literal 1 binary64) (-.f64 x #s(literal 1 binary64)))
#s(literal 1 binary64)
(-.f64 x #s(literal 1 binary64))
x
(/.f64 x (+.f64 x #s(literal 1 binary64)))
(+.f64 x #s(literal 1 binary64))
Outputs
(+.f64 (/.f64 #s(literal 1 binary64) (-.f64 x #s(literal 1 binary64))) (/.f64 x (+.f64 x #s(literal 1 binary64))))
(+.f64 (/.f64 x (+.f64 x #s(literal 1 binary64))) (/.f64 #s(literal 1 binary64) (-.f64 x #s(literal 1 binary64))))
(/.f64 #s(literal 1 binary64) (-.f64 x #s(literal 1 binary64)))
#s(literal 1 binary64)
(-.f64 x #s(literal 1 binary64))
x
(/.f64 x (+.f64 x #s(literal 1 binary64)))
(+.f64 x #s(literal 1 binary64))

localize22.0ms (0.5%)

Memory
-0.9MiB live, 35.1MiB allocated
Localize:

Found 4 expressions of interest:

NewMetricScoreProgram
accuracy0
(+.f64 x #s(literal 1 binary64))
accuracy0.01171875
(/.f64 x (+.f64 x #s(literal 1 binary64)))
accuracy0.01171875
(/.f64 #s(literal 1 binary64) (-.f64 x #s(literal 1 binary64)))
accuracy0.015625
(+.f64 (/.f64 #s(literal 1 binary64) (-.f64 x #s(literal 1 binary64))) (/.f64 x (+.f64 x #s(literal 1 binary64))))
Samples
15.0ms256×0valid
Compiler

Compiled 60 to 16 computations (73.3% saved)

Precisions
Click to see histograms. Total time spent on operations: 7.0ms
ival-div: 3.0ms (42.3% of total)
ival-add: 2.0ms (28.2% of total)
ival-sub: 1.0ms (14.1% of total)
ival-true: 0.0ms (0% of total)
exact: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

series3.0ms (0.1%)

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

3 calls:

TimeVariablePointExpression
1.0ms
x
@inf
((+ (/ 1 (- x 1)) (/ x (+ x 1))) (/ 1 (- x 1)) (- x 1) (/ x (+ x 1)) (+ x 1))
1.0ms
x
@-inf
((+ (/ 1 (- x 1)) (/ x (+ x 1))) (/ 1 (- x 1)) (- x 1) (/ x (+ x 1)) (+ x 1))
0.0ms
x
@0
((+ (/ 1 (- x 1)) (/ x (+ x 1))) (/ 1 (- x 1)) (- x 1) (/ x (+ x 1)) (+ x 1))

simplify160.0ms (3.6%)

Memory
-18.6MiB live, 104.3MiB allocated
Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
083387
1211385
2469374
31228354
43217348
56371346
67705346
08035338
Stop Event
iter limit
node limit
Counts
60 → 55
Calls
Call 1
Inputs
-1
(- (* -2 (pow x 2)) 1)
(- (* (pow x 2) (- (* -2 (pow x 2)) 2)) 1)
(- (* (pow x 2) (- (* (pow x 2) (- (* -2 (pow x 2)) 2)) 2)) 1)
-1
(- (* -1 x) 1)
(- (* x (- (* -1 x) 1)) 1)
(- (* x (- (* x (- (* -1 x) 1)) 1)) 1)
-1
(- x 1)
(- x 1)
(- x 1)
x
(* x (+ 1 (* -1 x)))
(* x (+ 1 (* x (- x 1))))
(* x (+ 1 (* x (- (* x (+ 1 (* -1 x))) 1))))
1
(+ 1 x)
(+ 1 x)
(+ 1 x)
1
(+ 1 (* 2 (/ 1 (pow x 2))))
(+ 1 (+ (* 2 (/ 1 (pow x 2))) (/ 2 (pow x 4))))
(+ 1 (+ (* 2 (/ 1 (pow x 2))) (+ (* 2 (/ 1 (pow x 6))) (/ 2 (pow x 4)))))
(/ 1 x)
(/ (+ 1 (/ 1 x)) x)
(/ (+ 1 (+ (/ 1 x) (/ 1 (pow x 2)))) x)
(/ (+ 1 (+ (/ 1 x) (+ (/ 1 (pow x 2)) (/ 1 (pow x 3))))) x)
x
(* x (- 1 (/ 1 x)))
(* x (- 1 (/ 1 x)))
(* x (- 1 (/ 1 x)))
1
(- 1 (/ 1 x))
(- (+ 1 (/ 1 (pow x 2))) (/ 1 x))
(- (+ 1 (/ 1 (pow x 2))) (+ (/ 1 x) (/ 1 (pow x 3))))
x
(* x (+ 1 (/ 1 x)))
(* x (+ 1 (/ 1 x)))
(* x (+ 1 (/ 1 x)))
1
(+ 1 (* 2 (/ 1 (pow x 2))))
(+ 1 (+ (* 2 (/ 1 (pow x 2))) (/ 2 (pow x 4))))
(+ 1 (+ (* 2 (/ 1 (pow x 2))) (+ (* 2 (/ 1 (pow x 6))) (/ 2 (pow x 4)))))
(/ 1 x)
(/ (+ 1 (/ 1 x)) x)
(* -1 (/ (- (* -1 (/ (+ 1 (/ 1 x)) x)) 1) x))
(* -1 (/ (- (* -1 (/ (+ 1 (+ (/ 1 x) (/ 1 (pow x 2)))) x)) 1) x))
x
(* -1 (* x (- (/ 1 x) 1)))
(* -1 (* x (- (/ 1 x) 1)))
(* -1 (* x (- (/ 1 x) 1)))
1
(- 1 (/ 1 x))
(+ 1 (* -1 (/ (- 1 (/ 1 x)) x)))
(+ 1 (* -1 (/ (+ 1 (* -1 (/ (- 1 (/ 1 x)) x))) x)))
x
(* x (+ 1 (/ 1 x)))
(* x (+ 1 (/ 1 x)))
(* x (+ 1 (/ 1 x)))
Outputs
-1
#s(literal -1 binary64)
(- (* -2 (pow x 2)) 1)
(fma.f64 (*.f64 x x) #s(literal -2 binary64) #s(literal -1 binary64))
(- (* (pow x 2) (- (* -2 (pow x 2)) 2)) 1)
(fma.f64 (fma.f64 x x (pow.f64 x #s(literal 4 binary64))) #s(literal -2 binary64) #s(literal -1 binary64))
(- (* (pow x 2) (- (* (pow x 2) (- (* -2 (pow x 2)) 2)) 2)) 1)
(fma.f64 #s(literal -2 binary64) (fma.f64 (+.f64 (pow.f64 x #s(literal 3 binary64)) x) x (pow.f64 x #s(literal 6 binary64))) #s(literal -1 binary64))
-1
#s(literal -1 binary64)
(- (* -1 x) 1)
(-.f64 #s(literal -1 binary64) x)
(- (* x (- (* -1 x) 1)) 1)
(fma.f64 (-.f64 #s(literal -1 binary64) x) x #s(literal -1 binary64))
(- (* x (- (* x (- (* -1 x) 1)) 1)) 1)
(*.f64 (fma.f64 x x #s(literal 1 binary64)) (-.f64 #s(literal -1 binary64) x))
-1
#s(literal -1 binary64)
(- x 1)
(-.f64 x #s(literal 1 binary64))
(- x 1)
(-.f64 x #s(literal 1 binary64))
(- x 1)
(-.f64 x #s(literal 1 binary64))
x
(* x (+ 1 (* -1 x)))
(fma.f64 (neg.f64 x) x x)
(* x (+ 1 (* x (- x 1))))
(*.f64 (fma.f64 (-.f64 x #s(literal 1 binary64)) x #s(literal 1 binary64)) x)
(* x (+ 1 (* x (- (* x (+ 1 (* -1 x))) 1))))
(*.f64 (-.f64 #s(literal 1 binary64) x) (+.f64 (pow.f64 x #s(literal 3 binary64)) x))
1
#s(literal 1 binary64)
(+ 1 x)
(-.f64 x #s(literal -1 binary64))
(+ 1 x)
(-.f64 x #s(literal -1 binary64))
(+ 1 x)
(-.f64 x #s(literal -1 binary64))
1
#s(literal 1 binary64)
(+ 1 (* 2 (/ 1 (pow x 2))))
(+.f64 (/.f64 #s(literal 2 binary64) (*.f64 x x)) #s(literal 1 binary64))
(+ 1 (+ (* 2 (/ 1 (pow x 2))) (/ 2 (pow x 4))))
(+.f64 (/.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 4 binary64))) (+.f64 (/.f64 #s(literal 2 binary64) (*.f64 x x)) #s(literal 1 binary64)))
(+ 1 (+ (* 2 (/ 1 (pow x 2))) (+ (* 2 (/ 1 (pow x 6))) (/ 2 (pow x 4)))))
(+.f64 (+.f64 (/.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 6 binary64))) (+.f64 (/.f64 #s(literal 2 binary64) (*.f64 x x)) #s(literal 1 binary64))) (/.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 4 binary64))))
(/ 1 x)
(/.f64 #s(literal 1 binary64) x)
(/ (+ 1 (/ 1 x)) x)
(/.f64 (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal -1 binary64)) x)
(/ (+ 1 (+ (/ 1 x) (/ 1 (pow x 2)))) x)
(/.f64 (-.f64 (/.f64 (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal -1 binary64)) x) #s(literal -1 binary64)) x)
(/ (+ 1 (+ (/ 1 x) (+ (/ 1 (pow x 2)) (/ 1 (pow x 3))))) x)
(/.f64 (-.f64 (/.f64 (-.f64 (/.f64 (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal -1 binary64)) x) #s(literal -1 binary64)) x) #s(literal -1 binary64)) x)
x
(* x (- 1 (/ 1 x)))
(-.f64 x #s(literal 1 binary64))
(* x (- 1 (/ 1 x)))
(-.f64 x #s(literal 1 binary64))
(* x (- 1 (/ 1 x)))
(-.f64 x #s(literal 1 binary64))
1
#s(literal 1 binary64)
(- 1 (/ 1 x))
(-.f64 #s(literal 1 binary64) (/.f64 #s(literal 1 binary64) x))
(- (+ 1 (/ 1 (pow x 2))) (/ 1 x))
(-.f64 (/.f64 (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1 binary64)) x) #s(literal -1 binary64))
(- (+ 1 (/ 1 (pow x 2))) (+ (/ 1 x) (/ 1 (pow x 3))))
(-.f64 #s(literal 1 binary64) (/.f64 (-.f64 (/.f64 (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1 binary64)) x) #s(literal -1 binary64)) x))
x
(* x (+ 1 (/ 1 x)))
(-.f64 x #s(literal -1 binary64))
(* x (+ 1 (/ 1 x)))
(-.f64 x #s(literal -1 binary64))
(* x (+ 1 (/ 1 x)))
(-.f64 x #s(literal -1 binary64))
1
#s(literal 1 binary64)
(+ 1 (* 2 (/ 1 (pow x 2))))
(+.f64 (/.f64 #s(literal 2 binary64) (*.f64 x x)) #s(literal 1 binary64))
(+ 1 (+ (* 2 (/ 1 (pow x 2))) (/ 2 (pow x 4))))
(+.f64 (/.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 4 binary64))) (+.f64 (/.f64 #s(literal 2 binary64) (*.f64 x x)) #s(literal 1 binary64)))
(+ 1 (+ (* 2 (/ 1 (pow x 2))) (+ (* 2 (/ 1 (pow x 6))) (/ 2 (pow x 4)))))
(+.f64 (+.f64 (/.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 6 binary64))) (+.f64 (/.f64 #s(literal 2 binary64) (*.f64 x x)) #s(literal 1 binary64))) (/.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 4 binary64))))
(/ 1 x)
(/.f64 #s(literal 1 binary64) x)
(/ (+ 1 (/ 1 x)) x)
(/.f64 (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal -1 binary64)) x)
(* -1 (/ (- (* -1 (/ (+ 1 (/ 1 x)) x)) 1) x))
(/.f64 (-.f64 (/.f64 (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal -1 binary64)) x) #s(literal -1 binary64)) x)
(* -1 (/ (- (* -1 (/ (+ 1 (+ (/ 1 x) (/ 1 (pow x 2)))) x)) 1) x))
(/.f64 (-.f64 (/.f64 (-.f64 (/.f64 (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal -1 binary64)) x) #s(literal -1 binary64)) x) #s(literal -1 binary64)) x)
x
(* -1 (* x (- (/ 1 x) 1)))
(-.f64 x #s(literal 1 binary64))
(* -1 (* x (- (/ 1 x) 1)))
(-.f64 x #s(literal 1 binary64))
(* -1 (* x (- (/ 1 x) 1)))
(-.f64 x #s(literal 1 binary64))
1
#s(literal 1 binary64)
(- 1 (/ 1 x))
(-.f64 #s(literal 1 binary64) (/.f64 #s(literal 1 binary64) x))
(+ 1 (* -1 (/ (- 1 (/ 1 x)) x)))
(-.f64 (/.f64 (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1 binary64)) x) #s(literal -1 binary64))
(+ 1 (* -1 (/ (+ 1 (* -1 (/ (- 1 (/ 1 x)) x))) x)))
(-.f64 #s(literal 1 binary64) (/.f64 (-.f64 (/.f64 (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1 binary64)) x) #s(literal -1 binary64)) x))
x
(* x (+ 1 (/ 1 x)))
(-.f64 x #s(literal -1 binary64))
(* x (+ 1 (/ 1 x)))
(-.f64 x #s(literal -1 binary64))
(* x (+ 1 (/ 1 x)))
(-.f64 x #s(literal -1 binary64))

rewrite149.0ms (3.3%)

Memory
10.7MiB live, 201.8MiB allocated
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0727
01227
16627
270127
0960627
Stop Event
iter limit
node limit
iter limit
Counts
5 → 561
Calls
Call 1
Inputs
(+.f64 (/.f64 #s(literal 1 binary64) (-.f64 x #s(literal 1 binary64))) (/.f64 x (+.f64 x #s(literal 1 binary64))))
(/.f64 #s(literal 1 binary64) (-.f64 x #s(literal 1 binary64)))
(-.f64 x #s(literal 1 binary64))
(/.f64 x (+.f64 x #s(literal 1 binary64)))
(+.f64 x #s(literal 1 binary64))
Outputs
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>

eval77.0ms (1.7%)

Memory
9.0MiB live, 168.0MiB allocated
Compiler

Compiled 14 411 to 1 738 computations (87.9% saved)

prune12.0ms (0.3%)

Memory
-0.1MiB live, 38.1MiB allocated
Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New6115616
Fresh000
Picked101
Done000
Total6125617
Accuracy
100.0%
Counts
617 → 5
Alt Table
Click to see full alt table
StatusAccuracyProgram
75.8%
(/.f64 (fma.f64 (-.f64 x #s(literal 1 binary64)) x (-.f64 x #s(literal -1 binary64))) (fma.f64 x x #s(literal -1 binary64)))
47.3%
#s(approx (+ (/ 1 (- x 1)) (/ x (+ x 1))) (fma.f64 (*.f64 x x) #s(literal -2 binary64) #s(literal -1 binary64)))
53.5%
#s(approx (+ (/ 1 (- x 1)) (/ x (+ x 1))) (+.f64 (/.f64 #s(literal 2 binary64) (*.f64 x x)) #s(literal 1 binary64)))
53.6%
#s(approx (+ (/ 1 (- x 1)) (/ x (+ x 1))) #s(literal 1 binary64))
47.4%
#s(approx (+ (/ 1 (- x 1)) (/ x (+ x 1))) #s(literal -1 binary64))
Compiler

Compiled 64 to 54 computations (15.6% saved)

simplify192.0ms (4.3%)

Memory
9.2MiB live, 160.8MiB allocated
Algorithm
egg-herbie
Localize:

Found 13 expressions of interest:

NewMetricScoreProgram
cost-diff0
(*.f64 x x)
cost-diff0
(/.f64 #s(literal 2 binary64) (*.f64 x x))
cost-diff0
(+.f64 (/.f64 #s(literal 2 binary64) (*.f64 x x)) #s(literal 1 binary64))
cost-diff0
#s(approx (+ (/ 1 (- x 1)) (/ x (+ x 1))) (+.f64 (/.f64 #s(literal 2 binary64) (*.f64 x x)) #s(literal 1 binary64)))
cost-diff0
(*.f64 x x)
cost-diff0
(fma.f64 (*.f64 x x) #s(literal -2 binary64) #s(literal -1 binary64))
cost-diff0
#s(approx (+ (/ 1 (- x 1)) (/ x (+ x 1))) (fma.f64 (*.f64 x x) #s(literal -2 binary64) #s(literal -1 binary64)))
cost-diff0
#s(approx (+ (/ 1 (- x 1)) (/ x (+ x 1))) #s(literal 1 binary64))
cost-diff0
#s(approx (+ (/ 1 (- x 1)) (/ x (+ x 1))) #s(literal -1 binary64))
cost-diff0
(-.f64 x #s(literal -1 binary64))
cost-diff0
(-.f64 x #s(literal 1 binary64))
cost-diff0
(/.f64 (fma.f64 (-.f64 x #s(literal 1 binary64)) x (-.f64 x #s(literal -1 binary64))) (fma.f64 x x #s(literal -1 binary64)))
cost-diff384
(fma.f64 (-.f64 x #s(literal 1 binary64)) x (-.f64 x #s(literal -1 binary64)))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
023129
034129
155129
287127
3181123
4354123
51423119
65980119
08158113
Stop Event
iter limit
node limit
iter limit
Calls
Call 1
Inputs
(/.f64 (fma.f64 (-.f64 x #s(literal 1 binary64)) x (-.f64 x #s(literal -1 binary64))) (fma.f64 x x #s(literal -1 binary64)))
(fma.f64 (-.f64 x #s(literal 1 binary64)) x (-.f64 x #s(literal -1 binary64)))
(-.f64 x #s(literal 1 binary64))
x
#s(literal 1 binary64)
(-.f64 x #s(literal -1 binary64))
#s(literal -1 binary64)
(fma.f64 x x #s(literal -1 binary64))
#s(approx (+ (/ 1 (- x 1)) (/ x (+ x 1))) #s(literal -1 binary64))
#s(literal -1 binary64)
#s(approx (+ (/ 1 (- x 1)) (/ x (+ x 1))) #s(literal 1 binary64))
#s(literal 1 binary64)
#s(approx (+ (/ 1 (- x 1)) (/ x (+ x 1))) (fma.f64 (*.f64 x x) #s(literal -2 binary64) #s(literal -1 binary64)))
(fma.f64 (*.f64 x x) #s(literal -2 binary64) #s(literal -1 binary64))
(*.f64 x x)
x
#s(literal -2 binary64)
#s(literal -1 binary64)
#s(approx (+ (/ 1 (- x 1)) (/ x (+ x 1))) (+.f64 (/.f64 #s(literal 2 binary64) (*.f64 x x)) #s(literal 1 binary64)))
(+.f64 (/.f64 #s(literal 2 binary64) (*.f64 x x)) #s(literal 1 binary64))
(/.f64 #s(literal 2 binary64) (*.f64 x x))
#s(literal 2 binary64)
(*.f64 x x)
x
#s(literal 1 binary64)
Outputs
(/.f64 (fma.f64 (-.f64 x #s(literal 1 binary64)) x (-.f64 x #s(literal -1 binary64))) (fma.f64 x x #s(literal -1 binary64)))
(/.f64 (fma.f64 x x #s(literal 1 binary64)) (fma.f64 x x #s(literal -1 binary64)))
(fma.f64 (-.f64 x #s(literal 1 binary64)) x (-.f64 x #s(literal -1 binary64)))
(fma.f64 x x #s(literal 1 binary64))
(-.f64 x #s(literal 1 binary64))
x
#s(literal 1 binary64)
(-.f64 x #s(literal -1 binary64))
#s(literal -1 binary64)
(fma.f64 x x #s(literal -1 binary64))
#s(approx (+ (/ 1 (- x 1)) (/ x (+ x 1))) #s(literal -1 binary64))
#s(literal -1 binary64)
#s(approx (+ (/ 1 (- x 1)) (/ x (+ x 1))) #s(literal 1 binary64))
#s(literal 1 binary64)
#s(approx (+ (/ 1 (- x 1)) (/ x (+ x 1))) (fma.f64 (*.f64 x x) #s(literal -2 binary64) #s(literal -1 binary64)))
#s(approx (+ (/ 1 (- x 1)) (/ x (+ x 1))) (fma.f64 #s(literal -2 binary64) (*.f64 x x) #s(literal -1 binary64)))
(fma.f64 (*.f64 x x) #s(literal -2 binary64) #s(literal -1 binary64))
(fma.f64 #s(literal -2 binary64) (*.f64 x x) #s(literal -1 binary64))
(*.f64 x x)
x
#s(literal -2 binary64)
#s(literal -1 binary64)
#s(approx (+ (/ 1 (- x 1)) (/ x (+ x 1))) (+.f64 (/.f64 #s(literal 2 binary64) (*.f64 x x)) #s(literal 1 binary64)))
(+.f64 (/.f64 #s(literal 2 binary64) (*.f64 x x)) #s(literal 1 binary64))
(/.f64 #s(literal 2 binary64) (*.f64 x x))
#s(literal 2 binary64)
(*.f64 x x)
x
#s(literal 1 binary64)

localize93.0ms (2.1%)

Memory
-33.9MiB live, 118.2MiB allocated
Localize:

Found 13 expressions of interest:

NewMetricScoreProgram
accuracy0
(+.f64 (/.f64 #s(literal 2 binary64) (*.f64 x x)) #s(literal 1 binary64))
accuracy0
(*.f64 x x)
accuracy0.8442498521621791
(/.f64 #s(literal 2 binary64) (*.f64 x x))
accuracy29.749482780502206
#s(approx (+ (/ 1 (- x 1)) (/ x (+ x 1))) (+.f64 (/.f64 #s(literal 2 binary64) (*.f64 x x)) #s(literal 1 binary64)))
accuracy0
(fma.f64 (*.f64 x x) #s(literal -2 binary64) #s(literal -1 binary64))
accuracy0
(*.f64 x x)
accuracy33.72443471665136
#s(approx (+ (/ 1 (- x 1)) (/ x (+ x 1))) (fma.f64 (*.f64 x x) #s(literal -2 binary64) #s(literal -1 binary64)))
accuracy29.69355843156736
#s(approx (+ (/ 1 (- x 1)) (/ x (+ x 1))) #s(literal 1 binary64))
accuracy33.636666568518976
#s(approx (+ (/ 1 (- x 1)) (/ x (+ x 1))) #s(literal -1 binary64))
accuracy0
(-.f64 x #s(literal 1 binary64))
accuracy0
(-.f64 x #s(literal -1 binary64))
accuracy0.0078125
(fma.f64 (-.f64 x #s(literal 1 binary64)) x (-.f64 x #s(literal -1 binary64)))
accuracy15.023608065151171
(/.f64 (fma.f64 (-.f64 x #s(literal 1 binary64)) x (-.f64 x #s(literal -1 binary64))) (fma.f64 x x #s(literal -1 binary64)))
Samples
33.0ms256×0valid
Compiler

Compiled 202 to 40 computations (80.2% saved)

Precisions
Click to see histograms. Total time spent on operations: 22.0ms
ival-add: 8.0ms (36.3% of total)
ival-div: 6.0ms (27.2% of total)
ival-mult: 5.0ms (22.7% of total)
ival-sub: 3.0ms (13.6% of total)
ival-true: 0.0ms (0% of total)
exact: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

series7.0ms (0.2%)

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

3 calls:

TimeVariablePointExpression
1.0ms
x
@0
((+ (* (- x 1) x) (- x -1)) (/ (+ (* (- x 1) x) (- x -1)) (+ (* x x) -1)) (- x 1) (- x -1) (+ (/ 1 (- x 1)) (/ x (+ x 1))) (+ (/ 1 (- x 1)) (/ x (+ x 1))) (+ (/ 1 (- x 1)) (/ x (+ x 1))) (+ (* (* x x) -2) -1) (* x x) (+ (/ 1 (- x 1)) (/ x (+ x 1))) (+ (/ 2 (* x x)) 1) (/ 2 (* x x)))
1.0ms
x
@inf
((+ (* (- x 1) x) (- x -1)) (/ (+ (* (- x 1) x) (- x -1)) (+ (* x x) -1)) (- x 1) (- x -1) (+ (/ 1 (- x 1)) (/ x (+ x 1))) (+ (/ 1 (- x 1)) (/ x (+ x 1))) (+ (/ 1 (- x 1)) (/ x (+ x 1))) (+ (* (* x x) -2) -1) (* x x) (+ (/ 1 (- x 1)) (/ x (+ x 1))) (+ (/ 2 (* x x)) 1) (/ 2 (* x x)))
1.0ms
x
@-inf
((+ (* (- x 1) x) (- x -1)) (/ (+ (* (- x 1) x) (- x -1)) (+ (* x x) -1)) (- x 1) (- x -1) (+ (/ 1 (- x 1)) (/ x (+ x 1))) (+ (/ 1 (- x 1)) (/ x (+ x 1))) (+ (/ 1 (- x 1)) (/ x (+ x 1))) (+ (* (* x x) -2) -1) (* x x) (+ (/ 1 (- x 1)) (/ x (+ x 1))) (+ (/ 2 (* x x)) 1) (/ 2 (* x x)))

simplify159.0ms (3.6%)

Memory
14.5MiB live, 90.0MiB allocated
Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
048958
1114958
2263958
3622938
41430928
55392922
08300879
Stop Event
iter limit
node limit
Counts
144 → 140
Calls
Call 1
Inputs
1
(+ 1 (pow x 2))
(+ 1 (pow x 2))
(+ 1 (pow x 2))
-1
(- (* -2 (pow x 2)) 1)
(- (* (pow x 2) (- (* -2 (pow x 2)) 2)) 1)
(- (* (pow x 2) (- (* (pow x 2) (- (* -2 (pow x 2)) 2)) 2)) 1)
-1
(- x 1)
(- x 1)
(- x 1)
1
(+ 1 x)
(+ 1 x)
(+ 1 x)
-1
(- (* -2 (pow x 2)) 1)
(- (* (pow x 2) (- (* -2 (pow x 2)) 2)) 1)
(- (* (pow x 2) (- (* (pow x 2) (- (* -2 (pow x 2)) 2)) 2)) 1)
-1
(- (* -2 (pow x 2)) 1)
(- (* (pow x 2) (- (* -2 (pow x 2)) 2)) 1)
(- (* (pow x 2) (- (* (pow x 2) (- (* -2 (pow x 2)) 2)) 2)) 1)
-1
(- (* -2 (pow x 2)) 1)
(- (* (pow x 2) (- (* -2 (pow x 2)) 2)) 1)
(- (* (pow x 2) (- (* (pow x 2) (- (* -2 (pow x 2)) 2)) 2)) 1)
-1
(- (* -2 (pow x 2)) 1)
(- (* -2 (pow x 2)) 1)
(- (* -2 (pow x 2)) 1)
(pow x 2)
(pow x 2)
(pow x 2)
(pow x 2)
-1
(- (* -2 (pow x 2)) 1)
(- (* (pow x 2) (- (* -2 (pow x 2)) 2)) 1)
(- (* (pow x 2) (- (* (pow x 2) (- (* -2 (pow x 2)) 2)) 2)) 1)
(/ 2 (pow x 2))
(/ (+ 2 (pow x 2)) (pow x 2))
(/ (+ 2 (pow x 2)) (pow x 2))
(/ (+ 2 (pow x 2)) (pow x 2))
(/ 2 (pow x 2))
(/ 2 (pow x 2))
(/ 2 (pow x 2))
(/ 2 (pow x 2))
(pow x 2)
(* (pow x 2) (+ 1 (/ 1 (pow x 2))))
(* (pow x 2) (+ 1 (/ 1 (pow x 2))))
(* (pow x 2) (+ 1 (/ 1 (pow x 2))))
1
(+ 1 (* 2 (/ 1 (pow x 2))))
(+ 1 (+ (* 2 (/ 1 (pow x 2))) (/ 2 (pow x 4))))
(+ 1 (+ (* 2 (/ 1 (pow x 2))) (+ (* 2 (/ 1 (pow x 6))) (/ 2 (pow x 4)))))
x
(* x (- 1 (/ 1 x)))
(* x (- 1 (/ 1 x)))
(* x (- 1 (/ 1 x)))
x
(* x (+ 1 (/ 1 x)))
(* x (+ 1 (/ 1 x)))
(* x (+ 1 (/ 1 x)))
1
(+ 1 (* 2 (/ 1 (pow x 2))))
(+ 1 (+ (* 2 (/ 1 (pow x 2))) (/ 2 (pow x 4))))
(+ 1 (+ (* 2 (/ 1 (pow x 2))) (+ (* 2 (/ 1 (pow x 6))) (/ 2 (pow x 4)))))
1
(+ 1 (* 2 (/ 1 (pow x 2))))
(+ 1 (+ (* 2 (/ 1 (pow x 2))) (/ 2 (pow x 4))))
(+ 1 (+ (* 2 (/ 1 (pow x 2))) (+ (* 2 (/ 1 (pow x 6))) (/ 2 (pow x 4)))))
1
(+ 1 (* 2 (/ 1 (pow x 2))))
(+ 1 (+ (* 2 (/ 1 (pow x 2))) (/ 2 (pow x 4))))
(+ 1 (+ (* 2 (/ 1 (pow x 2))) (+ (* 2 (/ 1 (pow x 6))) (/ 2 (pow x 4)))))
(* -2 (pow x 2))
(* -1 (* (pow x 2) (+ 2 (/ 1 (pow x 2)))))
(* -1 (* (pow x 2) (+ 2 (/ 1 (pow x 2)))))
(* -1 (* (pow x 2) (+ 2 (/ 1 (pow x 2)))))
(pow x 2)
(pow x 2)
(pow x 2)
(pow x 2)
1
(+ 1 (* 2 (/ 1 (pow x 2))))
(+ 1 (+ (* 2 (/ 1 (pow x 2))) (/ 2 (pow x 4))))
(+ 1 (+ (* 2 (/ 1 (pow x 2))) (+ (* 2 (/ 1 (pow x 6))) (/ 2 (pow x 4)))))
1
(+ 1 (* 2 (/ 1 (pow x 2))))
(+ 1 (* 2 (/ 1 (pow x 2))))
(+ 1 (* 2 (/ 1 (pow x 2))))
(/ 2 (pow x 2))
(/ 2 (pow x 2))
(/ 2 (pow x 2))
(/ 2 (pow x 2))
(pow x 2)
(* (pow x 2) (+ 1 (/ 1 (pow x 2))))
(* (pow x 2) (+ 1 (/ 1 (pow x 2))))
(* (pow x 2) (+ 1 (/ 1 (pow x 2))))
1
(+ 1 (* 2 (/ 1 (pow x 2))))
(+ 1 (+ (* 2 (/ 1 (pow x 2))) (/ 2 (pow x 4))))
(+ 1 (+ (* 2 (/ 1 (pow x 2))) (+ (* 2 (/ 1 (pow x 6))) (/ 2 (pow x 4)))))
x
(* -1 (* x (- (/ 1 x) 1)))
(* -1 (* x (- (/ 1 x) 1)))
(* -1 (* x (- (/ 1 x) 1)))
x
(* x (+ 1 (/ 1 x)))
(* x (+ 1 (/ 1 x)))
(* x (+ 1 (/ 1 x)))
1
(+ 1 (* 2 (/ 1 (pow x 2))))
(+ 1 (+ (* 2 (/ 1 (pow x 2))) (/ 2 (pow x 4))))
(+ 1 (+ (* 2 (/ 1 (pow x 2))) (+ (* 2 (/ 1 (pow x 6))) (/ 2 (pow x 4)))))
1
(+ 1 (* 2 (/ 1 (pow x 2))))
(+ 1 (+ (* 2 (/ 1 (pow x 2))) (/ 2 (pow x 4))))
(+ 1 (+ (* 2 (/ 1 (pow x 2))) (+ (* 2 (/ 1 (pow x 6))) (/ 2 (pow x 4)))))
1
(+ 1 (* 2 (/ 1 (pow x 2))))
(+ 1 (+ (* 2 (/ 1 (pow x 2))) (/ 2 (pow x 4))))
(+ 1 (+ (* 2 (/ 1 (pow x 2))) (+ (* 2 (/ 1 (pow x 6))) (/ 2 (pow x 4)))))
(* -2 (pow x 2))
(* -1 (* (pow x 2) (+ 2 (/ 1 (pow x 2)))))
(* -1 (* (pow x 2) (+ 2 (/ 1 (pow x 2)))))
(* -1 (* (pow x 2) (+ 2 (/ 1 (pow x 2)))))
(pow x 2)
(pow x 2)
(pow x 2)
(pow x 2)
1
(+ 1 (* 2 (/ 1 (pow x 2))))
(+ 1 (+ (* 2 (/ 1 (pow x 2))) (/ 2 (pow x 4))))
(+ 1 (+ (* 2 (/ 1 (pow x 2))) (+ (* 2 (/ 1 (pow x 6))) (/ 2 (pow x 4)))))
1
(+ 1 (* 2 (/ 1 (pow x 2))))
(+ 1 (* 2 (/ 1 (pow x 2))))
(+ 1 (* 2 (/ 1 (pow x 2))))
(/ 2 (pow x 2))
(/ 2 (pow x 2))
(/ 2 (pow x 2))
(/ 2 (pow x 2))
Outputs
1
#s(literal 1 binary64)
(+ 1 (pow x 2))
(fma.f64 x x #s(literal 1 binary64))
(+ 1 (pow x 2))
(fma.f64 x x #s(literal 1 binary64))
(+ 1 (pow x 2))
(fma.f64 x x #s(literal 1 binary64))
-1
#s(literal -1 binary64)
(- (* -2 (pow x 2)) 1)
(fma.f64 #s(literal -2 binary64) (*.f64 x x) #s(literal -1 binary64))
(- (* (pow x 2) (- (* -2 (pow x 2)) 2)) 1)
(fma.f64 (fma.f64 x x (pow.f64 x #s(literal 4 binary64))) #s(literal -2 binary64) #s(literal -1 binary64))
(- (* (pow x 2) (- (* (pow x 2) (- (* -2 (pow x 2)) 2)) 2)) 1)
(fma.f64 #s(literal -2 binary64) (+.f64 (fma.f64 x x (pow.f64 x #s(literal 6 binary64))) (pow.f64 x #s(literal 4 binary64))) #s(literal -1 binary64))
-1
#s(literal -1 binary64)
(- x 1)
(-.f64 x #s(literal 1 binary64))
(- x 1)
(-.f64 x #s(literal 1 binary64))
(- x 1)
(-.f64 x #s(literal 1 binary64))
1
#s(literal 1 binary64)
(+ 1 x)
(+.f64 x #s(literal 1 binary64))
(+ 1 x)
(+.f64 x #s(literal 1 binary64))
(+ 1 x)
(+.f64 x #s(literal 1 binary64))
-1
#s(literal -1 binary64)
(- (* -2 (pow x 2)) 1)
(fma.f64 #s(literal -2 binary64) (*.f64 x x) #s(literal -1 binary64))
(- (* (pow x 2) (- (* -2 (pow x 2)) 2)) 1)
(fma.f64 (fma.f64 x x (pow.f64 x #s(literal 4 binary64))) #s(literal -2 binary64) #s(literal -1 binary64))
(- (* (pow x 2) (- (* (pow x 2) (- (* -2 (pow x 2)) 2)) 2)) 1)
(fma.f64 #s(literal -2 binary64) (+.f64 (fma.f64 x x (pow.f64 x #s(literal 6 binary64))) (pow.f64 x #s(literal 4 binary64))) #s(literal -1 binary64))
-1
#s(literal -1 binary64)
(- (* -2 (pow x 2)) 1)
(fma.f64 #s(literal -2 binary64) (*.f64 x x) #s(literal -1 binary64))
(- (* (pow x 2) (- (* -2 (pow x 2)) 2)) 1)
(fma.f64 (fma.f64 x x (pow.f64 x #s(literal 4 binary64))) #s(literal -2 binary64) #s(literal -1 binary64))
(- (* (pow x 2) (- (* (pow x 2) (- (* -2 (pow x 2)) 2)) 2)) 1)
(fma.f64 #s(literal -2 binary64) (+.f64 (fma.f64 x x (pow.f64 x #s(literal 6 binary64))) (pow.f64 x #s(literal 4 binary64))) #s(literal -1 binary64))
-1
#s(literal -1 binary64)
(- (* -2 (pow x 2)) 1)
(fma.f64 #s(literal -2 binary64) (*.f64 x x) #s(literal -1 binary64))
(- (* (pow x 2) (- (* -2 (pow x 2)) 2)) 1)
(fma.f64 (fma.f64 x x (pow.f64 x #s(literal 4 binary64))) #s(literal -2 binary64) #s(literal -1 binary64))
(- (* (pow x 2) (- (* (pow x 2) (- (* -2 (pow x 2)) 2)) 2)) 1)
(fma.f64 #s(literal -2 binary64) (+.f64 (fma.f64 x x (pow.f64 x #s(literal 6 binary64))) (pow.f64 x #s(literal 4 binary64))) #s(literal -1 binary64))
-1
#s(literal -1 binary64)
(- (* -2 (pow x 2)) 1)
(fma.f64 #s(literal -2 binary64) (*.f64 x x) #s(literal -1 binary64))
(- (* -2 (pow x 2)) 1)
(fma.f64 #s(literal -2 binary64) (*.f64 x x) #s(literal -1 binary64))
(- (* -2 (pow x 2)) 1)
(fma.f64 #s(literal -2 binary64) (*.f64 x x) #s(literal -1 binary64))
(pow x 2)
(*.f64 x x)
(pow x 2)
(*.f64 x x)
(pow x 2)
(*.f64 x x)
(pow x 2)
(*.f64 x x)
-1
#s(literal -1 binary64)
(- (* -2 (pow x 2)) 1)
(fma.f64 #s(literal -2 binary64) (*.f64 x x) #s(literal -1 binary64))
(- (* (pow x 2) (- (* -2 (pow x 2)) 2)) 1)
(fma.f64 (fma.f64 x x (pow.f64 x #s(literal 4 binary64))) #s(literal -2 binary64) #s(literal -1 binary64))
(- (* (pow x 2) (- (* (pow x 2) (- (* -2 (pow x 2)) 2)) 2)) 1)
(fma.f64 #s(literal -2 binary64) (+.f64 (fma.f64 x x (pow.f64 x #s(literal 6 binary64))) (pow.f64 x #s(literal 4 binary64))) #s(literal -1 binary64))
(/ 2 (pow x 2))
(/.f64 #s(literal 2 binary64) (*.f64 x x))
(/ (+ 2 (pow x 2)) (pow x 2))
(-.f64 (/.f64 #s(literal 2 binary64) (*.f64 x x)) #s(literal -1 binary64))
(/ (+ 2 (pow x 2)) (pow x 2))
(-.f64 (/.f64 #s(literal 2 binary64) (*.f64 x x)) #s(literal -1 binary64))
(/ (+ 2 (pow x 2)) (pow x 2))
(-.f64 (/.f64 #s(literal 2 binary64) (*.f64 x x)) #s(literal -1 binary64))
(/ 2 (pow x 2))
(/.f64 #s(literal 2 binary64) (*.f64 x x))
(/ 2 (pow x 2))
(/.f64 #s(literal 2 binary64) (*.f64 x x))
(/ 2 (pow x 2))
(/.f64 #s(literal 2 binary64) (*.f64 x x))
(/ 2 (pow x 2))
(/.f64 #s(literal 2 binary64) (*.f64 x x))
(pow x 2)
(*.f64 x x)
(* (pow x 2) (+ 1 (/ 1 (pow x 2))))
(fma.f64 x x #s(literal 1 binary64))
(* (pow x 2) (+ 1 (/ 1 (pow x 2))))
(fma.f64 x x #s(literal 1 binary64))
(* (pow x 2) (+ 1 (/ 1 (pow x 2))))
(fma.f64 x x #s(literal 1 binary64))
1
#s(literal 1 binary64)
(+ 1 (* 2 (/ 1 (pow x 2))))
(+.f64 (/.f64 #s(literal 2 binary64) (*.f64 x x)) #s(literal 1 binary64))
(+ 1 (+ (* 2 (/ 1 (pow x 2))) (/ 2 (pow x 4))))
(+.f64 (/.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 4 binary64))) (+.f64 (/.f64 #s(literal 2 binary64) (*.f64 x x)) #s(literal 1 binary64)))
(+ 1 (+ (* 2 (/ 1 (pow x 2))) (+ (* 2 (/ 1 (pow x 6))) (/ 2 (pow x 4)))))
(+.f64 (+.f64 (/.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 6 binary64))) (+.f64 (/.f64 #s(literal 2 binary64) (*.f64 x x)) #s(literal 1 binary64))) (/.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 4 binary64))))
x
(* x (- 1 (/ 1 x)))
(-.f64 x #s(literal 1 binary64))
(* x (- 1 (/ 1 x)))
(-.f64 x #s(literal 1 binary64))
(* x (- 1 (/ 1 x)))
(-.f64 x #s(literal 1 binary64))
x
(* x (+ 1 (/ 1 x)))
(+.f64 x #s(literal 1 binary64))
(* x (+ 1 (/ 1 x)))
(+.f64 x #s(literal 1 binary64))
(* x (+ 1 (/ 1 x)))
(+.f64 x #s(literal 1 binary64))
1
#s(literal 1 binary64)
(+ 1 (* 2 (/ 1 (pow x 2))))
(+.f64 (/.f64 #s(literal 2 binary64) (*.f64 x x)) #s(literal 1 binary64))
(+ 1 (+ (* 2 (/ 1 (pow x 2))) (/ 2 (pow x 4))))
(+.f64 (/.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 4 binary64))) (+.f64 (/.f64 #s(literal 2 binary64) (*.f64 x x)) #s(literal 1 binary64)))
(+ 1 (+ (* 2 (/ 1 (pow x 2))) (+ (* 2 (/ 1 (pow x 6))) (/ 2 (pow x 4)))))
(+.f64 (+.f64 (/.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 6 binary64))) (+.f64 (/.f64 #s(literal 2 binary64) (*.f64 x x)) #s(literal 1 binary64))) (/.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 4 binary64))))
1
#s(literal 1 binary64)
(+ 1 (* 2 (/ 1 (pow x 2))))
(+.f64 (/.f64 #s(literal 2 binary64) (*.f64 x x)) #s(literal 1 binary64))
(+ 1 (+ (* 2 (/ 1 (pow x 2))) (/ 2 (pow x 4))))
(+.f64 (/.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 4 binary64))) (+.f64 (/.f64 #s(literal 2 binary64) (*.f64 x x)) #s(literal 1 binary64)))
(+ 1 (+ (* 2 (/ 1 (pow x 2))) (+ (* 2 (/ 1 (pow x 6))) (/ 2 (pow x 4)))))
(+.f64 (+.f64 (/.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 6 binary64))) (+.f64 (/.f64 #s(literal 2 binary64) (*.f64 x x)) #s(literal 1 binary64))) (/.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 4 binary64))))
1
#s(literal 1 binary64)
(+ 1 (* 2 (/ 1 (pow x 2))))
(+.f64 (/.f64 #s(literal 2 binary64) (*.f64 x x)) #s(literal 1 binary64))
(+ 1 (+ (* 2 (/ 1 (pow x 2))) (/ 2 (pow x 4))))
(+.f64 (/.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 4 binary64))) (+.f64 (/.f64 #s(literal 2 binary64) (*.f64 x x)) #s(literal 1 binary64)))
(+ 1 (+ (* 2 (/ 1 (pow x 2))) (+ (* 2 (/ 1 (pow x 6))) (/ 2 (pow x 4)))))
(+.f64 (+.f64 (/.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 6 binary64))) (+.f64 (/.f64 #s(literal 2 binary64) (*.f64 x x)) #s(literal 1 binary64))) (/.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 4 binary64))))
(* -2 (pow x 2))
(*.f64 #s(literal -2 binary64) (*.f64 x x))
(* -1 (* (pow x 2) (+ 2 (/ 1 (pow x 2)))))
(fma.f64 #s(literal -2 binary64) (*.f64 x x) #s(literal -1 binary64))
(* -1 (* (pow x 2) (+ 2 (/ 1 (pow x 2)))))
(fma.f64 #s(literal -2 binary64) (*.f64 x x) #s(literal -1 binary64))
(* -1 (* (pow x 2) (+ 2 (/ 1 (pow x 2)))))
(fma.f64 #s(literal -2 binary64) (*.f64 x x) #s(literal -1 binary64))
(pow x 2)
(*.f64 x x)
(pow x 2)
(*.f64 x x)
(pow x 2)
(*.f64 x x)
(pow x 2)
(*.f64 x x)
1
#s(literal 1 binary64)
(+ 1 (* 2 (/ 1 (pow x 2))))
(+.f64 (/.f64 #s(literal 2 binary64) (*.f64 x x)) #s(literal 1 binary64))
(+ 1 (+ (* 2 (/ 1 (pow x 2))) (/ 2 (pow x 4))))
(+.f64 (/.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 4 binary64))) (+.f64 (/.f64 #s(literal 2 binary64) (*.f64 x x)) #s(literal 1 binary64)))
(+ 1 (+ (* 2 (/ 1 (pow x 2))) (+ (* 2 (/ 1 (pow x 6))) (/ 2 (pow x 4)))))
(+.f64 (+.f64 (/.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 6 binary64))) (+.f64 (/.f64 #s(literal 2 binary64) (*.f64 x x)) #s(literal 1 binary64))) (/.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 4 binary64))))
1
#s(literal 1 binary64)
(+ 1 (* 2 (/ 1 (pow x 2))))
(+.f64 (/.f64 #s(literal 2 binary64) (*.f64 x x)) #s(literal 1 binary64))
(+ 1 (* 2 (/ 1 (pow x 2))))
(+.f64 (/.f64 #s(literal 2 binary64) (*.f64 x x)) #s(literal 1 binary64))
(+ 1 (* 2 (/ 1 (pow x 2))))
(+.f64 (/.f64 #s(literal 2 binary64) (*.f64 x x)) #s(literal 1 binary64))
(/ 2 (pow x 2))
(/.f64 #s(literal 2 binary64) (*.f64 x x))
(/ 2 (pow x 2))
(/.f64 #s(literal 2 binary64) (*.f64 x x))
(/ 2 (pow x 2))
(/.f64 #s(literal 2 binary64) (*.f64 x x))
(/ 2 (pow x 2))
(/.f64 #s(literal 2 binary64) (*.f64 x x))
(pow x 2)
(*.f64 x x)
(* (pow x 2) (+ 1 (/ 1 (pow x 2))))
(fma.f64 x x #s(literal 1 binary64))
(* (pow x 2) (+ 1 (/ 1 (pow x 2))))
(fma.f64 x x #s(literal 1 binary64))
(* (pow x 2) (+ 1 (/ 1 (pow x 2))))
(fma.f64 x x #s(literal 1 binary64))
1
#s(literal 1 binary64)
(+ 1 (* 2 (/ 1 (pow x 2))))
(+.f64 (/.f64 #s(literal 2 binary64) (*.f64 x x)) #s(literal 1 binary64))
(+ 1 (+ (* 2 (/ 1 (pow x 2))) (/ 2 (pow x 4))))
(+.f64 (/.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 4 binary64))) (+.f64 (/.f64 #s(literal 2 binary64) (*.f64 x x)) #s(literal 1 binary64)))
(+ 1 (+ (* 2 (/ 1 (pow x 2))) (+ (* 2 (/ 1 (pow x 6))) (/ 2 (pow x 4)))))
(+.f64 (+.f64 (/.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 6 binary64))) (+.f64 (/.f64 #s(literal 2 binary64) (*.f64 x x)) #s(literal 1 binary64))) (/.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 4 binary64))))
x
(* -1 (* x (- (/ 1 x) 1)))
(-.f64 x #s(literal 1 binary64))
(* -1 (* x (- (/ 1 x) 1)))
(-.f64 x #s(literal 1 binary64))
(* -1 (* x (- (/ 1 x) 1)))
(-.f64 x #s(literal 1 binary64))
x
(* x (+ 1 (/ 1 x)))
(+.f64 x #s(literal 1 binary64))
(* x (+ 1 (/ 1 x)))
(+.f64 x #s(literal 1 binary64))
(* x (+ 1 (/ 1 x)))
(+.f64 x #s(literal 1 binary64))
1
#s(literal 1 binary64)
(+ 1 (* 2 (/ 1 (pow x 2))))
(+.f64 (/.f64 #s(literal 2 binary64) (*.f64 x x)) #s(literal 1 binary64))
(+ 1 (+ (* 2 (/ 1 (pow x 2))) (/ 2 (pow x 4))))
(+.f64 (/.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 4 binary64))) (+.f64 (/.f64 #s(literal 2 binary64) (*.f64 x x)) #s(literal 1 binary64)))
(+ 1 (+ (* 2 (/ 1 (pow x 2))) (+ (* 2 (/ 1 (pow x 6))) (/ 2 (pow x 4)))))
(+.f64 (+.f64 (/.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 6 binary64))) (+.f64 (/.f64 #s(literal 2 binary64) (*.f64 x x)) #s(literal 1 binary64))) (/.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 4 binary64))))
1
#s(literal 1 binary64)
(+ 1 (* 2 (/ 1 (pow x 2))))
(+.f64 (/.f64 #s(literal 2 binary64) (*.f64 x x)) #s(literal 1 binary64))
(+ 1 (+ (* 2 (/ 1 (pow x 2))) (/ 2 (pow x 4))))
(+.f64 (/.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 4 binary64))) (+.f64 (/.f64 #s(literal 2 binary64) (*.f64 x x)) #s(literal 1 binary64)))
(+ 1 (+ (* 2 (/ 1 (pow x 2))) (+ (* 2 (/ 1 (pow x 6))) (/ 2 (pow x 4)))))
(+.f64 (+.f64 (/.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 6 binary64))) (+.f64 (/.f64 #s(literal 2 binary64) (*.f64 x x)) #s(literal 1 binary64))) (/.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 4 binary64))))
1
#s(literal 1 binary64)
(+ 1 (* 2 (/ 1 (pow x 2))))
(+.f64 (/.f64 #s(literal 2 binary64) (*.f64 x x)) #s(literal 1 binary64))
(+ 1 (+ (* 2 (/ 1 (pow x 2))) (/ 2 (pow x 4))))
(+.f64 (/.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 4 binary64))) (+.f64 (/.f64 #s(literal 2 binary64) (*.f64 x x)) #s(literal 1 binary64)))
(+ 1 (+ (* 2 (/ 1 (pow x 2))) (+ (* 2 (/ 1 (pow x 6))) (/ 2 (pow x 4)))))
(+.f64 (+.f64 (/.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 6 binary64))) (+.f64 (/.f64 #s(literal 2 binary64) (*.f64 x x)) #s(literal 1 binary64))) (/.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 4 binary64))))
(* -2 (pow x 2))
(*.f64 #s(literal -2 binary64) (*.f64 x x))
(* -1 (* (pow x 2) (+ 2 (/ 1 (pow x 2)))))
(fma.f64 #s(literal -2 binary64) (*.f64 x x) #s(literal -1 binary64))
(* -1 (* (pow x 2) (+ 2 (/ 1 (pow x 2)))))
(fma.f64 #s(literal -2 binary64) (*.f64 x x) #s(literal -1 binary64))
(* -1 (* (pow x 2) (+ 2 (/ 1 (pow x 2)))))
(fma.f64 #s(literal -2 binary64) (*.f64 x x) #s(literal -1 binary64))
(pow x 2)
(*.f64 x x)
(pow x 2)
(*.f64 x x)
(pow x 2)
(*.f64 x x)
(pow x 2)
(*.f64 x x)
1
#s(literal 1 binary64)
(+ 1 (* 2 (/ 1 (pow x 2))))
(+.f64 (/.f64 #s(literal 2 binary64) (*.f64 x x)) #s(literal 1 binary64))
(+ 1 (+ (* 2 (/ 1 (pow x 2))) (/ 2 (pow x 4))))
(+.f64 (/.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 4 binary64))) (+.f64 (/.f64 #s(literal 2 binary64) (*.f64 x x)) #s(literal 1 binary64)))
(+ 1 (+ (* 2 (/ 1 (pow x 2))) (+ (* 2 (/ 1 (pow x 6))) (/ 2 (pow x 4)))))
(+.f64 (+.f64 (/.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 6 binary64))) (+.f64 (/.f64 #s(literal 2 binary64) (*.f64 x x)) #s(literal 1 binary64))) (/.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 4 binary64))))
1
#s(literal 1 binary64)
(+ 1 (* 2 (/ 1 (pow x 2))))
(+.f64 (/.f64 #s(literal 2 binary64) (*.f64 x x)) #s(literal 1 binary64))
(+ 1 (* 2 (/ 1 (pow x 2))))
(+.f64 (/.f64 #s(literal 2 binary64) (*.f64 x x)) #s(literal 1 binary64))
(+ 1 (* 2 (/ 1 (pow x 2))))
(+.f64 (/.f64 #s(literal 2 binary64) (*.f64 x x)) #s(literal 1 binary64))
(/ 2 (pow x 2))
(/.f64 #s(literal 2 binary64) (*.f64 x x))
(/ 2 (pow x 2))
(/.f64 #s(literal 2 binary64) (*.f64 x x))
(/ 2 (pow x 2))
(/.f64 #s(literal 2 binary64) (*.f64 x x))
(/ 2 (pow x 2))
(/.f64 #s(literal 2 binary64) (*.f64 x x))

rewrite278.0ms (6.3%)

Memory
-24.6MiB live, 173.9MiB allocated
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
023111
034111
1169109
21647109
08383107
Stop Event
iter limit
node limit
iter limit
Counts
12 → 486
Calls
Call 1
Inputs
(fma.f64 (-.f64 x #s(literal 1 binary64)) x (-.f64 x #s(literal -1 binary64)))
(/.f64 (fma.f64 (-.f64 x #s(literal 1 binary64)) x (-.f64 x #s(literal -1 binary64))) (fma.f64 x x #s(literal -1 binary64)))
(-.f64 x #s(literal 1 binary64))
(-.f64 x #s(literal -1 binary64))
#s(approx (+ (/ 1 (- x 1)) (/ x (+ x 1))) #s(literal -1 binary64))
#s(approx (+ (/ 1 (- x 1)) (/ x (+ x 1))) #s(literal 1 binary64))
#s(approx (+ (/ 1 (- x 1)) (/ x (+ x 1))) (fma.f64 (*.f64 x x) #s(literal -2 binary64) #s(literal -1 binary64)))
(fma.f64 (*.f64 x x) #s(literal -2 binary64) #s(literal -1 binary64))
(*.f64 x x)
#s(approx (+ (/ 1 (- x 1)) (/ x (+ x 1))) (+.f64 (/.f64 #s(literal 2 binary64) (*.f64 x x)) #s(literal 1 binary64)))
(+.f64 (/.f64 #s(literal 2 binary64) (*.f64 x x)) #s(literal 1 binary64))
(/.f64 #s(literal 2 binary64) (*.f64 x x))
Outputs
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>

eval145.0ms (3.3%)

Memory
32.3MiB live, 140.1MiB allocated
Compiler

Compiled 12 958 to 1 663 computations (87.2% saved)

prune39.0ms (0.9%)

Memory
-3.6MiB live, 43.3MiB allocated
Pruning

6 alts after pruning (1 fresh and 5 done)

PrunedKeptTotal
New6471648
Fresh000
Picked055
Done000
Total6476653
Accuracy
100.0%
Counts
653 → 6
Alt Table
Click to see full alt table
StatusAccuracyProgram
75.8%
(/.f64 (fma.f64 (-.f64 x #s(literal 1 binary64)) x (-.f64 x #s(literal -1 binary64))) (fma.f64 x x #s(literal -1 binary64)))
75.8%
(/.f64 #s(approx (+ (* (- x 1) x) (- x -1)) (fma.f64 x x #s(literal 1 binary64))) (fma.f64 x x #s(literal -1 binary64)))
47.3%
#s(approx (+ (/ 1 (- x 1)) (/ x (+ x 1))) (fma.f64 (*.f64 x x) #s(literal -2 binary64) #s(literal -1 binary64)))
53.5%
#s(approx (+ (/ 1 (- x 1)) (/ x (+ x 1))) (+.f64 (/.f64 #s(literal 2 binary64) (*.f64 x x)) #s(literal 1 binary64)))
53.6%
#s(approx (+ (/ 1 (- x 1)) (/ x (+ x 1))) #s(literal 1 binary64))
47.4%
#s(approx (+ (/ 1 (- x 1)) (/ x (+ x 1))) #s(literal -1 binary64))
Compiler

Compiled 42 to 34 computations (19% saved)

simplify259.0ms (5.8%)

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

Found 4 expressions of interest:

NewMetricScoreProgram
cost-diff0
(fma.f64 x x #s(literal -1 binary64))
cost-diff0
(fma.f64 x x #s(literal 1 binary64))
cost-diff0
#s(approx (+ (* (- x 1) x) (- x -1)) (fma.f64 x x #s(literal 1 binary64)))
cost-diff0
(/.f64 #s(approx (+ (* (- x 1) x) (- x -1)) (fma.f64 x x #s(literal 1 binary64))) (fma.f64 x x #s(literal -1 binary64)))
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01144
01544
12844
25140
312034
422534
586934
6289334
7450934
8577234
9656634
10689734
11707434
12716434
13793934
0801534
Stop Event
iter limit
node limit
iter limit
Calls
Call 1
Inputs
(/.f64 #s(approx (+ (* (- x 1) x) (- x -1)) (fma.f64 x x #s(literal 1 binary64))) (fma.f64 x x #s(literal -1 binary64)))
#s(approx (+ (* (- x 1) x) (- x -1)) (fma.f64 x x #s(literal 1 binary64)))
(fma.f64 x x #s(literal 1 binary64))
x
#s(literal 1 binary64)
(fma.f64 x x #s(literal -1 binary64))
#s(literal -1 binary64)
Outputs
(/.f64 #s(approx (+ (* (- x 1) x) (- x -1)) (fma.f64 x x #s(literal 1 binary64))) (fma.f64 x x #s(literal -1 binary64)))
#s(approx (+ (* (- x 1) x) (- x -1)) (fma.f64 x x #s(literal 1 binary64)))
(fma.f64 x x #s(literal 1 binary64))
x
#s(literal 1 binary64)
(fma.f64 x x #s(literal -1 binary64))
#s(literal -1 binary64)

localize78.0ms (1.8%)

Memory
-10.7MiB live, 26.0MiB allocated
Localize:

Found 4 expressions of interest:

NewMetricScoreProgram
accuracy0
(fma.f64 x x #s(literal 1 binary64))
accuracy0
(fma.f64 x x #s(literal -1 binary64))
accuracy0
#s(approx (+ (* (- x 1) x) (- x -1)) (fma.f64 x x #s(literal 1 binary64)))
accuracy15.023608065151171
(/.f64 #s(approx (+ (* (- x 1) x) (- x -1)) (fma.f64 x x #s(literal 1 binary64))) (fma.f64 x x #s(literal -1 binary64)))
Samples
17.0ms256×0valid
Compiler

Compiled 65 to 20 computations (69.2% saved)

Precisions
Click to see histograms. Total time spent on operations: 11.0ms
ival-sub: 3.0ms (27.3% of total)
ival-add: 3.0ms (27.3% of total)
ival-mult: 3.0ms (27.3% of total)
ival-div: 2.0ms (18.2% of total)
ival-true: 0.0ms (0% of total)
exact: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

series3.0ms (0.1%)

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

3 calls:

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

simplify184.0ms (4.1%)

Memory
20.9MiB live, 170.6MiB allocated
Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
035276
176276
2163276
3382272
4809270
51335270
62915270
75617270
87809270
08060234
Stop Event
iter limit
node limit
Counts
48 → 48
Calls
Call 1
Inputs
-1
(- (* -2 (pow x 2)) 1)
(- (* (pow x 2) (- (* -2 (pow x 2)) 2)) 1)
(- (* (pow x 2) (- (* (pow x 2) (- (* -2 (pow x 2)) 2)) 2)) 1)
1
(+ 1 (pow x 2))
(+ 1 (pow x 2))
(+ 1 (pow x 2))
1
(+ 1 (pow x 2))
(+ 1 (pow x 2))
(+ 1 (pow x 2))
-1
(- (pow x 2) 1)
(- (pow x 2) 1)
(- (pow x 2) 1)
1
(+ 1 (* 2 (/ 1 (pow x 2))))
(+ 1 (+ (* 2 (/ 1 (pow x 2))) (/ 2 (pow x 4))))
(+ 1 (+ (* 2 (/ 1 (pow x 2))) (+ (* 2 (/ 1 (pow x 6))) (/ 2 (pow x 4)))))
(pow x 2)
(* (pow x 2) (+ 1 (/ 1 (pow x 2))))
(* (pow x 2) (+ 1 (/ 1 (pow x 2))))
(* (pow x 2) (+ 1 (/ 1 (pow x 2))))
(pow x 2)
(* (pow x 2) (+ 1 (/ 1 (pow x 2))))
(* (pow x 2) (+ 1 (/ 1 (pow x 2))))
(* (pow x 2) (+ 1 (/ 1 (pow x 2))))
(pow x 2)
(* (pow x 2) (- 1 (/ 1 (pow x 2))))
(* (pow x 2) (- 1 (/ 1 (pow x 2))))
(* (pow x 2) (- 1 (/ 1 (pow x 2))))
1
(+ 1 (* 2 (/ 1 (pow x 2))))
(+ 1 (+ (* 2 (/ 1 (pow x 2))) (/ 2 (pow x 4))))
(+ 1 (+ (* 2 (/ 1 (pow x 2))) (+ (* 2 (/ 1 (pow x 6))) (/ 2 (pow x 4)))))
(pow x 2)
(* (pow x 2) (+ 1 (/ 1 (pow x 2))))
(* (pow x 2) (+ 1 (/ 1 (pow x 2))))
(* (pow x 2) (+ 1 (/ 1 (pow x 2))))
(pow x 2)
(* (pow x 2) (+ 1 (/ 1 (pow x 2))))
(* (pow x 2) (+ 1 (/ 1 (pow x 2))))
(* (pow x 2) (+ 1 (/ 1 (pow x 2))))
(pow x 2)
(* (pow x 2) (- 1 (/ 1 (pow x 2))))
(* (pow x 2) (- 1 (/ 1 (pow x 2))))
(* (pow x 2) (- 1 (/ 1 (pow x 2))))
Outputs
-1
#s(literal -1 binary64)
(- (* -2 (pow x 2)) 1)
(fma.f64 (*.f64 x x) #s(literal -2 binary64) #s(literal -1 binary64))
(- (* (pow x 2) (- (* -2 (pow x 2)) 2)) 1)
(fma.f64 (fma.f64 x x (pow.f64 x #s(literal 4 binary64))) #s(literal -2 binary64) #s(literal -1 binary64))
(- (* (pow x 2) (- (* (pow x 2) (- (* -2 (pow x 2)) 2)) 2)) 1)
(fma.f64 (fma.f64 (+.f64 (pow.f64 x #s(literal 3 binary64)) x) x (pow.f64 x #s(literal 6 binary64))) #s(literal -2 binary64) #s(literal -1 binary64))
1
#s(literal 1 binary64)
(+ 1 (pow x 2))
(fma.f64 x x #s(literal 1 binary64))
(+ 1 (pow x 2))
(fma.f64 x x #s(literal 1 binary64))
(+ 1 (pow x 2))
(fma.f64 x x #s(literal 1 binary64))
1
#s(literal 1 binary64)
(+ 1 (pow x 2))
(fma.f64 x x #s(literal 1 binary64))
(+ 1 (pow x 2))
(fma.f64 x x #s(literal 1 binary64))
(+ 1 (pow x 2))
(fma.f64 x x #s(literal 1 binary64))
-1
#s(literal -1 binary64)
(- (pow x 2) 1)
(fma.f64 x x #s(literal -1 binary64))
(- (pow x 2) 1)
(fma.f64 x x #s(literal -1 binary64))
(- (pow x 2) 1)
(fma.f64 x x #s(literal -1 binary64))
1
#s(literal 1 binary64)
(+ 1 (* 2 (/ 1 (pow x 2))))
(+.f64 (/.f64 #s(literal 2 binary64) (*.f64 x x)) #s(literal 1 binary64))
(+ 1 (+ (* 2 (/ 1 (pow x 2))) (/ 2 (pow x 4))))
(fma.f64 (/.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 3 binary64))) (+.f64 (/.f64 #s(literal 1 binary64) x) x) #s(literal 1 binary64))
(+ 1 (+ (* 2 (/ 1 (pow x 2))) (+ (* 2 (/ 1 (pow x 6))) (/ 2 (pow x 4)))))
(fma.f64 #s(literal 2 binary64) (fma.f64 (pow.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 4 binary64)) (fma.f64 x x #s(literal 1 binary64)) (pow.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 6 binary64))) #s(literal 1 binary64))
(pow x 2)
(*.f64 x x)
(* (pow x 2) (+ 1 (/ 1 (pow x 2))))
(fma.f64 x x #s(literal 1 binary64))
(* (pow x 2) (+ 1 (/ 1 (pow x 2))))
(fma.f64 x x #s(literal 1 binary64))
(* (pow x 2) (+ 1 (/ 1 (pow x 2))))
(fma.f64 x x #s(literal 1 binary64))
(pow x 2)
(*.f64 x x)
(* (pow x 2) (+ 1 (/ 1 (pow x 2))))
(fma.f64 x x #s(literal 1 binary64))
(* (pow x 2) (+ 1 (/ 1 (pow x 2))))
(fma.f64 x x #s(literal 1 binary64))
(* (pow x 2) (+ 1 (/ 1 (pow x 2))))
(fma.f64 x x #s(literal 1 binary64))
(pow x 2)
(*.f64 x x)
(* (pow x 2) (- 1 (/ 1 (pow x 2))))
(fma.f64 x x #s(literal -1 binary64))
(* (pow x 2) (- 1 (/ 1 (pow x 2))))
(fma.f64 x x #s(literal -1 binary64))
(* (pow x 2) (- 1 (/ 1 (pow x 2))))
(fma.f64 x x #s(literal -1 binary64))
1
#s(literal 1 binary64)
(+ 1 (* 2 (/ 1 (pow x 2))))
(+.f64 (/.f64 #s(literal 2 binary64) (*.f64 x x)) #s(literal 1 binary64))
(+ 1 (+ (* 2 (/ 1 (pow x 2))) (/ 2 (pow x 4))))
(fma.f64 (/.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 3 binary64))) (+.f64 (/.f64 #s(literal 1 binary64) x) x) #s(literal 1 binary64))
(+ 1 (+ (* 2 (/ 1 (pow x 2))) (+ (* 2 (/ 1 (pow x 6))) (/ 2 (pow x 4)))))
(fma.f64 #s(literal 2 binary64) (fma.f64 (pow.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 4 binary64)) (fma.f64 x x #s(literal 1 binary64)) (pow.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 6 binary64))) #s(literal 1 binary64))
(pow x 2)
(*.f64 x x)
(* (pow x 2) (+ 1 (/ 1 (pow x 2))))
(fma.f64 x x #s(literal 1 binary64))
(* (pow x 2) (+ 1 (/ 1 (pow x 2))))
(fma.f64 x x #s(literal 1 binary64))
(* (pow x 2) (+ 1 (/ 1 (pow x 2))))
(fma.f64 x x #s(literal 1 binary64))
(pow x 2)
(*.f64 x x)
(* (pow x 2) (+ 1 (/ 1 (pow x 2))))
(fma.f64 x x #s(literal 1 binary64))
(* (pow x 2) (+ 1 (/ 1 (pow x 2))))
(fma.f64 x x #s(literal 1 binary64))
(* (pow x 2) (+ 1 (/ 1 (pow x 2))))
(fma.f64 x x #s(literal 1 binary64))
(pow x 2)
(*.f64 x x)
(* (pow x 2) (- 1 (/ 1 (pow x 2))))
(fma.f64 x x #s(literal -1 binary64))
(* (pow x 2) (- 1 (/ 1 (pow x 2))))
(fma.f64 x x #s(literal -1 binary64))
(* (pow x 2) (- 1 (/ 1 (pow x 2))))
(fma.f64 x x #s(literal -1 binary64))

rewrite240.0ms (5.4%)

Memory
6.9MiB live, 198.7MiB allocated
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01141
01541
18441
268137
0912635
Stop Event
iter limit
node limit
iter limit
Counts
4 → 646
Calls
Call 1
Inputs
(/.f64 #s(approx (+ (* (- x 1) x) (- x -1)) (fma.f64 x x #s(literal 1 binary64))) (fma.f64 x x #s(literal -1 binary64)))
#s(approx (+ (* (- x 1) x) (- x -1)) (fma.f64 x x #s(literal 1 binary64)))
(fma.f64 x x #s(literal 1 binary64))
(fma.f64 x x #s(literal -1 binary64))
Outputs
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>

eval185.0ms (4.2%)

Memory
-2.2MiB live, 149.8MiB allocated
Compiler

Compiled 16 584 to 2 008 computations (87.9% saved)

prune35.0ms (0.8%)

Memory
10.3MiB live, 46.9MiB allocated
Pruning

6 alts after pruning (0 fresh and 6 done)

PrunedKeptTotal
New6940694
Fresh000
Picked011
Done055
Total6946700
Accuracy
100.0%
Counts
700 → 6
Alt Table
Click to see full alt table
StatusAccuracyProgram
75.8%
(/.f64 (fma.f64 (-.f64 x #s(literal 1 binary64)) x (-.f64 x #s(literal -1 binary64))) (fma.f64 x x #s(literal -1 binary64)))
75.8%
(/.f64 #s(approx (+ (* (- x 1) x) (- x -1)) (fma.f64 x x #s(literal 1 binary64))) (fma.f64 x x #s(literal -1 binary64)))
47.3%
#s(approx (+ (/ 1 (- x 1)) (/ x (+ x 1))) (fma.f64 (*.f64 x x) #s(literal -2 binary64) #s(literal -1 binary64)))
53.5%
#s(approx (+ (/ 1 (- x 1)) (/ x (+ x 1))) (+.f64 (/.f64 #s(literal 2 binary64) (*.f64 x x)) #s(literal 1 binary64)))
53.6%
#s(approx (+ (/ 1 (- x 1)) (/ x (+ x 1))) #s(literal 1 binary64))
47.4%
#s(approx (+ (/ 1 (- x 1)) (/ x (+ x 1))) #s(literal -1 binary64))
Compiler

Compiled 95 to 59 computations (37.9% saved)

regimes6.0ms (0.1%)

Memory
19.9MiB live, 19.9MiB allocated
Counts
7 → 1
Calls
Call 1
Inputs
#s(approx (+ (/ 1 (- x 1)) (/ x (+ x 1))) #s(literal -1 binary64))
#s(approx (+ (/ 1 (- x 1)) (/ x (+ x 1))) #s(literal 1 binary64))
#s(approx (+ (/ 1 (- x 1)) (/ x (+ x 1))) (fma.f64 (*.f64 x x) #s(literal -2 binary64) #s(literal -1 binary64)))
#s(approx (+ (/ 1 (- x 1)) (/ x (+ x 1))) (+.f64 (/.f64 #s(literal 2 binary64) (*.f64 x x)) #s(literal 1 binary64)))
(/.f64 #s(approx (+ (* (- x 1) x) (- x -1)) (fma.f64 x x #s(literal 1 binary64))) (fma.f64 x x #s(literal -1 binary64)))
(/.f64 (fma.f64 (-.f64 x #s(literal 1 binary64)) x (-.f64 x #s(literal -1 binary64))) (fma.f64 x x #s(literal -1 binary64)))
(+.f64 (/.f64 #s(literal 1 binary64) (-.f64 x #s(literal 1 binary64))) (/.f64 x (+.f64 x #s(literal 1 binary64))))
Outputs
(+.f64 (/.f64 #s(literal 1 binary64) (-.f64 x #s(literal 1 binary64))) (/.f64 x (+.f64 x #s(literal 1 binary64))))
Calls

2 calls:

3.0ms
x
2.0ms
(+.f64 (/.f64 #s(literal 1 binary64) (-.f64 x #s(literal 1 binary64))) (/.f64 x (+.f64 x #s(literal 1 binary64))))
Results
AccuracySegmentsBranch
100.0%1x
100.0%1(+.f64 (/.f64 #s(literal 1 binary64) (-.f64 x #s(literal 1 binary64))) (/.f64 x (+.f64 x #s(literal 1 binary64))))
Compiler

Compiled 12 to 8 computations (33.3% saved)

regimes109.0ms (2.5%)

Memory
-40.2MiB live, 97.3MiB allocated
Counts
6 → 2
Calls
Call 1
Inputs
#s(approx (+ (/ 1 (- x 1)) (/ x (+ x 1))) #s(literal -1 binary64))
#s(approx (+ (/ 1 (- x 1)) (/ x (+ x 1))) #s(literal 1 binary64))
#s(approx (+ (/ 1 (- x 1)) (/ x (+ x 1))) (fma.f64 (*.f64 x x) #s(literal -2 binary64) #s(literal -1 binary64)))
#s(approx (+ (/ 1 (- x 1)) (/ x (+ x 1))) (+.f64 (/.f64 #s(literal 2 binary64) (*.f64 x x)) #s(literal 1 binary64)))
(/.f64 #s(approx (+ (* (- x 1) x) (- x -1)) (fma.f64 x x #s(literal 1 binary64))) (fma.f64 x x #s(literal -1 binary64)))
(/.f64 (fma.f64 (-.f64 x #s(literal 1 binary64)) x (-.f64 x #s(literal -1 binary64))) (fma.f64 x x #s(literal -1 binary64)))
Outputs
(/.f64 #s(approx (+ (* (- x 1) x) (- x -1)) (fma.f64 x x #s(literal 1 binary64))) (fma.f64 x x #s(literal -1 binary64)))
#s(approx (+ (/ 1 (- x 1)) (/ x (+ x 1))) (+.f64 (/.f64 #s(literal 2 binary64) (*.f64 x x)) #s(literal 1 binary64)))
Calls

2 calls:

107.0ms
x
2.0ms
(+.f64 (/.f64 #s(literal 1 binary64) (-.f64 x #s(literal 1 binary64))) (/.f64 x (+.f64 x #s(literal 1 binary64))))
Results
AccuracySegmentsBranch
100.0%3x
100.0%2(+.f64 (/.f64 #s(literal 1 binary64) (-.f64 x #s(literal 1 binary64))) (/.f64 x (+.f64 x #s(literal 1 binary64))))
Compiler

Compiled 12 to 8 computations (33.3% saved)

regimes2.0ms (0%)

Memory
7.6MiB live, 7.6MiB allocated
Counts
4 → 2
Calls
Call 1
Inputs
#s(approx (+ (/ 1 (- x 1)) (/ x (+ x 1))) #s(literal -1 binary64))
#s(approx (+ (/ 1 (- x 1)) (/ x (+ x 1))) #s(literal 1 binary64))
#s(approx (+ (/ 1 (- x 1)) (/ x (+ x 1))) (fma.f64 (*.f64 x x) #s(literal -2 binary64) #s(literal -1 binary64)))
#s(approx (+ (/ 1 (- x 1)) (/ x (+ x 1))) (+.f64 (/.f64 #s(literal 2 binary64) (*.f64 x x)) #s(literal 1 binary64)))
Outputs
#s(approx (+ (/ 1 (- x 1)) (/ x (+ x 1))) (fma.f64 (*.f64 x x) #s(literal -2 binary64) #s(literal -1 binary64)))
#s(approx (+ (/ 1 (- x 1)) (/ x (+ x 1))) (+.f64 (/.f64 #s(literal 2 binary64) (*.f64 x x)) #s(literal 1 binary64)))
Calls

1 calls:

2.0ms
(+.f64 (/.f64 #s(literal 1 binary64) (-.f64 x #s(literal 1 binary64))) (/.f64 x (+.f64 x #s(literal 1 binary64))))
Results
AccuracySegmentsBranch
100.0%2(+.f64 (/.f64 #s(literal 1 binary64) (-.f64 x #s(literal 1 binary64))) (/.f64 x (+.f64 x #s(literal 1 binary64))))
Compiler

Compiled 11 to 7 computations (36.4% saved)

regimes2.0ms (0%)

Memory
6.2MiB live, 6.2MiB allocated
Counts
3 → 2
Calls
Call 1
Inputs
#s(approx (+ (/ 1 (- x 1)) (/ x (+ x 1))) #s(literal -1 binary64))
#s(approx (+ (/ 1 (- x 1)) (/ x (+ x 1))) #s(literal 1 binary64))
#s(approx (+ (/ 1 (- x 1)) (/ x (+ x 1))) (fma.f64 (*.f64 x x) #s(literal -2 binary64) #s(literal -1 binary64)))
Outputs
#s(approx (+ (/ 1 (- x 1)) (/ x (+ x 1))) (fma.f64 (*.f64 x x) #s(literal -2 binary64) #s(literal -1 binary64)))
#s(approx (+ (/ 1 (- x 1)) (/ x (+ x 1))) #s(literal 1 binary64))
Calls

1 calls:

2.0ms
(+.f64 (/.f64 #s(literal 1 binary64) (-.f64 x #s(literal 1 binary64))) (/.f64 x (+.f64 x #s(literal 1 binary64))))
Results
AccuracySegmentsBranch
99.7%2(+.f64 (/.f64 #s(literal 1 binary64) (-.f64 x #s(literal 1 binary64))) (/.f64 x (+.f64 x #s(literal 1 binary64))))
Compiler

Compiled 11 to 7 computations (36.4% saved)

regimes2.0ms (0%)

Memory
5.3MiB live, 5.3MiB allocated
Counts
2 → 2
Calls
Call 1
Inputs
#s(approx (+ (/ 1 (- x 1)) (/ x (+ x 1))) #s(literal -1 binary64))
#s(approx (+ (/ 1 (- x 1)) (/ x (+ x 1))) #s(literal 1 binary64))
Outputs
#s(approx (+ (/ 1 (- x 1)) (/ x (+ x 1))) #s(literal -1 binary64))
#s(approx (+ (/ 1 (- x 1)) (/ x (+ x 1))) #s(literal 1 binary64))
Calls

1 calls:

1.0ms
(+.f64 (/.f64 #s(literal 1 binary64) (-.f64 x #s(literal 1 binary64))) (/.f64 x (+.f64 x #s(literal 1 binary64))))
Results
AccuracySegmentsBranch
99.5%2(+.f64 (/.f64 #s(literal 1 binary64) (-.f64 x #s(literal 1 binary64))) (/.f64 x (+.f64 x #s(literal 1 binary64))))
Compiler

Compiled 11 to 7 computations (36.4% saved)

regimes3.0ms (0.1%)

Memory
10.5MiB live, 10.5MiB allocated
Accuracy

Total 0.0b remaining (0%)

Threshold costs 0b (0%)

Counts
1 → 1
Calls
Call 1
Inputs
#s(approx (+ (/ 1 (- x 1)) (/ x (+ x 1))) #s(literal -1 binary64))
Outputs
#s(approx (+ (/ 1 (- x 1)) (/ x (+ x 1))) #s(literal -1 binary64))
Calls

2 calls:

1.0ms
x
1.0ms
(+.f64 (/.f64 #s(literal 1 binary64) (-.f64 x #s(literal 1 binary64))) (/.f64 x (+.f64 x #s(literal 1 binary64))))
Results
AccuracySegmentsBranch
47.4%1x
47.4%1(+.f64 (/.f64 #s(literal 1 binary64) (-.f64 x #s(literal 1 binary64))) (/.f64 x (+.f64 x #s(literal 1 binary64))))
Compiler

Compiled 12 to 8 computations (33.3% saved)

bsearch3.0ms (0.1%)

Memory
-36.1MiB live, 2.1MiB allocated
Algorithm
left-value
Steps
TimeLeftRight
0.0ms
-1.0
1.0
Compiler

Compiled 14 to 11 computations (21.4% saved)

bsearch0.0ms (0%)

Memory
1.2MiB live, 1.2MiB allocated
Algorithm
left-value
Steps
TimeLeftRight
0.0ms
-1.0
1.0
Compiler

Compiled 14 to 11 computations (21.4% saved)

bsearch0.0ms (0%)

Memory
1.2MiB live, 1.2MiB allocated
Algorithm
left-value
Steps
TimeLeftRight
0.0ms
-1.0
1.0
Compiler

Compiled 14 to 11 computations (21.4% saved)

bsearch1.0ms (0%)

Memory
4.4MiB live, 4.4MiB allocated
Algorithm
binary-search
Stop Event
predicate-same
Steps
TimeLeftRight
1.0ms
-1.0
1.0
Samples
0.0ms16×0valid
Compiler

Compiled 18 to 19 computations (-5.6% saved)

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

simplify42.0ms (0.9%)

Memory
20.9MiB live, 69.5MiB allocated
Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
035212
143212
246212
351212
Stop Event
saturated
Calls
Call 1
Inputs
(+.f64 (/.f64 #s(literal 1 binary64) (-.f64 x #s(literal 1 binary64))) (/.f64 x (+.f64 x #s(literal 1 binary64))))
(if (<=.f64 (+.f64 (/.f64 #s(literal 1 binary64) (-.f64 x #s(literal 1 binary64))) (/.f64 x (+.f64 x #s(literal 1 binary64)))) #s(literal -1 binary64)) (/.f64 #s(approx (+ (* (- x 1) x) (- x -1)) (fma.f64 x x #s(literal 1 binary64))) (fma.f64 x x #s(literal -1 binary64))) #s(approx (+ (/ 1 (- x 1)) (/ x (+ x 1))) (+.f64 (/.f64 #s(literal 2 binary64) (*.f64 x x)) #s(literal 1 binary64))))
(if (<=.f64 (+.f64 (/.f64 #s(literal 1 binary64) (-.f64 x #s(literal 1 binary64))) (/.f64 x (+.f64 x #s(literal 1 binary64)))) #s(literal -1 binary64)) #s(approx (+ (/ 1 (- x 1)) (/ x (+ x 1))) (fma.f64 (*.f64 x x) #s(literal -2 binary64) #s(literal -1 binary64))) #s(approx (+ (/ 1 (- x 1)) (/ x (+ x 1))) (+.f64 (/.f64 #s(literal 2 binary64) (*.f64 x x)) #s(literal 1 binary64))))
(if (<=.f64 (+.f64 (/.f64 #s(literal 1 binary64) (-.f64 x #s(literal 1 binary64))) (/.f64 x (+.f64 x #s(literal 1 binary64)))) #s(literal -1 binary64)) #s(approx (+ (/ 1 (- x 1)) (/ x (+ x 1))) (fma.f64 (*.f64 x x) #s(literal -2 binary64) #s(literal -1 binary64))) #s(approx (+ (/ 1 (- x 1)) (/ x (+ x 1))) #s(literal 1 binary64)))
(if (<=.f64 (+.f64 (/.f64 #s(literal 1 binary64) (-.f64 x #s(literal 1 binary64))) (/.f64 x (+.f64 x #s(literal 1 binary64)))) #s(literal -1 binary64)) #s(approx (+ (/ 1 (- x 1)) (/ x (+ x 1))) #s(literal -1 binary64)) #s(approx (+ (/ 1 (- x 1)) (/ x (+ x 1))) #s(literal 1 binary64)))
#s(approx (+ (/ 1 (- x 1)) (/ x (+ x 1))) #s(literal -1 binary64))
Outputs
(+.f64 (/.f64 #s(literal 1 binary64) (-.f64 x #s(literal 1 binary64))) (/.f64 x (+.f64 x #s(literal 1 binary64))))
(+.f64 (/.f64 x (+.f64 x #s(literal 1 binary64))) (/.f64 #s(literal 1 binary64) (-.f64 x #s(literal 1 binary64))))
(if (<=.f64 (+.f64 (/.f64 #s(literal 1 binary64) (-.f64 x #s(literal 1 binary64))) (/.f64 x (+.f64 x #s(literal 1 binary64)))) #s(literal -1 binary64)) (/.f64 #s(approx (+ (* (- x 1) x) (- x -1)) (fma.f64 x x #s(literal 1 binary64))) (fma.f64 x x #s(literal -1 binary64))) #s(approx (+ (/ 1 (- x 1)) (/ x (+ x 1))) (+.f64 (/.f64 #s(literal 2 binary64) (*.f64 x x)) #s(literal 1 binary64))))
(if (<=.f64 (+.f64 (/.f64 x (+.f64 x #s(literal 1 binary64))) (/.f64 #s(literal 1 binary64) (-.f64 x #s(literal 1 binary64)))) #s(literal -1 binary64)) (/.f64 #s(approx (+ (* (- x 1) x) (- x -1)) (fma.f64 x x #s(literal 1 binary64))) (fma.f64 x x #s(literal -1 binary64))) #s(approx (+ (/ 1 (- x 1)) (/ x (+ x 1))) (+.f64 (/.f64 #s(literal 2 binary64) (*.f64 x x)) #s(literal 1 binary64))))
(if (<=.f64 (+.f64 (/.f64 #s(literal 1 binary64) (-.f64 x #s(literal 1 binary64))) (/.f64 x (+.f64 x #s(literal 1 binary64)))) #s(literal -1 binary64)) #s(approx (+ (/ 1 (- x 1)) (/ x (+ x 1))) (fma.f64 (*.f64 x x) #s(literal -2 binary64) #s(literal -1 binary64))) #s(approx (+ (/ 1 (- x 1)) (/ x (+ x 1))) (+.f64 (/.f64 #s(literal 2 binary64) (*.f64 x x)) #s(literal 1 binary64))))
(if (<=.f64 (+.f64 (/.f64 x (+.f64 x #s(literal 1 binary64))) (/.f64 #s(literal 1 binary64) (-.f64 x #s(literal 1 binary64)))) #s(literal -1 binary64)) #s(approx (+ (/ 1 (- x 1)) (/ x (+ x 1))) (fma.f64 (*.f64 x x) #s(literal -2 binary64) #s(literal -1 binary64))) #s(approx (+ (/ 1 (- x 1)) (/ x (+ x 1))) (+.f64 (/.f64 #s(literal 2 binary64) (*.f64 x x)) #s(literal 1 binary64))))
(if (<=.f64 (+.f64 (/.f64 #s(literal 1 binary64) (-.f64 x #s(literal 1 binary64))) (/.f64 x (+.f64 x #s(literal 1 binary64)))) #s(literal -1 binary64)) #s(approx (+ (/ 1 (- x 1)) (/ x (+ x 1))) (fma.f64 (*.f64 x x) #s(literal -2 binary64) #s(literal -1 binary64))) #s(approx (+ (/ 1 (- x 1)) (/ x (+ x 1))) #s(literal 1 binary64)))
(if (<=.f64 (+.f64 (/.f64 x (+.f64 x #s(literal 1 binary64))) (/.f64 #s(literal 1 binary64) (-.f64 x #s(literal 1 binary64)))) #s(literal -1 binary64)) #s(approx (+ (/ 1 (- x 1)) (/ x (+ x 1))) (fma.f64 (*.f64 x x) #s(literal -2 binary64) #s(literal -1 binary64))) #s(approx (+ (/ 1 (- x 1)) (/ x (+ x 1))) #s(literal 1 binary64)))
(if (<=.f64 (+.f64 (/.f64 #s(literal 1 binary64) (-.f64 x #s(literal 1 binary64))) (/.f64 x (+.f64 x #s(literal 1 binary64)))) #s(literal -1 binary64)) #s(approx (+ (/ 1 (- x 1)) (/ x (+ x 1))) #s(literal -1 binary64)) #s(approx (+ (/ 1 (- x 1)) (/ x (+ x 1))) #s(literal 1 binary64)))
(if (<=.f64 (+.f64 (/.f64 x (+.f64 x #s(literal 1 binary64))) (/.f64 #s(literal 1 binary64) (-.f64 x #s(literal 1 binary64)))) #s(literal -1 binary64)) #s(approx (+ (/ 1 (- x 1)) (/ x (+ x 1))) #s(literal -1 binary64)) #s(approx (+ (/ 1 (- x 1)) (/ x (+ x 1))) #s(literal 1 binary64)))
#s(approx (+ (/ 1 (- x 1)) (/ x (+ x 1))) #s(literal -1 binary64))

soundness816.0ms (18.4%)

Memory
-0.3MiB live, 417.1MiB allocated
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
083387
1211385
2469374
31228354
43217348
56371346
67705346
08035338
048958
1114958
2263958
3622938
41430928
55392922
08300879
0727
01227
16627
270127
0960627
Stop Event
done
iter limit
node limit
iter limit
iter limit
node limit
iter limit
node limit
Compiler

Compiled 178 to 75 computations (57.9% saved)

preprocess95.0ms (2.1%)

Memory
0.5MiB live, 170.1MiB allocated
Compiler

Compiled 252 to 68 computations (73% saved)

end0.0ms (0%)

Memory
0.0MiB live, 0.0MiB allocated

Profiling

Loading profile data...