Spherical law of cosines

Time bar (total: 3.4s)

start0.0ms (0%)

Memory
0.1MiB live, 0.1MiB allocated

analyze649.0ms (19%)

Memory
9.7MiB live, 207.5MiB allocated
Algorithm
search
Search
ProbabilityValidUnknownPreconditionInfiniteDomainCan'tIter
0%0%99.8%0.2%0%0%0%0
0%0%99.8%0.2%0%0%0%1
0%0%99.8%0.2%0%0%0%2
0%0%99.8%0.2%0%0%0%3
0%0%99.8%0.2%0%0%0%4
0%0%99.8%0.2%0%0%0%5
0%0%99.8%0.2%0%0%0%6
0%0%99.8%0.2%0%0%0%7
0%0%99.8%0.2%0%0%0%8
0%0%99.8%0.2%0%0%0%9
0%0%99.8%0.2%0%0%0%10
1.6%1.6%98.2%0.2%0%0%0%11
1.6%1.6%98.2%0.2%0%0%0%12
Compiler

Compiled 21 to 19 computations (9.5% saved)

sample112.0ms (3.3%)

Memory
-5.8MiB live, 24.8MiB allocated
Samples
86.0ms199×1valid
11.0ms61×0valid
Precisions
Click to see histograms. Total time spent on operations: 87.0ms
ival-cos: 35.0ms (40% of total)
ival-sin: 22.0ms (25.1% of total)
ival-mult: 11.0ms (12.6% of total)
ival-acos: 8.0ms (9.1% of total)
adjust: 7.0ms (8% of total)
ival-sub: 2.0ms (2.3% of total)
ival-add: 2.0ms (2.3% of total)
ival-assert: 0.0ms (0% of total)
ival-true: 0.0ms (0% of total)
Bogosity

explain2.4s (69.9%)

Memory
13.0MiB live, 1 287.1MiB allocated
FPErrors
Click to see full error table
Ground TruthOverpredictionsExampleUnderpredictionsExampleSubexpression
85103(-1.3959735936388587e+67 8.615286944815702e-98 -2.088335945683133e+88 -4.018519321886243e+291 4.244057442509283e-62)0-(cos.f64 (-.f64 lambda1 lambda2))
271(-2.8016464311261353e-252 3.3454898978240954e-64 5.405479543401257e-86 4.235222322153553e+102 3.616111598993691e-99)2(-6.777710714377221e-198 3.108926919565853e-127 -1.9094706437115744e-63 -3.7694470494737205e+189 4.076490940967019e+155)(acos.f64 (+.f64 (*.f64 (sin.f64 phi1) (sin.f64 phi2)) (*.f64 (*.f64 (cos.f64 phi1) (cos.f64 phi2)) (cos.f64 (-.f64 lambda1 lambda2)))))
10-1(1.349353321492879e+278 -7.029295202921911e-137 -1.7769051204497444e-268 -1.1043537250346537e+65 1.3777536866457397e+84)(+.f64 (*.f64 (sin.f64 phi1) (sin.f64 phi2)) (*.f64 (*.f64 (cos.f64 phi1) (cos.f64 phi2)) (cos.f64 (-.f64 lambda1 lambda2))))
00-0-lambda2
00-0-phi2
00-0-(*.f64 (cos.f64 phi1) (cos.f64 phi2))
00-0-(-.f64 lambda1 lambda2)
00-0-R
00-0-(sin.f64 phi1)
00-0-(cos.f64 phi2)
00-0-lambda1
00-0-(*.f64 (*.f64 (cos.f64 phi1) (cos.f64 phi2)) (cos.f64 (-.f64 lambda1 lambda2)))
00-0-(*.f64 (sin.f64 phi1) (sin.f64 phi2))
00-0-phi1
00-0-(sin.f64 phi2)
00-0-(*.f64 (acos.f64 (+.f64 (*.f64 (sin.f64 phi1) (sin.f64 phi2)) (*.f64 (*.f64 (cos.f64 phi1) (cos.f64 phi2)) (cos.f64 (-.f64 lambda1 lambda2))))) R)
00-0-(cos.f64 phi1)
Explanations
Click to see full explanations table
OperatorSubexpressionExplanationCount
cos.f64(cos.f64 (-.f64 lambda1 lambda2))sensitivity1881
acos.f64(acos.f64 (+.f64 (*.f64 (sin.f64 phi1) (sin.f64 phi2)) (*.f64 (*.f64 (cos.f64 phi1) (cos.f64 phi2)) (cos.f64 (-.f64 lambda1 lambda2)))))sensitivity263
Confusion
Predicted +Predicted -
+1101
-10243
Precision
0.5188679245283019
Recall
0.990990990990991
Confusion?
Predicted +Predicted MaybePredicted -
+11010
-102241
Precision?
0.5162790697674419
Recall?
1.0
2:
4:
8:
16:
32:
64:
128:
256:
512:
1024:
2048:
Freqs
test
numberfreq
044
1210
22
Total Confusion?
Predicted +Predicted MaybePredicted -
+100
-000
Precision?
1.0
Recall?
1.0
Total Time
12.69970703125
Average Time
0.04960823059082031
Samples
1.1s2 352×1valid
138.0ms720×0valid
Compiler

