Diagrams.TwoD.Ellipse:ellipse from diagrams-lib-1.3.0.3

Time bar (total: 871.0ms)

start0.0ms (0%)

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

analyze2.0ms (0.3%)

Memory
4.9MiB live, 4.9MiB allocated; 0ms collecting garbage
Algorithm
search
Search
ProbabilityValidUnknownPreconditionInfiniteDomainCan'tIter
0%0%100%0%0%0%0%0
0%0%100%0%0%0%0%1
0%0%100%0%0%0%0%2
0%0%50%0%0%50%0%3
50%25%25%0%0%50%0%4
75%37.5%12.5%0%0%50%0%5
87.5%43.7%6.2%0%0%50%0%6
93.8%46.9%3.1%0%0%50%0%7
96.9%48.4%1.6%0%0%50%0%8
98.4%49.2%0.8%0%0%50%0%9
99.2%49.6%0.4%0%0%50%0%10
99.6%49.8%0.2%0%0%50%0%11
99.8%49.9%0.1%0%0%50%0%12
Compiler

Compiled 8 to 7 computations (12.5% saved)

sample596.0ms (68.4%)

Memory
17.3MiB live, 732.7MiB allocated; 218ms collecting garbage
Samples
404.0ms8 256×0valid
0.0ms0invalid
Precisions
Click to see histograms. Total time spent on operations: 151.0ms
ival-sqrt: 68.0ms (45% of total)
ival-mult!: 60.0ms (39.7% of total)
ival-sub!: 22.0ms (14.6% of total)
adjust: 1.0ms (0.7% of total)
Bogosity

explain70.0ms (8.1%)

Memory
16.7MiB live, 110.1MiB allocated; 5ms collecting garbage
FPErrors
Click to see full error table
Ground TruthOverpredictionsExampleUnderpredictionsExampleSubexpression
00-0-(sqrt.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x)))
00-0-#s(literal 1 binary64)
00-0-(-.f64 #s(literal 1 binary64) (*.f64 x x))
00-0-(*.f64 x x)
00-0-x
Confusion
Predicted +Predicted -
+00
-0256
Precision
0/0
Recall
0/0
Confusion?
Predicted +Predicted MaybePredicted -
+000
-00256
Precision?
0/0
Recall?
0/0
Freqs
test
numberfreq
0256
Total Confusion?
Predicted +Predicted MaybePredicted -
+000
-001
Precision?
0/0
Recall?
0/0
Samples
27.0ms512×0valid
Compiler

Compiled 42 to 19 computations (54.8% saved)

Precisions
Click to see histograms. Total time spent on operations: 12.0ms
ival-sqrt: 6.0ms (49.5% of total)
ival-mult!: 4.0ms (33% of total)
ival-sub!: 2.0ms (16.5% of total)
adjust: 0.0ms (0% of total)

preprocess77.0ms (8.8%)

Memory
-40.1MiB live, 56.0MiB allocated; 6ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01019
12619
25219
37619
413519
534219
6241419
7590119
Stop Event
node-limit
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(sqrt.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x)))
Symmetry

(abs x)

Compiler

Compiled 12 to 10 computations (16.7% saved)

series3.0ms (0.4%)

