NLA-lib Explorer

NLAlib.Ops.Examples.Resources.configurations

Library · theorem

Work100 in both models, with different declared internal span/workspace configurations. There is no work/P scheduling inference or inter-call overlap.

NLAlib.Ops.Examples.Resources.configurations :
  ∃ serial parallel,
    Ops.exec Ops.Examples.Resources.primitiveProgram Ops.Examples.Resources.identityInterp
          (Ops.Examples.Resources.configuration 100 0 ⋯) Fin.elim0 (fun x x_1 ↦ ()) Fin.elim0
          { store := [], pos := 0 } =
        some serial ∧
      Ops.exec Ops.Examples.Resources.primitiveProgram Ops.Examples.Resources.identityInterp
            (Ops.Examples.Resources.configuration 10 64
              Ops.Examples.Resources.configurations._proof_1)
            Fin.elim0 (fun x x_1 ↦ ()) Fin.elim0 { store := [], pos := 0 } =
          some parallel ∧
        (Ops.Examples.Resources.configuration 100 0 ⋯).work serial.cost = 100 ∧
          (Ops.Examples.Resources.configuration 10 64
                    Ops.Examples.Resources.configurations._proof_1).work
                parallel.cost =
              100 ∧
            (Ops.Examples.Resources.configuration 100 0 ⋯).span serial.cost = 100 ∧
              (Ops.Examples.Resources.configuration 10 64
                        Ops.Examples.Resources.configurations._proof_1).span
                    parallel.cost =
                  10 ∧
                serial.peak = 0 ∧ parallel.peak = 64

Full source on GitHub

Import NLAlib.Ops.Examples.Resources.