Compiled 3 564 to 840 computations (76.4% saved)

Precisions
Click to see histograms. Total time spent on operations: 1.0s
ival-cos: 414.0ms (39.6% of total)
ival-sin: 267.0ms (25.6% of total)
ival-mult: 128.0ms (12.3% of total)
ival-acos: 100.0ms (9.6% of total)
adjust: 84.0ms (8% of total)
ival-sub: 25.0ms (2.4% of total)
ival-add: 23.0ms (2.2% of total)
ival-true: 2.0ms (0.2% of total)
ival-assert: 1.0ms (0.1% of total)

preprocess226.0ms (6.6%)

Memory
1.5MiB live, 9.0MiB allocated
Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0129399
1273393
2460385
3803385
41522385
51993385
62268385
72744385
83277385
93803385
104429385
114716385
124910385
134948385
146292385
156766385
166878385
176894385
186894385
196910385
206910385
216990385
227022385
237022385
01719
02919
13819
25019
35819
46719
58319
611619
714119
818519
920119
1020919
020918
Stop Event
iter limit
saturated
iter limit
saturated
Calls
Call 1
Inputs
(*.f64 (acos.f64 (+.f64 (*.f64 (sin.f64 phi1) (sin.f64 phi2)) (*.f64 (*.f64 (cos.f64 phi1) (cos.f64 phi2)) (cos.f64 (-.f64 lambda1 lambda2))))) R)
Outputs
(*.f64 (acos.f64 (+.f64 (*.f64 (sin.f64 phi1) (sin.f64 phi2)) (*.f64 (*.f64 (cos.f64 phi1) (cos.f64 phi2)) (cos.f64 (-.f64 lambda1 lambda2))))) R)
(*.f64 R (acos.f64 (fma.f64 (*.f64 (cos.f64 (-.f64 lambda2 lambda1)) (cos.f64 phi1)) (cos.f64 phi2) (*.f64 (sin.f64 phi2) (sin.f64 phi1)))))
Symmetry

(negabs R)

(sort lambda1 lambda2)

(sort phi1 phi2)

Compiler

Compiled 19 to 17 computations (10.5% saved)

eval0.0ms (0%)

Memory
0.1MiB live, 0.1MiB allocated
Compiler

Compiled 0 to 5 computations (-∞% saved)

prune10.0ms (0.3%)

Memory
-7.1MiB live, 0.7MiB allocated
Alt Table
Click to see full alt table
StatusAccuracyProgram
66.5%
(*.f64 (acos.f64 (+.f64 (*.f64 (sin.f64 phi1) (sin.f64 phi2)) (*.f64 (*.f64 (cos.f64 phi1) (cos.f64 phi2)) (cos.f64 (-.f64 lambda1 lambda2))))) R)
Compiler

Compiled 38 to 34 computations (10.5% saved)

simplify20.0ms (0.6%)

Memory
-5.2MiB live, 18.1MiB allocated
Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01719
12419
22919
33119
43219
Stop Event
saturated
Calls
Call 1
Inputs
(*.f64 (acos.f64 (+.f64 (*.f64 (sin.f64 phi1) (sin.f64 phi2)) (*.f64 (*.f64 (cos.f64 phi1) (cos.f64 phi2)) (cos.f64 (-.f64 lambda1 lambda2))))) R)
Outputs
(*.f64 (acos.f64 (+.f64 (*.f64 (sin.f64 phi1) (sin.f64 phi2)) (*.f64 (*.f64 (cos.f64 phi1) (cos.f64 phi2)) (cos.f64 (-.f64 lambda1 lambda2))))) R)
(*.f64 R (acos.f64 (+.f64 (*.f64 (cos.f64 (-.f64 lambda1 lambda2)) (*.f64 (cos.f64 phi2) (cos.f64 phi1))) (*.f64 (sin.f64 phi2) (sin.f64 phi1)))))

soundness0.0ms (0%)

Memory
0.2MiB live, 0.2MiB allocated
Stop Event
fuel
Compiler

Compiled 19 to 17 computations (10.5% saved)

preprocess13.0ms (0.4%)

Memory
-0.1MiB live, 7.7MiB allocated
Remove

(sort phi1 phi2)

(sort lambda1 lambda2)

(negabs R)

Compiler

Compiled 304 to 272 computations (10.5% saved)

end0.0ms (0%)

Memory
0.0MiB live, 0.0MiB allocated

Profiling

Loading profile data...