12345678910111213141516171819202122(* SPDX-License-Identifier: MIT *)(* Copyright (C) 2023-2026 formalsec *)(* Written by Hichem Rami Ait El Hara *)(* Dolmen's binders *)typet=|Forall|Exists|Let_in[@@derivingord]letequalab=match(a,b)with|Forall,Forall|Exists,Exists|Let_in,Let_in->true|(Forall|Exists|Let_in),_->falselethash=functionForall->0|Exists->1|Let_in->2letppfmt=function|Forall->Fmt.stringfmt"forall"|Exists->Fmt.stringfmt"exists"|Let_in->Fmt.stringfmt"let"