Interface

Difficulty: easy — 2 definitions, 0 abbreviations, 0 lemmas, 0 theorems, 0 examples.

definition
legend
data-link-layer
DataLinkLayer.interface (poly : List Bool) (n : ) : InterfaceOld
Show details
fun poly n => InterfaceOld.single (Frame poly n poly.length)

Complexity: 37 (size of the value term)

Outer dependencies: InterfaceOld

Lean core dependencies: Bool, List, List.length, Nat

DataLinkLayer.physical (poly : List Bool) (n : ) :
  Layer (PhysicalLayer.interface (n + poly.length)) (DataLinkLayer.interface poly n)
Show details
fun poly n v =>
  match v.left.observeAll, v.right.observe with
  | none, none => True
  | some bits, some e => bits = Fin.append e.payload e.check
  | x, x_1 => False

Complexity: 369 (size of the value term)

Mathlib dependencies: Fin.append

Dependency diagram

Drag to pan, Ctrl+scroll (or Cmd+scroll, or pinch on a touch screen) to zoom, click a node to jump to it.

definitiondeclared elsewheredependencyproof dependency
legend