This repository has been archived by the owner on Jul 24, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 295
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
8 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -81,15 +81,21 @@ lemma floor_eq_self_of_mem (m : E) (h : m ∈ span ℤ (set.range b)) : (floor b | |
begin | ||
apply b.ext_elem, | ||
simp_rw [repr_floor_apply b], | ||
exact λ i, int.floor_eq_self ((b.mem_span_iff_repr_mem ℤ _).mp h i), | ||
intro i, | ||
obtain ⟨z, hz⟩ := (b.mem_span_iff_repr_mem ℤ _).mp h i, | ||
rw [← hz], | ||
exact congr_arg (coe : ℤ → K) (int.floor_int_cast z), | ||
end | ||
|
||
@[simp] | ||
lemma ceil_eq_self_of_mem (m : E) (h : m ∈ span ℤ (set.range b)) : (ceil b m : E) = m := | ||
begin | ||
apply b.ext_elem, | ||
simp_rw [repr_ceil_apply b], | ||
exact λ i, int.ceil_eq_self ((b.mem_span_iff_repr_mem ℤ _).mp h i), | ||
intro i, | ||
obtain ⟨z, hz⟩ := (b.mem_span_iff_repr_mem ℤ _).mp h i, | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
xroblot
Author
Collaborator
|
||
rw [← hz], | ||
exact congr_arg (coe : ℤ → K) (int.ceil_int_cast z), | ||
end | ||
|
||
/-- The map that sends a vector `E` to the fundamental domain of the lattice, | ||
|
I assume
rfl
doesn't work in thisobtain
?