Theorem: RingHom.finiteType_stableUnderBaseChange
File: Mathlib/RingTheory/RingHom/FiniteType.lean

tactic: apply StableUnderBaseChange.mk
state_before: ⊢ StableUnderBaseChange @FiniteType
state_after: case h₁

⊢ RespectsIso @FiniteType

case h₂

⊢ ∀ ⦃R S T : Type u_1⦄ [inst : CommRing R] [inst_1 : CommRing S] [inst_2 : CommRing T] [inst_3 : Algebra R S]
    [inst_4 : Algebra R T], (algebraMap R T).FiniteType → Algebra.TensorProduct.includeLeftRingHom.FiniteType

tactic: exact finiteType_respectsIso
state_before: case h₁

⊢ RespectsIso @FiniteType
state_after: no goals

tactic: introv h
state_before: case h₂

⊢ ∀ ⦃R S T : Type u_1⦄ [inst : CommRing R] [inst_1 : CommRing S] [inst_2 : CommRing T] [inst_3 : Algebra R S]
    [inst_4 : Algebra R T], (algebraMap R T).FiniteType → Algebra.TensorProduct.includeLeftRingHom.FiniteType
state_after: case h₂
R S T : Type u_1
inst✝⁴ : CommRing R
inst✝³ : CommRing S
inst✝² : CommRing T
inst✝¹ : Algebra R S
inst✝ : Algebra R T
h : (algebraMap R T).FiniteType
⊢ Algebra.TensorProduct.includeLeftRingHom.FiniteType

tactic: replace h : Algebra.FiniteType R T := by
  rw [RingHom.FiniteType] at h; convert h; ext; simp_rw [Algebra.smul_def]; rfl
state_before: case h₂
R S T : Type u_1
inst✝⁴ : CommRing R
inst✝³ : CommRing S
inst✝² : CommRing T
inst✝¹ : Algebra R S
inst✝ : Algebra R T
h : (algebraMap R T).FiniteType
⊢ Algebra.TensorProduct.includeLeftRingHom.FiniteType
state_after: case h₂
R S T : Type u_1
inst✝⁴ : CommRing R
inst✝³ : CommRing S
inst✝² : CommRing T
inst✝¹ : Algebra R S
inst✝ : Algebra R T
h : Algebra.FiniteType R T
⊢ Algebra.TensorProduct.includeLeftRingHom.FiniteType

tactic: suffices Algebra.FiniteType S (S ⊗[R] T) by
  rw [RingHom.FiniteType]; convert this; ext; simp_rw [Algebra.smul_def]; rfl
state_before: case h₂
R S T : Type u_1
inst✝⁴ : CommRing R
inst✝³ : CommRing S
inst✝² : CommRing T
inst✝¹ : Algebra R S
inst✝ : Algebra R T
h : Algebra.FiniteType R T
⊢ Algebra.TensorProduct.includeLeftRingHom.FiniteType
state_after: case h₂
R S T : Type u_1
inst✝⁴ : CommRing R
inst✝³ : CommRing S
inst✝² : CommRing T
inst✝¹ : Algebra R S
inst✝ : Algebra R T
h : Algebra.FiniteType R T
⊢ Algebra.FiniteType S (S ⊗[R] T)

tactic: infer_instance
state_before: case h₂
R S T : Type u_1
inst✝⁴ : CommRing R
inst✝³ : CommRing S
inst✝² : CommRing T
inst✝¹ : Algebra R S
inst✝ : Algebra R T
h : Algebra.FiniteType R T
⊢ Algebra.FiniteType S (S ⊗[R] T)
state_after: no goals

tactic: rw [RingHom.FiniteType] at h
state_before: R S T : Type u_1
inst✝⁴ : CommRing R
inst✝³ : CommRing S
inst✝² : CommRing T
inst✝¹ : Algebra R S
inst✝ : Algebra R T
h : (algebraMap R T).FiniteType
⊢ Algebra.FiniteType R T
state_after: R S T : Type u_1
inst✝⁴ : CommRing R
inst✝³ : CommRing S
inst✝² : CommRing T
inst✝¹ : Algebra R S
inst✝ : Algebra R T
h : Algebra.FiniteType R T
⊢ Algebra.FiniteType R T

