Curve intersection, scale width based on ribbon orientation

Time bar (total: 1.9s)

start0.0ms (0%)

Memory
0.1MiB live, 0.1MiB allocated

analyze263.0ms (13.7%)

Memory
2.9MiB live, 91.1MiB allocated
Algorithm
search
Search
ProbabilityValidUnknownPreconditionInfiniteDomainCan'tIter
0%0%0.8%99.2%0%0%0%0
0%0%0.8%99.2%0%0%0%1
0%0%0.8%99.2%0%0%0%2
0%0%0.8%99.2%0%0%0%3
0%0%0.8%99.2%0%0%0%4
0%0%0.8%99.2%0%0%0%5
16.7%0.1%0.5%99.2%0%0.2%0%6
25%0.1%0.4%99.2%0%0.2%0%7
25%0.1%0.4%99.2%0%0.2%0%8
25%0.1%0.4%99.2%0%0.2%0%9
45%0.2%0.3%99.2%0%0.3%0%10
52.5%0.3%0.2%99.2%0%0.3%0%11
52.5%0.3%0.2%99.2%0%0.3%0%12
Compiler

Compiled 59 to 39 computations (33.9% saved)

sample67.0ms (3.5%)

Memory
4.4MiB live, 27.0MiB allocated
Samples
37.0ms260×0valid
14.0ms69×0invalid
Precisions
Click to see histograms. Total time spent on operations: 41.0ms
ival-sin: 11.0ms (26.7% of total)
ival-mult: 10.0ms (24.2% of total)
const: 5.0ms (12.1% of total)
ival-<=: 5.0ms (12.1% of total)
ival-div: 4.0ms (9.7% of total)
ival-pi: 1.0ms (2.4% of total)
ival-add: 1.0ms (2.4% of total)
ival-sub: 1.0ms (2.4% of total)
ival-and: 1.0ms (2.4% of total)
exact: 1.0ms (2.4% of total)
ival-assert: 0.0ms (0% of total)
Bogosity

explain1.5s (75.9%)

