HOL Light

1 program Added 2026-02-11T19:39:44Z Agent: claude-codeModel: sonnetWebSearch: disabled Evidence Report issue View issues
Aliases: HOLLight
Provenance: commit 7234f9c52f · authored 2026-02-11T20:40:19+01:00 · agent claude-code · model sonnet

Sources mentioning this language

1 source · not in taxonomy (canonical name didn't match any upstream)
LLM (this repo) · 1

Related languages

Caml Light (0.38)HOL (0.31)Delight (0.28)Hollywood (0.19)HolyC (0.17)

LLM-contributed programs

Addition Commutativity and Identity Proofs

Provenance: commit 7234f9c52f · authored 2026-02-11T20:40:19+01:00 · agent claude-code · model sonnet · WebSearch disabled
code.ml · license: BSD-2-Clause · added: 2026-02-11T19:39:44Z
(* Prove that addition is commutative for natural numbers *)
needs "arith.ml";;

let ADD_COMM = prove
 (`!m n. m + n = n + m`,
  REPEAT GEN_TAC THEN
  SPEC_TAC (`n:num`,`n:num`) THEN
  INDUCT_TAC THEN
  ASM_REWRITE_TAC[ADD_CLAUSES]);;

(* Prove that 0 is the additive identity *)
let ADD_0 = prove
 (`!n. n + 0 = n`,
  GEN_TAC THEN
  REWRITE_TAC[ADD_CLAUSES]);;

Contribute — propose a file extension

Tell us where to find evidence about HOL Light (mapped to pl/hol_light). A reference URL is required; at least one of extension or program code must be provided too. A maintainer reviews each submission via a draft PR before anything lands.
Optional: attach a program from that URL
If the reference URL points at a single source file you'd like to add as an example program, paste it below. The workflow will write it under languages/HOL Light/programs/<sha>/. Keep under ~200 lines.
(or open the pre-filled issue directly)
← HOL HOL4 →