tactic: convert h
state_before: R S T : Type u_1
inst✝⁴ : CommRing R
inst✝³ : CommRing S
inst✝² : CommRing T
inst✝¹ : Algebra R S
inst✝ : Algebra R T
h : Algebra.FiniteType R T
⊢ Algebra.FiniteType R T
state_after: case h.e'_5
R S T : Type u_1
inst✝⁴ : CommRing R
inst✝³ : CommRing S
inst✝² : CommRing T
inst✝¹ : Algebra R S
inst✝ : Algebra R T
h : Algebra.FiniteType R T
⊢ inst✝ = (algebraMap R T).toAlgebra

tactic: ext
state_before: case h.e'_5
R S T : Type u_1
inst✝⁴ : CommRing R
inst✝³ : CommRing S
inst✝² : CommRing T
inst✝¹ : Algebra R S
inst✝ : Algebra R T
h : Algebra.FiniteType R T
⊢ inst✝ = (algebraMap R T).toAlgebra
state_after: case h.e'_5.h
R S T : Type u_1
inst✝⁴ : CommRing R
inst✝³ : CommRing S
inst✝² : CommRing T
inst✝¹ : Algebra R S
inst✝ : Algebra R T
h : Algebra.FiniteType R T
r✝ : R
x✝ : T
⊢ (let_fun I := inst✝;
    r✝ • x✝) =
    r✝ • x✝

tactic: simp_rw [Algebra.smul_def]
state_before: case h.e'_5.h
R S T : Type u_1
inst✝⁴ : CommRing R
inst✝³ : CommRing S
inst✝² : CommRing T
inst✝¹ : Algebra R S
inst✝ : Algebra R T
h : Algebra.FiniteType R T
r✝ : R
x✝ : T
⊢ (let_fun I := inst✝;
    r✝ • x✝) =
    r✝ • x✝
state_after: case h.e'_5.h
R S T : Type u_1
inst✝⁴ : CommRing R
inst✝³ : CommRing S
inst✝² : CommRing T
inst✝¹ : Algebra R S
inst✝ : Algebra R T
h : Algebra.FiniteType R T
r✝ : R
x✝ : T
⊢ (algebraMap R T) r✝ * x✝ = (algebraMap R T) r✝ * x✝

tactic: rfl
state_before: case h.e'_5.h
R S T : Type u_1
inst✝⁴ : CommRing R
inst✝³ : CommRing S
inst✝² : CommRing T
inst✝¹ : Algebra R S
inst✝ : Algebra R T
h : Algebra.FiniteType R T
r✝ : R
x✝ : T
⊢ (algebraMap R T) r✝ * x✝ = (algebraMap R T) r✝ * x✝
state_after: no goals

tactic: rw [RingHom.FiniteType]
state_before: R S T : Type u_1
inst✝⁴ : CommRing R
inst✝³ : CommRing S
inst✝² : CommRing T
inst✝¹ : Algebra R S
inst✝ : Algebra R T
h : Algebra.FiniteType R T
this : Algebra.FiniteType S (S ⊗[R] T)
⊢ Algebra.TensorProduct.includeLeftRingHom.FiniteType
state_after: R S T : Type u_1
inst✝⁴ : CommRing R
inst✝³ : CommRing S
inst✝² : CommRing T
inst✝¹ : Algebra R S
inst✝ : Algebra R T
h : Algebra.FiniteType R T
this : Algebra.FiniteType S (S ⊗[R] T)
⊢ Algebra.FiniteType S (S ⊗[R] T)

