@@ -101,11 +101,11 @@ Inductive stepping: Type :=.
101101Definition ready{P: Prop} := P.
102102
103103(* heapletwise- and word-aware lia, successor of ZnWords *)
104- Ltac hwlia := zify_hyps; puri_simpli_zify_hyps true; zify_goal; xlia zchecker.
104+ Ltac hwlia := zify_hyps; puri_simpli_zify_hyps true; zify_goal; mp_lia zchecker.
105105
106- Ltac2 Set bottom_up_simpl_sidecond_hook := fun _ => ltac1:(zify_goal; xlia zchecker).
106+ Ltac2 Set bottom_up_simpl_sidecond_hook := fun _ => ltac1:(zify_goal; mp_lia zchecker).
107107
108- Ltac word_lia_hook_for_split_merge ::= zify_goal; xlia zchecker.
108+ Ltac word_lia_hook_for_split_merge ::= zify_goal; mp_lia zchecker.
109109
110110Ltac intros_until_trace :=
111111 repeat lazymatch goal with
@@ -856,7 +856,7 @@ Ltac conclusion_shape_based_step logger :=
856856 | |- bool_expr_branches _ _ _ _ =>
857857 logger ltac:(fun _ => idtac "Splitting bool_expr_branches");
858858 eapply BoolSpec_expr_branches;
859- [ first [ eapply contradictory_branch; zify_goal; xlia zchecker
859+ [ first [ eapply contradictory_branch; zify_goal; mp_lia zchecker
860860 | intro ] .. | ]
861861 | |- then_branch_marker ?G =>
862862 logger ltac:(fun _ => idtac "Starting `then ` branch");
@@ -1005,7 +1005,7 @@ Ltac sidecond_step logger := first
10051005 end ;
10061006 logger ltac:(fun _ => idtac "eexists")
10071007 | (* tried first because it also solves some goals of shape (_ = _) and (_ /\ _) *)
1008- zify_goal; xlia zchecker;
1008+ zify_goal; mp_lia zchecker;
10091009 logger ltac:(fun _ => idtac "zify_goal; xlia zchecker")
10101010 | safe_implication_step;
10111011 logger ltac:(fun _ => idtac "safe_implication_step")
@@ -1187,7 +1187,7 @@ Ltac predicates_safe_to_cancel hypPred conclPred :=
11871187 | array ?elem ?n2 ?vs2 => lazymatch hypPred with
11881188 | array elem ?n1 ?vs1 =>
11891189 assert_succeeds (idtac; assert (n1 = n2)
1190- by (zify_goal; xlia zchecker));
1190+ by (zify_goal; mp_lia zchecker));
11911191 tryif is_evar vs2 then unify vs1 vs2 else idtac
11921192 end
11931193 | sepapps nil => lazymatch hypPred with
@@ -1215,7 +1215,7 @@ Ltac is_safe_to_cancel hypClause goalClause :=
12151215 | ?pred2 ?addr2 =>
12161216 first [ constr_eq addr1 addr2
12171217 | assert_succeeds (idtac; assert (addr1 = addr2)
1218- by (zify_goal; xlia zchecker)) ];
1218+ by (zify_goal; mp_lia zchecker)) ];
12191219 predicates_safe_to_cancel pred1 pred2
12201220 end
12211221 end .
0 commit comments