Documentation

WeightedNetKAT.Examples.Abilene

Abilene #

This file contains a simplified version of the Abilene network

def List.sum' {α : Type u_1} [Add α] [Zero α] (a : List α) :
α

A version of List.sum that doesn't leave a trailing 0

Useful for non-AddZeroClass instances of add.

Equations
Instances For
    def Array.sum' {α : Type u_1} [Add α] [Zero α] (a : Array α) :
    α

    A version of Array.sum that doesn't leave a trailing 0

    Useful for non-AddZeroClass instances of add.

    Equations
    Instances For
      Instances For
        @[implicit_reducible]
        Equations
        @[implicit_reducible]
        Equations
        • One or more equations did not get rendered due to their size.
        Equations
        • One or more equations did not get rendered due to their size.
        Instances For
          @[implicit_reducible]
          Equations
          • One or more equations did not get rendered due to their size.
          Instances For
            @[implicit_reducible]
            Equations
            @[implicit_reducible]
            Equations
            • One or more equations did not get rendered due to their size.
            Equations
            • One or more equations did not get rendered due to their size.
            Instances For
              @[implicit_reducible]
              Equations
              • One or more equations did not get rendered due to their size.
              @[implicit_reducible]
              Equations
              • One or more equations did not get rendered due to their size.
              @[implicit_reducible, instance 1000000]
              Equations
              • One or more equations did not get rendered due to their size.
              @[implicit_reducible]
              Equations
              def WeightedNetKAT.Abilene.mod {𝒮 : Type u_2} [Semiring 𝒮] {α : Type u_1} (c : α) :
              RPol 𝒮
              Equations
              Instances For
                def WeightedNetKAT.Abilene.test {𝒮 : Type u_2} [Semiring 𝒮] {α : Type u_1} (c : α) :
                RPol 𝒮
                Equations
                Instances For
                  Equations
                  Instances For
                    Equations
                    Instances For
                      def WeightedNetKAT.Abilene.build_of_rel {α β : Type} [Listed α] [DecidableEq α] [Semiring β] (r : ααOption β) :
                      RPol β
                      Equations
                      • One or more equations did not get rendered due to their size.
                      Instances For
                        Equations
                        • One or more equations did not get rendered due to their size.
                        Instances For