Memory
5.7MiB live, 5.7MiB allocated; 0ms collecting garbage
Counts
5 → 18
Calls
Call 1
Inputs
(sqrt.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x)))
(-.f64 #s(literal 1 binary64) (*.f64 x x))
#s(literal 1 binary64)
(*.f64 x x)
x
Outputs
#s(approx (sqrt (- 1 (* x x))) #s(hole binary64 1))
#s(approx (sqrt (- 1 (* x x))) #s(hole binary64 (+ 1 (* -1/2 (pow x 2)))))
#s(approx (sqrt (- 1 (* x x))) #s(hole binary64 (+ 1 (* (pow x 2) (- (* -1/8 (pow x 2)) 1/2)))))
#s(approx (sqrt (- 1 (* x x))) #s(hole binary64 (+ 1 (* (pow x 2) (- (* (pow x 2) (- (* -1/16 (pow x 2)) 1/8)) 1/2)))))
#s(approx (- 1 (* x x)) #s(hole binary64 1))
#s(approx (- 1 (* x x)) #s(hole binary64 (+ 1 (* -1 (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 x))) #s(hole binary64 (* x (sqrt -1))))
#s(approx (sqrt (- 1 (* x x))) #s(hole binary64 (* x (+ (sqrt -1) (* 1/2 (/ 1 (* (pow x 2) (sqrt -1))))))))
#s(approx (sqrt (- 1 (* x x))) #s(hole binary64 (* x (- (+ (sqrt -1) (/ 1/2 (* (pow x 2) (sqrt -1)))) (/ 1/8 (* (pow x 4) (pow (sqrt -1) 3)))))))
#s(approx (sqrt (- 1 (* x x))) #s(hole binary64 (* x (- (+ (sqrt -1) (+ (/ 1/2 (* (pow x 2) (sqrt -1))) (* 1/16 (/ 1 (* (pow x 6) (pow (sqrt -1) 5)))))) (* 1/8 (/ 1 (* (pow x 4) (pow (sqrt -1) 3))))))))
#s(approx (- 1 (* x x)) #s(hole binary64 (* -1 (pow x 2))))
#s(approx (- 1 (* x x)) #s(hole binary64 (* (pow x 2) (- (/ 1 (pow x 2)) 1))))
#s(approx (sqrt (- 1 (* x x))) #s(hole binary64 (* -1 (* x (sqrt -1)))))
#s(approx (sqrt (- 1 (* x x))) #s(hole binary64 (* -1 (* x (+ (sqrt -1) (* 1/2 (/ 1 (* (pow x 2) (sqrt -1)))))))))
#s(approx (sqrt (- 1 (* x x))) #s(hole binary64 (* -1 (* x (- (+ (sqrt -1) (/ 1/2 (* (pow x 2) (sqrt -1)))) (/ 1/8 (* (pow x 4) (pow (sqrt -1) 3))))))))
#s(approx (sqrt (- 1 (* x x))) #s(hole binary64 (* -1 (* x (- (+ (sqrt -1) (+ (/ 1/2 (* (pow x 2) (sqrt -1))) (* 1/16 (/ 1 (* (pow x 6) (pow (sqrt -1) 5)))))) (* 1/8 (/ 1 (* (pow x 4) (pow (sqrt -1) 3)))))))))
Calls

3 calls:

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

rewrite49.0ms (5.6%)

Memory
13.4MiB live, 59.7MiB allocated; 3ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
086370
090305
0422296
Stop Event
iter-limit
iter-limit
iter-limit
unsound
iter-limit
Counts
23 → 34
Calls
Call 1
Inputs
(sqrt.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x)))
(-.f64 #s(literal 1 binary64) (*.f64 x x))
#s(literal 1 binary64)
(*.f64 x x)
x
#s(approx (sqrt (- 1 (* x x))) #s(hole binary64 1))
#s(approx (sqrt (- 1 (* x x))) #s(hole binary64 (+ 1 (* -1/2 (pow x 2)))))
#s(approx (sqrt (- 1 (* x x))) #s(hole binary64 (+ 1 (* (pow x 2) (- (* -1/8 (pow x 2)) 1/2)))))
#s(approx (sqrt (- 1 (* x x))) #s(hole binary64 (+ 1 (* (pow x 2) (- (* (pow x 2) (- (* -1/16 (pow x 2)) 1/8)) 1/2)))))
#s(approx (- 1 (* x x)) #s(hole binary64 1))
#s(approx (- 1 (* x x)) #s(hole binary64 (+ 1 (* -1 (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 x))) #s(hole binary64 (* x (sqrt -1))))
#s(approx (sqrt (- 1 (* x x))) #s(hole binary64 (* x (+ (sqrt -1) (* 1/2 (/ 1 (* (pow x 2) (sqrt -1))))))))
#s(approx (sqrt (- 1 (* x x))) #s(hole binary64 (* x (- (+ (sqrt -1) (/ 1/2 (* (pow x 2) (sqrt -1)))) (/ 1/8 (* (pow x 4) (pow (sqrt -1) 3)))))))
#s(approx (sqrt (- 1 (* x x))) #s(hole binary64 (* x (- (+ (sqrt -1) (+ (/ 1/2 (* (pow x 2) (sqrt -1))) (* 1/16 (/ 1 (* (pow x 6) (pow (sqrt -1) 5)))))) (* 1/8 (/ 1 (* (pow x 4) (pow (sqrt -1) 3))))))))
#s(approx (- 1 (* x x)) #s(hole binary64 (* -1 (pow x 2))))
#s(approx (- 1 (* x x)) #s(hole binary64 (* (pow x 2) (- (/ 1 (pow x 2)) 1))))
#s(approx (sqrt (- 1 (* x x))) #s(hole binary64 (* -1 (* x (sqrt -1)))))
#s(approx (sqrt (- 1 (* x x))) #s(hole binary64 (* -1 (* x (+ (sqrt -1) (* 1/2 (/ 1 (* (pow x 2) (sqrt -1)))))))))
#s(approx (sqrt (- 1 (* x x))) #s(hole binary64 (* -1 (* x (- (+ (sqrt -1) (/ 1/2 (* (pow x 2) (sqrt -1)))) (/ 1/8 (* (pow x 4) (pow (sqrt -1) 3))))))))
#s(approx (sqrt (- 1 (* x x))) #s(hole binary64 (* -1 (* x (- (+ (sqrt -1) (+ (/ 1/2 (* (pow x 2) (sqrt -1))) (* 1/16 (/ 1 (* (pow x 6) (pow (sqrt -1) 5)))))) (* 1/8 (/ 1 (* (pow x 4) (pow (sqrt -1) 3)))))))))
Outputs
(pow.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x)) #s(literal 1/2 binary64))
(sin.f64 (acos.f64 x))
(sqrt.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x)))
(cos.f64 (asin.f64 x))
(/.f64 (-.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 4 binary64))) (+.f64 #s(literal 1 binary64) (*.f64 x x)))
(/.f64 (-.f64 #s(literal 1 binary64) (pow.f64 (*.f64 x x) #s(literal 3 binary64))) (+.f64 #s(literal 1 binary64) (+.f64 (pow.f64 x #s(literal 4 binary64)) (*.f64 #s(literal 1 binary64) (*.f64 x x)))))
(-.f64 #s(literal 1 binary64) (*.f64 x x))
(+.f64 #s(literal 1 binary64) (*.f64 (neg.f64 x) x))
#s(literal 1 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(approx (sqrt (- 1 (* x x))) #s(literal 1 binary64))
#s(approx (sqrt (- 1 (* x x))) (fma.f64 (*.f64 x x) #s(literal -1/2 binary64) #s(literal 1 binary64)))
#s(approx (sqrt (- 1 (* x x))) (fma.f64 (-.f64 (*.f64 #s(literal -1/8 binary64) (*.f64 x x)) #s(literal 1/2 binary64)) (*.f64 x x) #s(literal 1 binary64)))
#s(approx (sqrt (- 1 (* x x))) (fma.f64 (-.f64 (*.f64 (-.f64 (*.f64 #s(literal -1/16 binary64) (*.f64 x x)) #s(literal 1/8 binary64)) (*.f64 x x)) #s(literal 1/2 binary64)) (*.f64 x x) #s(literal 1 binary64)))
#s(approx (- 1 (* x x)) #s(literal 1 binary64))
#s(approx (- 1 (* x x)) (fma.f64 #s(literal -1 binary64) (*.f64 x x) #s(literal 1 binary64)))
#s(approx (* x x) (*.f64 x x))
#s(approx x x)
#s(approx (sqrt (- 1 (* x x))) (*.f64 (sqrt.f64 #s(literal -1 binary64)) x))
#s(approx (sqrt (- 1 (* x x))) (*.f64 (fma.f64 (/.f64 (pow.f64 x #s(literal -2 binary64)) (sqrt.f64 #s(literal -1 binary64))) #s(literal 1/2 binary64) (sqrt.f64 #s(literal -1 binary64))) x))
#s(approx (sqrt (- 1 (* x x))) (*.f64 (-.f64 (fma.f64 (/.f64 (pow.f64 x #s(literal -2 binary64)) (sqrt.f64 #s(literal -1 binary64))) #s(literal 1/2 binary64) (sqrt.f64 #s(literal -1 binary64))) (/.f64 (/.f64 #s(literal 1/8 binary64) (pow.f64 x #s(literal 4 binary64))) (pow.f64 #s(literal -1 binary64) #s(literal 3/2 binary64)))) x))
#s(approx (sqrt (- 1 (* x x))) (*.f64 (-.f64 (+.f64 (fma.f64 (/.f64 (pow.f64 x #s(literal -2 binary64)) (sqrt.f64 #s(literal -1 binary64))) #s(literal 1/2 binary64) (sqrt.f64 #s(literal -1 binary64))) (/.f64 #s(literal 1/16 binary64) (*.f64 (pow.f64 #s(literal -1 binary64) #s(literal 5/2 binary64)) (pow.f64 x #s(literal 6 binary64))))) (/.f64 (/.f64 #s(literal 1/8 binary64) (pow.f64 x #s(literal 4 binary64))) (pow.f64 #s(literal -1 binary64) #s(literal 3/2 binary64)))) x))
#s(approx (- 1 (* x x)) (neg.f64 (*.f64 x x)))
#s(approx (- 1 (* x x)) (*.f64 (-.f64 (pow.f64 x #s(literal -2 binary64)) #s(literal 1 binary64)) (*.f64 x x)))
#s(approx (sqrt (- 1 (* x x))) (neg.f64 (*.f64 (sqrt.f64 #s(literal -1 binary64)) x)))
#s(approx (sqrt (- 1 (* x x))) (neg.f64 (*.f64 (fma.f64 (/.f64 (pow.f64 x #s(literal -2 binary64)) (sqrt.f64 #s(literal -1 binary64))) #s(literal 1/2 binary64) (sqrt.f64 #s(literal -1 binary64))) x)))
#s(approx (sqrt (- 1 (* x x))) (neg.f64 (*.f64 (-.f64 (fma.f64 (/.f64 (pow.f64 x #s(literal -2 binary64)) (sqrt.f64 #s(literal -1 binary64))) #s(literal 1/2 binary64) (sqrt.f64 #s(literal -1 binary64))) (/.f64 (/.f64 #s(literal 1/8 binary64) (pow.f64 x #s(literal 4 binary64))) (pow.f64 #s(literal -1 binary64) #s(literal 3/2 binary64)))) x)))
#s(approx (sqrt (- 1 (* x x))) (neg.f64 (*.f64 (-.f64 (+.f64 (fma.f64 (/.f64 (pow.f64 x #s(literal -2 binary64)) (sqrt.f64 #s(literal -1 binary64))) #s(literal 1/2 binary64) (sqrt.f64 #s(literal -1 binary64))) (/.f64 #s(literal 1/16 binary64) (*.f64 (pow.f64 #s(literal -1 binary64) #s(literal 5/2 binary64)) (pow.f64 x #s(literal 6 binary64))))) (/.f64 (/.f64 #s(literal 1/8 binary64) (pow.f64 x #s(literal 4 binary64))) (pow.f64 #s(literal -1 binary64) #s(literal 3/2 binary64)))) x)))

eval3.0ms (0.3%)

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

Compiled 431 to 127 computations (70.5% saved)

prune1.0ms (0.1%)

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

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New28230
Fresh000
Picked101
Done000
Total29231
Accuracy
100.0%
Counts
31 → 2
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(sin.f64 (acos.f64 x))
99.8%
#s(approx (sqrt (- 1 (* x x))) #s(literal 1 binary64))
Compiler

Compiled 11 to 10 computations (9.1% saved)

series2.0ms (0.3%)

Memory
4.7MiB live, 4.7MiB allocated; 0ms collecting garbage
Counts
5 → 15
Calls
Call 1
Inputs
#s(approx (sqrt (- 1 (* x x))) #s(literal 1 binary64))
#s(literal 1 binary64)
(sin.f64 (acos.f64 x))
(acos.f64 x)
x
Outputs
#s(approx (sqrt (- 1 (* x x))) #s(hole binary64 1))
#s(approx (sqrt (- 1 (* x x))) #s(hole binary64 (+ 1 (* -1/2 (pow x 2)))))
#s(approx (sqrt (- 1 (* x x))) #s(hole binary64 (+ 1 (* (pow x 2) (- (* -1/8 (pow x 2)) 1/2)))))
#s(approx (sqrt (- 1 (* x x))) #s(hole binary64 (+ 1 (* (pow x 2) (- (* (pow x 2) (- (* -1/16 (pow x 2)) 1/8)) 1/2)))))
#s(approx (sin (acos x)) #s(hole binary64 (sin (acos x))))
#s(approx (acos x) #s(hole binary64 (acos x)))
#s(approx x #s(hole binary64 x))
#s(approx (sqrt (- 1 (* x x))) #s(hole binary64 (* x (sqrt -1))))
#s(approx (sqrt (- 1 (* x x))) #s(hole binary64 (* x (+ (sqrt -1) (* 1/2 (/ 1 (* (pow x 2) (sqrt -1))))))))
#s(approx (sqrt (- 1 (* x x))) #s(hole binary64 (* x (- (+ (sqrt -1) (/ 1/2 (* (pow x 2) (sqrt -1)))) (/ 1/8 (* (pow x 4) (pow (sqrt -1) 3)))))))
#s(approx (sqrt (- 1 (* x x))) #s(hole binary64 (* x (- (+ (sqrt -1) (+ (/ 1/2 (* (pow x 2) (sqrt -1))) (* 1/16 (/ 1 (* (pow x 6) (pow (sqrt -1) 5)))))) (* 1/8 (/ 1 (* (pow x 4) (pow (sqrt -1) 3))))))))
#s(approx (sqrt (- 1 (* x x))) #s(hole binary64 (* -1 (* x (sqrt -1)))))
#s(approx (sqrt (- 1 (* x x))) #s(hole binary64 (* -1 (* x (+ (sqrt -1) (* 1/2 (/ 1 (* (pow x 2) (sqrt -1)))))))))
#s(approx (sqrt (- 1 (* x x))) #s(hole binary64 (* -1 (* x (- (+ (sqrt -1) (/ 1/2 (* (pow x 2) (sqrt -1)))) (/ 1/8 (* (pow x 4) (pow (sqrt -1) 3))))))))
#s(approx (sqrt (- 1 (* x x))) #s(hole binary64 (* -1 (* x (- (+ (sqrt -1) (+ (/ 1/2 (* (pow x 2) (sqrt -1))) (* 1/16 (/ 1 (* (pow x 6) (pow (sqrt -1) 5)))))) (* 1/8 (/ 1 (* (pow x 4) (pow (sqrt -1) 3)))))))))
Calls

3 calls:

TimeVariablePointExpression
1.0ms
x
@-inf
((sqrt (- 1 (* x x))) 1 (sin (acos x)) (acos x) x)
1.0ms
x
@inf
((sqrt (- 1 (* x x))) 1 (sin (acos x)) (acos x) x)
1.0ms
x
@0
((sqrt (- 1 (* x x))) 1 (sin (acos x)) (acos x) x)

rewrite36.0ms (4.1%)

Memory
-0.1MiB live, 46.5MiB allocated; 2ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
079326
080265
0380262
Stop Event
iter-limit
iter-limit
iter-limit
unsound
iter-limit
Counts
20 → 24
Calls
Call 1
Inputs
#s(approx (sqrt (- 1 (* x x))) #s(literal 1 binary64))
#s(literal 1 binary64)
(sin.f64 (acos.f64 x))
(acos.f64 x)
x
#s(approx (sqrt (- 1 (* x x))) #s(hole binary64 1))
#s(approx (sqrt (- 1 (* x x))) #s(hole binary64 (+ 1 (* -1/2 (pow x 2)))))
#s(approx (sqrt (- 1 (* x x))) #s(hole binary64 (+ 1 (* (pow x 2) (- (* -1/8 (pow x 2)) 1/2)))))
#s(approx (sqrt (- 1 (* x x))) #s(hole binary64 (+ 1 (* (pow x 2) (- (* (pow x 2) (- (* -1/16 (pow x 2)) 1/8)) 1/2)))))
#s(approx (sin (acos x)) #s(hole binary64 (sin (acos x))))
#s(approx (acos x) #s(hole binary64 (acos x)))
#s(approx x #s(hole binary64 x))
#s(approx (sqrt (- 1 (* x x))) #s(hole binary64 (* x (sqrt -1))))
#s(approx (sqrt (- 1 (* x x))) #s(hole binary64 (* x (+ (sqrt -1) (* 1/2 (/ 1 (* (pow x 2) (sqrt -1))))))))
#s(approx (sqrt (- 1 (* x x))) #s(hole binary64 (* x (- (+ (sqrt -1) (/ 1/2 (* (pow x 2) (sqrt -1)))) (/ 1/8 (* (pow x 4) (pow (sqrt -1) 3)))))))
#s(approx (sqrt (- 1 (* x x))) #s(hole binary64 (* x (- (+ (sqrt -1) (+ (/ 1/2 (* (pow x 2) (sqrt -1))) (* 1/16 (/ 1 (* (pow x 6) (pow (sqrt -1) 5)))))) (* 1/8 (/ 1 (* (pow x 4) (pow (sqrt -1) 3))))))))
#s(approx (sqrt (- 1 (* x x))) #s(hole binary64 (* -1 (* x (sqrt -1)))))
#s(approx (sqrt (- 1 (* x x))) #s(hole binary64 (* -1 (* x (+ (sqrt -1) (* 1/2 (/ 1 (* (pow x 2) (sqrt -1)))))))))
#s(approx (sqrt (- 1 (* x x))) #s(hole binary64 (* -1 (* x (- (+ (sqrt -1) (/ 1/2 (* (pow x 2) (sqrt -1)))) (/ 1/8 (* (pow x 4) (pow (sqrt -1) 3))))))))
#s(approx (sqrt (- 1 (* x x))) #s(hole binary64 (* -1 (* x (- (+ (sqrt -1) (+ (/ 1/2 (* (pow x 2) (sqrt -1))) (* 1/16 (/ 1 (* (pow x 6) (pow (sqrt -1) 5)))))) (* 1/8 (/ 1 (* (pow x 4) (pow (sqrt -1) 3)))))))))
Outputs
#s(approx (sin (acos x)) #s(literal 1 binary64))
#s(literal 1 binary64)
(pow.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x)) #s(literal 1/2 binary64))
(sin.f64 (acos.f64 x))
(sqrt.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x)))
(cos.f64 (asin.f64 x))
(-.f64 (/.f64 (PI.f64) #s(literal 2 binary64)) (asin.f64 x))
(acos.f64 x)
x
#s(approx (sin (acos x)) #s(literal 1 binary64))
#s(approx (sin (acos x)) (fma.f64 (*.f64 x x) #s(literal -1/2 binary64) #s(literal 1 binary64)))
#s(approx (sin (acos x)) (fma.f64 (-.f64 (*.f64 #s(literal -1/8 binary64) (*.f64 x x)) #s(literal 1/2 binary64)) (*.f64 x x) #s(literal 1 binary64)))
#s(approx (sin (acos x)) (fma.f64 (-.f64 (*.f64 (-.f64 (*.f64 #s(literal -1/16 binary64) (*.f64 x x)) #s(literal 1/8 binary64)) (*.f64 x x)) #s(literal 1/2 binary64)) (*.f64 x x) #s(literal 1 binary64)))
#s(approx (sin (acos x)) (sin.f64 (acos.f64 x)))
#s(approx (acos x) (acos.f64 x))
#s(approx x x)
#s(approx (sin (acos x)) (*.f64 (sqrt.f64 #s(literal -1 binary64)) x))
#s(approx (sin (acos x)) (*.f64 (+.f64 (/.f64 (/.f64 #s(literal 1/2 binary64) (*.f64 x x)) (sqrt.f64 #s(literal -1 binary64))) (sqrt.f64 #s(literal -1 binary64))) x))
#s(approx (sin (acos x)) (*.f64 (-.f64 (+.f64 (/.f64 (/.f64 #s(literal 1/2 binary64) (*.f64 x x)) (sqrt.f64 #s(literal -1 binary64))) (sqrt.f64 #s(literal -1 binary64))) (/.f64 (/.f64 #s(literal 1/8 binary64) (pow.f64 x #s(literal 4 binary64))) (pow.f64 #s(literal -1 binary64) #s(literal 3/2 binary64)))) x))
#s(approx (sin (acos x)) (*.f64 (-.f64 (+.f64 (+.f64 (/.f64 (/.f64 #s(literal 1/2 binary64) (*.f64 x x)) (sqrt.f64 #s(literal -1 binary64))) (sqrt.f64 #s(literal -1 binary64))) (/.f64 #s(literal 1/16 binary64) (*.f64 (pow.f64 #s(literal -1 binary64) #s(literal 5/2 binary64)) (pow.f64 x #s(literal 6 binary64))))) (/.f64 (/.f64 #s(literal 1/8 binary64) (pow.f64 x #s(literal 4 binary64))) (pow.f64 #s(literal -1 binary64) #s(literal 3/2 binary64)))) x))
#s(approx (sin (acos x)) (neg.f64 (*.f64 (sqrt.f64 #s(literal -1 binary64)) x)))
#s(approx (sin (acos x)) (neg.f64 (*.f64 (+.f64 (/.f64 (/.f64 #s(literal 1/2 binary64) (*.f64 x x)) (sqrt.f64 #s(literal -1 binary64))) (sqrt.f64 #s(literal -1 binary64))) x)))
#s(approx (sin (acos x)) (neg.f64 (*.f64 (-.f64 (+.f64 (/.f64 (/.f64 #s(literal 1/2 binary64) (*.f64 x x)) (sqrt.f64 #s(literal -1 binary64))) (sqrt.f64 #s(literal -1 binary64))) (/.f64 (/.f64 #s(literal 1/8 binary64) (pow.f64 x #s(literal 4 binary64))) (pow.f64 #s(literal -1 binary64) #s(literal 3/2 binary64)))) x)))
#s(approx (sin (acos x)) (neg.f64 (*.f64 (-.f64 (+.f64 (+.f64 (/.f64 (/.f64 #s(literal 1/2 binary64) (*.f64 x x)) (sqrt.f64 #s(literal -1 binary64))) (sqrt.f64 #s(literal -1 binary64))) (/.f64 #s(literal 1/16 binary64) (*.f64 (pow.f64 #s(literal -1 binary64) #s(literal 5/2 binary64)) (pow.f64 x #s(literal 6 binary64))))) (/.f64 (/.f64 #s(literal 1/8 binary64) (pow.f64 x #s(literal 4 binary64))) (pow.f64 #s(literal -1 binary64) #s(literal 3/2 binary64)))) x)))

eval2.0ms (0.2%)

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

Compiled 276 to 78 computations (71.7% saved)

prune1.0ms (0.2%)

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

2 alts after pruning (0 fresh and 2 done)

PrunedKeptTotal
New19019
Fresh000
Picked022
Done000
Total19221
Accuracy
100.0%
Counts
21 → 2
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(sin.f64 (acos.f64 x))
99.8%
#s(approx (sqrt (- 1 (* x x))) #s(literal 1 binary64))
Compiler

Compiled 28 to 22 computations (21.4% saved)

regimes5.0ms (0.6%)

Memory
11.0MiB live, 11.0MiB allocated; 0ms collecting garbage
Counts
3 → 1
Calls
Call 1
Inputs
#s(approx (sqrt (- 1 (* x x))) #s(literal 1 binary64))
(sin.f64 (acos.f64 x))
(sqrt.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x)))
Outputs
(sin.f64 (acos.f64 x))
Calls

4 calls:

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

Compiled 15 to 12 computations (20% saved)

regimes6.0ms (0.7%)

Memory
-36.5MiB live, 10.2MiB allocated; 1ms collecting garbage
Accuracy

Total 0.0b remaining (0%)

Threshold costs 0b (0%)

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

4 calls:

3.0ms
x
1.0ms
(sqrt.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x)))
1.0ms
(*.f64 x x)
1.0ms
(-.f64 #s(literal 1 binary64) (*.f64 x x))
Results
AccuracySegmentsBranch
99.8%1(*.f64 x x)
99.8%1(-.f64 #s(literal 1 binary64) (*.f64 x x))
99.8%1(sqrt.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x)))
99.8%1x
Compiler

Compiled 15 to 12 computations (20% saved)

derivations2.0ms (0.3%)

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

Compiled 11 to 9 computations (18.2% saved)

preprocess15.0ms (1.7%)

Memory
32.5MiB live, 32.5MiB allocated; 0ms collecting garbage
Remove

(abs x)

Compiler

Compiled 56 to 48 computations (14.3% saved)

end0.0ms (0%)

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

Profiling

Loading profile data...