Prelude:atanh from fay-base-0.20.0.1

Time bar (total: 2.9s)

start0.0ms (0%)

Memory
0.1MiB live, 0.1MiB allocated

analyze1.0ms (0%)

Memory
2.8MiB live, 2.8MiB 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 9 to 7 computations (22.2% saved)

sample572.0ms (19.8%)

Memory
-4.9MiB live, 1 096.1MiB allocated
Samples
349.0ms8 256×0valid
Precisions
Click to see histograms. Total time spent on operations: 182.0ms
ival-div: 68.0ms (37.3% of total)
ival-add: 54.0ms (29.6% of total)
ival-sub: 46.0ms (25.2% of total)
ival-true: 6.0ms (3.3% of total)
exact: 4.0ms (2.2% of total)
ival-assert: 3.0ms (1.6% of total)
Bogosity

explain66.0ms (2.3%)

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

Compiled 41 to 19 computations (53.7% saved)

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

preprocess67.0ms (2.3%)

Memory
-22.3MiB live, 52.2MiB allocated
Algorithm
egg-herbie
Rules
208×lower-fma.f64
208×lower-fma.f32
128×lower-*.f64
128×lower-*.f32
110×div-sub
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0719
12114
24614
310014
422814
547714
665614
768914
057
087
1137
2177
3227
4297
5397
6557
7767
81067
91567
101967
112927
124697
136477
06477
Stop Event
iter limit
saturated
iter limit
saturated
Calls
Call 1
Inputs
(/.f64 (+.f64 x #s(literal 1 binary64)) (-.f64 #s(literal 1 binary64) x))
Outputs
(/.f64 (+.f64 x #s(literal 1 binary64)) (-.f64 #s(literal 1 binary64) x))
(/.f64 (-.f64 #s(literal -1 binary64) x) (-.f64 x #s(literal 1 binary64)))
Compiler

Compiled 7 to 5 computations (28.6% saved)

eval0.0ms (0%)

Memory
0.5MiB live, 0.5MiB allocated
Compiler

Compiled 0 to 1 computations (-∞% saved)

prune1.0ms (0%)

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

Compiled 7 to 5 computations (28.6% saved)

simplify13.0ms (0.4%)

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

Found 3 expressions of interest:

NewMetricScoreProgram
cost-diff0
(-.f64 #s(literal 1 binary64) x)
cost-diff0
(+.f64 x #s(literal 1 binary64))
cost-diff0
(/.f64 (+.f64 x #s(literal 1 binary64)) (-.f64 #s(literal 1 binary64) x))
Rules
208×lower-fma.f64
208×lower-fma.f32
128×lower-*.f64
128×lower-*.f32
106×div-sub
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0515
0815
11315
21715
32215
42915
53915
65515
77615
810615
915615
1019615
1129215
1246915
1364715
064715
Stop Event
iter limit
saturated
iter limit
Calls
Call 1
Inputs
(/.f64 (+.f64 x #s(literal 1 binary64)) (-.f64 #s(literal 1 binary64) x))
(+.f64 x #s(literal 1 binary64))
x
#s(literal 1 binary64)
(-.f64 #s(literal 1 binary64) x)
Outputs
(/.f64 (+.f64 x #s(literal 1 binary64)) (-.f64 #s(literal 1 binary64) x))
(/.f64 (-.f64 #s(literal -1 binary64) x) (-.f64 x #s(literal 1 binary64)))
(+.f64 x #s(literal 1 binary64))
(-.f64 x #s(literal -1 binary64))
x
#s(literal 1 binary64)
(-.f64 #s(literal 1 binary64) x)

localize22.0ms (0.8%)

Memory
-14.9MiB live, 28.4MiB allocated
Localize:

Found 3 expressions of interest:

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

Compiled 17 to 7 computations (58.8% saved)

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

series2.0ms (0.1%)

Memory
3.7MiB live, 3.7MiB allocated
Counts
3 → 36
Calls
Call 1
Inputs
#s(alt (/.f64 (+.f64 x #s(literal 1 binary64)) (-.f64 #s(literal 1 binary64) x)) (patch (/.f64 (+.f64 x #s(literal 1 binary64)) (-.f64 #s(literal 1 binary64) x)) #<representation binary64>) () ())
#s(alt (+.f64 x #s(literal 1 binary64)) (patch (+.f64 x #s(literal 1 binary64)) #<representation binary64>) () ())
#s(alt (-.f64 #s(literal 1 binary64) x) (patch (-.f64 #s(literal 1 binary64) x) #<representation binary64>) () ())
Outputs
#s(alt 1 (taylor 0 x) (#s(alt (/.f64 (+.f64 x #s(literal 1 binary64)) (-.f64 #s(literal 1 binary64) x)) (patch (/.f64 (+.f64 x #s(literal 1 binary64)) (-.f64 #s(literal 1 binary64) x)) #<representation binary64>) () ())) ())
#s(alt (+ 1 (* 2 x)) (taylor 0 x) (#s(alt (/.f64 (+.f64 x #s(literal 1 binary64)) (-.f64 #s(literal 1 binary64) x)) (patch (/.f64 (+.f64 x #s(literal 1 binary64)) (-.f64 #s(literal 1 binary64) x)) #<representation binary64>) () ())) ())
#s(alt (+ 1 (* x (+ 2 (* 2 x)))) (taylor 0 x) (#s(alt (/.f64 (+.f64 x #s(literal 1 binary64)) (-.f64 #s(literal 1 binary64) x)) (patch (/.f64 (+.f64 x #s(literal 1 binary64)) (-.f64 #s(literal 1 binary64) x)) #<representation binary64>) () ())) ())
#s(alt (+ 1 (* x (+ 2 (* x (+ 2 (* 2 x)))))) (taylor 0 x) (#s(alt (/.f64 (+.f64 x #s(literal 1 binary64)) (-.f64 #s(literal 1 binary64) x)) (patch (/.f64 (+.f64 x #s(literal 1 binary64)) (-.f64 #s(literal 1 binary64) x)) #<representation binary64>) () ())) ())
#s(alt 1 (taylor 0 x) (#s(alt (+.f64 x #s(literal 1 binary64)) (patch (+.f64 x #s(literal 1 binary64)) #<representation binary64>) () ())) ())
#s(alt (+ 1 x) (taylor 0 x) (#s(alt (+.f64 x #s(literal 1 binary64)) (patch (+.f64 x #s(literal 1 binary64)) #<representation binary64>) () ())) ())
#s(alt (+ 1 x) (taylor 0 x) (#s(alt (+.f64 x #s(literal 1 binary64)) (patch (+.f64 x #s(literal 1 binary64)) #<representation binary64>) () ())) ())
#s(alt (+ 1 x) (taylor 0 x) (#s(alt (+.f64 x #s(literal 1 binary64)) (patch (+.f64 x #s(literal 1 binary64)) #<representation binary64>) () ())) ())
#s(alt 1 (taylor 0 x) (#s(alt (-.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 (+.f64 x #s(literal 1 binary64)) (-.f64 #s(literal 1 binary64) x)) (patch (/.f64 (+.f64 x #s(literal 1 binary64)) (-.f64 #s(literal 1 binary64) x)) #<representation binary64>) () ())) ())
#s(alt (* -1 (+ 1 (* 2 (/ 1 x)))) (taylor inf x) (#s(alt (/.f64 (+.f64 x #s(literal 1 binary64)) (-.f64 #s(literal 1 binary64) x)) (patch (/.f64 (+.f64 x #s(literal 1 binary64)) (-.f64 #s(literal 1 binary64) x)) #<representation binary64>) () ())) ())
#s(alt (- (* -1 (/ (+ 2 (* 2 (/ 1 x))) x)) 1) (taylor inf x) (#s(alt (/.f64 (+.f64 x #s(literal 1 binary64)) (-.f64 #s(literal 1 binary64) x)) (patch (/.f64 (+.f64 x #s(literal 1 binary64)) (-.f64 #s(literal 1 binary64) x)) #<representation binary64>) () ())) ())
#s(alt (- (* -1 (/ (+ 2 (* 2 (/ 1 x))) (pow x 2))) (+ 1 (* 2 (/ 1 x)))) (taylor inf x) (#s(alt (/.f64 (+.f64 x #s(literal 1 binary64)) (-.f64 #s(literal 1 binary64) x)) (patch (/.f64 (+.f64 x #s(literal 1 binary64)) (-.f64 #s(literal 1 binary64) x)) #<representation binary64>) () ())) ())
#s(alt x (taylor inf x) (#s(alt (+.f64 x #s(literal 1 binary64)) (patch (+.f64 x #s(literal 1 binary64)) #<representation binary64>) () ())) ())
#s(alt (* x (+ 1 (/ 1 x))) (taylor inf x) (#s(alt (+.f64 x #s(literal 1 binary64)) (patch (+.f64 x #s(literal 1 binary64)) #<representation binary64>) () ())) ())
#s(alt (* x (+ 1 (/ 1 x))) (taylor inf x) (#s(alt (+.f64 x #s(literal 1 binary64)) (patch (+.f64 x #s(literal 1 binary64)) #<representation binary64>) () ())) ())
#s(alt (* x (+ 1 (/ 1 x))) (taylor inf x) (#s(alt (+.f64 x #s(literal 1 binary64)) (patch (+.f64 x #s(literal 1 binary64)) #<representation binary64>) () ())) ())
#s(alt (* -1 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 (+.f64 x #s(literal 1 binary64)) (-.f64 #s(literal 1 binary64) x)) (patch (/.f64 (+.f64 x #s(literal 1 binary64)) (-.f64 #s(literal 1 binary64) x)) #<representation binary64>) () ())) ())
#s(alt (* -1 (+ 1 (* 2 (/ 1 x)))) (taylor -inf x) (#s(alt (/.f64 (+.f64 x #s(literal 1 binary64)) (-.f64 #s(literal 1 binary64) x)) (patch (/.f64 (+.f64 x #s(literal 1 binary64)) (-.f64 #s(literal 1 binary64) x)) #<representation binary64>) () ())) ())
#s(alt (- (* -1 (/ (+ 2 (* 2 (/ 1 x))) x)) 1) (taylor -inf x) (#s(alt (/.f64 (+.f64 x #s(literal 1 binary64)) (-.f64 #s(literal 1 binary64) x)) (patch (/.f64 (+.f64 x #s(literal 1 binary64)) (-.f64 #s(literal 1 binary64) x)) #<representation binary64>) () ())) ())
#s(alt (- (* -1 (/ (+ 2 (+ (* 2 (/ 1 x)) (/ 2 (pow x 2)))) x)) 1) (taylor -inf x) (#s(alt (/.f64 (+.f64 x #s(literal 1 binary64)) (-.f64 #s(literal 1 binary64) x)) (patch (/.f64 (+.f64 x #s(literal 1 binary64)) (-.f64 #s(literal 1 binary64) x)) #<representation binary64>) () ())) ())
#s(alt x (taylor -inf x) (#s(alt (+.f64 x #s(literal 1 binary64)) (patch (+.f64 x #s(literal 1 binary64)) #<representation binary64>) () ())) ())
#s(alt (* x (+ 1 (/ 1 x))) (taylor -inf x) (#s(alt (+.f64 x #s(literal 1 binary64)) (patch (+.f64 x #s(literal 1 binary64)) #<representation binary64>) () ())) ())
#s(alt (* x (+ 1 (/ 1 x))) (taylor -inf x) (#s(alt (+.f64 x #s(literal 1 binary64)) (patch (+.f64 x #s(literal 1 binary64)) #<representation binary64>) () ())) ())
#s(alt (* x (+ 1 (/ 1 x))) (taylor -inf x) (#s(alt (+.f64 x #s(literal 1 binary64)) (patch (+.f64 x #s(literal 1 binary64)) #<representation binary64>) () ())) ())
#s(alt (* -1 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) (- 1 x)) (+ x 1) (- 1 x))
0.0ms
x
@-inf
((/ (+ x 1) (- 1 x)) (+ x 1) (- 1 x))
0.0ms
x
@0
((/ (+ x 1) (- 1 x)) (+ x 1) (- 1 x))

simplify184.0ms (6.4%)

Memory
16.1MiB live, 174.5MiB allocated
Algorithm
egg-herbie
Rules
10 542×lower-fma.f64
10 542×lower-fma.f32
2 414×lower-*.f64
2 414×lower-*.f32
1 620×lower-+.f64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
040165
1114150
2255150
3589146
41219146
52789146
65016146
76788146
87451146
97644146
107668146
117679146
08020140
Stop Event
iter limit
node limit
Counts
36 → 34
Calls
Call 1
Inputs
1
(+ 1 (* 2 x))
(+ 1 (* x (+ 2 (* 2 x))))
(+ 1 (* x (+ 2 (* x (+ 2 (* 2 x))))))
1
(+ 1 x)
(+ 1 x)
(+ 1 x)
1
(+ 1 (* -1 x))
(+ 1 (* -1 x))
(+ 1 (* -1 x))
-1
(* -1 (+ 1 (* 2 (/ 1 x))))
(- (* -1 (/ (+ 2 (* 2 (/ 1 x))) x)) 1)
(- (* -1 (/ (+ 2 (* 2 (/ 1 x))) (pow x 2))) (+ 1 (* 2 (/ 1 x))))
x
(* x (+ 1 (/ 1 x)))
(* x (+ 1 (/ 1 x)))
(* x (+ 1 (/ 1 x)))
(* -1 x)
(* x (- (/ 1 x) 1))
(* x (- (/ 1 x) 1))
(* x (- (/ 1 x) 1))
-1
(* -1 (+ 1 (* 2 (/ 1 x))))
(- (* -1 (/ (+ 2 (* 2 (/ 1 x))) x)) 1)
(- (* -1 (/ (+ 2 (+ (* 2 (/ 1 x)) (/ 2 (pow x 2)))) x)) 1)
x
(* x (+ 1 (/ 1 x)))
(* x (+ 1 (/ 1 x)))
(* x (+ 1 (/ 1 x)))
(* -1 x)
(* -1 (* x (- 1 (/ 1 x))))
(* -1 (* x (- 1 (/ 1 x))))
(* -1 (* x (- 1 (/ 1 x))))
Outputs
1
#s(literal 1 binary64)
(+ 1 (* 2 x))
(fma.f64 x #s(literal 2 binary64) #s(literal 1 binary64))
(+ 1 (* x (+ 2 (* 2 x))))
(fma.f64 (fma.f64 x #s(literal 2 binary64) #s(literal 2 binary64)) x #s(literal 1 binary64))
(+ 1 (* x (+ 2 (* x (+ 2 (* 2 x))))))
(fma.f64 (fma.f64 (fma.f64 x #s(literal 2 binary64) #s(literal 2 binary64)) x #s(literal 2 binary64)) x #s(literal 1 binary64))
1
#s(literal 1 binary64)
(+ 1 x)
(-.f64 x #s(literal -1 binary64))
(+ 1 x)
(-.f64 x #s(literal -1 binary64))
(+ 1 x)
(-.f64 x #s(literal -1 binary64))
1
#s(literal 1 binary64)
(+ 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 (* 2 (/ 1 x))))
(-.f64 #s(literal -1 binary64) (/.f64 #s(literal 2 binary64) x))
(- (* -1 (/ (+ 2 (* 2 (/ 1 x))) x)) 1)
(-.f64 #s(literal -1 binary64) (/.f64 (-.f64 (/.f64 #s(literal 2 binary64) x) #s(literal -2 binary64)) x))
(- (* -1 (/ (+ 2 (* 2 (/ 1 x))) (pow x 2))) (+ 1 (* 2 (/ 1 x))))
(-.f64 #s(literal -1 binary64) (/.f64 (-.f64 (/.f64 (-.f64 (/.f64 #s(literal 2 binary64) x) #s(literal -2 binary64)) x) #s(literal -2 binary64)) x))
x
(* x (+ 1 (/ 1 x)))
(-.f64 x #s(literal -1 binary64))
(* x (+ 1 (/ 1 x)))
(-.f64 x #s(literal -1 binary64))
(* x (+ 1 (/ 1 x)))
(-.f64 x #s(literal -1 binary64))
(* -1 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 (* 2 (/ 1 x))))
(-.f64 #s(literal -1 binary64) (/.f64 #s(literal 2 binary64) x))
(- (* -1 (/ (+ 2 (* 2 (/ 1 x))) x)) 1)
(-.f64 #s(literal -1 binary64) (/.f64 (-.f64 (/.f64 #s(literal 2 binary64) x) #s(literal -2 binary64)) x))
(- (* -1 (/ (+ 2 (+ (* 2 (/ 1 x)) (/ 2 (pow x 2)))) x)) 1)
(-.f64 #s(literal -1 binary64) (/.f64 (-.f64 (/.f64 (-.f64 (/.f64 #s(literal 2 binary64) x) #s(literal -2 binary64)) x) #s(literal -2 binary64)) x))
x
(* x (+ 1 (/ 1 x)))
(-.f64 x #s(literal -1 binary64))
(* x (+ 1 (/ 1 x)))
(-.f64 x #s(literal -1 binary64))
(* x (+ 1 (/ 1 x)))
(-.f64 x #s(literal -1 binary64))
(* -1 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)

rewrite126.0ms (4.4%)

Memory
-32.7MiB live, 147.4MiB allocated
Rules
2 974×lower-/.f64
2 974×lower-/.f32
2 752×lower-fma.f64
2 752×lower-fma.f32
2 188×lower-*.f64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
0513
0813
14113
229413
341017
0100147
Stop Event
iter limit
node limit
iter limit
Counts
3 → 489
Calls
Call 1
Inputs
(/.f64 (+.f64 x #s(literal 1 binary64)) (-.f64 #s(literal 1 binary64) x))
(+.f64 x #s(literal 1 binary64))
(-.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>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>

eval59.0ms (2%)

Memory
-8.5MiB live, 102.5MiB allocated
Compiler

Compiled 11 961 to 1 072 computations (91% saved)

prune14.0ms (0.5%)

Memory
-8.2MiB live, 40.0MiB allocated
Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New5185523
Fresh000
Picked011
Done000
Total5186524
Accuracy
100.0%
Counts
524 → 6
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(/.f64 (+.f64 x #s(literal 1 binary64)) (-.f64 #s(literal 1 binary64) x))
51.6%
#s(approx (/ (+ x 1) (- 1 x)) (fma.f64 (fma.f64 x #s(literal 2 binary64) #s(literal 2 binary64)) x #s(literal 1 binary64)))
52.5%
#s(approx (/ (+ x 1) (- 1 x)) (fma.f64 x #s(literal 2 binary64) #s(literal 1 binary64)))
49.8%
#s(approx (/ (+ x 1) (- 1 x)) (-.f64 #s(literal -1 binary64) (/.f64 #s(literal 2 binary64) x)))
51.7%
#s(approx (/ (+ x 1) (- 1 x)) #s(literal 1 binary64))
48.2%
#s(approx (/ (+ x 1) (- 1 x)) #s(literal -1 binary64))
Compiler

Compiled 53 to 51 computations (3.8% saved)

simplify49.0ms (1.7%)

Memory
12.3MiB live, 51.3MiB allocated
Algorithm
egg-herbie
Localize:

Found 10 expressions of interest:

NewMetricScoreProgram
cost-diff0
(/.f64 #s(literal 2 binary64) x)
cost-diff0
(-.f64 #s(literal -1 binary64) (/.f64 #s(literal 2 binary64) x))
cost-diff0
#s(approx (/ (+ x 1) (- 1 x)) (-.f64 #s(literal -1 binary64) (/.f64 #s(literal 2 binary64) x)))
cost-diff0
(fma.f64 x #s(literal 2 binary64) #s(literal 2 binary64))
cost-diff0
(fma.f64 (fma.f64 x #s(literal 2 binary64) #s(literal 2 binary64)) x #s(literal 1 binary64))
cost-diff0
#s(approx (/ (+ x 1) (- 1 x)) (fma.f64 (fma.f64 x #s(literal 2 binary64) #s(literal 2 binary64)) x #s(literal 1 binary64)))
cost-diff0
#s(approx (/ (+ x 1) (- 1 x)) #s(literal 1 binary64))
cost-diff0
#s(approx (/ (+ x 1) (- 1 x)) #s(literal -1 binary64))
cost-diff0
(fma.f64 x #s(literal 2 binary64) #s(literal 1 binary64))
cost-diff0
#s(approx (/ (+ x 1) (- 1 x)) (fma.f64 x #s(literal 2 binary64) #s(literal 1 binary64)))
Rules
944×lower-fma.f32
938×lower-fma.f64
440×lower-*.f64
440×lower-*.f32
232×lower-+.f64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01792
02492
13792
25792
39692
412292
516492
620292
728892
841592
962492
1073192
1184392
12105092
13121192
14128392
15130592
16130592
0130592
Stop Event
iter limit
saturated
iter limit
Calls
Call 1
Inputs
#s(approx (/ (+ x 1) (- 1 x)) (fma.f64 x #s(literal 2 binary64) #s(literal 1 binary64)))
(fma.f64 x #s(literal 2 binary64) #s(literal 1 binary64))
x
#s(literal 2 binary64)
#s(literal 1 binary64)
#s(approx (/ (+ x 1) (- 1 x)) #s(literal -1 binary64))
#s(literal -1 binary64)
#s(approx (/ (+ x 1) (- 1 x)) #s(literal 1 binary64))
#s(literal 1 binary64)
#s(approx (/ (+ x 1) (- 1 x)) (fma.f64 (fma.f64 x #s(literal 2 binary64) #s(literal 2 binary64)) x #s(literal 1 binary64)))
(fma.f64 (fma.f64 x #s(literal 2 binary64) #s(literal 2 binary64)) x #s(literal 1 binary64))
(fma.f64 x #s(literal 2 binary64) #s(literal 2 binary64))
x
#s(literal 2 binary64)
#s(literal 1 binary64)
#s(approx (/ (+ x 1) (- 1 x)) (-.f64 #s(literal -1 binary64) (/.f64 #s(literal 2 binary64) x)))
(-.f64 #s(literal -1 binary64) (/.f64 #s(literal 2 binary64) x))
#s(literal -1 binary64)
(/.f64 #s(literal 2 binary64) x)
#s(literal 2 binary64)
x
Outputs
#s(approx (/ (+ x 1) (- 1 x)) (fma.f64 x #s(literal 2 binary64) #s(literal 1 binary64)))
#s(approx (/ (+ x 1) (- 1 x)) (fma.f64 #s(literal 2 binary64) x #s(literal 1 binary64)))
(fma.f64 x #s(literal 2 binary64) #s(literal 1 binary64))
(fma.f64 #s(literal 2 binary64) x #s(literal 1 binary64))
x
#s(literal 2 binary64)
#s(literal 1 binary64)
#s(approx (/ (+ x 1) (- 1 x)) #s(literal -1 binary64))
#s(literal -1 binary64)
#s(approx (/ (+ x 1) (- 1 x)) #s(literal 1 binary64))
#s(literal 1 binary64)
#s(approx (/ (+ x 1) (- 1 x)) (fma.f64 (fma.f64 x #s(literal 2 binary64) #s(literal 2 binary64)) x #s(literal 1 binary64)))
#s(approx (/ (+ x 1) (- 1 x)) (fma.f64 (fma.f64 #s(literal 2 binary64) x #s(literal 2 binary64)) x #s(literal 1 binary64)))
(fma.f64 (fma.f64 x #s(literal 2 binary64) #s(literal 2 binary64)) x #s(literal 1 binary64))
(fma.f64 (fma.f64 #s(literal 2 binary64) x #s(literal 2 binary64)) x #s(literal 1 binary64))
(fma.f64 x #s(literal 2 binary64) #s(literal 2 binary64))
(fma.f64 #s(literal 2 binary64) x #s(literal 2 binary64))
x
#s(literal 2 binary64)
#s(literal 1 binary64)
#s(approx (/ (+ x 1) (- 1 x)) (-.f64 #s(literal -1 binary64) (/.f64 #s(literal 2 binary64) x)))
(-.f64 #s(literal -1 binary64) (/.f64 #s(literal 2 binary64) x))
#s(literal -1 binary64)
(/.f64 #s(literal 2 binary64) x)
#s(literal 2 binary64)
x

localize40.0ms (1.4%)

Memory
-8.2MiB live, 67.0MiB allocated
Localize:

Found 10 expressions of interest:

NewMetricScoreProgram
accuracy0
(/.f64 #s(literal 2 binary64) x)
accuracy0
(-.f64 #s(literal -1 binary64) (/.f64 #s(literal 2 binary64) x))
accuracy32.15203149973192
#s(approx (/ (+ x 1) (- 1 x)) (-.f64 #s(literal -1 binary64) (/.f64 #s(literal 2 binary64) x)))
accuracy0
(fma.f64 (fma.f64 x #s(literal 2 binary64) #s(literal 2 binary64)) x #s(literal 1 binary64))
accuracy0
(fma.f64 x #s(literal 2 binary64) #s(literal 2 binary64))
accuracy30.98974023465768
#s(approx (/ (+ x 1) (- 1 x)) (fma.f64 (fma.f64 x #s(literal 2 binary64) #s(literal 2 binary64)) x #s(literal 1 binary64)))
accuracy30.922677526969146
#s(approx (/ (+ x 1) (- 1 x)) #s(literal 1 binary64))
accuracy33.16459948477861
#s(approx (/ (+ x 1) (- 1 x)) #s(literal -1 binary64))
accuracy0
(fma.f64 x #s(literal 2 binary64) #s(literal 1 binary64))
accuracy30.411421301157755
#s(approx (/ (+ x 1) (- 1 x)) (fma.f64 x #s(literal 2 binary64) #s(literal 1 binary64)))
Samples
27.0ms256×0valid
Compiler

Compiled 75 to 16 computations (78.7% saved)

Precisions
Click to see histograms. Total time spent on operations: 14.0ms
ival-add: 5.0ms (34.9% of total)
ival-div: 3.0ms (20.9% of total)
ival-mult: 3.0ms (20.9% of total)
ival-sub: 2.0ms (14% 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.2%)

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

3 calls:

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

simplify175.0ms (6%)

Memory
10.5MiB live, 161.1MiB allocated
Algorithm
egg-herbie
Rules
18 100×lower-fma.f64
18 100×lower-fma.f32
3 488×lower-*.f64
3 488×lower-*.f32
1 622×lower-+.f64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
045757
1134733
2312714
3626694
41998694
54914694
08204631
Stop Event
iter limit
node limit
Counts
120 → 120
Calls
Call 1
Inputs
1
(+ 1 (* 2 x))
(+ 1 (* x (+ 2 (* 2 x))))
(+ 1 (* x (+ 2 (* x (+ 2 (* 2 x))))))
1
(+ 1 (* 2 x))
(+ 1 (* 2 x))
(+ 1 (* 2 x))
1
(+ 1 (* 2 x))
(+ 1 (* x (+ 2 (* 2 x))))
(+ 1 (* x (+ 2 (* x (+ 2 (* 2 x))))))
1
(+ 1 (* 2 x))
(+ 1 (* x (+ 2 (* 2 x))))
(+ 1 (* x (+ 2 (* x (+ 2 (* 2 x))))))
1
(+ 1 (* 2 x))
(+ 1 (* x (+ 2 (* 2 x))))
(+ 1 (* x (+ 2 (* x (+ 2 (* 2 x))))))
1
(+ 1 (* 2 x))
(+ 1 (* x (+ 2 (* 2 x))))
(+ 1 (* x (+ 2 (* 2 x))))
2
(+ 2 (* 2 x))
(+ 2 (* 2 x))
(+ 2 (* 2 x))
1
(+ 1 (* 2 x))
(+ 1 (* x (+ 2 (* 2 x))))
(+ 1 (* x (+ 2 (* x (+ 2 (* 2 x))))))
(/ -2 x)
(/ (- (* -1 x) 2) x)
(/ (- (* -1 x) 2) x)
(/ (- (* -1 x) 2) x)
(/ 2 x)
(/ 2 x)
(/ 2 x)
(/ 2 x)
-1
(* -1 (+ 1 (* 2 (/ 1 x))))
(- (* -1 (/ (+ 2 (* 2 (/ 1 x))) x)) 1)
(- (* -1 (/ (+ 2 (* 2 (/ 1 x))) (pow x 2))) (+ 1 (* 2 (/ 1 x))))
(* 2 x)
(* x (+ 2 (/ 1 x)))
(* x (+ 2 (/ 1 x)))
(* x (+ 2 (/ 1 x)))
-1
(* -1 (+ 1 (* 2 (/ 1 x))))
(- (* -1 (/ (+ 2 (* 2 (/ 1 x))) x)) 1)
(- (* -1 (/ (+ 2 (* 2 (/ 1 x))) (pow x 2))) (+ 1 (* 2 (/ 1 x))))
-1
(* -1 (+ 1 (* 2 (/ 1 x))))
(- (* -1 (/ (+ 2 (* 2 (/ 1 x))) x)) 1)
(- (* -1 (/ (+ 2 (* 2 (/ 1 x))) (pow x 2))) (+ 1 (* 2 (/ 1 x))))
-1
(* -1 (+ 1 (* 2 (/ 1 x))))
(- (* -1 (/ (+ 2 (* 2 (/ 1 x))) x)) 1)
(- (* -1 (/ (+ 2 (* 2 (/ 1 x))) (pow x 2))) (+ 1 (* 2 (/ 1 x))))
(* 2 (pow x 2))
(* (pow x 2) (+ 2 (* 2 (/ 1 x))))
(* (pow x 2) (+ 2 (+ (* 2 (/ 1 x)) (/ 1 (pow x 2)))))
(* (pow x 2) (+ 2 (+ (* 2 (/ 1 x)) (/ 1 (pow x 2)))))
(* 2 x)
(* x (+ 2 (* 2 (/ 1 x))))
(* x (+ 2 (* 2 (/ 1 x))))
(* x (+ 2 (* 2 (/ 1 x))))
-1
(* -1 (+ 1 (* 2 (/ 1 x))))
(- (* -1 (/ (+ 2 (* 2 (/ 1 x))) x)) 1)
(- (* -1 (/ (+ 2 (* 2 (/ 1 x))) (pow x 2))) (+ 1 (* 2 (/ 1 x))))
-1
(* -1 (+ 1 (* 2 (/ 1 x))))
(* -1 (+ 1 (* 2 (/ 1 x))))
(* -1 (+ 1 (* 2 (/ 1 x))))
(/ 2 x)
(/ 2 x)
(/ 2 x)
(/ 2 x)
-1
(* -1 (+ 1 (* 2 (/ 1 x))))
(- (* -1 (/ (+ 2 (* 2 (/ 1 x))) x)) 1)
(- (* -1 (/ (+ 2 (+ (* 2 (/ 1 x)) (/ 2 (pow x 2)))) x)) 1)
(* 2 x)
(* x (+ 2 (/ 1 x)))
(* x (+ 2 (/ 1 x)))
(* x (+ 2 (/ 1 x)))
-1
(* -1 (+ 1 (* 2 (/ 1 x))))
(- (* -1 (/ (+ 2 (* 2 (/ 1 x))) x)) 1)
(- (* -1 (/ (+ 2 (+ (* 2 (/ 1 x)) (/ 2 (pow x 2)))) x)) 1)
-1
(* -1 (+ 1 (* 2 (/ 1 x))))
(- (* -1 (/ (+ 2 (* 2 (/ 1 x))) x)) 1)
(- (* -1 (/ (+ 2 (+ (* 2 (/ 1 x)) (/ 2 (pow x 2)))) x)) 1)
-1
(* -1 (+ 1 (* 2 (/ 1 x))))
(- (* -1 (/ (+ 2 (* 2 (/ 1 x))) x)) 1)
(- (* -1 (/ (+ 2 (+ (* 2 (/ 1 x)) (/ 2 (pow x 2)))) x)) 1)
(* 2 (pow x 2))
(* (pow x 2) (+ 2 (* 2 (/ 1 x))))
(* (pow x 2) (+ 2 (+ (* 2 (/ 1 x)) (/ 1 (pow x 2)))))
(* (pow x 2) (+ 2 (+ (* 2 (/ 1 x)) (/ 1 (pow x 2)))))
(* 2 x)
(* x (+ 2 (* 2 (/ 1 x))))
(* x (+ 2 (* 2 (/ 1 x))))
(* x (+ 2 (* 2 (/ 1 x))))
-1
(* -1 (+ 1 (* 2 (/ 1 x))))
(- (* -1 (/ (+ 2 (* 2 (/ 1 x))) x)) 1)
(- (* -1 (/ (+ 2 (+ (* 2 (/ 1 x)) (/ 2 (pow x 2)))) x)) 1)
-1
(* -1 (+ 1 (* 2 (/ 1 x))))
(* -1 (+ 1 (* 2 (/ 1 x))))
(* -1 (+ 1 (* 2 (/ 1 x))))
(/ 2 x)
(/ 2 x)
(/ 2 x)
(/ 2 x)
Outputs
1
#s(literal 1 binary64)
(+ 1 (* 2 x))
(fma.f64 x #s(literal 2 binary64) #s(literal 1 binary64))
(+ 1 (* x (+ 2 (* 2 x))))
(fma.f64 (fma.f64 x #s(literal 2 binary64) #s(literal 2 binary64)) x #s(literal 1 binary64))
(+ 1 (* x (+ 2 (* x (+ 2 (* 2 x))))))
(fma.f64 (fma.f64 (fma.f64 x #s(literal 2 binary64) #s(literal 2 binary64)) x #s(literal 2 binary64)) x #s(literal 1 binary64))
1
#s(literal 1 binary64)
(+ 1 (* 2 x))
(fma.f64 x #s(literal 2 binary64) #s(literal 1 binary64))
(+ 1 (* 2 x))
(fma.f64 x #s(literal 2 binary64) #s(literal 1 binary64))
(+ 1 (* 2 x))
(fma.f64 x #s(literal 2 binary64) #s(literal 1 binary64))
1
#s(literal 1 binary64)
(+ 1 (* 2 x))
(fma.f64 x #s(literal 2 binary64) #s(literal 1 binary64))
(+ 1 (* x (+ 2 (* 2 x))))
(fma.f64 (fma.f64 x #s(literal 2 binary64) #s(literal 2 binary64)) x #s(literal 1 binary64))
(+ 1 (* x (+ 2 (* x (+ 2 (* 2 x))))))
(fma.f64 (fma.f64 (fma.f64 x #s(literal 2 binary64) #s(literal 2 binary64)) x #s(literal 2 binary64)) x #s(literal 1 binary64))
1
#s(literal 1 binary64)
(+ 1 (* 2 x))
(fma.f64 x #s(literal 2 binary64) #s(literal 1 binary64))
(+ 1 (* x (+ 2 (* 2 x))))
(fma.f64 (fma.f64 x #s(literal 2 binary64) #s(literal 2 binary64)) x #s(literal 1 binary64))
(+ 1 (* x (+ 2 (* x (+ 2 (* 2 x))))))
(fma.f64 (fma.f64 (fma.f64 x #s(literal 2 binary64) #s(literal 2 binary64)) x #s(literal 2 binary64)) x #s(literal 1 binary64))
1
#s(literal 1 binary64)
(+ 1 (* 2 x))
(fma.f64 x #s(literal 2 binary64) #s(literal 1 binary64))
(+ 1 (* x (+ 2 (* 2 x))))
(fma.f64 (fma.f64 x #s(literal 2 binary64) #s(literal 2 binary64)) x #s(literal 1 binary64))
(+ 1 (* x (+ 2 (* x (+ 2 (* 2 x))))))
(fma.f64 (fma.f64 (fma.f64 x #s(literal 2 binary64) #s(literal 2 binary64)) x #s(literal 2 binary64)) x #s(literal 1 binary64))
1
#s(literal 1 binary64)
(+ 1 (* 2 x))
(fma.f64 x #s(literal 2 binary64) #s(literal 1 binary64))
(+ 1 (* x (+ 2 (* 2 x))))
(fma.f64 (fma.f64 x #s(literal 2 binary64) #s(literal 2 binary64)) x #s(literal 1 binary64))
(+ 1 (* x (+ 2 (* 2 x))))
(fma.f64 (fma.f64 x #s(literal 2 binary64) #s(literal 2 binary64)) x #s(literal 1 binary64))
2
#s(literal 2 binary64)
(+ 2 (* 2 x))
(fma.f64 x #s(literal 2 binary64) #s(literal 2 binary64))
(+ 2 (* 2 x))
(fma.f64 x #s(literal 2 binary64) #s(literal 2 binary64))
(+ 2 (* 2 x))
(fma.f64 x #s(literal 2 binary64) #s(literal 2 binary64))
1
#s(literal 1 binary64)
(+ 1 (* 2 x))
(fma.f64 x #s(literal 2 binary64) #s(literal 1 binary64))
(+ 1 (* x (+ 2 (* 2 x))))
(fma.f64 (fma.f64 x #s(literal 2 binary64) #s(literal 2 binary64)) x #s(literal 1 binary64))
(+ 1 (* x (+ 2 (* x (+ 2 (* 2 x))))))
(fma.f64 (fma.f64 (fma.f64 x #s(literal 2 binary64) #s(literal 2 binary64)) x #s(literal 2 binary64)) x #s(literal 1 binary64))
(/ -2 x)
(/.f64 #s(literal -2 binary64) x)
(/ (- (* -1 x) 2) x)
(/.f64 (-.f64 #s(literal -2 binary64) x) x)
(/ (- (* -1 x) 2) x)
(/.f64 (-.f64 #s(literal -2 binary64) x) x)
(/ (- (* -1 x) 2) x)
(/.f64 (-.f64 #s(literal -2 binary64) x) x)
(/ 2 x)
(/.f64 #s(literal 2 binary64) x)
(/ 2 x)
(/.f64 #s(literal 2 binary64) x)
(/ 2 x)
(/.f64 #s(literal 2 binary64) x)
(/ 2 x)
(/.f64 #s(literal 2 binary64) x)
-1
#s(literal -1 binary64)
(* -1 (+ 1 (* 2 (/ 1 x))))
(/.f64 (-.f64 #s(literal -2 binary64) x) x)
(- (* -1 (/ (+ 2 (* 2 (/ 1 x))) x)) 1)
(-.f64 #s(literal -1 binary64) (/.f64 (-.f64 (/.f64 #s(literal 2 binary64) x) #s(literal -2 binary64)) x))
(- (* -1 (/ (+ 2 (* 2 (/ 1 x))) (pow x 2))) (+ 1 (* 2 (/ 1 x))))
(fma.f64 (/.f64 #s(literal -2 binary64) (pow.f64 x #s(literal 3 binary64))) (fma.f64 (-.f64 x #s(literal -1 binary64)) x #s(literal 1 binary64)) #s(literal -1 binary64))
(* 2 x)
(*.f64 x #s(literal 2 binary64))
(* x (+ 2 (/ 1 x)))
(fma.f64 x #s(literal 2 binary64) #s(literal 1 binary64))
(* x (+ 2 (/ 1 x)))
(fma.f64 x #s(literal 2 binary64) #s(literal 1 binary64))
(* x (+ 2 (/ 1 x)))
(fma.f64 x #s(literal 2 binary64) #s(literal 1 binary64))
-1
#s(literal -1 binary64)
(* -1 (+ 1 (* 2 (/ 1 x))))
(/.f64 (-.f64 #s(literal -2 binary64) x) x)
(- (* -1 (/ (+ 2 (* 2 (/ 1 x))) x)) 1)
(-.f64 #s(literal -1 binary64) (/.f64 (-.f64 (/.f64 #s(literal 2 binary64) x) #s(literal -2 binary64)) x))
(- (* -1 (/ (+ 2 (* 2 (/ 1 x))) (pow x 2))) (+ 1 (* 2 (/ 1 x))))
(fma.f64 (/.f64 #s(literal -2 binary64) (pow.f64 x #s(literal 3 binary64))) (fma.f64 (-.f64 x #s(literal -1 binary64)) x #s(literal 1 binary64)) #s(literal -1 binary64))
-1
#s(literal -1 binary64)
(* -1 (+ 1 (* 2 (/ 1 x))))
(/.f64 (-.f64 #s(literal -2 binary64) x) x)
(- (* -1 (/ (+ 2 (* 2 (/ 1 x))) x)) 1)
(-.f64 #s(literal -1 binary64) (/.f64 (-.f64 (/.f64 #s(literal 2 binary64) x) #s(literal -2 binary64)) x))
(- (* -1 (/ (+ 2 (* 2 (/ 1 x))) (pow x 2))) (+ 1 (* 2 (/ 1 x))))
(fma.f64 (/.f64 #s(literal -2 binary64) (pow.f64 x #s(literal 3 binary64))) (fma.f64 (-.f64 x #s(literal -1 binary64)) x #s(literal 1 binary64)) #s(literal -1 binary64))
-1
#s(literal -1 binary64)
(* -1 (+ 1 (* 2 (/ 1 x))))
(/.f64 (-.f64 #s(literal -2 binary64) x) x)
(- (* -1 (/ (+ 2 (* 2 (/ 1 x))) x)) 1)
(-.f64 #s(literal -1 binary64) (/.f64 (-.f64 (/.f64 #s(literal 2 binary64) x) #s(literal -2 binary64)) x))
(- (* -1 (/ (+ 2 (* 2 (/ 1 x))) (pow x 2))) (+ 1 (* 2 (/ 1 x))))
(fma.f64 (/.f64 #s(literal -2 binary64) (pow.f64 x #s(literal 3 binary64))) (fma.f64 (-.f64 x #s(literal -1 binary64)) x #s(literal 1 binary64)) #s(literal -1 binary64))
(* 2 (pow x 2))
(*.f64 (*.f64 x x) #s(literal 2 binary64))
(* (pow x 2) (+ 2 (* 2 (/ 1 x))))
(*.f64 (fma.f64 x #s(literal 2 binary64) #s(literal 2 binary64)) x)
(* (pow x 2) (+ 2 (+ (* 2 (/ 1 x)) (/ 1 (pow x 2)))))
(fma.f64 (fma.f64 x #s(literal 2 binary64) #s(literal 2 binary64)) x #s(literal 1 binary64))
(* (pow x 2) (+ 2 (+ (* 2 (/ 1 x)) (/ 1 (pow x 2)))))
(fma.f64 (fma.f64 x #s(literal 2 binary64) #s(literal 2 binary64)) x #s(literal 1 binary64))
(* 2 x)
(*.f64 x #s(literal 2 binary64))
(* x (+ 2 (* 2 (/ 1 x))))
(fma.f64 x #s(literal 2 binary64) #s(literal 2 binary64))
(* x (+ 2 (* 2 (/ 1 x))))
(fma.f64 x #s(literal 2 binary64) #s(literal 2 binary64))
(* x (+ 2 (* 2 (/ 1 x))))
(fma.f64 x #s(literal 2 binary64) #s(literal 2 binary64))
-1
#s(literal -1 binary64)
(* -1 (+ 1 (* 2 (/ 1 x))))
(/.f64 (-.f64 #s(literal -2 binary64) x) x)
(- (* -1 (/ (+ 2 (* 2 (/ 1 x))) x)) 1)
(-.f64 #s(literal -1 binary64) (/.f64 (-.f64 (/.f64 #s(literal 2 binary64) x) #s(literal -2 binary64)) x))
(- (* -1 (/ (+ 2 (* 2 (/ 1 x))) (pow x 2))) (+ 1 (* 2 (/ 1 x))))
(fma.f64 (/.f64 #s(literal -2 binary64) (pow.f64 x #s(literal 3 binary64))) (fma.f64 (-.f64 x #s(literal -1 binary64)) x #s(literal 1 binary64)) #s(literal -1 binary64))
-1
#s(literal -1 binary64)
(* -1 (+ 1 (* 2 (/ 1 x))))
(/.f64 (-.f64 #s(literal -2 binary64) x) x)
(* -1 (+ 1 (* 2 (/ 1 x))))
(/.f64 (-.f64 #s(literal -2 binary64) x) x)
(* -1 (+ 1 (* 2 (/ 1 x))))
(/.f64 (-.f64 #s(literal -2 binary64) x) x)
(/ 2 x)
(/.f64 #s(literal 2 binary64) x)
(/ 2 x)
(/.f64 #s(literal 2 binary64) x)
(/ 2 x)
(/.f64 #s(literal 2 binary64) x)
(/ 2 x)
(/.f64 #s(literal 2 binary64) x)
-1
#s(literal -1 binary64)
(* -1 (+ 1 (* 2 (/ 1 x))))
(/.f64 (-.f64 #s(literal -2 binary64) x) x)
(- (* -1 (/ (+ 2 (* 2 (/ 1 x))) x)) 1)
(-.f64 #s(literal -1 binary64) (/.f64 (-.f64 (/.f64 #s(literal 2 binary64) x) #s(literal -2 binary64)) x))
(- (* -1 (/ (+ 2 (+ (* 2 (/ 1 x)) (/ 2 (pow x 2)))) x)) 1)
(fma.f64 (/.f64 #s(literal -2 binary64) (pow.f64 x #s(literal 3 binary64))) (fma.f64 (-.f64 x #s(literal -1 binary64)) x #s(literal 1 binary64)) #s(literal -1 binary64))
(* 2 x)
(*.f64 x #s(literal 2 binary64))
(* x (+ 2 (/ 1 x)))
(fma.f64 x #s(literal 2 binary64) #s(literal 1 binary64))
(* x (+ 2 (/ 1 x)))
(fma.f64 x #s(literal 2 binary64) #s(literal 1 binary64))
(* x (+ 2 (/ 1 x)))
(fma.f64 x #s(literal 2 binary64) #s(literal 1 binary64))
-1
#s(literal -1 binary64)
(* -1 (+ 1 (* 2 (/ 1 x))))
(/.f64 (-.f64 #s(literal -2 binary64) x) x)
(- (* -1 (/ (+ 2 (* 2 (/ 1 x))) x)) 1)
(-.f64 #s(literal -1 binary64) (/.f64 (-.f64 (/.f64 #s(literal 2 binary64) x) #s(literal -2 binary64)) x))
(- (* -1 (/ (+ 2 (+ (* 2 (/ 1 x)) (/ 2 (pow x 2)))) x)) 1)
(fma.f64 (/.f64 #s(literal -2 binary64) (pow.f64 x #s(literal 3 binary64))) (fma.f64 (-.f64 x #s(literal -1 binary64)) x #s(literal 1 binary64)) #s(literal -1 binary64))
-1
#s(literal -1 binary64)
(* -1 (+ 1 (* 2 (/ 1 x))))
(/.f64 (-.f64 #s(literal -2 binary64) x) x)
(- (* -1 (/ (+ 2 (* 2 (/ 1 x))) x)) 1)
(-.f64 #s(literal -1 binary64) (/.f64 (-.f64 (/.f64 #s(literal 2 binary64) x) #s(literal -2 binary64)) x))
(- (* -1 (/ (+ 2 (+ (* 2 (/ 1 x)) (/ 2 (pow x 2)))) x)) 1)
(fma.f64 (/.f64 #s(literal -2 binary64) (pow.f64 x #s(literal 3 binary64))) (fma.f64 (-.f64 x #s(literal -1 binary64)) x #s(literal 1 binary64)) #s(literal -1 binary64))
-1
#s(literal -1 binary64)
(* -1 (+ 1 (* 2 (/ 1 x))))
(/.f64 (-.f64 #s(literal -2 binary64) x) x)
(- (* -1 (/ (+ 2 (* 2 (/ 1 x))) x)) 1)
(-.f64 #s(literal -1 binary64) (/.f64 (-.f64 (/.f64 #s(literal 2 binary64) x) #s(literal -2 binary64)) x))
(- (* -1 (/ (+ 2 (+ (* 2 (/ 1 x)) (/ 2 (pow x 2)))) x)) 1)
(fma.f64 (/.f64 #s(literal -2 binary64) (pow.f64 x #s(literal 3 binary64))) (fma.f64 (-.f64 x #s(literal -1 binary64)) x #s(literal 1 binary64)) #s(literal -1 binary64))
(* 2 (pow x 2))
(*.f64 (*.f64 x x) #s(literal 2 binary64))
(* (pow x 2) (+ 2 (* 2 (/ 1 x))))
(*.f64 (fma.f64 x #s(literal 2 binary64) #s(literal 2 binary64)) x)
(* (pow x 2) (+ 2 (+ (* 2 (/ 1 x)) (/ 1 (pow x 2)))))
(fma.f64 (fma.f64 x #s(literal 2 binary64) #s(literal 2 binary64)) x #s(literal 1 binary64))
(* (pow x 2) (+ 2 (+ (* 2 (/ 1 x)) (/ 1 (pow x 2)))))
(fma.f64 (fma.f64 x #s(literal 2 binary64) #s(literal 2 binary64)) x #s(literal 1 binary64))
(* 2 x)
(*.f64 x #s(literal 2 binary64))
(* x (+ 2 (* 2 (/ 1 x))))
(fma.f64 x #s(literal 2 binary64) #s(literal 2 binary64))
(* x (+ 2 (* 2 (/ 1 x))))
(fma.f64 x #s(literal 2 binary64) #s(literal 2 binary64))
(* x (+ 2 (* 2 (/ 1 x))))
(fma.f64 x #s(literal 2 binary64) #s(literal 2 binary64))
-1
#s(literal -1 binary64)
(* -1 (+ 1 (* 2 (/ 1 x))))
(/.f64 (-.f64 #s(literal -2 binary64) x) x)
(- (* -1 (/ (+ 2 (* 2 (/ 1 x))) x)) 1)
(-.f64 #s(literal -1 binary64) (/.f64 (-.f64 (/.f64 #s(literal 2 binary64) x) #s(literal -2 binary64)) x))
(- (* -1 (/ (+ 2 (+ (* 2 (/ 1 x)) (/ 2 (pow x 2)))) x)) 1)
(fma.f64 (/.f64 #s(literal -2 binary64) (pow.f64 x #s(literal 3 binary64))) (fma.f64 (-.f64 x #s(literal -1 binary64)) x #s(literal 1 binary64)) #s(literal -1 binary64))
-1
#s(literal -1 binary64)
(* -1 (+ 1 (* 2 (/ 1 x))))
(/.f64 (-.f64 #s(literal -2 binary64) x) x)
(* -1 (+ 1 (* 2 (/ 1 x))))
(/.f64 (-.f64 #s(literal -2 binary64) x) x)
(* -1 (+ 1 (* 2 (/ 1 x))))
(/.f64 (-.f64 #s(literal -2 binary64) x) x)
(/ 2 x)
(/.f64 #s(literal 2 binary64) x)
(/ 2 x)
(/.f64 #s(literal 2 binary64) x)
(/ 2 x)
(/.f64 #s(literal 2 binary64) x)
(/ 2 x)
(/.f64 #s(literal 2 binary64) x)

rewrite168.0ms (5.8%)

Memory
24.2MiB live, 180.9MiB allocated
Rules
8 262×lower-fma.f32
8 256×lower-fma.f64
4 880×lower-*.f64
4 880×lower-*.f32
4 430×lower-/.f32
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01781
02481
111681
286381
0880881
Stop Event
iter limit
node limit
iter limit
Counts
10 → 348
Calls
Call 1
Inputs
#s(approx (/ (+ x 1) (- 1 x)) (fma.f64 x #s(literal 2 binary64) #s(literal 1 binary64)))
(fma.f64 x #s(literal 2 binary64) #s(literal 1 binary64))
#s(approx (/ (+ x 1) (- 1 x)) #s(literal -1 binary64))
#s(approx (/ (+ x 1) (- 1 x)) #s(literal 1 binary64))
#s(approx (/ (+ x 1) (- 1 x)) (fma.f64 (fma.f64 x #s(literal 2 binary64) #s(literal 2 binary64)) x #s(literal 1 binary64)))
(fma.f64 (fma.f64 x #s(literal 2 binary64) #s(literal 2 binary64)) x #s(literal 1 binary64))
(fma.f64 x #s(literal 2 binary64) #s(literal 2 binary64))
#s(approx (/ (+ x 1) (- 1 x)) (-.f64 #s(literal -1 binary64) (/.f64 #s(literal 2 binary64) x)))
(-.f64 #s(literal -1 binary64) (/.f64 #s(literal 2 binary64) x))
(/.f64 #s(literal 2 binary64) x)
Outputs
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>

eval148.0ms (5.1%)

Memory
-11.4MiB live, 112.5MiB allocated
Compiler

Compiled 8 196 to 1 343 computations (83.6% saved)

prune35.0ms (1.2%)

Memory
-8.0MiB live, 29.3MiB allocated
Pruning

6 alts after pruning (0 fresh and 6 done)

PrunedKeptTotal
New4680468
Fresh000
Picked055
Done011
Total4686474
Accuracy
100.0%
Counts
474 → 6
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(/.f64 (+.f64 x #s(literal 1 binary64)) (-.f64 #s(literal 1 binary64) x))
51.6%
#s(approx (/ (+ x 1) (- 1 x)) (fma.f64 (fma.f64 x #s(literal 2 binary64) #s(literal 2 binary64)) x #s(literal 1 binary64)))
52.5%
#s(approx (/ (+ x 1) (- 1 x)) (fma.f64 x #s(literal 2 binary64) #s(literal 1 binary64)))
49.8%
#s(approx (/ (+ x 1) (- 1 x)) (-.f64 #s(literal -1 binary64) (/.f64 #s(literal 2 binary64) x)))
51.7%
#s(approx (/ (+ x 1) (- 1 x)) #s(literal 1 binary64))
48.2%
#s(approx (/ (+ x 1) (- 1 x)) #s(literal -1 binary64))
Compiler

Compiled 60 to 45 computations (25% saved)

regimes5.0ms (0.2%)

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

2 calls:

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

Compiled 8 to 6 computations (25% saved)

regimes5.0ms (0.2%)

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

2 calls:

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

Compiled 8 to 6 computations (25% saved)

regimes27.0ms (0.9%)

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

1 calls:

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

Compiled 7 to 5 computations (28.6% saved)

regimes2.0ms (0.1%)

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

1 calls:

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

Compiled 7 to 5 computations (28.6% saved)

regimes1.0ms (0.1%)

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

1 calls:

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

Compiled 7 to 5 computations (28.6% saved)

regimes2.0ms (0.1%)

Memory
5.7MiB live, 5.7MiB allocated
Accuracy

Total 0.0b remaining (0%)

Threshold costs 0b (0%)

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

2 calls:

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

Compiled 8 to 6 computations (25% saved)

bsearch0.0ms (0%)

Memory
0.7MiB live, 0.7MiB allocated
Algorithm
left-value
Steps
TimeLeftRight
0.0ms
-0.9999941244520988
0.9999999999999041
Compiler

Compiled 10 to 9 computations (10% saved)

bsearch0.0ms (0%)

Memory
0.6MiB live, 0.6MiB allocated
Algorithm
left-value
Steps
TimeLeftRight
0.0ms
-0.9999941244520988
0.9999999999999041
Compiler

Compiled 10 to 9 computations (10% saved)

bsearch0.0ms (0%)

Memory
0.6MiB live, 0.6MiB allocated
Algorithm
left-value
Steps
TimeLeftRight
0.0ms
-0.9999941244520988
0.9999999999999041
Compiler

Compiled 10 to 9 computations (10% saved)

bsearch13.0ms (0.5%)

Memory
24.1MiB live, 24.1MiB allocated
Algorithm
binary-search
Stop Event
narrow-enough
Steps
TimeLeftRight
12.0ms
-0.9999941244520988
0.9999999999999041
Samples
4.0ms240×0valid
Compiler

Compiled 70 to 129 computations (-84.3% saved)

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

simplify70.0ms (2.4%)

Memory
-31.6MiB live, 45.5MiB allocated
Algorithm
egg-herbie
Rules
12×+-commutative-binary64-+.f64
10×sub-neg-binary64-neg.f64-+.f64--.f64
*-commutative-binary64-*.f64
neg-sub0-binary64--.f64-neg.f64
neg-mul-1-binary64-*.f64-neg.f64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
028147
136147
245147
351147
455147
556147
Stop Event
saturated
Calls
Call 1
Inputs
(/.f64 (+.f64 x #s(literal 1 binary64)) (-.f64 #s(literal 1 binary64) x))
(if (<=.f64 (/.f64 (+.f64 x #s(literal 1 binary64)) (-.f64 #s(literal 1 binary64) x)) #s(literal -1/2 binary64)) #s(approx (/ (+ x 1) (- 1 x)) (-.f64 #s(literal -1 binary64) (/.f64 #s(literal 2 binary64) x))) #s(approx (/ (+ x 1) (- 1 x)) (fma.f64 (fma.f64 x #s(literal 2 binary64) #s(literal 2 binary64)) x #s(literal 1 binary64))))
(if (<=.f64 (/.f64 (+.f64 x #s(literal 1 binary64)) (-.f64 #s(literal 1 binary64) x)) #s(literal -1/2 binary64)) #s(approx (/ (+ x 1) (- 1 x)) #s(literal -1 binary64)) #s(approx (/ (+ x 1) (- 1 x)) (fma.f64 (fma.f64 x #s(literal 2 binary64) #s(literal 2 binary64)) x #s(literal 1 binary64))))
(if (<=.f64 (/.f64 (+.f64 x #s(literal 1 binary64)) (-.f64 #s(literal 1 binary64) x)) #s(literal -1/2 binary64)) #s(approx (/ (+ x 1) (- 1 x)) #s(literal -1 binary64)) #s(approx (/ (+ x 1) (- 1 x)) (fma.f64 x #s(literal 2 binary64) #s(literal 1 binary64))))
(if (<=.f64 (/.f64 (+.f64 x #s(literal 1 binary64)) (-.f64 #s(literal 1 binary64) x)) #s(literal -202402253307311/202402253307310618352495346718917307049556649764142118356901358027430339567995346891960383701437124495187077864316811911389808737385793476867013399940738509921517424276566361364466907742093216341239767678472745068562007483424692698618103355649159556340810056512358769552333414615230502532186327508646006263307707741093494784 binary64)) #s(approx (/ (+ x 1) (- 1 x)) #s(literal -1 binary64)) #s(approx (/ (+ x 1) (- 1 x)) #s(literal 1 binary64)))
#s(approx (/ (+ x 1) (- 1 x)) #s(literal -1 binary64))
Outputs
(/.f64 (+.f64 x #s(literal 1 binary64)) (-.f64 #s(literal 1 binary64) x))
(/.f64 (+.f64 #s(literal 1 binary64) x) (-.f64 #s(literal 1 binary64) x))
(if (<=.f64 (/.f64 (+.f64 x #s(literal 1 binary64)) (-.f64 #s(literal 1 binary64) x)) #s(literal -1/2 binary64)) #s(approx (/ (+ x 1) (- 1 x)) (-.f64 #s(literal -1 binary64) (/.f64 #s(literal 2 binary64) x))) #s(approx (/ (+ x 1) (- 1 x)) (fma.f64 (fma.f64 x #s(literal 2 binary64) #s(literal 2 binary64)) x #s(literal 1 binary64))))
(if (<=.f64 (/.f64 (+.f64 #s(literal 1 binary64) x) (-.f64 #s(literal 1 binary64) x)) #s(literal -1/2 binary64)) #s(approx (/ (+ x 1) (- 1 x)) (-.f64 #s(literal -1 binary64) (/.f64 #s(literal 2 binary64) x))) #s(approx (/ (+ x 1) (- 1 x)) (fma.f64 (fma.f64 x #s(literal 2 binary64) #s(literal 2 binary64)) x #s(literal 1 binary64))))
(if (<=.f64 (/.f64 (+.f64 x #s(literal 1 binary64)) (-.f64 #s(literal 1 binary64) x)) #s(literal -1/2 binary64)) #s(approx (/ (+ x 1) (- 1 x)) #s(literal -1 binary64)) #s(approx (/ (+ x 1) (- 1 x)) (fma.f64 (fma.f64 x #s(literal 2 binary64) #s(literal 2 binary64)) x #s(literal 1 binary64))))
(if (<=.f64 (/.f64 (+.f64 #s(literal 1 binary64) x) (-.f64 #s(literal 1 binary64) x)) #s(literal -1/2 binary64)) #s(approx (/ (+ x 1) (- 1 x)) #s(literal -1 binary64)) #s(approx (/ (+ x 1) (- 1 x)) (fma.f64 (fma.f64 x #s(literal 2 binary64) #s(literal 2 binary64)) x #s(literal 1 binary64))))
(if (<=.f64 (/.f64 (+.f64 x #s(literal 1 binary64)) (-.f64 #s(literal 1 binary64) x)) #s(literal -1/2 binary64)) #s(approx (/ (+ x 1) (- 1 x)) #s(literal -1 binary64)) #s(approx (/ (+ x 1) (- 1 x)) (fma.f64 x #s(literal 2 binary64) #s(literal 1 binary64))))
(if (<=.f64 (/.f64 (+.f64 #s(literal 1 binary64) x) (-.f64 #s(literal 1 binary64) x)) #s(literal -1/2 binary64)) #s(approx (/ (+ x 1) (- 1 x)) #s(literal -1 binary64)) #s(approx (/ (+ x 1) (- 1 x)) (fma.f64 x #s(literal 2 binary64) #s(literal 1 binary64))))
(if (<=.f64 (/.f64 (+.f64 x #s(literal 1 binary64)) (-.f64 #s(literal 1 binary64) x)) #s(literal -202402253307311/202402253307310618352495346718917307049556649764142118356901358027430339567995346891960383701437124495187077864316811911389808737385793476867013399940738509921517424276566361364466907742093216341239767678472745068562007483424692698618103355649159556340810056512358769552333414615230502532186327508646006263307707741093494784 binary64)) #s(approx (/ (+ x 1) (- 1 x)) #s(literal -1 binary64)) #s(approx (/ (+ x 1) (- 1 x)) #s(literal 1 binary64)))
(if (<=.f64 (/.f64 (+.f64 #s(literal 1 binary64) x) (-.f64 #s(literal 1 binary64) x)) #s(literal -202402253307311/202402253307310618352495346718917307049556649764142118356901358027430339567995346891960383701437124495187077864316811911389808737385793476867013399940738509921517424276566361364466907742093216341239767678472745068562007483424692698618103355649159556340810056512358769552333414615230502532186327508646006263307707741093494784 binary64)) #s(approx (/ (+ x 1) (- 1 x)) #s(literal -1 binary64)) #s(approx (/ (+ x 1) (- 1 x)) #s(literal 1 binary64)))
#s(approx (/ (+ x 1) (- 1 x)) #s(literal -1 binary64))

soundness959.0ms (33.2%)

Memory
3.8MiB live, 282.5MiB allocated
Rules
10 542×lower-fma.f64
10 542×lower-fma.f32
2 414×lower-*.f64
2 414×lower-*.f32
1 620×lower-+.f64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
040165
1114150
2255150
3589146
41219146
52789146
65016146
76788146
87451146
97644146
107668146
117679146
08020140
Stop Event
done
iter limit
node limit
Compiler

Compiled 112 to 54 computations (51.8% saved)

preprocess59.0ms (2%)

Memory
34.6MiB live, 73.2MiB allocated
Compiler

Compiled 182 to 60 computations (67% saved)

end0.0ms (0%)

Memory
0.0MiB live, 0.0MiB allocated

Profiling

Loading profile data...