Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Porting note: added theorem / lemma #10756

Closed
pitmonticone opened this issue Feb 20, 2024 · 0 comments
Closed

Porting note: added theorem / lemma #10756

pitmonticone opened this issue Feb 20, 2024 · 0 comments
Labels
porting-notes Mathlib3 to Mathlib4 porting notes.

Comments

@pitmonticone
Copy link
Collaborator

pitmonticone commented Feb 20, 2024

Classifies porting notes claiming anything semantically equivalent to:

  • "added theorem"
  • "added theorems"
  • "new theorem"
  • "new theorems"
  • "added lemma"
  • "new lemma"
  • "new lemmas"

Examples

-- porting note: added
lemma coe_id {X : GroupWithZeroCat} : (𝟙 X : X → X) = id := rfl
-- porting note: added
lemma coe_comp {X Y Z : GroupWithZeroCat} {f : X ⟶ Y} {g : Y ⟶ Z} : (f ≫ g : X → Z) = g ∘ f := rfl

-- Porting note: new
@[to_additive (attr := simp)]
theorem lift_ofList (f : α → M) (l : List α) : lift f (ofList l) = (l.map f).prod :=
prodAux_eq _

-- Porting note: new theorem
@[simp]
theorem star_ofNat [NonAssocSemiring R] [StarRing R] (n : ℕ) [n.AtLeastTwo] :
star (no_index (OfNat.ofNat n) : R) = OfNat.ofNat n :=
star_natCast _

-- Porting note: new
@[simp]
theorem nndist_vsub_cancel_left (x y z : P) : nndist (x -ᵥ y) (x -ᵥ z) = nndist y z :=
NNReal.eq <| dist_vsub_cancel_left _ _ _

-- Porting note: new theorem
theorem surjective_of_injective {f : α → α} (hinj : Injective f) : Surjective f := by
intro x
have := Classical.propDecidable
cases nonempty_fintype α
have h₁ : image f univ = univ :=
eq_of_subset_of_card_le (subset_univ _)
((card_image_of_injective univ hinj).symm ▸ le_rfl)
have h₂ : x ∈ image f univ := h₁.symm ▸ mem_univ x
obtain ⟨y, h⟩ := mem_image.1 h₂
exact ⟨y, h.2

