Skip to content

Commit

Permalink
chore(ring_theory/power_basis): add simps (#11766)
Browse files Browse the repository at this point in the history
for flt-regular
  • Loading branch information
ericrbg committed Feb 2, 2022
1 parent 2fdc151 commit d5d5784
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/ring_theory/power_basis.lean
Expand Up @@ -354,6 +354,7 @@ where "the same" means that `pb` is a root of `pb'`s minimal polynomial and vice
See also `power_basis.equiv_of_minpoly` which takes the hypothesis that the
minimal polynomials are identical.
-/
@[simps apply {attrs := []}]
noncomputable def equiv_of_root
(pb : power_basis A S) (pb' : power_basis A S')
(h₁ : aeval pb.gen (minpoly A pb'.gen) = 0) (h₂ : aeval pb'.gen (minpoly A pb.gen) = 0) :
Expand Down Expand Up @@ -392,6 +393,7 @@ where "the same" means that they have identical minimal polynomials.
See also `power_basis.equiv_of_root` which takes the hypothesis that each generator is a root of the
other basis' minimal polynomial; `power_basis.equiv_root` is more general if `A` is not a field.
-/
@[simps apply {attrs := []}]
noncomputable def equiv_of_minpoly
(pb : power_basis A S) (pb' : power_basis A S')
(h : minpoly A pb.gen = minpoly A pb'.gen) :
Expand Down

0 comments on commit d5d5784

Please sign in to comment.