665 Commits (cbfb9612e5fb29ed1b90e8133eeff4ed2b526532)

Author SHA1 Message Date
Josh Berdine a4e523b5b6 [sledge] Rename `*_preserves_phys_equal` to `*_endo` and clarify docs
5 years ago
Josh Berdine ec52259d31 [sledge] Substitute out alias of option when including Monad_syntax
5 years ago
Josh Berdine 1ae192dc0e [sledge] Use __LOC__ for Not_found_s
5 years ago
Josh Berdine ef0dfe0d70 [sledge] Fix doc of List.remove_exn
5 years ago
Josh Berdine d1de5db6c8 [sledge] Document Equality variable context handling
5 years ago
Josh Berdine 31dd2884f6 [sledge] Use a cookie instead of env var to enable ppx_trace
5 years ago
Josh Berdine 1ce5eb8033 [sledge] Suppress warning on dune build_info compilation
5 years ago
Josh Berdine 1364eccf18 [sledge] No longer need to Marshal with Closures support
5 years ago
Josh Berdine 461f88756d [sledge] Name the sledge library `sledge`
5 years ago
Josh Berdine ed82bca4a5 [sledge] Document that integer division and remainder use truncation semantics
5 years ago
Josh Berdine 3b4b2f3999 [sledge] Add replay debugging for Equality
5 years ago
Josh Berdine e83c6170e5 [sledge] Improve tracing in unit tests
5 years ago
Josh Berdine 9414cb4fb3 [sledge] Implement 'a iarray as ('a, immutable) Array.Permissioned.t
5 years ago
Josh Berdine fe62eeadab [sledge] Cleanup of Import
5 years ago
Josh Berdine 7ab19955bb [sledge] Implement Qset using Import.Map
5 years ago
Josh Berdine d5fe9aa11d [sledge] Define Map as a functor over the Tree underlying Core.Map
5 years ago
Josh Berdine ae3c059fe9 [sledge] Define Set as a functor over the Tree underlying Core.Set
5 years ago
Jules Villard 4e9f34efea [sledge] fix for `Equality.and_term`
5 years ago
Josh Berdine 6504f12029 [sledge] Rename Var.global to Var.is_global
5 years ago
Josh Berdine 9382b8120b [sledge] Improve IArray.map_adjacent
5 years ago
Josh Berdine 2fa0948e8d [sledge] Only fmt one (dbg) context, and suppress diff output
5 years ago
Josh Berdine fe09969a53 [sledge] Move basic function and tuple operations to Import0
5 years ago
Josh Berdine 8d6911416d [sledge] Add util for local exception to return early idiom
5 years ago
Josh Berdine 2ca98c80ff [sledge] Rename vector to iarray
5 years ago
Josh Berdine 2a5e0f692b [sledge] Move dep on Core to just bin
5 years ago
Josh Berdine 4d86832d7a [sledge] Do not open Base globally
5 years ago
Josh Berdine 06e4a2c08c [sledge] Dedup Qset interface
5 years ago
Josh Berdine 434c40e646 [sledge] Do not use Base.Map to implement Qset
5 years ago
Josh Berdine 152cc38e9b [sledge] Dedup Map signature
5 years ago
Josh Berdine 5dbb4a6fc2 [sledge] Dedup Set signature
5 years ago
Josh Berdine 42a8f774fd [sledge] Move Import.Map to separate module
5 years ago
Josh Berdine 252060ac7a [sledge] Remove unused ppx_custom_printf
5 years ago
Josh Berdine 93a9c823fc [sledge] Move Import.Set to separate module
5 years ago
Josh Berdine a4613f001d [sledge] Move Vector.pp out of Import.Vector wrapper
5 years ago
Josh Berdine c47881e664 [sledge] Remove dead Result.pp function
5 years ago
Josh Berdine 04df3ca460 [sledge] Move Import.List to separate module
5 years ago
Josh Berdine 24a26c8a23 [sledge] Move Import.Option to separate module
5 years ago
Josh Berdine 9c77d7b2a4 [sledge] Move some general type definitions from Import to Import0
5 years ago
Josh Berdine 124a1fed20 [sledge] Do not use Base.Set
5 years ago
Josh Berdine 57a8748e9f [sledge] Do not use Base.Map
5 years ago
Josh Berdine 134f9f930e [sledge] Adjust build system to allow building as a vendored dependency
5 years ago
Josh Berdine 8337097cf0 [sledge] Move Domain_itv and dependency on APRON from lib to bin
5 years ago
Josh Berdine 27f93b60da [sledge] Move ctypes dep from lib to bin
5 years ago
Josh Berdine 1c9bafc2a9 [sledge] Add beginnings of HACKING docs
5 years ago
Josh Berdine f5ab894675 [sledge] Dedup preprocess entries in dune files
5 years ago
Josh Berdine 0c7249b992 [sledge] Change build system to not generate dune files
5 years ago
Josh Berdine fff3a491bf [sledge] Bump version of dune language used, and format dune files
5 years ago
Josh Berdine 1798725632 [sledge] Add support to ppx_trace enable via environment variable
5 years ago
Josh Berdine c47199e31c [sledge] Simplify build for models
5 years ago
Josh Berdine 8880dd48eb [sledge] Remove base dep from ppx_trace
5 years ago
Josh Berdine b6ddd8fe8e [sledge] Rearrange into CLI binary and LLVM-independent library
5 years ago
Josh Berdine d5158f0787 [sledge] Move Reg.demangle to frontend
5 years ago
Josh Berdine 5eebe1c733 [sledge] Add entry-points config to Control.exec_opts
5 years ago
Josh Berdine dd026745af [sledge] Remove sledge/bin symlinks
5 years ago
Josh Berdine e6ccd3e497 [sledge] Minor tracing improvements
5 years ago
Josh Berdine 556739e17c [sledge] Minor optimization of Sh.bind_exists
5 years ago
Josh Berdine f80e0977cd [sledge] Make Sh.and_cong robust wrt conjoining to an unsat formula
5 years ago
Josh Berdine 37ddf95a49 [sledge] Strengthen and simplify canonizer for Extract terms
5 years ago
Josh Berdine f8a490d477 [sledge] Enforce variable context conditions in solver goals
5 years ago
Josh Berdine f8f47c0755 [sledge] Fix a few existential context fumbles
5 years ago
Josh Berdine 991c0c66e8 [sledge] Remove unnecessary vocabulary updates
5 years ago
Josh Berdine 8b8e156f83 [sledge] Make Solver.judgment a private type
5 years ago
Josh Berdine 9488a404ff [sledge] Compare logical variables by id only
5 years ago
Josh Berdine 0f1db1bd8b [sledge] Fix potential name clash when executing memmov
5 years ago
Josh Berdine 24c62fd39b [sledge] Strengthen canonizer of Extract terms
5 years ago
Josh Berdine 6a17078bec [sledge] Make context handling in Sh.or_ more robust
5 years ago
Josh Berdine 5d429ea075 [sledge] Improve Equality.extend
5 years ago
Josh Berdine f7707ff4be [sledge] Comments
5 years ago
Josh Berdine c8e2c3f895 [sledge] Detect inconsistent pure constraints during Sh simplification
5 years ago
Josh Berdine fa23e85bb4 [sledge] Dedup equality classes when printing
5 years ago
Josh Berdine 8383dcebb8 [sledge] Simplify states during symbolic execution
5 years ago
Josh Berdine b16e85d10d [sledge] Eliminate redundant existential quantifiers
5 years ago
Josh Berdine e520e8507d [sledge] Update Equality test results
5 years ago
Josh Berdine 9d97507e09 [sledge] Update and add Sh tests
5 years ago
Josh Berdine 33e702cd8b [sledge] Improve Sh printing for Sh-internal tracing
5 years ago
Josh Berdine a6f948c2c3 [sledge] Strengthen handling of existential segments
5 years ago
Josh Berdine b3cdac76e4 [sledge] Remove hacky treatment of tautologous existential equalities
5 years ago
Josh Berdine 80afaaee1b [sledge] Detect unsat subtrahend when subtracting pure terms
5 years ago
Josh Berdine b81fb893ea [sledge] Factor out Sh.and_subst
5 years ago
Josh Berdine fc2dbdd2fc [sledge] Strengthen existential witnessing for memory theory
5 years ago
Josh Berdine 0b88d99c79 [sledge] Strengthen quantifier witnessing
5 years ago
Josh Berdine ae8cd953f8 [sledge] Fix potential unsyncing of var contexts in solver
5 years ago
Josh Berdine a52085a718 [sledge] Fix Equality.canon to handle changing term classification
5 years ago
Josh Berdine 13aa772b68 [sledge] Strengthen normalization of equality between Concats
5 years ago
Josh Berdine 3369b27cf1 [sledge] Reorder Term definitions
5 years ago
Josh Berdine 2be566a09b [sledge] Fix Solver tracing
5 years ago
Josh Berdine 2a0eca669d [sledge] Move mediation between Term and Equality APIs from Sh to Equality
5 years ago
Josh Berdine 29eb8fa876 [sledge] Replace solution substitution trimming with partitioning
5 years ago
Josh Berdine 92b942e4ee [sledge] Simplify terminology from solvable to non-interpreted
5 years ago
Josh Berdine a34236bacd [sledge] Distinguish star and or when computing variable strength
5 years ago
Josh Berdine 63b8db2f8c [sledge] Reformat after promoting tests
5 years ago
Josh Berdine a8200b4957 [sledge] Don't need staged_pps anymore
5 years ago
Josh Berdine 9d3898044d [sledge] Canonize e / -1 to -1×e
5 years ago
Josh Berdine 65f38d68cc [sledge] Refactor to allow more recursion between arithmetic canonizer cases
5 years ago
Josh Berdine 99e6e9494b [sledge] Conditionally ignore equality relation when computing free variables
5 years ago
Scott Owens 8d95ef7e3c [sledge sem] Fix global variables
5 years ago
Josh Berdine 9d12f6502f [sledge] Make aggregate sizes explicit when constructing equalities
5 years ago
Josh Berdine 77cc835199 [sledge] Strengthen Equality.solve_for_vars to concatenate extracts
5 years ago
Josh Berdine f1d94d58b0 [sledge] Strengthen Equality.solve_for_vars for vars under Memory
5 years ago
Josh Berdine 54a3982b1d [sledge] Simplify variable occurrence checking in Equality.solve
5 years ago
Josh Berdine c8ed6dae63 [sledge] Optimize and simplify Equality.solve_interp_eqs
5 years ago
Josh Berdine ffdb429f5e [sledge] Factor solve_poly_eq out of solve_interp_eq
5 years ago
Josh Berdine f3f41fbdf2 [sledge] Filter out trivial pure constraints in Sh.map
5 years ago
Josh Berdine 1e32743312 [sledge] Add Shostak solver for aggregate theory
5 years ago
Josh Berdine 232372f083 [sledge] Factor orient out of solve
5 years ago
Josh Berdine a75f2701c3 [sledge] Lambda-lift Equality.solve_
5 years ago
Josh Berdine a7b0d68574 [sledge] Support Equality.solve generating fresh variables
5 years ago
Josh Berdine 79a74f07c5 [sledge] Pass universal context to Equality.solve
5 years ago
Josh Berdine 06fcb210c9 [sledge] Add Shostak canonizer for aggregate theory
5 years ago
Josh Berdine 7bb1ec073a [sledge] Strengthen Term.invariant on aggregates
5 years ago
Josh Berdine 539b4a0b46 [sledge] Add term to Extract a slice out of an aggregate value
5 years ago
Josh Berdine 8af2a4644a [sledge] Refine dropping of tautologous existential constraints
5 years ago
Josh Berdine 65cff68ae8 [sledge] Strengthen Solver's treatment of existentials using Equality
5 years ago
Josh Berdine 200091fc78 [sledge] Add Equality.Subst.trim
5 years ago
Josh Berdine f0a660792e [sledge] Add Equality.solve_for_vars
5 years ago
Josh Berdine 1afd4f55ba [sledge] Classify Memory and Concat terms as Simplified
5 years ago
Josh Berdine 173a5c0653 [sledge] Exclude equality relation from Sh.fold_vars
5 years ago
Josh Berdine 003479dcc1 [sledge] Factor primitive map function out of Sh.apply_subst
5 years ago
Josh Berdine de52574caf [sledge] Generalize Term.solve_zero_eq to specify solved-for subterm
5 years ago
Josh Berdine c52421bb6f [sledge] Refactor pp_diff from Equality to Map and List
5 years ago
Josh Berdine 5132a46c69 [sledge] Add Map.pp and use it for Var. and Equality.Subst.pp
5 years ago
Josh Berdine 66080d4b44 [sledge] Improve consistency of naming Equality pp functions
5 years ago
Josh Berdine 9b1ff9c012 [sledge] Factor solution substitutions into Equality.Subst
5 years ago
Josh Berdine f7a860401b [sledge] Move Term.solve to Equality
5 years ago
Josh Berdine 0b35328eb0 [sledge] Factor out solving polynomial = 0 equalities from solve
5 years ago
Josh Berdine 62dc914de7 [sledge] Use a defined variant type for Term.classify
5 years ago
Josh Berdine fad59b4dc4 [sledge] Add some missing Vector operations
5 years ago
Josh Berdine 2f0a0cf288 [sledge] Replace Memory and Concat Term constructors with eq_concat
5 years ago
Josh Berdine 0137186fe5 [sledge] Improve Solver tracing
5 years ago
Josh Berdine 18fd68f60a [sledge] Add Trace.infok
5 years ago
Josh Berdine ff65bcce1c [sledge] Minor simplification in Term.map
5 years ago
Josh Berdine 7f727df119 [sledge] Remove size of Splat exps and terms
5 years ago
Josh Berdine 2aa73f9946 [sledge] Use Int.sign instead of non-exhaustive matches
5 years ago
Josh Berdine b17cfd7db6 [sledge] Printing and tracing improvements
5 years ago
Josh Berdine 1ad2c9025a [sledge] Improve Sh docs
5 years ago
Josh Berdine 65f0b691a9 [sledge] Remove redundant `open`
5 years ago
Josh Berdine 84bb409412 [sledge] Sort arguments of Eq terms
5 years ago
Josh Berdine 9338bf1adb [sledge] Minor optimization of nop Var.Subst.freshen
5 years ago
Josh Berdine 914cd06e4d [sledge] Close Equality.classes under one-step congruence
5 years ago
Josh Berdine adb1e48467 [sledge] Simplify printing of symbolic heaps
5 years ago
Josh Berdine 960a9f76a0 [sledge] Remove some fragile patterns
5 years ago
Josh Berdine c52b49e6c0 [sledge] Add Term.Map and Var.Map
5 years ago
Josh Berdine 83c59dc795 [sledge] Simplify Sh.fold_terms to fold_vars
5 years ago
Josh Berdine 01825598f7 [sledge] Equality.and_eq is part of the exposed interface
5 years ago
Josh Berdine 6e01fa91d5 [sledge] Replace Set.inter_diff with clearer diff_inter
5 years ago
Josh Berdine b8833b76b8 [sledge] Add classic equality tests for arithmetic and congruence
5 years ago
Josh Berdine 8fb0632aba [sledge] Add test Makefile targets for generating Llair code
5 years ago
Josh Berdine c9a0b06be2 [sledge] Update expected test results
5 years ago
Scott Owens 1ddeacee50 [sledge sem] Rework phi instructions
5 years ago
Josh Berdine 3c6e2469de [ocamlformat] Enable parsing and reformatting docstrings
5 years ago