bug333 (missed optimization)

Time bar (total: 2.3s)

start0.0ms (0%)

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

analyze0.0ms (0%)

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

sample1.9s (81.2%)

Memory
23.0MiB live, 1 791.1MiB allocated; 1.1s collecting garbage
Samples
938.0ms4 697×1valid
610.0ms3 434×2valid
5.0ms125×0valid
Precisions
Click to see histograms. Total time spent on operations: 894.0ms
ival-sqrt: 396.0ms (44.3% of total)
adjust: 311.0ms (34.8% of total)
ival-sub!: 97.0ms (10.8% of total)
ival-add!: 90.0ms (10.1% of total)
Bogosity

explain144.0ms (6.2%)

Memory
28.8MiB live, 167.6MiB allocated; 9ms 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
60.0ms232×2valid
28.0ms278×1valid
0.0ms0valid
Compiler

Compiled 63 to 25 computations (60.3% saved)

Precisions
Click to see histograms. Total time spent on operations: 66.0ms
ival-add!: 26.0ms (39.2% of total)
ival-sqrt: 19.0ms (28.7% of total)
adjust: 15.0ms (22.6% of total)
ival-sub!: 6.0ms (9.1% of total)

preprocess71.0ms (3.1%)

Memory
-32.2MiB live, 17.4MiB allocated; 10ms 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
7.9%
(-.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)

series6.0ms (0.3%)

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

rewrite70.0ms (3%)

Memory
38.2MiB live, 81.9MiB allocated; 7ms 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)))))

eval10.0ms (0.4%)

Memory
-29.3MiB live, 13.9MiB allocated; 5ms collecting garbage
Compiler

Compiled 1 392 to 270 computations (80.6% saved)

prune2.0ms (0.1%)

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

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New56258
Fresh000
Picked101
Done000
Total57259
Accuracy
100.0%
Counts
59 → 2
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
#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.8%
#s(approx (- (sqrt (+ 1 x)) (sqrt (- 1 x))) x)
Compiler

Compiled 29 to 21 computations (27.6% saved)

series4.0ms (0.2%)

Memory
8.8MiB live, 8.8MiB allocated; 0ms collecting garbage
Counts
8 → 22
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)
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 (- (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 (- (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 (- (sqrt (+ 1 x)) (sqrt (- 1 x))) (* (+ (* (* x x) 1/8) 1) x) (+ (* (* x x) 1/8) 1) (* x x) 1/8 1)
1.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)
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)

rewrite58.0ms (2.5%)

Memory
10.4MiB live, 56.5MiB allocated; 3ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0150770
0154660
0912633
Stop Event
iter-limit
iter-limit
node-limit
iter-limit
Counts
30 → 49
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))) #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 (- (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 (- (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))) 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 (*.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) (*.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)))))
(/.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))))))
(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))) 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)
#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 (- (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 (- (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
11.9MiB live, 11.9MiB allocated; 0ms collecting garbage
Compiler

Compiled 1 180 to 236 computations (80% saved)

prune29.0ms (1.3%)

Memory
-52.8MiB live, 5.2MiB allocated; 43ms collecting garbage
Pruning

2 alts after pruning (0 fresh and 2 done)

PrunedKeptTotal
New42042
Fresh000
Picked022
Done000
Total42244
Accuracy
100.0%
Counts
44 → 2
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
#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.8%
#s(approx (- (sqrt (+ 1 x)) (sqrt (- 1 x))) x)
Compiler

Compiled 67 to 40 computations (40.3% saved)

regimes10.0ms (0.4%)

Memory
15.2MiB live, 15.2MiB allocated; 0ms collecting garbage
Counts
3 → 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))
(-.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 (*.f64 x x) #s(literal 1/8 binary64) #s(literal 1 binary64)) x))
Calls

2 calls:

8.0ms
x
1.0ms
(-.f64 (sqrt.f64 (+.f64 #s(literal 1 binary64) x)) (sqrt.f64 (-.f64 #s(literal 1 binary64) 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)

regimes2.0ms (0.1%)

Memory
5.3MiB live, 5.3MiB 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.8%1(-.f64 (sqrt.f64 (+.f64 #s(literal 1 binary64) x)) (sqrt.f64 (-.f64 #s(literal 1 binary64) x)))
99.8%1x
Compiler

Compiled 10 to 8 computations (20% saved)

derivations5.0ms (0.2%)

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

Compiled 29 to 14 computations (51.7% saved)

preprocess20.0ms (0.9%)

Memory
-9.3MiB live, 38.6MiB allocated; 6ms collecting garbage
Compiler

Compiled 102 to 62 computations (39.2% saved)

end0.0ms (0%)

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

Profiling

Loading profile data...