# Logic in computer science

<https://en.wikipedia.org/wiki/Logic_in_computer_science> <https://en.wikipedia.org/wiki/Category:Logic_in_computer_science>

Logic in computer science covers the overlap between the field of logic and that of CS. The topic can essentially be divided into 3 main areas:

* Theoretical foundations and analysis
* Use of computer technology to aid logicians
* Use of concepts from logic for computer applications

*Logic in CS*, or *computational logic*, is a field on the intersection between mathematical logic and computer science containing:

* investigations into logic that are guided by applications in CS:
  * Rewriting systems
  * Combinatory logic
  * Abstract interpretation
* Fundamental concepts in CS that are naturally expressible in logical form:
  * Type theory
  * Formal semantics of programming languages
  * Hoare logic
  * Logic programming
* Applications of fundamental concepts derived from the theory of computation:
  * Curry-Howard correspondence
  * Game semantics
* Tools for logicians considered as applied CS:
  * Automated theorem proving
  * Model checking


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://mandober.gitbook.io/math-debrief/300-logic/terms/logic-in-cs.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
