123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687(**************************************************************************)(* This file is part of the Codex semantics library. *)(* *)(* Copyright (C) 2013-2025 *)(* CEA (Commissariat à l'énergie atomique et aux énergies *)(* alternatives) *)(* *)(* you can redistribute it and/or modify it under the terms of the GNU *)(* Lesser General Public License as published by the Free Software *)(* Foundation, version 2.1. *)(* *)(* It is distributed in the hope that it will be useful, *)(* but WITHOUT ANY WARRANTY; without even the implied warranty of *)(* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *)(* GNU Lesser General Public License for more details. *)(* *)(* See the GNU Lesser General Public License version 2.1 *)(* for more details (enclosed in the file LICENSE). *)(* *)(**************************************************************************)openLattice_sig(* Dummy version of the lattices to help get started.
We use generator to help understand where the dummy value was
implemented. *)letnot_implementedlocfunc=failwith("In module instantiated "^loc^":\nfunction "^func^" not implemented");;moduleEnum_Lattice(UnimplementedId:sigvalloc:stringend):ENUM_LATTICE=structincludeUnit_Latticelettop~size=not_implementedUnimplementedId.loc__FUNCTION__letis_singleton_=not_implementedUnimplementedId.loc__FUNCTION__letfold_on_cases_=not_implementedUnimplementedId.loc__FUNCTION__endmoduleBitvector_Lattice(UnimplementedId:sigtypetvalloc:stringend):BITVECTOR_LATTICEwithtypet=UnimplementedId.t=structtypet=UnimplementedId.tletequal_=not_implementedUnimplementedId.loc__FUNCTION__letcompare_=not_implementedUnimplementedId.loc__FUNCTION__lethash_=not_implementedUnimplementedId.loc__FUNCTION__letis_singleton~size_x=not_implementedUnimplementedId.loc__FUNCTION__letis_empty~size_x=not_implementedUnimplementedId.loc__FUNCTION__letfold_crop_signed~size_x~inf~sup_acc_f=not_implementedUnimplementedId.loc__FUNCTION__letfold_crop_unsigned~size_x~inf~sup_acc_f=not_implementedUnimplementedId.loc__FUNCTION__letis_bottom~size=not_implementedUnimplementedId.loc__FUNCTION__letbottom~size=not_implementedUnimplementedId.loc__FUNCTION__letincludes~size=not_implementedUnimplementedId.loc__FUNCTION__lettop~size=not_implementedUnimplementedId.loc__FUNCTION__letinter~size=not_implementedUnimplementedId.loc__FUNCTION__letjoin~size=not_implementedUnimplementedId.loc__FUNCTION__letpretty~size=not_implementedUnimplementedId.loc__FUNCTION__letwiden~size~previous_=not_implementedUnimplementedId.loc__FUNCTION__letincludes_or_widen~size~previous_=not_implementedUnimplementedId.loc__FUNCTION__letsingleton~size=not_implementedUnimplementedId.loc__FUNCTION__letto_known_bits~size=not_implementedUnimplementedId.loc__FUNCTION__letto_unsigned_interval~size=not_implementedUnimplementedId.loc__FUNCTION__letto_signed_interval~size=not_implementedUnimplementedId.loc__FUNCTION__endmoduleInteger_Lattice(UnimplementedId:sigtypetvalloc:stringend):INTEGER_LATTICEwithtypet=UnimplementedId.t=structtypet=UnimplementedId.tletequal_=not_implementedUnimplementedId.loc__FUNCTION__letcompare_=not_implementedUnimplementedId.loc__FUNCTION__lethash_=not_implementedUnimplementedId.loc__FUNCTION__letpretty_=not_implementedUnimplementedId.loc__FUNCTION__letjoin_=not_implementedUnimplementedId.loc__FUNCTION__letincludes_or_widen~previous=not_implementedUnimplementedId.loc__FUNCTION__letincludes_=not_implementedUnimplementedId.loc__FUNCTION__letwiden~previous=not_implementedUnimplementedId.loc__FUNCTION__letinter_=not_implementedUnimplementedId.loc__FUNCTION__letbottom_=not_implementedUnimplementedId.loc__FUNCTION__letis_bottom_=not_implementedUnimplementedId.loc__FUNCTION__lettop_=not_implementedUnimplementedId.loc__FUNCTION__letsingleton_=not_implementedUnimplementedId.loc__FUNCTION__letis_singleton_=not_implementedUnimplementedId.loc__FUNCTION__letfold_crop_=not_implementedUnimplementedId.loc__FUNCTION__end