732def dataBytesBuilderBuildWithin =
733 (lambda unrestricted allocationLimit : Nat . unrestricted builder : (family DataBytesBuilder) .
734 eliminate
735 DataBytesBuilder
736 (lambda unrestricted current : (family DataBytesBuilder) . family DataBytesResult)
737 builder
738 (branch DataBytesBuilderValue runtime length chunks shared copied .
739 nat-eliminate
740 (lambda unrestricted current : Nat . family DataBytesResult)
741 (constructor
742 DataBytesResult
743 DataBytesFailed
744 (constructor DataBytesErrorCode DataBytesBuilderInvariantViolation)
745 (dataBytesZeroTelemetry allocationLimit))
746 (lambda unrestricted validPredecessor : Nat .
747 unrestricted validInduction : (family DataBytesResult) .
748 nat-eliminate
749 (lambda unrestricted current : Nat . family DataBytesResult)
750 (constructor
751 DataBytesResult
752 DataBytesFailed
753 (constructor DataBytesErrorCode DataBytesAllocationLimitExceeded)
754 (dataBytesTelemetry length length 0 chunks shared copied 0 allocationLimit))
755 (lambda unrestricted fitsPredecessor : Nat .
756 unrestricted fitsInduction : (family DataBytesResult) .
757 app
758 (lambda unrestricted output : Bytes .
759 nat-eliminate
760 (lambda unrestricted current : Nat . family DataBytesResult)
761 (constructor
762 DataBytesResult
763 DataBytesFailed
764 (constructor DataBytesErrorCode DataBytesBuilderInvariantViolation)
765 (dataBytesTelemetry
766 length
767 length
768 0
769 chunks
770 shared
771 copied
772 length
773 allocationLimit))
774 (lambda unrestricted exactPredecessor : Nat .
775 unrestricted exactInduction : (family DataBytesResult) .
776 constructor
777 DataBytesResult
778 DataBytesSucceeded
779 output
780 (dataBytesTelemetry
781 length
782 length
783 length
784 chunks
785 shared
786 copied
787 length
788 allocationLimit))
789 (naturalEqual (bytes-length output) length))
790 (bytes-builder-build runtime))
791 (naturalLessOrEqual length allocationLimit))
792 (dataBytesBuilderMetadataValid length chunks shared copied)))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.