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 definition #11445

Open
pitmonticone opened this issue Mar 17, 2024 · 0 comments
Open

Porting note: added definition #11445

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

Comments

@pitmonticone
Copy link
Collaborator

Classifies porting notes claiming anything equivalent to:

  • "added definition"
  • "new definition"

Examples

-- Porting note: New definition
/-- the exponential function as a monoid hom from `Multiplicative ℂ` to `ℂ` -/
noncomputable def expMonoidHom : MonoidHom (Multiplicative ℂ) ℂ :=
{ toFun := fun z => exp (Multiplicative.toAdd z),
map_one' := by simp,
map_mul' := by simp [exp_add] }

-- Porting note: new definition
/-- Convert a finset to a set in the natural way. -/
@[coe] def toSet (s : Finset α) : Set α :=
{ a | a ∈ s }

-- Porting note: new definition
/-- The canonical map to `Multiset α` that forgets that `s` has length `n` -/
@[coe] def Sym.toMultiset {α : Type*} {n : ℕ} (s : Sym α n) : Multiset α :=
s.1

@pitmonticone pitmonticone added the porting-notes Mathlib3 to Mathlib4 porting notes. label Mar 17, 2024
mathlib-bors bot pushed a commit that referenced this issue Mar 17, 2024
Classifies by adding issue number #11445 to porting notes claiming anything equivalent to: 

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

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

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

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

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

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

- "new definition"
- "added definition"
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

No branches or pull requests

1 participant