Memory
1.8MiB live, 1 220.5MiB allocated
FPErrors
Click to see full error table
Ground TruthOverpredictionsExampleUnderpredictionsExampleSubexpression
167(1.3080593487038286e-33 2.464801980295306e-7 1.5803609446004405e-24 -4.161006339994898e-18)0-(*.f32 (sin.f32 (*.f32 u normAngle)) (/.f32 #s(literal 1 binary32) (sin.f32 normAngle)))
00-0-(*.f32 (*.f32 (sin.f32 (*.f32 (-.f32 #s(literal 1 binary32) u) normAngle)) (/.f32 #s(literal 1 binary32) (sin.f32 normAngle))) n0_i)
00-0-(sin.f32 (*.f32 (-.f32 #s(literal 1 binary32) u) normAngle))
00-0-(*.f32 u normAngle)
00-0-n1_i
00-0-(*.f32 (-.f32 #s(literal 1 binary32) u) normAngle)
00-0-(*.f32 (*.f32 (sin.f32 (*.f32 u normAngle)) (/.f32 #s(literal 1 binary32) (sin.f32 normAngle))) n1_i)
00-0-n0_i
00-0-normAngle
00-0-(-.f32 #s(literal 1 binary32) u)
00-0-(+.f32 (*.f32 (*.f32 (sin.f32 (*.f32 (-.f32 #s(literal 1 binary32) u) normAngle)) (/.f32 #s(literal 1 binary32) (sin.f32 normAngle))) n0_i) (*.f32 (*.f32 (sin.f32 (*.f32 u normAngle)) (/.f32 #s(literal 1 binary32) (sin.f32 normAngle))) n1_i))
00-0-#s(literal 1 binary32)
00-0-(sin.f32 (*.f32 u normAngle))
00-0-u
00-0-(sin.f32 normAngle)
01(8.718723500899472e-39 0.0023059106897562742 -2.5718308911551815e-15 -4.221625219541503e-12)0-(*.f32 (sin.f32 (*.f32 (-.f32 #s(literal 1 binary32) u) normAngle)) (/.f32 #s(literal 1 binary32) (sin.f32 normAngle)))
01(8.718723500899472e-39 0.0023059106897562742 -2.5718308911551815e-15 -4.221625219541503e-12)0-(/.f32 #s(literal 1 binary32) (sin.f32 normAngle))
Explanations
Click to see full explanations table
OperatorSubexpressionExplanationCount
*.f32(*.f32 (sin.f32 (*.f32 u normAngle)) (/.f32 #s(literal 1 binary32) (sin.f32 normAngle)))n*u220
/.f32(/.f32 #s(literal 1 binary32) (sin.f32 normAngle))n/u10
(sin.f32 normAngle)underflow1
*.f32(*.f32 (sin.f32 (*.f32 (-.f32 #s(literal 1 binary32) u) normAngle)) (/.f32 #s(literal 1 binary32) (sin.f32 normAngle)))n*u10
Confusion
Predicted +Predicted -
+70
-15234
Precision
0.3181818181818182
Recall
1.0
Confusion?
Predicted +Predicted MaybePredicted -
+700
-150234
Precision?
0.3181818181818182
Recall?
1.0
2:
4:
8:
16:
32:
64:
128:
256:
512:
1024:
2048:
Freqs
test
numberfreq
0234
121
31
Total Confusion?
Predicted +Predicted MaybePredicted -
+100
-000
Precision?
1.0
Recall?
1.0
Total Time
11.237060546875
Average Time
0.04389476776123047
Samples
298.0ms3 000×0valid
15.0ms72×1valid
Compiler

Compiled 3 960 to 840 computations (78.8% saved)

Precisions
Click to see histograms. Total time spent on operations: 208.0ms
ival-mult: 92.0ms (44.2% of total)
ival-sin: 64.0ms (30.7% of total)
ival-div: 19.0ms (9.1% of total)
ival-sub: 15.0ms (7.2% of total)
ival-add: 13.0ms (6.2% of total)
adjust: 2.0ms (1% of total)
ival-true: 2.0ms (1% of total)
exact: 2.0ms (1% of total)
ival-assert: 1.0ms (0.5% of total)

preprocess111.0ms (5.8%)

Memory
-0.8MiB live, 10.2MiB allocated
Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0106368
1279300
2741283
31977255
43516252
56491252
01725
02925
14821
28820
315618
420318
523818
628218
736718
851018
960918
1073518
11117318
12188618
13229318
14231218
15231318
16231318
0231317
Stop Event
iter limit
saturated
iter limit
node limit
Calls
Call 1
Inputs
(+.f32 (*.f32 (*.f32 (sin.f32 (*.f32 (-.f32 #s(literal 1 binary32) u) normAngle)) (/.f32 #s(literal 1 binary32) (sin.f32 normAngle))) n0_i) (*.f32 (*.f32 (sin.f32 (*.f32 u normAngle)) (/.f32 #s(literal 1 binary32) (sin.f32 normAngle))) n1_i))
Outputs
(+.f32 (*.f32 (*.f32 (sin.f32 (*.f32 (-.f32 #s(literal 1 binary32) u) normAngle)) (/.f32 #s(literal 1 binary32) (sin.f32 normAngle))) n0_i) (*.f32 (*.f32 (sin.f32 (*.f32 u normAngle)) (/.f32 #s(literal 1 binary32) (sin.f32 normAngle))) n1_i))
(/.f32 (fma.f32 n1_i (sin.f32 (*.f32 normAngle u)) (*.f32 n0_i (sin.f32 (*.f32 normAngle (-.f32 #s(literal 1 binary32) u))))) (sin.f32 normAngle))
Symmetry

(abs normAngle)

Compiler

Compiled 25 to 17 computations (32% saved)

eval0.0ms (0%)

Memory
0.1MiB live, 0.1MiB allocated
Compiler

Compiled 0 to 4 computations (-∞% saved)

prune1.0ms (0%)

Memory
0.6MiB live, 0.6MiB allocated
Alt Table
Click to see full alt table
StatusAccuracyProgram
97.6%
(+.f32 (*.f32 (*.f32 (sin.f32 (*.f32 (-.f32 #s(literal 1 binary32) u) normAngle)) (/.f32 #s(literal 1 binary32) (sin.f32 normAngle))) n0_i) (*.f32 (*.f32 (sin.f32 (*.f32 u normAngle)) (/.f32 #s(literal 1 binary32) (sin.f32 normAngle))) n1_i))
Compiler

Compiled 50 to 34 computations (32% saved)

simplify20.0ms (1%)

Memory
2.4MiB live, 18.2MiB allocated
Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01725
12925
23325
33525
43625
Stop Event
saturated
Calls
Call 1
Inputs
(+.f32 (*.f32 (*.f32 (sin.f32 (*.f32 (-.f32 #s(literal 1 binary32) u) normAngle)) (/.f32 #s(literal 1 binary32) (sin.f32 normAngle))) n0_i) (*.f32 (*.f32 (sin.f32 (*.f32 u normAngle)) (/.f32 #s(literal 1 binary32) (sin.f32 normAngle))) n1_i))
Outputs
(+.f32 (*.f32 (*.f32 (sin.f32 (*.f32 (-.f32 #s(literal 1 binary32) u) normAngle)) (/.f32 #s(literal 1 binary32) (sin.f32 normAngle))) n0_i) (*.f32 (*.f32 (sin.f32 (*.f32 u normAngle)) (/.f32 #s(literal 1 binary32) (sin.f32 normAngle))) n1_i))
(+.f32 (*.f32 n1_i (*.f32 (sin.f32 (*.f32 normAngle u)) (/.f32 #s(literal 1 binary32) (sin.f32 normAngle)))) (*.f32 n0_i (*.f32 (/.f32 #s(literal 1 binary32) (sin.f32 normAngle)) (sin.f32 (*.f32 normAngle (-.f32 #s(literal 1 binary32) u))))))

soundness0.0ms (0%)

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

Compiled 25 to 17 computations (32% saved)

preprocess2.0ms (0.1%)

Memory
1.7MiB live, 1.7MiB allocated
Remove

(abs normAngle)

Compiler

Compiled 200 to 136 computations (32% saved)

end0.0ms (0%)

Memory
0.0MiB live, 0.0MiB allocated

Profiling

Loading profile data...