Asymptote B

Time bar (total: 2.4s)

start0.0ms (0%)

Memory
0.0MiB live, 0.0MiB allocated

analyze2.0ms (0.1%)

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

sample645.0ms (26.7%)

Memory
14.2MiB live, 912.3MiB allocated
Samples
424.0ms8 256×0valid
Precisions
Click to see histograms. Total time spent on operations: 271.0ms
ival-div: 117.0ms (43.1% of total)
ival-add: 87.0ms (32.1% of total)
ival-sub: 53.0ms (19.5% of total)
ival-true: 6.0ms (2.2% of total)
exact: 5.0ms (1.8% of total)
ival-assert: 4.0ms (1.5% of total)
Bogosity

explain95.0ms (3.9%)

Memory
-34.0MiB live, 173.7MiB 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
33.0ms512×0valid
Compiler

Compiled 73 to 25 computations (65.8% saved)

Precisions
Click to see histograms. Total time spent on operations: 22.0ms
ival-add: 8.0ms (37.1% of total)
ival-div: 7.0ms (32.5% of total)
ival-sub: 6.0ms (27.9% of total)
ival-true: 0.0ms (0% of total)
exact: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

preprocess19.0ms (0.8%)

Memory
37.1MiB live, 37.1MiB allocated
Algorithm
egg-herbie
Rules
54×sub-neg
52×distribute-lft-neg-in
50×associate-*l*
44×cancel-sign-sub-inv
44×unsub-neg
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.5MiB live, 0.5MiB allocated
Compiler

Compiled 0 to 1 computations (-∞% saved)

prune2.0ms (0.1%)

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

simplify4.0ms (0.2%)

Memory
6.9MiB live, 6.9MiB 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))))
Rules
12×lower-+.f32
lower-+.f64
+-commutative
lift-+.f64
lift-/.f64
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))

localize20.0ms (0.8%)

Memory
1.3MiB live, 40.3MiB allocated
Localize:

Found 4 expressions of interest:

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

Compiled 31 to 9 computations (71% saved)

Precisions
Click to see histograms. Total time spent on operations: 8.0ms
ival-div: 3.0ms (38.5% of total)
ival-sub: 2.0ms (25.7% of total)
ival-add: 2.0ms (25.7% 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.7MiB live, 6.7MiB 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))

simplify140.0ms (5.8%)

Memory
-17.7MiB live, 161.8MiB allocated
Algorithm
egg-herbie
Rules
11 362×lower-fma.f64
11 362×lower-fma.f32
2 676×lower-*.f64
2 676×lower-*.f32
2 128×lower-+.f64
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))

rewrite164.0ms (6.8%)

Memory
12.6MiB live, 254.9MiB allocated
Rules
9 718×lower-fma.f64
9 718×lower-fma.f32
4 480×lower-*.f64
4 480×lower-*.f32
3 656×lower-/.f32
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>

eval96.0ms (4%)

Memory
-5.4MiB live, 189.1MiB allocated
Compiler

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

prune32.0ms (1.3%)

Memory
-7.8MiB live, 31.3MiB allocated
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New6124616
Fresh000
Picked101
Done000
Total6134617
Accuracy
100.0%
Counts
617 → 4
Alt Table
Click to see full alt table
StatusAccuracyProgram
52.4%
#s(approx (+ (/ 1 (- x 1)) (/ x (+ x 1))) (fma.f64 (*.f64 x x) #s(literal -2 binary64) #s(literal -1 binary64)))
48.5%
#s(approx (+ (/ 1 (- x 1)) (/ x (+ x 1))) (+.f64 (/.f64 #s(literal 2 binary64) (*.f64 x x)) #s(literal 1 binary64)))
48.7%
#s(approx (+ (/ 1 (- x 1)) (/ x (+ x 1))) #s(literal 1 binary64))
52.6%
#s(approx (+ (/ 1 (- x 1)) (/ x (+ x 1))) #s(literal -1 binary64))
Compiler

Compiled 19 to 19 computations (0% saved)

simplify4.0ms (0.2%)

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

Found 9 expressions of interest:

