Dafny vs HOL4

Dafny

5.9 #11 in Formal Verification Tools

About Dafny

HOL4

5.9 #12 in Formal Verification Tools

About HOL4
DafnyHOL4
Free planNoNo
Free trialNoNo
Paid from——
Open sourceNoNo
PlatformsWindows, macOS, LinuxWindows, Linux
Free planYesYes
Verification methoddeductive—
Supported formalismscontractstheorem-proving
CounterexamplesYesYes
Input languagesDafnyHOL higher-order logic; Standard ML
Deploymentself-hostedself-hosted
Proof artifacts—Yes

Both are listed in Best Formal Verification Tools. On Samsung Mobile US Press, Dafny scores higher on our published basis.