bug333 (missed optimization)

Time bar (total: 2.6s)

start0.0ms (0%)

Memory
0.2MiB live, 0.2MiB allocated; 0ms collecting garbage

analyze0.0ms (0%)

Memory
0.8MiB live, 0.8MiB allocated; 0ms collecting garbage
Algorithm
search
Search
ProbabilityValidUnknownPreconditionInfiniteDomainCan'tIter
0%0%50%50%0%0%0%0
100%50%0%50%0%0%0%1
Compiler

Compiled 17 to 12 computations (29.4% saved)

sample2.0s (76.9%)

Memory
-89.7MiB live, 1 701.2MiB allocated; 1.3s collecting garbage
Samples
1.0s3 387×2valid
700.0ms4 751×1valid
5.0ms118×0valid
Precisions
Click to see histograms. Total time spent on operations: 1.3s
ival-sqrt: 693.0ms (52% of total)
adjust: 382.0ms (28.7% of total)
ival-sub!: 152.0ms (11.4% of total)
ival-add!: 105.0ms (7.9% of total)
Bogosity

explain144.0ms (5.5%)

Memory
-14.4MiB live, 129.5MiB allocated; 12ms collecting garbage
FPErrors
Click to see full error table
Ground TruthOverpredictionsExampleUnderpredictionsExampleSubexpression
2560-0-(-.f64 (sqrt.f64 (+.f64 #s(literal 1 binary64) x)) (sqrt.f64 (-.f64 #s(literal 1 binary64) x)))
00-0-(sqrt.f64 (+.f64 #s(literal 1 binary64) x))
00-0-(+.f64 #s(literal 1 binary64) x)
00-0-(-.f64 #s(literal 1 binary64) x)
00-0-#s(literal 1 binary64)
00-0-(sqrt.f64 (-.f64 #s(literal 1 binary64) x))
00-0-x
Explanations
Click to see full explanations table
OperatorSubexpressionExplanationCount
-.f64(-.f64 (sqrt.f64 (+.f64 #s(literal 1 binary64) x)) (sqrt.f64 (-.f64 #s(literal 1 binary64) x)))cancellation2560
Confusion
Predicted +Predicted -
+2560
-00
Precision
1.0
Recall
1.0
Confusion?
Predicted +Predicted MaybePredicted -
+25600
-000
Precision?
1.0
Recall?
1.0
Freqs
test
numberfreq
1256
Total Confusion?
Predicted +Predicted MaybePredicted -
+100
-000
Precision?
1.0
Recall?
1.0
Samples
31.0ms210×2valid
29.0ms300×1valid
0.0ms0valid
Compiler

Compiled 63 to 25 computations (60.3% saved)

Precisions
Click to see histograms. Total time spent on operations: 41.0ms
ival-sqrt: 18.0ms (43.9% of total)
adjust: 14.0ms (34.2% of total)
ival-sub!: 6.0ms (14.6% of total)
ival-add!: 3.0ms (7.3% of total)

preprocess70.0ms (2.7%)

Memory
6.8MiB live, 48.6MiB allocated; 8ms collecting garbage
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01432
11832
22132
33928
49028
532128
6266028
7613528
Stop Event
node-limit
Alt Table
Click to see full alt table
StatusAccuracyProgram
6.8%
(-.f64 (sqrt.f64 (+.f64 #s(literal 1 binary64) x)) (sqrt.f64 (-.f64 #s(literal 1 binary64) x)))
Compiler

Compiled 18 to 14 computations (22.2% saved)

series7.0ms (0.2%)

Memory
10.6MiB live, 10.6MiB allocated; 0ms collecting garbage
Counts
7 → 46
Calls
Call 1
Inputs
(-.f64 (sqrt.f64 (+.f64 #s(literal 1 binary64) x)) (sqrt.f64 (-.f64 #s(literal 1 binary64) x)))
(sqrt.f64 (+.f64 #s(literal 1 binary64) x))
(+.f64 #s(literal 1 binary64) x)
#s(literal 1 binary64)
x
(sqrt.f64 (-.f64 #s(literal 1 binary64) x))
(-.f64 #s(literal 1 binary64) x)
Outputs
#s(approx (- (sqrt (+ 1 x)) (sqrt (- 1 x))) #s(hole binary64 x))
#s(approx (- (sqrt (+ 1 x)) (sqrt (- 1 x))) #s(hole binary64 (* x (+ 1 (* 1/8 (pow x 2))))))
#s(approx (- (sqrt (+ 1 x)) (sqrt (- 1 x))) #s(hole binary64 (* x (+ 1 (* (pow x 2) (+ 1/8 (* 7/128 (pow x 2))))))))
#s(approx (- (sqrt (+ 1 x)) (sqrt (- 1 x))) #s(hole binary64 (* x (+ 1 (* (pow x 2) (+ 1/8 (* (pow x 2) (+ 7/128 (* 33/1024 (pow x 2))))))))))
#s(approx (sqrt (+ 1 x)) #s(hole binary64 1))
#s(approx (sqrt (+ 1 x)) #s(hole binary64 (+ 1 (* 1/2 x))))
#s(approx (sqrt (+ 1 x)) #s(hole binary64 (+ 1 (* x (+ 1/2 (* -1/8 x))))))
#s(approx (sqrt (+ 1 x)) #s(hole binary64 (+ 1 (* x (+ 1/2 (* x (- (* 1/16 x) 1/8)))))))
#s(approx (+ 1 x) #s(hole binary64 1))
#s(approx (+ 1 x) #s(hole binary64 (+ 1 x)))
#s(approx x #s(hole binary64 x))
#s(approx (sqrt (- 1 x)) #s(hole binary64 1))
#s(approx (sqrt (- 1 x)) #s(hole binary64 (+ 1 (* -1/2 x))))
#s(approx (sqrt (- 1 x)) #s(hole binary64 (+ 1 (* x (- (* -1/8 x) 1/2)))))
#s(approx (sqrt (- 1 x)) #s(hole binary64 (+ 1 (* x (- (* x (- (* -1/16 x) 1/8)) 1/2)))))
#s(approx (- 1 x) #s(hole binary64 1))
#s(approx (- 1 x) #s(hole binary64 (+ 1 (* -1 x))))
#s(approx (- (sqrt (+ 1 x)) (sqrt (- 1 x))) #s(hole binary64 (* x (- (sqrt (/ 1 x)) (* (sqrt (/ 1 x)) (sqrt -1))))))
#s(approx (- (sqrt (+ 1 x)) (sqrt (- 1 x))) #s(hole binary64 (* x (- (+ (sqrt (/ 1 x)) (* 1/2 (sqrt (/ 1 (pow x 3))))) (+ (* 1/2 (* (sqrt (/ 1 (pow x 3))) (/ 1 (sqrt -1)))) (* (sqrt (/ 1 x)) (sqrt -1)))))))
#s(approx (- (sqrt (+ 1 x)) (sqrt (- 1 x))) #s(hole binary64 (* x (- (+ (sqrt (/ 1 x)) (+ (* -1/8 (sqrt (/ 1 (pow x 5)))) (* 1/2 (sqrt (/ 1 (pow x 3)))))) (+ (* -1/8 (* (sqrt (/ 1 (pow x 5))) (/ 1 (pow (sqrt -1) 3)))) (+ (* 1/2 (* (sqrt (/ 1 (pow x 3))) (/ 1 (sqrt -1)))) (* (sqrt (/ 1 x)) (sqrt -1))))))))
#s(approx (- (sqrt (+ 1 x)) (sqrt (- 1 x))) #s(hole binary64 (* x (- (+ (sqrt (/ 1 x)) (+ (* -1/8 (sqrt (/ 1 (pow x 5)))) (+ (* 1/16 (sqrt (/ 1 (pow x 7)))) (* 1/2 (sqrt (/ 1 (pow x 3))))))) (+ (* -1/8 (* (sqrt (/ 1 (pow x 5))) (/ 1 (pow (sqrt -1) 3)))) (+ (* 1/16 (* (sqrt (/ 1 (pow x 7))) (/ 1 (pow (sqrt -1) 5)))) (+ (* 1/2 (* (sqrt (/ 1 (pow x 3))) (/ 1 (sqrt -1)))) (* (sqrt (/ 1 x)) (sqrt -1)))))))))
#s(approx (sqrt (+ 1 x)) #s(hole binary64 (sqrt x)))
#s(approx (sqrt (+ 1 x)) #s(hole binary64 (* x (+ (sqrt (/ 1 x)) (* 1/2 (sqrt (/ 1 (pow x 3))))))))
#s(approx (sqrt (+ 1 x)) #s(hole binary64 (* x (+ (sqrt (/ 1 x)) (+ (* -1/8 (sqrt (/ 1 (pow x 5)))) (* 1/2 (sqrt (/ 1 (pow x 3)))))))))
#s(approx (sqrt (+ 1 x)) #s(hole binary64 (* x (+ (sqrt (/ 1 x)) (+ (* -1/8 (sqrt (/ 1 (pow x 5)))) (+ (* 1/16 (sqrt (/ 1 (pow x 7)))) (* 1/2 (sqrt (/ 1 (pow x 3))))))))))
#s(approx (+ 1 x) #s(hole binary64 x))
#s(approx (+ 1 x) #s(hole binary64 (* x (+ 1 (/ 1 x)))))
#s(approx (sqrt (- 1 x)) #s(hole binary64 (* (sqrt x) (sqrt -1))))
#s(approx (sqrt (- 1 x)) #s(hole binary64 (* x (+ (* 1/2 (* (sqrt (/ 1 (pow x 3))) (/ 1 (sqrt -1)))) (* (sqrt (/ 1 x)) (sqrt -1))))))
#s(approx (sqrt (- 1 x)) #s(hole binary64 (* x (+ (* -1/8 (* (sqrt (/ 1 (pow x 5))) (/ 1 (pow (sqrt -1) 3)))) (+ (* 1/2 (* (sqrt (/ 1 (pow x 3))) (/ 1 (sqrt -1)))) (* (sqrt (/ 1 x)) (sqrt -1)))))))
#s(approx (sqrt (- 1 x)) #s(hole binary64 (* x (+ (* -1/8 (* (sqrt (/ 1 (pow x 5))) (/ 1 (pow (sqrt -1) 3)))) (+ (* 1/16 (* (sqrt (/ 1 (pow x 7))) (/ 1 (pow (sqrt -1) 5)))) (+ (* 1/2 (* (sqrt (/ 1 (pow x 3))) (/ 1 (sqrt -1)))) (* (sqrt (/ 1 x)) (sqrt -1))))))))
#s(approx (- 1 x) #s(hole binary64 (* -1 x)))
#s(approx (- 1 x) #s(hole binary64 (* x (- (/ 1 x) 1))))
#s(approx (- (sqrt (+ 1 x)) (sqrt (- 1 x))) #s(hole binary64 (* -1 (* x (- (* (sqrt (/ 1 x)) (pow (sqrt -1) 2)) (* (sqrt (/ 1 x)) (sqrt -1)))))))
#s(approx (- (sqrt (+ 1 x)) (sqrt (- 1 x))) #s(hole binary64 (* -1 (* x (- (+ (* 1/2 (sqrt (/ 1 (pow x 3)))) (* (sqrt (/ 1 x)) (pow (sqrt -1) 2))) (+ (* 1/2 (* (sqrt (/ 1 (pow x 3))) (sqrt -1))) (* (sqrt (/ 1 x)) (sqrt -1))))))))
#s(approx (- (sqrt (+ 1 x)) (sqrt (- 1 x))) #s(hole binary64 (* -1 (* x (- (+ (* -1/8 (* (sqrt (/ 1 (pow x 5))) (/ 1 (pow (sqrt -1) 2)))) (+ (* 1/2 (sqrt (/ 1 (pow x 3)))) (* (sqrt (/ 1 x)) (pow (sqrt -1) 2)))) (+ (* -1/8 (* (sqrt (/ 1 (pow x 5))) (sqrt -1))) (+ (* 1/2 (* (sqrt (/ 1 (pow x 3))) (sqrt -1))) (* (sqrt (/ 1 x)) (sqrt -1)))))))))
#s(approx (- (sqrt (+ 1 x)) (sqrt (- 1 x))) #s(hole binary64 (* -1 (* x (- (+ (* -1/8 (* (sqrt (/ 1 (pow x 5))) (/ 1 (pow (sqrt -1) 2)))) (+ (* 1/16 (* (sqrt (/ 1 (pow x 7))) (/ 1 (pow (sqrt -1) 4)))) (+ (* 1/2 (sqrt (/ 1 (pow x 3)))) (* (sqrt (/ 1 x)) (pow (sqrt -1) 2))))) (+ (* -1/8 (* (sqrt (/ 1 (pow x 5))) (sqrt -1))) (+ (* 1/16 (* (sqrt (/ 1 (pow x 7))) (sqrt -1))) (+ (* 1/2 (* (sqrt (/ 1 (pow x 3))) (sqrt -1))) (* (sqrt (/ 1 x)) (sqrt -1))))))))))
#s(approx (sqrt (+ 1 x)) #s(hole binary64 (* -1 (* (sqrt x) (pow (sqrt -1) 2)))))
#s(approx (sqrt (+ 1 x)) #s(hole binary64 (* -1 (* x (+ (* 1/2 (sqrt (/ 1 (pow x 3)))) (* (sqrt (/ 1 x)) (pow (sqrt -1) 2)))))))
#s(approx (sqrt (+ 1 x)) #s(hole binary64 (* -1 (* x (+ (* -1/8 (* (sqrt (/ 1 (pow x 5))) (/ 1 (pow (sqrt -1) 2)))) (+ (* 1/2 (sqrt (/ 1 (pow x 3)))) (* (sqrt (/ 1 x)) (pow (sqrt -1) 2))))))))
#s(approx (sqrt (+ 1 x)) #s(hole binary64 (* -1 (* x (+ (* -1/8 (* (sqrt (/ 1 (pow x 5))) (/ 1 (pow (sqrt -1) 2)))) (+ (* 1/16 (* (sqrt (/ 1 (pow x 7))) (/ 1 (pow (sqrt -1) 4)))) (+ (* 1/2 (sqrt (/ 1 (pow x 3)))) (* (sqrt (/ 1 x)) (pow (sqrt -1) 2)))))))))
#s(approx (sqrt (- 1 x)) #s(hole binary64 (* -1 (* (sqrt x) (sqrt -1)))))
#s(approx (sqrt (- 1 x)) #s(hole binary64 (* -1 (* x (+ (* 1/2 (* (sqrt (/ 1 (pow x 3))) (sqrt -1))) (* (sqrt (/ 1 x)) (sqrt -1)))))))
#s(approx (sqrt (- 1 x)) #s(hole binary64 (* -1 (* x (+ (* -1/8 (* (sqrt (/ 1 (pow x 5))) (sqrt -1))) (+ (* 1/2 (* (sqrt (/ 1 (pow x 3))) (sqrt -1))) (* (sqrt (/ 1 x)) (sqrt -1))))))))
#s(approx (sqrt (- 1 x)) #s(hole binary64 (* -1 (* x (+ (* -1/8 (* (sqrt (/ 1 (pow x 5))) (sqrt -1))) (+ (* 1/16 (* (sqrt (/ 1 (pow x 7))) (sqrt -1))) (+ (* 1/2 (* (sqrt (/ 1 (pow x 3))) (sqrt -1))) (* (sqrt (/ 1 x)) (sqrt -1)))))))))
#s(approx (- 1 x) #s(hole binary64 (* -1 (* x (- 1 (/ 1 x))))))
Calls

3 calls:

TimeVariablePointExpression
2.0ms
x
@-inf
((- (sqrt (+ 1 x)) (sqrt (- 1 x))) (sqrt (+ 1 x)) (+ 1 x) 1 x (sqrt (- 1 x)) (- 1 x))
2.0ms
x
@inf
((- (sqrt (+ 1 x)) (sqrt (- 1 x))) (sqrt (+ 1 x)) (+ 1 x) 1 x (sqrt (- 1 x)) (- 1 x))
1.0ms
x
@0
((- (sqrt (+ 1 x)) (sqrt (- 1 x))) (sqrt (+ 1 x)) (+ 1 x) 1 x (sqrt (- 1 x)) (- 1 x))

rewrite66.0ms (2.5%)

Memory
7.2MiB live, 93.1MiB allocated; 12ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02231305
02291094
012501036
Stop Event
iter-limit
iter-limit
node-limit
iter-limit
Counts
53 → 62
Calls
Call 1
Inputs
(-.f64 (sqrt.f64 (+.f64 #s(literal 1 binary64) x)) (sqrt.f64 (-.f64 #s(literal 1 binary64) x)))
(sqrt.f64 (+.f64 #s(literal 1 binary64) x))
(+.f64 #s(literal 1 binary64) x)
#s(literal 1 binary64)
x
(sqrt.f64 (-.f64 #s(literal 1 binary64) x))
(-.f64 #s(literal 1 binary64) x)
#s(approx (- (sqrt (+ 1 x)) (sqrt (- 1 x))) #s(hole binary64 x))
#s(approx (- (sqrt (+ 1 x)) (sqrt (- 1 x))) #s(hole binary64 (* x (+ 1 (* 1/8 (pow x 2))))))
#s(approx (- (sqrt (+ 1 x)) (sqrt (- 1 x))) #s(hole binary64 (* x (+ 1 (* (pow x 2) (+ 1/8 (* 7/128 (pow x 2))))))))
#s(approx (- (sqrt (+ 1 x)) (sqrt (- 1 x))) #s(hole binary64 (* x (+ 1 (* (pow x 2) (+ 1/8 (* (pow x 2) (+ 7/128 (* 33/1024 (pow x 2))))))))))
#s(approx (sqrt (+ 1 x)) #s(hole binary64 1))
#s(approx (sqrt (+ 1 x)) #s(hole binary64 (+ 1 (* 1/2 x))))
#s(approx (sqrt (+ 1 x)) #s(hole binary64 (+ 1 (* x (+ 1/2 (* -1/8 x))))))
#s(approx (sqrt (+ 1 x)) #s(hole binary64 (+ 1 (* x (+ 1/2 (* x (- (* 1/16 x) 1/8)))))))
#s(approx (+ 1 x) #s(hole binary64 1))
#s(approx (+ 1 x) #s(hole binary64 (+ 1 x)))
#s(approx x #s(hole binary64 x))
#s(approx (sqrt (- 1 x)) #s(hole binary64 1))
#s(approx (sqrt (- 1 x)) #s(hole binary64 (+ 1 (* -1/2 x))))
#s(approx (sqrt (- 1 x)) #s(hole binary64 (+ 1 (* x (- (* -1/8 x) 1/2)))))
#s(approx (sqrt (- 1 x)) #s(hole binary64 (+ 1 (* x (- (* x (- (* -1/16 x) 1/8)) 1/2)))))
#s(approx (- 1 x) #s(hole binary64 1))
#s(approx (- 1 x) #s(hole binary64 (+ 1 (* -1 x))))
#s(approx (- (sqrt (+ 1 x)) (sqrt (- 1 x))) #s(hole binary64 (* x (- (sqrt (/ 1 x)) (* (sqrt (/ 1 x)) (sqrt -1))))))
#s(approx (- (sqrt (+ 1 x)) (sqrt (- 1 x))) #s(hole binary64 (* x (- (+ (sqrt (/ 1 x)) (* 1/2 (sqrt (/ 1 (pow x 3))))) (+ (* 1/2 (* (sqrt (/ 1 (pow x 3))) (/ 1 (sqrt -1)))) (* (sqrt (/ 1 x)) (sqrt -1)))))))
#s(approx (- (sqrt (+ 1 x)) (sqrt (- 1 x))) #s(hole binary64 (* x (- (+ (sqrt (/ 1 x)) (+ (* -1/8 (sqrt (/ 1 (pow x 5)))) (* 1/2 (sqrt (/ 1 (pow x 3)))))) (+ (* -1/8 (* (sqrt (/ 1 (pow x 5))) (/ 1 (pow (sqrt -1) 3)))) (+ (* 1/2 (* (sqrt (/ 1 (pow x 3))) (/ 1 (sqrt -1)))) (* (sqrt (/ 1 x)) (sqrt -1))))))))
#s(approx (- (sqrt (+ 1 x)) (sqrt (- 1 x))) #s(hole binary64 (* x (- (+ (sqrt (/ 1 x)) (+ (* -1/8 (sqrt (/ 1 (pow x 5)))) (+ (* 1/16 (sqrt (/ 1 (pow x 7)))) (* 1/2 (sqrt (/ 1 (pow x 3))))))) (+ (* -1/8 (* (sqrt (/ 1 (pow x 5))) (/ 1 (pow (sqrt -1) 3)))) (+ (* 1/16 (* (sqrt (/ 1 (pow x 7))) (/ 1 (pow (sqrt -1) 5)))) (+ (* 1/2 (* (sqrt (/ 1 (pow x 3))) (/ 1 (sqrt -1)))) (* (sqrt (/ 1 x)) (sqrt -1)))))))))
#s(approx (sqrt (+ 1 x)) #s(hole binary64 (sqrt x)))
#s(approx (sqrt (+ 1 x)) #s(hole binary64 (* x (+ (sqrt (/ 1 x)) (* 1/2 (sqrt (/ 1 (pow x 3))))))))
#s(approx (sqrt (+ 1 x)) #s(hole binary64 (* x (+ (sqrt (/ 1 x)) (+ (* -1/8 (sqrt (/ 1 (pow x 5)))) (* 1/2 (sqrt (/ 1 (pow x 3)))))))))
#s(approx (sqrt (+ 1 x)) #s(hole binary64 (* x (+ (sqrt (/ 1 x)) (+ (* -1/8 (sqrt (/ 1 (pow x 5)))) (+ (* 1/16 (sqrt (/ 1 (pow x 7)))) (* 1/2 (sqrt (/ 1 (pow x 3))))))))))
#s(approx (+ 1 x) #s(hole binary64 x))
#s(approx (+ 1 x) #s(hole binary64 (* x (+ 1 (/ 1 x)))))
#s(approx (sqrt (- 1 x)) #s(hole binary64 (* (sqrt x) (sqrt -1))))
#s(approx (sqrt (- 1 x)) #s(hole binary64 (* x (+ (* 1/2 (* (sqrt (/ 1 (pow x 3))) (/ 1 (sqrt -1)))) (* (sqrt (/ 1 x)) (sqrt -1))))))
#s(approx (sqrt (- 1 x)) #s(hole binary64 (* x (+ (* -1/8 (* (sqrt (/ 1 (pow x 5))) (/ 1 (pow (sqrt -1) 3)))) (+ (* 1/2 (* (sqrt (/ 1 (pow x 3))) (/ 1 (sqrt -1)))) (* (sqrt (/ 1 x)) (sqrt -1)))))))
#s(approx (sqrt (- 1 x)) #s(hole binary64 (* x (+ (* -1/8 (* (sqrt (/ 1 (pow x 5))) (/ 1 (pow (sqrt -1) 3)))) (+ (* 1/16 (* (sqrt (/ 1 (pow x 7))) (/ 1 (pow (sqrt -1) 5)))) (+ (* 1/2 (* (sqrt (/ 1 (pow x 3))) (/ 1 (sqrt -1)))) (* (sqrt (/ 1 x)) (sqrt -1))))))))
#s(approx (- 1 x) #s(hole binary64 (* -1 x)))
#s(approx (- 1 x) #s(hole binary64 (* x (- (/ 1 x) 1))))
#s(approx (- (sqrt (+ 1 x)) (sqrt (- 1 x))) #s(hole binary64 (* -1 (* x (- (* (sqrt (/ 1 x)) (pow (sqrt -1) 2)) (* (sqrt (/ 1 x)) (sqrt -1)))))))
#s(approx (- (sqrt (+ 1 x)) (sqrt (- 1 x))) #s(hole binary64 (* -1 (* x (- (+ (* 1/2 (sqrt (/ 1 (pow x 3)))) (* (sqrt (/ 1 x)) (pow (sqrt -1) 2))) (+ (* 1/2 (* (sqrt (/ 1 (pow x 3))) (sqrt -1))) (* (sqrt (/ 1 x)) (sqrt -1))))))))
#s(approx (- (sqrt (+ 1 x)) (sqrt (- 1 x))) #s(hole binary64 (* -1 (* x (- (+ (* -1/8 (* (sqrt (/ 1 (pow x 5))) (/ 1 (pow (sqrt -1) 2)))) (+ (* 1/2 (sqrt (/ 1 (pow x 3)))) (* (sqrt (/ 1 x)) (pow (sqrt -1) 2)))) (+ (* -1/8 (* (sqrt (/ 1 (pow x 5))) (sqrt -1))) (+ (* 1/2 (* (sqrt (/ 1 (pow x 3))) (sqrt -1))) (* (sqrt (/ 1 x)) (sqrt -1)))))))))
#s(approx (- (sqrt (+ 1 x)) (sqrt (- 1 x))) #s(hole binary64 (* -1 (* x (- (+ (* -1/8 (* (sqrt (/ 1 (pow x 5))) (/ 1 (pow (sqrt -1) 2)))) (+ (* 1/16 (* (sqrt (/ 1 (pow x 7))) (/ 1 (pow (sqrt -1) 4)))) (+ (* 1/2 (sqrt (/ 1 (pow x 3)))) (* (sqrt (/ 1 x)) (pow (sqrt -1) 2))))) (+ (* -1/8 (* (sqrt (/ 1 (pow x 5))) (sqrt -1))) (+ (* 1/16 (* (sqrt (/ 1 (pow x 7))) (sqrt -1))) (+ (* 1/2 (* (sqrt (/ 1 (pow x 3))) (sqrt -1))) (* (sqrt (/ 1 x)) (sqrt -1))))))))))
#s(approx (sqrt (+ 1 x)) #s(hole binary64 (* -1 (* (sqrt x) (pow (sqrt -1) 2)))))
#s(approx (sqrt (+ 1 x)) #s(hole binary64 (* -1 (* x (+ (* 1/2 (sqrt (/ 1 (pow x 3)))) (* (sqrt (/ 1 x)) (pow (sqrt -1) 2)))))))
#s(approx (sqrt (+ 1 x)) #s(hole binary64 (* -1 (* x (+ (* -1/8 (* (sqrt (/ 1 (pow x 5))) (/ 1 (pow (sqrt -1) 2)))) (+ (* 1/2 (sqrt (/ 1 (pow x 3)))) (* (sqrt (/ 1 x)) (pow (sqrt -1) 2))))))))
#s(approx (sqrt (+ 1 x)) #s(hole binary64 (* -1 (* x (+ (* -1/8 (* (sqrt (/ 1 (pow x 5))) (/ 1 (pow (sqrt -1) 2)))) (+ (* 1/16 (* (sqrt (/ 1 (pow x 7))) (/ 1 (pow (sqrt -1) 4)))) (+ (* 1/2 (sqrt (/ 1 (pow x 3)))) (* (sqrt (/ 1 x)) (pow (sqrt -1) 2)))))))))
#s(approx (sqrt (- 1 x)) #s(hole binary64 (* -1 (* (sqrt x) (sqrt -1)))))
#s(approx (sqrt (- 1 x)) #s(hole binary64 (* -1 (* x (+ (* 1/2 (* (sqrt (/ 1 (pow x 3))) (sqrt -1))) (* (sqrt (/ 1 x)) (sqrt -1)))))))
#s(approx (sqrt (- 1 x)) #s(hole binary64 (* -1 (* x (+ (* -1/8 (* (sqrt (/ 1 (pow x 5))) (sqrt -1))) (+ (* 1/2 (* (sqrt (/ 1 (pow x 3))) (sqrt -1))) (* (sqrt (/ 1 x)) (sqrt -1))))))))
#s(approx (sqrt (- 1 x)) #s(hole binary64 (* -1 (* x (+ (* -1/8 (* (sqrt (/ 1 (pow x 5))) (sqrt -1))) (+ (* 1/16 (* (sqrt (/ 1 (pow x 7))) (sqrt -1))) (+ (* 1/2 (* (sqrt (/ 1 (pow x 3))) (sqrt -1))) (* (sqrt (/ 1 x)) (sqrt -1)))))))))
#s(approx (- 1 x) #s(hole binary64 (* -1 (* x (- 1 (/ 1 x))))))
Outputs
(/.f64 (-.f64 (*.f64 (sqrt.f64 (+.f64 x #s(literal 1 binary64))) (sqrt.f64 (+.f64 x #s(literal 1 binary64)))) (*.f64 (sqrt.f64 (-.f64 #s(literal 1 binary64) x)) (sqrt.f64 (-.f64 #s(literal 1 binary64) x)))) (+.f64 (sqrt.f64 (+.f64 x #s(literal 1 binary64))) (sqrt.f64 (-.f64 #s(literal 1 binary64) x))))
(/.f64 (-.f64 (pow.f64 (sqrt.f64 (+.f64 x #s(literal 1 binary64))) #s(literal 3 binary64)) (pow.f64 (sqrt.f64 (-.f64 #s(literal 1 binary64) x)) #s(literal 3 binary64))) (fma.f64 (sqrt.f64 (+.f64 x #s(literal 1 binary64))) (sqrt.f64 (+.f64 x #s(literal 1 binary64))) (fma.f64 (sqrt.f64 (-.f64 #s(literal 1 binary64) x)) (sqrt.f64 (-.f64 #s(literal 1 binary64) x)) (*.f64 (sqrt.f64 (+.f64 x #s(literal 1 binary64))) (sqrt.f64 (-.f64 #s(literal 1 binary64) x))))))
(-.f64 (sqrt.f64 (+.f64 x #s(literal 1 binary64))) (sqrt.f64 (-.f64 #s(literal 1 binary64) x)))
(pow.f64 (+.f64 x #s(literal 1 binary64)) #s(literal 1/2 binary64))
(sqrt.f64 (+.f64 x #s(literal 1 binary64)))
(/.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x)) (-.f64 #s(literal 1 binary64) x))
(/.f64 (+.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 3 binary64))) (+.f64 #s(literal 1 binary64) (-.f64 (*.f64 x x) (*.f64 #s(literal 1 binary64) x))))
(+.f64 x #s(literal 1 binary64))
(+.f64 #s(literal 1 binary64) x)
#s(literal 1 binary64)
x
(pow.f64 (-.f64 #s(literal 1 binary64) x) #s(literal 1/2 binary64))
(sqrt.f64 (-.f64 #s(literal 1 binary64) x))
(/.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x)) (+.f64 x #s(literal 1 binary64)))
(/.f64 (-.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 3 binary64))) (+.f64 #s(literal 1 binary64) (fma.f64 x x (*.f64 #s(literal 1 binary64) x))))
(-.f64 #s(literal 1 binary64) x)
#s(approx (- (sqrt (+ 1 x)) (sqrt (- 1 x))) x)
#s(approx (- (sqrt (+ 1 x)) (sqrt (- 1 x))) (*.f64 (fma.f64 (*.f64 x x) #s(literal 1/8 binary64) #s(literal 1 binary64)) x))
#s(approx (- (sqrt (+ 1 x)) (sqrt (- 1 x))) (*.f64 (fma.f64 (fma.f64 #s(literal 7/128 binary64) (*.f64 x x) #s(literal 1/8 binary64)) (*.f64 x x) #s(literal 1 binary64)) x))
#s(approx (- (sqrt (+ 1 x)) (sqrt (- 1 x))) (*.f64 (fma.f64 (fma.f64 (fma.f64 #s(literal 33/1024 binary64) (*.f64 x x) #s(literal 7/128 binary64)) (*.f64 x x) #s(literal 1/8 binary64)) (*.f64 x x) #s(literal 1 binary64)) x))
#s(approx (sqrt (+ 1 x)) #s(literal 1 binary64))
#s(approx (sqrt (+ 1 x)) (fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64)))
#s(approx (sqrt (+ 1 x)) (fma.f64 (fma.f64 #s(literal -1/8 binary64) x #s(literal 1/2 binary64)) x #s(literal 1 binary64)))
#s(approx (sqrt (+ 1 x)) (fma.f64 (fma.f64 (-.f64 (*.f64 #s(literal 1/16 binary64) x) #s(literal 1/8 binary64)) x #s(literal 1/2 binary64)) x #s(literal 1 binary64)))
#s(approx (+ 1 x) #s(literal 1 binary64))
#s(approx (+ 1 x) (+.f64 x #s(literal 1 binary64)))
#s(approx x x)
#s(approx (sqrt (- 1 x)) #s(literal 1 binary64))
#s(approx (sqrt (- 1 x)) (fma.f64 #s(literal -1/2 binary64) x #s(literal 1 binary64)))
#s(approx (sqrt (- 1 x)) (fma.f64 (-.f64 (*.f64 #s(literal -1/8 binary64) x) #s(literal 1/2 binary64)) x #s(literal 1 binary64)))
#s(approx (sqrt (- 1 x)) (fma.f64 (-.f64 (*.f64 (-.f64 (*.f64 #s(literal -1/16 binary64) x) #s(literal 1/8 binary64)) x) #s(literal 1/2 binary64)) x #s(literal 1 binary64)))
#s(approx (- 1 x) #s(literal 1 binary64))
#s(approx (- 1 x) (fma.f64 #s(literal -1 binary64) x #s(literal 1 binary64)))
#s(approx (- (sqrt (+ 1 x)) (sqrt (- 1 x))) (*.f64 (-.f64 (/.f64 #s(literal 1 binary64) (sqrt.f64 x)) (sqrt.f64 (*.f64 (pow.f64 x #s(literal -1 binary64)) #s(literal -1 binary64)))) x))
#s(approx (- (sqrt (+ 1 x)) (sqrt (- 1 x))) (*.f64 (-.f64 (fma.f64 (sqrt.f64 (pow.f64 x #s(literal -3 binary64))) #s(literal 1/2 binary64) (/.f64 #s(literal 1 binary64) (sqrt.f64 x))) (fma.f64 (*.f64 (sqrt.f64 (pow.f64 x #s(literal -3 binary64))) #s(literal 1/2 binary64)) (pow.f64 (sqrt.f64 #s(literal -1 binary64)) #s(literal -1 binary64)) (sqrt.f64 (*.f64 (pow.f64 x #s(literal -1 binary64)) #s(literal -1 binary64))))) x))
#s(approx (- (sqrt (+ 1 x)) (sqrt (- 1 x))) (*.f64 (-.f64 (+.f64 (fma.f64 (sqrt.f64 (pow.f64 x #s(literal -5 binary64))) #s(literal -1/8 binary64) (*.f64 (sqrt.f64 (pow.f64 x #s(literal -3 binary64))) #s(literal 1/2 binary64))) (/.f64 #s(literal 1 binary64) (sqrt.f64 x))) (fma.f64 (*.f64 (sqrt.f64 (pow.f64 x #s(literal -5 binary64))) #s(literal -1/8 binary64)) (pow.f64 (sqrt.f64 #s(literal -1 binary64)) #s(literal -3 binary64)) (fma.f64 (*.f64 (sqrt.f64 (pow.f64 x #s(literal -3 binary64))) #s(literal 1/2 binary64)) (pow.f64 (sqrt.f64 #s(literal -1 binary64)) #s(literal -1 binary64)) (sqrt.f64 (*.f64 (pow.f64 x #s(literal -1 binary64)) #s(literal -1 binary64)))))) x))
#s(approx (- (sqrt (+ 1 x)) (sqrt (- 1 x))) (*.f64 (-.f64 (+.f64 (fma.f64 (sqrt.f64 (pow.f64 x #s(literal -5 binary64))) #s(literal -1/8 binary64) (fma.f64 (sqrt.f64 (pow.f64 x #s(literal -7 binary64))) #s(literal 1/16 binary64) (*.f64 (sqrt.f64 (pow.f64 x #s(literal -3 binary64))) #s(literal 1/2 binary64)))) (/.f64 #s(literal 1 binary64) (sqrt.f64 x))) (fma.f64 (*.f64 (sqrt.f64 (pow.f64 x #s(literal -5 binary64))) #s(literal -1/8 binary64)) (pow.f64 (sqrt.f64 #s(literal -1 binary64)) #s(literal -3 binary64)) (fma.f64 (*.f64 (sqrt.f64 (pow.f64 x #s(literal -7 binary64))) #s(literal 1/16 binary64)) (pow.f64 (sqrt.f64 #s(literal -1 binary64)) #s(literal -5 binary64)) (fma.f64 (*.f64 (sqrt.f64 (pow.f64 x #s(literal -3 binary64))) #s(literal 1/2 binary64)) (pow.f64 (sqrt.f64 #s(literal -1 binary64)) #s(literal -1 binary64)) (sqrt.f64 (*.f64 (pow.f64 x #s(literal -1 binary64)) #s(literal -1 binary64))))))) x))
#s(approx (sqrt (+ 1 x)) (sqrt.f64 x))
#s(approx (sqrt (+ 1 x)) (*.f64 (fma.f64 (sqrt.f64 (pow.f64 x #s(literal -3 binary64))) #s(literal 1/2 binary64) (/.f64 #s(literal 1 binary64) (sqrt.f64 x))) x))
#s(approx (sqrt (+ 1 x)) (*.f64 (+.f64 (fma.f64 (sqrt.f64 (pow.f64 x #s(literal -5 binary64))) #s(literal -1/8 binary64) (*.f64 (sqrt.f64 (pow.f64 x #s(literal -3 binary64))) #s(literal 1/2 binary64))) (/.f64 #s(literal 1 binary64) (sqrt.f64 x))) x))
#s(approx (sqrt (+ 1 x)) (*.f64 (+.f64 (fma.f64 (sqrt.f64 (pow.f64 x #s(literal -5 binary64))) #s(literal -1/8 binary64) (fma.f64 (sqrt.f64 (pow.f64 x #s(literal -7 binary64))) #s(literal 1/16 binary64) (*.f64 (sqrt.f64 (pow.f64 x #s(literal -3 binary64))) #s(literal 1/2 binary64)))) (/.f64 #s(literal 1 binary64) (sqrt.f64 x))) x))
#s(approx (+ 1 x) x)
#s(approx (+ 1 x) (*.f64 (+.f64 (pow.f64 x #s(literal -1 binary64)) #s(literal 1 binary64)) x))
#s(approx (sqrt (- 1 x)) (sqrt.f64 (neg.f64 x)))
#s(approx (sqrt (- 1 x)) (*.f64 (fma.f64 (*.f64 (sqrt.f64 (pow.f64 x #s(literal -3 binary64))) #s(literal 1/2 binary64)) (pow.f64 (sqrt.f64 #s(literal -1 binary64)) #s(literal -1 binary64)) (sqrt.f64 (*.f64 (pow.f64 x #s(literal -1 binary64)) #s(literal -1 binary64)))) x))
#s(approx (sqrt (- 1 x)) (*.f64 (fma.f64 (*.f64 (sqrt.f64 (pow.f64 x #s(literal -5 binary64))) #s(literal -1/8 binary64)) (pow.f64 (sqrt.f64 #s(literal -1 binary64)) #s(literal -3 binary64)) (fma.f64 (*.f64 (sqrt.f64 (pow.f64 x #s(literal -3 binary64))) #s(literal 1/2 binary64)) (pow.f64 (sqrt.f64 #s(literal -1 binary64)) #s(literal -1 binary64)) (sqrt.f64 (*.f64 (pow.f64 x #s(literal -1 binary64)) #s(literal -1 binary64))))) x))
#s(approx (sqrt (- 1 x)) (*.f64 (fma.f64 (*.f64 (sqrt.f64 (pow.f64 x #s(literal -5 binary64))) #s(literal -1/8 binary64)) (pow.f64 (sqrt.f64 #s(literal -1 binary64)) #s(literal -3 binary64)) (fma.f64 (*.f64 (sqrt.f64 (pow.f64 x #s(literal -7 binary64))) #s(literal 1/16 binary64)) (pow.f64 (sqrt.f64 #s(literal -1 binary64)) #s(literal -5 binary64)) (fma.f64 (*.f64 (sqrt.f64 (pow.f64 x #s(literal -3 binary64))) #s(literal 1/2 binary64)) (pow.f64 (sqrt.f64 #s(literal -1 binary64)) #s(literal -1 binary64)) (sqrt.f64 (*.f64 (pow.f64 x #s(literal -1 binary64)) #s(literal -1 binary64)))))) x))
#s(approx (- 1 x) (neg.f64 x))
#s(approx (- 1 x) (*.f64 (-.f64 (pow.f64 x #s(literal -1 binary64)) #s(literal 1 binary64)) x))
#s(approx (- (sqrt (+ 1 x)) (sqrt (- 1 x))) (*.f64 (neg.f64 x) (*.f64 (/.f64 #s(literal 1 binary64) (sqrt.f64 x)) (-.f64 #s(literal -1 binary64) (sqrt.f64 #s(literal -1 binary64))))))
#s(approx (- (sqrt (+ 1 x)) (sqrt (- 1 x))) (*.f64 (neg.f64 x) (-.f64 (fma.f64 (sqrt.f64 (pow.f64 x #s(literal -3 binary64))) #s(literal 1/2 binary64) (*.f64 (/.f64 #s(literal 1 binary64) (sqrt.f64 x)) #s(literal -1 binary64))) (fma.f64 (sqrt.f64 (*.f64 (pow.f64 x #s(literal -3 binary64)) #s(literal -1 binary64))) #s(literal 1/2 binary64) (sqrt.f64 (*.f64 (pow.f64 x #s(literal -1 binary64)) #s(literal -1 binary64)))))))
#s(approx (- (sqrt (+ 1 x)) (sqrt (- 1 x))) (*.f64 (neg.f64 x) (-.f64 (fma.f64 (*.f64 (sqrt.f64 (pow.f64 x #s(literal -5 binary64))) #s(literal -1 binary64)) #s(literal -1/8 binary64) (fma.f64 (sqrt.f64 (pow.f64 x #s(literal -3 binary64))) #s(literal 1/2 binary64) (*.f64 (/.f64 #s(literal 1 binary64) (sqrt.f64 x)) #s(literal -1 binary64)))) (fma.f64 (sqrt.f64 (*.f64 (pow.f64 x #s(literal -5 binary64)) #s(literal -1 binary64))) #s(literal -1/8 binary64) (fma.f64 (sqrt.f64 (*.f64 (pow.f64 x #s(literal -3 binary64)) #s(literal -1 binary64))) #s(literal 1/2 binary64) (sqrt.f64 (*.f64 (pow.f64 x #s(literal -1 binary64)) #s(literal -1 binary64))))))))
#s(approx (- (sqrt (+ 1 x)) (sqrt (- 1 x))) (*.f64 (neg.f64 x) (-.f64 (fma.f64 (*.f64 (sqrt.f64 (pow.f64 x #s(literal -5 binary64))) #s(literal -1 binary64)) #s(literal -1/8 binary64) (fma.f64 (*.f64 (sqrt.f64 (pow.f64 x #s(literal -7 binary64))) #s(literal 1/16 binary64)) #s(literal 1 binary64) (fma.f64 (sqrt.f64 (pow.f64 x #s(literal -3 binary64))) #s(literal 1/2 binary64) (*.f64 (/.f64 #s(literal 1 binary64) (sqrt.f64 x)) #s(literal -1 binary64))))) (fma.f64 (sqrt.f64 (*.f64 (pow.f64 x #s(literal -5 binary64)) #s(literal -1 binary64))) #s(literal -1/8 binary64) (fma.f64 (sqrt.f64 (*.f64 (pow.f64 x #s(literal -7 binary64)) #s(literal -1 binary64))) #s(literal 1/16 binary64) (fma.f64 (sqrt.f64 (*.f64 (pow.f64 x #s(literal -3 binary64)) #s(literal -1 binary64))) #s(literal 1/2 binary64) (sqrt.f64 (*.f64 (pow.f64 x #s(literal -1 binary64)) #s(literal -1 binary64)))))))))
#s(approx (sqrt (+ 1 x)) (neg.f64 (*.f64 (sqrt.f64 x) #s(literal -1 binary64))))
#s(approx (sqrt (+ 1 x)) (*.f64 (neg.f64 x) (fma.f64 (sqrt.f64 (pow.f64 x #s(literal -3 binary64))) #s(literal 1/2 binary64) (*.f64 (/.f64 #s(literal 1 binary64) (sqrt.f64 x)) #s(literal -1 binary64)))))
#s(approx (sqrt (+ 1 x)) (*.f64 (neg.f64 x) (fma.f64 (*.f64 (sqrt.f64 (pow.f64 x #s(literal -5 binary64))) #s(literal -1 binary64)) #s(literal -1/8 binary64) (fma.f64 (sqrt.f64 (pow.f64 x #s(literal -3 binary64))) #s(literal 1/2 binary64) (*.f64 (/.f64 #s(literal 1 binary64) (sqrt.f64 x)) #s(literal -1 binary64))))))
#s(approx (sqrt (+ 1 x)) (*.f64 (neg.f64 x) (fma.f64 (*.f64 (sqrt.f64 (pow.f64 x #s(literal -5 binary64))) #s(literal -1 binary64)) #s(literal -1/8 binary64) (fma.f64 (*.f64 (sqrt.f64 (pow.f64 x #s(literal -7 binary64))) #s(literal 1/16 binary64)) #s(literal 1 binary64) (fma.f64 (sqrt.f64 (pow.f64 x #s(literal -3 binary64))) #s(literal 1/2 binary64) (*.f64 (/.f64 #s(literal 1 binary64) (sqrt.f64 x)) #s(literal -1 binary64)))))))
#s(approx (sqrt (- 1 x)) (neg.f64 (sqrt.f64 (neg.f64 x))))
#s(approx (sqrt (- 1 x)) (*.f64 (neg.f64 x) (fma.f64 (sqrt.f64 (*.f64 (pow.f64 x #s(literal -3 binary64)) #s(literal -1 binary64))) #s(literal 1/2 binary64) (sqrt.f64 (*.f64 (pow.f64 x #s(literal -1 binary64)) #s(literal -1 binary64))))))
#s(approx (sqrt (- 1 x)) (*.f64 (neg.f64 x) (fma.f64 (sqrt.f64 (*.f64 (pow.f64 x #s(literal -5 binary64)) #s(literal -1 binary64))) #s(literal -1/8 binary64) (fma.f64 (sqrt.f64 (*.f64 (pow.f64 x #s(literal -3 binary64)) #s(literal -1 binary64))) #s(literal 1/2 binary64) (sqrt.f64 (*.f64 (pow.f64 x #s(literal -1 binary64)) #s(literal -1 binary64)))))))
#s(approx (sqrt (- 1 x)) (*.f64 (neg.f64 x) (fma.f64 (sqrt.f64 (*.f64 (pow.f64 x #s(literal -5 binary64)) #s(literal -1 binary64))) #s(literal -1/8 binary64) (fma.f64 (sqrt.f64 (*.f64 (pow.f64 x #s(literal -7 binary64)) #s(literal -1 binary64))) #s(literal 1/16 binary64) (fma.f64 (sqrt.f64 (*.f64 (pow.f64 x #s(literal -3 binary64)) #s(literal -1 binary64))) #s(literal 1/2 binary64) (sqrt.f64 (*.f64 (pow.f64 x #s(literal -1 binary64)) #s(literal -1 binary64))))))))
#s(approx (- 1 x) (*.f64 (neg.f64 x) (-.f64 #s(literal 1 binary64) (pow.f64 x #s(literal -1 binary64)))))

eval6.0ms (0.2%)

Memory
13.6MiB live, 13.6MiB allocated; 0ms collecting garbage
Compiler

Compiled 1 455 to 271 computations (81.4% saved)

prune2.0ms (0.1%)

Memory
7.1MiB live, 7.1MiB allocated; 0ms collecting garbage
Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New62365
Fresh000
Picked101
Done000
Total63366
Accuracy
100.0%
Counts
66 → 3
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
#s(approx (- (sqrt (+ 1 x)) (sqrt (- 1 x))) (*.f64 (fma.f64 (fma.f64 #s(literal 7/128 binary64) (*.f64 x x) #s(literal 1/8 binary64)) (*.f64 x x) #s(literal 1 binary64)) x))
99.9%
#s(approx (- (sqrt (+ 1 x)) (sqrt (- 1 x))) (*.f64 (fma.f64 (*.f64 x x) #s(literal 1/8 binary64) #s(literal 1 binary64)) x))
99.6%
#s(approx (- (sqrt (+ 1 x)) (sqrt (- 1 x))) x)
Compiler

Compiled 52 to 36 computations (30.8% saved)

series6.0ms (0.2%)

Memory
14.9MiB live, 14.9MiB allocated; 0ms collecting garbage
Counts
13 → 39
Calls
Call 1
Inputs
#s(approx (- (sqrt (+ 1 x)) (sqrt (- 1 x))) x)
x
#s(approx (- (sqrt (+ 1 x)) (sqrt (- 1 x))) (*.f64 (fma.f64 (*.f64 x x) #s(literal 1/8 binary64) #s(literal 1 binary64)) x))
(*.f64 (fma.f64 (*.f64 x x) #s(literal 1/8 binary64) #s(literal 1 binary64)) x)
(fma.f64 (*.f64 x x) #s(literal 1/8 binary64) #s(literal 1 binary64))
(*.f64 x x)
#s(literal 1/8 binary64)
#s(literal 1 binary64)
#s(approx (- (sqrt (+ 1 x)) (sqrt (- 1 x))) (*.f64 (fma.f64 (fma.f64 #s(literal 7/128 binary64) (*.f64 x x) #s(literal 1/8 binary64)) (*.f64 x x) #s(literal 1 binary64)) x))
(*.f64 (fma.f64 (fma.f64 #s(literal 7/128 binary64) (*.f64 x x) #s(literal 1/8 binary64)) (*.f64 x x) #s(literal 1 binary64)) x)
(fma.f64 (fma.f64 #s(literal 7/128 binary64) (*.f64 x x) #s(literal 1/8 binary64)) (*.f64 x x) #s(literal 1 binary64))
(fma.f64 #s(literal 7/128 binary64) (*.f64 x x) #s(literal 1/8 binary64))
#s(literal 7/128 binary64)
Outputs
#s(approx (- (sqrt (+ 1 x)) (sqrt (- 1 x))) #s(hole binary64 x))
#s(approx (- (sqrt (+ 1 x)) (sqrt (- 1 x))) #s(hole binary64 (* x (+ 1 (* 1/8 (pow x 2))))))
#s(approx (- (sqrt (+ 1 x)) (sqrt (- 1 x))) #s(hole binary64 (* x (+ 1 (* (pow x 2) (+ 1/8 (* 7/128 (pow x 2))))))))
#s(approx (- (sqrt (+ 1 x)) (sqrt (- 1 x))) #s(hole binary64 (* x (+ 1 (* (pow x 2) (+ 1/8 (* (pow x 2) (+ 7/128 (* 33/1024 (pow x 2))))))))))
#s(approx x #s(hole binary64 x))
#s(approx (* (+ (* (* x x) 1/8) 1) x) #s(hole binary64 x))
#s(approx (* (+ (* (* x x) 1/8) 1) x) #s(hole binary64 (* x (+ 1 (* 1/8 (pow x 2))))))
#s(approx (+ (* (* x x) 1/8) 1) #s(hole binary64 1))
#s(approx (+ (* (* x x) 1/8) 1) #s(hole binary64 (+ 1 (* 1/8 (pow x 2)))))
#s(approx (* x x) #s(hole binary64 (pow x 2)))
#s(approx (* (+ (* (+ (* 7/128 (* x x)) 1/8) (* x x)) 1) x) #s(hole binary64 x))
#s(approx (* (+ (* (+ (* 7/128 (* x x)) 1/8) (* x x)) 1) x) #s(hole binary64 (* x (+ 1 (* 1/8 (pow x 2))))))
#s(approx (* (+ (* (+ (* 7/128 (* x x)) 1/8) (* x x)) 1) x) #s(hole binary64 (* x (+ 1 (* (pow x 2) (+ 1/8 (* 7/128 (pow x 2))))))))
#s(approx (+ (* (+ (* 7/128 (* x x)) 1/8) (* x x)) 1) #s(hole binary64 1))
#s(approx (+ (* (+ (* 7/128 (* x x)) 1/8) (* x x)) 1) #s(hole binary64 (+ 1 (* 1/8 (pow x 2)))))
#s(approx (+ (* (+ (* 7/128 (* x x)) 1/8) (* x x)) 1) #s(hole binary64 (+ 1 (* (pow x 2) (+ 1/8 (* 7/128 (pow x 2)))))))
#s(approx (+ (* 7/128 (* x x)) 1/8) #s(hole binary64 1/8))
#s(approx (+ (* 7/128 (* x x)) 1/8) #s(hole binary64 (+ 1/8 (* 7/128 (pow x 2)))))
#s(approx (- (sqrt (+ 1 x)) (sqrt (- 1 x))) #s(hole binary64 (* x (- (sqrt (/ 1 x)) (* (sqrt (/ 1 x)) (sqrt -1))))))
#s(approx (- (sqrt (+ 1 x)) (sqrt (- 1 x))) #s(hole binary64 (* x (- (+ (sqrt (/ 1 x)) (* 1/2 (sqrt (/ 1 (pow x 3))))) (+ (* 1/2 (* (sqrt (/ 1 (pow x 3))) (/ 1 (sqrt -1)))) (* (sqrt (/ 1 x)) (sqrt -1)))))))
#s(approx (- (sqrt (+ 1 x)) (sqrt (- 1 x))) #s(hole binary64 (* x (- (+ (sqrt (/ 1 x)) (+ (* -1/8 (sqrt (/ 1 (pow x 5)))) (* 1/2 (sqrt (/ 1 (pow x 3)))))) (+ (* -1/8 (* (sqrt (/ 1 (pow x 5))) (/ 1 (pow (sqrt -1) 3)))) (+ (* 1/2 (* (sqrt (/ 1 (pow x 3))) (/ 1 (sqrt -1)))) (* (sqrt (/ 1 x)) (sqrt -1))))))))
#s(approx (- (sqrt (+ 1 x)) (sqrt (- 1 x))) #s(hole binary64 (* x (- (+ (sqrt (/ 1 x)) (+ (* -1/8 (sqrt (/ 1 (pow x 5)))) (+ (* 1/16 (sqrt (/ 1 (pow x 7)))) (* 1/2 (sqrt (/ 1 (pow x 3))))))) (+ (* -1/8 (* (sqrt (/ 1 (pow x 5))) (/ 1 (pow (sqrt -1) 3)))) (+ (* 1/16 (* (sqrt (/ 1 (pow x 7))) (/ 1 (pow (sqrt -1) 5)))) (+ (* 1/2 (* (sqrt (/ 1 (pow x 3))) (/ 1 (sqrt -1)))) (* (sqrt (/ 1 x)) (sqrt -1)))))))))
#s(approx (* (+ (* (* x x) 1/8) 1) x) #s(hole binary64 (* 1/8 (pow x 3))))
#s(approx (* (+ (* (* x x) 1/8) 1) x) #s(hole binary64 (* (pow x 3) (+ 1/8 (/ 1 (pow x 2))))))
#s(approx (+ (* (* x x) 1/8) 1) #s(hole binary64 (* 1/8 (pow x 2))))
#s(approx (+ (* (* x x) 1/8) 1) #s(hole binary64 (* (pow x 2) (+ 1/8 (/ 1 (pow x 2))))))
#s(approx (* (+ (* (+ (* 7/128 (* x x)) 1/8) (* x x)) 1) x) #s(hole binary64 (* 7/128 (pow x 5))))
#s(approx (* (+ (* (+ (* 7/128 (* x x)) 1/8) (* x x)) 1) x) #s(hole binary64 (* (pow x 5) (+ 7/128 (* 1/8 (/ 1 (pow x 2)))))))
#s(approx (* (+ (* (+ (* 7/128 (* x x)) 1/8) (* x x)) 1) x) #s(hole binary64 (* (pow x 5) (+ 7/128 (+ (* 1/8 (/ 1 (pow x 2))) (/ 1 (pow x 4)))))))
#s(approx (+ (* (+ (* 7/128 (* x x)) 1/8) (* x x)) 1) #s(hole binary64 (* 7/128 (pow x 4))))
#s(approx (+ (* (+ (* 7/128 (* x x)) 1/8) (* x x)) 1) #s(hole binary64 (* (pow x 4) (+ 7/128 (* 1/8 (/ 1 (pow x 2)))))))
#s(approx (+ (* (+ (* 7/128 (* x x)) 1/8) (* x x)) 1) #s(hole binary64 (* (pow x 4) (+ 7/128 (+ (* 1/8 (/ 1 (pow x 2))) (/ 1 (pow x 4)))))))
#s(approx (+ (* 7/128 (* x x)) 1/8) #s(hole binary64 (* 7/128 (pow x 2))))
#s(approx (+ (* 7/128 (* x x)) 1/8) #s(hole binary64 (* (pow x 2) (+ 7/128 (* 1/8 (/ 1 (pow x 2)))))))
#s(approx (- (sqrt (+ 1 x)) (sqrt (- 1 x))) #s(hole binary64 (* -1 (* x (- (* (sqrt (/ 1 x)) (pow (sqrt -1) 2)) (* (sqrt (/ 1 x)) (sqrt -1)))))))
#s(approx (- (sqrt (+ 1 x)) (sqrt (- 1 x))) #s(hole binary64 (* -1 (* x (- (+ (* 1/2 (sqrt (/ 1 (pow x 3)))) (* (sqrt (/ 1 x)) (pow (sqrt -1) 2))) (+ (* 1/2 (* (sqrt (/ 1 (pow x 3))) (sqrt -1))) (* (sqrt (/ 1 x)) (sqrt -1))))))))
#s(approx (- (sqrt (+ 1 x)) (sqrt (- 1 x))) #s(hole binary64 (* -1 (* x (- (+ (* -1/8 (* (sqrt (/ 1 (pow x 5))) (/ 1 (pow (sqrt -1) 2)))) (+ (* 1/2 (sqrt (/ 1 (pow x 3)))) (* (sqrt (/ 1 x)) (pow (sqrt -1) 2)))) (+ (* -1/8 (* (sqrt (/ 1 (pow x 5))) (sqrt -1))) (+ (* 1/2 (* (sqrt (/ 1 (pow x 3))) (sqrt -1))) (* (sqrt (/ 1 x)) (sqrt -1)))))))))
#s(approx (- (sqrt (+ 1 x)) (sqrt (- 1 x))) #s(hole binary64 (* -1 (* x (- (+ (* -1/8 (* (sqrt (/ 1 (pow x 5))) (/ 1 (pow (sqrt -1) 2)))) (+ (* 1/16 (* (sqrt (/ 1 (pow x 7))) (/ 1 (pow (sqrt -1) 4)))) (+ (* 1/2 (sqrt (/ 1 (pow x 3)))) (* (sqrt (/ 1 x)) (pow (sqrt -1) 2))))) (+ (* -1/8 (* (sqrt (/ 1 (pow x 5))) (sqrt -1))) (+ (* 1/16 (* (sqrt (/ 1 (pow x 7))) (sqrt -1))) (+ (* 1/2 (* (sqrt (/ 1 (pow x 3))) (sqrt -1))) (* (sqrt (/ 1 x)) (sqrt -1))))))))))
#s(approx (* (+ (* (+ (* 7/128 (* x x)) 1/8) (* x x)) 1) x) #s(hole binary64 (* -1 (* (pow x 5) (- (* -1 (/ (+ 1/8 (/ 1 (pow x 2))) (pow x 2))) 7/128)))))
Calls

3 calls:

TimeVariablePointExpression
2.0ms
x
@inf
((- (sqrt (+ 1 x)) (sqrt (- 1 x))) x (- (sqrt (+ 1 x)) (sqrt (- 1 x))) (* (+ (* (* x x) 1/8) 1) x) (+ (* (* x x) 1/8) 1) (* x x) 1/8 1 (- (sqrt (+ 1 x)) (sqrt (- 1 x))) (* (+ (* (+ (* 7/128 (* x x)) 1/8) (* x x)) 1) x) (+ (* (+ (* 7/128 (* x x)) 1/8) (* x x)) 1) (+ (* 7/128 (* x x)) 1/8) 7/128)
2.0ms
x
@-inf
((- (sqrt (+ 1 x)) (sqrt (- 1 x))) x (- (sqrt (+ 1 x)) (sqrt (- 1 x))) (* (+ (* (* x x) 1/8) 1) x) (+ (* (* x x) 1/8) 1) (* x x) 1/8 1 (- (sqrt (+ 1 x)) (sqrt (- 1 x))) (* (+ (* (+ (* 7/128 (* x x)) 1/8) (* x x)) 1) x) (+ (* (+ (* 7/128 (* x x)) 1/8) (* x x)) 1) (+ (* 7/128 (* x x)) 1/8) 7/128)
1.0ms
x
@0
((- (sqrt (+ 1 x)) (sqrt (- 1 x))) x (- (sqrt (+ 1 x)) (sqrt (- 1 x))) (* (+ (* (* x x) 1/8) 1) x) (+ (* (* x x) 1/8) 1) (* x x) 1/8 1 (- (sqrt (+ 1 x)) (sqrt (- 1 x))) (* (+ (* (+ (* 7/128 (* x x)) 1/8) (* x x)) 1) x) (+ (* (+ (* 7/128 (* x x)) 1/8) (* x x)) 1) (+ (* 7/128 (* x x)) 1/8) 7/128)

rewrite86.0ms (3.3%)

Memory
-57.8MiB live, 100.0MiB allocated; 33ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01941189
02061052
011121022
Stop Event
iter-limit
iter-limit
node-limit
iter-limit
Counts
52 → 94
Calls
Call 1
Inputs
#s(approx (- (sqrt (+ 1 x)) (sqrt (- 1 x))) x)
x
#s(approx (- (sqrt (+ 1 x)) (sqrt (- 1 x))) (*.f64 (fma.f64 (*.f64 x x) #s(literal 1/8 binary64) #s(literal 1 binary64)) x))
(*.f64 (fma.f64 (*.f64 x x) #s(literal 1/8 binary64) #s(literal 1 binary64)) x)
(fma.f64 (*.f64 x x) #s(literal 1/8 binary64) #s(literal 1 binary64))
(*.f64 x x)
#s(literal 1/8 binary64)
#s(literal 1 binary64)
#s(approx (- (sqrt (+ 1 x)) (sqrt (- 1 x))) (*.f64 (fma.f64 (fma.f64 #s(literal 7/128 binary64) (*.f64 x x) #s(literal 1/8 binary64)) (*.f64 x x) #s(literal 1 binary64)) x))
(*.f64 (fma.f64 (fma.f64 #s(literal 7/128 binary64) (*.f64 x x) #s(literal 1/8 binary64)) (*.f64 x x) #s(literal 1 binary64)) x)
(fma.f64 (fma.f64 #s(literal 7/128 binary64) (*.f64 x x) #s(literal 1/8 binary64)) (*.f64 x x) #s(literal 1 binary64))
(fma.f64 #s(literal 7/128 binary64) (*.f64 x x) #s(literal 1/8 binary64))
#s(literal 7/128 binary64)
#s(approx (- (sqrt (+ 1 x)) (sqrt (- 1 x))) #s(hole binary64 x))
#s(approx (- (sqrt (+ 1 x)) (sqrt (- 1 x))) #s(hole binary64 (* x (+ 1 (* 1/8 (pow x 2))))))
#s(approx (- (sqrt (+ 1 x)) (sqrt (- 1 x))) #s(hole binary64 (* x (+ 1 (* (pow x 2) (+ 1/8 (* 7/128 (pow x 2))))))))
#s(approx (- (sqrt (+ 1 x)) (sqrt (- 1 x))) #s(hole binary64 (* x (+ 1 (* (pow x 2) (+ 1/8 (* (pow x 2) (+ 7/128 (* 33/1024 (pow x 2))))))))))
#s(approx x #s(hole binary64 x))
#s(approx (* (+ (* (* x x) 1/8) 1) x) #s(hole binary64 x))
#s(approx (* (+ (* (* x x) 1/8) 1) x) #s(hole binary64 (* x (+ 1 (* 1/8 (pow x 2))))))
#s(approx (+ (* (* x x) 1/8) 1) #s(hole binary64 1))
#s(approx (+ (* (* x x) 1/8) 1) #s(hole binary64 (+ 1 (* 1/8 (pow x 2)))))
#s(approx (* x x) #s(hole binary64 (pow x 2)))
#s(approx (* (+ (* (+ (* 7/128 (* x x)) 1/8) (* x x)) 1) x) #s(hole binary64 x))
#s(approx (* (+ (* (+ (* 7/128 (* x x)) 1/8) (* x x)) 1) x) #s(hole binary64 (* x (+ 1 (* 1/8 (pow x 2))))))
#s(approx (* (+ (* (+ (* 7/128 (* x x)) 1/8) (* x x)) 1) x) #s(hole binary64 (* x (+ 1 (* (pow x 2) (+ 1/8 (* 7/128 (pow x 2))))))))
#s(approx (+ (* (+ (* 7/128 (* x x)) 1/8) (* x x)) 1) #s(hole binary64 1))
#s(approx (+ (* (+ (* 7/128 (* x x)) 1/8) (* x x)) 1) #s(hole binary64 (+ 1 (* 1/8 (pow x 2)))))
#s(approx (+ (* (+ (* 7/128 (* x x)) 1/8) (* x x)) 1) #s(hole binary64 (+ 1 (* (pow x 2) (+ 1/8 (* 7/128 (pow x 2)))))))
#s(approx (+ (* 7/128 (* x x)) 1/8) #s(hole binary64 1/8))
#s(approx (+ (* 7/128 (* x x)) 1/8) #s(hole binary64 (+ 1/8 (* 7/128 (pow x 2)))))
#s(approx (- (sqrt (+ 1 x)) (sqrt (- 1 x))) #s(hole binary64 (* x (- (sqrt (/ 1 x)) (* (sqrt (/ 1 x)) (sqrt -1))))))
#s(approx (- (sqrt (+ 1 x)) (sqrt (- 1 x))) #s(hole binary64 (* x (- (+ (sqrt (/ 1 x)) (* 1/2 (sqrt (/ 1 (pow x 3))))) (+ (* 1/2 (* (sqrt (/ 1 (pow x 3))) (/ 1 (sqrt -1)))) (* (sqrt (/ 1 x)) (sqrt -1)))))))
#s(approx (- (sqrt (+ 1 x)) (sqrt (- 1 x))) #s(hole binary64 (* x (- (+ (sqrt (/ 1 x)) (+ (* -1/8 (sqrt (/ 1 (pow x 5)))) (* 1/2 (sqrt (/ 1 (pow x 3)))))) (+ (* -1/8 (* (sqrt (/ 1 (pow x 5))) (/ 1 (pow (sqrt -1) 3)))) (+ (* 1/2 (* (sqrt (/ 1 (pow x 3))) (/ 1 (sqrt -1)))) (* (sqrt (/ 1 x)) (sqrt -1))))))))
#s(approx (- (sqrt (+ 1 x)) (sqrt (- 1 x))) #s(hole binary64 (* x (- (+ (sqrt (/ 1 x)) (+ (* -1/8 (sqrt (/ 1 (pow x 5)))) (+ (* 1/16 (sqrt (/ 1 (pow x 7)))) (* 1/2 (sqrt (/ 1 (pow x 3))))))) (+ (* -1/8 (* (sqrt (/ 1 (pow x 5))) (/ 1 (pow (sqrt -1) 3)))) (+ (* 1/16 (* (sqrt (/ 1 (pow x 7))) (/ 1 (pow (sqrt -1) 5)))) (+ (* 1/2 (* (sqrt (/ 1 (pow x 3))) (/ 1 (sqrt -1)))) (* (sqrt (/ 1 x)) (sqrt -1)))))))))
#s(approx (* (+ (* (* x x) 1/8) 1) x) #s(hole binary64 (* 1/8 (pow x 3))))
#s(approx (* (+ (* (* x x) 1/8) 1) x) #s(hole binary64 (* (pow x 3) (+ 1/8 (/ 1 (pow x 2))))))
#s(approx (+ (* (* x x) 1/8) 1) #s(hole binary64 (* 1/8 (pow x 2))))
#s(approx (+ (* (* x x) 1/8) 1) #s(hole binary64 (* (pow x 2) (+ 1/8 (/ 1 (pow x 2))))))
#s(approx (* (+ (* (+ (* 7/128 (* x x)) 1/8) (* x x)) 1) x) #s(hole binary64 (* 7/128 (pow x 5))))
#s(approx (* (+ (* (+ (* 7/128 (* x x)) 1/8) (* x x)) 1) x) #s(hole binary64 (* (pow x 5) (+ 7/128 (* 1/8 (/ 1 (pow x 2)))))))
#s(approx (* (+ (* (+ (* 7/128 (* x x)) 1/8) (* x x)) 1) x) #s(hole binary64 (* (pow x 5) (+ 7/128 (+ (* 1/8 (/ 1 (pow x 2))) (/ 1 (pow x 4)))))))
#s(approx (+ (* (+ (* 7/128 (* x x)) 1/8) (* x x)) 1) #s(hole binary64 (* 7/128 (pow x 4))))
#s(approx (+ (* (+ (* 7/128 (* x x)) 1/8) (* x x)) 1) #s(hole binary64 (* (pow x 4) (+ 7/128 (* 1/8 (/ 1 (pow x 2)))))))
#s(approx (+ (* (+ (* 7/128 (* x x)) 1/8) (* x x)) 1) #s(hole binary64 (* (pow x 4) (+ 7/128 (+ (* 1/8 (/ 1 (pow x 2))) (/ 1 (pow x 4)))))))
#s(approx (+ (* 7/128 (* x x)) 1/8) #s(hole binary64 (* 7/128 (pow x 2))))
#s(approx (+ (* 7/128 (* x x)) 1/8) #s(hole binary64 (* (pow x 2) (+ 7/128 (* 1/8 (/ 1 (pow x 2)))))))
#s(approx (- (sqrt (+ 1 x)) (sqrt (- 1 x))) #s(hole binary64 (* -1 (* x (- (* (sqrt (/ 1 x)) (pow (sqrt -1) 2)) (* (sqrt (/ 1 x)) (sqrt -1)))))))
#s(approx (- (sqrt (+ 1 x)) (sqrt (- 1 x))) #s(hole binary64 (* -1 (* x (- (+ (* 1/2 (sqrt (/ 1 (pow x 3)))) (* (sqrt (/ 1 x)) (pow (sqrt -1) 2))) (+ (* 1/2 (* (sqrt (/ 1 (pow x 3))) (sqrt -1))) (* (sqrt (/ 1 x)) (sqrt -1))))))))
#s(approx (- (sqrt (+ 1 x)) (sqrt (- 1 x))) #s(hole binary64 (* -1 (* x (- (+ (* -1/8 (* (sqrt (/ 1 (pow x 5))) (/ 1 (pow (sqrt -1) 2)))) (+ (* 1/2 (sqrt (/ 1 (pow x 3)))) (* (sqrt (/ 1 x)) (pow (sqrt -1) 2)))) (+ (* -1/8 (* (sqrt (/ 1 (pow x 5))) (sqrt -1))) (+ (* 1/2 (* (sqrt (/ 1 (pow x 3))) (sqrt -1))) (* (sqrt (/ 1 x)) (sqrt -1)))))))))
#s(approx (- (sqrt (+ 1 x)) (sqrt (- 1 x))) #s(hole binary64 (* -1 (* x (- (+ (* -1/8 (* (sqrt (/ 1 (pow x 5))) (/ 1 (pow (sqrt -1) 2)))) (+ (* 1/16 (* (sqrt (/ 1 (pow x 7))) (/ 1 (pow (sqrt -1) 4)))) (+ (* 1/2 (sqrt (/ 1 (pow x 3)))) (* (sqrt (/ 1 x)) (pow (sqrt -1) 2))))) (+ (* -1/8 (* (sqrt (/ 1 (pow x 5))) (sqrt -1))) (+ (* 1/16 (* (sqrt (/ 1 (pow x 7))) (sqrt -1))) (+ (* 1/2 (* (sqrt (/ 1 (pow x 3))) (sqrt -1))) (* (sqrt (/ 1 x)) (sqrt -1))))))))))
#s(approx (* (+ (* (+ (* 7/128 (* x x)) 1/8) (* x x)) 1) x) #s(hole binary64 (* -1 (* (pow x 5) (- (* -1 (/ (+ 1/8 (/ 1 (pow x 2))) (pow x 2))) 7/128)))))
Outputs
#s(approx (- (sqrt (+ 1 x)) (sqrt (- 1 x))) x)
x
#s(approx (- (sqrt (+ 1 x)) (sqrt (- 1 x))) (*.f64 (fma.f64 (*.f64 x x) #s(literal 1/8 binary64) #s(literal 1 binary64)) x))
(*.f64 (fma.f64 (*.f64 x x) #s(literal 1/8 binary64) #s(literal 1 binary64)) x)
(*.f64 x (fma.f64 (*.f64 x x) #s(literal 1/8 binary64) #s(literal 1 binary64)))
(fma.f64 x #s(literal 1 binary64) (*.f64 x (*.f64 (*.f64 x x) #s(literal 1/8 binary64))))
(fma.f64 #s(literal 1 binary64) x (*.f64 (*.f64 (*.f64 x x) #s(literal 1/8 binary64)) x))
(+.f64 (*.f64 x #s(literal 1 binary64)) (*.f64 x (*.f64 (*.f64 x x) #s(literal 1/8 binary64))))
(+.f64 (*.f64 #s(literal 1 binary64) x) (*.f64 (*.f64 (*.f64 x x) #s(literal 1/8 binary64)) x))
(/.f64 (-.f64 #s(literal 1 binary64) (*.f64 (*.f64 (*.f64 x x) #s(literal 1/8 binary64)) (*.f64 (*.f64 x x) #s(literal 1/8 binary64)))) (-.f64 #s(literal 1 binary64) (*.f64 (*.f64 x x) #s(literal 1/8 binary64))))
(/.f64 (-.f64 (*.f64 (*.f64 (*.f64 x x) #s(literal 1/8 binary64)) (*.f64 (*.f64 x x) #s(literal 1/8 binary64))) #s(literal 1 binary64)) (-.f64 (*.f64 (*.f64 x x) #s(literal 1/8 binary64)) #s(literal 1 binary64)))
(/.f64 (+.f64 #s(literal 1 binary64) (pow.f64 (*.f64 (*.f64 x x) #s(literal 1/8 binary64)) #s(literal 3 binary64))) (+.f64 #s(literal 1 binary64) (-.f64 (*.f64 (*.f64 (*.f64 x x) #s(literal 1/8 binary64)) (*.f64 (*.f64 x x) #s(literal 1/8 binary64))) (*.f64 #s(literal 1 binary64) (*.f64 (*.f64 x x) #s(literal 1/8 binary64))))))
(/.f64 (+.f64 (pow.f64 (*.f64 (*.f64 x x) #s(literal 1/8 binary64)) #s(literal 3 binary64)) #s(literal 1 binary64)) (fma.f64 (*.f64 (*.f64 x x) #s(literal 1/8 binary64)) (*.f64 (*.f64 x x) #s(literal 1/8 binary64)) (-.f64 #s(literal 1 binary64) (*.f64 (*.f64 (*.f64 x x) #s(literal 1/8 binary64)) #s(literal 1 binary64)))))
(fma.f64 (*.f64 x x) #s(literal 1/8 binary64) #s(literal 1 binary64))
(fma.f64 #s(literal 1/8 binary64) (*.f64 x x) #s(literal 1 binary64))
(fma.f64 x (*.f64 x #s(literal 1/8 binary64)) #s(literal 1 binary64))
(-.f64 #s(literal 1 binary64) (*.f64 #s(literal -1/8 binary64) (*.f64 x x)))
(+.f64 (*.f64 (*.f64 x x) #s(literal 1/8 binary64)) #s(literal 1 binary64))
(+.f64 #s(literal 1 binary64) (*.f64 (*.f64 x x) #s(literal 1/8 binary64)))
(*.f64 (pow.f64 x #s(literal 1 binary64)) (pow.f64 x #s(literal 1 binary64)))
(*.f64 (neg.f64 x) (neg.f64 x))
(*.f64 (fabs.f64 x) (fabs.f64 x))
(*.f64 x x)
(pow.f64 x #s(literal 2 binary64))
(exp.f64 (*.f64 (log.f64 x) #s(literal 2 binary64)))
#s(literal 1/8 binary64)
#s(literal 1 binary64)
#s(approx (- (sqrt (+ 1 x)) (sqrt (- 1 x))) (*.f64 (fma.f64 (fma.f64 (*.f64 x x) #s(literal 7/128 binary64) #s(literal 1/8 binary64)) (*.f64 x x) #s(literal 1 binary64)) x))
(*.f64 (fma.f64 (fma.f64 (*.f64 x x) #s(literal 7/128 binary64) #s(literal 1/8 binary64)) (*.f64 x x) #s(literal 1 binary64)) x)
(*.f64 x (fma.f64 (fma.f64 (*.f64 x x) #s(literal 7/128 binary64) #s(literal 1/8 binary64)) (*.f64 x x) #s(literal 1 binary64)))
(fma.f64 x #s(literal 1 binary64) (*.f64 x (*.f64 (*.f64 (fma.f64 (*.f64 x x) #s(literal 7/128 binary64) #s(literal 1/8 binary64)) x) x)))
(fma.f64 #s(literal 1 binary64) x (*.f64 (*.f64 (*.f64 (fma.f64 (*.f64 x x) #s(literal 7/128 binary64) #s(literal 1/8 binary64)) x) x) x))
(+.f64 (*.f64 x #s(literal 1 binary64)) (*.f64 x (*.f64 (*.f64 (fma.f64 (*.f64 x x) #s(literal 7/128 binary64) #s(literal 1/8 binary64)) x) x)))
(+.f64 (*.f64 #s(literal 1 binary64) x) (*.f64 (*.f64 (*.f64 (fma.f64 (*.f64 x x) #s(literal 7/128 binary64) #s(literal 1/8 binary64)) x) x) x))
(/.f64 (-.f64 #s(literal 1 binary64) (*.f64 (*.f64 (*.f64 (fma.f64 (*.f64 x x) #s(literal 7/128 binary64) #s(literal 1/8 binary64)) x) x) (*.f64 (*.f64 (fma.f64 (*.f64 x x) #s(literal 7/128 binary64) #s(literal 1/8 binary64)) x) x))) (-.f64 #s(literal 1 binary64) (*.f64 (*.f64 (fma.f64 (*.f64 x x) #s(literal 7/128 binary64) #s(literal 1/8 binary64)) x) x)))
(/.f64 (-.f64 (*.f64 (*.f64 (*.f64 (fma.f64 (*.f64 x x) #s(literal 7/128 binary64) #s(literal 1/8 binary64)) x) x) (*.f64 (*.f64 (fma.f64 (*.f64 x x) #s(literal 7/128 binary64) #s(literal 1/8 binary64)) x) x)) #s(literal 1 binary64)) (-.f64 (*.f64 (*.f64 (fma.f64 (*.f64 x x) #s(literal 7/128 binary64) #s(literal 1/8 binary64)) x) x) #s(literal 1 binary64)))
(/.f64 (+.f64 #s(literal 1 binary64) (pow.f64 (*.f64 (*.f64 (fma.f64 (*.f64 x x) #s(literal 7/128 binary64) #s(literal 1/8 binary64)) x) x) #s(literal 3 binary64))) (+.f64 #s(literal 1 binary64) (-.f64 (*.f64 (*.f64 (*.f64 (fma.f64 (*.f64 x x) #s(literal 7/128 binary64) #s(literal 1/8 binary64)) x) x) (*.f64 (*.f64 (fma.f64 (*.f64 x x) #s(literal 7/128 binary64) #s(literal 1/8 binary64)) x) x)) (*.f64 #s(literal 1 binary64) (*.f64 (*.f64 (fma.f64 (*.f64 x x) #s(literal 7/128 binary64) #s(literal 1/8 binary64)) x) x)))))
(/.f64 (+.f64 (pow.f64 (*.f64 (*.f64 (fma.f64 (*.f64 x x) #s(literal 7/128 binary64) #s(literal 1/8 binary64)) x) x) #s(literal 3 binary64)) #s(literal 1 binary64)) (fma.f64 (*.f64 (*.f64 (fma.f64 (*.f64 x x) #s(literal 7/128 binary64) #s(literal 1/8 binary64)) x) x) (*.f64 (*.f64 (fma.f64 (*.f64 x x) #s(literal 7/128 binary64) #s(literal 1/8 binary64)) x) x) (-.f64 #s(literal 1 binary64) (*.f64 (*.f64 (*.f64 (fma.f64 (*.f64 x x) #s(literal 7/128 binary64) #s(literal 1/8 binary64)) x) x) #s(literal 1 binary64)))))
(fma.f64 (*.f64 (fma.f64 (*.f64 x x) #s(literal 7/128 binary64) #s(literal 1/8 binary64)) x) x #s(literal 1 binary64))
(fma.f64 (fma.f64 (*.f64 x x) #s(literal 7/128 binary64) #s(literal 1/8 binary64)) (*.f64 x x) #s(literal 1 binary64))
(fma.f64 (*.f64 x x) (fma.f64 (*.f64 x x) #s(literal 7/128 binary64) #s(literal 1/8 binary64)) #s(literal 1 binary64))
(-.f64 #s(literal 1 binary64) (*.f64 (neg.f64 (*.f64 x x)) (fma.f64 (*.f64 x x) #s(literal 7/128 binary64) #s(literal 1/8 binary64))))
(+.f64 (*.f64 (*.f64 (fma.f64 (*.f64 x x) #s(literal 7/128 binary64) #s(literal 1/8 binary64)) x) x) #s(literal 1 binary64))
(+.f64 #s(literal 1 binary64) (*.f64 (*.f64 (fma.f64 (*.f64 x x) #s(literal 7/128 binary64) #s(literal 1/8 binary64)) x) x))
(/.f64 (-.f64 (*.f64 (*.f64 (*.f64 x x) #s(literal 7/128 binary64)) (*.f64 (*.f64 x x) #s(literal 7/128 binary64))) #s(literal 1/64 binary64)) (-.f64 (*.f64 (*.f64 x x) #s(literal 7/128 binary64)) #s(literal 1/8 binary64)))
(/.f64 (-.f64 #s(literal 1/64 binary64) (*.f64 (*.f64 (*.f64 x x) #s(literal 7/128 binary64)) (*.f64 (*.f64 x x) #s(literal 7/128 binary64)))) (-.f64 #s(literal 1/8 binary64) (*.f64 (*.f64 x x) #s(literal 7/128 binary64))))
(/.f64 (+.f64 (pow.f64 (*.f64 (*.f64 x x) #s(literal 7/128 binary64)) #s(literal 3 binary64)) #s(literal 1/512 binary64)) (fma.f64 (*.f64 (*.f64 x x) #s(literal 7/128 binary64)) (*.f64 (*.f64 x x) #s(literal 7/128 binary64)) (-.f64 #s(literal 1/64 binary64) (*.f64 (*.f64 (*.f64 x x) #s(literal 7/128 binary64)) #s(literal 1/8 binary64)))))
(/.f64 (+.f64 #s(literal 1/512 binary64) (pow.f64 (*.f64 (*.f64 x x) #s(literal 7/128 binary64)) #s(literal 3 binary64))) (+.f64 #s(literal 1/64 binary64) (-.f64 (*.f64 (*.f64 (*.f64 x x) #s(literal 7/128 binary64)) (*.f64 (*.f64 x x) #s(literal 7/128 binary64))) (*.f64 #s(literal 1/8 binary64) (*.f64 (*.f64 x x) #s(literal 7/128 binary64))))))
(fma.f64 (*.f64 #s(literal 7/128 binary64) x) x #s(literal 1/8 binary64))
(fma.f64 (*.f64 x x) #s(literal 7/128 binary64) #s(literal 1/8 binary64))
(fma.f64 #s(literal 7/128 binary64) (*.f64 x x) #s(literal 1/8 binary64))
(-.f64 #s(literal 1/8 binary64) (*.f64 #s(literal -7/128 binary64) (*.f64 x x)))
(+.f64 (*.f64 (*.f64 x x) #s(literal 7/128 binary64)) #s(literal 1/8 binary64))
(+.f64 #s(literal 1/8 binary64) (*.f64 (*.f64 x x) #s(literal 7/128 binary64)))
#s(literal 7/128 binary64)
#s(approx (- (sqrt (+ 1 x)) (sqrt (- 1 x))) x)
#s(approx (- (sqrt (+ 1 x)) (sqrt (- 1 x))) (*.f64 (fma.f64 (*.f64 x x) #s(literal 1/8 binary64) #s(literal 1 binary64)) x))
#s(approx (- (sqrt (+ 1 x)) (sqrt (- 1 x))) (*.f64 (fma.f64 (fma.f64 (*.f64 x x) #s(literal 7/128 binary64) #s(literal 1/8 binary64)) (*.f64 x x) #s(literal 1 binary64)) x))
#s(approx (- (sqrt (+ 1 x)) (sqrt (- 1 x))) (*.f64 (fma.f64 (fma.f64 (fma.f64 #s(literal 33/1024 binary64) (*.f64 x x) #s(literal 7/128 binary64)) (*.f64 x x) #s(literal 1/8 binary64)) (*.f64 x x) #s(literal 1 binary64)) x))
#s(approx x x)
#s(approx (* (+ (* (* x x) 1/8) 1) x) x)
#s(approx (* (+ (* (* x x) 1/8) 1) x) (*.f64 (fma.f64 (*.f64 x x) #s(literal 1/8 binary64) #s(literal 1 binary64)) x))
#s(approx (+ (* (* x x) 1/8) 1) #s(literal 1 binary64))
#s(approx (+ (* (* x x) 1/8) 1) (fma.f64 (*.f64 x x) #s(literal 1/8 binary64) #s(literal 1 binary64)))
#s(approx (* x x) (*.f64 x x))
#s(approx (* (+ (* (+ (* 7/128 (* x x)) 1/8) (* x x)) 1) x) x)
#s(approx (* (+ (* (+ (* 7/128 (* x x)) 1/8) (* x x)) 1) x) (*.f64 (fma.f64 (*.f64 x x) #s(literal 1/8 binary64) #s(literal 1 binary64)) x))
#s(approx (* (+ (* (+ (* 7/128 (* x x)) 1/8) (* x x)) 1) x) (*.f64 (fma.f64 (fma.f64 (*.f64 x x) #s(literal 7/128 binary64) #s(literal 1/8 binary64)) (*.f64 x x) #s(literal 1 binary64)) x))
#s(approx (+ (* (+ (* 7/128 (* x x)) 1/8) (* x x)) 1) #s(literal 1 binary64))
#s(approx (+ (* (+ (* 7/128 (* x x)) 1/8) (* x x)) 1) (fma.f64 (*.f64 x x) #s(literal 1/8 binary64) #s(literal 1 binary64)))
#s(approx (+ (* (+ (* 7/128 (* x x)) 1/8) (* x x)) 1) (fma.f64 (fma.f64 (*.f64 x x) #s(literal 7/128 binary64) #s(literal 1/8 binary64)) (*.f64 x x) #s(literal 1 binary64)))
#s(approx (+ (* 7/128 (* x x)) 1/8) #s(literal 1/8 binary64))
#s(approx (+ (* 7/128 (* x x)) 1/8) (fma.f64 (*.f64 x x) #s(literal 7/128 binary64) #s(literal 1/8 binary64)))
#s(approx (- (sqrt (+ 1 x)) (sqrt (- 1 x))) (*.f64 (-.f64 (/.f64 #s(literal 1 binary64) (sqrt.f64 x)) (sqrt.f64 (*.f64 (pow.f64 x #s(literal -1 binary64)) #s(literal -1 binary64)))) x))
#s(approx (- (sqrt (+ 1 x)) (sqrt (- 1 x))) (*.f64 (-.f64 (fma.f64 (sqrt.f64 (pow.f64 x #s(literal -3 binary64))) #s(literal 1/2 binary64) (/.f64 #s(literal 1 binary64) (sqrt.f64 x))) (fma.f64 (*.f64 (sqrt.f64 (pow.f64 x #s(literal -3 binary64))) #s(literal 1/2 binary64)) (pow.f64 (sqrt.f64 #s(literal -1 binary64)) #s(literal -1 binary64)) (sqrt.f64 (*.f64 (pow.f64 x #s(literal -1 binary64)) #s(literal -1 binary64))))) x))
#s(approx (- (sqrt (+ 1 x)) (sqrt (- 1 x))) (*.f64 (-.f64 (+.f64 (fma.f64 (sqrt.f64 (pow.f64 x #s(literal -5 binary64))) #s(literal -1/8 binary64) (*.f64 (sqrt.f64 (pow.f64 x #s(literal -3 binary64))) #s(literal 1/2 binary64))) (/.f64 #s(literal 1 binary64) (sqrt.f64 x))) (fma.f64 (*.f64 (sqrt.f64 (pow.f64 x #s(literal -5 binary64))) #s(literal -1/8 binary64)) (pow.f64 (sqrt.f64 #s(literal -1 binary64)) #s(literal -3 binary64)) (fma.f64 (*.f64 (sqrt.f64 (pow.f64 x #s(literal -3 binary64))) #s(literal 1/2 binary64)) (pow.f64 (sqrt.f64 #s(literal -1 binary64)) #s(literal -1 binary64)) (sqrt.f64 (*.f64 (pow.f64 x #s(literal -1 binary64)) #s(literal -1 binary64)))))) x))
#s(approx (- (sqrt (+ 1 x)) (sqrt (- 1 x))) (*.f64 (-.f64 (+.f64 (fma.f64 (sqrt.f64 (pow.f64 x #s(literal -5 binary64))) #s(literal -1/8 binary64) (fma.f64 (sqrt.f64 (pow.f64 x #s(literal -7 binary64))) #s(literal 1/16 binary64) (*.f64 (sqrt.f64 (pow.f64 x #s(literal -3 binary64))) #s(literal 1/2 binary64)))) (/.f64 #s(literal 1 binary64) (sqrt.f64 x))) (fma.f64 (*.f64 (sqrt.f64 (pow.f64 x #s(literal -5 binary64))) #s(literal -1/8 binary64)) (pow.f64 (sqrt.f64 #s(literal -1 binary64)) #s(literal -3 binary64)) (fma.f64 (*.f64 (sqrt.f64 (pow.f64 x #s(literal -7 binary64))) #s(literal 1/16 binary64)) (pow.f64 (sqrt.f64 #s(literal -1 binary64)) #s(literal -5 binary64)) (fma.f64 (*.f64 (sqrt.f64 (pow.f64 x #s(literal -3 binary64))) #s(literal 1/2 binary64)) (pow.f64 (sqrt.f64 #s(literal -1 binary64)) #s(literal -1 binary64)) (sqrt.f64 (*.f64 (pow.f64 x #s(literal -1 binary64)) #s(literal -1 binary64))))))) x))
#s(approx (* (+ (* (* x x) 1/8) 1) x) (*.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal 1/8 binary64)))
#s(approx (* (+ (* (* x x) 1/8) 1) x) (*.f64 (+.f64 (pow.f64 x #s(literal -2 binary64)) #s(literal 1/8 binary64)) (pow.f64 x #s(literal 3 binary64))))
#s(approx (+ (* (* x x) 1/8) 1) (*.f64 (*.f64 x x) #s(literal 1/8 binary64)))
#s(approx (+ (* (* x x) 1/8) 1) (*.f64 (+.f64 (pow.f64 x #s(literal -2 binary64)) #s(literal 1/8 binary64)) (*.f64 x x)))
#s(approx (* (+ (* (+ (* 7/128 (* x x)) 1/8) (* x x)) 1) x) (*.f64 (pow.f64 x #s(literal 5 binary64)) #s(literal 7/128 binary64)))
#s(approx (* (+ (* (+ (* 7/128 (* x x)) 1/8) (* x x)) 1) x) (*.f64 (fma.f64 (pow.f64 x #s(literal -2 binary64)) #s(literal 1/8 binary64) #s(literal 7/128 binary64)) (pow.f64 x #s(literal 5 binary64))))
#s(approx (* (+ (* (+ (* 7/128 (* x x)) 1/8) (* x x)) 1) x) (*.f64 (+.f64 (fma.f64 (pow.f64 x #s(literal -2 binary64)) #s(literal 1/8 binary64) (pow.f64 x #s(literal -4 binary64))) #s(literal 7/128 binary64)) (pow.f64 x #s(literal 5 binary64))))
#s(approx (+ (* (+ (* 7/128 (* x x)) 1/8) (* x x)) 1) (*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal 7/128 binary64)))
#s(approx (+ (* (+ (* 7/128 (* x x)) 1/8) (* x x)) 1) (*.f64 (pow.f64 x #s(literal 4 binary64)) (fma.f64 (pow.f64 x #s(literal -2 binary64)) #s(literal 1/8 binary64) #s(literal 7/128 binary64))))
#s(approx (+ (* (+ (* 7/128 (* x x)) 1/8) (* x x)) 1) (*.f64 (+.f64 (fma.f64 (pow.f64 x #s(literal -2 binary64)) #s(literal 1/8 binary64) (pow.f64 x #s(literal -4 binary64))) #s(literal 7/128 binary64)) (pow.f64 x #s(literal 4 binary64))))
#s(approx (+ (* 7/128 (* x x)) 1/8) (*.f64 (*.f64 x x) #s(literal 7/128 binary64)))
#s(approx (+ (* 7/128 (* x x)) 1/8) (*.f64 (fma.f64 (pow.f64 x #s(literal -2 binary64)) #s(literal 1/8 binary64) #s(literal 7/128 binary64)) (*.f64 x x)))
#s(approx (- (sqrt (+ 1 x)) (sqrt (- 1 x))) (neg.f64 (*.f64 (*.f64 (/.f64 #s(literal 1 binary64) (sqrt.f64 x)) (-.f64 #s(literal -1 binary64) (sqrt.f64 #s(literal -1 binary64)))) x)))
#s(approx (- (sqrt (+ 1 x)) (sqrt (- 1 x))) (neg.f64 (*.f64 (-.f64 (fma.f64 (sqrt.f64 (pow.f64 x #s(literal -3 binary64))) #s(literal 1/2 binary64) (*.f64 #s(literal -1 binary64) (/.f64 #s(literal 1 binary64) (sqrt.f64 x)))) (fma.f64 (sqrt.f64 (*.f64 (pow.f64 x #s(literal -3 binary64)) #s(literal -1 binary64))) #s(literal 1/2 binary64) (sqrt.f64 (*.f64 (pow.f64 x #s(literal -1 binary64)) #s(literal -1 binary64))))) x)))
#s(approx (- (sqrt (+ 1 x)) (sqrt (- 1 x))) (neg.f64 (*.f64 (-.f64 (fma.f64 (*.f64 (sqrt.f64 (pow.f64 x #s(literal -5 binary64))) #s(literal -1 binary64)) #s(literal -1/8 binary64) (fma.f64 (sqrt.f64 (pow.f64 x #s(literal -3 binary64))) #s(literal 1/2 binary64) (*.f64 #s(literal -1 binary64) (/.f64 #s(literal 1 binary64) (sqrt.f64 x))))) (fma.f64 (sqrt.f64 (*.f64 (pow.f64 x #s(literal -5 binary64)) #s(literal -1 binary64))) #s(literal -1/8 binary64) (fma.f64 (sqrt.f64 (*.f64 (pow.f64 x #s(literal -3 binary64)) #s(literal -1 binary64))) #s(literal 1/2 binary64) (sqrt.f64 (*.f64 (pow.f64 x #s(literal -1 binary64)) #s(literal -1 binary64)))))) x)))
#s(approx (- (sqrt (+ 1 x)) (sqrt (- 1 x))) (neg.f64 (*.f64 (-.f64 (fma.f64 (*.f64 (sqrt.f64 (pow.f64 x #s(literal -5 binary64))) #s(literal -1 binary64)) #s(literal -1/8 binary64) (fma.f64 (*.f64 (sqrt.f64 (pow.f64 x #s(literal -7 binary64))) #s(literal 1/16 binary64)) #s(literal 1 binary64) (fma.f64 (sqrt.f64 (pow.f64 x #s(literal -3 binary64))) #s(literal 1/2 binary64) (*.f64 #s(literal -1 binary64) (/.f64 #s(literal 1 binary64) (sqrt.f64 x)))))) (fma.f64 (sqrt.f64 (*.f64 (pow.f64 x #s(literal -5 binary64)) #s(literal -1 binary64))) #s(literal -1/8 binary64) (fma.f64 (sqrt.f64 (*.f64 (pow.f64 x #s(literal -7 binary64)) #s(literal -1 binary64))) #s(literal 1/16 binary64) (fma.f64 (sqrt.f64 (*.f64 (pow.f64 x #s(literal -3 binary64)) #s(literal -1 binary64))) #s(literal 1/2 binary64) (sqrt.f64 (*.f64 (pow.f64 x #s(literal -1 binary64)) #s(literal -1 binary64))))))) x)))
#s(approx (* (+ (* (+ (* 7/128 (* x x)) 1/8) (* x x)) 1) x) (neg.f64 (*.f64 (-.f64 (neg.f64 (/.f64 (+.f64 (pow.f64 x #s(literal -2 binary64)) #s(literal 1/8 binary64)) (*.f64 x x))) #s(literal 7/128 binary64)) (pow.f64 x #s(literal 5 binary64)))))

eval13.0ms (0.5%)

Memory
36.4MiB live, 36.4MiB allocated; 0ms collecting garbage
Compiler

Compiled 3 421 to 484 computations (85.9% saved)

prune8.0ms (0.3%)

Memory
-29.1MiB live, 17.3MiB allocated; 3ms collecting garbage
Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New1221123
Fresh000
Picked033
Done000
Total1224126
Accuracy
100.0%
Counts
126 → 4
Alt Table
Click to see full alt table
StatusAccuracyProgram
99.9%
#s(approx (- (sqrt (+ 1 x)) (sqrt (- 1 x))) (fma.f64 x #s(literal 1 binary64) (*.f64 x (*.f64 (*.f64 x x) #s(literal 1/8 binary64)))))
100.0%
#s(approx (- (sqrt (+ 1 x)) (sqrt (- 1 x))) (*.f64 (fma.f64 (fma.f64 #s(literal 7/128 binary64) (*.f64 x x) #s(literal 1/8 binary64)) (*.f64 x x) #s(literal 1 binary64)) x))
99.9%
#s(approx (- (sqrt (+ 1 x)) (sqrt (- 1 x))) (*.f64 (fma.f64 (*.f64 x x) #s(literal 1/8 binary64) #s(literal 1 binary64)) x))
99.6%
#s(approx (- (sqrt (+ 1 x)) (sqrt (- 1 x))) x)
Compiler

Compiled 72 to 50 computations (30.6% saved)

series5.0ms (0.2%)

Memory
9.3MiB live, 9.3MiB allocated; 0ms collecting garbage
Counts
8 → 20
Calls
Call 1
Inputs
#s(approx (- (sqrt (+ 1 x)) (sqrt (- 1 x))) (fma.f64 x #s(literal 1 binary64) (*.f64 x (*.f64 (*.f64 x x) #s(literal 1/8 binary64)))))
(fma.f64 x #s(literal 1 binary64) (*.f64 x (*.f64 (*.f64 x x) #s(literal 1/8 binary64))))
x
#s(literal 1 binary64)
(*.f64 x (*.f64 (*.f64 x x) #s(literal 1/8 binary64)))
(*.f64 (*.f64 x x) #s(literal 1/8 binary64))
(*.f64 x x)
#s(literal 1/8 binary64)
Outputs
#s(approx (- (sqrt (+ 1 x)) (sqrt (- 1 x))) #s(hole binary64 x))
#s(approx (- (sqrt (+ 1 x)) (sqrt (- 1 x))) #s(hole binary64 (* x (+ 1 (* 1/8 (pow x 2))))))
#s(approx (- (sqrt (+ 1 x)) (sqrt (- 1 x))) #s(hole binary64 (* x (+ 1 (* (pow x 2) (+ 1/8 (* 7/128 (pow x 2))))))))
#s(approx (- (sqrt (+ 1 x)) (sqrt (- 1 x))) #s(hole binary64 (* x (+ 1 (* (pow x 2) (+ 1/8 (* (pow x 2) (+ 7/128 (* 33/1024 (pow x 2))))))))))
#s(approx (+ (* x 1) (* x (* (* x x) 1/8))) #s(hole binary64 x))
#s(approx (+ (* x 1) (* x (* (* x x) 1/8))) #s(hole binary64 (* x (+ 1 (* 1/8 (pow x 2))))))
#s(approx x #s(hole binary64 x))
#s(approx (* x (* (* x x) 1/8)) #s(hole binary64 (* 1/8 (pow x 3))))
#s(approx (* (* x x) 1/8) #s(hole binary64 (* 1/8 (pow x 2))))
#s(approx (* x x) #s(hole binary64 (pow x 2)))
#s(approx (- (sqrt (+ 1 x)) (sqrt (- 1 x))) #s(hole binary64 (* x (- (sqrt (/ 1 x)) (* (sqrt (/ 1 x)) (sqrt -1))))))
#s(approx (- (sqrt (+ 1 x)) (sqrt (- 1 x))) #s(hole binary64 (* x (- (+ (sqrt (/ 1 x)) (* 1/2 (sqrt (/ 1 (pow x 3))))) (+ (* 1/2 (* (sqrt (/ 1 (pow x 3))) (/ 1 (sqrt -1)))) (* (sqrt (/ 1 x)) (sqrt -1)))))))
#s(approx (- (sqrt (+ 1 x)) (sqrt (- 1 x))) #s(hole binary64 (* x (- (+ (sqrt (/ 1 x)) (+ (* -1/8 (sqrt (/ 1 (pow x 5)))) (* 1/2 (sqrt (/ 1 (pow x 3)))))) (+ (* -1/8 (* (sqrt (/ 1 (pow x 5))) (/ 1 (pow (sqrt -1) 3)))) (+ (* 1/2 (* (sqrt (/ 1 (pow x 3))) (/ 1 (sqrt -1)))) (* (sqrt (/ 1 x)) (sqrt -1))))))))
#s(approx (- (sqrt (+ 1 x)) (sqrt (- 1 x))) #s(hole binary64 (* x (- (+ (sqrt (/ 1 x)) (+ (* -1/8 (sqrt (/ 1 (pow x 5)))) (+ (* 1/16 (sqrt (/ 1 (pow x 7)))) (* 1/2 (sqrt (/ 1 (pow x 3))))))) (+ (* -1/8 (* (sqrt (/ 1 (pow x 5))) (/ 1 (pow (sqrt -1) 3)))) (+ (* 1/16 (* (sqrt (/ 1 (pow x 7))) (/ 1 (pow (sqrt -1) 5)))) (+ (* 1/2 (* (sqrt (/ 1 (pow x 3))) (/ 1 (sqrt -1)))) (* (sqrt (/ 1 x)) (sqrt -1)))))))))
#s(approx (+ (* x 1) (* x (* (* x x) 1/8))) #s(hole binary64 (* 1/8 (pow x 3))))
#s(approx (+ (* x 1) (* x (* (* x x) 1/8))) #s(hole binary64 (* (pow x 3) (+ 1/8 (/ 1 (pow x 2))))))
#s(approx (- (sqrt (+ 1 x)) (sqrt (- 1 x))) #s(hole binary64 (* -1 (* x (- (* (sqrt (/ 1 x)) (pow (sqrt -1) 2)) (* (sqrt (/ 1 x)) (sqrt -1)))))))
#s(approx (- (sqrt (+ 1 x)) (sqrt (- 1 x))) #s(hole binary64 (* -1 (* x (- (+ (* 1/2 (sqrt (/ 1 (pow x 3)))) (* (sqrt (/ 1 x)) (pow (sqrt -1) 2))) (+ (* 1/2 (* (sqrt (/ 1 (pow x 3))) (sqrt -1))) (* (sqrt (/ 1 x)) (sqrt -1))))))))
#s(approx (- (sqrt (+ 1 x)) (sqrt (- 1 x))) #s(hole binary64 (* -1 (* x (- (+ (* -1/8 (* (sqrt (/ 1 (pow x 5))) (/ 1 (pow (sqrt -1) 2)))) (+ (* 1/2 (sqrt (/ 1 (pow x 3)))) (* (sqrt (/ 1 x)) (pow (sqrt -1) 2)))) (+ (* -1/8 (* (sqrt (/ 1 (pow x 5))) (sqrt -1))) (+ (* 1/2 (* (sqrt (/ 1 (pow x 3))) (sqrt -1))) (* (sqrt (/ 1 x)) (sqrt -1)))))))))
#s(approx (- (sqrt (+ 1 x)) (sqrt (- 1 x))) #s(hole binary64 (* -1 (* x (- (+ (* -1/8 (* (sqrt (/ 1 (pow x 5))) (/ 1 (pow (sqrt -1) 2)))) (+ (* 1/16 (* (sqrt (/ 1 (pow x 7))) (/ 1 (pow (sqrt -1) 4)))) (+ (* 1/2 (sqrt (/ 1 (pow x 3)))) (* (sqrt (/ 1 x)) (pow (sqrt -1) 2))))) (+ (* -1/8 (* (sqrt (/ 1 (pow x 5))) (sqrt -1))) (+ (* 1/16 (* (sqrt (/ 1 (pow x 7))) (sqrt -1))) (+ (* 1/2 (* (sqrt (/ 1 (pow x 3))) (sqrt -1))) (* (sqrt (/ 1 x)) (sqrt -1))))))))))
Calls

3 calls:

TimeVariablePointExpression
2.0ms
x
@-inf
((- (sqrt (+ 1 x)) (sqrt (- 1 x))) (+ (* x 1) (* x (* (* x x) 1/8))) x 1 (* x (* (* x x) 1/8)) (* (* x x) 1/8) (* x x) 1/8)
2.0ms
x
@inf
((- (sqrt (+ 1 x)) (sqrt (- 1 x))) (+ (* x 1) (* x (* (* x x) 1/8))) x 1 (* x (* (* x x) 1/8)) (* (* x x) 1/8) (* x x) 1/8)
1.0ms
x
@0
((- (sqrt (+ 1 x)) (sqrt (- 1 x))) (+ (* x 1) (* x (* (* x x) 1/8))) x 1 (* x (* (* x x) 1/8)) (* (* x x) 1/8) (* x x) 1/8)

rewrite48.0ms (1.8%)

Memory
19.8MiB live, 73.8MiB allocated; 7ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0149749
0155618
0929583
Stop Event
iter-limit
iter-limit
node-limit
iter-limit
Counts
28 → 49
Calls
Call 1
Inputs
#s(approx (- (sqrt (+ 1 x)) (sqrt (- 1 x))) (fma.f64 x #s(literal 1 binary64) (*.f64 x (*.f64 (*.f64 x x) #s(literal 1/8 binary64)))))
(fma.f64 x #s(literal 1 binary64) (*.f64 x (*.f64 (*.f64 x x) #s(literal 1/8 binary64))))
x
#s(literal 1 binary64)
(*.f64 x (*.f64 (*.f64 x x) #s(literal 1/8 binary64)))
(*.f64 (*.f64 x x) #s(literal 1/8 binary64))
(*.f64 x x)
#s(literal 1/8 binary64)
#s(approx (- (sqrt (+ 1 x)) (sqrt (- 1 x))) #s(hole binary64 x))
#s(approx (- (sqrt (+ 1 x)) (sqrt (- 1 x))) #s(hole binary64 (* x (+ 1 (* 1/8 (pow x 2))))))
#s(approx (- (sqrt (+ 1 x)) (sqrt (- 1 x))) #s(hole binary64 (* x (+ 1 (* (pow x 2) (+ 1/8 (* 7/128 (pow x 2))))))))
#s(approx (- (sqrt (+ 1 x)) (sqrt (- 1 x))) #s(hole binary64 (* x (+ 1 (* (pow x 2) (+ 1/8 (* (pow x 2) (+ 7/128 (* 33/1024 (pow x 2))))))))))
#s(approx (+ (* x 1) (* x (* (* x x) 1/8))) #s(hole binary64 x))
#s(approx (+ (* x 1) (* x (* (* x x) 1/8))) #s(hole binary64 (* x (+ 1 (* 1/8 (pow x 2))))))
#s(approx x #s(hole binary64 x))
#s(approx (* x (* (* x x) 1/8)) #s(hole binary64 (* 1/8 (pow x 3))))
#s(approx (* (* x x) 1/8) #s(hole binary64 (* 1/8 (pow x 2))))
#s(approx (* x x) #s(hole binary64 (pow x 2)))
#s(approx (- (sqrt (+ 1 x)) (sqrt (- 1 x))) #s(hole binary64 (* x (- (sqrt (/ 1 x)) (* (sqrt (/ 1 x)) (sqrt -1))))))
#s(approx (- (sqrt (+ 1 x)) (sqrt (- 1 x))) #s(hole binary64 (* x (- (+ (sqrt (/ 1 x)) (* 1/2 (sqrt (/ 1 (pow x 3))))) (+ (* 1/2 (* (sqrt (/ 1 (pow x 3))) (/ 1 (sqrt -1)))) (* (sqrt (/ 1 x)) (sqrt -1)))))))
#s(approx (- (sqrt (+ 1 x)) (sqrt (- 1 x))) #s(hole binary64 (* x (- (+ (sqrt (/ 1 x)) (+ (* -1/8 (sqrt (/ 1 (pow x 5)))) (* 1/2 (sqrt (/ 1 (pow x 3)))))) (+ (* -1/8 (* (sqrt (/ 1 (pow x 5))) (/ 1 (pow (sqrt -1) 3)))) (+ (* 1/2 (* (sqrt (/ 1 (pow x 3))) (/ 1 (sqrt -1)))) (* (sqrt (/ 1 x)) (sqrt -1))))))))
#s(approx (- (sqrt (+ 1 x)) (sqrt (- 1 x))) #s(hole binary64 (* x (- (+ (sqrt (/ 1 x)) (+ (* -1/8 (sqrt (/ 1 (pow x 5)))) (+ (* 1/16 (sqrt (/ 1 (pow x 7)))) (* 1/2 (sqrt (/ 1 (pow x 3))))))) (+ (* -1/8 (* (sqrt (/ 1 (pow x 5))) (/ 1 (pow (sqrt -1) 3)))) (+ (* 1/16 (* (sqrt (/ 1 (pow x 7))) (/ 1 (pow (sqrt -1) 5)))) (+ (* 1/2 (* (sqrt (/ 1 (pow x 3))) (/ 1 (sqrt -1)))) (* (sqrt (/ 1 x)) (sqrt -1)))))))))
#s(approx (+ (* x 1) (* x (* (* x x) 1/8))) #s(hole binary64 (* 1/8 (pow x 3))))
#s(approx (+ (* x 1) (* x (* (* x x) 1/8))) #s(hole binary64 (* (pow x 3) (+ 1/8 (/ 1 (pow x 2))))))
#s(approx (- (sqrt (+ 1 x)) (sqrt (- 1 x))) #s(hole binary64 (* -1 (* x (- (* (sqrt (/ 1 x)) (pow (sqrt -1) 2)) (* (sqrt (/ 1 x)) (sqrt -1)))))))
#s(approx (- (sqrt (+ 1 x)) (sqrt (- 1 x))) #s(hole binary64 (* -1 (* x (- (+ (* 1/2 (sqrt (/ 1 (pow x 3)))) (* (sqrt (/ 1 x)) (pow (sqrt -1) 2))) (+ (* 1/2 (* (sqrt (/ 1 (pow x 3))) (sqrt -1))) (* (sqrt (/ 1 x)) (sqrt -1))))))))
#s(approx (- (sqrt (+ 1 x)) (sqrt (- 1 x))) #s(hole binary64 (* -1 (* x (- (+ (* -1/8 (* (sqrt (/ 1 (pow x 5))) (/ 1 (pow (sqrt -1) 2)))) (+ (* 1/2 (sqrt (/ 1 (pow x 3)))) (* (sqrt (/ 1 x)) (pow (sqrt -1) 2)))) (+ (* -1/8 (* (sqrt (/ 1 (pow x 5))) (sqrt -1))) (+ (* 1/2 (* (sqrt (/ 1 (pow x 3))) (sqrt -1))) (* (sqrt (/ 1 x)) (sqrt -1)))))))))
#s(approx (- (sqrt (+ 1 x)) (sqrt (- 1 x))) #s(hole binary64 (* -1 (* x (- (+ (* -1/8 (* (sqrt (/ 1 (pow x 5))) (/ 1 (pow (sqrt -1) 2)))) (+ (* 1/16 (* (sqrt (/ 1 (pow x 7))) (/ 1 (pow (sqrt -1) 4)))) (+ (* 1/2 (sqrt (/ 1 (pow x 3)))) (* (sqrt (/ 1 x)) (pow (sqrt -1) 2))))) (+ (* -1/8 (* (sqrt (/ 1 (pow x 5))) (sqrt -1))) (+ (* 1/16 (* (sqrt (/ 1 (pow x 7))) (sqrt -1))) (+ (* 1/2 (* (sqrt (/ 1 (pow x 3))) (sqrt -1))) (* (sqrt (/ 1 x)) (sqrt -1))))))))))
Outputs
#s(approx (- (sqrt (+ 1 x)) (sqrt (- 1 x))) (fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal 1/8 binary64) x))
(*.f64 (fma.f64 (*.f64 x x) #s(literal 1/8 binary64) #s(literal 1 binary64)) x)
(*.f64 x (fma.f64 (*.f64 x x) #s(literal 1/8 binary64) #s(literal 1 binary64)))
(/.f64 (-.f64 (*.f64 x x) (*.f64 (*.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal 1/8 binary64)) (*.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal 1/8 binary64)))) (-.f64 x (*.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal 1/8 binary64))))
(/.f64 (+.f64 (pow.f64 x #s(literal 3 binary64)) (pow.f64 (*.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal 1/8 binary64)) #s(literal 3 binary64))) (fma.f64 x x (-.f64 (*.f64 (*.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal 1/8 binary64)) (*.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal 1/8 binary64))) (*.f64 x (*.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal 1/8 binary64))))))
(fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal 1/8 binary64) x)
(fma.f64 (*.f64 (*.f64 x x) #s(literal 1/8 binary64)) x x)
(fma.f64 #s(literal 1/8 binary64) (pow.f64 x #s(literal 3 binary64)) x)
(fma.f64 x (*.f64 (*.f64 x x) #s(literal 1/8 binary64)) x)
(fma.f64 x #s(literal 1 binary64) (*.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal 1/8 binary64)))
(-.f64 x (*.f64 (neg.f64 x) (*.f64 (*.f64 x x) #s(literal 1/8 binary64))))
(+.f64 (*.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal 1/8 binary64)) x)
(+.f64 x (*.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal 1/8 binary64)))
x
#s(literal 1 binary64)
(*.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal 1/8 binary64))
(*.f64 (*.f64 (*.f64 x x) #s(literal 1/8 binary64)) x)
(*.f64 #s(literal 1/8 binary64) (pow.f64 x #s(literal 3 binary64)))
(*.f64 x (*.f64 (*.f64 x x) #s(literal 1/8 binary64)))
(*.f64 (*.f64 x x) #s(literal 1/8 binary64))
(*.f64 #s(literal 1/8 binary64) (*.f64 x x))
(*.f64 x (*.f64 x #s(literal 1/8 binary64)))
(*.f64 (pow.f64 x #s(literal 1 binary64)) (pow.f64 x #s(literal 1 binary64)))
(*.f64 (neg.f64 x) (neg.f64 x))
(*.f64 (fabs.f64 x) (fabs.f64 x))
(*.f64 x x)
(pow.f64 x #s(literal 2 binary64))
(exp.f64 (*.f64 (log.f64 x) #s(literal 2 binary64)))
#s(literal 1/8 binary64)
#s(approx (- (sqrt (+ 1 x)) (sqrt (- 1 x))) x)
#s(approx (- (sqrt (+ 1 x)) (sqrt (- 1 x))) (fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal 1/8 binary64) x))
#s(approx (- (sqrt (+ 1 x)) (sqrt (- 1 x))) (*.f64 (fma.f64 (fma.f64 #s(literal 7/128 binary64) (*.f64 x x) #s(literal 1/8 binary64)) (*.f64 x x) #s(literal 1 binary64)) x))
#s(approx (- (sqrt (+ 1 x)) (sqrt (- 1 x))) (*.f64 (fma.f64 (fma.f64 (fma.f64 #s(literal 33/1024 binary64) (*.f64 x x) #s(literal 7/128 binary64)) (*.f64 x x) #s(literal 1/8 binary64)) (*.f64 x x) #s(literal 1 binary64)) x))
#s(approx (+ (* x 1) (* x (* (* x x) 1/8))) x)
#s(approx (+ (* x 1) (* x (* (* x x) 1/8))) (fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal 1/8 binary64) x))
#s(approx x x)
#s(approx (* x (* (* x x) 1/8)) (*.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal 1/8 binary64)))
#s(approx (* (* x x) 1/8) (*.f64 (*.f64 x x) #s(literal 1/8 binary64)))
#s(approx (* x x) (*.f64 x x))
#s(approx (- (sqrt (+ 1 x)) (sqrt (- 1 x))) (*.f64 (-.f64 (/.f64 #s(literal 1 binary64) (sqrt.f64 x)) (sqrt.f64 (*.f64 (pow.f64 x #s(literal -1 binary64)) #s(literal -1 binary64)))) x))
#s(approx (- (sqrt (+ 1 x)) (sqrt (- 1 x))) (*.f64 (-.f64 (fma.f64 (sqrt.f64 (pow.f64 x #s(literal -3 binary64))) #s(literal 1/2 binary64) (/.f64 #s(literal 1 binary64) (sqrt.f64 x))) (fma.f64 (*.f64 (sqrt.f64 (pow.f64 x #s(literal -3 binary64))) #s(literal 1/2 binary64)) (pow.f64 (sqrt.f64 #s(literal -1 binary64)) #s(literal -1 binary64)) (sqrt.f64 (*.f64 (pow.f64 x #s(literal -1 binary64)) #s(literal -1 binary64))))) x))
#s(approx (- (sqrt (+ 1 x)) (sqrt (- 1 x))) (*.f64 (-.f64 (+.f64 (fma.f64 (sqrt.f64 (pow.f64 x #s(literal -5 binary64))) #s(literal -1/8 binary64) (*.f64 (sqrt.f64 (pow.f64 x #s(literal -3 binary64))) #s(literal 1/2 binary64))) (/.f64 #s(literal 1 binary64) (sqrt.f64 x))) (fma.f64 (*.f64 (sqrt.f64 (pow.f64 x #s(literal -5 binary64))) #s(literal -1/8 binary64)) (pow.f64 (sqrt.f64 #s(literal -1 binary64)) #s(literal -3 binary64)) (fma.f64 (*.f64 (sqrt.f64 (pow.f64 x #s(literal -3 binary64))) #s(literal 1/2 binary64)) (pow.f64 (sqrt.f64 #s(literal -1 binary64)) #s(literal -1 binary64)) (sqrt.f64 (*.f64 (pow.f64 x #s(literal -1 binary64)) #s(literal -1 binary64)))))) x))
#s(approx (- (sqrt (+ 1 x)) (sqrt (- 1 x))) (*.f64 (-.f64 (+.f64 (fma.f64 (sqrt.f64 (pow.f64 x #s(literal -5 binary64))) #s(literal -1/8 binary64) (fma.f64 (sqrt.f64 (pow.f64 x #s(literal -7 binary64))) #s(literal 1/16 binary64) (*.f64 (sqrt.f64 (pow.f64 x #s(literal -3 binary64))) #s(literal 1/2 binary64)))) (/.f64 #s(literal 1 binary64) (sqrt.f64 x))) (fma.f64 (*.f64 (sqrt.f64 (pow.f64 x #s(literal -5 binary64))) #s(literal -1/8 binary64)) (pow.f64 (sqrt.f64 #s(literal -1 binary64)) #s(literal -3 binary64)) (fma.f64 (*.f64 (sqrt.f64 (pow.f64 x #s(literal -7 binary64))) #s(literal 1/16 binary64)) (pow.f64 (sqrt.f64 #s(literal -1 binary64)) #s(literal -5 binary64)) (fma.f64 (*.f64 (sqrt.f64 (pow.f64 x #s(literal -3 binary64))) #s(literal 1/2 binary64)) (pow.f64 (sqrt.f64 #s(literal -1 binary64)) #s(literal -1 binary64)) (sqrt.f64 (*.f64 (pow.f64 x #s(literal -1 binary64)) #s(literal -1 binary64))))))) x))
#s(approx (+ (* x 1) (* x (* (* x x) 1/8))) (*.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal 1/8 binary64)))
#s(approx (+ (* x 1) (* x (* (* x x) 1/8))) (*.f64 (+.f64 (pow.f64 x #s(literal -2 binary64)) #s(literal 1/8 binary64)) (pow.f64 x #s(literal 3 binary64))))
#s(approx (- (sqrt (+ 1 x)) (sqrt (- 1 x))) (neg.f64 (*.f64 (*.f64 (/.f64 #s(literal 1 binary64) (sqrt.f64 x)) (-.f64 #s(literal -1 binary64) (sqrt.f64 #s(literal -1 binary64)))) x)))
#s(approx (- (sqrt (+ 1 x)) (sqrt (- 1 x))) (neg.f64 (*.f64 (-.f64 (fma.f64 (sqrt.f64 (pow.f64 x #s(literal -3 binary64))) #s(literal 1/2 binary64) (*.f64 #s(literal -1 binary64) (/.f64 #s(literal 1 binary64) (sqrt.f64 x)))) (fma.f64 (sqrt.f64 (*.f64 (pow.f64 x #s(literal -3 binary64)) #s(literal -1 binary64))) #s(literal 1/2 binary64) (sqrt.f64 (*.f64 (pow.f64 x #s(literal -1 binary64)) #s(literal -1 binary64))))) x)))
#s(approx (- (sqrt (+ 1 x)) (sqrt (- 1 x))) (neg.f64 (*.f64 (-.f64 (fma.f64 (*.f64 (sqrt.f64 (pow.f64 x #s(literal -5 binary64))) #s(literal -1 binary64)) #s(literal -1/8 binary64) (fma.f64 (sqrt.f64 (pow.f64 x #s(literal -3 binary64))) #s(literal 1/2 binary64) (*.f64 #s(literal -1 binary64) (/.f64 #s(literal 1 binary64) (sqrt.f64 x))))) (fma.f64 (sqrt.f64 (*.f64 (pow.f64 x #s(literal -5 binary64)) #s(literal -1 binary64))) #s(literal -1/8 binary64) (fma.f64 (sqrt.f64 (*.f64 (pow.f64 x #s(literal -3 binary64)) #s(literal -1 binary64))) #s(literal 1/2 binary64) (sqrt.f64 (*.f64 (pow.f64 x #s(literal -1 binary64)) #s(literal -1 binary64)))))) x)))
#s(approx (- (sqrt (+ 1 x)) (sqrt (- 1 x))) (neg.f64 (*.f64 (-.f64 (fma.f64 (*.f64 (sqrt.f64 (pow.f64 x #s(literal -5 binary64))) #s(literal -1 binary64)) #s(literal -1/8 binary64) (fma.f64 (*.f64 (sqrt.f64 (pow.f64 x #s(literal -7 binary64))) #s(literal 1/16 binary64)) #s(literal 1 binary64) (fma.f64 (sqrt.f64 (pow.f64 x #s(literal -3 binary64))) #s(literal 1/2 binary64) (*.f64 #s(literal -1 binary64) (/.f64 #s(literal 1 binary64) (sqrt.f64 x)))))) (fma.f64 (sqrt.f64 (*.f64 (pow.f64 x #s(literal -5 binary64)) #s(literal -1 binary64))) #s(literal -1/8 binary64) (fma.f64 (sqrt.f64 (*.f64 (pow.f64 x #s(literal -7 binary64)) #s(literal -1 binary64))) #s(literal 1/16 binary64) (fma.f64 (sqrt.f64 (*.f64 (pow.f64 x #s(literal -3 binary64)) #s(literal -1 binary64))) #s(literal 1/2 binary64) (sqrt.f64 (*.f64 (pow.f64 x #s(literal -1 binary64)) #s(literal -1 binary64))))))) x)))

eval8.0ms (0.3%)

Memory
-33.4MiB live, 13.5MiB allocated; 3ms collecting garbage
Compiler

Compiled 1 376 to 235 computations (82.9% saved)

prune2.0ms (0.1%)

Memory
4.4MiB live, 4.4MiB allocated; 0ms collecting garbage
Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New53154
Fresh000
Picked101
Done033
Total54458
Accuracy
100.0%
Counts
58 → 4
Alt Table
Click to see full alt table
StatusAccuracyProgram
99.9%
#s(approx (- (sqrt (+ 1 x)) (sqrt (- 1 x))) (fma.f64 (*.f64 (*.f64 x x) #s(literal 1/8 binary64)) x x))
100.0%
#s(approx (- (sqrt (+ 1 x)) (sqrt (- 1 x))) (*.f64 (fma.f64 (fma.f64 #s(literal 7/128 binary64) (*.f64 x x) #s(literal 1/8 binary64)) (*.f64 x x) #s(literal 1 binary64)) x))
99.9%
#s(approx (- (sqrt (+ 1 x)) (sqrt (- 1 x))) (*.f64 (fma.f64 (*.f64 x x) #s(literal 1/8 binary64) #s(literal 1 binary64)) x))
99.6%
#s(approx (- (sqrt (+ 1 x)) (sqrt (- 1 x))) x)
Compiler

Compiled 70 to 48 computations (31.4% saved)

series4.0ms (0.1%)

Memory
8.6MiB live, 8.5MiB allocated; 0ms collecting garbage
Counts
6 → 19
Calls
Call 1
Inputs
#s(approx (- (sqrt (+ 1 x)) (sqrt (- 1 x))) (fma.f64 (*.f64 (*.f64 x x) #s(literal 1/8 binary64)) x x))
(fma.f64 (*.f64 (*.f64 x x) #s(literal 1/8 binary64)) x x)
(*.f64 (*.f64 x x) #s(literal 1/8 binary64))
(*.f64 x x)
x
#s(literal 1/8 binary64)
Outputs
#s(approx (- (sqrt (+ 1 x)) (sqrt (- 1 x))) #s(hole binary64 x))
#s(approx (- (sqrt (+ 1 x)) (sqrt (- 1 x))) #s(hole binary64 (* x (+ 1 (* 1/8 (pow x 2))))))
#s(approx (- (sqrt (+ 1 x)) (sqrt (- 1 x))) #s(hole binary64 (* x (+ 1 (* (pow x 2) (+ 1/8 (* 7/128 (pow x 2))))))))
#s(approx (- (sqrt (+ 1 x)) (sqrt (- 1 x))) #s(hole binary64 (* x (+ 1 (* (pow x 2) (+ 1/8 (* (pow x 2) (+ 7/128 (* 33/1024 (pow x 2))))))))))
#s(approx (+ (* (* (* x x) 1/8) x) x) #s(hole binary64 x))
#s(approx (+ (* (* (* x x) 1/8) x) x) #s(hole binary64 (* x (+ 1 (* 1/8 (pow x 2))))))
#s(approx (* (* x x) 1/8) #s(hole binary64 (* 1/8 (pow x 2))))
#s(approx (* x x) #s(hole binary64 (pow x 2)))
#s(approx x #s(hole binary64 x))
#s(approx (- (sqrt (+ 1 x)) (sqrt (- 1 x))) #s(hole binary64 (* x (- (sqrt (/ 1 x)) (* (sqrt (/ 1 x)) (sqrt -1))))))
#s(approx (- (sqrt (+ 1 x)) (sqrt (- 1 x))) #s(hole binary64 (* x (- (+ (sqrt (/ 1 x)) (* 1/2 (sqrt (/ 1 (pow x 3))))) (+ (* 1/2 (* (sqrt (/ 1 (pow x 3))) (/ 1 (sqrt -1)))) (* (sqrt (/ 1 x)) (sqrt -1)))))))
#s(approx (- (sqrt (+ 1 x)) (sqrt (- 1 x))) #s(hole binary64 (* x (- (+ (sqrt (/ 1 x)) (+ (* -1/8 (sqrt (/ 1 (pow x 5)))) (* 1/2 (sqrt (/ 1 (pow x 3)))))) (+ (* -1/8 (* (sqrt (/ 1 (pow x 5))) (/ 1 (pow (sqrt -1) 3)))) (+ (* 1/2 (* (sqrt (/ 1 (pow x 3))) (/ 1 (sqrt -1)))) (* (sqrt (/ 1 x)) (sqrt -1))))))))
#s(approx (- (sqrt (+ 1 x)) (sqrt (- 1 x))) #s(hole binary64 (* x (- (+ (sqrt (/ 1 x)) (+ (* -1/8 (sqrt (/ 1 (pow x 5)))) (+ (* 1/16 (sqrt (/ 1 (pow x 7)))) (* 1/2 (sqrt (/ 1 (pow x 3))))))) (+ (* -1/8 (* (sqrt (/ 1 (pow x 5))) (/ 1 (pow (sqrt -1) 3)))) (+ (* 1/16 (* (sqrt (/ 1 (pow x 7))) (/ 1 (pow (sqrt -1) 5)))) (+ (* 1/2 (* (sqrt (/ 1 (pow x 3))) (/ 1 (sqrt -1)))) (* (sqrt (/ 1 x)) (sqrt -1)))))))))
#s(approx (+ (* (* (* x x) 1/8) x) x) #s(hole binary64 (* 1/8 (pow x 3))))
#s(approx (+ (* (* (* x x) 1/8) x) x) #s(hole binary64 (* (pow x 3) (+ 1/8 (/ 1 (pow x 2))))))
#s(approx (- (sqrt (+ 1 x)) (sqrt (- 1 x))) #s(hole binary64 (* -1 (* x (- (* (sqrt (/ 1 x)) (pow (sqrt -1) 2)) (* (sqrt (/ 1 x)) (sqrt -1)))))))
#s(approx (- (sqrt (+ 1 x)) (sqrt (- 1 x))) #s(hole binary64 (* -1 (* x (- (+ (* 1/2 (sqrt (/ 1 (pow x 3)))) (* (sqrt (/ 1 x)) (pow (sqrt -1) 2))) (+ (* 1/2 (* (sqrt (/ 1 (pow x 3))) (sqrt -1))) (* (sqrt (/ 1 x)) (sqrt -1))))))))
#s(approx (- (sqrt (+ 1 x)) (sqrt (- 1 x))) #s(hole binary64 (* -1 (* x (- (+ (* -1/8 (* (sqrt (/ 1 (pow x 5))) (/ 1 (pow (sqrt -1) 2)))) (+ (* 1/2 (sqrt (/ 1 (pow x 3)))) (* (sqrt (/ 1 x)) (pow (sqrt -1) 2)))) (+ (* -1/8 (* (sqrt (/ 1 (pow x 5))) (sqrt -1))) (+ (* 1/2 (* (sqrt (/ 1 (pow x 3))) (sqrt -1))) (* (sqrt (/ 1 x)) (sqrt -1)))))))))
#s(approx (- (sqrt (+ 1 x)) (sqrt (- 1 x))) #s(hole binary64 (* -1 (* x (- (+ (* -1/8 (* (sqrt (/ 1 (pow x 5))) (/ 1 (pow (sqrt -1) 2)))) (+ (* 1/16 (* (sqrt (/ 1 (pow x 7))) (/ 1 (pow (sqrt -1) 4)))) (+ (* 1/2 (sqrt (/ 1 (pow x 3)))) (* (sqrt (/ 1 x)) (pow (sqrt -1) 2))))) (+ (* -1/8 (* (sqrt (/ 1 (pow x 5))) (sqrt -1))) (+ (* 1/16 (* (sqrt (/ 1 (pow x 7))) (sqrt -1))) (+ (* 1/2 (* (sqrt (/ 1 (pow x 3))) (sqrt -1))) (* (sqrt (/ 1 x)) (sqrt -1))))))))))
Calls

3 calls:

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

rewrite47.0ms (1.8%)

Memory
6.8MiB live, 51.5MiB allocated; 4ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0146716
0151609
0906582
Stop Event
iter-limit
iter-limit
node-limit
iter-limit
Counts
25 → 44
Calls
Call 1
Inputs
#s(approx (- (sqrt (+ 1 x)) (sqrt (- 1 x))) (fma.f64 (*.f64 (*.f64 x x) #s(literal 1/8 binary64)) x x))
(fma.f64 (*.f64 (*.f64 x x) #s(literal 1/8 binary64)) x x)
(*.f64 (*.f64 x x) #s(literal 1/8 binary64))
(*.f64 x x)
x
#s(literal 1/8 binary64)
#s(approx (- (sqrt (+ 1 x)) (sqrt (- 1 x))) #s(hole binary64 x))
#s(approx (- (sqrt (+ 1 x)) (sqrt (- 1 x))) #s(hole binary64 (* x (+ 1 (* 1/8 (pow x 2))))))
#s(approx (- (sqrt (+ 1 x)) (sqrt (- 1 x))) #s(hole binary64 (* x (+ 1 (* (pow x 2) (+ 1/8 (* 7/128 (pow x 2))))))))
#s(approx (- (sqrt (+ 1 x)) (sqrt (- 1 x))) #s(hole binary64 (* x (+ 1 (* (pow x 2) (+ 1/8 (* (pow x 2) (+ 7/128 (* 33/1024 (pow x 2))))))))))
#s(approx (+ (* (* (* x x) 1/8) x) x) #s(hole binary64 x))
#s(approx (+ (* (* (* x x) 1/8) x) x) #s(hole binary64 (* x (+ 1 (* 1/8 (pow x 2))))))
#s(approx (* (* x x) 1/8) #s(hole binary64 (* 1/8 (pow x 2))))
#s(approx (* x x) #s(hole binary64 (pow x 2)))
#s(approx x #s(hole binary64 x))
#s(approx (- (sqrt (+ 1 x)) (sqrt (- 1 x))) #s(hole binary64 (* x (- (sqrt (/ 1 x)) (* (sqrt (/ 1 x)) (sqrt -1))))))
#s(approx (- (sqrt (+ 1 x)) (sqrt (- 1 x))) #s(hole binary64 (* x (- (+ (sqrt (/ 1 x)) (* 1/2 (sqrt (/ 1 (pow x 3))))) (+ (* 1/2 (* (sqrt (/ 1 (pow x 3))) (/ 1 (sqrt -1)))) (* (sqrt (/ 1 x)) (sqrt -1)))))))
#s(approx (- (sqrt (+ 1 x)) (sqrt (- 1 x))) #s(hole binary64 (* x (- (+ (sqrt (/ 1 x)) (+ (* -1/8 (sqrt (/ 1 (pow x 5)))) (* 1/2 (sqrt (/ 1 (pow x 3)))))) (+ (* -1/8 (* (sqrt (/ 1 (pow x 5))) (/ 1 (pow (sqrt -1) 3)))) (+ (* 1/2 (* (sqrt (/ 1 (pow x 3))) (/ 1 (sqrt -1)))) (* (sqrt (/ 1 x)) (sqrt -1))))))))
#s(approx (- (sqrt (+ 1 x)) (sqrt (- 1 x))) #s(hole binary64 (* x (- (+ (sqrt (/ 1 x)) (+ (* -1/8 (sqrt (/ 1 (pow x 5)))) (+ (* 1/16 (sqrt (/ 1 (pow x 7)))) (* 1/2 (sqrt (/ 1 (pow x 3))))))) (+ (* -1/8 (* (sqrt (/ 1 (pow x 5))) (/ 1 (pow (sqrt -1) 3)))) (+ (* 1/16 (* (sqrt (/ 1 (pow x 7))) (/ 1 (pow (sqrt -1) 5)))) (+ (* 1/2 (* (sqrt (/ 1 (pow x 3))) (/ 1 (sqrt -1)))) (* (sqrt (/ 1 x)) (sqrt -1)))))))))
#s(approx (+ (* (* (* x x) 1/8) x) x) #s(hole binary64 (* 1/8 (pow x 3))))
#s(approx (+ (* (* (* x x) 1/8) x) x) #s(hole binary64 (* (pow x 3) (+ 1/8 (/ 1 (pow x 2))))))
#s(approx (- (sqrt (+ 1 x)) (sqrt (- 1 x))) #s(hole binary64 (* -1 (* x (- (* (sqrt (/ 1 x)) (pow (sqrt -1) 2)) (* (sqrt (/ 1 x)) (sqrt -1)))))))
#s(approx (- (sqrt (+ 1 x)) (sqrt (- 1 x))) #s(hole binary64 (* -1 (* x (- (+ (* 1/2 (sqrt (/ 1 (pow x 3)))) (* (sqrt (/ 1 x)) (pow (sqrt -1) 2))) (+ (* 1/2 (* (sqrt (/ 1 (pow x 3))) (sqrt -1))) (* (sqrt (/ 1 x)) (sqrt -1))))))))
#s(approx (- (sqrt (+ 1 x)) (sqrt (- 1 x))) #s(hole binary64 (* -1 (* x (- (+ (* -1/8 (* (sqrt (/ 1 (pow x 5))) (/ 1 (pow (sqrt -1) 2)))) (+ (* 1/2 (sqrt (/ 1 (pow x 3)))) (* (sqrt (/ 1 x)) (pow (sqrt -1) 2)))) (+ (* -1/8 (* (sqrt (/ 1 (pow x 5))) (sqrt -1))) (+ (* 1/2 (* (sqrt (/ 1 (pow x 3))) (sqrt -1))) (* (sqrt (/ 1 x)) (sqrt -1)))))))))
#s(approx (- (sqrt (+ 1 x)) (sqrt (- 1 x))) #s(hole binary64 (* -1 (* x (- (+ (* -1/8 (* (sqrt (/ 1 (pow x 5))) (/ 1 (pow (sqrt -1) 2)))) (+ (* 1/16 (* (sqrt (/ 1 (pow x 7))) (/ 1 (pow (sqrt -1) 4)))) (+ (* 1/2 (sqrt (/ 1 (pow x 3)))) (* (sqrt (/ 1 x)) (pow (sqrt -1) 2))))) (+ (* -1/8 (* (sqrt (/ 1 (pow x 5))) (sqrt -1))) (+ (* 1/16 (* (sqrt (/ 1 (pow x 7))) (sqrt -1))) (+ (* 1/2 (* (sqrt (/ 1 (pow x 3))) (sqrt -1))) (* (sqrt (/ 1 x)) (sqrt -1))))))))))
Outputs
#s(approx (- (sqrt (+ 1 x)) (sqrt (- 1 x))) (*.f64 (fma.f64 (*.f64 x x) #s(literal 1/8 binary64) #s(literal 1 binary64)) x))
(*.f64 (fma.f64 (*.f64 x x) #s(literal 1/8 binary64) #s(literal 1 binary64)) x)
(*.f64 x (fma.f64 (*.f64 x x) #s(literal 1/8 binary64) #s(literal 1 binary64)))
(/.f64 (-.f64 (*.f64 (*.f64 (*.f64 (*.f64 x x) #s(literal 1/8 binary64)) x) (*.f64 (*.f64 (*.f64 x x) #s(literal 1/8 binary64)) x)) (*.f64 x x)) (-.f64 (*.f64 (*.f64 (*.f64 x x) #s(literal 1/8 binary64)) x) x))
(/.f64 (+.f64 (pow.f64 (*.f64 (*.f64 (*.f64 x x) #s(literal 1/8 binary64)) x) #s(literal 3 binary64)) (pow.f64 x #s(literal 3 binary64))) (fma.f64 (*.f64 (*.f64 (*.f64 x x) #s(literal 1/8 binary64)) x) (*.f64 (*.f64 (*.f64 x x) #s(literal 1/8 binary64)) x) (-.f64 (*.f64 x x) (*.f64 (*.f64 (*.f64 (*.f64 x x) #s(literal 1/8 binary64)) x) x))))
(fma.f64 (*.f64 (*.f64 x x) #s(literal 1/8 binary64)) x x)
(fma.f64 (*.f64 x x) (*.f64 #s(literal 1/8 binary64) x) x)
(fma.f64 x (*.f64 (*.f64 x x) #s(literal 1/8 binary64)) x)
(fma.f64 x #s(literal 1 binary64) (*.f64 (*.f64 (*.f64 x x) #s(literal 1/8 binary64)) x))
(fma.f64 #s(literal 1 binary64) x (*.f64 (*.f64 (*.f64 x x) #s(literal 1/8 binary64)) x))
(+.f64 (*.f64 x #s(literal 1 binary64)) (*.f64 (*.f64 (*.f64 x x) #s(literal 1/8 binary64)) x))
(+.f64 (*.f64 #s(literal 1 binary64) x) (*.f64 (*.f64 (*.f64 x x) #s(literal 1/8 binary64)) x))
(+.f64 (*.f64 (*.f64 (*.f64 x x) #s(literal 1/8 binary64)) x) x)
(+.f64 x (*.f64 (*.f64 (*.f64 x x) #s(literal 1/8 binary64)) x))
(*.f64 (*.f64 x x) #s(literal 1/8 binary64))
(*.f64 #s(literal 1/8 binary64) (*.f64 x x))
(*.f64 x (*.f64 x #s(literal 1/8 binary64)))
(*.f64 (pow.f64 x #s(literal 1 binary64)) (pow.f64 x #s(literal 1 binary64)))
(*.f64 (neg.f64 x) (neg.f64 x))
(*.f64 (fabs.f64 x) (fabs.f64 x))
(*.f64 x x)
(pow.f64 x #s(literal 2 binary64))
(exp.f64 (*.f64 (log.f64 x) #s(literal 2 binary64)))
x
#s(literal 1/8 binary64)
#s(approx (- (sqrt (+ 1 x)) (sqrt (- 1 x))) x)
#s(approx (- (sqrt (+ 1 x)) (sqrt (- 1 x))) (*.f64 (fma.f64 (*.f64 x x) #s(literal 1/8 binary64) #s(literal 1 binary64)) x))
#s(approx (- (sqrt (+ 1 x)) (sqrt (- 1 x))) (*.f64 (fma.f64 (fma.f64 #s(literal 7/128 binary64) (*.f64 x x) #s(literal 1/8 binary64)) (*.f64 x x) #s(literal 1 binary64)) x))
#s(approx (- (sqrt (+ 1 x)) (sqrt (- 1 x))) (*.f64 (fma.f64 (fma.f64 (fma.f64 #s(literal 33/1024 binary64) (*.f64 x x) #s(literal 7/128 binary64)) (*.f64 x x) #s(literal 1/8 binary64)) (*.f64 x x) #s(literal 1 binary64)) x))
#s(approx (+ (* (* (* x x) 1/8) x) x) x)
#s(approx (+ (* (* (* x x) 1/8) x) x) (*.f64 (fma.f64 (*.f64 x x) #s(literal 1/8 binary64) #s(literal 1 binary64)) x))
#s(approx (* (* x x) 1/8) (*.f64 (*.f64 x x) #s(literal 1/8 binary64)))
#s(approx (* x x) (*.f64 x x))
#s(approx x x)
#s(approx (- (sqrt (+ 1 x)) (sqrt (- 1 x))) (*.f64 (-.f64 (/.f64 #s(literal 1 binary64) (sqrt.f64 x)) (sqrt.f64 (*.f64 (pow.f64 x #s(literal -1 binary64)) #s(literal -1 binary64)))) x))
#s(approx (- (sqrt (+ 1 x)) (sqrt (- 1 x))) (*.f64 (-.f64 (fma.f64 (sqrt.f64 (pow.f64 x #s(literal -3 binary64))) #s(literal 1/2 binary64) (/.f64 #s(literal 1 binary64) (sqrt.f64 x))) (fma.f64 (*.f64 (sqrt.f64 (pow.f64 x #s(literal -3 binary64))) #s(literal 1/2 binary64)) (pow.f64 (sqrt.f64 #s(literal -1 binary64)) #s(literal -1 binary64)) (sqrt.f64 (*.f64 (pow.f64 x #s(literal -1 binary64)) #s(literal -1 binary64))))) x))
#s(approx (- (sqrt (+ 1 x)) (sqrt (- 1 x))) (*.f64 (-.f64 (+.f64 (fma.f64 (sqrt.f64 (pow.f64 x #s(literal -5 binary64))) #s(literal -1/8 binary64) (*.f64 (sqrt.f64 (pow.f64 x #s(literal -3 binary64))) #s(literal 1/2 binary64))) (/.f64 #s(literal 1 binary64) (sqrt.f64 x))) (fma.f64 (*.f64 (sqrt.f64 (pow.f64 x #s(literal -5 binary64))) #s(literal -1/8 binary64)) (pow.f64 (sqrt.f64 #s(literal -1 binary64)) #s(literal -3 binary64)) (fma.f64 (*.f64 (sqrt.f64 (pow.f64 x #s(literal -3 binary64))) #s(literal 1/2 binary64)) (pow.f64 (sqrt.f64 #s(literal -1 binary64)) #s(literal -1 binary64)) (sqrt.f64 (*.f64 (pow.f64 x #s(literal -1 binary64)) #s(literal -1 binary64)))))) x))
#s(approx (- (sqrt (+ 1 x)) (sqrt (- 1 x))) (*.f64 (-.f64 (+.f64 (fma.f64 (sqrt.f64 (pow.f64 x #s(literal -5 binary64))) #s(literal -1/8 binary64) (fma.f64 (sqrt.f64 (pow.f64 x #s(literal -7 binary64))) #s(literal 1/16 binary64) (*.f64 (sqrt.f64 (pow.f64 x #s(literal -3 binary64))) #s(literal 1/2 binary64)))) (/.f64 #s(literal 1 binary64) (sqrt.f64 x))) (fma.f64 (*.f64 (sqrt.f64 (pow.f64 x #s(literal -5 binary64))) #s(literal -1/8 binary64)) (pow.f64 (sqrt.f64 #s(literal -1 binary64)) #s(literal -3 binary64)) (fma.f64 (*.f64 (sqrt.f64 (pow.f64 x #s(literal -7 binary64))) #s(literal 1/16 binary64)) (pow.f64 (sqrt.f64 #s(literal -1 binary64)) #s(literal -5 binary64)) (fma.f64 (*.f64 (sqrt.f64 (pow.f64 x #s(literal -3 binary64))) #s(literal 1/2 binary64)) (pow.f64 (sqrt.f64 #s(literal -1 binary64)) #s(literal -1 binary64)) (sqrt.f64 (*.f64 (pow.f64 x #s(literal -1 binary64)) #s(literal -1 binary64))))))) x))
#s(approx (+ (* (* (* x x) 1/8) x) x) (*.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal 1/8 binary64)))
#s(approx (+ (* (* (* x x) 1/8) x) x) (*.f64 (+.f64 (pow.f64 x #s(literal -2 binary64)) #s(literal 1/8 binary64)) (pow.f64 x #s(literal 3 binary64))))
#s(approx (- (sqrt (+ 1 x)) (sqrt (- 1 x))) (neg.f64 (*.f64 (*.f64 (/.f64 #s(literal 1 binary64) (sqrt.f64 x)) (-.f64 #s(literal -1 binary64) (sqrt.f64 #s(literal -1 binary64)))) x)))
#s(approx (- (sqrt (+ 1 x)) (sqrt (- 1 x))) (neg.f64 (*.f64 (-.f64 (fma.f64 (sqrt.f64 (pow.f64 x #s(literal -3 binary64))) #s(literal 1/2 binary64) (*.f64 #s(literal -1 binary64) (/.f64 #s(literal 1 binary64) (sqrt.f64 x)))) (fma.f64 (sqrt.f64 (*.f64 (pow.f64 x #s(literal -3 binary64)) #s(literal -1 binary64))) #s(literal 1/2 binary64) (sqrt.f64 (*.f64 (pow.f64 x #s(literal -1 binary64)) #s(literal -1 binary64))))) x)))
#s(approx (- (sqrt (+ 1 x)) (sqrt (- 1 x))) (neg.f64 (*.f64 (-.f64 (fma.f64 (*.f64 (sqrt.f64 (pow.f64 x #s(literal -5 binary64))) #s(literal -1 binary64)) #s(literal -1/8 binary64) (fma.f64 (sqrt.f64 (pow.f64 x #s(literal -3 binary64))) #s(literal 1/2 binary64) (*.f64 #s(literal -1 binary64) (/.f64 #s(literal 1 binary64) (sqrt.f64 x))))) (fma.f64 (sqrt.f64 (*.f64 (pow.f64 x #s(literal -5 binary64)) #s(literal -1 binary64))) #s(literal -1/8 binary64) (fma.f64 (sqrt.f64 (*.f64 (pow.f64 x #s(literal -3 binary64)) #s(literal -1 binary64))) #s(literal 1/2 binary64) (sqrt.f64 (*.f64 (pow.f64 x #s(literal -1 binary64)) #s(literal -1 binary64)))))) x)))
#s(approx (- (sqrt (+ 1 x)) (sqrt (- 1 x))) (neg.f64 (*.f64 (-.f64 (fma.f64 (*.f64 (sqrt.f64 (pow.f64 x #s(literal -5 binary64))) #s(literal -1 binary64)) #s(literal -1/8 binary64) (fma.f64 (*.f64 (sqrt.f64 (pow.f64 x #s(literal -7 binary64))) #s(literal 1/16 binary64)) #s(literal 1 binary64) (fma.f64 (sqrt.f64 (pow.f64 x #s(literal -3 binary64))) #s(literal 1/2 binary64) (*.f64 #s(literal -1 binary64) (/.f64 #s(literal 1 binary64) (sqrt.f64 x)))))) (fma.f64 (sqrt.f64 (*.f64 (pow.f64 x #s(literal -5 binary64)) #s(literal -1 binary64))) #s(literal -1/8 binary64) (fma.f64 (sqrt.f64 (*.f64 (pow.f64 x #s(literal -7 binary64)) #s(literal -1 binary64))) #s(literal 1/16 binary64) (fma.f64 (sqrt.f64 (*.f64 (pow.f64 x #s(literal -3 binary64)) #s(literal -1 binary64))) #s(literal 1/2 binary64) (sqrt.f64 (*.f64 (pow.f64 x #s(literal -1 binary64)) #s(literal -1 binary64))))))) x)))

eval5.0ms (0.2%)

Memory
8.6MiB live, 8.6MiB allocated; 0ms collecting garbage
Compiler

Compiled 1 258 to 215 computations (82.9% saved)

prune3.0ms (0.1%)

Memory
6.5MiB live, 6.5MiB allocated; 0ms collecting garbage
Pruning

4 alts after pruning (0 fresh and 4 done)

PrunedKeptTotal
New49049
Fresh000
Picked011
Done033
Total49453
Accuracy
100.0%
Counts
53 → 4
Alt Table
Click to see full alt table
StatusAccuracyProgram
99.9%
#s(approx (- (sqrt (+ 1 x)) (sqrt (- 1 x))) (fma.f64 (*.f64 (*.f64 x x) #s(literal 1/8 binary64)) x x))
100.0%
#s(approx (- (sqrt (+ 1 x)) (sqrt (- 1 x))) (*.f64 (fma.f64 (fma.f64 #s(literal 7/128 binary64) (*.f64 x x) #s(literal 1/8 binary64)) (*.f64 x x) #s(literal 1 binary64)) x))
99.9%
#s(approx (- (sqrt (+ 1 x)) (sqrt (- 1 x))) (*.f64 (fma.f64 (*.f64 x x) #s(literal 1/8 binary64) #s(literal 1 binary64)) x))
99.6%
#s(approx (- (sqrt (+ 1 x)) (sqrt (- 1 x))) x)
Compiler

Compiled 169 to 78 computations (53.8% saved)

regimes27.0ms (1%)

Memory
-36.2MiB live, 10.3MiB allocated; 2ms collecting garbage
Counts
6 → 1
Calls
Call 1
Inputs
#s(approx (- (sqrt (+ 1 x)) (sqrt (- 1 x))) x)
#s(approx (- (sqrt (+ 1 x)) (sqrt (- 1 x))) (*.f64 (fma.f64 (*.f64 x x) #s(literal 1/8 binary64) #s(literal 1 binary64)) x))
#s(approx (- (sqrt (+ 1 x)) (sqrt (- 1 x))) (fma.f64 (*.f64 (*.f64 x x) #s(literal 1/8 binary64)) x x))
#s(approx (- (sqrt (+ 1 x)) (sqrt (- 1 x))) (fma.f64 x #s(literal 1 binary64) (*.f64 x (*.f64 (*.f64 x x) #s(literal 1/8 binary64)))))
#s(approx (- (sqrt (+ 1 x)) (sqrt (- 1 x))) (*.f64 (fma.f64 (fma.f64 #s(literal 7/128 binary64) (*.f64 x x) #s(literal 1/8 binary64)) (*.f64 x x) #s(literal 1 binary64)) x))
(-.f64 (sqrt.f64 (+.f64 #s(literal 1 binary64) x)) (sqrt.f64 (-.f64 #s(literal 1 binary64) x)))
Outputs
#s(approx (- (sqrt (+ 1 x)) (sqrt (- 1 x))) (*.f64 (fma.f64 (fma.f64 #s(literal 7/128 binary64) (*.f64 x x) #s(literal 1/8 binary64)) (*.f64 x x) #s(literal 1 binary64)) x))
Calls

2 calls:

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

Compiled 10 to 8 computations (20% saved)

regimes3.0ms (0.1%)

Memory
3.8MiB live, 3.8MiB allocated; 0ms collecting garbage
Counts
4 → 1
Calls
Call 1
Inputs
#s(approx (- (sqrt (+ 1 x)) (sqrt (- 1 x))) x)
#s(approx (- (sqrt (+ 1 x)) (sqrt (- 1 x))) (*.f64 (fma.f64 (*.f64 x x) #s(literal 1/8 binary64) #s(literal 1 binary64)) x))
#s(approx (- (sqrt (+ 1 x)) (sqrt (- 1 x))) (fma.f64 (*.f64 (*.f64 x x) #s(literal 1/8 binary64)) x x))
#s(approx (- (sqrt (+ 1 x)) (sqrt (- 1 x))) (fma.f64 x #s(literal 1 binary64) (*.f64 x (*.f64 (*.f64 x x) #s(literal 1/8 binary64)))))
Outputs
#s(approx (- (sqrt (+ 1 x)) (sqrt (- 1 x))) (fma.f64 (*.f64 (*.f64 x x) #s(literal 1/8 binary64)) x x))
Calls

2 calls:

2.0ms
x
1.0ms
(-.f64 (sqrt.f64 (+.f64 #s(literal 1 binary64) x)) (sqrt.f64 (-.f64 #s(literal 1 binary64) x)))
Results
AccuracySegmentsBranch
99.9%1(-.f64 (sqrt.f64 (+.f64 #s(literal 1 binary64) x)) (sqrt.f64 (-.f64 #s(literal 1 binary64) x)))
99.9%1x
Compiler

Compiled 10 to 8 computations (20% saved)

regimes2.0ms (0.1%)

Memory
3.1MiB live, 3.1MiB allocated; 0ms collecting garbage
Counts
2 → 1
Calls
Call 1
Inputs
#s(approx (- (sqrt (+ 1 x)) (sqrt (- 1 x))) x)
#s(approx (- (sqrt (+ 1 x)) (sqrt (- 1 x))) (*.f64 (fma.f64 (*.f64 x x) #s(literal 1/8 binary64) #s(literal 1 binary64)) x))
Outputs
#s(approx (- (sqrt (+ 1 x)) (sqrt (- 1 x))) (*.f64 (fma.f64 (*.f64 x x) #s(literal 1/8 binary64) #s(literal 1 binary64)) x))
Calls

2 calls:

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

Compiled 10 to 8 computations (20% saved)

regimes2.0ms (0.1%)

Memory
2.9MiB live, 2.9MiB allocated; 0ms collecting garbage
Accuracy

Total 0.0b remaining (0%)

Threshold costs 0b (0%)

Counts
1 → 1
Calls
Call 1
Inputs
#s(approx (- (sqrt (+ 1 x)) (sqrt (- 1 x))) x)
Outputs
#s(approx (- (sqrt (+ 1 x)) (sqrt (- 1 x))) x)
Calls

2 calls:

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

Compiled 10 to 8 computations (20% saved)

derivations14.0ms (0.5%)

Memory
11.4MiB live, 11.4MiB allocated; 0ms collecting garbage
Stop Event
done
Compiler

Compiled 70 to 22 computations (68.6% saved)

preprocess30.0ms (1.2%)

Memory
-12.7MiB live, 36.6MiB allocated; 7ms collecting garbage
Compiler

Compiled 184 to 78 computations (57.6% saved)

end0.0ms (0%)

Memory
0.0MiB live, 0.0MiB allocated; 0ms collecting garbage

Profiling

Loading profile data...