Skip to content

Commit

Permalink
feat port: GroupTheory.GroupAction.Group (#1146)
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisHughes24 committed Dec 22, 2022
1 parent 0a5db45 commit e0d4c04
Show file tree
Hide file tree
Showing 3 changed files with 399 additions and 2 deletions.
1 change: 1 addition & 0 deletions Mathlib.lean
Expand Up @@ -289,6 +289,7 @@ import Mathlib.Data.Vector
import Mathlib.Dynamics.FixedPoints.Basic
import Mathlib.GroupTheory.EckmannHilton
import Mathlib.GroupTheory.GroupAction.Defs
import Mathlib.GroupTheory.GroupAction.Group
import Mathlib.GroupTheory.GroupAction.Opposite
import Mathlib.GroupTheory.GroupAction.Option
import Mathlib.GroupTheory.GroupAction.Pi
Expand Down
4 changes: 2 additions & 2 deletions Mathlib/Data/Int/Basic.lean
Expand Up @@ -77,11 +77,11 @@ lemma natAbs_cast (n : ℕ) : natAbs ↑n = n := rfl
protected lemma coe_nat_sub {n m : ℕ} : n ≤ m → (↑(m - n) : ℤ) = ↑m - ↑n := ofNat_sub

-- TODO restore @[to_additive coe_nat_zsmul]
@[norm_cast]
@[simp, norm_cast]
theorem _root_.zpow_coe_nat [DivInvMonoid G] (a : G) (n : ℕ) : a ^ (Nat.cast n : ℤ) = a ^ n := zpow_ofNat ..
@[simp]
theorem _root_.coe_nat_zsmul [SubNegMonoid G] (a : G) (n : ℕ) : (n : ℤ) • a = n • a := ofNat_zsmul ..
attribute [to_additive _root_.coe_nat_zsmul] _root_.zpow_coe_nat
attribute [to_additive coe_nat_zsmul] zpow_coe_nat

/-! ### Extra instances to short-circuit type class resolution
Expand Down

0 comments on commit e0d4c04

Please sign in to comment.