tactic: convert this
state_before: R S T : Type u_1
inst✝⁴ : CommRing R
inst✝³ : CommRing S
inst✝² : CommRing T
inst✝¹ : Algebra R S
inst✝ : Algebra R T
h : Algebra.FiniteType R T
this : Algebra.FiniteType S (S ⊗[R] T)
⊢ Algebra.FiniteType S (S ⊗[R] T)
state_after: case h.e'_5.h
R S T : Type u_1
inst✝⁴ : CommRing R
inst✝³ : CommRing S
inst✝² : CommRing T
inst✝¹ : Algebra R S
inst✝ : Algebra R T
h : Algebra.FiniteType R T
this : Algebra.FiniteType S (S ⊗[R] T)
e_4✝ : CommSemiring.toSemiring = Algebra.TensorProduct.instSemiring
⊢ Algebra.TensorProduct.includeLeftRingHom.toAlgebra = Algebra.TensorProduct.leftAlgebra

tactic: ext
state_before: case h.e'_5.h
R S T : Type u_1
inst✝⁴ : CommRing R
inst✝³ : CommRing S
inst✝² : CommRing T
inst✝¹ : Algebra R S
inst✝ : Algebra R T
h : Algebra.FiniteType R T
this : Algebra.FiniteType S (S ⊗[R] T)
e_4✝ : CommSemiring.toSemiring = Algebra.TensorProduct.instSemiring
⊢ Algebra.TensorProduct.includeLeftRingHom.toAlgebra = Algebra.TensorProduct.leftAlgebra
state_after: case h.e'_5.h.h
R S T : Type u_1
inst✝⁴ : CommRing R
inst✝³ : CommRing S
inst✝² : CommRing T
inst✝¹ : Algebra R S
inst✝ : Algebra R T
h : Algebra.FiniteType R T
this : Algebra.FiniteType S (S ⊗[R] T)
e_4✝ : CommSemiring.toSemiring = Algebra.TensorProduct.instSemiring
r✝ : S
x✝ : S ⊗[R] T
⊢ (let_fun I := Algebra.TensorProduct.includeLeftRingHom.toAlgebra;
    r✝ • x✝) =
    r✝ • x✝

tactic: simp_rw [Algebra.smul_def]
state_before: case h.e'_5.h.h
R S T : Type u_1
inst✝⁴ : CommRing R
inst✝³ : CommRing S
inst✝² : CommRing T
inst✝¹ : Algebra R S
inst✝ : Algebra R T
h : Algebra.FiniteType R T
this : Algebra.FiniteType S (S ⊗[R] T)
e_4✝ : CommSemiring.toSemiring = Algebra.TensorProduct.instSemiring
r✝ : S
x✝ : S ⊗[R] T
⊢ (let_fun I := Algebra.TensorProduct.includeLeftRingHom.toAlgebra;
    r✝ • x✝) =
    r✝ • x✝
state_after: case h.e'_5.h.h
R S T : Type u_1
inst✝⁴ : CommRing R
inst✝³ : CommRing S
inst✝² : CommRing T
inst✝¹ : Algebra R S
inst✝ : Algebra R T
h : Algebra.FiniteType R T
this : Algebra.FiniteType S (S ⊗[R] T)
e_4✝ : CommSemiring.toSemiring = Algebra.TensorProduct.instSemiring
r✝ : S
x✝ : S ⊗[R] T
⊢ (algebraMap S (S ⊗[R] T)) r✝ * x✝ = (algebraMap S (S ⊗[R] T)) r✝ * x✝

tactic: rfl
state_before: case h.e'_5.h.h
R S T : Type u_1
inst✝⁴ : CommRing R
inst✝³ : CommRing S
inst✝² : CommRing T
inst✝¹ : Algebra R S
inst✝ : Algebra R T
h : Algebra.FiniteType R T
this : Algebra.FiniteType S (S ⊗[R] T)
e_4✝ : CommSemiring.toSemiring = Algebra.TensorProduct.instSemiring
r✝ : S
x✝ : S ⊗[R] T
⊢ (algebraMap S (S ⊗[R] T)) r✝ * x✝ = (algebraMap S (S ⊗[R] T)) r✝ * x✝
state_after: no goals