Update
This commit is contained in:
parent
42ae58755d
commit
8f1fd646db
@ -1559,7 +1559,7 @@ Proof.
|
||||
apply tm_step_square_rev_even.
|
||||
Qed.
|
||||
|
||||
Lemma tm_step_square2_even_pos :
|
||||
Lemma tm_step_square2_rev_even' :
|
||||
forall (m n : nat) (hd a tl : list bool),
|
||||
tm_step n = hd ++ a ++ a ++ tl
|
||||
-> length a = 2^m
|
||||
@ -1756,3 +1756,17 @@ Proof.
|
||||
rewrite <- Nat.add_sub_assoc. rewrite <- Nat.mul_sub_distr_r.
|
||||
apply Nat.le_add_r. apply Nat.mul_le_mono_r. lia. lia.
|
||||
Qed.
|
||||
|
||||
Lemma tm_step_square3_rev_even' :
|
||||
forall (m n : nat) (hd a tl : list bool),
|
||||
tm_step n = hd ++ a ++ a ++ tl
|
||||
-> length a = 3 * 2^m
|
||||
-> even m = true
|
||||
-> length (hd ++ a) mod 2^(S m) = 0.
|
||||
Proof.
|
||||
intros m n hd a tl. intros H I J.
|
||||
assert (a = rev a).
|
||||
rewrite tm_step_square3_rev_even_swap
|
||||
with (n := n) (hd := hd) (a := a) (tl := tl) (m := m) in J; assumption.
|
||||
generalize H0. generalize I. generalize H. apply tm_step_square3_rev_even.
|
||||
Qed.
|
||||
|
Loading…
Reference in New Issue
Block a user