{"state_type":"pith_open_graph_state","state_version":"1.0","pith_number":"pith:2021:Z3KKVKBXL5TM7REF6PLH7LXTOX","merge_version":"pith-open-graph-merge-v1","event_count":2,"valid_event_count":2,"invalid_event_count":0,"equivocation_count":0,"current":{"canonical_record":{"metadata":{"abstract_canon_sha256":"8dea4f2dbc1d24383b06dfe45b2fa6bf51f133701842fe3ae912768f49934b06","cross_cats_sorted":["cs.DS"],"license":"http://creativecommons.org/licenses/by-nc-sa/4.0/","primary_cat":"cs.PL","submitted_at":"2021-01-27T14:15:46Z","title_canon_sha256":"930f88f883b7c994acd625d455b78ccfa4108b218b84f5bedcdfed23828ca678"},"schema_version":"1.0","source":{"id":"2101.11421","kind":"arxiv","version":1}},"source_aliases":[{"alias_kind":"arxiv","alias_value":"2101.11421","created_at":"2026-07-05T02:10:19Z"},{"alias_kind":"arxiv_version","alias_value":"2101.11421v1","created_at":"2026-07-05T02:10:19Z"},{"alias_kind":"doi","alias_value":"10.48550/arxiv.2101.11421","created_at":"2026-07-05T02:10:19Z"},{"alias_kind":"pith_short_12","alias_value":"Z3KKVKBXL5TM","created_at":"2026-07-05T02:10:19Z"},{"alias_kind":"pith_short_16","alias_value":"Z3KKVKBXL5TM7REF","created_at":"2026-07-05T02:10:19Z"},{"alias_kind":"pith_short_8","alias_value":"Z3KKVKBX","created_at":"2026-07-05T02:10:19Z"}],"graph_snapshots":[{"event_id":"sha256:ad92d5d6b4a01c764f3ed9a1a82ce30915d3bfdaf7175b0a3219541478252fc9","target":"graph","created_at":"2026-07-05T02:10:19Z","signer":{"key_id":"pith-v1-2026-05","public_key_fingerprint":"8d4b5ee74e4693bcd1df2446408b0d54","signer_id":"pith.science","signer_type":"pith_registry"},"payload":{"graph_snapshot":{"author_claims":{"count":0,"snapshot_sha256":"258153158e38e3291e3d48162225fcdb2d5a3ed65a07baac614ab91432fd4f57","strong_count":0},"builder_version":"pith-number-builder-2026-05-17-v1","claims":{"count":0,"items":[],"snapshot_sha256":"258153158e38e3291e3d48162225fcdb2d5a3ed65a07baac614ab91432fd4f57"},"formal_canon":{"evidence_count":0,"snapshot_sha256":"258153158e38e3291e3d48162225fcdb2d5a3ed65a07baac614ab91432fd4f57"},"integrity":{"available":true,"clean":true,"detectors_run":[],"endpoint":"/pith/2101.11421/integrity.json","findings":[],"snapshot_sha256":"c28c3603d3b5d939e8dc4c7e95fa8dfce3d595e45f758748cecf8e644a296938","summary":{"advisory":0,"by_detector":{},"critical":0,"informational":0}},"paper":{"abstract_excerpt":"To demonstrate derivation of monadic programs, we present a specification of sorting using the non-determinism monad, and derive pure quicksort on lists and state-monadic quicksort on arrays. In the derivation one may switch between point-free and pointwise styles, and deploy techniques familiar to functional programmers such as pattern matching and induction on structures or on sizes. Derivation of stateful programs resembles reasoning backwards from the postcondition.","authors_text":"Shin-Cheng Mu, Tsung-Ju Chiang","cross_cats":["cs.DS"],"headline":"","license":"http://creativecommons.org/licenses/by-nc-sa/4.0/","primary_cat":"cs.PL","submitted_at":"2021-01-27T14:15:46Z","title":"Deriving monadic quicksort (Declarative Pearl)"},"references":{"count":0,"internal_anchors":0,"resolved_work":0,"sample":[],"snapshot_sha256":"258153158e38e3291e3d48162225fcdb2d5a3ed65a07baac614ab91432fd4f57"},"source":{"id":"2101.11421","kind":"arxiv","version":1},"verdict":{"created_at":null,"id":null,"model_set":{},"one_line_summary":"","pipeline_version":null,"pith_extraction_headline":"","strongest_claim":"","weakest_assumption":""}},"verdict_id":null}}],"author_attestations":[],"timestamp_anchors":[],"storage_attestations":[],"citation_signatures":[],"replication_records":[],"corrections":[],"mirror_hints":[],"record_created":{"event_id":"sha256:5914ccc98b4015ec9a91e3116d3e1d0bfc5978cd0eb8e21ce46f0e387bd0b9cd","target":"record","created_at":"2026-07-05T02:10:19Z","signer":{"key_id":"pith-v1-2026-05","public_key_fingerprint":"8d4b5ee74e4693bcd1df2446408b0d54","signer_id":"pith.science","signer_type":"pith_registry"},"payload":{"attestation_state":"computed","canonical_record":{"metadata":{"abstract_canon_sha256":"8dea4f2dbc1d24383b06dfe45b2fa6bf51f133701842fe3ae912768f49934b06","cross_cats_sorted":["cs.DS"],"license":"http://creativecommons.org/licenses/by-nc-sa/4.0/","primary_cat":"cs.PL","submitted_at":"2021-01-27T14:15:46Z","title_canon_sha256":"930f88f883b7c994acd625d455b78ccfa4108b218b84f5bedcdfed23828ca678"},"schema_version":"1.0","source":{"id":"2101.11421","kind":"arxiv","version":1}},"canonical_sha256":"ced4aaa8375f66cfc485f3d67faef375f0e49ca8c8fd4020a85adedd8940c485","receipt":{"algorithm":"ed25519","builder_version":"pith-number-builder-2026-05-17-v1","canonical_sha256":"ced4aaa8375f66cfc485f3d67faef375f0e49ca8c8fd4020a85adedd8940c485","first_computed_at":"2026-07-05T02:10:19.686486Z","key_id":"pith-v1-2026-05","kind":"pith_receipt","last_reissued_at":"2026-07-05T02:10:19.686486Z","public_key_fingerprint":"8d4b5ee74e4693bcd1df2446408b0d54","receipt_version":"0.3","signature_b64":"ZcakSb3nlcGQnJl70RDs4LRH6QsCRLp+ixqrVE/iizSLVwKkI1/YyGKCNnD+alAsdfh5tToSzWnA3k/6f8PYBg==","signature_status":"signed_v1","signed_at":"2026-07-05T02:10:19.686839Z","signed_message":"canonical_sha256_bytes"},"source_id":"2101.11421","source_kind":"arxiv","source_version":1}}},"equivocations":[],"invalid_events":[],"applied_event_ids":["sha256:5914ccc98b4015ec9a91e3116d3e1d0bfc5978cd0eb8e21ce46f0e387bd0b9cd","sha256:ad92d5d6b4a01c764f3ed9a1a82ce30915d3bfdaf7175b0a3219541478252fc9"],"state_sha256":"64fdfe17fe45e0fd935c8eea4280dc7fd30301e858e3f13d7651a80c51c0ff71"}