# ott を Homebrew, apt, MacPorts, Nix でインストール

ott のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

## インストール

```sh
sudo av install brew:ott
```

追加のインストールコマンド:

### macOS

- Homebrew (100%):

```sh
brew install ott
```

  証拠: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install ott
```

  証拠: MacPorts ports tree: devel/ott/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- Debian apt (92%):

```sh
sudo apt install libcoq-ott
```

  証拠: Debian stable package indexes: libcoq-ott from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- Nix (92%):

```sh
nix profile install nixpkgs#ott
```

  証拠: nixpkgs package indexes: pkgs/by-name/ot/ott/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

## パッケージ情報

- **パッケージキー:** brew:ott
- **パッケージマネージャ:** Homebrew
- **パッケージマネージャページ:** <https://formulae.brew.sh/formula/ott>
- **バージョン:** 0.34
- **ソース概要:** Tool for writing definitions of programming languages and calculi
- **ホームページ:** <https://www.cl.cam.ac.uk/~pes20/ott/>
- **リポジトリ:** <https://github.com/ott-lang/ott>
- **上流ドキュメント:** <https://github.com/ott-lang/ott#readme>
- **ライセンス:** BSD-3-Clause
- **ソースアーカイブ:** <https://github.com/ott-lang/ott/archive/refs/tags/0.34.tar.gz>
- **最終更新:** 2026-06-22T14:05:47-07:00
- **生成日時:** 2026-07-08T07:18:31+00:00

## 実行可能ファイル

- ott (cli)
- ott (エイリアス)

## ビルド依存関係

- gmp
- ocaml
- opam
- pkgconf

## インストール挙動

- post-install フック: 未定義
- Bottle: 利用可能 対象 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, sonoma, ventura, x86_64_linux

## バージョンと鮮度

- ページ生成日: 2026-07-08
- マネージャ版: 0.34
- マネージャ更新日: 2026-06-22
- ローカルデータ: OK
- 上流リポジトリ: https://github.com/ott-lang/ott
- 検出された最新: 0.34 (最新)
## プロジェクトの歴史と使われ方

Ott is a tool and metalanguage for writing definitions of programming languages and calculi. It lets semanticists write syntax, binding structure, and inference rules once, then generate LaTeX, Coq, HOL, Isabelle/HOL, Lem, OCaml, and related artifacts.

### プロジェクトの歴史

Ott was principally developed by Peter Sewell, Francesco Zappa Nardelli, and Scott Owens, with a wider contributor group. Its design was published at ICFP 2007 and then as a Journal of Functional Programming article in January 2010.

The project arose from a specific pain point in programming-language research: full-scale semantic definitions are valuable but hard to keep consistent when they live only in informal mathematics or inside a single proof assistant. Ott's answer was a readable ASCII notation plus sanity checking and code generation into both publication and mechanized-proof formats.

### 採用の歴史

The Ott manual and repository document examples spanning untyped and simply typed lambda calculi, ML polymorphism, POPLmark F<:, TAPL systems, a Leroy-style module system, Lightweight Java, Java module-system work, and a substantial OCaml-light semantics. The JFP paper reports larger case studies including OCaml light with 310 rules and mechanized soundness results.

Ott's adoption is strongest in programming-languages research, where the same source definition can support papers, collaborative editing, and proof assistant artifacts. The 2010 'Ott or Nott' workshop abstract is a useful adoption signal: it presents Ott as part of a working language-design process, not merely as a backend generator.

### 使われ方

A typical user writes an .ott source file describing object-language syntax and semantic judgments, then invokes ott with one or more -o outputs such as .tex, .v, .thy, HOL script, Lem, or OCaml files. The tool can also filter embedded terms in LaTeX, Coq, Isabelle/HOL, Lem, or OCaml source.

The generated artifacts reduce drift between the published rules, the parser-level syntax, and the formal definitions used for mechanized reasoning. For package users, the command-line binary is the bridge between a research notation and several proof and documentation ecosystems.

### パッケージ好きにとっての重要性

Ott is a rare package that is both a compiler-like CLI and a research infrastructure artifact. Its package value comes from reproducibility: a language-definition source can be checked, regenerated, versioned, and consumed by multiple proof assistants and typesetting workflows.

### タイムライン

- 2007: Ott was presented at ICFP as 'Effective Tool Support for the Working Semanticist'.
- 2010: The Journal of Functional Programming article expanded the Ott design, motivation, and case studies.
- 2010: 'Ott or Nott' discussed the experience of using Ott in programming-language design and mechanized-metatheory workflows.
- 2024: The GitHub README stated that Ott remained in continuous use.

### Related projects

- Ott sits alongside Coq, HOL, Isabelle/HOL, Lem, OCaml, LaTeX, POPLmark, TAPL-style calculi, Lightweight Java, and OCaml-light semantics work.

### ソース

- <https://dl.acm.org/doi/10.1145/1291220.1291155>
- <https://github.com/ott-lang/ott>
- <https://www.cambridge.org/core/journals/journal-of-functional-programming/article/ott-effective-tool-support-for-the-working-semanticist/4F02FB206B5209D42B3BF2ED2240A802>
- <https://www.cis.upenn.edu/~bcpierce/wmm/wmm10/sewell.pdf>
- <https://www.cl.cam.ac.uk/~pes20/ott/top2.html>


## セキュリティノート

generalized runtime or code generation signal.

- **Geiger リスク:** yellow / 中
- generalized runtime or code generation signal

## ソースデータベース詳細

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** ott
- **Version Scheme:** 0
- **Revision:** 0
- **Head Version:** HEAD
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** head, stable

## 他のパッケージマネージャ記録

- Debian apt - libcoq-ott - 0.34+ds-1+b4: normalized package name match | Debian stable package indexes: libcoq-ott from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Ott tool (Coq plugin) | https://github.com/ott-lang/ott
- Debian apt - ott-tools - 0.34+ds-1+b4: normalized package name match | Debian stable package indexes: ott-tools from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Ott tool (executable) | https://github.com/ott-lang/ott
- Nix - ott: normalized package name match | nixpkgs package indexes: pkgs/by-name/ot/ott/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - libcoq-ott - 0.33+ds-2build3: normalized package name match | Ubuntu 24.04 LTS package indexes: libcoq-ott from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Ott tool (Coq plugin) | https://github.com/ott-lang/ott
- Ubuntu apt - ott-tools - 0.33+ds-2build3: normalized package name match | Ubuntu 24.04 LTS package indexes: ott-tools from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Ott tool (executable) | https://github.com/ott-lang/ott
- MacPorts - ott: normalized package name match | MacPorts ports tree: devel/ott/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## 関連リンク

- [Secret-risk packages](https://www.automicvault.com/ja/pkg/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [Terminal utility packages](https://www.automicvault.com/ja/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Language runtime packages](https://www.automicvault.com/ja/pkg/language-runtime-packages/) - Matched language runtime, compiler, or interpreter metadata.
- [Networking and protocol packages](https://www.automicvault.com/ja/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [ocaml](https://www.automicvault.com/ja/pkg/brew/ocaml/) - Build dependency declared by Homebrew.
- [opam](https://www.automicvault.com/ja/pkg/brew/opam/) - Build dependency declared by Homebrew.
- [pkgconf](https://www.automicvault.com/ja/pkg/brew/pkgconf/) - Build dependency declared by Homebrew.
- [acl2](https://www.automicvault.com/ja/pkg/brew/acl2/) - Shares av.db curated category or tags: cli, formal-methods, science.
- [depqbf](https://www.automicvault.com/ja/pkg/brew/depqbf/) - Shares av.db curated category or tags: cli, formal-methods, science.
- [ltl2ba](https://www.automicvault.com/ja/pkg/brew/ltl2ba/) - Shares av.db curated category or tags: cli, formal-methods, science.
- [yices2](https://www.automicvault.com/ja/pkg/brew/yices2/) - Shares av.db curated category or tags: cli, formal-methods, science.
- [z3](https://www.automicvault.com/ja/pkg/brew/z3/) - Shares av.db curated category or tags: cli, formal-methods, science.
- [rocq](https://www.automicvault.com/ja/pkg/brew/rocq/) - Shares av.db curated category or tags: cli, formal-methods, science.
- [rocq-elpi](https://www.automicvault.com/ja/pkg/brew/rocq-elpi/) - Shares av.db curated category or tags: cli, formal-methods, science.
- [arxiv_latex_cleaner](https://www.automicvault.com/ja/pkg/brew/arxiv-latex-cleaner/) - Shares av.db curated category or tags: cli, latex, science.

## Combined YAML source

View the package source record on GitHub. [combined/ott.yml](https://github.com/automic-vault/db/blob/main/combined/ott.yml)


## ソース

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- curated package history
- package version freshness
- av.db category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
