Why Lean 4 replaced OCaml as my Primary Language 13 Aug, 2025 programming_languages code theorem_proving perspectives As I was reading Hacker News today, I happened to stumble upon an article titled "Why I Chose OCaml as my Primary Language". This was a particularly interesting read for me: over the past few years, I have been gradually transitioning1 my primary language away from OCaml to anoth
Cantorの定理をLeanで示している様子.右側の infoview に今使える仮定と示すべきゴールが常に表示される. Lean は、プログラミング言語の一つである。「衛生的でありながら非常に強力なメタプログラミングフレームワークを備えた純粋関数型プログラミング言語」であり、同時に「Calculus of Inductive Constructions (CIC) と呼ばれる依存型の一種に基づく定理証明支援系」でもあるという2つの顔を持つ。この、汎用プログラミング言語でありながら定理証明支援系でもあるという点は Lean の大きな特徴である。 Lean は純粋関数型プログラミング言語でありながら、標準でループや可変ローカル変数の構文を備えているほか、一定の条件の下で関数アクセスをフィールドアクセスのように書くことができるという構文上の特徴がある。また、「参照カウントに基づいて自動的に破壊
Description 1ML is a reboot of ML starting from first-class modules, and unifies core and module layer into one small and consistent language. It is described in the following papers: Andreas Rossberg. 1ML — core and modules united. ICFP 2015. Andreas Rossberg. 1ML — core and modules united (Extended). 2015. Expanded version including Technical Appendix. Andreas Rossberg. 1ML — core and modules un
Copyright Microsoft Corporation 2023 and Lean FRO, LLC 2023–2025 This is a free book on using Lean as a programming language. All code samples are tested with Lean release 4.21.0.
Lean is an open-source programming language and proof assistant that enables correct, maintainable, and formally verified code -- 'Grind' efficiently manages complex pattern matching and -- case analysis beyond standard tactics. example (x : Nat) : 0 < match x with | 0 => 1 | n+1 => x + n := by grind -- Automatically solves systems of linear inequalities. example (x y : Int) : 27 ≤ 11*x + 13*y → 1
Introduction F* (pronounced F star) is a general-purpose proof-oriented programming language, supporting both purely functional and effectful programming. It combines the expressive power of dependent types with proof automation based on SMT solving and tactic-based interactive theorem proving. F* programs compile, by default, to OCaml. Various fragments of F* can also be extracted to F#, to C or
About the zoo The Programming Languages Zoo is a collection of miniature programming languages which demonstrates various concepts and techniques used in programming language design and implementation. It is a good starting point for those who would like to implement their own programming language, or just learn how it is done. The following features are demonstrated: functional, declarative, obje
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く