Skip to content

Commit

Permalink
slightly simplified a proof
Browse files Browse the repository at this point in the history
  • Loading branch information
OwenConoly committed May 18, 2023
1 parent c78648d commit 2bba8e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Rewriter/RulesProofs.v
Original file line number Diff line number Diff line change
Expand Up @@ -584,7 +584,7 @@ Lemma relaxed_rules_work rland rm1 rv v :
Proof.
intros H1 H2 H3 H4 H5 H6.
replace (ident.cast rland v) with (ident.cast rland (ident.cast rv v)).
- interp_good_t_step_arith. interp_good_t_step_arith. rewrite Z.land_ones.
- do 3 interp_good_t_step_arith. rewrite Z.land_ones.
+ replace (2 ^ Z.succ (Z.log2 (upper rland))) with (upper rland + 1).
-- rewrite <- ident.cast_out_of_bounds_simple_0_mod.
++ destruct rland. simpl in *. subst. apply ident.cast_idempotent.
Expand Down

0 comments on commit 2bba8e2

Please sign in to comment.