{
 "article": "https://w.n14n.dev/type-theory/",
 "title": "Type systems",
 "how_to_cite": "Cite the source of a claim, not this article. The article is an AI-written summary.",
 "how_claims_link": "A section lists the claims of the sources it cites, so a claim supports the section, not one sentence.",
 "verified_values": {
  "verified": "a verifier found the quote on the source page",
  "rejected": "a verifier read the source page and did not find the quote, or found it does not support the claim",
  "blocked": "a verifier could not open the source page, so the quote is unconfirmed",
  "unchecked": "never put to a verifier"
 },
 "read_values": {
  "raw": "the full text was read",
  "extracted": "large parts of the text were read",
  "abstract": "only the abstract was read",
  "snippet": "only a search snippet or summary was read",
  "blocked": "the page could not be opened"
 },
 "grade_values": {
  "solid": "the research rated the source highly trustworthy, and a verifier found every passage taken from it",
  "weak": "the research rated the source low, or a verifier did not find a passage taken from it",
  "medium": "the research rated the source medium; neither weak nor solid",
  "unchecked": "the research rated the source high, but a verifier could not check every passage taken from it (page blocked or not checked)",
  "retracted": "the work was retracted or withdrawn after publication; the article cites it only to say so"
 },
 "evidence_values": {
  "contested": "studies disagree on this",
  "weak": "few or small studies support this",
  "failed-replication": "when the study was repeated, the original result did not appear",
  "strong": "many studies agree on this",
  "replicated": "when other teams repeated the study, the original result appeared again",
  "null": "no note: the article does not single out the section's evidence"
 },
 "sections": [
  {
   "title": "Lead",
   "anchor": "lead",
   "evidence": null,
   "claims": [
    "type-theory:C-concepts-1",
    "type-theory:C-concepts-2",
    "type-theory:C-concepts-16",
    "type-theory:C-concepts-3",
    "type-theory:C-concepts-17",
    "type-theory:C-concepts-18",
    "type-theory:C-foundations-26",
    "type-theory:C-foundations-9",
    "type-theory:C-foundations-21",
    "type-theory:C-foundations-7",
    "type-theory:C-foundations-8",
    "type-theory:C-empirical-11",
    "type-theory:C-empirical-13",
    "type-theory:C-empirical-23",
    "type-theory:C-empirical-12",
    "type-theory:C-empirical-16",
    "type-theory:C-empirical-14",
    "type-theory:C-empirical-15",
    "type-theory:C-empirical-2",
    "type-theory:C-empirical-4",
    "type-theory:C-empirical-7",
    "type-theory:C-empirical-1",
    "type-theory:C-empirical-3",
    "type-theory:C-foundations-27",
    "type-theory:C-empirical-31",
    "type-theory:C-empirical-5",
    "type-theory:C-empirical-6"
   ]
  },
  {
   "title": "From paradoxes to typed expressions",
   "anchor": "from-paradoxes-to-typed-expressions",
   "evidence": null,
   "claims": [
    "type-theory:C-foundations-1",
    "type-theory:C-foundations-16",
    "type-theory:C-foundations-15",
    "type-theory:C-foundations-17",
    "type-theory:C-foundations-2",
    "type-theory:C-concepts-36"
   ]
  },
  {
   "title": "What a checker guarantees",
   "anchor": "what-a-checker-guarantees",
   "evidence": null,
   "claims": [
    "type-theory:C-concepts-1",
    "type-theory:C-concepts-16",
    "type-theory:C-foundations-27",
    "type-theory:C-concepts-2",
    "type-theory:C-concepts-3",
    "type-theory:C-concepts-17",
    "type-theory:C-concepts-18",
    "type-theory:C-foundations-26",
    "type-theory:C-empirical-1",
    "type-theory:C-empirical-2",
    "type-theory:C-empirical-3",
    "type-theory:C-concepts-14",
    "type-theory:C-concepts-15",
    "type-theory:C-concepts-21",
    "type-theory:C-concepts-23",
    "type-theory:C-concepts-22"
   ]
  },
  {
   "title": "Reusing code and inferring types",
   "anchor": "reusing-code-and-inferring-types",
   "evidence": null,
   "claims": [
    "type-theory:C-concepts-8",
    "type-theory:C-concepts-7",
    "type-theory:C-concepts-28",
    "type-theory:C-concepts-27",
    "type-theory:C-concepts-4",
    "type-theory:C-concepts-5",
    "type-theory:C-concepts-6",
    "type-theory:C-concepts-12",
    "type-theory:C-concepts-13"
   ]
  },
  {
   "title": "Bugs a checker can flag",
   "anchor": "bugs-a-checker-can-flag",
   "evidence": null,
   "claims": [
    "type-theory:C-empirical-11",
    "type-theory:C-empirical-12",
    "type-theory:C-empirical-16",
    "type-theory:C-empirical-13",
    "type-theory:C-empirical-14",
    "type-theory:C-empirical-15",
    "type-theory:C-foundations-31",
    "type-theory:C-foundations-32"
   ]
  },
  {
   "title": "Development and maintenance time",
   "anchor": "development-and-maintenance-time",
   "evidence": "weak",
   "claims": [
    "type-theory:C-empirical-17",
    "type-theory:C-empirical-23",
    "type-theory:C-empirical-18",
    "type-theory:C-empirical-19",
    "type-theory:C-empirical-24",
    "type-theory:C-concepts-31",
    "type-theory:C-foundations-29"
   ]
  },
  {
   "title": "Defects across projects",
   "anchor": "defects-across-projects",
   "evidence": null,
   "claims": [
    "type-theory:C-empirical-1",
    "type-theory:C-empirical-2",
    "type-theory:C-empirical-3",
    "type-theory:C-foundations-27",
    "type-theory:C-empirical-4",
    "type-theory:C-empirical-6",
    "type-theory:C-empirical-31",
    "type-theory:C-empirical-5",
    "type-theory:C-empirical-7",
    "type-theory:C-empirical-20",
    "type-theory:C-empirical-21",
    "type-theory:C-empirical-22",
    "type-theory:C-empirical-8",
    "type-theory:C-empirical-9",
    "type-theory:C-empirical-10",
    "type-theory:C-empirical-32",
    "type-theory:C-empirical-35"
   ]
  },
  {
   "title": "Runtime cost of mixing typing styles",
   "anchor": "runtime-cost-of-mixing-typing-styles",
   "evidence": null,
   "claims": [
    "type-theory:C-concepts-11",
    "type-theory:C-concepts-19",
    "type-theory:C-concepts-25",
    "type-theory:C-concepts-20",
    "type-theory:C-concepts-30",
    "type-theory:C-empirical-25",
    "type-theory:C-empirical-26",
    "type-theory:C-empirical-33",
    "type-theory:C-empirical-34",
    "type-theory:C-empirical-38",
    "type-theory:C-empirical-27",
    "type-theory:C-empirical-29",
    "type-theory:C-empirical-30"
   ]
  },
  {
   "title": "Propositions as types",
   "anchor": "propositions-as-types",
   "evidence": null,
   "claims": [
    "type-theory:C-foundations-9",
    "type-theory:C-foundations-3",
    "type-theory:C-foundations-21",
    "type-theory:C-foundations-7",
    "type-theory:C-foundations-8",
    "type-theory:C-foundations-4",
    "type-theory:C-concepts-41",
    "type-theory:C-concepts-42"
   ]
  },
  {
   "title": "Proof assistants",
   "anchor": "proof-assistants",
   "evidence": null,
   "claims": [
    "type-theory:C-foundations-10",
    "type-theory:C-foundations-13",
    "type-theory:C-foundations-18",
    "type-theory:C-foundations-22",
    "type-theory:C-foundations-11",
    "type-theory:C-foundations-12",
    "type-theory:C-concepts-38",
    "type-theory:C-foundations-14",
    "type-theory:C-foundations-25"
   ]
  },
  {
   "title": "What else types can express",
   "anchor": "what-else-types-can-express",
   "evidence": null,
   "claims": [
    "type-theory:C-concepts-24",
    "type-theory:C-concepts-32",
    "type-theory:C-concepts-33",
    "type-theory:C-foundations-35"
   ]
  },
  {
   "title": "Further reading",
   "anchor": "further-reading",
   "evidence": null,
   "claims": [
    "type-theory:C-concepts-2",
    "type-theory:C-concepts-1",
    "type-theory:C-concepts-3",
    "type-theory:C-foundations-9",
    "type-theory:C-foundations-21",
    "type-theory:C-foundations-7",
    "type-theory:C-foundations-8",
    "type-theory:C-empirical-11",
    "type-theory:C-empirical-12",
    "type-theory:C-empirical-16",
    "type-theory:C-empirical-4",
    "type-theory:C-empirical-6",
    "type-theory:C-empirical-31",
    "type-theory:C-empirical-5",
    "type-theory:C-empirical-33",
    "type-theory:C-empirical-25",
    "type-theory:C-empirical-26",
    "type-theory:C-empirical-34"
   ]
  }
 ],
 "claims": [
  {
   "id": "type-theory:C-concepts-1",
   "claim": "A programming language type system is a collection of rules relating terms to types.",
   "quote": "The collection of type rules of a language forms its type system.",
   "source": {
    "id": "type-theory:S-concepts-1",
    "key": "cardelli1997",
    "author": "Cardelli, Luca",
    "year": "1997",
    "title": "Type systems",
    "publisher": "The Computer Science and Engineering Handbook, CRC Press",
    "url": "https://web.eecs.umich.edu/~weimerw/590/reading/Cardelli_TypeSystems.pdf",
    "in_text": "Cardelli (1997)",
    "type": "peer-reviewed",
    "read": "extracted",
    "trust": "medium",
    "trust_reason": "Handbook chapter (CRC Press) that surveys and explains type systems; argues and explains, no results of its own; no stake"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "lead",
    "what-a-checker-guarantees",
    "further-reading"
   ]
  },
  {
   "id": "type-theory:C-concepts-2",
   "claim": "Cardelli defines type soundness relative to the errors the language forbids.",
   "quote": "Type soundness: The property stating that programs do not cause forbidden errors.",
   "source": {
    "id": "type-theory:S-concepts-1",
    "key": "cardelli1997",
    "author": "Cardelli, Luca",
    "year": "1997",
    "title": "Type systems",
    "publisher": "The Computer Science and Engineering Handbook, CRC Press",
    "url": "https://web.eecs.umich.edu/~weimerw/590/reading/Cardelli_TypeSystems.pdf",
    "in_text": "Cardelli (1997)",
    "type": "peer-reviewed",
    "read": "extracted",
    "trust": "medium",
    "trust_reason": "Handbook chapter (CRC Press) that surveys and explains type systems; argues and explains, no results of its own; no stake"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "lead",
    "what-a-checker-guarantees",
    "further-reading"
   ]
  },
  {
   "id": "type-theory:C-concepts-16",
   "claim": "Krishnamurthi and Politz call checking a program before execution static type checking.",
   "quote": "static type checking: that is, checking (declared) types before the program even executes.",
   "source": {
    "id": "type-theory:S-concepts-8",
    "key": "krishnamurthind",
    "author": "Krishnamurthi, Shriram and Politz, Joe Gibbs",
    "year": "n.d.",
    "title": "Programming and programming languages",
    "publisher": "Brown University",
    "url": "https://cs.brown.edu/people/sk/tmp/PAPL-jan-2016/",
    "in_text": "Krishnamurthi & Politz (n.d.)",
    "type": "book",
    "read": "extracted",
    "trust": "medium",
    "trust_reason": "textbook that teaches and argues; no results of its own"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "lead",
    "what-a-checker-guarantees"
   ]
  },
  {
   "id": "type-theory:C-concepts-3",
   "claim": "Cardelli uses dynamic checking rather than dynamic typing and regards strong typing as ambiguous.",
   "quote": "we replace dynamic typing with dynamic checking and avoid common but ambiguous terms such as strong typing.",
   "source": {
    "id": "type-theory:S-concepts-1",
    "key": "cardelli1997",
    "author": "Cardelli, Luca",
    "year": "1997",
    "title": "Type systems",
    "publisher": "The Computer Science and Engineering Handbook, CRC Press",
    "url": "https://web.eecs.umich.edu/~weimerw/590/reading/Cardelli_TypeSystems.pdf",
    "in_text": "Cardelli (1997)",
    "type": "peer-reviewed",
    "read": "extracted",
    "trust": "medium",
    "trust_reason": "Handbook chapter (CRC Press) that surveys and explains type systems; argues and explains, no results of its own; no stake"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "lead",
    "what-a-checker-guarantees",
    "further-reading"
   ]
  },
  {
   "id": "type-theory:C-concepts-17",
   "claim": "Krishnamurthi and Politz consider “strong” and “weak” typing poorly defined.",
   "quote": "However, these phrases are at best poorly defined.",
   "source": {
    "id": "type-theory:S-concepts-8",
    "key": "krishnamurthind",
    "author": "Krishnamurthi, Shriram and Politz, Joe Gibbs",
    "year": "n.d.",
    "title": "Programming and programming languages",
    "publisher": "Brown University",
    "url": "https://cs.brown.edu/people/sk/tmp/PAPL-jan-2016/",
    "in_text": "Krishnamurthi & Politz (n.d.)",
    "type": "book",
    "read": "extracted",
    "trust": "medium",
    "trust_reason": "textbook that teaches and argues; no results of its own"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "lead",
    "what-a-checker-guarantees"
   ]
  },
  {
   "id": "type-theory:C-concepts-18",
   "claim": "A soundness theorem leaves room for specified run-time errors.",
   "quote": "implicit in every type soundness theorem is some set of published, permitted exceptions or error conditions that may occur.",
   "source": {
    "id": "type-theory:S-concepts-8",
    "key": "krishnamurthind",
    "author": "Krishnamurthi, Shriram and Politz, Joe Gibbs",
    "year": "n.d.",
    "title": "Programming and programming languages",
    "publisher": "Brown University",
    "url": "https://cs.brown.edu/people/sk/tmp/PAPL-jan-2016/",
    "in_text": "Krishnamurthi & Politz (n.d.)",
    "type": "book",
    "read": "extracted",
    "trust": "medium",
    "trust_reason": "textbook that teaches and argues; no results of its own"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "lead",
    "what-a-checker-guarantees"
   ]
  },
  {
   "id": "type-theory:C-foundations-26",
   "claim": "Krishnamurthi and Politz describe historical use of “strong typing” to mean type checking like that of ML and Java and distinguish safety, typedness and soundness.",
   "quote": "Historically, people have sometimes used the phrase strong typing to reflect the kind of type-checking that ML and Java use, and weak typing for the other kinds. ... It is therefore better to express our intent by sticking to these concepts: safety, typedness, and soundness.",
   "source": {
    "id": "type-theory:S-concepts-8",
    "key": "krishnamurthind",
    "author": "Krishnamurthi, Shriram and Politz, Joe Gibbs",
    "year": "n.d.",
    "title": "Programming and programming languages",
    "publisher": "Brown University",
    "url": "https://cs.brown.edu/people/sk/tmp/PAPL-jan-2016/",
    "in_text": "Krishnamurthi & Politz (n.d.)",
    "type": "book",
    "read": "extracted",
    "trust": "medium",
    "trust_reason": "textbook that teaches and argues; no results of its own"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "lead",
    "what-a-checker-guarantees"
   ]
  },
  {
   "id": "type-theory:C-foundations-9",
   "claim": "The Curry–Howard isomorphism pairs propositions with types, proofs with terms, and proof reduction with term reduction.",
   "quote": "Propositions correspond to types and proofs correspond to terms. Further, reduction of proofs corresponds to reduction of terms",
   "source": {
    "id": "type-theory:S-foundations-5",
    "key": "wadler2007",
    "author": "Wadler, Philip",
    "year": "2007",
    "title": "The Girard–Reynolds Isomorphism (Second Edition)",
    "publisher": "Theoretical Computer Science, 375(1–3), 201–226",
    "url": "https://homepages.inf.ed.ac.uk/wadler/papers/gr2/gr2-tcs.pdf",
    "in_text": "Wadler (2007)",
    "type": "peer-reviewed",
    "read": "raw",
    "trust": "high",
    "trust_reason": "own formal results with proofs shown; no stake; no sample involved"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "lead",
    "propositions-as-types",
    "further-reading"
   ]
  },
  {
   "id": "type-theory:C-foundations-21",
   "claim": "Wadler’s mapping from second-order predicate logic P2 to F2 differs from an isomorphism because it erases information about individuals.",
   "quote": "The calculus P2 is larger than the image under the Curry–Howard isomorphism of F2 ... it takes propositions to types and proofs to terms, but differs in that it erases information about individuals.",
   "source": {
    "id": "type-theory:S-foundations-5",
    "key": "wadler2007",
    "author": "Wadler, Philip",
    "year": "2007",
    "title": "The Girard–Reynolds Isomorphism (Second Edition)",
    "publisher": "Theoretical Computer Science, 375(1–3), 201–226",
    "url": "https://homepages.inf.ed.ac.uk/wadler/papers/gr2/gr2-tcs.pdf",
    "in_text": "Wadler (2007)",
    "type": "peer-reviewed",
    "read": "raw",
    "trust": "high",
    "trust_reason": "own formal results with proofs shown; no stake; no sample involved"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "lead",
    "propositions-as-types",
    "further-reading"
   ]
  },
  {
   "id": "type-theory:C-foundations-7",
   "claim": "Girard and Reynolds independently discovered the second-order polymorphic lambda calculus.",
   "quote": "Jean-Yves Girard and John Reynolds independently discovered the second-order polymorphic lambda calculus, F2.",
   "source": {
    "id": "type-theory:S-foundations-5",
    "key": "wadler2007",
    "author": "Wadler, Philip",
    "year": "2007",
    "title": "The Girard–Reynolds Isomorphism (Second Edition)",
    "publisher": "Theoretical Computer Science, 375(1–3), 201–226",
    "url": "https://homepages.inf.ed.ac.uk/wadler/papers/gr2/gr2-tcs.pdf",
    "in_text": "Wadler (2007)",
    "type": "peer-reviewed",
    "read": "raw",
    "trust": "high",
    "trust_reason": "own formal results with proofs shown; no stake; no sample involved"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "lead",
    "propositions-as-types",
    "further-reading"
   ]
  },
  {
   "id": "type-theory:C-foundations-8",
   "claim": "The second-order correspondence links quantification over propositions with quantification over types.",
   "quote": "a logic with quantifiers over propositions and a calculus with quantifiers over types",
   "source": {
    "id": "type-theory:S-foundations-5",
    "key": "wadler2007",
    "author": "Wadler, Philip",
    "year": "2007",
    "title": "The Girard–Reynolds Isomorphism (Second Edition)",
    "publisher": "Theoretical Computer Science, 375(1–3), 201–226",
    "url": "https://homepages.inf.ed.ac.uk/wadler/papers/gr2/gr2-tcs.pdf",
    "in_text": "Wadler (2007)",
    "type": "peer-reviewed",
    "read": "raw",
    "trust": "high",
    "trust_reason": "own formal results with proofs shown; no stake; no sample involved"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "lead",
    "propositions-as-types",
    "further-reading"
   ]
  },
  {
   "id": "type-theory:C-empirical-11",
   "claim": "The JavaScript study retrospectively annotated buggy versions and found that Flow 0.30 and TypeScript 2.0 each detected 15% of sampled public bugs.",
   "quote": "The core contribution of this work is to quantify the public bugs that static type systems detect and could have prevented: 15% for both Flow 0.30 and TypeScript 2.0, on average.",
   "source": {
    "id": "type-theory:S-empirical-6",
    "key": "gao2017",
    "author": "Gao, Zheng and Bird, Christian and Barr, Earl T.",
    "year": "2017b",
    "title": "To type or not to type: Quantifying detectable bugs in JavaScript",
    "publisher": "Proceedings of the 39th International Conference on Software Engineering",
    "url": "https://swizec.com/pdfs/typestudy.pdf",
    "in_text": "Gao et al. (2017b)",
    "type": "peer-reviewed",
    "read": "extracted",
    "trust": "high",
    "trust_reason": "own study of 400 sampled public bugs; method shown; no stake"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "lead",
    "bugs-a-checker-can-flag",
    "further-reading"
   ]
  },
  {
   "id": "type-theory:C-empirical-13",
   "claim": "In the sampled Python projects, the researchers estimated that mypy could have caught 15% of corrective defects, corresponding to 11% of all sampled defects.",
   "quote": "We find that 15% of the corrective defects (11% of all defects) in Python projects could likely have been avoided by using a static type checker.",
   "source": {
    "id": "type-theory:S-empirical-7",
    "key": "khan2022",
    "author": "Khan, Faizan and Chen, Boqi and Varro, Daniel and McIntosh, Shane",
    "year": "2022",
    "title": "An Empirical Study of Type-Related Defects in Python Projects",
    "publisher": "IEEE Transactions on Software Engineering",
    "url": "https://rebels.cs.uwaterloo.ca/papers/tse2021_khan.pdf",
    "in_text": "Khan et al. (2022)",
    "type": "peer-reviewed",
    "read": "extracted",
    "trust": "high",
    "trust_reason": "own mining study of 210 projects; method shown; author pre-print naming IEEE TSE DOI; no stake"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "lead",
    "bugs-a-checker-can-flag"
   ]
  },
  {
   "id": "type-theory:C-empirical-23",
   "claim": "In a 27-person experiment on using an undocumented API, static typing sped up some tasks and dynamic typing sped up others.",
   "quote": "We report on a controlled experiment where 27 subjects performed programming tasks on an undocumented API with a static type system (requiring type annotations) as well as a dynamic type system (which does not). Our results show that for some tasks, programmers had faster completion times using a static type system, while for others, the opposite held.",
   "source": {
    "id": "type-theory:S-empirical-11",
    "key": "mayer2012",
    "author": "Mayer, Clemens and Hanenberg, Stefan and Robbes, Romain and Tanter, Éric and Stefik, Andreas",
    "year": "2012",
    "title": "An empirical study of the influence of static type systems on the usability of undocumented software",
    "publisher": "Proceedings of the ACM International Conference on Object Oriented Programming Systems Languages and Applications",
    "url": "https://www.researchgate.net/publication/262317340_An_empirical_study_of_the_influence_of_static_type_systems_on_the_usability_of_undocumented_software",
    "in_text": "Mayer et al. (2012)",
    "type": "peer-reviewed",
    "read": "extracted",
    "trust": "high",
    "trust_reason": "Primary study published in a peer-reviewed venue."
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "lead",
    "development-and-maintenance-time"
   ]
  },
  {
   "id": "type-theory:C-empirical-12",
   "claim": "The JavaScript study used the eventual fix to guide where researchers inserted annotations.",
   "quote": "A fix’s changes help us localize the bug: we minimally add type annotations only to the lexical scopes changed by a fix.",
   "source": {
    "id": "type-theory:S-empirical-6",
    "key": "gao2017",
    "author": "Gao, Zheng and Bird, Christian and Barr, Earl T.",
    "year": "2017b",
    "title": "To type or not to type: Quantifying detectable bugs in JavaScript",
    "publisher": "Proceedings of the 39th International Conference on Software Engineering",
    "url": "https://swizec.com/pdfs/typestudy.pdf",
    "in_text": "Gao et al. (2017b)",
    "type": "peer-reviewed",
    "read": "extracted",
    "trust": "high",
    "trust_reason": "own study of 400 sampled public bugs; method shown; no stake"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "lead",
    "bugs-a-checker-can-flag",
    "further-reading"
   ]
  },
  {
   "id": "type-theory:C-empirical-16",
   "claim": "The JavaScript study's authors argued that using public bugs that had survived testing and review made the estimate conservative for detection during private development.",
   "quote": "Evaluating static type systems against public bugs, which have survived testing and review, is conservative: it underestimates their effectiveness at detecting bugs during private development",
   "source": {
    "id": "type-theory:S-empirical-6",
    "key": "gao2017",
    "author": "Gao, Zheng and Bird, Christian and Barr, Earl T.",
    "year": "2017b",
    "title": "To type or not to type: Quantifying detectable bugs in JavaScript",
    "publisher": "Proceedings of the 39th International Conference on Software Engineering",
    "url": "https://swizec.com/pdfs/typestudy.pdf",
    "in_text": "Gao et al. (2017b)",
    "type": "peer-reviewed",
    "read": "extracted",
    "trust": "high",
    "trust_reason": "own study of 400 sampled public bugs; method shown; no stake"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "lead",
    "bugs-a-checker-can-flag",
    "further-reading"
   ]
  },
  {
   "id": "type-theory:C-empirical-14",
   "claim": "The Python study mined 210 GitHub projects and added annotations to test what mypy could flag.",
   "quote": "we mine the issue tracking and version control repositories of 210 Python projects on GitHub. Inspired by the work of Gao et al. on type-related defects in JavaScript, we add type annotations to test whether mypy detects an error that would have helped developers to avoid real defects.",
   "source": {
    "id": "type-theory:S-empirical-7",
    "key": "khan2022",
    "author": "Khan, Faizan and Chen, Boqi and Varro, Daniel and McIntosh, Shane",
    "year": "2022",
    "title": "An Empirical Study of Type-Related Defects in Python Projects",
    "publisher": "IEEE Transactions on Software Engineering",
    "url": "https://rebels.cs.uwaterloo.ca/papers/tse2021_khan.pdf",
    "in_text": "Khan et al. (2022)",
    "type": "peer-reviewed",
    "read": "extracted",
    "trust": "high",
    "trust_reason": "own mining study of 210 projects; method shown; author pre-print naming IEEE TSE DOI; no stake"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "lead",
    "bugs-a-checker-can-flag"
   ]
  },
  {
   "id": "type-theory:C-empirical-15",
   "claim": "In the Python study, mishandled null values were commonly detected, while defects fixed by changing values or adding or removing code often escaped detection.",
   "quote": "Incorrectly handled null objects are the commonly caught type-related defects, while defects requiring code additions/removals and value updates as fixes are regularly missed by static type checkers.",
   "source": {
    "id": "type-theory:S-empirical-7",
    "key": "khan2022",
    "author": "Khan, Faizan and Chen, Boqi and Varro, Daniel and McIntosh, Shane",
    "year": "2022",
    "title": "An Empirical Study of Type-Related Defects in Python Projects",
    "publisher": "IEEE Transactions on Software Engineering",
    "url": "https://rebels.cs.uwaterloo.ca/papers/tse2021_khan.pdf",
    "in_text": "Khan et al. (2022)",
    "type": "peer-reviewed",
    "read": "extracted",
    "trust": "high",
    "trust_reason": "own mining study of 210 projects; method shown; author pre-print naming IEEE TSE DOI; no stake"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "lead",
    "bugs-a-checker-can-flag"
   ]
  },
  {
   "id": "type-theory:C-empirical-2",
   "claim": "Ray and colleagues reported a modest advantage for strong over weak typing, static over dynamic typing within functional languages, and functional over procedural languages.",
   "quote": "it does appear that strong typing is modestly better than weak typing, and among functional languages, static typing is also somewhat better than dynamic typing. We also find that functional languages are somewhat better than procedural languages.",
   "source": {
    "id": "type-theory:S-empirical-1",
    "key": "ray2014",
    "author": "Ray, Baishakhi and Posnett, Daryl and Filkov, Vladimir and Devanbu, Premkumar",
    "year": "2014",
    "title": "A large scale study of programming languages and code quality in GitHub",
    "publisher": "Proceedings of the 22nd ACM SIGSOFT International Symposium on Foundations of Software Engineering",
    "url": "https://web.cs.ucdavis.edu/~filkov/papers/lang_github.pdf",
    "in_text": "Ray et al. (2014)",
    "type": "peer-reviewed",
    "read": "extracted",
    "trust": "high",
    "trust_reason": "own large-scale data and models shown; 729 projects; NSF-funded, no stake"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "lead",
    "what-a-checker-guarantees",
    "defects-across-projects"
   ]
  },
  {
   "id": "type-theory:C-empirical-4",
   "claim": "Berger and colleagues’ independent reanalysis identified four languages with statistically significant defect associations, all with very small effect sizes.",
   "quote": "only four languages are found to have a statistically significant association with defects, and even for those the effect size is exceedingly small.",
   "source": {
    "id": "type-theory:S-empirical-2",
    "key": "berger2019",
    "author": "Berger, Emery D. and Hollenbeck, Celeste and Maj, Petr and Vitek, Olga and Vitek, Jan",
    "year": "2019b",
    "title": "On the impact of programming languages on code quality: A reproduction study",
    "publisher": "ACM Transactions on Programming Languages and Systems",
    "url": "https://arxiv.org/abs/1901.10220",
    "in_text": "Berger et al. (2019b)",
    "type": "peer-reviewed",
    "read": "extracted",
    "trust": "high",
    "trust_reason": "own reanalysis and repetition of a public GitHub dataset; method shown; no stake; many projects, not people"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "lead",
    "defects-across-projects",
    "further-reading"
   ]
  },
  {
   "id": "type-theory:C-empirical-7",
   "claim": "The original authors argued that the reproduction largely replicated their results and agreed that effects were small and might be absent.",
   "quote": "We find that Berger et al. largely replicated our results, and agree with us in their conclusion: that the effects (in a statistical sense) found in the data are small, and should be taken with caution, and that it is possible that an absence of effect is the correct interpretation.",
   "source": {
    "id": "type-theory:S-empirical-3",
    "key": "ray2019",
    "author": "Ray, Baishakhi and Devanbu, Premkumar T. and Filkov, Vladimir",
    "year": "2019",
    "title": "Rebuttal to berger et al., TOPLAS 2019",
    "publisher": "arXiv",
    "url": "https://arxiv.org/abs/1911.07393",
    "in_text": "Ray et al. (2019)",
    "type": "preprint",
    "read": "abstract",
    "trust": "medium",
    "trust_reason": "authors rebut a critique of their own paper; argues, no new results shown in abstract"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "lead",
    "defects-across-projects"
   ]
  },
  {
   "id": "type-theory:C-empirical-1",
   "claim": "Ray and colleagues analyzed 729 GitHub projects across 17 languages.",
   "quote": "we gather a very large data set from GitHub (729 projects, 80 Million SLOC, 29,000 authors, 1.5 million commits, in 17 languages)",
   "source": {
    "id": "type-theory:S-empirical-1",
    "key": "ray2014",
    "author": "Ray, Baishakhi and Posnett, Daryl and Filkov, Vladimir and Devanbu, Premkumar",
    "year": "2014",
    "title": "A large scale study of programming languages and code quality in GitHub",
    "publisher": "Proceedings of the 22nd ACM SIGSOFT International Symposium on Foundations of Software Engineering",
    "url": "https://web.cs.ucdavis.edu/~filkov/papers/lang_github.pdf",
    "in_text": "Ray et al. (2014)",
    "type": "peer-reviewed",
    "read": "extracted",
    "trust": "high",
    "trust_reason": "own large-scale data and models shown; 729 projects; NSF-funded, no stake"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "lead",
    "what-a-checker-guarantees",
    "defects-across-projects"
   ]
  },
  {
   "id": "type-theory:C-empirical-3",
   "claim": "Ray and colleagues said project size, team size and commit size outweighed the estimated language design effects.",
   "quote": "these modest effects arising from language design are overwhelmingly dominated by the process factors such as project size, team size, and commit size.",
   "source": {
    "id": "type-theory:S-empirical-1",
    "key": "ray2014",
    "author": "Ray, Baishakhi and Posnett, Daryl and Filkov, Vladimir and Devanbu, Premkumar",
    "year": "2014",
    "title": "A large scale study of programming languages and code quality in GitHub",
    "publisher": "Proceedings of the 22nd ACM SIGSOFT International Symposium on Foundations of Software Engineering",
    "url": "https://web.cs.ucdavis.edu/~filkov/papers/lang_github.pdf",
    "in_text": "Ray et al. (2014)",
    "type": "peer-reviewed",
    "read": "extracted",
    "trust": "high",
    "trust_reason": "own large-scale data and models shown; 729 projects; NSF-funded, no stake"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "lead",
    "what-a-checker-guarantees",
    "defects-across-projects"
   ]
  },
  {
   "id": "type-theory:C-foundations-27",
   "claim": "Ray and colleagues called a language strongly typed when it detects and reports type confusion, allowing either static or dynamic checks.",
   "quote": "We classify a language as strongly typed if it explicitly detects type confusion and reports it as such. Strong typing could happen by static type inference within a compiler ... or at run-time using a dynamic type checker.",
   "source": {
    "id": "type-theory:S-empirical-1",
    "key": "ray2014",
    "author": "Ray, Baishakhi and Posnett, Daryl and Filkov, Vladimir and Devanbu, Premkumar",
    "year": "2014",
    "title": "A large scale study of programming languages and code quality in GitHub",
    "publisher": "Proceedings of the 22nd ACM SIGSOFT International Symposium on Foundations of Software Engineering",
    "url": "https://web.cs.ucdavis.edu/~filkov/papers/lang_github.pdf",
    "in_text": "Ray et al. (2014)",
    "type": "peer-reviewed",
    "read": "extracted",
    "trust": "high",
    "trust_reason": "own large-scale data and models shown; 729 projects; NSF-funded, no stake"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "lead",
    "what-a-checker-guarantees",
    "defects-across-projects"
   ]
  },
  {
   "id": "type-theory:C-empirical-31",
   "claim": "Berger and colleagues’ language-category reclassification changed significance for two of five categories.",
   "quote": "The reclassification (using zero-sum contrasts introduced in section 4.2.1. Zero-sum contrasts ‣ 4.2. Methods: Statistical Modeling ‣ 4. Reanalysis ‣ On the Impact of Programming Languages on Code Quality) disagrees on the significance of 2 out of 5 categories.",
   "source": {
    "id": "type-theory:S-empirical-2",
    "key": "berger2019",
    "author": "Berger, Emery D. and Hollenbeck, Celeste and Maj, Petr and Vitek, Olga and Vitek, Jan",
    "year": "2019b",
    "title": "On the impact of programming languages on code quality: A reproduction study",
    "publisher": "ACM Transactions on Programming Languages and Systems",
    "url": "https://arxiv.org/abs/1901.10220",
    "in_text": "Berger et al. (2019b)",
    "type": "peer-reviewed",
    "read": "extracted",
    "trust": "high",
    "trust_reason": "own reanalysis and repetition of a public GitHub dataset; method shown; no stake; many projects, not people"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "lead",
    "defects-across-projects",
    "further-reading"
   ]
  },
  {
   "id": "type-theory:C-empirical-5",
   "claim": "Berger and colleagues found classification errors when repeating the question about language categories.",
   "quote": "For RQ2, we uncovered classification errors that made our results depart from the published ones.",
   "source": {
    "id": "type-theory:S-empirical-2",
    "key": "berger2019",
    "author": "Berger, Emery D. and Hollenbeck, Celeste and Maj, Petr and Vitek, Olga and Vitek, Jan",
    "year": "2019b",
    "title": "On the impact of programming languages on code quality: A reproduction study",
    "publisher": "ACM Transactions on Programming Languages and Systems",
    "url": "https://arxiv.org/abs/1901.10220",
    "in_text": "Berger et al. (2019b)",
    "type": "peer-reviewed",
    "read": "extracted",
    "trust": "high",
    "trust_reason": "own reanalysis and repetition of a public GitHub dataset; method shown; no stake; many projects, not people"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "lead",
    "defects-across-projects",
    "further-reading"
   ]
  },
  {
   "id": "type-theory:C-empirical-6",
   "claim": "Berger and colleagues’ repetition using the original artifact found ten languages associated with errors, versus eleven in the original report.",
   "quote": "We found ten languages with a statistically significant association with errors, instead of the eleven reported.",
   "source": {
    "id": "type-theory:S-empirical-2",
    "key": "berger2019",
    "author": "Berger, Emery D. and Hollenbeck, Celeste and Maj, Petr and Vitek, Olga and Vitek, Jan",
    "year": "2019b",
    "title": "On the impact of programming languages on code quality: A reproduction study",
    "publisher": "ACM Transactions on Programming Languages and Systems",
    "url": "https://arxiv.org/abs/1901.10220",
    "in_text": "Berger et al. (2019b)",
    "type": "peer-reviewed",
    "read": "extracted",
    "trust": "high",
    "trust_reason": "own reanalysis and repetition of a public GitHub dataset; method shown; no stake; many projects, not people"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "lead",
    "defects-across-projects",
    "further-reading"
   ]
  },
  {
   "id": "type-theory:C-foundations-1",
   "claim": "Russell presented his 1908 theory of symbolic logic in part as a response to contradictions such as Burali-Forti’s paradox of the greatest ordinal.",
   "quote": "its ability to solve certain contradictions, of which the one best known to mathematicians is Burali-Forti’s concerning the greatest ordinal.",
   "source": {
    "id": "type-theory:S-foundations-1",
    "key": "russell1908",
    "author": "Russell, Bertrand",
    "year": "1908",
    "title": "Mathematical Logic as Based on the Theory of Types",
    "publisher": "American Journal of Mathematics, 30(3), 222–262",
    "url": "https://authortomharper.com/wp-content/uploads/2022/04/1908-Mathematical-Logic-as-Based-on-the-Theory-of-Types-Russell.pdf",
    "in_text": "Russell (1908)",
    "type": "peer-reviewed",
    "read": "raw",
    "trust": "high",
    "trust_reason": "Original text, research on the history, or documentation by the project authors."
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "from-paradoxes-to-typed-expressions"
   ]
  },
  {
   "id": "type-theory:C-foundations-16",
   "claim": "Ramsey, Hilbert, and Ackermann removed the orders of ramified type theory in developing the simple theory of types.",
   "quote": "Ramsey, Hilbert and Ackermann removed the orders from rtt leading to the simple theory of types stt.",
   "source": {
    "id": "type-theory:S-foundations-8",
    "key": "kamareddine2002",
    "author": "Kamareddine, Fairouz and Laan, Twan and Nederpelt, Rob",
    "year": "2002",
    "title": "Types in Logic and Mathematics Before 1940",
    "publisher": "The Bulletin of Symbolic Logic, 8(2)",
    "url": "https://citeseerx.ist.psu.edu/document?doi=a33a2952322ce833068b2b40963f7898e14a0e31&repid=rep1&type=pdf",
    "in_text": "Kamareddine et al. (2002)",
    "type": "peer-reviewed",
    "read": "raw",
    "trust": "high",
    "trust_reason": "Original text, research on the history, or documentation by the project authors."
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "from-paradoxes-to-typed-expressions"
   ]
  },
  {
   "id": "type-theory:C-foundations-15",
   "claim": "Kamareddine and colleagues date Russell’s first formulation of type theory to 1903.",
   "quote": "before 1903 when Russell ﬁrst introduced a type theory (see appendix of [62]), there were no formulations of any type theory.",
   "source": {
    "id": "type-theory:S-foundations-8",
    "key": "kamareddine2002",
    "author": "Kamareddine, Fairouz and Laan, Twan and Nederpelt, Rob",
    "year": "2002",
    "title": "Types in Logic and Mathematics Before 1940",
    "publisher": "The Bulletin of Symbolic Logic, 8(2)",
    "url": "https://citeseerx.ist.psu.edu/document?doi=a33a2952322ce833068b2b40963f7898e14a0e31&repid=rep1&type=pdf",
    "in_text": "Kamareddine et al. (2002)",
    "type": "peer-reviewed",
    "read": "raw",
    "trust": "high",
    "trust_reason": "Original text, research on the history, or documentation by the project authors."
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "from-paradoxes-to-typed-expressions"
   ]
  },
  {
   "id": "type-theory:C-foundations-17",
   "claim": "The historians connect Russell’s development of ramified type theory to the paradox he applied to Frege’s formal system.",
   "quote": "concentrating on Frege’s Grundgesetze der Arithmetik for which Russell applied his famous paradox¹ and this led him to introduce the ﬁrst theory of types, the Ramiﬁed Type Theory (rtt).",
   "source": {
    "id": "type-theory:S-foundations-8",
    "key": "kamareddine2002",
    "author": "Kamareddine, Fairouz and Laan, Twan and Nederpelt, Rob",
    "year": "2002",
    "title": "Types in Logic and Mathematics Before 1940",
    "publisher": "The Bulletin of Symbolic Logic, 8(2)",
    "url": "https://citeseerx.ist.psu.edu/document?doi=a33a2952322ce833068b2b40963f7898e14a0e31&repid=rep1&type=pdf",
    "in_text": "Kamareddine et al. (2002)",
    "type": "peer-reviewed",
    "read": "raw",
    "trust": "high",
    "trust_reason": "Original text, research on the history, or documentation by the project authors."
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "from-paradoxes-to-typed-expressions"
   ]
  },
  {
   "id": "type-theory:C-foundations-2",
   "claim": "Church’s 1940 formulation incorporated features of the lambda calculus into simple type theory.",
   "quote": "The purpose of the present paper is to give a formulation of the simple theory of types¹ which incorporates certain features of the calculus of λ-conversion.",
   "source": {
    "id": "type-theory:S-foundations-2",
    "key": "church1940",
    "author": "Church, Alonzo",
    "year": "1940",
    "title": "A Formulation of the Simple Theory of Types",
    "publisher": "The Journal of Symbolic Logic, 5(2), 56–68",
    "url": "https://www.cip.ifi.lmu.de/~langeh/test/1940%20-%20Church%20-%20A%20Formulation%20of%20the%20Simple%20Theory%20of%20Types_cropped.pdf",
    "in_text": "Church (1940)",
    "type": "peer-reviewed",
    "read": "raw",
    "trust": "high",
    "trust_reason": "Original text, research on the history, or documentation by the project authors."
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "from-paradoxes-to-typed-expressions"
   ]
  },
  {
   "id": "type-theory:C-concepts-36",
   "claim": "Church credits Leon Chwistek and F. P. Ramsey with suggesting the simple theory as an adaptation of Russell’s ramified system.",
   "quote": "The simple theory of types was suggested as a modification of Russell’s ramified theory of types by Leon Chwistek in 1921 and 1922 and by F. P. Ramsey in 1926.",
   "source": {
    "id": "type-theory:S-foundations-2",
    "key": "church1940",
    "author": "Church, Alonzo",
    "year": "1940",
    "title": "A Formulation of the Simple Theory of Types",
    "publisher": "The Journal of Symbolic Logic, 5(2), 56–68",
    "url": "https://www.cip.ifi.lmu.de/~langeh/test/1940%20-%20Church%20-%20A%20Formulation%20of%20the%20Simple%20Theory%20of%20Types_cropped.pdf",
    "in_text": "Church (1940)",
    "type": "peer-reviewed",
    "read": "raw",
    "trust": "high",
    "trust_reason": "Original text, research on the history, or documentation by the project authors."
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "from-paradoxes-to-typed-expressions"
   ]
  },
  {
   "id": "type-theory:C-concepts-14",
   "claim": "In Wright and Felleisen’s proof method, a step of evaluation preserves the type assigned to a program.",
   "quote": "each intermediate state may be assigned the same type as the original program",
   "source": {
    "id": "type-theory:S-concepts-7",
    "key": "wright1994",
    "author": "Wright, Andrew K. and Felleisen, Matthias",
    "year": "1994",
    "title": "A Syntactic Approach to Type Soundness",
    "publisher": "Information and Computation",
    "url": "https://courses.grainger.illinois.edu/cs522/sp2016/ASyntacticApproachToTypeSoundness.pdf",
    "in_text": "Wright & Felleisen (1994)",
    "type": "peer-reviewed",
    "read": "extracted",
    "trust": "high",
    "trust_reason": "own formal proof; derivation shown; no stake"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "what-a-checker-guarantees"
   ]
  },
  {
   "id": "type-theory:C-concepts-15",
   "claim": "Wright and Felleisen show that states that would get stuck in a type error cannot be assigned a type.",
   "quote": "sound type systems do not assign a type to irreducible expressions that are the sources of type errors",
   "source": {
    "id": "type-theory:S-concepts-7",
    "key": "wright1994",
    "author": "Wright, Andrew K. and Felleisen, Matthias",
    "year": "1994",
    "title": "A Syntactic Approach to Type Soundness",
    "publisher": "Information and Computation",
    "url": "https://courses.grainger.illinois.edu/cs522/sp2016/ASyntacticApproachToTypeSoundness.pdf",
    "in_text": "Wright & Felleisen (1994)",
    "type": "peer-reviewed",
    "read": "extracted",
    "trust": "high",
    "trust_reason": "own formal proof; derivation shown; no stake"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "what-a-checker-guarantees"
   ]
  },
  {
   "id": "type-theory:C-concepts-21",
   "claim": "Wright and Felleisen use “strongly typed” for a language with a sound static type system.",
   "quote": "with a sound static type system is strongly typed [7].",
   "source": {
    "id": "type-theory:S-concepts-7",
    "key": "wright1994",
    "author": "Wright, Andrew K. and Felleisen, Matthias",
    "year": "1994",
    "title": "A Syntactic Approach to Type Soundness",
    "publisher": "Information and Computation",
    "url": "https://courses.grainger.illinois.edu/cs522/sp2016/ASyntacticApproachToTypeSoundness.pdf",
    "in_text": "Wright & Felleisen (1994)",
    "type": "peer-reviewed",
    "read": "extracted",
    "trust": "high",
    "trust_reason": "own formal proof; derivation shown; no stake"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "what-a-checker-guarantees"
   ]
  },
  {
   "id": "type-theory:C-concepts-23",
   "claim": "RustBelt gives a machine-checked safety proof for a language modeling a substantial subset of Rust.",
   "quote": "the first formal (and machine-checked) safety proof for a language representing a realistic subset of Rust.",
   "source": {
    "id": "type-theory:S-concepts-11",
    "key": "jung2018",
    "author": "Jung, Ralf and Jourdan, Jacques-Henri and Krebbers, Robbert and Dreyer, Derek",
    "year": "2018",
    "title": "RustBelt: Securing the Foundations of the Rust Programming Language",
    "publisher": "Proceedings of the ACM on Programming Languages",
    "url": "https://www.mpi-sws.org/~dreyer/papers/rustbelt/paper.pdf",
    "in_text": "Jung et al. (2018)",
    "type": "peer-reviewed",
    "read": "extracted",
    "trust": "high",
    "trust_reason": "own machine-checked formal proof; method shown; no sample; no stake"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "what-a-checker-guarantees"
   ]
  },
  {
   "id": "type-theory:C-concepts-22",
   "claim": "The TypeScript handbook says the type system deliberately allows some unsound behavior.",
   "quote": "The places where TypeScript allows unsound behavior were carefully considered",
   "source": {
    "id": "type-theory:S-concepts-10",
    "key": "typescriptndb",
    "author": "{Microsoft TypeScript Team}",
    "year": "n.d.c",
    "title": "Type compatibility",
    "publisher": "TypeScript Handbook",
    "url": "https://www.typescriptlang.org/docs/handbook/type-compatibility.html",
    "in_text": "Team (n.d.c)",
    "type": "documentation",
    "read": "extracted",
    "trust": "high",
    "trust_reason": "maintainer's own documentation of how the language behaves; no evaluation"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "what-a-checker-guarantees"
   ]
  },
  {
   "id": "type-theory:C-concepts-8",
   "claim": "A parametrically polymorphic function has a type parameter that determines the argument type for each call.",
   "quote": "a polymorphic function has an implicit or explicit type parameter, which determines the type of the argument for each application of that function.",
   "source": {
    "id": "type-theory:S-concepts-3",
    "key": "cardelli1985",
    "author": "Cardelli, Luca and Wegner, Peter",
    "year": "1985",
    "title": "On Understanding Types, Data Abstraction, and Polymorphism",
    "publisher": "ACM Computing Surveys",
    "url": "https://www.windley.com/docs/cardelli85understanding.pdf",
    "in_text": "Cardelli & Wegner (1985)",
    "type": "peer-reviewed",
    "read": "extracted",
    "trust": "medium",
    "trust_reason": "theoretical model and review, no results of its own; no stake"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "reusing-code-and-inferring-types"
   ]
  },
  {
   "id": "type-theory:C-concepts-7",
   "claim": "Cardelli and Wegner add inclusion polymorphism to classify subtypes and inheritance.",
   "quote": "a new form of polymorphism called inclusion polymorphism to model subtypes and inheritance.",
   "source": {
    "id": "type-theory:S-concepts-3",
    "key": "cardelli1985",
    "author": "Cardelli, Luca and Wegner, Peter",
    "year": "1985",
    "title": "On Understanding Types, Data Abstraction, and Polymorphism",
    "publisher": "ACM Computing Surveys",
    "url": "https://www.windley.com/docs/cardelli85understanding.pdf",
    "in_text": "Cardelli & Wegner (1985)",
    "type": "peer-reviewed",
    "read": "extracted",
    "trust": "medium",
    "trust_reason": "theoretical model and review, no results of its own; no stake"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "reusing-code-and-inferring-types"
   ]
  },
  {
   "id": "type-theory:C-concepts-28",
   "claim": "Milner gives a plus operator for integer and real addition as an example of overloading.",
   "quote": "the use of “+” to denote both integer and real addition",
   "source": {
    "id": "type-theory:S-concepts-15",
    "key": "milner1978",
    "author": "Milner, Robin",
    "year": "1978",
    "title": "A Theory of Type Polymorphism in Programming",
    "publisher": "Journal of Computer and System Sciences",
    "url": "https://www.cs.tufts.edu/comp/150FP/archive/robin-milner/type-polymorphism.pdf",
    "in_text": "Milner (1978)",
    "type": "peer-reviewed",
    "read": "extracted",
    "trust": "high",
    "trust_reason": "own theory with proofs of soundness; method shown; no stake"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "reusing-code-and-inferring-types"
   ]
  },
  {
   "id": "type-theory:C-concepts-27",
   "claim": "Milner had implemented a type checking algorithm based on W in the ML used by Edinburgh LCF.",
   "quote": "a type-checking algorithm based on 𝒲 is in fact already implemented and working, for the metalanguage ML in the Edinburgh LCF system.",
   "source": {
    "id": "type-theory:S-concepts-15",
    "key": "milner1978",
    "author": "Milner, Robin",
    "year": "1978",
    "title": "A Theory of Type Polymorphism in Programming",
    "publisher": "Journal of Computer and System Sciences",
    "url": "https://www.cs.tufts.edu/comp/150FP/archive/robin-milner/type-polymorphism.pdf",
    "in_text": "Milner (1978)",
    "type": "peer-reviewed",
    "read": "extracted",
    "trust": "high",
    "trust_reason": "own theory with proofs of soundness; method shown; no stake"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "reusing-code-and-inferring-types"
   ]
  },
  {
   "id": "type-theory:C-concepts-4",
   "claim": "A principal type scheme yields the other valid schemes by instantiation.",
   "quote": "Any other σ for which A ⊢ e:σ is a generic instance of σₚ.",
   "source": {
    "id": "type-theory:S-concepts-2",
    "key": "damas1982",
    "author": "Damas, Luis and Milner, Robin",
    "year": "1982",
    "title": "Principal type-schemes for functional programs",
    "publisher": "Proceedings of the 9th ACM SIGPLAN-SIGACT Symposium on Principles of Programming Languages",
    "url": "https://www.cs.cmu.edu/afs/cs/user/crary/www/819-f09/DamasMilner82.pdf",
    "in_text": "Damas & Milner (1982)",
    "type": "peer-reviewed",
    "read": "extracted",
    "trust": "high",
    "trust_reason": "own proof of type inference result; method is the proof; no stake; page names only ACM copyright"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "reusing-code-and-inferring-types"
   ]
  },
  {
   "id": "type-theory:C-concepts-5",
   "claim": "Algorithm W uses a unification algorithm to find types.",
   "quote": "To define W we require the unification algorithm of Robinson [Rob].",
   "source": {
    "id": "type-theory:S-concepts-2",
    "key": "damas1982",
    "author": "Damas, Luis and Milner, Robin",
    "year": "1982",
    "title": "Principal type-schemes for functional programs",
    "publisher": "Proceedings of the 9th ACM SIGPLAN-SIGACT Symposium on Principles of Programming Languages",
    "url": "https://www.cs.cmu.edu/afs/cs/user/crary/www/819-f09/DamasMilner82.pdf",
    "in_text": "Damas & Milner (1982)",
    "type": "peer-reviewed",
    "read": "extracted",
    "trust": "high",
    "trust_reason": "own proof of type inference result; method is the proof; no stake; page names only ACM copyright"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "reusing-code-and-inferring-types"
   ]
  },
  {
   "id": "type-theory:C-concepts-6",
   "claim": "Damas and Milner generalize Hindley’s result for combinatory logic.",
   "quote": "This is a generalisation of Hindley's result for Combinatory Logic [Hin].",
   "source": {
    "id": "type-theory:S-concepts-2",
    "key": "damas1982",
    "author": "Damas, Luis and Milner, Robin",
    "year": "1982",
    "title": "Principal type-schemes for functional programs",
    "publisher": "Proceedings of the 9th ACM SIGPLAN-SIGACT Symposium on Principles of Programming Languages",
    "url": "https://www.cs.cmu.edu/afs/cs/user/crary/www/819-f09/DamasMilner82.pdf",
    "in_text": "Damas & Milner (1982)",
    "type": "peer-reviewed",
    "read": "extracted",
    "trust": "high",
    "trust_reason": "own proof of type inference result; method is the proof; no stake; page names only ACM copyright"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "reusing-code-and-inferring-types"
   ]
  },
  {
   "id": "type-theory:C-concepts-12",
   "claim": "The proof that ML’s inference finds a most general type covers its purely applicative part.",
   "quote": "Here we answer the question in the affirmative, for the purely applicative part of ML.",
   "source": {
    "id": "type-theory:S-concepts-2",
    "key": "damas1982",
    "author": "Damas, Luis and Milner, Robin",
    "year": "1982",
    "title": "Principal type-schemes for functional programs",
    "publisher": "Proceedings of the 9th ACM SIGPLAN-SIGACT Symposium on Principles of Programming Languages",
    "url": "https://www.cs.cmu.edu/afs/cs/user/crary/www/819-f09/DamasMilner82.pdf",
    "in_text": "Damas & Milner (1982)",
    "type": "peer-reviewed",
    "read": "extracted",
    "trust": "high",
    "trust_reason": "own proof of type inference result; method is the proof; no stake; page names only ACM copyright"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "reusing-code-and-inferring-types"
   ]
  },
  {
   "id": "type-theory:C-concepts-13",
   "claim": "In higher-rank impredicative systems, complete inference is undecidable; some practical systems use annotations to guide inference.",
   "quote": "Complete type inference is known to be undecidable for higher-rank (impredicative) type systems, but in practice programmers are more than willing to add type annotations to guide the type inference engine",
   "source": {
    "id": "type-theory:S-concepts-6",
    "key": "peytonjones2007",
    "author": "Peyton Jones, Simon and Vytiniotis, Dimitrios and Weirich, Stephanie and Shields, Mark",
    "year": "2007",
    "title": "Practical type inference for arbitrary-rank types",
    "publisher": "Journal of Functional Programming",
    "url": "https://www.microsoft.com/en-us/research/wp-content/uploads/2016/02/putting.pdf",
    "in_text": "Peyton Jones et al. (2007)",
    "type": "peer-reviewed",
    "read": "extracted",
    "trust": "high",
    "trust_reason": "own type-inference system with implementation shown; no results on people; no stake"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "reusing-code-and-inferring-types"
   ]
  },
  {
   "id": "type-theory:C-foundations-31",
   "claim": "Across 40 already identified type-related bugs in 10 Python projects, three checkers together detected 14 before annotation and 29 afterward.",
   "quote": "We used a benchmark containing 10 popular Python projects with 40 real type-related bugs. ... The results show that the three tools can detect 29 of the 40 studied bugs after annotating, while only 14 bugs are detected before annotating.",
   "source": {
    "id": "type-theory:S-foundations-19",
    "key": "xu2023",
    "author": "Xu, Wenjie and Chen, Lin and Su, Chenghao and Guo, Yimeng and Li, Yanhui and Zhou, Yuming and others",
    "year": "2023",
    "title": "How well static type checkers work with gradual typing? A case study on Python",
    "publisher": "IEEE/ACM International Conference on Program Comprehension",
    "url": "https://conf.researchr.org/details/icpc-2023/icpc-2023-research/8/How-Well-Static-Type-Checkers-Work-with-Gradual-Typing-A-Case-Study-on-Python",
    "in_text": "Xu et al. (2023)",
    "type": "peer-reviewed",
    "read": "abstract",
    "trust": "medium",
    "trust_reason": "own study at ICPC 2023; method shown; 40 bugs in 10 projects, small; no stake"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "bugs-a-checker-can-flag"
   ]
  },
  {
   "id": "type-theory:C-foundations-32",
   "claim": "The authors identify dynamic features, inaccurate annotations and differences among checker strategies as reasons some known Python bugs were missed.",
   "quote": "the accuracy of type analysis is challenged when it comes to programs with complicated dynamic features ... the inaccurate type annotations can undermine the ability of static type checkers to detect real bugs ... static type checkers have different checking strategies in some cases",
   "source": {
    "id": "type-theory:S-foundations-19",
    "key": "xu2023",
    "author": "Xu, Wenjie and Chen, Lin and Su, Chenghao and Guo, Yimeng and Li, Yanhui and Zhou, Yuming and others",
    "year": "2023",
    "title": "How well static type checkers work with gradual typing? A case study on Python",
    "publisher": "IEEE/ACM International Conference on Program Comprehension",
    "url": "https://conf.researchr.org/details/icpc-2023/icpc-2023-research/8/How-Well-Static-Type-Checkers-Work-with-Gradual-Typing-A-Case-Study-on-Python",
    "in_text": "Xu et al. (2023)",
    "type": "peer-reviewed",
    "read": "abstract",
    "trust": "medium",
    "trust_reason": "own study at ICPC 2023; method shown; 40 bugs in 10 projects, small; no stake"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "bugs-a-checker-can-flag"
   ]
  },
  {
   "id": "type-theory:C-empirical-17",
   "claim": "In a 49-person parser experiment with approximately 27 hours of work per participant, Hanenberg reported no positive or negative effect of static typing on overall development time under the study conditions.",
   "quote": "This paper presents an empirical study with 49 subjects that studies the impact of a static type system for the development of a parser over 27 hours working time. In the experiments the existence of the static type system has neither a positive nor a negative impact on an application’s development time (under the conditions of the experiment).",
   "source": {
    "id": "type-theory:S-empirical-8",
    "key": "hanenberg2010",
    "author": "Hanenberg, Stefan",
    "year": "2010",
    "title": "An experiment about static and dynamic type systems: Doubts about the positive impact of static type systems on development time",
    "publisher": "Proceedings of the ACM International Conference on Object Oriented Programming Systems Languages and Applications",
    "url": "https://ics.uci.edu/~jajones/INF102-S18/readings/23_hanenberg.pdf",
    "in_text": "Hanenberg (2010)",
    "type": "peer-reviewed",
    "read": "extracted",
    "trust": "high",
    "trust_reason": "Primary study published in a peer-reviewed venue."
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "development-and-maintenance-time"
   ]
  },
  {
   "id": "type-theory:C-empirical-18",
   "claim": "In Hanenberg’s parser experiment, the dynamic group did better on the smaller development-time task, while the full project had no significant difference in resulting quality.",
   "quote": "while there was a significant difference in the development time for the smaller piece of software (for a subproject of the whole one, the dynamically typed developers significantly performed better), there was no significant difference between the statically and dynamically typed solutions with respect to the resulting quality of the whole project.",
   "source": {
    "id": "type-theory:S-empirical-8",
    "key": "hanenberg2010",
    "author": "Hanenberg, Stefan",
    "year": "2010",
    "title": "An experiment about static and dynamic type systems: Doubts about the positive impact of static type systems on development time",
    "publisher": "Proceedings of the ACM International Conference on Object Oriented Programming Systems Languages and Applications",
    "url": "https://ics.uci.edu/~jajones/INF102-S18/readings/23_hanenberg.pdf",
    "in_text": "Hanenberg (2010)",
    "type": "peer-reviewed",
    "read": "extracted",
    "trust": "high",
    "trust_reason": "Primary study published in a peer-reviewed venue."
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "development-and-maintenance-time"
   ]
  },
  {
   "id": "type-theory:C-empirical-19",
   "claim": "The maintenance experiment reported benefits from static types for understanding undocumented code and fixing type errors, with no benefit found for fixing semantic errors.",
   "quote": "in terms of understanding undocumented code, fixing type errors, and fixing semantic errors. The results show rigorous empirical evidence that static types are indeed beneficial to these activities, except when fixing semantic errors.",
   "source": {
    "id": "type-theory:S-empirical-9",
    "key": "hanenberg2014",
    "author": "Hanenberg, Stefan and Kleinschmager, Sebastian and Robbes, Romain and Tanter, Éric and Stefik, Andreas",
    "year": "2014",
    "title": "An empirical study on the impact of static typing on software maintainability",
    "publisher": "Empirical Software Engineering",
    "url": "https://pleiad.cl/papers/2014/hanenbergAl-emse2014.pdf",
    "in_text": "Hanenberg et al. (2014)",
    "type": "peer-reviewed",
    "read": "extracted",
    "trust": "medium",
    "trust_reason": "own experiment; method shown; 36 subjects (33 finished), small, mostly students; public grants only"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "development-and-maintenance-time"
   ]
  },
  {
   "id": "type-theory:C-empirical-24",
   "claim": "The maintenance study assigned nine tasks to 33 subjects, covering unfamiliar classes, type errors and semantic errors.",
   "quote": "Three kinds of programming tasks—all of them potential maintenance tasks—were given to 33 subjects: tasks where a set of previously unknown classes had to be used by the developers, tasks where developers had to fix type errors, and tasks where developers had to fix semantic errors. Altogether nine programming tasks were given to the subjects.",
   "source": {
    "id": "type-theory:S-empirical-9",
    "key": "hanenberg2014",
    "author": "Hanenberg, Stefan and Kleinschmager, Sebastian and Robbes, Romain and Tanter, Éric and Stefik, Andreas",
    "year": "2014",
    "title": "An empirical study on the impact of static typing on software maintainability",
    "publisher": "Empirical Software Engineering",
    "url": "https://pleiad.cl/papers/2014/hanenbergAl-emse2014.pdf",
    "in_text": "Hanenberg et al. (2014)",
    "type": "peer-reviewed",
    "read": "extracted",
    "trust": "medium",
    "trust_reason": "own experiment; method shown; 36 subjects (33 finished), small, mostly students; public grants only"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "development-and-maintenance-time"
   ]
  },
  {
   "id": "type-theory:C-concepts-31",
   "claim": "The study detected no statistically significant difference in time on tasks that fixed semantic errors.",
   "quote": "No significant differences between the statically and dynamically typed variants were found in regards to development time for tasks that involved fixing semantic errors.",
   "source": {
    "id": "type-theory:S-empirical-9",
    "key": "hanenberg2014",
    "author": "Hanenberg, Stefan and Kleinschmager, Sebastian and Robbes, Romain and Tanter, Éric and Stefik, Andreas",
    "year": "2014",
    "title": "An empirical study on the impact of static typing on software maintainability",
    "publisher": "Empirical Software Engineering",
    "url": "https://pleiad.cl/papers/2014/hanenbergAl-emse2014.pdf",
    "in_text": "Hanenberg et al. (2014)",
    "type": "peer-reviewed",
    "read": "extracted",
    "trust": "medium",
    "trust_reason": "own experiment; method shown; 36 subjects (33 finished), small, mostly students; public grants only"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "development-and-maintenance-time"
   ]
  },
  {
   "id": "type-theory:C-foundations-29",
   "claim": "Siegmund and colleagues’ reanalysis of Hanenberg’s data found a class-identification advantage only in the group that started with dynamic typing.",
   "quote": "the difference is significant for only one of the two groups in favor of the static type system (i.e., the group that started with the dynamic type system). For the group that started with the static type system, the difference is not significant.",
   "source": {
    "id": "type-theory:S-foundations-17",
    "key": "siegmund2020",
    "author": "Siegmund, Janet and Peitek, Norman and Apel, Sven and Siegmund, Norbert",
    "year": "2020",
    "title": "Mastering variation in human studies: The role of aggregation",
    "publisher": "ACM Transactions on Software Engineering and Methodology",
    "url": "https://www.se.cs.uni-saarland.de/publications/docs/SPA%2B20.pdf",
    "in_text": "Siegmund et al. (2020)",
    "type": "peer-reviewed",
    "read": "raw",
    "trust": "high",
    "trust_reason": "own literature survey and reanalysis of 12 studies and fMRI data; method shown; no stake"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "development-and-maintenance-time"
   ]
  },
  {
   "id": "type-theory:C-empirical-20",
   "claim": "The 2017 journal version used 728 projects from 17 languages.",
   "quote": "we gather a very large data set from GitHub (728 projects, 63 Million SLOC, 29,000 authors, 1.5 million commits, in 17 languages)",
   "source": {
    "id": "type-theory:S-empirical-10",
    "key": "ray2017",
    "author": "Ray, Baishakhi and Posnett, Daryl and Filkov, Vladimir and Devanbu, Premkumar",
    "year": "2017",
    "title": "A large-scale study of programming languages and code quality in GitHub",
    "publisher": "Communications of the ACM",
    "url": "https://baishakhir.github.io/uploads/cacm2017-lang.pdf",
    "in_text": "Ray et al. (2017)",
    "type": "peer-reviewed",
    "read": "extracted",
    "trust": "high",
    "trust_reason": "own mixed-methods study of 728 GitHub projects, 1.5M commits, method and threats sections; no stake; page names no venue"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "defects-across-projects"
   ]
  },
  {
   "id": "type-theory:C-empirical-21",
   "claim": "The 2017 journal version retained the reported modest advantage for strong typing, static typing among functional languages, and functional over procedural languages.",
   "quote": "it does appear that strong typing is modestly better than weak typing, and among functional languages, static typing is also somewhat better than dynamic typing. We also find that functional languages are somewhat better than procedural languages.",
   "source": {
    "id": "type-theory:S-empirical-10",
    "key": "ray2017",
    "author": "Ray, Baishakhi and Posnett, Daryl and Filkov, Vladimir and Devanbu, Premkumar",
    "year": "2017",
    "title": "A large-scale study of programming languages and code quality in GitHub",
    "publisher": "Communications of the ACM",
    "url": "https://baishakhir.github.io/uploads/cacm2017-lang.pdf",
    "in_text": "Ray et al. (2017)",
    "type": "peer-reviewed",
    "read": "extracted",
    "trust": "high",
    "trust_reason": "own mixed-methods study of 728 GitHub projects, 1.5M commits, method and threats sections; no stake; page names no venue"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "defects-across-projects"
   ]
  },
  {
   "id": "type-theory:C-empirical-22",
   "claim": "The reanalysis authors said the data they received represented the conference version and that they had sought the journal data after publication.",
   "quote": "To sum up, we “chose” to reproduce the paper we had the data for. … We requested the CACM data after that paper had been published, months after the FSE authors sent their camera ready version to the ACM.",
   "source": {
    "id": "type-theory:S-empirical-4",
    "key": "berger2019b",
    "author": "Berger, Emery D. and Maj, Petr and Vitek, Olga and Vitek, Jan",
    "year": "2019a",
    "title": "FSE/CACM rebuttal²: Correcting a large-scale study of programming languages and code quality in GitHub",
    "publisher": "arXiv",
    "url": "https://arxiv.org/abs/1911.11894",
    "in_text": "Berger et al. (2019a)",
    "type": "preprint",
    "read": "extracted",
    "trust": "medium",
    "trust_reason": "rebuttal in a dispute the authors are party to; argues, only abstract read; no published version named"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "defects-across-projects"
   ]
  },
  {
   "id": "type-theory:C-empirical-8",
   "claim": "The TypeScript–JavaScript comparison supported the expected TypeScript advantage on code quality and understandability measures, while neither directional bug hypothesis was supported.",
   "quote": "In summary, we could accept two of the four hypotheses for RQ1, namely the ones for code quality (H${}_{1}^{1}$) and code understandability (H${}_{1}^{2}$), with a medium and small effect size respectively. However, both bug-related hypotheses (H${}_{1}^{3}$ and H${}_{1}^{4}$) did not lead to significant results.",
   "source": {
    "id": "type-theory:S-empirical-5",
    "key": "bogner2022",
    "author": "Bogner, Justus and Merkel, Manuel",
    "year": "2022",
    "title": "To type or not to type? A systematic comparison of the software quality of JavaScript and TypeScript applications on GitHub",
    "publisher": "Proceedings of the 19th International Conference on Mining Software Repositories",
    "url": "https://arxiv.org/abs/2203.11115",
    "in_text": "Bogner & Merkel (2022)",
    "type": "peer-reviewed",
    "read": "extracted",
    "trust": "high",
    "trust_reason": "own repository-mining study, 604 projects, method shown; no stake"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "defects-across-projects"
   ]
  },
  {
   "id": "type-theory:C-empirical-9",
   "claim": "The TypeScript sample averaged roughly one bug-fix commit in five and the JavaScript sample roughly one in eight.",
   "quote": "JavaScript applications therefore average roughly one bug fix for every 8 commits, while TypeScript applications do so for every 5 commits, i.e., over 60% more.",
   "source": {
    "id": "type-theory:S-empirical-5",
    "key": "bogner2022",
    "author": "Bogner, Justus and Merkel, Manuel",
    "year": "2022",
    "title": "To type or not to type? A systematic comparison of the software quality of JavaScript and TypeScript applications on GitHub",
    "publisher": "Proceedings of the 19th International Conference on Mining Software Repositories",
    "url": "https://arxiv.org/abs/2203.11115",
    "in_text": "Bogner & Merkel (2022)",
    "type": "peer-reviewed",
    "read": "extracted",
    "trust": "high",
    "trust_reason": "own repository-mining study, 604 projects, method shown; no stake"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "defects-across-projects"
   ]
  },
  {
   "id": "type-theory:C-empirical-10",
   "claim": "The TypeScript and JavaScript samples both took over 30 days on average to close bug issues, with TypeScript descriptively slower by just over a day.",
   "quote": "JavaScript developers needed on average 31.86 days to close a bug issue, which is over a day less than TypeScript developers.",
   "source": {
    "id": "type-theory:S-empirical-5",
    "key": "bogner2022",
    "author": "Bogner, Justus and Merkel, Manuel",
    "year": "2022",
    "title": "To type or not to type? A systematic comparison of the software quality of JavaScript and TypeScript applications on GitHub",
    "publisher": "Proceedings of the 19th International Conference on Mining Software Repositories",
    "url": "https://arxiv.org/abs/2203.11115",
    "in_text": "Bogner & Merkel (2022)",
    "type": "peer-reviewed",
    "read": "extracted",
    "trust": "high",
    "trust_reason": "own repository-mining study, 604 projects, method shown; no stake"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "defects-across-projects"
   ]
  },
  {
   "id": "type-theory:C-empirical-32",
   "claim": "A 600-project repository study associated static typing with shorter elapsed bug resolution and with patches touching more files.",
   "quote": "We also found that patches tend to touch more files for the corpus of strongly typed and for statically typed programs. However, we also found evidence for a lower elapsed resolution time for bug resolution committed to projects constructed from statically typed languages.",
   "source": {
    "id": "type-theory:S-empirical-16",
    "key": "zhang2020b",
    "author": "Zhang, Jie M. and Li, Feng and Hao, Dan and Wang, Meng and Tang, Hao and Zhang, Lu and others",
    "year": "2020a",
    "title": "A study of bug resolution characteristics in popular programming languages",
    "publisher": "IEEE Transactions on Software Engineering",
    "url": "https://arxiv.org/abs/1801.01025",
    "in_text": "Zhang et al. (2020a)",
    "type": "peer-reviewed",
    "read": "extracted",
    "trust": "high",
    "trust_reason": "own large-scale repository analysis (600 projects, 3M commits); abstract states data and scope; no stake; no standing issue"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "defects-across-projects"
   ]
  },
  {
   "id": "type-theory:C-empirical-35",
   "claim": "The JavaScript–TypeScript comparison cited the Ray study and Berger reanalysis and restricted project creation to 2012 or later, noting an earlier conflicting use of the .ts extension.",
   "quote": "only projects created between 2012 and mid-2021 were examined, as TypeScript was released in 2012. Before 2012, the file extension .ts refers to XML files that contain human language translations (Berger et al. 2019).",
   "source": {
    "id": "type-theory:S-empirical-5",
    "key": "bogner2022",
    "author": "Bogner, Justus and Merkel, Manuel",
    "year": "2022",
    "title": "To type or not to type? A systematic comparison of the software quality of JavaScript and TypeScript applications on GitHub",
    "publisher": "Proceedings of the 19th International Conference on Mining Software Repositories",
    "url": "https://arxiv.org/abs/2203.11115",
    "in_text": "Bogner & Merkel (2022)",
    "type": "peer-reviewed",
    "read": "extracted",
    "trust": "high",
    "trust_reason": "own repository-mining study, 604 projects, method shown; no stake"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "defects-across-projects"
   ]
  },
  {
   "id": "type-theory:C-concepts-11",
   "claim": "Siek and Taha give a gradual typing system where programmers choose where annotations trigger static checking.",
   "quote": "of dynamically typed languages when type annotations are omitted by the programmer and providing the benefits of static checking when function parameters are annotated.",
   "source": {
    "id": "type-theory:S-concepts-5",
    "key": "siek2006",
    "author": "Siek, Jeremy G. and Taha, Walid",
    "year": "2006",
    "title": "Gradual Typing for Functional Languages",
    "publisher": "Scheme and Functional Programming Workshop",
    "url": "https://web.stanford.edu/class/cs242/materials/old/siek06__gradual.pdf",
    "in_text": "Siek & Taha (2006)",
    "type": "peer-reviewed",
    "read": "extracted",
    "trust": "high",
    "trust_reason": "own formal calculus with proofs; reviewed; NSF funded; no stake"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "runtime-cost-of-mixing-typing-styles"
   ]
  },
  {
   "id": "type-theory:C-concepts-19",
   "claim": "Gradual typing originally meant programmers could choose which parts of a single program were checked statically, then change those choices over time.",
   "quote": "puts the programmer in control of which regions of code are statically or dynamically typed and 2) enables the gradual evolution of code between the two typing disciplines.",
   "source": {
    "id": "type-theory:S-concepts-9",
    "key": "siek2015",
    "author": "Siek, Jeremy G. and Vitousek, Michael M. and Cimini, Matteo and Boyland, John Tang",
    "year": "2015",
    "title": "Refined criteria for gradual typing",
    "publisher": "1st Summit on Advances in Programming Languages, Schloss Dagstuhl – Leibniz-Zentrum für Informatik",
    "url": "https://drops.dagstuhl.de/entities/document/10.4230/LIPIcs.SNAPL.2015.274",
    "in_text": "Siek et al. (2015)",
    "type": "peer-reviewed",
    "read": "abstract",
    "trust": "medium",
    "trust_reason": "SNAPL 2015 proceedings paper; formal argument and mechanized proof plus literature critique; full text not read; argues a position, no empirical results"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "runtime-cost-of-mixing-typing-styles"
   ]
  },
  {
   "id": "type-theory:C-concepts-25",
   "claim": "Typed Scheme supports gradual migration by letting a multi-module program run with only some modules typed.",
   "quote": "this integration makes it easy to turn portions of a multi-module program into a partially typed yet still executable program.",
   "source": {
    "id": "type-theory:S-concepts-13",
    "key": "tobinhochstadt2008",
    "author": "Tobin-Hochstadt, Sam and Felleisen, Matthias",
    "year": "2008",
    "title": "The Design and Implementation of Typed Scheme",
    "publisher": "35th ACM SIGPLAN-SIGACT Symposium on Principles of Programming Languages",
    "url": "https://www2.ccs.neu.edu/racket/pubs/popl08-thf.pdf",
    "in_text": "Tobin-Hochstadt & Felleisen (2008)",
    "type": "peer-reviewed",
    "read": "extracted",
    "trust": "medium",
    "trust_reason": "presents own language/type system with mechanized soundness proof; PDF text only partly readable, no venue named, evaluation not confirmed"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "runtime-cost-of-mixing-typing-styles"
   ]
  },
  {
   "id": "type-theory:C-concepts-20",
   "claim": "Siek and colleagues report that later usage of “gradual typing” broadened beyond the original criteria.",
   "quote": "its meaning has become diluted to encompass anything related to the integration of static and dynamic typing.",
   "source": {
    "id": "type-theory:S-concepts-9",
    "key": "siek2015",
    "author": "Siek, Jeremy G. and Vitousek, Michael M. and Cimini, Matteo and Boyland, John Tang",
    "year": "2015",
    "title": "Refined criteria for gradual typing",
    "publisher": "1st Summit on Advances in Programming Languages, Schloss Dagstuhl – Leibniz-Zentrum für Informatik",
    "url": "https://drops.dagstuhl.de/entities/document/10.4230/LIPIcs.SNAPL.2015.274",
    "in_text": "Siek et al. (2015)",
    "type": "peer-reviewed",
    "read": "abstract",
    "trust": "medium",
    "trust_reason": "SNAPL 2015 proceedings paper; formal argument and mechanized proof plus literature critique; full text not read; argues a position, no empirical results"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "runtime-cost-of-mixing-typing-styles"
   ]
  },
  {
   "id": "type-theory:C-concepts-30",
   "claim": "Typed Scheme’s authors motivate type information as documentation for maintenance.",
   "quote": "programmers must (re)discover critical pieces of design information every time they wish to change a program.",
   "source": {
    "id": "type-theory:S-concepts-13",
    "key": "tobinhochstadt2008",
    "author": "Tobin-Hochstadt, Sam and Felleisen, Matthias",
    "year": "2008",
    "title": "The Design and Implementation of Typed Scheme",
    "publisher": "35th ACM SIGPLAN-SIGACT Symposium on Principles of Programming Languages",
    "url": "https://www2.ccs.neu.edu/racket/pubs/popl08-thf.pdf",
    "in_text": "Tobin-Hochstadt & Felleisen (2008)",
    "type": "peer-reviewed",
    "read": "extracted",
    "trust": "medium",
    "trust_reason": "presents own language/type system with mechanized soundness proof; PDF text only partly readable, no venue named, evaluation not confirmed"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "runtime-cost-of-mixing-typing-styles"
   ]
  },
  {
   "id": "type-theory:C-empirical-25",
   "claim": "Sound gradual typing enforces static guarantees across interactions with untyped parts, and its runtime overhead depends on the frequency and nature of those interactions.",
   "quote": "A sound gradual type system ensures that untyped components of a program can never break the guarantees of statically typed components. This assurance relies on runtime checks, which in turn impose performance overhead in proportion to the frequency and nature of interaction between typed and untyped components.",
   "source": {
    "id": "type-theory:S-empirical-12",
    "key": "greenman2019",
    "author": "Greenman, Ben and Takikawa, Asumu and New, Max S. and Feltey, Daniel and Findler, Robert Bruce and Vitek, Jan and others",
    "year": "2019",
    "title": "How to evaluate the performance of gradual type systems",
    "publisher": "Journal of Functional Programming",
    "url": "https://www.cambridge.org/core/services/aop-cambridge-core/content/view/DC765724C52A3A462F16C7FB3AD18697/S0956796818000217a.pdf/how-to-evaluate-the-performance-of-gradual-type-systems.pdf",
    "in_text": "Greenman et al. (2019)",
    "type": "peer-reviewed",
    "read": "extracted",
    "trust": "medium",
    "trust_reason": "own method validated on 20 programs and 3 implementations; method shown; small number of cases; no stake"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "runtime-cost-of-mixing-typing-styles",
    "further-reading"
   ]
  },
  {
   "id": "type-theory:C-empirical-26",
   "claim": "The evaluation method was applied to 20 programs and three Typed Racket implementations and can compare implementations of the same type system.",
   "quote": "The method quantifies both the absolute performance of a gradual type system and the relative performance of two implementations of the same gradual type system. To validate the method, the paper reports on its application to 20 programs and 3 implementations of Typed Racket.",
   "source": {
    "id": "type-theory:S-empirical-12",
    "key": "greenman2019",
    "author": "Greenman, Ben and Takikawa, Asumu and New, Max S. and Feltey, Daniel and Findler, Robert Bruce and Vitek, Jan and others",
    "year": "2019",
    "title": "How to evaluate the performance of gradual type systems",
    "publisher": "Journal of Functional Programming",
    "url": "https://www.cambridge.org/core/services/aop-cambridge-core/content/view/DC765724C52A3A462F16C7FB3AD18697/S0956796818000217a.pdf/how-to-evaluate-the-performance-of-gradual-type-systems.pdf",
    "in_text": "Greenman et al. (2019)",
    "type": "peer-reviewed",
    "read": "extracted",
    "trust": "medium",
    "trust_reason": "own method validated on 20 programs and 3 implementations; method shown; small number of cases; no stake"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "runtime-cost-of-mixing-typing-styles",
    "further-reading"
   ]
  },
  {
   "id": "type-theory:C-empirical-33",
   "claim": "The benchmarking method tests every typed/untyped configuration at a chosen granularity when feasible, and offers random sampling for larger spaces.",
   "quote": "To measure the performance of a gradual type system, fully annotate a suite of representative benchmark programs and measure the running time of all typed/untyped configurations according to a fixed granularity. … If an exhaustive evaluation is not feasible, the sampling technique of Section 6 provides an approximate measure.",
   "source": {
    "id": "type-theory:S-empirical-12",
    "key": "greenman2019",
    "author": "Greenman, Ben and Takikawa, Asumu and New, Max S. and Feltey, Daniel and Findler, Robert Bruce and Vitek, Jan and others",
    "year": "2019",
    "title": "How to evaluate the performance of gradual type systems",
    "publisher": "Journal of Functional Programming",
    "url": "https://www.cambridge.org/core/services/aop-cambridge-core/content/view/DC765724C52A3A462F16C7FB3AD18697/S0956796818000217a.pdf/how-to-evaluate-the-performance-of-gradual-type-systems.pdf",
    "in_text": "Greenman et al. (2019)",
    "type": "peer-reviewed",
    "read": "extracted",
    "trust": "medium",
    "trust_reason": "own method validated on 20 programs and 3 implementations; method shown; small number of cases; no stake"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "runtime-cost-of-mixing-typing-styles",
    "further-reading"
   ]
  },
  {
   "id": "type-theory:C-empirical-34",
   "claim": "The Typed Racket evaluation reports some configurations with 100-fold slowdowns.",
   "quote": "Pathologies like the 100× slowdowns in Figure 2 represent a challenge for implementors",
   "source": {
    "id": "type-theory:S-empirical-12",
    "key": "greenman2019",
    "author": "Greenman, Ben and Takikawa, Asumu and New, Max S. and Feltey, Daniel and Findler, Robert Bruce and Vitek, Jan and others",
    "year": "2019",
    "title": "How to evaluate the performance of gradual type systems",
    "publisher": "Journal of Functional Programming",
    "url": "https://www.cambridge.org/core/services/aop-cambridge-core/content/view/DC765724C52A3A462F16C7FB3AD18697/S0956796818000217a.pdf/how-to-evaluate-the-performance-of-gradual-type-systems.pdf",
    "in_text": "Greenman et al. (2019)",
    "type": "peer-reviewed",
    "read": "extracted",
    "trust": "medium",
    "trust_reason": "own method validated on 20 programs and 3 implementations; method shown; small number of cases; no stake"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "runtime-cost-of-mixing-typing-styles",
    "further-reading"
   ]
  },
  {
   "id": "type-theory:C-empirical-38",
   "claim": "The original Typed Racket benchmark found a 114.47-fold worst-case runtime for one sieve configuration and a 0.99 ratio for the fully typed versus untyped program.",
   "quote": "sieve … typed/untyped ratio … max. overhead … (2 modules) 0.99x 114.47x",
   "source": {
    "id": "type-theory:S-empirical-19",
    "key": "takikawa2016",
    "author": "Takikawa, Asumu and Feltey, Daniel and Greenman, Ben and New, Max S. and Vitek, Jan and Felleisen, Matthias",
    "year": "2016",
    "title": "Is sound gradual typing dead?",
    "publisher": "Proceedings of the 43rd Annual ACM SIGPLAN-SIGACT Symposium on Principles of Programming Languages",
    "url": "https://www2.ccs.neu.edu/racket/pubs/popl16-tfgnvf.pdf",
    "in_text": "Takikawa et al. (2016)",
    "type": "peer-reviewed",
    "read": "extracted",
    "trust": "high",
    "trust_reason": "own benchmark timings of thousands of configurations; method and artifact shown; results unfavourable to own language"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "runtime-cost-of-mixing-typing-styles"
   ]
  },
  {
   "id": "type-theory:C-empirical-27",
   "claim": "The Pycket tracing just-in-time compiler removed more than 90% of gradual typing overhead on typical benchmarks in a study that reused earlier Typed Racket benchmarks.",
   "quote": "Our study takes benchmarks published in a recent paper on gradual typing performance in Typed Racket (Takikawa et al., POPL 2016) and evaluates them using a experimental tracing JIT compiler for Racket, called Pycket. On typical benchmarks, Pycket is able to eliminate more than 90% of the gradual typing overhead.",
   "source": {
    "id": "type-theory:S-empirical-13",
    "key": "bauman2017",
    "author": "Bauman, Spenser and Bolz-Tereick, Carl Friedrich and Siek, Jeremy and Tobin-Hochstadt, Sam",
    "year": "2017",
    "title": "Sound gradual typing: Only mostly dead",
    "publisher": "Proceedings of the ACM on Programming Languages",
    "url": "https://scholarworks.iu.edu/dspace/items/131d8f23-1943-45ae-86c3-28a6a526f0e0",
    "in_text": "Bauman et al. (2017)",
    "type": "peer-reviewed",
    "read": "abstract",
    "trust": "high",
    "trust_reason": "own benchmarks and optimisations measured; method shown; no stake"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "runtime-cost-of-mixing-typing-styles"
   ]
  },
  {
   "id": "type-theory:C-empirical-29",
   "claim": "On their benchmark configurations for Reticulated Python, the authors reported up to sixfold running time under the CPython interpreter before removing redundant gradual checks.",
   "quote": "We show that, when running Reticulated Python and the transient approach on CPython, performance decreases as programs evolve from dynamic to static types, up to a 6x slowdown compared to equivalent Python programs. To reduce this overhead, we design a static analysis and optimization that removes redundant runtime checks.",
   "source": {
    "id": "type-theory:S-empirical-15",
    "key": "vitousek2019",
    "author": "Vitousek, Michael M. and Siek, Jeremy G. and Chaudhuri, Avik",
    "year": "2019",
    "title": "Optimizing and evaluating transient gradual typing",
    "publisher": "Proceedings of the ACM on Programming Languages",
    "url": "https://arxiv.org/abs/1902.07808",
    "in_text": "Vitousek et al. (2019)",
    "type": "preprint",
    "read": "extracted",
    "trust": "high",
    "trust_reason": "own performance measurements on benchmark programs, method and baselines shown; no stake stated"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "runtime-cost-of-mixing-typing-styles"
   ]
  },
  {
   "id": "type-theory:C-empirical-30",
   "claim": "Reticulated Python on PyPy with the authors’ static optimization incurred no overhead on their benchmarks.",
   "quote": "Finally, we re-analyzed our Reticulated Python benchmarks using PyPy, a tracing JIT, as a backend, and found that it produced good performance even without type inference, and that it displayed a no overhead when used in combination with our static optimization.",
   "source": {
    "id": "type-theory:S-empirical-15",
    "key": "vitousek2019",
    "author": "Vitousek, Michael M. and Siek, Jeremy G. and Chaudhuri, Avik",
    "year": "2019",
    "title": "Optimizing and evaluating transient gradual typing",
    "publisher": "Proceedings of the ACM on Programming Languages",
    "url": "https://arxiv.org/abs/1902.07808",
    "in_text": "Vitousek et al. (2019)",
    "type": "preprint",
    "read": "extracted",
    "trust": "high",
    "trust_reason": "own performance measurements on benchmark programs, method and baselines shown; no stake stated"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "runtime-cost-of-mixing-typing-styles"
   ]
  },
  {
   "id": "type-theory:C-foundations-3",
   "claim": "Martin-Löf’s account treats a proof of an implication from A to B as a method that turns any proof of A into a proof of B.",
   "quote": "a method which takes any proof of A into a proof of B",
   "source": {
    "id": "type-theory:S-foundations-3",
    "key": "martinlof1984",
    "author": "Martin-Löf, Per",
    "year": "1984",
    "title": "Intuitionistic Type Theory",
    "publisher": "Bibliopolis",
    "url": "https://archive-pml.github.io/martin-lof/pdfs/Bibliopolis-Book-retypeset-1984.pdf",
    "in_text": "Martin-Löf (1984)",
    "type": "book",
    "read": "raw",
    "trust": "high",
    "trust_reason": "author's own theory and rules, described without evaluating them; lecture notes"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "propositions-as-types"
   ]
  },
  {
   "id": "type-theory:C-foundations-4",
   "claim": "Martin-Löf’s account treats a proof of a universally quantified proposition as a function that produces a proof for each individual.",
   "quote": "(λx) b(x), where b(a) is a proof of B(a) provided a is an individual",
   "source": {
    "id": "type-theory:S-foundations-3",
    "key": "martinlof1984",
    "author": "Martin-Löf, Per",
    "year": "1984",
    "title": "Intuitionistic Type Theory",
    "publisher": "Bibliopolis",
    "url": "https://archive-pml.github.io/martin-lof/pdfs/Bibliopolis-Book-retypeset-1984.pdf",
    "in_text": "Martin-Löf (1984)",
    "type": "book",
    "read": "raw",
    "trust": "high",
    "trust_reason": "author's own theory and rules, described without evaluating them; lecture notes"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "propositions-as-types"
   ]
  },
  {
   "id": "type-theory:C-concepts-41",
   "claim": "With explicit structural rules in proofs, distinct proof derivations can map to the same lambda term.",
   "quote": "As soon as explicit structural rules are introduced into proofs, however, there will be multiple proofs that map to the same lambda term",
   "source": {
    "id": "type-theory:S-concepts-22",
    "key": "murfet2026",
    "author": "Murfet, Daniel and Troiani, William Anthony",
    "year": "2026",
    "title": "Gentzen–Mints–Zucker duality",
    "publisher": "Mathematical Structures in Computer Science, 36, e7",
    "url": "https://www.cambridge.org/core/journals/mathematical-structures-in-computer-science/article/gentzenmintszucker-duality/7C3940A71443083C67F05A9B9FFFC155",
    "in_text": "Murfet & Troiani (2026)",
    "type": "peer-reviewed",
    "read": "extracted",
    "trust": "high",
    "trust_reason": "own mathematical result; proofs given in full; no stake"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "propositions-as-types"
   ]
  },
  {
   "id": "type-theory:C-concepts-42",
   "claim": "In the usual natural-deduction formulation the correspondence gives a one-to-one mapping between proofs and lambda terms.",
   "quote": "The Curry–Howard correspondence gives a bijection between natural deduction proofs and lambda terms",
   "source": {
    "id": "type-theory:S-concepts-22",
    "key": "murfet2026",
    "author": "Murfet, Daniel and Troiani, William Anthony",
    "year": "2026",
    "title": "Gentzen–Mints–Zucker duality",
    "publisher": "Mathematical Structures in Computer Science, 36, e7",
    "url": "https://www.cambridge.org/core/journals/mathematical-structures-in-computer-science/article/gentzenmintszucker-duality/7C3940A71443083C67F05A9B9FFFC155",
    "in_text": "Murfet & Troiani (2026)",
    "type": "peer-reviewed",
    "read": "extracted",
    "trust": "high",
    "trust_reason": "own mathematical result; proofs given in full; no stake"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "propositions-as-types"
   ]
  },
  {
   "id": "type-theory:C-foundations-10",
   "claim": "Girard’s System F and de Bruijn’s Automath influenced Coquand’s Theory of Constructions.",
   "quote": "presented in his PhD thesis by Thierry Coquand, with influences from Girard's system F and de Bruijn's Automath.",
   "source": {
    "id": "type-theory:S-foundations-6",
    "key": "coquand2015",
    "author": "Coquand, Thierry and Huet, Gérard and Paulin-Mohring, Christine",
    "year": "2015",
    "title": "Early history of Coq",
    "publisher": "Coq 8.18+rc1 documentation",
    "url": "https://rocq-prover.org/doc/V8.18%2Brc1/refman/history.html",
    "in_text": "Coquand et al. (2015)",
    "type": "documentation",
    "read": "raw",
    "trust": "high",
    "trust_reason": "maintainers describe own product history; no evaluation or results; no standing issues"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "proof-assistants"
   ]
  },
  {
   "id": "type-theory:C-foundations-13",
   "claim": "Early Coq separated proof generation from checking: after tactics synthesized a proof term, the trusted engine checked the entire term.",
   "quote": "Once a complete proof term was synthesized with the help of tactics, it was entirely re-checked by the engine.",
   "source": {
    "id": "type-theory:S-foundations-6",
    "key": "coquand2015",
    "author": "Coquand, Thierry and Huet, Gérard and Paulin-Mohring, Christine",
    "year": "2015",
    "title": "Early history of Coq",
    "publisher": "Coq 8.18+rc1 documentation",
    "url": "https://rocq-prover.org/doc/V8.18%2Brc1/refman/history.html",
    "in_text": "Coquand et al. (2015)",
    "type": "documentation",
    "read": "raw",
    "trust": "high",
    "trust_reason": "maintainers describe own product history; no evaluation or results; no standing issues"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "proof-assistants"
   ]
  },
  {
   "id": "type-theory:C-foundations-18",
   "claim": "Coquand and Huet’s Calculus of Constructions represents constructive proofs as lambda expressions with the propositions as their types.",
   "quote": "The calculus of constructions is a higher-order formalism for constructive proofs in natural deduction style. Every proof is a λ-expression, typed with propositions of the underlying logic.",
   "source": {
    "id": "type-theory:S-foundations-9",
    "key": "coquand1988",
    "author": "Coquand, Thierry and Huet, Gérard",
    "year": "1988",
    "title": "The Calculus of Constructions",
    "publisher": "Information and Computation, 76, 95–120",
    "url": "https://courses.grainger.illinois.edu/cs522/sp2016/TheCalculusOfConstructions.pdf",
    "in_text": "Coquand & Huet (1988)",
    "type": "peer-reviewed",
    "read": "raw",
    "trust": "high",
    "trust_reason": "defines own calculus with proofs shown; no stake"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "proof-assistants"
   ]
  },
  {
   "id": "type-theory:C-foundations-22",
   "claim": "De Bruijn’s Automath was used to check mathematical material, and it inspired the goals and syntax of the Calculus of Constructions that underlies early Coq.",
   "quote": "was used for checking many specimina of mathematical content. Its goals and syntactic ideas inspired Th. Coquand and G. Huet to develop the calculus of constructions, CC",
   "source": {
    "id": "type-theory:S-foundations-11",
    "key": "debruijn2022",
    "author": "Geuvers, Herman and Nederpelt, Rob",
    "year": "2022",
    "title": "Characteristics of de Bruijn's early proof checker Automath",
    "publisher": "arXiv",
    "url": "https://arxiv.org/abs/2203.01173v1",
    "in_text": "Geuvers & Nederpelt (2022)",
    "type": "peer-reviewed",
    "read": "abstract",
    "trust": "medium",
    "trust_reason": "historical/analytical paper arguing and describing Automath, no results of its own; abstract only; page names no published version"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "proof-assistants"
   ]
  },
  {
   "id": "type-theory:C-foundations-11",
   "claim": "The first version of the software that developed into Coq was a prototype type checker for the Theory of Constructions.",
   "quote": "This software is a prototype type checker for a higher-order logical formalism known as the Theory of Constructions",
   "source": {
    "id": "type-theory:S-foundations-6",
    "key": "coquand2015",
    "author": "Coquand, Thierry and Huet, Gérard and Paulin-Mohring, Christine",
    "year": "2015",
    "title": "Early history of Coq",
    "publisher": "Coq 8.18+rc1 documentation",
    "url": "https://rocq-prover.org/doc/V8.18%2Brc1/refman/history.html",
    "in_text": "Coquand et al. (2015)",
    "type": "documentation",
    "read": "raw",
    "trust": "high",
    "trust_reason": "maintainers describe own product history; no evaluation or results; no standing issues"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "proof-assistants"
   ]
  },
  {
   "id": "type-theory:C-foundations-12",
   "claim": "Adding primitive inductive types to the Calculus of Constructions led to the Calculus of Inductive Constructions, which Coq implemented from version 5.",
   "quote": "This led to the Calculus of Inductive Constructions, logical formalism implemented in Versions 5 upward of the system",
   "source": {
    "id": "type-theory:S-foundations-6",
    "key": "coquand2015",
    "author": "Coquand, Thierry and Huet, Gérard and Paulin-Mohring, Christine",
    "year": "2015",
    "title": "Early history of Coq",
    "publisher": "Coq 8.18+rc1 documentation",
    "url": "https://rocq-prover.org/doc/V8.18%2Brc1/refman/history.html",
    "in_text": "Coquand et al. (2015)",
    "type": "documentation",
    "read": "raw",
    "trust": "high",
    "trust_reason": "maintainers describe own product history; no evaluation or results; no standing issues"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "proof-assistants"
   ]
  },
  {
   "id": "type-theory:C-concepts-38",
   "claim": "Coquand and Huet distinguish their calculus from Martin-Löf’s system by the treatment of products over all types.",
   "quote": "in Martin-Lofs system, [A : Uo]A is of type CT, and not of type U,. Here, [A : *]A is of type *.",
   "source": {
    "id": "type-theory:S-foundations-9",
    "key": "coquand1988",
    "author": "Coquand, Thierry and Huet, Gérard",
    "year": "1988",
    "title": "The Calculus of Constructions",
    "publisher": "Information and Computation, 76, 95–120",
    "url": "https://courses.grainger.illinois.edu/cs522/sp2016/TheCalculusOfConstructions.pdf",
    "in_text": "Coquand & Huet (1988)",
    "type": "peer-reviewed",
    "read": "raw",
    "trust": "high",
    "trust_reason": "defines own calculus with proofs shown; no stake"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "proof-assistants"
   ]
  },
  {
   "id": "type-theory:C-foundations-14",
   "claim": "Coq checked a formalization of the proof of the Four Colour Theorem.",
   "quote": "a successful formalization of the proof of the Four Colour Theorem, which was fully checked by the Coq v7.3.1 proof assistant",
   "source": {
    "id": "type-theory:S-foundations-7",
    "key": "gonthiernd",
    "author": "Gonthier, Georges",
    "year": "n.d.",
    "title": "A computer-checked proof of the Four Colour Theorem",
    "publisher": "Microsoft Research Cambridge",
    "url": "https://www.cl.cam.ac.uk/~lp15/Pages/4colproof.pdf",
    "in_text": "Gonthier (n.d.)",
    "type": "other",
    "read": "raw",
    "trust": "high",
    "trust_reason": "own machine-checked proof report; method described; no stake"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "proof-assistants"
   ]
  },
  {
   "id": "type-theory:C-foundations-25",
   "claim": "Lean began in 2013 as an interactive theorem prover based on the Calculus of Inductive Constructions.",
   "quote": "The Lean project³ started in 2013 [9] as an interactive theorem prover based on the Calculus of Inductive Constructions [4] (CIC).",
   "source": {
    "id": "type-theory:S-foundations-14",
    "key": "demoura2021",
    "author": "de Moura, Leonardo and Ullrich, Sebastian",
    "year": "2021",
    "title": "The Lean 4 Theorem Prover and Programming Language (System Description)",
    "publisher": "Automated Deduction – CADE 28",
    "url": "https://lean-lang.org/papers/lean4.pdf",
    "in_text": "de Moura & Ullrich (2021)",
    "type": "other",
    "read": "raw",
    "trust": "high",
    "trust_reason": "describes own system without evaluating it; no venue named on page; no results"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "proof-assistants"
   ]
  },
  {
   "id": "type-theory:C-concepts-24",
   "claim": "A dependent type can use a value as an index, as when Agda distinguishes vector types by length.",
   "quote": "Dependent types are introduced by having families of types indexed by objects in another type. For instance, we can define the type `Vec n` of vectors of length `n`.",
   "source": {
    "id": "type-theory:S-concepts-12",
    "key": "agdand",
    "author": "{Agda developers}",
    "year": "n.d.",
    "title": "What is Agda?",
    "publisher": "Agda 2.6.0 documentation",
    "url": "https://agda.readthedocs.io/en/v2.6.0/getting-started/what-is-agda.html",
    "in_text": "developers (n.d.)",
    "type": "documentation",
    "read": "extracted",
    "trust": "high",
    "trust_reason": "project describes own language; general advantage claims are not results; no evaluation"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "what-else-types-can-express"
   ]
  },
  {
   "id": "type-theory:C-concepts-32",
   "claim": "In Linear Haskell, consuming the result of a linear function once guarantees that it consumes its argument once.",
   "quote": "Meaning of the linear arrow: f :: s ⊸ t guarantees that if (f u) is consumed exactly once, then the argument u is consumed exactly once.",
   "source": {
    "id": "type-theory:S-concepts-18",
    "key": "bernardy2018",
    "author": "Bernardy, Jean-Philippe and Boespflug, Mathieu and Newton, Ryan R. and Peyton Jones, Simon and Spiwack, Arnaud",
    "year": "2018",
    "title": "Linear Haskell: Practical Linearity in a Higher-Order Polymorphic Language",
    "publisher": "Proceedings of the ACM on Programming Languages",
    "url": "https://arxiv.org/pdf/1710.09756",
    "in_text": "Bernardy et al. (2018)",
    "type": "peer-reviewed",
    "read": "extracted",
    "trust": "high",
    "trust_reason": "own type system with proofs and prototype; method shown; no results on people; no stake"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "what-else-types-can-express"
   ]
  },
  {
   "id": "type-theory:C-concepts-33",
   "claim": "The Linear Haskell authors implemented the proposed type system in GHC.",
   "quote": "we implemented our type system in GHC, the leading Haskell compiler",
   "source": {
    "id": "type-theory:S-concepts-18",
    "key": "bernardy2018",
    "author": "Bernardy, Jean-Philippe and Boespflug, Mathieu and Newton, Ryan R. and Peyton Jones, Simon and Spiwack, Arnaud",
    "year": "2018",
    "title": "Linear Haskell: Practical Linearity in a Higher-Order Polymorphic Language",
    "publisher": "Proceedings of the ACM on Programming Languages",
    "url": "https://arxiv.org/pdf/1710.09756",
    "in_text": "Bernardy et al. (2018)",
    "type": "peer-reviewed",
    "read": "extracted",
    "trust": "high",
    "trust_reason": "own type system with proofs and prototype; method shown; no results on people; no stake"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "what-else-types-can-express"
   ]
  },
  {
   "id": "type-theory:C-foundations-35",
   "claim": "Homotopy type theory connects homotopy theory to type theory; its univalence axiom allows isomorphic structures to be identified.",
   "quote": "Homotopy type theory is a new branch of mathematics, based on a recently discovered connection between homotopy theory and type theory ... “univalence axiom” implies that isomorphic structures can be identified.",
   "source": {
    "id": "type-theory:S-foundations-21",
    "key": "univalent2013",
    "author": "{The Univalent Foundations Program}",
    "year": "2013",
    "title": "Homotopy Type Theory: Univalent Foundations of Mathematics",
    "publisher": "arXiv",
    "url": "https://arxiv.org/abs/1308.0729",
    "in_text": "Program (2013)",
    "type": "preprint",
    "read": "abstract",
    "trust": "medium",
    "trust_reason": "own exposition on arXiv; page shows abstract only, no results or method; no published version named"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "what-else-types-can-express"
   ]
  }
 ],
 "sources": {
  "agdand": {
   "grade": "solid",
   "why": "Documentation, read in large part."
  },
  "bauman2017": {
   "grade": "solid",
   "why": "Peer-reviewed, abstract only."
  },
  "berger2019": {
   "grade": "solid",
   "why": "Peer-reviewed, read in large part."
  },
  "berger2019b": {
   "grade": "medium",
   "why": "Preprint, read in large part."
  },
  "bernardy2018": {
   "grade": "solid",
   "why": "Peer-reviewed, read in large part."
  },
  "bogner2022": {
   "grade": "solid",
   "why": "Peer-reviewed, read in large part."
  },
  "cardelli1985": {
   "grade": "medium",
   "why": "Peer-reviewed, read in large part."
  },
  "cardelli1997": {
   "grade": "medium",
   "why": "Peer-reviewed, read in large part."
  },
  "church1940": {
   "grade": "solid",
   "why": "Peer-reviewed, read in full."
  },
  "coquand1988": {
   "grade": "solid",
   "why": "Peer-reviewed, read in full."
  },
  "coquand2015": {
   "grade": "solid",
   "why": "Documentation, read in full."
  },
  "damas1982": {
   "grade": "solid",
   "why": "Peer-reviewed, read in large part."
  },
  "debruijn2022": {
   "grade": "medium",
   "why": "Peer-reviewed, abstract only."
  },
  "demoura2021": {
   "grade": "solid",
   "why": "Read in full."
  },
  "gao2017": {
   "grade": "solid",
   "why": "Peer-reviewed, read in large part."
  },
  "gonthiernd": {
   "grade": "solid",
   "why": "Read in full."
  },
  "greenman2019": {
   "grade": "medium",
   "why": "Peer-reviewed, read in large part."
  },
  "hanenberg2010": {
   "grade": "solid",
   "why": "Peer-reviewed, read in large part."
  },
  "hanenberg2014": {
   "grade": "medium",
   "why": "Peer-reviewed, read in large part."
  },
  "jung2018": {
   "grade": "solid",
   "why": "Peer-reviewed, read in large part."
  },
  "kamareddine2002": {
   "grade": "solid",
   "why": "Peer-reviewed, read in full."
  },
  "khan2022": {
   "grade": "solid",
   "why": "Peer-reviewed, read in large part."
  },
  "krishnamurthind": {
   "grade": "medium",
   "why": "Book, read in large part."
  },
  "martinlof1984": {
   "grade": "solid",
   "why": "Book, read in full."
  },
  "mayer2012": {
   "grade": "solid",
   "why": "Peer-reviewed, read in large part."
  },
  "milner1978": {
   "grade": "solid",
   "why": "Peer-reviewed, read in large part."
  },
  "murfet2026": {
   "grade": "solid",
   "why": "Peer-reviewed, read in large part."
  },
  "peytonjones2007": {
   "grade": "solid",
   "why": "Peer-reviewed, read in large part."
  },
  "ray2014": {
   "grade": "solid",
   "why": "Peer-reviewed, read in large part."
  },
  "ray2017": {
   "grade": "solid",
   "why": "Peer-reviewed, read in large part."
  },
  "ray2019": {
   "grade": "medium",
   "why": "Preprint, abstract only."
  },
  "russell1908": {
   "grade": "solid",
   "why": "Peer-reviewed, read in full."
  },
  "siegmund2020": {
   "grade": "solid",
   "why": "Peer-reviewed, read in full."
  },
  "siek2006": {
   "grade": "solid",
   "why": "Peer-reviewed, read in large part."
  },
  "siek2015": {
   "grade": "medium",
   "why": "Peer-reviewed, abstract only."
  },
  "takikawa2016": {
   "grade": "solid",
   "why": "Peer-reviewed, read in large part."
  },
  "tobinhochstadt2008": {
   "grade": "medium",
   "why": "Peer-reviewed, read in large part."
  },
  "typescriptndb": {
   "grade": "solid",
   "why": "Documentation, read in large part."
  },
  "univalent2013": {
   "grade": "medium",
   "why": "Preprint, abstract only."
  },
  "vitousek2019": {
   "grade": "solid",
   "why": "Preprint, read in large part."
  },
  "wadler2007": {
   "grade": "solid",
   "why": "Peer-reviewed, read in full."
  },
  "wright1994": {
   "grade": "solid",
   "why": "Peer-reviewed, read in large part."
  },
  "xu2023": {
   "grade": "medium",
   "why": "Peer-reviewed, abstract only."
  },
  "zhang2020b": {
   "grade": "solid",
   "why": "Peer-reviewed, read in large part."
  }
 }
}
