Source/Packages

Runtime.NativeDataParallelOwnedTree

packages/execution/src/Runtime/NativeDataParallelOwnedTree.alpha

979 lines34 declarations47.0 KiBSHA-256 5e555474696d

def · lines 134–149

dpotPart

Full file
A partition of `ordinal` when it holds any interval.
134def dpotPart =
135  (lambda unrestricted ordinal : Nat .
136    (lambda unrestricted intervals : (family StdList (family LogicalInterval)) .
137      (lambda unrestricted rest : (family StdList (family CheckpointRegionPartition)) .
138        (nat-eliminate
139          (lambda unrestricted empty : Nat . (family StdList (family CheckpointRegionPartition)))
140          (constructor
141            StdList
142            StdListCons
143            (family CheckpointRegionPartition)
144            (constructor CheckpointRegionPartition CheckpointRegionPartitionOf ordinal intervals)
145            rest)
146          (lambda unrestricted previous : Nat .
147            (lambda unrestricted ignored : (family StdList (family CheckpointRegionPartition)) .
148              rest))
149          (naturalIsZero (stdListLength (family LogicalInterval) intervals))))))

The compiler supplied declaration spans and resolved links from this source snapshot. This page does not assert that this file belongs to a checked closure.