@pitmonticone pitmonticone added the porting-notes Mathlib3 to Mathlib4 porting notes. label Feb 20, 2024
mathlib-bors bot pushed a commit that referenced this issue Feb 20, 2024
Classifies by adding issue number (#10756) to porting notes claiming `added lemma`.
mathlib-bors bot pushed a commit that referenced this issue Feb 20, 2024
Classifies by adding issue number (#10756) to porting notes claiming `added lemma`.
mathlib-bors bot pushed a commit that referenced this issue Feb 21, 2024
Classifies by adding number (#10756) to porting notes claiming `added lemma`.
mathlib-bors bot pushed a commit that referenced this issue Feb 21, 2024
Classifies by adding number (#10756) to porting notes claiming `added lemma`.
mathlib-bors bot pushed a commit that referenced this issue Feb 23, 2024
Classifies by adding number (#10756) to porting notes claiming `added lemma`.
thorimur pushed a commit that referenced this issue Feb 24, 2024
Classifies by adding issue number (#10756) to porting notes claiming `added lemma`.
thorimur pushed a commit that referenced this issue Feb 24, 2024
Classifies by adding number (#10756) to porting notes claiming `added lemma`.
thorimur pushed a commit that referenced this issue Feb 24, 2024
Classifies by adding number (#10756) to porting notes claiming `added lemma`.
thorimur pushed a commit that referenced this issue Feb 26, 2024
Classifies by adding issue number (#10756) to porting notes claiming `added lemma`.
thorimur pushed a commit that referenced this issue Feb 26, 2024
Classifies by adding number (#10756) to porting notes claiming `added lemma`.
thorimur pushed a commit that referenced this issue Feb 26, 2024
Classifies by adding number (#10756) to porting notes claiming `added lemma`.
mathlib-bors bot pushed a commit that referenced this issue Feb 27, 2024
Classifies by adding issue number #10756 to porting notes claiming `added lemma`.
riccardobrasca pushed a commit that referenced this issue Mar 1, 2024
Classifies by adding issue number (#10756) to porting notes claiming `added lemma`.
riccardobrasca pushed a commit that referenced this issue Mar 1, 2024
Classifies by adding number (#10756) to porting notes claiming `added lemma`.
riccardobrasca pushed a commit that referenced this issue Mar 1, 2024
Classifies by adding number (#10756) to porting notes claiming `added lemma`.
riccardobrasca pushed a commit that referenced this issue Mar 1, 2024
Classifies by adding issue number #10756 to porting notes claiming `added lemma`.
mathlib-bors bot pushed a commit that referenced this issue Mar 8, 2024
Classifies by adding issue number #10756 to porting notes claiming anything semantically equivalent to: 

- "new lemma"
- "added lemma"
kbuzzard pushed a commit that referenced this issue Mar 12, 2024
Classifies by adding issue number #10756 to porting notes claiming `added lemma`.
kbuzzard pushed a commit that referenced this issue Mar 12, 2024
Classifies by adding issue number #10756 to porting notes claiming anything semantically equivalent to: 

- "new lemma"
- "added lemma"
@pitmonticone pitmonticone changed the title Porting note: added lemma Porting note: added theorem / lemma Mar 16, 2024
mathlib-bors bot pushed a commit that referenced this issue Mar 17, 2024
Classifies by adding issue number #10756 to porting notes claiming anything equivalent to: 

- "added theorem"
- "added theorems"
- "new theorem"
- "new theorems"
- "added lemma"
- "new lemma"
- "new lemmas"
dagurtomas pushed a commit that referenced this issue Mar 22, 2024
Classifies by adding issue number (#10756) to porting notes claiming `added lemma`.
dagurtomas pushed a commit that referenced this issue Mar 22, 2024
Classifies by adding number (#10756) to porting notes claiming `added lemma`.
dagurtomas pushed a commit that referenced this issue Mar 22, 2024
Classifies by adding number (#10756) to porting notes claiming `added lemma`.
dagurtomas pushed a commit that referenced this issue Mar 22, 2024
Classifies by adding issue number #10756 to porting notes claiming `added lemma`.
dagurtomas pushed a commit that referenced this issue Mar 22, 2024
Classifies by adding issue number #10756 to porting notes claiming anything semantically equivalent to: 

- "new lemma"
- "added lemma"
dagurtomas pushed a commit that referenced this issue Mar 22, 2024
Classifies by adding issue number #10756 to porting notes claiming anything equivalent to: 

- "added theorem"
- "added theorems"
- "new theorem"
- "new theorems"
- "added lemma"
- "new lemma"
- "new lemmas"
utensil pushed a commit that referenced this issue Mar 26, 2024
Classifies by adding issue number #10756 to porting notes claiming anything semantically equivalent to: 

- "new lemma"
- "added lemma"
utensil pushed a commit that referenced this issue Mar 26, 2024
Classifies by adding issue number #10756 to porting notes claiming anything equivalent to: 

- "added theorem"
- "added theorems"
- "new theorem"
- "new theorems"
- "added lemma"
- "new lemma"
- "new lemmas"
Louddy pushed a commit that referenced this issue Apr 15, 2024
Classifies by adding number (#10756) to porting notes claiming `added lemma`.
Louddy pushed a commit that referenced this issue Apr 15, 2024
Classifies by adding issue number #10756 to porting notes claiming `added lemma`.
Louddy pushed a commit that referenced this issue Apr 15, 2024
Classifies by adding issue number #10756 to porting notes claiming anything semantically equivalent to: 

- "new lemma"
- "added lemma"
Louddy pushed a commit that referenced this issue Apr 15, 2024
Classifies by adding issue number #10756 to porting notes claiming anything equivalent to: 

- "added theorem"
- "added theorems"
- "new theorem"
- "new theorems"
- "added lemma"
- "new lemma"
- "new lemmas"
atarnoam pushed a commit that referenced this issue Apr 16, 2024
Classifies by adding issue number #10756 to porting notes claiming anything equivalent to: 

- "added theorem"
- "added theorems"
- "new theorem"
- "new theorems"
- "added lemma"
- "new lemma"
- "new lemmas"
uniwuni pushed a commit that referenced this issue Apr 19, 2024
Classifies by adding issue number #10756 to porting notes claiming anything equivalent to: 

- "added theorem"
- "added theorems"
- "new theorem"
- "new theorems"
- "added lemma"
- "new lemma"
- "new lemmas"
callesonne pushed a commit that referenced this issue Apr 22, 2024
Classifies by adding issue number #10756 to porting notes claiming anything semantically equivalent to: 

- "new lemma"
- "added lemma"
callesonne pushed a commit that referenced this issue Apr 22, 2024
Classifies by adding issue number #10756 to porting notes claiming anything equivalent to: 

- "added theorem"
- "added theorems"
- "new theorem"
- "new theorems"
- "added lemma"
- "new lemma"
- "new lemmas"
@mathlib-bors mathlib-bors bot closed this as completed in 4bf28bb Jun 19, 2024
AntoineChambert-Loir pushed a commit that referenced this issue Jun 20, 2024
These are not actionable anymore (if they ever were).

Fixes #10756.
kbuzzard pushed a commit that referenced this issue Jun 26, 2024
These are not actionable anymore (if they ever were).

Fixes #10756.
dagurtomas pushed a commit that referenced this issue Jul 2, 2024
These are not actionable anymore (if they ever were).

Fixes #10756.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
porting-notes Mathlib3 to Mathlib4 porting notes.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant