{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,11,15]],"date-time":"2026-11-15T09:00:34Z","timestamp":1794733234538,"version":"4.9.1"},"publisher-location":"Cham","reference-count":42,"publisher":"Springer Nature Switzerland","isbn-type":[{"value":"9783031300431","type":"print"},{"value":"9783031300448","type":"electronic"}],"license":[{"start":{"date-parts":[[2023,1,1]],"date-time":"2023-01-01T00:00:00Z","timestamp":1672531200000},"content-version":"tdm","delay-in-days":0,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0"},{"start":{"date-parts":[[2023,4,17]],"date-time":"2023-04-17T00:00:00Z","timestamp":1681689600000},"content-version":"vor","delay-in-days":106,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0"}],"content-domain":{"domain":["link.springer.com"],"crossmark-restriction":false},"short-container-title":[],"published-print":{"date-parts":[[2023]]},"abstract":"<jats:title>Abstract<\/jats:title>\n                  <jats:p>Gradualizing System F has been widely discussed. A big challenge is to preserve relational parametricity and\/or the gradual guarantee. Most past work has focused on the preservation of parametricity, but often without the gradual guarantee. A few recent works satisfy both properties by giving up System F syntax, or with some restrictions and the introduction of sophisticated mechanisms in the dynamic semantics.<\/jats:p>\n                  <jats:p>\n                    While parametricity is important for polymorphic languages, most mainstream languages typically do not satisfy it, for a variety of different reasons. In this paper, we explore the design space of polymorphic languages that satisfy the gradual guarantee, but do not preserve parametricity. When parametricity is not a goal, the design of polymorphic gradual languages can be considerably simplified. Moreover, it becomes easy to add features that are of practical importance, such as mutable references. We present a new gradually typed polymorphic calculus, called\n                    <jats:inline-formula>\n                      <jats:alternatives>\n                        <jats:tex-math>$$\\lambda ^{G}_{gpr}$$<\/jats:tex-math>\n                        <mml:math xmlns:mml=\"http:\/\/www.w3.org\/1998\/Math\/MathML\">\n                          <mml:msubsup>\n                            <mml:mi>\u03bb<\/mml:mi>\n                            <mml:mrow>\n                              <mml:mi>gpr<\/mml:mi>\n                            <\/mml:mrow>\n                            <mml:mi>G<\/mml:mi>\n                          <\/mml:msubsup>\n                        <\/mml:math>\n                      <\/jats:alternatives>\n                    <\/jats:inline-formula>\n                    , with mutable references and with an easy proof of the gradual guarantee. In addition, compared to other gradual polymorphism work,\n                    <jats:inline-formula>\n                      <jats:alternatives>\n                        <jats:tex-math>$$\\lambda ^{G}_{gpr}$$<\/jats:tex-math>\n                        <mml:math xmlns:mml=\"http:\/\/www.w3.org\/1998\/Math\/MathML\">\n                          <mml:msubsup>\n                            <mml:mi>\u03bb<\/mml:mi>\n                            <mml:mrow>\n                              <mml:mi>gpr<\/mml:mi>\n                            <\/mml:mrow>\n                            <mml:mi>G<\/mml:mi>\n                          <\/mml:msubsup>\n                        <\/mml:math>\n                      <\/jats:alternatives>\n                    <\/jats:inline-formula>\n                    is defined using a Type-Directed Operational Semantics (TDOS), which allows the dynamic semantics to be defined directly instead of elaborating to a target cast language.\n                    <jats:inline-formula>\n                      <jats:alternatives>\n                        <jats:tex-math>$$\\lambda ^{G}_{gpr}$$<\/jats:tex-math>\n                        <mml:math xmlns:mml=\"http:\/\/www.w3.org\/1998\/Math\/MathML\">\n                          <mml:msubsup>\n                            <mml:mi>\u03bb<\/mml:mi>\n                            <mml:mrow>\n                              <mml:mi>gpr<\/mml:mi>\n                            <\/mml:mrow>\n                            <mml:mi>G<\/mml:mi>\n                          <\/mml:msubsup>\n                        <\/mml:math>\n                      <\/jats:alternatives>\n                    <\/jats:inline-formula>\n                    and all the proofs in this paper are formalized in Coq.\n                  <\/jats:p>","DOI":"10.1007\/978-3-031-30044-8_6","type":"book-chapter","created":{"date-parts":[[2023,4,16]],"date-time":"2023-04-16T16:28:25Z","timestamp":1681662505000},"page":"140-167","update-policy":"https:\/\/doi.org\/10.1007\/springer_crossmark_policy","source":"Crossref","is-referenced-by-count":1,"title":["Pragmatic Gradual Polymorphism with References"],"prefix":"10.1007","author":[{"given":"Wenjia","family":"Ye","sequence":"first","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Bruno C. d. S.","family":"Oliveira","sequence":"additional","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"297","published-online":{"date-parts":[[2023,4,17]]},"reference":[{"key":"6_CR1","doi-asserted-by":"crossref","unstructured":"Abadi, M., Cardelli, L., Pierce, B.C., Plotkin, G.D.: Dynamic typing in a statically-typed language. In: POPL \u201989 (1989)","DOI":"10.1145\/75277.75296"},{"key":"6_CR2","unstructured":"Ahmed, A., Appel, A.W., Virga, R.: An indexed model of impredicative polymorphism and mutable references (2003)"},{"key":"6_CR3","doi-asserted-by":"crossref","unstructured":"Ahmed, A., Findler, R.B., Siek, J.G., Wadler, P.: Blame for all. In: Proceedings of the 38th annual ACM SIGPLAN-SIGACT Symposium on Principles of Programming Languages. pp. 201\u2013214 (2011)","DOI":"10.1145\/1926385.1926409"},{"key":"6_CR4","unstructured":"Barendregt, H.P., Church, A.: The impact of the lambda calculus (2014)"},{"key":"6_CR5","doi-asserted-by":"crossref","unstructured":"Bierman, G., Abadi, M., Torgersen, M.: Understanding typescript. In: European Conference on Object-Oriented Programming. pp. 257\u2013281. Springer (2014)","DOI":"10.1007\/978-3-662-44202-9_11"},{"key":"6_CR6","unstructured":"Bracha, G.: The dart programming language. Addison-Wesley Professional (2015)"},{"key":"6_CR7","doi-asserted-by":"crossref","unstructured":"Cartwright, R., Fagan, M.: Soft typing. In: PLDI \u201991 (1991)","DOI":"10.1145\/113445.113469"},{"key":"6_CR8","unstructured":"Chaudhuri, A.: Flow: a static type checker for javascript. SPLASH-I In Systems, Programming, Languages and Applications: Software for Humanity (2015)"},{"key":"6_CR9","doi-asserted-by":"crossref","unstructured":"Cimini, M., Siek, J.G.: The gradualizer: a methodology and algorithm for generating gradual type systems. Proceedings of the 43rd Annual ACM SIGPLAN-SIGACT Symposium on Principles of Programming Languages (2016)","DOI":"10.1145\/2837614.2837632"},{"key":"6_CR10","doi-asserted-by":"publisher","unstructured":"Dunfield, J., Krishnaswami, N.R.: Complete and easy bidirectional typechecking for higherrank polymorphism. In: Proceedings of the 18th ACM SIGPLAN International Conference on Functional Programming, pp. 429\u2013442. ICFP \u201913, Association for Computing Machinery, New York, NY, USA (2013). https:\/\/doi.org\/10.1145\/2500365.2500582, https:\/\/doi.org\/10.1145\/2500365.2500582","DOI":"10.1145\/2500365.2500582"},{"key":"6_CR11","doi-asserted-by":"crossref","unstructured":"Garcia, R.: Calculating threesomes, with blame. In: Proceedings of the 18th ACM SIGPLAN International Conference on Functional programming. pp. 417\u2013428 (2013)","DOI":"10.1145\/2500365.2500603"},{"key":"6_CR12","doi-asserted-by":"publisher","unstructured":"Garcia, R., Clark, A.M., Tanter, E.: Abstracting gradual typing. In: Proceedings of the 43rd Annual ACM SIGPLAN-SIGACT Symposium on Principles of Programming Languages. pp. 429\u2013442. POPL \u201916, Association for Computing Machinery, New York, NY, USA (2016). https:\/\/doi.org\/10.1145\/2837614.2837670","DOI":"10.1145\/2837614.2837670"},{"key":"6_CR13","unstructured":"Herman, D., Tomb, A., Flanagan, C.: Space-efficient gradual typing. In: In Trends in Functional Programming (TFP (2007)"},{"key":"6_CR14","doi-asserted-by":"crossref","unstructured":"Herman, D., Tomb, A., Flanagan, C.: Space-efficient gradual typing. Higher-Order and Symbolic Computation 23(2), 167 (2010)","DOI":"10.1007\/s10990-011-9066-z"},{"key":"6_CR15","doi-asserted-by":"publisher","unstructured":"Huang, X., Oliveira, B.C.d.S.: A Type-Directed Operational Semantics For a Calculus with a Merge Operator. In: Hirschfeld, R., Pape, T. (eds.) 34th European Conference on Object-Oriented Programming (ECOOP 2020). Leibniz International Proceedings in Informatics (LIPIcs), vol.\u00a0166, pp. 26:1\u201326:32. Schloss Dagstuhl\u2013Leibniz-Zentrum f\u00fcr Informatik, Dagstuhl, Germany (2020). https:\/\/doi.org\/10.4230\/LIPIcs.ECOOP.2020.26, https:\/\/drops.dagstuhl.de\/opus\/volltexte\/2020\/13183","DOI":"10.4230\/LIPIcs.ECOOP.2020.26"},{"key":"6_CR16","doi-asserted-by":"crossref","unstructured":"Huang, X., Zhao, J., Oliveira, B.C.d.S.: Taming the merge operator. Journal of Functional Programming 31, e28 (2021)","DOI":"10.1017\/S0956796821000186"},{"key":"6_CR17","doi-asserted-by":"publisher","unstructured":"Igarashi, Y., Sekiyama, T., Igarashi, A.: On polymorphic gradual typing. Proc. ACM Program. Lang. 1(ICFP) (aug 2017). https:\/\/doi.org\/10.1145\/3110284","DOI":"10.1145\/3110284"},{"key":"6_CR18","doi-asserted-by":"crossref","unstructured":"Jaber, G., Tzevelekos, N.: Trace semantics for polymorphic references*. 2016 31st Annual ACM\/IEEE Symposium on Logic in Computer Science (LICS) pp. 1\u201310 (2016)","DOI":"10.1145\/2933575.2934509"},{"key":"6_CR19","doi-asserted-by":"crossref","unstructured":"Jones, S.L.P., Vytiniotis, D., Weirich, S., Shields, M.: Practical type inference for arbitrary-rank types. Journal of Functional Programming 17, 1\u201382 (2007)","DOI":"10.1017\/S0956796806006034"},{"key":"6_CR20","doi-asserted-by":"publisher","unstructured":"Labrada, E., Toro, M., Tanter, E., Devriese, D.: Plausible sealing for gradual parametricity. Proc. ACM Program. Lang. 6(OOPSLA1) (apr 2022). https:\/\/doi.org\/10.1145\/3527314","DOI":"10.1145\/3527314"},{"key":"6_CR21","doi-asserted-by":"crossref","unstructured":"Matthews, J., Ahmed, A.: Parametric polymorphism through run-time sealing or, theorems for low, low prices! In: Drossopoulou, S. (ed.) Programming Languages and Systems. pp. 16\u201331 (2008)","DOI":"10.1007\/978-3-540-78739-6_2"},{"key":"6_CR22","doi-asserted-by":"publisher","unstructured":"Matthews, J., Findler, R.B.: Operational semantics for multi-language programs. ACM Trans. Program. Lang. Syst. 31(3) (apr 2009). https:\/\/doi.org\/10.1145\/1498926.1498930","DOI":"10.1145\/1498926.1498930"},{"key":"6_CR23","doi-asserted-by":"crossref","unstructured":"M\u00f8gelberg, R.E., Simpson, A.K.: Relational parametricity for computational effects. Logical Methods in Computer Science 5, 1\u201331 (2009)","DOI":"10.2168\/LMCS-5(3:7)2009"},{"key":"6_CR24","doi-asserted-by":"crossref","unstructured":"New, M.S., Jamner, D., Ahmed, A.: Graduality and parametricity: together again for the first time. Proceedings of the ACM on Programming Languages 4, 1\u201332 (2020)","DOI":"10.1145\/3371114"},{"key":"6_CR25","doi-asserted-by":"publisher","unstructured":"New, M.S., Licata, D.R., Ahmed, A.: Gradual type theory. Proc. ACM Program. Lang. 3(POPL) (jan 2019). https:\/\/doi.org\/10.1145\/3290328","DOI":"10.1145\/3290328"},{"key":"6_CR26","doi-asserted-by":"crossref","unstructured":"Odersky, M., L\u00e4ufer, K.: Putting type annotations to work. In: POPL \u201996 (1996)","DOI":"10.1145\/237721.237729"},{"key":"6_CR27","unstructured":"Ozaki, S., Sekiyama, T., Igarashi, A.: Is space-efficient polymorphic gradual typing possible? (2021)"},{"key":"6_CR28","unstructured":"Reynolds, J.C.: Types, abstraction and parametric polymorphism. In: IFIP Congress (1983)"},{"key":"6_CR29","doi-asserted-by":"publisher","unstructured":"Siek, J., Thiemann, P., Wadler, P.: Blame and coercion: Together again for the first time. In: Proceedings of the 36th ACM SIGPLAN Conference on Programming Language Design and Implementation. p. 425\u2013435. PLDI \u201915, Association for Computing Machinery, New York, NY, USA (2015). https:\/\/doi.org\/10.1145\/2737924.2737968","DOI":"10.1145\/2737924.2737968"},{"key":"6_CR30","doi-asserted-by":"crossref","unstructured":"Siek, J.G., Garcia, R., Taha, W.: Exploring the design space of higher-order casts. In: ESOP (2009)","DOI":"10.1007\/978-3-642-00590-9_2"},{"key":"6_CR31","unstructured":"Siek, J.G., Taha, W.: Gradual typing for functional languages. In: Scheme and Functional Programming Workshop. vol.\u00a06, pp. 81\u201392 (2006)"},{"key":"6_CR32","unstructured":"Siek, J.G., Vitousek, M.M., Cimini, M., Boyland, J.T.: Refined criteria for gradual typing. In: 1st Summit on Advances in Programming Languages (SNAPL 2015). Schloss Dagstuhl-Leibniz-Zentrum fuer Informatik (2015)"},{"key":"6_CR33","doi-asserted-by":"crossref","unstructured":"Siek, J.G., Vitousek, M.M., Cimini, M., Tobin-Hochstadt, S., Garcia, R.: Monotonic references for efficient gradual typing. In: ESOP (2015)","DOI":"10.1007\/978-3-662-46669-8_18"},{"key":"6_CR34","doi-asserted-by":"publisher","unstructured":"Siek, J.G., Wadler, P.: Threesomes, with and without blame. In: Proceedings for the 1st Workshop on Script to Program Evolution. p. 34\u201346. STOP \u201909, Association for Computing Machinery, New York, NY, USA (2009). https:\/\/doi.org\/10.1145\/1570506.1570511","DOI":"10.1145\/1570506.1570511"},{"key":"6_CR35","doi-asserted-by":"crossref","unstructured":"Tobin-Hochstadt, S., Felleisen, M.: Interlanguage migration: from scripts to programs. In: Companion to the 21st ACM SIGPLAN Symposium on Object-oriented Programming Systems, Languages, and Applications. pp. 964\u2013974 (2006)","DOI":"10.1145\/1176617.1176755"},{"key":"6_CR36","doi-asserted-by":"crossref","unstructured":"Tobin-Hochstadt, S., Felleisen, M.: The design and implementation of typed scheme. In: POPL \u201908 (2008)","DOI":"10.1145\/1328438.1328486"},{"key":"6_CR37","doi-asserted-by":"crossref","unstructured":"Toro, M., Labrada, E., Tanter, \u00c9.: Gradual parametricity, revisited. Proceedings of the ACM on Programming Languages 3, 1\u201330 (2019)","DOI":"10.1145\/3290330"},{"key":"6_CR38","doi-asserted-by":"crossref","unstructured":"Toro, M., Tanter, \u00c9.: Abstracting gradual references. Sci. Comput. Program. 197, 102496 (2020)","DOI":"10.1016\/j.scico.2020.102496"},{"key":"6_CR39","doi-asserted-by":"crossref","unstructured":"Wadler, P., Findler, R.B.: Well-typed programs can\u2019t be blamed. In: European Symposium on Programming. pp. 1\u201316. Springer (2009)","DOI":"10.1007\/978-3-642-00590-9_1"},{"key":"6_CR40","doi-asserted-by":"crossref","unstructured":"Wright, A.K.: Simple imperative polymorphism. LISP and Symbolic Computation 8, 343\u2013355 (1995)","DOI":"10.1007\/BF01018828"},{"key":"6_CR41","doi-asserted-by":"crossref","unstructured":"Xie, N., Bi, X., d.\u00a0S.\u00a0Oliveira, B.C.: Consistent subtyping for all. ACM Transactions on Programming Languages and Systems (TOPLAS) 42, 1\u201379 (2018)","DOI":"10.1145\/3310339"},{"key":"6_CR42","unstructured":"Ye, W., Oliveira, B.C.d.S., Huang, X.: Type-directed operational semantics for gradual typing. In: 35th European Conference on Object-Oriented Programming (ECOOP 2021). Schloss Dagstuhl-Leibniz-Zentrum f\u00fcr Informatik (2021)"}],"container-title":["Lecture Notes in Computer Science","Programming Languages and Systems"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/link.springer.com\/content\/pdf\/10.1007\/978-3-031-30044-8_6","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2023,6,7]],"date-time":"2023-06-07T05:03:37Z","timestamp":1686114217000},"score":1,"resource":{"primary":{"URL":"https:\/\/link.springer.com\/10.1007\/978-3-031-30044-8_6"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2023]]},"ISBN":["9783031300431","9783031300448"],"references-count":42,"URL":"https:\/\/doi.org\/10.1007\/978-3-031-30044-8_6","relation":{"is-part-of":[{"id-type":"doi","id":"https:\/\/doi.org\/10.1007\/978-3-031-30044-8","asserted-by":"object"}]},"ISSN":["0302-9743","1611-3349"],"issn-type":[{"value":"0302-9743","type":"print"},{"value":"1611-3349","type":"electronic"}],"subject":[],"published":{"date-parts":[[2023]]},"assertion":[{"value":"17 April 2023","order":1,"name":"first_online","label":"First Online","group":{"name":"ChapterHistory","label":"Chapter History"}},{"value":"ESOP","order":1,"name":"conference_acronym","label":"Conference Acronym","group":{"name":"ConferenceInfo","label":"Conference Information"}},{"value":"European Symposium on Programming","order":2,"name":"conference_name","label":"Conference Name","group":{"name":"ConferenceInfo","label":"Conference Information"}},{"value":"Paris","order":3,"name":"conference_city","label":"Conference City","group":{"name":"ConferenceInfo","label":"Conference Information"}},{"value":"France","order":4,"name":"conference_country","label":"Conference Country","group":{"name":"ConferenceInfo","label":"Conference Information"}},{"value":"2023","order":5,"name":"conference_year","label":"Conference Year","group":{"name":"ConferenceInfo","label":"Conference Information"}},{"value":"22 April 2023","order":7,"name":"conference_start_date","label":"Conference Start Date","group":{"name":"ConferenceInfo","label":"Conference Information"}},{"value":"27 April 2023","order":8,"name":"conference_end_date","label":"Conference End Date","group":{"name":"ConferenceInfo","label":"Conference Information"}},{"value":"32","order":9,"name":"conference_number","label":"Conference Number","group":{"name":"ConferenceInfo","label":"Conference Information"}},{"value":"esop2023","order":10,"name":"conference_id","label":"Conference ID","group":{"name":"ConferenceInfo","label":"Conference Information"}},{"value":"https:\/\/etaps.org\/2023\/esop","order":11,"name":"conference_url","label":"Conference URL","group":{"name":"ConferenceInfo","label":"Conference Information"}},{"value":"Double-blind","order":1,"name":"type","label":"Type","group":{"name":"ConfEventPeerReviewInformation","label":"Peer Review Information (provided by the conference organizers)"}},{"value":"EasyChair","order":2,"name":"conference_management_system","label":"Conference Management System","group":{"name":"ConfEventPeerReviewInformation","label":"Peer Review Information (provided by the conference organizers)"}},{"value":"55","order":3,"name":"number_of_submissions_sent_for_review","label":"Number of Submissions Sent for Review","group":{"name":"ConfEventPeerReviewInformation","label":"Peer Review Information (provided by the conference organizers)"}},{"value":"20","order":4,"name":"number_of_full_papers_accepted","label":"Number of Full Papers Accepted","group":{"name":"ConfEventPeerReviewInformation","label":"Peer Review Information (provided by the conference organizers)"}},{"value":"0","order":5,"name":"number_of_short_papers_accepted","label":"Number of Short Papers Accepted","group":{"name":"ConfEventPeerReviewInformation","label":"Peer Review Information (provided by the conference organizers)"}},{"value":"36% - The value is computed by the equation \"Number of Full Papers Accepted \/ Number of Submissions Sent for Review * 100\" and then rounded to a whole number.","order":6,"name":"acceptance_rate_of_full_papers","label":"Acceptance Rate of Full Papers","group":{"name":"ConfEventPeerReviewInformation","label":"Peer Review Information (provided by the conference organizers)"}},{"value":"3","order":7,"name":"average_number_of_reviews_per_paper","label":"Average Number of Reviews per Paper","group":{"name":"ConfEventPeerReviewInformation","label":"Peer Review Information (provided by the conference organizers)"}},{"value":"5.5","order":8,"name":"average_number_of_papers_per_reviewer","label":"Average Number of Papers per Reviewer","group":{"name":"ConfEventPeerReviewInformation","label":"Peer Review Information (provided by the conference organizers)"}},{"value":"Yes","order":9,"name":"external_reviewers_involved","label":"External Reviewers Involved","group":{"name":"ConfEventPeerReviewInformation","label":"Peer Review Information (provided by the conference organizers)"}}]}}