NewMetricScoreProgram
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
(*.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
#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))
Rules
20×lower-+.f32
18×lower-+.f64
14×lower-*.f32
12×lower-*.f64
10×lower-/.f32
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01895
02395
13695
24095
04095
Stop Event
iter limit
saturated
iter limit
Calls
Call 1
Inputs
#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))) (+.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)
#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)
Outputs
#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))) (+.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)
#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)

localize51.0ms (2.1%)

Memory
11.3MiB live, 50.4MiB allocated
Localize:

Found 9 expressions of interest:

NewMetricScoreProgram
accuracy0
(fma.f64 (*.f64 x x) #s(literal -2 binary64) #s(literal -1 binary64))
accuracy0
(*.f64 x x)
accuracy30.48329789197551
#s(approx (+ (/ 1 (- x 1)) (/ x (+ x 1))) (fma.f64 (*.f64 x x) #s(literal -2 binary64) #s(literal -1 binary64)))
accuracy0
(+.f64 (/.f64 #s(literal 2 binary64) (*.f64 x x)) #s(literal 1 binary64))
accuracy0
(*.f64 x x)
accuracy0.3492827966978304
(/.f64 #s(literal 2 binary64) (*.f64 x x))
accuracy32.960155388059356
#s(approx (+ (/ 1 (- x 1)) (/ x (+ x 1))) (+.f64 (/.f64 #s(literal 2 binary64) (*.f64 x x)) #s(literal 1 binary64)))
accuracy32.838106242266186
#s(approx (+ (/ 1 (- x 1)) (/ x (+ x 1))) #s(literal 1 binary64))
accuracy30.3172488921117
#s(approx (+ (/ 1 (- x 1)) (/ x (+ x 1))) #s(literal -1 binary64))
Samples
41.0ms256×0valid
Compiler

Compiled 79 to 17 computations (78.5% saved)

Precisions
Click to see histograms. Total time spent on operations: 15.0ms
ival-div: 5.0ms (33% of total)
ival-add: 5.0ms (33% of total)
ival-mult: 3.0ms (19.8% of total)
ival-sub: 2.0ms (13.2% of total)
ival-true: 0.0ms (0% of total)
exact: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

series5.0ms (0.2%)

Memory
9.2MiB live, 9.2MiB allocated
Counts
8 → 96
Calls
Call 1
Inputs
#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))) (+.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>) () ())
#s(alt (*.f64 x x) (patch (*.f64 x x) #<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>) () ())
Outputs
#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))) (+.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 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))) (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 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))) (+.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 (*.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))) (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 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))) (+.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 (*.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))) (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>) () ())) ())
Calls

3 calls:

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

simplify221.0ms (9.2%)

Memory
-25.8MiB live, 97.8MiB allocated
Algorithm
egg-herbie
Rules
10 538×lower-fma.f64
10 538×lower-fma.f32
2 672×lower-*.f64
2 672×lower-*.f32
2 456×unsub-neg
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
035726
175726
2194726
3407710
4925710
52188702
66048702
08264670
Stop Event
iter limit
node limit
Counts
96 → 96
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
(- (* -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)
(/ 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)
(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)
-1
(- (* -2 (pow x 2)) 1)
(- (* -2 (pow x 2)) 1)
(- (* -2 (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)))))
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))))
(+ 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)
(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)))))
(* -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)))))
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)))))
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)
(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)))))
(* -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)))))
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)
(- (* -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)
(- (* -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))
(/ 2 (pow x 2))
(/.f64 #s(literal 2 binary64) (*.f64 x x))
(/ (+ 2 (pow x 2)) (pow x 2))
(/.f64 (/.f64 (fma.f64 x x #s(literal 2 binary64)) x) x)
(/ (+ 2 (pow x 2)) (pow x 2))
(/.f64 (/.f64 (fma.f64 x x #s(literal 2 binary64)) x) x)
(/ (+ 2 (pow x 2)) (pow x 2))
(/.f64 (/.f64 (fma.f64 x x #s(literal 2 binary64)) 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))
(/ 2 (pow x 2))
(/.f64 #s(literal 2 binary64) (*.f64 x x))
(pow x 2)
(*.f64 x x)
(pow x 2)
(*.f64 x x)
(pow x 2)
(*.f64 x x)
(pow x 2)
(*.f64 x x)
-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)
(- (* -2 (pow x 2)) 1)
(fma.f64 (*.f64 x x) #s(literal -2 binary64) #s(literal -1 binary64))
(- (* -2 (pow x 2)) 1)
(fma.f64 (*.f64 x x) #s(literal -2 binary64) #s(literal -1 binary64))
(- (* -2 (pow x 2)) 1)
(fma.f64 (*.f64 x x) #s(literal -2 binary64) #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))))
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)
(*.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))))
(* -2 (pow x 2))
(*.f64 (*.f64 x x) #s(literal -2 binary64))
(* -1 (* (pow x 2) (+ 2 (/ 1 (pow x 2)))))
(fma.f64 (*.f64 x x) #s(literal -2 binary64) #s(literal -1 binary64))
(* -1 (* (pow x 2) (+ 2 (/ 1 (pow x 2)))))
(fma.f64 (*.f64 x x) #s(literal -2 binary64) #s(literal -1 binary64))
(* -1 (* (pow x 2) (+ 2 (/ 1 (pow x 2)))))
(fma.f64 (*.f64 x x) #s(literal -2 binary64) #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))))
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)
(*.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))))
(* -2 (pow x 2))
(*.f64 (*.f64 x x) #s(literal -2 binary64))
(* -1 (* (pow x 2) (+ 2 (/ 1 (pow x 2)))))
(fma.f64 (*.f64 x x) #s(literal -2 binary64) #s(literal -1 binary64))
(* -1 (* (pow x 2) (+ 2 (/ 1 (pow x 2)))))
(fma.f64 (*.f64 x x) #s(literal -2 binary64) #s(literal -1 binary64))
(* -1 (* (pow x 2) (+ 2 (/ 1 (pow x 2)))))
(fma.f64 (*.f64 x x) #s(literal -2 binary64) #s(literal -1 binary64))

rewrite212.0ms (8.8%)

Memory
-10.0MiB live, 148.9MiB allocated
Rules
5 052×lower-*.f32
5 050×lower-*.f64
4 820×lower-/.f32
4 818×lower-/.f64
2 842×lower-fma.f32
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01884
02384
111284
2107584
0809882
Stop Event
iter limit
node limit
iter limit
Counts
8 → 99
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))) (+.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))
(*.f64 x x)
#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))
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>

eval22.0ms (0.9%)

Memory
29.9MiB live, 29.9MiB allocated
Compiler

Compiled 2 449 to 410 computations (83.3% saved)

prune11.0ms (0.5%)

Memory
-23.7MiB live, 14.0MiB allocated
Pruning

4 alts after pruning (0 fresh and 4 done)

PrunedKeptTotal
New2170217
Fresh000
Picked044
Done000
Total2174221
Accuracy
100.0%
Counts
221 → 4
Alt Table
Click to see full alt table
StatusAccuracyProgram
52.4%
#s(approx (+ (/ 1 (- x 1)) (/ x (+ x 1))) (fma.f64 (*.f64 x x) #s(literal -2 binary64) #s(literal -1 binary64)))
48.5%
#s(approx (+ (/ 1 (- x 1)) (/ x (+ x 1))) (+.f64 (/.f64 #s(literal 2 binary64) (*.f64 x x)) #s(literal 1 binary64)))
48.7%
#s(approx (+ (/ 1 (- x 1)) (/ x (+ x 1))) #s(literal 1 binary64))
52.6%
#s(approx (+ (/ 1 (- x 1)) (/ x (+ x 1))) #s(literal -1 binary64))
Compiler

Compiled 49 to 37 computations (24.5% saved)

regimes4.0ms (0.2%)

Memory
5.4MiB live, 5.4MiB allocated
Counts
5 → 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 (/.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:

2.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)

regimes4.0ms (0.2%)

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

2 calls:

2.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.1%)

Memory
4.2MiB live, 4.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:

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.8%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)

regimes1.0ms (0.1%)

Memory
2.3MiB live, 2.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.8%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.1%)

Memory
4.5MiB live, 4.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
52.6%1x
52.6%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)

bsearch0.0ms (0%)

Memory
0.5MiB live, 0.5MiB 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
0.4MiB live, 0.4MiB 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
1.5MiB live, 1.5MiB 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)

simplify30.0ms (1.2%)

Memory
-6.4MiB live, 37.3MiB allocated
Algorithm
egg-herbie
Rules
10×+-commutative-binary64-+.f64
sub-neg-binary64-neg.f64-+.f64--.f64
*-rgt-identity-binary64-*.f64
1-exp-binary32-exp.f32
*-commutative-binary64-*.f64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
027160
135160
238160
343160
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)) #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)) #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))

soundness559.0ms (23.2%)

Memory
-6.4MiB live, 186.8MiB allocated
Rules
11 362×lower-fma.f64
11 362×lower-fma.f32
2 676×lower-*.f64
2 676×lower-*.f32
2 128×lower-+.f64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
083387
1211385
2469374
31228354
43217348
56371346
67705346
08035338
Stop Event
done
iter limit
node limit
Compiler

Compiled 106 to 46 computations (56.6% saved)

preprocess61.0ms (2.5%)

Memory
-3.0MiB live, 71.4MiB allocated
Compiler

Compiled 188 to 58 computations (69.1% saved)

end0.0ms (0%)

Memory
0.0MiB live, 0.0MiB allocated

Profiling

Loading profile data...