Skip to content

Commit

Permalink
remove unused function
Browse files Browse the repository at this point in the history
  • Loading branch information
Halbaroth committed Feb 24, 2025
1 parent 03feb7d commit 4b2322f
Showing 1 changed file with 0 additions and 16 deletions.
16 changes: 0 additions & 16 deletions src/lib/reasoners/matching.ml
Original file line number Diff line number Diff line change
Expand Up @@ -229,22 +229,6 @@ module Make (X : Arg) : S with type theory = X.t = struct
in
if info.term_age > age_limite () then env else add_rec env t

(* let add_term info t env =
match E.type_info t with
| Tadt (name, args) as ty -> (
match Ty.type_body name args with
| [{ constr; destrs }] ->
let xs =
List.map
(fun (d, ty) ->
E.mk_term Sy.(Op (Destruct d)) [t] ty
) destrs
in
let c = E.mk_constr constr xs ty in
add_term info c env
| _ -> add_term info t env)
| _ -> add_term info t env
*)
let add_trigger p env = { env with pats = p :: env.pats }

let all_terms
Expand Down

0 comments on commit 4b2322f

Please sign in to comment.