Numeric.Integration.TanhSinh:nonNegative from integration-0.2.1

Time bar (total: 5.9s)

start0.0ms (0%)

Memory
0.0MiB live, 0.0MiB allocated

analyze1.0ms (0%)

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

Compiled 7 to 6 computations (14.3% saved)

sample1.7s (28.4%)

Memory
-15.9MiB live, 576.2MiB allocated
Samples
1.1s8 256×0valid
Precisions
Click to see histograms. Total time spent on operations: 169.0ms
ival-div: 91.0ms (54% of total)
ival-sub: 64.0ms (38% of total)
ival-true: 6.0ms (3.6% of total)
exact: 5.0ms (3% of total)
ival-assert: 3.0ms (1.8% of total)
Bogosity

explain169.0ms (2.9%)

Memory
4.2MiB live, 120.1MiB allocated
FPErrors
Click to see full error table
Ground TruthOverpredictionsExampleUnderpredictionsExampleSubexpression
00-0-(/.f64 x (-.f64 #s(literal 1 binary64) x))
00-0-(-.f64 #s(literal 1 binary64) x)
00-0-#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
126.0ms512×0valid
Compiler

Compiled 59 to 34 computations (42.4% saved)

Precisions
Click to see histograms. Total time spent on operations: 8.0ms
ival-div: 4.0ms (50.1% of total)
ival-sub: 3.0ms (37.6% of total)
ival-true: 1.0ms (12.5% of total)
exact: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

preprocess24.0ms (0.4%)

Memory
10.4MiB live, 51.6MiB allocated
Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0615
12011
24710
310010
419510
528410
629510
730910
832210
045
065
1105
2145
3195
4265
5365
6515
7745
8965
91045
101065
01065
Stop Event
iter limit
saturated
iter limit
saturated
Calls
Call 1
Inputs
(/.f64 x (-.f64 #s(literal 1 binary64) x))
Outputs
(/.f64 x (-.f64 #s(literal 1 binary64) x))
Compiler

Compiled 5 to 4 computations (20% saved)

eval0.0ms (0%)

Memory
0.5MiB live, 0.5MiB allocated
Compiler

Compiled 0 to 1 computations (-∞% saved)

prune0.0ms (0%)

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

Compiled 5 to 4 computations (20% saved)

simplify5.0ms (0.1%)

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

Found 2 expressions of interest:

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

Useful iterations: 0 (0.0ms)

IterNodesCost
0410
0610
11010
21410
31910
42610
53610
65110
77410
89610
910410
1010610
010610
Stop Event
iter limit
saturated
iter limit
Calls
Call 1
Inputs
(/.f64 x (-.f64 #s(literal 1 binary64) x))
x
(-.f64 #s(literal 1 binary64) x)
#s(literal 1 binary64)
Outputs
(/.f64 x (-.f64 #s(literal 1 binary64) x))
x
(-.f64 #s(literal 1 binary64) x)
#s(literal 1 binary64)

localize15.0ms (0.2%)

Memory
-5.2MiB live, 34.3MiB allocated
Localize:

Found 2 expressions of interest:

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

Compiled 22 to 10 computations (54.5% saved)

Precisions
Click to see histograms. Total time spent on operations: 4.0ms
ival-div: 3.0ms (66.8% of total)
ival-sub: 1.0ms (22.3% of total)
ival-true: 0.0ms (0% of total)
exact: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

series1.0ms (0%)

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

3 calls:

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

simplify284.0ms (4.8%)

Memory
-18.9MiB live, 139.3MiB allocated
Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
033135
193120
2220114
3545112
41047112
51955112
63384112
74540112
84656112
94656112
104818112
114893112
124893112
04893109
Stop Event
iter limit
saturated
Counts
24 → 23
Calls
Call 1
Inputs
x
(* x (+ 1 x))
(* x (+ 1 (* x (+ 1 x))))
(* x (+ 1 (* x (+ 1 (* x (+ 1 x))))))
1
(+ 1 (* -1 x))
(+ 1 (* -1 x))
(+ 1 (* -1 x))
-1
(* -1 (+ 1 (/ 1 x)))
(- (* -1 (/ (+ 1 (/ 1 x)) x)) 1)
(- (* -1 (/ (+ 1 (/ 1 x)) (pow x 2))) (+ 1 (/ 1 x)))
(* -1 x)
(* x (- (/ 1 x) 1))
(* x (- (/ 1 x) 1))
(* x (- (/ 1 x) 1))
-1
(* -1 (+ 1 (/ 1 x)))
(- (* -1 (/ (+ 1 (/ 1 x)) x)) 1)
(- (* -1 (/ (+ 1 (+ (/ 1 x) (/ 1 (pow x 2)))) x)) 1)
(* -1 x)
(* -1 (* x (- 1 (/ 1 x))))
(* -1 (* x (- 1 (/ 1 x))))
(* -1 (* x (- 1 (/ 1 x))))
Outputs
x
(* x (+ 1 x))
(fma.f64 x x x)
(* x (+ 1 (* x (+ 1 x))))
(fma.f64 (fma.f64 x x x) x x)
(* x (+ 1 (* x (+ 1 (* x (+ 1 x))))))
(*.f64 (+.f64 (pow.f64 x #s(literal 3 binary64)) x) (-.f64 x #s(literal -1 binary64)))
1
#s(literal 1 binary64)
(+ 1 (* -1 x))
(-.f64 #s(literal 1 binary64) x)
(+ 1 (* -1 x))
(-.f64 #s(literal 1 binary64) x)
(+ 1 (* -1 x))
(-.f64 #s(literal 1 binary64) x)
-1
#s(literal -1 binary64)
(* -1 (+ 1 (/ 1 x)))
(-.f64 #s(literal -1 binary64) (/.f64 #s(literal 1 binary64) x))
(- (* -1 (/ (+ 1 (/ 1 x)) x)) 1)
(-.f64 #s(literal -1 binary64) (/.f64 (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal -1 binary64)) x))
(- (* -1 (/ (+ 1 (/ 1 x)) (pow x 2))) (+ 1 (/ 1 x)))
(*.f64 (-.f64 (/.f64 (/.f64 #s(literal -1 binary64) x) x) #s(literal 1 binary64)) (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal -1 binary64)))
(* -1 x)
(neg.f64 x)
(* x (- (/ 1 x) 1))
(-.f64 #s(literal 1 binary64) x)
(* x (- (/ 1 x) 1))
(-.f64 #s(literal 1 binary64) x)
(* x (- (/ 1 x) 1))
(-.f64 #s(literal 1 binary64) x)
-1
#s(literal -1 binary64)
(* -1 (+ 1 (/ 1 x)))
(-.f64 #s(literal -1 binary64) (/.f64 #s(literal 1 binary64) x))
(- (* -1 (/ (+ 1 (/ 1 x)) x)) 1)
(-.f64 #s(literal -1 binary64) (/.f64 (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal -1 binary64)) x))
(- (* -1 (/ (+ 1 (+ (/ 1 x) (/ 1 (pow x 2)))) x)) 1)
(*.f64 (-.f64 (/.f64 (/.f64 #s(literal -1 binary64) x) x) #s(literal 1 binary64)) (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal -1 binary64)))
(* -1 x)
(neg.f64 x)
(* -1 (* x (- 1 (/ 1 x))))
(-.f64 #s(literal 1 binary64) x)
(* -1 (* x (- 1 (/ 1 x))))
(-.f64 #s(literal 1 binary64) x)
(* -1 (* x (- 1 (/ 1 x))))
(-.f64 #s(literal 1 binary64) x)

rewrite148.0ms (2.5%)

Memory
8.3MiB live, 148.4MiB allocated
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
048
068
1298
21838
316128
093478
Stop Event
iter limit
node limit
iter limit
Counts
2 → 425
Calls
Call 1
Inputs
(/.f64 x (-.f64 #s(literal 1 binary64) x))
(-.f64 #s(literal 1 binary64) x)
Outputs
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>

eval75.0ms (1.3%)

Memory
4.5MiB live, 75.6MiB allocated
Compiler

Compiled 10 226 to 1 289 computations (87.4% saved)

prune11.0ms (0.2%)

Memory
-10.2MiB live, 26.6MiB allocated
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New4444448
Fresh000
Picked011
Done000
Total4445449
Accuracy
100.0%
Counts
449 → 5
Alt Table
Click to see full alt table
StatusAccuracyProgram
71.9%
(/.f64 (neg.f64 (fma.f64 x x x)) (+.f64 #s(literal -1 binary64) (*.f64 x x)))
100.0%
(/.f64 x (-.f64 #s(literal 1 binary64) x))
45.4%
#s(approx (/ x (- 1 x)) (fma.f64 (fma.f64 x x x) x x))
44.3%
#s(approx (/ x (- 1 x)) (fma.f64 x x x))
56.8%
#s(approx (/ x (- 1 x)) #s(literal -1 binary64))
Compiler

Compiled 31 to 21 computations (32.3% saved)

simplify184.0ms (3.1%)

Memory
18.7MiB live, 227.4MiB allocated
Algorithm
egg-herbie
Localize:

Found 10 expressions of interest:

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

Useful iterations: 0 (0.0ms)

IterNodesCost
01478
02178
13978
28678
321372
450272
5170372
6596472
0804371
Stop Event
iter limit
node limit
iter limit
Calls
Call 1
Inputs
#s(approx (/ x (- 1 x)) #s(literal -1 binary64))
#s(literal -1 binary64)
#s(approx (/ x (- 1 x)) (fma.f64 x x x))
(fma.f64 x x x)
x
#s(approx (/ x (- 1 x)) (fma.f64 (fma.f64 x x x) x x))
(fma.f64 (fma.f64 x x x) x x)
(fma.f64 x x x)
x
(/.f64 (neg.f64 (fma.f64 x x x)) (+.f64 #s(literal -1 binary64) (*.f64 x x)))
(neg.f64 (fma.f64 x x x))
(fma.f64 x x x)
x
(+.f64 #s(literal -1 binary64) (*.f64 x x))
#s(literal -1 binary64)
(*.f64 x x)
Outputs
#s(approx (/ x (- 1 x)) #s(literal -1 binary64))
#s(literal -1 binary64)
#s(approx (/ x (- 1 x)) (fma.f64 x x x))
(fma.f64 x x x)
x
#s(approx (/ x (- 1 x)) (fma.f64 (fma.f64 x x x) x x))
(fma.f64 (fma.f64 x x x) x x)
(fma.f64 x x x)
x
(/.f64 (neg.f64 (fma.f64 x x x)) (+.f64 #s(literal -1 binary64) (*.f64 x x)))
(/.f64 x (-.f64 #s(literal 1 binary64) x))
(neg.f64 (fma.f64 x x x))
(*.f64 (-.f64 #s(literal -1 binary64) x) x)
(fma.f64 x x x)
x
(+.f64 #s(literal -1 binary64) (*.f64 x x))
(fma.f64 x x #s(literal -1 binary64))
#s(literal -1 binary64)
(*.f64 x x)

localize35.0ms (0.6%)

Memory
-8.7MiB live, 65.4MiB allocated
Localize:

Found 10 expressions of interest:

NewMetricScoreProgram
accuracy0
(+.f64 #s(literal -1 binary64) (*.f64 x x))
accuracy0
(*.f64 x x)
accuracy0
(neg.f64 (fma.f64 x x x))
accuracy17.88697878092816
(/.f64 (neg.f64 (fma.f64 x x x)) (+.f64 #s(literal -1 binary64) (*.f64 x x)))
accuracy0
(fma.f64 x x x)
accuracy0.0234375
(fma.f64 (fma.f64 x x x) x x)
accuracy34.94593551052783
#s(approx (/ x (- 1 x)) (fma.f64 (fma.f64 x x x) x x))
accuracy0
(fma.f64 x x x)
accuracy35.668347190153305
#s(approx (/ x (- 1 x)) (fma.f64 x x x))
accuracy27.659873861959152
#s(approx (/ x (- 1 x)) #s(literal -1 binary64))
Samples
24.0ms256×0valid
Compiler

Compiled 135 to 25 computations (81.5% saved)

Precisions
Click to see histograms. Total time spent on operations: 13.0ms
ival-div: 3.0ms (22.6% of total)
ival-add: 3.0ms (22.6% of total)
ival-mult: 3.0ms (22.6% of total)
ival-sub: 2.0ms (15% of total)
ival-neg: 1.0ms (7.5% of total)
ival-true: 0.0ms (0% of total)
exact: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

series5.0ms (0.1%)

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

3 calls:

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

simplify191.0ms (3.2%)

Memory
-13.7MiB live, 107.1MiB allocated
Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
041664
1129640
2366603
31145595
42989595
56208595
08133542
Stop Event
iter limit
node limit
Counts
108 → 102
Calls
Call 1
Inputs
x
(* x (+ 1 x))
(* x (+ 1 (* x (+ 1 x))))
(* x (+ 1 (* x (+ 1 (* x (+ 1 x))))))
x
(* x (+ 1 x))
(* x (+ 1 (* x (+ 1 x))))
(* x (+ 1 (* x (+ 1 (* x (+ 1 x))))))
x
(* x (+ 1 x))
(* x (+ 1 x))
(* x (+ 1 x))
x
(* x (+ 1 x))
(* x (+ 1 (* x (+ 1 x))))
(* x (+ 1 (* x (+ 1 (* x (+ 1 x))))))
x
(* x (+ 1 x))
(* x (+ 1 (* x (+ 1 x))))
(* x (+ 1 (* x (+ 1 x))))
x
(* x (+ 1 x))
(* x (+ 1 (* x (+ 1 x))))
(* x (+ 1 (* x (+ 1 (* x (+ 1 x))))))
-1
(- (pow x 2) 1)
(- (pow x 2) 1)
(- (pow x 2) 1)
(* -1 x)
(* x (- (* -1 x) 1))
(* x (- (* -1 x) 1))
(* x (- (* -1 x) 1))
(pow x 2)
(pow x 2)
(pow x 2)
(pow x 2)
-1
(* -1 (+ 1 (/ 1 x)))
(- (* -1 (/ (+ 1 (/ 1 x)) x)) 1)
(- (* -1 (/ (+ 1 (/ 1 x)) (pow x 2))) (+ 1 (/ 1 x)))
-1
(* -1 (+ 1 (/ 1 x)))
(- (* -1 (/ (+ 1 (/ 1 x)) x)) 1)
(- (* -1 (/ (+ 1 (/ 1 x)) (pow x 2))) (+ 1 (/ 1 x)))
(pow x 2)
(* (pow x 2) (+ 1 (/ 1 x)))
(* (pow x 2) (+ 1 (/ 1 x)))
(* (pow x 2) (+ 1 (/ 1 x)))
-1
(* -1 (+ 1 (/ 1 x)))
(- (* -1 (/ (+ 1 (/ 1 x)) x)) 1)
(- (* -1 (/ (+ 1 (/ 1 x)) (pow x 2))) (+ 1 (/ 1 x)))
(pow x 3)
(* (pow x 3) (+ 1 (/ 1 x)))
(* (pow x 3) (+ 1 (+ (/ 1 x) (/ 1 (pow x 2)))))
(* (pow x 3) (+ 1 (+ (/ 1 x) (/ 1 (pow x 2)))))
-1
(* -1 (+ 1 (/ 1 x)))
(- (* -1 (/ (+ 1 (/ 1 x)) x)) 1)
(- (* -1 (/ (+ 1 (/ 1 x)) (pow x 2))) (+ 1 (/ 1 x)))
(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 (pow x 2))
(* -1 (* (pow x 2) (+ 1 (/ 1 x))))
(* -1 (* (pow x 2) (+ 1 (/ 1 x))))
(* -1 (* (pow x 2) (+ 1 (/ 1 x))))
(pow x 2)
(pow x 2)
(pow x 2)
(pow x 2)
-1
(* -1 (+ 1 (/ 1 x)))
(- (* -1 (/ (+ 1 (/ 1 x)) x)) 1)
(- (* -1 (/ (+ 1 (+ (/ 1 x) (/ 1 (pow x 2)))) x)) 1)
-1
(* -1 (+ 1 (/ 1 x)))
(- (* -1 (/ (+ 1 (/ 1 x)) x)) 1)
(- (* -1 (/ (+ 1 (+ (/ 1 x) (/ 1 (pow x 2)))) x)) 1)
(pow x 2)
(* (pow x 2) (+ 1 (/ 1 x)))
(* (pow x 2) (+ 1 (/ 1 x)))
(* (pow x 2) (+ 1 (/ 1 x)))
-1
(* -1 (+ 1 (/ 1 x)))
(- (* -1 (/ (+ 1 (/ 1 x)) x)) 1)
(- (* -1 (/ (+ 1 (+ (/ 1 x) (/ 1 (pow x 2)))) x)) 1)
(pow x 3)
(* (pow x 3) (+ 1 (/ 1 x)))
(* -1 (* (pow x 3) (- (* -1 (/ (+ 1 (/ 1 x)) x)) 1)))
(* -1 (* (pow x 3) (- (* -1 (/ (+ 1 (/ 1 x)) x)) 1)))
-1
(* -1 (+ 1 (/ 1 x)))
(- (* -1 (/ (+ 1 (/ 1 x)) x)) 1)
(- (* -1 (/ (+ 1 (+ (/ 1 x) (/ 1 (pow x 2)))) x)) 1)
(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 (pow x 2))
(* -1 (* (pow x 2) (+ 1 (/ 1 x))))
(* -1 (* (pow x 2) (+ 1 (/ 1 x))))
(* -1 (* (pow x 2) (+ 1 (/ 1 x))))
(pow x 2)
(pow x 2)
(pow x 2)
(pow x 2)
Outputs
x
(* x (+ 1 x))
(fma.f64 x x x)
(* x (+ 1 (* x (+ 1 x))))
(fma.f64 (fma.f64 x x x) x x)
(* x (+ 1 (* x (+ 1 (* x (+ 1 x))))))
(*.f64 (+.f64 (pow.f64 x #s(literal 3 binary64)) x) (-.f64 x #s(literal -1 binary64)))
x
(* x (+ 1 x))
(fma.f64 x x x)
(* x (+ 1 (* x (+ 1 x))))
(fma.f64 (fma.f64 x x x) x x)
(* x (+ 1 (* x (+ 1 (* x (+ 1 x))))))
(*.f64 (+.f64 (pow.f64 x #s(literal 3 binary64)) x) (-.f64 x #s(literal -1 binary64)))
x
(* x (+ 1 x))
(fma.f64 x x x)
(* x (+ 1 x))
(fma.f64 x x x)
(* x (+ 1 x))
(fma.f64 x x x)
x
(* x (+ 1 x))
(fma.f64 x x x)
(* x (+ 1 (* x (+ 1 x))))
(fma.f64 (fma.f64 x x x) x x)
(* x (+ 1 (* x (+ 1 (* x (+ 1 x))))))
(*.f64 (+.f64 (pow.f64 x #s(literal 3 binary64)) x) (-.f64 x #s(literal -1 binary64)))
x
(* x (+ 1 x))
(fma.f64 x x x)
(* x (+ 1 (* x (+ 1 x))))
(fma.f64 (fma.f64 x x x) x x)
(* x (+ 1 (* x (+ 1 x))))
(fma.f64 (fma.f64 x x x) x x)
x
(* x (+ 1 x))
(fma.f64 x x x)
(* x (+ 1 (* x (+ 1 x))))
(fma.f64 (fma.f64 x x x) x x)
(* x (+ 1 (* x (+ 1 (* x (+ 1 x))))))
(*.f64 (+.f64 (pow.f64 x #s(literal 3 binary64)) x) (-.f64 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 x)
(neg.f64 x)
(* x (- (* -1 x) 1))
(*.f64 (-.f64 #s(literal -1 binary64) x) x)
(* x (- (* -1 x) 1))
(*.f64 (-.f64 #s(literal -1 binary64) x) x)
(* x (- (* -1 x) 1))
(*.f64 (-.f64 #s(literal -1 binary64) 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 (+ 1 (/ 1 x)))
(/.f64 (-.f64 #s(literal -1 binary64) x) x)
(- (* -1 (/ (+ 1 (/ 1 x)) x)) 1)
(-.f64 #s(literal -1 binary64) (/.f64 (/.f64 (-.f64 x #s(literal -1 binary64)) x) x))
(- (* -1 (/ (+ 1 (/ 1 x)) (pow x 2))) (+ 1 (/ 1 x)))
(-.f64 (/.f64 (fma.f64 (-.f64 #s(literal -1 binary64) x) x #s(literal -1 binary64)) (pow.f64 x #s(literal 3 binary64))) #s(literal 1 binary64))
-1
#s(literal -1 binary64)
(* -1 (+ 1 (/ 1 x)))
(/.f64 (-.f64 #s(literal -1 binary64) x) x)
(- (* -1 (/ (+ 1 (/ 1 x)) x)) 1)
(-.f64 #s(literal -1 binary64) (/.f64 (/.f64 (-.f64 x #s(literal -1 binary64)) x) x))
(- (* -1 (/ (+ 1 (/ 1 x)) (pow x 2))) (+ 1 (/ 1 x)))
(-.f64 (/.f64 (fma.f64 (-.f64 #s(literal -1 binary64) x) x #s(literal -1 binary64)) (pow.f64 x #s(literal 3 binary64))) #s(literal 1 binary64))
(pow x 2)
(*.f64 x x)
(* (pow x 2) (+ 1 (/ 1 x)))
(fma.f64 x x x)
(* (pow x 2) (+ 1 (/ 1 x)))
(fma.f64 x x x)
(* (pow x 2) (+ 1 (/ 1 x)))
(fma.f64 x x x)
-1
#s(literal -1 binary64)
(* -1 (+ 1 (/ 1 x)))
(/.f64 (-.f64 #s(literal -1 binary64) x) x)
(- (* -1 (/ (+ 1 (/ 1 x)) x)) 1)
(-.f64 #s(literal -1 binary64) (/.f64 (/.f64 (-.f64 x #s(literal -1 binary64)) x) x))
(- (* -1 (/ (+ 1 (/ 1 x)) (pow x 2))) (+ 1 (/ 1 x)))
(-.f64 (/.f64 (fma.f64 (-.f64 #s(literal -1 binary64) x) x #s(literal -1 binary64)) (pow.f64 x #s(literal 3 binary64))) #s(literal 1 binary64))
(pow x 3)
(pow.f64 x #s(literal 3 binary64))
(* (pow x 3) (+ 1 (/ 1 x)))
(*.f64 (fma.f64 x x x) x)
(* (pow x 3) (+ 1 (+ (/ 1 x) (/ 1 (pow x 2)))))
(fma.f64 (fma.f64 x x x) x x)
(* (pow x 3) (+ 1 (+ (/ 1 x) (/ 1 (pow x 2)))))
(fma.f64 (fma.f64 x x x) x x)
-1
#s(literal -1 binary64)
(* -1 (+ 1 (/ 1 x)))
(/.f64 (-.f64 #s(literal -1 binary64) x) x)
(- (* -1 (/ (+ 1 (/ 1 x)) x)) 1)
(-.f64 #s(literal -1 binary64) (/.f64 (/.f64 (-.f64 x #s(literal -1 binary64)) x) x))
(- (* -1 (/ (+ 1 (/ 1 x)) (pow x 2))) (+ 1 (/ 1 x)))
(-.f64 (/.f64 (fma.f64 (-.f64 #s(literal -1 binary64) x) x #s(literal -1 binary64)) (pow.f64 x #s(literal 3 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))
(* -1 (pow x 2))
(*.f64 (neg.f64 x) x)
(* -1 (* (pow x 2) (+ 1 (/ 1 x))))
(*.f64 (-.f64 #s(literal -1 binary64) x) x)
(* -1 (* (pow x 2) (+ 1 (/ 1 x))))
(*.f64 (-.f64 #s(literal -1 binary64) x) x)
(* -1 (* (pow x 2) (+ 1 (/ 1 x))))
(*.f64 (-.f64 #s(literal -1 binary64) 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 (+ 1 (/ 1 x)))
(/.f64 (-.f64 #s(literal -1 binary64) x) x)
(- (* -1 (/ (+ 1 (/ 1 x)) x)) 1)
(-.f64 #s(literal -1 binary64) (/.f64 (/.f64 (-.f64 x #s(literal -1 binary64)) x) x))
(- (* -1 (/ (+ 1 (+ (/ 1 x) (/ 1 (pow x 2)))) x)) 1)
(-.f64 (/.f64 (fma.f64 (-.f64 #s(literal -1 binary64) x) x #s(literal -1 binary64)) (pow.f64 x #s(literal 3 binary64))) #s(literal 1 binary64))
-1
#s(literal -1 binary64)
(* -1 (+ 1 (/ 1 x)))
(/.f64 (-.f64 #s(literal -1 binary64) x) x)
(- (* -1 (/ (+ 1 (/ 1 x)) x)) 1)
(-.f64 #s(literal -1 binary64) (/.f64 (/.f64 (-.f64 x #s(literal -1 binary64)) x) x))
(- (* -1 (/ (+ 1 (+ (/ 1 x) (/ 1 (pow x 2)))) x)) 1)
(-.f64 (/.f64 (fma.f64 (-.f64 #s(literal -1 binary64) x) x #s(literal -1 binary64)) (pow.f64 x #s(literal 3 binary64))) #s(literal 1 binary64))
(pow x 2)
(*.f64 x x)
(* (pow x 2) (+ 1 (/ 1 x)))
(fma.f64 x x x)
(* (pow x 2) (+ 1 (/ 1 x)))
(fma.f64 x x x)
(* (pow x 2) (+ 1 (/ 1 x)))
(fma.f64 x x x)
-1
#s(literal -1 binary64)
(* -1 (+ 1 (/ 1 x)))
(/.f64 (-.f64 #s(literal -1 binary64) x) x)
(- (* -1 (/ (+ 1 (/ 1 x)) x)) 1)
(-.f64 #s(literal -1 binary64) (/.f64 (/.f64 (-.f64 x #s(literal -1 binary64)) x) x))
(- (* -1 (/ (+ 1 (+ (/ 1 x) (/ 1 (pow x 2)))) x)) 1)
(-.f64 (/.f64 (fma.f64 (-.f64 #s(literal -1 binary64) x) x #s(literal -1 binary64)) (pow.f64 x #s(literal 3 binary64))) #s(literal 1 binary64))
(pow x 3)
(pow.f64 x #s(literal 3 binary64))
(* (pow x 3) (+ 1 (/ 1 x)))
(*.f64 (fma.f64 x x x) x)
(* -1 (* (pow x 3) (- (* -1 (/ (+ 1 (/ 1 x)) x)) 1)))
(fma.f64 (fma.f64 x x x) x x)
(* -1 (* (pow x 3) (- (* -1 (/ (+ 1 (/ 1 x)) x)) 1)))
(fma.f64 (fma.f64 x x x) x x)
-1
#s(literal -1 binary64)
(* -1 (+ 1 (/ 1 x)))
(/.f64 (-.f64 #s(literal -1 binary64) x) x)
(- (* -1 (/ (+ 1 (/ 1 x)) x)) 1)
(-.f64 #s(literal -1 binary64) (/.f64 (/.f64 (-.f64 x #s(literal -1 binary64)) x) x))
(- (* -1 (/ (+ 1 (+ (/ 1 x) (/ 1 (pow x 2)))) x)) 1)
(-.f64 (/.f64 (fma.f64 (-.f64 #s(literal -1 binary64) x) x #s(literal -1 binary64)) (pow.f64 x #s(literal 3 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))
(* -1 (pow x 2))
(*.f64 (neg.f64 x) x)
(* -1 (* (pow x 2) (+ 1 (/ 1 x))))
(*.f64 (-.f64 #s(literal -1 binary64) x) x)
(* -1 (* (pow x 2) (+ 1 (/ 1 x))))
(*.f64 (-.f64 #s(literal -1 binary64) x) x)
(* -1 (* (pow x 2) (+ 1 (/ 1 x))))
(*.f64 (-.f64 #s(literal -1 binary64) 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)

rewrite183.0ms (3.1%)

Memory
-9.7MiB live, 191.9MiB allocated
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01465
02165
19659
270259
0833458
Stop Event
iter limit
node limit
iter limit
Counts
9 → 793
Calls
Call 1
Inputs
#s(approx (/ x (- 1 x)) #s(literal -1 binary64))
#s(approx (/ x (- 1 x)) (fma.f64 x x x))
(fma.f64 x x x)
#s(approx (/ x (- 1 x)) (fma.f64 (fma.f64 x x x) x x))
(fma.f64 (fma.f64 x x x) x x)
(/.f64 (neg.f64 (fma.f64 x x x)) (+.f64 #s(literal -1 binary64) (*.f64 x x)))
(+.f64 #s(literal -1 binary64) (*.f64 x x))
(neg.f64 (fma.f64 x x x))
(*.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>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>

eval179.0ms (3%)

Memory
30.0MiB live, 215.0MiB allocated
Compiler

Compiled 23 710 to 2 660 computations (88.8% saved)

prune40.0ms (0.7%)

Memory
-20.8MiB live, 64.0MiB allocated
Pruning

7 alts after pruning (3 fresh and 4 done)

PrunedKeptTotal
New1 21631 219
Fresh000
Picked134
Done011
Total1 21771 224
Accuracy
100.0%
Counts
1 224 → 7
Alt Table
Click to see full alt table
StatusAccuracyProgram
71.9%
(/.f64 (fma.f64 x x x) (fma.f64 (neg.f64 x) x #s(literal 1 binary64)))
100.0%
(/.f64 x (-.f64 #s(literal 1 binary64) x))
45.4%
#s(approx (/ x (- 1 x)) (fma.f64 (fma.f64 x x x) x x))
44.3%
#s(approx (/ x (- 1 x)) (fma.f64 x x x))
44.3%
#s(approx (/ x (- 1 x)) (*.f64 (+.f64 #s(literal 1 binary64) x) x))
2.9%
#s(approx (/ x (- 1 x)) #s(approx (+ (* x x) x) (*.f64 x x)))
56.8%
#s(approx (/ x (- 1 x)) #s(literal -1 binary64))
Compiler

Compiled 41 to 29 computations (29.3% saved)

simplify184.0ms (3.1%)

Memory
11.2MiB live, 203.0MiB allocated
Algorithm
egg-herbie
Localize:

Found 10 expressions of interest:

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

Useful iterations: 6 (0.0ms)

IterNodesCost
01670
02468
13868
25668
37168
412668
520468
653363
7196663
8385963
9600563
10704663
11776863
0807663
Stop Event
iter limit
node limit
iter limit
Calls
Call 1
Inputs
#s(approx (/ x (- 1 x)) #s(approx (+ (* x x) x) (*.f64 x x)))
#s(approx (+ (* x x) x) (*.f64 x x))
(*.f64 x x)
x
#s(approx (/ x (- 1 x)) (*.f64 (+.f64 #s(literal 1 binary64) x) x))
(*.f64 (+.f64 #s(literal 1 binary64) x) x)
(+.f64 #s(literal 1 binary64) x)
#s(literal 1 binary64)
x
(/.f64 (fma.f64 x x x) (fma.f64 (neg.f64 x) x #s(literal 1 binary64)))
(fma.f64 x x x)
x
(fma.f64 (neg.f64 x) x #s(literal 1 binary64))
(neg.f64 x)
#s(literal 1 binary64)
Outputs
#s(approx (/ x (- 1 x)) #s(approx (+ (* x x) x) (*.f64 x x)))
#s(approx (+ (* x x) x) (*.f64 x x))
(*.f64 x x)
x
#s(approx (/ x (- 1 x)) (*.f64 (+.f64 #s(literal 1 binary64) x) x))
#s(approx (/ x (- 1 x)) (fma.f64 x x x))
(*.f64 (+.f64 #s(literal 1 binary64) x) x)
(fma.f64 x x x)
(+.f64 #s(literal 1 binary64) x)
(-.f64 x #s(literal -1 binary64))
#s(literal 1 binary64)
x
(/.f64 (fma.f64 x x x) (fma.f64 (neg.f64 x) x #s(literal 1 binary64)))
(/.f64 x (-.f64 #s(literal 1 binary64) x))
(fma.f64 x x x)
x
(fma.f64 (neg.f64 x) x #s(literal 1 binary64))
(neg.f64 x)
#s(literal 1 binary64)

localize69.0ms (1.2%)

Memory
-1.1MiB live, 98.8MiB allocated
Localize:

Found 10 expressions of interest:

NewMetricScoreProgram
accuracy0
(fma.f64 (neg.f64 x) x #s(literal 1 binary64))
accuracy0
(fma.f64 x x x)
accuracy0
(neg.f64 x)
accuracy17.88697878092816
(/.f64 (fma.f64 x x x) (fma.f64 (neg.f64 x) x #s(literal 1 binary64)))
accuracy0
(+.f64 #s(literal 1 binary64) x)
accuracy0.015625
(*.f64 (+.f64 #s(literal 1 binary64) x) x)
accuracy35.668347190153305
#s(approx (/ x (- 1 x)) (*.f64 (+.f64 #s(literal 1 binary64) x) x))
accuracy0
(*.f64 x x)
accuracy27.167981222220657
#s(approx (+ (* x x) x) (*.f64 x x))
accuracy35.668347190153305
#s(approx (/ x (- 1 x)) #s(approx (+ (* x x) x) (*.f64 x x)))
Samples
24.0ms256×0valid
Compiler

Compiled 110 to 26 computations (76.4% saved)

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

series22.0ms (0.4%)

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

3 calls:

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

simplify505.0ms (8.5%)

Memory
37.1MiB live, 188.3MiB allocated
Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
033591
1101564
2215546
3704540
42823540
54988540
08231498
Stop Event
iter limit
node limit
Counts
120 → 112
Calls
Call 1
Inputs
x
(* x (+ 1 x))
(* x (+ 1 (* x (+ 1 x))))
(* x (+ 1 (* x (+ 1 (* x (+ 1 x))))))
x
(* x (+ 1 x))
(* x (+ 1 x))
(* x (+ 1 x))
(pow x 2)
(pow x 2)
(pow x 2)
(pow x 2)
x
(* x (+ 1 x))
(* x (+ 1 x))
(* x (+ 1 x))
x
(* x (+ 1 x))
(* x (+ 1 (* x (+ 1 x))))
(* x (+ 1 (* x (+ 1 (* x (+ 1 x))))))
1
(+ 1 x)
(+ 1 x)
(+ 1 x)
x
(* x (+ 1 x))
(* x (+ 1 (* x (+ 1 x))))
(* x (+ 1 (* x (+ 1 (* x (+ 1 x))))))
x
(* x (+ 1 x))
(* x (+ 1 x))
(* x (+ 1 x))
1
(+ 1 (* -1 (pow x 2)))
(+ 1 (* -1 (pow x 2)))
(+ 1 (* -1 (pow x 2)))
(* -1 x)
(* -1 x)
(* -1 x)
(* -1 x)
-1
(* -1 (+ 1 (/ 1 x)))
(- (* -1 (/ (+ 1 (/ 1 x)) x)) 1)
(- (* -1 (/ (+ 1 (/ 1 x)) (pow x 2))) (+ 1 (/ 1 x)))
(pow x 2)
(* (pow x 2) (+ 1 (/ 1 x)))
(* (pow x 2) (+ 1 (/ 1 x)))
(* (pow x 2) (+ 1 (/ 1 x)))
(pow x 2)
(pow x 2)
(pow x 2)
(pow x 2)
(pow x 2)
(* (pow x 2) (+ 1 (/ 1 x)))
(* (pow x 2) (+ 1 (/ 1 x)))
(* (pow x 2) (+ 1 (/ 1 x)))
-1
(* -1 (+ 1 (/ 1 x)))
(- (* -1 (/ (+ 1 (/ 1 x)) x)) 1)
(- (* -1 (/ (+ 1 (/ 1 x)) (pow x 2))) (+ 1 (/ 1 x)))
x
(* x (+ 1 (/ 1 x)))
(* x (+ 1 (/ 1 x)))
(* x (+ 1 (/ 1 x)))
-1
(* -1 (+ 1 (/ 1 x)))
(- (* -1 (/ (+ 1 (/ 1 x)) x)) 1)
(- (* -1 (/ (+ 1 (/ 1 x)) (pow x 2))) (+ 1 (/ 1 x)))
(pow x 2)
(* (pow x 2) (+ 1 (/ 1 x)))
(* (pow x 2) (+ 1 (/ 1 x)))
(* (pow x 2) (+ 1 (/ 1 x)))
(* -1 (pow x 2))
(* (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 x)
(* -1 x)
(* -1 x)
(* -1 x)
-1
(* -1 (+ 1 (/ 1 x)))
(- (* -1 (/ (+ 1 (/ 1 x)) x)) 1)
(- (* -1 (/ (+ 1 (+ (/ 1 x) (/ 1 (pow x 2)))) x)) 1)
(pow x 2)
(* (pow x 2) (+ 1 (/ 1 x)))
(* (pow x 2) (+ 1 (/ 1 x)))
(* (pow x 2) (+ 1 (/ 1 x)))
(pow x 2)
(pow x 2)
(pow x 2)
(pow x 2)
(pow x 2)
(* (pow x 2) (+ 1 (/ 1 x)))
(* (pow x 2) (+ 1 (/ 1 x)))
(* (pow x 2) (+ 1 (/ 1 x)))
-1
(* -1 (+ 1 (/ 1 x)))
(- (* -1 (/ (+ 1 (/ 1 x)) x)) 1)
(- (* -1 (/ (+ 1 (+ (/ 1 x) (/ 1 (pow x 2)))) x)) 1)
x
(* x (+ 1 (/ 1 x)))
(* x (+ 1 (/ 1 x)))
(* x (+ 1 (/ 1 x)))
-1
(* -1 (+ 1 (/ 1 x)))
(- (* -1 (/ (+ 1 (/ 1 x)) x)) 1)
(- (* -1 (/ (+ 1 (+ (/ 1 x) (/ 1 (pow x 2)))) x)) 1)
(pow x 2)
(* (pow x 2) (+ 1 (/ 1 x)))
(* (pow x 2) (+ 1 (/ 1 x)))
(* (pow x 2) (+ 1 (/ 1 x)))
(* -1 (pow x 2))
(* (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 x)
(* -1 x)
(* -1 x)
(* -1 x)
Outputs
x
(* x (+ 1 x))
(fma.f64 x x x)
(* x (+ 1 (* x (+ 1 x))))
(fma.f64 (fma.f64 x x x) x x)
(* x (+ 1 (* x (+ 1 (* x (+ 1 x))))))
(*.f64 (+.f64 (pow.f64 x #s(literal 3 binary64)) x) (-.f64 x #s(literal -1 binary64)))
x
(* x (+ 1 x))
(fma.f64 x x x)
(* x (+ 1 x))
(fma.f64 x x x)
(* x (+ 1 x))
(fma.f64 x 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)
x
(* x (+ 1 x))
(fma.f64 x x x)
(* x (+ 1 x))
(fma.f64 x x x)
(* x (+ 1 x))
(fma.f64 x x x)
x
(* x (+ 1 x))
(fma.f64 x x x)
(* x (+ 1 (* x (+ 1 x))))
(fma.f64 (fma.f64 x x x) x x)
(* x (+ 1 (* x (+ 1 (* x (+ 1 x))))))
(*.f64 (+.f64 (pow.f64 x #s(literal 3 binary64)) x) (-.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))
x
(* x (+ 1 x))
(fma.f64 x x x)
(* x (+ 1 (* x (+ 1 x))))
(fma.f64 (fma.f64 x x x) x x)
(* x (+ 1 (* x (+ 1 (* x (+ 1 x))))))
(*.f64 (+.f64 (pow.f64 x #s(literal 3 binary64)) x) (-.f64 x #s(literal -1 binary64)))
x
(* x (+ 1 x))
(fma.f64 x x x)
(* x (+ 1 x))
(fma.f64 x x x)
(* x (+ 1 x))
(fma.f64 x x x)
1
#s(literal 1 binary64)
(+ 1 (* -1 (pow x 2)))
(fma.f64 (neg.f64 x) x #s(literal 1 binary64))
(+ 1 (* -1 (pow x 2)))
(fma.f64 (neg.f64 x) x #s(literal 1 binary64))
(+ 1 (* -1 (pow x 2)))
(fma.f64 (neg.f64 x) x #s(literal 1 binary64))
(* -1 x)
(neg.f64 x)
(* -1 x)
(neg.f64 x)
(* -1 x)
(neg.f64 x)
(* -1 x)
(neg.f64 x)
-1
#s(literal -1 binary64)
(* -1 (+ 1 (/ 1 x)))
(-.f64 #s(literal -1 binary64) (/.f64 #s(literal 1 binary64) x))
(- (* -1 (/ (+ 1 (/ 1 x)) x)) 1)
(-.f64 #s(literal -1 binary64) (/.f64 (/.f64 (-.f64 x #s(literal -1 binary64)) x) x))
(- (* -1 (/ (+ 1 (/ 1 x)) (pow x 2))) (+ 1 (/ 1 x)))
(*.f64 (fma.f64 x x #s(literal 1 binary64)) (/.f64 (-.f64 #s(literal -1 binary64) x) (pow.f64 x #s(literal 3 binary64))))
(pow x 2)
(*.f64 x x)
(* (pow x 2) (+ 1 (/ 1 x)))
(fma.f64 x x x)
(* (pow x 2) (+ 1 (/ 1 x)))
(fma.f64 x x x)
(* (pow x 2) (+ 1 (/ 1 x)))
(fma.f64 x 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)
(pow x 2)
(*.f64 x x)
(* (pow x 2) (+ 1 (/ 1 x)))
(fma.f64 x x x)
(* (pow x 2) (+ 1 (/ 1 x)))
(fma.f64 x x x)
(* (pow x 2) (+ 1 (/ 1 x)))
(fma.f64 x x x)
-1
#s(literal -1 binary64)
(* -1 (+ 1 (/ 1 x)))
(-.f64 #s(literal -1 binary64) (/.f64 #s(literal 1 binary64) x))
(- (* -1 (/ (+ 1 (/ 1 x)) x)) 1)
(-.f64 #s(literal -1 binary64) (/.f64 (/.f64 (-.f64 x #s(literal -1 binary64)) x) x))
(- (* -1 (/ (+ 1 (/ 1 x)) (pow x 2))) (+ 1 (/ 1 x)))
(*.f64 (fma.f64 x x #s(literal 1 binary64)) (/.f64 (-.f64 #s(literal -1 binary64) x) (pow.f64 x #s(literal 3 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 (+ 1 (/ 1 x)))
(-.f64 #s(literal -1 binary64) (/.f64 #s(literal 1 binary64) x))
(- (* -1 (/ (+ 1 (/ 1 x)) x)) 1)
(-.f64 #s(literal -1 binary64) (/.f64 (/.f64 (-.f64 x #s(literal -1 binary64)) x) x))
(- (* -1 (/ (+ 1 (/ 1 x)) (pow x 2))) (+ 1 (/ 1 x)))
(*.f64 (fma.f64 x x #s(literal 1 binary64)) (/.f64 (-.f64 #s(literal -1 binary64) x) (pow.f64 x #s(literal 3 binary64))))
(pow x 2)
(*.f64 x x)
(* (pow x 2) (+ 1 (/ 1 x)))
(fma.f64 x x x)
(* (pow x 2) (+ 1 (/ 1 x)))
(fma.f64 x x x)
(* (pow x 2) (+ 1 (/ 1 x)))
(fma.f64 x x x)
(* -1 (pow x 2))
(*.f64 (neg.f64 x) x)
(* (pow x 2) (- (/ 1 (pow x 2)) 1))
(fma.f64 (neg.f64 x) x #s(literal 1 binary64))
(* (pow x 2) (- (/ 1 (pow x 2)) 1))
(fma.f64 (neg.f64 x) x #s(literal 1 binary64))
(* (pow x 2) (- (/ 1 (pow x 2)) 1))
(fma.f64 (neg.f64 x) x #s(literal 1 binary64))
(* -1 x)
(neg.f64 x)
(* -1 x)
(neg.f64 x)
(* -1 x)
(neg.f64 x)
(* -1 x)
(neg.f64 x)
-1
#s(literal -1 binary64)
(* -1 (+ 1 (/ 1 x)))
(-.f64 #s(literal -1 binary64) (/.f64 #s(literal 1 binary64) x))
(- (* -1 (/ (+ 1 (/ 1 x)) x)) 1)
(-.f64 #s(literal -1 binary64) (/.f64 (/.f64 (-.f64 x #s(literal -1 binary64)) x) x))
(- (* -1 (/ (+ 1 (+ (/ 1 x) (/ 1 (pow x 2)))) x)) 1)
(*.f64 (fma.f64 x x #s(literal 1 binary64)) (/.f64 (-.f64 #s(literal -1 binary64) x) (pow.f64 x #s(literal 3 binary64))))
(pow x 2)
(*.f64 x x)
(* (pow x 2) (+ 1 (/ 1 x)))
(fma.f64 x x x)
(* (pow x 2) (+ 1 (/ 1 x)))
(fma.f64 x x x)
(* (pow x 2) (+ 1 (/ 1 x)))
(fma.f64 x 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)
(pow x 2)
(*.f64 x x)
(* (pow x 2) (+ 1 (/ 1 x)))
(fma.f64 x x x)
(* (pow x 2) (+ 1 (/ 1 x)))
(fma.f64 x x x)
(* (pow x 2) (+ 1 (/ 1 x)))
(fma.f64 x x x)
-1
#s(literal -1 binary64)
(* -1 (+ 1 (/ 1 x)))
(-.f64 #s(literal -1 binary64) (/.f64 #s(literal 1 binary64) x))
(- (* -1 (/ (+ 1 (/ 1 x)) x)) 1)
(-.f64 #s(literal -1 binary64) (/.f64 (/.f64 (-.f64 x #s(literal -1 binary64)) x) x))
(- (* -1 (/ (+ 1 (+ (/ 1 x) (/ 1 (pow x 2)))) x)) 1)
(*.f64 (fma.f64 x x #s(literal 1 binary64)) (/.f64 (-.f64 #s(literal -1 binary64) x) (pow.f64 x #s(literal 3 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 (+ 1 (/ 1 x)))
(-.f64 #s(literal -1 binary64) (/.f64 #s(literal 1 binary64) x))
(- (* -1 (/ (+ 1 (/ 1 x)) x)) 1)
(-.f64 #s(literal -1 binary64) (/.f64 (/.f64 (-.f64 x #s(literal -1 binary64)) x) x))
(- (* -1 (/ (+ 1 (+ (/ 1 x) (/ 1 (pow x 2)))) x)) 1)
(*.f64 (fma.f64 x x #s(literal 1 binary64)) (/.f64 (-.f64 #s(literal -1 binary64) x) (pow.f64 x #s(literal 3 binary64))))
(pow x 2)
(*.f64 x x)
(* (pow x 2) (+ 1 (/ 1 x)))
(fma.f64 x x x)
(* (pow x 2) (+ 1 (/ 1 x)))
(fma.f64 x x x)
(* (pow x 2) (+ 1 (/ 1 x)))
(fma.f64 x x x)
(* -1 (pow x 2))
(*.f64 (neg.f64 x) x)
(* (pow x 2) (- (/ 1 (pow x 2)) 1))
(fma.f64 (neg.f64 x) x #s(literal 1 binary64))
(* (pow x 2) (- (/ 1 (pow x 2)) 1))
(fma.f64 (neg.f64 x) x #s(literal 1 binary64))
(* (pow x 2) (- (/ 1 (pow x 2)) 1))
(fma.f64 (neg.f64 x) x #s(literal 1 binary64))
(* -1 x)
(neg.f64 x)
(* -1 x)
(neg.f64 x)
(* -1 x)
(neg.f64 x)
(* -1 x)
(neg.f64 x)

rewrite148.0ms (2.5%)

Memory
0.9MiB live, 234.9MiB allocated
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01665
02463
18958
261958
0915557
Stop Event
iter limit
node limit
iter limit
Counts
10 → 1 057
Calls
Call 1
Inputs
#s(approx (/ x (- 1 x)) #s(approx (+ (* x x) x) (*.f64 x x)))
#s(approx (+ (* x x) x) (*.f64 x x))
(*.f64 x x)
(*.f64 (+.f64 #s(literal 1 binary64) x) x)
#s(approx (/ x (- 1 x)) (*.f64 (+.f64 #s(literal 1 binary64) x) x))
(+.f64 #s(literal 1 binary64) x)
(/.f64 (fma.f64 x x x) (fma.f64 (neg.f64 x) x #s(literal 1 binary64)))
(fma.f64 x x x)
(fma.f64 (neg.f64 x) x #s(literal 1 binary64))
(neg.f64 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>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>

eval193.0ms (3.3%)

Memory
-0.4MiB live, 277.7MiB allocated
Compiler

Compiled 20 730 to 2 525 computations (87.8% saved)

prune29.0ms (0.5%)

Memory
-23.3MiB live, 63.3MiB allocated
Pruning

7 alts after pruning (1 fresh and 6 done)

PrunedKeptTotal
New1 16811 169
Fresh000
Picked123
Done044
Total1 16971 176
Accuracy
100.0%
Counts
1 176 → 7
Alt Table
Click to see full alt table
StatusAccuracyProgram
71.9%
(/.f64 (fma.f64 x x x) (fma.f64 (neg.f64 x) x #s(literal 1 binary64)))
100.0%
(/.f64 x (-.f64 #s(literal 1 binary64) x))
45.4%
#s(approx (/ x (- 1 x)) (fma.f64 (fma.f64 x x x) x x))
44.3%
#s(approx (/ x (- 1 x)) (fma.f64 x x x))
44.3%
#s(approx (/ x (- 1 x)) (*.f64 (+.f64 #s(literal 1 binary64) x) x))
45.0%
#s(approx (/ x (- 1 x)) (*.f64 #s(approx (+ 1 x) #s(literal 1 binary64)) x))
56.8%
#s(approx (/ x (- 1 x)) #s(literal -1 binary64))
Compiler

Compiled 41 to 30 computations (26.8% saved)

simplify5.0ms (0.1%)

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

Found 3 expressions of interest:

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

Useful iterations: 0 (0.0ms)

IterNodesCost
0827
0927
11527
21927
32427
43127
54127
65627
78627
811127
911927
1012127
012127
Stop Event
iter limit
saturated
iter limit
Calls
Call 1
Inputs
#s(approx (/ x (- 1 x)) (*.f64 #s(approx (+ 1 x) #s(literal 1 binary64)) x))
(*.f64 #s(approx (+ 1 x) #s(literal 1 binary64)) x)
#s(approx (+ 1 x) #s(literal 1 binary64))
#s(literal 1 binary64)
x
Outputs
#s(approx (/ x (- 1 x)) (*.f64 #s(approx (+ 1 x) #s(literal 1 binary64)) x))
(*.f64 #s(approx (+ 1 x) #s(literal 1 binary64)) x)
#s(approx (+ 1 x) #s(literal 1 binary64))
#s(literal 1 binary64)
x

localize18.0ms (0.3%)

Memory
27.3MiB live, 27.3MiB allocated
Localize:

Found 3 expressions of interest:

NewMetricScoreProgram
accuracy0.015625
(*.f64 #s(approx (+ 1 x) #s(literal 1 binary64)) x)
accuracy35.298173808642815
#s(approx (+ 1 x) #s(literal 1 binary64))
accuracy35.668347190153305
#s(approx (/ x (- 1 x)) (*.f64 #s(approx (+ 1 x) #s(literal 1 binary64)) x))
Samples
12.0ms256×0valid
Compiler

Compiled 30 to 13 computations (56.7% saved)

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

series6.0ms (0.1%)

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

3 calls:

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

simplify197.0ms (3.3%)

Memory
32.6MiB live, 224.0MiB allocated
Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
028176
189170
2197164
3620162
42726162
55294162
08123148
Stop Event
iter limit
node limit
Counts
36 → 32
Calls
Call 1
Inputs
x
(* x (+ 1 x))
(* x (+ 1 (* x (+ 1 x))))
(* x (+ 1 (* x (+ 1 (* x (+ 1 x))))))
x
(* x (+ 1 x))
(* x (+ 1 x))
(* x (+ 1 x))
1
(+ 1 x)
(+ 1 x)
(+ 1 x)
-1
(* -1 (+ 1 (/ 1 x)))
(- (* -1 (/ (+ 1 (/ 1 x)) x)) 1)
(- (* -1 (/ (+ 1 (/ 1 x)) (pow x 2))) (+ 1 (/ 1 x)))
(pow x 2)
(* (pow x 2) (+ 1 (/ 1 x)))
(* (pow x 2) (+ 1 (/ 1 x)))
(* (pow x 2) (+ 1 (/ 1 x)))
x
(* x (+ 1 (/ 1 x)))
(* x (+ 1 (/ 1 x)))
(* x (+ 1 (/ 1 x)))
-1
(* -1 (+ 1 (/ 1 x)))
(- (* -1 (/ (+ 1 (/ 1 x)) x)) 1)
(- (* -1 (/ (+ 1 (+ (/ 1 x) (/ 1 (pow x 2)))) x)) 1)
(pow x 2)
(* (pow x 2) (+ 1 (/ 1 x)))
(* (pow x 2) (+ 1 (/ 1 x)))
(* (pow x 2) (+ 1 (/ 1 x)))
x
(* x (+ 1 (/ 1 x)))
(* x (+ 1 (/ 1 x)))
(* x (+ 1 (/ 1 x)))
Outputs
x
(* x (+ 1 x))
(fma.f64 x x x)
(* x (+ 1 (* x (+ 1 x))))
(fma.f64 (fma.f64 x x x) x x)
(* x (+ 1 (* x (+ 1 (* x (+ 1 x))))))
(*.f64 (+.f64 (pow.f64 x #s(literal 3 binary64)) x) (-.f64 x #s(literal -1 binary64)))
x
(* x (+ 1 x))
(fma.f64 x x x)
(* x (+ 1 x))
(fma.f64 x x x)
(* x (+ 1 x))
(fma.f64 x x 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 (+ 1 (/ 1 x)))
(-.f64 #s(literal -1 binary64) (/.f64 #s(literal 1 binary64) x))
(- (* -1 (/ (+ 1 (/ 1 x)) x)) 1)
(-.f64 #s(literal -1 binary64) (/.f64 (/.f64 (-.f64 x #s(literal -1 binary64)) x) x))
(- (* -1 (/ (+ 1 (/ 1 x)) (pow x 2))) (+ 1 (/ 1 x)))
(*.f64 (fma.f64 x x #s(literal 1 binary64)) (/.f64 (-.f64 #s(literal -1 binary64) x) (pow.f64 x #s(literal 3 binary64))))
(pow x 2)
(*.f64 x x)
(* (pow x 2) (+ 1 (/ 1 x)))
(fma.f64 x x x)
(* (pow x 2) (+ 1 (/ 1 x)))
(fma.f64 x x x)
(* (pow x 2) (+ 1 (/ 1 x)))
(fma.f64 x x 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 (/ 1 x)))
(-.f64 #s(literal -1 binary64) (/.f64 #s(literal 1 binary64) x))
(- (* -1 (/ (+ 1 (/ 1 x)) x)) 1)
(-.f64 #s(literal -1 binary64) (/.f64 (/.f64 (-.f64 x #s(literal -1 binary64)) x) x))
(- (* -1 (/ (+ 1 (+ (/ 1 x) (/ 1 (pow x 2)))) x)) 1)
(*.f64 (fma.f64 x x #s(literal 1 binary64)) (/.f64 (-.f64 #s(literal -1 binary64) x) (pow.f64 x #s(literal 3 binary64))))
(pow x 2)
(*.f64 x x)
(* (pow x 2) (+ 1 (/ 1 x)))
(fma.f64 x x x)
(* (pow x 2) (+ 1 (/ 1 x)))
(fma.f64 x x x)
(* (pow x 2) (+ 1 (/ 1 x)))
(fma.f64 x x 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))

rewrite135.0ms (2.3%)

Memory
6.8MiB live, 129.1MiB allocated
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0825
0925
13825
224425
3247125
01145125
Stop Event
iter limit
node limit
iter limit
Counts
3 → 8
Calls
Call 1
Inputs
#s(approx (/ x (- 1 x)) (*.f64 #s(approx (+ 1 x) #s(literal 1 binary64)) x))
(*.f64 #s(approx (+ 1 x) #s(literal 1 binary64)) x)
#s(approx (+ 1 x) #s(literal 1 binary64))
Outputs
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>

eval7.0ms (0.1%)

Memory
-29.3MiB live, 8.6MiB allocated
Compiler

Compiled 265 to 49 computations (81.5% saved)

prune5.0ms (0.1%)

Memory
10.5MiB live, 10.5MiB allocated
Pruning

7 alts after pruning (0 fresh and 7 done)

PrunedKeptTotal
New40040
Fresh000
Picked011
Done066
Total40747
Accuracy
100.0%
Counts
47 → 7
Alt Table
Click to see full alt table
StatusAccuracyProgram
71.9%
(/.f64 (fma.f64 x x x) (fma.f64 (neg.f64 x) x #s(literal 1 binary64)))
100.0%
(/.f64 x (-.f64 #s(literal 1 binary64) x))
45.4%
#s(approx (/ x (- 1 x)) (fma.f64 (fma.f64 x x x) x x))
44.3%
#s(approx (/ x (- 1 x)) (fma.f64 x x x))
44.3%
#s(approx (/ x (- 1 x)) (*.f64 (+.f64 #s(literal 1 binary64) x) x))
45.0%
#s(approx (/ x (- 1 x)) (*.f64 #s(approx (+ 1 x) #s(literal 1 binary64)) x))
56.8%
#s(approx (/ x (- 1 x)) #s(literal -1 binary64))
Compiler

Compiled 98 to 55 computations (43.9% saved)

regimes7.0ms (0.1%)

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

2 calls:

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

Compiled 6 to 5 computations (16.7% saved)

regimes5.0ms (0.1%)

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

2 calls:

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

Compiled 6 to 5 computations (16.7% saved)

regimes5.0ms (0.1%)

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

1 calls:

4.0ms
(/.f64 x (-.f64 #s(literal 1 binary64) x))
Results
AccuracySegmentsBranch
98.9%2(/.f64 x (-.f64 #s(literal 1 binary64) x))
Compiler

Compiled 5 to 4 computations (20% saved)

regimes2.0ms (0%)

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

1 calls:

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

Compiled 5 to 4 computations (20% saved)

regimes3.0ms (0.1%)

Memory
8.3MiB live, 8.3MiB allocated
Accuracy

Total -35.3b remaining (-127.5%)

Threshold costs -35.3b (-127.5%)

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

2 calls:

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

Compiled 6 to 5 computations (16.7% saved)

bsearch0.0ms (0%)

Memory
0.9MiB live, 0.9MiB allocated
Algorithm
left-value
Steps
TimeLeftRight
0.0ms
-0.9999061662819801
-0.005314990941554031
Compiler

Compiled 8 to 8 computations (0% saved)

bsearch0.0ms (0%)

Memory
0.6MiB live, 0.6MiB allocated
Algorithm
left-value
Steps
TimeLeftRight
0.0ms
-0.9999061662819801
-0.005314990941554031
Compiler

Compiled 8 to 8 computations (0% saved)

bsearch0.0ms (0%)

Memory
0.7MiB live, 0.7MiB allocated
Algorithm
left-value
Steps
TimeLeftRight
0.0ms
-0.9999061662819801
-0.005314990941554031
Compiler

Compiled 8 to 8 computations (0% saved)

simplify67.0ms (1.1%)

Memory
-21.9MiB live, 79.6MiB allocated
Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02193
12793
23093
33293
43393
Stop Event
saturated
Calls
Call 1
Inputs
(/.f64 x (-.f64 #s(literal 1 binary64) x))
(if (<=.f64 (/.f64 x (-.f64 #s(literal 1 binary64) x)) #s(literal -1/2 binary64)) #s(approx (/ x (- 1 x)) #s(literal -1 binary64)) #s(approx (/ x (- 1 x)) (fma.f64 (fma.f64 x x x) x x)))
(if (<=.f64 (/.f64 x (-.f64 #s(literal 1 binary64) x)) #s(literal -1/2 binary64)) #s(approx (/ x (- 1 x)) #s(literal -1 binary64)) #s(approx (/ x (- 1 x)) (fma.f64 x x x)))
(if (<=.f64 (/.f64 x (-.f64 #s(literal 1 binary64) x)) #s(literal -1/2 binary64)) #s(approx (/ x (- 1 x)) #s(literal -1 binary64)) #s(approx (/ x (- 1 x)) (*.f64 #s(approx (+ 1 x) #s(literal 1 binary64)) x)))
#s(approx (/ x (- 1 x)) #s(literal -1 binary64))
Outputs
(/.f64 x (-.f64 #s(literal 1 binary64) x))
(if (<=.f64 (/.f64 x (-.f64 #s(literal 1 binary64) x)) #s(literal -1/2 binary64)) #s(approx (/ x (- 1 x)) #s(literal -1 binary64)) #s(approx (/ x (- 1 x)) (fma.f64 (fma.f64 x x x) x x)))
(if (<=.f64 (/.f64 x (-.f64 #s(literal 1 binary64) x)) #s(literal -1/2 binary64)) #s(approx (/ x (- 1 x)) #s(literal -1 binary64)) #s(approx (/ x (- 1 x)) (fma.f64 x x x)))
(if (<=.f64 (/.f64 x (-.f64 #s(literal 1 binary64) x)) #s(literal -1/2 binary64)) #s(approx (/ x (- 1 x)) #s(literal -1 binary64)) #s(approx (/ x (- 1 x)) (*.f64 #s(approx (+ 1 x) #s(literal 1 binary64)) x)))
#s(approx (/ x (- 1 x)) #s(literal -1 binary64))

soundness1.0s (17.5%)

Memory
11.7MiB live, 434.3MiB allocated
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01465
02165
19659
270259
0833458
033591
1101564
2215546
3704540
42823540
54988540
08231498
033135
193120
2220114
3545112
41047112
51955112
63384112
74540112
84656112
94656112
104818112
114893112
124893112
04893109
Stop Event
done
iter limit
saturated
iter limit
node limit
iter limit
node limit
iter limit
Compiler

Compiled 83 to 40 computations (51.8% saved)

preprocess36.0ms (0.6%)

Memory
-3.1MiB live, 70.7MiB allocated
Compiler

Compiled 120 to 44 computations (63.3% saved)

end0.0ms (0%)

Memory
0.0MiB live, 0.0MiB allocated

Profiling

Loading profile data...