linear_algebra.finrankMathlib.LinearAlgebra.Dimension.Finrank

This file has been ported!

Changes since the initial port

The following section lists changes to this file in mathlib3 and mathlib4 that occured after the initial port. Most recent changes are shown first. Hovering over a commit will show all commits associated with the same mathlib3 commit.

Changes in mathlib3

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(last sync)

chore(linear_algebra/finrank): backport removal of simp lemmas (#18794)

Testing a solution to the simpNF linter problems at https://github.com/leanprover-community/mathlib4/pull/3378

Co-authored-by: Scott Morrison <scott.morrison@gmail.com>

Diff
@@ -432,7 +432,7 @@ basis.mk (linear_independent_of_top_le_span_of_card_eq_finrank le_span card_eq)
 basis.coe_mk _ _
 
 /-- A finset of `finrank K V` vectors forms a basis if they span the whole space. -/
-@[simps]
+@[simps repr_apply]
 noncomputable def finset_basis_of_top_le_span_of_card_eq_finrank {s : finset V}
   (le_span : ⊤ ≤ span K (s : set V)) (card_eq : s.card = finrank K V) :
   basis (s : set V) K V :=
@@ -441,7 +441,7 @@ basis_of_top_le_span_of_card_eq_finrank (coe : (s : set V) → V)
   (trans (fintype.card_coe _) card_eq)
 
 /-- A set of `finrank K V` vectors forms a basis if they span the whole space. -/
-@[simps]
+@[simps repr_apply]
 noncomputable def set_basis_of_top_le_span_of_card_eq_finrank {s : set V} [fintype s]
   (le_span : ⊤ ≤ span K s) (card_eq : s.to_finset.card = finrank K V) :
   basis s K V :=

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(first ported)

Changes in mathlib3port

mathlib3
mathlib3port
Diff
@@ -463,7 +463,7 @@ theorem linearIndependent_of_top_le_span_of_card_eq_finrank {ι : Type _} [Finty
         (b '' (Set.univ \ {i})).toFinset.card = ((Set.univ \ {i}).toFinset.image b).card := by
           rw [Set.toFinset_card, Fintype.card_ofFinset]
         _ ≤ (Set.univ \ {i}).toFinset.card := Finset.card_image_le
-        _ = (finset.univ.erase i).card := (congr_arg Finset.card (Finset.ext (by simp [and_comm'])))
+        _ = (finset.univ.erase i).card := (congr_arg Finset.card (Finset.ext (by simp [and_comm])))
         _ < finset.univ.card := (Finset.card_erase_lt_of_mem (Finset.mem_univ i))
         _ = finrank K V := card_eq
     -- We already have that `b '' univ` spans the whole space,
Diff
@@ -3,7 +3,7 @@ Copyright (c) 2019 Chris Hughes. All rights reserved.
 Released under Apache 2.0 license as described in the file LICENSE.
 Authors: Chris Hughes, Anne Baanen
 -/
-import LinearAlgebra.Dimension
+import LinearAlgebra.Dimension.Basic
 
 #align_import linear_algebra.finrank from "leanprover-community/mathlib"@"9a48a083b390d9b84a71efbdc4e8dfa26a687104"
 
@@ -491,6 +491,7 @@ theorem linearIndependent_of_top_le_span_of_card_eq_finrank {ι : Type _} [Finty
         by rw [smul_add, ← mul_smul, inv_mul_cancel gx_ne_zero, one_smul]
       _ = (g i)⁻¹ • 0 := (congr_arg _ _)
       _ = 0 := smul_zero _
+    -- And then it's just a bit of manipulation with finite sums.
     rwa [← Finset.insert_erase i_mem_s, Finset.sum_insert (Finset.not_mem_erase _ _)] at dependent
 #align linear_independent_of_top_le_span_of_card_eq_finrank linearIndependent_of_top_le_span_of_card_eq_finrank
 -/
Diff
@@ -67,8 +67,8 @@ noncomputable def finrank (R V : Type _) [Semiring R] [AddCommGroup V] [Module R
 #print FiniteDimensional.finrank_eq_of_rank_eq /-
 theorem finrank_eq_of_rank_eq {n : ℕ} (h : Module.rank K V = ↑n) : finrank K V = n :=
   by
-  apply_fun toNat at h 
-  rw [to_nat_cast] at h 
+  apply_fun toNat at h
+  rw [to_nat_cast] at h
   exact_mod_cast h
 #align finite_dimensional.finrank_eq_of_rank_eq FiniteDimensional.finrank_eq_of_rank_eq
 -/
@@ -76,7 +76,7 @@ theorem finrank_eq_of_rank_eq {n : ℕ} (h : Module.rank K V = ↑n) : finrank K
 #print FiniteDimensional.finrank_le_of_rank_le /-
 theorem finrank_le_of_rank_le {n : ℕ} (h : Module.rank K V ≤ ↑n) : finrank K V ≤ n :=
   by
-  rwa [← Cardinal.toNat_le_iff_le_of_lt_aleph0, to_nat_cast] at h 
+  rwa [← Cardinal.toNat_le_iff_le_of_lt_aleph0, to_nat_cast] at h
   · exact h.trans_lt (nat_lt_aleph_0 n)
   · exact nat_lt_aleph_0 n
 #align finite_dimensional.finrank_le_of_rank_le FiniteDimensional.finrank_le_of_rank_le
@@ -85,7 +85,7 @@ theorem finrank_le_of_rank_le {n : ℕ} (h : Module.rank K V ≤ ↑n) : finrank
 #print FiniteDimensional.finrank_lt_of_rank_lt /-
 theorem finrank_lt_of_rank_lt {n : ℕ} (h : Module.rank K V < ↑n) : finrank K V < n :=
   by
-  rwa [← Cardinal.toNat_lt_iff_lt_of_lt_aleph0, to_nat_cast] at h 
+  rwa [← Cardinal.toNat_lt_iff_lt_of_lt_aleph0, to_nat_cast] at h
   · exact h.trans (nat_lt_aleph_0 n)
   · exact nat_lt_aleph_0 n
 #align finite_dimensional.finrank_lt_of_rank_lt FiniteDimensional.finrank_lt_of_rank_lt
@@ -339,7 +339,7 @@ theorem lt_of_le_of_finrank_lt_finrank {s t : Submodule K V} (le : s ≤ t)
 #print Submodule.lt_top_of_finrank_lt_finrank /-
 theorem lt_top_of_finrank_lt_finrank {s : Submodule K V} (lt : finrank K s < finrank K V) : s < ⊤ :=
   by
-  rw [← finrank_top K V] at lt 
+  rw [← finrank_top K V] at lt
   exact lt_of_le_of_finrank_lt_finrank le_top lt
 #align submodule.lt_top_of_finrank_lt_finrank Submodule.lt_top_of_finrank_lt_finrank
 -/
@@ -395,7 +395,7 @@ theorem finrank_span_eq_card {ι : Type _} [Fintype ι] {b : ι → V} (hb : Lin
     (by
       have : Module.rank K (span K (Set.range b)) = (#Set.range b) := rank_span hb
       rwa [← lift_inj, mk_range_eq_of_injective hb.injective, Cardinal.mk_fintype, lift_nat_cast,
-        lift_eq_nat_iff] at this )
+        lift_eq_nat_iff] at this)
 #align finrank_span_eq_card finrank_span_eq_card
 -/
 
@@ -405,7 +405,7 @@ theorem finrank_span_set_eq_card (s : Set V) [Fintype s] (hs : LinearIndependent
   finrank_eq_of_rank_eq
     (by
       have : Module.rank K (span K s) = (#s) := rank_span_set hs
-      rwa [Cardinal.mk_fintype, ← Set.toFinset_card] at this )
+      rwa [Cardinal.mk_fintype, ← Set.toFinset_card] at this)
 #align finrank_span_set_eq_card finrank_span_set_eq_card
 -/
 
@@ -491,8 +491,7 @@ theorem linearIndependent_of_top_le_span_of_card_eq_finrank {ι : Type _} [Finty
         by rw [smul_add, ← mul_smul, inv_mul_cancel gx_ne_zero, one_smul]
       _ = (g i)⁻¹ • 0 := (congr_arg _ _)
       _ = 0 := smul_zero _
-    -- And then it's just a bit of manipulation with finite sums.
-    rwa [← Finset.insert_erase i_mem_s, Finset.sum_insert (Finset.not_mem_erase _ _)] at dependent 
+    rwa [← Finset.insert_erase i_mem_s, Finset.sum_insert (Finset.not_mem_erase _ _)] at dependent
 #align linear_independent_of_top_le_span_of_card_eq_finrank linearIndependent_of_top_le_span_of_card_eq_finrank
 -/
 
@@ -513,7 +512,7 @@ theorem linearIndependent_iff_card_eq_finrank_span {ι : Type _} [Fintype ι] {b
       intro x
       have h : span K (f '' Set.range b') = map f (span K (Set.range b')) := span_image f
       have hf : f '' Set.range b' = Set.range b := by ext x; simp [Set.mem_image, Set.mem_range]
-      rw [hf] at h 
+      rw [hf] at h
       have hx : (x : V) ∈ span K (Set.range b) := x.property
       conv at hx =>
         congr
Diff
@@ -197,12 +197,10 @@ section DivisionRing
 variable [DivisionRing K] [AddCommGroup V] [Module K V] {V₂ : Type v'} [AddCommGroup V₂]
   [Module K V₂]
 
-#print FiniteDimensional.Basis.subset_extend /-
 theorem Basis.subset_extend {s : Set V} (hs : LinearIndependent K (coe : s → V)) :
     s ⊆ hs.extend (Set.subset_univ _) :=
   hs.subset_extend _
 #align finite_dimensional.basis.subset_extend FiniteDimensional.Basis.subset_extend
--/
 
 end DivisionRing
 
Diff
@@ -3,7 +3,7 @@ Copyright (c) 2019 Chris Hughes. All rights reserved.
 Released under Apache 2.0 license as described in the file LICENSE.
 Authors: Chris Hughes, Anne Baanen
 -/
-import Mathbin.LinearAlgebra.Dimension
+import LinearAlgebra.Dimension
 
 #align_import linear_algebra.finrank from "leanprover-community/mathlib"@"9a48a083b390d9b84a71efbdc4e8dfa26a687104"
 
Diff
@@ -91,15 +91,15 @@ theorem finrank_lt_of_rank_lt {n : ℕ} (h : Module.rank K V < ↑n) : finrank K
 #align finite_dimensional.finrank_lt_of_rank_lt FiniteDimensional.finrank_lt_of_rank_lt
 -/
 
-#print FiniteDimensional.rank_lt_of_finrank_lt /-
-theorem rank_lt_of_finrank_lt {n : ℕ} (h : n < finrank K V) : ↑n < Module.rank K V :=
+#print FiniteDimensional.lt_rank_of_lt_finrank /-
+theorem lt_rank_of_lt_finrank {n : ℕ} (h : n < finrank K V) : ↑n < Module.rank K V :=
   by
   rwa [← Cardinal.toNat_lt_iff_lt_of_lt_aleph0, to_nat_cast]
   · exact nat_lt_aleph_0 n
   · contrapose! h
     rw [finrank, Cardinal.toNat_apply_of_aleph0_le h]
     exact n.zero_le
-#align finite_dimensional.rank_lt_of_finrank_lt FiniteDimensional.rank_lt_of_finrank_lt
+#align finite_dimensional.rank_lt_of_finrank_lt FiniteDimensional.lt_rank_of_lt_finrank
 -/
 
 #print FiniteDimensional.finrank_le_finrank_of_rank_le_rank /-
@@ -117,7 +117,7 @@ variable [Nontrivial K] [NoZeroSMulDivisors K V]
 #print FiniteDimensional.nontrivial_of_finrank_pos /-
 /-- A finite dimensional space is nontrivial if it has positive `finrank`. -/
 theorem nontrivial_of_finrank_pos (h : 0 < finrank K V) : Nontrivial V :=
-  rank_pos_iff_nontrivial.mp (rank_lt_of_finrank_lt h)
+  rank_pos_iff_nontrivial.mp (lt_rank_of_lt_finrank h)
 #align finite_dimensional.nontrivial_of_finrank_pos FiniteDimensional.nontrivial_of_finrank_pos
 -/
 
Diff
@@ -2,14 +2,11 @@
 Copyright (c) 2019 Chris Hughes. All rights reserved.
 Released under Apache 2.0 license as described in the file LICENSE.
 Authors: Chris Hughes, Anne Baanen
-
-! This file was ported from Lean 3 source module linear_algebra.finrank
-! leanprover-community/mathlib commit 9a48a083b390d9b84a71efbdc4e8dfa26a687104
-! Please do not edit these lines, except to modify the commit id
-! if you have ported upstream changes.
 -/
 import Mathbin.LinearAlgebra.Dimension
 
+#align_import linear_algebra.finrank from "leanprover-community/mathlib"@"9a48a083b390d9b84a71efbdc4e8dfa26a687104"
+
 /-!
 # Finite dimension of vector spaces
 
Diff
@@ -67,27 +67,34 @@ noncomputable def finrank (R V : Type _) [Semiring R] [AddCommGroup V] [Module R
 #align finite_dimensional.finrank FiniteDimensional.finrank
 -/
 
+#print FiniteDimensional.finrank_eq_of_rank_eq /-
 theorem finrank_eq_of_rank_eq {n : ℕ} (h : Module.rank K V = ↑n) : finrank K V = n :=
   by
   apply_fun toNat at h 
   rw [to_nat_cast] at h 
   exact_mod_cast h
 #align finite_dimensional.finrank_eq_of_rank_eq FiniteDimensional.finrank_eq_of_rank_eq
+-/
 
+#print FiniteDimensional.finrank_le_of_rank_le /-
 theorem finrank_le_of_rank_le {n : ℕ} (h : Module.rank K V ≤ ↑n) : finrank K V ≤ n :=
   by
   rwa [← Cardinal.toNat_le_iff_le_of_lt_aleph0, to_nat_cast] at h 
   · exact h.trans_lt (nat_lt_aleph_0 n)
   · exact nat_lt_aleph_0 n
 #align finite_dimensional.finrank_le_of_rank_le FiniteDimensional.finrank_le_of_rank_le
+-/
 
+#print FiniteDimensional.finrank_lt_of_rank_lt /-
 theorem finrank_lt_of_rank_lt {n : ℕ} (h : Module.rank K V < ↑n) : finrank K V < n :=
   by
   rwa [← Cardinal.toNat_lt_iff_lt_of_lt_aleph0, to_nat_cast] at h 
   · exact h.trans (nat_lt_aleph_0 n)
   · exact nat_lt_aleph_0 n
 #align finite_dimensional.finrank_lt_of_rank_lt FiniteDimensional.finrank_lt_of_rank_lt
+-/
 
+#print FiniteDimensional.rank_lt_of_finrank_lt /-
 theorem rank_lt_of_finrank_lt {n : ℕ} (h : n < finrank K V) : ↑n < Module.rank K V :=
   by
   rwa [← Cardinal.toNat_lt_iff_lt_of_lt_aleph0, to_nat_cast]
@@ -96,6 +103,7 @@ theorem rank_lt_of_finrank_lt {n : ℕ} (h : n < finrank K V) : ↑n < Module.ra
     rw [finrank, Cardinal.toNat_apply_of_aleph0_le h]
     exact n.zero_le
 #align finite_dimensional.rank_lt_of_finrank_lt FiniteDimensional.rank_lt_of_finrank_lt
+-/
 
 #print FiniteDimensional.finrank_le_finrank_of_rank_le_rank /-
 theorem finrank_le_finrank_of_rank_le_rank
@@ -109,17 +117,22 @@ section
 
 variable [Nontrivial K] [NoZeroSMulDivisors K V]
 
+#print FiniteDimensional.nontrivial_of_finrank_pos /-
 /-- A finite dimensional space is nontrivial if it has positive `finrank`. -/
 theorem nontrivial_of_finrank_pos (h : 0 < finrank K V) : Nontrivial V :=
   rank_pos_iff_nontrivial.mp (rank_lt_of_finrank_lt h)
 #align finite_dimensional.nontrivial_of_finrank_pos FiniteDimensional.nontrivial_of_finrank_pos
+-/
 
+#print FiniteDimensional.nontrivial_of_finrank_eq_succ /-
 /-- A finite dimensional space is nontrivial if it has `finrank` equal to the successor of a
 natural number. -/
 theorem nontrivial_of_finrank_eq_succ {n : ℕ} (hn : finrank K V = n.succ) : Nontrivial V :=
   nontrivial_of_finrank_pos (by rw [hn] <;> exact n.succ_pos)
 #align finite_dimensional.nontrivial_of_finrank_eq_succ FiniteDimensional.nontrivial_of_finrank_eq_succ
+-/
 
+#print FiniteDimensional.finrank_zero_of_subsingleton /-
 /-- A (finite dimensional) space that is a subsingleton has zero `finrank`. -/
 theorem finrank_zero_of_subsingleton [h : Subsingleton V] : finrank K V = 0 :=
   by
@@ -127,6 +140,7 @@ theorem finrank_zero_of_subsingleton [h : Subsingleton V] : finrank K V = 0 :=
   obtain ⟨x, y, hxy⟩ := nontrivial_of_finrank_pos (Nat.pos_of_ne_zero h0)
   exact hxy (Subsingleton.elim _ _)
 #align finite_dimensional.finrank_zero_of_subsingleton FiniteDimensional.finrank_zero_of_subsingleton
+-/
 
 end
 
@@ -254,16 +268,20 @@ variable {R M M₂ : Type _} [Ring R] [AddCommGroup M] [AddCommGroup M₂]
 
 variable [Module R M] [Module R M₂]
 
+#print LinearEquiv.finrank_eq /-
 /-- The dimension of a finite dimensional space is preserved under linear equivalence. -/
 theorem finrank_eq (f : M ≃ₗ[R] M₂) : finrank R M = finrank R M₂ := by unfold finrank;
   rw [← Cardinal.toNat_lift, f.lift_rank_eq, Cardinal.toNat_lift]
 #align linear_equiv.finrank_eq LinearEquiv.finrank_eq
+-/
 
+#print LinearEquiv.finrank_map_eq /-
 /-- Pushforwards of finite-dimensional submodules along a `linear_equiv` have the same finrank. -/
 theorem finrank_map_eq (f : M ≃ₗ[R] M₂) (p : Submodule R M) :
     finrank R (p.map (f : M →ₗ[R] M₂)) = finrank R p :=
   (f.submoduleMap p).finrank_eq.symm
 #align linear_equiv.finrank_map_eq LinearEquiv.finrank_map_eq
+-/
 
 end LinearEquiv
 
@@ -275,10 +293,12 @@ section Ring
 
 variable [Ring K] [AddCommGroup V] [Module K V] {V₂ : Type v'} [AddCommGroup V₂] [Module K V₂]
 
+#print LinearMap.finrank_range_of_inj /-
 /-- The dimensions of the domain and range of an injective linear map are equal. -/
 theorem finrank_range_of_inj {f : V →ₗ[K] V₂} (hf : Function.Injective f) :
     finrank K f.range = finrank K V := by rw [(LinearEquiv.ofInjective f hf).finrank_eq]
 #align linear_map.finrank_range_of_inj LinearMap.finrank_range_of_inj
+-/
 
 end Ring
 
@@ -292,15 +312,19 @@ variable [Ring K] [AddCommGroup V] [Module K V]
 
 variable (K V)
 
+#print finrank_bot /-
 @[simp]
 theorem finrank_bot [Nontrivial K] : finrank K (⊥ : Submodule K V) = 0 :=
   finrank_eq_of_rank_eq (rank_bot _ _)
 #align finrank_bot finrank_bot
+-/
 
+#print finrank_top /-
 @[simp]
 theorem finrank_top : finrank K (⊤ : Submodule K V) = finrank K V := by unfold finrank;
   simp [rank_top]
 #align finrank_top finrank_top
+-/
 
 end
 
@@ -310,16 +334,20 @@ section Ring
 
 variable [Ring K] [AddCommGroup V] [Module K V] {V₂ : Type v'} [AddCommGroup V₂] [Module K V₂]
 
+#print Submodule.lt_of_le_of_finrank_lt_finrank /-
 theorem lt_of_le_of_finrank_lt_finrank {s t : Submodule K V} (le : s ≤ t)
     (lt : finrank K s < finrank K t) : s < t :=
   lt_of_le_of_ne le fun h => ne_of_lt lt (by rw [h])
 #align submodule.lt_of_le_of_finrank_lt_finrank Submodule.lt_of_le_of_finrank_lt_finrank
+-/
 
+#print Submodule.lt_top_of_finrank_lt_finrank /-
 theorem lt_top_of_finrank_lt_finrank {s : Submodule K V} (lt : finrank K s < finrank K V) : s < ⊤ :=
   by
   rw [← finrank_top K V] at lt 
   exact lt_of_le_of_finrank_lt_finrank le_top lt
 #align submodule.lt_top_of_finrank_lt_finrank Submodule.lt_top_of_finrank_lt_finrank
+-/
 
 end Ring
 
@@ -358,11 +386,14 @@ theorem finrank_span_finset_le_card (s : Finset V) : (s : Set V).finrank K ≤ s
 #align finrank_span_finset_le_card finrank_span_finset_le_card
 -/
 
+#print finrank_range_le_card /-
 theorem finrank_range_le_card {ι : Type _} [Fintype ι] {b : ι → V} :
     (Set.range b).finrank K ≤ Fintype.card ι :=
   (finrank_span_le_card _).trans <| by rw [Set.toFinset_range]; exact Finset.card_image_le
 #align finrank_range_le_card finrank_range_le_card
+-/
 
+#print finrank_span_eq_card /-
 theorem finrank_span_eq_card {ι : Type _} [Fintype ι] {b : ι → V} (hb : LinearIndependent K b) :
     finrank K (span K (Set.range b)) = Fintype.card ι :=
   finrank_eq_of_rank_eq
@@ -371,6 +402,7 @@ theorem finrank_span_eq_card {ι : Type _} [Fintype ι] {b : ι → V} (hb : Lin
       rwa [← lift_inj, mk_range_eq_of_injective hb.injective, Cardinal.mk_fintype, lift_nat_cast,
         lift_eq_nat_iff] at this )
 #align finrank_span_eq_card finrank_span_eq_card
+-/
 
 #print finrank_span_set_eq_card /-
 theorem finrank_span_set_eq_card (s : Set V) [Fintype s] (hs : LinearIndependent K (coe : s → V)) :
@@ -392,16 +424,20 @@ theorem finrank_span_finset_eq_card (s : Finset V) (hs : LinearIndependent K (co
 #align finrank_span_finset_eq_card finrank_span_finset_eq_card
 -/
 
+#print span_lt_of_subset_of_card_lt_finrank /-
 theorem span_lt_of_subset_of_card_lt_finrank {s : Set V} [Fintype s] {t : Submodule K V}
     (subset : s ⊆ t) (card_lt : s.toFinset.card < finrank K t) : span K s < t :=
   lt_of_le_of_finrank_lt_finrank (span_le.mpr subset)
     (lt_of_le_of_lt (finrank_span_le_card _) card_lt)
 #align span_lt_of_subset_of_card_lt_finrank span_lt_of_subset_of_card_lt_finrank
+-/
 
+#print span_lt_top_of_card_lt_finrank /-
 theorem span_lt_top_of_card_lt_finrank {s : Set V} [Fintype s]
     (card_lt : s.toFinset.card < finrank K V) : span K s < ⊤ :=
   lt_top_of_finrank_lt_finrank (lt_of_le_of_lt (finrank_span_le_card _) card_lt)
 #align span_lt_top_of_card_lt_finrank span_lt_top_of_card_lt_finrank
+-/
 
 end DivisionRing
 
@@ -413,6 +449,7 @@ section DivisionRing
 
 variable [DivisionRing K] [AddCommGroup V] [Module K V]
 
+#print linearIndependent_of_top_le_span_of_card_eq_finrank /-
 theorem linearIndependent_of_top_le_span_of_card_eq_finrank {ι : Type _} [Fintype ι] {b : ι → V}
     (spans : ⊤ ≤ span K (Set.range b)) (card_eq : Fintype.card ι = finrank K V) :
     LinearIndependent K b :=
@@ -462,7 +499,9 @@ theorem linearIndependent_of_top_le_span_of_card_eq_finrank {ι : Type _} [Finty
     -- And then it's just a bit of manipulation with finite sums.
     rwa [← Finset.insert_erase i_mem_s, Finset.sum_insert (Finset.not_mem_erase _ _)] at dependent 
 #align linear_independent_of_top_le_span_of_card_eq_finrank linearIndependent_of_top_le_span_of_card_eq_finrank
+-/
 
+#print linearIndependent_iff_card_eq_finrank_span /-
 /-- A finite family of vectors is linearly independent if and only if
 its cardinality equals the dimension of its span. -/
 theorem linearIndependent_iff_card_eq_finrank_span {ι : Type _} [Fintype ι] {b : ι → V} :
@@ -489,25 +528,33 @@ theorem linearIndependent_iff_card_eq_finrank_span {ι : Type _} [Fintype ι] {b
     have hi : f.ker = ⊥ := ker_subtype _
     convert (linearIndependent_of_top_le_span_of_card_eq_finrank hs hc).map' _ hi
 #align linear_independent_iff_card_eq_finrank_span linearIndependent_iff_card_eq_finrank_span
+-/
 
+#print linearIndependent_iff_card_le_finrank_span /-
 theorem linearIndependent_iff_card_le_finrank_span {ι : Type _} [Fintype ι] {b : ι → V} :
     LinearIndependent K b ↔ Fintype.card ι ≤ (Set.range b).finrank K := by
   rw [linearIndependent_iff_card_eq_finrank_span, finrank_range_le_card.le_iff_eq]
 #align linear_independent_iff_card_le_finrank_span linearIndependent_iff_card_le_finrank_span
+-/
 
+#print basisOfTopLeSpanOfCardEqFinrank /-
 /-- A family of `finrank K V` vectors forms a basis if they span the whole space. -/
 noncomputable def basisOfTopLeSpanOfCardEqFinrank {ι : Type _} [Fintype ι] (b : ι → V)
     (le_span : ⊤ ≤ span K (Set.range b)) (card_eq : Fintype.card ι = finrank K V) : Basis ι K V :=
   Basis.mk (linearIndependent_of_top_le_span_of_card_eq_finrank le_span card_eq) le_span
 #align basis_of_top_le_span_of_card_eq_finrank basisOfTopLeSpanOfCardEqFinrank
+-/
 
+#print coe_basisOfTopLeSpanOfCardEqFinrank /-
 @[simp]
 theorem coe_basisOfTopLeSpanOfCardEqFinrank {ι : Type _} [Fintype ι] (b : ι → V)
     (le_span : ⊤ ≤ span K (Set.range b)) (card_eq : Fintype.card ι = finrank K V) :
     ⇑(basisOfTopLeSpanOfCardEqFinrank b le_span card_eq) = b :=
   Basis.coe_mk _ _
 #align coe_basis_of_top_le_span_of_card_eq_finrank coe_basisOfTopLeSpanOfCardEqFinrank
+-/
 
+#print finsetBasisOfTopLeSpanOfCardEqFinrank /-
 /-- A finset of `finrank K V` vectors forms a basis if they span the whole space. -/
 @[simps repr_apply]
 noncomputable def finsetBasisOfTopLeSpanOfCardEqFinrank {s : Finset V}
@@ -516,7 +563,9 @@ noncomputable def finsetBasisOfTopLeSpanOfCardEqFinrank {s : Finset V}
     ((@Subtype.range_coe_subtype _ fun x => x ∈ s).symm ▸ le_span)
     (trans (Fintype.card_coe _) card_eq)
 #align finset_basis_of_top_le_span_of_card_eq_finrank finsetBasisOfTopLeSpanOfCardEqFinrank
+-/
 
+#print setBasisOfTopLeSpanOfCardEqFinrank /-
 /-- A set of `finrank K V` vectors forms a basis if they span the whole space. -/
 @[simps repr_apply]
 noncomputable def setBasisOfTopLeSpanOfCardEqFinrank {s : Set V} [Fintype s]
@@ -524,6 +573,7 @@ noncomputable def setBasisOfTopLeSpanOfCardEqFinrank {s : Set V} [Fintype s]
   basisOfTopLeSpanOfCardEqFinrank (coe : s → V) ((@Subtype.range_coe_subtype _ s).symm ▸ le_span)
     (trans s.toFinset_card.symm card_eq)
 #align set_basis_of_top_le_span_of_card_eq_finrank setBasisOfTopLeSpanOfCardEqFinrank
+-/
 
 end DivisionRing
 
@@ -540,6 +590,7 @@ variable [Ring K] [AddCommGroup V] [Module K V]
 
 variable [NoZeroSMulDivisors K V] [StrongRankCondition K]
 
+#print finrank_eq_one /-
 /-- If there is a nonzero vector and every other vector is a multiple of it,
 then the module has dimension one. -/
 theorem finrank_eq_one (v : V) (n : v ≠ 0) (h : ∀ w : V, ∃ c : K, c • v = w) : finrank K V = 1 :=
@@ -548,7 +599,9 @@ theorem finrank_eq_one (v : V) (n : v ≠ 0) (h : ∀ w : V, ∃ c : K, c • v
   obtain ⟨b⟩ := (Basis.basis_singleton_iff PUnit).mpr ⟨v, n, h⟩
   rw [finrank_eq_card_basis b, Fintype.card_punit]
 #align finrank_eq_one finrank_eq_one
+-/
 
+#print finrank_le_one /-
 /-- If every vector is a multiple of some `v : V`, then `V` has dimension at most one.
 -/
 theorem finrank_le_one (v : V) (h : ∀ w : V, ∃ c : K, c • v = w) : finrank K V ≤ 1 :=
@@ -560,6 +613,7 @@ theorem finrank_le_one (v : V) (h : ∀ w : V, ∃ c : K, c • v = w) : finrank
     exact zero_le_one
   · exact (finrank_eq_one v hn h).le
 #align finrank_le_one finrank_le_one
+-/
 
 end finrank_eq_one
 
@@ -569,17 +623,21 @@ open Module
 
 variable {F E : Type _} [CommRing F] [Ring E] [Algebra F E]
 
+#print Subalgebra.rank_toSubmodule /-
 @[simp]
 theorem Subalgebra.rank_toSubmodule (S : Subalgebra F E) :
     Module.rank F S.toSubmodule = Module.rank F S :=
   rfl
 #align subalgebra.rank_to_submodule Subalgebra.rank_toSubmodule
+-/
 
+#print Subalgebra.finrank_toSubmodule /-
 @[simp]
 theorem Subalgebra.finrank_toSubmodule (S : Subalgebra F E) :
     finrank F S.toSubmodule = finrank F S :=
   rfl
 #align subalgebra.finrank_to_submodule Subalgebra.finrank_toSubmodule
+-/
 
 #print subalgebra_top_rank_eq_submodule_top_rank /-
 theorem subalgebra_top_rank_eq_submodule_top_rank :
@@ -588,10 +646,12 @@ theorem subalgebra_top_rank_eq_submodule_top_rank :
 #align subalgebra_top_rank_eq_submodule_top_rank subalgebra_top_rank_eq_submodule_top_rank
 -/
 
+#print subalgebra_top_finrank_eq_submodule_top_finrank /-
 theorem subalgebra_top_finrank_eq_submodule_top_finrank :
     finrank F (⊤ : Subalgebra F E) = finrank F (⊤ : Submodule F E) := by
   rw [← Algebra.top_toSubmodule]; rfl
 #align subalgebra_top_finrank_eq_submodule_top_finrank subalgebra_top_finrank_eq_submodule_top_finrank
+-/
 
 #print Subalgebra.rank_top /-
 theorem Subalgebra.rank_top : Module.rank F (⊤ : Subalgebra F E) = Module.rank F E := by
@@ -603,6 +663,7 @@ section
 
 variable [StrongRankCondition F] [NoZeroSMulDivisors F E] [Nontrivial E]
 
+#print Subalgebra.rank_bot /-
 @[simp]
 theorem Subalgebra.rank_bot : Module.rank F (⊥ : Subalgebra F E) = 1 :=
   ((Subalgebra.toSubmoduleEquiv (⊥ : Subalgebra F E)).symm.trans <|
@@ -612,11 +673,14 @@ theorem Subalgebra.rank_bot : Module.rank F (⊥ : Subalgebra F E) = 1 :=
     rw [rank_span_set]
     exacts [mk_singleton _, linearIndependent_singleton one_ne_zero]
 #align subalgebra.rank_bot Subalgebra.rank_bot
+-/
 
+#print Subalgebra.finrank_bot /-
 @[simp]
 theorem Subalgebra.finrank_bot : finrank F (⊥ : Subalgebra F E) = 1 :=
   finrank_eq_of_rank_eq (by simp)
 #align subalgebra.finrank_bot Subalgebra.finrank_bot
+-/
 
 end
 
Diff
@@ -355,7 +355,6 @@ theorem finrank_span_finset_le_card (s : Finset V) : (s : Set V).finrank K ≤ s
   calc
     (s : Set V).finrank K ≤ (s : Set V).toFinset.card := finrank_span_le_card s
     _ = s.card := by simp
-    
 #align finrank_span_finset_le_card finrank_span_finset_le_card
 -/
 
@@ -435,7 +434,6 @@ theorem linearIndependent_of_top_le_span_of_card_eq_finrank {ι : Type _} [Finty
         _ = (finset.univ.erase i).card := (congr_arg Finset.card (Finset.ext (by simp [and_comm'])))
         _ < finset.univ.card := (Finset.card_erase_lt_of_mem (Finset.mem_univ i))
         _ = finrank K V := card_eq
-        
     -- We already have that `b '' univ` spans the whole space,
     -- so we only need to show that the span of `b '' (univ \ {i})` contains each `b j`.
     refine' spans.trans (span_le.mpr _)
@@ -461,7 +459,6 @@ theorem linearIndependent_of_top_le_span_of_card_eq_finrank {ι : Type _} [Finty
         by rw [smul_add, ← mul_smul, inv_mul_cancel gx_ne_zero, one_smul]
       _ = (g i)⁻¹ • 0 := (congr_arg _ _)
       _ = 0 := smul_zero _
-      
     -- And then it's just a bit of manipulation with finite sums.
     rwa [← Finset.insert_erase i_mem_s, Finset.sum_insert (Finset.not_mem_erase _ _)] at dependent 
 #align linear_independent_of_top_le_span_of_card_eq_finrank linearIndependent_of_top_le_span_of_card_eq_finrank
Diff
@@ -69,7 +69,7 @@ noncomputable def finrank (R V : Type _) [Semiring R] [AddCommGroup V] [Module R
 
 theorem finrank_eq_of_rank_eq {n : ℕ} (h : Module.rank K V = ↑n) : finrank K V = n :=
   by
-  apply_fun toNat  at h 
+  apply_fun toNat at h 
   rw [to_nat_cast] at h 
   exact_mod_cast h
 #align finite_dimensional.finrank_eq_of_rank_eq FiniteDimensional.finrank_eq_of_rank_eq
@@ -490,7 +490,7 @@ theorem linearIndependent_iff_card_eq_finrank_span {ι : Type _} [Fintype ι] {b
         rw [h]
       simpa [mem_map] using hx
     have hi : f.ker = ⊥ := ker_subtype _
-    convert(linearIndependent_of_top_le_span_of_card_eq_finrank hs hc).map' _ hi
+    convert (linearIndependent_of_top_le_span_of_card_eq_finrank hs hc).map' _ hi
 #align linear_independent_iff_card_eq_finrank_span linearIndependent_iff_card_eq_finrank_span
 
 theorem linearIndependent_iff_card_le_finrank_span {ι : Type _} [Fintype ι] {b : ι → V} :
Diff
@@ -69,21 +69,21 @@ noncomputable def finrank (R V : Type _) [Semiring R] [AddCommGroup V] [Module R
 
 theorem finrank_eq_of_rank_eq {n : ℕ} (h : Module.rank K V = ↑n) : finrank K V = n :=
   by
-  apply_fun toNat  at h
-  rw [to_nat_cast] at h
+  apply_fun toNat  at h 
+  rw [to_nat_cast] at h 
   exact_mod_cast h
 #align finite_dimensional.finrank_eq_of_rank_eq FiniteDimensional.finrank_eq_of_rank_eq
 
 theorem finrank_le_of_rank_le {n : ℕ} (h : Module.rank K V ≤ ↑n) : finrank K V ≤ n :=
   by
-  rwa [← Cardinal.toNat_le_iff_le_of_lt_aleph0, to_nat_cast] at h
+  rwa [← Cardinal.toNat_le_iff_le_of_lt_aleph0, to_nat_cast] at h 
   · exact h.trans_lt (nat_lt_aleph_0 n)
   · exact nat_lt_aleph_0 n
 #align finite_dimensional.finrank_le_of_rank_le FiniteDimensional.finrank_le_of_rank_le
 
 theorem finrank_lt_of_rank_lt {n : ℕ} (h : Module.rank K V < ↑n) : finrank K V < n :=
   by
-  rwa [← Cardinal.toNat_lt_iff_lt_of_lt_aleph0, to_nat_cast] at h
+  rwa [← Cardinal.toNat_lt_iff_lt_of_lt_aleph0, to_nat_cast] at h 
   · exact h.trans (nat_lt_aleph_0 n)
   · exact nat_lt_aleph_0 n
 #align finite_dimensional.finrank_lt_of_rank_lt FiniteDimensional.finrank_lt_of_rank_lt
@@ -230,7 +230,7 @@ theorem finrank_eq_zero_of_not_exists_basis
 
 #print finrank_eq_zero_of_not_exists_basis_finite /-
 theorem finrank_eq_zero_of_not_exists_basis_finite
-    (h : ¬∃ (s : Set V)(b : Basis.{v} (s : Set V) K V), s.Finite) : finrank K V = 0 :=
+    (h : ¬∃ (s : Set V) (b : Basis.{v} (s : Set V) K V), s.Finite) : finrank K V = 0 :=
   finrank_eq_zero_of_basis_imp_not_finite fun s b hs => h ⟨s, b, hs⟩
 #align finrank_eq_zero_of_not_exists_basis_finite finrank_eq_zero_of_not_exists_basis_finite
 -/
@@ -317,7 +317,7 @@ theorem lt_of_le_of_finrank_lt_finrank {s t : Submodule K V} (le : s ≤ t)
 
 theorem lt_top_of_finrank_lt_finrank {s : Submodule K V} (lt : finrank K s < finrank K V) : s < ⊤ :=
   by
-  rw [← finrank_top K V] at lt
+  rw [← finrank_top K V] at lt 
   exact lt_of_le_of_finrank_lt_finrank le_top lt
 #align submodule.lt_top_of_finrank_lt_finrank Submodule.lt_top_of_finrank_lt_finrank
 
@@ -370,7 +370,7 @@ theorem finrank_span_eq_card {ι : Type _} [Fintype ι] {b : ι → V} (hb : Lin
     (by
       have : Module.rank K (span K (Set.range b)) = (#Set.range b) := rank_span hb
       rwa [← lift_inj, mk_range_eq_of_injective hb.injective, Cardinal.mk_fintype, lift_nat_cast,
-        lift_eq_nat_iff] at this)
+        lift_eq_nat_iff] at this )
 #align finrank_span_eq_card finrank_span_eq_card
 
 #print finrank_span_set_eq_card /-
@@ -379,7 +379,7 @@ theorem finrank_span_set_eq_card (s : Set V) [Fintype s] (hs : LinearIndependent
   finrank_eq_of_rank_eq
     (by
       have : Module.rank K (span K s) = (#s) := rank_span_set hs
-      rwa [Cardinal.mk_fintype, ← Set.toFinset_card] at this)
+      rwa [Cardinal.mk_fintype, ← Set.toFinset_card] at this )
 #align finrank_span_set_eq_card finrank_span_set_eq_card
 -/
 
@@ -463,7 +463,7 @@ theorem linearIndependent_of_top_le_span_of_card_eq_finrank {ι : Type _} [Finty
       _ = 0 := smul_zero _
       
     -- And then it's just a bit of manipulation with finite sums.
-    rwa [← Finset.insert_erase i_mem_s, Finset.sum_insert (Finset.not_mem_erase _ _)] at dependent
+    rwa [← Finset.insert_erase i_mem_s, Finset.sum_insert (Finset.not_mem_erase _ _)] at dependent 
 #align linear_independent_of_top_le_span_of_card_eq_finrank linearIndependent_of_top_le_span_of_card_eq_finrank
 
 /-- A finite family of vectors is linearly independent if and only if
@@ -482,7 +482,7 @@ theorem linearIndependent_iff_card_eq_finrank_span {ι : Type _} [Fintype ι] {b
       intro x
       have h : span K (f '' Set.range b') = map f (span K (Set.range b')) := span_image f
       have hf : f '' Set.range b' = Set.range b := by ext x; simp [Set.mem_image, Set.mem_range]
-      rw [hf] at h
+      rw [hf] at h 
       have hx : (x : V) ∈ span K (Set.range b) := x.property
       conv at hx =>
         congr
@@ -613,7 +613,7 @@ theorem Subalgebra.rank_bot : Module.rank F (⊥ : Subalgebra F E) = 1 :=
     by
     letI := Module.nontrivial F E
     rw [rank_span_set]
-    exacts[mk_singleton _, linearIndependent_singleton one_ne_zero]
+    exacts [mk_singleton _, linearIndependent_singleton one_ne_zero]
 #align subalgebra.rank_bot Subalgebra.rank_bot
 
 @[simp]
Diff
@@ -40,7 +40,7 @@ You should not assume that there has been any effort to state lemmas as generall
 
 universe u v v' w
 
-open Classical Cardinal
+open scoped Classical Cardinal
 
 open Cardinal Submodule Module Function
 
@@ -97,11 +97,13 @@ theorem rank_lt_of_finrank_lt {n : ℕ} (h : n < finrank K V) : ↑n < Module.ra
     exact n.zero_le
 #align finite_dimensional.rank_lt_of_finrank_lt FiniteDimensional.rank_lt_of_finrank_lt
 
+#print FiniteDimensional.finrank_le_finrank_of_rank_le_rank /-
 theorem finrank_le_finrank_of_rank_le_rank
     (h : lift.{v'} (Module.rank K V) ≤ Cardinal.lift.{v} (Module.rank K V₂))
     (h' : Module.rank K V₂ < ℵ₀) : finrank K V ≤ finrank K V₂ := by
   simpa only [to_nat_lift] using to_nat_le_of_le_of_lt_aleph_0 (lift_lt_aleph_0.mpr h') h
 #align finite_dimensional.finrank_le_finrank_of_rank_le_rank FiniteDimensional.finrank_le_finrank_of_rank_le_rank
+-/
 
 section
 
Diff
@@ -67,12 +67,6 @@ noncomputable def finrank (R V : Type _) [Semiring R] [AddCommGroup V] [Module R
 #align finite_dimensional.finrank FiniteDimensional.finrank
 -/
 
-/- warning: finite_dimensional.finrank_eq_of_rank_eq -> FiniteDimensional.finrank_eq_of_rank_eq is a dubious translation:
-lean 3 declaration is
-  forall {K : Type.{u1}} {V : Type.{u2}} [_inst_1 : Ring.{u1} K] [_inst_2 : AddCommGroup.{u2} V] [_inst_3 : Module.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2)] {n : Nat}, (Eq.{succ (succ u2)} Cardinal.{u2} (Module.rank.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) ((fun (a : Type) (b : Type.{succ u2}) [self : HasLiftT.{1, succ (succ u2)} a b] => self.0) Nat Cardinal.{u2} (HasLiftT.mk.{1, succ (succ u2)} Nat Cardinal.{u2} (CoeTCₓ.coe.{1, succ (succ u2)} Nat Cardinal.{u2} (Nat.castCoe.{succ u2} Cardinal.{u2} Cardinal.hasNatCast.{u2}))) n)) -> (Eq.{1} Nat (FiniteDimensional.finrank.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) _inst_2 _inst_3) n)
-but is expected to have type
-  forall {K : Type.{u1}} {V : Type.{u2}} [_inst_1 : Ring.{u1} K] [_inst_2 : AddCommGroup.{u2} V] [_inst_3 : Module.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2)] {n : Nat}, (Eq.{succ (succ u2)} Cardinal.{u2} (Module.rank.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (Nat.cast.{succ u2} Cardinal.{u2} Cardinal.instNatCastCardinal.{u2} n)) -> (Eq.{1} Nat (FiniteDimensional.finrank.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) _inst_2 _inst_3) n)
-Case conversion may be inaccurate. Consider using '#align finite_dimensional.finrank_eq_of_rank_eq FiniteDimensional.finrank_eq_of_rank_eqₓ'. -/
 theorem finrank_eq_of_rank_eq {n : ℕ} (h : Module.rank K V = ↑n) : finrank K V = n :=
   by
   apply_fun toNat  at h
@@ -80,12 +74,6 @@ theorem finrank_eq_of_rank_eq {n : ℕ} (h : Module.rank K V = ↑n) : finrank K
   exact_mod_cast h
 #align finite_dimensional.finrank_eq_of_rank_eq FiniteDimensional.finrank_eq_of_rank_eq
 
-/- warning: finite_dimensional.finrank_le_of_rank_le -> FiniteDimensional.finrank_le_of_rank_le is a dubious translation:
-lean 3 declaration is
-  forall {K : Type.{u1}} {V : Type.{u2}} [_inst_1 : Ring.{u1} K] [_inst_2 : AddCommGroup.{u2} V] [_inst_3 : Module.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2)] {n : Nat}, (LE.le.{succ u2} Cardinal.{u2} Cardinal.hasLe.{u2} (Module.rank.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) ((fun (a : Type) (b : Type.{succ u2}) [self : HasLiftT.{1, succ (succ u2)} a b] => self.0) Nat Cardinal.{u2} (HasLiftT.mk.{1, succ (succ u2)} Nat Cardinal.{u2} (CoeTCₓ.coe.{1, succ (succ u2)} Nat Cardinal.{u2} (Nat.castCoe.{succ u2} Cardinal.{u2} Cardinal.hasNatCast.{u2}))) n)) -> (LE.le.{0} Nat Nat.hasLe (FiniteDimensional.finrank.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) _inst_2 _inst_3) n)
-but is expected to have type
-  forall {K : Type.{u1}} {V : Type.{u2}} [_inst_1 : Ring.{u1} K] [_inst_2 : AddCommGroup.{u2} V] [_inst_3 : Module.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2)] {n : Nat}, (LE.le.{succ u2} Cardinal.{u2} Cardinal.instLECardinal.{u2} (Module.rank.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (Nat.cast.{succ u2} Cardinal.{u2} Cardinal.instNatCastCardinal.{u2} n)) -> (LE.le.{0} Nat instLENat (FiniteDimensional.finrank.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) _inst_2 _inst_3) n)
-Case conversion may be inaccurate. Consider using '#align finite_dimensional.finrank_le_of_rank_le FiniteDimensional.finrank_le_of_rank_leₓ'. -/
 theorem finrank_le_of_rank_le {n : ℕ} (h : Module.rank K V ≤ ↑n) : finrank K V ≤ n :=
   by
   rwa [← Cardinal.toNat_le_iff_le_of_lt_aleph0, to_nat_cast] at h
@@ -93,12 +81,6 @@ theorem finrank_le_of_rank_le {n : ℕ} (h : Module.rank K V ≤ ↑n) : finrank
   · exact nat_lt_aleph_0 n
 #align finite_dimensional.finrank_le_of_rank_le FiniteDimensional.finrank_le_of_rank_le
 
-/- warning: finite_dimensional.finrank_lt_of_rank_lt -> FiniteDimensional.finrank_lt_of_rank_lt is a dubious translation:
-lean 3 declaration is
-  forall {K : Type.{u1}} {V : Type.{u2}} [_inst_1 : Ring.{u1} K] [_inst_2 : AddCommGroup.{u2} V] [_inst_3 : Module.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2)] {n : Nat}, (LT.lt.{succ u2} Cardinal.{u2} (Preorder.toHasLt.{succ u2} Cardinal.{u2} (PartialOrder.toPreorder.{succ u2} Cardinal.{u2} Cardinal.partialOrder.{u2})) (Module.rank.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) ((fun (a : Type) (b : Type.{succ u2}) [self : HasLiftT.{1, succ (succ u2)} a b] => self.0) Nat Cardinal.{u2} (HasLiftT.mk.{1, succ (succ u2)} Nat Cardinal.{u2} (CoeTCₓ.coe.{1, succ (succ u2)} Nat Cardinal.{u2} (Nat.castCoe.{succ u2} Cardinal.{u2} Cardinal.hasNatCast.{u2}))) n)) -> (LT.lt.{0} Nat Nat.hasLt (FiniteDimensional.finrank.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) _inst_2 _inst_3) n)
-but is expected to have type
-  forall {K : Type.{u1}} {V : Type.{u2}} [_inst_1 : Ring.{u1} K] [_inst_2 : AddCommGroup.{u2} V] [_inst_3 : Module.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2)] {n : Nat}, (LT.lt.{succ u2} Cardinal.{u2} (Preorder.toLT.{succ u2} Cardinal.{u2} (PartialOrder.toPreorder.{succ u2} Cardinal.{u2} Cardinal.partialOrder.{u2})) (Module.rank.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (Nat.cast.{succ u2} Cardinal.{u2} Cardinal.instNatCastCardinal.{u2} n)) -> (LT.lt.{0} Nat instLTNat (FiniteDimensional.finrank.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) _inst_2 _inst_3) n)
-Case conversion may be inaccurate. Consider using '#align finite_dimensional.finrank_lt_of_rank_lt FiniteDimensional.finrank_lt_of_rank_ltₓ'. -/
 theorem finrank_lt_of_rank_lt {n : ℕ} (h : Module.rank K V < ↑n) : finrank K V < n :=
   by
   rwa [← Cardinal.toNat_lt_iff_lt_of_lt_aleph0, to_nat_cast] at h
@@ -106,12 +88,6 @@ theorem finrank_lt_of_rank_lt {n : ℕ} (h : Module.rank K V < ↑n) : finrank K
   · exact nat_lt_aleph_0 n
 #align finite_dimensional.finrank_lt_of_rank_lt FiniteDimensional.finrank_lt_of_rank_lt
 
-/- warning: finite_dimensional.rank_lt_of_finrank_lt -> FiniteDimensional.rank_lt_of_finrank_lt is a dubious translation:
-lean 3 declaration is
-  forall {K : Type.{u1}} {V : Type.{u2}} [_inst_1 : Ring.{u1} K] [_inst_2 : AddCommGroup.{u2} V] [_inst_3 : Module.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2)] {n : Nat}, (LT.lt.{0} Nat Nat.hasLt n (FiniteDimensional.finrank.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) _inst_2 _inst_3)) -> (LT.lt.{succ u2} Cardinal.{u2} (Preorder.toHasLt.{succ u2} Cardinal.{u2} (PartialOrder.toPreorder.{succ u2} Cardinal.{u2} Cardinal.partialOrder.{u2})) ((fun (a : Type) (b : Type.{succ u2}) [self : HasLiftT.{1, succ (succ u2)} a b] => self.0) Nat Cardinal.{u2} (HasLiftT.mk.{1, succ (succ u2)} Nat Cardinal.{u2} (CoeTCₓ.coe.{1, succ (succ u2)} Nat Cardinal.{u2} (Nat.castCoe.{succ u2} Cardinal.{u2} Cardinal.hasNatCast.{u2}))) n) (Module.rank.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3))
-but is expected to have type
-  forall {K : Type.{u1}} {V : Type.{u2}} [_inst_1 : Ring.{u1} K] [_inst_2 : AddCommGroup.{u2} V] [_inst_3 : Module.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2)] {n : Nat}, (LT.lt.{0} Nat instLTNat n (FiniteDimensional.finrank.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) _inst_2 _inst_3)) -> (LT.lt.{succ u2} Cardinal.{u2} (Preorder.toLT.{succ u2} Cardinal.{u2} (PartialOrder.toPreorder.{succ u2} Cardinal.{u2} Cardinal.partialOrder.{u2})) (Nat.cast.{succ u2} Cardinal.{u2} Cardinal.instNatCastCardinal.{u2} n) (Module.rank.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3))
-Case conversion may be inaccurate. Consider using '#align finite_dimensional.rank_lt_of_finrank_lt FiniteDimensional.rank_lt_of_finrank_ltₓ'. -/
 theorem rank_lt_of_finrank_lt {n : ℕ} (h : n < finrank K V) : ↑n < Module.rank K V :=
   by
   rwa [← Cardinal.toNat_lt_iff_lt_of_lt_aleph0, to_nat_cast]
@@ -121,12 +97,6 @@ theorem rank_lt_of_finrank_lt {n : ℕ} (h : n < finrank K V) : ↑n < Module.ra
     exact n.zero_le
 #align finite_dimensional.rank_lt_of_finrank_lt FiniteDimensional.rank_lt_of_finrank_lt
 
-/- warning: finite_dimensional.finrank_le_finrank_of_rank_le_rank -> FiniteDimensional.finrank_le_finrank_of_rank_le_rank is a dubious translation:
-lean 3 declaration is
-  forall {K : Type.{u1}} {V : Type.{u2}} [_inst_1 : Ring.{u1} K] [_inst_2 : AddCommGroup.{u2} V] [_inst_3 : Module.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2)] {V₂ : Type.{u3}} [_inst_4 : AddCommGroup.{u3} V₂] [_inst_5 : Module.{u1, u3} K V₂ (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u3} V₂ _inst_4)], (LE.le.{succ (max u2 u3)} Cardinal.{max u2 u3} Cardinal.hasLe.{max u2 u3} (Cardinal.lift.{u3, u2} (Module.rank.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3)) (Cardinal.lift.{u2, u3} (Module.rank.{u1, u3} K V₂ (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u3} V₂ _inst_4) _inst_5))) -> (LT.lt.{succ u3} Cardinal.{u3} (Preorder.toHasLt.{succ u3} Cardinal.{u3} (PartialOrder.toPreorder.{succ u3} Cardinal.{u3} Cardinal.partialOrder.{u3})) (Module.rank.{u1, u3} K V₂ (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u3} V₂ _inst_4) _inst_5) Cardinal.aleph0.{u3}) -> (LE.le.{0} Nat Nat.hasLe (FiniteDimensional.finrank.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) _inst_2 _inst_3) (FiniteDimensional.finrank.{u1, u3} K V₂ (Ring.toSemiring.{u1} K _inst_1) _inst_4 _inst_5))
-but is expected to have type
-  forall {K : Type.{u1}} {V : Type.{u2}} [_inst_1 : Ring.{u1} K] [_inst_2 : AddCommGroup.{u2} V] [_inst_3 : Module.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2)] {V₂ : Type.{u3}} [_inst_4 : AddCommGroup.{u3} V₂] [_inst_5 : Module.{u1, u3} K V₂ (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u3} V₂ _inst_4)], (LE.le.{max (succ u2) (succ u3)} Cardinal.{max u2 u3} Cardinal.instLECardinal.{max u2 u3} (Cardinal.lift.{u3, u2} (Module.rank.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3)) (Cardinal.lift.{u2, u3} (Module.rank.{u1, u3} K V₂ (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u3} V₂ _inst_4) _inst_5))) -> (LT.lt.{succ u3} Cardinal.{u3} (Preorder.toLT.{succ u3} Cardinal.{u3} (PartialOrder.toPreorder.{succ u3} Cardinal.{u3} Cardinal.partialOrder.{u3})) (Module.rank.{u1, u3} K V₂ (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u3} V₂ _inst_4) _inst_5) Cardinal.aleph0.{u3}) -> (LE.le.{0} Nat instLENat (FiniteDimensional.finrank.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) _inst_2 _inst_3) (FiniteDimensional.finrank.{u1, u3} K V₂ (Ring.toSemiring.{u1} K _inst_1) _inst_4 _inst_5))
-Case conversion may be inaccurate. Consider using '#align finite_dimensional.finrank_le_finrank_of_rank_le_rank FiniteDimensional.finrank_le_finrank_of_rank_le_rankₓ'. -/
 theorem finrank_le_finrank_of_rank_le_rank
     (h : lift.{v'} (Module.rank K V) ≤ Cardinal.lift.{v} (Module.rank K V₂))
     (h' : Module.rank K V₂ < ℵ₀) : finrank K V ≤ finrank K V₂ := by
@@ -137,35 +107,17 @@ section
 
 variable [Nontrivial K] [NoZeroSMulDivisors K V]
 
-/- warning: finite_dimensional.nontrivial_of_finrank_pos -> FiniteDimensional.nontrivial_of_finrank_pos is a dubious translation:
-lean 3 declaration is
-  forall {K : Type.{u1}} {V : Type.{u2}} [_inst_1 : Ring.{u1} K] [_inst_2 : AddCommGroup.{u2} V] [_inst_3 : Module.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2)] [_inst_6 : Nontrivial.{u1} K] [_inst_7 : NoZeroSMulDivisors.{u1, u2} K V (MulZeroClass.toHasZero.{u1} K (NonUnitalNonAssocSemiring.toMulZeroClass.{u1} K (NonUnitalNonAssocRing.toNonUnitalNonAssocSemiring.{u1} K (NonAssocRing.toNonUnitalNonAssocRing.{u1} K (Ring.toNonAssocRing.{u1} K _inst_1))))) (AddZeroClass.toHasZero.{u2} V (AddMonoid.toAddZeroClass.{u2} V (SubNegMonoid.toAddMonoid.{u2} V (AddGroup.toSubNegMonoid.{u2} V (AddCommGroup.toAddGroup.{u2} V _inst_2))))) (SMulZeroClass.toHasSmul.{u1, u2} K V (AddZeroClass.toHasZero.{u2} V (AddMonoid.toAddZeroClass.{u2} V (AddCommMonoid.toAddMonoid.{u2} V (AddCommGroup.toAddCommMonoid.{u2} V _inst_2)))) (SMulWithZero.toSmulZeroClass.{u1, u2} K V (MulZeroClass.toHasZero.{u1} K (MulZeroOneClass.toMulZeroClass.{u1} K (MonoidWithZero.toMulZeroOneClass.{u1} K (Semiring.toMonoidWithZero.{u1} K (Ring.toSemiring.{u1} K _inst_1))))) (AddZeroClass.toHasZero.{u2} V (AddMonoid.toAddZeroClass.{u2} V (AddCommMonoid.toAddMonoid.{u2} V (AddCommGroup.toAddCommMonoid.{u2} V _inst_2)))) (MulActionWithZero.toSMulWithZero.{u1, u2} K V (Semiring.toMonoidWithZero.{u1} K (Ring.toSemiring.{u1} K _inst_1)) (AddZeroClass.toHasZero.{u2} V (AddMonoid.toAddZeroClass.{u2} V (AddCommMonoid.toAddMonoid.{u2} V (AddCommGroup.toAddCommMonoid.{u2} V _inst_2)))) (Module.toMulActionWithZero.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3))))], (LT.lt.{0} Nat Nat.hasLt (OfNat.ofNat.{0} Nat 0 (OfNat.mk.{0} Nat 0 (Zero.zero.{0} Nat Nat.hasZero))) (FiniteDimensional.finrank.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) _inst_2 _inst_3)) -> (Nontrivial.{u2} V)
-but is expected to have type
-  forall {K : Type.{u1}} {V : Type.{u2}} [_inst_1 : Ring.{u1} K] [_inst_2 : AddCommGroup.{u2} V] [_inst_3 : Module.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2)] [_inst_6 : Nontrivial.{u1} K] [_inst_7 : NoZeroSMulDivisors.{u1, u2} K V (MonoidWithZero.toZero.{u1} K (Semiring.toMonoidWithZero.{u1} K (Ring.toSemiring.{u1} K _inst_1))) (NegZeroClass.toZero.{u2} V (SubNegZeroMonoid.toNegZeroClass.{u2} V (SubtractionMonoid.toSubNegZeroMonoid.{u2} V (SubtractionCommMonoid.toSubtractionMonoid.{u2} V (AddCommGroup.toDivisionAddCommMonoid.{u2} V _inst_2))))) (SMulZeroClass.toSMul.{u1, u2} K V (NegZeroClass.toZero.{u2} V (SubNegZeroMonoid.toNegZeroClass.{u2} V (SubtractionMonoid.toSubNegZeroMonoid.{u2} V (SubtractionCommMonoid.toSubtractionMonoid.{u2} V (AddCommGroup.toDivisionAddCommMonoid.{u2} V _inst_2))))) (SMulWithZero.toSMulZeroClass.{u1, u2} K V (MonoidWithZero.toZero.{u1} K (Semiring.toMonoidWithZero.{u1} K (Ring.toSemiring.{u1} K _inst_1))) (NegZeroClass.toZero.{u2} V (SubNegZeroMonoid.toNegZeroClass.{u2} V (SubtractionMonoid.toSubNegZeroMonoid.{u2} V (SubtractionCommMonoid.toSubtractionMonoid.{u2} V (AddCommGroup.toDivisionAddCommMonoid.{u2} V _inst_2))))) (MulActionWithZero.toSMulWithZero.{u1, u2} K V (Semiring.toMonoidWithZero.{u1} K (Ring.toSemiring.{u1} K _inst_1)) (NegZeroClass.toZero.{u2} V (SubNegZeroMonoid.toNegZeroClass.{u2} V (SubtractionMonoid.toSubNegZeroMonoid.{u2} V (SubtractionCommMonoid.toSubtractionMonoid.{u2} V (AddCommGroup.toDivisionAddCommMonoid.{u2} V _inst_2))))) (Module.toMulActionWithZero.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3))))], (LT.lt.{0} Nat instLTNat (OfNat.ofNat.{0} Nat 0 (instOfNatNat 0)) (FiniteDimensional.finrank.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) _inst_2 _inst_3)) -> (Nontrivial.{u2} V)
-Case conversion may be inaccurate. Consider using '#align finite_dimensional.nontrivial_of_finrank_pos FiniteDimensional.nontrivial_of_finrank_posₓ'. -/
 /-- A finite dimensional space is nontrivial if it has positive `finrank`. -/
 theorem nontrivial_of_finrank_pos (h : 0 < finrank K V) : Nontrivial V :=
   rank_pos_iff_nontrivial.mp (rank_lt_of_finrank_lt h)
 #align finite_dimensional.nontrivial_of_finrank_pos FiniteDimensional.nontrivial_of_finrank_pos
 
-/- warning: finite_dimensional.nontrivial_of_finrank_eq_succ -> FiniteDimensional.nontrivial_of_finrank_eq_succ is a dubious translation:
-lean 3 declaration is
-  forall {K : Type.{u1}} {V : Type.{u2}} [_inst_1 : Ring.{u1} K] [_inst_2 : AddCommGroup.{u2} V] [_inst_3 : Module.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2)] [_inst_6 : Nontrivial.{u1} K] [_inst_7 : NoZeroSMulDivisors.{u1, u2} K V (MulZeroClass.toHasZero.{u1} K (NonUnitalNonAssocSemiring.toMulZeroClass.{u1} K (NonUnitalNonAssocRing.toNonUnitalNonAssocSemiring.{u1} K (NonAssocRing.toNonUnitalNonAssocRing.{u1} K (Ring.toNonAssocRing.{u1} K _inst_1))))) (AddZeroClass.toHasZero.{u2} V (AddMonoid.toAddZeroClass.{u2} V (SubNegMonoid.toAddMonoid.{u2} V (AddGroup.toSubNegMonoid.{u2} V (AddCommGroup.toAddGroup.{u2} V _inst_2))))) (SMulZeroClass.toHasSmul.{u1, u2} K V (AddZeroClass.toHasZero.{u2} V (AddMonoid.toAddZeroClass.{u2} V (AddCommMonoid.toAddMonoid.{u2} V (AddCommGroup.toAddCommMonoid.{u2} V _inst_2)))) (SMulWithZero.toSmulZeroClass.{u1, u2} K V (MulZeroClass.toHasZero.{u1} K (MulZeroOneClass.toMulZeroClass.{u1} K (MonoidWithZero.toMulZeroOneClass.{u1} K (Semiring.toMonoidWithZero.{u1} K (Ring.toSemiring.{u1} K _inst_1))))) (AddZeroClass.toHasZero.{u2} V (AddMonoid.toAddZeroClass.{u2} V (AddCommMonoid.toAddMonoid.{u2} V (AddCommGroup.toAddCommMonoid.{u2} V _inst_2)))) (MulActionWithZero.toSMulWithZero.{u1, u2} K V (Semiring.toMonoidWithZero.{u1} K (Ring.toSemiring.{u1} K _inst_1)) (AddZeroClass.toHasZero.{u2} V (AddMonoid.toAddZeroClass.{u2} V (AddCommMonoid.toAddMonoid.{u2} V (AddCommGroup.toAddCommMonoid.{u2} V _inst_2)))) (Module.toMulActionWithZero.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3))))] {n : Nat}, (Eq.{1} Nat (FiniteDimensional.finrank.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) _inst_2 _inst_3) (Nat.succ n)) -> (Nontrivial.{u2} V)
-but is expected to have type
-  forall {K : Type.{u1}} {V : Type.{u2}} [_inst_1 : Ring.{u1} K] [_inst_2 : AddCommGroup.{u2} V] [_inst_3 : Module.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2)] [_inst_6 : Nontrivial.{u1} K] [_inst_7 : NoZeroSMulDivisors.{u1, u2} K V (MonoidWithZero.toZero.{u1} K (Semiring.toMonoidWithZero.{u1} K (Ring.toSemiring.{u1} K _inst_1))) (NegZeroClass.toZero.{u2} V (SubNegZeroMonoid.toNegZeroClass.{u2} V (SubtractionMonoid.toSubNegZeroMonoid.{u2} V (SubtractionCommMonoid.toSubtractionMonoid.{u2} V (AddCommGroup.toDivisionAddCommMonoid.{u2} V _inst_2))))) (SMulZeroClass.toSMul.{u1, u2} K V (NegZeroClass.toZero.{u2} V (SubNegZeroMonoid.toNegZeroClass.{u2} V (SubtractionMonoid.toSubNegZeroMonoid.{u2} V (SubtractionCommMonoid.toSubtractionMonoid.{u2} V (AddCommGroup.toDivisionAddCommMonoid.{u2} V _inst_2))))) (SMulWithZero.toSMulZeroClass.{u1, u2} K V (MonoidWithZero.toZero.{u1} K (Semiring.toMonoidWithZero.{u1} K (Ring.toSemiring.{u1} K _inst_1))) (NegZeroClass.toZero.{u2} V (SubNegZeroMonoid.toNegZeroClass.{u2} V (SubtractionMonoid.toSubNegZeroMonoid.{u2} V (SubtractionCommMonoid.toSubtractionMonoid.{u2} V (AddCommGroup.toDivisionAddCommMonoid.{u2} V _inst_2))))) (MulActionWithZero.toSMulWithZero.{u1, u2} K V (Semiring.toMonoidWithZero.{u1} K (Ring.toSemiring.{u1} K _inst_1)) (NegZeroClass.toZero.{u2} V (SubNegZeroMonoid.toNegZeroClass.{u2} V (SubtractionMonoid.toSubNegZeroMonoid.{u2} V (SubtractionCommMonoid.toSubtractionMonoid.{u2} V (AddCommGroup.toDivisionAddCommMonoid.{u2} V _inst_2))))) (Module.toMulActionWithZero.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3))))] {n : Nat}, (Eq.{1} Nat (FiniteDimensional.finrank.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) _inst_2 _inst_3) (Nat.succ n)) -> (Nontrivial.{u2} V)
-Case conversion may be inaccurate. Consider using '#align finite_dimensional.nontrivial_of_finrank_eq_succ FiniteDimensional.nontrivial_of_finrank_eq_succₓ'. -/
 /-- A finite dimensional space is nontrivial if it has `finrank` equal to the successor of a
 natural number. -/
 theorem nontrivial_of_finrank_eq_succ {n : ℕ} (hn : finrank K V = n.succ) : Nontrivial V :=
   nontrivial_of_finrank_pos (by rw [hn] <;> exact n.succ_pos)
 #align finite_dimensional.nontrivial_of_finrank_eq_succ FiniteDimensional.nontrivial_of_finrank_eq_succ
 
-/- warning: finite_dimensional.finrank_zero_of_subsingleton -> FiniteDimensional.finrank_zero_of_subsingleton is a dubious translation:
-lean 3 declaration is
-  forall {K : Type.{u1}} {V : Type.{u2}} [_inst_1 : Ring.{u1} K] [_inst_2 : AddCommGroup.{u2} V] [_inst_3 : Module.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2)] [_inst_6 : Nontrivial.{u1} K] [_inst_7 : NoZeroSMulDivisors.{u1, u2} K V (MulZeroClass.toHasZero.{u1} K (NonUnitalNonAssocSemiring.toMulZeroClass.{u1} K (NonUnitalNonAssocRing.toNonUnitalNonAssocSemiring.{u1} K (NonAssocRing.toNonUnitalNonAssocRing.{u1} K (Ring.toNonAssocRing.{u1} K _inst_1))))) (AddZeroClass.toHasZero.{u2} V (AddMonoid.toAddZeroClass.{u2} V (SubNegMonoid.toAddMonoid.{u2} V (AddGroup.toSubNegMonoid.{u2} V (AddCommGroup.toAddGroup.{u2} V _inst_2))))) (SMulZeroClass.toHasSmul.{u1, u2} K V (AddZeroClass.toHasZero.{u2} V (AddMonoid.toAddZeroClass.{u2} V (AddCommMonoid.toAddMonoid.{u2} V (AddCommGroup.toAddCommMonoid.{u2} V _inst_2)))) (SMulWithZero.toSmulZeroClass.{u1, u2} K V (MulZeroClass.toHasZero.{u1} K (MulZeroOneClass.toMulZeroClass.{u1} K (MonoidWithZero.toMulZeroOneClass.{u1} K (Semiring.toMonoidWithZero.{u1} K (Ring.toSemiring.{u1} K _inst_1))))) (AddZeroClass.toHasZero.{u2} V (AddMonoid.toAddZeroClass.{u2} V (AddCommMonoid.toAddMonoid.{u2} V (AddCommGroup.toAddCommMonoid.{u2} V _inst_2)))) (MulActionWithZero.toSMulWithZero.{u1, u2} K V (Semiring.toMonoidWithZero.{u1} K (Ring.toSemiring.{u1} K _inst_1)) (AddZeroClass.toHasZero.{u2} V (AddMonoid.toAddZeroClass.{u2} V (AddCommMonoid.toAddMonoid.{u2} V (AddCommGroup.toAddCommMonoid.{u2} V _inst_2)))) (Module.toMulActionWithZero.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3))))] [h : Subsingleton.{succ u2} V], Eq.{1} Nat (FiniteDimensional.finrank.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) _inst_2 _inst_3) (OfNat.ofNat.{0} Nat 0 (OfNat.mk.{0} Nat 0 (Zero.zero.{0} Nat Nat.hasZero)))
-but is expected to have type
-  forall {K : Type.{u1}} {V : Type.{u2}} [_inst_1 : Ring.{u1} K] [_inst_2 : AddCommGroup.{u2} V] [_inst_3 : Module.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2)] [_inst_6 : Nontrivial.{u1} K] [_inst_7 : NoZeroSMulDivisors.{u1, u2} K V (MonoidWithZero.toZero.{u1} K (Semiring.toMonoidWithZero.{u1} K (Ring.toSemiring.{u1} K _inst_1))) (NegZeroClass.toZero.{u2} V (SubNegZeroMonoid.toNegZeroClass.{u2} V (SubtractionMonoid.toSubNegZeroMonoid.{u2} V (SubtractionCommMonoid.toSubtractionMonoid.{u2} V (AddCommGroup.toDivisionAddCommMonoid.{u2} V _inst_2))))) (SMulZeroClass.toSMul.{u1, u2} K V (NegZeroClass.toZero.{u2} V (SubNegZeroMonoid.toNegZeroClass.{u2} V (SubtractionMonoid.toSubNegZeroMonoid.{u2} V (SubtractionCommMonoid.toSubtractionMonoid.{u2} V (AddCommGroup.toDivisionAddCommMonoid.{u2} V _inst_2))))) (SMulWithZero.toSMulZeroClass.{u1, u2} K V (MonoidWithZero.toZero.{u1} K (Semiring.toMonoidWithZero.{u1} K (Ring.toSemiring.{u1} K _inst_1))) (NegZeroClass.toZero.{u2} V (SubNegZeroMonoid.toNegZeroClass.{u2} V (SubtractionMonoid.toSubNegZeroMonoid.{u2} V (SubtractionCommMonoid.toSubtractionMonoid.{u2} V (AddCommGroup.toDivisionAddCommMonoid.{u2} V _inst_2))))) (MulActionWithZero.toSMulWithZero.{u1, u2} K V (Semiring.toMonoidWithZero.{u1} K (Ring.toSemiring.{u1} K _inst_1)) (NegZeroClass.toZero.{u2} V (SubNegZeroMonoid.toNegZeroClass.{u2} V (SubtractionMonoid.toSubNegZeroMonoid.{u2} V (SubtractionCommMonoid.toSubtractionMonoid.{u2} V (AddCommGroup.toDivisionAddCommMonoid.{u2} V _inst_2))))) (Module.toMulActionWithZero.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3))))] [h : Subsingleton.{succ u2} V], Eq.{1} Nat (FiniteDimensional.finrank.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) _inst_2 _inst_3) (OfNat.ofNat.{0} Nat 0 (instOfNatNat 0))
-Case conversion may be inaccurate. Consider using '#align finite_dimensional.finrank_zero_of_subsingleton FiniteDimensional.finrank_zero_of_subsingletonₓ'. -/
 /-- A (finite dimensional) space that is a subsingleton has zero `finrank`. -/
 theorem finrank_zero_of_subsingleton [h : Subsingleton V] : finrank K V = 0 :=
   by
@@ -300,20 +252,11 @@ variable {R M M₂ : Type _} [Ring R] [AddCommGroup M] [AddCommGroup M₂]
 
 variable [Module R M] [Module R M₂]
 
-/- warning: linear_equiv.finrank_eq -> LinearEquiv.finrank_eq is a dubious translation:
-lean 3 declaration is
-  forall {R : Type.{u1}} {M : Type.{u2}} {M₂ : Type.{u3}} [_inst_6 : Ring.{u1} R] [_inst_7 : AddCommGroup.{u2} M] [_inst_8 : AddCommGroup.{u3} M₂] [_inst_9 : Module.{u1, u2} R M (Ring.toSemiring.{u1} R _inst_6) (AddCommGroup.toAddCommMonoid.{u2} M _inst_7)] [_inst_10 : Module.{u1, u3} R M₂ (Ring.toSemiring.{u1} R _inst_6) (AddCommGroup.toAddCommMonoid.{u3} M₂ _inst_8)], (LinearEquiv.{u1, u1, u2, u3} R R (Ring.toSemiring.{u1} R _inst_6) (Ring.toSemiring.{u1} R _inst_6) (RingHom.id.{u1} R (Semiring.toNonAssocSemiring.{u1} R (Ring.toSemiring.{u1} R _inst_6))) (RingHom.id.{u1} R (Semiring.toNonAssocSemiring.{u1} R (Ring.toSemiring.{u1} R _inst_6))) (RingHomInvPair.ids.{u1} R (Ring.toSemiring.{u1} R _inst_6)) (RingHomInvPair.ids.{u1} R (Ring.toSemiring.{u1} R _inst_6)) M M₂ (AddCommGroup.toAddCommMonoid.{u2} M _inst_7) (AddCommGroup.toAddCommMonoid.{u3} M₂ _inst_8) _inst_9 _inst_10) -> (Eq.{1} Nat (FiniteDimensional.finrank.{u1, u2} R M (Ring.toSemiring.{u1} R _inst_6) _inst_7 _inst_9) (FiniteDimensional.finrank.{u1, u3} R M₂ (Ring.toSemiring.{u1} R _inst_6) _inst_8 _inst_10))
-but is expected to have type
-  forall {R : Type.{u3}} {M : Type.{u2}} {M₂ : Type.{u1}} [_inst_6 : Ring.{u3} R] [_inst_7 : AddCommGroup.{u2} M] [_inst_8 : AddCommGroup.{u1} M₂] [_inst_9 : Module.{u3, u2} R M (Ring.toSemiring.{u3} R _inst_6) (AddCommGroup.toAddCommMonoid.{u2} M _inst_7)] [_inst_10 : Module.{u3, u1} R M₂ (Ring.toSemiring.{u3} R _inst_6) (AddCommGroup.toAddCommMonoid.{u1} M₂ _inst_8)], (LinearEquiv.{u3, u3, u2, u1} R R (Ring.toSemiring.{u3} R _inst_6) (Ring.toSemiring.{u3} R _inst_6) (RingHom.id.{u3} R (Semiring.toNonAssocSemiring.{u3} R (Ring.toSemiring.{u3} R _inst_6))) (RingHom.id.{u3} R (Semiring.toNonAssocSemiring.{u3} R (Ring.toSemiring.{u3} R _inst_6))) (RingHomInvPair.ids.{u3} R (Ring.toSemiring.{u3} R _inst_6)) (RingHomInvPair.ids.{u3} R (Ring.toSemiring.{u3} R _inst_6)) M M₂ (AddCommGroup.toAddCommMonoid.{u2} M _inst_7) (AddCommGroup.toAddCommMonoid.{u1} M₂ _inst_8) _inst_9 _inst_10) -> (Eq.{1} Nat (FiniteDimensional.finrank.{u3, u2} R M (Ring.toSemiring.{u3} R _inst_6) _inst_7 _inst_9) (FiniteDimensional.finrank.{u3, u1} R M₂ (Ring.toSemiring.{u3} R _inst_6) _inst_8 _inst_10))
-Case conversion may be inaccurate. Consider using '#align linear_equiv.finrank_eq LinearEquiv.finrank_eqₓ'. -/
 /-- The dimension of a finite dimensional space is preserved under linear equivalence. -/
 theorem finrank_eq (f : M ≃ₗ[R] M₂) : finrank R M = finrank R M₂ := by unfold finrank;
   rw [← Cardinal.toNat_lift, f.lift_rank_eq, Cardinal.toNat_lift]
 #align linear_equiv.finrank_eq LinearEquiv.finrank_eq
 
-/- warning: linear_equiv.finrank_map_eq -> LinearEquiv.finrank_map_eq is a dubious translation:
-<too large>
-Case conversion may be inaccurate. Consider using '#align linear_equiv.finrank_map_eq LinearEquiv.finrank_map_eqₓ'. -/
 /-- Pushforwards of finite-dimensional submodules along a `linear_equiv` have the same finrank. -/
 theorem finrank_map_eq (f : M ≃ₗ[R] M₂) (p : Submodule R M) :
     finrank R (p.map (f : M →ₗ[R] M₂)) = finrank R p :=
@@ -330,9 +273,6 @@ section Ring
 
 variable [Ring K] [AddCommGroup V] [Module K V] {V₂ : Type v'} [AddCommGroup V₂] [Module K V₂]
 
-/- warning: linear_map.finrank_range_of_inj -> LinearMap.finrank_range_of_inj is a dubious translation:
-<too large>
-Case conversion may be inaccurate. Consider using '#align linear_map.finrank_range_of_inj LinearMap.finrank_range_of_injₓ'. -/
 /-- The dimensions of the domain and range of an injective linear map are equal. -/
 theorem finrank_range_of_inj {f : V →ₗ[K] V₂} (hf : Function.Injective f) :
     finrank K f.range = finrank K V := by rw [(LinearEquiv.ofInjective f hf).finrank_eq]
@@ -350,23 +290,11 @@ variable [Ring K] [AddCommGroup V] [Module K V]
 
 variable (K V)
 
-/- warning: finrank_bot -> finrank_bot is a dubious translation:
-lean 3 declaration is
-  forall (K : Type.{u1}) (V : Type.{u2}) [_inst_1 : Ring.{u1} K] [_inst_2 : AddCommGroup.{u2} V] [_inst_3 : Module.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2)] [_inst_4 : Nontrivial.{u1} K], Eq.{1} Nat (FiniteDimensional.finrank.{u1, u2} K (coeSort.{succ u2, succ (succ u2)} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) Type.{u2} (SetLike.hasCoeToSort.{u2, u2} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) V (Submodule.setLike.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3)) (Bot.bot.{u2} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (Submodule.hasBot.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3))) (Ring.toSemiring.{u1} K _inst_1) (Submodule.addCommGroup.{u1, u2} K V _inst_1 _inst_2 _inst_3 (Bot.bot.{u2} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (Submodule.hasBot.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3))) (Submodule.module.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3 (Bot.bot.{u2} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (Submodule.hasBot.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3)))) (OfNat.ofNat.{0} Nat 0 (OfNat.mk.{0} Nat 0 (Zero.zero.{0} Nat Nat.hasZero)))
-but is expected to have type
-  forall (K : Type.{u1}) (V : Type.{u2}) [_inst_1 : Ring.{u1} K] [_inst_2 : AddCommGroup.{u2} V] [_inst_3 : Module.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2)] [_inst_4 : Nontrivial.{u1} K], Eq.{1} Nat (FiniteDimensional.finrank.{u1, u2} K (Subtype.{succ u2} V (fun (x : V) => Membership.mem.{u2, u2} V (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (SetLike.instMembership.{u2, u2} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) V (Submodule.setLike.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3)) x (Bot.bot.{u2} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (Submodule.instBotSubmodule.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3)))) (Ring.toSemiring.{u1} K _inst_1) (Submodule.addCommGroup.{u1, u2} K V _inst_1 _inst_2 _inst_3 (Bot.bot.{u2} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (Submodule.instBotSubmodule.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3))) (Submodule.module.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3 (Bot.bot.{u2} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (Submodule.instBotSubmodule.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3)))) (OfNat.ofNat.{0} Nat 0 (instOfNatNat 0))
-Case conversion may be inaccurate. Consider using '#align finrank_bot finrank_botₓ'. -/
 @[simp]
 theorem finrank_bot [Nontrivial K] : finrank K (⊥ : Submodule K V) = 0 :=
   finrank_eq_of_rank_eq (rank_bot _ _)
 #align finrank_bot finrank_bot
 
-/- warning: finrank_top -> finrank_top is a dubious translation:
-lean 3 declaration is
-  forall (K : Type.{u1}) (V : Type.{u2}) [_inst_1 : Ring.{u1} K] [_inst_2 : AddCommGroup.{u2} V] [_inst_3 : Module.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2)], Eq.{1} Nat (FiniteDimensional.finrank.{u1, u2} K (coeSort.{succ u2, succ (succ u2)} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) Type.{u2} (SetLike.hasCoeToSort.{u2, u2} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) V (Submodule.setLike.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3)) (Top.top.{u2} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (Submodule.hasTop.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3))) (Ring.toSemiring.{u1} K _inst_1) (Submodule.addCommGroup.{u1, u2} K V _inst_1 _inst_2 _inst_3 (Top.top.{u2} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (Submodule.hasTop.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3))) (Submodule.module.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3 (Top.top.{u2} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (Submodule.hasTop.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3)))) (FiniteDimensional.finrank.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) _inst_2 _inst_3)
-but is expected to have type
-  forall (K : Type.{u1}) (V : Type.{u2}) [_inst_1 : Ring.{u1} K] [_inst_2 : AddCommGroup.{u2} V] [_inst_3 : Module.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2)], Eq.{1} Nat (FiniteDimensional.finrank.{u1, u2} K (Subtype.{succ u2} V (fun (x : V) => Membership.mem.{u2, u2} V (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (SetLike.instMembership.{u2, u2} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) V (Submodule.setLike.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3)) x (Top.top.{u2} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (Submodule.instTopSubmodule.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3)))) (Ring.toSemiring.{u1} K _inst_1) (Submodule.addCommGroup.{u1, u2} K V _inst_1 _inst_2 _inst_3 (Top.top.{u2} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (Submodule.instTopSubmodule.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3))) (Submodule.module.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3 (Top.top.{u2} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (Submodule.instTopSubmodule.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3)))) (FiniteDimensional.finrank.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) _inst_2 _inst_3)
-Case conversion may be inaccurate. Consider using '#align finrank_top finrank_topₓ'. -/
 @[simp]
 theorem finrank_top : finrank K (⊤ : Submodule K V) = finrank K V := by unfold finrank;
   simp [rank_top]
@@ -380,23 +308,11 @@ section Ring
 
 variable [Ring K] [AddCommGroup V] [Module K V] {V₂ : Type v'} [AddCommGroup V₂] [Module K V₂]
 
-/- warning: submodule.lt_of_le_of_finrank_lt_finrank -> Submodule.lt_of_le_of_finrank_lt_finrank is a dubious translation:
-lean 3 declaration is
-  forall {K : Type.{u1}} {V : Type.{u2}} [_inst_1 : Ring.{u1} K] [_inst_2 : AddCommGroup.{u2} V] [_inst_3 : Module.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2)] {s : Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3} {t : Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3}, (LE.le.{u2} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (Preorder.toHasLe.{u2} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (PartialOrder.toPreorder.{u2} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (SetLike.partialOrder.{u2, u2} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) V (Submodule.setLike.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3)))) s t) -> (LT.lt.{0} Nat Nat.hasLt (FiniteDimensional.finrank.{u1, u2} K (coeSort.{succ u2, succ (succ u2)} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) Type.{u2} (SetLike.hasCoeToSort.{u2, u2} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) V (Submodule.setLike.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3)) s) (Ring.toSemiring.{u1} K _inst_1) (Submodule.addCommGroup.{u1, u2} K V _inst_1 _inst_2 _inst_3 s) (Submodule.module.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3 s)) (FiniteDimensional.finrank.{u1, u2} K (coeSort.{succ u2, succ (succ u2)} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) Type.{u2} (SetLike.hasCoeToSort.{u2, u2} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) V (Submodule.setLike.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3)) t) (Ring.toSemiring.{u1} K _inst_1) (Submodule.addCommGroup.{u1, u2} K V _inst_1 _inst_2 _inst_3 t) (Submodule.module.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3 t))) -> (LT.lt.{u2} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (Preorder.toHasLt.{u2} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (PartialOrder.toPreorder.{u2} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (SetLike.partialOrder.{u2, u2} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) V (Submodule.setLike.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3)))) s t)
-but is expected to have type
-  forall {K : Type.{u1}} {V : Type.{u2}} [_inst_1 : Ring.{u1} K] [_inst_2 : AddCommGroup.{u2} V] [_inst_3 : Module.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2)] {s : Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3} {t : Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3}, (LE.le.{u2} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (Preorder.toLE.{u2} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (PartialOrder.toPreorder.{u2} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (OmegaCompletePartialOrder.toPartialOrder.{u2} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (CompleteLattice.instOmegaCompletePartialOrder.{u2} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (Submodule.completeLattice.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3))))) s t) -> (LT.lt.{0} Nat instLTNat (FiniteDimensional.finrank.{u1, u2} K (Subtype.{succ u2} V (fun (x : V) => Membership.mem.{u2, u2} V (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (SetLike.instMembership.{u2, u2} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) V (Submodule.setLike.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3)) x s)) (Ring.toSemiring.{u1} K _inst_1) (Submodule.addCommGroup.{u1, u2} K V _inst_1 _inst_2 _inst_3 s) (Submodule.module.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3 s)) (FiniteDimensional.finrank.{u1, u2} K (Subtype.{succ u2} V (fun (x : V) => Membership.mem.{u2, u2} V (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (SetLike.instMembership.{u2, u2} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) V (Submodule.setLike.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3)) x t)) (Ring.toSemiring.{u1} K _inst_1) (Submodule.addCommGroup.{u1, u2} K V _inst_1 _inst_2 _inst_3 t) (Submodule.module.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3 t))) -> (LT.lt.{u2} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (Preorder.toLT.{u2} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (PartialOrder.toPreorder.{u2} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (OmegaCompletePartialOrder.toPartialOrder.{u2} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (CompleteLattice.instOmegaCompletePartialOrder.{u2} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (Submodule.completeLattice.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3))))) s t)
-Case conversion may be inaccurate. Consider using '#align submodule.lt_of_le_of_finrank_lt_finrank Submodule.lt_of_le_of_finrank_lt_finrankₓ'. -/
 theorem lt_of_le_of_finrank_lt_finrank {s t : Submodule K V} (le : s ≤ t)
     (lt : finrank K s < finrank K t) : s < t :=
   lt_of_le_of_ne le fun h => ne_of_lt lt (by rw [h])
 #align submodule.lt_of_le_of_finrank_lt_finrank Submodule.lt_of_le_of_finrank_lt_finrank
 
-/- warning: submodule.lt_top_of_finrank_lt_finrank -> Submodule.lt_top_of_finrank_lt_finrank is a dubious translation:
-lean 3 declaration is
-  forall {K : Type.{u1}} {V : Type.{u2}} [_inst_1 : Ring.{u1} K] [_inst_2 : AddCommGroup.{u2} V] [_inst_3 : Module.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2)] {s : Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3}, (LT.lt.{0} Nat Nat.hasLt (FiniteDimensional.finrank.{u1, u2} K (coeSort.{succ u2, succ (succ u2)} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) Type.{u2} (SetLike.hasCoeToSort.{u2, u2} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) V (Submodule.setLike.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3)) s) (Ring.toSemiring.{u1} K _inst_1) (Submodule.addCommGroup.{u1, u2} K V _inst_1 _inst_2 _inst_3 s) (Submodule.module.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3 s)) (FiniteDimensional.finrank.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) _inst_2 _inst_3)) -> (LT.lt.{u2} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (Preorder.toHasLt.{u2} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (PartialOrder.toPreorder.{u2} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (SetLike.partialOrder.{u2, u2} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) V (Submodule.setLike.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3)))) s (Top.top.{u2} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (Submodule.hasTop.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3)))
-but is expected to have type
-  forall {K : Type.{u1}} {V : Type.{u2}} [_inst_1 : Ring.{u1} K] [_inst_2 : AddCommGroup.{u2} V] [_inst_3 : Module.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2)] {s : Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3}, (LT.lt.{0} Nat instLTNat (FiniteDimensional.finrank.{u1, u2} K (Subtype.{succ u2} V (fun (x : V) => Membership.mem.{u2, u2} V (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (SetLike.instMembership.{u2, u2} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) V (Submodule.setLike.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3)) x s)) (Ring.toSemiring.{u1} K _inst_1) (Submodule.addCommGroup.{u1, u2} K V _inst_1 _inst_2 _inst_3 s) (Submodule.module.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3 s)) (FiniteDimensional.finrank.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) _inst_2 _inst_3)) -> (LT.lt.{u2} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (Preorder.toLT.{u2} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (PartialOrder.toPreorder.{u2} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (OmegaCompletePartialOrder.toPartialOrder.{u2} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (CompleteLattice.instOmegaCompletePartialOrder.{u2} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (Submodule.completeLattice.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3))))) s (Top.top.{u2} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (Submodule.instTopSubmodule.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3)))
-Case conversion may be inaccurate. Consider using '#align submodule.lt_top_of_finrank_lt_finrank Submodule.lt_top_of_finrank_lt_finrankₓ'. -/
 theorem lt_top_of_finrank_lt_finrank {s : Submodule K V} (lt : finrank K s < finrank K V) : s < ⊤ :=
   by
   rw [← finrank_top K V] at lt
@@ -441,23 +357,11 @@ theorem finrank_span_finset_le_card (s : Finset V) : (s : Set V).finrank K ≤ s
 #align finrank_span_finset_le_card finrank_span_finset_le_card
 -/
 
-/- warning: finrank_range_le_card -> finrank_range_le_card is a dubious translation:
-lean 3 declaration is
-  forall {K : Type.{u1}} {V : Type.{u2}} [_inst_1 : DivisionRing.{u1} K] [_inst_2 : AddCommGroup.{u2} V] [_inst_3 : Module.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2)] {ι : Type.{u3}} [_inst_4 : Fintype.{u3} ι] {b : ι -> V}, LE.le.{0} Nat Nat.hasLe (Set.finrank.{u1, u2} K V _inst_1 _inst_2 _inst_3 (Set.range.{u2, succ u3} V ι b)) (Fintype.card.{u3} ι _inst_4)
-but is expected to have type
-  forall {K : Type.{u2}} {V : Type.{u3}} [_inst_1 : DivisionRing.{u2} K] [_inst_2 : AddCommGroup.{u3} V] [_inst_3 : Module.{u2, u3} K V (DivisionSemiring.toSemiring.{u2} K (DivisionRing.toDivisionSemiring.{u2} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u3} V _inst_2)] {ι : Type.{u1}} [_inst_4 : Fintype.{u1} ι] {b : ι -> V}, LE.le.{0} Nat instLENat (Set.finrank.{u2, u3} K V _inst_1 _inst_2 _inst_3 (Set.range.{u3, succ u1} V ι b)) (Fintype.card.{u1} ι _inst_4)
-Case conversion may be inaccurate. Consider using '#align finrank_range_le_card finrank_range_le_cardₓ'. -/
 theorem finrank_range_le_card {ι : Type _} [Fintype ι] {b : ι → V} :
     (Set.range b).finrank K ≤ Fintype.card ι :=
   (finrank_span_le_card _).trans <| by rw [Set.toFinset_range]; exact Finset.card_image_le
 #align finrank_range_le_card finrank_range_le_card
 
-/- warning: finrank_span_eq_card -> finrank_span_eq_card is a dubious translation:
-lean 3 declaration is
-  forall {K : Type.{u1}} {V : Type.{u2}} [_inst_1 : DivisionRing.{u1} K] [_inst_2 : AddCommGroup.{u2} V] [_inst_3 : Module.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2)] {ι : Type.{u3}} [_inst_4 : Fintype.{u3} ι] {b : ι -> V}, (LinearIndependent.{u3, u1, u2} ι K V b (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) -> (Eq.{1} Nat (FiniteDimensional.finrank.{u1, u2} K (coeSort.{succ u2, succ (succ u2)} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) Type.{u2} (SetLike.hasCoeToSort.{u2, u2} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) V (Submodule.setLike.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3)) (Submodule.span.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3 (Set.range.{u2, succ u3} V ι b))) (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (Submodule.addCommGroup.{u1, u2} K V (DivisionRing.toRing.{u1} K _inst_1) _inst_2 _inst_3 (Submodule.span.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3 (Set.range.{u2, succ u3} V ι b))) (Submodule.module.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3 (Submodule.span.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3 (Set.range.{u2, succ u3} V ι b)))) (Fintype.card.{u3} ι _inst_4))
-but is expected to have type
-  forall {K : Type.{u2}} {V : Type.{u3}} [_inst_1 : DivisionRing.{u2} K] [_inst_2 : AddCommGroup.{u3} V] [_inst_3 : Module.{u2, u3} K V (DivisionSemiring.toSemiring.{u2} K (DivisionRing.toDivisionSemiring.{u2} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u3} V _inst_2)] {ι : Type.{u1}} [_inst_4 : Fintype.{u1} ι] {b : ι -> V}, (LinearIndependent.{u1, u2, u3} ι K V b (DivisionSemiring.toSemiring.{u2} K (DivisionRing.toDivisionSemiring.{u2} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u3} V _inst_2) _inst_3) -> (Eq.{1} Nat (FiniteDimensional.finrank.{u2, u3} K (Subtype.{succ u3} V (fun (x : V) => Membership.mem.{u3, u3} V (Submodule.{u2, u3} K V (DivisionSemiring.toSemiring.{u2} K (DivisionRing.toDivisionSemiring.{u2} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u3} V _inst_2) _inst_3) (SetLike.instMembership.{u3, u3} (Submodule.{u2, u3} K V (DivisionSemiring.toSemiring.{u2} K (DivisionRing.toDivisionSemiring.{u2} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u3} V _inst_2) _inst_3) V (Submodule.setLike.{u2, u3} K V (DivisionSemiring.toSemiring.{u2} K (DivisionRing.toDivisionSemiring.{u2} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u3} V _inst_2) _inst_3)) x (Submodule.span.{u2, u3} K V (DivisionSemiring.toSemiring.{u2} K (DivisionRing.toDivisionSemiring.{u2} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u3} V _inst_2) _inst_3 (Set.range.{u3, succ u1} V ι b)))) (DivisionSemiring.toSemiring.{u2} K (DivisionRing.toDivisionSemiring.{u2} K _inst_1)) (Submodule.addCommGroup.{u2, u3} K V (DivisionRing.toRing.{u2} K _inst_1) _inst_2 _inst_3 (Submodule.span.{u2, u3} K V (DivisionSemiring.toSemiring.{u2} K (DivisionRing.toDivisionSemiring.{u2} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u3} V _inst_2) _inst_3 (Set.range.{u3, succ u1} V ι b))) (Submodule.module.{u2, u3} K V (DivisionSemiring.toSemiring.{u2} K (DivisionRing.toDivisionSemiring.{u2} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u3} V _inst_2) _inst_3 (Submodule.span.{u2, u3} K V (DivisionSemiring.toSemiring.{u2} K (DivisionRing.toDivisionSemiring.{u2} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u3} V _inst_2) _inst_3 (Set.range.{u3, succ u1} V ι b)))) (Fintype.card.{u1} ι _inst_4))
-Case conversion may be inaccurate. Consider using '#align finrank_span_eq_card finrank_span_eq_cardₓ'. -/
 theorem finrank_span_eq_card {ι : Type _} [Fintype ι] {b : ι → V} (hb : LinearIndependent K b) :
     finrank K (span K (Set.range b)) = Fintype.card ι :=
   finrank_eq_of_rank_eq
@@ -487,24 +391,12 @@ theorem finrank_span_finset_eq_card (s : Finset V) (hs : LinearIndependent K (co
 #align finrank_span_finset_eq_card finrank_span_finset_eq_card
 -/
 
-/- warning: span_lt_of_subset_of_card_lt_finrank -> span_lt_of_subset_of_card_lt_finrank is a dubious translation:
-lean 3 declaration is
-  forall {K : Type.{u1}} {V : Type.{u2}} [_inst_1 : DivisionRing.{u1} K] [_inst_2 : AddCommGroup.{u2} V] [_inst_3 : Module.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2)] {s : Set.{u2} V} [_inst_4 : Fintype.{u2} (coeSort.{succ u2, succ (succ u2)} (Set.{u2} V) Type.{u2} (Set.hasCoeToSort.{u2} V) s)] {t : Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3}, (HasSubset.Subset.{u2} (Set.{u2} V) (Set.hasSubset.{u2} V) s ((fun (a : Type.{u2}) (b : Type.{u2}) [self : HasLiftT.{succ u2, succ u2} a b] => self.0) (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (Set.{u2} V) (HasLiftT.mk.{succ u2, succ u2} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (Set.{u2} V) (CoeTCₓ.coe.{succ u2, succ u2} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (Set.{u2} V) (SetLike.Set.hasCoeT.{u2, u2} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) V (Submodule.setLike.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3)))) t)) -> (LT.lt.{0} Nat Nat.hasLt (Finset.card.{u2} V (Set.toFinset.{u2} V s _inst_4)) (FiniteDimensional.finrank.{u1, u2} K (coeSort.{succ u2, succ (succ u2)} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) Type.{u2} (SetLike.hasCoeToSort.{u2, u2} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) V (Submodule.setLike.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3)) t) (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (Submodule.addCommGroup.{u1, u2} K V (DivisionRing.toRing.{u1} K _inst_1) _inst_2 _inst_3 t) (Submodule.module.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3 t))) -> (LT.lt.{u2} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (Preorder.toHasLt.{u2} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (PartialOrder.toPreorder.{u2} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (SetLike.partialOrder.{u2, u2} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) V (Submodule.setLike.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3)))) (Submodule.span.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3 s) t)
-but is expected to have type
-  forall {K : Type.{u1}} {V : Type.{u2}} [_inst_1 : DivisionRing.{u1} K] [_inst_2 : AddCommGroup.{u2} V] [_inst_3 : Module.{u1, u2} K V (DivisionSemiring.toSemiring.{u1} K (DivisionRing.toDivisionSemiring.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2)] {s : Set.{u2} V} [_inst_4 : Fintype.{u2} (Set.Elem.{u2} V s)] {t : Submodule.{u1, u2} K V (DivisionSemiring.toSemiring.{u1} K (DivisionRing.toDivisionSemiring.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3}, (HasSubset.Subset.{u2} (Set.{u2} V) (Set.instHasSubsetSet.{u2} V) s (SetLike.coe.{u2, u2} (Submodule.{u1, u2} K V (DivisionSemiring.toSemiring.{u1} K (DivisionRing.toDivisionSemiring.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) V (Submodule.setLike.{u1, u2} K V (DivisionSemiring.toSemiring.{u1} K (DivisionRing.toDivisionSemiring.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) t)) -> (LT.lt.{0} Nat instLTNat (Finset.card.{u2} V (Set.toFinset.{u2} V s _inst_4)) (FiniteDimensional.finrank.{u1, u2} K (Subtype.{succ u2} V (fun (x : V) => Membership.mem.{u2, u2} V (Submodule.{u1, u2} K V (DivisionSemiring.toSemiring.{u1} K (DivisionRing.toDivisionSemiring.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (SetLike.instMembership.{u2, u2} (Submodule.{u1, u2} K V (DivisionSemiring.toSemiring.{u1} K (DivisionRing.toDivisionSemiring.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) V (Submodule.setLike.{u1, u2} K V (DivisionSemiring.toSemiring.{u1} K (DivisionRing.toDivisionSemiring.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3)) x t)) (DivisionSemiring.toSemiring.{u1} K (DivisionRing.toDivisionSemiring.{u1} K _inst_1)) (Submodule.addCommGroup.{u1, u2} K V (DivisionRing.toRing.{u1} K _inst_1) _inst_2 _inst_3 t) (Submodule.module.{u1, u2} K V (DivisionSemiring.toSemiring.{u1} K (DivisionRing.toDivisionSemiring.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3 t))) -> (LT.lt.{u2} (Submodule.{u1, u2} K V (DivisionSemiring.toSemiring.{u1} K (DivisionRing.toDivisionSemiring.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (Preorder.toLT.{u2} (Submodule.{u1, u2} K V (DivisionSemiring.toSemiring.{u1} K (DivisionRing.toDivisionSemiring.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (PartialOrder.toPreorder.{u2} (Submodule.{u1, u2} K V (DivisionSemiring.toSemiring.{u1} K (DivisionRing.toDivisionSemiring.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (OmegaCompletePartialOrder.toPartialOrder.{u2} (Submodule.{u1, u2} K V (DivisionSemiring.toSemiring.{u1} K (DivisionRing.toDivisionSemiring.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (CompleteLattice.instOmegaCompletePartialOrder.{u2} (Submodule.{u1, u2} K V (DivisionSemiring.toSemiring.{u1} K (DivisionRing.toDivisionSemiring.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (Submodule.completeLattice.{u1, u2} K V (DivisionSemiring.toSemiring.{u1} K (DivisionRing.toDivisionSemiring.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3))))) (Submodule.span.{u1, u2} K V (DivisionSemiring.toSemiring.{u1} K (DivisionRing.toDivisionSemiring.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3 s) t)
-Case conversion may be inaccurate. Consider using '#align span_lt_of_subset_of_card_lt_finrank span_lt_of_subset_of_card_lt_finrankₓ'. -/
 theorem span_lt_of_subset_of_card_lt_finrank {s : Set V} [Fintype s] {t : Submodule K V}
     (subset : s ⊆ t) (card_lt : s.toFinset.card < finrank K t) : span K s < t :=
   lt_of_le_of_finrank_lt_finrank (span_le.mpr subset)
     (lt_of_le_of_lt (finrank_span_le_card _) card_lt)
 #align span_lt_of_subset_of_card_lt_finrank span_lt_of_subset_of_card_lt_finrank
 
-/- warning: span_lt_top_of_card_lt_finrank -> span_lt_top_of_card_lt_finrank is a dubious translation:
-lean 3 declaration is
-  forall {K : Type.{u1}} {V : Type.{u2}} [_inst_1 : DivisionRing.{u1} K] [_inst_2 : AddCommGroup.{u2} V] [_inst_3 : Module.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2)] {s : Set.{u2} V} [_inst_4 : Fintype.{u2} (coeSort.{succ u2, succ (succ u2)} (Set.{u2} V) Type.{u2} (Set.hasCoeToSort.{u2} V) s)], (LT.lt.{0} Nat Nat.hasLt (Finset.card.{u2} V (Set.toFinset.{u2} V s _inst_4)) (FiniteDimensional.finrank.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) _inst_2 _inst_3)) -> (LT.lt.{u2} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (Preorder.toHasLt.{u2} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (PartialOrder.toPreorder.{u2} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (SetLike.partialOrder.{u2, u2} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) V (Submodule.setLike.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3)))) (Submodule.span.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3 s) (Top.top.{u2} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (Submodule.hasTop.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3)))
-but is expected to have type
-  forall {K : Type.{u1}} {V : Type.{u2}} [_inst_1 : DivisionRing.{u1} K] [_inst_2 : AddCommGroup.{u2} V] [_inst_3 : Module.{u1, u2} K V (DivisionSemiring.toSemiring.{u1} K (DivisionRing.toDivisionSemiring.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2)] {s : Set.{u2} V} [_inst_4 : Fintype.{u2} (Set.Elem.{u2} V s)], (LT.lt.{0} Nat instLTNat (Finset.card.{u2} V (Set.toFinset.{u2} V s _inst_4)) (FiniteDimensional.finrank.{u1, u2} K V (DivisionSemiring.toSemiring.{u1} K (DivisionRing.toDivisionSemiring.{u1} K _inst_1)) _inst_2 _inst_3)) -> (LT.lt.{u2} (Submodule.{u1, u2} K V (DivisionSemiring.toSemiring.{u1} K (DivisionRing.toDivisionSemiring.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (Preorder.toLT.{u2} (Submodule.{u1, u2} K V (DivisionSemiring.toSemiring.{u1} K (DivisionRing.toDivisionSemiring.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (PartialOrder.toPreorder.{u2} (Submodule.{u1, u2} K V (DivisionSemiring.toSemiring.{u1} K (DivisionRing.toDivisionSemiring.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (OmegaCompletePartialOrder.toPartialOrder.{u2} (Submodule.{u1, u2} K V (DivisionSemiring.toSemiring.{u1} K (DivisionRing.toDivisionSemiring.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (CompleteLattice.instOmegaCompletePartialOrder.{u2} (Submodule.{u1, u2} K V (DivisionSemiring.toSemiring.{u1} K (DivisionRing.toDivisionSemiring.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (Submodule.completeLattice.{u1, u2} K V (DivisionSemiring.toSemiring.{u1} K (DivisionRing.toDivisionSemiring.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3))))) (Submodule.span.{u1, u2} K V (DivisionSemiring.toSemiring.{u1} K (DivisionRing.toDivisionSemiring.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3 s) (Top.top.{u2} (Submodule.{u1, u2} K V (DivisionSemiring.toSemiring.{u1} K (DivisionRing.toDivisionSemiring.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (Submodule.instTopSubmodule.{u1, u2} K V (DivisionSemiring.toSemiring.{u1} K (DivisionRing.toDivisionSemiring.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3)))
-Case conversion may be inaccurate. Consider using '#align span_lt_top_of_card_lt_finrank span_lt_top_of_card_lt_finrankₓ'. -/
 theorem span_lt_top_of_card_lt_finrank {s : Set V} [Fintype s]
     (card_lt : s.toFinset.card < finrank K V) : span K s < ⊤ :=
   lt_top_of_finrank_lt_finrank (lt_of_le_of_lt (finrank_span_le_card _) card_lt)
@@ -520,12 +412,6 @@ section DivisionRing
 
 variable [DivisionRing K] [AddCommGroup V] [Module K V]
 
-/- warning: linear_independent_of_top_le_span_of_card_eq_finrank -> linearIndependent_of_top_le_span_of_card_eq_finrank is a dubious translation:
-lean 3 declaration is
-  forall {K : Type.{u1}} {V : Type.{u2}} [_inst_1 : DivisionRing.{u1} K] [_inst_2 : AddCommGroup.{u2} V] [_inst_3 : Module.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2)] {ι : Type.{u3}} [_inst_4 : Fintype.{u3} ι] {b : ι -> V}, (LE.le.{u2} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (Preorder.toHasLe.{u2} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (PartialOrder.toPreorder.{u2} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (SetLike.partialOrder.{u2, u2} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) V (Submodule.setLike.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3)))) (Top.top.{u2} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (Submodule.hasTop.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3)) (Submodule.span.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3 (Set.range.{u2, succ u3} V ι b))) -> (Eq.{1} Nat (Fintype.card.{u3} ι _inst_4) (FiniteDimensional.finrank.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) _inst_2 _inst_3)) -> (LinearIndependent.{u3, u1, u2} ι K V b (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3)
-but is expected to have type
-  forall {K : Type.{u2}} {V : Type.{u3}} [_inst_1 : DivisionRing.{u2} K] [_inst_2 : AddCommGroup.{u3} V] [_inst_3 : Module.{u2, u3} K V (DivisionSemiring.toSemiring.{u2} K (DivisionRing.toDivisionSemiring.{u2} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u3} V _inst_2)] {ι : Type.{u1}} [_inst_4 : Fintype.{u1} ι] {b : ι -> V}, (LE.le.{u3} (Submodule.{u2, u3} K V (DivisionSemiring.toSemiring.{u2} K (DivisionRing.toDivisionSemiring.{u2} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u3} V _inst_2) _inst_3) (Preorder.toLE.{u3} (Submodule.{u2, u3} K V (DivisionSemiring.toSemiring.{u2} K (DivisionRing.toDivisionSemiring.{u2} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u3} V _inst_2) _inst_3) (PartialOrder.toPreorder.{u3} (Submodule.{u2, u3} K V (DivisionSemiring.toSemiring.{u2} K (DivisionRing.toDivisionSemiring.{u2} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u3} V _inst_2) _inst_3) (OmegaCompletePartialOrder.toPartialOrder.{u3} (Submodule.{u2, u3} K V (DivisionSemiring.toSemiring.{u2} K (DivisionRing.toDivisionSemiring.{u2} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u3} V _inst_2) _inst_3) (CompleteLattice.instOmegaCompletePartialOrder.{u3} (Submodule.{u2, u3} K V (DivisionSemiring.toSemiring.{u2} K (DivisionRing.toDivisionSemiring.{u2} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u3} V _inst_2) _inst_3) (Submodule.completeLattice.{u2, u3} K V (DivisionSemiring.toSemiring.{u2} K (DivisionRing.toDivisionSemiring.{u2} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u3} V _inst_2) _inst_3))))) (Top.top.{u3} (Submodule.{u2, u3} K V (DivisionSemiring.toSemiring.{u2} K (DivisionRing.toDivisionSemiring.{u2} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u3} V _inst_2) _inst_3) (Submodule.instTopSubmodule.{u2, u3} K V (DivisionSemiring.toSemiring.{u2} K (DivisionRing.toDivisionSemiring.{u2} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u3} V _inst_2) _inst_3)) (Submodule.span.{u2, u3} K V (DivisionSemiring.toSemiring.{u2} K (DivisionRing.toDivisionSemiring.{u2} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u3} V _inst_2) _inst_3 (Set.range.{u3, succ u1} V ι b))) -> (Eq.{1} Nat (Fintype.card.{u1} ι _inst_4) (FiniteDimensional.finrank.{u2, u3} K V (DivisionSemiring.toSemiring.{u2} K (DivisionRing.toDivisionSemiring.{u2} K _inst_1)) _inst_2 _inst_3)) -> (LinearIndependent.{u1, u2, u3} ι K V b (DivisionSemiring.toSemiring.{u2} K (DivisionRing.toDivisionSemiring.{u2} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u3} V _inst_2) _inst_3)
-Case conversion may be inaccurate. Consider using '#align linear_independent_of_top_le_span_of_card_eq_finrank linearIndependent_of_top_le_span_of_card_eq_finrankₓ'. -/
 theorem linearIndependent_of_top_le_span_of_card_eq_finrank {ι : Type _} [Fintype ι] {b : ι → V}
     (spans : ⊤ ≤ span K (Set.range b)) (card_eq : Fintype.card ι = finrank K V) :
     LinearIndependent K b :=
@@ -578,12 +464,6 @@ theorem linearIndependent_of_top_le_span_of_card_eq_finrank {ι : Type _} [Finty
     rwa [← Finset.insert_erase i_mem_s, Finset.sum_insert (Finset.not_mem_erase _ _)] at dependent
 #align linear_independent_of_top_le_span_of_card_eq_finrank linearIndependent_of_top_le_span_of_card_eq_finrank
 
-/- warning: linear_independent_iff_card_eq_finrank_span -> linearIndependent_iff_card_eq_finrank_span is a dubious translation:
-lean 3 declaration is
-  forall {K : Type.{u1}} {V : Type.{u2}} [_inst_1 : DivisionRing.{u1} K] [_inst_2 : AddCommGroup.{u2} V] [_inst_3 : Module.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2)] {ι : Type.{u3}} [_inst_4 : Fintype.{u3} ι] {b : ι -> V}, Iff (LinearIndependent.{u3, u1, u2} ι K V b (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (Eq.{1} Nat (Fintype.card.{u3} ι _inst_4) (Set.finrank.{u1, u2} K V _inst_1 _inst_2 _inst_3 (Set.range.{u2, succ u3} V ι b)))
-but is expected to have type
-  forall {K : Type.{u2}} {V : Type.{u3}} [_inst_1 : DivisionRing.{u2} K] [_inst_2 : AddCommGroup.{u3} V] [_inst_3 : Module.{u2, u3} K V (DivisionSemiring.toSemiring.{u2} K (DivisionRing.toDivisionSemiring.{u2} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u3} V _inst_2)] {ι : Type.{u1}} [_inst_4 : Fintype.{u1} ι] {b : ι -> V}, Iff (LinearIndependent.{u1, u2, u3} ι K V b (DivisionSemiring.toSemiring.{u2} K (DivisionRing.toDivisionSemiring.{u2} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u3} V _inst_2) _inst_3) (Eq.{1} Nat (Fintype.card.{u1} ι _inst_4) (Set.finrank.{u2, u3} K V _inst_1 _inst_2 _inst_3 (Set.range.{u3, succ u1} V ι b)))
-Case conversion may be inaccurate. Consider using '#align linear_independent_iff_card_eq_finrank_span linearIndependent_iff_card_eq_finrank_spanₓ'. -/
 /-- A finite family of vectors is linearly independent if and only if
 its cardinality equals the dimension of its span. -/
 theorem linearIndependent_iff_card_eq_finrank_span {ι : Type _} [Fintype ι] {b : ι → V} :
@@ -611,35 +491,17 @@ theorem linearIndependent_iff_card_eq_finrank_span {ι : Type _} [Fintype ι] {b
     convert(linearIndependent_of_top_le_span_of_card_eq_finrank hs hc).map' _ hi
 #align linear_independent_iff_card_eq_finrank_span linearIndependent_iff_card_eq_finrank_span
 
-/- warning: linear_independent_iff_card_le_finrank_span -> linearIndependent_iff_card_le_finrank_span is a dubious translation:
-lean 3 declaration is
-  forall {K : Type.{u1}} {V : Type.{u2}} [_inst_1 : DivisionRing.{u1} K] [_inst_2 : AddCommGroup.{u2} V] [_inst_3 : Module.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2)] {ι : Type.{u3}} [_inst_4 : Fintype.{u3} ι] {b : ι -> V}, Iff (LinearIndependent.{u3, u1, u2} ι K V b (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (LE.le.{0} Nat Nat.hasLe (Fintype.card.{u3} ι _inst_4) (Set.finrank.{u1, u2} K V _inst_1 _inst_2 _inst_3 (Set.range.{u2, succ u3} V ι b)))
-but is expected to have type
-  forall {K : Type.{u2}} {V : Type.{u3}} [_inst_1 : DivisionRing.{u2} K] [_inst_2 : AddCommGroup.{u3} V] [_inst_3 : Module.{u2, u3} K V (DivisionSemiring.toSemiring.{u2} K (DivisionRing.toDivisionSemiring.{u2} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u3} V _inst_2)] {ι : Type.{u1}} [_inst_4 : Fintype.{u1} ι] {b : ι -> V}, Iff (LinearIndependent.{u1, u2, u3} ι K V b (DivisionSemiring.toSemiring.{u2} K (DivisionRing.toDivisionSemiring.{u2} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u3} V _inst_2) _inst_3) (LE.le.{0} Nat instLENat (Fintype.card.{u1} ι _inst_4) (Set.finrank.{u2, u3} K V _inst_1 _inst_2 _inst_3 (Set.range.{u3, succ u1} V ι b)))
-Case conversion may be inaccurate. Consider using '#align linear_independent_iff_card_le_finrank_span linearIndependent_iff_card_le_finrank_spanₓ'. -/
 theorem linearIndependent_iff_card_le_finrank_span {ι : Type _} [Fintype ι] {b : ι → V} :
     LinearIndependent K b ↔ Fintype.card ι ≤ (Set.range b).finrank K := by
   rw [linearIndependent_iff_card_eq_finrank_span, finrank_range_le_card.le_iff_eq]
 #align linear_independent_iff_card_le_finrank_span linearIndependent_iff_card_le_finrank_span
 
-/- warning: basis_of_top_le_span_of_card_eq_finrank -> basisOfTopLeSpanOfCardEqFinrank is a dubious translation:
-lean 3 declaration is
-  forall {K : Type.{u1}} {V : Type.{u2}} [_inst_1 : DivisionRing.{u1} K] [_inst_2 : AddCommGroup.{u2} V] [_inst_3 : Module.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2)] {ι : Type.{u3}} [_inst_4 : Fintype.{u3} ι] (b : ι -> V), (LE.le.{u2} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (Preorder.toHasLe.{u2} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (PartialOrder.toPreorder.{u2} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (SetLike.partialOrder.{u2, u2} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) V (Submodule.setLike.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3)))) (Top.top.{u2} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (Submodule.hasTop.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3)) (Submodule.span.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3 (Set.range.{u2, succ u3} V ι b))) -> (Eq.{1} Nat (Fintype.card.{u3} ι _inst_4) (FiniteDimensional.finrank.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) _inst_2 _inst_3)) -> (Basis.{u3, u1, u2} ι K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3)
-but is expected to have type
-  forall {K : Type.{u1}} {V : Type.{u2}} [_inst_1 : DivisionRing.{u1} K] [_inst_2 : AddCommGroup.{u2} V] [_inst_3 : Module.{u1, u2} K V (DivisionSemiring.toSemiring.{u1} K (DivisionRing.toDivisionSemiring.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2)] {ι : Type.{u3}} [_inst_4 : Fintype.{u3} ι] (b : ι -> V), (LE.le.{u2} (Submodule.{u1, u2} K V (DivisionSemiring.toSemiring.{u1} K (DivisionRing.toDivisionSemiring.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (Preorder.toLE.{u2} (Submodule.{u1, u2} K V (DivisionSemiring.toSemiring.{u1} K (DivisionRing.toDivisionSemiring.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (PartialOrder.toPreorder.{u2} (Submodule.{u1, u2} K V (DivisionSemiring.toSemiring.{u1} K (DivisionRing.toDivisionSemiring.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (OmegaCompletePartialOrder.toPartialOrder.{u2} (Submodule.{u1, u2} K V (DivisionSemiring.toSemiring.{u1} K (DivisionRing.toDivisionSemiring.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (CompleteLattice.instOmegaCompletePartialOrder.{u2} (Submodule.{u1, u2} K V (DivisionSemiring.toSemiring.{u1} K (DivisionRing.toDivisionSemiring.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (Submodule.completeLattice.{u1, u2} K V (DivisionSemiring.toSemiring.{u1} K (DivisionRing.toDivisionSemiring.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3))))) (Top.top.{u2} (Submodule.{u1, u2} K V (DivisionSemiring.toSemiring.{u1} K (DivisionRing.toDivisionSemiring.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (Submodule.instTopSubmodule.{u1, u2} K V (DivisionSemiring.toSemiring.{u1} K (DivisionRing.toDivisionSemiring.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3)) (Submodule.span.{u1, u2} K V (DivisionSemiring.toSemiring.{u1} K (DivisionRing.toDivisionSemiring.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3 (Set.range.{u2, succ u3} V ι b))) -> (Eq.{1} Nat (Fintype.card.{u3} ι _inst_4) (FiniteDimensional.finrank.{u1, u2} K V (DivisionSemiring.toSemiring.{u1} K (DivisionRing.toDivisionSemiring.{u1} K _inst_1)) _inst_2 _inst_3)) -> (Basis.{u3, u1, u2} ι K V (DivisionSemiring.toSemiring.{u1} K (DivisionRing.toDivisionSemiring.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3)
-Case conversion may be inaccurate. Consider using '#align basis_of_top_le_span_of_card_eq_finrank basisOfTopLeSpanOfCardEqFinrankₓ'. -/
 /-- A family of `finrank K V` vectors forms a basis if they span the whole space. -/
 noncomputable def basisOfTopLeSpanOfCardEqFinrank {ι : Type _} [Fintype ι] (b : ι → V)
     (le_span : ⊤ ≤ span K (Set.range b)) (card_eq : Fintype.card ι = finrank K V) : Basis ι K V :=
   Basis.mk (linearIndependent_of_top_le_span_of_card_eq_finrank le_span card_eq) le_span
 #align basis_of_top_le_span_of_card_eq_finrank basisOfTopLeSpanOfCardEqFinrank
 
-/- warning: coe_basis_of_top_le_span_of_card_eq_finrank -> coe_basisOfTopLeSpanOfCardEqFinrank is a dubious translation:
-lean 3 declaration is
-  forall {K : Type.{u1}} {V : Type.{u2}} [_inst_1 : DivisionRing.{u1} K] [_inst_2 : AddCommGroup.{u2} V] [_inst_3 : Module.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2)] {ι : Type.{u3}} [_inst_4 : Fintype.{u3} ι] (b : ι -> V) (le_span : LE.le.{u2} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (Preorder.toHasLe.{u2} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (PartialOrder.toPreorder.{u2} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (SetLike.partialOrder.{u2, u2} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) V (Submodule.setLike.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3)))) (Top.top.{u2} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (Submodule.hasTop.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3)) (Submodule.span.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3 (Set.range.{u2, succ u3} V ι b))) (card_eq : Eq.{1} Nat (Fintype.card.{u3} ι _inst_4) (FiniteDimensional.finrank.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) _inst_2 _inst_3)), Eq.{max (succ u3) (succ u2)} (ι -> V) (coeFn.{max (succ u3) (succ u1) (succ u2), max (succ u3) (succ u2)} (Basis.{u3, u1, u2} ι K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (fun (_x : Basis.{u3, u1, u2} ι K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) => ι -> V) (FunLike.hasCoeToFun.{max (succ u3) (succ u1) (succ u2), succ u3, succ u2} (Basis.{u3, u1, u2} ι K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) ι (fun (_x : ι) => V) (Basis.funLike.{u3, u1, u2} ι K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3)) (basisOfTopLeSpanOfCardEqFinrank.{u1, u2, u3} K V _inst_1 _inst_2 _inst_3 ι _inst_4 b le_span card_eq)) b
-but is expected to have type
-  forall {K : Type.{u2}} {V : Type.{u3}} [_inst_1 : DivisionRing.{u2} K] [_inst_2 : AddCommGroup.{u3} V] [_inst_3 : Module.{u2, u3} K V (DivisionSemiring.toSemiring.{u2} K (DivisionRing.toDivisionSemiring.{u2} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u3} V _inst_2)] {ι : Type.{u1}} [_inst_4 : Fintype.{u1} ι] (b : ι -> V) (le_span : LE.le.{u3} (Submodule.{u2, u3} K V (DivisionSemiring.toSemiring.{u2} K (DivisionRing.toDivisionSemiring.{u2} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u3} V _inst_2) _inst_3) (Preorder.toLE.{u3} (Submodule.{u2, u3} K V (DivisionSemiring.toSemiring.{u2} K (DivisionRing.toDivisionSemiring.{u2} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u3} V _inst_2) _inst_3) (PartialOrder.toPreorder.{u3} (Submodule.{u2, u3} K V (DivisionSemiring.toSemiring.{u2} K (DivisionRing.toDivisionSemiring.{u2} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u3} V _inst_2) _inst_3) (OmegaCompletePartialOrder.toPartialOrder.{u3} (Submodule.{u2, u3} K V (DivisionSemiring.toSemiring.{u2} K (DivisionRing.toDivisionSemiring.{u2} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u3} V _inst_2) _inst_3) (CompleteLattice.instOmegaCompletePartialOrder.{u3} (Submodule.{u2, u3} K V (DivisionSemiring.toSemiring.{u2} K (DivisionRing.toDivisionSemiring.{u2} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u3} V _inst_2) _inst_3) (Submodule.completeLattice.{u2, u3} K V (DivisionSemiring.toSemiring.{u2} K (DivisionRing.toDivisionSemiring.{u2} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u3} V _inst_2) _inst_3))))) (Top.top.{u3} (Submodule.{u2, u3} K V (DivisionSemiring.toSemiring.{u2} K (DivisionRing.toDivisionSemiring.{u2} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u3} V _inst_2) _inst_3) (Submodule.instTopSubmodule.{u2, u3} K V (DivisionSemiring.toSemiring.{u2} K (DivisionRing.toDivisionSemiring.{u2} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u3} V _inst_2) _inst_3)) (Submodule.span.{u2, u3} K V (DivisionSemiring.toSemiring.{u2} K (DivisionRing.toDivisionSemiring.{u2} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u3} V _inst_2) _inst_3 (Set.range.{u3, succ u1} V ι b))) (card_eq : Eq.{1} Nat (Fintype.card.{u1} ι _inst_4) (FiniteDimensional.finrank.{u2, u3} K V (DivisionSemiring.toSemiring.{u2} K (DivisionRing.toDivisionSemiring.{u2} K _inst_1)) _inst_2 _inst_3)), Eq.{max (succ u3) (succ u1)} (forall (a : ι), (fun (x._@.Mathlib.LinearAlgebra.Basis._hyg.548 : ι) => V) a) (FunLike.coe.{max (max (succ u2) (succ u3)) (succ u1), succ u1, succ u3} (Basis.{u1, u2, u3} ι K V (DivisionSemiring.toSemiring.{u2} K (DivisionRing.toDivisionSemiring.{u2} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u3} V _inst_2) _inst_3) ι (fun (_x : ι) => (fun (x._@.Mathlib.LinearAlgebra.Basis._hyg.548 : ι) => V) _x) (Basis.funLike.{u1, u2, u3} ι K V (DivisionSemiring.toSemiring.{u2} K (DivisionRing.toDivisionSemiring.{u2} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u3} V _inst_2) _inst_3) (basisOfTopLeSpanOfCardEqFinrank.{u2, u3, u1} K V _inst_1 _inst_2 _inst_3 ι _inst_4 b le_span card_eq)) b
-Case conversion may be inaccurate. Consider using '#align coe_basis_of_top_le_span_of_card_eq_finrank coe_basisOfTopLeSpanOfCardEqFinrankₓ'. -/
 @[simp]
 theorem coe_basisOfTopLeSpanOfCardEqFinrank {ι : Type _} [Fintype ι] (b : ι → V)
     (le_span : ⊤ ≤ span K (Set.range b)) (card_eq : Fintype.card ι = finrank K V) :
@@ -647,12 +509,6 @@ theorem coe_basisOfTopLeSpanOfCardEqFinrank {ι : Type _} [Fintype ι] (b : ι 
   Basis.coe_mk _ _
 #align coe_basis_of_top_le_span_of_card_eq_finrank coe_basisOfTopLeSpanOfCardEqFinrank
 
-/- warning: finset_basis_of_top_le_span_of_card_eq_finrank -> finsetBasisOfTopLeSpanOfCardEqFinrank is a dubious translation:
-lean 3 declaration is
-  forall {K : Type.{u1}} {V : Type.{u2}} [_inst_1 : DivisionRing.{u1} K] [_inst_2 : AddCommGroup.{u2} V] [_inst_3 : Module.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2)] {s : Finset.{u2} V}, (LE.le.{u2} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (Preorder.toHasLe.{u2} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (PartialOrder.toPreorder.{u2} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (SetLike.partialOrder.{u2, u2} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) V (Submodule.setLike.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3)))) (Top.top.{u2} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (Submodule.hasTop.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3)) (Submodule.span.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3 ((fun (a : Type.{u2}) (b : Type.{u2}) [self : HasLiftT.{succ u2, succ u2} a b] => self.0) (Finset.{u2} V) (Set.{u2} V) (HasLiftT.mk.{succ u2, succ u2} (Finset.{u2} V) (Set.{u2} V) (CoeTCₓ.coe.{succ u2, succ u2} (Finset.{u2} V) (Set.{u2} V) (Finset.Set.hasCoeT.{u2} V))) s))) -> (Eq.{1} Nat (Finset.card.{u2} V s) (FiniteDimensional.finrank.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) _inst_2 _inst_3)) -> (Basis.{u2, u1, u2} (coeSort.{succ u2, succ (succ u2)} (Set.{u2} V) Type.{u2} (Set.hasCoeToSort.{u2} V) ((fun (a : Type.{u2}) (b : Type.{u2}) [self : HasLiftT.{succ u2, succ u2} a b] => self.0) (Finset.{u2} V) (Set.{u2} V) (HasLiftT.mk.{succ u2, succ u2} (Finset.{u2} V) (Set.{u2} V) (CoeTCₓ.coe.{succ u2, succ u2} (Finset.{u2} V) (Set.{u2} V) (Finset.Set.hasCoeT.{u2} V))) s)) K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3)
-but is expected to have type
-  forall {K : Type.{u1}} {V : Type.{u2}} [_inst_1 : DivisionRing.{u1} K] [_inst_2 : AddCommGroup.{u2} V] [_inst_3 : Module.{u1, u2} K V (DivisionSemiring.toSemiring.{u1} K (DivisionRing.toDivisionSemiring.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2)] {s : Finset.{u2} V}, (LE.le.{u2} (Submodule.{u1, u2} K V (DivisionSemiring.toSemiring.{u1} K (DivisionRing.toDivisionSemiring.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (Preorder.toLE.{u2} (Submodule.{u1, u2} K V (DivisionSemiring.toSemiring.{u1} K (DivisionRing.toDivisionSemiring.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (PartialOrder.toPreorder.{u2} (Submodule.{u1, u2} K V (DivisionSemiring.toSemiring.{u1} K (DivisionRing.toDivisionSemiring.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (OmegaCompletePartialOrder.toPartialOrder.{u2} (Submodule.{u1, u2} K V (DivisionSemiring.toSemiring.{u1} K (DivisionRing.toDivisionSemiring.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (CompleteLattice.instOmegaCompletePartialOrder.{u2} (Submodule.{u1, u2} K V (DivisionSemiring.toSemiring.{u1} K (DivisionRing.toDivisionSemiring.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (Submodule.completeLattice.{u1, u2} K V (DivisionSemiring.toSemiring.{u1} K (DivisionRing.toDivisionSemiring.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3))))) (Top.top.{u2} (Submodule.{u1, u2} K V (DivisionSemiring.toSemiring.{u1} K (DivisionRing.toDivisionSemiring.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (Submodule.instTopSubmodule.{u1, u2} K V (DivisionSemiring.toSemiring.{u1} K (DivisionRing.toDivisionSemiring.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3)) (Submodule.span.{u1, u2} K V (DivisionSemiring.toSemiring.{u1} K (DivisionRing.toDivisionSemiring.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3 (Finset.toSet.{u2} V s))) -> (Eq.{1} Nat (Finset.card.{u2} V s) (FiniteDimensional.finrank.{u1, u2} K V (DivisionSemiring.toSemiring.{u1} K (DivisionRing.toDivisionSemiring.{u1} K _inst_1)) _inst_2 _inst_3)) -> (Basis.{u2, u1, u2} (Set.Elem.{u2} V (Finset.toSet.{u2} V s)) K V (DivisionSemiring.toSemiring.{u1} K (DivisionRing.toDivisionSemiring.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3)
-Case conversion may be inaccurate. Consider using '#align finset_basis_of_top_le_span_of_card_eq_finrank finsetBasisOfTopLeSpanOfCardEqFinrankₓ'. -/
 /-- A finset of `finrank K V` vectors forms a basis if they span the whole space. -/
 @[simps repr_apply]
 noncomputable def finsetBasisOfTopLeSpanOfCardEqFinrank {s : Finset V}
@@ -662,12 +518,6 @@ noncomputable def finsetBasisOfTopLeSpanOfCardEqFinrank {s : Finset V}
     (trans (Fintype.card_coe _) card_eq)
 #align finset_basis_of_top_le_span_of_card_eq_finrank finsetBasisOfTopLeSpanOfCardEqFinrank
 
-/- warning: set_basis_of_top_le_span_of_card_eq_finrank -> setBasisOfTopLeSpanOfCardEqFinrank is a dubious translation:
-lean 3 declaration is
-  forall {K : Type.{u1}} {V : Type.{u2}} [_inst_1 : DivisionRing.{u1} K] [_inst_2 : AddCommGroup.{u2} V] [_inst_3 : Module.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2)] {s : Set.{u2} V} [_inst_4 : Fintype.{u2} (coeSort.{succ u2, succ (succ u2)} (Set.{u2} V) Type.{u2} (Set.hasCoeToSort.{u2} V) s)], (LE.le.{u2} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (Preorder.toHasLe.{u2} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (PartialOrder.toPreorder.{u2} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (SetLike.partialOrder.{u2, u2} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) V (Submodule.setLike.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3)))) (Top.top.{u2} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (Submodule.hasTop.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3)) (Submodule.span.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3 s)) -> (Eq.{1} Nat (Finset.card.{u2} V (Set.toFinset.{u2} V s _inst_4)) (FiniteDimensional.finrank.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) _inst_2 _inst_3)) -> (Basis.{u2, u1, u2} (coeSort.{succ u2, succ (succ u2)} (Set.{u2} V) Type.{u2} (Set.hasCoeToSort.{u2} V) s) K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3)
-but is expected to have type
-  forall {K : Type.{u1}} {V : Type.{u2}} [_inst_1 : DivisionRing.{u1} K] [_inst_2 : AddCommGroup.{u2} V] [_inst_3 : Module.{u1, u2} K V (DivisionSemiring.toSemiring.{u1} K (DivisionRing.toDivisionSemiring.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2)] {s : Set.{u2} V} [_inst_4 : Fintype.{u2} (Set.Elem.{u2} V s)], (LE.le.{u2} (Submodule.{u1, u2} K V (DivisionSemiring.toSemiring.{u1} K (DivisionRing.toDivisionSemiring.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (Preorder.toLE.{u2} (Submodule.{u1, u2} K V (DivisionSemiring.toSemiring.{u1} K (DivisionRing.toDivisionSemiring.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (PartialOrder.toPreorder.{u2} (Submodule.{u1, u2} K V (DivisionSemiring.toSemiring.{u1} K (DivisionRing.toDivisionSemiring.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (OmegaCompletePartialOrder.toPartialOrder.{u2} (Submodule.{u1, u2} K V (DivisionSemiring.toSemiring.{u1} K (DivisionRing.toDivisionSemiring.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (CompleteLattice.instOmegaCompletePartialOrder.{u2} (Submodule.{u1, u2} K V (DivisionSemiring.toSemiring.{u1} K (DivisionRing.toDivisionSemiring.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (Submodule.completeLattice.{u1, u2} K V (DivisionSemiring.toSemiring.{u1} K (DivisionRing.toDivisionSemiring.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3))))) (Top.top.{u2} (Submodule.{u1, u2} K V (DivisionSemiring.toSemiring.{u1} K (DivisionRing.toDivisionSemiring.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (Submodule.instTopSubmodule.{u1, u2} K V (DivisionSemiring.toSemiring.{u1} K (DivisionRing.toDivisionSemiring.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3)) (Submodule.span.{u1, u2} K V (DivisionSemiring.toSemiring.{u1} K (DivisionRing.toDivisionSemiring.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3 s)) -> (Eq.{1} Nat (Finset.card.{u2} V (Set.toFinset.{u2} V s _inst_4)) (FiniteDimensional.finrank.{u1, u2} K V (DivisionSemiring.toSemiring.{u1} K (DivisionRing.toDivisionSemiring.{u1} K _inst_1)) _inst_2 _inst_3)) -> (Basis.{u2, u1, u2} (Set.Elem.{u2} V s) K V (DivisionSemiring.toSemiring.{u1} K (DivisionRing.toDivisionSemiring.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3)
-Case conversion may be inaccurate. Consider using '#align set_basis_of_top_le_span_of_card_eq_finrank setBasisOfTopLeSpanOfCardEqFinrankₓ'. -/
 /-- A set of `finrank K V` vectors forms a basis if they span the whole space. -/
 @[simps repr_apply]
 noncomputable def setBasisOfTopLeSpanOfCardEqFinrank {s : Set V} [Fintype s]
@@ -691,12 +541,6 @@ variable [Ring K] [AddCommGroup V] [Module K V]
 
 variable [NoZeroSMulDivisors K V] [StrongRankCondition K]
 
-/- warning: finrank_eq_one -> finrank_eq_one is a dubious translation:
-lean 3 declaration is
-  forall {K : Type.{u1}} {V : Type.{u2}} [_inst_1 : Ring.{u1} K] [_inst_2 : AddCommGroup.{u2} V] [_inst_3 : Module.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2)] [_inst_4 : NoZeroSMulDivisors.{u1, u2} K V (MulZeroClass.toHasZero.{u1} K (NonUnitalNonAssocSemiring.toMulZeroClass.{u1} K (NonUnitalNonAssocRing.toNonUnitalNonAssocSemiring.{u1} K (NonAssocRing.toNonUnitalNonAssocRing.{u1} K (Ring.toNonAssocRing.{u1} K _inst_1))))) (AddZeroClass.toHasZero.{u2} V (AddMonoid.toAddZeroClass.{u2} V (SubNegMonoid.toAddMonoid.{u2} V (AddGroup.toSubNegMonoid.{u2} V (AddCommGroup.toAddGroup.{u2} V _inst_2))))) (SMulZeroClass.toHasSmul.{u1, u2} K V (AddZeroClass.toHasZero.{u2} V (AddMonoid.toAddZeroClass.{u2} V (AddCommMonoid.toAddMonoid.{u2} V (AddCommGroup.toAddCommMonoid.{u2} V _inst_2)))) (SMulWithZero.toSmulZeroClass.{u1, u2} K V (MulZeroClass.toHasZero.{u1} K (MulZeroOneClass.toMulZeroClass.{u1} K (MonoidWithZero.toMulZeroOneClass.{u1} K (Semiring.toMonoidWithZero.{u1} K (Ring.toSemiring.{u1} K _inst_1))))) (AddZeroClass.toHasZero.{u2} V (AddMonoid.toAddZeroClass.{u2} V (AddCommMonoid.toAddMonoid.{u2} V (AddCommGroup.toAddCommMonoid.{u2} V _inst_2)))) (MulActionWithZero.toSMulWithZero.{u1, u2} K V (Semiring.toMonoidWithZero.{u1} K (Ring.toSemiring.{u1} K _inst_1)) (AddZeroClass.toHasZero.{u2} V (AddMonoid.toAddZeroClass.{u2} V (AddCommMonoid.toAddMonoid.{u2} V (AddCommGroup.toAddCommMonoid.{u2} V _inst_2)))) (Module.toMulActionWithZero.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3))))] [_inst_5 : StrongRankCondition.{u1} K (Ring.toSemiring.{u1} K _inst_1)] (v : V), (Ne.{succ u2} V v (OfNat.ofNat.{u2} V 0 (OfNat.mk.{u2} V 0 (Zero.zero.{u2} V (AddZeroClass.toHasZero.{u2} V (AddMonoid.toAddZeroClass.{u2} V (SubNegMonoid.toAddMonoid.{u2} V (AddGroup.toSubNegMonoid.{u2} V (AddCommGroup.toAddGroup.{u2} V _inst_2))))))))) -> (forall (w : V), Exists.{succ u1} K (fun (c : K) => Eq.{succ u2} V (SMul.smul.{u1, u2} K V (SMulZeroClass.toHasSmul.{u1, u2} K V (AddZeroClass.toHasZero.{u2} V (AddMonoid.toAddZeroClass.{u2} V (AddCommMonoid.toAddMonoid.{u2} V (AddCommGroup.toAddCommMonoid.{u2} V _inst_2)))) (SMulWithZero.toSmulZeroClass.{u1, u2} K V (MulZeroClass.toHasZero.{u1} K (MulZeroOneClass.toMulZeroClass.{u1} K (MonoidWithZero.toMulZeroOneClass.{u1} K (Semiring.toMonoidWithZero.{u1} K (Ring.toSemiring.{u1} K _inst_1))))) (AddZeroClass.toHasZero.{u2} V (AddMonoid.toAddZeroClass.{u2} V (AddCommMonoid.toAddMonoid.{u2} V (AddCommGroup.toAddCommMonoid.{u2} V _inst_2)))) (MulActionWithZero.toSMulWithZero.{u1, u2} K V (Semiring.toMonoidWithZero.{u1} K (Ring.toSemiring.{u1} K _inst_1)) (AddZeroClass.toHasZero.{u2} V (AddMonoid.toAddZeroClass.{u2} V (AddCommMonoid.toAddMonoid.{u2} V (AddCommGroup.toAddCommMonoid.{u2} V _inst_2)))) (Module.toMulActionWithZero.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3)))) c v) w)) -> (Eq.{1} Nat (FiniteDimensional.finrank.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) _inst_2 _inst_3) (OfNat.ofNat.{0} Nat 1 (OfNat.mk.{0} Nat 1 (One.one.{0} Nat Nat.hasOne))))
-but is expected to have type
-  forall {K : Type.{u1}} {V : Type.{u2}} [_inst_1 : Ring.{u1} K] [_inst_2 : AddCommGroup.{u2} V] [_inst_3 : Module.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2)] [_inst_4 : NoZeroSMulDivisors.{u1, u2} K V (MonoidWithZero.toZero.{u1} K (Semiring.toMonoidWithZero.{u1} K (Ring.toSemiring.{u1} K _inst_1))) (NegZeroClass.toZero.{u2} V (SubNegZeroMonoid.toNegZeroClass.{u2} V (SubtractionMonoid.toSubNegZeroMonoid.{u2} V (SubtractionCommMonoid.toSubtractionMonoid.{u2} V (AddCommGroup.toDivisionAddCommMonoid.{u2} V _inst_2))))) (SMulZeroClass.toSMul.{u1, u2} K V (NegZeroClass.toZero.{u2} V (SubNegZeroMonoid.toNegZeroClass.{u2} V (SubtractionMonoid.toSubNegZeroMonoid.{u2} V (SubtractionCommMonoid.toSubtractionMonoid.{u2} V (AddCommGroup.toDivisionAddCommMonoid.{u2} V _inst_2))))) (SMulWithZero.toSMulZeroClass.{u1, u2} K V (MonoidWithZero.toZero.{u1} K (Semiring.toMonoidWithZero.{u1} K (Ring.toSemiring.{u1} K _inst_1))) (NegZeroClass.toZero.{u2} V (SubNegZeroMonoid.toNegZeroClass.{u2} V (SubtractionMonoid.toSubNegZeroMonoid.{u2} V (SubtractionCommMonoid.toSubtractionMonoid.{u2} V (AddCommGroup.toDivisionAddCommMonoid.{u2} V _inst_2))))) (MulActionWithZero.toSMulWithZero.{u1, u2} K V (Semiring.toMonoidWithZero.{u1} K (Ring.toSemiring.{u1} K _inst_1)) (NegZeroClass.toZero.{u2} V (SubNegZeroMonoid.toNegZeroClass.{u2} V (SubtractionMonoid.toSubNegZeroMonoid.{u2} V (SubtractionCommMonoid.toSubtractionMonoid.{u2} V (AddCommGroup.toDivisionAddCommMonoid.{u2} V _inst_2))))) (Module.toMulActionWithZero.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3))))] [_inst_5 : StrongRankCondition.{u1} K (Ring.toSemiring.{u1} K _inst_1)] (v : V), (Ne.{succ u2} V v (OfNat.ofNat.{u2} V 0 (Zero.toOfNat0.{u2} V (NegZeroClass.toZero.{u2} V (SubNegZeroMonoid.toNegZeroClass.{u2} V (SubtractionMonoid.toSubNegZeroMonoid.{u2} V (SubtractionCommMonoid.toSubtractionMonoid.{u2} V (AddCommGroup.toDivisionAddCommMonoid.{u2} V _inst_2)))))))) -> (forall (w : V), Exists.{succ u1} K (fun (c : K) => Eq.{succ u2} V (HSMul.hSMul.{u1, u2, u2} K V V (instHSMul.{u1, u2} K V (SMulZeroClass.toSMul.{u1, u2} K V (NegZeroClass.toZero.{u2} V (SubNegZeroMonoid.toNegZeroClass.{u2} V (SubtractionMonoid.toSubNegZeroMonoid.{u2} V (SubtractionCommMonoid.toSubtractionMonoid.{u2} V (AddCommGroup.toDivisionAddCommMonoid.{u2} V _inst_2))))) (SMulWithZero.toSMulZeroClass.{u1, u2} K V (MonoidWithZero.toZero.{u1} K (Semiring.toMonoidWithZero.{u1} K (Ring.toSemiring.{u1} K _inst_1))) (NegZeroClass.toZero.{u2} V (SubNegZeroMonoid.toNegZeroClass.{u2} V (SubtractionMonoid.toSubNegZeroMonoid.{u2} V (SubtractionCommMonoid.toSubtractionMonoid.{u2} V (AddCommGroup.toDivisionAddCommMonoid.{u2} V _inst_2))))) (MulActionWithZero.toSMulWithZero.{u1, u2} K V (Semiring.toMonoidWithZero.{u1} K (Ring.toSemiring.{u1} K _inst_1)) (NegZeroClass.toZero.{u2} V (SubNegZeroMonoid.toNegZeroClass.{u2} V (SubtractionMonoid.toSubNegZeroMonoid.{u2} V (SubtractionCommMonoid.toSubtractionMonoid.{u2} V (AddCommGroup.toDivisionAddCommMonoid.{u2} V _inst_2))))) (Module.toMulActionWithZero.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3))))) c v) w)) -> (Eq.{1} Nat (FiniteDimensional.finrank.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) _inst_2 _inst_3) (OfNat.ofNat.{0} Nat 1 (instOfNatNat 1)))
-Case conversion may be inaccurate. Consider using '#align finrank_eq_one finrank_eq_oneₓ'. -/
 /-- If there is a nonzero vector and every other vector is a multiple of it,
 then the module has dimension one. -/
 theorem finrank_eq_one (v : V) (n : v ≠ 0) (h : ∀ w : V, ∃ c : K, c • v = w) : finrank K V = 1 :=
@@ -706,12 +550,6 @@ theorem finrank_eq_one (v : V) (n : v ≠ 0) (h : ∀ w : V, ∃ c : K, c • v
   rw [finrank_eq_card_basis b, Fintype.card_punit]
 #align finrank_eq_one finrank_eq_one
 
-/- warning: finrank_le_one -> finrank_le_one is a dubious translation:
-lean 3 declaration is
-  forall {K : Type.{u1}} {V : Type.{u2}} [_inst_1 : Ring.{u1} K] [_inst_2 : AddCommGroup.{u2} V] [_inst_3 : Module.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2)] [_inst_4 : NoZeroSMulDivisors.{u1, u2} K V (MulZeroClass.toHasZero.{u1} K (NonUnitalNonAssocSemiring.toMulZeroClass.{u1} K (NonUnitalNonAssocRing.toNonUnitalNonAssocSemiring.{u1} K (NonAssocRing.toNonUnitalNonAssocRing.{u1} K (Ring.toNonAssocRing.{u1} K _inst_1))))) (AddZeroClass.toHasZero.{u2} V (AddMonoid.toAddZeroClass.{u2} V (SubNegMonoid.toAddMonoid.{u2} V (AddGroup.toSubNegMonoid.{u2} V (AddCommGroup.toAddGroup.{u2} V _inst_2))))) (SMulZeroClass.toHasSmul.{u1, u2} K V (AddZeroClass.toHasZero.{u2} V (AddMonoid.toAddZeroClass.{u2} V (AddCommMonoid.toAddMonoid.{u2} V (AddCommGroup.toAddCommMonoid.{u2} V _inst_2)))) (SMulWithZero.toSmulZeroClass.{u1, u2} K V (MulZeroClass.toHasZero.{u1} K (MulZeroOneClass.toMulZeroClass.{u1} K (MonoidWithZero.toMulZeroOneClass.{u1} K (Semiring.toMonoidWithZero.{u1} K (Ring.toSemiring.{u1} K _inst_1))))) (AddZeroClass.toHasZero.{u2} V (AddMonoid.toAddZeroClass.{u2} V (AddCommMonoid.toAddMonoid.{u2} V (AddCommGroup.toAddCommMonoid.{u2} V _inst_2)))) (MulActionWithZero.toSMulWithZero.{u1, u2} K V (Semiring.toMonoidWithZero.{u1} K (Ring.toSemiring.{u1} K _inst_1)) (AddZeroClass.toHasZero.{u2} V (AddMonoid.toAddZeroClass.{u2} V (AddCommMonoid.toAddMonoid.{u2} V (AddCommGroup.toAddCommMonoid.{u2} V _inst_2)))) (Module.toMulActionWithZero.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3))))] [_inst_5 : StrongRankCondition.{u1} K (Ring.toSemiring.{u1} K _inst_1)] (v : V), (forall (w : V), Exists.{succ u1} K (fun (c : K) => Eq.{succ u2} V (SMul.smul.{u1, u2} K V (SMulZeroClass.toHasSmul.{u1, u2} K V (AddZeroClass.toHasZero.{u2} V (AddMonoid.toAddZeroClass.{u2} V (AddCommMonoid.toAddMonoid.{u2} V (AddCommGroup.toAddCommMonoid.{u2} V _inst_2)))) (SMulWithZero.toSmulZeroClass.{u1, u2} K V (MulZeroClass.toHasZero.{u1} K (MulZeroOneClass.toMulZeroClass.{u1} K (MonoidWithZero.toMulZeroOneClass.{u1} K (Semiring.toMonoidWithZero.{u1} K (Ring.toSemiring.{u1} K _inst_1))))) (AddZeroClass.toHasZero.{u2} V (AddMonoid.toAddZeroClass.{u2} V (AddCommMonoid.toAddMonoid.{u2} V (AddCommGroup.toAddCommMonoid.{u2} V _inst_2)))) (MulActionWithZero.toSMulWithZero.{u1, u2} K V (Semiring.toMonoidWithZero.{u1} K (Ring.toSemiring.{u1} K _inst_1)) (AddZeroClass.toHasZero.{u2} V (AddMonoid.toAddZeroClass.{u2} V (AddCommMonoid.toAddMonoid.{u2} V (AddCommGroup.toAddCommMonoid.{u2} V _inst_2)))) (Module.toMulActionWithZero.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3)))) c v) w)) -> (LE.le.{0} Nat Nat.hasLe (FiniteDimensional.finrank.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) _inst_2 _inst_3) (OfNat.ofNat.{0} Nat 1 (OfNat.mk.{0} Nat 1 (One.one.{0} Nat Nat.hasOne))))
-but is expected to have type
-  forall {K : Type.{u1}} {V : Type.{u2}} [_inst_1 : Ring.{u1} K] [_inst_2 : AddCommGroup.{u2} V] [_inst_3 : Module.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2)] [_inst_4 : NoZeroSMulDivisors.{u1, u2} K V (MonoidWithZero.toZero.{u1} K (Semiring.toMonoidWithZero.{u1} K (Ring.toSemiring.{u1} K _inst_1))) (NegZeroClass.toZero.{u2} V (SubNegZeroMonoid.toNegZeroClass.{u2} V (SubtractionMonoid.toSubNegZeroMonoid.{u2} V (SubtractionCommMonoid.toSubtractionMonoid.{u2} V (AddCommGroup.toDivisionAddCommMonoid.{u2} V _inst_2))))) (SMulZeroClass.toSMul.{u1, u2} K V (NegZeroClass.toZero.{u2} V (SubNegZeroMonoid.toNegZeroClass.{u2} V (SubtractionMonoid.toSubNegZeroMonoid.{u2} V (SubtractionCommMonoid.toSubtractionMonoid.{u2} V (AddCommGroup.toDivisionAddCommMonoid.{u2} V _inst_2))))) (SMulWithZero.toSMulZeroClass.{u1, u2} K V (MonoidWithZero.toZero.{u1} K (Semiring.toMonoidWithZero.{u1} K (Ring.toSemiring.{u1} K _inst_1))) (NegZeroClass.toZero.{u2} V (SubNegZeroMonoid.toNegZeroClass.{u2} V (SubtractionMonoid.toSubNegZeroMonoid.{u2} V (SubtractionCommMonoid.toSubtractionMonoid.{u2} V (AddCommGroup.toDivisionAddCommMonoid.{u2} V _inst_2))))) (MulActionWithZero.toSMulWithZero.{u1, u2} K V (Semiring.toMonoidWithZero.{u1} K (Ring.toSemiring.{u1} K _inst_1)) (NegZeroClass.toZero.{u2} V (SubNegZeroMonoid.toNegZeroClass.{u2} V (SubtractionMonoid.toSubNegZeroMonoid.{u2} V (SubtractionCommMonoid.toSubtractionMonoid.{u2} V (AddCommGroup.toDivisionAddCommMonoid.{u2} V _inst_2))))) (Module.toMulActionWithZero.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3))))] [_inst_5 : StrongRankCondition.{u1} K (Ring.toSemiring.{u1} K _inst_1)] (v : V), (forall (w : V), Exists.{succ u1} K (fun (c : K) => Eq.{succ u2} V (HSMul.hSMul.{u1, u2, u2} K V V (instHSMul.{u1, u2} K V (SMulZeroClass.toSMul.{u1, u2} K V (NegZeroClass.toZero.{u2} V (SubNegZeroMonoid.toNegZeroClass.{u2} V (SubtractionMonoid.toSubNegZeroMonoid.{u2} V (SubtractionCommMonoid.toSubtractionMonoid.{u2} V (AddCommGroup.toDivisionAddCommMonoid.{u2} V _inst_2))))) (SMulWithZero.toSMulZeroClass.{u1, u2} K V (MonoidWithZero.toZero.{u1} K (Semiring.toMonoidWithZero.{u1} K (Ring.toSemiring.{u1} K _inst_1))) (NegZeroClass.toZero.{u2} V (SubNegZeroMonoid.toNegZeroClass.{u2} V (SubtractionMonoid.toSubNegZeroMonoid.{u2} V (SubtractionCommMonoid.toSubtractionMonoid.{u2} V (AddCommGroup.toDivisionAddCommMonoid.{u2} V _inst_2))))) (MulActionWithZero.toSMulWithZero.{u1, u2} K V (Semiring.toMonoidWithZero.{u1} K (Ring.toSemiring.{u1} K _inst_1)) (NegZeroClass.toZero.{u2} V (SubNegZeroMonoid.toNegZeroClass.{u2} V (SubtractionMonoid.toSubNegZeroMonoid.{u2} V (SubtractionCommMonoid.toSubtractionMonoid.{u2} V (AddCommGroup.toDivisionAddCommMonoid.{u2} V _inst_2))))) (Module.toMulActionWithZero.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3))))) c v) w)) -> (LE.le.{0} Nat instLENat (FiniteDimensional.finrank.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) _inst_2 _inst_3) (OfNat.ofNat.{0} Nat 1 (instOfNatNat 1)))
-Case conversion may be inaccurate. Consider using '#align finrank_le_one finrank_le_oneₓ'. -/
 /-- If every vector is a multiple of some `v : V`, then `V` has dimension at most one.
 -/
 theorem finrank_le_one (v : V) (h : ∀ w : V, ∃ c : K, c • v = w) : finrank K V ≤ 1 :=
@@ -732,18 +570,12 @@ open Module
 
 variable {F E : Type _} [CommRing F] [Ring E] [Algebra F E]
 
-/- warning: subalgebra.rank_to_submodule -> Subalgebra.rank_toSubmodule is a dubious translation:
-<too large>
-Case conversion may be inaccurate. Consider using '#align subalgebra.rank_to_submodule Subalgebra.rank_toSubmoduleₓ'. -/
 @[simp]
 theorem Subalgebra.rank_toSubmodule (S : Subalgebra F E) :
     Module.rank F S.toSubmodule = Module.rank F S :=
   rfl
 #align subalgebra.rank_to_submodule Subalgebra.rank_toSubmodule
 
-/- warning: subalgebra.finrank_to_submodule -> Subalgebra.finrank_toSubmodule is a dubious translation:
-<too large>
-Case conversion may be inaccurate. Consider using '#align subalgebra.finrank_to_submodule Subalgebra.finrank_toSubmoduleₓ'. -/
 @[simp]
 theorem Subalgebra.finrank_toSubmodule (S : Subalgebra F E) :
     finrank F S.toSubmodule = finrank F S :=
@@ -757,9 +589,6 @@ theorem subalgebra_top_rank_eq_submodule_top_rank :
 #align subalgebra_top_rank_eq_submodule_top_rank subalgebra_top_rank_eq_submodule_top_rank
 -/
 
-/- warning: subalgebra_top_finrank_eq_submodule_top_finrank -> subalgebra_top_finrank_eq_submodule_top_finrank is a dubious translation:
-<too large>
-Case conversion may be inaccurate. Consider using '#align subalgebra_top_finrank_eq_submodule_top_finrank subalgebra_top_finrank_eq_submodule_top_finrankₓ'. -/
 theorem subalgebra_top_finrank_eq_submodule_top_finrank :
     finrank F (⊤ : Subalgebra F E) = finrank F (⊤ : Submodule F E) := by
   rw [← Algebra.top_toSubmodule]; rfl
@@ -775,9 +604,6 @@ section
 
 variable [StrongRankCondition F] [NoZeroSMulDivisors F E] [Nontrivial E]
 
-/- warning: subalgebra.rank_bot -> Subalgebra.rank_bot is a dubious translation:
-<too large>
-Case conversion may be inaccurate. Consider using '#align subalgebra.rank_bot Subalgebra.rank_botₓ'. -/
 @[simp]
 theorem Subalgebra.rank_bot : Module.rank F (⊥ : Subalgebra F E) = 1 :=
   ((Subalgebra.toSubmoduleEquiv (⊥ : Subalgebra F E)).symm.trans <|
@@ -788,9 +614,6 @@ theorem Subalgebra.rank_bot : Module.rank F (⊥ : Subalgebra F E) = 1 :=
     exacts[mk_singleton _, linearIndependent_singleton one_ne_zero]
 #align subalgebra.rank_bot Subalgebra.rank_bot
 
-/- warning: subalgebra.finrank_bot -> Subalgebra.finrank_bot is a dubious translation:
-<too large>
-Case conversion may be inaccurate. Consider using '#align subalgebra.finrank_bot Subalgebra.finrank_botₓ'. -/
 @[simp]
 theorem Subalgebra.finrank_bot : finrank F (⊥ : Subalgebra F E) = 1 :=
   finrank_eq_of_rank_eq (by simp)
Diff
@@ -263,11 +263,7 @@ theorem finrank_eq_zero_of_basis_imp_not_finite
 #print finrank_eq_zero_of_basis_imp_false /-
 theorem finrank_eq_zero_of_basis_imp_false (h : ∀ s : Finset V, Basis.{v} (s : Set V) K V → False) :
     finrank K V = 0 :=
-  finrank_eq_zero_of_basis_imp_not_finite fun s b hs =>
-    h hs.toFinset
-      (by
-        convert b
-        simp)
+  finrank_eq_zero_of_basis_imp_not_finite fun s b hs => h hs.toFinset (by convert b; simp)
 #align finrank_eq_zero_of_basis_imp_false finrank_eq_zero_of_basis_imp_false
 -/
 
@@ -311,9 +307,7 @@ but is expected to have type
   forall {R : Type.{u3}} {M : Type.{u2}} {M₂ : Type.{u1}} [_inst_6 : Ring.{u3} R] [_inst_7 : AddCommGroup.{u2} M] [_inst_8 : AddCommGroup.{u1} M₂] [_inst_9 : Module.{u3, u2} R M (Ring.toSemiring.{u3} R _inst_6) (AddCommGroup.toAddCommMonoid.{u2} M _inst_7)] [_inst_10 : Module.{u3, u1} R M₂ (Ring.toSemiring.{u3} R _inst_6) (AddCommGroup.toAddCommMonoid.{u1} M₂ _inst_8)], (LinearEquiv.{u3, u3, u2, u1} R R (Ring.toSemiring.{u3} R _inst_6) (Ring.toSemiring.{u3} R _inst_6) (RingHom.id.{u3} R (Semiring.toNonAssocSemiring.{u3} R (Ring.toSemiring.{u3} R _inst_6))) (RingHom.id.{u3} R (Semiring.toNonAssocSemiring.{u3} R (Ring.toSemiring.{u3} R _inst_6))) (RingHomInvPair.ids.{u3} R (Ring.toSemiring.{u3} R _inst_6)) (RingHomInvPair.ids.{u3} R (Ring.toSemiring.{u3} R _inst_6)) M M₂ (AddCommGroup.toAddCommMonoid.{u2} M _inst_7) (AddCommGroup.toAddCommMonoid.{u1} M₂ _inst_8) _inst_9 _inst_10) -> (Eq.{1} Nat (FiniteDimensional.finrank.{u3, u2} R M (Ring.toSemiring.{u3} R _inst_6) _inst_7 _inst_9) (FiniteDimensional.finrank.{u3, u1} R M₂ (Ring.toSemiring.{u3} R _inst_6) _inst_8 _inst_10))
 Case conversion may be inaccurate. Consider using '#align linear_equiv.finrank_eq LinearEquiv.finrank_eqₓ'. -/
 /-- The dimension of a finite dimensional space is preserved under linear equivalence. -/
-theorem finrank_eq (f : M ≃ₗ[R] M₂) : finrank R M = finrank R M₂ :=
-  by
-  unfold finrank
+theorem finrank_eq (f : M ≃ₗ[R] M₂) : finrank R M = finrank R M₂ := by unfold finrank;
   rw [← Cardinal.toNat_lift, f.lift_rank_eq, Cardinal.toNat_lift]
 #align linear_equiv.finrank_eq LinearEquiv.finrank_eq
 
@@ -374,9 +368,7 @@ but is expected to have type
   forall (K : Type.{u1}) (V : Type.{u2}) [_inst_1 : Ring.{u1} K] [_inst_2 : AddCommGroup.{u2} V] [_inst_3 : Module.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2)], Eq.{1} Nat (FiniteDimensional.finrank.{u1, u2} K (Subtype.{succ u2} V (fun (x : V) => Membership.mem.{u2, u2} V (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (SetLike.instMembership.{u2, u2} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) V (Submodule.setLike.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3)) x (Top.top.{u2} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (Submodule.instTopSubmodule.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3)))) (Ring.toSemiring.{u1} K _inst_1) (Submodule.addCommGroup.{u1, u2} K V _inst_1 _inst_2 _inst_3 (Top.top.{u2} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (Submodule.instTopSubmodule.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3))) (Submodule.module.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3 (Top.top.{u2} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (Submodule.instTopSubmodule.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3)))) (FiniteDimensional.finrank.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) _inst_2 _inst_3)
 Case conversion may be inaccurate. Consider using '#align finrank_top finrank_topₓ'. -/
 @[simp]
-theorem finrank_top : finrank K (⊤ : Submodule K V) = finrank K V :=
-  by
-  unfold finrank
+theorem finrank_top : finrank K (⊤ : Submodule K V) = finrank K V := by unfold finrank;
   simp [rank_top]
 #align finrank_top finrank_top
 
@@ -457,9 +449,7 @@ but is expected to have type
 Case conversion may be inaccurate. Consider using '#align finrank_range_le_card finrank_range_le_cardₓ'. -/
 theorem finrank_range_le_card {ι : Type _} [Fintype ι] {b : ι → V} :
     (Set.range b).finrank K ≤ Fintype.card ι :=
-  (finrank_span_le_card _).trans <| by
-    rw [Set.toFinset_range]
-    exact Finset.card_image_le
+  (finrank_span_le_card _).trans <| by rw [Set.toFinset_range]; exact Finset.card_image_le
 #align finrank_range_le_card finrank_range_le_card
 
 /- warning: finrank_span_eq_card -> finrank_span_eq_card is a dubious translation:
@@ -609,10 +599,7 @@ theorem linearIndependent_iff_card_eq_finrank_span {ι : Type _} [Fintype ι] {b
     have hs : ⊤ ≤ span K (Set.range b') := by
       intro x
       have h : span K (f '' Set.range b') = map f (span K (Set.range b')) := span_image f
-      have hf : f '' Set.range b' = Set.range b :=
-        by
-        ext x
-        simp [Set.mem_image, Set.mem_range]
+      have hf : f '' Set.range b' = Set.range b := by ext x; simp [Set.mem_image, Set.mem_range]
       rw [hf] at h
       have hx : (x : V) ∈ span K (Set.range b) := x.property
       conv at hx =>
@@ -731,11 +718,7 @@ theorem finrank_le_one (v : V) (h : ∀ w : V, ∃ c : K, c • v = w) : finrank
   by
   haveI := nontrivial_of_invariantBasisNumber K
   rcases eq_or_ne v 0 with (rfl | hn)
-  · haveI :=
-      subsingleton_of_forall_eq (0 : V) fun w =>
-        by
-        obtain ⟨c, rfl⟩ := h w
-        simp
+  · haveI := subsingleton_of_forall_eq (0 : V) fun w => by obtain ⟨c, rfl⟩ := h w; simp
     rw [finrank_zero_of_subsingleton]
     exact zero_le_one
   · exact (finrank_eq_one v hn h).le
@@ -769,10 +752,8 @@ theorem Subalgebra.finrank_toSubmodule (S : Subalgebra F E) :
 
 #print subalgebra_top_rank_eq_submodule_top_rank /-
 theorem subalgebra_top_rank_eq_submodule_top_rank :
-    Module.rank F (⊤ : Subalgebra F E) = Module.rank F (⊤ : Submodule F E) :=
-  by
-  rw [← Algebra.top_toSubmodule]
-  rfl
+    Module.rank F (⊤ : Subalgebra F E) = Module.rank F (⊤ : Submodule F E) := by
+  rw [← Algebra.top_toSubmodule]; rfl
 #align subalgebra_top_rank_eq_submodule_top_rank subalgebra_top_rank_eq_submodule_top_rank
 -/
 
@@ -780,17 +761,13 @@ theorem subalgebra_top_rank_eq_submodule_top_rank :
 <too large>
 Case conversion may be inaccurate. Consider using '#align subalgebra_top_finrank_eq_submodule_top_finrank subalgebra_top_finrank_eq_submodule_top_finrankₓ'. -/
 theorem subalgebra_top_finrank_eq_submodule_top_finrank :
-    finrank F (⊤ : Subalgebra F E) = finrank F (⊤ : Submodule F E) :=
-  by
-  rw [← Algebra.top_toSubmodule]
-  rfl
+    finrank F (⊤ : Subalgebra F E) = finrank F (⊤ : Submodule F E) := by
+  rw [← Algebra.top_toSubmodule]; rfl
 #align subalgebra_top_finrank_eq_submodule_top_finrank subalgebra_top_finrank_eq_submodule_top_finrank
 
 #print Subalgebra.rank_top /-
-theorem Subalgebra.rank_top : Module.rank F (⊤ : Subalgebra F E) = Module.rank F E :=
-  by
-  rw [subalgebra_top_rank_eq_submodule_top_rank]
-  exact rank_top F E
+theorem Subalgebra.rank_top : Module.rank F (⊤ : Subalgebra F E) = Module.rank F E := by
+  rw [subalgebra_top_rank_eq_submodule_top_rank]; exact rank_top F E
 #align subalgebra.rank_top Subalgebra.rank_top
 -/
 
Diff
@@ -318,10 +318,7 @@ theorem finrank_eq (f : M ≃ₗ[R] M₂) : finrank R M = finrank R M₂ :=
 #align linear_equiv.finrank_eq LinearEquiv.finrank_eq
 
 /- warning: linear_equiv.finrank_map_eq -> LinearEquiv.finrank_map_eq is a dubious translation:
-lean 3 declaration is
-  forall {R : Type.{u1}} {M : Type.{u2}} {M₂ : Type.{u3}} [_inst_6 : Ring.{u1} R] [_inst_7 : AddCommGroup.{u2} M] [_inst_8 : AddCommGroup.{u3} M₂] [_inst_9 : Module.{u1, u2} R M (Ring.toSemiring.{u1} R _inst_6) (AddCommGroup.toAddCommMonoid.{u2} M _inst_7)] [_inst_10 : Module.{u1, u3} R M₂ (Ring.toSemiring.{u1} R _inst_6) (AddCommGroup.toAddCommMonoid.{u3} M₂ _inst_8)] (f : LinearEquiv.{u1, u1, u2, u3} R R (Ring.toSemiring.{u1} R _inst_6) (Ring.toSemiring.{u1} R _inst_6) (RingHom.id.{u1} R (Semiring.toNonAssocSemiring.{u1} R (Ring.toSemiring.{u1} R _inst_6))) (RingHom.id.{u1} R (Semiring.toNonAssocSemiring.{u1} R (Ring.toSemiring.{u1} R _inst_6))) (RingHomInvPair.ids.{u1} R (Ring.toSemiring.{u1} R _inst_6)) (RingHomInvPair.ids.{u1} R (Ring.toSemiring.{u1} R _inst_6)) M M₂ (AddCommGroup.toAddCommMonoid.{u2} M _inst_7) (AddCommGroup.toAddCommMonoid.{u3} M₂ _inst_8) _inst_9 _inst_10) (p : Submodule.{u1, u2} R M (Ring.toSemiring.{u1} R _inst_6) (AddCommGroup.toAddCommMonoid.{u2} M _inst_7) _inst_9), Eq.{1} Nat (FiniteDimensional.finrank.{u1, u3} R (coeSort.{succ u3, succ (succ u3)} (Submodule.{u1, u3} R M₂ (Ring.toSemiring.{u1} R _inst_6) (AddCommGroup.toAddCommMonoid.{u3} M₂ _inst_8) _inst_10) Type.{u3} (SetLike.hasCoeToSort.{u3, u3} (Submodule.{u1, u3} R M₂ (Ring.toSemiring.{u1} R _inst_6) (AddCommGroup.toAddCommMonoid.{u3} M₂ _inst_8) _inst_10) M₂ (Submodule.setLike.{u1, u3} R M₂ (Ring.toSemiring.{u1} R _inst_6) (AddCommGroup.toAddCommMonoid.{u3} M₂ _inst_8) _inst_10)) (Submodule.map.{u1, u1, u2, u3, max u2 u3} R R M M₂ (Ring.toSemiring.{u1} R _inst_6) (Ring.toSemiring.{u1} R _inst_6) (AddCommGroup.toAddCommMonoid.{u2} M _inst_7) (AddCommGroup.toAddCommMonoid.{u3} M₂ _inst_8) _inst_9 _inst_10 (RingHom.id.{u1} R (Semiring.toNonAssocSemiring.{u1} R (Ring.toSemiring.{u1} R _inst_6))) (RingHomSurjective.ids.{u1} R (Ring.toSemiring.{u1} R _inst_6)) (LinearMap.{u1, u1, u2, u3} R R (Ring.toSemiring.{u1} R _inst_6) (Ring.toSemiring.{u1} R _inst_6) (RingHom.id.{u1} R (Semiring.toNonAssocSemiring.{u1} R (Ring.toSemiring.{u1} R _inst_6))) M M₂ (AddCommGroup.toAddCommMonoid.{u2} M _inst_7) (AddCommGroup.toAddCommMonoid.{u3} M₂ _inst_8) _inst_9 _inst_10) (LinearMap.semilinearMapClass.{u1, u1, u2, u3} R R M M₂ (Ring.toSemiring.{u1} R _inst_6) (Ring.toSemiring.{u1} R _inst_6) (AddCommGroup.toAddCommMonoid.{u2} M _inst_7) (AddCommGroup.toAddCommMonoid.{u3} M₂ _inst_8) _inst_9 _inst_10 (RingHom.id.{u1} R (Semiring.toNonAssocSemiring.{u1} R (Ring.toSemiring.{u1} R _inst_6)))) ((fun (a : Sort.{max (succ u2) (succ u3)}) (b : Sort.{max (succ u2) (succ u3)}) [self : HasLiftT.{max (succ u2) (succ u3), max (succ u2) (succ u3)} a b] => self.0) (LinearEquiv.{u1, u1, u2, u3} R R (Ring.toSemiring.{u1} R _inst_6) (Ring.toSemiring.{u1} R _inst_6) (RingHom.id.{u1} R (Semiring.toNonAssocSemiring.{u1} R (Ring.toSemiring.{u1} R _inst_6))) (RingHom.id.{u1} R (Semiring.toNonAssocSemiring.{u1} R (Ring.toSemiring.{u1} R _inst_6))) (RingHomInvPair.ids.{u1} R (Ring.toSemiring.{u1} R _inst_6)) (RingHomInvPair.ids.{u1} R (Ring.toSemiring.{u1} R _inst_6)) M M₂ (AddCommGroup.toAddCommMonoid.{u2} M _inst_7) (AddCommGroup.toAddCommMonoid.{u3} M₂ _inst_8) _inst_9 _inst_10) (LinearMap.{u1, u1, u2, u3} R R (Ring.toSemiring.{u1} R _inst_6) (Ring.toSemiring.{u1} R _inst_6) (RingHom.id.{u1} R (Semiring.toNonAssocSemiring.{u1} R (Ring.toSemiring.{u1} R _inst_6))) M M₂ (AddCommGroup.toAddCommMonoid.{u2} M _inst_7) (AddCommGroup.toAddCommMonoid.{u3} M₂ _inst_8) _inst_9 _inst_10) (HasLiftT.mk.{max (succ u2) (succ u3), max (succ u2) (succ u3)} (LinearEquiv.{u1, u1, u2, u3} R R (Ring.toSemiring.{u1} R _inst_6) (Ring.toSemiring.{u1} R _inst_6) (RingHom.id.{u1} R (Semiring.toNonAssocSemiring.{u1} R (Ring.toSemiring.{u1} R _inst_6))) (RingHom.id.{u1} R (Semiring.toNonAssocSemiring.{u1} R (Ring.toSemiring.{u1} R _inst_6))) (RingHomInvPair.ids.{u1} R (Ring.toSemiring.{u1} R _inst_6)) (RingHomInvPair.ids.{u1} R (Ring.toSemiring.{u1} R _inst_6)) M M₂ (AddCommGroup.toAddCommMonoid.{u2} M _inst_7) (AddCommGroup.toAddCommMonoid.{u3} M₂ _inst_8) _inst_9 _inst_10) (LinearMap.{u1, u1, u2, u3} R R (Ring.toSemiring.{u1} R _inst_6) (Ring.toSemiring.{u1} R _inst_6) (RingHom.id.{u1} R (Semiring.toNonAssocSemiring.{u1} R (Ring.toSemiring.{u1} R _inst_6))) M M₂ (AddCommGroup.toAddCommMonoid.{u2} M _inst_7) (AddCommGroup.toAddCommMonoid.{u3} M₂ _inst_8) _inst_9 _inst_10) (CoeTCₓ.coe.{max (succ u2) (succ u3), max (succ u2) (succ u3)} (LinearEquiv.{u1, u1, u2, u3} R R (Ring.toSemiring.{u1} R _inst_6) (Ring.toSemiring.{u1} R _inst_6) (RingHom.id.{u1} R (Semiring.toNonAssocSemiring.{u1} R (Ring.toSemiring.{u1} R _inst_6))) (RingHom.id.{u1} R (Semiring.toNonAssocSemiring.{u1} R (Ring.toSemiring.{u1} R _inst_6))) (RingHomInvPair.ids.{u1} R (Ring.toSemiring.{u1} R _inst_6)) (RingHomInvPair.ids.{u1} R (Ring.toSemiring.{u1} R _inst_6)) M M₂ (AddCommGroup.toAddCommMonoid.{u2} M _inst_7) (AddCommGroup.toAddCommMonoid.{u3} M₂ _inst_8) _inst_9 _inst_10) (LinearMap.{u1, u1, u2, u3} R R (Ring.toSemiring.{u1} R _inst_6) (Ring.toSemiring.{u1} R _inst_6) (RingHom.id.{u1} R (Semiring.toNonAssocSemiring.{u1} R (Ring.toSemiring.{u1} R _inst_6))) M M₂ (AddCommGroup.toAddCommMonoid.{u2} M _inst_7) (AddCommGroup.toAddCommMonoid.{u3} M₂ _inst_8) _inst_9 _inst_10) (coeBase.{max (succ u2) (succ u3), max (succ u2) (succ u3)} (LinearEquiv.{u1, u1, u2, u3} R R (Ring.toSemiring.{u1} R _inst_6) (Ring.toSemiring.{u1} R _inst_6) (RingHom.id.{u1} R (Semiring.toNonAssocSemiring.{u1} R (Ring.toSemiring.{u1} R _inst_6))) (RingHom.id.{u1} R (Semiring.toNonAssocSemiring.{u1} R (Ring.toSemiring.{u1} R _inst_6))) (RingHomInvPair.ids.{u1} R (Ring.toSemiring.{u1} R _inst_6)) (RingHomInvPair.ids.{u1} R (Ring.toSemiring.{u1} R _inst_6)) M M₂ (AddCommGroup.toAddCommMonoid.{u2} M _inst_7) (AddCommGroup.toAddCommMonoid.{u3} M₂ _inst_8) _inst_9 _inst_10) (LinearMap.{u1, u1, u2, u3} R R (Ring.toSemiring.{u1} R _inst_6) (Ring.toSemiring.{u1} R _inst_6) (RingHom.id.{u1} R (Semiring.toNonAssocSemiring.{u1} R (Ring.toSemiring.{u1} R _inst_6))) M M₂ (AddCommGroup.toAddCommMonoid.{u2} M _inst_7) (AddCommGroup.toAddCommMonoid.{u3} M₂ _inst_8) _inst_9 _inst_10) (LinearEquiv.LinearMap.hasCoe.{u1, u1, u2, u3} R R M M₂ (Ring.toSemiring.{u1} R _inst_6) (Ring.toSemiring.{u1} R _inst_6) (AddCommGroup.toAddCommMonoid.{u2} M _inst_7) (AddCommGroup.toAddCommMonoid.{u3} M₂ _inst_8) _inst_9 _inst_10 (RingHom.id.{u1} R (Semiring.toNonAssocSemiring.{u1} R (Ring.toSemiring.{u1} R _inst_6))) (RingHom.id.{u1} R (Semiring.toNonAssocSemiring.{u1} R (Ring.toSemiring.{u1} R _inst_6))) (RingHomInvPair.ids.{u1} R (Ring.toSemiring.{u1} R _inst_6)) (RingHomInvPair.ids.{u1} R (Ring.toSemiring.{u1} R _inst_6)))))) f) p)) (Ring.toSemiring.{u1} R _inst_6) (Submodule.addCommGroup.{u1, u3} R M₂ _inst_6 _inst_8 _inst_10 (Submodule.map.{u1, u1, u2, u3, max u2 u3} R R M M₂ (Ring.toSemiring.{u1} R _inst_6) (Ring.toSemiring.{u1} R _inst_6) (AddCommGroup.toAddCommMonoid.{u2} M _inst_7) (AddCommGroup.toAddCommMonoid.{u3} M₂ _inst_8) _inst_9 _inst_10 (RingHom.id.{u1} R (Semiring.toNonAssocSemiring.{u1} R (Ring.toSemiring.{u1} R _inst_6))) (RingHomSurjective.ids.{u1} R (Ring.toSemiring.{u1} R _inst_6)) (LinearMap.{u1, u1, u2, u3} R R (Ring.toSemiring.{u1} R _inst_6) (Ring.toSemiring.{u1} R _inst_6) (RingHom.id.{u1} R (Semiring.toNonAssocSemiring.{u1} R (Ring.toSemiring.{u1} R _inst_6))) M M₂ (AddCommGroup.toAddCommMonoid.{u2} M _inst_7) (AddCommGroup.toAddCommMonoid.{u3} M₂ _inst_8) _inst_9 _inst_10) (LinearMap.semilinearMapClass.{u1, u1, u2, u3} R R M M₂ (Ring.toSemiring.{u1} R _inst_6) (Ring.toSemiring.{u1} R _inst_6) (AddCommGroup.toAddCommMonoid.{u2} M _inst_7) (AddCommGroup.toAddCommMonoid.{u3} M₂ _inst_8) _inst_9 _inst_10 (RingHom.id.{u1} R (Semiring.toNonAssocSemiring.{u1} R (Ring.toSemiring.{u1} R _inst_6)))) ((fun (a : Sort.{max (succ u2) (succ u3)}) (b : Sort.{max (succ u2) (succ u3)}) [self : HasLiftT.{max (succ u2) (succ u3), max (succ u2) (succ u3)} a b] => self.0) (LinearEquiv.{u1, u1, u2, u3} R R (Ring.toSemiring.{u1} R _inst_6) (Ring.toSemiring.{u1} R _inst_6) (RingHom.id.{u1} R (Semiring.toNonAssocSemiring.{u1} R (Ring.toSemiring.{u1} R _inst_6))) (RingHom.id.{u1} R (Semiring.toNonAssocSemiring.{u1} R (Ring.toSemiring.{u1} R _inst_6))) (RingHomInvPair.ids.{u1} R (Ring.toSemiring.{u1} R _inst_6)) (RingHomInvPair.ids.{u1} R (Ring.toSemiring.{u1} R _inst_6)) M M₂ (AddCommGroup.toAddCommMonoid.{u2} M _inst_7) (AddCommGroup.toAddCommMonoid.{u3} M₂ _inst_8) _inst_9 _inst_10) (LinearMap.{u1, u1, u2, u3} R R (Ring.toSemiring.{u1} R _inst_6) (Ring.toSemiring.{u1} R _inst_6) (RingHom.id.{u1} R (Semiring.toNonAssocSemiring.{u1} R (Ring.toSemiring.{u1} R _inst_6))) M M₂ (AddCommGroup.toAddCommMonoid.{u2} M _inst_7) (AddCommGroup.toAddCommMonoid.{u3} M₂ _inst_8) _inst_9 _inst_10) (HasLiftT.mk.{max (succ u2) (succ u3), max (succ u2) (succ u3)} (LinearEquiv.{u1, u1, u2, u3} R R (Ring.toSemiring.{u1} R _inst_6) (Ring.toSemiring.{u1} R _inst_6) (RingHom.id.{u1} R (Semiring.toNonAssocSemiring.{u1} R (Ring.toSemiring.{u1} R _inst_6))) (RingHom.id.{u1} R (Semiring.toNonAssocSemiring.{u1} R (Ring.toSemiring.{u1} R _inst_6))) (RingHomInvPair.ids.{u1} R (Ring.toSemiring.{u1} R _inst_6)) (RingHomInvPair.ids.{u1} R (Ring.toSemiring.{u1} R _inst_6)) M M₂ (AddCommGroup.toAddCommMonoid.{u2} M _inst_7) (AddCommGroup.toAddCommMonoid.{u3} M₂ _inst_8) _inst_9 _inst_10) (LinearMap.{u1, u1, u2, u3} R R (Ring.toSemiring.{u1} R _inst_6) (Ring.toSemiring.{u1} R _inst_6) (RingHom.id.{u1} R (Semiring.toNonAssocSemiring.{u1} R (Ring.toSemiring.{u1} R _inst_6))) M M₂ (AddCommGroup.toAddCommMonoid.{u2} M _inst_7) (AddCommGroup.toAddCommMonoid.{u3} M₂ _inst_8) _inst_9 _inst_10) (CoeTCₓ.coe.{max (succ u2) (succ u3), max (succ u2) (succ u3)} (LinearEquiv.{u1, u1, u2, u3} R R (Ring.toSemiring.{u1} R _inst_6) (Ring.toSemiring.{u1} R _inst_6) (RingHom.id.{u1} R (Semiring.toNonAssocSemiring.{u1} R (Ring.toSemiring.{u1} R _inst_6))) (RingHom.id.{u1} R (Semiring.toNonAssocSemiring.{u1} R (Ring.toSemiring.{u1} R _inst_6))) (RingHomInvPair.ids.{u1} R (Ring.toSemiring.{u1} R _inst_6)) (RingHomInvPair.ids.{u1} R (Ring.toSemiring.{u1} R _inst_6)) M M₂ (AddCommGroup.toAddCommMonoid.{u2} M _inst_7) (AddCommGroup.toAddCommMonoid.{u3} M₂ _inst_8) _inst_9 _inst_10) (LinearMap.{u1, u1, u2, u3} R R (Ring.toSemiring.{u1} R _inst_6) (Ring.toSemiring.{u1} R _inst_6) (RingHom.id.{u1} R (Semiring.toNonAssocSemiring.{u1} R (Ring.toSemiring.{u1} R _inst_6))) M M₂ (AddCommGroup.toAddCommMonoid.{u2} M _inst_7) (AddCommGroup.toAddCommMonoid.{u3} M₂ _inst_8) _inst_9 _inst_10) (coeBase.{max (succ u2) (succ u3), max (succ u2) (succ u3)} (LinearEquiv.{u1, u1, u2, u3} R R (Ring.toSemiring.{u1} R _inst_6) (Ring.toSemiring.{u1} R _inst_6) (RingHom.id.{u1} R (Semiring.toNonAssocSemiring.{u1} R (Ring.toSemiring.{u1} R _inst_6))) (RingHom.id.{u1} R (Semiring.toNonAssocSemiring.{u1} R (Ring.toSemiring.{u1} R _inst_6))) (RingHomInvPair.ids.{u1} R (Ring.toSemiring.{u1} R _inst_6)) (RingHomInvPair.ids.{u1} R (Ring.toSemiring.{u1} R _inst_6)) M M₂ (AddCommGroup.toAddCommMonoid.{u2} M _inst_7) (AddCommGroup.toAddCommMonoid.{u3} M₂ _inst_8) _inst_9 _inst_10) (LinearMap.{u1, u1, u2, u3} R R (Ring.toSemiring.{u1} R _inst_6) (Ring.toSemiring.{u1} R _inst_6) (RingHom.id.{u1} R (Semiring.toNonAssocSemiring.{u1} R (Ring.toSemiring.{u1} R _inst_6))) M M₂ (AddCommGroup.toAddCommMonoid.{u2} M _inst_7) (AddCommGroup.toAddCommMonoid.{u3} M₂ _inst_8) _inst_9 _inst_10) (LinearEquiv.LinearMap.hasCoe.{u1, u1, u2, u3} R R M M₂ (Ring.toSemiring.{u1} R _inst_6) (Ring.toSemiring.{u1} R _inst_6) (AddCommGroup.toAddCommMonoid.{u2} M _inst_7) (AddCommGroup.toAddCommMonoid.{u3} M₂ _inst_8) _inst_9 _inst_10 (RingHom.id.{u1} R (Semiring.toNonAssocSemiring.{u1} R (Ring.toSemiring.{u1} R _inst_6))) (RingHom.id.{u1} R (Semiring.toNonAssocSemiring.{u1} R (Ring.toSemiring.{u1} R _inst_6))) (RingHomInvPair.ids.{u1} R (Ring.toSemiring.{u1} R _inst_6)) (RingHomInvPair.ids.{u1} R (Ring.toSemiring.{u1} R _inst_6)))))) f) p)) (Submodule.module.{u1, u3} R M₂ (Ring.toSemiring.{u1} R _inst_6) (AddCommGroup.toAddCommMonoid.{u3} M₂ _inst_8) _inst_10 (Submodule.map.{u1, u1, u2, u3, max u2 u3} R R M M₂ (Ring.toSemiring.{u1} R _inst_6) (Ring.toSemiring.{u1} R _inst_6) (AddCommGroup.toAddCommMonoid.{u2} M _inst_7) (AddCommGroup.toAddCommMonoid.{u3} M₂ _inst_8) _inst_9 _inst_10 (RingHom.id.{u1} R (Semiring.toNonAssocSemiring.{u1} R (Ring.toSemiring.{u1} R _inst_6))) (RingHomSurjective.ids.{u1} R (Ring.toSemiring.{u1} R _inst_6)) (LinearMap.{u1, u1, u2, u3} R R (Ring.toSemiring.{u1} R _inst_6) (Ring.toSemiring.{u1} R _inst_6) (RingHom.id.{u1} R (Semiring.toNonAssocSemiring.{u1} R (Ring.toSemiring.{u1} R _inst_6))) M M₂ (AddCommGroup.toAddCommMonoid.{u2} M _inst_7) (AddCommGroup.toAddCommMonoid.{u3} M₂ _inst_8) _inst_9 _inst_10) (LinearMap.semilinearMapClass.{u1, u1, u2, u3} R R M M₂ (Ring.toSemiring.{u1} R _inst_6) (Ring.toSemiring.{u1} R _inst_6) (AddCommGroup.toAddCommMonoid.{u2} M _inst_7) (AddCommGroup.toAddCommMonoid.{u3} M₂ _inst_8) _inst_9 _inst_10 (RingHom.id.{u1} R (Semiring.toNonAssocSemiring.{u1} R (Ring.toSemiring.{u1} R _inst_6)))) ((fun (a : Sort.{max (succ u2) (succ u3)}) (b : Sort.{max (succ u2) (succ u3)}) [self : HasLiftT.{max (succ u2) (succ u3), max (succ u2) (succ u3)} a b] => self.0) (LinearEquiv.{u1, u1, u2, u3} R R (Ring.toSemiring.{u1} R _inst_6) (Ring.toSemiring.{u1} R _inst_6) (RingHom.id.{u1} R (Semiring.toNonAssocSemiring.{u1} R (Ring.toSemiring.{u1} R _inst_6))) (RingHom.id.{u1} R (Semiring.toNonAssocSemiring.{u1} R (Ring.toSemiring.{u1} R _inst_6))) (RingHomInvPair.ids.{u1} R (Ring.toSemiring.{u1} R _inst_6)) (RingHomInvPair.ids.{u1} R (Ring.toSemiring.{u1} R _inst_6)) M M₂ (AddCommGroup.toAddCommMonoid.{u2} M _inst_7) (AddCommGroup.toAddCommMonoid.{u3} M₂ _inst_8) _inst_9 _inst_10) (LinearMap.{u1, u1, u2, u3} R R (Ring.toSemiring.{u1} R _inst_6) (Ring.toSemiring.{u1} R _inst_6) (RingHom.id.{u1} R (Semiring.toNonAssocSemiring.{u1} R (Ring.toSemiring.{u1} R _inst_6))) M M₂ (AddCommGroup.toAddCommMonoid.{u2} M _inst_7) (AddCommGroup.toAddCommMonoid.{u3} M₂ _inst_8) _inst_9 _inst_10) (HasLiftT.mk.{max (succ u2) (succ u3), max (succ u2) (succ u3)} (LinearEquiv.{u1, u1, u2, u3} R R (Ring.toSemiring.{u1} R _inst_6) (Ring.toSemiring.{u1} R _inst_6) (RingHom.id.{u1} R (Semiring.toNonAssocSemiring.{u1} R (Ring.toSemiring.{u1} R _inst_6))) (RingHom.id.{u1} R (Semiring.toNonAssocSemiring.{u1} R (Ring.toSemiring.{u1} R _inst_6))) (RingHomInvPair.ids.{u1} R (Ring.toSemiring.{u1} R _inst_6)) (RingHomInvPair.ids.{u1} R (Ring.toSemiring.{u1} R _inst_6)) M M₂ (AddCommGroup.toAddCommMonoid.{u2} M _inst_7) (AddCommGroup.toAddCommMonoid.{u3} M₂ _inst_8) _inst_9 _inst_10) (LinearMap.{u1, u1, u2, u3} R R (Ring.toSemiring.{u1} R _inst_6) (Ring.toSemiring.{u1} R _inst_6) (RingHom.id.{u1} R (Semiring.toNonAssocSemiring.{u1} R (Ring.toSemiring.{u1} R _inst_6))) M M₂ (AddCommGroup.toAddCommMonoid.{u2} M _inst_7) (AddCommGroup.toAddCommMonoid.{u3} M₂ _inst_8) _inst_9 _inst_10) (CoeTCₓ.coe.{max (succ u2) (succ u3), max (succ u2) (succ u3)} (LinearEquiv.{u1, u1, u2, u3} R R (Ring.toSemiring.{u1} R _inst_6) (Ring.toSemiring.{u1} R _inst_6) (RingHom.id.{u1} R (Semiring.toNonAssocSemiring.{u1} R (Ring.toSemiring.{u1} R _inst_6))) (RingHom.id.{u1} R (Semiring.toNonAssocSemiring.{u1} R (Ring.toSemiring.{u1} R _inst_6))) (RingHomInvPair.ids.{u1} R (Ring.toSemiring.{u1} R _inst_6)) (RingHomInvPair.ids.{u1} R (Ring.toSemiring.{u1} R _inst_6)) M M₂ (AddCommGroup.toAddCommMonoid.{u2} M _inst_7) (AddCommGroup.toAddCommMonoid.{u3} M₂ _inst_8) _inst_9 _inst_10) (LinearMap.{u1, u1, u2, u3} R R (Ring.toSemiring.{u1} R _inst_6) (Ring.toSemiring.{u1} R _inst_6) (RingHom.id.{u1} R (Semiring.toNonAssocSemiring.{u1} R (Ring.toSemiring.{u1} R _inst_6))) M M₂ (AddCommGroup.toAddCommMonoid.{u2} M _inst_7) (AddCommGroup.toAddCommMonoid.{u3} M₂ _inst_8) _inst_9 _inst_10) (coeBase.{max (succ u2) (succ u3), max (succ u2) (succ u3)} (LinearEquiv.{u1, u1, u2, u3} R R (Ring.toSemiring.{u1} R _inst_6) (Ring.toSemiring.{u1} R _inst_6) (RingHom.id.{u1} R (Semiring.toNonAssocSemiring.{u1} R (Ring.toSemiring.{u1} R _inst_6))) (RingHom.id.{u1} R (Semiring.toNonAssocSemiring.{u1} R (Ring.toSemiring.{u1} R _inst_6))) (RingHomInvPair.ids.{u1} R (Ring.toSemiring.{u1} R _inst_6)) (RingHomInvPair.ids.{u1} R (Ring.toSemiring.{u1} R _inst_6)) M M₂ (AddCommGroup.toAddCommMonoid.{u2} M _inst_7) (AddCommGroup.toAddCommMonoid.{u3} M₂ _inst_8) _inst_9 _inst_10) (LinearMap.{u1, u1, u2, u3} R R (Ring.toSemiring.{u1} R _inst_6) (Ring.toSemiring.{u1} R _inst_6) (RingHom.id.{u1} R (Semiring.toNonAssocSemiring.{u1} R (Ring.toSemiring.{u1} R _inst_6))) M M₂ (AddCommGroup.toAddCommMonoid.{u2} M _inst_7) (AddCommGroup.toAddCommMonoid.{u3} M₂ _inst_8) _inst_9 _inst_10) (LinearEquiv.LinearMap.hasCoe.{u1, u1, u2, u3} R R M M₂ (Ring.toSemiring.{u1} R _inst_6) (Ring.toSemiring.{u1} R _inst_6) (AddCommGroup.toAddCommMonoid.{u2} M _inst_7) (AddCommGroup.toAddCommMonoid.{u3} M₂ _inst_8) _inst_9 _inst_10 (RingHom.id.{u1} R (Semiring.toNonAssocSemiring.{u1} R (Ring.toSemiring.{u1} R _inst_6))) (RingHom.id.{u1} R (Semiring.toNonAssocSemiring.{u1} R (Ring.toSemiring.{u1} R _inst_6))) (RingHomInvPair.ids.{u1} R (Ring.toSemiring.{u1} R _inst_6)) (RingHomInvPair.ids.{u1} R (Ring.toSemiring.{u1} R _inst_6)))))) f) p))) (FiniteDimensional.finrank.{u1, u2} R (coeSort.{succ u2, succ (succ u2)} (Submodule.{u1, u2} R M (Ring.toSemiring.{u1} R _inst_6) (AddCommGroup.toAddCommMonoid.{u2} M _inst_7) _inst_9) Type.{u2} (SetLike.hasCoeToSort.{u2, u2} (Submodule.{u1, u2} R M (Ring.toSemiring.{u1} R _inst_6) (AddCommGroup.toAddCommMonoid.{u2} M _inst_7) _inst_9) M (Submodule.setLike.{u1, u2} R M (Ring.toSemiring.{u1} R _inst_6) (AddCommGroup.toAddCommMonoid.{u2} M _inst_7) _inst_9)) p) (Ring.toSemiring.{u1} R _inst_6) (Submodule.addCommGroup.{u1, u2} R M _inst_6 _inst_7 _inst_9 p) (Submodule.module.{u1, u2} R M (Ring.toSemiring.{u1} R _inst_6) (AddCommGroup.toAddCommMonoid.{u2} M _inst_7) _inst_9 p))
-but is expected to have type
-  forall {R : Type.{u3}} {M : Type.{u2}} {M₂ : Type.{u1}} [_inst_6 : Ring.{u3} R] [_inst_7 : AddCommGroup.{u2} M] [_inst_8 : AddCommGroup.{u1} M₂] [_inst_9 : Module.{u3, u2} R M (Ring.toSemiring.{u3} R _inst_6) (AddCommGroup.toAddCommMonoid.{u2} M _inst_7)] [_inst_10 : Module.{u3, u1} R M₂ (Ring.toSemiring.{u3} R _inst_6) (AddCommGroup.toAddCommMonoid.{u1} M₂ _inst_8)] (f : LinearEquiv.{u3, u3, u2, u1} R R (Ring.toSemiring.{u3} R _inst_6) (Ring.toSemiring.{u3} R _inst_6) (RingHom.id.{u3} R (Semiring.toNonAssocSemiring.{u3} R (Ring.toSemiring.{u3} R _inst_6))) (RingHom.id.{u3} R (Semiring.toNonAssocSemiring.{u3} R (Ring.toSemiring.{u3} R _inst_6))) (RingHomInvPair.ids.{u3} R (Ring.toSemiring.{u3} R _inst_6)) (RingHomInvPair.ids.{u3} R (Ring.toSemiring.{u3} R _inst_6)) M M₂ (AddCommGroup.toAddCommMonoid.{u2} M _inst_7) (AddCommGroup.toAddCommMonoid.{u1} M₂ _inst_8) _inst_9 _inst_10) (p : Submodule.{u3, u2} R M (Ring.toSemiring.{u3} R _inst_6) (AddCommGroup.toAddCommMonoid.{u2} M _inst_7) _inst_9), Eq.{1} Nat (FiniteDimensional.finrank.{u3, u1} R (Subtype.{succ u1} M₂ (fun (x : M₂) => Membership.mem.{u1, u1} M₂ (Submodule.{u3, u1} R M₂ (Ring.toSemiring.{u3} R _inst_6) (AddCommGroup.toAddCommMonoid.{u1} M₂ _inst_8) _inst_10) (SetLike.instMembership.{u1, u1} (Submodule.{u3, u1} R M₂ (Ring.toSemiring.{u3} R _inst_6) (AddCommGroup.toAddCommMonoid.{u1} M₂ _inst_8) _inst_10) M₂ (Submodule.setLike.{u3, u1} R M₂ (Ring.toSemiring.{u3} R _inst_6) (AddCommGroup.toAddCommMonoid.{u1} M₂ _inst_8) _inst_10)) x (Submodule.map.{u3, u3, u2, u1, max u2 u1} R R M M₂ (Ring.toSemiring.{u3} R _inst_6) (Ring.toSemiring.{u3} R _inst_6) (AddCommGroup.toAddCommMonoid.{u2} M _inst_7) (AddCommGroup.toAddCommMonoid.{u1} M₂ _inst_8) _inst_9 _inst_10 (RingHom.id.{u3} R (Semiring.toNonAssocSemiring.{u3} R (Ring.toSemiring.{u3} R _inst_6))) (RingHomSurjective.ids.{u3} R (Ring.toSemiring.{u3} R _inst_6)) (LinearMap.{u3, u3, u2, u1} R R (Ring.toSemiring.{u3} R _inst_6) (Ring.toSemiring.{u3} R _inst_6) (RingHom.id.{u3} R (Semiring.toNonAssocSemiring.{u3} R (Ring.toSemiring.{u3} R _inst_6))) M M₂ (AddCommGroup.toAddCommMonoid.{u2} M _inst_7) (AddCommGroup.toAddCommMonoid.{u1} M₂ _inst_8) _inst_9 _inst_10) (LinearMap.semilinearMapClass.{u3, u3, u2, u1} R R M M₂ (Ring.toSemiring.{u3} R _inst_6) (Ring.toSemiring.{u3} R _inst_6) (AddCommGroup.toAddCommMonoid.{u2} M _inst_7) (AddCommGroup.toAddCommMonoid.{u1} M₂ _inst_8) _inst_9 _inst_10 (RingHom.id.{u3} R (Semiring.toNonAssocSemiring.{u3} R (Ring.toSemiring.{u3} R _inst_6)))) (LinearEquiv.toLinearMap.{u3, u3, u2, u1} R R (Ring.toSemiring.{u3} R _inst_6) (Ring.toSemiring.{u3} R _inst_6) (RingHom.id.{u3} R (Semiring.toNonAssocSemiring.{u3} R (Ring.toSemiring.{u3} R _inst_6))) (RingHom.id.{u3} R (Semiring.toNonAssocSemiring.{u3} R (Ring.toSemiring.{u3} R _inst_6))) (RingHomInvPair.ids.{u3} R (Ring.toSemiring.{u3} R _inst_6)) (RingHomInvPair.ids.{u3} R (Ring.toSemiring.{u3} R _inst_6)) M M₂ (AddCommGroup.toAddCommMonoid.{u2} M _inst_7) (AddCommGroup.toAddCommMonoid.{u1} M₂ _inst_8) _inst_9 _inst_10 f) p))) (Ring.toSemiring.{u3} R _inst_6) (Submodule.addCommGroup.{u3, u1} R M₂ _inst_6 _inst_8 _inst_10 (Submodule.map.{u3, u3, u2, u1, max u2 u1} R R M M₂ (Ring.toSemiring.{u3} R _inst_6) (Ring.toSemiring.{u3} R _inst_6) (AddCommGroup.toAddCommMonoid.{u2} M _inst_7) (AddCommGroup.toAddCommMonoid.{u1} M₂ _inst_8) _inst_9 _inst_10 (RingHom.id.{u3} R (Semiring.toNonAssocSemiring.{u3} R (Ring.toSemiring.{u3} R _inst_6))) (RingHomSurjective.ids.{u3} R (Ring.toSemiring.{u3} R _inst_6)) (LinearMap.{u3, u3, u2, u1} R R (Ring.toSemiring.{u3} R _inst_6) (Ring.toSemiring.{u3} R _inst_6) (RingHom.id.{u3} R (Semiring.toNonAssocSemiring.{u3} R (Ring.toSemiring.{u3} R _inst_6))) M M₂ (AddCommGroup.toAddCommMonoid.{u2} M _inst_7) (AddCommGroup.toAddCommMonoid.{u1} M₂ _inst_8) _inst_9 _inst_10) (LinearMap.semilinearMapClass.{u3, u3, u2, u1} R R M M₂ (Ring.toSemiring.{u3} R _inst_6) (Ring.toSemiring.{u3} R _inst_6) (AddCommGroup.toAddCommMonoid.{u2} M _inst_7) (AddCommGroup.toAddCommMonoid.{u1} M₂ _inst_8) _inst_9 _inst_10 (RingHom.id.{u3} R (Semiring.toNonAssocSemiring.{u3} R (Ring.toSemiring.{u3} R _inst_6)))) (LinearEquiv.toLinearMap.{u3, u3, u2, u1} R R (Ring.toSemiring.{u3} R _inst_6) (Ring.toSemiring.{u3} R _inst_6) (RingHom.id.{u3} R (Semiring.toNonAssocSemiring.{u3} R (Ring.toSemiring.{u3} R _inst_6))) (RingHom.id.{u3} R (Semiring.toNonAssocSemiring.{u3} R (Ring.toSemiring.{u3} R _inst_6))) (RingHomInvPair.ids.{u3} R (Ring.toSemiring.{u3} R _inst_6)) (RingHomInvPair.ids.{u3} R (Ring.toSemiring.{u3} R _inst_6)) M M₂ (AddCommGroup.toAddCommMonoid.{u2} M _inst_7) (AddCommGroup.toAddCommMonoid.{u1} M₂ _inst_8) _inst_9 _inst_10 f) p)) (Submodule.module.{u3, u1} R M₂ (Ring.toSemiring.{u3} R _inst_6) (AddCommGroup.toAddCommMonoid.{u1} M₂ _inst_8) _inst_10 (Submodule.map.{u3, u3, u2, u1, max u2 u1} R R M M₂ (Ring.toSemiring.{u3} R _inst_6) (Ring.toSemiring.{u3} R _inst_6) (AddCommGroup.toAddCommMonoid.{u2} M _inst_7) (AddCommGroup.toAddCommMonoid.{u1} M₂ _inst_8) _inst_9 _inst_10 (RingHom.id.{u3} R (Semiring.toNonAssocSemiring.{u3} R (Ring.toSemiring.{u3} R _inst_6))) (RingHomSurjective.ids.{u3} R (Ring.toSemiring.{u3} R _inst_6)) (LinearMap.{u3, u3, u2, u1} R R (Ring.toSemiring.{u3} R _inst_6) (Ring.toSemiring.{u3} R _inst_6) (RingHom.id.{u3} R (Semiring.toNonAssocSemiring.{u3} R (Ring.toSemiring.{u3} R _inst_6))) M M₂ (AddCommGroup.toAddCommMonoid.{u2} M _inst_7) (AddCommGroup.toAddCommMonoid.{u1} M₂ _inst_8) _inst_9 _inst_10) (LinearMap.semilinearMapClass.{u3, u3, u2, u1} R R M M₂ (Ring.toSemiring.{u3} R _inst_6) (Ring.toSemiring.{u3} R _inst_6) (AddCommGroup.toAddCommMonoid.{u2} M _inst_7) (AddCommGroup.toAddCommMonoid.{u1} M₂ _inst_8) _inst_9 _inst_10 (RingHom.id.{u3} R (Semiring.toNonAssocSemiring.{u3} R (Ring.toSemiring.{u3} R _inst_6)))) (LinearEquiv.toLinearMap.{u3, u3, u2, u1} R R (Ring.toSemiring.{u3} R _inst_6) (Ring.toSemiring.{u3} R _inst_6) (RingHom.id.{u3} R (Semiring.toNonAssocSemiring.{u3} R (Ring.toSemiring.{u3} R _inst_6))) (RingHom.id.{u3} R (Semiring.toNonAssocSemiring.{u3} R (Ring.toSemiring.{u3} R _inst_6))) (RingHomInvPair.ids.{u3} R (Ring.toSemiring.{u3} R _inst_6)) (RingHomInvPair.ids.{u3} R (Ring.toSemiring.{u3} R _inst_6)) M M₂ (AddCommGroup.toAddCommMonoid.{u2} M _inst_7) (AddCommGroup.toAddCommMonoid.{u1} M₂ _inst_8) _inst_9 _inst_10 f) p))) (FiniteDimensional.finrank.{u3, u2} R (Subtype.{succ u2} M (fun (x : M) => Membership.mem.{u2, u2} M (Submodule.{u3, u2} R M (Ring.toSemiring.{u3} R _inst_6) (AddCommGroup.toAddCommMonoid.{u2} M _inst_7) _inst_9) (SetLike.instMembership.{u2, u2} (Submodule.{u3, u2} R M (Ring.toSemiring.{u3} R _inst_6) (AddCommGroup.toAddCommMonoid.{u2} M _inst_7) _inst_9) M (Submodule.setLike.{u3, u2} R M (Ring.toSemiring.{u3} R _inst_6) (AddCommGroup.toAddCommMonoid.{u2} M _inst_7) _inst_9)) x p)) (Ring.toSemiring.{u3} R _inst_6) (Submodule.addCommGroup.{u3, u2} R M _inst_6 _inst_7 _inst_9 p) (Submodule.module.{u3, u2} R M (Ring.toSemiring.{u3} R _inst_6) (AddCommGroup.toAddCommMonoid.{u2} M _inst_7) _inst_9 p))
+<too large>
 Case conversion may be inaccurate. Consider using '#align linear_equiv.finrank_map_eq LinearEquiv.finrank_map_eqₓ'. -/
 /-- Pushforwards of finite-dimensional submodules along a `linear_equiv` have the same finrank. -/
 theorem finrank_map_eq (f : M ≃ₗ[R] M₂) (p : Submodule R M) :
@@ -340,10 +337,7 @@ section Ring
 variable [Ring K] [AddCommGroup V] [Module K V] {V₂ : Type v'} [AddCommGroup V₂] [Module K V₂]
 
 /- warning: linear_map.finrank_range_of_inj -> LinearMap.finrank_range_of_inj is a dubious translation:
-lean 3 declaration is
-  forall {K : Type.{u1}} {V : Type.{u2}} [_inst_1 : Ring.{u1} K] [_inst_2 : AddCommGroup.{u2} V] [_inst_3 : Module.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2)] {V₂ : Type.{u3}} [_inst_4 : AddCommGroup.{u3} V₂] [_inst_5 : Module.{u1, u3} K V₂ (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u3} V₂ _inst_4)] {f : LinearMap.{u1, u1, u2, u3} K K (Ring.toSemiring.{u1} K _inst_1) (Ring.toSemiring.{u1} K _inst_1) (RingHom.id.{u1} K (Semiring.toNonAssocSemiring.{u1} K (Ring.toSemiring.{u1} K _inst_1))) V V₂ (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) (AddCommGroup.toAddCommMonoid.{u3} V₂ _inst_4) _inst_3 _inst_5}, (Function.Injective.{succ u2, succ u3} V V₂ (coeFn.{max (succ u2) (succ u3), max (succ u2) (succ u3)} (LinearMap.{u1, u1, u2, u3} K K (Ring.toSemiring.{u1} K _inst_1) (Ring.toSemiring.{u1} K _inst_1) (RingHom.id.{u1} K (Semiring.toNonAssocSemiring.{u1} K (Ring.toSemiring.{u1} K _inst_1))) V V₂ (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) (AddCommGroup.toAddCommMonoid.{u3} V₂ _inst_4) _inst_3 _inst_5) (fun (_x : LinearMap.{u1, u1, u2, u3} K K (Ring.toSemiring.{u1} K _inst_1) (Ring.toSemiring.{u1} K _inst_1) (RingHom.id.{u1} K (Semiring.toNonAssocSemiring.{u1} K (Ring.toSemiring.{u1} K _inst_1))) V V₂ (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) (AddCommGroup.toAddCommMonoid.{u3} V₂ _inst_4) _inst_3 _inst_5) => V -> V₂) (LinearMap.hasCoeToFun.{u1, u1, u2, u3} K K V V₂ (Ring.toSemiring.{u1} K _inst_1) (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) (AddCommGroup.toAddCommMonoid.{u3} V₂ _inst_4) _inst_3 _inst_5 (RingHom.id.{u1} K (Semiring.toNonAssocSemiring.{u1} K (Ring.toSemiring.{u1} K _inst_1)))) f)) -> (Eq.{1} Nat (FiniteDimensional.finrank.{u1, u3} K (coeSort.{succ u3, succ (succ u3)} (Submodule.{u1, u3} K V₂ (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u3} V₂ _inst_4) _inst_5) Type.{u3} (SetLike.hasCoeToSort.{u3, u3} (Submodule.{u1, u3} K V₂ (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u3} V₂ _inst_4) _inst_5) V₂ (Submodule.setLike.{u1, u3} K V₂ (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u3} V₂ _inst_4) _inst_5)) (LinearMap.range.{u1, u1, u2, u3, max u2 u3} K K V V₂ (Ring.toSemiring.{u1} K _inst_1) (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) (AddCommGroup.toAddCommMonoid.{u3} V₂ _inst_4) _inst_3 _inst_5 (RingHom.id.{u1} K (Semiring.toNonAssocSemiring.{u1} K (Ring.toSemiring.{u1} K _inst_1))) (LinearMap.{u1, u1, u2, u3} K K (Ring.toSemiring.{u1} K _inst_1) (Ring.toSemiring.{u1} K _inst_1) (RingHom.id.{u1} K (Semiring.toNonAssocSemiring.{u1} K (Ring.toSemiring.{u1} K _inst_1))) V V₂ (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) (AddCommGroup.toAddCommMonoid.{u3} V₂ _inst_4) _inst_3 _inst_5) (LinearMap.semilinearMapClass.{u1, u1, u2, u3} K K V V₂ (Ring.toSemiring.{u1} K _inst_1) (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) (AddCommGroup.toAddCommMonoid.{u3} V₂ _inst_4) _inst_3 _inst_5 (RingHom.id.{u1} K (Semiring.toNonAssocSemiring.{u1} K (Ring.toSemiring.{u1} K _inst_1)))) (RingHomSurjective.ids.{u1} K (Ring.toSemiring.{u1} K _inst_1)) f)) (Ring.toSemiring.{u1} K _inst_1) (Submodule.addCommGroup.{u1, u3} K V₂ _inst_1 _inst_4 _inst_5 (LinearMap.range.{u1, u1, u2, u3, max u2 u3} K K V V₂ (Ring.toSemiring.{u1} K _inst_1) (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) (AddCommGroup.toAddCommMonoid.{u3} V₂ _inst_4) _inst_3 _inst_5 (RingHom.id.{u1} K (Semiring.toNonAssocSemiring.{u1} K (Ring.toSemiring.{u1} K _inst_1))) (LinearMap.{u1, u1, u2, u3} K K (Ring.toSemiring.{u1} K _inst_1) (Ring.toSemiring.{u1} K _inst_1) (RingHom.id.{u1} K (Semiring.toNonAssocSemiring.{u1} K (Ring.toSemiring.{u1} K _inst_1))) V V₂ (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) (AddCommGroup.toAddCommMonoid.{u3} V₂ _inst_4) _inst_3 _inst_5) (LinearMap.semilinearMapClass.{u1, u1, u2, u3} K K V V₂ (Ring.toSemiring.{u1} K _inst_1) (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) (AddCommGroup.toAddCommMonoid.{u3} V₂ _inst_4) _inst_3 _inst_5 (RingHom.id.{u1} K (Semiring.toNonAssocSemiring.{u1} K (Ring.toSemiring.{u1} K _inst_1)))) (RingHomSurjective.ids.{u1} K (Ring.toSemiring.{u1} K _inst_1)) f)) (Submodule.module.{u1, u3} K V₂ (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u3} V₂ _inst_4) _inst_5 (LinearMap.range.{u1, u1, u2, u3, max u2 u3} K K V V₂ (Ring.toSemiring.{u1} K _inst_1) (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) (AddCommGroup.toAddCommMonoid.{u3} V₂ _inst_4) _inst_3 _inst_5 (RingHom.id.{u1} K (Semiring.toNonAssocSemiring.{u1} K (Ring.toSemiring.{u1} K _inst_1))) (LinearMap.{u1, u1, u2, u3} K K (Ring.toSemiring.{u1} K _inst_1) (Ring.toSemiring.{u1} K _inst_1) (RingHom.id.{u1} K (Semiring.toNonAssocSemiring.{u1} K (Ring.toSemiring.{u1} K _inst_1))) V V₂ (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) (AddCommGroup.toAddCommMonoid.{u3} V₂ _inst_4) _inst_3 _inst_5) (LinearMap.semilinearMapClass.{u1, u1, u2, u3} K K V V₂ (Ring.toSemiring.{u1} K _inst_1) (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) (AddCommGroup.toAddCommMonoid.{u3} V₂ _inst_4) _inst_3 _inst_5 (RingHom.id.{u1} K (Semiring.toNonAssocSemiring.{u1} K (Ring.toSemiring.{u1} K _inst_1)))) (RingHomSurjective.ids.{u1} K (Ring.toSemiring.{u1} K _inst_1)) f))) (FiniteDimensional.finrank.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) _inst_2 _inst_3))
-but is expected to have type
-  forall {K : Type.{u1}} {V : Type.{u2}} [_inst_1 : Ring.{u1} K] [_inst_2 : AddCommGroup.{u2} V] [_inst_3 : Module.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2)] {V₂ : Type.{u3}} [_inst_4 : AddCommGroup.{u3} V₂] [_inst_5 : Module.{u1, u3} K V₂ (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u3} V₂ _inst_4)] {f : LinearMap.{u1, u1, u2, u3} K K (Ring.toSemiring.{u1} K _inst_1) (Ring.toSemiring.{u1} K _inst_1) (RingHom.id.{u1} K (Semiring.toNonAssocSemiring.{u1} K (Ring.toSemiring.{u1} K _inst_1))) V V₂ (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) (AddCommGroup.toAddCommMonoid.{u3} V₂ _inst_4) _inst_3 _inst_5}, (Function.Injective.{succ u2, succ u3} V V₂ (FunLike.coe.{max (succ u2) (succ u3), succ u2, succ u3} (LinearMap.{u1, u1, u2, u3} K K (Ring.toSemiring.{u1} K _inst_1) (Ring.toSemiring.{u1} K _inst_1) (RingHom.id.{u1} K (Semiring.toNonAssocSemiring.{u1} K (Ring.toSemiring.{u1} K _inst_1))) V V₂ (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) (AddCommGroup.toAddCommMonoid.{u3} V₂ _inst_4) _inst_3 _inst_5) V (fun (_x : V) => (fun (x._@.Mathlib.Algebra.Module.LinearMap._hyg.6193 : V) => V₂) _x) (LinearMap.instFunLikeLinearMap.{u1, u1, u2, u3} K K V V₂ (Ring.toSemiring.{u1} K _inst_1) (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) (AddCommGroup.toAddCommMonoid.{u3} V₂ _inst_4) _inst_3 _inst_5 (RingHom.id.{u1} K (Semiring.toNonAssocSemiring.{u1} K (Ring.toSemiring.{u1} K _inst_1)))) f)) -> (Eq.{1} Nat (FiniteDimensional.finrank.{u1, u3} K (Subtype.{succ u3} V₂ (fun (x : V₂) => Membership.mem.{u3, u3} V₂ (Submodule.{u1, u3} K V₂ (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u3} V₂ _inst_4) _inst_5) (SetLike.instMembership.{u3, u3} (Submodule.{u1, u3} K V₂ (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u3} V₂ _inst_4) _inst_5) V₂ (Submodule.setLike.{u1, u3} K V₂ (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u3} V₂ _inst_4) _inst_5)) x (LinearMap.range.{u1, u1, u2, u3, max u2 u3} K K V V₂ (Ring.toSemiring.{u1} K _inst_1) (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) (AddCommGroup.toAddCommMonoid.{u3} V₂ _inst_4) _inst_3 _inst_5 (RingHom.id.{u1} K (Semiring.toNonAssocSemiring.{u1} K (Ring.toSemiring.{u1} K _inst_1))) (LinearMap.{u1, u1, u2, u3} K K (Ring.toSemiring.{u1} K _inst_1) (Ring.toSemiring.{u1} K _inst_1) (RingHom.id.{u1} K (Semiring.toNonAssocSemiring.{u1} K (Ring.toSemiring.{u1} K _inst_1))) V V₂ (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) (AddCommGroup.toAddCommMonoid.{u3} V₂ _inst_4) _inst_3 _inst_5) (LinearMap.semilinearMapClass.{u1, u1, u2, u3} K K V V₂ (Ring.toSemiring.{u1} K _inst_1) (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) (AddCommGroup.toAddCommMonoid.{u3} V₂ _inst_4) _inst_3 _inst_5 (RingHom.id.{u1} K (Semiring.toNonAssocSemiring.{u1} K (Ring.toSemiring.{u1} K _inst_1)))) (RingHomSurjective.ids.{u1} K (Ring.toSemiring.{u1} K _inst_1)) f))) (Ring.toSemiring.{u1} K _inst_1) (Submodule.addCommGroup.{u1, u3} K V₂ _inst_1 _inst_4 _inst_5 (LinearMap.range.{u1, u1, u2, u3, max u2 u3} K K V V₂ (Ring.toSemiring.{u1} K _inst_1) (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) (AddCommGroup.toAddCommMonoid.{u3} V₂ _inst_4) _inst_3 _inst_5 (RingHom.id.{u1} K (Semiring.toNonAssocSemiring.{u1} K (Ring.toSemiring.{u1} K _inst_1))) (LinearMap.{u1, u1, u2, u3} K K (Ring.toSemiring.{u1} K _inst_1) (Ring.toSemiring.{u1} K _inst_1) (RingHom.id.{u1} K (Semiring.toNonAssocSemiring.{u1} K (Ring.toSemiring.{u1} K _inst_1))) V V₂ (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) (AddCommGroup.toAddCommMonoid.{u3} V₂ _inst_4) _inst_3 _inst_5) (LinearMap.semilinearMapClass.{u1, u1, u2, u3} K K V V₂ (Ring.toSemiring.{u1} K _inst_1) (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) (AddCommGroup.toAddCommMonoid.{u3} V₂ _inst_4) _inst_3 _inst_5 (RingHom.id.{u1} K (Semiring.toNonAssocSemiring.{u1} K (Ring.toSemiring.{u1} K _inst_1)))) (RingHomSurjective.ids.{u1} K (Ring.toSemiring.{u1} K _inst_1)) f)) (Submodule.module.{u1, u3} K V₂ (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u3} V₂ _inst_4) _inst_5 (LinearMap.range.{u1, u1, u2, u3, max u2 u3} K K V V₂ (Ring.toSemiring.{u1} K _inst_1) (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) (AddCommGroup.toAddCommMonoid.{u3} V₂ _inst_4) _inst_3 _inst_5 (RingHom.id.{u1} K (Semiring.toNonAssocSemiring.{u1} K (Ring.toSemiring.{u1} K _inst_1))) (LinearMap.{u1, u1, u2, u3} K K (Ring.toSemiring.{u1} K _inst_1) (Ring.toSemiring.{u1} K _inst_1) (RingHom.id.{u1} K (Semiring.toNonAssocSemiring.{u1} K (Ring.toSemiring.{u1} K _inst_1))) V V₂ (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) (AddCommGroup.toAddCommMonoid.{u3} V₂ _inst_4) _inst_3 _inst_5) (LinearMap.semilinearMapClass.{u1, u1, u2, u3} K K V V₂ (Ring.toSemiring.{u1} K _inst_1) (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) (AddCommGroup.toAddCommMonoid.{u3} V₂ _inst_4) _inst_3 _inst_5 (RingHom.id.{u1} K (Semiring.toNonAssocSemiring.{u1} K (Ring.toSemiring.{u1} K _inst_1)))) (RingHomSurjective.ids.{u1} K (Ring.toSemiring.{u1} K _inst_1)) f))) (FiniteDimensional.finrank.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) _inst_2 _inst_3))
+<too large>
 Case conversion may be inaccurate. Consider using '#align linear_map.finrank_range_of_inj LinearMap.finrank_range_of_injₓ'. -/
 /-- The dimensions of the domain and range of an injective linear map are equal. -/
 theorem finrank_range_of_inj {f : V →ₗ[K] V₂} (hf : Function.Injective f) :
@@ -756,10 +750,7 @@ open Module
 variable {F E : Type _} [CommRing F] [Ring E] [Algebra F E]
 
 /- warning: subalgebra.rank_to_submodule -> Subalgebra.rank_toSubmodule is a dubious translation:
-lean 3 declaration is
-  forall {F : Type.{u1}} {E : Type.{u2}} [_inst_1 : CommRing.{u1} F] [_inst_2 : Ring.{u2} E] [_inst_3 : Algebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2)] (S : Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3), Eq.{succ (succ u2)} Cardinal.{u2} (Module.rank.{u1, u2} F (coeSort.{succ u2, succ (succ u2)} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) Type.{u2} (SetLike.hasCoeToSort.{u2, u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) E (Submodule.setLike.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3))) (coeFn.{succ u2, succ u2} (OrderEmbedding.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (Preorder.toHasLe.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (PartialOrder.toPreorder.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (SetLike.partialOrder.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) E (Subalgebra.setLike.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)))) (Preorder.toHasLe.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (PartialOrder.toPreorder.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (CompleteSemilatticeInf.toPartialOrder.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (CompleteLattice.toCompleteSemilatticeInf.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (Submodule.completeLattice.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3))))))) (fun (_x : RelEmbedding.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (LE.le.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (Preorder.toHasLe.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (PartialOrder.toPreorder.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (SetLike.partialOrder.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) E (Subalgebra.setLike.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3))))) (LE.le.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (Preorder.toHasLe.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (PartialOrder.toPreorder.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (CompleteSemilatticeInf.toPartialOrder.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (CompleteLattice.toCompleteSemilatticeInf.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (Submodule.completeLattice.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)))))))) => (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) -> (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3))) (RelEmbedding.hasCoeToFun.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (LE.le.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (Preorder.toHasLe.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (PartialOrder.toPreorder.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (SetLike.partialOrder.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) E (Subalgebra.setLike.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3))))) (LE.le.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (Preorder.toHasLe.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (PartialOrder.toPreorder.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (CompleteSemilatticeInf.toPartialOrder.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (CompleteLattice.toCompleteSemilatticeInf.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (Submodule.completeLattice.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)))))))) (Subalgebra.toSubmodule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) S)) (Ring.toSemiring.{u1} F (CommRing.toRing.{u1} F _inst_1)) (Submodule.addCommMonoid.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (coeFn.{succ u2, succ u2} (OrderEmbedding.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (Preorder.toHasLe.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (PartialOrder.toPreorder.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (SetLike.partialOrder.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) E (Subalgebra.setLike.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)))) (Preorder.toHasLe.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (PartialOrder.toPreorder.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (CompleteSemilatticeInf.toPartialOrder.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (CompleteLattice.toCompleteSemilatticeInf.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (Submodule.completeLattice.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3))))))) (fun (_x : RelEmbedding.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (LE.le.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (Preorder.toHasLe.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (PartialOrder.toPreorder.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (SetLike.partialOrder.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) E (Subalgebra.setLike.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3))))) (LE.le.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (Preorder.toHasLe.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (PartialOrder.toPreorder.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (CompleteSemilatticeInf.toPartialOrder.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (CompleteLattice.toCompleteSemilatticeInf.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (Submodule.completeLattice.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)))))))) => (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) -> (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3))) (RelEmbedding.hasCoeToFun.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (LE.le.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (Preorder.toHasLe.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (PartialOrder.toPreorder.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (SetLike.partialOrder.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) E (Subalgebra.setLike.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3))))) (LE.le.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (Preorder.toHasLe.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (PartialOrder.toPreorder.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (CompleteSemilatticeInf.toPartialOrder.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (CompleteLattice.toCompleteSemilatticeInf.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (Submodule.completeLattice.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)))))))) (Subalgebra.toSubmodule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) S)) (Submodule.module.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (coeFn.{succ u2, succ u2} (OrderEmbedding.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (Preorder.toHasLe.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (PartialOrder.toPreorder.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (SetLike.partialOrder.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) E (Subalgebra.setLike.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)))) (Preorder.toHasLe.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (PartialOrder.toPreorder.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (CompleteSemilatticeInf.toPartialOrder.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (CompleteLattice.toCompleteSemilatticeInf.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (Submodule.completeLattice.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3))))))) (fun (_x : RelEmbedding.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (LE.le.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (Preorder.toHasLe.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (PartialOrder.toPreorder.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (SetLike.partialOrder.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) E (Subalgebra.setLike.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3))))) (LE.le.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (Preorder.toHasLe.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (PartialOrder.toPreorder.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (CompleteSemilatticeInf.toPartialOrder.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (CompleteLattice.toCompleteSemilatticeInf.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (Submodule.completeLattice.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)))))))) => (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) -> (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3))) (RelEmbedding.hasCoeToFun.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (LE.le.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (Preorder.toHasLe.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (PartialOrder.toPreorder.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (SetLike.partialOrder.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) E (Subalgebra.setLike.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3))))) (LE.le.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (Preorder.toHasLe.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (PartialOrder.toPreorder.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (CompleteSemilatticeInf.toPartialOrder.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (CompleteLattice.toCompleteSemilatticeInf.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (Submodule.completeLattice.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)))))))) (Subalgebra.toSubmodule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) S))) (Module.rank.{u1, u2} F (coeSort.{succ u2, succ (succ u2)} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) Type.{u2} (SetLike.hasCoeToSort.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) E (Subalgebra.setLike.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) S) (Ring.toSemiring.{u1} F (CommRing.toRing.{u1} F _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} (coeSort.{succ u2, succ (succ u2)} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) Type.{u2} (SetLike.hasCoeToSort.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) E (Subalgebra.setLike.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) S) (NonUnitalNonAssocRing.toAddCommGroup.{u2} (coeSort.{succ u2, succ (succ u2)} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) Type.{u2} (SetLike.hasCoeToSort.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) E (Subalgebra.setLike.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) S) (NonAssocRing.toNonUnitalNonAssocRing.{u2} (coeSort.{succ u2, succ (succ u2)} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) Type.{u2} (SetLike.hasCoeToSort.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) E (Subalgebra.setLike.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) S) (Ring.toNonAssocRing.{u2} (coeSort.{succ u2, succ (succ u2)} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) Type.{u2} (SetLike.hasCoeToSort.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) E (Subalgebra.setLike.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) S) (Subalgebra.toRing.{u1, u2} F E _inst_1 _inst_2 _inst_3 S))))) (Subalgebra.module.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3 S))
-but is expected to have type
-  forall {F : Type.{u2}} {E : Type.{u1}} [_inst_1 : CommRing.{u2} F] [_inst_2 : Ring.{u1} E] [_inst_3 : Algebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2)] (S : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3), Eq.{succ (succ u1)} Cardinal.{u1} (Module.rank.{u2, u1} F (Subtype.{succ u1} E (fun (x : E) => Membership.mem.{u1, u1} E ((fun (x._@.Mathlib.Order.RelIso.Basic._hyg.869 : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) => Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) S) (SetLike.instMembership.{u1, u1} ((fun (x._@.Mathlib.Order.RelIso.Basic._hyg.869 : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) => Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) S) E (Submodule.setLike.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3))) x (FunLike.coe.{succ u1, succ u1, succ u1} (OrderEmbedding.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Preorder.toLE.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (PartialOrder.toPreorder.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (SetLike.instPartialOrder.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) E (Subalgebra.instSetLikeSubalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)))) (Preorder.toLE.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (PartialOrder.toPreorder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (OmegaCompletePartialOrder.toPartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (CompleteLattice.instOmegaCompletePartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Submodule.completeLattice.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3))))))) (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (fun (a : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) => (fun (x._@.Mathlib.Order.RelIso.Basic._hyg.869 : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) => Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) a) (RelHomClass.toFunLike.{u1, u1, u1} (OrderEmbedding.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Preorder.toLE.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (PartialOrder.toPreorder.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (SetLike.instPartialOrder.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) E (Subalgebra.instSetLikeSubalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)))) (Preorder.toLE.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (PartialOrder.toPreorder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (OmegaCompletePartialOrder.toPartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (CompleteLattice.instOmegaCompletePartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Submodule.completeLattice.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3))))))) (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.682 : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (x._@.Mathlib.Order.Hom.Basic._hyg.684 : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) => LE.le.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Preorder.toLE.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (PartialOrder.toPreorder.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (SetLike.instPartialOrder.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) E (Subalgebra.instSetLikeSubalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)))) x._@.Mathlib.Order.Hom.Basic._hyg.682 x._@.Mathlib.Order.Hom.Basic._hyg.684) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.697 : Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (x._@.Mathlib.Order.Hom.Basic._hyg.699 : Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) => LE.le.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Preorder.toLE.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (PartialOrder.toPreorder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (OmegaCompletePartialOrder.toPartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (CompleteLattice.instOmegaCompletePartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Submodule.completeLattice.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)))))) x._@.Mathlib.Order.Hom.Basic._hyg.697 x._@.Mathlib.Order.Hom.Basic._hyg.699) (RelEmbedding.instRelHomClassRelEmbedding.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.682 : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (x._@.Mathlib.Order.Hom.Basic._hyg.684 : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) => LE.le.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Preorder.toLE.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (PartialOrder.toPreorder.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (SetLike.instPartialOrder.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) E (Subalgebra.instSetLikeSubalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)))) x._@.Mathlib.Order.Hom.Basic._hyg.682 x._@.Mathlib.Order.Hom.Basic._hyg.684) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.697 : Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (x._@.Mathlib.Order.Hom.Basic._hyg.699 : Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) => LE.le.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Preorder.toLE.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (PartialOrder.toPreorder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (OmegaCompletePartialOrder.toPartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (CompleteLattice.instOmegaCompletePartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Submodule.completeLattice.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)))))) x._@.Mathlib.Order.Hom.Basic._hyg.697 x._@.Mathlib.Order.Hom.Basic._hyg.699))) (Subalgebra.toSubmodule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) S))) (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (Submodule.addCommMonoid.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (FunLike.coe.{succ u1, succ u1, succ u1} (OrderEmbedding.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Preorder.toLE.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (PartialOrder.toPreorder.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (SetLike.instPartialOrder.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) E (Subalgebra.instSetLikeSubalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)))) (Preorder.toLE.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (PartialOrder.toPreorder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (OmegaCompletePartialOrder.toPartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (CompleteLattice.instOmegaCompletePartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Submodule.completeLattice.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3))))))) (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (fun (_x : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) => (fun (x._@.Mathlib.Order.RelIso.Basic._hyg.869 : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) => Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) _x) (RelHomClass.toFunLike.{u1, u1, u1} (OrderEmbedding.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Preorder.toLE.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (PartialOrder.toPreorder.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (SetLike.instPartialOrder.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) E (Subalgebra.instSetLikeSubalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)))) (Preorder.toLE.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (PartialOrder.toPreorder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (OmegaCompletePartialOrder.toPartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (CompleteLattice.instOmegaCompletePartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Submodule.completeLattice.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3))))))) (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.682 : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (x._@.Mathlib.Order.Hom.Basic._hyg.684 : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) => LE.le.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Preorder.toLE.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (PartialOrder.toPreorder.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (SetLike.instPartialOrder.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) E (Subalgebra.instSetLikeSubalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)))) x._@.Mathlib.Order.Hom.Basic._hyg.682 x._@.Mathlib.Order.Hom.Basic._hyg.684) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.697 : Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (x._@.Mathlib.Order.Hom.Basic._hyg.699 : Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) => LE.le.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Preorder.toLE.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (PartialOrder.toPreorder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (OmegaCompletePartialOrder.toPartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (CompleteLattice.instOmegaCompletePartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Submodule.completeLattice.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)))))) x._@.Mathlib.Order.Hom.Basic._hyg.697 x._@.Mathlib.Order.Hom.Basic._hyg.699) (RelEmbedding.instRelHomClassRelEmbedding.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.682 : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (x._@.Mathlib.Order.Hom.Basic._hyg.684 : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) => LE.le.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Preorder.toLE.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (PartialOrder.toPreorder.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (SetLike.instPartialOrder.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) E (Subalgebra.instSetLikeSubalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)))) x._@.Mathlib.Order.Hom.Basic._hyg.682 x._@.Mathlib.Order.Hom.Basic._hyg.684) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.697 : Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (x._@.Mathlib.Order.Hom.Basic._hyg.699 : Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) => LE.le.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Preorder.toLE.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (PartialOrder.toPreorder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (OmegaCompletePartialOrder.toPartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (CompleteLattice.instOmegaCompletePartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Submodule.completeLattice.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)))))) x._@.Mathlib.Order.Hom.Basic._hyg.697 x._@.Mathlib.Order.Hom.Basic._hyg.699))) (Subalgebra.toSubmodule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) S)) (Submodule.module.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (FunLike.coe.{succ u1, succ u1, succ u1} (OrderEmbedding.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Preorder.toLE.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (PartialOrder.toPreorder.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (SetLike.instPartialOrder.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) E (Subalgebra.instSetLikeSubalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)))) (Preorder.toLE.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (PartialOrder.toPreorder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (OmegaCompletePartialOrder.toPartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (CompleteLattice.instOmegaCompletePartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Submodule.completeLattice.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3))))))) (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (fun (_x : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) => (fun (x._@.Mathlib.Order.RelIso.Basic._hyg.869 : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) => Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) _x) (RelHomClass.toFunLike.{u1, u1, u1} (OrderEmbedding.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Preorder.toLE.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (PartialOrder.toPreorder.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (SetLike.instPartialOrder.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) E (Subalgebra.instSetLikeSubalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)))) (Preorder.toLE.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (PartialOrder.toPreorder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (OmegaCompletePartialOrder.toPartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (CompleteLattice.instOmegaCompletePartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Submodule.completeLattice.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3))))))) (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.682 : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (x._@.Mathlib.Order.Hom.Basic._hyg.684 : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) => LE.le.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Preorder.toLE.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (PartialOrder.toPreorder.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (SetLike.instPartialOrder.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) E (Subalgebra.instSetLikeSubalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)))) x._@.Mathlib.Order.Hom.Basic._hyg.682 x._@.Mathlib.Order.Hom.Basic._hyg.684) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.697 : Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (x._@.Mathlib.Order.Hom.Basic._hyg.699 : Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) => LE.le.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Preorder.toLE.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (PartialOrder.toPreorder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (OmegaCompletePartialOrder.toPartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (CompleteLattice.instOmegaCompletePartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Submodule.completeLattice.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)))))) x._@.Mathlib.Order.Hom.Basic._hyg.697 x._@.Mathlib.Order.Hom.Basic._hyg.699) (RelEmbedding.instRelHomClassRelEmbedding.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.682 : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (x._@.Mathlib.Order.Hom.Basic._hyg.684 : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) => LE.le.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Preorder.toLE.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (PartialOrder.toPreorder.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (SetLike.instPartialOrder.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) E (Subalgebra.instSetLikeSubalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)))) x._@.Mathlib.Order.Hom.Basic._hyg.682 x._@.Mathlib.Order.Hom.Basic._hyg.684) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.697 : Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (x._@.Mathlib.Order.Hom.Basic._hyg.699 : Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) => LE.le.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Preorder.toLE.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (PartialOrder.toPreorder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (OmegaCompletePartialOrder.toPartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (CompleteLattice.instOmegaCompletePartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Submodule.completeLattice.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)))))) x._@.Mathlib.Order.Hom.Basic._hyg.697 x._@.Mathlib.Order.Hom.Basic._hyg.699))) (Subalgebra.toSubmodule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) S))) (Module.rank.{u2, u1} F (Subtype.{succ u1} E (fun (x : E) => Membership.mem.{u1, u1} E (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (SetLike.instMembership.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) E (Subalgebra.instSetLikeSubalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) x S)) (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} (Subtype.{succ u1} E (fun (x : E) => Membership.mem.{u1, u1} E (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (SetLike.instMembership.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) E (Subalgebra.instSetLikeSubalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) x S)) (NonUnitalNonAssocRing.toNonUnitalNonAssocSemiring.{u1} (Subtype.{succ u1} E (fun (x : E) => Membership.mem.{u1, u1} E (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (SetLike.instMembership.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) E (Subalgebra.instSetLikeSubalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) x S)) (NonAssocRing.toNonUnitalNonAssocRing.{u1} (Subtype.{succ u1} E (fun (x : E) => Membership.mem.{u1, u1} E (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (SetLike.instMembership.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) E (Subalgebra.instSetLikeSubalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) x S)) (Ring.toNonAssocRing.{u1} (Subtype.{succ u1} E (fun (x : E) => Membership.mem.{u1, u1} E (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (SetLike.instMembership.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) E (Subalgebra.instSetLikeSubalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) x S)) (Subalgebra.toRing.{u2, u1} F E _inst_1 _inst_2 _inst_3 S))))) (Subalgebra.instModuleSubtypeMemSubalgebraInstMembershipInstSetLikeSubalgebraToSemiringToAddCommMonoidToNonUnitalNonAssocSemiringToNonAssocSemiringToNonAssocSemiringToSubsemiring.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3 S))
+<too large>
 Case conversion may be inaccurate. Consider using '#align subalgebra.rank_to_submodule Subalgebra.rank_toSubmoduleₓ'. -/
 @[simp]
 theorem Subalgebra.rank_toSubmodule (S : Subalgebra F E) :
@@ -768,10 +759,7 @@ theorem Subalgebra.rank_toSubmodule (S : Subalgebra F E) :
 #align subalgebra.rank_to_submodule Subalgebra.rank_toSubmodule
 
 /- warning: subalgebra.finrank_to_submodule -> Subalgebra.finrank_toSubmodule is a dubious translation:
-lean 3 declaration is
-  forall {F : Type.{u1}} {E : Type.{u2}} [_inst_1 : CommRing.{u1} F] [_inst_2 : Ring.{u2} E] [_inst_3 : Algebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2)] (S : Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3), Eq.{1} Nat (FiniteDimensional.finrank.{u1, u2} F (coeSort.{succ u2, succ (succ u2)} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) Type.{u2} (SetLike.hasCoeToSort.{u2, u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) E (Submodule.setLike.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3))) (coeFn.{succ u2, succ u2} (OrderEmbedding.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (Preorder.toHasLe.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (PartialOrder.toPreorder.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (SetLike.partialOrder.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) E (Subalgebra.setLike.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)))) (Preorder.toHasLe.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (PartialOrder.toPreorder.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (CompleteSemilatticeInf.toPartialOrder.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (CompleteLattice.toCompleteSemilatticeInf.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (Submodule.completeLattice.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3))))))) (fun (_x : RelEmbedding.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (LE.le.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (Preorder.toHasLe.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (PartialOrder.toPreorder.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (SetLike.partialOrder.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) E (Subalgebra.setLike.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3))))) (LE.le.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (Preorder.toHasLe.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (PartialOrder.toPreorder.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (CompleteSemilatticeInf.toPartialOrder.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (CompleteLattice.toCompleteSemilatticeInf.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (Submodule.completeLattice.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)))))))) => (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) -> (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3))) (RelEmbedding.hasCoeToFun.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (LE.le.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (Preorder.toHasLe.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (PartialOrder.toPreorder.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (SetLike.partialOrder.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) E (Subalgebra.setLike.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3))))) (LE.le.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (Preorder.toHasLe.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (PartialOrder.toPreorder.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (CompleteSemilatticeInf.toPartialOrder.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (CompleteLattice.toCompleteSemilatticeInf.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (Submodule.completeLattice.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)))))))) (Subalgebra.toSubmodule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) S)) (Ring.toSemiring.{u1} F (CommRing.toRing.{u1} F _inst_1)) (Submodule.addCommGroup.{u1, u2} F E (CommRing.toRing.{u1} F _inst_1) (NonUnitalNonAssocRing.toAddCommGroup.{u2} E (NonAssocRing.toNonUnitalNonAssocRing.{u2} E (Ring.toNonAssocRing.{u2} E _inst_2))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (coeFn.{succ u2, succ u2} (OrderEmbedding.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (Preorder.toHasLe.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (PartialOrder.toPreorder.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (SetLike.partialOrder.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) E (Subalgebra.setLike.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)))) (Preorder.toHasLe.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (PartialOrder.toPreorder.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (CompleteSemilatticeInf.toPartialOrder.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (CompleteLattice.toCompleteSemilatticeInf.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (Submodule.completeLattice.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3))))))) (fun (_x : RelEmbedding.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (LE.le.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (Preorder.toHasLe.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (PartialOrder.toPreorder.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (SetLike.partialOrder.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) E (Subalgebra.setLike.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3))))) (LE.le.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (Preorder.toHasLe.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (PartialOrder.toPreorder.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (CompleteSemilatticeInf.toPartialOrder.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (CompleteLattice.toCompleteSemilatticeInf.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (Submodule.completeLattice.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)))))))) => (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) -> (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3))) (RelEmbedding.hasCoeToFun.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (LE.le.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (Preorder.toHasLe.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (PartialOrder.toPreorder.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (SetLike.partialOrder.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) E (Subalgebra.setLike.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3))))) (LE.le.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (Preorder.toHasLe.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (PartialOrder.toPreorder.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (CompleteSemilatticeInf.toPartialOrder.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (CompleteLattice.toCompleteSemilatticeInf.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (Submodule.completeLattice.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)))))))) (Subalgebra.toSubmodule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) S)) (Submodule.module.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (coeFn.{succ u2, succ u2} (OrderEmbedding.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (Preorder.toHasLe.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (PartialOrder.toPreorder.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (SetLike.partialOrder.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) E (Subalgebra.setLike.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)))) (Preorder.toHasLe.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (PartialOrder.toPreorder.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (CompleteSemilatticeInf.toPartialOrder.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (CompleteLattice.toCompleteSemilatticeInf.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (Submodule.completeLattice.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3))))))) (fun (_x : RelEmbedding.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (LE.le.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (Preorder.toHasLe.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (PartialOrder.toPreorder.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (SetLike.partialOrder.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) E (Subalgebra.setLike.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3))))) (LE.le.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (Preorder.toHasLe.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (PartialOrder.toPreorder.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (CompleteSemilatticeInf.toPartialOrder.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (CompleteLattice.toCompleteSemilatticeInf.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (Submodule.completeLattice.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)))))))) => (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) -> (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3))) (RelEmbedding.hasCoeToFun.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (LE.le.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (Preorder.toHasLe.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (PartialOrder.toPreorder.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (SetLike.partialOrder.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) E (Subalgebra.setLike.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3))))) (LE.le.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (Preorder.toHasLe.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (PartialOrder.toPreorder.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (CompleteSemilatticeInf.toPartialOrder.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (CompleteLattice.toCompleteSemilatticeInf.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (Submodule.completeLattice.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)))))))) (Subalgebra.toSubmodule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) S))) (FiniteDimensional.finrank.{u1, u2} F (coeSort.{succ u2, succ (succ u2)} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) Type.{u2} (SetLike.hasCoeToSort.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) E (Subalgebra.setLike.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) S) (Ring.toSemiring.{u1} F (CommRing.toRing.{u1} F _inst_1)) (NonUnitalNonAssocRing.toAddCommGroup.{u2} (coeSort.{succ u2, succ (succ u2)} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) Type.{u2} (SetLike.hasCoeToSort.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) E (Subalgebra.setLike.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) S) (NonAssocRing.toNonUnitalNonAssocRing.{u2} (coeSort.{succ u2, succ (succ u2)} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) Type.{u2} (SetLike.hasCoeToSort.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) E (Subalgebra.setLike.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) S) (Ring.toNonAssocRing.{u2} (coeSort.{succ u2, succ (succ u2)} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) Type.{u2} (SetLike.hasCoeToSort.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) E (Subalgebra.setLike.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) S) (Subalgebra.toRing.{u1, u2} F E _inst_1 _inst_2 _inst_3 S)))) (Subalgebra.module.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3 S))
-but is expected to have type
-  forall {F : Type.{u2}} {E : Type.{u1}} [_inst_1 : CommRing.{u2} F] [_inst_2 : Ring.{u1} E] [_inst_3 : Algebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2)] (S : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3), Eq.{1} Nat (FiniteDimensional.finrank.{u2, u1} F (Subtype.{succ u1} E (fun (x : E) => Membership.mem.{u1, u1} E ((fun (x._@.Mathlib.Order.RelIso.Basic._hyg.869 : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) => Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) S) (SetLike.instMembership.{u1, u1} ((fun (x._@.Mathlib.Order.RelIso.Basic._hyg.869 : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) => Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) S) E (Submodule.setLike.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3))) x (FunLike.coe.{succ u1, succ u1, succ u1} (OrderEmbedding.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Preorder.toLE.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (PartialOrder.toPreorder.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (SetLike.instPartialOrder.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) E (Subalgebra.instSetLikeSubalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)))) (Preorder.toLE.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (PartialOrder.toPreorder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (OmegaCompletePartialOrder.toPartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (CompleteLattice.instOmegaCompletePartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Submodule.completeLattice.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3))))))) (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (fun (a : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) => (fun (x._@.Mathlib.Order.RelIso.Basic._hyg.869 : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) => Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) a) (RelHomClass.toFunLike.{u1, u1, u1} (OrderEmbedding.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Preorder.toLE.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (PartialOrder.toPreorder.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (SetLike.instPartialOrder.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) E (Subalgebra.instSetLikeSubalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)))) (Preorder.toLE.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (PartialOrder.toPreorder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (OmegaCompletePartialOrder.toPartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (CompleteLattice.instOmegaCompletePartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Submodule.completeLattice.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3))))))) (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.682 : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (x._@.Mathlib.Order.Hom.Basic._hyg.684 : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) => LE.le.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Preorder.toLE.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (PartialOrder.toPreorder.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (SetLike.instPartialOrder.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) E (Subalgebra.instSetLikeSubalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)))) x._@.Mathlib.Order.Hom.Basic._hyg.682 x._@.Mathlib.Order.Hom.Basic._hyg.684) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.697 : Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (x._@.Mathlib.Order.Hom.Basic._hyg.699 : Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) => LE.le.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Preorder.toLE.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (PartialOrder.toPreorder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (OmegaCompletePartialOrder.toPartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (CompleteLattice.instOmegaCompletePartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Submodule.completeLattice.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)))))) x._@.Mathlib.Order.Hom.Basic._hyg.697 x._@.Mathlib.Order.Hom.Basic._hyg.699) (RelEmbedding.instRelHomClassRelEmbedding.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.682 : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (x._@.Mathlib.Order.Hom.Basic._hyg.684 : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) => LE.le.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Preorder.toLE.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (PartialOrder.toPreorder.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (SetLike.instPartialOrder.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) E (Subalgebra.instSetLikeSubalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)))) x._@.Mathlib.Order.Hom.Basic._hyg.682 x._@.Mathlib.Order.Hom.Basic._hyg.684) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.697 : Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (x._@.Mathlib.Order.Hom.Basic._hyg.699 : Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) => LE.le.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Preorder.toLE.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (PartialOrder.toPreorder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (OmegaCompletePartialOrder.toPartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (CompleteLattice.instOmegaCompletePartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Submodule.completeLattice.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)))))) x._@.Mathlib.Order.Hom.Basic._hyg.697 x._@.Mathlib.Order.Hom.Basic._hyg.699))) (Subalgebra.toSubmodule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) S))) (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (Submodule.addCommGroup.{u2, u1} F E (CommRing.toRing.{u2} F _inst_1) (Ring.toAddCommGroup.{u1} E _inst_2) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (FunLike.coe.{succ u1, succ u1, succ u1} (OrderEmbedding.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Preorder.toLE.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (PartialOrder.toPreorder.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (SetLike.instPartialOrder.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) E (Subalgebra.instSetLikeSubalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)))) (Preorder.toLE.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (PartialOrder.toPreorder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (OmegaCompletePartialOrder.toPartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (CompleteLattice.instOmegaCompletePartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Submodule.completeLattice.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3))))))) (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (fun (_x : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) => (fun (x._@.Mathlib.Order.RelIso.Basic._hyg.869 : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) => Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) _x) (RelHomClass.toFunLike.{u1, u1, u1} (OrderEmbedding.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Preorder.toLE.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (PartialOrder.toPreorder.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (SetLike.instPartialOrder.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) E (Subalgebra.instSetLikeSubalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)))) (Preorder.toLE.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (PartialOrder.toPreorder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (OmegaCompletePartialOrder.toPartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (CompleteLattice.instOmegaCompletePartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Submodule.completeLattice.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3))))))) (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.682 : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (x._@.Mathlib.Order.Hom.Basic._hyg.684 : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) => LE.le.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Preorder.toLE.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (PartialOrder.toPreorder.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (SetLike.instPartialOrder.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) E (Subalgebra.instSetLikeSubalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)))) x._@.Mathlib.Order.Hom.Basic._hyg.682 x._@.Mathlib.Order.Hom.Basic._hyg.684) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.697 : Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (x._@.Mathlib.Order.Hom.Basic._hyg.699 : Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) => LE.le.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Preorder.toLE.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (PartialOrder.toPreorder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (OmegaCompletePartialOrder.toPartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (CompleteLattice.instOmegaCompletePartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Submodule.completeLattice.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)))))) x._@.Mathlib.Order.Hom.Basic._hyg.697 x._@.Mathlib.Order.Hom.Basic._hyg.699) (RelEmbedding.instRelHomClassRelEmbedding.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.682 : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (x._@.Mathlib.Order.Hom.Basic._hyg.684 : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) => LE.le.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Preorder.toLE.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (PartialOrder.toPreorder.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (SetLike.instPartialOrder.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) E (Subalgebra.instSetLikeSubalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)))) x._@.Mathlib.Order.Hom.Basic._hyg.682 x._@.Mathlib.Order.Hom.Basic._hyg.684) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.697 : Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (x._@.Mathlib.Order.Hom.Basic._hyg.699 : Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) => LE.le.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Preorder.toLE.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (PartialOrder.toPreorder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (OmegaCompletePartialOrder.toPartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (CompleteLattice.instOmegaCompletePartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Submodule.completeLattice.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)))))) x._@.Mathlib.Order.Hom.Basic._hyg.697 x._@.Mathlib.Order.Hom.Basic._hyg.699))) (Subalgebra.toSubmodule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) S)) (Submodule.module.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (FunLike.coe.{succ u1, succ u1, succ u1} (OrderEmbedding.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Preorder.toLE.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (PartialOrder.toPreorder.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (SetLike.instPartialOrder.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) E (Subalgebra.instSetLikeSubalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)))) (Preorder.toLE.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (PartialOrder.toPreorder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (OmegaCompletePartialOrder.toPartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (CompleteLattice.instOmegaCompletePartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Submodule.completeLattice.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3))))))) (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (fun (_x : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) => (fun (x._@.Mathlib.Order.RelIso.Basic._hyg.869 : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) => Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) _x) (RelHomClass.toFunLike.{u1, u1, u1} (OrderEmbedding.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Preorder.toLE.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (PartialOrder.toPreorder.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (SetLike.instPartialOrder.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) E (Subalgebra.instSetLikeSubalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)))) (Preorder.toLE.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (PartialOrder.toPreorder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (OmegaCompletePartialOrder.toPartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (CompleteLattice.instOmegaCompletePartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Submodule.completeLattice.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3))))))) (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.682 : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (x._@.Mathlib.Order.Hom.Basic._hyg.684 : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) => LE.le.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Preorder.toLE.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (PartialOrder.toPreorder.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (SetLike.instPartialOrder.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) E (Subalgebra.instSetLikeSubalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)))) x._@.Mathlib.Order.Hom.Basic._hyg.682 x._@.Mathlib.Order.Hom.Basic._hyg.684) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.697 : Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (x._@.Mathlib.Order.Hom.Basic._hyg.699 : Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) => LE.le.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Preorder.toLE.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (PartialOrder.toPreorder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (OmegaCompletePartialOrder.toPartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (CompleteLattice.instOmegaCompletePartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Submodule.completeLattice.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)))))) x._@.Mathlib.Order.Hom.Basic._hyg.697 x._@.Mathlib.Order.Hom.Basic._hyg.699) (RelEmbedding.instRelHomClassRelEmbedding.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.682 : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (x._@.Mathlib.Order.Hom.Basic._hyg.684 : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) => LE.le.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Preorder.toLE.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (PartialOrder.toPreorder.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (SetLike.instPartialOrder.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) E (Subalgebra.instSetLikeSubalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)))) x._@.Mathlib.Order.Hom.Basic._hyg.682 x._@.Mathlib.Order.Hom.Basic._hyg.684) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.697 : Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (x._@.Mathlib.Order.Hom.Basic._hyg.699 : Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) => LE.le.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Preorder.toLE.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (PartialOrder.toPreorder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (OmegaCompletePartialOrder.toPartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (CompleteLattice.instOmegaCompletePartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Submodule.completeLattice.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)))))) x._@.Mathlib.Order.Hom.Basic._hyg.697 x._@.Mathlib.Order.Hom.Basic._hyg.699))) (Subalgebra.toSubmodule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) S))) (FiniteDimensional.finrank.{u2, u1} F (Subtype.{succ u1} E (fun (x : E) => Membership.mem.{u1, u1} E (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (SetLike.instMembership.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) E (Subalgebra.instSetLikeSubalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) x S)) (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (Ring.toAddCommGroup.{u1} (Subtype.{succ u1} E (fun (x : E) => Membership.mem.{u1, u1} E (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (SetLike.instMembership.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) E (Subalgebra.instSetLikeSubalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) x S)) (Subalgebra.toRing.{u2, u1} F E _inst_1 _inst_2 _inst_3 S)) (Subalgebra.instModuleSubtypeMemSubalgebraInstMembershipInstSetLikeSubalgebraToSemiringToAddCommMonoidToNonUnitalNonAssocSemiringToNonAssocSemiringToNonAssocSemiringToSubsemiring.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3 S))
+<too large>
 Case conversion may be inaccurate. Consider using '#align subalgebra.finrank_to_submodule Subalgebra.finrank_toSubmoduleₓ'. -/
 @[simp]
 theorem Subalgebra.finrank_toSubmodule (S : Subalgebra F E) :
@@ -789,10 +777,7 @@ theorem subalgebra_top_rank_eq_submodule_top_rank :
 -/
 
 /- warning: subalgebra_top_finrank_eq_submodule_top_finrank -> subalgebra_top_finrank_eq_submodule_top_finrank is a dubious translation:
-lean 3 declaration is
-  forall {F : Type.{u1}} {E : Type.{u2}} [_inst_1 : CommRing.{u1} F] [_inst_2 : Ring.{u2} E] [_inst_3 : Algebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2)], Eq.{1} Nat (FiniteDimensional.finrank.{u1, u2} F (coeSort.{succ u2, succ (succ u2)} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) Type.{u2} (SetLike.hasCoeToSort.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) E (Subalgebra.setLike.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (Top.top.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (CompleteLattice.toHasTop.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (Algebra.Subalgebra.completeLattice.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)))) (Ring.toSemiring.{u1} F (CommRing.toRing.{u1} F _inst_1)) (NonUnitalNonAssocRing.toAddCommGroup.{u2} (coeSort.{succ u2, succ (succ u2)} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) Type.{u2} (SetLike.hasCoeToSort.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) E (Subalgebra.setLike.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (Top.top.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (CompleteLattice.toHasTop.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (Algebra.Subalgebra.completeLattice.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)))) (NonAssocRing.toNonUnitalNonAssocRing.{u2} (coeSort.{succ u2, succ (succ u2)} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) Type.{u2} (SetLike.hasCoeToSort.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) E (Subalgebra.setLike.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (Top.top.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (CompleteLattice.toHasTop.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (Algebra.Subalgebra.completeLattice.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)))) (Ring.toNonAssocRing.{u2} (coeSort.{succ u2, succ (succ u2)} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) Type.{u2} (SetLike.hasCoeToSort.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) E (Subalgebra.setLike.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (Top.top.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (CompleteLattice.toHasTop.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (Algebra.Subalgebra.completeLattice.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)))) (Subalgebra.toRing.{u1, u2} F E _inst_1 _inst_2 _inst_3 (Top.top.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (CompleteLattice.toHasTop.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (Algebra.Subalgebra.completeLattice.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3))))))) (Subalgebra.module.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3 (Top.top.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (CompleteLattice.toHasTop.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (Algebra.Subalgebra.completeLattice.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3))))) (FiniteDimensional.finrank.{u1, u2} F (coeSort.{succ u2, succ (succ u2)} (Submodule.{u1, u2} F E (Ring.toSemiring.{u1} F (CommRing.toRing.{u1} F _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} E (NonUnitalNonAssocRing.toAddCommGroup.{u2} E (NonAssocRing.toNonUnitalNonAssocRing.{u2} E (Ring.toNonAssocRing.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) Type.{u2} (SetLike.hasCoeToSort.{u2, u2} (Submodule.{u1, u2} F E (Ring.toSemiring.{u1} F (CommRing.toRing.{u1} F _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} E (NonUnitalNonAssocRing.toAddCommGroup.{u2} E (NonAssocRing.toNonUnitalNonAssocRing.{u2} E (Ring.toNonAssocRing.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) E (Submodule.setLike.{u1, u2} F E (Ring.toSemiring.{u1} F (CommRing.toRing.{u1} F _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} E (NonUnitalNonAssocRing.toAddCommGroup.{u2} E (NonAssocRing.toNonUnitalNonAssocRing.{u2} E (Ring.toNonAssocRing.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3))) (Top.top.{u2} (Submodule.{u1, u2} F E (Ring.toSemiring.{u1} F (CommRing.toRing.{u1} F _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} E (NonUnitalNonAssocRing.toAddCommGroup.{u2} E (NonAssocRing.toNonUnitalNonAssocRing.{u2} E (Ring.toNonAssocRing.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (Submodule.hasTop.{u1, u2} F E (Ring.toSemiring.{u1} F (CommRing.toRing.{u1} F _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} E (NonUnitalNonAssocRing.toAddCommGroup.{u2} E (NonAssocRing.toNonUnitalNonAssocRing.{u2} E (Ring.toNonAssocRing.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)))) (Ring.toSemiring.{u1} F (CommRing.toRing.{u1} F _inst_1)) (Submodule.addCommGroup.{u1, u2} F E (CommRing.toRing.{u1} F _inst_1) (NonUnitalNonAssocRing.toAddCommGroup.{u2} E (NonAssocRing.toNonUnitalNonAssocRing.{u2} E (Ring.toNonAssocRing.{u2} E _inst_2))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (Top.top.{u2} (Submodule.{u1, u2} F E (Ring.toSemiring.{u1} F (CommRing.toRing.{u1} F _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} E (NonUnitalNonAssocRing.toAddCommGroup.{u2} E (NonAssocRing.toNonUnitalNonAssocRing.{u2} E (Ring.toNonAssocRing.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (Submodule.hasTop.{u1, u2} F E (Ring.toSemiring.{u1} F (CommRing.toRing.{u1} F _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} E (NonUnitalNonAssocRing.toAddCommGroup.{u2} E (NonAssocRing.toNonUnitalNonAssocRing.{u2} E (Ring.toNonAssocRing.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)))) (Submodule.module.{u1, u2} F E (Ring.toSemiring.{u1} F (CommRing.toRing.{u1} F _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} E (NonUnitalNonAssocRing.toAddCommGroup.{u2} E (NonAssocRing.toNonUnitalNonAssocRing.{u2} E (Ring.toNonAssocRing.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (Top.top.{u2} (Submodule.{u1, u2} F E (Ring.toSemiring.{u1} F (CommRing.toRing.{u1} F _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} E (NonUnitalNonAssocRing.toAddCommGroup.{u2} E (NonAssocRing.toNonUnitalNonAssocRing.{u2} E (Ring.toNonAssocRing.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (Submodule.hasTop.{u1, u2} F E (Ring.toSemiring.{u1} F (CommRing.toRing.{u1} F _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} E (NonUnitalNonAssocRing.toAddCommGroup.{u2} E (NonAssocRing.toNonUnitalNonAssocRing.{u2} E (Ring.toNonAssocRing.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)))))
-but is expected to have type
-  forall {F : Type.{u2}} {E : Type.{u1}} [_inst_1 : CommRing.{u2} F] [_inst_2 : Ring.{u1} E] [_inst_3 : Algebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2)], Eq.{1} Nat (FiniteDimensional.finrank.{u2, u1} F (Subtype.{succ u1} E (fun (x : E) => Membership.mem.{u1, u1} E (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (SetLike.instMembership.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) E (Subalgebra.instSetLikeSubalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) x (Top.top.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (CompleteLattice.toTop.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Algebra.instCompleteLatticeSubalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3))))) (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (Ring.toAddCommGroup.{u1} (Subtype.{succ u1} E (fun (x : E) => Membership.mem.{u1, u1} E (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (SetLike.instMembership.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) E (Subalgebra.instSetLikeSubalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) x (Top.top.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (CompleteLattice.toTop.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Algebra.instCompleteLatticeSubalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3))))) (Subalgebra.toRing.{u2, u1} F E _inst_1 _inst_2 _inst_3 (Top.top.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (CompleteLattice.toTop.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Algebra.instCompleteLatticeSubalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3))))) (Subalgebra.instModuleSubtypeMemSubalgebraInstMembershipInstSetLikeSubalgebraToSemiringToAddCommMonoidToNonUnitalNonAssocSemiringToNonAssocSemiringToNonAssocSemiringToSubsemiring.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3 (Top.top.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (CompleteLattice.toTop.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Algebra.instCompleteLatticeSubalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3))))) (FiniteDimensional.finrank.{u2, u1} F (Subtype.{succ u1} E (fun (x : E) => Membership.mem.{u1, u1} E (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonUnitalNonAssocRing.toNonUnitalNonAssocSemiring.{u1} E (NonAssocRing.toNonUnitalNonAssocRing.{u1} E (Ring.toNonAssocRing.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (SetLike.instMembership.{u1, u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonUnitalNonAssocRing.toNonUnitalNonAssocSemiring.{u1} E (NonAssocRing.toNonUnitalNonAssocRing.{u1} E (Ring.toNonAssocRing.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) E (Submodule.setLike.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonUnitalNonAssocRing.toNonUnitalNonAssocSemiring.{u1} E (NonAssocRing.toNonUnitalNonAssocRing.{u1} E (Ring.toNonAssocRing.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3))) x (Top.top.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonUnitalNonAssocRing.toNonUnitalNonAssocSemiring.{u1} E (NonAssocRing.toNonUnitalNonAssocRing.{u1} E (Ring.toNonAssocRing.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Submodule.instTopSubmodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonUnitalNonAssocRing.toNonUnitalNonAssocSemiring.{u1} E (NonAssocRing.toNonUnitalNonAssocRing.{u1} E (Ring.toNonAssocRing.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3))))) (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (Submodule.addCommGroup.{u2, u1} F E (CommRing.toRing.{u2} F _inst_1) (Ring.toAddCommGroup.{u1} E _inst_2) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Top.top.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonUnitalNonAssocRing.toNonUnitalNonAssocSemiring.{u1} E (NonAssocRing.toNonUnitalNonAssocRing.{u1} E (Ring.toNonAssocRing.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Submodule.instTopSubmodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonUnitalNonAssocRing.toNonUnitalNonAssocSemiring.{u1} E (NonAssocRing.toNonUnitalNonAssocRing.{u1} E (Ring.toNonAssocRing.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)))) (Submodule.module.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonUnitalNonAssocRing.toNonUnitalNonAssocSemiring.{u1} E (NonAssocRing.toNonUnitalNonAssocRing.{u1} E (Ring.toNonAssocRing.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Top.top.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonUnitalNonAssocRing.toNonUnitalNonAssocSemiring.{u1} E (NonAssocRing.toNonUnitalNonAssocRing.{u1} E (Ring.toNonAssocRing.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Submodule.instTopSubmodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonUnitalNonAssocRing.toNonUnitalNonAssocSemiring.{u1} E (NonAssocRing.toNonUnitalNonAssocRing.{u1} E (Ring.toNonAssocRing.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)))))
+<too large>
 Case conversion may be inaccurate. Consider using '#align subalgebra_top_finrank_eq_submodule_top_finrank subalgebra_top_finrank_eq_submodule_top_finrankₓ'. -/
 theorem subalgebra_top_finrank_eq_submodule_top_finrank :
     finrank F (⊤ : Subalgebra F E) = finrank F (⊤ : Submodule F E) :=
@@ -814,10 +799,7 @@ section
 variable [StrongRankCondition F] [NoZeroSMulDivisors F E] [Nontrivial E]
 
 /- warning: subalgebra.rank_bot -> Subalgebra.rank_bot is a dubious translation:
-lean 3 declaration is
-  forall {F : Type.{u1}} {E : Type.{u2}} [_inst_1 : CommRing.{u1} F] [_inst_2 : Ring.{u2} E] [_inst_3 : Algebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2)] [_inst_4 : StrongRankCondition.{u1} F (Ring.toSemiring.{u1} F (CommRing.toRing.{u1} F _inst_1))] [_inst_5 : NoZeroSMulDivisors.{u1, u2} F E (MulZeroClass.toHasZero.{u1} F (NonUnitalNonAssocSemiring.toMulZeroClass.{u1} F (NonUnitalNonAssocRing.toNonUnitalNonAssocSemiring.{u1} F (NonAssocRing.toNonUnitalNonAssocRing.{u1} F (Ring.toNonAssocRing.{u1} F (CommRing.toRing.{u1} F _inst_1)))))) (MulZeroClass.toHasZero.{u2} E (NonUnitalNonAssocSemiring.toMulZeroClass.{u2} E (NonUnitalNonAssocRing.toNonUnitalNonAssocSemiring.{u2} E (NonAssocRing.toNonUnitalNonAssocRing.{u2} E (Ring.toNonAssocRing.{u2} E _inst_2))))) (SMulZeroClass.toHasSmul.{u1, u2} F E (AddZeroClass.toHasZero.{u2} E (AddMonoid.toAddZeroClass.{u2} E (AddCommMonoid.toAddMonoid.{u2} E (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2))))))) (SMulWithZero.toSmulZeroClass.{u1, u2} F E (MulZeroClass.toHasZero.{u1} F (MulZeroOneClass.toMulZeroClass.{u1} F (MonoidWithZero.toMulZeroOneClass.{u1} F (Semiring.toMonoidWithZero.{u1} F (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)))))) (AddZeroClass.toHasZero.{u2} E (AddMonoid.toAddZeroClass.{u2} E (AddCommMonoid.toAddMonoid.{u2} E (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2))))))) (MulActionWithZero.toSMulWithZero.{u1, u2} F E (Semiring.toMonoidWithZero.{u1} F (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1))) (AddZeroClass.toHasZero.{u2} E (AddMonoid.toAddZeroClass.{u2} E (AddCommMonoid.toAddMonoid.{u2} E (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2))))))) (Module.toMulActionWithZero.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)))))] [_inst_6 : Nontrivial.{u2} E], Eq.{succ (succ u2)} Cardinal.{u2} (Module.rank.{u1, u2} F (coeSort.{succ u2, succ (succ u2)} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) Type.{u2} (SetLike.hasCoeToSort.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) E (Subalgebra.setLike.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (Bot.bot.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (CompleteLattice.toHasBot.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (Algebra.Subalgebra.completeLattice.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)))) (Ring.toSemiring.{u1} F (CommRing.toRing.{u1} F _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} (coeSort.{succ u2, succ (succ u2)} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) Type.{u2} (SetLike.hasCoeToSort.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) E (Subalgebra.setLike.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (Bot.bot.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (CompleteLattice.toHasBot.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (Algebra.Subalgebra.completeLattice.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)))) (NonUnitalNonAssocRing.toAddCommGroup.{u2} (coeSort.{succ u2, succ (succ u2)} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) Type.{u2} (SetLike.hasCoeToSort.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) E (Subalgebra.setLike.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (Bot.bot.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (CompleteLattice.toHasBot.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (Algebra.Subalgebra.completeLattice.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)))) (NonAssocRing.toNonUnitalNonAssocRing.{u2} (coeSort.{succ u2, succ (succ u2)} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) Type.{u2} (SetLike.hasCoeToSort.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) E (Subalgebra.setLike.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (Bot.bot.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (CompleteLattice.toHasBot.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (Algebra.Subalgebra.completeLattice.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)))) (Ring.toNonAssocRing.{u2} (coeSort.{succ u2, succ (succ u2)} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) Type.{u2} (SetLike.hasCoeToSort.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) E (Subalgebra.setLike.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (Bot.bot.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (CompleteLattice.toHasBot.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (Algebra.Subalgebra.completeLattice.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)))) (Subalgebra.toRing.{u1, u2} F E _inst_1 _inst_2 _inst_3 (Bot.bot.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (CompleteLattice.toHasBot.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (Algebra.Subalgebra.completeLattice.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)))))))) (Subalgebra.module.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3 (Bot.bot.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (CompleteLattice.toHasBot.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (Algebra.Subalgebra.completeLattice.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3))))) (OfNat.ofNat.{succ u2} Cardinal.{u2} 1 (OfNat.mk.{succ u2} Cardinal.{u2} 1 (One.one.{succ u2} Cardinal.{u2} Cardinal.hasOne.{u2})))
-but is expected to have type
-  forall {F : Type.{u1}} {E : Type.{u2}} [_inst_1 : CommRing.{u1} F] [_inst_2 : Ring.{u2} E] [_inst_3 : Algebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2)] [_inst_4 : StrongRankCondition.{u1} F (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1))] [_inst_5 : NoZeroSMulDivisors.{u1, u2} F E (CommMonoidWithZero.toZero.{u1} F (CommSemiring.toCommMonoidWithZero.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1))) (MonoidWithZero.toZero.{u2} E (Semiring.toMonoidWithZero.{u2} E (Ring.toSemiring.{u2} E _inst_2))) (Algebra.toSMul.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)] [_inst_6 : Nontrivial.{u2} E], Eq.{succ (succ u2)} Cardinal.{u2} (Module.rank.{u1, u2} F (Subtype.{succ u2} E (fun (x : E) => Membership.mem.{u2, u2} E (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (SetLike.instMembership.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) E (Subalgebra.instSetLikeSubalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) x (Bot.bot.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (CompleteLattice.toBot.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (Algebra.instCompleteLatticeSubalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3))))) (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} (Subtype.{succ u2} E (fun (x : E) => Membership.mem.{u2, u2} E (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (SetLike.instMembership.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) E (Subalgebra.instSetLikeSubalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) x (Bot.bot.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (CompleteLattice.toBot.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (Algebra.instCompleteLatticeSubalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3))))) (NonUnitalNonAssocRing.toNonUnitalNonAssocSemiring.{u2} (Subtype.{succ u2} E (fun (x : E) => Membership.mem.{u2, u2} E (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (SetLike.instMembership.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) E (Subalgebra.instSetLikeSubalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) x (Bot.bot.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (CompleteLattice.toBot.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (Algebra.instCompleteLatticeSubalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3))))) (NonAssocRing.toNonUnitalNonAssocRing.{u2} (Subtype.{succ u2} E (fun (x : E) => Membership.mem.{u2, u2} E (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (SetLike.instMembership.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) E (Subalgebra.instSetLikeSubalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) x (Bot.bot.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (CompleteLattice.toBot.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (Algebra.instCompleteLatticeSubalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3))))) (Ring.toNonAssocRing.{u2} (Subtype.{succ u2} E (fun (x : E) => Membership.mem.{u2, u2} E (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (SetLike.instMembership.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) E (Subalgebra.instSetLikeSubalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) x (Bot.bot.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (CompleteLattice.toBot.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (Algebra.instCompleteLatticeSubalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3))))) (Subalgebra.toRing.{u1, u2} F E _inst_1 _inst_2 _inst_3 (Bot.bot.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (CompleteLattice.toBot.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (Algebra.instCompleteLatticeSubalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)))))))) (Subalgebra.instModuleSubtypeMemSubalgebraInstMembershipInstSetLikeSubalgebraToSemiringToAddCommMonoidToNonUnitalNonAssocSemiringToNonAssocSemiringToNonAssocSemiringToSubsemiring.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3 (Bot.bot.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (CompleteLattice.toBot.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (Algebra.instCompleteLatticeSubalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3))))) (OfNat.ofNat.{succ u2} Cardinal.{u2} 1 (One.toOfNat1.{succ u2} Cardinal.{u2} Cardinal.instOneCardinal.{u2}))
+<too large>
 Case conversion may be inaccurate. Consider using '#align subalgebra.rank_bot Subalgebra.rank_botₓ'. -/
 @[simp]
 theorem Subalgebra.rank_bot : Module.rank F (⊥ : Subalgebra F E) = 1 :=
@@ -830,10 +812,7 @@ theorem Subalgebra.rank_bot : Module.rank F (⊥ : Subalgebra F E) = 1 :=
 #align subalgebra.rank_bot Subalgebra.rank_bot
 
 /- warning: subalgebra.finrank_bot -> Subalgebra.finrank_bot is a dubious translation:
-lean 3 declaration is
-  forall {F : Type.{u1}} {E : Type.{u2}} [_inst_1 : CommRing.{u1} F] [_inst_2 : Ring.{u2} E] [_inst_3 : Algebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2)] [_inst_4 : StrongRankCondition.{u1} F (Ring.toSemiring.{u1} F (CommRing.toRing.{u1} F _inst_1))] [_inst_5 : NoZeroSMulDivisors.{u1, u2} F E (MulZeroClass.toHasZero.{u1} F (NonUnitalNonAssocSemiring.toMulZeroClass.{u1} F (NonUnitalNonAssocRing.toNonUnitalNonAssocSemiring.{u1} F (NonAssocRing.toNonUnitalNonAssocRing.{u1} F (Ring.toNonAssocRing.{u1} F (CommRing.toRing.{u1} F _inst_1)))))) (MulZeroClass.toHasZero.{u2} E (NonUnitalNonAssocSemiring.toMulZeroClass.{u2} E (NonUnitalNonAssocRing.toNonUnitalNonAssocSemiring.{u2} E (NonAssocRing.toNonUnitalNonAssocRing.{u2} E (Ring.toNonAssocRing.{u2} E _inst_2))))) (SMulZeroClass.toHasSmul.{u1, u2} F E (AddZeroClass.toHasZero.{u2} E (AddMonoid.toAddZeroClass.{u2} E (AddCommMonoid.toAddMonoid.{u2} E (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2))))))) (SMulWithZero.toSmulZeroClass.{u1, u2} F E (MulZeroClass.toHasZero.{u1} F (MulZeroOneClass.toMulZeroClass.{u1} F (MonoidWithZero.toMulZeroOneClass.{u1} F (Semiring.toMonoidWithZero.{u1} F (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)))))) (AddZeroClass.toHasZero.{u2} E (AddMonoid.toAddZeroClass.{u2} E (AddCommMonoid.toAddMonoid.{u2} E (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2))))))) (MulActionWithZero.toSMulWithZero.{u1, u2} F E (Semiring.toMonoidWithZero.{u1} F (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1))) (AddZeroClass.toHasZero.{u2} E (AddMonoid.toAddZeroClass.{u2} E (AddCommMonoid.toAddMonoid.{u2} E (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2))))))) (Module.toMulActionWithZero.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)))))] [_inst_6 : Nontrivial.{u2} E], Eq.{1} Nat (FiniteDimensional.finrank.{u1, u2} F (coeSort.{succ u2, succ (succ u2)} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) Type.{u2} (SetLike.hasCoeToSort.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) E (Subalgebra.setLike.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (Bot.bot.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (CompleteLattice.toHasBot.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (Algebra.Subalgebra.completeLattice.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)))) (Ring.toSemiring.{u1} F (CommRing.toRing.{u1} F _inst_1)) (NonUnitalNonAssocRing.toAddCommGroup.{u2} (coeSort.{succ u2, succ (succ u2)} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) Type.{u2} (SetLike.hasCoeToSort.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) E (Subalgebra.setLike.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (Bot.bot.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (CompleteLattice.toHasBot.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (Algebra.Subalgebra.completeLattice.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)))) (NonAssocRing.toNonUnitalNonAssocRing.{u2} (coeSort.{succ u2, succ (succ u2)} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) Type.{u2} (SetLike.hasCoeToSort.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) E (Subalgebra.setLike.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (Bot.bot.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (CompleteLattice.toHasBot.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (Algebra.Subalgebra.completeLattice.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)))) (Ring.toNonAssocRing.{u2} (coeSort.{succ u2, succ (succ u2)} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) Type.{u2} (SetLike.hasCoeToSort.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) E (Subalgebra.setLike.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (Bot.bot.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (CompleteLattice.toHasBot.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (Algebra.Subalgebra.completeLattice.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)))) (Subalgebra.toRing.{u1, u2} F E _inst_1 _inst_2 _inst_3 (Bot.bot.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (CompleteLattice.toHasBot.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (Algebra.Subalgebra.completeLattice.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3))))))) (Subalgebra.module.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3 (Bot.bot.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (CompleteLattice.toHasBot.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (Algebra.Subalgebra.completeLattice.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3))))) (OfNat.ofNat.{0} Nat 1 (OfNat.mk.{0} Nat 1 (One.one.{0} Nat Nat.hasOne)))
-but is expected to have type
-  forall {F : Type.{u2}} {E : Type.{u1}} [_inst_1 : CommRing.{u2} F] [_inst_2 : Ring.{u1} E] [_inst_3 : Algebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2)] [_inst_4 : StrongRankCondition.{u2} F (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1))] [_inst_5 : NoZeroSMulDivisors.{u2, u1} F E (CommMonoidWithZero.toZero.{u2} F (CommSemiring.toCommMonoidWithZero.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1))) (MonoidWithZero.toZero.{u1} E (Semiring.toMonoidWithZero.{u1} E (Ring.toSemiring.{u1} E _inst_2))) (Algebra.toSMul.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)] [_inst_6 : Nontrivial.{u1} E], Eq.{1} Nat (FiniteDimensional.finrank.{u2, u1} F (Subtype.{succ u1} E (fun (x : E) => Membership.mem.{u1, u1} E (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (SetLike.instMembership.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) E (Subalgebra.instSetLikeSubalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) x (Bot.bot.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (CompleteLattice.toBot.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Algebra.instCompleteLatticeSubalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3))))) (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (Ring.toAddCommGroup.{u1} (Subtype.{succ u1} E (fun (x : E) => Membership.mem.{u1, u1} E (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (SetLike.instMembership.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) E (Subalgebra.instSetLikeSubalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) x (Bot.bot.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (CompleteLattice.toBot.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Algebra.instCompleteLatticeSubalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3))))) (Subalgebra.toRing.{u2, u1} F E _inst_1 _inst_2 _inst_3 (Bot.bot.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (CompleteLattice.toBot.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Algebra.instCompleteLatticeSubalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3))))) (Subalgebra.instModuleSubtypeMemSubalgebraInstMembershipInstSetLikeSubalgebraToSemiringToAddCommMonoidToNonUnitalNonAssocSemiringToNonAssocSemiringToNonAssocSemiringToSubsemiring.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3 (Bot.bot.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (CompleteLattice.toBot.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Algebra.instCompleteLatticeSubalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3))))) (OfNat.ofNat.{0} Nat 1 (instOfNatNat 1))
+<too large>
 Case conversion may be inaccurate. Consider using '#align subalgebra.finrank_bot Subalgebra.finrank_botₓ'. -/
 @[simp]
 theorem Subalgebra.finrank_bot : finrank F (⊥ : Subalgebra F E) = 1 :=
Diff
@@ -343,7 +343,7 @@ variable [Ring K] [AddCommGroup V] [Module K V] {V₂ : Type v'} [AddCommGroup V
 lean 3 declaration is
   forall {K : Type.{u1}} {V : Type.{u2}} [_inst_1 : Ring.{u1} K] [_inst_2 : AddCommGroup.{u2} V] [_inst_3 : Module.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2)] {V₂ : Type.{u3}} [_inst_4 : AddCommGroup.{u3} V₂] [_inst_5 : Module.{u1, u3} K V₂ (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u3} V₂ _inst_4)] {f : LinearMap.{u1, u1, u2, u3} K K (Ring.toSemiring.{u1} K _inst_1) (Ring.toSemiring.{u1} K _inst_1) (RingHom.id.{u1} K (Semiring.toNonAssocSemiring.{u1} K (Ring.toSemiring.{u1} K _inst_1))) V V₂ (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) (AddCommGroup.toAddCommMonoid.{u3} V₂ _inst_4) _inst_3 _inst_5}, (Function.Injective.{succ u2, succ u3} V V₂ (coeFn.{max (succ u2) (succ u3), max (succ u2) (succ u3)} (LinearMap.{u1, u1, u2, u3} K K (Ring.toSemiring.{u1} K _inst_1) (Ring.toSemiring.{u1} K _inst_1) (RingHom.id.{u1} K (Semiring.toNonAssocSemiring.{u1} K (Ring.toSemiring.{u1} K _inst_1))) V V₂ (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) (AddCommGroup.toAddCommMonoid.{u3} V₂ _inst_4) _inst_3 _inst_5) (fun (_x : LinearMap.{u1, u1, u2, u3} K K (Ring.toSemiring.{u1} K _inst_1) (Ring.toSemiring.{u1} K _inst_1) (RingHom.id.{u1} K (Semiring.toNonAssocSemiring.{u1} K (Ring.toSemiring.{u1} K _inst_1))) V V₂ (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) (AddCommGroup.toAddCommMonoid.{u3} V₂ _inst_4) _inst_3 _inst_5) => V -> V₂) (LinearMap.hasCoeToFun.{u1, u1, u2, u3} K K V V₂ (Ring.toSemiring.{u1} K _inst_1) (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) (AddCommGroup.toAddCommMonoid.{u3} V₂ _inst_4) _inst_3 _inst_5 (RingHom.id.{u1} K (Semiring.toNonAssocSemiring.{u1} K (Ring.toSemiring.{u1} K _inst_1)))) f)) -> (Eq.{1} Nat (FiniteDimensional.finrank.{u1, u3} K (coeSort.{succ u3, succ (succ u3)} (Submodule.{u1, u3} K V₂ (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u3} V₂ _inst_4) _inst_5) Type.{u3} (SetLike.hasCoeToSort.{u3, u3} (Submodule.{u1, u3} K V₂ (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u3} V₂ _inst_4) _inst_5) V₂ (Submodule.setLike.{u1, u3} K V₂ (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u3} V₂ _inst_4) _inst_5)) (LinearMap.range.{u1, u1, u2, u3, max u2 u3} K K V V₂ (Ring.toSemiring.{u1} K _inst_1) (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) (AddCommGroup.toAddCommMonoid.{u3} V₂ _inst_4) _inst_3 _inst_5 (RingHom.id.{u1} K (Semiring.toNonAssocSemiring.{u1} K (Ring.toSemiring.{u1} K _inst_1))) (LinearMap.{u1, u1, u2, u3} K K (Ring.toSemiring.{u1} K _inst_1) (Ring.toSemiring.{u1} K _inst_1) (RingHom.id.{u1} K (Semiring.toNonAssocSemiring.{u1} K (Ring.toSemiring.{u1} K _inst_1))) V V₂ (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) (AddCommGroup.toAddCommMonoid.{u3} V₂ _inst_4) _inst_3 _inst_5) (LinearMap.semilinearMapClass.{u1, u1, u2, u3} K K V V₂ (Ring.toSemiring.{u1} K _inst_1) (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) (AddCommGroup.toAddCommMonoid.{u3} V₂ _inst_4) _inst_3 _inst_5 (RingHom.id.{u1} K (Semiring.toNonAssocSemiring.{u1} K (Ring.toSemiring.{u1} K _inst_1)))) (RingHomSurjective.ids.{u1} K (Ring.toSemiring.{u1} K _inst_1)) f)) (Ring.toSemiring.{u1} K _inst_1) (Submodule.addCommGroup.{u1, u3} K V₂ _inst_1 _inst_4 _inst_5 (LinearMap.range.{u1, u1, u2, u3, max u2 u3} K K V V₂ (Ring.toSemiring.{u1} K _inst_1) (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) (AddCommGroup.toAddCommMonoid.{u3} V₂ _inst_4) _inst_3 _inst_5 (RingHom.id.{u1} K (Semiring.toNonAssocSemiring.{u1} K (Ring.toSemiring.{u1} K _inst_1))) (LinearMap.{u1, u1, u2, u3} K K (Ring.toSemiring.{u1} K _inst_1) (Ring.toSemiring.{u1} K _inst_1) (RingHom.id.{u1} K (Semiring.toNonAssocSemiring.{u1} K (Ring.toSemiring.{u1} K _inst_1))) V V₂ (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) (AddCommGroup.toAddCommMonoid.{u3} V₂ _inst_4) _inst_3 _inst_5) (LinearMap.semilinearMapClass.{u1, u1, u2, u3} K K V V₂ (Ring.toSemiring.{u1} K _inst_1) (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) (AddCommGroup.toAddCommMonoid.{u3} V₂ _inst_4) _inst_3 _inst_5 (RingHom.id.{u1} K (Semiring.toNonAssocSemiring.{u1} K (Ring.toSemiring.{u1} K _inst_1)))) (RingHomSurjective.ids.{u1} K (Ring.toSemiring.{u1} K _inst_1)) f)) (Submodule.module.{u1, u3} K V₂ (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u3} V₂ _inst_4) _inst_5 (LinearMap.range.{u1, u1, u2, u3, max u2 u3} K K V V₂ (Ring.toSemiring.{u1} K _inst_1) (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) (AddCommGroup.toAddCommMonoid.{u3} V₂ _inst_4) _inst_3 _inst_5 (RingHom.id.{u1} K (Semiring.toNonAssocSemiring.{u1} K (Ring.toSemiring.{u1} K _inst_1))) (LinearMap.{u1, u1, u2, u3} K K (Ring.toSemiring.{u1} K _inst_1) (Ring.toSemiring.{u1} K _inst_1) (RingHom.id.{u1} K (Semiring.toNonAssocSemiring.{u1} K (Ring.toSemiring.{u1} K _inst_1))) V V₂ (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) (AddCommGroup.toAddCommMonoid.{u3} V₂ _inst_4) _inst_3 _inst_5) (LinearMap.semilinearMapClass.{u1, u1, u2, u3} K K V V₂ (Ring.toSemiring.{u1} K _inst_1) (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) (AddCommGroup.toAddCommMonoid.{u3} V₂ _inst_4) _inst_3 _inst_5 (RingHom.id.{u1} K (Semiring.toNonAssocSemiring.{u1} K (Ring.toSemiring.{u1} K _inst_1)))) (RingHomSurjective.ids.{u1} K (Ring.toSemiring.{u1} K _inst_1)) f))) (FiniteDimensional.finrank.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) _inst_2 _inst_3))
 but is expected to have type
-  forall {K : Type.{u1}} {V : Type.{u2}} [_inst_1 : Ring.{u1} K] [_inst_2 : AddCommGroup.{u2} V] [_inst_3 : Module.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2)] {V₂ : Type.{u3}} [_inst_4 : AddCommGroup.{u3} V₂] [_inst_5 : Module.{u1, u3} K V₂ (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u3} V₂ _inst_4)] {f : LinearMap.{u1, u1, u2, u3} K K (Ring.toSemiring.{u1} K _inst_1) (Ring.toSemiring.{u1} K _inst_1) (RingHom.id.{u1} K (Semiring.toNonAssocSemiring.{u1} K (Ring.toSemiring.{u1} K _inst_1))) V V₂ (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) (AddCommGroup.toAddCommMonoid.{u3} V₂ _inst_4) _inst_3 _inst_5}, (Function.Injective.{succ u2, succ u3} V V₂ (FunLike.coe.{max (succ u2) (succ u3), succ u2, succ u3} (LinearMap.{u1, u1, u2, u3} K K (Ring.toSemiring.{u1} K _inst_1) (Ring.toSemiring.{u1} K _inst_1) (RingHom.id.{u1} K (Semiring.toNonAssocSemiring.{u1} K (Ring.toSemiring.{u1} K _inst_1))) V V₂ (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) (AddCommGroup.toAddCommMonoid.{u3} V₂ _inst_4) _inst_3 _inst_5) V (fun (_x : V) => (fun (x._@.Mathlib.Algebra.Module.LinearMap._hyg.6191 : V) => V₂) _x) (LinearMap.instFunLikeLinearMap.{u1, u1, u2, u3} K K V V₂ (Ring.toSemiring.{u1} K _inst_1) (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) (AddCommGroup.toAddCommMonoid.{u3} V₂ _inst_4) _inst_3 _inst_5 (RingHom.id.{u1} K (Semiring.toNonAssocSemiring.{u1} K (Ring.toSemiring.{u1} K _inst_1)))) f)) -> (Eq.{1} Nat (FiniteDimensional.finrank.{u1, u3} K (Subtype.{succ u3} V₂ (fun (x : V₂) => Membership.mem.{u3, u3} V₂ (Submodule.{u1, u3} K V₂ (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u3} V₂ _inst_4) _inst_5) (SetLike.instMembership.{u3, u3} (Submodule.{u1, u3} K V₂ (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u3} V₂ _inst_4) _inst_5) V₂ (Submodule.setLike.{u1, u3} K V₂ (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u3} V₂ _inst_4) _inst_5)) x (LinearMap.range.{u1, u1, u2, u3, max u2 u3} K K V V₂ (Ring.toSemiring.{u1} K _inst_1) (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) (AddCommGroup.toAddCommMonoid.{u3} V₂ _inst_4) _inst_3 _inst_5 (RingHom.id.{u1} K (Semiring.toNonAssocSemiring.{u1} K (Ring.toSemiring.{u1} K _inst_1))) (LinearMap.{u1, u1, u2, u3} K K (Ring.toSemiring.{u1} K _inst_1) (Ring.toSemiring.{u1} K _inst_1) (RingHom.id.{u1} K (Semiring.toNonAssocSemiring.{u1} K (Ring.toSemiring.{u1} K _inst_1))) V V₂ (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) (AddCommGroup.toAddCommMonoid.{u3} V₂ _inst_4) _inst_3 _inst_5) (LinearMap.semilinearMapClass.{u1, u1, u2, u3} K K V V₂ (Ring.toSemiring.{u1} K _inst_1) (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) (AddCommGroup.toAddCommMonoid.{u3} V₂ _inst_4) _inst_3 _inst_5 (RingHom.id.{u1} K (Semiring.toNonAssocSemiring.{u1} K (Ring.toSemiring.{u1} K _inst_1)))) (RingHomSurjective.ids.{u1} K (Ring.toSemiring.{u1} K _inst_1)) f))) (Ring.toSemiring.{u1} K _inst_1) (Submodule.addCommGroup.{u1, u3} K V₂ _inst_1 _inst_4 _inst_5 (LinearMap.range.{u1, u1, u2, u3, max u2 u3} K K V V₂ (Ring.toSemiring.{u1} K _inst_1) (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) (AddCommGroup.toAddCommMonoid.{u3} V₂ _inst_4) _inst_3 _inst_5 (RingHom.id.{u1} K (Semiring.toNonAssocSemiring.{u1} K (Ring.toSemiring.{u1} K _inst_1))) (LinearMap.{u1, u1, u2, u3} K K (Ring.toSemiring.{u1} K _inst_1) (Ring.toSemiring.{u1} K _inst_1) (RingHom.id.{u1} K (Semiring.toNonAssocSemiring.{u1} K (Ring.toSemiring.{u1} K _inst_1))) V V₂ (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) (AddCommGroup.toAddCommMonoid.{u3} V₂ _inst_4) _inst_3 _inst_5) (LinearMap.semilinearMapClass.{u1, u1, u2, u3} K K V V₂ (Ring.toSemiring.{u1} K _inst_1) (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) (AddCommGroup.toAddCommMonoid.{u3} V₂ _inst_4) _inst_3 _inst_5 (RingHom.id.{u1} K (Semiring.toNonAssocSemiring.{u1} K (Ring.toSemiring.{u1} K _inst_1)))) (RingHomSurjective.ids.{u1} K (Ring.toSemiring.{u1} K _inst_1)) f)) (Submodule.module.{u1, u3} K V₂ (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u3} V₂ _inst_4) _inst_5 (LinearMap.range.{u1, u1, u2, u3, max u2 u3} K K V V₂ (Ring.toSemiring.{u1} K _inst_1) (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) (AddCommGroup.toAddCommMonoid.{u3} V₂ _inst_4) _inst_3 _inst_5 (RingHom.id.{u1} K (Semiring.toNonAssocSemiring.{u1} K (Ring.toSemiring.{u1} K _inst_1))) (LinearMap.{u1, u1, u2, u3} K K (Ring.toSemiring.{u1} K _inst_1) (Ring.toSemiring.{u1} K _inst_1) (RingHom.id.{u1} K (Semiring.toNonAssocSemiring.{u1} K (Ring.toSemiring.{u1} K _inst_1))) V V₂ (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) (AddCommGroup.toAddCommMonoid.{u3} V₂ _inst_4) _inst_3 _inst_5) (LinearMap.semilinearMapClass.{u1, u1, u2, u3} K K V V₂ (Ring.toSemiring.{u1} K _inst_1) (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) (AddCommGroup.toAddCommMonoid.{u3} V₂ _inst_4) _inst_3 _inst_5 (RingHom.id.{u1} K (Semiring.toNonAssocSemiring.{u1} K (Ring.toSemiring.{u1} K _inst_1)))) (RingHomSurjective.ids.{u1} K (Ring.toSemiring.{u1} K _inst_1)) f))) (FiniteDimensional.finrank.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) _inst_2 _inst_3))
+  forall {K : Type.{u1}} {V : Type.{u2}} [_inst_1 : Ring.{u1} K] [_inst_2 : AddCommGroup.{u2} V] [_inst_3 : Module.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2)] {V₂ : Type.{u3}} [_inst_4 : AddCommGroup.{u3} V₂] [_inst_5 : Module.{u1, u3} K V₂ (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u3} V₂ _inst_4)] {f : LinearMap.{u1, u1, u2, u3} K K (Ring.toSemiring.{u1} K _inst_1) (Ring.toSemiring.{u1} K _inst_1) (RingHom.id.{u1} K (Semiring.toNonAssocSemiring.{u1} K (Ring.toSemiring.{u1} K _inst_1))) V V₂ (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) (AddCommGroup.toAddCommMonoid.{u3} V₂ _inst_4) _inst_3 _inst_5}, (Function.Injective.{succ u2, succ u3} V V₂ (FunLike.coe.{max (succ u2) (succ u3), succ u2, succ u3} (LinearMap.{u1, u1, u2, u3} K K (Ring.toSemiring.{u1} K _inst_1) (Ring.toSemiring.{u1} K _inst_1) (RingHom.id.{u1} K (Semiring.toNonAssocSemiring.{u1} K (Ring.toSemiring.{u1} K _inst_1))) V V₂ (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) (AddCommGroup.toAddCommMonoid.{u3} V₂ _inst_4) _inst_3 _inst_5) V (fun (_x : V) => (fun (x._@.Mathlib.Algebra.Module.LinearMap._hyg.6193 : V) => V₂) _x) (LinearMap.instFunLikeLinearMap.{u1, u1, u2, u3} K K V V₂ (Ring.toSemiring.{u1} K _inst_1) (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) (AddCommGroup.toAddCommMonoid.{u3} V₂ _inst_4) _inst_3 _inst_5 (RingHom.id.{u1} K (Semiring.toNonAssocSemiring.{u1} K (Ring.toSemiring.{u1} K _inst_1)))) f)) -> (Eq.{1} Nat (FiniteDimensional.finrank.{u1, u3} K (Subtype.{succ u3} V₂ (fun (x : V₂) => Membership.mem.{u3, u3} V₂ (Submodule.{u1, u3} K V₂ (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u3} V₂ _inst_4) _inst_5) (SetLike.instMembership.{u3, u3} (Submodule.{u1, u3} K V₂ (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u3} V₂ _inst_4) _inst_5) V₂ (Submodule.setLike.{u1, u3} K V₂ (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u3} V₂ _inst_4) _inst_5)) x (LinearMap.range.{u1, u1, u2, u3, max u2 u3} K K V V₂ (Ring.toSemiring.{u1} K _inst_1) (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) (AddCommGroup.toAddCommMonoid.{u3} V₂ _inst_4) _inst_3 _inst_5 (RingHom.id.{u1} K (Semiring.toNonAssocSemiring.{u1} K (Ring.toSemiring.{u1} K _inst_1))) (LinearMap.{u1, u1, u2, u3} K K (Ring.toSemiring.{u1} K _inst_1) (Ring.toSemiring.{u1} K _inst_1) (RingHom.id.{u1} K (Semiring.toNonAssocSemiring.{u1} K (Ring.toSemiring.{u1} K _inst_1))) V V₂ (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) (AddCommGroup.toAddCommMonoid.{u3} V₂ _inst_4) _inst_3 _inst_5) (LinearMap.semilinearMapClass.{u1, u1, u2, u3} K K V V₂ (Ring.toSemiring.{u1} K _inst_1) (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) (AddCommGroup.toAddCommMonoid.{u3} V₂ _inst_4) _inst_3 _inst_5 (RingHom.id.{u1} K (Semiring.toNonAssocSemiring.{u1} K (Ring.toSemiring.{u1} K _inst_1)))) (RingHomSurjective.ids.{u1} K (Ring.toSemiring.{u1} K _inst_1)) f))) (Ring.toSemiring.{u1} K _inst_1) (Submodule.addCommGroup.{u1, u3} K V₂ _inst_1 _inst_4 _inst_5 (LinearMap.range.{u1, u1, u2, u3, max u2 u3} K K V V₂ (Ring.toSemiring.{u1} K _inst_1) (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) (AddCommGroup.toAddCommMonoid.{u3} V₂ _inst_4) _inst_3 _inst_5 (RingHom.id.{u1} K (Semiring.toNonAssocSemiring.{u1} K (Ring.toSemiring.{u1} K _inst_1))) (LinearMap.{u1, u1, u2, u3} K K (Ring.toSemiring.{u1} K _inst_1) (Ring.toSemiring.{u1} K _inst_1) (RingHom.id.{u1} K (Semiring.toNonAssocSemiring.{u1} K (Ring.toSemiring.{u1} K _inst_1))) V V₂ (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) (AddCommGroup.toAddCommMonoid.{u3} V₂ _inst_4) _inst_3 _inst_5) (LinearMap.semilinearMapClass.{u1, u1, u2, u3} K K V V₂ (Ring.toSemiring.{u1} K _inst_1) (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) (AddCommGroup.toAddCommMonoid.{u3} V₂ _inst_4) _inst_3 _inst_5 (RingHom.id.{u1} K (Semiring.toNonAssocSemiring.{u1} K (Ring.toSemiring.{u1} K _inst_1)))) (RingHomSurjective.ids.{u1} K (Ring.toSemiring.{u1} K _inst_1)) f)) (Submodule.module.{u1, u3} K V₂ (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u3} V₂ _inst_4) _inst_5 (LinearMap.range.{u1, u1, u2, u3, max u2 u3} K K V V₂ (Ring.toSemiring.{u1} K _inst_1) (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) (AddCommGroup.toAddCommMonoid.{u3} V₂ _inst_4) _inst_3 _inst_5 (RingHom.id.{u1} K (Semiring.toNonAssocSemiring.{u1} K (Ring.toSemiring.{u1} K _inst_1))) (LinearMap.{u1, u1, u2, u3} K K (Ring.toSemiring.{u1} K _inst_1) (Ring.toSemiring.{u1} K _inst_1) (RingHom.id.{u1} K (Semiring.toNonAssocSemiring.{u1} K (Ring.toSemiring.{u1} K _inst_1))) V V₂ (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) (AddCommGroup.toAddCommMonoid.{u3} V₂ _inst_4) _inst_3 _inst_5) (LinearMap.semilinearMapClass.{u1, u1, u2, u3} K K V V₂ (Ring.toSemiring.{u1} K _inst_1) (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) (AddCommGroup.toAddCommMonoid.{u3} V₂ _inst_4) _inst_3 _inst_5 (RingHom.id.{u1} K (Semiring.toNonAssocSemiring.{u1} K (Ring.toSemiring.{u1} K _inst_1)))) (RingHomSurjective.ids.{u1} K (Ring.toSemiring.{u1} K _inst_1)) f))) (FiniteDimensional.finrank.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) _inst_2 _inst_3))
 Case conversion may be inaccurate. Consider using '#align linear_map.finrank_range_of_inj LinearMap.finrank_range_of_injₓ'. -/
 /-- The dimensions of the domain and range of an injective linear map are equal. -/
 theorem finrank_range_of_inj {f : V →ₗ[K] V₂} (hf : Function.Injective f) :
Diff
@@ -759,7 +759,7 @@ variable {F E : Type _} [CommRing F] [Ring E] [Algebra F E]
 lean 3 declaration is
   forall {F : Type.{u1}} {E : Type.{u2}} [_inst_1 : CommRing.{u1} F] [_inst_2 : Ring.{u2} E] [_inst_3 : Algebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2)] (S : Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3), Eq.{succ (succ u2)} Cardinal.{u2} (Module.rank.{u1, u2} F (coeSort.{succ u2, succ (succ u2)} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) Type.{u2} (SetLike.hasCoeToSort.{u2, u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) E (Submodule.setLike.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3))) (coeFn.{succ u2, succ u2} (OrderEmbedding.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (Preorder.toHasLe.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (PartialOrder.toPreorder.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (SetLike.partialOrder.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) E (Subalgebra.setLike.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)))) (Preorder.toHasLe.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (PartialOrder.toPreorder.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (CompleteSemilatticeInf.toPartialOrder.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (CompleteLattice.toCompleteSemilatticeInf.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (Submodule.completeLattice.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3))))))) (fun (_x : RelEmbedding.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (LE.le.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (Preorder.toHasLe.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (PartialOrder.toPreorder.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (SetLike.partialOrder.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) E (Subalgebra.setLike.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3))))) (LE.le.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (Preorder.toHasLe.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (PartialOrder.toPreorder.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (CompleteSemilatticeInf.toPartialOrder.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (CompleteLattice.toCompleteSemilatticeInf.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (Submodule.completeLattice.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)))))))) => (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) -> (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3))) (RelEmbedding.hasCoeToFun.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (LE.le.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (Preorder.toHasLe.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (PartialOrder.toPreorder.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (SetLike.partialOrder.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) E (Subalgebra.setLike.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3))))) (LE.le.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (Preorder.toHasLe.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (PartialOrder.toPreorder.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (CompleteSemilatticeInf.toPartialOrder.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (CompleteLattice.toCompleteSemilatticeInf.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (Submodule.completeLattice.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)))))))) (Subalgebra.toSubmodule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) S)) (Ring.toSemiring.{u1} F (CommRing.toRing.{u1} F _inst_1)) (Submodule.addCommMonoid.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (coeFn.{succ u2, succ u2} (OrderEmbedding.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (Preorder.toHasLe.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (PartialOrder.toPreorder.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (SetLike.partialOrder.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) E (Subalgebra.setLike.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)))) (Preorder.toHasLe.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (PartialOrder.toPreorder.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (CompleteSemilatticeInf.toPartialOrder.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (CompleteLattice.toCompleteSemilatticeInf.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (Submodule.completeLattice.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3))))))) (fun (_x : RelEmbedding.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (LE.le.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (Preorder.toHasLe.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (PartialOrder.toPreorder.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (SetLike.partialOrder.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) E (Subalgebra.setLike.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3))))) (LE.le.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (Preorder.toHasLe.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (PartialOrder.toPreorder.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (CompleteSemilatticeInf.toPartialOrder.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (CompleteLattice.toCompleteSemilatticeInf.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (Submodule.completeLattice.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)))))))) => (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) -> (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3))) (RelEmbedding.hasCoeToFun.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (LE.le.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (Preorder.toHasLe.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (PartialOrder.toPreorder.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (SetLike.partialOrder.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) E (Subalgebra.setLike.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3))))) (LE.le.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (Preorder.toHasLe.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (PartialOrder.toPreorder.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (CompleteSemilatticeInf.toPartialOrder.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (CompleteLattice.toCompleteSemilatticeInf.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (Submodule.completeLattice.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)))))))) (Subalgebra.toSubmodule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) S)) (Submodule.module.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (coeFn.{succ u2, succ u2} (OrderEmbedding.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (Preorder.toHasLe.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (PartialOrder.toPreorder.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (SetLike.partialOrder.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) E (Subalgebra.setLike.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)))) (Preorder.toHasLe.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (PartialOrder.toPreorder.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (CompleteSemilatticeInf.toPartialOrder.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (CompleteLattice.toCompleteSemilatticeInf.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (Submodule.completeLattice.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3))))))) (fun (_x : RelEmbedding.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (LE.le.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (Preorder.toHasLe.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (PartialOrder.toPreorder.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (SetLike.partialOrder.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) E (Subalgebra.setLike.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3))))) (LE.le.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (Preorder.toHasLe.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (PartialOrder.toPreorder.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (CompleteSemilatticeInf.toPartialOrder.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (CompleteLattice.toCompleteSemilatticeInf.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (Submodule.completeLattice.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)))))))) => (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) -> (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3))) (RelEmbedding.hasCoeToFun.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (LE.le.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (Preorder.toHasLe.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (PartialOrder.toPreorder.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (SetLike.partialOrder.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) E (Subalgebra.setLike.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3))))) (LE.le.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (Preorder.toHasLe.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (PartialOrder.toPreorder.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (CompleteSemilatticeInf.toPartialOrder.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (CompleteLattice.toCompleteSemilatticeInf.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (Submodule.completeLattice.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)))))))) (Subalgebra.toSubmodule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) S))) (Module.rank.{u1, u2} F (coeSort.{succ u2, succ (succ u2)} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) Type.{u2} (SetLike.hasCoeToSort.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) E (Subalgebra.setLike.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) S) (Ring.toSemiring.{u1} F (CommRing.toRing.{u1} F _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} (coeSort.{succ u2, succ (succ u2)} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) Type.{u2} (SetLike.hasCoeToSort.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) E (Subalgebra.setLike.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) S) (NonUnitalNonAssocRing.toAddCommGroup.{u2} (coeSort.{succ u2, succ (succ u2)} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) Type.{u2} (SetLike.hasCoeToSort.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) E (Subalgebra.setLike.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) S) (NonAssocRing.toNonUnitalNonAssocRing.{u2} (coeSort.{succ u2, succ (succ u2)} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) Type.{u2} (SetLike.hasCoeToSort.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) E (Subalgebra.setLike.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) S) (Ring.toNonAssocRing.{u2} (coeSort.{succ u2, succ (succ u2)} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) Type.{u2} (SetLike.hasCoeToSort.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) E (Subalgebra.setLike.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) S) (Subalgebra.toRing.{u1, u2} F E _inst_1 _inst_2 _inst_3 S))))) (Subalgebra.module.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3 S))
 but is expected to have type
-  forall {F : Type.{u2}} {E : Type.{u1}} [_inst_1 : CommRing.{u2} F] [_inst_2 : Ring.{u1} E] [_inst_3 : Algebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2)] (S : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3), Eq.{succ (succ u1)} Cardinal.{u1} (Module.rank.{u2, u1} F (Subtype.{succ u1} E (fun (x : E) => Membership.mem.{u1, u1} E ((fun (x._@.Mathlib.Order.RelIso.Basic._hyg.867 : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) => Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) S) (SetLike.instMembership.{u1, u1} ((fun (x._@.Mathlib.Order.RelIso.Basic._hyg.867 : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) => Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) S) E (Submodule.setLike.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3))) x (FunLike.coe.{succ u1, succ u1, succ u1} (OrderEmbedding.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Preorder.toLE.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (PartialOrder.toPreorder.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (SetLike.instPartialOrder.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) E (Subalgebra.instSetLikeSubalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)))) (Preorder.toLE.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (PartialOrder.toPreorder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (OmegaCompletePartialOrder.toPartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (CompleteLattice.instOmegaCompletePartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Submodule.completeLattice.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3))))))) (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (fun (a : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) => (fun (x._@.Mathlib.Order.RelIso.Basic._hyg.867 : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) => Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) a) (RelHomClass.toFunLike.{u1, u1, u1} (OrderEmbedding.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Preorder.toLE.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (PartialOrder.toPreorder.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (SetLike.instPartialOrder.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) E (Subalgebra.instSetLikeSubalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)))) (Preorder.toLE.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (PartialOrder.toPreorder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (OmegaCompletePartialOrder.toPartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (CompleteLattice.instOmegaCompletePartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Submodule.completeLattice.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3))))))) (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.680 : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (x._@.Mathlib.Order.Hom.Basic._hyg.682 : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) => LE.le.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Preorder.toLE.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (PartialOrder.toPreorder.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (SetLike.instPartialOrder.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) E (Subalgebra.instSetLikeSubalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)))) x._@.Mathlib.Order.Hom.Basic._hyg.680 x._@.Mathlib.Order.Hom.Basic._hyg.682) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.695 : Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (x._@.Mathlib.Order.Hom.Basic._hyg.697 : Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) => LE.le.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Preorder.toLE.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (PartialOrder.toPreorder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (OmegaCompletePartialOrder.toPartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (CompleteLattice.instOmegaCompletePartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Submodule.completeLattice.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)))))) x._@.Mathlib.Order.Hom.Basic._hyg.695 x._@.Mathlib.Order.Hom.Basic._hyg.697) (RelEmbedding.instRelHomClassRelEmbedding.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.680 : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (x._@.Mathlib.Order.Hom.Basic._hyg.682 : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) => LE.le.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Preorder.toLE.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (PartialOrder.toPreorder.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (SetLike.instPartialOrder.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) E (Subalgebra.instSetLikeSubalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)))) x._@.Mathlib.Order.Hom.Basic._hyg.680 x._@.Mathlib.Order.Hom.Basic._hyg.682) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.695 : Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (x._@.Mathlib.Order.Hom.Basic._hyg.697 : Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) => LE.le.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Preorder.toLE.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (PartialOrder.toPreorder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (OmegaCompletePartialOrder.toPartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (CompleteLattice.instOmegaCompletePartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Submodule.completeLattice.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)))))) x._@.Mathlib.Order.Hom.Basic._hyg.695 x._@.Mathlib.Order.Hom.Basic._hyg.697))) (Subalgebra.toSubmodule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) S))) (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (Submodule.addCommMonoid.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (FunLike.coe.{succ u1, succ u1, succ u1} (OrderEmbedding.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Preorder.toLE.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (PartialOrder.toPreorder.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (SetLike.instPartialOrder.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) E (Subalgebra.instSetLikeSubalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)))) (Preorder.toLE.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (PartialOrder.toPreorder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (OmegaCompletePartialOrder.toPartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (CompleteLattice.instOmegaCompletePartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Submodule.completeLattice.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3))))))) (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (fun (_x : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) => (fun (x._@.Mathlib.Order.RelIso.Basic._hyg.867 : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) => Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) _x) (RelHomClass.toFunLike.{u1, u1, u1} (OrderEmbedding.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Preorder.toLE.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (PartialOrder.toPreorder.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (SetLike.instPartialOrder.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) E (Subalgebra.instSetLikeSubalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)))) (Preorder.toLE.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (PartialOrder.toPreorder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (OmegaCompletePartialOrder.toPartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (CompleteLattice.instOmegaCompletePartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Submodule.completeLattice.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3))))))) (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.680 : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (x._@.Mathlib.Order.Hom.Basic._hyg.682 : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) => LE.le.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Preorder.toLE.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (PartialOrder.toPreorder.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (SetLike.instPartialOrder.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) E (Subalgebra.instSetLikeSubalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)))) x._@.Mathlib.Order.Hom.Basic._hyg.680 x._@.Mathlib.Order.Hom.Basic._hyg.682) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.695 : Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (x._@.Mathlib.Order.Hom.Basic._hyg.697 : Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) => LE.le.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Preorder.toLE.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (PartialOrder.toPreorder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (OmegaCompletePartialOrder.toPartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (CompleteLattice.instOmegaCompletePartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Submodule.completeLattice.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)))))) x._@.Mathlib.Order.Hom.Basic._hyg.695 x._@.Mathlib.Order.Hom.Basic._hyg.697) (RelEmbedding.instRelHomClassRelEmbedding.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.680 : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (x._@.Mathlib.Order.Hom.Basic._hyg.682 : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) => LE.le.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Preorder.toLE.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (PartialOrder.toPreorder.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (SetLike.instPartialOrder.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) E (Subalgebra.instSetLikeSubalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)))) x._@.Mathlib.Order.Hom.Basic._hyg.680 x._@.Mathlib.Order.Hom.Basic._hyg.682) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.695 : Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (x._@.Mathlib.Order.Hom.Basic._hyg.697 : Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) => LE.le.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Preorder.toLE.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (PartialOrder.toPreorder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (OmegaCompletePartialOrder.toPartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (CompleteLattice.instOmegaCompletePartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Submodule.completeLattice.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)))))) x._@.Mathlib.Order.Hom.Basic._hyg.695 x._@.Mathlib.Order.Hom.Basic._hyg.697))) (Subalgebra.toSubmodule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) S)) (Submodule.module.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (FunLike.coe.{succ u1, succ u1, succ u1} (OrderEmbedding.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Preorder.toLE.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (PartialOrder.toPreorder.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (SetLike.instPartialOrder.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) E (Subalgebra.instSetLikeSubalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)))) (Preorder.toLE.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (PartialOrder.toPreorder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (OmegaCompletePartialOrder.toPartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (CompleteLattice.instOmegaCompletePartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Submodule.completeLattice.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3))))))) (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (fun (_x : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) => (fun (x._@.Mathlib.Order.RelIso.Basic._hyg.867 : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) => Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) _x) (RelHomClass.toFunLike.{u1, u1, u1} (OrderEmbedding.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Preorder.toLE.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (PartialOrder.toPreorder.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (SetLike.instPartialOrder.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) E (Subalgebra.instSetLikeSubalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)))) (Preorder.toLE.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (PartialOrder.toPreorder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (OmegaCompletePartialOrder.toPartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (CompleteLattice.instOmegaCompletePartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Submodule.completeLattice.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3))))))) (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.680 : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (x._@.Mathlib.Order.Hom.Basic._hyg.682 : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) => LE.le.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Preorder.toLE.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (PartialOrder.toPreorder.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (SetLike.instPartialOrder.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) E (Subalgebra.instSetLikeSubalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)))) x._@.Mathlib.Order.Hom.Basic._hyg.680 x._@.Mathlib.Order.Hom.Basic._hyg.682) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.695 : Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (x._@.Mathlib.Order.Hom.Basic._hyg.697 : Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) => LE.le.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Preorder.toLE.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (PartialOrder.toPreorder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (OmegaCompletePartialOrder.toPartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (CompleteLattice.instOmegaCompletePartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Submodule.completeLattice.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)))))) x._@.Mathlib.Order.Hom.Basic._hyg.695 x._@.Mathlib.Order.Hom.Basic._hyg.697) (RelEmbedding.instRelHomClassRelEmbedding.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.680 : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (x._@.Mathlib.Order.Hom.Basic._hyg.682 : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) => LE.le.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Preorder.toLE.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (PartialOrder.toPreorder.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (SetLike.instPartialOrder.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) E (Subalgebra.instSetLikeSubalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)))) x._@.Mathlib.Order.Hom.Basic._hyg.680 x._@.Mathlib.Order.Hom.Basic._hyg.682) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.695 : Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (x._@.Mathlib.Order.Hom.Basic._hyg.697 : Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) => LE.le.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Preorder.toLE.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (PartialOrder.toPreorder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (OmegaCompletePartialOrder.toPartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (CompleteLattice.instOmegaCompletePartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Submodule.completeLattice.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)))))) x._@.Mathlib.Order.Hom.Basic._hyg.695 x._@.Mathlib.Order.Hom.Basic._hyg.697))) (Subalgebra.toSubmodule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) S))) (Module.rank.{u2, u1} F (Subtype.{succ u1} E (fun (x : E) => Membership.mem.{u1, u1} E (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (SetLike.instMembership.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) E (Subalgebra.instSetLikeSubalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) x S)) (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} (Subtype.{succ u1} E (fun (x : E) => Membership.mem.{u1, u1} E (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (SetLike.instMembership.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) E (Subalgebra.instSetLikeSubalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) x S)) (NonUnitalNonAssocRing.toNonUnitalNonAssocSemiring.{u1} (Subtype.{succ u1} E (fun (x : E) => Membership.mem.{u1, u1} E (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (SetLike.instMembership.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) E (Subalgebra.instSetLikeSubalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) x S)) (NonAssocRing.toNonUnitalNonAssocRing.{u1} (Subtype.{succ u1} E (fun (x : E) => Membership.mem.{u1, u1} E (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (SetLike.instMembership.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) E (Subalgebra.instSetLikeSubalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) x S)) (Ring.toNonAssocRing.{u1} (Subtype.{succ u1} E (fun (x : E) => Membership.mem.{u1, u1} E (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (SetLike.instMembership.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) E (Subalgebra.instSetLikeSubalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) x S)) (Subalgebra.toRing.{u2, u1} F E _inst_1 _inst_2 _inst_3 S))))) (Subalgebra.instModuleSubtypeMemSubalgebraInstMembershipInstSetLikeSubalgebraToSemiringToAddCommMonoidToNonUnitalNonAssocSemiringToNonAssocSemiringToNonAssocSemiringToSubsemiring.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3 S))
+  forall {F : Type.{u2}} {E : Type.{u1}} [_inst_1 : CommRing.{u2} F] [_inst_2 : Ring.{u1} E] [_inst_3 : Algebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2)] (S : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3), Eq.{succ (succ u1)} Cardinal.{u1} (Module.rank.{u2, u1} F (Subtype.{succ u1} E (fun (x : E) => Membership.mem.{u1, u1} E ((fun (x._@.Mathlib.Order.RelIso.Basic._hyg.869 : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) => Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) S) (SetLike.instMembership.{u1, u1} ((fun (x._@.Mathlib.Order.RelIso.Basic._hyg.869 : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) => Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) S) E (Submodule.setLike.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3))) x (FunLike.coe.{succ u1, succ u1, succ u1} (OrderEmbedding.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Preorder.toLE.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (PartialOrder.toPreorder.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (SetLike.instPartialOrder.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) E (Subalgebra.instSetLikeSubalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)))) (Preorder.toLE.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (PartialOrder.toPreorder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (OmegaCompletePartialOrder.toPartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (CompleteLattice.instOmegaCompletePartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Submodule.completeLattice.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3))))))) (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (fun (a : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) => (fun (x._@.Mathlib.Order.RelIso.Basic._hyg.869 : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) => Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) a) (RelHomClass.toFunLike.{u1, u1, u1} (OrderEmbedding.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Preorder.toLE.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (PartialOrder.toPreorder.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (SetLike.instPartialOrder.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) E (Subalgebra.instSetLikeSubalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)))) (Preorder.toLE.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (PartialOrder.toPreorder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (OmegaCompletePartialOrder.toPartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (CompleteLattice.instOmegaCompletePartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Submodule.completeLattice.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3))))))) (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.682 : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (x._@.Mathlib.Order.Hom.Basic._hyg.684 : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) => LE.le.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Preorder.toLE.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (PartialOrder.toPreorder.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (SetLike.instPartialOrder.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) E (Subalgebra.instSetLikeSubalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)))) x._@.Mathlib.Order.Hom.Basic._hyg.682 x._@.Mathlib.Order.Hom.Basic._hyg.684) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.697 : Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (x._@.Mathlib.Order.Hom.Basic._hyg.699 : Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) => LE.le.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Preorder.toLE.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (PartialOrder.toPreorder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (OmegaCompletePartialOrder.toPartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (CompleteLattice.instOmegaCompletePartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Submodule.completeLattice.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)))))) x._@.Mathlib.Order.Hom.Basic._hyg.697 x._@.Mathlib.Order.Hom.Basic._hyg.699) (RelEmbedding.instRelHomClassRelEmbedding.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.682 : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (x._@.Mathlib.Order.Hom.Basic._hyg.684 : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) => LE.le.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Preorder.toLE.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (PartialOrder.toPreorder.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (SetLike.instPartialOrder.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) E (Subalgebra.instSetLikeSubalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)))) x._@.Mathlib.Order.Hom.Basic._hyg.682 x._@.Mathlib.Order.Hom.Basic._hyg.684) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.697 : Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (x._@.Mathlib.Order.Hom.Basic._hyg.699 : Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) => LE.le.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Preorder.toLE.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (PartialOrder.toPreorder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (OmegaCompletePartialOrder.toPartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (CompleteLattice.instOmegaCompletePartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Submodule.completeLattice.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)))))) x._@.Mathlib.Order.Hom.Basic._hyg.697 x._@.Mathlib.Order.Hom.Basic._hyg.699))) (Subalgebra.toSubmodule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) S))) (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (Submodule.addCommMonoid.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (FunLike.coe.{succ u1, succ u1, succ u1} (OrderEmbedding.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Preorder.toLE.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (PartialOrder.toPreorder.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (SetLike.instPartialOrder.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) E (Subalgebra.instSetLikeSubalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)))) (Preorder.toLE.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (PartialOrder.toPreorder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (OmegaCompletePartialOrder.toPartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (CompleteLattice.instOmegaCompletePartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Submodule.completeLattice.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3))))))) (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (fun (_x : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) => (fun (x._@.Mathlib.Order.RelIso.Basic._hyg.869 : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) => Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) _x) (RelHomClass.toFunLike.{u1, u1, u1} (OrderEmbedding.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Preorder.toLE.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (PartialOrder.toPreorder.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (SetLike.instPartialOrder.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) E (Subalgebra.instSetLikeSubalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)))) (Preorder.toLE.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (PartialOrder.toPreorder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (OmegaCompletePartialOrder.toPartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (CompleteLattice.instOmegaCompletePartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Submodule.completeLattice.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3))))))) (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.682 : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (x._@.Mathlib.Order.Hom.Basic._hyg.684 : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) => LE.le.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Preorder.toLE.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (PartialOrder.toPreorder.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (SetLike.instPartialOrder.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) E (Subalgebra.instSetLikeSubalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)))) x._@.Mathlib.Order.Hom.Basic._hyg.682 x._@.Mathlib.Order.Hom.Basic._hyg.684) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.697 : Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (x._@.Mathlib.Order.Hom.Basic._hyg.699 : Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) => LE.le.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Preorder.toLE.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (PartialOrder.toPreorder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (OmegaCompletePartialOrder.toPartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (CompleteLattice.instOmegaCompletePartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Submodule.completeLattice.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)))))) x._@.Mathlib.Order.Hom.Basic._hyg.697 x._@.Mathlib.Order.Hom.Basic._hyg.699) (RelEmbedding.instRelHomClassRelEmbedding.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.682 : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (x._@.Mathlib.Order.Hom.Basic._hyg.684 : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) => LE.le.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Preorder.toLE.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (PartialOrder.toPreorder.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (SetLike.instPartialOrder.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) E (Subalgebra.instSetLikeSubalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)))) x._@.Mathlib.Order.Hom.Basic._hyg.682 x._@.Mathlib.Order.Hom.Basic._hyg.684) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.697 : Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (x._@.Mathlib.Order.Hom.Basic._hyg.699 : Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) => LE.le.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Preorder.toLE.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (PartialOrder.toPreorder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (OmegaCompletePartialOrder.toPartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (CompleteLattice.instOmegaCompletePartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Submodule.completeLattice.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)))))) x._@.Mathlib.Order.Hom.Basic._hyg.697 x._@.Mathlib.Order.Hom.Basic._hyg.699))) (Subalgebra.toSubmodule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) S)) (Submodule.module.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (FunLike.coe.{succ u1, succ u1, succ u1} (OrderEmbedding.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Preorder.toLE.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (PartialOrder.toPreorder.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (SetLike.instPartialOrder.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) E (Subalgebra.instSetLikeSubalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)))) (Preorder.toLE.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (PartialOrder.toPreorder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (OmegaCompletePartialOrder.toPartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (CompleteLattice.instOmegaCompletePartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Submodule.completeLattice.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3))))))) (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (fun (_x : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) => (fun (x._@.Mathlib.Order.RelIso.Basic._hyg.869 : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) => Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) _x) (RelHomClass.toFunLike.{u1, u1, u1} (OrderEmbedding.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Preorder.toLE.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (PartialOrder.toPreorder.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (SetLike.instPartialOrder.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) E (Subalgebra.instSetLikeSubalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)))) (Preorder.toLE.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (PartialOrder.toPreorder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (OmegaCompletePartialOrder.toPartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (CompleteLattice.instOmegaCompletePartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Submodule.completeLattice.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3))))))) (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.682 : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (x._@.Mathlib.Order.Hom.Basic._hyg.684 : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) => LE.le.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Preorder.toLE.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (PartialOrder.toPreorder.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (SetLike.instPartialOrder.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) E (Subalgebra.instSetLikeSubalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)))) x._@.Mathlib.Order.Hom.Basic._hyg.682 x._@.Mathlib.Order.Hom.Basic._hyg.684) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.697 : Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (x._@.Mathlib.Order.Hom.Basic._hyg.699 : Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) => LE.le.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Preorder.toLE.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (PartialOrder.toPreorder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (OmegaCompletePartialOrder.toPartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (CompleteLattice.instOmegaCompletePartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Submodule.completeLattice.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)))))) x._@.Mathlib.Order.Hom.Basic._hyg.697 x._@.Mathlib.Order.Hom.Basic._hyg.699) (RelEmbedding.instRelHomClassRelEmbedding.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.682 : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (x._@.Mathlib.Order.Hom.Basic._hyg.684 : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) => LE.le.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Preorder.toLE.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (PartialOrder.toPreorder.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (SetLike.instPartialOrder.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) E (Subalgebra.instSetLikeSubalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)))) x._@.Mathlib.Order.Hom.Basic._hyg.682 x._@.Mathlib.Order.Hom.Basic._hyg.684) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.697 : Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (x._@.Mathlib.Order.Hom.Basic._hyg.699 : Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) => LE.le.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Preorder.toLE.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (PartialOrder.toPreorder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (OmegaCompletePartialOrder.toPartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (CompleteLattice.instOmegaCompletePartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Submodule.completeLattice.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)))))) x._@.Mathlib.Order.Hom.Basic._hyg.697 x._@.Mathlib.Order.Hom.Basic._hyg.699))) (Subalgebra.toSubmodule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) S))) (Module.rank.{u2, u1} F (Subtype.{succ u1} E (fun (x : E) => Membership.mem.{u1, u1} E (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (SetLike.instMembership.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) E (Subalgebra.instSetLikeSubalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) x S)) (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} (Subtype.{succ u1} E (fun (x : E) => Membership.mem.{u1, u1} E (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (SetLike.instMembership.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) E (Subalgebra.instSetLikeSubalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) x S)) (NonUnitalNonAssocRing.toNonUnitalNonAssocSemiring.{u1} (Subtype.{succ u1} E (fun (x : E) => Membership.mem.{u1, u1} E (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (SetLike.instMembership.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) E (Subalgebra.instSetLikeSubalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) x S)) (NonAssocRing.toNonUnitalNonAssocRing.{u1} (Subtype.{succ u1} E (fun (x : E) => Membership.mem.{u1, u1} E (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (SetLike.instMembership.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) E (Subalgebra.instSetLikeSubalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) x S)) (Ring.toNonAssocRing.{u1} (Subtype.{succ u1} E (fun (x : E) => Membership.mem.{u1, u1} E (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (SetLike.instMembership.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) E (Subalgebra.instSetLikeSubalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) x S)) (Subalgebra.toRing.{u2, u1} F E _inst_1 _inst_2 _inst_3 S))))) (Subalgebra.instModuleSubtypeMemSubalgebraInstMembershipInstSetLikeSubalgebraToSemiringToAddCommMonoidToNonUnitalNonAssocSemiringToNonAssocSemiringToNonAssocSemiringToSubsemiring.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3 S))
 Case conversion may be inaccurate. Consider using '#align subalgebra.rank_to_submodule Subalgebra.rank_toSubmoduleₓ'. -/
 @[simp]
 theorem Subalgebra.rank_toSubmodule (S : Subalgebra F E) :
@@ -771,7 +771,7 @@ theorem Subalgebra.rank_toSubmodule (S : Subalgebra F E) :
 lean 3 declaration is
   forall {F : Type.{u1}} {E : Type.{u2}} [_inst_1 : CommRing.{u1} F] [_inst_2 : Ring.{u2} E] [_inst_3 : Algebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2)] (S : Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3), Eq.{1} Nat (FiniteDimensional.finrank.{u1, u2} F (coeSort.{succ u2, succ (succ u2)} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) Type.{u2} (SetLike.hasCoeToSort.{u2, u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) E (Submodule.setLike.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3))) (coeFn.{succ u2, succ u2} (OrderEmbedding.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (Preorder.toHasLe.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (PartialOrder.toPreorder.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (SetLike.partialOrder.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) E (Subalgebra.setLike.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)))) (Preorder.toHasLe.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (PartialOrder.toPreorder.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (CompleteSemilatticeInf.toPartialOrder.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (CompleteLattice.toCompleteSemilatticeInf.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (Submodule.completeLattice.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3))))))) (fun (_x : RelEmbedding.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (LE.le.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (Preorder.toHasLe.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (PartialOrder.toPreorder.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (SetLike.partialOrder.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) E (Subalgebra.setLike.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3))))) (LE.le.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (Preorder.toHasLe.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (PartialOrder.toPreorder.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (CompleteSemilatticeInf.toPartialOrder.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (CompleteLattice.toCompleteSemilatticeInf.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (Submodule.completeLattice.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)))))))) => (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) -> (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3))) (RelEmbedding.hasCoeToFun.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (LE.le.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (Preorder.toHasLe.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (PartialOrder.toPreorder.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (SetLike.partialOrder.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) E (Subalgebra.setLike.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3))))) (LE.le.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (Preorder.toHasLe.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (PartialOrder.toPreorder.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (CompleteSemilatticeInf.toPartialOrder.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (CompleteLattice.toCompleteSemilatticeInf.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (Submodule.completeLattice.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)))))))) (Subalgebra.toSubmodule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) S)) (Ring.toSemiring.{u1} F (CommRing.toRing.{u1} F _inst_1)) (Submodule.addCommGroup.{u1, u2} F E (CommRing.toRing.{u1} F _inst_1) (NonUnitalNonAssocRing.toAddCommGroup.{u2} E (NonAssocRing.toNonUnitalNonAssocRing.{u2} E (Ring.toNonAssocRing.{u2} E _inst_2))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (coeFn.{succ u2, succ u2} (OrderEmbedding.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (Preorder.toHasLe.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (PartialOrder.toPreorder.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (SetLike.partialOrder.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) E (Subalgebra.setLike.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)))) (Preorder.toHasLe.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (PartialOrder.toPreorder.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (CompleteSemilatticeInf.toPartialOrder.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (CompleteLattice.toCompleteSemilatticeInf.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (Submodule.completeLattice.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3))))))) (fun (_x : RelEmbedding.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (LE.le.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (Preorder.toHasLe.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (PartialOrder.toPreorder.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (SetLike.partialOrder.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) E (Subalgebra.setLike.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3))))) (LE.le.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (Preorder.toHasLe.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (PartialOrder.toPreorder.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (CompleteSemilatticeInf.toPartialOrder.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (CompleteLattice.toCompleteSemilatticeInf.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (Submodule.completeLattice.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)))))))) => (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) -> (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3))) (RelEmbedding.hasCoeToFun.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (LE.le.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (Preorder.toHasLe.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (PartialOrder.toPreorder.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (SetLike.partialOrder.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) E (Subalgebra.setLike.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3))))) (LE.le.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (Preorder.toHasLe.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (PartialOrder.toPreorder.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (CompleteSemilatticeInf.toPartialOrder.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (CompleteLattice.toCompleteSemilatticeInf.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (Submodule.completeLattice.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)))))))) (Subalgebra.toSubmodule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) S)) (Submodule.module.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (coeFn.{succ u2, succ u2} (OrderEmbedding.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (Preorder.toHasLe.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (PartialOrder.toPreorder.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (SetLike.partialOrder.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) E (Subalgebra.setLike.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)))) (Preorder.toHasLe.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (PartialOrder.toPreorder.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (CompleteSemilatticeInf.toPartialOrder.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (CompleteLattice.toCompleteSemilatticeInf.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (Submodule.completeLattice.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3))))))) (fun (_x : RelEmbedding.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (LE.le.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (Preorder.toHasLe.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (PartialOrder.toPreorder.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (SetLike.partialOrder.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) E (Subalgebra.setLike.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3))))) (LE.le.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (Preorder.toHasLe.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (PartialOrder.toPreorder.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (CompleteSemilatticeInf.toPartialOrder.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (CompleteLattice.toCompleteSemilatticeInf.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (Submodule.completeLattice.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)))))))) => (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) -> (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3))) (RelEmbedding.hasCoeToFun.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (LE.le.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (Preorder.toHasLe.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (PartialOrder.toPreorder.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (SetLike.partialOrder.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) E (Subalgebra.setLike.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3))))) (LE.le.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (Preorder.toHasLe.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (PartialOrder.toPreorder.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (CompleteSemilatticeInf.toPartialOrder.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (CompleteLattice.toCompleteSemilatticeInf.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (Submodule.completeLattice.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)))))))) (Subalgebra.toSubmodule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) S))) (FiniteDimensional.finrank.{u1, u2} F (coeSort.{succ u2, succ (succ u2)} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) Type.{u2} (SetLike.hasCoeToSort.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) E (Subalgebra.setLike.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) S) (Ring.toSemiring.{u1} F (CommRing.toRing.{u1} F _inst_1)) (NonUnitalNonAssocRing.toAddCommGroup.{u2} (coeSort.{succ u2, succ (succ u2)} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) Type.{u2} (SetLike.hasCoeToSort.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) E (Subalgebra.setLike.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) S) (NonAssocRing.toNonUnitalNonAssocRing.{u2} (coeSort.{succ u2, succ (succ u2)} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) Type.{u2} (SetLike.hasCoeToSort.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) E (Subalgebra.setLike.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) S) (Ring.toNonAssocRing.{u2} (coeSort.{succ u2, succ (succ u2)} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) Type.{u2} (SetLike.hasCoeToSort.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) E (Subalgebra.setLike.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) S) (Subalgebra.toRing.{u1, u2} F E _inst_1 _inst_2 _inst_3 S)))) (Subalgebra.module.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3 S))
 but is expected to have type
-  forall {F : Type.{u2}} {E : Type.{u1}} [_inst_1 : CommRing.{u2} F] [_inst_2 : Ring.{u1} E] [_inst_3 : Algebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2)] (S : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3), Eq.{1} Nat (FiniteDimensional.finrank.{u2, u1} F (Subtype.{succ u1} E (fun (x : E) => Membership.mem.{u1, u1} E ((fun (x._@.Mathlib.Order.RelIso.Basic._hyg.867 : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) => Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) S) (SetLike.instMembership.{u1, u1} ((fun (x._@.Mathlib.Order.RelIso.Basic._hyg.867 : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) => Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) S) E (Submodule.setLike.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3))) x (FunLike.coe.{succ u1, succ u1, succ u1} (OrderEmbedding.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Preorder.toLE.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (PartialOrder.toPreorder.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (SetLike.instPartialOrder.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) E (Subalgebra.instSetLikeSubalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)))) (Preorder.toLE.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (PartialOrder.toPreorder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (OmegaCompletePartialOrder.toPartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (CompleteLattice.instOmegaCompletePartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Submodule.completeLattice.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3))))))) (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (fun (a : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) => (fun (x._@.Mathlib.Order.RelIso.Basic._hyg.867 : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) => Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) a) (RelHomClass.toFunLike.{u1, u1, u1} (OrderEmbedding.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Preorder.toLE.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (PartialOrder.toPreorder.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (SetLike.instPartialOrder.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) E (Subalgebra.instSetLikeSubalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)))) (Preorder.toLE.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (PartialOrder.toPreorder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (OmegaCompletePartialOrder.toPartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (CompleteLattice.instOmegaCompletePartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Submodule.completeLattice.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3))))))) (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.680 : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (x._@.Mathlib.Order.Hom.Basic._hyg.682 : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) => LE.le.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Preorder.toLE.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (PartialOrder.toPreorder.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (SetLike.instPartialOrder.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) E (Subalgebra.instSetLikeSubalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)))) x._@.Mathlib.Order.Hom.Basic._hyg.680 x._@.Mathlib.Order.Hom.Basic._hyg.682) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.695 : Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (x._@.Mathlib.Order.Hom.Basic._hyg.697 : Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) => LE.le.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Preorder.toLE.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (PartialOrder.toPreorder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (OmegaCompletePartialOrder.toPartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (CompleteLattice.instOmegaCompletePartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Submodule.completeLattice.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)))))) x._@.Mathlib.Order.Hom.Basic._hyg.695 x._@.Mathlib.Order.Hom.Basic._hyg.697) (RelEmbedding.instRelHomClassRelEmbedding.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.680 : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (x._@.Mathlib.Order.Hom.Basic._hyg.682 : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) => LE.le.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Preorder.toLE.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (PartialOrder.toPreorder.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (SetLike.instPartialOrder.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) E (Subalgebra.instSetLikeSubalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)))) x._@.Mathlib.Order.Hom.Basic._hyg.680 x._@.Mathlib.Order.Hom.Basic._hyg.682) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.695 : Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (x._@.Mathlib.Order.Hom.Basic._hyg.697 : Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) => LE.le.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Preorder.toLE.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (PartialOrder.toPreorder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (OmegaCompletePartialOrder.toPartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (CompleteLattice.instOmegaCompletePartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Submodule.completeLattice.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)))))) x._@.Mathlib.Order.Hom.Basic._hyg.695 x._@.Mathlib.Order.Hom.Basic._hyg.697))) (Subalgebra.toSubmodule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) S))) (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (Submodule.addCommGroup.{u2, u1} F E (CommRing.toRing.{u2} F _inst_1) (Ring.toAddCommGroup.{u1} E _inst_2) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (FunLike.coe.{succ u1, succ u1, succ u1} (OrderEmbedding.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Preorder.toLE.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (PartialOrder.toPreorder.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (SetLike.instPartialOrder.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) E (Subalgebra.instSetLikeSubalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)))) (Preorder.toLE.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (PartialOrder.toPreorder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (OmegaCompletePartialOrder.toPartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (CompleteLattice.instOmegaCompletePartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Submodule.completeLattice.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3))))))) (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (fun (_x : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) => (fun (x._@.Mathlib.Order.RelIso.Basic._hyg.867 : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) => Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) _x) (RelHomClass.toFunLike.{u1, u1, u1} (OrderEmbedding.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Preorder.toLE.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (PartialOrder.toPreorder.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (SetLike.instPartialOrder.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) E (Subalgebra.instSetLikeSubalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)))) (Preorder.toLE.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (PartialOrder.toPreorder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (OmegaCompletePartialOrder.toPartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (CompleteLattice.instOmegaCompletePartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Submodule.completeLattice.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3))))))) (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.680 : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (x._@.Mathlib.Order.Hom.Basic._hyg.682 : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) => LE.le.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Preorder.toLE.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (PartialOrder.toPreorder.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (SetLike.instPartialOrder.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) E (Subalgebra.instSetLikeSubalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)))) x._@.Mathlib.Order.Hom.Basic._hyg.680 x._@.Mathlib.Order.Hom.Basic._hyg.682) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.695 : Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (x._@.Mathlib.Order.Hom.Basic._hyg.697 : Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) => LE.le.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Preorder.toLE.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (PartialOrder.toPreorder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (OmegaCompletePartialOrder.toPartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (CompleteLattice.instOmegaCompletePartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Submodule.completeLattice.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)))))) x._@.Mathlib.Order.Hom.Basic._hyg.695 x._@.Mathlib.Order.Hom.Basic._hyg.697) (RelEmbedding.instRelHomClassRelEmbedding.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.680 : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (x._@.Mathlib.Order.Hom.Basic._hyg.682 : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) => LE.le.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Preorder.toLE.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (PartialOrder.toPreorder.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (SetLike.instPartialOrder.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) E (Subalgebra.instSetLikeSubalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)))) x._@.Mathlib.Order.Hom.Basic._hyg.680 x._@.Mathlib.Order.Hom.Basic._hyg.682) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.695 : Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (x._@.Mathlib.Order.Hom.Basic._hyg.697 : Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) => LE.le.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Preorder.toLE.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (PartialOrder.toPreorder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (OmegaCompletePartialOrder.toPartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (CompleteLattice.instOmegaCompletePartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Submodule.completeLattice.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)))))) x._@.Mathlib.Order.Hom.Basic._hyg.695 x._@.Mathlib.Order.Hom.Basic._hyg.697))) (Subalgebra.toSubmodule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) S)) (Submodule.module.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (FunLike.coe.{succ u1, succ u1, succ u1} (OrderEmbedding.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Preorder.toLE.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (PartialOrder.toPreorder.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (SetLike.instPartialOrder.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) E (Subalgebra.instSetLikeSubalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)))) (Preorder.toLE.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (PartialOrder.toPreorder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (OmegaCompletePartialOrder.toPartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (CompleteLattice.instOmegaCompletePartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Submodule.completeLattice.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3))))))) (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (fun (_x : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) => (fun (x._@.Mathlib.Order.RelIso.Basic._hyg.867 : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) => Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) _x) (RelHomClass.toFunLike.{u1, u1, u1} (OrderEmbedding.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Preorder.toLE.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (PartialOrder.toPreorder.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (SetLike.instPartialOrder.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) E (Subalgebra.instSetLikeSubalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)))) (Preorder.toLE.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (PartialOrder.toPreorder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (OmegaCompletePartialOrder.toPartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (CompleteLattice.instOmegaCompletePartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Submodule.completeLattice.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3))))))) (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.680 : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (x._@.Mathlib.Order.Hom.Basic._hyg.682 : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) => LE.le.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Preorder.toLE.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (PartialOrder.toPreorder.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (SetLike.instPartialOrder.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) E (Subalgebra.instSetLikeSubalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)))) x._@.Mathlib.Order.Hom.Basic._hyg.680 x._@.Mathlib.Order.Hom.Basic._hyg.682) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.695 : Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (x._@.Mathlib.Order.Hom.Basic._hyg.697 : Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) => LE.le.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Preorder.toLE.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (PartialOrder.toPreorder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (OmegaCompletePartialOrder.toPartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (CompleteLattice.instOmegaCompletePartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Submodule.completeLattice.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)))))) x._@.Mathlib.Order.Hom.Basic._hyg.695 x._@.Mathlib.Order.Hom.Basic._hyg.697) (RelEmbedding.instRelHomClassRelEmbedding.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.680 : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (x._@.Mathlib.Order.Hom.Basic._hyg.682 : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) => LE.le.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Preorder.toLE.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (PartialOrder.toPreorder.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (SetLike.instPartialOrder.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) E (Subalgebra.instSetLikeSubalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)))) x._@.Mathlib.Order.Hom.Basic._hyg.680 x._@.Mathlib.Order.Hom.Basic._hyg.682) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.695 : Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (x._@.Mathlib.Order.Hom.Basic._hyg.697 : Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) => LE.le.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Preorder.toLE.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (PartialOrder.toPreorder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (OmegaCompletePartialOrder.toPartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (CompleteLattice.instOmegaCompletePartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Submodule.completeLattice.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)))))) x._@.Mathlib.Order.Hom.Basic._hyg.695 x._@.Mathlib.Order.Hom.Basic._hyg.697))) (Subalgebra.toSubmodule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) S))) (FiniteDimensional.finrank.{u2, u1} F (Subtype.{succ u1} E (fun (x : E) => Membership.mem.{u1, u1} E (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (SetLike.instMembership.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) E (Subalgebra.instSetLikeSubalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) x S)) (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (Ring.toAddCommGroup.{u1} (Subtype.{succ u1} E (fun (x : E) => Membership.mem.{u1, u1} E (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (SetLike.instMembership.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) E (Subalgebra.instSetLikeSubalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) x S)) (Subalgebra.toRing.{u2, u1} F E _inst_1 _inst_2 _inst_3 S)) (Subalgebra.instModuleSubtypeMemSubalgebraInstMembershipInstSetLikeSubalgebraToSemiringToAddCommMonoidToNonUnitalNonAssocSemiringToNonAssocSemiringToNonAssocSemiringToSubsemiring.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3 S))
+  forall {F : Type.{u2}} {E : Type.{u1}} [_inst_1 : CommRing.{u2} F] [_inst_2 : Ring.{u1} E] [_inst_3 : Algebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2)] (S : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3), Eq.{1} Nat (FiniteDimensional.finrank.{u2, u1} F (Subtype.{succ u1} E (fun (x : E) => Membership.mem.{u1, u1} E ((fun (x._@.Mathlib.Order.RelIso.Basic._hyg.869 : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) => Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) S) (SetLike.instMembership.{u1, u1} ((fun (x._@.Mathlib.Order.RelIso.Basic._hyg.869 : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) => Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) S) E (Submodule.setLike.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3))) x (FunLike.coe.{succ u1, succ u1, succ u1} (OrderEmbedding.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Preorder.toLE.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (PartialOrder.toPreorder.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (SetLike.instPartialOrder.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) E (Subalgebra.instSetLikeSubalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)))) (Preorder.toLE.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (PartialOrder.toPreorder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (OmegaCompletePartialOrder.toPartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (CompleteLattice.instOmegaCompletePartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Submodule.completeLattice.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3))))))) (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (fun (a : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) => (fun (x._@.Mathlib.Order.RelIso.Basic._hyg.869 : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) => Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) a) (RelHomClass.toFunLike.{u1, u1, u1} (OrderEmbedding.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Preorder.toLE.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (PartialOrder.toPreorder.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (SetLike.instPartialOrder.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) E (Subalgebra.instSetLikeSubalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)))) (Preorder.toLE.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (PartialOrder.toPreorder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (OmegaCompletePartialOrder.toPartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (CompleteLattice.instOmegaCompletePartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Submodule.completeLattice.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3))))))) (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.682 : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (x._@.Mathlib.Order.Hom.Basic._hyg.684 : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) => LE.le.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Preorder.toLE.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (PartialOrder.toPreorder.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (SetLike.instPartialOrder.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) E (Subalgebra.instSetLikeSubalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)))) x._@.Mathlib.Order.Hom.Basic._hyg.682 x._@.Mathlib.Order.Hom.Basic._hyg.684) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.697 : Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (x._@.Mathlib.Order.Hom.Basic._hyg.699 : Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) => LE.le.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Preorder.toLE.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (PartialOrder.toPreorder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (OmegaCompletePartialOrder.toPartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (CompleteLattice.instOmegaCompletePartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Submodule.completeLattice.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)))))) x._@.Mathlib.Order.Hom.Basic._hyg.697 x._@.Mathlib.Order.Hom.Basic._hyg.699) (RelEmbedding.instRelHomClassRelEmbedding.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.682 : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (x._@.Mathlib.Order.Hom.Basic._hyg.684 : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) => LE.le.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Preorder.toLE.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (PartialOrder.toPreorder.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (SetLike.instPartialOrder.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) E (Subalgebra.instSetLikeSubalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)))) x._@.Mathlib.Order.Hom.Basic._hyg.682 x._@.Mathlib.Order.Hom.Basic._hyg.684) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.697 : Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (x._@.Mathlib.Order.Hom.Basic._hyg.699 : Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) => LE.le.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Preorder.toLE.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (PartialOrder.toPreorder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (OmegaCompletePartialOrder.toPartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (CompleteLattice.instOmegaCompletePartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Submodule.completeLattice.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)))))) x._@.Mathlib.Order.Hom.Basic._hyg.697 x._@.Mathlib.Order.Hom.Basic._hyg.699))) (Subalgebra.toSubmodule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) S))) (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (Submodule.addCommGroup.{u2, u1} F E (CommRing.toRing.{u2} F _inst_1) (Ring.toAddCommGroup.{u1} E _inst_2) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (FunLike.coe.{succ u1, succ u1, succ u1} (OrderEmbedding.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Preorder.toLE.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (PartialOrder.toPreorder.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (SetLike.instPartialOrder.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) E (Subalgebra.instSetLikeSubalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)))) (Preorder.toLE.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (PartialOrder.toPreorder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (OmegaCompletePartialOrder.toPartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (CompleteLattice.instOmegaCompletePartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Submodule.completeLattice.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3))))))) (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (fun (_x : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) => (fun (x._@.Mathlib.Order.RelIso.Basic._hyg.869 : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) => Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) _x) (RelHomClass.toFunLike.{u1, u1, u1} (OrderEmbedding.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Preorder.toLE.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (PartialOrder.toPreorder.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (SetLike.instPartialOrder.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) E (Subalgebra.instSetLikeSubalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)))) (Preorder.toLE.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (PartialOrder.toPreorder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (OmegaCompletePartialOrder.toPartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (CompleteLattice.instOmegaCompletePartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Submodule.completeLattice.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3))))))) (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.682 : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (x._@.Mathlib.Order.Hom.Basic._hyg.684 : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) => LE.le.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Preorder.toLE.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (PartialOrder.toPreorder.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (SetLike.instPartialOrder.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) E (Subalgebra.instSetLikeSubalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)))) x._@.Mathlib.Order.Hom.Basic._hyg.682 x._@.Mathlib.Order.Hom.Basic._hyg.684) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.697 : Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (x._@.Mathlib.Order.Hom.Basic._hyg.699 : Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) => LE.le.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Preorder.toLE.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (PartialOrder.toPreorder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (OmegaCompletePartialOrder.toPartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (CompleteLattice.instOmegaCompletePartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Submodule.completeLattice.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)))))) x._@.Mathlib.Order.Hom.Basic._hyg.697 x._@.Mathlib.Order.Hom.Basic._hyg.699) (RelEmbedding.instRelHomClassRelEmbedding.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.682 : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (x._@.Mathlib.Order.Hom.Basic._hyg.684 : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) => LE.le.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Preorder.toLE.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (PartialOrder.toPreorder.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (SetLike.instPartialOrder.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) E (Subalgebra.instSetLikeSubalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)))) x._@.Mathlib.Order.Hom.Basic._hyg.682 x._@.Mathlib.Order.Hom.Basic._hyg.684) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.697 : Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (x._@.Mathlib.Order.Hom.Basic._hyg.699 : Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) => LE.le.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Preorder.toLE.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (PartialOrder.toPreorder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (OmegaCompletePartialOrder.toPartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (CompleteLattice.instOmegaCompletePartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Submodule.completeLattice.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)))))) x._@.Mathlib.Order.Hom.Basic._hyg.697 x._@.Mathlib.Order.Hom.Basic._hyg.699))) (Subalgebra.toSubmodule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) S)) (Submodule.module.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (FunLike.coe.{succ u1, succ u1, succ u1} (OrderEmbedding.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Preorder.toLE.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (PartialOrder.toPreorder.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (SetLike.instPartialOrder.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) E (Subalgebra.instSetLikeSubalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)))) (Preorder.toLE.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (PartialOrder.toPreorder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (OmegaCompletePartialOrder.toPartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (CompleteLattice.instOmegaCompletePartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Submodule.completeLattice.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3))))))) (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (fun (_x : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) => (fun (x._@.Mathlib.Order.RelIso.Basic._hyg.869 : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) => Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) _x) (RelHomClass.toFunLike.{u1, u1, u1} (OrderEmbedding.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Preorder.toLE.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (PartialOrder.toPreorder.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (SetLike.instPartialOrder.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) E (Subalgebra.instSetLikeSubalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)))) (Preorder.toLE.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (PartialOrder.toPreorder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (OmegaCompletePartialOrder.toPartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (CompleteLattice.instOmegaCompletePartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Submodule.completeLattice.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3))))))) (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.682 : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (x._@.Mathlib.Order.Hom.Basic._hyg.684 : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) => LE.le.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Preorder.toLE.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (PartialOrder.toPreorder.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (SetLike.instPartialOrder.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) E (Subalgebra.instSetLikeSubalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)))) x._@.Mathlib.Order.Hom.Basic._hyg.682 x._@.Mathlib.Order.Hom.Basic._hyg.684) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.697 : Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (x._@.Mathlib.Order.Hom.Basic._hyg.699 : Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) => LE.le.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Preorder.toLE.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (PartialOrder.toPreorder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (OmegaCompletePartialOrder.toPartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (CompleteLattice.instOmegaCompletePartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Submodule.completeLattice.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)))))) x._@.Mathlib.Order.Hom.Basic._hyg.697 x._@.Mathlib.Order.Hom.Basic._hyg.699) (RelEmbedding.instRelHomClassRelEmbedding.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.682 : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (x._@.Mathlib.Order.Hom.Basic._hyg.684 : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) => LE.le.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Preorder.toLE.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (PartialOrder.toPreorder.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (SetLike.instPartialOrder.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) E (Subalgebra.instSetLikeSubalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)))) x._@.Mathlib.Order.Hom.Basic._hyg.682 x._@.Mathlib.Order.Hom.Basic._hyg.684) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.697 : Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (x._@.Mathlib.Order.Hom.Basic._hyg.699 : Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) => LE.le.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Preorder.toLE.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (PartialOrder.toPreorder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (OmegaCompletePartialOrder.toPartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (CompleteLattice.instOmegaCompletePartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Submodule.completeLattice.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)))))) x._@.Mathlib.Order.Hom.Basic._hyg.697 x._@.Mathlib.Order.Hom.Basic._hyg.699))) (Subalgebra.toSubmodule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) S))) (FiniteDimensional.finrank.{u2, u1} F (Subtype.{succ u1} E (fun (x : E) => Membership.mem.{u1, u1} E (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (SetLike.instMembership.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) E (Subalgebra.instSetLikeSubalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) x S)) (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (Ring.toAddCommGroup.{u1} (Subtype.{succ u1} E (fun (x : E) => Membership.mem.{u1, u1} E (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (SetLike.instMembership.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) E (Subalgebra.instSetLikeSubalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) x S)) (Subalgebra.toRing.{u2, u1} F E _inst_1 _inst_2 _inst_3 S)) (Subalgebra.instModuleSubtypeMemSubalgebraInstMembershipInstSetLikeSubalgebraToSemiringToAddCommMonoidToNonUnitalNonAssocSemiringToNonAssocSemiringToNonAssocSemiringToSubsemiring.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3 S))
 Case conversion may be inaccurate. Consider using '#align subalgebra.finrank_to_submodule Subalgebra.finrank_toSubmoduleₓ'. -/
 @[simp]
 theorem Subalgebra.finrank_toSubmodule (S : Subalgebra F E) :
Diff
@@ -321,7 +321,7 @@ theorem finrank_eq (f : M ≃ₗ[R] M₂) : finrank R M = finrank R M₂ :=
 lean 3 declaration is
   forall {R : Type.{u1}} {M : Type.{u2}} {M₂ : Type.{u3}} [_inst_6 : Ring.{u1} R] [_inst_7 : AddCommGroup.{u2} M] [_inst_8 : AddCommGroup.{u3} M₂] [_inst_9 : Module.{u1, u2} R M (Ring.toSemiring.{u1} R _inst_6) (AddCommGroup.toAddCommMonoid.{u2} M _inst_7)] [_inst_10 : Module.{u1, u3} R M₂ (Ring.toSemiring.{u1} R _inst_6) (AddCommGroup.toAddCommMonoid.{u3} M₂ _inst_8)] (f : LinearEquiv.{u1, u1, u2, u3} R R (Ring.toSemiring.{u1} R _inst_6) (Ring.toSemiring.{u1} R _inst_6) (RingHom.id.{u1} R (Semiring.toNonAssocSemiring.{u1} R (Ring.toSemiring.{u1} R _inst_6))) (RingHom.id.{u1} R (Semiring.toNonAssocSemiring.{u1} R (Ring.toSemiring.{u1} R _inst_6))) (RingHomInvPair.ids.{u1} R (Ring.toSemiring.{u1} R _inst_6)) (RingHomInvPair.ids.{u1} R (Ring.toSemiring.{u1} R _inst_6)) M M₂ (AddCommGroup.toAddCommMonoid.{u2} M _inst_7) (AddCommGroup.toAddCommMonoid.{u3} M₂ _inst_8) _inst_9 _inst_10) (p : Submodule.{u1, u2} R M (Ring.toSemiring.{u1} R _inst_6) (AddCommGroup.toAddCommMonoid.{u2} M _inst_7) _inst_9), Eq.{1} Nat (FiniteDimensional.finrank.{u1, u3} R (coeSort.{succ u3, succ (succ u3)} (Submodule.{u1, u3} R M₂ (Ring.toSemiring.{u1} R _inst_6) (AddCommGroup.toAddCommMonoid.{u3} M₂ _inst_8) _inst_10) Type.{u3} (SetLike.hasCoeToSort.{u3, u3} (Submodule.{u1, u3} R M₂ (Ring.toSemiring.{u1} R _inst_6) (AddCommGroup.toAddCommMonoid.{u3} M₂ _inst_8) _inst_10) M₂ (Submodule.setLike.{u1, u3} R M₂ (Ring.toSemiring.{u1} R _inst_6) (AddCommGroup.toAddCommMonoid.{u3} M₂ _inst_8) _inst_10)) (Submodule.map.{u1, u1, u2, u3, max u2 u3} R R M M₂ (Ring.toSemiring.{u1} R _inst_6) (Ring.toSemiring.{u1} R _inst_6) (AddCommGroup.toAddCommMonoid.{u2} M _inst_7) (AddCommGroup.toAddCommMonoid.{u3} M₂ _inst_8) _inst_9 _inst_10 (RingHom.id.{u1} R (Semiring.toNonAssocSemiring.{u1} R (Ring.toSemiring.{u1} R _inst_6))) (RingHomSurjective.ids.{u1} R (Ring.toSemiring.{u1} R _inst_6)) (LinearMap.{u1, u1, u2, u3} R R (Ring.toSemiring.{u1} R _inst_6) (Ring.toSemiring.{u1} R _inst_6) (RingHom.id.{u1} R (Semiring.toNonAssocSemiring.{u1} R (Ring.toSemiring.{u1} R _inst_6))) M M₂ (AddCommGroup.toAddCommMonoid.{u2} M _inst_7) (AddCommGroup.toAddCommMonoid.{u3} M₂ _inst_8) _inst_9 _inst_10) (LinearMap.semilinearMapClass.{u1, u1, u2, u3} R R M M₂ (Ring.toSemiring.{u1} R _inst_6) (Ring.toSemiring.{u1} R _inst_6) (AddCommGroup.toAddCommMonoid.{u2} M _inst_7) (AddCommGroup.toAddCommMonoid.{u3} M₂ _inst_8) _inst_9 _inst_10 (RingHom.id.{u1} R (Semiring.toNonAssocSemiring.{u1} R (Ring.toSemiring.{u1} R _inst_6)))) ((fun (a : Sort.{max (succ u2) (succ u3)}) (b : Sort.{max (succ u2) (succ u3)}) [self : HasLiftT.{max (succ u2) (succ u3), max (succ u2) (succ u3)} a b] => self.0) (LinearEquiv.{u1, u1, u2, u3} R R (Ring.toSemiring.{u1} R _inst_6) (Ring.toSemiring.{u1} R _inst_6) (RingHom.id.{u1} R (Semiring.toNonAssocSemiring.{u1} R (Ring.toSemiring.{u1} R _inst_6))) (RingHom.id.{u1} R (Semiring.toNonAssocSemiring.{u1} R (Ring.toSemiring.{u1} R _inst_6))) (RingHomInvPair.ids.{u1} R (Ring.toSemiring.{u1} R _inst_6)) (RingHomInvPair.ids.{u1} R (Ring.toSemiring.{u1} R _inst_6)) M M₂ (AddCommGroup.toAddCommMonoid.{u2} M _inst_7) (AddCommGroup.toAddCommMonoid.{u3} M₂ _inst_8) _inst_9 _inst_10) (LinearMap.{u1, u1, u2, u3} R R (Ring.toSemiring.{u1} R _inst_6) (Ring.toSemiring.{u1} R _inst_6) (RingHom.id.{u1} R (Semiring.toNonAssocSemiring.{u1} R (Ring.toSemiring.{u1} R _inst_6))) M M₂ (AddCommGroup.toAddCommMonoid.{u2} M _inst_7) (AddCommGroup.toAddCommMonoid.{u3} M₂ _inst_8) _inst_9 _inst_10) (HasLiftT.mk.{max (succ u2) (succ u3), max (succ u2) (succ u3)} (LinearEquiv.{u1, u1, u2, u3} R R (Ring.toSemiring.{u1} R _inst_6) (Ring.toSemiring.{u1} R _inst_6) (RingHom.id.{u1} R (Semiring.toNonAssocSemiring.{u1} R (Ring.toSemiring.{u1} R _inst_6))) (RingHom.id.{u1} R (Semiring.toNonAssocSemiring.{u1} R (Ring.toSemiring.{u1} R _inst_6))) (RingHomInvPair.ids.{u1} R (Ring.toSemiring.{u1} R _inst_6)) (RingHomInvPair.ids.{u1} R (Ring.toSemiring.{u1} R _inst_6)) M M₂ (AddCommGroup.toAddCommMonoid.{u2} M _inst_7) (AddCommGroup.toAddCommMonoid.{u3} M₂ _inst_8) _inst_9 _inst_10) (LinearMap.{u1, u1, u2, u3} R R (Ring.toSemiring.{u1} R _inst_6) (Ring.toSemiring.{u1} R _inst_6) (RingHom.id.{u1} R (Semiring.toNonAssocSemiring.{u1} R (Ring.toSemiring.{u1} R _inst_6))) M M₂ (AddCommGroup.toAddCommMonoid.{u2} M _inst_7) (AddCommGroup.toAddCommMonoid.{u3} M₂ _inst_8) _inst_9 _inst_10) (CoeTCₓ.coe.{max (succ u2) (succ u3), max (succ u2) (succ u3)} (LinearEquiv.{u1, u1, u2, u3} R R (Ring.toSemiring.{u1} R _inst_6) (Ring.toSemiring.{u1} R _inst_6) (RingHom.id.{u1} R (Semiring.toNonAssocSemiring.{u1} R (Ring.toSemiring.{u1} R _inst_6))) (RingHom.id.{u1} R (Semiring.toNonAssocSemiring.{u1} R (Ring.toSemiring.{u1} R _inst_6))) (RingHomInvPair.ids.{u1} R (Ring.toSemiring.{u1} R _inst_6)) (RingHomInvPair.ids.{u1} R (Ring.toSemiring.{u1} R _inst_6)) M M₂ (AddCommGroup.toAddCommMonoid.{u2} M _inst_7) (AddCommGroup.toAddCommMonoid.{u3} M₂ _inst_8) _inst_9 _inst_10) (LinearMap.{u1, u1, u2, u3} R R (Ring.toSemiring.{u1} R _inst_6) (Ring.toSemiring.{u1} R _inst_6) (RingHom.id.{u1} R (Semiring.toNonAssocSemiring.{u1} R (Ring.toSemiring.{u1} R _inst_6))) M M₂ (AddCommGroup.toAddCommMonoid.{u2} M _inst_7) (AddCommGroup.toAddCommMonoid.{u3} M₂ _inst_8) _inst_9 _inst_10) (coeBase.{max (succ u2) (succ u3), max (succ u2) (succ u3)} (LinearEquiv.{u1, u1, u2, u3} R R (Ring.toSemiring.{u1} R _inst_6) (Ring.toSemiring.{u1} R _inst_6) (RingHom.id.{u1} R (Semiring.toNonAssocSemiring.{u1} R (Ring.toSemiring.{u1} R _inst_6))) (RingHom.id.{u1} R (Semiring.toNonAssocSemiring.{u1} R (Ring.toSemiring.{u1} R _inst_6))) (RingHomInvPair.ids.{u1} R (Ring.toSemiring.{u1} R _inst_6)) (RingHomInvPair.ids.{u1} R (Ring.toSemiring.{u1} R _inst_6)) M M₂ (AddCommGroup.toAddCommMonoid.{u2} M _inst_7) (AddCommGroup.toAddCommMonoid.{u3} M₂ _inst_8) _inst_9 _inst_10) (LinearMap.{u1, u1, u2, u3} R R (Ring.toSemiring.{u1} R _inst_6) (Ring.toSemiring.{u1} R _inst_6) (RingHom.id.{u1} R (Semiring.toNonAssocSemiring.{u1} R (Ring.toSemiring.{u1} R _inst_6))) M M₂ (AddCommGroup.toAddCommMonoid.{u2} M _inst_7) (AddCommGroup.toAddCommMonoid.{u3} M₂ _inst_8) _inst_9 _inst_10) (LinearEquiv.LinearMap.hasCoe.{u1, u1, u2, u3} R R M M₂ (Ring.toSemiring.{u1} R _inst_6) (Ring.toSemiring.{u1} R _inst_6) (AddCommGroup.toAddCommMonoid.{u2} M _inst_7) (AddCommGroup.toAddCommMonoid.{u3} M₂ _inst_8) _inst_9 _inst_10 (RingHom.id.{u1} R (Semiring.toNonAssocSemiring.{u1} R (Ring.toSemiring.{u1} R _inst_6))) (RingHom.id.{u1} R (Semiring.toNonAssocSemiring.{u1} R (Ring.toSemiring.{u1} R _inst_6))) (RingHomInvPair.ids.{u1} R (Ring.toSemiring.{u1} R _inst_6)) (RingHomInvPair.ids.{u1} R (Ring.toSemiring.{u1} R _inst_6)))))) f) p)) (Ring.toSemiring.{u1} R _inst_6) (Submodule.addCommGroup.{u1, u3} R M₂ _inst_6 _inst_8 _inst_10 (Submodule.map.{u1, u1, u2, u3, max u2 u3} R R M M₂ (Ring.toSemiring.{u1} R _inst_6) (Ring.toSemiring.{u1} R _inst_6) (AddCommGroup.toAddCommMonoid.{u2} M _inst_7) (AddCommGroup.toAddCommMonoid.{u3} M₂ _inst_8) _inst_9 _inst_10 (RingHom.id.{u1} R (Semiring.toNonAssocSemiring.{u1} R (Ring.toSemiring.{u1} R _inst_6))) (RingHomSurjective.ids.{u1} R (Ring.toSemiring.{u1} R _inst_6)) (LinearMap.{u1, u1, u2, u3} R R (Ring.toSemiring.{u1} R _inst_6) (Ring.toSemiring.{u1} R _inst_6) (RingHom.id.{u1} R (Semiring.toNonAssocSemiring.{u1} R (Ring.toSemiring.{u1} R _inst_6))) M M₂ (AddCommGroup.toAddCommMonoid.{u2} M _inst_7) (AddCommGroup.toAddCommMonoid.{u3} M₂ _inst_8) _inst_9 _inst_10) (LinearMap.semilinearMapClass.{u1, u1, u2, u3} R R M M₂ (Ring.toSemiring.{u1} R _inst_6) (Ring.toSemiring.{u1} R _inst_6) (AddCommGroup.toAddCommMonoid.{u2} M _inst_7) (AddCommGroup.toAddCommMonoid.{u3} M₂ _inst_8) _inst_9 _inst_10 (RingHom.id.{u1} R (Semiring.toNonAssocSemiring.{u1} R (Ring.toSemiring.{u1} R _inst_6)))) ((fun (a : Sort.{max (succ u2) (succ u3)}) (b : Sort.{max (succ u2) (succ u3)}) [self : HasLiftT.{max (succ u2) (succ u3), max (succ u2) (succ u3)} a b] => self.0) (LinearEquiv.{u1, u1, u2, u3} R R (Ring.toSemiring.{u1} R _inst_6) (Ring.toSemiring.{u1} R _inst_6) (RingHom.id.{u1} R (Semiring.toNonAssocSemiring.{u1} R (Ring.toSemiring.{u1} R _inst_6))) (RingHom.id.{u1} R (Semiring.toNonAssocSemiring.{u1} R (Ring.toSemiring.{u1} R _inst_6))) (RingHomInvPair.ids.{u1} R (Ring.toSemiring.{u1} R _inst_6)) (RingHomInvPair.ids.{u1} R (Ring.toSemiring.{u1} R _inst_6)) M M₂ (AddCommGroup.toAddCommMonoid.{u2} M _inst_7) (AddCommGroup.toAddCommMonoid.{u3} M₂ _inst_8) _inst_9 _inst_10) (LinearMap.{u1, u1, u2, u3} R R (Ring.toSemiring.{u1} R _inst_6) (Ring.toSemiring.{u1} R _inst_6) (RingHom.id.{u1} R (Semiring.toNonAssocSemiring.{u1} R (Ring.toSemiring.{u1} R _inst_6))) M M₂ (AddCommGroup.toAddCommMonoid.{u2} M _inst_7) (AddCommGroup.toAddCommMonoid.{u3} M₂ _inst_8) _inst_9 _inst_10) (HasLiftT.mk.{max (succ u2) (succ u3), max (succ u2) (succ u3)} (LinearEquiv.{u1, u1, u2, u3} R R (Ring.toSemiring.{u1} R _inst_6) (Ring.toSemiring.{u1} R _inst_6) (RingHom.id.{u1} R (Semiring.toNonAssocSemiring.{u1} R (Ring.toSemiring.{u1} R _inst_6))) (RingHom.id.{u1} R (Semiring.toNonAssocSemiring.{u1} R (Ring.toSemiring.{u1} R _inst_6))) (RingHomInvPair.ids.{u1} R (Ring.toSemiring.{u1} R _inst_6)) (RingHomInvPair.ids.{u1} R (Ring.toSemiring.{u1} R _inst_6)) M M₂ (AddCommGroup.toAddCommMonoid.{u2} M _inst_7) (AddCommGroup.toAddCommMonoid.{u3} M₂ _inst_8) _inst_9 _inst_10) (LinearMap.{u1, u1, u2, u3} R R (Ring.toSemiring.{u1} R _inst_6) (Ring.toSemiring.{u1} R _inst_6) (RingHom.id.{u1} R (Semiring.toNonAssocSemiring.{u1} R (Ring.toSemiring.{u1} R _inst_6))) M M₂ (AddCommGroup.toAddCommMonoid.{u2} M _inst_7) (AddCommGroup.toAddCommMonoid.{u3} M₂ _inst_8) _inst_9 _inst_10) (CoeTCₓ.coe.{max (succ u2) (succ u3), max (succ u2) (succ u3)} (LinearEquiv.{u1, u1, u2, u3} R R (Ring.toSemiring.{u1} R _inst_6) (Ring.toSemiring.{u1} R _inst_6) (RingHom.id.{u1} R (Semiring.toNonAssocSemiring.{u1} R (Ring.toSemiring.{u1} R _inst_6))) (RingHom.id.{u1} R (Semiring.toNonAssocSemiring.{u1} R (Ring.toSemiring.{u1} R _inst_6))) (RingHomInvPair.ids.{u1} R (Ring.toSemiring.{u1} R _inst_6)) (RingHomInvPair.ids.{u1} R (Ring.toSemiring.{u1} R _inst_6)) M M₂ (AddCommGroup.toAddCommMonoid.{u2} M _inst_7) (AddCommGroup.toAddCommMonoid.{u3} M₂ _inst_8) _inst_9 _inst_10) (LinearMap.{u1, u1, u2, u3} R R (Ring.toSemiring.{u1} R _inst_6) (Ring.toSemiring.{u1} R _inst_6) (RingHom.id.{u1} R (Semiring.toNonAssocSemiring.{u1} R (Ring.toSemiring.{u1} R _inst_6))) M M₂ (AddCommGroup.toAddCommMonoid.{u2} M _inst_7) (AddCommGroup.toAddCommMonoid.{u3} M₂ _inst_8) _inst_9 _inst_10) (coeBase.{max (succ u2) (succ u3), max (succ u2) (succ u3)} (LinearEquiv.{u1, u1, u2, u3} R R (Ring.toSemiring.{u1} R _inst_6) (Ring.toSemiring.{u1} R _inst_6) (RingHom.id.{u1} R (Semiring.toNonAssocSemiring.{u1} R (Ring.toSemiring.{u1} R _inst_6))) (RingHom.id.{u1} R (Semiring.toNonAssocSemiring.{u1} R (Ring.toSemiring.{u1} R _inst_6))) (RingHomInvPair.ids.{u1} R (Ring.toSemiring.{u1} R _inst_6)) (RingHomInvPair.ids.{u1} R (Ring.toSemiring.{u1} R _inst_6)) M M₂ (AddCommGroup.toAddCommMonoid.{u2} M _inst_7) (AddCommGroup.toAddCommMonoid.{u3} M₂ _inst_8) _inst_9 _inst_10) (LinearMap.{u1, u1, u2, u3} R R (Ring.toSemiring.{u1} R _inst_6) (Ring.toSemiring.{u1} R _inst_6) (RingHom.id.{u1} R (Semiring.toNonAssocSemiring.{u1} R (Ring.toSemiring.{u1} R _inst_6))) M M₂ (AddCommGroup.toAddCommMonoid.{u2} M _inst_7) (AddCommGroup.toAddCommMonoid.{u3} M₂ _inst_8) _inst_9 _inst_10) (LinearEquiv.LinearMap.hasCoe.{u1, u1, u2, u3} R R M M₂ (Ring.toSemiring.{u1} R _inst_6) (Ring.toSemiring.{u1} R _inst_6) (AddCommGroup.toAddCommMonoid.{u2} M _inst_7) (AddCommGroup.toAddCommMonoid.{u3} M₂ _inst_8) _inst_9 _inst_10 (RingHom.id.{u1} R (Semiring.toNonAssocSemiring.{u1} R (Ring.toSemiring.{u1} R _inst_6))) (RingHom.id.{u1} R (Semiring.toNonAssocSemiring.{u1} R (Ring.toSemiring.{u1} R _inst_6))) (RingHomInvPair.ids.{u1} R (Ring.toSemiring.{u1} R _inst_6)) (RingHomInvPair.ids.{u1} R (Ring.toSemiring.{u1} R _inst_6)))))) f) p)) (Submodule.module.{u1, u3} R M₂ (Ring.toSemiring.{u1} R _inst_6) (AddCommGroup.toAddCommMonoid.{u3} M₂ _inst_8) _inst_10 (Submodule.map.{u1, u1, u2, u3, max u2 u3} R R M M₂ (Ring.toSemiring.{u1} R _inst_6) (Ring.toSemiring.{u1} R _inst_6) (AddCommGroup.toAddCommMonoid.{u2} M _inst_7) (AddCommGroup.toAddCommMonoid.{u3} M₂ _inst_8) _inst_9 _inst_10 (RingHom.id.{u1} R (Semiring.toNonAssocSemiring.{u1} R (Ring.toSemiring.{u1} R _inst_6))) (RingHomSurjective.ids.{u1} R (Ring.toSemiring.{u1} R _inst_6)) (LinearMap.{u1, u1, u2, u3} R R (Ring.toSemiring.{u1} R _inst_6) (Ring.toSemiring.{u1} R _inst_6) (RingHom.id.{u1} R (Semiring.toNonAssocSemiring.{u1} R (Ring.toSemiring.{u1} R _inst_6))) M M₂ (AddCommGroup.toAddCommMonoid.{u2} M _inst_7) (AddCommGroup.toAddCommMonoid.{u3} M₂ _inst_8) _inst_9 _inst_10) (LinearMap.semilinearMapClass.{u1, u1, u2, u3} R R M M₂ (Ring.toSemiring.{u1} R _inst_6) (Ring.toSemiring.{u1} R _inst_6) (AddCommGroup.toAddCommMonoid.{u2} M _inst_7) (AddCommGroup.toAddCommMonoid.{u3} M₂ _inst_8) _inst_9 _inst_10 (RingHom.id.{u1} R (Semiring.toNonAssocSemiring.{u1} R (Ring.toSemiring.{u1} R _inst_6)))) ((fun (a : Sort.{max (succ u2) (succ u3)}) (b : Sort.{max (succ u2) (succ u3)}) [self : HasLiftT.{max (succ u2) (succ u3), max (succ u2) (succ u3)} a b] => self.0) (LinearEquiv.{u1, u1, u2, u3} R R (Ring.toSemiring.{u1} R _inst_6) (Ring.toSemiring.{u1} R _inst_6) (RingHom.id.{u1} R (Semiring.toNonAssocSemiring.{u1} R (Ring.toSemiring.{u1} R _inst_6))) (RingHom.id.{u1} R (Semiring.toNonAssocSemiring.{u1} R (Ring.toSemiring.{u1} R _inst_6))) (RingHomInvPair.ids.{u1} R (Ring.toSemiring.{u1} R _inst_6)) (RingHomInvPair.ids.{u1} R (Ring.toSemiring.{u1} R _inst_6)) M M₂ (AddCommGroup.toAddCommMonoid.{u2} M _inst_7) (AddCommGroup.toAddCommMonoid.{u3} M₂ _inst_8) _inst_9 _inst_10) (LinearMap.{u1, u1, u2, u3} R R (Ring.toSemiring.{u1} R _inst_6) (Ring.toSemiring.{u1} R _inst_6) (RingHom.id.{u1} R (Semiring.toNonAssocSemiring.{u1} R (Ring.toSemiring.{u1} R _inst_6))) M M₂ (AddCommGroup.toAddCommMonoid.{u2} M _inst_7) (AddCommGroup.toAddCommMonoid.{u3} M₂ _inst_8) _inst_9 _inst_10) (HasLiftT.mk.{max (succ u2) (succ u3), max (succ u2) (succ u3)} (LinearEquiv.{u1, u1, u2, u3} R R (Ring.toSemiring.{u1} R _inst_6) (Ring.toSemiring.{u1} R _inst_6) (RingHom.id.{u1} R (Semiring.toNonAssocSemiring.{u1} R (Ring.toSemiring.{u1} R _inst_6))) (RingHom.id.{u1} R (Semiring.toNonAssocSemiring.{u1} R (Ring.toSemiring.{u1} R _inst_6))) (RingHomInvPair.ids.{u1} R (Ring.toSemiring.{u1} R _inst_6)) (RingHomInvPair.ids.{u1} R (Ring.toSemiring.{u1} R _inst_6)) M M₂ (AddCommGroup.toAddCommMonoid.{u2} M _inst_7) (AddCommGroup.toAddCommMonoid.{u3} M₂ _inst_8) _inst_9 _inst_10) (LinearMap.{u1, u1, u2, u3} R R (Ring.toSemiring.{u1} R _inst_6) (Ring.toSemiring.{u1} R _inst_6) (RingHom.id.{u1} R (Semiring.toNonAssocSemiring.{u1} R (Ring.toSemiring.{u1} R _inst_6))) M M₂ (AddCommGroup.toAddCommMonoid.{u2} M _inst_7) (AddCommGroup.toAddCommMonoid.{u3} M₂ _inst_8) _inst_9 _inst_10) (CoeTCₓ.coe.{max (succ u2) (succ u3), max (succ u2) (succ u3)} (LinearEquiv.{u1, u1, u2, u3} R R (Ring.toSemiring.{u1} R _inst_6) (Ring.toSemiring.{u1} R _inst_6) (RingHom.id.{u1} R (Semiring.toNonAssocSemiring.{u1} R (Ring.toSemiring.{u1} R _inst_6))) (RingHom.id.{u1} R (Semiring.toNonAssocSemiring.{u1} R (Ring.toSemiring.{u1} R _inst_6))) (RingHomInvPair.ids.{u1} R (Ring.toSemiring.{u1} R _inst_6)) (RingHomInvPair.ids.{u1} R (Ring.toSemiring.{u1} R _inst_6)) M M₂ (AddCommGroup.toAddCommMonoid.{u2} M _inst_7) (AddCommGroup.toAddCommMonoid.{u3} M₂ _inst_8) _inst_9 _inst_10) (LinearMap.{u1, u1, u2, u3} R R (Ring.toSemiring.{u1} R _inst_6) (Ring.toSemiring.{u1} R _inst_6) (RingHom.id.{u1} R (Semiring.toNonAssocSemiring.{u1} R (Ring.toSemiring.{u1} R _inst_6))) M M₂ (AddCommGroup.toAddCommMonoid.{u2} M _inst_7) (AddCommGroup.toAddCommMonoid.{u3} M₂ _inst_8) _inst_9 _inst_10) (coeBase.{max (succ u2) (succ u3), max (succ u2) (succ u3)} (LinearEquiv.{u1, u1, u2, u3} R R (Ring.toSemiring.{u1} R _inst_6) (Ring.toSemiring.{u1} R _inst_6) (RingHom.id.{u1} R (Semiring.toNonAssocSemiring.{u1} R (Ring.toSemiring.{u1} R _inst_6))) (RingHom.id.{u1} R (Semiring.toNonAssocSemiring.{u1} R (Ring.toSemiring.{u1} R _inst_6))) (RingHomInvPair.ids.{u1} R (Ring.toSemiring.{u1} R _inst_6)) (RingHomInvPair.ids.{u1} R (Ring.toSemiring.{u1} R _inst_6)) M M₂ (AddCommGroup.toAddCommMonoid.{u2} M _inst_7) (AddCommGroup.toAddCommMonoid.{u3} M₂ _inst_8) _inst_9 _inst_10) (LinearMap.{u1, u1, u2, u3} R R (Ring.toSemiring.{u1} R _inst_6) (Ring.toSemiring.{u1} R _inst_6) (RingHom.id.{u1} R (Semiring.toNonAssocSemiring.{u1} R (Ring.toSemiring.{u1} R _inst_6))) M M₂ (AddCommGroup.toAddCommMonoid.{u2} M _inst_7) (AddCommGroup.toAddCommMonoid.{u3} M₂ _inst_8) _inst_9 _inst_10) (LinearEquiv.LinearMap.hasCoe.{u1, u1, u2, u3} R R M M₂ (Ring.toSemiring.{u1} R _inst_6) (Ring.toSemiring.{u1} R _inst_6) (AddCommGroup.toAddCommMonoid.{u2} M _inst_7) (AddCommGroup.toAddCommMonoid.{u3} M₂ _inst_8) _inst_9 _inst_10 (RingHom.id.{u1} R (Semiring.toNonAssocSemiring.{u1} R (Ring.toSemiring.{u1} R _inst_6))) (RingHom.id.{u1} R (Semiring.toNonAssocSemiring.{u1} R (Ring.toSemiring.{u1} R _inst_6))) (RingHomInvPair.ids.{u1} R (Ring.toSemiring.{u1} R _inst_6)) (RingHomInvPair.ids.{u1} R (Ring.toSemiring.{u1} R _inst_6)))))) f) p))) (FiniteDimensional.finrank.{u1, u2} R (coeSort.{succ u2, succ (succ u2)} (Submodule.{u1, u2} R M (Ring.toSemiring.{u1} R _inst_6) (AddCommGroup.toAddCommMonoid.{u2} M _inst_7) _inst_9) Type.{u2} (SetLike.hasCoeToSort.{u2, u2} (Submodule.{u1, u2} R M (Ring.toSemiring.{u1} R _inst_6) (AddCommGroup.toAddCommMonoid.{u2} M _inst_7) _inst_9) M (Submodule.setLike.{u1, u2} R M (Ring.toSemiring.{u1} R _inst_6) (AddCommGroup.toAddCommMonoid.{u2} M _inst_7) _inst_9)) p) (Ring.toSemiring.{u1} R _inst_6) (Submodule.addCommGroup.{u1, u2} R M _inst_6 _inst_7 _inst_9 p) (Submodule.module.{u1, u2} R M (Ring.toSemiring.{u1} R _inst_6) (AddCommGroup.toAddCommMonoid.{u2} M _inst_7) _inst_9 p))
 but is expected to have type
-  forall {R : Type.{u3}} {M : Type.{u2}} {M₂ : Type.{u1}} [_inst_6 : Ring.{u3} R] [_inst_7 : AddCommGroup.{u2} M] [_inst_8 : AddCommGroup.{u1} M₂] [_inst_9 : Module.{u3, u2} R M (Ring.toSemiring.{u3} R _inst_6) (AddCommGroup.toAddCommMonoid.{u2} M _inst_7)] [_inst_10 : Module.{u3, u1} R M₂ (Ring.toSemiring.{u3} R _inst_6) (AddCommGroup.toAddCommMonoid.{u1} M₂ _inst_8)] (f : LinearEquiv.{u3, u3, u2, u1} R R (Ring.toSemiring.{u3} R _inst_6) (Ring.toSemiring.{u3} R _inst_6) (RingHom.id.{u3} R (Semiring.toNonAssocSemiring.{u3} R (Ring.toSemiring.{u3} R _inst_6))) (RingHom.id.{u3} R (Semiring.toNonAssocSemiring.{u3} R (Ring.toSemiring.{u3} R _inst_6))) (RingHomInvPair.ids.{u3} R (Ring.toSemiring.{u3} R _inst_6)) (RingHomInvPair.ids.{u3} R (Ring.toSemiring.{u3} R _inst_6)) M M₂ (AddCommGroup.toAddCommMonoid.{u2} M _inst_7) (AddCommGroup.toAddCommMonoid.{u1} M₂ _inst_8) _inst_9 _inst_10) (p : Submodule.{u3, u2} R M (Ring.toSemiring.{u3} R _inst_6) (AddCommGroup.toAddCommMonoid.{u2} M _inst_7) _inst_9), Eq.{1} Nat (FiniteDimensional.finrank.{u3, u1} R (Subtype.{succ u1} M₂ (fun (x : M₂) => Membership.mem.{u1, u1} M₂ (Submodule.{u3, u1} R M₂ (Ring.toSemiring.{u3} R _inst_6) (AddCommGroup.toAddCommMonoid.{u1} M₂ _inst_8) _inst_10) (SetLike.instMembership.{u1, u1} (Submodule.{u3, u1} R M₂ (Ring.toSemiring.{u3} R _inst_6) (AddCommGroup.toAddCommMonoid.{u1} M₂ _inst_8) _inst_10) M₂ (Submodule.setLike.{u3, u1} R M₂ (Ring.toSemiring.{u3} R _inst_6) (AddCommGroup.toAddCommMonoid.{u1} M₂ _inst_8) _inst_10)) x (Submodule.map.{u3, u3, u2, u1, max u2 u1} R R M M₂ (Ring.toSemiring.{u3} R _inst_6) (Ring.toSemiring.{u3} R _inst_6) (AddCommGroup.toAddCommMonoid.{u2} M _inst_7) (AddCommGroup.toAddCommMonoid.{u1} M₂ _inst_8) _inst_9 _inst_10 (RingHom.id.{u3} R (Semiring.toNonAssocSemiring.{u3} R (Ring.toSemiring.{u3} R _inst_6))) (RingHomSurjective.ids.{u3} R (Ring.toSemiring.{u3} R _inst_6)) (LinearMap.{u3, u3, u2, u1} R R (Ring.toSemiring.{u3} R _inst_6) (Ring.toSemiring.{u3} R _inst_6) (RingHom.id.{u3} R (Semiring.toNonAssocSemiring.{u3} R (Ring.toSemiring.{u3} R _inst_6))) M M₂ (AddCommGroup.toAddCommMonoid.{u2} M _inst_7) (AddCommGroup.toAddCommMonoid.{u1} M₂ _inst_8) _inst_9 _inst_10) (LinearMap.instSemilinearMapClassLinearMap.{u3, u3, u2, u1} R R M M₂ (Ring.toSemiring.{u3} R _inst_6) (Ring.toSemiring.{u3} R _inst_6) (AddCommGroup.toAddCommMonoid.{u2} M _inst_7) (AddCommGroup.toAddCommMonoid.{u1} M₂ _inst_8) _inst_9 _inst_10 (RingHom.id.{u3} R (Semiring.toNonAssocSemiring.{u3} R (Ring.toSemiring.{u3} R _inst_6)))) (LinearEquiv.toLinearMap.{u3, u3, u2, u1} R R (Ring.toSemiring.{u3} R _inst_6) (Ring.toSemiring.{u3} R _inst_6) (RingHom.id.{u3} R (Semiring.toNonAssocSemiring.{u3} R (Ring.toSemiring.{u3} R _inst_6))) (RingHom.id.{u3} R (Semiring.toNonAssocSemiring.{u3} R (Ring.toSemiring.{u3} R _inst_6))) (RingHomInvPair.ids.{u3} R (Ring.toSemiring.{u3} R _inst_6)) (RingHomInvPair.ids.{u3} R (Ring.toSemiring.{u3} R _inst_6)) M M₂ (AddCommGroup.toAddCommMonoid.{u2} M _inst_7) (AddCommGroup.toAddCommMonoid.{u1} M₂ _inst_8) _inst_9 _inst_10 f) p))) (Ring.toSemiring.{u3} R _inst_6) (Submodule.addCommGroup.{u3, u1} R M₂ _inst_6 _inst_8 _inst_10 (Submodule.map.{u3, u3, u2, u1, max u2 u1} R R M M₂ (Ring.toSemiring.{u3} R _inst_6) (Ring.toSemiring.{u3} R _inst_6) (AddCommGroup.toAddCommMonoid.{u2} M _inst_7) (AddCommGroup.toAddCommMonoid.{u1} M₂ _inst_8) _inst_9 _inst_10 (RingHom.id.{u3} R (Semiring.toNonAssocSemiring.{u3} R (Ring.toSemiring.{u3} R _inst_6))) (RingHomSurjective.ids.{u3} R (Ring.toSemiring.{u3} R _inst_6)) (LinearMap.{u3, u3, u2, u1} R R (Ring.toSemiring.{u3} R _inst_6) (Ring.toSemiring.{u3} R _inst_6) (RingHom.id.{u3} R (Semiring.toNonAssocSemiring.{u3} R (Ring.toSemiring.{u3} R _inst_6))) M M₂ (AddCommGroup.toAddCommMonoid.{u2} M _inst_7) (AddCommGroup.toAddCommMonoid.{u1} M₂ _inst_8) _inst_9 _inst_10) (LinearMap.instSemilinearMapClassLinearMap.{u3, u3, u2, u1} R R M M₂ (Ring.toSemiring.{u3} R _inst_6) (Ring.toSemiring.{u3} R _inst_6) (AddCommGroup.toAddCommMonoid.{u2} M _inst_7) (AddCommGroup.toAddCommMonoid.{u1} M₂ _inst_8) _inst_9 _inst_10 (RingHom.id.{u3} R (Semiring.toNonAssocSemiring.{u3} R (Ring.toSemiring.{u3} R _inst_6)))) (LinearEquiv.toLinearMap.{u3, u3, u2, u1} R R (Ring.toSemiring.{u3} R _inst_6) (Ring.toSemiring.{u3} R _inst_6) (RingHom.id.{u3} R (Semiring.toNonAssocSemiring.{u3} R (Ring.toSemiring.{u3} R _inst_6))) (RingHom.id.{u3} R (Semiring.toNonAssocSemiring.{u3} R (Ring.toSemiring.{u3} R _inst_6))) (RingHomInvPair.ids.{u3} R (Ring.toSemiring.{u3} R _inst_6)) (RingHomInvPair.ids.{u3} R (Ring.toSemiring.{u3} R _inst_6)) M M₂ (AddCommGroup.toAddCommMonoid.{u2} M _inst_7) (AddCommGroup.toAddCommMonoid.{u1} M₂ _inst_8) _inst_9 _inst_10 f) p)) (Submodule.module.{u3, u1} R M₂ (Ring.toSemiring.{u3} R _inst_6) (AddCommGroup.toAddCommMonoid.{u1} M₂ _inst_8) _inst_10 (Submodule.map.{u3, u3, u2, u1, max u2 u1} R R M M₂ (Ring.toSemiring.{u3} R _inst_6) (Ring.toSemiring.{u3} R _inst_6) (AddCommGroup.toAddCommMonoid.{u2} M _inst_7) (AddCommGroup.toAddCommMonoid.{u1} M₂ _inst_8) _inst_9 _inst_10 (RingHom.id.{u3} R (Semiring.toNonAssocSemiring.{u3} R (Ring.toSemiring.{u3} R _inst_6))) (RingHomSurjective.ids.{u3} R (Ring.toSemiring.{u3} R _inst_6)) (LinearMap.{u3, u3, u2, u1} R R (Ring.toSemiring.{u3} R _inst_6) (Ring.toSemiring.{u3} R _inst_6) (RingHom.id.{u3} R (Semiring.toNonAssocSemiring.{u3} R (Ring.toSemiring.{u3} R _inst_6))) M M₂ (AddCommGroup.toAddCommMonoid.{u2} M _inst_7) (AddCommGroup.toAddCommMonoid.{u1} M₂ _inst_8) _inst_9 _inst_10) (LinearMap.instSemilinearMapClassLinearMap.{u3, u3, u2, u1} R R M M₂ (Ring.toSemiring.{u3} R _inst_6) (Ring.toSemiring.{u3} R _inst_6) (AddCommGroup.toAddCommMonoid.{u2} M _inst_7) (AddCommGroup.toAddCommMonoid.{u1} M₂ _inst_8) _inst_9 _inst_10 (RingHom.id.{u3} R (Semiring.toNonAssocSemiring.{u3} R (Ring.toSemiring.{u3} R _inst_6)))) (LinearEquiv.toLinearMap.{u3, u3, u2, u1} R R (Ring.toSemiring.{u3} R _inst_6) (Ring.toSemiring.{u3} R _inst_6) (RingHom.id.{u3} R (Semiring.toNonAssocSemiring.{u3} R (Ring.toSemiring.{u3} R _inst_6))) (RingHom.id.{u3} R (Semiring.toNonAssocSemiring.{u3} R (Ring.toSemiring.{u3} R _inst_6))) (RingHomInvPair.ids.{u3} R (Ring.toSemiring.{u3} R _inst_6)) (RingHomInvPair.ids.{u3} R (Ring.toSemiring.{u3} R _inst_6)) M M₂ (AddCommGroup.toAddCommMonoid.{u2} M _inst_7) (AddCommGroup.toAddCommMonoid.{u1} M₂ _inst_8) _inst_9 _inst_10 f) p))) (FiniteDimensional.finrank.{u3, u2} R (Subtype.{succ u2} M (fun (x : M) => Membership.mem.{u2, u2} M (Submodule.{u3, u2} R M (Ring.toSemiring.{u3} R _inst_6) (AddCommGroup.toAddCommMonoid.{u2} M _inst_7) _inst_9) (SetLike.instMembership.{u2, u2} (Submodule.{u3, u2} R M (Ring.toSemiring.{u3} R _inst_6) (AddCommGroup.toAddCommMonoid.{u2} M _inst_7) _inst_9) M (Submodule.setLike.{u3, u2} R M (Ring.toSemiring.{u3} R _inst_6) (AddCommGroup.toAddCommMonoid.{u2} M _inst_7) _inst_9)) x p)) (Ring.toSemiring.{u3} R _inst_6) (Submodule.addCommGroup.{u3, u2} R M _inst_6 _inst_7 _inst_9 p) (Submodule.module.{u3, u2} R M (Ring.toSemiring.{u3} R _inst_6) (AddCommGroup.toAddCommMonoid.{u2} M _inst_7) _inst_9 p))
+  forall {R : Type.{u3}} {M : Type.{u2}} {M₂ : Type.{u1}} [_inst_6 : Ring.{u3} R] [_inst_7 : AddCommGroup.{u2} M] [_inst_8 : AddCommGroup.{u1} M₂] [_inst_9 : Module.{u3, u2} R M (Ring.toSemiring.{u3} R _inst_6) (AddCommGroup.toAddCommMonoid.{u2} M _inst_7)] [_inst_10 : Module.{u3, u1} R M₂ (Ring.toSemiring.{u3} R _inst_6) (AddCommGroup.toAddCommMonoid.{u1} M₂ _inst_8)] (f : LinearEquiv.{u3, u3, u2, u1} R R (Ring.toSemiring.{u3} R _inst_6) (Ring.toSemiring.{u3} R _inst_6) (RingHom.id.{u3} R (Semiring.toNonAssocSemiring.{u3} R (Ring.toSemiring.{u3} R _inst_6))) (RingHom.id.{u3} R (Semiring.toNonAssocSemiring.{u3} R (Ring.toSemiring.{u3} R _inst_6))) (RingHomInvPair.ids.{u3} R (Ring.toSemiring.{u3} R _inst_6)) (RingHomInvPair.ids.{u3} R (Ring.toSemiring.{u3} R _inst_6)) M M₂ (AddCommGroup.toAddCommMonoid.{u2} M _inst_7) (AddCommGroup.toAddCommMonoid.{u1} M₂ _inst_8) _inst_9 _inst_10) (p : Submodule.{u3, u2} R M (Ring.toSemiring.{u3} R _inst_6) (AddCommGroup.toAddCommMonoid.{u2} M _inst_7) _inst_9), Eq.{1} Nat (FiniteDimensional.finrank.{u3, u1} R (Subtype.{succ u1} M₂ (fun (x : M₂) => Membership.mem.{u1, u1} M₂ (Submodule.{u3, u1} R M₂ (Ring.toSemiring.{u3} R _inst_6) (AddCommGroup.toAddCommMonoid.{u1} M₂ _inst_8) _inst_10) (SetLike.instMembership.{u1, u1} (Submodule.{u3, u1} R M₂ (Ring.toSemiring.{u3} R _inst_6) (AddCommGroup.toAddCommMonoid.{u1} M₂ _inst_8) _inst_10) M₂ (Submodule.setLike.{u3, u1} R M₂ (Ring.toSemiring.{u3} R _inst_6) (AddCommGroup.toAddCommMonoid.{u1} M₂ _inst_8) _inst_10)) x (Submodule.map.{u3, u3, u2, u1, max u2 u1} R R M M₂ (Ring.toSemiring.{u3} R _inst_6) (Ring.toSemiring.{u3} R _inst_6) (AddCommGroup.toAddCommMonoid.{u2} M _inst_7) (AddCommGroup.toAddCommMonoid.{u1} M₂ _inst_8) _inst_9 _inst_10 (RingHom.id.{u3} R (Semiring.toNonAssocSemiring.{u3} R (Ring.toSemiring.{u3} R _inst_6))) (RingHomSurjective.ids.{u3} R (Ring.toSemiring.{u3} R _inst_6)) (LinearMap.{u3, u3, u2, u1} R R (Ring.toSemiring.{u3} R _inst_6) (Ring.toSemiring.{u3} R _inst_6) (RingHom.id.{u3} R (Semiring.toNonAssocSemiring.{u3} R (Ring.toSemiring.{u3} R _inst_6))) M M₂ (AddCommGroup.toAddCommMonoid.{u2} M _inst_7) (AddCommGroup.toAddCommMonoid.{u1} M₂ _inst_8) _inst_9 _inst_10) (LinearMap.semilinearMapClass.{u3, u3, u2, u1} R R M M₂ (Ring.toSemiring.{u3} R _inst_6) (Ring.toSemiring.{u3} R _inst_6) (AddCommGroup.toAddCommMonoid.{u2} M _inst_7) (AddCommGroup.toAddCommMonoid.{u1} M₂ _inst_8) _inst_9 _inst_10 (RingHom.id.{u3} R (Semiring.toNonAssocSemiring.{u3} R (Ring.toSemiring.{u3} R _inst_6)))) (LinearEquiv.toLinearMap.{u3, u3, u2, u1} R R (Ring.toSemiring.{u3} R _inst_6) (Ring.toSemiring.{u3} R _inst_6) (RingHom.id.{u3} R (Semiring.toNonAssocSemiring.{u3} R (Ring.toSemiring.{u3} R _inst_6))) (RingHom.id.{u3} R (Semiring.toNonAssocSemiring.{u3} R (Ring.toSemiring.{u3} R _inst_6))) (RingHomInvPair.ids.{u3} R (Ring.toSemiring.{u3} R _inst_6)) (RingHomInvPair.ids.{u3} R (Ring.toSemiring.{u3} R _inst_6)) M M₂ (AddCommGroup.toAddCommMonoid.{u2} M _inst_7) (AddCommGroup.toAddCommMonoid.{u1} M₂ _inst_8) _inst_9 _inst_10 f) p))) (Ring.toSemiring.{u3} R _inst_6) (Submodule.addCommGroup.{u3, u1} R M₂ _inst_6 _inst_8 _inst_10 (Submodule.map.{u3, u3, u2, u1, max u2 u1} R R M M₂ (Ring.toSemiring.{u3} R _inst_6) (Ring.toSemiring.{u3} R _inst_6) (AddCommGroup.toAddCommMonoid.{u2} M _inst_7) (AddCommGroup.toAddCommMonoid.{u1} M₂ _inst_8) _inst_9 _inst_10 (RingHom.id.{u3} R (Semiring.toNonAssocSemiring.{u3} R (Ring.toSemiring.{u3} R _inst_6))) (RingHomSurjective.ids.{u3} R (Ring.toSemiring.{u3} R _inst_6)) (LinearMap.{u3, u3, u2, u1} R R (Ring.toSemiring.{u3} R _inst_6) (Ring.toSemiring.{u3} R _inst_6) (RingHom.id.{u3} R (Semiring.toNonAssocSemiring.{u3} R (Ring.toSemiring.{u3} R _inst_6))) M M₂ (AddCommGroup.toAddCommMonoid.{u2} M _inst_7) (AddCommGroup.toAddCommMonoid.{u1} M₂ _inst_8) _inst_9 _inst_10) (LinearMap.semilinearMapClass.{u3, u3, u2, u1} R R M M₂ (Ring.toSemiring.{u3} R _inst_6) (Ring.toSemiring.{u3} R _inst_6) (AddCommGroup.toAddCommMonoid.{u2} M _inst_7) (AddCommGroup.toAddCommMonoid.{u1} M₂ _inst_8) _inst_9 _inst_10 (RingHom.id.{u3} R (Semiring.toNonAssocSemiring.{u3} R (Ring.toSemiring.{u3} R _inst_6)))) (LinearEquiv.toLinearMap.{u3, u3, u2, u1} R R (Ring.toSemiring.{u3} R _inst_6) (Ring.toSemiring.{u3} R _inst_6) (RingHom.id.{u3} R (Semiring.toNonAssocSemiring.{u3} R (Ring.toSemiring.{u3} R _inst_6))) (RingHom.id.{u3} R (Semiring.toNonAssocSemiring.{u3} R (Ring.toSemiring.{u3} R _inst_6))) (RingHomInvPair.ids.{u3} R (Ring.toSemiring.{u3} R _inst_6)) (RingHomInvPair.ids.{u3} R (Ring.toSemiring.{u3} R _inst_6)) M M₂ (AddCommGroup.toAddCommMonoid.{u2} M _inst_7) (AddCommGroup.toAddCommMonoid.{u1} M₂ _inst_8) _inst_9 _inst_10 f) p)) (Submodule.module.{u3, u1} R M₂ (Ring.toSemiring.{u3} R _inst_6) (AddCommGroup.toAddCommMonoid.{u1} M₂ _inst_8) _inst_10 (Submodule.map.{u3, u3, u2, u1, max u2 u1} R R M M₂ (Ring.toSemiring.{u3} R _inst_6) (Ring.toSemiring.{u3} R _inst_6) (AddCommGroup.toAddCommMonoid.{u2} M _inst_7) (AddCommGroup.toAddCommMonoid.{u1} M₂ _inst_8) _inst_9 _inst_10 (RingHom.id.{u3} R (Semiring.toNonAssocSemiring.{u3} R (Ring.toSemiring.{u3} R _inst_6))) (RingHomSurjective.ids.{u3} R (Ring.toSemiring.{u3} R _inst_6)) (LinearMap.{u3, u3, u2, u1} R R (Ring.toSemiring.{u3} R _inst_6) (Ring.toSemiring.{u3} R _inst_6) (RingHom.id.{u3} R (Semiring.toNonAssocSemiring.{u3} R (Ring.toSemiring.{u3} R _inst_6))) M M₂ (AddCommGroup.toAddCommMonoid.{u2} M _inst_7) (AddCommGroup.toAddCommMonoid.{u1} M₂ _inst_8) _inst_9 _inst_10) (LinearMap.semilinearMapClass.{u3, u3, u2, u1} R R M M₂ (Ring.toSemiring.{u3} R _inst_6) (Ring.toSemiring.{u3} R _inst_6) (AddCommGroup.toAddCommMonoid.{u2} M _inst_7) (AddCommGroup.toAddCommMonoid.{u1} M₂ _inst_8) _inst_9 _inst_10 (RingHom.id.{u3} R (Semiring.toNonAssocSemiring.{u3} R (Ring.toSemiring.{u3} R _inst_6)))) (LinearEquiv.toLinearMap.{u3, u3, u2, u1} R R (Ring.toSemiring.{u3} R _inst_6) (Ring.toSemiring.{u3} R _inst_6) (RingHom.id.{u3} R (Semiring.toNonAssocSemiring.{u3} R (Ring.toSemiring.{u3} R _inst_6))) (RingHom.id.{u3} R (Semiring.toNonAssocSemiring.{u3} R (Ring.toSemiring.{u3} R _inst_6))) (RingHomInvPair.ids.{u3} R (Ring.toSemiring.{u3} R _inst_6)) (RingHomInvPair.ids.{u3} R (Ring.toSemiring.{u3} R _inst_6)) M M₂ (AddCommGroup.toAddCommMonoid.{u2} M _inst_7) (AddCommGroup.toAddCommMonoid.{u1} M₂ _inst_8) _inst_9 _inst_10 f) p))) (FiniteDimensional.finrank.{u3, u2} R (Subtype.{succ u2} M (fun (x : M) => Membership.mem.{u2, u2} M (Submodule.{u3, u2} R M (Ring.toSemiring.{u3} R _inst_6) (AddCommGroup.toAddCommMonoid.{u2} M _inst_7) _inst_9) (SetLike.instMembership.{u2, u2} (Submodule.{u3, u2} R M (Ring.toSemiring.{u3} R _inst_6) (AddCommGroup.toAddCommMonoid.{u2} M _inst_7) _inst_9) M (Submodule.setLike.{u3, u2} R M (Ring.toSemiring.{u3} R _inst_6) (AddCommGroup.toAddCommMonoid.{u2} M _inst_7) _inst_9)) x p)) (Ring.toSemiring.{u3} R _inst_6) (Submodule.addCommGroup.{u3, u2} R M _inst_6 _inst_7 _inst_9 p) (Submodule.module.{u3, u2} R M (Ring.toSemiring.{u3} R _inst_6) (AddCommGroup.toAddCommMonoid.{u2} M _inst_7) _inst_9 p))
 Case conversion may be inaccurate. Consider using '#align linear_equiv.finrank_map_eq LinearEquiv.finrank_map_eqₓ'. -/
 /-- Pushforwards of finite-dimensional submodules along a `linear_equiv` have the same finrank. -/
 theorem finrank_map_eq (f : M ≃ₗ[R] M₂) (p : Submodule R M) :
@@ -343,7 +343,7 @@ variable [Ring K] [AddCommGroup V] [Module K V] {V₂ : Type v'} [AddCommGroup V
 lean 3 declaration is
   forall {K : Type.{u1}} {V : Type.{u2}} [_inst_1 : Ring.{u1} K] [_inst_2 : AddCommGroup.{u2} V] [_inst_3 : Module.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2)] {V₂ : Type.{u3}} [_inst_4 : AddCommGroup.{u3} V₂] [_inst_5 : Module.{u1, u3} K V₂ (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u3} V₂ _inst_4)] {f : LinearMap.{u1, u1, u2, u3} K K (Ring.toSemiring.{u1} K _inst_1) (Ring.toSemiring.{u1} K _inst_1) (RingHom.id.{u1} K (Semiring.toNonAssocSemiring.{u1} K (Ring.toSemiring.{u1} K _inst_1))) V V₂ (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) (AddCommGroup.toAddCommMonoid.{u3} V₂ _inst_4) _inst_3 _inst_5}, (Function.Injective.{succ u2, succ u3} V V₂ (coeFn.{max (succ u2) (succ u3), max (succ u2) (succ u3)} (LinearMap.{u1, u1, u2, u3} K K (Ring.toSemiring.{u1} K _inst_1) (Ring.toSemiring.{u1} K _inst_1) (RingHom.id.{u1} K (Semiring.toNonAssocSemiring.{u1} K (Ring.toSemiring.{u1} K _inst_1))) V V₂ (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) (AddCommGroup.toAddCommMonoid.{u3} V₂ _inst_4) _inst_3 _inst_5) (fun (_x : LinearMap.{u1, u1, u2, u3} K K (Ring.toSemiring.{u1} K _inst_1) (Ring.toSemiring.{u1} K _inst_1) (RingHom.id.{u1} K (Semiring.toNonAssocSemiring.{u1} K (Ring.toSemiring.{u1} K _inst_1))) V V₂ (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) (AddCommGroup.toAddCommMonoid.{u3} V₂ _inst_4) _inst_3 _inst_5) => V -> V₂) (LinearMap.hasCoeToFun.{u1, u1, u2, u3} K K V V₂ (Ring.toSemiring.{u1} K _inst_1) (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) (AddCommGroup.toAddCommMonoid.{u3} V₂ _inst_4) _inst_3 _inst_5 (RingHom.id.{u1} K (Semiring.toNonAssocSemiring.{u1} K (Ring.toSemiring.{u1} K _inst_1)))) f)) -> (Eq.{1} Nat (FiniteDimensional.finrank.{u1, u3} K (coeSort.{succ u3, succ (succ u3)} (Submodule.{u1, u3} K V₂ (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u3} V₂ _inst_4) _inst_5) Type.{u3} (SetLike.hasCoeToSort.{u3, u3} (Submodule.{u1, u3} K V₂ (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u3} V₂ _inst_4) _inst_5) V₂ (Submodule.setLike.{u1, u3} K V₂ (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u3} V₂ _inst_4) _inst_5)) (LinearMap.range.{u1, u1, u2, u3, max u2 u3} K K V V₂ (Ring.toSemiring.{u1} K _inst_1) (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) (AddCommGroup.toAddCommMonoid.{u3} V₂ _inst_4) _inst_3 _inst_5 (RingHom.id.{u1} K (Semiring.toNonAssocSemiring.{u1} K (Ring.toSemiring.{u1} K _inst_1))) (LinearMap.{u1, u1, u2, u3} K K (Ring.toSemiring.{u1} K _inst_1) (Ring.toSemiring.{u1} K _inst_1) (RingHom.id.{u1} K (Semiring.toNonAssocSemiring.{u1} K (Ring.toSemiring.{u1} K _inst_1))) V V₂ (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) (AddCommGroup.toAddCommMonoid.{u3} V₂ _inst_4) _inst_3 _inst_5) (LinearMap.semilinearMapClass.{u1, u1, u2, u3} K K V V₂ (Ring.toSemiring.{u1} K _inst_1) (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) (AddCommGroup.toAddCommMonoid.{u3} V₂ _inst_4) _inst_3 _inst_5 (RingHom.id.{u1} K (Semiring.toNonAssocSemiring.{u1} K (Ring.toSemiring.{u1} K _inst_1)))) (RingHomSurjective.ids.{u1} K (Ring.toSemiring.{u1} K _inst_1)) f)) (Ring.toSemiring.{u1} K _inst_1) (Submodule.addCommGroup.{u1, u3} K V₂ _inst_1 _inst_4 _inst_5 (LinearMap.range.{u1, u1, u2, u3, max u2 u3} K K V V₂ (Ring.toSemiring.{u1} K _inst_1) (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) (AddCommGroup.toAddCommMonoid.{u3} V₂ _inst_4) _inst_3 _inst_5 (RingHom.id.{u1} K (Semiring.toNonAssocSemiring.{u1} K (Ring.toSemiring.{u1} K _inst_1))) (LinearMap.{u1, u1, u2, u3} K K (Ring.toSemiring.{u1} K _inst_1) (Ring.toSemiring.{u1} K _inst_1) (RingHom.id.{u1} K (Semiring.toNonAssocSemiring.{u1} K (Ring.toSemiring.{u1} K _inst_1))) V V₂ (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) (AddCommGroup.toAddCommMonoid.{u3} V₂ _inst_4) _inst_3 _inst_5) (LinearMap.semilinearMapClass.{u1, u1, u2, u3} K K V V₂ (Ring.toSemiring.{u1} K _inst_1) (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) (AddCommGroup.toAddCommMonoid.{u3} V₂ _inst_4) _inst_3 _inst_5 (RingHom.id.{u1} K (Semiring.toNonAssocSemiring.{u1} K (Ring.toSemiring.{u1} K _inst_1)))) (RingHomSurjective.ids.{u1} K (Ring.toSemiring.{u1} K _inst_1)) f)) (Submodule.module.{u1, u3} K V₂ (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u3} V₂ _inst_4) _inst_5 (LinearMap.range.{u1, u1, u2, u3, max u2 u3} K K V V₂ (Ring.toSemiring.{u1} K _inst_1) (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) (AddCommGroup.toAddCommMonoid.{u3} V₂ _inst_4) _inst_3 _inst_5 (RingHom.id.{u1} K (Semiring.toNonAssocSemiring.{u1} K (Ring.toSemiring.{u1} K _inst_1))) (LinearMap.{u1, u1, u2, u3} K K (Ring.toSemiring.{u1} K _inst_1) (Ring.toSemiring.{u1} K _inst_1) (RingHom.id.{u1} K (Semiring.toNonAssocSemiring.{u1} K (Ring.toSemiring.{u1} K _inst_1))) V V₂ (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) (AddCommGroup.toAddCommMonoid.{u3} V₂ _inst_4) _inst_3 _inst_5) (LinearMap.semilinearMapClass.{u1, u1, u2, u3} K K V V₂ (Ring.toSemiring.{u1} K _inst_1) (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) (AddCommGroup.toAddCommMonoid.{u3} V₂ _inst_4) _inst_3 _inst_5 (RingHom.id.{u1} K (Semiring.toNonAssocSemiring.{u1} K (Ring.toSemiring.{u1} K _inst_1)))) (RingHomSurjective.ids.{u1} K (Ring.toSemiring.{u1} K _inst_1)) f))) (FiniteDimensional.finrank.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) _inst_2 _inst_3))
 but is expected to have type
-  forall {K : Type.{u1}} {V : Type.{u2}} [_inst_1 : Ring.{u1} K] [_inst_2 : AddCommGroup.{u2} V] [_inst_3 : Module.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2)] {V₂ : Type.{u3}} [_inst_4 : AddCommGroup.{u3} V₂] [_inst_5 : Module.{u1, u3} K V₂ (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u3} V₂ _inst_4)] {f : LinearMap.{u1, u1, u2, u3} K K (Ring.toSemiring.{u1} K _inst_1) (Ring.toSemiring.{u1} K _inst_1) (RingHom.id.{u1} K (Semiring.toNonAssocSemiring.{u1} K (Ring.toSemiring.{u1} K _inst_1))) V V₂ (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) (AddCommGroup.toAddCommMonoid.{u3} V₂ _inst_4) _inst_3 _inst_5}, (Function.Injective.{succ u2, succ u3} V V₂ (FunLike.coe.{max (succ u2) (succ u3), succ u2, succ u3} (LinearMap.{u1, u1, u2, u3} K K (Ring.toSemiring.{u1} K _inst_1) (Ring.toSemiring.{u1} K _inst_1) (RingHom.id.{u1} K (Semiring.toNonAssocSemiring.{u1} K (Ring.toSemiring.{u1} K _inst_1))) V V₂ (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) (AddCommGroup.toAddCommMonoid.{u3} V₂ _inst_4) _inst_3 _inst_5) V (fun (_x : V) => (fun (x._@.Mathlib.Algebra.Module.LinearMap._hyg.6190 : V) => V₂) _x) (LinearMap.instFunLikeLinearMap.{u1, u1, u2, u3} K K V V₂ (Ring.toSemiring.{u1} K _inst_1) (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) (AddCommGroup.toAddCommMonoid.{u3} V₂ _inst_4) _inst_3 _inst_5 (RingHom.id.{u1} K (Semiring.toNonAssocSemiring.{u1} K (Ring.toSemiring.{u1} K _inst_1)))) f)) -> (Eq.{1} Nat (FiniteDimensional.finrank.{u1, u3} K (Subtype.{succ u3} V₂ (fun (x : V₂) => Membership.mem.{u3, u3} V₂ (Submodule.{u1, u3} K V₂ (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u3} V₂ _inst_4) _inst_5) (SetLike.instMembership.{u3, u3} (Submodule.{u1, u3} K V₂ (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u3} V₂ _inst_4) _inst_5) V₂ (Submodule.setLike.{u1, u3} K V₂ (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u3} V₂ _inst_4) _inst_5)) x (LinearMap.range.{u1, u1, u2, u3, max u2 u3} K K V V₂ (Ring.toSemiring.{u1} K _inst_1) (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) (AddCommGroup.toAddCommMonoid.{u3} V₂ _inst_4) _inst_3 _inst_5 (RingHom.id.{u1} K (Semiring.toNonAssocSemiring.{u1} K (Ring.toSemiring.{u1} K _inst_1))) (LinearMap.{u1, u1, u2, u3} K K (Ring.toSemiring.{u1} K _inst_1) (Ring.toSemiring.{u1} K _inst_1) (RingHom.id.{u1} K (Semiring.toNonAssocSemiring.{u1} K (Ring.toSemiring.{u1} K _inst_1))) V V₂ (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) (AddCommGroup.toAddCommMonoid.{u3} V₂ _inst_4) _inst_3 _inst_5) (LinearMap.instSemilinearMapClassLinearMap.{u1, u1, u2, u3} K K V V₂ (Ring.toSemiring.{u1} K _inst_1) (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) (AddCommGroup.toAddCommMonoid.{u3} V₂ _inst_4) _inst_3 _inst_5 (RingHom.id.{u1} K (Semiring.toNonAssocSemiring.{u1} K (Ring.toSemiring.{u1} K _inst_1)))) (RingHomSurjective.ids.{u1} K (Ring.toSemiring.{u1} K _inst_1)) f))) (Ring.toSemiring.{u1} K _inst_1) (Submodule.addCommGroup.{u1, u3} K V₂ _inst_1 _inst_4 _inst_5 (LinearMap.range.{u1, u1, u2, u3, max u2 u3} K K V V₂ (Ring.toSemiring.{u1} K _inst_1) (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) (AddCommGroup.toAddCommMonoid.{u3} V₂ _inst_4) _inst_3 _inst_5 (RingHom.id.{u1} K (Semiring.toNonAssocSemiring.{u1} K (Ring.toSemiring.{u1} K _inst_1))) (LinearMap.{u1, u1, u2, u3} K K (Ring.toSemiring.{u1} K _inst_1) (Ring.toSemiring.{u1} K _inst_1) (RingHom.id.{u1} K (Semiring.toNonAssocSemiring.{u1} K (Ring.toSemiring.{u1} K _inst_1))) V V₂ (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) (AddCommGroup.toAddCommMonoid.{u3} V₂ _inst_4) _inst_3 _inst_5) (LinearMap.instSemilinearMapClassLinearMap.{u1, u1, u2, u3} K K V V₂ (Ring.toSemiring.{u1} K _inst_1) (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) (AddCommGroup.toAddCommMonoid.{u3} V₂ _inst_4) _inst_3 _inst_5 (RingHom.id.{u1} K (Semiring.toNonAssocSemiring.{u1} K (Ring.toSemiring.{u1} K _inst_1)))) (RingHomSurjective.ids.{u1} K (Ring.toSemiring.{u1} K _inst_1)) f)) (Submodule.module.{u1, u3} K V₂ (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u3} V₂ _inst_4) _inst_5 (LinearMap.range.{u1, u1, u2, u3, max u2 u3} K K V V₂ (Ring.toSemiring.{u1} K _inst_1) (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) (AddCommGroup.toAddCommMonoid.{u3} V₂ _inst_4) _inst_3 _inst_5 (RingHom.id.{u1} K (Semiring.toNonAssocSemiring.{u1} K (Ring.toSemiring.{u1} K _inst_1))) (LinearMap.{u1, u1, u2, u3} K K (Ring.toSemiring.{u1} K _inst_1) (Ring.toSemiring.{u1} K _inst_1) (RingHom.id.{u1} K (Semiring.toNonAssocSemiring.{u1} K (Ring.toSemiring.{u1} K _inst_1))) V V₂ (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) (AddCommGroup.toAddCommMonoid.{u3} V₂ _inst_4) _inst_3 _inst_5) (LinearMap.instSemilinearMapClassLinearMap.{u1, u1, u2, u3} K K V V₂ (Ring.toSemiring.{u1} K _inst_1) (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) (AddCommGroup.toAddCommMonoid.{u3} V₂ _inst_4) _inst_3 _inst_5 (RingHom.id.{u1} K (Semiring.toNonAssocSemiring.{u1} K (Ring.toSemiring.{u1} K _inst_1)))) (RingHomSurjective.ids.{u1} K (Ring.toSemiring.{u1} K _inst_1)) f))) (FiniteDimensional.finrank.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) _inst_2 _inst_3))
+  forall {K : Type.{u1}} {V : Type.{u2}} [_inst_1 : Ring.{u1} K] [_inst_2 : AddCommGroup.{u2} V] [_inst_3 : Module.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2)] {V₂ : Type.{u3}} [_inst_4 : AddCommGroup.{u3} V₂] [_inst_5 : Module.{u1, u3} K V₂ (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u3} V₂ _inst_4)] {f : LinearMap.{u1, u1, u2, u3} K K (Ring.toSemiring.{u1} K _inst_1) (Ring.toSemiring.{u1} K _inst_1) (RingHom.id.{u1} K (Semiring.toNonAssocSemiring.{u1} K (Ring.toSemiring.{u1} K _inst_1))) V V₂ (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) (AddCommGroup.toAddCommMonoid.{u3} V₂ _inst_4) _inst_3 _inst_5}, (Function.Injective.{succ u2, succ u3} V V₂ (FunLike.coe.{max (succ u2) (succ u3), succ u2, succ u3} (LinearMap.{u1, u1, u2, u3} K K (Ring.toSemiring.{u1} K _inst_1) (Ring.toSemiring.{u1} K _inst_1) (RingHom.id.{u1} K (Semiring.toNonAssocSemiring.{u1} K (Ring.toSemiring.{u1} K _inst_1))) V V₂ (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) (AddCommGroup.toAddCommMonoid.{u3} V₂ _inst_4) _inst_3 _inst_5) V (fun (_x : V) => (fun (x._@.Mathlib.Algebra.Module.LinearMap._hyg.6191 : V) => V₂) _x) (LinearMap.instFunLikeLinearMap.{u1, u1, u2, u3} K K V V₂ (Ring.toSemiring.{u1} K _inst_1) (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) (AddCommGroup.toAddCommMonoid.{u3} V₂ _inst_4) _inst_3 _inst_5 (RingHom.id.{u1} K (Semiring.toNonAssocSemiring.{u1} K (Ring.toSemiring.{u1} K _inst_1)))) f)) -> (Eq.{1} Nat (FiniteDimensional.finrank.{u1, u3} K (Subtype.{succ u3} V₂ (fun (x : V₂) => Membership.mem.{u3, u3} V₂ (Submodule.{u1, u3} K V₂ (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u3} V₂ _inst_4) _inst_5) (SetLike.instMembership.{u3, u3} (Submodule.{u1, u3} K V₂ (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u3} V₂ _inst_4) _inst_5) V₂ (Submodule.setLike.{u1, u3} K V₂ (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u3} V₂ _inst_4) _inst_5)) x (LinearMap.range.{u1, u1, u2, u3, max u2 u3} K K V V₂ (Ring.toSemiring.{u1} K _inst_1) (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) (AddCommGroup.toAddCommMonoid.{u3} V₂ _inst_4) _inst_3 _inst_5 (RingHom.id.{u1} K (Semiring.toNonAssocSemiring.{u1} K (Ring.toSemiring.{u1} K _inst_1))) (LinearMap.{u1, u1, u2, u3} K K (Ring.toSemiring.{u1} K _inst_1) (Ring.toSemiring.{u1} K _inst_1) (RingHom.id.{u1} K (Semiring.toNonAssocSemiring.{u1} K (Ring.toSemiring.{u1} K _inst_1))) V V₂ (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) (AddCommGroup.toAddCommMonoid.{u3} V₂ _inst_4) _inst_3 _inst_5) (LinearMap.semilinearMapClass.{u1, u1, u2, u3} K K V V₂ (Ring.toSemiring.{u1} K _inst_1) (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) (AddCommGroup.toAddCommMonoid.{u3} V₂ _inst_4) _inst_3 _inst_5 (RingHom.id.{u1} K (Semiring.toNonAssocSemiring.{u1} K (Ring.toSemiring.{u1} K _inst_1)))) (RingHomSurjective.ids.{u1} K (Ring.toSemiring.{u1} K _inst_1)) f))) (Ring.toSemiring.{u1} K _inst_1) (Submodule.addCommGroup.{u1, u3} K V₂ _inst_1 _inst_4 _inst_5 (LinearMap.range.{u1, u1, u2, u3, max u2 u3} K K V V₂ (Ring.toSemiring.{u1} K _inst_1) (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) (AddCommGroup.toAddCommMonoid.{u3} V₂ _inst_4) _inst_3 _inst_5 (RingHom.id.{u1} K (Semiring.toNonAssocSemiring.{u1} K (Ring.toSemiring.{u1} K _inst_1))) (LinearMap.{u1, u1, u2, u3} K K (Ring.toSemiring.{u1} K _inst_1) (Ring.toSemiring.{u1} K _inst_1) (RingHom.id.{u1} K (Semiring.toNonAssocSemiring.{u1} K (Ring.toSemiring.{u1} K _inst_1))) V V₂ (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) (AddCommGroup.toAddCommMonoid.{u3} V₂ _inst_4) _inst_3 _inst_5) (LinearMap.semilinearMapClass.{u1, u1, u2, u3} K K V V₂ (Ring.toSemiring.{u1} K _inst_1) (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) (AddCommGroup.toAddCommMonoid.{u3} V₂ _inst_4) _inst_3 _inst_5 (RingHom.id.{u1} K (Semiring.toNonAssocSemiring.{u1} K (Ring.toSemiring.{u1} K _inst_1)))) (RingHomSurjective.ids.{u1} K (Ring.toSemiring.{u1} K _inst_1)) f)) (Submodule.module.{u1, u3} K V₂ (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u3} V₂ _inst_4) _inst_5 (LinearMap.range.{u1, u1, u2, u3, max u2 u3} K K V V₂ (Ring.toSemiring.{u1} K _inst_1) (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) (AddCommGroup.toAddCommMonoid.{u3} V₂ _inst_4) _inst_3 _inst_5 (RingHom.id.{u1} K (Semiring.toNonAssocSemiring.{u1} K (Ring.toSemiring.{u1} K _inst_1))) (LinearMap.{u1, u1, u2, u3} K K (Ring.toSemiring.{u1} K _inst_1) (Ring.toSemiring.{u1} K _inst_1) (RingHom.id.{u1} K (Semiring.toNonAssocSemiring.{u1} K (Ring.toSemiring.{u1} K _inst_1))) V V₂ (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) (AddCommGroup.toAddCommMonoid.{u3} V₂ _inst_4) _inst_3 _inst_5) (LinearMap.semilinearMapClass.{u1, u1, u2, u3} K K V V₂ (Ring.toSemiring.{u1} K _inst_1) (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) (AddCommGroup.toAddCommMonoid.{u3} V₂ _inst_4) _inst_3 _inst_5 (RingHom.id.{u1} K (Semiring.toNonAssocSemiring.{u1} K (Ring.toSemiring.{u1} K _inst_1)))) (RingHomSurjective.ids.{u1} K (Ring.toSemiring.{u1} K _inst_1)) f))) (FiniteDimensional.finrank.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) _inst_2 _inst_3))
 Case conversion may be inaccurate. Consider using '#align linear_map.finrank_range_of_inj LinearMap.finrank_range_of_injₓ'. -/
 /-- The dimensions of the domain and range of an injective linear map are equal. -/
 theorem finrank_range_of_inj {f : V →ₗ[K] V₂} (hf : Function.Injective f) :
Diff
@@ -95,7 +95,7 @@ theorem finrank_le_of_rank_le {n : ℕ} (h : Module.rank K V ≤ ↑n) : finrank
 
 /- warning: finite_dimensional.finrank_lt_of_rank_lt -> FiniteDimensional.finrank_lt_of_rank_lt is a dubious translation:
 lean 3 declaration is
-  forall {K : Type.{u1}} {V : Type.{u2}} [_inst_1 : Ring.{u1} K] [_inst_2 : AddCommGroup.{u2} V] [_inst_3 : Module.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2)] {n : Nat}, (LT.lt.{succ u2} Cardinal.{u2} (Preorder.toLT.{succ u2} Cardinal.{u2} (PartialOrder.toPreorder.{succ u2} Cardinal.{u2} Cardinal.partialOrder.{u2})) (Module.rank.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) ((fun (a : Type) (b : Type.{succ u2}) [self : HasLiftT.{1, succ (succ u2)} a b] => self.0) Nat Cardinal.{u2} (HasLiftT.mk.{1, succ (succ u2)} Nat Cardinal.{u2} (CoeTCₓ.coe.{1, succ (succ u2)} Nat Cardinal.{u2} (Nat.castCoe.{succ u2} Cardinal.{u2} Cardinal.hasNatCast.{u2}))) n)) -> (LT.lt.{0} Nat Nat.hasLt (FiniteDimensional.finrank.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) _inst_2 _inst_3) n)
+  forall {K : Type.{u1}} {V : Type.{u2}} [_inst_1 : Ring.{u1} K] [_inst_2 : AddCommGroup.{u2} V] [_inst_3 : Module.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2)] {n : Nat}, (LT.lt.{succ u2} Cardinal.{u2} (Preorder.toHasLt.{succ u2} Cardinal.{u2} (PartialOrder.toPreorder.{succ u2} Cardinal.{u2} Cardinal.partialOrder.{u2})) (Module.rank.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) ((fun (a : Type) (b : Type.{succ u2}) [self : HasLiftT.{1, succ (succ u2)} a b] => self.0) Nat Cardinal.{u2} (HasLiftT.mk.{1, succ (succ u2)} Nat Cardinal.{u2} (CoeTCₓ.coe.{1, succ (succ u2)} Nat Cardinal.{u2} (Nat.castCoe.{succ u2} Cardinal.{u2} Cardinal.hasNatCast.{u2}))) n)) -> (LT.lt.{0} Nat Nat.hasLt (FiniteDimensional.finrank.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) _inst_2 _inst_3) n)
 but is expected to have type
   forall {K : Type.{u1}} {V : Type.{u2}} [_inst_1 : Ring.{u1} K] [_inst_2 : AddCommGroup.{u2} V] [_inst_3 : Module.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2)] {n : Nat}, (LT.lt.{succ u2} Cardinal.{u2} (Preorder.toLT.{succ u2} Cardinal.{u2} (PartialOrder.toPreorder.{succ u2} Cardinal.{u2} Cardinal.partialOrder.{u2})) (Module.rank.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (Nat.cast.{succ u2} Cardinal.{u2} Cardinal.instNatCastCardinal.{u2} n)) -> (LT.lt.{0} Nat instLTNat (FiniteDimensional.finrank.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) _inst_2 _inst_3) n)
 Case conversion may be inaccurate. Consider using '#align finite_dimensional.finrank_lt_of_rank_lt FiniteDimensional.finrank_lt_of_rank_ltₓ'. -/
@@ -108,7 +108,7 @@ theorem finrank_lt_of_rank_lt {n : ℕ} (h : Module.rank K V < ↑n) : finrank K
 
 /- warning: finite_dimensional.rank_lt_of_finrank_lt -> FiniteDimensional.rank_lt_of_finrank_lt is a dubious translation:
 lean 3 declaration is
-  forall {K : Type.{u1}} {V : Type.{u2}} [_inst_1 : Ring.{u1} K] [_inst_2 : AddCommGroup.{u2} V] [_inst_3 : Module.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2)] {n : Nat}, (LT.lt.{0} Nat Nat.hasLt n (FiniteDimensional.finrank.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) _inst_2 _inst_3)) -> (LT.lt.{succ u2} Cardinal.{u2} (Preorder.toLT.{succ u2} Cardinal.{u2} (PartialOrder.toPreorder.{succ u2} Cardinal.{u2} Cardinal.partialOrder.{u2})) ((fun (a : Type) (b : Type.{succ u2}) [self : HasLiftT.{1, succ (succ u2)} a b] => self.0) Nat Cardinal.{u2} (HasLiftT.mk.{1, succ (succ u2)} Nat Cardinal.{u2} (CoeTCₓ.coe.{1, succ (succ u2)} Nat Cardinal.{u2} (Nat.castCoe.{succ u2} Cardinal.{u2} Cardinal.hasNatCast.{u2}))) n) (Module.rank.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3))
+  forall {K : Type.{u1}} {V : Type.{u2}} [_inst_1 : Ring.{u1} K] [_inst_2 : AddCommGroup.{u2} V] [_inst_3 : Module.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2)] {n : Nat}, (LT.lt.{0} Nat Nat.hasLt n (FiniteDimensional.finrank.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) _inst_2 _inst_3)) -> (LT.lt.{succ u2} Cardinal.{u2} (Preorder.toHasLt.{succ u2} Cardinal.{u2} (PartialOrder.toPreorder.{succ u2} Cardinal.{u2} Cardinal.partialOrder.{u2})) ((fun (a : Type) (b : Type.{succ u2}) [self : HasLiftT.{1, succ (succ u2)} a b] => self.0) Nat Cardinal.{u2} (HasLiftT.mk.{1, succ (succ u2)} Nat Cardinal.{u2} (CoeTCₓ.coe.{1, succ (succ u2)} Nat Cardinal.{u2} (Nat.castCoe.{succ u2} Cardinal.{u2} Cardinal.hasNatCast.{u2}))) n) (Module.rank.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3))
 but is expected to have type
   forall {K : Type.{u1}} {V : Type.{u2}} [_inst_1 : Ring.{u1} K] [_inst_2 : AddCommGroup.{u2} V] [_inst_3 : Module.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2)] {n : Nat}, (LT.lt.{0} Nat instLTNat n (FiniteDimensional.finrank.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) _inst_2 _inst_3)) -> (LT.lt.{succ u2} Cardinal.{u2} (Preorder.toLT.{succ u2} Cardinal.{u2} (PartialOrder.toPreorder.{succ u2} Cardinal.{u2} Cardinal.partialOrder.{u2})) (Nat.cast.{succ u2} Cardinal.{u2} Cardinal.instNatCastCardinal.{u2} n) (Module.rank.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3))
 Case conversion may be inaccurate. Consider using '#align finite_dimensional.rank_lt_of_finrank_lt FiniteDimensional.rank_lt_of_finrank_ltₓ'. -/
@@ -121,13 +121,17 @@ theorem rank_lt_of_finrank_lt {n : ℕ} (h : n < finrank K V) : ↑n < Module.ra
     exact n.zero_le
 #align finite_dimensional.rank_lt_of_finrank_lt FiniteDimensional.rank_lt_of_finrank_lt
 
-#print FiniteDimensional.finrank_le_finrank_of_rank_le_rank /-
+/- warning: finite_dimensional.finrank_le_finrank_of_rank_le_rank -> FiniteDimensional.finrank_le_finrank_of_rank_le_rank is a dubious translation:
+lean 3 declaration is
+  forall {K : Type.{u1}} {V : Type.{u2}} [_inst_1 : Ring.{u1} K] [_inst_2 : AddCommGroup.{u2} V] [_inst_3 : Module.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2)] {V₂ : Type.{u3}} [_inst_4 : AddCommGroup.{u3} V₂] [_inst_5 : Module.{u1, u3} K V₂ (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u3} V₂ _inst_4)], (LE.le.{succ (max u2 u3)} Cardinal.{max u2 u3} Cardinal.hasLe.{max u2 u3} (Cardinal.lift.{u3, u2} (Module.rank.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3)) (Cardinal.lift.{u2, u3} (Module.rank.{u1, u3} K V₂ (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u3} V₂ _inst_4) _inst_5))) -> (LT.lt.{succ u3} Cardinal.{u3} (Preorder.toHasLt.{succ u3} Cardinal.{u3} (PartialOrder.toPreorder.{succ u3} Cardinal.{u3} Cardinal.partialOrder.{u3})) (Module.rank.{u1, u3} K V₂ (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u3} V₂ _inst_4) _inst_5) Cardinal.aleph0.{u3}) -> (LE.le.{0} Nat Nat.hasLe (FiniteDimensional.finrank.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) _inst_2 _inst_3) (FiniteDimensional.finrank.{u1, u3} K V₂ (Ring.toSemiring.{u1} K _inst_1) _inst_4 _inst_5))
+but is expected to have type
+  forall {K : Type.{u1}} {V : Type.{u2}} [_inst_1 : Ring.{u1} K] [_inst_2 : AddCommGroup.{u2} V] [_inst_3 : Module.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2)] {V₂ : Type.{u3}} [_inst_4 : AddCommGroup.{u3} V₂] [_inst_5 : Module.{u1, u3} K V₂ (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u3} V₂ _inst_4)], (LE.le.{max (succ u2) (succ u3)} Cardinal.{max u2 u3} Cardinal.instLECardinal.{max u2 u3} (Cardinal.lift.{u3, u2} (Module.rank.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3)) (Cardinal.lift.{u2, u3} (Module.rank.{u1, u3} K V₂ (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u3} V₂ _inst_4) _inst_5))) -> (LT.lt.{succ u3} Cardinal.{u3} (Preorder.toLT.{succ u3} Cardinal.{u3} (PartialOrder.toPreorder.{succ u3} Cardinal.{u3} Cardinal.partialOrder.{u3})) (Module.rank.{u1, u3} K V₂ (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u3} V₂ _inst_4) _inst_5) Cardinal.aleph0.{u3}) -> (LE.le.{0} Nat instLENat (FiniteDimensional.finrank.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) _inst_2 _inst_3) (FiniteDimensional.finrank.{u1, u3} K V₂ (Ring.toSemiring.{u1} K _inst_1) _inst_4 _inst_5))
+Case conversion may be inaccurate. Consider using '#align finite_dimensional.finrank_le_finrank_of_rank_le_rank FiniteDimensional.finrank_le_finrank_of_rank_le_rankₓ'. -/
 theorem finrank_le_finrank_of_rank_le_rank
     (h : lift.{v'} (Module.rank K V) ≤ Cardinal.lift.{v} (Module.rank K V₂))
     (h' : Module.rank K V₂ < ℵ₀) : finrank K V ≤ finrank K V₂ := by
   simpa only [to_nat_lift] using to_nat_le_of_le_of_lt_aleph_0 (lift_lt_aleph_0.mpr h') h
 #align finite_dimensional.finrank_le_finrank_of_rank_le_rank FiniteDimensional.finrank_le_finrank_of_rank_le_rank
--/
 
 section
 
@@ -392,7 +396,7 @@ variable [Ring K] [AddCommGroup V] [Module K V] {V₂ : Type v'} [AddCommGroup V
 
 /- warning: submodule.lt_of_le_of_finrank_lt_finrank -> Submodule.lt_of_le_of_finrank_lt_finrank is a dubious translation:
 lean 3 declaration is
-  forall {K : Type.{u1}} {V : Type.{u2}} [_inst_1 : Ring.{u1} K] [_inst_2 : AddCommGroup.{u2} V] [_inst_3 : Module.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2)] {s : Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3} {t : Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3}, (LE.le.{u2} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (Preorder.toLE.{u2} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (PartialOrder.toPreorder.{u2} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (SetLike.partialOrder.{u2, u2} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) V (Submodule.setLike.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3)))) s t) -> (LT.lt.{0} Nat Nat.hasLt (FiniteDimensional.finrank.{u1, u2} K (coeSort.{succ u2, succ (succ u2)} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) Type.{u2} (SetLike.hasCoeToSort.{u2, u2} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) V (Submodule.setLike.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3)) s) (Ring.toSemiring.{u1} K _inst_1) (Submodule.addCommGroup.{u1, u2} K V _inst_1 _inst_2 _inst_3 s) (Submodule.module.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3 s)) (FiniteDimensional.finrank.{u1, u2} K (coeSort.{succ u2, succ (succ u2)} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) Type.{u2} (SetLike.hasCoeToSort.{u2, u2} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) V (Submodule.setLike.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3)) t) (Ring.toSemiring.{u1} K _inst_1) (Submodule.addCommGroup.{u1, u2} K V _inst_1 _inst_2 _inst_3 t) (Submodule.module.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3 t))) -> (LT.lt.{u2} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (Preorder.toLT.{u2} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (PartialOrder.toPreorder.{u2} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (SetLike.partialOrder.{u2, u2} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) V (Submodule.setLike.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3)))) s t)
+  forall {K : Type.{u1}} {V : Type.{u2}} [_inst_1 : Ring.{u1} K] [_inst_2 : AddCommGroup.{u2} V] [_inst_3 : Module.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2)] {s : Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3} {t : Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3}, (LE.le.{u2} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (Preorder.toHasLe.{u2} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (PartialOrder.toPreorder.{u2} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (SetLike.partialOrder.{u2, u2} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) V (Submodule.setLike.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3)))) s t) -> (LT.lt.{0} Nat Nat.hasLt (FiniteDimensional.finrank.{u1, u2} K (coeSort.{succ u2, succ (succ u2)} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) Type.{u2} (SetLike.hasCoeToSort.{u2, u2} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) V (Submodule.setLike.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3)) s) (Ring.toSemiring.{u1} K _inst_1) (Submodule.addCommGroup.{u1, u2} K V _inst_1 _inst_2 _inst_3 s) (Submodule.module.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3 s)) (FiniteDimensional.finrank.{u1, u2} K (coeSort.{succ u2, succ (succ u2)} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) Type.{u2} (SetLike.hasCoeToSort.{u2, u2} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) V (Submodule.setLike.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3)) t) (Ring.toSemiring.{u1} K _inst_1) (Submodule.addCommGroup.{u1, u2} K V _inst_1 _inst_2 _inst_3 t) (Submodule.module.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3 t))) -> (LT.lt.{u2} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (Preorder.toHasLt.{u2} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (PartialOrder.toPreorder.{u2} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (SetLike.partialOrder.{u2, u2} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) V (Submodule.setLike.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3)))) s t)
 but is expected to have type
   forall {K : Type.{u1}} {V : Type.{u2}} [_inst_1 : Ring.{u1} K] [_inst_2 : AddCommGroup.{u2} V] [_inst_3 : Module.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2)] {s : Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3} {t : Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3}, (LE.le.{u2} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (Preorder.toLE.{u2} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (PartialOrder.toPreorder.{u2} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (OmegaCompletePartialOrder.toPartialOrder.{u2} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (CompleteLattice.instOmegaCompletePartialOrder.{u2} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (Submodule.completeLattice.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3))))) s t) -> (LT.lt.{0} Nat instLTNat (FiniteDimensional.finrank.{u1, u2} K (Subtype.{succ u2} V (fun (x : V) => Membership.mem.{u2, u2} V (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (SetLike.instMembership.{u2, u2} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) V (Submodule.setLike.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3)) x s)) (Ring.toSemiring.{u1} K _inst_1) (Submodule.addCommGroup.{u1, u2} K V _inst_1 _inst_2 _inst_3 s) (Submodule.module.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3 s)) (FiniteDimensional.finrank.{u1, u2} K (Subtype.{succ u2} V (fun (x : V) => Membership.mem.{u2, u2} V (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (SetLike.instMembership.{u2, u2} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) V (Submodule.setLike.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3)) x t)) (Ring.toSemiring.{u1} K _inst_1) (Submodule.addCommGroup.{u1, u2} K V _inst_1 _inst_2 _inst_3 t) (Submodule.module.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3 t))) -> (LT.lt.{u2} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (Preorder.toLT.{u2} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (PartialOrder.toPreorder.{u2} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (OmegaCompletePartialOrder.toPartialOrder.{u2} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (CompleteLattice.instOmegaCompletePartialOrder.{u2} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (Submodule.completeLattice.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3))))) s t)
 Case conversion may be inaccurate. Consider using '#align submodule.lt_of_le_of_finrank_lt_finrank Submodule.lt_of_le_of_finrank_lt_finrankₓ'. -/
@@ -403,7 +407,7 @@ theorem lt_of_le_of_finrank_lt_finrank {s t : Submodule K V} (le : s ≤ t)
 
 /- warning: submodule.lt_top_of_finrank_lt_finrank -> Submodule.lt_top_of_finrank_lt_finrank is a dubious translation:
 lean 3 declaration is
-  forall {K : Type.{u1}} {V : Type.{u2}} [_inst_1 : Ring.{u1} K] [_inst_2 : AddCommGroup.{u2} V] [_inst_3 : Module.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2)] {s : Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3}, (LT.lt.{0} Nat Nat.hasLt (FiniteDimensional.finrank.{u1, u2} K (coeSort.{succ u2, succ (succ u2)} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) Type.{u2} (SetLike.hasCoeToSort.{u2, u2} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) V (Submodule.setLike.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3)) s) (Ring.toSemiring.{u1} K _inst_1) (Submodule.addCommGroup.{u1, u2} K V _inst_1 _inst_2 _inst_3 s) (Submodule.module.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3 s)) (FiniteDimensional.finrank.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) _inst_2 _inst_3)) -> (LT.lt.{u2} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (Preorder.toLT.{u2} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (PartialOrder.toPreorder.{u2} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (SetLike.partialOrder.{u2, u2} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) V (Submodule.setLike.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3)))) s (Top.top.{u2} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (Submodule.hasTop.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3)))
+  forall {K : Type.{u1}} {V : Type.{u2}} [_inst_1 : Ring.{u1} K] [_inst_2 : AddCommGroup.{u2} V] [_inst_3 : Module.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2)] {s : Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3}, (LT.lt.{0} Nat Nat.hasLt (FiniteDimensional.finrank.{u1, u2} K (coeSort.{succ u2, succ (succ u2)} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) Type.{u2} (SetLike.hasCoeToSort.{u2, u2} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) V (Submodule.setLike.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3)) s) (Ring.toSemiring.{u1} K _inst_1) (Submodule.addCommGroup.{u1, u2} K V _inst_1 _inst_2 _inst_3 s) (Submodule.module.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3 s)) (FiniteDimensional.finrank.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) _inst_2 _inst_3)) -> (LT.lt.{u2} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (Preorder.toHasLt.{u2} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (PartialOrder.toPreorder.{u2} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (SetLike.partialOrder.{u2, u2} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) V (Submodule.setLike.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3)))) s (Top.top.{u2} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (Submodule.hasTop.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3)))
 but is expected to have type
   forall {K : Type.{u1}} {V : Type.{u2}} [_inst_1 : Ring.{u1} K] [_inst_2 : AddCommGroup.{u2} V] [_inst_3 : Module.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2)] {s : Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3}, (LT.lt.{0} Nat instLTNat (FiniteDimensional.finrank.{u1, u2} K (Subtype.{succ u2} V (fun (x : V) => Membership.mem.{u2, u2} V (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (SetLike.instMembership.{u2, u2} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) V (Submodule.setLike.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3)) x s)) (Ring.toSemiring.{u1} K _inst_1) (Submodule.addCommGroup.{u1, u2} K V _inst_1 _inst_2 _inst_3 s) (Submodule.module.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3 s)) (FiniteDimensional.finrank.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) _inst_2 _inst_3)) -> (LT.lt.{u2} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (Preorder.toLT.{u2} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (PartialOrder.toPreorder.{u2} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (OmegaCompletePartialOrder.toPartialOrder.{u2} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (CompleteLattice.instOmegaCompletePartialOrder.{u2} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (Submodule.completeLattice.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3))))) s (Top.top.{u2} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (Submodule.instTopSubmodule.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3)))
 Case conversion may be inaccurate. Consider using '#align submodule.lt_top_of_finrank_lt_finrank Submodule.lt_top_of_finrank_lt_finrankₓ'. -/
@@ -501,7 +505,7 @@ theorem finrank_span_finset_eq_card (s : Finset V) (hs : LinearIndependent K (co
 
 /- warning: span_lt_of_subset_of_card_lt_finrank -> span_lt_of_subset_of_card_lt_finrank is a dubious translation:
 lean 3 declaration is
-  forall {K : Type.{u1}} {V : Type.{u2}} [_inst_1 : DivisionRing.{u1} K] [_inst_2 : AddCommGroup.{u2} V] [_inst_3 : Module.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2)] {s : Set.{u2} V} [_inst_4 : Fintype.{u2} (coeSort.{succ u2, succ (succ u2)} (Set.{u2} V) Type.{u2} (Set.hasCoeToSort.{u2} V) s)] {t : Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3}, (HasSubset.Subset.{u2} (Set.{u2} V) (Set.hasSubset.{u2} V) s ((fun (a : Type.{u2}) (b : Type.{u2}) [self : HasLiftT.{succ u2, succ u2} a b] => self.0) (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (Set.{u2} V) (HasLiftT.mk.{succ u2, succ u2} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (Set.{u2} V) (CoeTCₓ.coe.{succ u2, succ u2} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (Set.{u2} V) (SetLike.Set.hasCoeT.{u2, u2} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) V (Submodule.setLike.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3)))) t)) -> (LT.lt.{0} Nat Nat.hasLt (Finset.card.{u2} V (Set.toFinset.{u2} V s _inst_4)) (FiniteDimensional.finrank.{u1, u2} K (coeSort.{succ u2, succ (succ u2)} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) Type.{u2} (SetLike.hasCoeToSort.{u2, u2} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) V (Submodule.setLike.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3)) t) (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (Submodule.addCommGroup.{u1, u2} K V (DivisionRing.toRing.{u1} K _inst_1) _inst_2 _inst_3 t) (Submodule.module.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3 t))) -> (LT.lt.{u2} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (Preorder.toLT.{u2} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (PartialOrder.toPreorder.{u2} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (SetLike.partialOrder.{u2, u2} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) V (Submodule.setLike.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3)))) (Submodule.span.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3 s) t)
+  forall {K : Type.{u1}} {V : Type.{u2}} [_inst_1 : DivisionRing.{u1} K] [_inst_2 : AddCommGroup.{u2} V] [_inst_3 : Module.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2)] {s : Set.{u2} V} [_inst_4 : Fintype.{u2} (coeSort.{succ u2, succ (succ u2)} (Set.{u2} V) Type.{u2} (Set.hasCoeToSort.{u2} V) s)] {t : Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3}, (HasSubset.Subset.{u2} (Set.{u2} V) (Set.hasSubset.{u2} V) s ((fun (a : Type.{u2}) (b : Type.{u2}) [self : HasLiftT.{succ u2, succ u2} a b] => self.0) (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (Set.{u2} V) (HasLiftT.mk.{succ u2, succ u2} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (Set.{u2} V) (CoeTCₓ.coe.{succ u2, succ u2} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (Set.{u2} V) (SetLike.Set.hasCoeT.{u2, u2} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) V (Submodule.setLike.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3)))) t)) -> (LT.lt.{0} Nat Nat.hasLt (Finset.card.{u2} V (Set.toFinset.{u2} V s _inst_4)) (FiniteDimensional.finrank.{u1, u2} K (coeSort.{succ u2, succ (succ u2)} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) Type.{u2} (SetLike.hasCoeToSort.{u2, u2} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) V (Submodule.setLike.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3)) t) (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (Submodule.addCommGroup.{u1, u2} K V (DivisionRing.toRing.{u1} K _inst_1) _inst_2 _inst_3 t) (Submodule.module.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3 t))) -> (LT.lt.{u2} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (Preorder.toHasLt.{u2} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (PartialOrder.toPreorder.{u2} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (SetLike.partialOrder.{u2, u2} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) V (Submodule.setLike.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3)))) (Submodule.span.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3 s) t)
 but is expected to have type
   forall {K : Type.{u1}} {V : Type.{u2}} [_inst_1 : DivisionRing.{u1} K] [_inst_2 : AddCommGroup.{u2} V] [_inst_3 : Module.{u1, u2} K V (DivisionSemiring.toSemiring.{u1} K (DivisionRing.toDivisionSemiring.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2)] {s : Set.{u2} V} [_inst_4 : Fintype.{u2} (Set.Elem.{u2} V s)] {t : Submodule.{u1, u2} K V (DivisionSemiring.toSemiring.{u1} K (DivisionRing.toDivisionSemiring.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3}, (HasSubset.Subset.{u2} (Set.{u2} V) (Set.instHasSubsetSet.{u2} V) s (SetLike.coe.{u2, u2} (Submodule.{u1, u2} K V (DivisionSemiring.toSemiring.{u1} K (DivisionRing.toDivisionSemiring.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) V (Submodule.setLike.{u1, u2} K V (DivisionSemiring.toSemiring.{u1} K (DivisionRing.toDivisionSemiring.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) t)) -> (LT.lt.{0} Nat instLTNat (Finset.card.{u2} V (Set.toFinset.{u2} V s _inst_4)) (FiniteDimensional.finrank.{u1, u2} K (Subtype.{succ u2} V (fun (x : V) => Membership.mem.{u2, u2} V (Submodule.{u1, u2} K V (DivisionSemiring.toSemiring.{u1} K (DivisionRing.toDivisionSemiring.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (SetLike.instMembership.{u2, u2} (Submodule.{u1, u2} K V (DivisionSemiring.toSemiring.{u1} K (DivisionRing.toDivisionSemiring.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) V (Submodule.setLike.{u1, u2} K V (DivisionSemiring.toSemiring.{u1} K (DivisionRing.toDivisionSemiring.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3)) x t)) (DivisionSemiring.toSemiring.{u1} K (DivisionRing.toDivisionSemiring.{u1} K _inst_1)) (Submodule.addCommGroup.{u1, u2} K V (DivisionRing.toRing.{u1} K _inst_1) _inst_2 _inst_3 t) (Submodule.module.{u1, u2} K V (DivisionSemiring.toSemiring.{u1} K (DivisionRing.toDivisionSemiring.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3 t))) -> (LT.lt.{u2} (Submodule.{u1, u2} K V (DivisionSemiring.toSemiring.{u1} K (DivisionRing.toDivisionSemiring.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (Preorder.toLT.{u2} (Submodule.{u1, u2} K V (DivisionSemiring.toSemiring.{u1} K (DivisionRing.toDivisionSemiring.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (PartialOrder.toPreorder.{u2} (Submodule.{u1, u2} K V (DivisionSemiring.toSemiring.{u1} K (DivisionRing.toDivisionSemiring.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (OmegaCompletePartialOrder.toPartialOrder.{u2} (Submodule.{u1, u2} K V (DivisionSemiring.toSemiring.{u1} K (DivisionRing.toDivisionSemiring.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (CompleteLattice.instOmegaCompletePartialOrder.{u2} (Submodule.{u1, u2} K V (DivisionSemiring.toSemiring.{u1} K (DivisionRing.toDivisionSemiring.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (Submodule.completeLattice.{u1, u2} K V (DivisionSemiring.toSemiring.{u1} K (DivisionRing.toDivisionSemiring.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3))))) (Submodule.span.{u1, u2} K V (DivisionSemiring.toSemiring.{u1} K (DivisionRing.toDivisionSemiring.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3 s) t)
 Case conversion may be inaccurate. Consider using '#align span_lt_of_subset_of_card_lt_finrank span_lt_of_subset_of_card_lt_finrankₓ'. -/
@@ -513,7 +517,7 @@ theorem span_lt_of_subset_of_card_lt_finrank {s : Set V} [Fintype s] {t : Submod
 
 /- warning: span_lt_top_of_card_lt_finrank -> span_lt_top_of_card_lt_finrank is a dubious translation:
 lean 3 declaration is
-  forall {K : Type.{u1}} {V : Type.{u2}} [_inst_1 : DivisionRing.{u1} K] [_inst_2 : AddCommGroup.{u2} V] [_inst_3 : Module.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2)] {s : Set.{u2} V} [_inst_4 : Fintype.{u2} (coeSort.{succ u2, succ (succ u2)} (Set.{u2} V) Type.{u2} (Set.hasCoeToSort.{u2} V) s)], (LT.lt.{0} Nat Nat.hasLt (Finset.card.{u2} V (Set.toFinset.{u2} V s _inst_4)) (FiniteDimensional.finrank.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) _inst_2 _inst_3)) -> (LT.lt.{u2} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (Preorder.toLT.{u2} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (PartialOrder.toPreorder.{u2} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (SetLike.partialOrder.{u2, u2} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) V (Submodule.setLike.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3)))) (Submodule.span.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3 s) (Top.top.{u2} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (Submodule.hasTop.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3)))
+  forall {K : Type.{u1}} {V : Type.{u2}} [_inst_1 : DivisionRing.{u1} K] [_inst_2 : AddCommGroup.{u2} V] [_inst_3 : Module.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2)] {s : Set.{u2} V} [_inst_4 : Fintype.{u2} (coeSort.{succ u2, succ (succ u2)} (Set.{u2} V) Type.{u2} (Set.hasCoeToSort.{u2} V) s)], (LT.lt.{0} Nat Nat.hasLt (Finset.card.{u2} V (Set.toFinset.{u2} V s _inst_4)) (FiniteDimensional.finrank.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) _inst_2 _inst_3)) -> (LT.lt.{u2} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (Preorder.toHasLt.{u2} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (PartialOrder.toPreorder.{u2} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (SetLike.partialOrder.{u2, u2} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) V (Submodule.setLike.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3)))) (Submodule.span.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3 s) (Top.top.{u2} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (Submodule.hasTop.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3)))
 but is expected to have type
   forall {K : Type.{u1}} {V : Type.{u2}} [_inst_1 : DivisionRing.{u1} K] [_inst_2 : AddCommGroup.{u2} V] [_inst_3 : Module.{u1, u2} K V (DivisionSemiring.toSemiring.{u1} K (DivisionRing.toDivisionSemiring.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2)] {s : Set.{u2} V} [_inst_4 : Fintype.{u2} (Set.Elem.{u2} V s)], (LT.lt.{0} Nat instLTNat (Finset.card.{u2} V (Set.toFinset.{u2} V s _inst_4)) (FiniteDimensional.finrank.{u1, u2} K V (DivisionSemiring.toSemiring.{u1} K (DivisionRing.toDivisionSemiring.{u1} K _inst_1)) _inst_2 _inst_3)) -> (LT.lt.{u2} (Submodule.{u1, u2} K V (DivisionSemiring.toSemiring.{u1} K (DivisionRing.toDivisionSemiring.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (Preorder.toLT.{u2} (Submodule.{u1, u2} K V (DivisionSemiring.toSemiring.{u1} K (DivisionRing.toDivisionSemiring.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (PartialOrder.toPreorder.{u2} (Submodule.{u1, u2} K V (DivisionSemiring.toSemiring.{u1} K (DivisionRing.toDivisionSemiring.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (OmegaCompletePartialOrder.toPartialOrder.{u2} (Submodule.{u1, u2} K V (DivisionSemiring.toSemiring.{u1} K (DivisionRing.toDivisionSemiring.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (CompleteLattice.instOmegaCompletePartialOrder.{u2} (Submodule.{u1, u2} K V (DivisionSemiring.toSemiring.{u1} K (DivisionRing.toDivisionSemiring.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (Submodule.completeLattice.{u1, u2} K V (DivisionSemiring.toSemiring.{u1} K (DivisionRing.toDivisionSemiring.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3))))) (Submodule.span.{u1, u2} K V (DivisionSemiring.toSemiring.{u1} K (DivisionRing.toDivisionSemiring.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3 s) (Top.top.{u2} (Submodule.{u1, u2} K V (DivisionSemiring.toSemiring.{u1} K (DivisionRing.toDivisionSemiring.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (Submodule.instTopSubmodule.{u1, u2} K V (DivisionSemiring.toSemiring.{u1} K (DivisionRing.toDivisionSemiring.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3)))
 Case conversion may be inaccurate. Consider using '#align span_lt_top_of_card_lt_finrank span_lt_top_of_card_lt_finrankₓ'. -/
@@ -534,7 +538,7 @@ variable [DivisionRing K] [AddCommGroup V] [Module K V]
 
 /- warning: linear_independent_of_top_le_span_of_card_eq_finrank -> linearIndependent_of_top_le_span_of_card_eq_finrank is a dubious translation:
 lean 3 declaration is
-  forall {K : Type.{u1}} {V : Type.{u2}} [_inst_1 : DivisionRing.{u1} K] [_inst_2 : AddCommGroup.{u2} V] [_inst_3 : Module.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2)] {ι : Type.{u3}} [_inst_4 : Fintype.{u3} ι] {b : ι -> V}, (LE.le.{u2} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (Preorder.toLE.{u2} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (PartialOrder.toPreorder.{u2} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (SetLike.partialOrder.{u2, u2} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) V (Submodule.setLike.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3)))) (Top.top.{u2} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (Submodule.hasTop.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3)) (Submodule.span.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3 (Set.range.{u2, succ u3} V ι b))) -> (Eq.{1} Nat (Fintype.card.{u3} ι _inst_4) (FiniteDimensional.finrank.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) _inst_2 _inst_3)) -> (LinearIndependent.{u3, u1, u2} ι K V b (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3)
+  forall {K : Type.{u1}} {V : Type.{u2}} [_inst_1 : DivisionRing.{u1} K] [_inst_2 : AddCommGroup.{u2} V] [_inst_3 : Module.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2)] {ι : Type.{u3}} [_inst_4 : Fintype.{u3} ι] {b : ι -> V}, (LE.le.{u2} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (Preorder.toHasLe.{u2} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (PartialOrder.toPreorder.{u2} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (SetLike.partialOrder.{u2, u2} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) V (Submodule.setLike.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3)))) (Top.top.{u2} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (Submodule.hasTop.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3)) (Submodule.span.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3 (Set.range.{u2, succ u3} V ι b))) -> (Eq.{1} Nat (Fintype.card.{u3} ι _inst_4) (FiniteDimensional.finrank.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) _inst_2 _inst_3)) -> (LinearIndependent.{u3, u1, u2} ι K V b (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3)
 but is expected to have type
   forall {K : Type.{u2}} {V : Type.{u3}} [_inst_1 : DivisionRing.{u2} K] [_inst_2 : AddCommGroup.{u3} V] [_inst_3 : Module.{u2, u3} K V (DivisionSemiring.toSemiring.{u2} K (DivisionRing.toDivisionSemiring.{u2} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u3} V _inst_2)] {ι : Type.{u1}} [_inst_4 : Fintype.{u1} ι] {b : ι -> V}, (LE.le.{u3} (Submodule.{u2, u3} K V (DivisionSemiring.toSemiring.{u2} K (DivisionRing.toDivisionSemiring.{u2} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u3} V _inst_2) _inst_3) (Preorder.toLE.{u3} (Submodule.{u2, u3} K V (DivisionSemiring.toSemiring.{u2} K (DivisionRing.toDivisionSemiring.{u2} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u3} V _inst_2) _inst_3) (PartialOrder.toPreorder.{u3} (Submodule.{u2, u3} K V (DivisionSemiring.toSemiring.{u2} K (DivisionRing.toDivisionSemiring.{u2} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u3} V _inst_2) _inst_3) (OmegaCompletePartialOrder.toPartialOrder.{u3} (Submodule.{u2, u3} K V (DivisionSemiring.toSemiring.{u2} K (DivisionRing.toDivisionSemiring.{u2} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u3} V _inst_2) _inst_3) (CompleteLattice.instOmegaCompletePartialOrder.{u3} (Submodule.{u2, u3} K V (DivisionSemiring.toSemiring.{u2} K (DivisionRing.toDivisionSemiring.{u2} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u3} V _inst_2) _inst_3) (Submodule.completeLattice.{u2, u3} K V (DivisionSemiring.toSemiring.{u2} K (DivisionRing.toDivisionSemiring.{u2} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u3} V _inst_2) _inst_3))))) (Top.top.{u3} (Submodule.{u2, u3} K V (DivisionSemiring.toSemiring.{u2} K (DivisionRing.toDivisionSemiring.{u2} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u3} V _inst_2) _inst_3) (Submodule.instTopSubmodule.{u2, u3} K V (DivisionSemiring.toSemiring.{u2} K (DivisionRing.toDivisionSemiring.{u2} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u3} V _inst_2) _inst_3)) (Submodule.span.{u2, u3} K V (DivisionSemiring.toSemiring.{u2} K (DivisionRing.toDivisionSemiring.{u2} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u3} V _inst_2) _inst_3 (Set.range.{u3, succ u1} V ι b))) -> (Eq.{1} Nat (Fintype.card.{u1} ι _inst_4) (FiniteDimensional.finrank.{u2, u3} K V (DivisionSemiring.toSemiring.{u2} K (DivisionRing.toDivisionSemiring.{u2} K _inst_1)) _inst_2 _inst_3)) -> (LinearIndependent.{u1, u2, u3} ι K V b (DivisionSemiring.toSemiring.{u2} K (DivisionRing.toDivisionSemiring.{u2} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u3} V _inst_2) _inst_3)
 Case conversion may be inaccurate. Consider using '#align linear_independent_of_top_le_span_of_card_eq_finrank linearIndependent_of_top_le_span_of_card_eq_finrankₓ'. -/
@@ -639,7 +643,7 @@ theorem linearIndependent_iff_card_le_finrank_span {ι : Type _} [Fintype ι] {b
 
 /- warning: basis_of_top_le_span_of_card_eq_finrank -> basisOfTopLeSpanOfCardEqFinrank is a dubious translation:
 lean 3 declaration is
-  forall {K : Type.{u1}} {V : Type.{u2}} [_inst_1 : DivisionRing.{u1} K] [_inst_2 : AddCommGroup.{u2} V] [_inst_3 : Module.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2)] {ι : Type.{u3}} [_inst_4 : Fintype.{u3} ι] (b : ι -> V), (LE.le.{u2} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (Preorder.toLE.{u2} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (PartialOrder.toPreorder.{u2} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (SetLike.partialOrder.{u2, u2} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) V (Submodule.setLike.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3)))) (Top.top.{u2} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (Submodule.hasTop.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3)) (Submodule.span.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3 (Set.range.{u2, succ u3} V ι b))) -> (Eq.{1} Nat (Fintype.card.{u3} ι _inst_4) (FiniteDimensional.finrank.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) _inst_2 _inst_3)) -> (Basis.{u3, u1, u2} ι K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3)
+  forall {K : Type.{u1}} {V : Type.{u2}} [_inst_1 : DivisionRing.{u1} K] [_inst_2 : AddCommGroup.{u2} V] [_inst_3 : Module.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2)] {ι : Type.{u3}} [_inst_4 : Fintype.{u3} ι] (b : ι -> V), (LE.le.{u2} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (Preorder.toHasLe.{u2} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (PartialOrder.toPreorder.{u2} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (SetLike.partialOrder.{u2, u2} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) V (Submodule.setLike.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3)))) (Top.top.{u2} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (Submodule.hasTop.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3)) (Submodule.span.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3 (Set.range.{u2, succ u3} V ι b))) -> (Eq.{1} Nat (Fintype.card.{u3} ι _inst_4) (FiniteDimensional.finrank.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) _inst_2 _inst_3)) -> (Basis.{u3, u1, u2} ι K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3)
 but is expected to have type
   forall {K : Type.{u1}} {V : Type.{u2}} [_inst_1 : DivisionRing.{u1} K] [_inst_2 : AddCommGroup.{u2} V] [_inst_3 : Module.{u1, u2} K V (DivisionSemiring.toSemiring.{u1} K (DivisionRing.toDivisionSemiring.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2)] {ι : Type.{u3}} [_inst_4 : Fintype.{u3} ι] (b : ι -> V), (LE.le.{u2} (Submodule.{u1, u2} K V (DivisionSemiring.toSemiring.{u1} K (DivisionRing.toDivisionSemiring.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (Preorder.toLE.{u2} (Submodule.{u1, u2} K V (DivisionSemiring.toSemiring.{u1} K (DivisionRing.toDivisionSemiring.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (PartialOrder.toPreorder.{u2} (Submodule.{u1, u2} K V (DivisionSemiring.toSemiring.{u1} K (DivisionRing.toDivisionSemiring.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (OmegaCompletePartialOrder.toPartialOrder.{u2} (Submodule.{u1, u2} K V (DivisionSemiring.toSemiring.{u1} K (DivisionRing.toDivisionSemiring.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (CompleteLattice.instOmegaCompletePartialOrder.{u2} (Submodule.{u1, u2} K V (DivisionSemiring.toSemiring.{u1} K (DivisionRing.toDivisionSemiring.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (Submodule.completeLattice.{u1, u2} K V (DivisionSemiring.toSemiring.{u1} K (DivisionRing.toDivisionSemiring.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3))))) (Top.top.{u2} (Submodule.{u1, u2} K V (DivisionSemiring.toSemiring.{u1} K (DivisionRing.toDivisionSemiring.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (Submodule.instTopSubmodule.{u1, u2} K V (DivisionSemiring.toSemiring.{u1} K (DivisionRing.toDivisionSemiring.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3)) (Submodule.span.{u1, u2} K V (DivisionSemiring.toSemiring.{u1} K (DivisionRing.toDivisionSemiring.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3 (Set.range.{u2, succ u3} V ι b))) -> (Eq.{1} Nat (Fintype.card.{u3} ι _inst_4) (FiniteDimensional.finrank.{u1, u2} K V (DivisionSemiring.toSemiring.{u1} K (DivisionRing.toDivisionSemiring.{u1} K _inst_1)) _inst_2 _inst_3)) -> (Basis.{u3, u1, u2} ι K V (DivisionSemiring.toSemiring.{u1} K (DivisionRing.toDivisionSemiring.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3)
 Case conversion may be inaccurate. Consider using '#align basis_of_top_le_span_of_card_eq_finrank basisOfTopLeSpanOfCardEqFinrankₓ'. -/
@@ -651,7 +655,7 @@ noncomputable def basisOfTopLeSpanOfCardEqFinrank {ι : Type _} [Fintype ι] (b
 
 /- warning: coe_basis_of_top_le_span_of_card_eq_finrank -> coe_basisOfTopLeSpanOfCardEqFinrank is a dubious translation:
 lean 3 declaration is
-  forall {K : Type.{u1}} {V : Type.{u2}} [_inst_1 : DivisionRing.{u1} K] [_inst_2 : AddCommGroup.{u2} V] [_inst_3 : Module.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2)] {ι : Type.{u3}} [_inst_4 : Fintype.{u3} ι] (b : ι -> V) (le_span : LE.le.{u2} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (Preorder.toLE.{u2} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (PartialOrder.toPreorder.{u2} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (SetLike.partialOrder.{u2, u2} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) V (Submodule.setLike.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3)))) (Top.top.{u2} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (Submodule.hasTop.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3)) (Submodule.span.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3 (Set.range.{u2, succ u3} V ι b))) (card_eq : Eq.{1} Nat (Fintype.card.{u3} ι _inst_4) (FiniteDimensional.finrank.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) _inst_2 _inst_3)), Eq.{max (succ u3) (succ u2)} (ι -> V) (coeFn.{max (succ u3) (succ u1) (succ u2), max (succ u3) (succ u2)} (Basis.{u3, u1, u2} ι K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (fun (_x : Basis.{u3, u1, u2} ι K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) => ι -> V) (FunLike.hasCoeToFun.{max (succ u3) (succ u1) (succ u2), succ u3, succ u2} (Basis.{u3, u1, u2} ι K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) ι (fun (_x : ι) => V) (Basis.funLike.{u3, u1, u2} ι K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3)) (basisOfTopLeSpanOfCardEqFinrank.{u1, u2, u3} K V _inst_1 _inst_2 _inst_3 ι _inst_4 b le_span card_eq)) b
+  forall {K : Type.{u1}} {V : Type.{u2}} [_inst_1 : DivisionRing.{u1} K] [_inst_2 : AddCommGroup.{u2} V] [_inst_3 : Module.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2)] {ι : Type.{u3}} [_inst_4 : Fintype.{u3} ι] (b : ι -> V) (le_span : LE.le.{u2} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (Preorder.toHasLe.{u2} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (PartialOrder.toPreorder.{u2} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (SetLike.partialOrder.{u2, u2} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) V (Submodule.setLike.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3)))) (Top.top.{u2} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (Submodule.hasTop.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3)) (Submodule.span.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3 (Set.range.{u2, succ u3} V ι b))) (card_eq : Eq.{1} Nat (Fintype.card.{u3} ι _inst_4) (FiniteDimensional.finrank.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) _inst_2 _inst_3)), Eq.{max (succ u3) (succ u2)} (ι -> V) (coeFn.{max (succ u3) (succ u1) (succ u2), max (succ u3) (succ u2)} (Basis.{u3, u1, u2} ι K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (fun (_x : Basis.{u3, u1, u2} ι K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) => ι -> V) (FunLike.hasCoeToFun.{max (succ u3) (succ u1) (succ u2), succ u3, succ u2} (Basis.{u3, u1, u2} ι K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) ι (fun (_x : ι) => V) (Basis.funLike.{u3, u1, u2} ι K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3)) (basisOfTopLeSpanOfCardEqFinrank.{u1, u2, u3} K V _inst_1 _inst_2 _inst_3 ι _inst_4 b le_span card_eq)) b
 but is expected to have type
   forall {K : Type.{u2}} {V : Type.{u3}} [_inst_1 : DivisionRing.{u2} K] [_inst_2 : AddCommGroup.{u3} V] [_inst_3 : Module.{u2, u3} K V (DivisionSemiring.toSemiring.{u2} K (DivisionRing.toDivisionSemiring.{u2} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u3} V _inst_2)] {ι : Type.{u1}} [_inst_4 : Fintype.{u1} ι] (b : ι -> V) (le_span : LE.le.{u3} (Submodule.{u2, u3} K V (DivisionSemiring.toSemiring.{u2} K (DivisionRing.toDivisionSemiring.{u2} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u3} V _inst_2) _inst_3) (Preorder.toLE.{u3} (Submodule.{u2, u3} K V (DivisionSemiring.toSemiring.{u2} K (DivisionRing.toDivisionSemiring.{u2} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u3} V _inst_2) _inst_3) (PartialOrder.toPreorder.{u3} (Submodule.{u2, u3} K V (DivisionSemiring.toSemiring.{u2} K (DivisionRing.toDivisionSemiring.{u2} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u3} V _inst_2) _inst_3) (OmegaCompletePartialOrder.toPartialOrder.{u3} (Submodule.{u2, u3} K V (DivisionSemiring.toSemiring.{u2} K (DivisionRing.toDivisionSemiring.{u2} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u3} V _inst_2) _inst_3) (CompleteLattice.instOmegaCompletePartialOrder.{u3} (Submodule.{u2, u3} K V (DivisionSemiring.toSemiring.{u2} K (DivisionRing.toDivisionSemiring.{u2} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u3} V _inst_2) _inst_3) (Submodule.completeLattice.{u2, u3} K V (DivisionSemiring.toSemiring.{u2} K (DivisionRing.toDivisionSemiring.{u2} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u3} V _inst_2) _inst_3))))) (Top.top.{u3} (Submodule.{u2, u3} K V (DivisionSemiring.toSemiring.{u2} K (DivisionRing.toDivisionSemiring.{u2} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u3} V _inst_2) _inst_3) (Submodule.instTopSubmodule.{u2, u3} K V (DivisionSemiring.toSemiring.{u2} K (DivisionRing.toDivisionSemiring.{u2} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u3} V _inst_2) _inst_3)) (Submodule.span.{u2, u3} K V (DivisionSemiring.toSemiring.{u2} K (DivisionRing.toDivisionSemiring.{u2} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u3} V _inst_2) _inst_3 (Set.range.{u3, succ u1} V ι b))) (card_eq : Eq.{1} Nat (Fintype.card.{u1} ι _inst_4) (FiniteDimensional.finrank.{u2, u3} K V (DivisionSemiring.toSemiring.{u2} K (DivisionRing.toDivisionSemiring.{u2} K _inst_1)) _inst_2 _inst_3)), Eq.{max (succ u3) (succ u1)} (forall (a : ι), (fun (x._@.Mathlib.LinearAlgebra.Basis._hyg.548 : ι) => V) a) (FunLike.coe.{max (max (succ u2) (succ u3)) (succ u1), succ u1, succ u3} (Basis.{u1, u2, u3} ι K V (DivisionSemiring.toSemiring.{u2} K (DivisionRing.toDivisionSemiring.{u2} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u3} V _inst_2) _inst_3) ι (fun (_x : ι) => (fun (x._@.Mathlib.LinearAlgebra.Basis._hyg.548 : ι) => V) _x) (Basis.funLike.{u1, u2, u3} ι K V (DivisionSemiring.toSemiring.{u2} K (DivisionRing.toDivisionSemiring.{u2} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u3} V _inst_2) _inst_3) (basisOfTopLeSpanOfCardEqFinrank.{u2, u3, u1} K V _inst_1 _inst_2 _inst_3 ι _inst_4 b le_span card_eq)) b
 Case conversion may be inaccurate. Consider using '#align coe_basis_of_top_le_span_of_card_eq_finrank coe_basisOfTopLeSpanOfCardEqFinrankₓ'. -/
@@ -664,7 +668,7 @@ theorem coe_basisOfTopLeSpanOfCardEqFinrank {ι : Type _} [Fintype ι] (b : ι 
 
 /- warning: finset_basis_of_top_le_span_of_card_eq_finrank -> finsetBasisOfTopLeSpanOfCardEqFinrank is a dubious translation:
 lean 3 declaration is
-  forall {K : Type.{u1}} {V : Type.{u2}} [_inst_1 : DivisionRing.{u1} K] [_inst_2 : AddCommGroup.{u2} V] [_inst_3 : Module.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2)] {s : Finset.{u2} V}, (LE.le.{u2} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (Preorder.toLE.{u2} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (PartialOrder.toPreorder.{u2} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (SetLike.partialOrder.{u2, u2} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) V (Submodule.setLike.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3)))) (Top.top.{u2} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (Submodule.hasTop.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3)) (Submodule.span.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3 ((fun (a : Type.{u2}) (b : Type.{u2}) [self : HasLiftT.{succ u2, succ u2} a b] => self.0) (Finset.{u2} V) (Set.{u2} V) (HasLiftT.mk.{succ u2, succ u2} (Finset.{u2} V) (Set.{u2} V) (CoeTCₓ.coe.{succ u2, succ u2} (Finset.{u2} V) (Set.{u2} V) (Finset.Set.hasCoeT.{u2} V))) s))) -> (Eq.{1} Nat (Finset.card.{u2} V s) (FiniteDimensional.finrank.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) _inst_2 _inst_3)) -> (Basis.{u2, u1, u2} (coeSort.{succ u2, succ (succ u2)} (Set.{u2} V) Type.{u2} (Set.hasCoeToSort.{u2} V) ((fun (a : Type.{u2}) (b : Type.{u2}) [self : HasLiftT.{succ u2, succ u2} a b] => self.0) (Finset.{u2} V) (Set.{u2} V) (HasLiftT.mk.{succ u2, succ u2} (Finset.{u2} V) (Set.{u2} V) (CoeTCₓ.coe.{succ u2, succ u2} (Finset.{u2} V) (Set.{u2} V) (Finset.Set.hasCoeT.{u2} V))) s)) K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3)
+  forall {K : Type.{u1}} {V : Type.{u2}} [_inst_1 : DivisionRing.{u1} K] [_inst_2 : AddCommGroup.{u2} V] [_inst_3 : Module.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2)] {s : Finset.{u2} V}, (LE.le.{u2} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (Preorder.toHasLe.{u2} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (PartialOrder.toPreorder.{u2} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (SetLike.partialOrder.{u2, u2} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) V (Submodule.setLike.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3)))) (Top.top.{u2} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (Submodule.hasTop.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3)) (Submodule.span.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3 ((fun (a : Type.{u2}) (b : Type.{u2}) [self : HasLiftT.{succ u2, succ u2} a b] => self.0) (Finset.{u2} V) (Set.{u2} V) (HasLiftT.mk.{succ u2, succ u2} (Finset.{u2} V) (Set.{u2} V) (CoeTCₓ.coe.{succ u2, succ u2} (Finset.{u2} V) (Set.{u2} V) (Finset.Set.hasCoeT.{u2} V))) s))) -> (Eq.{1} Nat (Finset.card.{u2} V s) (FiniteDimensional.finrank.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) _inst_2 _inst_3)) -> (Basis.{u2, u1, u2} (coeSort.{succ u2, succ (succ u2)} (Set.{u2} V) Type.{u2} (Set.hasCoeToSort.{u2} V) ((fun (a : Type.{u2}) (b : Type.{u2}) [self : HasLiftT.{succ u2, succ u2} a b] => self.0) (Finset.{u2} V) (Set.{u2} V) (HasLiftT.mk.{succ u2, succ u2} (Finset.{u2} V) (Set.{u2} V) (CoeTCₓ.coe.{succ u2, succ u2} (Finset.{u2} V) (Set.{u2} V) (Finset.Set.hasCoeT.{u2} V))) s)) K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3)
 but is expected to have type
   forall {K : Type.{u1}} {V : Type.{u2}} [_inst_1 : DivisionRing.{u1} K] [_inst_2 : AddCommGroup.{u2} V] [_inst_3 : Module.{u1, u2} K V (DivisionSemiring.toSemiring.{u1} K (DivisionRing.toDivisionSemiring.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2)] {s : Finset.{u2} V}, (LE.le.{u2} (Submodule.{u1, u2} K V (DivisionSemiring.toSemiring.{u1} K (DivisionRing.toDivisionSemiring.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (Preorder.toLE.{u2} (Submodule.{u1, u2} K V (DivisionSemiring.toSemiring.{u1} K (DivisionRing.toDivisionSemiring.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (PartialOrder.toPreorder.{u2} (Submodule.{u1, u2} K V (DivisionSemiring.toSemiring.{u1} K (DivisionRing.toDivisionSemiring.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (OmegaCompletePartialOrder.toPartialOrder.{u2} (Submodule.{u1, u2} K V (DivisionSemiring.toSemiring.{u1} K (DivisionRing.toDivisionSemiring.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (CompleteLattice.instOmegaCompletePartialOrder.{u2} (Submodule.{u1, u2} K V (DivisionSemiring.toSemiring.{u1} K (DivisionRing.toDivisionSemiring.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (Submodule.completeLattice.{u1, u2} K V (DivisionSemiring.toSemiring.{u1} K (DivisionRing.toDivisionSemiring.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3))))) (Top.top.{u2} (Submodule.{u1, u2} K V (DivisionSemiring.toSemiring.{u1} K (DivisionRing.toDivisionSemiring.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (Submodule.instTopSubmodule.{u1, u2} K V (DivisionSemiring.toSemiring.{u1} K (DivisionRing.toDivisionSemiring.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3)) (Submodule.span.{u1, u2} K V (DivisionSemiring.toSemiring.{u1} K (DivisionRing.toDivisionSemiring.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3 (Finset.toSet.{u2} V s))) -> (Eq.{1} Nat (Finset.card.{u2} V s) (FiniteDimensional.finrank.{u1, u2} K V (DivisionSemiring.toSemiring.{u1} K (DivisionRing.toDivisionSemiring.{u1} K _inst_1)) _inst_2 _inst_3)) -> (Basis.{u2, u1, u2} (Set.Elem.{u2} V (Finset.toSet.{u2} V s)) K V (DivisionSemiring.toSemiring.{u1} K (DivisionRing.toDivisionSemiring.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3)
 Case conversion may be inaccurate. Consider using '#align finset_basis_of_top_le_span_of_card_eq_finrank finsetBasisOfTopLeSpanOfCardEqFinrankₓ'. -/
@@ -679,7 +683,7 @@ noncomputable def finsetBasisOfTopLeSpanOfCardEqFinrank {s : Finset V}
 
 /- warning: set_basis_of_top_le_span_of_card_eq_finrank -> setBasisOfTopLeSpanOfCardEqFinrank is a dubious translation:
 lean 3 declaration is
-  forall {K : Type.{u1}} {V : Type.{u2}} [_inst_1 : DivisionRing.{u1} K] [_inst_2 : AddCommGroup.{u2} V] [_inst_3 : Module.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2)] {s : Set.{u2} V} [_inst_4 : Fintype.{u2} (coeSort.{succ u2, succ (succ u2)} (Set.{u2} V) Type.{u2} (Set.hasCoeToSort.{u2} V) s)], (LE.le.{u2} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (Preorder.toLE.{u2} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (PartialOrder.toPreorder.{u2} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (SetLike.partialOrder.{u2, u2} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) V (Submodule.setLike.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3)))) (Top.top.{u2} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (Submodule.hasTop.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3)) (Submodule.span.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3 s)) -> (Eq.{1} Nat (Finset.card.{u2} V (Set.toFinset.{u2} V s _inst_4)) (FiniteDimensional.finrank.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) _inst_2 _inst_3)) -> (Basis.{u2, u1, u2} (coeSort.{succ u2, succ (succ u2)} (Set.{u2} V) Type.{u2} (Set.hasCoeToSort.{u2} V) s) K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3)
+  forall {K : Type.{u1}} {V : Type.{u2}} [_inst_1 : DivisionRing.{u1} K] [_inst_2 : AddCommGroup.{u2} V] [_inst_3 : Module.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2)] {s : Set.{u2} V} [_inst_4 : Fintype.{u2} (coeSort.{succ u2, succ (succ u2)} (Set.{u2} V) Type.{u2} (Set.hasCoeToSort.{u2} V) s)], (LE.le.{u2} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (Preorder.toHasLe.{u2} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (PartialOrder.toPreorder.{u2} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (SetLike.partialOrder.{u2, u2} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) V (Submodule.setLike.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3)))) (Top.top.{u2} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (Submodule.hasTop.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3)) (Submodule.span.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3 s)) -> (Eq.{1} Nat (Finset.card.{u2} V (Set.toFinset.{u2} V s _inst_4)) (FiniteDimensional.finrank.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) _inst_2 _inst_3)) -> (Basis.{u2, u1, u2} (coeSort.{succ u2, succ (succ u2)} (Set.{u2} V) Type.{u2} (Set.hasCoeToSort.{u2} V) s) K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3)
 but is expected to have type
   forall {K : Type.{u1}} {V : Type.{u2}} [_inst_1 : DivisionRing.{u1} K] [_inst_2 : AddCommGroup.{u2} V] [_inst_3 : Module.{u1, u2} K V (DivisionSemiring.toSemiring.{u1} K (DivisionRing.toDivisionSemiring.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2)] {s : Set.{u2} V} [_inst_4 : Fintype.{u2} (Set.Elem.{u2} V s)], (LE.le.{u2} (Submodule.{u1, u2} K V (DivisionSemiring.toSemiring.{u1} K (DivisionRing.toDivisionSemiring.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (Preorder.toLE.{u2} (Submodule.{u1, u2} K V (DivisionSemiring.toSemiring.{u1} K (DivisionRing.toDivisionSemiring.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (PartialOrder.toPreorder.{u2} (Submodule.{u1, u2} K V (DivisionSemiring.toSemiring.{u1} K (DivisionRing.toDivisionSemiring.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (OmegaCompletePartialOrder.toPartialOrder.{u2} (Submodule.{u1, u2} K V (DivisionSemiring.toSemiring.{u1} K (DivisionRing.toDivisionSemiring.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (CompleteLattice.instOmegaCompletePartialOrder.{u2} (Submodule.{u1, u2} K V (DivisionSemiring.toSemiring.{u1} K (DivisionRing.toDivisionSemiring.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (Submodule.completeLattice.{u1, u2} K V (DivisionSemiring.toSemiring.{u1} K (DivisionRing.toDivisionSemiring.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3))))) (Top.top.{u2} (Submodule.{u1, u2} K V (DivisionSemiring.toSemiring.{u1} K (DivisionRing.toDivisionSemiring.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (Submodule.instTopSubmodule.{u1, u2} K V (DivisionSemiring.toSemiring.{u1} K (DivisionRing.toDivisionSemiring.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3)) (Submodule.span.{u1, u2} K V (DivisionSemiring.toSemiring.{u1} K (DivisionRing.toDivisionSemiring.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3 s)) -> (Eq.{1} Nat (Finset.card.{u2} V (Set.toFinset.{u2} V s _inst_4)) (FiniteDimensional.finrank.{u1, u2} K V (DivisionSemiring.toSemiring.{u1} K (DivisionRing.toDivisionSemiring.{u1} K _inst_1)) _inst_2 _inst_3)) -> (Basis.{u2, u1, u2} (Set.Elem.{u2} V s) K V (DivisionSemiring.toSemiring.{u1} K (DivisionRing.toDivisionSemiring.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3)
 Case conversion may be inaccurate. Consider using '#align set_basis_of_top_le_span_of_card_eq_finrank setBasisOfTopLeSpanOfCardEqFinrankₓ'. -/
@@ -753,7 +757,7 @@ variable {F E : Type _} [CommRing F] [Ring E] [Algebra F E]
 
 /- warning: subalgebra.rank_to_submodule -> Subalgebra.rank_toSubmodule is a dubious translation:
 lean 3 declaration is
-  forall {F : Type.{u1}} {E : Type.{u2}} [_inst_1 : CommRing.{u1} F] [_inst_2 : Ring.{u2} E] [_inst_3 : Algebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2)] (S : Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3), Eq.{succ (succ u2)} Cardinal.{u2} (Module.rank.{u1, u2} F (coeSort.{succ u2, succ (succ u2)} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) Type.{u2} (SetLike.hasCoeToSort.{u2, u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) E (Submodule.setLike.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3))) (coeFn.{succ u2, succ u2} (OrderEmbedding.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (Preorder.toLE.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (PartialOrder.toPreorder.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (SetLike.partialOrder.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) E (Subalgebra.setLike.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)))) (Preorder.toLE.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (PartialOrder.toPreorder.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (CompleteSemilatticeInf.toPartialOrder.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (CompleteLattice.toCompleteSemilatticeInf.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (Submodule.completeLattice.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3))))))) (fun (_x : RelEmbedding.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (LE.le.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (Preorder.toLE.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (PartialOrder.toPreorder.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (SetLike.partialOrder.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) E (Subalgebra.setLike.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3))))) (LE.le.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (Preorder.toLE.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (PartialOrder.toPreorder.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (CompleteSemilatticeInf.toPartialOrder.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (CompleteLattice.toCompleteSemilatticeInf.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (Submodule.completeLattice.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)))))))) => (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) -> (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3))) (RelEmbedding.hasCoeToFun.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (LE.le.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (Preorder.toLE.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (PartialOrder.toPreorder.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (SetLike.partialOrder.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) E (Subalgebra.setLike.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3))))) (LE.le.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (Preorder.toLE.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (PartialOrder.toPreorder.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (CompleteSemilatticeInf.toPartialOrder.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (CompleteLattice.toCompleteSemilatticeInf.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (Submodule.completeLattice.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)))))))) (Subalgebra.toSubmodule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) S)) (Ring.toSemiring.{u1} F (CommRing.toRing.{u1} F _inst_1)) (Submodule.addCommMonoid.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (coeFn.{succ u2, succ u2} (OrderEmbedding.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (Preorder.toLE.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (PartialOrder.toPreorder.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (SetLike.partialOrder.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) E (Subalgebra.setLike.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)))) (Preorder.toLE.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (PartialOrder.toPreorder.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (CompleteSemilatticeInf.toPartialOrder.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (CompleteLattice.toCompleteSemilatticeInf.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (Submodule.completeLattice.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3))))))) (fun (_x : RelEmbedding.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (LE.le.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (Preorder.toLE.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (PartialOrder.toPreorder.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (SetLike.partialOrder.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) E (Subalgebra.setLike.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3))))) (LE.le.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (Preorder.toLE.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (PartialOrder.toPreorder.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (CompleteSemilatticeInf.toPartialOrder.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (CompleteLattice.toCompleteSemilatticeInf.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (Submodule.completeLattice.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)))))))) => (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) -> (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3))) (RelEmbedding.hasCoeToFun.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (LE.le.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (Preorder.toLE.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (PartialOrder.toPreorder.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (SetLike.partialOrder.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) E (Subalgebra.setLike.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3))))) (LE.le.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (Preorder.toLE.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (PartialOrder.toPreorder.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (CompleteSemilatticeInf.toPartialOrder.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (CompleteLattice.toCompleteSemilatticeInf.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (Submodule.completeLattice.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)))))))) (Subalgebra.toSubmodule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) S)) (Submodule.module.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (coeFn.{succ u2, succ u2} (OrderEmbedding.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (Preorder.toLE.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (PartialOrder.toPreorder.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (SetLike.partialOrder.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) E (Subalgebra.setLike.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)))) (Preorder.toLE.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (PartialOrder.toPreorder.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (CompleteSemilatticeInf.toPartialOrder.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (CompleteLattice.toCompleteSemilatticeInf.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (Submodule.completeLattice.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3))))))) (fun (_x : RelEmbedding.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (LE.le.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (Preorder.toLE.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (PartialOrder.toPreorder.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (SetLike.partialOrder.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) E (Subalgebra.setLike.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3))))) (LE.le.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (Preorder.toLE.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (PartialOrder.toPreorder.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (CompleteSemilatticeInf.toPartialOrder.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (CompleteLattice.toCompleteSemilatticeInf.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (Submodule.completeLattice.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)))))))) => (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) -> (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3))) (RelEmbedding.hasCoeToFun.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (LE.le.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (Preorder.toLE.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (PartialOrder.toPreorder.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (SetLike.partialOrder.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) E (Subalgebra.setLike.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3))))) (LE.le.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (Preorder.toLE.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (PartialOrder.toPreorder.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (CompleteSemilatticeInf.toPartialOrder.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (CompleteLattice.toCompleteSemilatticeInf.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (Submodule.completeLattice.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)))))))) (Subalgebra.toSubmodule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) S))) (Module.rank.{u1, u2} F (coeSort.{succ u2, succ (succ u2)} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) Type.{u2} (SetLike.hasCoeToSort.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) E (Subalgebra.setLike.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) S) (Ring.toSemiring.{u1} F (CommRing.toRing.{u1} F _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} (coeSort.{succ u2, succ (succ u2)} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) Type.{u2} (SetLike.hasCoeToSort.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) E (Subalgebra.setLike.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) S) (NonUnitalNonAssocRing.toAddCommGroup.{u2} (coeSort.{succ u2, succ (succ u2)} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) Type.{u2} (SetLike.hasCoeToSort.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) E (Subalgebra.setLike.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) S) (NonAssocRing.toNonUnitalNonAssocRing.{u2} (coeSort.{succ u2, succ (succ u2)} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) Type.{u2} (SetLike.hasCoeToSort.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) E (Subalgebra.setLike.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) S) (Ring.toNonAssocRing.{u2} (coeSort.{succ u2, succ (succ u2)} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) Type.{u2} (SetLike.hasCoeToSort.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) E (Subalgebra.setLike.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) S) (Subalgebra.toRing.{u1, u2} F E _inst_1 _inst_2 _inst_3 S))))) (Subalgebra.module.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3 S))
+  forall {F : Type.{u1}} {E : Type.{u2}} [_inst_1 : CommRing.{u1} F] [_inst_2 : Ring.{u2} E] [_inst_3 : Algebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2)] (S : Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3), Eq.{succ (succ u2)} Cardinal.{u2} (Module.rank.{u1, u2} F (coeSort.{succ u2, succ (succ u2)} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) Type.{u2} (SetLike.hasCoeToSort.{u2, u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) E (Submodule.setLike.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3))) (coeFn.{succ u2, succ u2} (OrderEmbedding.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (Preorder.toHasLe.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (PartialOrder.toPreorder.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (SetLike.partialOrder.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) E (Subalgebra.setLike.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)))) (Preorder.toHasLe.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (PartialOrder.toPreorder.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (CompleteSemilatticeInf.toPartialOrder.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (CompleteLattice.toCompleteSemilatticeInf.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (Submodule.completeLattice.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3))))))) (fun (_x : RelEmbedding.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (LE.le.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (Preorder.toHasLe.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (PartialOrder.toPreorder.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (SetLike.partialOrder.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) E (Subalgebra.setLike.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3))))) (LE.le.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (Preorder.toHasLe.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (PartialOrder.toPreorder.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (CompleteSemilatticeInf.toPartialOrder.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (CompleteLattice.toCompleteSemilatticeInf.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (Submodule.completeLattice.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)))))))) => (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) -> (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3))) (RelEmbedding.hasCoeToFun.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (LE.le.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (Preorder.toHasLe.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (PartialOrder.toPreorder.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (SetLike.partialOrder.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) E (Subalgebra.setLike.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3))))) (LE.le.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (Preorder.toHasLe.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (PartialOrder.toPreorder.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (CompleteSemilatticeInf.toPartialOrder.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (CompleteLattice.toCompleteSemilatticeInf.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (Submodule.completeLattice.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)))))))) (Subalgebra.toSubmodule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) S)) (Ring.toSemiring.{u1} F (CommRing.toRing.{u1} F _inst_1)) (Submodule.addCommMonoid.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (coeFn.{succ u2, succ u2} (OrderEmbedding.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (Preorder.toHasLe.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (PartialOrder.toPreorder.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (SetLike.partialOrder.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) E (Subalgebra.setLike.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)))) (Preorder.toHasLe.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (PartialOrder.toPreorder.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (CompleteSemilatticeInf.toPartialOrder.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (CompleteLattice.toCompleteSemilatticeInf.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (Submodule.completeLattice.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3))))))) (fun (_x : RelEmbedding.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (LE.le.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (Preorder.toHasLe.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (PartialOrder.toPreorder.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (SetLike.partialOrder.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) E (Subalgebra.setLike.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3))))) (LE.le.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (Preorder.toHasLe.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (PartialOrder.toPreorder.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (CompleteSemilatticeInf.toPartialOrder.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (CompleteLattice.toCompleteSemilatticeInf.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (Submodule.completeLattice.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)))))))) => (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) -> (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3))) (RelEmbedding.hasCoeToFun.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (LE.le.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (Preorder.toHasLe.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (PartialOrder.toPreorder.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (SetLike.partialOrder.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) E (Subalgebra.setLike.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3))))) (LE.le.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (Preorder.toHasLe.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (PartialOrder.toPreorder.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (CompleteSemilatticeInf.toPartialOrder.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (CompleteLattice.toCompleteSemilatticeInf.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (Submodule.completeLattice.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)))))))) (Subalgebra.toSubmodule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) S)) (Submodule.module.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (coeFn.{succ u2, succ u2} (OrderEmbedding.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (Preorder.toHasLe.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (PartialOrder.toPreorder.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (SetLike.partialOrder.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) E (Subalgebra.setLike.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)))) (Preorder.toHasLe.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (PartialOrder.toPreorder.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (CompleteSemilatticeInf.toPartialOrder.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (CompleteLattice.toCompleteSemilatticeInf.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (Submodule.completeLattice.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3))))))) (fun (_x : RelEmbedding.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (LE.le.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (Preorder.toHasLe.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (PartialOrder.toPreorder.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (SetLike.partialOrder.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) E (Subalgebra.setLike.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3))))) (LE.le.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (Preorder.toHasLe.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (PartialOrder.toPreorder.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (CompleteSemilatticeInf.toPartialOrder.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (CompleteLattice.toCompleteSemilatticeInf.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (Submodule.completeLattice.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)))))))) => (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) -> (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3))) (RelEmbedding.hasCoeToFun.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (LE.le.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (Preorder.toHasLe.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (PartialOrder.toPreorder.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (SetLike.partialOrder.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) E (Subalgebra.setLike.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3))))) (LE.le.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (Preorder.toHasLe.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (PartialOrder.toPreorder.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (CompleteSemilatticeInf.toPartialOrder.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (CompleteLattice.toCompleteSemilatticeInf.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (Submodule.completeLattice.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)))))))) (Subalgebra.toSubmodule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) S))) (Module.rank.{u1, u2} F (coeSort.{succ u2, succ (succ u2)} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) Type.{u2} (SetLike.hasCoeToSort.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) E (Subalgebra.setLike.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) S) (Ring.toSemiring.{u1} F (CommRing.toRing.{u1} F _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} (coeSort.{succ u2, succ (succ u2)} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) Type.{u2} (SetLike.hasCoeToSort.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) E (Subalgebra.setLike.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) S) (NonUnitalNonAssocRing.toAddCommGroup.{u2} (coeSort.{succ u2, succ (succ u2)} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) Type.{u2} (SetLike.hasCoeToSort.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) E (Subalgebra.setLike.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) S) (NonAssocRing.toNonUnitalNonAssocRing.{u2} (coeSort.{succ u2, succ (succ u2)} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) Type.{u2} (SetLike.hasCoeToSort.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) E (Subalgebra.setLike.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) S) (Ring.toNonAssocRing.{u2} (coeSort.{succ u2, succ (succ u2)} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) Type.{u2} (SetLike.hasCoeToSort.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) E (Subalgebra.setLike.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) S) (Subalgebra.toRing.{u1, u2} F E _inst_1 _inst_2 _inst_3 S))))) (Subalgebra.module.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3 S))
 but is expected to have type
   forall {F : Type.{u2}} {E : Type.{u1}} [_inst_1 : CommRing.{u2} F] [_inst_2 : Ring.{u1} E] [_inst_3 : Algebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2)] (S : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3), Eq.{succ (succ u1)} Cardinal.{u1} (Module.rank.{u2, u1} F (Subtype.{succ u1} E (fun (x : E) => Membership.mem.{u1, u1} E ((fun (x._@.Mathlib.Order.RelIso.Basic._hyg.867 : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) => Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) S) (SetLike.instMembership.{u1, u1} ((fun (x._@.Mathlib.Order.RelIso.Basic._hyg.867 : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) => Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) S) E (Submodule.setLike.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3))) x (FunLike.coe.{succ u1, succ u1, succ u1} (OrderEmbedding.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Preorder.toLE.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (PartialOrder.toPreorder.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (SetLike.instPartialOrder.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) E (Subalgebra.instSetLikeSubalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)))) (Preorder.toLE.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (PartialOrder.toPreorder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (OmegaCompletePartialOrder.toPartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (CompleteLattice.instOmegaCompletePartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Submodule.completeLattice.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3))))))) (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (fun (a : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) => (fun (x._@.Mathlib.Order.RelIso.Basic._hyg.867 : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) => Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) a) (RelHomClass.toFunLike.{u1, u1, u1} (OrderEmbedding.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Preorder.toLE.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (PartialOrder.toPreorder.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (SetLike.instPartialOrder.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) E (Subalgebra.instSetLikeSubalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)))) (Preorder.toLE.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (PartialOrder.toPreorder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (OmegaCompletePartialOrder.toPartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (CompleteLattice.instOmegaCompletePartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Submodule.completeLattice.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3))))))) (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.680 : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (x._@.Mathlib.Order.Hom.Basic._hyg.682 : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) => LE.le.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Preorder.toLE.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (PartialOrder.toPreorder.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (SetLike.instPartialOrder.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) E (Subalgebra.instSetLikeSubalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)))) x._@.Mathlib.Order.Hom.Basic._hyg.680 x._@.Mathlib.Order.Hom.Basic._hyg.682) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.695 : Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (x._@.Mathlib.Order.Hom.Basic._hyg.697 : Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) => LE.le.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Preorder.toLE.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (PartialOrder.toPreorder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (OmegaCompletePartialOrder.toPartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (CompleteLattice.instOmegaCompletePartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Submodule.completeLattice.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)))))) x._@.Mathlib.Order.Hom.Basic._hyg.695 x._@.Mathlib.Order.Hom.Basic._hyg.697) (RelEmbedding.instRelHomClassRelEmbedding.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.680 : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (x._@.Mathlib.Order.Hom.Basic._hyg.682 : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) => LE.le.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Preorder.toLE.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (PartialOrder.toPreorder.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (SetLike.instPartialOrder.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) E (Subalgebra.instSetLikeSubalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)))) x._@.Mathlib.Order.Hom.Basic._hyg.680 x._@.Mathlib.Order.Hom.Basic._hyg.682) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.695 : Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (x._@.Mathlib.Order.Hom.Basic._hyg.697 : Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) => LE.le.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Preorder.toLE.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (PartialOrder.toPreorder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (OmegaCompletePartialOrder.toPartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (CompleteLattice.instOmegaCompletePartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Submodule.completeLattice.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)))))) x._@.Mathlib.Order.Hom.Basic._hyg.695 x._@.Mathlib.Order.Hom.Basic._hyg.697))) (Subalgebra.toSubmodule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) S))) (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (Submodule.addCommMonoid.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (FunLike.coe.{succ u1, succ u1, succ u1} (OrderEmbedding.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Preorder.toLE.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (PartialOrder.toPreorder.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (SetLike.instPartialOrder.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) E (Subalgebra.instSetLikeSubalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)))) (Preorder.toLE.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (PartialOrder.toPreorder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (OmegaCompletePartialOrder.toPartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (CompleteLattice.instOmegaCompletePartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Submodule.completeLattice.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3))))))) (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (fun (_x : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) => (fun (x._@.Mathlib.Order.RelIso.Basic._hyg.867 : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) => Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) _x) (RelHomClass.toFunLike.{u1, u1, u1} (OrderEmbedding.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Preorder.toLE.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (PartialOrder.toPreorder.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (SetLike.instPartialOrder.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) E (Subalgebra.instSetLikeSubalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)))) (Preorder.toLE.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (PartialOrder.toPreorder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (OmegaCompletePartialOrder.toPartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (CompleteLattice.instOmegaCompletePartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Submodule.completeLattice.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3))))))) (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.680 : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (x._@.Mathlib.Order.Hom.Basic._hyg.682 : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) => LE.le.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Preorder.toLE.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (PartialOrder.toPreorder.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (SetLike.instPartialOrder.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) E (Subalgebra.instSetLikeSubalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)))) x._@.Mathlib.Order.Hom.Basic._hyg.680 x._@.Mathlib.Order.Hom.Basic._hyg.682) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.695 : Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (x._@.Mathlib.Order.Hom.Basic._hyg.697 : Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) => LE.le.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Preorder.toLE.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (PartialOrder.toPreorder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (OmegaCompletePartialOrder.toPartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (CompleteLattice.instOmegaCompletePartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Submodule.completeLattice.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)))))) x._@.Mathlib.Order.Hom.Basic._hyg.695 x._@.Mathlib.Order.Hom.Basic._hyg.697) (RelEmbedding.instRelHomClassRelEmbedding.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.680 : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (x._@.Mathlib.Order.Hom.Basic._hyg.682 : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) => LE.le.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Preorder.toLE.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (PartialOrder.toPreorder.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (SetLike.instPartialOrder.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) E (Subalgebra.instSetLikeSubalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)))) x._@.Mathlib.Order.Hom.Basic._hyg.680 x._@.Mathlib.Order.Hom.Basic._hyg.682) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.695 : Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (x._@.Mathlib.Order.Hom.Basic._hyg.697 : Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) => LE.le.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Preorder.toLE.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (PartialOrder.toPreorder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (OmegaCompletePartialOrder.toPartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (CompleteLattice.instOmegaCompletePartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Submodule.completeLattice.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)))))) x._@.Mathlib.Order.Hom.Basic._hyg.695 x._@.Mathlib.Order.Hom.Basic._hyg.697))) (Subalgebra.toSubmodule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) S)) (Submodule.module.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (FunLike.coe.{succ u1, succ u1, succ u1} (OrderEmbedding.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Preorder.toLE.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (PartialOrder.toPreorder.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (SetLike.instPartialOrder.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) E (Subalgebra.instSetLikeSubalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)))) (Preorder.toLE.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (PartialOrder.toPreorder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (OmegaCompletePartialOrder.toPartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (CompleteLattice.instOmegaCompletePartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Submodule.completeLattice.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3))))))) (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (fun (_x : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) => (fun (x._@.Mathlib.Order.RelIso.Basic._hyg.867 : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) => Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) _x) (RelHomClass.toFunLike.{u1, u1, u1} (OrderEmbedding.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Preorder.toLE.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (PartialOrder.toPreorder.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (SetLike.instPartialOrder.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) E (Subalgebra.instSetLikeSubalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)))) (Preorder.toLE.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (PartialOrder.toPreorder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (OmegaCompletePartialOrder.toPartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (CompleteLattice.instOmegaCompletePartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Submodule.completeLattice.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3))))))) (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.680 : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (x._@.Mathlib.Order.Hom.Basic._hyg.682 : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) => LE.le.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Preorder.toLE.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (PartialOrder.toPreorder.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (SetLike.instPartialOrder.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) E (Subalgebra.instSetLikeSubalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)))) x._@.Mathlib.Order.Hom.Basic._hyg.680 x._@.Mathlib.Order.Hom.Basic._hyg.682) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.695 : Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (x._@.Mathlib.Order.Hom.Basic._hyg.697 : Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) => LE.le.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Preorder.toLE.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (PartialOrder.toPreorder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (OmegaCompletePartialOrder.toPartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (CompleteLattice.instOmegaCompletePartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Submodule.completeLattice.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)))))) x._@.Mathlib.Order.Hom.Basic._hyg.695 x._@.Mathlib.Order.Hom.Basic._hyg.697) (RelEmbedding.instRelHomClassRelEmbedding.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.680 : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (x._@.Mathlib.Order.Hom.Basic._hyg.682 : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) => LE.le.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Preorder.toLE.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (PartialOrder.toPreorder.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (SetLike.instPartialOrder.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) E (Subalgebra.instSetLikeSubalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)))) x._@.Mathlib.Order.Hom.Basic._hyg.680 x._@.Mathlib.Order.Hom.Basic._hyg.682) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.695 : Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (x._@.Mathlib.Order.Hom.Basic._hyg.697 : Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) => LE.le.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Preorder.toLE.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (PartialOrder.toPreorder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (OmegaCompletePartialOrder.toPartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (CompleteLattice.instOmegaCompletePartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Submodule.completeLattice.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)))))) x._@.Mathlib.Order.Hom.Basic._hyg.695 x._@.Mathlib.Order.Hom.Basic._hyg.697))) (Subalgebra.toSubmodule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) S))) (Module.rank.{u2, u1} F (Subtype.{succ u1} E (fun (x : E) => Membership.mem.{u1, u1} E (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (SetLike.instMembership.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) E (Subalgebra.instSetLikeSubalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) x S)) (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} (Subtype.{succ u1} E (fun (x : E) => Membership.mem.{u1, u1} E (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (SetLike.instMembership.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) E (Subalgebra.instSetLikeSubalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) x S)) (NonUnitalNonAssocRing.toNonUnitalNonAssocSemiring.{u1} (Subtype.{succ u1} E (fun (x : E) => Membership.mem.{u1, u1} E (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (SetLike.instMembership.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) E (Subalgebra.instSetLikeSubalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) x S)) (NonAssocRing.toNonUnitalNonAssocRing.{u1} (Subtype.{succ u1} E (fun (x : E) => Membership.mem.{u1, u1} E (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (SetLike.instMembership.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) E (Subalgebra.instSetLikeSubalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) x S)) (Ring.toNonAssocRing.{u1} (Subtype.{succ u1} E (fun (x : E) => Membership.mem.{u1, u1} E (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (SetLike.instMembership.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) E (Subalgebra.instSetLikeSubalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) x S)) (Subalgebra.toRing.{u2, u1} F E _inst_1 _inst_2 _inst_3 S))))) (Subalgebra.instModuleSubtypeMemSubalgebraInstMembershipInstSetLikeSubalgebraToSemiringToAddCommMonoidToNonUnitalNonAssocSemiringToNonAssocSemiringToNonAssocSemiringToSubsemiring.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3 S))
 Case conversion may be inaccurate. Consider using '#align subalgebra.rank_to_submodule Subalgebra.rank_toSubmoduleₓ'. -/
@@ -765,7 +769,7 @@ theorem Subalgebra.rank_toSubmodule (S : Subalgebra F E) :
 
 /- warning: subalgebra.finrank_to_submodule -> Subalgebra.finrank_toSubmodule is a dubious translation:
 lean 3 declaration is
-  forall {F : Type.{u1}} {E : Type.{u2}} [_inst_1 : CommRing.{u1} F] [_inst_2 : Ring.{u2} E] [_inst_3 : Algebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2)] (S : Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3), Eq.{1} Nat (FiniteDimensional.finrank.{u1, u2} F (coeSort.{succ u2, succ (succ u2)} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) Type.{u2} (SetLike.hasCoeToSort.{u2, u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) E (Submodule.setLike.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3))) (coeFn.{succ u2, succ u2} (OrderEmbedding.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (Preorder.toLE.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (PartialOrder.toPreorder.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (SetLike.partialOrder.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) E (Subalgebra.setLike.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)))) (Preorder.toLE.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (PartialOrder.toPreorder.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (CompleteSemilatticeInf.toPartialOrder.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (CompleteLattice.toCompleteSemilatticeInf.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (Submodule.completeLattice.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3))))))) (fun (_x : RelEmbedding.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (LE.le.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (Preorder.toLE.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (PartialOrder.toPreorder.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (SetLike.partialOrder.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) E (Subalgebra.setLike.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3))))) (LE.le.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (Preorder.toLE.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (PartialOrder.toPreorder.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (CompleteSemilatticeInf.toPartialOrder.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (CompleteLattice.toCompleteSemilatticeInf.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (Submodule.completeLattice.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)))))))) => (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) -> (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3))) (RelEmbedding.hasCoeToFun.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (LE.le.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (Preorder.toLE.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (PartialOrder.toPreorder.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (SetLike.partialOrder.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) E (Subalgebra.setLike.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3))))) (LE.le.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (Preorder.toLE.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (PartialOrder.toPreorder.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (CompleteSemilatticeInf.toPartialOrder.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (CompleteLattice.toCompleteSemilatticeInf.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (Submodule.completeLattice.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)))))))) (Subalgebra.toSubmodule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) S)) (Ring.toSemiring.{u1} F (CommRing.toRing.{u1} F _inst_1)) (Submodule.addCommGroup.{u1, u2} F E (CommRing.toRing.{u1} F _inst_1) (NonUnitalNonAssocRing.toAddCommGroup.{u2} E (NonAssocRing.toNonUnitalNonAssocRing.{u2} E (Ring.toNonAssocRing.{u2} E _inst_2))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (coeFn.{succ u2, succ u2} (OrderEmbedding.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (Preorder.toLE.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (PartialOrder.toPreorder.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (SetLike.partialOrder.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) E (Subalgebra.setLike.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)))) (Preorder.toLE.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (PartialOrder.toPreorder.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (CompleteSemilatticeInf.toPartialOrder.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (CompleteLattice.toCompleteSemilatticeInf.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (Submodule.completeLattice.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3))))))) (fun (_x : RelEmbedding.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (LE.le.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (Preorder.toLE.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (PartialOrder.toPreorder.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (SetLike.partialOrder.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) E (Subalgebra.setLike.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3))))) (LE.le.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (Preorder.toLE.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (PartialOrder.toPreorder.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (CompleteSemilatticeInf.toPartialOrder.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (CompleteLattice.toCompleteSemilatticeInf.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (Submodule.completeLattice.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)))))))) => (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) -> (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3))) (RelEmbedding.hasCoeToFun.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (LE.le.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (Preorder.toLE.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (PartialOrder.toPreorder.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (SetLike.partialOrder.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) E (Subalgebra.setLike.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3))))) (LE.le.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (Preorder.toLE.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (PartialOrder.toPreorder.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (CompleteSemilatticeInf.toPartialOrder.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (CompleteLattice.toCompleteSemilatticeInf.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (Submodule.completeLattice.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)))))))) (Subalgebra.toSubmodule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) S)) (Submodule.module.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (coeFn.{succ u2, succ u2} (OrderEmbedding.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (Preorder.toLE.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (PartialOrder.toPreorder.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (SetLike.partialOrder.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) E (Subalgebra.setLike.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)))) (Preorder.toLE.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (PartialOrder.toPreorder.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (CompleteSemilatticeInf.toPartialOrder.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (CompleteLattice.toCompleteSemilatticeInf.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (Submodule.completeLattice.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3))))))) (fun (_x : RelEmbedding.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (LE.le.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (Preorder.toLE.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (PartialOrder.toPreorder.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (SetLike.partialOrder.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) E (Subalgebra.setLike.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3))))) (LE.le.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (Preorder.toLE.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (PartialOrder.toPreorder.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (CompleteSemilatticeInf.toPartialOrder.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (CompleteLattice.toCompleteSemilatticeInf.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (Submodule.completeLattice.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)))))))) => (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) -> (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3))) (RelEmbedding.hasCoeToFun.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (LE.le.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (Preorder.toLE.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (PartialOrder.toPreorder.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (SetLike.partialOrder.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) E (Subalgebra.setLike.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3))))) (LE.le.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (Preorder.toLE.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (PartialOrder.toPreorder.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (CompleteSemilatticeInf.toPartialOrder.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (CompleteLattice.toCompleteSemilatticeInf.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (Submodule.completeLattice.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)))))))) (Subalgebra.toSubmodule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) S))) (FiniteDimensional.finrank.{u1, u2} F (coeSort.{succ u2, succ (succ u2)} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) Type.{u2} (SetLike.hasCoeToSort.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) E (Subalgebra.setLike.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) S) (Ring.toSemiring.{u1} F (CommRing.toRing.{u1} F _inst_1)) (NonUnitalNonAssocRing.toAddCommGroup.{u2} (coeSort.{succ u2, succ (succ u2)} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) Type.{u2} (SetLike.hasCoeToSort.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) E (Subalgebra.setLike.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) S) (NonAssocRing.toNonUnitalNonAssocRing.{u2} (coeSort.{succ u2, succ (succ u2)} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) Type.{u2} (SetLike.hasCoeToSort.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) E (Subalgebra.setLike.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) S) (Ring.toNonAssocRing.{u2} (coeSort.{succ u2, succ (succ u2)} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) Type.{u2} (SetLike.hasCoeToSort.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) E (Subalgebra.setLike.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) S) (Subalgebra.toRing.{u1, u2} F E _inst_1 _inst_2 _inst_3 S)))) (Subalgebra.module.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3 S))
+  forall {F : Type.{u1}} {E : Type.{u2}} [_inst_1 : CommRing.{u1} F] [_inst_2 : Ring.{u2} E] [_inst_3 : Algebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2)] (S : Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3), Eq.{1} Nat (FiniteDimensional.finrank.{u1, u2} F (coeSort.{succ u2, succ (succ u2)} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) Type.{u2} (SetLike.hasCoeToSort.{u2, u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) E (Submodule.setLike.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3))) (coeFn.{succ u2, succ u2} (OrderEmbedding.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (Preorder.toHasLe.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (PartialOrder.toPreorder.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (SetLike.partialOrder.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) E (Subalgebra.setLike.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)))) (Preorder.toHasLe.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (PartialOrder.toPreorder.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (CompleteSemilatticeInf.toPartialOrder.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (CompleteLattice.toCompleteSemilatticeInf.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (Submodule.completeLattice.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3))))))) (fun (_x : RelEmbedding.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (LE.le.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (Preorder.toHasLe.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (PartialOrder.toPreorder.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (SetLike.partialOrder.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) E (Subalgebra.setLike.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3))))) (LE.le.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (Preorder.toHasLe.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (PartialOrder.toPreorder.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (CompleteSemilatticeInf.toPartialOrder.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (CompleteLattice.toCompleteSemilatticeInf.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (Submodule.completeLattice.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)))))))) => (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) -> (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3))) (RelEmbedding.hasCoeToFun.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (LE.le.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (Preorder.toHasLe.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (PartialOrder.toPreorder.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (SetLike.partialOrder.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) E (Subalgebra.setLike.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3))))) (LE.le.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (Preorder.toHasLe.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (PartialOrder.toPreorder.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (CompleteSemilatticeInf.toPartialOrder.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (CompleteLattice.toCompleteSemilatticeInf.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (Submodule.completeLattice.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)))))))) (Subalgebra.toSubmodule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) S)) (Ring.toSemiring.{u1} F (CommRing.toRing.{u1} F _inst_1)) (Submodule.addCommGroup.{u1, u2} F E (CommRing.toRing.{u1} F _inst_1) (NonUnitalNonAssocRing.toAddCommGroup.{u2} E (NonAssocRing.toNonUnitalNonAssocRing.{u2} E (Ring.toNonAssocRing.{u2} E _inst_2))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (coeFn.{succ u2, succ u2} (OrderEmbedding.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (Preorder.toHasLe.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (PartialOrder.toPreorder.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (SetLike.partialOrder.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) E (Subalgebra.setLike.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)))) (Preorder.toHasLe.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (PartialOrder.toPreorder.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (CompleteSemilatticeInf.toPartialOrder.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (CompleteLattice.toCompleteSemilatticeInf.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (Submodule.completeLattice.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3))))))) (fun (_x : RelEmbedding.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (LE.le.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (Preorder.toHasLe.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (PartialOrder.toPreorder.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (SetLike.partialOrder.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) E (Subalgebra.setLike.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3))))) (LE.le.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (Preorder.toHasLe.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (PartialOrder.toPreorder.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (CompleteSemilatticeInf.toPartialOrder.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (CompleteLattice.toCompleteSemilatticeInf.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (Submodule.completeLattice.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)))))))) => (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) -> (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3))) (RelEmbedding.hasCoeToFun.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (LE.le.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (Preorder.toHasLe.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (PartialOrder.toPreorder.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (SetLike.partialOrder.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) E (Subalgebra.setLike.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3))))) (LE.le.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (Preorder.toHasLe.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (PartialOrder.toPreorder.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (CompleteSemilatticeInf.toPartialOrder.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (CompleteLattice.toCompleteSemilatticeInf.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (Submodule.completeLattice.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)))))))) (Subalgebra.toSubmodule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) S)) (Submodule.module.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (coeFn.{succ u2, succ u2} (OrderEmbedding.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (Preorder.toHasLe.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (PartialOrder.toPreorder.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (SetLike.partialOrder.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) E (Subalgebra.setLike.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)))) (Preorder.toHasLe.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (PartialOrder.toPreorder.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (CompleteSemilatticeInf.toPartialOrder.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (CompleteLattice.toCompleteSemilatticeInf.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (Submodule.completeLattice.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3))))))) (fun (_x : RelEmbedding.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (LE.le.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (Preorder.toHasLe.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (PartialOrder.toPreorder.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (SetLike.partialOrder.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) E (Subalgebra.setLike.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3))))) (LE.le.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (Preorder.toHasLe.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (PartialOrder.toPreorder.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (CompleteSemilatticeInf.toPartialOrder.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (CompleteLattice.toCompleteSemilatticeInf.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (Submodule.completeLattice.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)))))))) => (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) -> (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3))) (RelEmbedding.hasCoeToFun.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (LE.le.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (Preorder.toHasLe.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (PartialOrder.toPreorder.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (SetLike.partialOrder.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) E (Subalgebra.setLike.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3))))) (LE.le.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (Preorder.toHasLe.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (PartialOrder.toPreorder.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (CompleteSemilatticeInf.toPartialOrder.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (CompleteLattice.toCompleteSemilatticeInf.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (Submodule.completeLattice.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)))))))) (Subalgebra.toSubmodule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) S))) (FiniteDimensional.finrank.{u1, u2} F (coeSort.{succ u2, succ (succ u2)} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) Type.{u2} (SetLike.hasCoeToSort.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) E (Subalgebra.setLike.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) S) (Ring.toSemiring.{u1} F (CommRing.toRing.{u1} F _inst_1)) (NonUnitalNonAssocRing.toAddCommGroup.{u2} (coeSort.{succ u2, succ (succ u2)} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) Type.{u2} (SetLike.hasCoeToSort.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) E (Subalgebra.setLike.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) S) (NonAssocRing.toNonUnitalNonAssocRing.{u2} (coeSort.{succ u2, succ (succ u2)} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) Type.{u2} (SetLike.hasCoeToSort.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) E (Subalgebra.setLike.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) S) (Ring.toNonAssocRing.{u2} (coeSort.{succ u2, succ (succ u2)} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) Type.{u2} (SetLike.hasCoeToSort.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) E (Subalgebra.setLike.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) S) (Subalgebra.toRing.{u1, u2} F E _inst_1 _inst_2 _inst_3 S)))) (Subalgebra.module.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3 S))
 but is expected to have type
   forall {F : Type.{u2}} {E : Type.{u1}} [_inst_1 : CommRing.{u2} F] [_inst_2 : Ring.{u1} E] [_inst_3 : Algebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2)] (S : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3), Eq.{1} Nat (FiniteDimensional.finrank.{u2, u1} F (Subtype.{succ u1} E (fun (x : E) => Membership.mem.{u1, u1} E ((fun (x._@.Mathlib.Order.RelIso.Basic._hyg.867 : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) => Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) S) (SetLike.instMembership.{u1, u1} ((fun (x._@.Mathlib.Order.RelIso.Basic._hyg.867 : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) => Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) S) E (Submodule.setLike.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3))) x (FunLike.coe.{succ u1, succ u1, succ u1} (OrderEmbedding.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Preorder.toLE.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (PartialOrder.toPreorder.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (SetLike.instPartialOrder.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) E (Subalgebra.instSetLikeSubalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)))) (Preorder.toLE.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (PartialOrder.toPreorder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (OmegaCompletePartialOrder.toPartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (CompleteLattice.instOmegaCompletePartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Submodule.completeLattice.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3))))))) (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (fun (a : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) => (fun (x._@.Mathlib.Order.RelIso.Basic._hyg.867 : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) => Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) a) (RelHomClass.toFunLike.{u1, u1, u1} (OrderEmbedding.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Preorder.toLE.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (PartialOrder.toPreorder.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (SetLike.instPartialOrder.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) E (Subalgebra.instSetLikeSubalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)))) (Preorder.toLE.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (PartialOrder.toPreorder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (OmegaCompletePartialOrder.toPartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (CompleteLattice.instOmegaCompletePartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Submodule.completeLattice.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3))))))) (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.680 : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (x._@.Mathlib.Order.Hom.Basic._hyg.682 : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) => LE.le.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Preorder.toLE.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (PartialOrder.toPreorder.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (SetLike.instPartialOrder.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) E (Subalgebra.instSetLikeSubalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)))) x._@.Mathlib.Order.Hom.Basic._hyg.680 x._@.Mathlib.Order.Hom.Basic._hyg.682) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.695 : Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (x._@.Mathlib.Order.Hom.Basic._hyg.697 : Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) => LE.le.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Preorder.toLE.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (PartialOrder.toPreorder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (OmegaCompletePartialOrder.toPartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (CompleteLattice.instOmegaCompletePartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Submodule.completeLattice.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)))))) x._@.Mathlib.Order.Hom.Basic._hyg.695 x._@.Mathlib.Order.Hom.Basic._hyg.697) (RelEmbedding.instRelHomClassRelEmbedding.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.680 : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (x._@.Mathlib.Order.Hom.Basic._hyg.682 : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) => LE.le.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Preorder.toLE.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (PartialOrder.toPreorder.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (SetLike.instPartialOrder.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) E (Subalgebra.instSetLikeSubalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)))) x._@.Mathlib.Order.Hom.Basic._hyg.680 x._@.Mathlib.Order.Hom.Basic._hyg.682) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.695 : Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (x._@.Mathlib.Order.Hom.Basic._hyg.697 : Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) => LE.le.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Preorder.toLE.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (PartialOrder.toPreorder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (OmegaCompletePartialOrder.toPartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (CompleteLattice.instOmegaCompletePartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Submodule.completeLattice.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)))))) x._@.Mathlib.Order.Hom.Basic._hyg.695 x._@.Mathlib.Order.Hom.Basic._hyg.697))) (Subalgebra.toSubmodule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) S))) (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (Submodule.addCommGroup.{u2, u1} F E (CommRing.toRing.{u2} F _inst_1) (Ring.toAddCommGroup.{u1} E _inst_2) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (FunLike.coe.{succ u1, succ u1, succ u1} (OrderEmbedding.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Preorder.toLE.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (PartialOrder.toPreorder.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (SetLike.instPartialOrder.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) E (Subalgebra.instSetLikeSubalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)))) (Preorder.toLE.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (PartialOrder.toPreorder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (OmegaCompletePartialOrder.toPartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (CompleteLattice.instOmegaCompletePartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Submodule.completeLattice.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3))))))) (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (fun (_x : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) => (fun (x._@.Mathlib.Order.RelIso.Basic._hyg.867 : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) => Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) _x) (RelHomClass.toFunLike.{u1, u1, u1} (OrderEmbedding.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Preorder.toLE.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (PartialOrder.toPreorder.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (SetLike.instPartialOrder.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) E (Subalgebra.instSetLikeSubalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)))) (Preorder.toLE.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (PartialOrder.toPreorder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (OmegaCompletePartialOrder.toPartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (CompleteLattice.instOmegaCompletePartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Submodule.completeLattice.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3))))))) (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.680 : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (x._@.Mathlib.Order.Hom.Basic._hyg.682 : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) => LE.le.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Preorder.toLE.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (PartialOrder.toPreorder.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (SetLike.instPartialOrder.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) E (Subalgebra.instSetLikeSubalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)))) x._@.Mathlib.Order.Hom.Basic._hyg.680 x._@.Mathlib.Order.Hom.Basic._hyg.682) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.695 : Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (x._@.Mathlib.Order.Hom.Basic._hyg.697 : Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) => LE.le.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Preorder.toLE.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (PartialOrder.toPreorder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (OmegaCompletePartialOrder.toPartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (CompleteLattice.instOmegaCompletePartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Submodule.completeLattice.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)))))) x._@.Mathlib.Order.Hom.Basic._hyg.695 x._@.Mathlib.Order.Hom.Basic._hyg.697) (RelEmbedding.instRelHomClassRelEmbedding.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.680 : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (x._@.Mathlib.Order.Hom.Basic._hyg.682 : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) => LE.le.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Preorder.toLE.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (PartialOrder.toPreorder.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (SetLike.instPartialOrder.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) E (Subalgebra.instSetLikeSubalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)))) x._@.Mathlib.Order.Hom.Basic._hyg.680 x._@.Mathlib.Order.Hom.Basic._hyg.682) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.695 : Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (x._@.Mathlib.Order.Hom.Basic._hyg.697 : Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) => LE.le.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Preorder.toLE.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (PartialOrder.toPreorder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (OmegaCompletePartialOrder.toPartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (CompleteLattice.instOmegaCompletePartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Submodule.completeLattice.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)))))) x._@.Mathlib.Order.Hom.Basic._hyg.695 x._@.Mathlib.Order.Hom.Basic._hyg.697))) (Subalgebra.toSubmodule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) S)) (Submodule.module.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (FunLike.coe.{succ u1, succ u1, succ u1} (OrderEmbedding.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Preorder.toLE.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (PartialOrder.toPreorder.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (SetLike.instPartialOrder.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) E (Subalgebra.instSetLikeSubalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)))) (Preorder.toLE.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (PartialOrder.toPreorder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (OmegaCompletePartialOrder.toPartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (CompleteLattice.instOmegaCompletePartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Submodule.completeLattice.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3))))))) (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (fun (_x : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) => (fun (x._@.Mathlib.Order.RelIso.Basic._hyg.867 : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) => Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) _x) (RelHomClass.toFunLike.{u1, u1, u1} (OrderEmbedding.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Preorder.toLE.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (PartialOrder.toPreorder.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (SetLike.instPartialOrder.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) E (Subalgebra.instSetLikeSubalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)))) (Preorder.toLE.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (PartialOrder.toPreorder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (OmegaCompletePartialOrder.toPartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (CompleteLattice.instOmegaCompletePartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Submodule.completeLattice.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3))))))) (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.680 : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (x._@.Mathlib.Order.Hom.Basic._hyg.682 : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) => LE.le.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Preorder.toLE.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (PartialOrder.toPreorder.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (SetLike.instPartialOrder.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) E (Subalgebra.instSetLikeSubalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)))) x._@.Mathlib.Order.Hom.Basic._hyg.680 x._@.Mathlib.Order.Hom.Basic._hyg.682) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.695 : Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (x._@.Mathlib.Order.Hom.Basic._hyg.697 : Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) => LE.le.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Preorder.toLE.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (PartialOrder.toPreorder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (OmegaCompletePartialOrder.toPartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (CompleteLattice.instOmegaCompletePartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Submodule.completeLattice.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)))))) x._@.Mathlib.Order.Hom.Basic._hyg.695 x._@.Mathlib.Order.Hom.Basic._hyg.697) (RelEmbedding.instRelHomClassRelEmbedding.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.680 : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (x._@.Mathlib.Order.Hom.Basic._hyg.682 : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) => LE.le.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Preorder.toLE.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (PartialOrder.toPreorder.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (SetLike.instPartialOrder.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) E (Subalgebra.instSetLikeSubalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)))) x._@.Mathlib.Order.Hom.Basic._hyg.680 x._@.Mathlib.Order.Hom.Basic._hyg.682) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.695 : Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (x._@.Mathlib.Order.Hom.Basic._hyg.697 : Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) => LE.le.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Preorder.toLE.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (PartialOrder.toPreorder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (OmegaCompletePartialOrder.toPartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (CompleteLattice.instOmegaCompletePartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Submodule.completeLattice.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)))))) x._@.Mathlib.Order.Hom.Basic._hyg.695 x._@.Mathlib.Order.Hom.Basic._hyg.697))) (Subalgebra.toSubmodule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) S))) (FiniteDimensional.finrank.{u2, u1} F (Subtype.{succ u1} E (fun (x : E) => Membership.mem.{u1, u1} E (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (SetLike.instMembership.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) E (Subalgebra.instSetLikeSubalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) x S)) (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (Ring.toAddCommGroup.{u1} (Subtype.{succ u1} E (fun (x : E) => Membership.mem.{u1, u1} E (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (SetLike.instMembership.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) E (Subalgebra.instSetLikeSubalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) x S)) (Subalgebra.toRing.{u2, u1} F E _inst_1 _inst_2 _inst_3 S)) (Subalgebra.instModuleSubtypeMemSubalgebraInstMembershipInstSetLikeSubalgebraToSemiringToAddCommMonoidToNonUnitalNonAssocSemiringToNonAssocSemiringToNonAssocSemiringToSubsemiring.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3 S))
 Case conversion may be inaccurate. Consider using '#align subalgebra.finrank_to_submodule Subalgebra.finrank_toSubmoduleₓ'. -/
Diff
@@ -75,7 +75,7 @@ but is expected to have type
 Case conversion may be inaccurate. Consider using '#align finite_dimensional.finrank_eq_of_rank_eq FiniteDimensional.finrank_eq_of_rank_eqₓ'. -/
 theorem finrank_eq_of_rank_eq {n : ℕ} (h : Module.rank K V = ↑n) : finrank K V = n :=
   by
-  apply_fun to_nat  at h
+  apply_fun toNat  at h
   rw [to_nat_cast] at h
   exact_mod_cast h
 #align finite_dimensional.finrank_eq_of_rank_eq FiniteDimensional.finrank_eq_of_rank_eq
Diff
@@ -304,7 +304,7 @@ variable [Module R M] [Module R M₂]
 lean 3 declaration is
   forall {R : Type.{u1}} {M : Type.{u2}} {M₂ : Type.{u3}} [_inst_6 : Ring.{u1} R] [_inst_7 : AddCommGroup.{u2} M] [_inst_8 : AddCommGroup.{u3} M₂] [_inst_9 : Module.{u1, u2} R M (Ring.toSemiring.{u1} R _inst_6) (AddCommGroup.toAddCommMonoid.{u2} M _inst_7)] [_inst_10 : Module.{u1, u3} R M₂ (Ring.toSemiring.{u1} R _inst_6) (AddCommGroup.toAddCommMonoid.{u3} M₂ _inst_8)], (LinearEquiv.{u1, u1, u2, u3} R R (Ring.toSemiring.{u1} R _inst_6) (Ring.toSemiring.{u1} R _inst_6) (RingHom.id.{u1} R (Semiring.toNonAssocSemiring.{u1} R (Ring.toSemiring.{u1} R _inst_6))) (RingHom.id.{u1} R (Semiring.toNonAssocSemiring.{u1} R (Ring.toSemiring.{u1} R _inst_6))) (RingHomInvPair.ids.{u1} R (Ring.toSemiring.{u1} R _inst_6)) (RingHomInvPair.ids.{u1} R (Ring.toSemiring.{u1} R _inst_6)) M M₂ (AddCommGroup.toAddCommMonoid.{u2} M _inst_7) (AddCommGroup.toAddCommMonoid.{u3} M₂ _inst_8) _inst_9 _inst_10) -> (Eq.{1} Nat (FiniteDimensional.finrank.{u1, u2} R M (Ring.toSemiring.{u1} R _inst_6) _inst_7 _inst_9) (FiniteDimensional.finrank.{u1, u3} R M₂ (Ring.toSemiring.{u1} R _inst_6) _inst_8 _inst_10))
 but is expected to have type
-  forall {R : Type.{u3}} {M : Type.{u2}} {M₂ : Type.{u1}} [_inst_6 : Ring.{u3} R] [_inst_7 : AddCommGroup.{u2} M] [_inst_8 : AddCommGroup.{u1} M₂] [_inst_9 : Module.{u3, u2} R M (Ring.toSemiring.{u3} R _inst_6) (AddCommGroup.toAddCommMonoid.{u2} M _inst_7)] [_inst_10 : Module.{u3, u1} R M₂ (Ring.toSemiring.{u3} R _inst_6) (AddCommGroup.toAddCommMonoid.{u1} M₂ _inst_8)], (LinearEquiv.{u3, u3, u2, u1} R R (Ring.toSemiring.{u3} R _inst_6) (Ring.toSemiring.{u3} R _inst_6) (RingHom.id.{u3} R (NonAssocRing.toNonAssocSemiring.{u3} R (Ring.toNonAssocRing.{u3} R _inst_6))) (RingHom.id.{u3} R (Semiring.toNonAssocSemiring.{u3} R (Ring.toSemiring.{u3} R _inst_6))) (RingHomInvPair.ids.{u3} R (Ring.toSemiring.{u3} R _inst_6)) (RingHomInvPair.ids.{u3} R (Ring.toSemiring.{u3} R _inst_6)) M M₂ (AddCommGroup.toAddCommMonoid.{u2} M _inst_7) (AddCommGroup.toAddCommMonoid.{u1} M₂ _inst_8) _inst_9 _inst_10) -> (Eq.{1} Nat (FiniteDimensional.finrank.{u3, u2} R M (Ring.toSemiring.{u3} R _inst_6) _inst_7 _inst_9) (FiniteDimensional.finrank.{u3, u1} R M₂ (Ring.toSemiring.{u3} R _inst_6) _inst_8 _inst_10))
+  forall {R : Type.{u3}} {M : Type.{u2}} {M₂ : Type.{u1}} [_inst_6 : Ring.{u3} R] [_inst_7 : AddCommGroup.{u2} M] [_inst_8 : AddCommGroup.{u1} M₂] [_inst_9 : Module.{u3, u2} R M (Ring.toSemiring.{u3} R _inst_6) (AddCommGroup.toAddCommMonoid.{u2} M _inst_7)] [_inst_10 : Module.{u3, u1} R M₂ (Ring.toSemiring.{u3} R _inst_6) (AddCommGroup.toAddCommMonoid.{u1} M₂ _inst_8)], (LinearEquiv.{u3, u3, u2, u1} R R (Ring.toSemiring.{u3} R _inst_6) (Ring.toSemiring.{u3} R _inst_6) (RingHom.id.{u3} R (Semiring.toNonAssocSemiring.{u3} R (Ring.toSemiring.{u3} R _inst_6))) (RingHom.id.{u3} R (Semiring.toNonAssocSemiring.{u3} R (Ring.toSemiring.{u3} R _inst_6))) (RingHomInvPair.ids.{u3} R (Ring.toSemiring.{u3} R _inst_6)) (RingHomInvPair.ids.{u3} R (Ring.toSemiring.{u3} R _inst_6)) M M₂ (AddCommGroup.toAddCommMonoid.{u2} M _inst_7) (AddCommGroup.toAddCommMonoid.{u1} M₂ _inst_8) _inst_9 _inst_10) -> (Eq.{1} Nat (FiniteDimensional.finrank.{u3, u2} R M (Ring.toSemiring.{u3} R _inst_6) _inst_7 _inst_9) (FiniteDimensional.finrank.{u3, u1} R M₂ (Ring.toSemiring.{u3} R _inst_6) _inst_8 _inst_10))
 Case conversion may be inaccurate. Consider using '#align linear_equiv.finrank_eq LinearEquiv.finrank_eqₓ'. -/
 /-- The dimension of a finite dimensional space is preserved under linear equivalence. -/
 theorem finrank_eq (f : M ≃ₗ[R] M₂) : finrank R M = finrank R M₂ :=
@@ -317,7 +317,7 @@ theorem finrank_eq (f : M ≃ₗ[R] M₂) : finrank R M = finrank R M₂ :=
 lean 3 declaration is
   forall {R : Type.{u1}} {M : Type.{u2}} {M₂ : Type.{u3}} [_inst_6 : Ring.{u1} R] [_inst_7 : AddCommGroup.{u2} M] [_inst_8 : AddCommGroup.{u3} M₂] [_inst_9 : Module.{u1, u2} R M (Ring.toSemiring.{u1} R _inst_6) (AddCommGroup.toAddCommMonoid.{u2} M _inst_7)] [_inst_10 : Module.{u1, u3} R M₂ (Ring.toSemiring.{u1} R _inst_6) (AddCommGroup.toAddCommMonoid.{u3} M₂ _inst_8)] (f : LinearEquiv.{u1, u1, u2, u3} R R (Ring.toSemiring.{u1} R _inst_6) (Ring.toSemiring.{u1} R _inst_6) (RingHom.id.{u1} R (Semiring.toNonAssocSemiring.{u1} R (Ring.toSemiring.{u1} R _inst_6))) (RingHom.id.{u1} R (Semiring.toNonAssocSemiring.{u1} R (Ring.toSemiring.{u1} R _inst_6))) (RingHomInvPair.ids.{u1} R (Ring.toSemiring.{u1} R _inst_6)) (RingHomInvPair.ids.{u1} R (Ring.toSemiring.{u1} R _inst_6)) M M₂ (AddCommGroup.toAddCommMonoid.{u2} M _inst_7) (AddCommGroup.toAddCommMonoid.{u3} M₂ _inst_8) _inst_9 _inst_10) (p : Submodule.{u1, u2} R M (Ring.toSemiring.{u1} R _inst_6) (AddCommGroup.toAddCommMonoid.{u2} M _inst_7) _inst_9), Eq.{1} Nat (FiniteDimensional.finrank.{u1, u3} R (coeSort.{succ u3, succ (succ u3)} (Submodule.{u1, u3} R M₂ (Ring.toSemiring.{u1} R _inst_6) (AddCommGroup.toAddCommMonoid.{u3} M₂ _inst_8) _inst_10) Type.{u3} (SetLike.hasCoeToSort.{u3, u3} (Submodule.{u1, u3} R M₂ (Ring.toSemiring.{u1} R _inst_6) (AddCommGroup.toAddCommMonoid.{u3} M₂ _inst_8) _inst_10) M₂ (Submodule.setLike.{u1, u3} R M₂ (Ring.toSemiring.{u1} R _inst_6) (AddCommGroup.toAddCommMonoid.{u3} M₂ _inst_8) _inst_10)) (Submodule.map.{u1, u1, u2, u3, max u2 u3} R R M M₂ (Ring.toSemiring.{u1} R _inst_6) (Ring.toSemiring.{u1} R _inst_6) (AddCommGroup.toAddCommMonoid.{u2} M _inst_7) (AddCommGroup.toAddCommMonoid.{u3} M₂ _inst_8) _inst_9 _inst_10 (RingHom.id.{u1} R (Semiring.toNonAssocSemiring.{u1} R (Ring.toSemiring.{u1} R _inst_6))) (RingHomSurjective.ids.{u1} R (Ring.toSemiring.{u1} R _inst_6)) (LinearMap.{u1, u1, u2, u3} R R (Ring.toSemiring.{u1} R _inst_6) (Ring.toSemiring.{u1} R _inst_6) (RingHom.id.{u1} R (Semiring.toNonAssocSemiring.{u1} R (Ring.toSemiring.{u1} R _inst_6))) M M₂ (AddCommGroup.toAddCommMonoid.{u2} M _inst_7) (AddCommGroup.toAddCommMonoid.{u3} M₂ _inst_8) _inst_9 _inst_10) (LinearMap.semilinearMapClass.{u1, u1, u2, u3} R R M M₂ (Ring.toSemiring.{u1} R _inst_6) (Ring.toSemiring.{u1} R _inst_6) (AddCommGroup.toAddCommMonoid.{u2} M _inst_7) (AddCommGroup.toAddCommMonoid.{u3} M₂ _inst_8) _inst_9 _inst_10 (RingHom.id.{u1} R (Semiring.toNonAssocSemiring.{u1} R (Ring.toSemiring.{u1} R _inst_6)))) ((fun (a : Sort.{max (succ u2) (succ u3)}) (b : Sort.{max (succ u2) (succ u3)}) [self : HasLiftT.{max (succ u2) (succ u3), max (succ u2) (succ u3)} a b] => self.0) (LinearEquiv.{u1, u1, u2, u3} R R (Ring.toSemiring.{u1} R _inst_6) (Ring.toSemiring.{u1} R _inst_6) (RingHom.id.{u1} R (Semiring.toNonAssocSemiring.{u1} R (Ring.toSemiring.{u1} R _inst_6))) (RingHom.id.{u1} R (Semiring.toNonAssocSemiring.{u1} R (Ring.toSemiring.{u1} R _inst_6))) (RingHomInvPair.ids.{u1} R (Ring.toSemiring.{u1} R _inst_6)) (RingHomInvPair.ids.{u1} R (Ring.toSemiring.{u1} R _inst_6)) M M₂ (AddCommGroup.toAddCommMonoid.{u2} M _inst_7) (AddCommGroup.toAddCommMonoid.{u3} M₂ _inst_8) _inst_9 _inst_10) (LinearMap.{u1, u1, u2, u3} R R (Ring.toSemiring.{u1} R _inst_6) (Ring.toSemiring.{u1} R _inst_6) (RingHom.id.{u1} R (Semiring.toNonAssocSemiring.{u1} R (Ring.toSemiring.{u1} R _inst_6))) M M₂ (AddCommGroup.toAddCommMonoid.{u2} M _inst_7) (AddCommGroup.toAddCommMonoid.{u3} M₂ _inst_8) _inst_9 _inst_10) (HasLiftT.mk.{max (succ u2) (succ u3), max (succ u2) (succ u3)} (LinearEquiv.{u1, u1, u2, u3} R R (Ring.toSemiring.{u1} R _inst_6) (Ring.toSemiring.{u1} R _inst_6) (RingHom.id.{u1} R (Semiring.toNonAssocSemiring.{u1} R (Ring.toSemiring.{u1} R _inst_6))) (RingHom.id.{u1} R (Semiring.toNonAssocSemiring.{u1} R (Ring.toSemiring.{u1} R _inst_6))) (RingHomInvPair.ids.{u1} R (Ring.toSemiring.{u1} R _inst_6)) (RingHomInvPair.ids.{u1} R (Ring.toSemiring.{u1} R _inst_6)) M M₂ (AddCommGroup.toAddCommMonoid.{u2} M _inst_7) (AddCommGroup.toAddCommMonoid.{u3} M₂ _inst_8) _inst_9 _inst_10) (LinearMap.{u1, u1, u2, u3} R R (Ring.toSemiring.{u1} R _inst_6) (Ring.toSemiring.{u1} R _inst_6) (RingHom.id.{u1} R (Semiring.toNonAssocSemiring.{u1} R (Ring.toSemiring.{u1} R _inst_6))) M M₂ (AddCommGroup.toAddCommMonoid.{u2} M _inst_7) (AddCommGroup.toAddCommMonoid.{u3} M₂ _inst_8) _inst_9 _inst_10) (CoeTCₓ.coe.{max (succ u2) (succ u3), max (succ u2) (succ u3)} (LinearEquiv.{u1, u1, u2, u3} R R (Ring.toSemiring.{u1} R _inst_6) (Ring.toSemiring.{u1} R _inst_6) (RingHom.id.{u1} R (Semiring.toNonAssocSemiring.{u1} R (Ring.toSemiring.{u1} R _inst_6))) (RingHom.id.{u1} R (Semiring.toNonAssocSemiring.{u1} R (Ring.toSemiring.{u1} R _inst_6))) (RingHomInvPair.ids.{u1} R (Ring.toSemiring.{u1} R _inst_6)) (RingHomInvPair.ids.{u1} R (Ring.toSemiring.{u1} R _inst_6)) M M₂ (AddCommGroup.toAddCommMonoid.{u2} M _inst_7) (AddCommGroup.toAddCommMonoid.{u3} M₂ _inst_8) _inst_9 _inst_10) (LinearMap.{u1, u1, u2, u3} R R (Ring.toSemiring.{u1} R _inst_6) (Ring.toSemiring.{u1} R _inst_6) (RingHom.id.{u1} R (Semiring.toNonAssocSemiring.{u1} R (Ring.toSemiring.{u1} R _inst_6))) M M₂ (AddCommGroup.toAddCommMonoid.{u2} M _inst_7) (AddCommGroup.toAddCommMonoid.{u3} M₂ _inst_8) _inst_9 _inst_10) (coeBase.{max (succ u2) (succ u3), max (succ u2) (succ u3)} (LinearEquiv.{u1, u1, u2, u3} R R (Ring.toSemiring.{u1} R _inst_6) (Ring.toSemiring.{u1} R _inst_6) (RingHom.id.{u1} R (Semiring.toNonAssocSemiring.{u1} R (Ring.toSemiring.{u1} R _inst_6))) (RingHom.id.{u1} R (Semiring.toNonAssocSemiring.{u1} R (Ring.toSemiring.{u1} R _inst_6))) (RingHomInvPair.ids.{u1} R (Ring.toSemiring.{u1} R _inst_6)) (RingHomInvPair.ids.{u1} R (Ring.toSemiring.{u1} R _inst_6)) M M₂ (AddCommGroup.toAddCommMonoid.{u2} M _inst_7) (AddCommGroup.toAddCommMonoid.{u3} M₂ _inst_8) _inst_9 _inst_10) (LinearMap.{u1, u1, u2, u3} R R (Ring.toSemiring.{u1} R _inst_6) (Ring.toSemiring.{u1} R _inst_6) (RingHom.id.{u1} R (Semiring.toNonAssocSemiring.{u1} R (Ring.toSemiring.{u1} R _inst_6))) M M₂ (AddCommGroup.toAddCommMonoid.{u2} M _inst_7) (AddCommGroup.toAddCommMonoid.{u3} M₂ _inst_8) _inst_9 _inst_10) (LinearEquiv.LinearMap.hasCoe.{u1, u1, u2, u3} R R M M₂ (Ring.toSemiring.{u1} R _inst_6) (Ring.toSemiring.{u1} R _inst_6) (AddCommGroup.toAddCommMonoid.{u2} M _inst_7) (AddCommGroup.toAddCommMonoid.{u3} M₂ _inst_8) _inst_9 _inst_10 (RingHom.id.{u1} R (Semiring.toNonAssocSemiring.{u1} R (Ring.toSemiring.{u1} R _inst_6))) (RingHom.id.{u1} R (Semiring.toNonAssocSemiring.{u1} R (Ring.toSemiring.{u1} R _inst_6))) (RingHomInvPair.ids.{u1} R (Ring.toSemiring.{u1} R _inst_6)) (RingHomInvPair.ids.{u1} R (Ring.toSemiring.{u1} R _inst_6)))))) f) p)) (Ring.toSemiring.{u1} R _inst_6) (Submodule.addCommGroup.{u1, u3} R M₂ _inst_6 _inst_8 _inst_10 (Submodule.map.{u1, u1, u2, u3, max u2 u3} R R M M₂ (Ring.toSemiring.{u1} R _inst_6) (Ring.toSemiring.{u1} R _inst_6) (AddCommGroup.toAddCommMonoid.{u2} M _inst_7) (AddCommGroup.toAddCommMonoid.{u3} M₂ _inst_8) _inst_9 _inst_10 (RingHom.id.{u1} R (Semiring.toNonAssocSemiring.{u1} R (Ring.toSemiring.{u1} R _inst_6))) (RingHomSurjective.ids.{u1} R (Ring.toSemiring.{u1} R _inst_6)) (LinearMap.{u1, u1, u2, u3} R R (Ring.toSemiring.{u1} R _inst_6) (Ring.toSemiring.{u1} R _inst_6) (RingHom.id.{u1} R (Semiring.toNonAssocSemiring.{u1} R (Ring.toSemiring.{u1} R _inst_6))) M M₂ (AddCommGroup.toAddCommMonoid.{u2} M _inst_7) (AddCommGroup.toAddCommMonoid.{u3} M₂ _inst_8) _inst_9 _inst_10) (LinearMap.semilinearMapClass.{u1, u1, u2, u3} R R M M₂ (Ring.toSemiring.{u1} R _inst_6) (Ring.toSemiring.{u1} R _inst_6) (AddCommGroup.toAddCommMonoid.{u2} M _inst_7) (AddCommGroup.toAddCommMonoid.{u3} M₂ _inst_8) _inst_9 _inst_10 (RingHom.id.{u1} R (Semiring.toNonAssocSemiring.{u1} R (Ring.toSemiring.{u1} R _inst_6)))) ((fun (a : Sort.{max (succ u2) (succ u3)}) (b : Sort.{max (succ u2) (succ u3)}) [self : HasLiftT.{max (succ u2) (succ u3), max (succ u2) (succ u3)} a b] => self.0) (LinearEquiv.{u1, u1, u2, u3} R R (Ring.toSemiring.{u1} R _inst_6) (Ring.toSemiring.{u1} R _inst_6) (RingHom.id.{u1} R (Semiring.toNonAssocSemiring.{u1} R (Ring.toSemiring.{u1} R _inst_6))) (RingHom.id.{u1} R (Semiring.toNonAssocSemiring.{u1} R (Ring.toSemiring.{u1} R _inst_6))) (RingHomInvPair.ids.{u1} R (Ring.toSemiring.{u1} R _inst_6)) (RingHomInvPair.ids.{u1} R (Ring.toSemiring.{u1} R _inst_6)) M M₂ (AddCommGroup.toAddCommMonoid.{u2} M _inst_7) (AddCommGroup.toAddCommMonoid.{u3} M₂ _inst_8) _inst_9 _inst_10) (LinearMap.{u1, u1, u2, u3} R R (Ring.toSemiring.{u1} R _inst_6) (Ring.toSemiring.{u1} R _inst_6) (RingHom.id.{u1} R (Semiring.toNonAssocSemiring.{u1} R (Ring.toSemiring.{u1} R _inst_6))) M M₂ (AddCommGroup.toAddCommMonoid.{u2} M _inst_7) (AddCommGroup.toAddCommMonoid.{u3} M₂ _inst_8) _inst_9 _inst_10) (HasLiftT.mk.{max (succ u2) (succ u3), max (succ u2) (succ u3)} (LinearEquiv.{u1, u1, u2, u3} R R (Ring.toSemiring.{u1} R _inst_6) (Ring.toSemiring.{u1} R _inst_6) (RingHom.id.{u1} R (Semiring.toNonAssocSemiring.{u1} R (Ring.toSemiring.{u1} R _inst_6))) (RingHom.id.{u1} R (Semiring.toNonAssocSemiring.{u1} R (Ring.toSemiring.{u1} R _inst_6))) (RingHomInvPair.ids.{u1} R (Ring.toSemiring.{u1} R _inst_6)) (RingHomInvPair.ids.{u1} R (Ring.toSemiring.{u1} R _inst_6)) M M₂ (AddCommGroup.toAddCommMonoid.{u2} M _inst_7) (AddCommGroup.toAddCommMonoid.{u3} M₂ _inst_8) _inst_9 _inst_10) (LinearMap.{u1, u1, u2, u3} R R (Ring.toSemiring.{u1} R _inst_6) (Ring.toSemiring.{u1} R _inst_6) (RingHom.id.{u1} R (Semiring.toNonAssocSemiring.{u1} R (Ring.toSemiring.{u1} R _inst_6))) M M₂ (AddCommGroup.toAddCommMonoid.{u2} M _inst_7) (AddCommGroup.toAddCommMonoid.{u3} M₂ _inst_8) _inst_9 _inst_10) (CoeTCₓ.coe.{max (succ u2) (succ u3), max (succ u2) (succ u3)} (LinearEquiv.{u1, u1, u2, u3} R R (Ring.toSemiring.{u1} R _inst_6) (Ring.toSemiring.{u1} R _inst_6) (RingHom.id.{u1} R (Semiring.toNonAssocSemiring.{u1} R (Ring.toSemiring.{u1} R _inst_6))) (RingHom.id.{u1} R (Semiring.toNonAssocSemiring.{u1} R (Ring.toSemiring.{u1} R _inst_6))) (RingHomInvPair.ids.{u1} R (Ring.toSemiring.{u1} R _inst_6)) (RingHomInvPair.ids.{u1} R (Ring.toSemiring.{u1} R _inst_6)) M M₂ (AddCommGroup.toAddCommMonoid.{u2} M _inst_7) (AddCommGroup.toAddCommMonoid.{u3} M₂ _inst_8) _inst_9 _inst_10) (LinearMap.{u1, u1, u2, u3} R R (Ring.toSemiring.{u1} R _inst_6) (Ring.toSemiring.{u1} R _inst_6) (RingHom.id.{u1} R (Semiring.toNonAssocSemiring.{u1} R (Ring.toSemiring.{u1} R _inst_6))) M M₂ (AddCommGroup.toAddCommMonoid.{u2} M _inst_7) (AddCommGroup.toAddCommMonoid.{u3} M₂ _inst_8) _inst_9 _inst_10) (coeBase.{max (succ u2) (succ u3), max (succ u2) (succ u3)} (LinearEquiv.{u1, u1, u2, u3} R R (Ring.toSemiring.{u1} R _inst_6) (Ring.toSemiring.{u1} R _inst_6) (RingHom.id.{u1} R (Semiring.toNonAssocSemiring.{u1} R (Ring.toSemiring.{u1} R _inst_6))) (RingHom.id.{u1} R (Semiring.toNonAssocSemiring.{u1} R (Ring.toSemiring.{u1} R _inst_6))) (RingHomInvPair.ids.{u1} R (Ring.toSemiring.{u1} R _inst_6)) (RingHomInvPair.ids.{u1} R (Ring.toSemiring.{u1} R _inst_6)) M M₂ (AddCommGroup.toAddCommMonoid.{u2} M _inst_7) (AddCommGroup.toAddCommMonoid.{u3} M₂ _inst_8) _inst_9 _inst_10) (LinearMap.{u1, u1, u2, u3} R R (Ring.toSemiring.{u1} R _inst_6) (Ring.toSemiring.{u1} R _inst_6) (RingHom.id.{u1} R (Semiring.toNonAssocSemiring.{u1} R (Ring.toSemiring.{u1} R _inst_6))) M M₂ (AddCommGroup.toAddCommMonoid.{u2} M _inst_7) (AddCommGroup.toAddCommMonoid.{u3} M₂ _inst_8) _inst_9 _inst_10) (LinearEquiv.LinearMap.hasCoe.{u1, u1, u2, u3} R R M M₂ (Ring.toSemiring.{u1} R _inst_6) (Ring.toSemiring.{u1} R _inst_6) (AddCommGroup.toAddCommMonoid.{u2} M _inst_7) (AddCommGroup.toAddCommMonoid.{u3} M₂ _inst_8) _inst_9 _inst_10 (RingHom.id.{u1} R (Semiring.toNonAssocSemiring.{u1} R (Ring.toSemiring.{u1} R _inst_6))) (RingHom.id.{u1} R (Semiring.toNonAssocSemiring.{u1} R (Ring.toSemiring.{u1} R _inst_6))) (RingHomInvPair.ids.{u1} R (Ring.toSemiring.{u1} R _inst_6)) (RingHomInvPair.ids.{u1} R (Ring.toSemiring.{u1} R _inst_6)))))) f) p)) (Submodule.module.{u1, u3} R M₂ (Ring.toSemiring.{u1} R _inst_6) (AddCommGroup.toAddCommMonoid.{u3} M₂ _inst_8) _inst_10 (Submodule.map.{u1, u1, u2, u3, max u2 u3} R R M M₂ (Ring.toSemiring.{u1} R _inst_6) (Ring.toSemiring.{u1} R _inst_6) (AddCommGroup.toAddCommMonoid.{u2} M _inst_7) (AddCommGroup.toAddCommMonoid.{u3} M₂ _inst_8) _inst_9 _inst_10 (RingHom.id.{u1} R (Semiring.toNonAssocSemiring.{u1} R (Ring.toSemiring.{u1} R _inst_6))) (RingHomSurjective.ids.{u1} R (Ring.toSemiring.{u1} R _inst_6)) (LinearMap.{u1, u1, u2, u3} R R (Ring.toSemiring.{u1} R _inst_6) (Ring.toSemiring.{u1} R _inst_6) (RingHom.id.{u1} R (Semiring.toNonAssocSemiring.{u1} R (Ring.toSemiring.{u1} R _inst_6))) M M₂ (AddCommGroup.toAddCommMonoid.{u2} M _inst_7) (AddCommGroup.toAddCommMonoid.{u3} M₂ _inst_8) _inst_9 _inst_10) (LinearMap.semilinearMapClass.{u1, u1, u2, u3} R R M M₂ (Ring.toSemiring.{u1} R _inst_6) (Ring.toSemiring.{u1} R _inst_6) (AddCommGroup.toAddCommMonoid.{u2} M _inst_7) (AddCommGroup.toAddCommMonoid.{u3} M₂ _inst_8) _inst_9 _inst_10 (RingHom.id.{u1} R (Semiring.toNonAssocSemiring.{u1} R (Ring.toSemiring.{u1} R _inst_6)))) ((fun (a : Sort.{max (succ u2) (succ u3)}) (b : Sort.{max (succ u2) (succ u3)}) [self : HasLiftT.{max (succ u2) (succ u3), max (succ u2) (succ u3)} a b] => self.0) (LinearEquiv.{u1, u1, u2, u3} R R (Ring.toSemiring.{u1} R _inst_6) (Ring.toSemiring.{u1} R _inst_6) (RingHom.id.{u1} R (Semiring.toNonAssocSemiring.{u1} R (Ring.toSemiring.{u1} R _inst_6))) (RingHom.id.{u1} R (Semiring.toNonAssocSemiring.{u1} R (Ring.toSemiring.{u1} R _inst_6))) (RingHomInvPair.ids.{u1} R (Ring.toSemiring.{u1} R _inst_6)) (RingHomInvPair.ids.{u1} R (Ring.toSemiring.{u1} R _inst_6)) M M₂ (AddCommGroup.toAddCommMonoid.{u2} M _inst_7) (AddCommGroup.toAddCommMonoid.{u3} M₂ _inst_8) _inst_9 _inst_10) (LinearMap.{u1, u1, u2, u3} R R (Ring.toSemiring.{u1} R _inst_6) (Ring.toSemiring.{u1} R _inst_6) (RingHom.id.{u1} R (Semiring.toNonAssocSemiring.{u1} R (Ring.toSemiring.{u1} R _inst_6))) M M₂ (AddCommGroup.toAddCommMonoid.{u2} M _inst_7) (AddCommGroup.toAddCommMonoid.{u3} M₂ _inst_8) _inst_9 _inst_10) (HasLiftT.mk.{max (succ u2) (succ u3), max (succ u2) (succ u3)} (LinearEquiv.{u1, u1, u2, u3} R R (Ring.toSemiring.{u1} R _inst_6) (Ring.toSemiring.{u1} R _inst_6) (RingHom.id.{u1} R (Semiring.toNonAssocSemiring.{u1} R (Ring.toSemiring.{u1} R _inst_6))) (RingHom.id.{u1} R (Semiring.toNonAssocSemiring.{u1} R (Ring.toSemiring.{u1} R _inst_6))) (RingHomInvPair.ids.{u1} R (Ring.toSemiring.{u1} R _inst_6)) (RingHomInvPair.ids.{u1} R (Ring.toSemiring.{u1} R _inst_6)) M M₂ (AddCommGroup.toAddCommMonoid.{u2} M _inst_7) (AddCommGroup.toAddCommMonoid.{u3} M₂ _inst_8) _inst_9 _inst_10) (LinearMap.{u1, u1, u2, u3} R R (Ring.toSemiring.{u1} R _inst_6) (Ring.toSemiring.{u1} R _inst_6) (RingHom.id.{u1} R (Semiring.toNonAssocSemiring.{u1} R (Ring.toSemiring.{u1} R _inst_6))) M M₂ (AddCommGroup.toAddCommMonoid.{u2} M _inst_7) (AddCommGroup.toAddCommMonoid.{u3} M₂ _inst_8) _inst_9 _inst_10) (CoeTCₓ.coe.{max (succ u2) (succ u3), max (succ u2) (succ u3)} (LinearEquiv.{u1, u1, u2, u3} R R (Ring.toSemiring.{u1} R _inst_6) (Ring.toSemiring.{u1} R _inst_6) (RingHom.id.{u1} R (Semiring.toNonAssocSemiring.{u1} R (Ring.toSemiring.{u1} R _inst_6))) (RingHom.id.{u1} R (Semiring.toNonAssocSemiring.{u1} R (Ring.toSemiring.{u1} R _inst_6))) (RingHomInvPair.ids.{u1} R (Ring.toSemiring.{u1} R _inst_6)) (RingHomInvPair.ids.{u1} R (Ring.toSemiring.{u1} R _inst_6)) M M₂ (AddCommGroup.toAddCommMonoid.{u2} M _inst_7) (AddCommGroup.toAddCommMonoid.{u3} M₂ _inst_8) _inst_9 _inst_10) (LinearMap.{u1, u1, u2, u3} R R (Ring.toSemiring.{u1} R _inst_6) (Ring.toSemiring.{u1} R _inst_6) (RingHom.id.{u1} R (Semiring.toNonAssocSemiring.{u1} R (Ring.toSemiring.{u1} R _inst_6))) M M₂ (AddCommGroup.toAddCommMonoid.{u2} M _inst_7) (AddCommGroup.toAddCommMonoid.{u3} M₂ _inst_8) _inst_9 _inst_10) (coeBase.{max (succ u2) (succ u3), max (succ u2) (succ u3)} (LinearEquiv.{u1, u1, u2, u3} R R (Ring.toSemiring.{u1} R _inst_6) (Ring.toSemiring.{u1} R _inst_6) (RingHom.id.{u1} R (Semiring.toNonAssocSemiring.{u1} R (Ring.toSemiring.{u1} R _inst_6))) (RingHom.id.{u1} R (Semiring.toNonAssocSemiring.{u1} R (Ring.toSemiring.{u1} R _inst_6))) (RingHomInvPair.ids.{u1} R (Ring.toSemiring.{u1} R _inst_6)) (RingHomInvPair.ids.{u1} R (Ring.toSemiring.{u1} R _inst_6)) M M₂ (AddCommGroup.toAddCommMonoid.{u2} M _inst_7) (AddCommGroup.toAddCommMonoid.{u3} M₂ _inst_8) _inst_9 _inst_10) (LinearMap.{u1, u1, u2, u3} R R (Ring.toSemiring.{u1} R _inst_6) (Ring.toSemiring.{u1} R _inst_6) (RingHom.id.{u1} R (Semiring.toNonAssocSemiring.{u1} R (Ring.toSemiring.{u1} R _inst_6))) M M₂ (AddCommGroup.toAddCommMonoid.{u2} M _inst_7) (AddCommGroup.toAddCommMonoid.{u3} M₂ _inst_8) _inst_9 _inst_10) (LinearEquiv.LinearMap.hasCoe.{u1, u1, u2, u3} R R M M₂ (Ring.toSemiring.{u1} R _inst_6) (Ring.toSemiring.{u1} R _inst_6) (AddCommGroup.toAddCommMonoid.{u2} M _inst_7) (AddCommGroup.toAddCommMonoid.{u3} M₂ _inst_8) _inst_9 _inst_10 (RingHom.id.{u1} R (Semiring.toNonAssocSemiring.{u1} R (Ring.toSemiring.{u1} R _inst_6))) (RingHom.id.{u1} R (Semiring.toNonAssocSemiring.{u1} R (Ring.toSemiring.{u1} R _inst_6))) (RingHomInvPair.ids.{u1} R (Ring.toSemiring.{u1} R _inst_6)) (RingHomInvPair.ids.{u1} R (Ring.toSemiring.{u1} R _inst_6)))))) f) p))) (FiniteDimensional.finrank.{u1, u2} R (coeSort.{succ u2, succ (succ u2)} (Submodule.{u1, u2} R M (Ring.toSemiring.{u1} R _inst_6) (AddCommGroup.toAddCommMonoid.{u2} M _inst_7) _inst_9) Type.{u2} (SetLike.hasCoeToSort.{u2, u2} (Submodule.{u1, u2} R M (Ring.toSemiring.{u1} R _inst_6) (AddCommGroup.toAddCommMonoid.{u2} M _inst_7) _inst_9) M (Submodule.setLike.{u1, u2} R M (Ring.toSemiring.{u1} R _inst_6) (AddCommGroup.toAddCommMonoid.{u2} M _inst_7) _inst_9)) p) (Ring.toSemiring.{u1} R _inst_6) (Submodule.addCommGroup.{u1, u2} R M _inst_6 _inst_7 _inst_9 p) (Submodule.module.{u1, u2} R M (Ring.toSemiring.{u1} R _inst_6) (AddCommGroup.toAddCommMonoid.{u2} M _inst_7) _inst_9 p))
 but is expected to have type
-  forall {R : Type.{u3}} {M : Type.{u2}} {M₂ : Type.{u1}} [_inst_6 : Ring.{u3} R] [_inst_7 : AddCommGroup.{u2} M] [_inst_8 : AddCommGroup.{u1} M₂] [_inst_9 : Module.{u3, u2} R M (Ring.toSemiring.{u3} R _inst_6) (AddCommGroup.toAddCommMonoid.{u2} M _inst_7)] [_inst_10 : Module.{u3, u1} R M₂ (Ring.toSemiring.{u3} R _inst_6) (AddCommGroup.toAddCommMonoid.{u1} M₂ _inst_8)] (f : LinearEquiv.{u3, u3, u2, u1} R R (Ring.toSemiring.{u3} R _inst_6) (Ring.toSemiring.{u3} R _inst_6) (RingHom.id.{u3} R (NonAssocRing.toNonAssocSemiring.{u3} R (Ring.toNonAssocRing.{u3} R _inst_6))) (RingHom.id.{u3} R (Semiring.toNonAssocSemiring.{u3} R (Ring.toSemiring.{u3} R _inst_6))) (RingHomInvPair.ids.{u3} R (Ring.toSemiring.{u3} R _inst_6)) (RingHomInvPair.ids.{u3} R (Ring.toSemiring.{u3} R _inst_6)) M M₂ (AddCommGroup.toAddCommMonoid.{u2} M _inst_7) (AddCommGroup.toAddCommMonoid.{u1} M₂ _inst_8) _inst_9 _inst_10) (p : Submodule.{u3, u2} R M (Ring.toSemiring.{u3} R _inst_6) (AddCommGroup.toAddCommMonoid.{u2} M _inst_7) _inst_9), Eq.{1} Nat (FiniteDimensional.finrank.{u3, u1} R (Subtype.{succ u1} M₂ (fun (x : M₂) => Membership.mem.{u1, u1} M₂ (Submodule.{u3, u1} R M₂ (Ring.toSemiring.{u3} R _inst_6) (AddCommGroup.toAddCommMonoid.{u1} M₂ _inst_8) _inst_10) (SetLike.instMembership.{u1, u1} (Submodule.{u3, u1} R M₂ (Ring.toSemiring.{u3} R _inst_6) (AddCommGroup.toAddCommMonoid.{u1} M₂ _inst_8) _inst_10) M₂ (Submodule.setLike.{u3, u1} R M₂ (Ring.toSemiring.{u3} R _inst_6) (AddCommGroup.toAddCommMonoid.{u1} M₂ _inst_8) _inst_10)) x (Submodule.map.{u3, u3, u2, u1, max u2 u1} R R M M₂ (Ring.toSemiring.{u3} R _inst_6) (Ring.toSemiring.{u3} R _inst_6) (AddCommGroup.toAddCommMonoid.{u2} M _inst_7) (AddCommGroup.toAddCommMonoid.{u1} M₂ _inst_8) _inst_9 _inst_10 (RingHom.id.{u3} R (NonAssocRing.toNonAssocSemiring.{u3} R (Ring.toNonAssocRing.{u3} R _inst_6))) (RingHomSurjective.ids.{u3} R (Ring.toSemiring.{u3} R _inst_6)) (LinearMap.{u3, u3, u2, u1} R R (Ring.toSemiring.{u3} R _inst_6) (Ring.toSemiring.{u3} R _inst_6) (RingHom.id.{u3} R (NonAssocRing.toNonAssocSemiring.{u3} R (Ring.toNonAssocRing.{u3} R _inst_6))) M M₂ (AddCommGroup.toAddCommMonoid.{u2} M _inst_7) (AddCommGroup.toAddCommMonoid.{u1} M₂ _inst_8) _inst_9 _inst_10) (LinearMap.instSemilinearMapClassLinearMap.{u3, u3, u2, u1} R R M M₂ (Ring.toSemiring.{u3} R _inst_6) (Ring.toSemiring.{u3} R _inst_6) (AddCommGroup.toAddCommMonoid.{u2} M _inst_7) (AddCommGroup.toAddCommMonoid.{u1} M₂ _inst_8) _inst_9 _inst_10 (RingHom.id.{u3} R (NonAssocRing.toNonAssocSemiring.{u3} R (Ring.toNonAssocRing.{u3} R _inst_6)))) (LinearEquiv.toLinearMap.{u3, u3, u2, u1} R R (Ring.toSemiring.{u3} R _inst_6) (Ring.toSemiring.{u3} R _inst_6) (RingHom.id.{u3} R (NonAssocRing.toNonAssocSemiring.{u3} R (Ring.toNonAssocRing.{u3} R _inst_6))) (RingHom.id.{u3} R (Semiring.toNonAssocSemiring.{u3} R (Ring.toSemiring.{u3} R _inst_6))) (RingHomInvPair.ids.{u3} R (Ring.toSemiring.{u3} R _inst_6)) (RingHomInvPair.ids.{u3} R (Ring.toSemiring.{u3} R _inst_6)) M M₂ (AddCommGroup.toAddCommMonoid.{u2} M _inst_7) (AddCommGroup.toAddCommMonoid.{u1} M₂ _inst_8) _inst_9 _inst_10 f) p))) (Ring.toSemiring.{u3} R _inst_6) (Submodule.addCommGroup.{u3, u1} R M₂ _inst_6 _inst_8 _inst_10 (Submodule.map.{u3, u3, u2, u1, max u2 u1} R R M M₂ (Ring.toSemiring.{u3} R _inst_6) (Ring.toSemiring.{u3} R _inst_6) (AddCommGroup.toAddCommMonoid.{u2} M _inst_7) (AddCommGroup.toAddCommMonoid.{u1} M₂ _inst_8) _inst_9 _inst_10 (RingHom.id.{u3} R (NonAssocRing.toNonAssocSemiring.{u3} R (Ring.toNonAssocRing.{u3} R _inst_6))) (RingHomSurjective.ids.{u3} R (Ring.toSemiring.{u3} R _inst_6)) (LinearMap.{u3, u3, u2, u1} R R (Ring.toSemiring.{u3} R _inst_6) (Ring.toSemiring.{u3} R _inst_6) (RingHom.id.{u3} R (NonAssocRing.toNonAssocSemiring.{u3} R (Ring.toNonAssocRing.{u3} R _inst_6))) M M₂ (AddCommGroup.toAddCommMonoid.{u2} M _inst_7) (AddCommGroup.toAddCommMonoid.{u1} M₂ _inst_8) _inst_9 _inst_10) (LinearMap.instSemilinearMapClassLinearMap.{u3, u3, u2, u1} R R M M₂ (Ring.toSemiring.{u3} R _inst_6) (Ring.toSemiring.{u3} R _inst_6) (AddCommGroup.toAddCommMonoid.{u2} M _inst_7) (AddCommGroup.toAddCommMonoid.{u1} M₂ _inst_8) _inst_9 _inst_10 (RingHom.id.{u3} R (NonAssocRing.toNonAssocSemiring.{u3} R (Ring.toNonAssocRing.{u3} R _inst_6)))) (LinearEquiv.toLinearMap.{u3, u3, u2, u1} R R (Ring.toSemiring.{u3} R _inst_6) (Ring.toSemiring.{u3} R _inst_6) (RingHom.id.{u3} R (NonAssocRing.toNonAssocSemiring.{u3} R (Ring.toNonAssocRing.{u3} R _inst_6))) (RingHom.id.{u3} R (Semiring.toNonAssocSemiring.{u3} R (Ring.toSemiring.{u3} R _inst_6))) (RingHomInvPair.ids.{u3} R (Ring.toSemiring.{u3} R _inst_6)) (RingHomInvPair.ids.{u3} R (Ring.toSemiring.{u3} R _inst_6)) M M₂ (AddCommGroup.toAddCommMonoid.{u2} M _inst_7) (AddCommGroup.toAddCommMonoid.{u1} M₂ _inst_8) _inst_9 _inst_10 f) p)) (Submodule.module.{u3, u1} R M₂ (Ring.toSemiring.{u3} R _inst_6) (AddCommGroup.toAddCommMonoid.{u1} M₂ _inst_8) _inst_10 (Submodule.map.{u3, u3, u2, u1, max u2 u1} R R M M₂ (Ring.toSemiring.{u3} R _inst_6) (Ring.toSemiring.{u3} R _inst_6) (AddCommGroup.toAddCommMonoid.{u2} M _inst_7) (AddCommGroup.toAddCommMonoid.{u1} M₂ _inst_8) _inst_9 _inst_10 (RingHom.id.{u3} R (NonAssocRing.toNonAssocSemiring.{u3} R (Ring.toNonAssocRing.{u3} R _inst_6))) (RingHomSurjective.ids.{u3} R (Ring.toSemiring.{u3} R _inst_6)) (LinearMap.{u3, u3, u2, u1} R R (Ring.toSemiring.{u3} R _inst_6) (Ring.toSemiring.{u3} R _inst_6) (RingHom.id.{u3} R (NonAssocRing.toNonAssocSemiring.{u3} R (Ring.toNonAssocRing.{u3} R _inst_6))) M M₂ (AddCommGroup.toAddCommMonoid.{u2} M _inst_7) (AddCommGroup.toAddCommMonoid.{u1} M₂ _inst_8) _inst_9 _inst_10) (LinearMap.instSemilinearMapClassLinearMap.{u3, u3, u2, u1} R R M M₂ (Ring.toSemiring.{u3} R _inst_6) (Ring.toSemiring.{u3} R _inst_6) (AddCommGroup.toAddCommMonoid.{u2} M _inst_7) (AddCommGroup.toAddCommMonoid.{u1} M₂ _inst_8) _inst_9 _inst_10 (RingHom.id.{u3} R (NonAssocRing.toNonAssocSemiring.{u3} R (Ring.toNonAssocRing.{u3} R _inst_6)))) (LinearEquiv.toLinearMap.{u3, u3, u2, u1} R R (Ring.toSemiring.{u3} R _inst_6) (Ring.toSemiring.{u3} R _inst_6) (RingHom.id.{u3} R (NonAssocRing.toNonAssocSemiring.{u3} R (Ring.toNonAssocRing.{u3} R _inst_6))) (RingHom.id.{u3} R (Semiring.toNonAssocSemiring.{u3} R (Ring.toSemiring.{u3} R _inst_6))) (RingHomInvPair.ids.{u3} R (Ring.toSemiring.{u3} R _inst_6)) (RingHomInvPair.ids.{u3} R (Ring.toSemiring.{u3} R _inst_6)) M M₂ (AddCommGroup.toAddCommMonoid.{u2} M _inst_7) (AddCommGroup.toAddCommMonoid.{u1} M₂ _inst_8) _inst_9 _inst_10 f) p))) (FiniteDimensional.finrank.{u3, u2} R (Subtype.{succ u2} M (fun (x : M) => Membership.mem.{u2, u2} M (Submodule.{u3, u2} R M (Ring.toSemiring.{u3} R _inst_6) (AddCommGroup.toAddCommMonoid.{u2} M _inst_7) _inst_9) (SetLike.instMembership.{u2, u2} (Submodule.{u3, u2} R M (Ring.toSemiring.{u3} R _inst_6) (AddCommGroup.toAddCommMonoid.{u2} M _inst_7) _inst_9) M (Submodule.setLike.{u3, u2} R M (Ring.toSemiring.{u3} R _inst_6) (AddCommGroup.toAddCommMonoid.{u2} M _inst_7) _inst_9)) x p)) (Ring.toSemiring.{u3} R _inst_6) (Submodule.addCommGroup.{u3, u2} R M _inst_6 _inst_7 _inst_9 p) (Submodule.module.{u3, u2} R M (Ring.toSemiring.{u3} R _inst_6) (AddCommGroup.toAddCommMonoid.{u2} M _inst_7) _inst_9 p))
+  forall {R : Type.{u3}} {M : Type.{u2}} {M₂ : Type.{u1}} [_inst_6 : Ring.{u3} R] [_inst_7 : AddCommGroup.{u2} M] [_inst_8 : AddCommGroup.{u1} M₂] [_inst_9 : Module.{u3, u2} R M (Ring.toSemiring.{u3} R _inst_6) (AddCommGroup.toAddCommMonoid.{u2} M _inst_7)] [_inst_10 : Module.{u3, u1} R M₂ (Ring.toSemiring.{u3} R _inst_6) (AddCommGroup.toAddCommMonoid.{u1} M₂ _inst_8)] (f : LinearEquiv.{u3, u3, u2, u1} R R (Ring.toSemiring.{u3} R _inst_6) (Ring.toSemiring.{u3} R _inst_6) (RingHom.id.{u3} R (Semiring.toNonAssocSemiring.{u3} R (Ring.toSemiring.{u3} R _inst_6))) (RingHom.id.{u3} R (Semiring.toNonAssocSemiring.{u3} R (Ring.toSemiring.{u3} R _inst_6))) (RingHomInvPair.ids.{u3} R (Ring.toSemiring.{u3} R _inst_6)) (RingHomInvPair.ids.{u3} R (Ring.toSemiring.{u3} R _inst_6)) M M₂ (AddCommGroup.toAddCommMonoid.{u2} M _inst_7) (AddCommGroup.toAddCommMonoid.{u1} M₂ _inst_8) _inst_9 _inst_10) (p : Submodule.{u3, u2} R M (Ring.toSemiring.{u3} R _inst_6) (AddCommGroup.toAddCommMonoid.{u2} M _inst_7) _inst_9), Eq.{1} Nat (FiniteDimensional.finrank.{u3, u1} R (Subtype.{succ u1} M₂ (fun (x : M₂) => Membership.mem.{u1, u1} M₂ (Submodule.{u3, u1} R M₂ (Ring.toSemiring.{u3} R _inst_6) (AddCommGroup.toAddCommMonoid.{u1} M₂ _inst_8) _inst_10) (SetLike.instMembership.{u1, u1} (Submodule.{u3, u1} R M₂ (Ring.toSemiring.{u3} R _inst_6) (AddCommGroup.toAddCommMonoid.{u1} M₂ _inst_8) _inst_10) M₂ (Submodule.setLike.{u3, u1} R M₂ (Ring.toSemiring.{u3} R _inst_6) (AddCommGroup.toAddCommMonoid.{u1} M₂ _inst_8) _inst_10)) x (Submodule.map.{u3, u3, u2, u1, max u2 u1} R R M M₂ (Ring.toSemiring.{u3} R _inst_6) (Ring.toSemiring.{u3} R _inst_6) (AddCommGroup.toAddCommMonoid.{u2} M _inst_7) (AddCommGroup.toAddCommMonoid.{u1} M₂ _inst_8) _inst_9 _inst_10 (RingHom.id.{u3} R (Semiring.toNonAssocSemiring.{u3} R (Ring.toSemiring.{u3} R _inst_6))) (RingHomSurjective.ids.{u3} R (Ring.toSemiring.{u3} R _inst_6)) (LinearMap.{u3, u3, u2, u1} R R (Ring.toSemiring.{u3} R _inst_6) (Ring.toSemiring.{u3} R _inst_6) (RingHom.id.{u3} R (Semiring.toNonAssocSemiring.{u3} R (Ring.toSemiring.{u3} R _inst_6))) M M₂ (AddCommGroup.toAddCommMonoid.{u2} M _inst_7) (AddCommGroup.toAddCommMonoid.{u1} M₂ _inst_8) _inst_9 _inst_10) (LinearMap.instSemilinearMapClassLinearMap.{u3, u3, u2, u1} R R M M₂ (Ring.toSemiring.{u3} R _inst_6) (Ring.toSemiring.{u3} R _inst_6) (AddCommGroup.toAddCommMonoid.{u2} M _inst_7) (AddCommGroup.toAddCommMonoid.{u1} M₂ _inst_8) _inst_9 _inst_10 (RingHom.id.{u3} R (Semiring.toNonAssocSemiring.{u3} R (Ring.toSemiring.{u3} R _inst_6)))) (LinearEquiv.toLinearMap.{u3, u3, u2, u1} R R (Ring.toSemiring.{u3} R _inst_6) (Ring.toSemiring.{u3} R _inst_6) (RingHom.id.{u3} R (Semiring.toNonAssocSemiring.{u3} R (Ring.toSemiring.{u3} R _inst_6))) (RingHom.id.{u3} R (Semiring.toNonAssocSemiring.{u3} R (Ring.toSemiring.{u3} R _inst_6))) (RingHomInvPair.ids.{u3} R (Ring.toSemiring.{u3} R _inst_6)) (RingHomInvPair.ids.{u3} R (Ring.toSemiring.{u3} R _inst_6)) M M₂ (AddCommGroup.toAddCommMonoid.{u2} M _inst_7) (AddCommGroup.toAddCommMonoid.{u1} M₂ _inst_8) _inst_9 _inst_10 f) p))) (Ring.toSemiring.{u3} R _inst_6) (Submodule.addCommGroup.{u3, u1} R M₂ _inst_6 _inst_8 _inst_10 (Submodule.map.{u3, u3, u2, u1, max u2 u1} R R M M₂ (Ring.toSemiring.{u3} R _inst_6) (Ring.toSemiring.{u3} R _inst_6) (AddCommGroup.toAddCommMonoid.{u2} M _inst_7) (AddCommGroup.toAddCommMonoid.{u1} M₂ _inst_8) _inst_9 _inst_10 (RingHom.id.{u3} R (Semiring.toNonAssocSemiring.{u3} R (Ring.toSemiring.{u3} R _inst_6))) (RingHomSurjective.ids.{u3} R (Ring.toSemiring.{u3} R _inst_6)) (LinearMap.{u3, u3, u2, u1} R R (Ring.toSemiring.{u3} R _inst_6) (Ring.toSemiring.{u3} R _inst_6) (RingHom.id.{u3} R (Semiring.toNonAssocSemiring.{u3} R (Ring.toSemiring.{u3} R _inst_6))) M M₂ (AddCommGroup.toAddCommMonoid.{u2} M _inst_7) (AddCommGroup.toAddCommMonoid.{u1} M₂ _inst_8) _inst_9 _inst_10) (LinearMap.instSemilinearMapClassLinearMap.{u3, u3, u2, u1} R R M M₂ (Ring.toSemiring.{u3} R _inst_6) (Ring.toSemiring.{u3} R _inst_6) (AddCommGroup.toAddCommMonoid.{u2} M _inst_7) (AddCommGroup.toAddCommMonoid.{u1} M₂ _inst_8) _inst_9 _inst_10 (RingHom.id.{u3} R (Semiring.toNonAssocSemiring.{u3} R (Ring.toSemiring.{u3} R _inst_6)))) (LinearEquiv.toLinearMap.{u3, u3, u2, u1} R R (Ring.toSemiring.{u3} R _inst_6) (Ring.toSemiring.{u3} R _inst_6) (RingHom.id.{u3} R (Semiring.toNonAssocSemiring.{u3} R (Ring.toSemiring.{u3} R _inst_6))) (RingHom.id.{u3} R (Semiring.toNonAssocSemiring.{u3} R (Ring.toSemiring.{u3} R _inst_6))) (RingHomInvPair.ids.{u3} R (Ring.toSemiring.{u3} R _inst_6)) (RingHomInvPair.ids.{u3} R (Ring.toSemiring.{u3} R _inst_6)) M M₂ (AddCommGroup.toAddCommMonoid.{u2} M _inst_7) (AddCommGroup.toAddCommMonoid.{u1} M₂ _inst_8) _inst_9 _inst_10 f) p)) (Submodule.module.{u3, u1} R M₂ (Ring.toSemiring.{u3} R _inst_6) (AddCommGroup.toAddCommMonoid.{u1} M₂ _inst_8) _inst_10 (Submodule.map.{u3, u3, u2, u1, max u2 u1} R R M M₂ (Ring.toSemiring.{u3} R _inst_6) (Ring.toSemiring.{u3} R _inst_6) (AddCommGroup.toAddCommMonoid.{u2} M _inst_7) (AddCommGroup.toAddCommMonoid.{u1} M₂ _inst_8) _inst_9 _inst_10 (RingHom.id.{u3} R (Semiring.toNonAssocSemiring.{u3} R (Ring.toSemiring.{u3} R _inst_6))) (RingHomSurjective.ids.{u3} R (Ring.toSemiring.{u3} R _inst_6)) (LinearMap.{u3, u3, u2, u1} R R (Ring.toSemiring.{u3} R _inst_6) (Ring.toSemiring.{u3} R _inst_6) (RingHom.id.{u3} R (Semiring.toNonAssocSemiring.{u3} R (Ring.toSemiring.{u3} R _inst_6))) M M₂ (AddCommGroup.toAddCommMonoid.{u2} M _inst_7) (AddCommGroup.toAddCommMonoid.{u1} M₂ _inst_8) _inst_9 _inst_10) (LinearMap.instSemilinearMapClassLinearMap.{u3, u3, u2, u1} R R M M₂ (Ring.toSemiring.{u3} R _inst_6) (Ring.toSemiring.{u3} R _inst_6) (AddCommGroup.toAddCommMonoid.{u2} M _inst_7) (AddCommGroup.toAddCommMonoid.{u1} M₂ _inst_8) _inst_9 _inst_10 (RingHom.id.{u3} R (Semiring.toNonAssocSemiring.{u3} R (Ring.toSemiring.{u3} R _inst_6)))) (LinearEquiv.toLinearMap.{u3, u3, u2, u1} R R (Ring.toSemiring.{u3} R _inst_6) (Ring.toSemiring.{u3} R _inst_6) (RingHom.id.{u3} R (Semiring.toNonAssocSemiring.{u3} R (Ring.toSemiring.{u3} R _inst_6))) (RingHom.id.{u3} R (Semiring.toNonAssocSemiring.{u3} R (Ring.toSemiring.{u3} R _inst_6))) (RingHomInvPair.ids.{u3} R (Ring.toSemiring.{u3} R _inst_6)) (RingHomInvPair.ids.{u3} R (Ring.toSemiring.{u3} R _inst_6)) M M₂ (AddCommGroup.toAddCommMonoid.{u2} M _inst_7) (AddCommGroup.toAddCommMonoid.{u1} M₂ _inst_8) _inst_9 _inst_10 f) p))) (FiniteDimensional.finrank.{u3, u2} R (Subtype.{succ u2} M (fun (x : M) => Membership.mem.{u2, u2} M (Submodule.{u3, u2} R M (Ring.toSemiring.{u3} R _inst_6) (AddCommGroup.toAddCommMonoid.{u2} M _inst_7) _inst_9) (SetLike.instMembership.{u2, u2} (Submodule.{u3, u2} R M (Ring.toSemiring.{u3} R _inst_6) (AddCommGroup.toAddCommMonoid.{u2} M _inst_7) _inst_9) M (Submodule.setLike.{u3, u2} R M (Ring.toSemiring.{u3} R _inst_6) (AddCommGroup.toAddCommMonoid.{u2} M _inst_7) _inst_9)) x p)) (Ring.toSemiring.{u3} R _inst_6) (Submodule.addCommGroup.{u3, u2} R M _inst_6 _inst_7 _inst_9 p) (Submodule.module.{u3, u2} R M (Ring.toSemiring.{u3} R _inst_6) (AddCommGroup.toAddCommMonoid.{u2} M _inst_7) _inst_9 p))
 Case conversion may be inaccurate. Consider using '#align linear_equiv.finrank_map_eq LinearEquiv.finrank_map_eqₓ'. -/
 /-- Pushforwards of finite-dimensional submodules along a `linear_equiv` have the same finrank. -/
 theorem finrank_map_eq (f : M ≃ₗ[R] M₂) (p : Submodule R M) :
@@ -339,7 +339,7 @@ variable [Ring K] [AddCommGroup V] [Module K V] {V₂ : Type v'} [AddCommGroup V
 lean 3 declaration is
   forall {K : Type.{u1}} {V : Type.{u2}} [_inst_1 : Ring.{u1} K] [_inst_2 : AddCommGroup.{u2} V] [_inst_3 : Module.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2)] {V₂ : Type.{u3}} [_inst_4 : AddCommGroup.{u3} V₂] [_inst_5 : Module.{u1, u3} K V₂ (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u3} V₂ _inst_4)] {f : LinearMap.{u1, u1, u2, u3} K K (Ring.toSemiring.{u1} K _inst_1) (Ring.toSemiring.{u1} K _inst_1) (RingHom.id.{u1} K (Semiring.toNonAssocSemiring.{u1} K (Ring.toSemiring.{u1} K _inst_1))) V V₂ (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) (AddCommGroup.toAddCommMonoid.{u3} V₂ _inst_4) _inst_3 _inst_5}, (Function.Injective.{succ u2, succ u3} V V₂ (coeFn.{max (succ u2) (succ u3), max (succ u2) (succ u3)} (LinearMap.{u1, u1, u2, u3} K K (Ring.toSemiring.{u1} K _inst_1) (Ring.toSemiring.{u1} K _inst_1) (RingHom.id.{u1} K (Semiring.toNonAssocSemiring.{u1} K (Ring.toSemiring.{u1} K _inst_1))) V V₂ (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) (AddCommGroup.toAddCommMonoid.{u3} V₂ _inst_4) _inst_3 _inst_5) (fun (_x : LinearMap.{u1, u1, u2, u3} K K (Ring.toSemiring.{u1} K _inst_1) (Ring.toSemiring.{u1} K _inst_1) (RingHom.id.{u1} K (Semiring.toNonAssocSemiring.{u1} K (Ring.toSemiring.{u1} K _inst_1))) V V₂ (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) (AddCommGroup.toAddCommMonoid.{u3} V₂ _inst_4) _inst_3 _inst_5) => V -> V₂) (LinearMap.hasCoeToFun.{u1, u1, u2, u3} K K V V₂ (Ring.toSemiring.{u1} K _inst_1) (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) (AddCommGroup.toAddCommMonoid.{u3} V₂ _inst_4) _inst_3 _inst_5 (RingHom.id.{u1} K (Semiring.toNonAssocSemiring.{u1} K (Ring.toSemiring.{u1} K _inst_1)))) f)) -> (Eq.{1} Nat (FiniteDimensional.finrank.{u1, u3} K (coeSort.{succ u3, succ (succ u3)} (Submodule.{u1, u3} K V₂ (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u3} V₂ _inst_4) _inst_5) Type.{u3} (SetLike.hasCoeToSort.{u3, u3} (Submodule.{u1, u3} K V₂ (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u3} V₂ _inst_4) _inst_5) V₂ (Submodule.setLike.{u1, u3} K V₂ (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u3} V₂ _inst_4) _inst_5)) (LinearMap.range.{u1, u1, u2, u3, max u2 u3} K K V V₂ (Ring.toSemiring.{u1} K _inst_1) (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) (AddCommGroup.toAddCommMonoid.{u3} V₂ _inst_4) _inst_3 _inst_5 (RingHom.id.{u1} K (Semiring.toNonAssocSemiring.{u1} K (Ring.toSemiring.{u1} K _inst_1))) (LinearMap.{u1, u1, u2, u3} K K (Ring.toSemiring.{u1} K _inst_1) (Ring.toSemiring.{u1} K _inst_1) (RingHom.id.{u1} K (Semiring.toNonAssocSemiring.{u1} K (Ring.toSemiring.{u1} K _inst_1))) V V₂ (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) (AddCommGroup.toAddCommMonoid.{u3} V₂ _inst_4) _inst_3 _inst_5) (LinearMap.semilinearMapClass.{u1, u1, u2, u3} K K V V₂ (Ring.toSemiring.{u1} K _inst_1) (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) (AddCommGroup.toAddCommMonoid.{u3} V₂ _inst_4) _inst_3 _inst_5 (RingHom.id.{u1} K (Semiring.toNonAssocSemiring.{u1} K (Ring.toSemiring.{u1} K _inst_1)))) (RingHomSurjective.ids.{u1} K (Ring.toSemiring.{u1} K _inst_1)) f)) (Ring.toSemiring.{u1} K _inst_1) (Submodule.addCommGroup.{u1, u3} K V₂ _inst_1 _inst_4 _inst_5 (LinearMap.range.{u1, u1, u2, u3, max u2 u3} K K V V₂ (Ring.toSemiring.{u1} K _inst_1) (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) (AddCommGroup.toAddCommMonoid.{u3} V₂ _inst_4) _inst_3 _inst_5 (RingHom.id.{u1} K (Semiring.toNonAssocSemiring.{u1} K (Ring.toSemiring.{u1} K _inst_1))) (LinearMap.{u1, u1, u2, u3} K K (Ring.toSemiring.{u1} K _inst_1) (Ring.toSemiring.{u1} K _inst_1) (RingHom.id.{u1} K (Semiring.toNonAssocSemiring.{u1} K (Ring.toSemiring.{u1} K _inst_1))) V V₂ (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) (AddCommGroup.toAddCommMonoid.{u3} V₂ _inst_4) _inst_3 _inst_5) (LinearMap.semilinearMapClass.{u1, u1, u2, u3} K K V V₂ (Ring.toSemiring.{u1} K _inst_1) (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) (AddCommGroup.toAddCommMonoid.{u3} V₂ _inst_4) _inst_3 _inst_5 (RingHom.id.{u1} K (Semiring.toNonAssocSemiring.{u1} K (Ring.toSemiring.{u1} K _inst_1)))) (RingHomSurjective.ids.{u1} K (Ring.toSemiring.{u1} K _inst_1)) f)) (Submodule.module.{u1, u3} K V₂ (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u3} V₂ _inst_4) _inst_5 (LinearMap.range.{u1, u1, u2, u3, max u2 u3} K K V V₂ (Ring.toSemiring.{u1} K _inst_1) (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) (AddCommGroup.toAddCommMonoid.{u3} V₂ _inst_4) _inst_3 _inst_5 (RingHom.id.{u1} K (Semiring.toNonAssocSemiring.{u1} K (Ring.toSemiring.{u1} K _inst_1))) (LinearMap.{u1, u1, u2, u3} K K (Ring.toSemiring.{u1} K _inst_1) (Ring.toSemiring.{u1} K _inst_1) (RingHom.id.{u1} K (Semiring.toNonAssocSemiring.{u1} K (Ring.toSemiring.{u1} K _inst_1))) V V₂ (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) (AddCommGroup.toAddCommMonoid.{u3} V₂ _inst_4) _inst_3 _inst_5) (LinearMap.semilinearMapClass.{u1, u1, u2, u3} K K V V₂ (Ring.toSemiring.{u1} K _inst_1) (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) (AddCommGroup.toAddCommMonoid.{u3} V₂ _inst_4) _inst_3 _inst_5 (RingHom.id.{u1} K (Semiring.toNonAssocSemiring.{u1} K (Ring.toSemiring.{u1} K _inst_1)))) (RingHomSurjective.ids.{u1} K (Ring.toSemiring.{u1} K _inst_1)) f))) (FiniteDimensional.finrank.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) _inst_2 _inst_3))
 but is expected to have type
-  forall {K : Type.{u1}} {V : Type.{u2}} [_inst_1 : Ring.{u1} K] [_inst_2 : AddCommGroup.{u2} V] [_inst_3 : Module.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2)] {V₂ : Type.{u3}} [_inst_4 : AddCommGroup.{u3} V₂] [_inst_5 : Module.{u1, u3} K V₂ (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u3} V₂ _inst_4)] {f : LinearMap.{u1, u1, u2, u3} K K (Ring.toSemiring.{u1} K _inst_1) (Ring.toSemiring.{u1} K _inst_1) (RingHom.id.{u1} K (NonAssocRing.toNonAssocSemiring.{u1} K (Ring.toNonAssocRing.{u1} K _inst_1))) V V₂ (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) (AddCommGroup.toAddCommMonoid.{u3} V₂ _inst_4) _inst_3 _inst_5}, (Function.Injective.{succ u2, succ u3} V V₂ (FunLike.coe.{max (succ u2) (succ u3), succ u2, succ u3} (LinearMap.{u1, u1, u2, u3} K K (Ring.toSemiring.{u1} K _inst_1) (Ring.toSemiring.{u1} K _inst_1) (RingHom.id.{u1} K (NonAssocRing.toNonAssocSemiring.{u1} K (Ring.toNonAssocRing.{u1} K _inst_1))) V V₂ (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) (AddCommGroup.toAddCommMonoid.{u3} V₂ _inst_4) _inst_3 _inst_5) V (fun (_x : V) => (fun (x._@.Mathlib.Algebra.Module.LinearMap._hyg.6190 : V) => V₂) _x) (LinearMap.instFunLikeLinearMap.{u1, u1, u2, u3} K K V V₂ (Ring.toSemiring.{u1} K _inst_1) (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) (AddCommGroup.toAddCommMonoid.{u3} V₂ _inst_4) _inst_3 _inst_5 (RingHom.id.{u1} K (NonAssocRing.toNonAssocSemiring.{u1} K (Ring.toNonAssocRing.{u1} K _inst_1)))) f)) -> (Eq.{1} Nat (FiniteDimensional.finrank.{u1, u3} K (Subtype.{succ u3} V₂ (fun (x : V₂) => Membership.mem.{u3, u3} V₂ (Submodule.{u1, u3} K V₂ (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u3} V₂ _inst_4) _inst_5) (SetLike.instMembership.{u3, u3} (Submodule.{u1, u3} K V₂ (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u3} V₂ _inst_4) _inst_5) V₂ (Submodule.setLike.{u1, u3} K V₂ (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u3} V₂ _inst_4) _inst_5)) x (LinearMap.range.{u1, u1, u2, u3, max u2 u3} K K V V₂ (Ring.toSemiring.{u1} K _inst_1) (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) (AddCommGroup.toAddCommMonoid.{u3} V₂ _inst_4) _inst_3 _inst_5 (RingHom.id.{u1} K (NonAssocRing.toNonAssocSemiring.{u1} K (Ring.toNonAssocRing.{u1} K _inst_1))) (LinearMap.{u1, u1, u2, u3} K K (Ring.toSemiring.{u1} K _inst_1) (Ring.toSemiring.{u1} K _inst_1) (RingHom.id.{u1} K (NonAssocRing.toNonAssocSemiring.{u1} K (Ring.toNonAssocRing.{u1} K _inst_1))) V V₂ (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) (AddCommGroup.toAddCommMonoid.{u3} V₂ _inst_4) _inst_3 _inst_5) (LinearMap.instSemilinearMapClassLinearMap.{u1, u1, u2, u3} K K V V₂ (Ring.toSemiring.{u1} K _inst_1) (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) (AddCommGroup.toAddCommMonoid.{u3} V₂ _inst_4) _inst_3 _inst_5 (RingHom.id.{u1} K (NonAssocRing.toNonAssocSemiring.{u1} K (Ring.toNonAssocRing.{u1} K _inst_1)))) (RingHomSurjective.ids.{u1} K (Ring.toSemiring.{u1} K _inst_1)) f))) (Ring.toSemiring.{u1} K _inst_1) (Submodule.addCommGroup.{u1, u3} K V₂ _inst_1 _inst_4 _inst_5 (LinearMap.range.{u1, u1, u2, u3, max u2 u3} K K V V₂ (Ring.toSemiring.{u1} K _inst_1) (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) (AddCommGroup.toAddCommMonoid.{u3} V₂ _inst_4) _inst_3 _inst_5 (RingHom.id.{u1} K (NonAssocRing.toNonAssocSemiring.{u1} K (Ring.toNonAssocRing.{u1} K _inst_1))) (LinearMap.{u1, u1, u2, u3} K K (Ring.toSemiring.{u1} K _inst_1) (Ring.toSemiring.{u1} K _inst_1) (RingHom.id.{u1} K (NonAssocRing.toNonAssocSemiring.{u1} K (Ring.toNonAssocRing.{u1} K _inst_1))) V V₂ (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) (AddCommGroup.toAddCommMonoid.{u3} V₂ _inst_4) _inst_3 _inst_5) (LinearMap.instSemilinearMapClassLinearMap.{u1, u1, u2, u3} K K V V₂ (Ring.toSemiring.{u1} K _inst_1) (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) (AddCommGroup.toAddCommMonoid.{u3} V₂ _inst_4) _inst_3 _inst_5 (RingHom.id.{u1} K (NonAssocRing.toNonAssocSemiring.{u1} K (Ring.toNonAssocRing.{u1} K _inst_1)))) (RingHomSurjective.ids.{u1} K (Ring.toSemiring.{u1} K _inst_1)) f)) (Submodule.module.{u1, u3} K V₂ (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u3} V₂ _inst_4) _inst_5 (LinearMap.range.{u1, u1, u2, u3, max u2 u3} K K V V₂ (Ring.toSemiring.{u1} K _inst_1) (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) (AddCommGroup.toAddCommMonoid.{u3} V₂ _inst_4) _inst_3 _inst_5 (RingHom.id.{u1} K (NonAssocRing.toNonAssocSemiring.{u1} K (Ring.toNonAssocRing.{u1} K _inst_1))) (LinearMap.{u1, u1, u2, u3} K K (Ring.toSemiring.{u1} K _inst_1) (Ring.toSemiring.{u1} K _inst_1) (RingHom.id.{u1} K (NonAssocRing.toNonAssocSemiring.{u1} K (Ring.toNonAssocRing.{u1} K _inst_1))) V V₂ (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) (AddCommGroup.toAddCommMonoid.{u3} V₂ _inst_4) _inst_3 _inst_5) (LinearMap.instSemilinearMapClassLinearMap.{u1, u1, u2, u3} K K V V₂ (Ring.toSemiring.{u1} K _inst_1) (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) (AddCommGroup.toAddCommMonoid.{u3} V₂ _inst_4) _inst_3 _inst_5 (RingHom.id.{u1} K (NonAssocRing.toNonAssocSemiring.{u1} K (Ring.toNonAssocRing.{u1} K _inst_1)))) (RingHomSurjective.ids.{u1} K (Ring.toSemiring.{u1} K _inst_1)) f))) (FiniteDimensional.finrank.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) _inst_2 _inst_3))
+  forall {K : Type.{u1}} {V : Type.{u2}} [_inst_1 : Ring.{u1} K] [_inst_2 : AddCommGroup.{u2} V] [_inst_3 : Module.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2)] {V₂ : Type.{u3}} [_inst_4 : AddCommGroup.{u3} V₂] [_inst_5 : Module.{u1, u3} K V₂ (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u3} V₂ _inst_4)] {f : LinearMap.{u1, u1, u2, u3} K K (Ring.toSemiring.{u1} K _inst_1) (Ring.toSemiring.{u1} K _inst_1) (RingHom.id.{u1} K (Semiring.toNonAssocSemiring.{u1} K (Ring.toSemiring.{u1} K _inst_1))) V V₂ (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) (AddCommGroup.toAddCommMonoid.{u3} V₂ _inst_4) _inst_3 _inst_5}, (Function.Injective.{succ u2, succ u3} V V₂ (FunLike.coe.{max (succ u2) (succ u3), succ u2, succ u3} (LinearMap.{u1, u1, u2, u3} K K (Ring.toSemiring.{u1} K _inst_1) (Ring.toSemiring.{u1} K _inst_1) (RingHom.id.{u1} K (Semiring.toNonAssocSemiring.{u1} K (Ring.toSemiring.{u1} K _inst_1))) V V₂ (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) (AddCommGroup.toAddCommMonoid.{u3} V₂ _inst_4) _inst_3 _inst_5) V (fun (_x : V) => (fun (x._@.Mathlib.Algebra.Module.LinearMap._hyg.6190 : V) => V₂) _x) (LinearMap.instFunLikeLinearMap.{u1, u1, u2, u3} K K V V₂ (Ring.toSemiring.{u1} K _inst_1) (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) (AddCommGroup.toAddCommMonoid.{u3} V₂ _inst_4) _inst_3 _inst_5 (RingHom.id.{u1} K (Semiring.toNonAssocSemiring.{u1} K (Ring.toSemiring.{u1} K _inst_1)))) f)) -> (Eq.{1} Nat (FiniteDimensional.finrank.{u1, u3} K (Subtype.{succ u3} V₂ (fun (x : V₂) => Membership.mem.{u3, u3} V₂ (Submodule.{u1, u3} K V₂ (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u3} V₂ _inst_4) _inst_5) (SetLike.instMembership.{u3, u3} (Submodule.{u1, u3} K V₂ (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u3} V₂ _inst_4) _inst_5) V₂ (Submodule.setLike.{u1, u3} K V₂ (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u3} V₂ _inst_4) _inst_5)) x (LinearMap.range.{u1, u1, u2, u3, max u2 u3} K K V V₂ (Ring.toSemiring.{u1} K _inst_1) (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) (AddCommGroup.toAddCommMonoid.{u3} V₂ _inst_4) _inst_3 _inst_5 (RingHom.id.{u1} K (Semiring.toNonAssocSemiring.{u1} K (Ring.toSemiring.{u1} K _inst_1))) (LinearMap.{u1, u1, u2, u3} K K (Ring.toSemiring.{u1} K _inst_1) (Ring.toSemiring.{u1} K _inst_1) (RingHom.id.{u1} K (Semiring.toNonAssocSemiring.{u1} K (Ring.toSemiring.{u1} K _inst_1))) V V₂ (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) (AddCommGroup.toAddCommMonoid.{u3} V₂ _inst_4) _inst_3 _inst_5) (LinearMap.instSemilinearMapClassLinearMap.{u1, u1, u2, u3} K K V V₂ (Ring.toSemiring.{u1} K _inst_1) (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) (AddCommGroup.toAddCommMonoid.{u3} V₂ _inst_4) _inst_3 _inst_5 (RingHom.id.{u1} K (Semiring.toNonAssocSemiring.{u1} K (Ring.toSemiring.{u1} K _inst_1)))) (RingHomSurjective.ids.{u1} K (Ring.toSemiring.{u1} K _inst_1)) f))) (Ring.toSemiring.{u1} K _inst_1) (Submodule.addCommGroup.{u1, u3} K V₂ _inst_1 _inst_4 _inst_5 (LinearMap.range.{u1, u1, u2, u3, max u2 u3} K K V V₂ (Ring.toSemiring.{u1} K _inst_1) (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) (AddCommGroup.toAddCommMonoid.{u3} V₂ _inst_4) _inst_3 _inst_5 (RingHom.id.{u1} K (Semiring.toNonAssocSemiring.{u1} K (Ring.toSemiring.{u1} K _inst_1))) (LinearMap.{u1, u1, u2, u3} K K (Ring.toSemiring.{u1} K _inst_1) (Ring.toSemiring.{u1} K _inst_1) (RingHom.id.{u1} K (Semiring.toNonAssocSemiring.{u1} K (Ring.toSemiring.{u1} K _inst_1))) V V₂ (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) (AddCommGroup.toAddCommMonoid.{u3} V₂ _inst_4) _inst_3 _inst_5) (LinearMap.instSemilinearMapClassLinearMap.{u1, u1, u2, u3} K K V V₂ (Ring.toSemiring.{u1} K _inst_1) (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) (AddCommGroup.toAddCommMonoid.{u3} V₂ _inst_4) _inst_3 _inst_5 (RingHom.id.{u1} K (Semiring.toNonAssocSemiring.{u1} K (Ring.toSemiring.{u1} K _inst_1)))) (RingHomSurjective.ids.{u1} K (Ring.toSemiring.{u1} K _inst_1)) f)) (Submodule.module.{u1, u3} K V₂ (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u3} V₂ _inst_4) _inst_5 (LinearMap.range.{u1, u1, u2, u3, max u2 u3} K K V V₂ (Ring.toSemiring.{u1} K _inst_1) (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) (AddCommGroup.toAddCommMonoid.{u3} V₂ _inst_4) _inst_3 _inst_5 (RingHom.id.{u1} K (Semiring.toNonAssocSemiring.{u1} K (Ring.toSemiring.{u1} K _inst_1))) (LinearMap.{u1, u1, u2, u3} K K (Ring.toSemiring.{u1} K _inst_1) (Ring.toSemiring.{u1} K _inst_1) (RingHom.id.{u1} K (Semiring.toNonAssocSemiring.{u1} K (Ring.toSemiring.{u1} K _inst_1))) V V₂ (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) (AddCommGroup.toAddCommMonoid.{u3} V₂ _inst_4) _inst_3 _inst_5) (LinearMap.instSemilinearMapClassLinearMap.{u1, u1, u2, u3} K K V V₂ (Ring.toSemiring.{u1} K _inst_1) (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) (AddCommGroup.toAddCommMonoid.{u3} V₂ _inst_4) _inst_3 _inst_5 (RingHom.id.{u1} K (Semiring.toNonAssocSemiring.{u1} K (Ring.toSemiring.{u1} K _inst_1)))) (RingHomSurjective.ids.{u1} K (Ring.toSemiring.{u1} K _inst_1)) f))) (FiniteDimensional.finrank.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) _inst_2 _inst_3))
 Case conversion may be inaccurate. Consider using '#align linear_map.finrank_range_of_inj LinearMap.finrank_range_of_injₓ'. -/
 /-- The dimensions of the domain and range of an injective linear map are equal. -/
 theorem finrank_range_of_inj {f : V →ₗ[K] V₂} (hf : Function.Injective f) :
@@ -755,7 +755,7 @@ variable {F E : Type _} [CommRing F] [Ring E] [Algebra F E]
 lean 3 declaration is
   forall {F : Type.{u1}} {E : Type.{u2}} [_inst_1 : CommRing.{u1} F] [_inst_2 : Ring.{u2} E] [_inst_3 : Algebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2)] (S : Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3), Eq.{succ (succ u2)} Cardinal.{u2} (Module.rank.{u1, u2} F (coeSort.{succ u2, succ (succ u2)} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) Type.{u2} (SetLike.hasCoeToSort.{u2, u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) E (Submodule.setLike.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3))) (coeFn.{succ u2, succ u2} (OrderEmbedding.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (Preorder.toLE.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (PartialOrder.toPreorder.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (SetLike.partialOrder.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) E (Subalgebra.setLike.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)))) (Preorder.toLE.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (PartialOrder.toPreorder.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (CompleteSemilatticeInf.toPartialOrder.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (CompleteLattice.toCompleteSemilatticeInf.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (Submodule.completeLattice.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3))))))) (fun (_x : RelEmbedding.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (LE.le.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (Preorder.toLE.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (PartialOrder.toPreorder.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (SetLike.partialOrder.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) E (Subalgebra.setLike.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3))))) (LE.le.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (Preorder.toLE.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (PartialOrder.toPreorder.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (CompleteSemilatticeInf.toPartialOrder.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (CompleteLattice.toCompleteSemilatticeInf.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (Submodule.completeLattice.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)))))))) => (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) -> (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3))) (RelEmbedding.hasCoeToFun.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (LE.le.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (Preorder.toLE.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (PartialOrder.toPreorder.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (SetLike.partialOrder.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) E (Subalgebra.setLike.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3))))) (LE.le.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (Preorder.toLE.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (PartialOrder.toPreorder.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (CompleteSemilatticeInf.toPartialOrder.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (CompleteLattice.toCompleteSemilatticeInf.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (Submodule.completeLattice.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)))))))) (Subalgebra.toSubmodule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) S)) (Ring.toSemiring.{u1} F (CommRing.toRing.{u1} F _inst_1)) (Submodule.addCommMonoid.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (coeFn.{succ u2, succ u2} (OrderEmbedding.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (Preorder.toLE.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (PartialOrder.toPreorder.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (SetLike.partialOrder.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) E (Subalgebra.setLike.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)))) (Preorder.toLE.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (PartialOrder.toPreorder.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (CompleteSemilatticeInf.toPartialOrder.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (CompleteLattice.toCompleteSemilatticeInf.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (Submodule.completeLattice.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3))))))) (fun (_x : RelEmbedding.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (LE.le.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (Preorder.toLE.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (PartialOrder.toPreorder.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (SetLike.partialOrder.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) E (Subalgebra.setLike.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3))))) (LE.le.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (Preorder.toLE.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (PartialOrder.toPreorder.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (CompleteSemilatticeInf.toPartialOrder.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (CompleteLattice.toCompleteSemilatticeInf.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (Submodule.completeLattice.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)))))))) => (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) -> (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3))) (RelEmbedding.hasCoeToFun.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (LE.le.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (Preorder.toLE.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (PartialOrder.toPreorder.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (SetLike.partialOrder.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) E (Subalgebra.setLike.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3))))) (LE.le.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (Preorder.toLE.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (PartialOrder.toPreorder.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (CompleteSemilatticeInf.toPartialOrder.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (CompleteLattice.toCompleteSemilatticeInf.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (Submodule.completeLattice.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)))))))) (Subalgebra.toSubmodule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) S)) (Submodule.module.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (coeFn.{succ u2, succ u2} (OrderEmbedding.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (Preorder.toLE.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (PartialOrder.toPreorder.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (SetLike.partialOrder.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) E (Subalgebra.setLike.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)))) (Preorder.toLE.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (PartialOrder.toPreorder.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (CompleteSemilatticeInf.toPartialOrder.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (CompleteLattice.toCompleteSemilatticeInf.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (Submodule.completeLattice.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3))))))) (fun (_x : RelEmbedding.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (LE.le.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (Preorder.toLE.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (PartialOrder.toPreorder.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (SetLike.partialOrder.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) E (Subalgebra.setLike.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3))))) (LE.le.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (Preorder.toLE.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (PartialOrder.toPreorder.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (CompleteSemilatticeInf.toPartialOrder.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (CompleteLattice.toCompleteSemilatticeInf.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (Submodule.completeLattice.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)))))))) => (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) -> (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3))) (RelEmbedding.hasCoeToFun.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (LE.le.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (Preorder.toLE.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (PartialOrder.toPreorder.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (SetLike.partialOrder.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) E (Subalgebra.setLike.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3))))) (LE.le.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (Preorder.toLE.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (PartialOrder.toPreorder.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (CompleteSemilatticeInf.toPartialOrder.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (CompleteLattice.toCompleteSemilatticeInf.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (Submodule.completeLattice.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)))))))) (Subalgebra.toSubmodule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) S))) (Module.rank.{u1, u2} F (coeSort.{succ u2, succ (succ u2)} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) Type.{u2} (SetLike.hasCoeToSort.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) E (Subalgebra.setLike.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) S) (Ring.toSemiring.{u1} F (CommRing.toRing.{u1} F _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} (coeSort.{succ u2, succ (succ u2)} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) Type.{u2} (SetLike.hasCoeToSort.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) E (Subalgebra.setLike.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) S) (NonUnitalNonAssocRing.toAddCommGroup.{u2} (coeSort.{succ u2, succ (succ u2)} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) Type.{u2} (SetLike.hasCoeToSort.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) E (Subalgebra.setLike.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) S) (NonAssocRing.toNonUnitalNonAssocRing.{u2} (coeSort.{succ u2, succ (succ u2)} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) Type.{u2} (SetLike.hasCoeToSort.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) E (Subalgebra.setLike.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) S) (Ring.toNonAssocRing.{u2} (coeSort.{succ u2, succ (succ u2)} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) Type.{u2} (SetLike.hasCoeToSort.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) E (Subalgebra.setLike.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) S) (Subalgebra.toRing.{u1, u2} F E _inst_1 _inst_2 _inst_3 S))))) (Subalgebra.module.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3 S))
 but is expected to have type
-  forall {F : Type.{u2}} {E : Type.{u1}} [_inst_1 : CommRing.{u2} F] [_inst_2 : Ring.{u1} E] [_inst_3 : Algebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2)] (S : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3), Eq.{succ (succ u1)} Cardinal.{u1} (Module.rank.{u2, u1} F (Subtype.{succ u1} E (fun (x : E) => Membership.mem.{u1, u1} E ((fun (x._@.Mathlib.Order.RelIso.Basic._hyg.867 : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) => Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) S) (SetLike.instMembership.{u1, u1} ((fun (x._@.Mathlib.Order.RelIso.Basic._hyg.867 : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) => Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) S) E (Submodule.setLike.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3))) x (FunLike.coe.{succ u1, succ u1, succ u1} (OrderEmbedding.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Preorder.toLE.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (PartialOrder.toPreorder.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (SetLike.instPartialOrder.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) E (Subalgebra.instSetLikeSubalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)))) (Preorder.toLE.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (PartialOrder.toPreorder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (OmegaCompletePartialOrder.toPartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (CompleteLattice.instOmegaCompletePartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Submodule.completeLattice.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3))))))) (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (fun (a : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) => (fun (x._@.Mathlib.Order.RelIso.Basic._hyg.867 : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) => Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) a) (RelHomClass.toFunLike.{u1, u1, u1} (OrderEmbedding.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Preorder.toLE.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (PartialOrder.toPreorder.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (SetLike.instPartialOrder.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) E (Subalgebra.instSetLikeSubalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)))) (Preorder.toLE.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (PartialOrder.toPreorder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (OmegaCompletePartialOrder.toPartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (CompleteLattice.instOmegaCompletePartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Submodule.completeLattice.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3))))))) (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.680 : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (x._@.Mathlib.Order.Hom.Basic._hyg.682 : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) => LE.le.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Preorder.toLE.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (PartialOrder.toPreorder.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (SetLike.instPartialOrder.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) E (Subalgebra.instSetLikeSubalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)))) x._@.Mathlib.Order.Hom.Basic._hyg.680 x._@.Mathlib.Order.Hom.Basic._hyg.682) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.695 : Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (x._@.Mathlib.Order.Hom.Basic._hyg.697 : Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) => LE.le.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Preorder.toLE.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (PartialOrder.toPreorder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (OmegaCompletePartialOrder.toPartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (CompleteLattice.instOmegaCompletePartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Submodule.completeLattice.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)))))) x._@.Mathlib.Order.Hom.Basic._hyg.695 x._@.Mathlib.Order.Hom.Basic._hyg.697) (RelEmbedding.instRelHomClassRelEmbedding.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.680 : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (x._@.Mathlib.Order.Hom.Basic._hyg.682 : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) => LE.le.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Preorder.toLE.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (PartialOrder.toPreorder.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (SetLike.instPartialOrder.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) E (Subalgebra.instSetLikeSubalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)))) x._@.Mathlib.Order.Hom.Basic._hyg.680 x._@.Mathlib.Order.Hom.Basic._hyg.682) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.695 : Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (x._@.Mathlib.Order.Hom.Basic._hyg.697 : Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) => LE.le.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Preorder.toLE.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (PartialOrder.toPreorder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (OmegaCompletePartialOrder.toPartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (CompleteLattice.instOmegaCompletePartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Submodule.completeLattice.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)))))) x._@.Mathlib.Order.Hom.Basic._hyg.695 x._@.Mathlib.Order.Hom.Basic._hyg.697))) (Subalgebra.toSubmodule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) S))) (Ring.toSemiring.{u2} F (CommRing.toRing.{u2} F _inst_1)) (Submodule.addCommMonoid.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (FunLike.coe.{succ u1, succ u1, succ u1} (OrderEmbedding.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Preorder.toLE.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (PartialOrder.toPreorder.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (SetLike.instPartialOrder.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) E (Subalgebra.instSetLikeSubalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)))) (Preorder.toLE.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (PartialOrder.toPreorder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (OmegaCompletePartialOrder.toPartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (CompleteLattice.instOmegaCompletePartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Submodule.completeLattice.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3))))))) (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (fun (_x : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) => (fun (x._@.Mathlib.Order.RelIso.Basic._hyg.867 : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) => Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) _x) (RelHomClass.toFunLike.{u1, u1, u1} (OrderEmbedding.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Preorder.toLE.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (PartialOrder.toPreorder.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (SetLike.instPartialOrder.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) E (Subalgebra.instSetLikeSubalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)))) (Preorder.toLE.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (PartialOrder.toPreorder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (OmegaCompletePartialOrder.toPartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (CompleteLattice.instOmegaCompletePartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Submodule.completeLattice.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3))))))) (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.680 : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (x._@.Mathlib.Order.Hom.Basic._hyg.682 : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) => LE.le.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Preorder.toLE.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (PartialOrder.toPreorder.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (SetLike.instPartialOrder.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) E (Subalgebra.instSetLikeSubalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)))) x._@.Mathlib.Order.Hom.Basic._hyg.680 x._@.Mathlib.Order.Hom.Basic._hyg.682) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.695 : Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (x._@.Mathlib.Order.Hom.Basic._hyg.697 : Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) => LE.le.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Preorder.toLE.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (PartialOrder.toPreorder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (OmegaCompletePartialOrder.toPartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (CompleteLattice.instOmegaCompletePartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Submodule.completeLattice.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)))))) x._@.Mathlib.Order.Hom.Basic._hyg.695 x._@.Mathlib.Order.Hom.Basic._hyg.697) (RelEmbedding.instRelHomClassRelEmbedding.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.680 : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (x._@.Mathlib.Order.Hom.Basic._hyg.682 : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) => LE.le.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Preorder.toLE.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (PartialOrder.toPreorder.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (SetLike.instPartialOrder.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) E (Subalgebra.instSetLikeSubalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)))) x._@.Mathlib.Order.Hom.Basic._hyg.680 x._@.Mathlib.Order.Hom.Basic._hyg.682) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.695 : Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (x._@.Mathlib.Order.Hom.Basic._hyg.697 : Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) => LE.le.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Preorder.toLE.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (PartialOrder.toPreorder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (OmegaCompletePartialOrder.toPartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (CompleteLattice.instOmegaCompletePartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Submodule.completeLattice.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)))))) x._@.Mathlib.Order.Hom.Basic._hyg.695 x._@.Mathlib.Order.Hom.Basic._hyg.697))) (Subalgebra.toSubmodule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) S)) (Submodule.module.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (FunLike.coe.{succ u1, succ u1, succ u1} (OrderEmbedding.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Preorder.toLE.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (PartialOrder.toPreorder.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (SetLike.instPartialOrder.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) E (Subalgebra.instSetLikeSubalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)))) (Preorder.toLE.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (PartialOrder.toPreorder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (OmegaCompletePartialOrder.toPartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (CompleteLattice.instOmegaCompletePartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Submodule.completeLattice.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3))))))) (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (fun (_x : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) => (fun (x._@.Mathlib.Order.RelIso.Basic._hyg.867 : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) => Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) _x) (RelHomClass.toFunLike.{u1, u1, u1} (OrderEmbedding.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Preorder.toLE.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (PartialOrder.toPreorder.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (SetLike.instPartialOrder.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) E (Subalgebra.instSetLikeSubalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)))) (Preorder.toLE.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (PartialOrder.toPreorder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (OmegaCompletePartialOrder.toPartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (CompleteLattice.instOmegaCompletePartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Submodule.completeLattice.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3))))))) (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.680 : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (x._@.Mathlib.Order.Hom.Basic._hyg.682 : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) => LE.le.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Preorder.toLE.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (PartialOrder.toPreorder.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (SetLike.instPartialOrder.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) E (Subalgebra.instSetLikeSubalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)))) x._@.Mathlib.Order.Hom.Basic._hyg.680 x._@.Mathlib.Order.Hom.Basic._hyg.682) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.695 : Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (x._@.Mathlib.Order.Hom.Basic._hyg.697 : Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) => LE.le.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Preorder.toLE.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (PartialOrder.toPreorder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (OmegaCompletePartialOrder.toPartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (CompleteLattice.instOmegaCompletePartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Submodule.completeLattice.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)))))) x._@.Mathlib.Order.Hom.Basic._hyg.695 x._@.Mathlib.Order.Hom.Basic._hyg.697) (RelEmbedding.instRelHomClassRelEmbedding.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.680 : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (x._@.Mathlib.Order.Hom.Basic._hyg.682 : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) => LE.le.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Preorder.toLE.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (PartialOrder.toPreorder.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (SetLike.instPartialOrder.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) E (Subalgebra.instSetLikeSubalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)))) x._@.Mathlib.Order.Hom.Basic._hyg.680 x._@.Mathlib.Order.Hom.Basic._hyg.682) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.695 : Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (x._@.Mathlib.Order.Hom.Basic._hyg.697 : Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) => LE.le.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Preorder.toLE.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (PartialOrder.toPreorder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (OmegaCompletePartialOrder.toPartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (CompleteLattice.instOmegaCompletePartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Submodule.completeLattice.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)))))) x._@.Mathlib.Order.Hom.Basic._hyg.695 x._@.Mathlib.Order.Hom.Basic._hyg.697))) (Subalgebra.toSubmodule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) S))) (Module.rank.{u2, u1} F (Subtype.{succ u1} E (fun (x : E) => Membership.mem.{u1, u1} E (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (SetLike.instMembership.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) E (Subalgebra.instSetLikeSubalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) x S)) (Ring.toSemiring.{u2} F (CommRing.toRing.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} (Subtype.{succ u1} E (fun (x : E) => Membership.mem.{u1, u1} E (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (SetLike.instMembership.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) E (Subalgebra.instSetLikeSubalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) x S)) (NonUnitalNonAssocRing.toNonUnitalNonAssocSemiring.{u1} (Subtype.{succ u1} E (fun (x : E) => Membership.mem.{u1, u1} E (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (SetLike.instMembership.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) E (Subalgebra.instSetLikeSubalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) x S)) (NonAssocRing.toNonUnitalNonAssocRing.{u1} (Subtype.{succ u1} E (fun (x : E) => Membership.mem.{u1, u1} E (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (SetLike.instMembership.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) E (Subalgebra.instSetLikeSubalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) x S)) (Ring.toNonAssocRing.{u1} (Subtype.{succ u1} E (fun (x : E) => Membership.mem.{u1, u1} E (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (SetLike.instMembership.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) E (Subalgebra.instSetLikeSubalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) x S)) (Subalgebra.toRing.{u2, u1} F E _inst_1 _inst_2 _inst_3 S))))) (Subalgebra.instModuleSubtypeMemSubalgebraInstMembershipInstSetLikeSubalgebraToSemiringToAddCommMonoidToNonUnitalNonAssocSemiringToNonAssocSemiringToNonAssocSemiringToSubsemiring.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3 S))
+  forall {F : Type.{u2}} {E : Type.{u1}} [_inst_1 : CommRing.{u2} F] [_inst_2 : Ring.{u1} E] [_inst_3 : Algebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2)] (S : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3), Eq.{succ (succ u1)} Cardinal.{u1} (Module.rank.{u2, u1} F (Subtype.{succ u1} E (fun (x : E) => Membership.mem.{u1, u1} E ((fun (x._@.Mathlib.Order.RelIso.Basic._hyg.867 : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) => Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) S) (SetLike.instMembership.{u1, u1} ((fun (x._@.Mathlib.Order.RelIso.Basic._hyg.867 : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) => Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) S) E (Submodule.setLike.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3))) x (FunLike.coe.{succ u1, succ u1, succ u1} (OrderEmbedding.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Preorder.toLE.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (PartialOrder.toPreorder.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (SetLike.instPartialOrder.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) E (Subalgebra.instSetLikeSubalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)))) (Preorder.toLE.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (PartialOrder.toPreorder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (OmegaCompletePartialOrder.toPartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (CompleteLattice.instOmegaCompletePartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Submodule.completeLattice.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3))))))) (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (fun (a : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) => (fun (x._@.Mathlib.Order.RelIso.Basic._hyg.867 : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) => Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) a) (RelHomClass.toFunLike.{u1, u1, u1} (OrderEmbedding.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Preorder.toLE.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (PartialOrder.toPreorder.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (SetLike.instPartialOrder.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) E (Subalgebra.instSetLikeSubalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)))) (Preorder.toLE.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (PartialOrder.toPreorder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (OmegaCompletePartialOrder.toPartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (CompleteLattice.instOmegaCompletePartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Submodule.completeLattice.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3))))))) (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.680 : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (x._@.Mathlib.Order.Hom.Basic._hyg.682 : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) => LE.le.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Preorder.toLE.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (PartialOrder.toPreorder.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (SetLike.instPartialOrder.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) E (Subalgebra.instSetLikeSubalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)))) x._@.Mathlib.Order.Hom.Basic._hyg.680 x._@.Mathlib.Order.Hom.Basic._hyg.682) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.695 : Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (x._@.Mathlib.Order.Hom.Basic._hyg.697 : Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) => LE.le.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Preorder.toLE.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (PartialOrder.toPreorder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (OmegaCompletePartialOrder.toPartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (CompleteLattice.instOmegaCompletePartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Submodule.completeLattice.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)))))) x._@.Mathlib.Order.Hom.Basic._hyg.695 x._@.Mathlib.Order.Hom.Basic._hyg.697) (RelEmbedding.instRelHomClassRelEmbedding.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.680 : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (x._@.Mathlib.Order.Hom.Basic._hyg.682 : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) => LE.le.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Preorder.toLE.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (PartialOrder.toPreorder.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (SetLike.instPartialOrder.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) E (Subalgebra.instSetLikeSubalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)))) x._@.Mathlib.Order.Hom.Basic._hyg.680 x._@.Mathlib.Order.Hom.Basic._hyg.682) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.695 : Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (x._@.Mathlib.Order.Hom.Basic._hyg.697 : Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) => LE.le.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Preorder.toLE.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (PartialOrder.toPreorder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (OmegaCompletePartialOrder.toPartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (CompleteLattice.instOmegaCompletePartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Submodule.completeLattice.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)))))) x._@.Mathlib.Order.Hom.Basic._hyg.695 x._@.Mathlib.Order.Hom.Basic._hyg.697))) (Subalgebra.toSubmodule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) S))) (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (Submodule.addCommMonoid.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (FunLike.coe.{succ u1, succ u1, succ u1} (OrderEmbedding.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Preorder.toLE.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (PartialOrder.toPreorder.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (SetLike.instPartialOrder.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) E (Subalgebra.instSetLikeSubalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)))) (Preorder.toLE.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (PartialOrder.toPreorder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (OmegaCompletePartialOrder.toPartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (CompleteLattice.instOmegaCompletePartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Submodule.completeLattice.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3))))))) (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (fun (_x : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) => (fun (x._@.Mathlib.Order.RelIso.Basic._hyg.867 : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) => Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) _x) (RelHomClass.toFunLike.{u1, u1, u1} (OrderEmbedding.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Preorder.toLE.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (PartialOrder.toPreorder.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (SetLike.instPartialOrder.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) E (Subalgebra.instSetLikeSubalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)))) (Preorder.toLE.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (PartialOrder.toPreorder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (OmegaCompletePartialOrder.toPartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (CompleteLattice.instOmegaCompletePartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Submodule.completeLattice.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3))))))) (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.680 : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (x._@.Mathlib.Order.Hom.Basic._hyg.682 : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) => LE.le.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Preorder.toLE.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (PartialOrder.toPreorder.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (SetLike.instPartialOrder.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) E (Subalgebra.instSetLikeSubalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)))) x._@.Mathlib.Order.Hom.Basic._hyg.680 x._@.Mathlib.Order.Hom.Basic._hyg.682) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.695 : Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (x._@.Mathlib.Order.Hom.Basic._hyg.697 : Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) => LE.le.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Preorder.toLE.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (PartialOrder.toPreorder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (OmegaCompletePartialOrder.toPartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (CompleteLattice.instOmegaCompletePartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Submodule.completeLattice.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)))))) x._@.Mathlib.Order.Hom.Basic._hyg.695 x._@.Mathlib.Order.Hom.Basic._hyg.697) (RelEmbedding.instRelHomClassRelEmbedding.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.680 : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (x._@.Mathlib.Order.Hom.Basic._hyg.682 : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) => LE.le.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Preorder.toLE.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (PartialOrder.toPreorder.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (SetLike.instPartialOrder.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) E (Subalgebra.instSetLikeSubalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)))) x._@.Mathlib.Order.Hom.Basic._hyg.680 x._@.Mathlib.Order.Hom.Basic._hyg.682) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.695 : Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (x._@.Mathlib.Order.Hom.Basic._hyg.697 : Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) => LE.le.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Preorder.toLE.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (PartialOrder.toPreorder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (OmegaCompletePartialOrder.toPartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (CompleteLattice.instOmegaCompletePartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Submodule.completeLattice.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)))))) x._@.Mathlib.Order.Hom.Basic._hyg.695 x._@.Mathlib.Order.Hom.Basic._hyg.697))) (Subalgebra.toSubmodule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) S)) (Submodule.module.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (FunLike.coe.{succ u1, succ u1, succ u1} (OrderEmbedding.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Preorder.toLE.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (PartialOrder.toPreorder.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (SetLike.instPartialOrder.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) E (Subalgebra.instSetLikeSubalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)))) (Preorder.toLE.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (PartialOrder.toPreorder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (OmegaCompletePartialOrder.toPartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (CompleteLattice.instOmegaCompletePartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Submodule.completeLattice.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3))))))) (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (fun (_x : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) => (fun (x._@.Mathlib.Order.RelIso.Basic._hyg.867 : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) => Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) _x) (RelHomClass.toFunLike.{u1, u1, u1} (OrderEmbedding.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Preorder.toLE.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (PartialOrder.toPreorder.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (SetLike.instPartialOrder.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) E (Subalgebra.instSetLikeSubalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)))) (Preorder.toLE.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (PartialOrder.toPreorder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (OmegaCompletePartialOrder.toPartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (CompleteLattice.instOmegaCompletePartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Submodule.completeLattice.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3))))))) (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.680 : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (x._@.Mathlib.Order.Hom.Basic._hyg.682 : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) => LE.le.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Preorder.toLE.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (PartialOrder.toPreorder.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (SetLike.instPartialOrder.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) E (Subalgebra.instSetLikeSubalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)))) x._@.Mathlib.Order.Hom.Basic._hyg.680 x._@.Mathlib.Order.Hom.Basic._hyg.682) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.695 : Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (x._@.Mathlib.Order.Hom.Basic._hyg.697 : Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) => LE.le.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Preorder.toLE.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (PartialOrder.toPreorder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (OmegaCompletePartialOrder.toPartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (CompleteLattice.instOmegaCompletePartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Submodule.completeLattice.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)))))) x._@.Mathlib.Order.Hom.Basic._hyg.695 x._@.Mathlib.Order.Hom.Basic._hyg.697) (RelEmbedding.instRelHomClassRelEmbedding.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.680 : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (x._@.Mathlib.Order.Hom.Basic._hyg.682 : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) => LE.le.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Preorder.toLE.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (PartialOrder.toPreorder.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (SetLike.instPartialOrder.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) E (Subalgebra.instSetLikeSubalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)))) x._@.Mathlib.Order.Hom.Basic._hyg.680 x._@.Mathlib.Order.Hom.Basic._hyg.682) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.695 : Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (x._@.Mathlib.Order.Hom.Basic._hyg.697 : Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) => LE.le.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Preorder.toLE.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (PartialOrder.toPreorder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (OmegaCompletePartialOrder.toPartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (CompleteLattice.instOmegaCompletePartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Submodule.completeLattice.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)))))) x._@.Mathlib.Order.Hom.Basic._hyg.695 x._@.Mathlib.Order.Hom.Basic._hyg.697))) (Subalgebra.toSubmodule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) S))) (Module.rank.{u2, u1} F (Subtype.{succ u1} E (fun (x : E) => Membership.mem.{u1, u1} E (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (SetLike.instMembership.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) E (Subalgebra.instSetLikeSubalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) x S)) (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} (Subtype.{succ u1} E (fun (x : E) => Membership.mem.{u1, u1} E (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (SetLike.instMembership.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) E (Subalgebra.instSetLikeSubalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) x S)) (NonUnitalNonAssocRing.toNonUnitalNonAssocSemiring.{u1} (Subtype.{succ u1} E (fun (x : E) => Membership.mem.{u1, u1} E (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (SetLike.instMembership.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) E (Subalgebra.instSetLikeSubalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) x S)) (NonAssocRing.toNonUnitalNonAssocRing.{u1} (Subtype.{succ u1} E (fun (x : E) => Membership.mem.{u1, u1} E (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (SetLike.instMembership.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) E (Subalgebra.instSetLikeSubalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) x S)) (Ring.toNonAssocRing.{u1} (Subtype.{succ u1} E (fun (x : E) => Membership.mem.{u1, u1} E (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (SetLike.instMembership.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) E (Subalgebra.instSetLikeSubalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) x S)) (Subalgebra.toRing.{u2, u1} F E _inst_1 _inst_2 _inst_3 S))))) (Subalgebra.instModuleSubtypeMemSubalgebraInstMembershipInstSetLikeSubalgebraToSemiringToAddCommMonoidToNonUnitalNonAssocSemiringToNonAssocSemiringToNonAssocSemiringToSubsemiring.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3 S))
 Case conversion may be inaccurate. Consider using '#align subalgebra.rank_to_submodule Subalgebra.rank_toSubmoduleₓ'. -/
 @[simp]
 theorem Subalgebra.rank_toSubmodule (S : Subalgebra F E) :
@@ -767,7 +767,7 @@ theorem Subalgebra.rank_toSubmodule (S : Subalgebra F E) :
 lean 3 declaration is
   forall {F : Type.{u1}} {E : Type.{u2}} [_inst_1 : CommRing.{u1} F] [_inst_2 : Ring.{u2} E] [_inst_3 : Algebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2)] (S : Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3), Eq.{1} Nat (FiniteDimensional.finrank.{u1, u2} F (coeSort.{succ u2, succ (succ u2)} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) Type.{u2} (SetLike.hasCoeToSort.{u2, u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) E (Submodule.setLike.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3))) (coeFn.{succ u2, succ u2} (OrderEmbedding.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (Preorder.toLE.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (PartialOrder.toPreorder.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (SetLike.partialOrder.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) E (Subalgebra.setLike.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)))) (Preorder.toLE.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (PartialOrder.toPreorder.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (CompleteSemilatticeInf.toPartialOrder.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (CompleteLattice.toCompleteSemilatticeInf.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (Submodule.completeLattice.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3))))))) (fun (_x : RelEmbedding.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (LE.le.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (Preorder.toLE.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (PartialOrder.toPreorder.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (SetLike.partialOrder.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) E (Subalgebra.setLike.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3))))) (LE.le.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (Preorder.toLE.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (PartialOrder.toPreorder.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (CompleteSemilatticeInf.toPartialOrder.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (CompleteLattice.toCompleteSemilatticeInf.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (Submodule.completeLattice.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)))))))) => (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) -> (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3))) (RelEmbedding.hasCoeToFun.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (LE.le.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (Preorder.toLE.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (PartialOrder.toPreorder.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (SetLike.partialOrder.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) E (Subalgebra.setLike.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3))))) (LE.le.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (Preorder.toLE.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (PartialOrder.toPreorder.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (CompleteSemilatticeInf.toPartialOrder.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (CompleteLattice.toCompleteSemilatticeInf.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (Submodule.completeLattice.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)))))))) (Subalgebra.toSubmodule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) S)) (Ring.toSemiring.{u1} F (CommRing.toRing.{u1} F _inst_1)) (Submodule.addCommGroup.{u1, u2} F E (CommRing.toRing.{u1} F _inst_1) (NonUnitalNonAssocRing.toAddCommGroup.{u2} E (NonAssocRing.toNonUnitalNonAssocRing.{u2} E (Ring.toNonAssocRing.{u2} E _inst_2))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (coeFn.{succ u2, succ u2} (OrderEmbedding.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (Preorder.toLE.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (PartialOrder.toPreorder.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (SetLike.partialOrder.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) E (Subalgebra.setLike.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)))) (Preorder.toLE.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (PartialOrder.toPreorder.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (CompleteSemilatticeInf.toPartialOrder.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (CompleteLattice.toCompleteSemilatticeInf.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (Submodule.completeLattice.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3))))))) (fun (_x : RelEmbedding.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (LE.le.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (Preorder.toLE.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (PartialOrder.toPreorder.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (SetLike.partialOrder.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) E (Subalgebra.setLike.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3))))) (LE.le.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (Preorder.toLE.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (PartialOrder.toPreorder.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (CompleteSemilatticeInf.toPartialOrder.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (CompleteLattice.toCompleteSemilatticeInf.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (Submodule.completeLattice.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)))))))) => (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) -> (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3))) (RelEmbedding.hasCoeToFun.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (LE.le.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (Preorder.toLE.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (PartialOrder.toPreorder.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (SetLike.partialOrder.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) E (Subalgebra.setLike.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3))))) (LE.le.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (Preorder.toLE.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (PartialOrder.toPreorder.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (CompleteSemilatticeInf.toPartialOrder.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (CompleteLattice.toCompleteSemilatticeInf.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (Submodule.completeLattice.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)))))))) (Subalgebra.toSubmodule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) S)) (Submodule.module.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (coeFn.{succ u2, succ u2} (OrderEmbedding.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (Preorder.toLE.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (PartialOrder.toPreorder.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (SetLike.partialOrder.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) E (Subalgebra.setLike.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)))) (Preorder.toLE.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (PartialOrder.toPreorder.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (CompleteSemilatticeInf.toPartialOrder.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (CompleteLattice.toCompleteSemilatticeInf.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (Submodule.completeLattice.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3))))))) (fun (_x : RelEmbedding.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (LE.le.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (Preorder.toLE.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (PartialOrder.toPreorder.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (SetLike.partialOrder.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) E (Subalgebra.setLike.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3))))) (LE.le.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (Preorder.toLE.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (PartialOrder.toPreorder.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (CompleteSemilatticeInf.toPartialOrder.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (CompleteLattice.toCompleteSemilatticeInf.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (Submodule.completeLattice.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)))))))) => (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) -> (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3))) (RelEmbedding.hasCoeToFun.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (LE.le.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (Preorder.toLE.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (PartialOrder.toPreorder.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (SetLike.partialOrder.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) E (Subalgebra.setLike.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3))))) (LE.le.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (Preorder.toLE.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (PartialOrder.toPreorder.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (CompleteSemilatticeInf.toPartialOrder.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (CompleteLattice.toCompleteSemilatticeInf.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (Submodule.completeLattice.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)))))))) (Subalgebra.toSubmodule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) S))) (FiniteDimensional.finrank.{u1, u2} F (coeSort.{succ u2, succ (succ u2)} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) Type.{u2} (SetLike.hasCoeToSort.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) E (Subalgebra.setLike.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) S) (Ring.toSemiring.{u1} F (CommRing.toRing.{u1} F _inst_1)) (NonUnitalNonAssocRing.toAddCommGroup.{u2} (coeSort.{succ u2, succ (succ u2)} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) Type.{u2} (SetLike.hasCoeToSort.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) E (Subalgebra.setLike.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) S) (NonAssocRing.toNonUnitalNonAssocRing.{u2} (coeSort.{succ u2, succ (succ u2)} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) Type.{u2} (SetLike.hasCoeToSort.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) E (Subalgebra.setLike.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) S) (Ring.toNonAssocRing.{u2} (coeSort.{succ u2, succ (succ u2)} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) Type.{u2} (SetLike.hasCoeToSort.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) E (Subalgebra.setLike.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) S) (Subalgebra.toRing.{u1, u2} F E _inst_1 _inst_2 _inst_3 S)))) (Subalgebra.module.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3 S))
 but is expected to have type
-  forall {F : Type.{u2}} {E : Type.{u1}} [_inst_1 : CommRing.{u2} F] [_inst_2 : Ring.{u1} E] [_inst_3 : Algebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2)] (S : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3), Eq.{1} Nat (FiniteDimensional.finrank.{u2, u1} F (Subtype.{succ u1} E (fun (x : E) => Membership.mem.{u1, u1} E ((fun (x._@.Mathlib.Order.RelIso.Basic._hyg.867 : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) => Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) S) (SetLike.instMembership.{u1, u1} ((fun (x._@.Mathlib.Order.RelIso.Basic._hyg.867 : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) => Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) S) E (Submodule.setLike.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3))) x (FunLike.coe.{succ u1, succ u1, succ u1} (OrderEmbedding.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Preorder.toLE.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (PartialOrder.toPreorder.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (SetLike.instPartialOrder.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) E (Subalgebra.instSetLikeSubalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)))) (Preorder.toLE.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (PartialOrder.toPreorder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (OmegaCompletePartialOrder.toPartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (CompleteLattice.instOmegaCompletePartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Submodule.completeLattice.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3))))))) (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (fun (a : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) => (fun (x._@.Mathlib.Order.RelIso.Basic._hyg.867 : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) => Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) a) (RelHomClass.toFunLike.{u1, u1, u1} (OrderEmbedding.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Preorder.toLE.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (PartialOrder.toPreorder.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (SetLike.instPartialOrder.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) E (Subalgebra.instSetLikeSubalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)))) (Preorder.toLE.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (PartialOrder.toPreorder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (OmegaCompletePartialOrder.toPartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (CompleteLattice.instOmegaCompletePartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Submodule.completeLattice.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3))))))) (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.680 : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (x._@.Mathlib.Order.Hom.Basic._hyg.682 : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) => LE.le.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Preorder.toLE.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (PartialOrder.toPreorder.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (SetLike.instPartialOrder.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) E (Subalgebra.instSetLikeSubalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)))) x._@.Mathlib.Order.Hom.Basic._hyg.680 x._@.Mathlib.Order.Hom.Basic._hyg.682) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.695 : Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (x._@.Mathlib.Order.Hom.Basic._hyg.697 : Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) => LE.le.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Preorder.toLE.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (PartialOrder.toPreorder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (OmegaCompletePartialOrder.toPartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (CompleteLattice.instOmegaCompletePartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Submodule.completeLattice.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)))))) x._@.Mathlib.Order.Hom.Basic._hyg.695 x._@.Mathlib.Order.Hom.Basic._hyg.697) (RelEmbedding.instRelHomClassRelEmbedding.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.680 : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (x._@.Mathlib.Order.Hom.Basic._hyg.682 : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) => LE.le.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Preorder.toLE.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (PartialOrder.toPreorder.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (SetLike.instPartialOrder.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) E (Subalgebra.instSetLikeSubalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)))) x._@.Mathlib.Order.Hom.Basic._hyg.680 x._@.Mathlib.Order.Hom.Basic._hyg.682) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.695 : Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (x._@.Mathlib.Order.Hom.Basic._hyg.697 : Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) => LE.le.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Preorder.toLE.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (PartialOrder.toPreorder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (OmegaCompletePartialOrder.toPartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (CompleteLattice.instOmegaCompletePartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Submodule.completeLattice.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)))))) x._@.Mathlib.Order.Hom.Basic._hyg.695 x._@.Mathlib.Order.Hom.Basic._hyg.697))) (Subalgebra.toSubmodule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) S))) (Ring.toSemiring.{u2} F (CommRing.toRing.{u2} F _inst_1)) (Submodule.addCommGroup.{u2, u1} F E (CommRing.toRing.{u2} F _inst_1) (Ring.toAddCommGroup.{u1} E _inst_2) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (FunLike.coe.{succ u1, succ u1, succ u1} (OrderEmbedding.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Preorder.toLE.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (PartialOrder.toPreorder.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (SetLike.instPartialOrder.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) E (Subalgebra.instSetLikeSubalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)))) (Preorder.toLE.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (PartialOrder.toPreorder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (OmegaCompletePartialOrder.toPartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (CompleteLattice.instOmegaCompletePartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Submodule.completeLattice.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3))))))) (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (fun (_x : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) => (fun (x._@.Mathlib.Order.RelIso.Basic._hyg.867 : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) => Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) _x) (RelHomClass.toFunLike.{u1, u1, u1} (OrderEmbedding.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Preorder.toLE.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (PartialOrder.toPreorder.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (SetLike.instPartialOrder.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) E (Subalgebra.instSetLikeSubalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)))) (Preorder.toLE.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (PartialOrder.toPreorder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (OmegaCompletePartialOrder.toPartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (CompleteLattice.instOmegaCompletePartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Submodule.completeLattice.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3))))))) (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.680 : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (x._@.Mathlib.Order.Hom.Basic._hyg.682 : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) => LE.le.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Preorder.toLE.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (PartialOrder.toPreorder.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (SetLike.instPartialOrder.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) E (Subalgebra.instSetLikeSubalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)))) x._@.Mathlib.Order.Hom.Basic._hyg.680 x._@.Mathlib.Order.Hom.Basic._hyg.682) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.695 : Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (x._@.Mathlib.Order.Hom.Basic._hyg.697 : Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) => LE.le.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Preorder.toLE.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (PartialOrder.toPreorder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (OmegaCompletePartialOrder.toPartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (CompleteLattice.instOmegaCompletePartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Submodule.completeLattice.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)))))) x._@.Mathlib.Order.Hom.Basic._hyg.695 x._@.Mathlib.Order.Hom.Basic._hyg.697) (RelEmbedding.instRelHomClassRelEmbedding.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.680 : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (x._@.Mathlib.Order.Hom.Basic._hyg.682 : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) => LE.le.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Preorder.toLE.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (PartialOrder.toPreorder.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (SetLike.instPartialOrder.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) E (Subalgebra.instSetLikeSubalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)))) x._@.Mathlib.Order.Hom.Basic._hyg.680 x._@.Mathlib.Order.Hom.Basic._hyg.682) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.695 : Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (x._@.Mathlib.Order.Hom.Basic._hyg.697 : Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) => LE.le.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Preorder.toLE.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (PartialOrder.toPreorder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (OmegaCompletePartialOrder.toPartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (CompleteLattice.instOmegaCompletePartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Submodule.completeLattice.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)))))) x._@.Mathlib.Order.Hom.Basic._hyg.695 x._@.Mathlib.Order.Hom.Basic._hyg.697))) (Subalgebra.toSubmodule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) S)) (Submodule.module.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (FunLike.coe.{succ u1, succ u1, succ u1} (OrderEmbedding.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Preorder.toLE.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (PartialOrder.toPreorder.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (SetLike.instPartialOrder.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) E (Subalgebra.instSetLikeSubalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)))) (Preorder.toLE.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (PartialOrder.toPreorder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (OmegaCompletePartialOrder.toPartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (CompleteLattice.instOmegaCompletePartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Submodule.completeLattice.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3))))))) (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (fun (_x : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) => (fun (x._@.Mathlib.Order.RelIso.Basic._hyg.867 : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) => Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) _x) (RelHomClass.toFunLike.{u1, u1, u1} (OrderEmbedding.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Preorder.toLE.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (PartialOrder.toPreorder.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (SetLike.instPartialOrder.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) E (Subalgebra.instSetLikeSubalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)))) (Preorder.toLE.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (PartialOrder.toPreorder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (OmegaCompletePartialOrder.toPartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (CompleteLattice.instOmegaCompletePartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Submodule.completeLattice.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3))))))) (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.680 : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (x._@.Mathlib.Order.Hom.Basic._hyg.682 : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) => LE.le.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Preorder.toLE.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (PartialOrder.toPreorder.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (SetLike.instPartialOrder.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) E (Subalgebra.instSetLikeSubalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)))) x._@.Mathlib.Order.Hom.Basic._hyg.680 x._@.Mathlib.Order.Hom.Basic._hyg.682) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.695 : Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (x._@.Mathlib.Order.Hom.Basic._hyg.697 : Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) => LE.le.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Preorder.toLE.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (PartialOrder.toPreorder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (OmegaCompletePartialOrder.toPartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (CompleteLattice.instOmegaCompletePartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Submodule.completeLattice.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)))))) x._@.Mathlib.Order.Hom.Basic._hyg.695 x._@.Mathlib.Order.Hom.Basic._hyg.697) (RelEmbedding.instRelHomClassRelEmbedding.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.680 : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (x._@.Mathlib.Order.Hom.Basic._hyg.682 : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) => LE.le.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Preorder.toLE.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (PartialOrder.toPreorder.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (SetLike.instPartialOrder.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) E (Subalgebra.instSetLikeSubalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)))) x._@.Mathlib.Order.Hom.Basic._hyg.680 x._@.Mathlib.Order.Hom.Basic._hyg.682) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.695 : Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (x._@.Mathlib.Order.Hom.Basic._hyg.697 : Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) => LE.le.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Preorder.toLE.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (PartialOrder.toPreorder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (OmegaCompletePartialOrder.toPartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (CompleteLattice.instOmegaCompletePartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Submodule.completeLattice.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)))))) x._@.Mathlib.Order.Hom.Basic._hyg.695 x._@.Mathlib.Order.Hom.Basic._hyg.697))) (Subalgebra.toSubmodule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) S))) (FiniteDimensional.finrank.{u2, u1} F (Subtype.{succ u1} E (fun (x : E) => Membership.mem.{u1, u1} E (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (SetLike.instMembership.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) E (Subalgebra.instSetLikeSubalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) x S)) (Ring.toSemiring.{u2} F (CommRing.toRing.{u2} F _inst_1)) (Ring.toAddCommGroup.{u1} (Subtype.{succ u1} E (fun (x : E) => Membership.mem.{u1, u1} E (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (SetLike.instMembership.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) E (Subalgebra.instSetLikeSubalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) x S)) (Subalgebra.toRing.{u2, u1} F E _inst_1 _inst_2 _inst_3 S)) (Subalgebra.instModuleSubtypeMemSubalgebraInstMembershipInstSetLikeSubalgebraToSemiringToAddCommMonoidToNonUnitalNonAssocSemiringToNonAssocSemiringToNonAssocSemiringToSubsemiring.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3 S))
+  forall {F : Type.{u2}} {E : Type.{u1}} [_inst_1 : CommRing.{u2} F] [_inst_2 : Ring.{u1} E] [_inst_3 : Algebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2)] (S : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3), Eq.{1} Nat (FiniteDimensional.finrank.{u2, u1} F (Subtype.{succ u1} E (fun (x : E) => Membership.mem.{u1, u1} E ((fun (x._@.Mathlib.Order.RelIso.Basic._hyg.867 : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) => Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) S) (SetLike.instMembership.{u1, u1} ((fun (x._@.Mathlib.Order.RelIso.Basic._hyg.867 : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) => Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) S) E (Submodule.setLike.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3))) x (FunLike.coe.{succ u1, succ u1, succ u1} (OrderEmbedding.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Preorder.toLE.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (PartialOrder.toPreorder.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (SetLike.instPartialOrder.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) E (Subalgebra.instSetLikeSubalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)))) (Preorder.toLE.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (PartialOrder.toPreorder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (OmegaCompletePartialOrder.toPartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (CompleteLattice.instOmegaCompletePartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Submodule.completeLattice.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3))))))) (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (fun (a : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) => (fun (x._@.Mathlib.Order.RelIso.Basic._hyg.867 : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) => Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) a) (RelHomClass.toFunLike.{u1, u1, u1} (OrderEmbedding.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Preorder.toLE.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (PartialOrder.toPreorder.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (SetLike.instPartialOrder.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) E (Subalgebra.instSetLikeSubalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)))) (Preorder.toLE.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (PartialOrder.toPreorder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (OmegaCompletePartialOrder.toPartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (CompleteLattice.instOmegaCompletePartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Submodule.completeLattice.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3))))))) (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.680 : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (x._@.Mathlib.Order.Hom.Basic._hyg.682 : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) => LE.le.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Preorder.toLE.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (PartialOrder.toPreorder.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (SetLike.instPartialOrder.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) E (Subalgebra.instSetLikeSubalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)))) x._@.Mathlib.Order.Hom.Basic._hyg.680 x._@.Mathlib.Order.Hom.Basic._hyg.682) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.695 : Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (x._@.Mathlib.Order.Hom.Basic._hyg.697 : Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) => LE.le.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Preorder.toLE.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (PartialOrder.toPreorder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (OmegaCompletePartialOrder.toPartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (CompleteLattice.instOmegaCompletePartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Submodule.completeLattice.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)))))) x._@.Mathlib.Order.Hom.Basic._hyg.695 x._@.Mathlib.Order.Hom.Basic._hyg.697) (RelEmbedding.instRelHomClassRelEmbedding.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.680 : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (x._@.Mathlib.Order.Hom.Basic._hyg.682 : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) => LE.le.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Preorder.toLE.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (PartialOrder.toPreorder.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (SetLike.instPartialOrder.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) E (Subalgebra.instSetLikeSubalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)))) x._@.Mathlib.Order.Hom.Basic._hyg.680 x._@.Mathlib.Order.Hom.Basic._hyg.682) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.695 : Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (x._@.Mathlib.Order.Hom.Basic._hyg.697 : Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) => LE.le.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Preorder.toLE.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (PartialOrder.toPreorder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (OmegaCompletePartialOrder.toPartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (CompleteLattice.instOmegaCompletePartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Submodule.completeLattice.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)))))) x._@.Mathlib.Order.Hom.Basic._hyg.695 x._@.Mathlib.Order.Hom.Basic._hyg.697))) (Subalgebra.toSubmodule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) S))) (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (Submodule.addCommGroup.{u2, u1} F E (CommRing.toRing.{u2} F _inst_1) (Ring.toAddCommGroup.{u1} E _inst_2) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (FunLike.coe.{succ u1, succ u1, succ u1} (OrderEmbedding.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Preorder.toLE.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (PartialOrder.toPreorder.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (SetLike.instPartialOrder.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) E (Subalgebra.instSetLikeSubalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)))) (Preorder.toLE.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (PartialOrder.toPreorder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (OmegaCompletePartialOrder.toPartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (CompleteLattice.instOmegaCompletePartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Submodule.completeLattice.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3))))))) (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (fun (_x : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) => (fun (x._@.Mathlib.Order.RelIso.Basic._hyg.867 : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) => Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) _x) (RelHomClass.toFunLike.{u1, u1, u1} (OrderEmbedding.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Preorder.toLE.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (PartialOrder.toPreorder.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (SetLike.instPartialOrder.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) E (Subalgebra.instSetLikeSubalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)))) (Preorder.toLE.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (PartialOrder.toPreorder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (OmegaCompletePartialOrder.toPartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (CompleteLattice.instOmegaCompletePartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Submodule.completeLattice.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3))))))) (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.680 : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (x._@.Mathlib.Order.Hom.Basic._hyg.682 : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) => LE.le.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Preorder.toLE.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (PartialOrder.toPreorder.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (SetLike.instPartialOrder.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) E (Subalgebra.instSetLikeSubalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)))) x._@.Mathlib.Order.Hom.Basic._hyg.680 x._@.Mathlib.Order.Hom.Basic._hyg.682) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.695 : Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (x._@.Mathlib.Order.Hom.Basic._hyg.697 : Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) => LE.le.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Preorder.toLE.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (PartialOrder.toPreorder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (OmegaCompletePartialOrder.toPartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (CompleteLattice.instOmegaCompletePartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Submodule.completeLattice.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)))))) x._@.Mathlib.Order.Hom.Basic._hyg.695 x._@.Mathlib.Order.Hom.Basic._hyg.697) (RelEmbedding.instRelHomClassRelEmbedding.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.680 : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (x._@.Mathlib.Order.Hom.Basic._hyg.682 : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) => LE.le.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Preorder.toLE.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (PartialOrder.toPreorder.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (SetLike.instPartialOrder.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) E (Subalgebra.instSetLikeSubalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)))) x._@.Mathlib.Order.Hom.Basic._hyg.680 x._@.Mathlib.Order.Hom.Basic._hyg.682) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.695 : Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (x._@.Mathlib.Order.Hom.Basic._hyg.697 : Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) => LE.le.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Preorder.toLE.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (PartialOrder.toPreorder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (OmegaCompletePartialOrder.toPartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (CompleteLattice.instOmegaCompletePartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Submodule.completeLattice.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)))))) x._@.Mathlib.Order.Hom.Basic._hyg.695 x._@.Mathlib.Order.Hom.Basic._hyg.697))) (Subalgebra.toSubmodule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) S)) (Submodule.module.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (FunLike.coe.{succ u1, succ u1, succ u1} (OrderEmbedding.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Preorder.toLE.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (PartialOrder.toPreorder.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (SetLike.instPartialOrder.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) E (Subalgebra.instSetLikeSubalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)))) (Preorder.toLE.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (PartialOrder.toPreorder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (OmegaCompletePartialOrder.toPartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (CompleteLattice.instOmegaCompletePartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Submodule.completeLattice.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3))))))) (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (fun (_x : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) => (fun (x._@.Mathlib.Order.RelIso.Basic._hyg.867 : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) => Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) _x) (RelHomClass.toFunLike.{u1, u1, u1} (OrderEmbedding.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Preorder.toLE.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (PartialOrder.toPreorder.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (SetLike.instPartialOrder.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) E (Subalgebra.instSetLikeSubalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)))) (Preorder.toLE.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (PartialOrder.toPreorder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (OmegaCompletePartialOrder.toPartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (CompleteLattice.instOmegaCompletePartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Submodule.completeLattice.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3))))))) (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.680 : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (x._@.Mathlib.Order.Hom.Basic._hyg.682 : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) => LE.le.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Preorder.toLE.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (PartialOrder.toPreorder.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (SetLike.instPartialOrder.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) E (Subalgebra.instSetLikeSubalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)))) x._@.Mathlib.Order.Hom.Basic._hyg.680 x._@.Mathlib.Order.Hom.Basic._hyg.682) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.695 : Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (x._@.Mathlib.Order.Hom.Basic._hyg.697 : Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) => LE.le.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Preorder.toLE.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (PartialOrder.toPreorder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (OmegaCompletePartialOrder.toPartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (CompleteLattice.instOmegaCompletePartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Submodule.completeLattice.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)))))) x._@.Mathlib.Order.Hom.Basic._hyg.695 x._@.Mathlib.Order.Hom.Basic._hyg.697) (RelEmbedding.instRelHomClassRelEmbedding.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.680 : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (x._@.Mathlib.Order.Hom.Basic._hyg.682 : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) => LE.le.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Preorder.toLE.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (PartialOrder.toPreorder.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (SetLike.instPartialOrder.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) E (Subalgebra.instSetLikeSubalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)))) x._@.Mathlib.Order.Hom.Basic._hyg.680 x._@.Mathlib.Order.Hom.Basic._hyg.682) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.695 : Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (x._@.Mathlib.Order.Hom.Basic._hyg.697 : Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) => LE.le.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Preorder.toLE.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (PartialOrder.toPreorder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (OmegaCompletePartialOrder.toPartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (CompleteLattice.instOmegaCompletePartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Submodule.completeLattice.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)))))) x._@.Mathlib.Order.Hom.Basic._hyg.695 x._@.Mathlib.Order.Hom.Basic._hyg.697))) (Subalgebra.toSubmodule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) S))) (FiniteDimensional.finrank.{u2, u1} F (Subtype.{succ u1} E (fun (x : E) => Membership.mem.{u1, u1} E (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (SetLike.instMembership.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) E (Subalgebra.instSetLikeSubalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) x S)) (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (Ring.toAddCommGroup.{u1} (Subtype.{succ u1} E (fun (x : E) => Membership.mem.{u1, u1} E (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (SetLike.instMembership.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) E (Subalgebra.instSetLikeSubalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) x S)) (Subalgebra.toRing.{u2, u1} F E _inst_1 _inst_2 _inst_3 S)) (Subalgebra.instModuleSubtypeMemSubalgebraInstMembershipInstSetLikeSubalgebraToSemiringToAddCommMonoidToNonUnitalNonAssocSemiringToNonAssocSemiringToNonAssocSemiringToSubsemiring.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3 S))
 Case conversion may be inaccurate. Consider using '#align subalgebra.finrank_to_submodule Subalgebra.finrank_toSubmoduleₓ'. -/
 @[simp]
 theorem Subalgebra.finrank_toSubmodule (S : Subalgebra F E) :
@@ -788,7 +788,7 @@ theorem subalgebra_top_rank_eq_submodule_top_rank :
 lean 3 declaration is
   forall {F : Type.{u1}} {E : Type.{u2}} [_inst_1 : CommRing.{u1} F] [_inst_2 : Ring.{u2} E] [_inst_3 : Algebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2)], Eq.{1} Nat (FiniteDimensional.finrank.{u1, u2} F (coeSort.{succ u2, succ (succ u2)} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) Type.{u2} (SetLike.hasCoeToSort.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) E (Subalgebra.setLike.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (Top.top.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (CompleteLattice.toHasTop.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (Algebra.Subalgebra.completeLattice.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)))) (Ring.toSemiring.{u1} F (CommRing.toRing.{u1} F _inst_1)) (NonUnitalNonAssocRing.toAddCommGroup.{u2} (coeSort.{succ u2, succ (succ u2)} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) Type.{u2} (SetLike.hasCoeToSort.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) E (Subalgebra.setLike.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (Top.top.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (CompleteLattice.toHasTop.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (Algebra.Subalgebra.completeLattice.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)))) (NonAssocRing.toNonUnitalNonAssocRing.{u2} (coeSort.{succ u2, succ (succ u2)} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) Type.{u2} (SetLike.hasCoeToSort.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) E (Subalgebra.setLike.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (Top.top.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (CompleteLattice.toHasTop.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (Algebra.Subalgebra.completeLattice.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)))) (Ring.toNonAssocRing.{u2} (coeSort.{succ u2, succ (succ u2)} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) Type.{u2} (SetLike.hasCoeToSort.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) E (Subalgebra.setLike.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (Top.top.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (CompleteLattice.toHasTop.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (Algebra.Subalgebra.completeLattice.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)))) (Subalgebra.toRing.{u1, u2} F E _inst_1 _inst_2 _inst_3 (Top.top.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (CompleteLattice.toHasTop.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (Algebra.Subalgebra.completeLattice.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3))))))) (Subalgebra.module.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3 (Top.top.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (CompleteLattice.toHasTop.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (Algebra.Subalgebra.completeLattice.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3))))) (FiniteDimensional.finrank.{u1, u2} F (coeSort.{succ u2, succ (succ u2)} (Submodule.{u1, u2} F E (Ring.toSemiring.{u1} F (CommRing.toRing.{u1} F _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} E (NonUnitalNonAssocRing.toAddCommGroup.{u2} E (NonAssocRing.toNonUnitalNonAssocRing.{u2} E (Ring.toNonAssocRing.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) Type.{u2} (SetLike.hasCoeToSort.{u2, u2} (Submodule.{u1, u2} F E (Ring.toSemiring.{u1} F (CommRing.toRing.{u1} F _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} E (NonUnitalNonAssocRing.toAddCommGroup.{u2} E (NonAssocRing.toNonUnitalNonAssocRing.{u2} E (Ring.toNonAssocRing.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) E (Submodule.setLike.{u1, u2} F E (Ring.toSemiring.{u1} F (CommRing.toRing.{u1} F _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} E (NonUnitalNonAssocRing.toAddCommGroup.{u2} E (NonAssocRing.toNonUnitalNonAssocRing.{u2} E (Ring.toNonAssocRing.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3))) (Top.top.{u2} (Submodule.{u1, u2} F E (Ring.toSemiring.{u1} F (CommRing.toRing.{u1} F _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} E (NonUnitalNonAssocRing.toAddCommGroup.{u2} E (NonAssocRing.toNonUnitalNonAssocRing.{u2} E (Ring.toNonAssocRing.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (Submodule.hasTop.{u1, u2} F E (Ring.toSemiring.{u1} F (CommRing.toRing.{u1} F _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} E (NonUnitalNonAssocRing.toAddCommGroup.{u2} E (NonAssocRing.toNonUnitalNonAssocRing.{u2} E (Ring.toNonAssocRing.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)))) (Ring.toSemiring.{u1} F (CommRing.toRing.{u1} F _inst_1)) (Submodule.addCommGroup.{u1, u2} F E (CommRing.toRing.{u1} F _inst_1) (NonUnitalNonAssocRing.toAddCommGroup.{u2} E (NonAssocRing.toNonUnitalNonAssocRing.{u2} E (Ring.toNonAssocRing.{u2} E _inst_2))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (Top.top.{u2} (Submodule.{u1, u2} F E (Ring.toSemiring.{u1} F (CommRing.toRing.{u1} F _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} E (NonUnitalNonAssocRing.toAddCommGroup.{u2} E (NonAssocRing.toNonUnitalNonAssocRing.{u2} E (Ring.toNonAssocRing.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (Submodule.hasTop.{u1, u2} F E (Ring.toSemiring.{u1} F (CommRing.toRing.{u1} F _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} E (NonUnitalNonAssocRing.toAddCommGroup.{u2} E (NonAssocRing.toNonUnitalNonAssocRing.{u2} E (Ring.toNonAssocRing.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)))) (Submodule.module.{u1, u2} F E (Ring.toSemiring.{u1} F (CommRing.toRing.{u1} F _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} E (NonUnitalNonAssocRing.toAddCommGroup.{u2} E (NonAssocRing.toNonUnitalNonAssocRing.{u2} E (Ring.toNonAssocRing.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (Top.top.{u2} (Submodule.{u1, u2} F E (Ring.toSemiring.{u1} F (CommRing.toRing.{u1} F _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} E (NonUnitalNonAssocRing.toAddCommGroup.{u2} E (NonAssocRing.toNonUnitalNonAssocRing.{u2} E (Ring.toNonAssocRing.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (Submodule.hasTop.{u1, u2} F E (Ring.toSemiring.{u1} F (CommRing.toRing.{u1} F _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} E (NonUnitalNonAssocRing.toAddCommGroup.{u2} E (NonAssocRing.toNonUnitalNonAssocRing.{u2} E (Ring.toNonAssocRing.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)))))
 but is expected to have type
-  forall {F : Type.{u2}} {E : Type.{u1}} [_inst_1 : CommRing.{u2} F] [_inst_2 : Ring.{u1} E] [_inst_3 : Algebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2)], Eq.{1} Nat (FiniteDimensional.finrank.{u2, u1} F (Subtype.{succ u1} E (fun (x : E) => Membership.mem.{u1, u1} E (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (SetLike.instMembership.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) E (Subalgebra.instSetLikeSubalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) x (Top.top.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (CompleteLattice.toTop.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Algebra.instCompleteLatticeSubalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3))))) (Ring.toSemiring.{u2} F (CommRing.toRing.{u2} F _inst_1)) (Ring.toAddCommGroup.{u1} (Subtype.{succ u1} E (fun (x : E) => Membership.mem.{u1, u1} E (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (SetLike.instMembership.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) E (Subalgebra.instSetLikeSubalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) x (Top.top.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (CompleteLattice.toTop.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Algebra.instCompleteLatticeSubalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3))))) (Subalgebra.toRing.{u2, u1} F E _inst_1 _inst_2 _inst_3 (Top.top.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (CompleteLattice.toTop.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Algebra.instCompleteLatticeSubalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3))))) (Subalgebra.instModuleSubtypeMemSubalgebraInstMembershipInstSetLikeSubalgebraToSemiringToAddCommMonoidToNonUnitalNonAssocSemiringToNonAssocSemiringToNonAssocSemiringToSubsemiring.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3 (Top.top.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (CompleteLattice.toTop.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Algebra.instCompleteLatticeSubalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3))))) (FiniteDimensional.finrank.{u2, u1} F (Subtype.{succ u1} E (fun (x : E) => Membership.mem.{u1, u1} E (Submodule.{u2, u1} F E (Ring.toSemiring.{u2} F (CommRing.toRing.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonUnitalNonAssocRing.toNonUnitalNonAssocSemiring.{u1} E (NonAssocRing.toNonUnitalNonAssocRing.{u1} E (Ring.toNonAssocRing.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (SetLike.instMembership.{u1, u1} (Submodule.{u2, u1} F E (Ring.toSemiring.{u2} F (CommRing.toRing.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonUnitalNonAssocRing.toNonUnitalNonAssocSemiring.{u1} E (NonAssocRing.toNonUnitalNonAssocRing.{u1} E (Ring.toNonAssocRing.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) E (Submodule.setLike.{u2, u1} F E (Ring.toSemiring.{u2} F (CommRing.toRing.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonUnitalNonAssocRing.toNonUnitalNonAssocSemiring.{u1} E (NonAssocRing.toNonUnitalNonAssocRing.{u1} E (Ring.toNonAssocRing.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3))) x (Top.top.{u1} (Submodule.{u2, u1} F E (Ring.toSemiring.{u2} F (CommRing.toRing.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonUnitalNonAssocRing.toNonUnitalNonAssocSemiring.{u1} E (NonAssocRing.toNonUnitalNonAssocRing.{u1} E (Ring.toNonAssocRing.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Submodule.instTopSubmodule.{u2, u1} F E (Ring.toSemiring.{u2} F (CommRing.toRing.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonUnitalNonAssocRing.toNonUnitalNonAssocSemiring.{u1} E (NonAssocRing.toNonUnitalNonAssocRing.{u1} E (Ring.toNonAssocRing.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3))))) (Ring.toSemiring.{u2} F (CommRing.toRing.{u2} F _inst_1)) (Submodule.addCommGroup.{u2, u1} F E (CommRing.toRing.{u2} F _inst_1) (Ring.toAddCommGroup.{u1} E _inst_2) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Top.top.{u1} (Submodule.{u2, u1} F E (Ring.toSemiring.{u2} F (CommRing.toRing.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonUnitalNonAssocRing.toNonUnitalNonAssocSemiring.{u1} E (NonAssocRing.toNonUnitalNonAssocRing.{u1} E (Ring.toNonAssocRing.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Submodule.instTopSubmodule.{u2, u1} F E (Ring.toSemiring.{u2} F (CommRing.toRing.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonUnitalNonAssocRing.toNonUnitalNonAssocSemiring.{u1} E (NonAssocRing.toNonUnitalNonAssocRing.{u1} E (Ring.toNonAssocRing.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)))) (Submodule.module.{u2, u1} F E (Ring.toSemiring.{u2} F (CommRing.toRing.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonUnitalNonAssocRing.toNonUnitalNonAssocSemiring.{u1} E (NonAssocRing.toNonUnitalNonAssocRing.{u1} E (Ring.toNonAssocRing.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Top.top.{u1} (Submodule.{u2, u1} F E (Ring.toSemiring.{u2} F (CommRing.toRing.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonUnitalNonAssocRing.toNonUnitalNonAssocSemiring.{u1} E (NonAssocRing.toNonUnitalNonAssocRing.{u1} E (Ring.toNonAssocRing.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Submodule.instTopSubmodule.{u2, u1} F E (Ring.toSemiring.{u2} F (CommRing.toRing.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonUnitalNonAssocRing.toNonUnitalNonAssocSemiring.{u1} E (NonAssocRing.toNonUnitalNonAssocRing.{u1} E (Ring.toNonAssocRing.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)))))
+  forall {F : Type.{u2}} {E : Type.{u1}} [_inst_1 : CommRing.{u2} F] [_inst_2 : Ring.{u1} E] [_inst_3 : Algebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2)], Eq.{1} Nat (FiniteDimensional.finrank.{u2, u1} F (Subtype.{succ u1} E (fun (x : E) => Membership.mem.{u1, u1} E (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (SetLike.instMembership.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) E (Subalgebra.instSetLikeSubalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) x (Top.top.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (CompleteLattice.toTop.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Algebra.instCompleteLatticeSubalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3))))) (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (Ring.toAddCommGroup.{u1} (Subtype.{succ u1} E (fun (x : E) => Membership.mem.{u1, u1} E (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (SetLike.instMembership.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) E (Subalgebra.instSetLikeSubalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) x (Top.top.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (CompleteLattice.toTop.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Algebra.instCompleteLatticeSubalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3))))) (Subalgebra.toRing.{u2, u1} F E _inst_1 _inst_2 _inst_3 (Top.top.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (CompleteLattice.toTop.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Algebra.instCompleteLatticeSubalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3))))) (Subalgebra.instModuleSubtypeMemSubalgebraInstMembershipInstSetLikeSubalgebraToSemiringToAddCommMonoidToNonUnitalNonAssocSemiringToNonAssocSemiringToNonAssocSemiringToSubsemiring.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3 (Top.top.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (CompleteLattice.toTop.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Algebra.instCompleteLatticeSubalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3))))) (FiniteDimensional.finrank.{u2, u1} F (Subtype.{succ u1} E (fun (x : E) => Membership.mem.{u1, u1} E (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonUnitalNonAssocRing.toNonUnitalNonAssocSemiring.{u1} E (NonAssocRing.toNonUnitalNonAssocRing.{u1} E (Ring.toNonAssocRing.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (SetLike.instMembership.{u1, u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonUnitalNonAssocRing.toNonUnitalNonAssocSemiring.{u1} E (NonAssocRing.toNonUnitalNonAssocRing.{u1} E (Ring.toNonAssocRing.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) E (Submodule.setLike.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonUnitalNonAssocRing.toNonUnitalNonAssocSemiring.{u1} E (NonAssocRing.toNonUnitalNonAssocRing.{u1} E (Ring.toNonAssocRing.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3))) x (Top.top.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonUnitalNonAssocRing.toNonUnitalNonAssocSemiring.{u1} E (NonAssocRing.toNonUnitalNonAssocRing.{u1} E (Ring.toNonAssocRing.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Submodule.instTopSubmodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonUnitalNonAssocRing.toNonUnitalNonAssocSemiring.{u1} E (NonAssocRing.toNonUnitalNonAssocRing.{u1} E (Ring.toNonAssocRing.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3))))) (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (Submodule.addCommGroup.{u2, u1} F E (CommRing.toRing.{u2} F _inst_1) (Ring.toAddCommGroup.{u1} E _inst_2) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Top.top.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonUnitalNonAssocRing.toNonUnitalNonAssocSemiring.{u1} E (NonAssocRing.toNonUnitalNonAssocRing.{u1} E (Ring.toNonAssocRing.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Submodule.instTopSubmodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonUnitalNonAssocRing.toNonUnitalNonAssocSemiring.{u1} E (NonAssocRing.toNonUnitalNonAssocRing.{u1} E (Ring.toNonAssocRing.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)))) (Submodule.module.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonUnitalNonAssocRing.toNonUnitalNonAssocSemiring.{u1} E (NonAssocRing.toNonUnitalNonAssocRing.{u1} E (Ring.toNonAssocRing.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Top.top.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonUnitalNonAssocRing.toNonUnitalNonAssocSemiring.{u1} E (NonAssocRing.toNonUnitalNonAssocRing.{u1} E (Ring.toNonAssocRing.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Submodule.instTopSubmodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonUnitalNonAssocRing.toNonUnitalNonAssocSemiring.{u1} E (NonAssocRing.toNonUnitalNonAssocRing.{u1} E (Ring.toNonAssocRing.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)))))
 Case conversion may be inaccurate. Consider using '#align subalgebra_top_finrank_eq_submodule_top_finrank subalgebra_top_finrank_eq_submodule_top_finrankₓ'. -/
 theorem subalgebra_top_finrank_eq_submodule_top_finrank :
     finrank F (⊤ : Subalgebra F E) = finrank F (⊤ : Submodule F E) :=
@@ -813,7 +813,7 @@ variable [StrongRankCondition F] [NoZeroSMulDivisors F E] [Nontrivial E]
 lean 3 declaration is
   forall {F : Type.{u1}} {E : Type.{u2}} [_inst_1 : CommRing.{u1} F] [_inst_2 : Ring.{u2} E] [_inst_3 : Algebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2)] [_inst_4 : StrongRankCondition.{u1} F (Ring.toSemiring.{u1} F (CommRing.toRing.{u1} F _inst_1))] [_inst_5 : NoZeroSMulDivisors.{u1, u2} F E (MulZeroClass.toHasZero.{u1} F (NonUnitalNonAssocSemiring.toMulZeroClass.{u1} F (NonUnitalNonAssocRing.toNonUnitalNonAssocSemiring.{u1} F (NonAssocRing.toNonUnitalNonAssocRing.{u1} F (Ring.toNonAssocRing.{u1} F (CommRing.toRing.{u1} F _inst_1)))))) (MulZeroClass.toHasZero.{u2} E (NonUnitalNonAssocSemiring.toMulZeroClass.{u2} E (NonUnitalNonAssocRing.toNonUnitalNonAssocSemiring.{u2} E (NonAssocRing.toNonUnitalNonAssocRing.{u2} E (Ring.toNonAssocRing.{u2} E _inst_2))))) (SMulZeroClass.toHasSmul.{u1, u2} F E (AddZeroClass.toHasZero.{u2} E (AddMonoid.toAddZeroClass.{u2} E (AddCommMonoid.toAddMonoid.{u2} E (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2))))))) (SMulWithZero.toSmulZeroClass.{u1, u2} F E (MulZeroClass.toHasZero.{u1} F (MulZeroOneClass.toMulZeroClass.{u1} F (MonoidWithZero.toMulZeroOneClass.{u1} F (Semiring.toMonoidWithZero.{u1} F (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)))))) (AddZeroClass.toHasZero.{u2} E (AddMonoid.toAddZeroClass.{u2} E (AddCommMonoid.toAddMonoid.{u2} E (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2))))))) (MulActionWithZero.toSMulWithZero.{u1, u2} F E (Semiring.toMonoidWithZero.{u1} F (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1))) (AddZeroClass.toHasZero.{u2} E (AddMonoid.toAddZeroClass.{u2} E (AddCommMonoid.toAddMonoid.{u2} E (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2))))))) (Module.toMulActionWithZero.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)))))] [_inst_6 : Nontrivial.{u2} E], Eq.{succ (succ u2)} Cardinal.{u2} (Module.rank.{u1, u2} F (coeSort.{succ u2, succ (succ u2)} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) Type.{u2} (SetLike.hasCoeToSort.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) E (Subalgebra.setLike.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (Bot.bot.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (CompleteLattice.toHasBot.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (Algebra.Subalgebra.completeLattice.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)))) (Ring.toSemiring.{u1} F (CommRing.toRing.{u1} F _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} (coeSort.{succ u2, succ (succ u2)} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) Type.{u2} (SetLike.hasCoeToSort.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) E (Subalgebra.setLike.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (Bot.bot.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (CompleteLattice.toHasBot.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (Algebra.Subalgebra.completeLattice.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)))) (NonUnitalNonAssocRing.toAddCommGroup.{u2} (coeSort.{succ u2, succ (succ u2)} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) Type.{u2} (SetLike.hasCoeToSort.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) E (Subalgebra.setLike.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (Bot.bot.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (CompleteLattice.toHasBot.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (Algebra.Subalgebra.completeLattice.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)))) (NonAssocRing.toNonUnitalNonAssocRing.{u2} (coeSort.{succ u2, succ (succ u2)} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) Type.{u2} (SetLike.hasCoeToSort.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) E (Subalgebra.setLike.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (Bot.bot.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (CompleteLattice.toHasBot.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (Algebra.Subalgebra.completeLattice.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)))) (Ring.toNonAssocRing.{u2} (coeSort.{succ u2, succ (succ u2)} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) Type.{u2} (SetLike.hasCoeToSort.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) E (Subalgebra.setLike.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (Bot.bot.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (CompleteLattice.toHasBot.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (Algebra.Subalgebra.completeLattice.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)))) (Subalgebra.toRing.{u1, u2} F E _inst_1 _inst_2 _inst_3 (Bot.bot.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (CompleteLattice.toHasBot.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (Algebra.Subalgebra.completeLattice.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)))))))) (Subalgebra.module.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3 (Bot.bot.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (CompleteLattice.toHasBot.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (Algebra.Subalgebra.completeLattice.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3))))) (OfNat.ofNat.{succ u2} Cardinal.{u2} 1 (OfNat.mk.{succ u2} Cardinal.{u2} 1 (One.one.{succ u2} Cardinal.{u2} Cardinal.hasOne.{u2})))
 but is expected to have type
-  forall {F : Type.{u1}} {E : Type.{u2}} [_inst_1 : CommRing.{u1} F] [_inst_2 : Ring.{u2} E] [_inst_3 : Algebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2)] [_inst_4 : StrongRankCondition.{u1} F (Ring.toSemiring.{u1} F (CommRing.toRing.{u1} F _inst_1))] [_inst_5 : NoZeroSMulDivisors.{u1, u2} F E (CommMonoidWithZero.toZero.{u1} F (CommSemiring.toCommMonoidWithZero.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1))) (MonoidWithZero.toZero.{u2} E (Semiring.toMonoidWithZero.{u2} E (Ring.toSemiring.{u2} E _inst_2))) (Algebra.toSMul.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)] [_inst_6 : Nontrivial.{u2} E], Eq.{succ (succ u2)} Cardinal.{u2} (Module.rank.{u1, u2} F (Subtype.{succ u2} E (fun (x : E) => Membership.mem.{u2, u2} E (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (SetLike.instMembership.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) E (Subalgebra.instSetLikeSubalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) x (Bot.bot.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (CompleteLattice.toBot.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (Algebra.instCompleteLatticeSubalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3))))) (Ring.toSemiring.{u1} F (CommRing.toRing.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} (Subtype.{succ u2} E (fun (x : E) => Membership.mem.{u2, u2} E (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (SetLike.instMembership.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) E (Subalgebra.instSetLikeSubalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) x (Bot.bot.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (CompleteLattice.toBot.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (Algebra.instCompleteLatticeSubalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3))))) (NonUnitalNonAssocRing.toNonUnitalNonAssocSemiring.{u2} (Subtype.{succ u2} E (fun (x : E) => Membership.mem.{u2, u2} E (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (SetLike.instMembership.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) E (Subalgebra.instSetLikeSubalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) x (Bot.bot.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (CompleteLattice.toBot.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (Algebra.instCompleteLatticeSubalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3))))) (NonAssocRing.toNonUnitalNonAssocRing.{u2} (Subtype.{succ u2} E (fun (x : E) => Membership.mem.{u2, u2} E (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (SetLike.instMembership.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) E (Subalgebra.instSetLikeSubalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) x (Bot.bot.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (CompleteLattice.toBot.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (Algebra.instCompleteLatticeSubalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3))))) (Ring.toNonAssocRing.{u2} (Subtype.{succ u2} E (fun (x : E) => Membership.mem.{u2, u2} E (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (SetLike.instMembership.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) E (Subalgebra.instSetLikeSubalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) x (Bot.bot.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (CompleteLattice.toBot.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (Algebra.instCompleteLatticeSubalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3))))) (Subalgebra.toRing.{u1, u2} F E _inst_1 _inst_2 _inst_3 (Bot.bot.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (CompleteLattice.toBot.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (Algebra.instCompleteLatticeSubalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)))))))) (Subalgebra.instModuleSubtypeMemSubalgebraInstMembershipInstSetLikeSubalgebraToSemiringToAddCommMonoidToNonUnitalNonAssocSemiringToNonAssocSemiringToNonAssocSemiringToSubsemiring.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3 (Bot.bot.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (CompleteLattice.toBot.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (Algebra.instCompleteLatticeSubalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3))))) (OfNat.ofNat.{succ u2} Cardinal.{u2} 1 (One.toOfNat1.{succ u2} Cardinal.{u2} Cardinal.instOneCardinal.{u2}))
+  forall {F : Type.{u1}} {E : Type.{u2}} [_inst_1 : CommRing.{u1} F] [_inst_2 : Ring.{u2} E] [_inst_3 : Algebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2)] [_inst_4 : StrongRankCondition.{u1} F (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1))] [_inst_5 : NoZeroSMulDivisors.{u1, u2} F E (CommMonoidWithZero.toZero.{u1} F (CommSemiring.toCommMonoidWithZero.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1))) (MonoidWithZero.toZero.{u2} E (Semiring.toMonoidWithZero.{u2} E (Ring.toSemiring.{u2} E _inst_2))) (Algebra.toSMul.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)] [_inst_6 : Nontrivial.{u2} E], Eq.{succ (succ u2)} Cardinal.{u2} (Module.rank.{u1, u2} F (Subtype.{succ u2} E (fun (x : E) => Membership.mem.{u2, u2} E (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (SetLike.instMembership.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) E (Subalgebra.instSetLikeSubalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) x (Bot.bot.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (CompleteLattice.toBot.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (Algebra.instCompleteLatticeSubalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3))))) (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} (Subtype.{succ u2} E (fun (x : E) => Membership.mem.{u2, u2} E (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (SetLike.instMembership.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) E (Subalgebra.instSetLikeSubalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) x (Bot.bot.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (CompleteLattice.toBot.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (Algebra.instCompleteLatticeSubalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3))))) (NonUnitalNonAssocRing.toNonUnitalNonAssocSemiring.{u2} (Subtype.{succ u2} E (fun (x : E) => Membership.mem.{u2, u2} E (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (SetLike.instMembership.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) E (Subalgebra.instSetLikeSubalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) x (Bot.bot.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (CompleteLattice.toBot.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (Algebra.instCompleteLatticeSubalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3))))) (NonAssocRing.toNonUnitalNonAssocRing.{u2} (Subtype.{succ u2} E (fun (x : E) => Membership.mem.{u2, u2} E (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (SetLike.instMembership.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) E (Subalgebra.instSetLikeSubalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) x (Bot.bot.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (CompleteLattice.toBot.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (Algebra.instCompleteLatticeSubalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3))))) (Ring.toNonAssocRing.{u2} (Subtype.{succ u2} E (fun (x : E) => Membership.mem.{u2, u2} E (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (SetLike.instMembership.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) E (Subalgebra.instSetLikeSubalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) x (Bot.bot.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (CompleteLattice.toBot.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (Algebra.instCompleteLatticeSubalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3))))) (Subalgebra.toRing.{u1, u2} F E _inst_1 _inst_2 _inst_3 (Bot.bot.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (CompleteLattice.toBot.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (Algebra.instCompleteLatticeSubalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)))))))) (Subalgebra.instModuleSubtypeMemSubalgebraInstMembershipInstSetLikeSubalgebraToSemiringToAddCommMonoidToNonUnitalNonAssocSemiringToNonAssocSemiringToNonAssocSemiringToSubsemiring.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3 (Bot.bot.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (CompleteLattice.toBot.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (Algebra.instCompleteLatticeSubalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3))))) (OfNat.ofNat.{succ u2} Cardinal.{u2} 1 (One.toOfNat1.{succ u2} Cardinal.{u2} Cardinal.instOneCardinal.{u2}))
 Case conversion may be inaccurate. Consider using '#align subalgebra.rank_bot Subalgebra.rank_botₓ'. -/
 @[simp]
 theorem Subalgebra.rank_bot : Module.rank F (⊥ : Subalgebra F E) = 1 :=
@@ -829,7 +829,7 @@ theorem Subalgebra.rank_bot : Module.rank F (⊥ : Subalgebra F E) = 1 :=
 lean 3 declaration is
   forall {F : Type.{u1}} {E : Type.{u2}} [_inst_1 : CommRing.{u1} F] [_inst_2 : Ring.{u2} E] [_inst_3 : Algebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2)] [_inst_4 : StrongRankCondition.{u1} F (Ring.toSemiring.{u1} F (CommRing.toRing.{u1} F _inst_1))] [_inst_5 : NoZeroSMulDivisors.{u1, u2} F E (MulZeroClass.toHasZero.{u1} F (NonUnitalNonAssocSemiring.toMulZeroClass.{u1} F (NonUnitalNonAssocRing.toNonUnitalNonAssocSemiring.{u1} F (NonAssocRing.toNonUnitalNonAssocRing.{u1} F (Ring.toNonAssocRing.{u1} F (CommRing.toRing.{u1} F _inst_1)))))) (MulZeroClass.toHasZero.{u2} E (NonUnitalNonAssocSemiring.toMulZeroClass.{u2} E (NonUnitalNonAssocRing.toNonUnitalNonAssocSemiring.{u2} E (NonAssocRing.toNonUnitalNonAssocRing.{u2} E (Ring.toNonAssocRing.{u2} E _inst_2))))) (SMulZeroClass.toHasSmul.{u1, u2} F E (AddZeroClass.toHasZero.{u2} E (AddMonoid.toAddZeroClass.{u2} E (AddCommMonoid.toAddMonoid.{u2} E (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2))))))) (SMulWithZero.toSmulZeroClass.{u1, u2} F E (MulZeroClass.toHasZero.{u1} F (MulZeroOneClass.toMulZeroClass.{u1} F (MonoidWithZero.toMulZeroOneClass.{u1} F (Semiring.toMonoidWithZero.{u1} F (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)))))) (AddZeroClass.toHasZero.{u2} E (AddMonoid.toAddZeroClass.{u2} E (AddCommMonoid.toAddMonoid.{u2} E (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2))))))) (MulActionWithZero.toSMulWithZero.{u1, u2} F E (Semiring.toMonoidWithZero.{u1} F (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1))) (AddZeroClass.toHasZero.{u2} E (AddMonoid.toAddZeroClass.{u2} E (AddCommMonoid.toAddMonoid.{u2} E (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2))))))) (Module.toMulActionWithZero.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)))))] [_inst_6 : Nontrivial.{u2} E], Eq.{1} Nat (FiniteDimensional.finrank.{u1, u2} F (coeSort.{succ u2, succ (succ u2)} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) Type.{u2} (SetLike.hasCoeToSort.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) E (Subalgebra.setLike.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (Bot.bot.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (CompleteLattice.toHasBot.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (Algebra.Subalgebra.completeLattice.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)))) (Ring.toSemiring.{u1} F (CommRing.toRing.{u1} F _inst_1)) (NonUnitalNonAssocRing.toAddCommGroup.{u2} (coeSort.{succ u2, succ (succ u2)} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) Type.{u2} (SetLike.hasCoeToSort.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) E (Subalgebra.setLike.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (Bot.bot.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (CompleteLattice.toHasBot.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (Algebra.Subalgebra.completeLattice.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)))) (NonAssocRing.toNonUnitalNonAssocRing.{u2} (coeSort.{succ u2, succ (succ u2)} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) Type.{u2} (SetLike.hasCoeToSort.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) E (Subalgebra.setLike.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (Bot.bot.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (CompleteLattice.toHasBot.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (Algebra.Subalgebra.completeLattice.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)))) (Ring.toNonAssocRing.{u2} (coeSort.{succ u2, succ (succ u2)} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) Type.{u2} (SetLike.hasCoeToSort.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) E (Subalgebra.setLike.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (Bot.bot.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (CompleteLattice.toHasBot.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (Algebra.Subalgebra.completeLattice.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)))) (Subalgebra.toRing.{u1, u2} F E _inst_1 _inst_2 _inst_3 (Bot.bot.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (CompleteLattice.toHasBot.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (Algebra.Subalgebra.completeLattice.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3))))))) (Subalgebra.module.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3 (Bot.bot.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (CompleteLattice.toHasBot.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (Algebra.Subalgebra.completeLattice.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3))))) (OfNat.ofNat.{0} Nat 1 (OfNat.mk.{0} Nat 1 (One.one.{0} Nat Nat.hasOne)))
 but is expected to have type
-  forall {F : Type.{u2}} {E : Type.{u1}} [_inst_1 : CommRing.{u2} F] [_inst_2 : Ring.{u1} E] [_inst_3 : Algebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2)] [_inst_4 : StrongRankCondition.{u2} F (Ring.toSemiring.{u2} F (CommRing.toRing.{u2} F _inst_1))] [_inst_5 : NoZeroSMulDivisors.{u2, u1} F E (CommMonoidWithZero.toZero.{u2} F (CommSemiring.toCommMonoidWithZero.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1))) (MonoidWithZero.toZero.{u1} E (Semiring.toMonoidWithZero.{u1} E (Ring.toSemiring.{u1} E _inst_2))) (Algebra.toSMul.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)] [_inst_6 : Nontrivial.{u1} E], Eq.{1} Nat (FiniteDimensional.finrank.{u2, u1} F (Subtype.{succ u1} E (fun (x : E) => Membership.mem.{u1, u1} E (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (SetLike.instMembership.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) E (Subalgebra.instSetLikeSubalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) x (Bot.bot.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (CompleteLattice.toBot.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Algebra.instCompleteLatticeSubalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3))))) (Ring.toSemiring.{u2} F (CommRing.toRing.{u2} F _inst_1)) (Ring.toAddCommGroup.{u1} (Subtype.{succ u1} E (fun (x : E) => Membership.mem.{u1, u1} E (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (SetLike.instMembership.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) E (Subalgebra.instSetLikeSubalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) x (Bot.bot.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (CompleteLattice.toBot.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Algebra.instCompleteLatticeSubalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3))))) (Subalgebra.toRing.{u2, u1} F E _inst_1 _inst_2 _inst_3 (Bot.bot.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (CompleteLattice.toBot.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Algebra.instCompleteLatticeSubalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3))))) (Subalgebra.instModuleSubtypeMemSubalgebraInstMembershipInstSetLikeSubalgebraToSemiringToAddCommMonoidToNonUnitalNonAssocSemiringToNonAssocSemiringToNonAssocSemiringToSubsemiring.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3 (Bot.bot.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (CompleteLattice.toBot.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Algebra.instCompleteLatticeSubalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3))))) (OfNat.ofNat.{0} Nat 1 (instOfNatNat 1))
+  forall {F : Type.{u2}} {E : Type.{u1}} [_inst_1 : CommRing.{u2} F] [_inst_2 : Ring.{u1} E] [_inst_3 : Algebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2)] [_inst_4 : StrongRankCondition.{u2} F (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1))] [_inst_5 : NoZeroSMulDivisors.{u2, u1} F E (CommMonoidWithZero.toZero.{u2} F (CommSemiring.toCommMonoidWithZero.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1))) (MonoidWithZero.toZero.{u1} E (Semiring.toMonoidWithZero.{u1} E (Ring.toSemiring.{u1} E _inst_2))) (Algebra.toSMul.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)] [_inst_6 : Nontrivial.{u1} E], Eq.{1} Nat (FiniteDimensional.finrank.{u2, u1} F (Subtype.{succ u1} E (fun (x : E) => Membership.mem.{u1, u1} E (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (SetLike.instMembership.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) E (Subalgebra.instSetLikeSubalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) x (Bot.bot.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (CompleteLattice.toBot.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Algebra.instCompleteLatticeSubalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3))))) (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (Ring.toAddCommGroup.{u1} (Subtype.{succ u1} E (fun (x : E) => Membership.mem.{u1, u1} E (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (SetLike.instMembership.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) E (Subalgebra.instSetLikeSubalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) x (Bot.bot.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (CompleteLattice.toBot.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Algebra.instCompleteLatticeSubalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3))))) (Subalgebra.toRing.{u2, u1} F E _inst_1 _inst_2 _inst_3 (Bot.bot.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (CompleteLattice.toBot.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Algebra.instCompleteLatticeSubalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3))))) (Subalgebra.instModuleSubtypeMemSubalgebraInstMembershipInstSetLikeSubalgebraToSemiringToAddCommMonoidToNonUnitalNonAssocSemiringToNonAssocSemiringToNonAssocSemiringToSubsemiring.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3 (Bot.bot.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (CompleteLattice.toBot.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Algebra.instCompleteLatticeSubalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3))))) (OfNat.ofNat.{0} Nat 1 (instOfNatNat 1))
 Case conversion may be inaccurate. Consider using '#align subalgebra.finrank_bot Subalgebra.finrank_botₓ'. -/
 @[simp]
 theorem Subalgebra.finrank_bot : finrank F (⊥ : Subalgebra F E) = 1 :=
Diff
@@ -755,7 +755,7 @@ variable {F E : Type _} [CommRing F] [Ring E] [Algebra F E]
 lean 3 declaration is
   forall {F : Type.{u1}} {E : Type.{u2}} [_inst_1 : CommRing.{u1} F] [_inst_2 : Ring.{u2} E] [_inst_3 : Algebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2)] (S : Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3), Eq.{succ (succ u2)} Cardinal.{u2} (Module.rank.{u1, u2} F (coeSort.{succ u2, succ (succ u2)} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) Type.{u2} (SetLike.hasCoeToSort.{u2, u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) E (Submodule.setLike.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3))) (coeFn.{succ u2, succ u2} (OrderEmbedding.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (Preorder.toLE.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (PartialOrder.toPreorder.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (SetLike.partialOrder.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) E (Subalgebra.setLike.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)))) (Preorder.toLE.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (PartialOrder.toPreorder.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (CompleteSemilatticeInf.toPartialOrder.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (CompleteLattice.toCompleteSemilatticeInf.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (Submodule.completeLattice.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3))))))) (fun (_x : RelEmbedding.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (LE.le.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (Preorder.toLE.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (PartialOrder.toPreorder.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (SetLike.partialOrder.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) E (Subalgebra.setLike.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3))))) (LE.le.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (Preorder.toLE.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (PartialOrder.toPreorder.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (CompleteSemilatticeInf.toPartialOrder.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (CompleteLattice.toCompleteSemilatticeInf.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (Submodule.completeLattice.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)))))))) => (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) -> (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3))) (RelEmbedding.hasCoeToFun.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (LE.le.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (Preorder.toLE.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (PartialOrder.toPreorder.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (SetLike.partialOrder.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) E (Subalgebra.setLike.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3))))) (LE.le.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (Preorder.toLE.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (PartialOrder.toPreorder.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (CompleteSemilatticeInf.toPartialOrder.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (CompleteLattice.toCompleteSemilatticeInf.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (Submodule.completeLattice.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)))))))) (Subalgebra.toSubmodule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) S)) (Ring.toSemiring.{u1} F (CommRing.toRing.{u1} F _inst_1)) (Submodule.addCommMonoid.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (coeFn.{succ u2, succ u2} (OrderEmbedding.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (Preorder.toLE.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (PartialOrder.toPreorder.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (SetLike.partialOrder.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) E (Subalgebra.setLike.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)))) (Preorder.toLE.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (PartialOrder.toPreorder.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (CompleteSemilatticeInf.toPartialOrder.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (CompleteLattice.toCompleteSemilatticeInf.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (Submodule.completeLattice.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3))))))) (fun (_x : RelEmbedding.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (LE.le.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (Preorder.toLE.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (PartialOrder.toPreorder.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (SetLike.partialOrder.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) E (Subalgebra.setLike.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3))))) (LE.le.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (Preorder.toLE.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (PartialOrder.toPreorder.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (CompleteSemilatticeInf.toPartialOrder.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (CompleteLattice.toCompleteSemilatticeInf.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (Submodule.completeLattice.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)))))))) => (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) -> (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3))) (RelEmbedding.hasCoeToFun.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (LE.le.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (Preorder.toLE.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (PartialOrder.toPreorder.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (SetLike.partialOrder.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) E (Subalgebra.setLike.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3))))) (LE.le.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (Preorder.toLE.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (PartialOrder.toPreorder.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (CompleteSemilatticeInf.toPartialOrder.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (CompleteLattice.toCompleteSemilatticeInf.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (Submodule.completeLattice.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)))))))) (Subalgebra.toSubmodule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) S)) (Submodule.module.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (coeFn.{succ u2, succ u2} (OrderEmbedding.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (Preorder.toLE.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (PartialOrder.toPreorder.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (SetLike.partialOrder.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) E (Subalgebra.setLike.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)))) (Preorder.toLE.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (PartialOrder.toPreorder.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (CompleteSemilatticeInf.toPartialOrder.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (CompleteLattice.toCompleteSemilatticeInf.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (Submodule.completeLattice.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3))))))) (fun (_x : RelEmbedding.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (LE.le.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (Preorder.toLE.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (PartialOrder.toPreorder.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (SetLike.partialOrder.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) E (Subalgebra.setLike.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3))))) (LE.le.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (Preorder.toLE.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (PartialOrder.toPreorder.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (CompleteSemilatticeInf.toPartialOrder.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (CompleteLattice.toCompleteSemilatticeInf.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (Submodule.completeLattice.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)))))))) => (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) -> (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3))) (RelEmbedding.hasCoeToFun.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (LE.le.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (Preorder.toLE.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (PartialOrder.toPreorder.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (SetLike.partialOrder.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) E (Subalgebra.setLike.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3))))) (LE.le.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (Preorder.toLE.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (PartialOrder.toPreorder.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (CompleteSemilatticeInf.toPartialOrder.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (CompleteLattice.toCompleteSemilatticeInf.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (Submodule.completeLattice.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)))))))) (Subalgebra.toSubmodule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) S))) (Module.rank.{u1, u2} F (coeSort.{succ u2, succ (succ u2)} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) Type.{u2} (SetLike.hasCoeToSort.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) E (Subalgebra.setLike.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) S) (Ring.toSemiring.{u1} F (CommRing.toRing.{u1} F _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} (coeSort.{succ u2, succ (succ u2)} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) Type.{u2} (SetLike.hasCoeToSort.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) E (Subalgebra.setLike.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) S) (NonUnitalNonAssocRing.toAddCommGroup.{u2} (coeSort.{succ u2, succ (succ u2)} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) Type.{u2} (SetLike.hasCoeToSort.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) E (Subalgebra.setLike.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) S) (NonAssocRing.toNonUnitalNonAssocRing.{u2} (coeSort.{succ u2, succ (succ u2)} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) Type.{u2} (SetLike.hasCoeToSort.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) E (Subalgebra.setLike.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) S) (Ring.toNonAssocRing.{u2} (coeSort.{succ u2, succ (succ u2)} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) Type.{u2} (SetLike.hasCoeToSort.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) E (Subalgebra.setLike.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) S) (Subalgebra.toRing.{u1, u2} F E _inst_1 _inst_2 _inst_3 S))))) (Subalgebra.module.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3 S))
 but is expected to have type
-  forall {F : Type.{u2}} {E : Type.{u1}} [_inst_1 : CommRing.{u2} F] [_inst_2 : Ring.{u1} E] [_inst_3 : Algebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2)] (S : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3), Eq.{succ (succ u1)} Cardinal.{u1} (Module.rank.{u2, u1} F (Subtype.{succ u1} E (fun (x : E) => Membership.mem.{u1, u1} E ((fun (x._@.Mathlib.Data.FunLike.Embedding._hyg.19 : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) => Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) S) (SetLike.instMembership.{u1, u1} ((fun (x._@.Mathlib.Data.FunLike.Embedding._hyg.19 : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) => Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) S) E (Submodule.setLike.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3))) x (FunLike.coe.{succ u1, succ u1, succ u1} (Function.Embedding.{succ u1, succ u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3))) (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (fun (a : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) => (fun (x._@.Mathlib.Data.FunLike.Embedding._hyg.19 : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) => Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) a) (EmbeddingLike.toFunLike.{succ u1, succ u1, succ u1} (Function.Embedding.{succ u1, succ u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3))) (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Function.instEmbeddingLikeEmbedding.{succ u1, succ u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)))) (RelEmbedding.toEmbedding.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.680 : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (x._@.Mathlib.Order.Hom.Basic._hyg.682 : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) => LE.le.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Preorder.toLE.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (PartialOrder.toPreorder.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (SetLike.instPartialOrder.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) E (Subalgebra.instSetLikeSubalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)))) x._@.Mathlib.Order.Hom.Basic._hyg.680 x._@.Mathlib.Order.Hom.Basic._hyg.682) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.695 : Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (x._@.Mathlib.Order.Hom.Basic._hyg.697 : Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) => LE.le.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Preorder.toLE.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (PartialOrder.toPreorder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (OmegaCompletePartialOrder.toPartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (CompleteLattice.instOmegaCompletePartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Submodule.completeLattice.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)))))) x._@.Mathlib.Order.Hom.Basic._hyg.695 x._@.Mathlib.Order.Hom.Basic._hyg.697) (Subalgebra.toSubmodule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) S))) (Ring.toSemiring.{u2} F (CommRing.toRing.{u2} F _inst_1)) (Submodule.addCommMonoid.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (FunLike.coe.{succ u1, succ u1, succ u1} (Function.Embedding.{succ u1, succ u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3))) (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (fun (_x : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) => (fun (x._@.Mathlib.Data.FunLike.Embedding._hyg.19 : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) => Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) _x) (EmbeddingLike.toFunLike.{succ u1, succ u1, succ u1} (Function.Embedding.{succ u1, succ u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3))) (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Function.instEmbeddingLikeEmbedding.{succ u1, succ u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)))) (RelEmbedding.toEmbedding.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.680 : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (x._@.Mathlib.Order.Hom.Basic._hyg.682 : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) => LE.le.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Preorder.toLE.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (PartialOrder.toPreorder.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (SetLike.instPartialOrder.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) E (Subalgebra.instSetLikeSubalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)))) x._@.Mathlib.Order.Hom.Basic._hyg.680 x._@.Mathlib.Order.Hom.Basic._hyg.682) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.695 : Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (x._@.Mathlib.Order.Hom.Basic._hyg.697 : Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) => LE.le.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Preorder.toLE.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (PartialOrder.toPreorder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (OmegaCompletePartialOrder.toPartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (CompleteLattice.instOmegaCompletePartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Submodule.completeLattice.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)))))) x._@.Mathlib.Order.Hom.Basic._hyg.695 x._@.Mathlib.Order.Hom.Basic._hyg.697) (Subalgebra.toSubmodule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) S)) (Submodule.module.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (FunLike.coe.{succ u1, succ u1, succ u1} (Function.Embedding.{succ u1, succ u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3))) (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (fun (_x : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) => (fun (x._@.Mathlib.Data.FunLike.Embedding._hyg.19 : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) => Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) _x) (EmbeddingLike.toFunLike.{succ u1, succ u1, succ u1} (Function.Embedding.{succ u1, succ u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3))) (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Function.instEmbeddingLikeEmbedding.{succ u1, succ u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)))) (RelEmbedding.toEmbedding.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.680 : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (x._@.Mathlib.Order.Hom.Basic._hyg.682 : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) => LE.le.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Preorder.toLE.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (PartialOrder.toPreorder.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (SetLike.instPartialOrder.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) E (Subalgebra.instSetLikeSubalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)))) x._@.Mathlib.Order.Hom.Basic._hyg.680 x._@.Mathlib.Order.Hom.Basic._hyg.682) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.695 : Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (x._@.Mathlib.Order.Hom.Basic._hyg.697 : Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) => LE.le.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Preorder.toLE.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (PartialOrder.toPreorder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (OmegaCompletePartialOrder.toPartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (CompleteLattice.instOmegaCompletePartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Submodule.completeLattice.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)))))) x._@.Mathlib.Order.Hom.Basic._hyg.695 x._@.Mathlib.Order.Hom.Basic._hyg.697) (Subalgebra.toSubmodule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) S))) (Module.rank.{u2, u1} F (Subtype.{succ u1} E (fun (x : E) => Membership.mem.{u1, u1} E (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (SetLike.instMembership.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) E (Subalgebra.instSetLikeSubalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) x S)) (Ring.toSemiring.{u2} F (CommRing.toRing.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} (Subtype.{succ u1} E (fun (x : E) => Membership.mem.{u1, u1} E (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (SetLike.instMembership.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) E (Subalgebra.instSetLikeSubalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) x S)) (NonUnitalNonAssocRing.toNonUnitalNonAssocSemiring.{u1} (Subtype.{succ u1} E (fun (x : E) => Membership.mem.{u1, u1} E (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (SetLike.instMembership.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) E (Subalgebra.instSetLikeSubalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) x S)) (NonAssocRing.toNonUnitalNonAssocRing.{u1} (Subtype.{succ u1} E (fun (x : E) => Membership.mem.{u1, u1} E (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (SetLike.instMembership.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) E (Subalgebra.instSetLikeSubalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) x S)) (Ring.toNonAssocRing.{u1} (Subtype.{succ u1} E (fun (x : E) => Membership.mem.{u1, u1} E (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (SetLike.instMembership.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) E (Subalgebra.instSetLikeSubalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) x S)) (Subalgebra.toRing.{u2, u1} F E _inst_1 _inst_2 _inst_3 S))))) (Subalgebra.instModuleSubtypeMemSubalgebraInstMembershipInstSetLikeSubalgebraToSemiringToAddCommMonoidToNonUnitalNonAssocSemiringToNonAssocSemiringToNonAssocSemiringToSubsemiring.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3 S))
+  forall {F : Type.{u2}} {E : Type.{u1}} [_inst_1 : CommRing.{u2} F] [_inst_2 : Ring.{u1} E] [_inst_3 : Algebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2)] (S : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3), Eq.{succ (succ u1)} Cardinal.{u1} (Module.rank.{u2, u1} F (Subtype.{succ u1} E (fun (x : E) => Membership.mem.{u1, u1} E ((fun (x._@.Mathlib.Order.RelIso.Basic._hyg.867 : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) => Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) S) (SetLike.instMembership.{u1, u1} ((fun (x._@.Mathlib.Order.RelIso.Basic._hyg.867 : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) => Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) S) E (Submodule.setLike.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3))) x (FunLike.coe.{succ u1, succ u1, succ u1} (OrderEmbedding.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Preorder.toLE.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (PartialOrder.toPreorder.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (SetLike.instPartialOrder.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) E (Subalgebra.instSetLikeSubalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)))) (Preorder.toLE.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (PartialOrder.toPreorder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (OmegaCompletePartialOrder.toPartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (CompleteLattice.instOmegaCompletePartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Submodule.completeLattice.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3))))))) (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (fun (a : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) => (fun (x._@.Mathlib.Order.RelIso.Basic._hyg.867 : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) => Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) a) (RelHomClass.toFunLike.{u1, u1, u1} (OrderEmbedding.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Preorder.toLE.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (PartialOrder.toPreorder.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (SetLike.instPartialOrder.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) E (Subalgebra.instSetLikeSubalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)))) (Preorder.toLE.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (PartialOrder.toPreorder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (OmegaCompletePartialOrder.toPartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (CompleteLattice.instOmegaCompletePartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Submodule.completeLattice.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3))))))) (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.680 : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (x._@.Mathlib.Order.Hom.Basic._hyg.682 : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) => LE.le.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Preorder.toLE.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (PartialOrder.toPreorder.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (SetLike.instPartialOrder.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) E (Subalgebra.instSetLikeSubalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)))) x._@.Mathlib.Order.Hom.Basic._hyg.680 x._@.Mathlib.Order.Hom.Basic._hyg.682) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.695 : Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (x._@.Mathlib.Order.Hom.Basic._hyg.697 : Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) => LE.le.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Preorder.toLE.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (PartialOrder.toPreorder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (OmegaCompletePartialOrder.toPartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (CompleteLattice.instOmegaCompletePartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Submodule.completeLattice.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)))))) x._@.Mathlib.Order.Hom.Basic._hyg.695 x._@.Mathlib.Order.Hom.Basic._hyg.697) (RelEmbedding.instRelHomClassRelEmbedding.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.680 : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (x._@.Mathlib.Order.Hom.Basic._hyg.682 : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) => LE.le.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Preorder.toLE.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (PartialOrder.toPreorder.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (SetLike.instPartialOrder.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) E (Subalgebra.instSetLikeSubalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)))) x._@.Mathlib.Order.Hom.Basic._hyg.680 x._@.Mathlib.Order.Hom.Basic._hyg.682) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.695 : Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (x._@.Mathlib.Order.Hom.Basic._hyg.697 : Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) => LE.le.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Preorder.toLE.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (PartialOrder.toPreorder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (OmegaCompletePartialOrder.toPartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (CompleteLattice.instOmegaCompletePartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Submodule.completeLattice.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)))))) x._@.Mathlib.Order.Hom.Basic._hyg.695 x._@.Mathlib.Order.Hom.Basic._hyg.697))) (Subalgebra.toSubmodule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) S))) (Ring.toSemiring.{u2} F (CommRing.toRing.{u2} F _inst_1)) (Submodule.addCommMonoid.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (FunLike.coe.{succ u1, succ u1, succ u1} (OrderEmbedding.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Preorder.toLE.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (PartialOrder.toPreorder.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (SetLike.instPartialOrder.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) E (Subalgebra.instSetLikeSubalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)))) (Preorder.toLE.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (PartialOrder.toPreorder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (OmegaCompletePartialOrder.toPartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (CompleteLattice.instOmegaCompletePartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Submodule.completeLattice.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3))))))) (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (fun (_x : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) => (fun (x._@.Mathlib.Order.RelIso.Basic._hyg.867 : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) => Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) _x) (RelHomClass.toFunLike.{u1, u1, u1} (OrderEmbedding.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Preorder.toLE.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (PartialOrder.toPreorder.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (SetLike.instPartialOrder.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) E (Subalgebra.instSetLikeSubalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)))) (Preorder.toLE.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (PartialOrder.toPreorder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (OmegaCompletePartialOrder.toPartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (CompleteLattice.instOmegaCompletePartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Submodule.completeLattice.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3))))))) (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.680 : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (x._@.Mathlib.Order.Hom.Basic._hyg.682 : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) => LE.le.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Preorder.toLE.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (PartialOrder.toPreorder.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (SetLike.instPartialOrder.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) E (Subalgebra.instSetLikeSubalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)))) x._@.Mathlib.Order.Hom.Basic._hyg.680 x._@.Mathlib.Order.Hom.Basic._hyg.682) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.695 : Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (x._@.Mathlib.Order.Hom.Basic._hyg.697 : Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) => LE.le.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Preorder.toLE.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (PartialOrder.toPreorder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (OmegaCompletePartialOrder.toPartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (CompleteLattice.instOmegaCompletePartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Submodule.completeLattice.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)))))) x._@.Mathlib.Order.Hom.Basic._hyg.695 x._@.Mathlib.Order.Hom.Basic._hyg.697) (RelEmbedding.instRelHomClassRelEmbedding.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.680 : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (x._@.Mathlib.Order.Hom.Basic._hyg.682 : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) => LE.le.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Preorder.toLE.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (PartialOrder.toPreorder.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (SetLike.instPartialOrder.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) E (Subalgebra.instSetLikeSubalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)))) x._@.Mathlib.Order.Hom.Basic._hyg.680 x._@.Mathlib.Order.Hom.Basic._hyg.682) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.695 : Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (x._@.Mathlib.Order.Hom.Basic._hyg.697 : Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) => LE.le.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Preorder.toLE.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (PartialOrder.toPreorder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (OmegaCompletePartialOrder.toPartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (CompleteLattice.instOmegaCompletePartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Submodule.completeLattice.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)))))) x._@.Mathlib.Order.Hom.Basic._hyg.695 x._@.Mathlib.Order.Hom.Basic._hyg.697))) (Subalgebra.toSubmodule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) S)) (Submodule.module.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (FunLike.coe.{succ u1, succ u1, succ u1} (OrderEmbedding.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Preorder.toLE.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (PartialOrder.toPreorder.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (SetLike.instPartialOrder.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) E (Subalgebra.instSetLikeSubalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)))) (Preorder.toLE.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (PartialOrder.toPreorder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (OmegaCompletePartialOrder.toPartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (CompleteLattice.instOmegaCompletePartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Submodule.completeLattice.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3))))))) (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (fun (_x : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) => (fun (x._@.Mathlib.Order.RelIso.Basic._hyg.867 : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) => Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) _x) (RelHomClass.toFunLike.{u1, u1, u1} (OrderEmbedding.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Preorder.toLE.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (PartialOrder.toPreorder.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (SetLike.instPartialOrder.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) E (Subalgebra.instSetLikeSubalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)))) (Preorder.toLE.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (PartialOrder.toPreorder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (OmegaCompletePartialOrder.toPartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (CompleteLattice.instOmegaCompletePartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Submodule.completeLattice.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3))))))) (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.680 : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (x._@.Mathlib.Order.Hom.Basic._hyg.682 : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) => LE.le.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Preorder.toLE.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (PartialOrder.toPreorder.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (SetLike.instPartialOrder.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) E (Subalgebra.instSetLikeSubalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)))) x._@.Mathlib.Order.Hom.Basic._hyg.680 x._@.Mathlib.Order.Hom.Basic._hyg.682) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.695 : Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (x._@.Mathlib.Order.Hom.Basic._hyg.697 : Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) => LE.le.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Preorder.toLE.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (PartialOrder.toPreorder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (OmegaCompletePartialOrder.toPartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (CompleteLattice.instOmegaCompletePartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Submodule.completeLattice.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)))))) x._@.Mathlib.Order.Hom.Basic._hyg.695 x._@.Mathlib.Order.Hom.Basic._hyg.697) (RelEmbedding.instRelHomClassRelEmbedding.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.680 : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (x._@.Mathlib.Order.Hom.Basic._hyg.682 : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) => LE.le.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Preorder.toLE.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (PartialOrder.toPreorder.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (SetLike.instPartialOrder.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) E (Subalgebra.instSetLikeSubalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)))) x._@.Mathlib.Order.Hom.Basic._hyg.680 x._@.Mathlib.Order.Hom.Basic._hyg.682) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.695 : Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (x._@.Mathlib.Order.Hom.Basic._hyg.697 : Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) => LE.le.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Preorder.toLE.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (PartialOrder.toPreorder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (OmegaCompletePartialOrder.toPartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (CompleteLattice.instOmegaCompletePartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Submodule.completeLattice.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)))))) x._@.Mathlib.Order.Hom.Basic._hyg.695 x._@.Mathlib.Order.Hom.Basic._hyg.697))) (Subalgebra.toSubmodule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) S))) (Module.rank.{u2, u1} F (Subtype.{succ u1} E (fun (x : E) => Membership.mem.{u1, u1} E (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (SetLike.instMembership.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) E (Subalgebra.instSetLikeSubalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) x S)) (Ring.toSemiring.{u2} F (CommRing.toRing.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} (Subtype.{succ u1} E (fun (x : E) => Membership.mem.{u1, u1} E (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (SetLike.instMembership.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) E (Subalgebra.instSetLikeSubalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) x S)) (NonUnitalNonAssocRing.toNonUnitalNonAssocSemiring.{u1} (Subtype.{succ u1} E (fun (x : E) => Membership.mem.{u1, u1} E (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (SetLike.instMembership.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) E (Subalgebra.instSetLikeSubalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) x S)) (NonAssocRing.toNonUnitalNonAssocRing.{u1} (Subtype.{succ u1} E (fun (x : E) => Membership.mem.{u1, u1} E (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (SetLike.instMembership.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) E (Subalgebra.instSetLikeSubalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) x S)) (Ring.toNonAssocRing.{u1} (Subtype.{succ u1} E (fun (x : E) => Membership.mem.{u1, u1} E (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (SetLike.instMembership.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) E (Subalgebra.instSetLikeSubalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) x S)) (Subalgebra.toRing.{u2, u1} F E _inst_1 _inst_2 _inst_3 S))))) (Subalgebra.instModuleSubtypeMemSubalgebraInstMembershipInstSetLikeSubalgebraToSemiringToAddCommMonoidToNonUnitalNonAssocSemiringToNonAssocSemiringToNonAssocSemiringToSubsemiring.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3 S))
 Case conversion may be inaccurate. Consider using '#align subalgebra.rank_to_submodule Subalgebra.rank_toSubmoduleₓ'. -/
 @[simp]
 theorem Subalgebra.rank_toSubmodule (S : Subalgebra F E) :
@@ -767,7 +767,7 @@ theorem Subalgebra.rank_toSubmodule (S : Subalgebra F E) :
 lean 3 declaration is
   forall {F : Type.{u1}} {E : Type.{u2}} [_inst_1 : CommRing.{u1} F] [_inst_2 : Ring.{u2} E] [_inst_3 : Algebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2)] (S : Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3), Eq.{1} Nat (FiniteDimensional.finrank.{u1, u2} F (coeSort.{succ u2, succ (succ u2)} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) Type.{u2} (SetLike.hasCoeToSort.{u2, u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) E (Submodule.setLike.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3))) (coeFn.{succ u2, succ u2} (OrderEmbedding.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (Preorder.toLE.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (PartialOrder.toPreorder.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (SetLike.partialOrder.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) E (Subalgebra.setLike.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)))) (Preorder.toLE.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (PartialOrder.toPreorder.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (CompleteSemilatticeInf.toPartialOrder.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (CompleteLattice.toCompleteSemilatticeInf.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (Submodule.completeLattice.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3))))))) (fun (_x : RelEmbedding.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (LE.le.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (Preorder.toLE.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (PartialOrder.toPreorder.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (SetLike.partialOrder.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) E (Subalgebra.setLike.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3))))) (LE.le.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (Preorder.toLE.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (PartialOrder.toPreorder.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (CompleteSemilatticeInf.toPartialOrder.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (CompleteLattice.toCompleteSemilatticeInf.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (Submodule.completeLattice.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)))))))) => (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) -> (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3))) (RelEmbedding.hasCoeToFun.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (LE.le.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (Preorder.toLE.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (PartialOrder.toPreorder.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (SetLike.partialOrder.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) E (Subalgebra.setLike.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3))))) (LE.le.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (Preorder.toLE.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (PartialOrder.toPreorder.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (CompleteSemilatticeInf.toPartialOrder.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (CompleteLattice.toCompleteSemilatticeInf.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (Submodule.completeLattice.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)))))))) (Subalgebra.toSubmodule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) S)) (Ring.toSemiring.{u1} F (CommRing.toRing.{u1} F _inst_1)) (Submodule.addCommGroup.{u1, u2} F E (CommRing.toRing.{u1} F _inst_1) (NonUnitalNonAssocRing.toAddCommGroup.{u2} E (NonAssocRing.toNonUnitalNonAssocRing.{u2} E (Ring.toNonAssocRing.{u2} E _inst_2))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (coeFn.{succ u2, succ u2} (OrderEmbedding.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (Preorder.toLE.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (PartialOrder.toPreorder.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (SetLike.partialOrder.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) E (Subalgebra.setLike.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)))) (Preorder.toLE.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (PartialOrder.toPreorder.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (CompleteSemilatticeInf.toPartialOrder.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (CompleteLattice.toCompleteSemilatticeInf.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (Submodule.completeLattice.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3))))))) (fun (_x : RelEmbedding.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (LE.le.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (Preorder.toLE.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (PartialOrder.toPreorder.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (SetLike.partialOrder.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) E (Subalgebra.setLike.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3))))) (LE.le.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (Preorder.toLE.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (PartialOrder.toPreorder.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (CompleteSemilatticeInf.toPartialOrder.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (CompleteLattice.toCompleteSemilatticeInf.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (Submodule.completeLattice.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)))))))) => (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) -> (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3))) (RelEmbedding.hasCoeToFun.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (LE.le.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (Preorder.toLE.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (PartialOrder.toPreorder.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (SetLike.partialOrder.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) E (Subalgebra.setLike.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3))))) (LE.le.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (Preorder.toLE.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (PartialOrder.toPreorder.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (CompleteSemilatticeInf.toPartialOrder.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (CompleteLattice.toCompleteSemilatticeInf.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (Submodule.completeLattice.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)))))))) (Subalgebra.toSubmodule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) S)) (Submodule.module.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (coeFn.{succ u2, succ u2} (OrderEmbedding.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (Preorder.toLE.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (PartialOrder.toPreorder.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (SetLike.partialOrder.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) E (Subalgebra.setLike.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)))) (Preorder.toLE.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (PartialOrder.toPreorder.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (CompleteSemilatticeInf.toPartialOrder.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (CompleteLattice.toCompleteSemilatticeInf.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (Submodule.completeLattice.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3))))))) (fun (_x : RelEmbedding.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (LE.le.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (Preorder.toLE.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (PartialOrder.toPreorder.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (SetLike.partialOrder.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) E (Subalgebra.setLike.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3))))) (LE.le.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (Preorder.toLE.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (PartialOrder.toPreorder.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (CompleteSemilatticeInf.toPartialOrder.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (CompleteLattice.toCompleteSemilatticeInf.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (Submodule.completeLattice.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)))))))) => (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) -> (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3))) (RelEmbedding.hasCoeToFun.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (LE.le.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (Preorder.toLE.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (PartialOrder.toPreorder.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (SetLike.partialOrder.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) E (Subalgebra.setLike.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3))))) (LE.le.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (Preorder.toLE.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (PartialOrder.toPreorder.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (CompleteSemilatticeInf.toPartialOrder.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (CompleteLattice.toCompleteSemilatticeInf.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (Submodule.completeLattice.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)))))))) (Subalgebra.toSubmodule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) S))) (FiniteDimensional.finrank.{u1, u2} F (coeSort.{succ u2, succ (succ u2)} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) Type.{u2} (SetLike.hasCoeToSort.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) E (Subalgebra.setLike.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) S) (Ring.toSemiring.{u1} F (CommRing.toRing.{u1} F _inst_1)) (NonUnitalNonAssocRing.toAddCommGroup.{u2} (coeSort.{succ u2, succ (succ u2)} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) Type.{u2} (SetLike.hasCoeToSort.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) E (Subalgebra.setLike.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) S) (NonAssocRing.toNonUnitalNonAssocRing.{u2} (coeSort.{succ u2, succ (succ u2)} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) Type.{u2} (SetLike.hasCoeToSort.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) E (Subalgebra.setLike.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) S) (Ring.toNonAssocRing.{u2} (coeSort.{succ u2, succ (succ u2)} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) Type.{u2} (SetLike.hasCoeToSort.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) E (Subalgebra.setLike.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) S) (Subalgebra.toRing.{u1, u2} F E _inst_1 _inst_2 _inst_3 S)))) (Subalgebra.module.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3 S))
 but is expected to have type
-  forall {F : Type.{u2}} {E : Type.{u1}} [_inst_1 : CommRing.{u2} F] [_inst_2 : Ring.{u1} E] [_inst_3 : Algebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2)] (S : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3), Eq.{1} Nat (FiniteDimensional.finrank.{u2, u1} F (Subtype.{succ u1} E (fun (x : E) => Membership.mem.{u1, u1} E ((fun (x._@.Mathlib.Data.FunLike.Embedding._hyg.19 : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) => Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) S) (SetLike.instMembership.{u1, u1} ((fun (x._@.Mathlib.Data.FunLike.Embedding._hyg.19 : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) => Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) S) E (Submodule.setLike.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3))) x (FunLike.coe.{succ u1, succ u1, succ u1} (Function.Embedding.{succ u1, succ u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3))) (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (fun (a : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) => (fun (x._@.Mathlib.Data.FunLike.Embedding._hyg.19 : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) => Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) a) (EmbeddingLike.toFunLike.{succ u1, succ u1, succ u1} (Function.Embedding.{succ u1, succ u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3))) (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Function.instEmbeddingLikeEmbedding.{succ u1, succ u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)))) (RelEmbedding.toEmbedding.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.680 : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (x._@.Mathlib.Order.Hom.Basic._hyg.682 : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) => LE.le.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Preorder.toLE.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (PartialOrder.toPreorder.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (SetLike.instPartialOrder.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) E (Subalgebra.instSetLikeSubalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)))) x._@.Mathlib.Order.Hom.Basic._hyg.680 x._@.Mathlib.Order.Hom.Basic._hyg.682) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.695 : Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (x._@.Mathlib.Order.Hom.Basic._hyg.697 : Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) => LE.le.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Preorder.toLE.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (PartialOrder.toPreorder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (OmegaCompletePartialOrder.toPartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (CompleteLattice.instOmegaCompletePartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Submodule.completeLattice.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)))))) x._@.Mathlib.Order.Hom.Basic._hyg.695 x._@.Mathlib.Order.Hom.Basic._hyg.697) (Subalgebra.toSubmodule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) S))) (Ring.toSemiring.{u2} F (CommRing.toRing.{u2} F _inst_1)) (Submodule.addCommGroup.{u2, u1} F E (CommRing.toRing.{u2} F _inst_1) (Ring.toAddCommGroup.{u1} E _inst_2) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (FunLike.coe.{succ u1, succ u1, succ u1} (Function.Embedding.{succ u1, succ u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3))) (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (fun (_x : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) => (fun (x._@.Mathlib.Data.FunLike.Embedding._hyg.19 : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) => Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) _x) (EmbeddingLike.toFunLike.{succ u1, succ u1, succ u1} (Function.Embedding.{succ u1, succ u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3))) (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Function.instEmbeddingLikeEmbedding.{succ u1, succ u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)))) (RelEmbedding.toEmbedding.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.680 : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (x._@.Mathlib.Order.Hom.Basic._hyg.682 : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) => LE.le.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Preorder.toLE.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (PartialOrder.toPreorder.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (SetLike.instPartialOrder.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) E (Subalgebra.instSetLikeSubalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)))) x._@.Mathlib.Order.Hom.Basic._hyg.680 x._@.Mathlib.Order.Hom.Basic._hyg.682) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.695 : Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (x._@.Mathlib.Order.Hom.Basic._hyg.697 : Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) => LE.le.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Preorder.toLE.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (PartialOrder.toPreorder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (OmegaCompletePartialOrder.toPartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (CompleteLattice.instOmegaCompletePartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Submodule.completeLattice.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)))))) x._@.Mathlib.Order.Hom.Basic._hyg.695 x._@.Mathlib.Order.Hom.Basic._hyg.697) (Subalgebra.toSubmodule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) S)) (Submodule.module.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (FunLike.coe.{succ u1, succ u1, succ u1} (Function.Embedding.{succ u1, succ u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3))) (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (fun (_x : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) => (fun (x._@.Mathlib.Data.FunLike.Embedding._hyg.19 : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) => Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) _x) (EmbeddingLike.toFunLike.{succ u1, succ u1, succ u1} (Function.Embedding.{succ u1, succ u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3))) (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Function.instEmbeddingLikeEmbedding.{succ u1, succ u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)))) (RelEmbedding.toEmbedding.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.680 : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (x._@.Mathlib.Order.Hom.Basic._hyg.682 : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) => LE.le.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Preorder.toLE.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (PartialOrder.toPreorder.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (SetLike.instPartialOrder.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) E (Subalgebra.instSetLikeSubalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)))) x._@.Mathlib.Order.Hom.Basic._hyg.680 x._@.Mathlib.Order.Hom.Basic._hyg.682) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.695 : Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (x._@.Mathlib.Order.Hom.Basic._hyg.697 : Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) => LE.le.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Preorder.toLE.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (PartialOrder.toPreorder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (OmegaCompletePartialOrder.toPartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (CompleteLattice.instOmegaCompletePartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Submodule.completeLattice.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)))))) x._@.Mathlib.Order.Hom.Basic._hyg.695 x._@.Mathlib.Order.Hom.Basic._hyg.697) (Subalgebra.toSubmodule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) S))) (FiniteDimensional.finrank.{u2, u1} F (Subtype.{succ u1} E (fun (x : E) => Membership.mem.{u1, u1} E (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (SetLike.instMembership.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) E (Subalgebra.instSetLikeSubalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) x S)) (Ring.toSemiring.{u2} F (CommRing.toRing.{u2} F _inst_1)) (Ring.toAddCommGroup.{u1} (Subtype.{succ u1} E (fun (x : E) => Membership.mem.{u1, u1} E (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (SetLike.instMembership.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) E (Subalgebra.instSetLikeSubalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) x S)) (Subalgebra.toRing.{u2, u1} F E _inst_1 _inst_2 _inst_3 S)) (Subalgebra.instModuleSubtypeMemSubalgebraInstMembershipInstSetLikeSubalgebraToSemiringToAddCommMonoidToNonUnitalNonAssocSemiringToNonAssocSemiringToNonAssocSemiringToSubsemiring.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3 S))
+  forall {F : Type.{u2}} {E : Type.{u1}} [_inst_1 : CommRing.{u2} F] [_inst_2 : Ring.{u1} E] [_inst_3 : Algebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2)] (S : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3), Eq.{1} Nat (FiniteDimensional.finrank.{u2, u1} F (Subtype.{succ u1} E (fun (x : E) => Membership.mem.{u1, u1} E ((fun (x._@.Mathlib.Order.RelIso.Basic._hyg.867 : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) => Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) S) (SetLike.instMembership.{u1, u1} ((fun (x._@.Mathlib.Order.RelIso.Basic._hyg.867 : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) => Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) S) E (Submodule.setLike.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3))) x (FunLike.coe.{succ u1, succ u1, succ u1} (OrderEmbedding.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Preorder.toLE.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (PartialOrder.toPreorder.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (SetLike.instPartialOrder.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) E (Subalgebra.instSetLikeSubalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)))) (Preorder.toLE.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (PartialOrder.toPreorder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (OmegaCompletePartialOrder.toPartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (CompleteLattice.instOmegaCompletePartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Submodule.completeLattice.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3))))))) (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (fun (a : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) => (fun (x._@.Mathlib.Order.RelIso.Basic._hyg.867 : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) => Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) a) (RelHomClass.toFunLike.{u1, u1, u1} (OrderEmbedding.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Preorder.toLE.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (PartialOrder.toPreorder.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (SetLike.instPartialOrder.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) E (Subalgebra.instSetLikeSubalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)))) (Preorder.toLE.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (PartialOrder.toPreorder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (OmegaCompletePartialOrder.toPartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (CompleteLattice.instOmegaCompletePartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Submodule.completeLattice.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3))))))) (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.680 : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (x._@.Mathlib.Order.Hom.Basic._hyg.682 : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) => LE.le.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Preorder.toLE.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (PartialOrder.toPreorder.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (SetLike.instPartialOrder.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) E (Subalgebra.instSetLikeSubalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)))) x._@.Mathlib.Order.Hom.Basic._hyg.680 x._@.Mathlib.Order.Hom.Basic._hyg.682) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.695 : Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (x._@.Mathlib.Order.Hom.Basic._hyg.697 : Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) => LE.le.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Preorder.toLE.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (PartialOrder.toPreorder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (OmegaCompletePartialOrder.toPartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (CompleteLattice.instOmegaCompletePartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Submodule.completeLattice.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)))))) x._@.Mathlib.Order.Hom.Basic._hyg.695 x._@.Mathlib.Order.Hom.Basic._hyg.697) (RelEmbedding.instRelHomClassRelEmbedding.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.680 : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (x._@.Mathlib.Order.Hom.Basic._hyg.682 : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) => LE.le.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Preorder.toLE.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (PartialOrder.toPreorder.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (SetLike.instPartialOrder.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) E (Subalgebra.instSetLikeSubalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)))) x._@.Mathlib.Order.Hom.Basic._hyg.680 x._@.Mathlib.Order.Hom.Basic._hyg.682) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.695 : Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (x._@.Mathlib.Order.Hom.Basic._hyg.697 : Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) => LE.le.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Preorder.toLE.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (PartialOrder.toPreorder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (OmegaCompletePartialOrder.toPartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (CompleteLattice.instOmegaCompletePartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Submodule.completeLattice.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)))))) x._@.Mathlib.Order.Hom.Basic._hyg.695 x._@.Mathlib.Order.Hom.Basic._hyg.697))) (Subalgebra.toSubmodule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) S))) (Ring.toSemiring.{u2} F (CommRing.toRing.{u2} F _inst_1)) (Submodule.addCommGroup.{u2, u1} F E (CommRing.toRing.{u2} F _inst_1) (Ring.toAddCommGroup.{u1} E _inst_2) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (FunLike.coe.{succ u1, succ u1, succ u1} (OrderEmbedding.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Preorder.toLE.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (PartialOrder.toPreorder.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (SetLike.instPartialOrder.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) E (Subalgebra.instSetLikeSubalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)))) (Preorder.toLE.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (PartialOrder.toPreorder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (OmegaCompletePartialOrder.toPartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (CompleteLattice.instOmegaCompletePartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Submodule.completeLattice.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3))))))) (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (fun (_x : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) => (fun (x._@.Mathlib.Order.RelIso.Basic._hyg.867 : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) => Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) _x) (RelHomClass.toFunLike.{u1, u1, u1} (OrderEmbedding.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Preorder.toLE.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (PartialOrder.toPreorder.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (SetLike.instPartialOrder.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) E (Subalgebra.instSetLikeSubalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)))) (Preorder.toLE.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (PartialOrder.toPreorder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (OmegaCompletePartialOrder.toPartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (CompleteLattice.instOmegaCompletePartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Submodule.completeLattice.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3))))))) (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.680 : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (x._@.Mathlib.Order.Hom.Basic._hyg.682 : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) => LE.le.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Preorder.toLE.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (PartialOrder.toPreorder.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (SetLike.instPartialOrder.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) E (Subalgebra.instSetLikeSubalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)))) x._@.Mathlib.Order.Hom.Basic._hyg.680 x._@.Mathlib.Order.Hom.Basic._hyg.682) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.695 : Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (x._@.Mathlib.Order.Hom.Basic._hyg.697 : Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) => LE.le.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Preorder.toLE.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (PartialOrder.toPreorder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (OmegaCompletePartialOrder.toPartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (CompleteLattice.instOmegaCompletePartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Submodule.completeLattice.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)))))) x._@.Mathlib.Order.Hom.Basic._hyg.695 x._@.Mathlib.Order.Hom.Basic._hyg.697) (RelEmbedding.instRelHomClassRelEmbedding.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.680 : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (x._@.Mathlib.Order.Hom.Basic._hyg.682 : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) => LE.le.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Preorder.toLE.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (PartialOrder.toPreorder.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (SetLike.instPartialOrder.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) E (Subalgebra.instSetLikeSubalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)))) x._@.Mathlib.Order.Hom.Basic._hyg.680 x._@.Mathlib.Order.Hom.Basic._hyg.682) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.695 : Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (x._@.Mathlib.Order.Hom.Basic._hyg.697 : Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) => LE.le.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Preorder.toLE.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (PartialOrder.toPreorder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (OmegaCompletePartialOrder.toPartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (CompleteLattice.instOmegaCompletePartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Submodule.completeLattice.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)))))) x._@.Mathlib.Order.Hom.Basic._hyg.695 x._@.Mathlib.Order.Hom.Basic._hyg.697))) (Subalgebra.toSubmodule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) S)) (Submodule.module.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (FunLike.coe.{succ u1, succ u1, succ u1} (OrderEmbedding.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Preorder.toLE.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (PartialOrder.toPreorder.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (SetLike.instPartialOrder.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) E (Subalgebra.instSetLikeSubalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)))) (Preorder.toLE.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (PartialOrder.toPreorder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (OmegaCompletePartialOrder.toPartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (CompleteLattice.instOmegaCompletePartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Submodule.completeLattice.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3))))))) (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (fun (_x : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) => (fun (x._@.Mathlib.Order.RelIso.Basic._hyg.867 : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) => Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) _x) (RelHomClass.toFunLike.{u1, u1, u1} (OrderEmbedding.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Preorder.toLE.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (PartialOrder.toPreorder.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (SetLike.instPartialOrder.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) E (Subalgebra.instSetLikeSubalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)))) (Preorder.toLE.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (PartialOrder.toPreorder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (OmegaCompletePartialOrder.toPartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (CompleteLattice.instOmegaCompletePartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Submodule.completeLattice.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3))))))) (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.680 : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (x._@.Mathlib.Order.Hom.Basic._hyg.682 : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) => LE.le.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Preorder.toLE.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (PartialOrder.toPreorder.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (SetLike.instPartialOrder.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) E (Subalgebra.instSetLikeSubalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)))) x._@.Mathlib.Order.Hom.Basic._hyg.680 x._@.Mathlib.Order.Hom.Basic._hyg.682) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.695 : Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (x._@.Mathlib.Order.Hom.Basic._hyg.697 : Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) => LE.le.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Preorder.toLE.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (PartialOrder.toPreorder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (OmegaCompletePartialOrder.toPartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (CompleteLattice.instOmegaCompletePartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Submodule.completeLattice.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)))))) x._@.Mathlib.Order.Hom.Basic._hyg.695 x._@.Mathlib.Order.Hom.Basic._hyg.697) (RelEmbedding.instRelHomClassRelEmbedding.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.680 : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (x._@.Mathlib.Order.Hom.Basic._hyg.682 : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) => LE.le.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Preorder.toLE.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (PartialOrder.toPreorder.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (SetLike.instPartialOrder.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) E (Subalgebra.instSetLikeSubalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)))) x._@.Mathlib.Order.Hom.Basic._hyg.680 x._@.Mathlib.Order.Hom.Basic._hyg.682) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.695 : Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (x._@.Mathlib.Order.Hom.Basic._hyg.697 : Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) => LE.le.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Preorder.toLE.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (PartialOrder.toPreorder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (OmegaCompletePartialOrder.toPartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (CompleteLattice.instOmegaCompletePartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Submodule.completeLattice.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)))))) x._@.Mathlib.Order.Hom.Basic._hyg.695 x._@.Mathlib.Order.Hom.Basic._hyg.697))) (Subalgebra.toSubmodule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) S))) (FiniteDimensional.finrank.{u2, u1} F (Subtype.{succ u1} E (fun (x : E) => Membership.mem.{u1, u1} E (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (SetLike.instMembership.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) E (Subalgebra.instSetLikeSubalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) x S)) (Ring.toSemiring.{u2} F (CommRing.toRing.{u2} F _inst_1)) (Ring.toAddCommGroup.{u1} (Subtype.{succ u1} E (fun (x : E) => Membership.mem.{u1, u1} E (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (SetLike.instMembership.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) E (Subalgebra.instSetLikeSubalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) x S)) (Subalgebra.toRing.{u2, u1} F E _inst_1 _inst_2 _inst_3 S)) (Subalgebra.instModuleSubtypeMemSubalgebraInstMembershipInstSetLikeSubalgebraToSemiringToAddCommMonoidToNonUnitalNonAssocSemiringToNonAssocSemiringToNonAssocSemiringToSubsemiring.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3 S))
 Case conversion may be inaccurate. Consider using '#align subalgebra.finrank_to_submodule Subalgebra.finrank_toSubmoduleₓ'. -/
 @[simp]
 theorem Subalgebra.finrank_toSubmodule (S : Subalgebra F E) :
Diff
@@ -4,7 +4,7 @@ Released under Apache 2.0 license as described in the file LICENSE.
 Authors: Chris Hughes, Anne Baanen
 
 ! This file was ported from Lean 3 source module linear_algebra.finrank
-! leanprover-community/mathlib commit 347636a7a80595d55bedf6e6fbd996a3c39da69a
+! leanprover-community/mathlib commit 9a48a083b390d9b84a71efbdc4e8dfa26a687104
 ! Please do not edit these lines, except to modify the commit id
 ! if you have ported upstream changes.
 -/
@@ -13,6 +13,9 @@ import Mathbin.LinearAlgebra.Dimension
 /-!
 # Finite dimension of vector spaces
 
+> THIS FILE IS SYNCHRONIZED WITH MATHLIB4.
+> Any changes to this file require a corresponding PR to mathlib4.
+
 Definition of the rank of a module, or dimension of a vector space, as a natural number.
 
 ## Main definitions
Diff
@@ -4,7 +4,7 @@ Released under Apache 2.0 license as described in the file LICENSE.
 Authors: Chris Hughes, Anne Baanen
 
 ! This file was ported from Lean 3 source module linear_algebra.finrank
-! leanprover-community/mathlib commit 8535b76e601f11868af3e612fbecb730998a5631
+! leanprover-community/mathlib commit 347636a7a80595d55bedf6e6fbd996a3c39da69a
 ! Please do not edit these lines, except to modify the commit id
 ! if you have ported upstream changes.
 -/
@@ -92,7 +92,7 @@ theorem finrank_le_of_rank_le {n : ℕ} (h : Module.rank K V ≤ ↑n) : finrank
 
 /- warning: finite_dimensional.finrank_lt_of_rank_lt -> FiniteDimensional.finrank_lt_of_rank_lt is a dubious translation:
 lean 3 declaration is
-  forall {K : Type.{u1}} {V : Type.{u2}} [_inst_1 : Ring.{u1} K] [_inst_2 : AddCommGroup.{u2} V] [_inst_3 : Module.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2)] {n : Nat}, (LT.lt.{succ u2} Cardinal.{u2} (Preorder.toLT.{succ u2} Cardinal.{u2} (PartialOrder.toPreorder.{succ u2} Cardinal.{u2} (OrderedAddCommMonoid.toPartialOrder.{succ u2} Cardinal.{u2} (OrderedSemiring.toOrderedAddCommMonoid.{succ u2} Cardinal.{u2} (OrderedCommSemiring.toOrderedSemiring.{succ u2} Cardinal.{u2} (CanonicallyOrderedCommSemiring.toOrderedCommSemiring.{succ u2} Cardinal.{u2} Cardinal.canonicallyOrderedCommSemiring.{u2})))))) (Module.rank.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) ((fun (a : Type) (b : Type.{succ u2}) [self : HasLiftT.{1, succ (succ u2)} a b] => self.0) Nat Cardinal.{u2} (HasLiftT.mk.{1, succ (succ u2)} Nat Cardinal.{u2} (CoeTCₓ.coe.{1, succ (succ u2)} Nat Cardinal.{u2} (Nat.castCoe.{succ u2} Cardinal.{u2} Cardinal.hasNatCast.{u2}))) n)) -> (LT.lt.{0} Nat Nat.hasLt (FiniteDimensional.finrank.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) _inst_2 _inst_3) n)
+  forall {K : Type.{u1}} {V : Type.{u2}} [_inst_1 : Ring.{u1} K] [_inst_2 : AddCommGroup.{u2} V] [_inst_3 : Module.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2)] {n : Nat}, (LT.lt.{succ u2} Cardinal.{u2} (Preorder.toLT.{succ u2} Cardinal.{u2} (PartialOrder.toPreorder.{succ u2} Cardinal.{u2} Cardinal.partialOrder.{u2})) (Module.rank.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) ((fun (a : Type) (b : Type.{succ u2}) [self : HasLiftT.{1, succ (succ u2)} a b] => self.0) Nat Cardinal.{u2} (HasLiftT.mk.{1, succ (succ u2)} Nat Cardinal.{u2} (CoeTCₓ.coe.{1, succ (succ u2)} Nat Cardinal.{u2} (Nat.castCoe.{succ u2} Cardinal.{u2} Cardinal.hasNatCast.{u2}))) n)) -> (LT.lt.{0} Nat Nat.hasLt (FiniteDimensional.finrank.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) _inst_2 _inst_3) n)
 but is expected to have type
   forall {K : Type.{u1}} {V : Type.{u2}} [_inst_1 : Ring.{u1} K] [_inst_2 : AddCommGroup.{u2} V] [_inst_3 : Module.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2)] {n : Nat}, (LT.lt.{succ u2} Cardinal.{u2} (Preorder.toLT.{succ u2} Cardinal.{u2} (PartialOrder.toPreorder.{succ u2} Cardinal.{u2} Cardinal.partialOrder.{u2})) (Module.rank.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (Nat.cast.{succ u2} Cardinal.{u2} Cardinal.instNatCastCardinal.{u2} n)) -> (LT.lt.{0} Nat instLTNat (FiniteDimensional.finrank.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) _inst_2 _inst_3) n)
 Case conversion may be inaccurate. Consider using '#align finite_dimensional.finrank_lt_of_rank_lt FiniteDimensional.finrank_lt_of_rank_ltₓ'. -/
@@ -105,7 +105,7 @@ theorem finrank_lt_of_rank_lt {n : ℕ} (h : Module.rank K V < ↑n) : finrank K
 
 /- warning: finite_dimensional.rank_lt_of_finrank_lt -> FiniteDimensional.rank_lt_of_finrank_lt is a dubious translation:
 lean 3 declaration is
-  forall {K : Type.{u1}} {V : Type.{u2}} [_inst_1 : Ring.{u1} K] [_inst_2 : AddCommGroup.{u2} V] [_inst_3 : Module.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2)] {n : Nat}, (LT.lt.{0} Nat Nat.hasLt n (FiniteDimensional.finrank.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) _inst_2 _inst_3)) -> (LT.lt.{succ u2} Cardinal.{u2} (Preorder.toLT.{succ u2} Cardinal.{u2} (PartialOrder.toPreorder.{succ u2} Cardinal.{u2} (OrderedAddCommMonoid.toPartialOrder.{succ u2} Cardinal.{u2} (OrderedSemiring.toOrderedAddCommMonoid.{succ u2} Cardinal.{u2} (OrderedCommSemiring.toOrderedSemiring.{succ u2} Cardinal.{u2} (CanonicallyOrderedCommSemiring.toOrderedCommSemiring.{succ u2} Cardinal.{u2} Cardinal.canonicallyOrderedCommSemiring.{u2})))))) ((fun (a : Type) (b : Type.{succ u2}) [self : HasLiftT.{1, succ (succ u2)} a b] => self.0) Nat Cardinal.{u2} (HasLiftT.mk.{1, succ (succ u2)} Nat Cardinal.{u2} (CoeTCₓ.coe.{1, succ (succ u2)} Nat Cardinal.{u2} (Nat.castCoe.{succ u2} Cardinal.{u2} Cardinal.hasNatCast.{u2}))) n) (Module.rank.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3))
+  forall {K : Type.{u1}} {V : Type.{u2}} [_inst_1 : Ring.{u1} K] [_inst_2 : AddCommGroup.{u2} V] [_inst_3 : Module.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2)] {n : Nat}, (LT.lt.{0} Nat Nat.hasLt n (FiniteDimensional.finrank.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) _inst_2 _inst_3)) -> (LT.lt.{succ u2} Cardinal.{u2} (Preorder.toLT.{succ u2} Cardinal.{u2} (PartialOrder.toPreorder.{succ u2} Cardinal.{u2} Cardinal.partialOrder.{u2})) ((fun (a : Type) (b : Type.{succ u2}) [self : HasLiftT.{1, succ (succ u2)} a b] => self.0) Nat Cardinal.{u2} (HasLiftT.mk.{1, succ (succ u2)} Nat Cardinal.{u2} (CoeTCₓ.coe.{1, succ (succ u2)} Nat Cardinal.{u2} (Nat.castCoe.{succ u2} Cardinal.{u2} Cardinal.hasNatCast.{u2}))) n) (Module.rank.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3))
 but is expected to have type
   forall {K : Type.{u1}} {V : Type.{u2}} [_inst_1 : Ring.{u1} K] [_inst_2 : AddCommGroup.{u2} V] [_inst_3 : Module.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2)] {n : Nat}, (LT.lt.{0} Nat instLTNat n (FiniteDimensional.finrank.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) _inst_2 _inst_3)) -> (LT.lt.{succ u2} Cardinal.{u2} (Preorder.toLT.{succ u2} Cardinal.{u2} (PartialOrder.toPreorder.{succ u2} Cardinal.{u2} Cardinal.partialOrder.{u2})) (Nat.cast.{succ u2} Cardinal.{u2} Cardinal.instNatCastCardinal.{u2} n) (Module.rank.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3))
 Case conversion may be inaccurate. Consider using '#align finite_dimensional.rank_lt_of_finrank_lt FiniteDimensional.rank_lt_of_finrank_ltₓ'. -/
@@ -666,7 +666,7 @@ but is expected to have type
   forall {K : Type.{u1}} {V : Type.{u2}} [_inst_1 : DivisionRing.{u1} K] [_inst_2 : AddCommGroup.{u2} V] [_inst_3 : Module.{u1, u2} K V (DivisionSemiring.toSemiring.{u1} K (DivisionRing.toDivisionSemiring.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2)] {s : Finset.{u2} V}, (LE.le.{u2} (Submodule.{u1, u2} K V (DivisionSemiring.toSemiring.{u1} K (DivisionRing.toDivisionSemiring.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (Preorder.toLE.{u2} (Submodule.{u1, u2} K V (DivisionSemiring.toSemiring.{u1} K (DivisionRing.toDivisionSemiring.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (PartialOrder.toPreorder.{u2} (Submodule.{u1, u2} K V (DivisionSemiring.toSemiring.{u1} K (DivisionRing.toDivisionSemiring.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (OmegaCompletePartialOrder.toPartialOrder.{u2} (Submodule.{u1, u2} K V (DivisionSemiring.toSemiring.{u1} K (DivisionRing.toDivisionSemiring.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (CompleteLattice.instOmegaCompletePartialOrder.{u2} (Submodule.{u1, u2} K V (DivisionSemiring.toSemiring.{u1} K (DivisionRing.toDivisionSemiring.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (Submodule.completeLattice.{u1, u2} K V (DivisionSemiring.toSemiring.{u1} K (DivisionRing.toDivisionSemiring.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3))))) (Top.top.{u2} (Submodule.{u1, u2} K V (DivisionSemiring.toSemiring.{u1} K (DivisionRing.toDivisionSemiring.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (Submodule.instTopSubmodule.{u1, u2} K V (DivisionSemiring.toSemiring.{u1} K (DivisionRing.toDivisionSemiring.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3)) (Submodule.span.{u1, u2} K V (DivisionSemiring.toSemiring.{u1} K (DivisionRing.toDivisionSemiring.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3 (Finset.toSet.{u2} V s))) -> (Eq.{1} Nat (Finset.card.{u2} V s) (FiniteDimensional.finrank.{u1, u2} K V (DivisionSemiring.toSemiring.{u1} K (DivisionRing.toDivisionSemiring.{u1} K _inst_1)) _inst_2 _inst_3)) -> (Basis.{u2, u1, u2} (Set.Elem.{u2} V (Finset.toSet.{u2} V s)) K V (DivisionSemiring.toSemiring.{u1} K (DivisionRing.toDivisionSemiring.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3)
 Case conversion may be inaccurate. Consider using '#align finset_basis_of_top_le_span_of_card_eq_finrank finsetBasisOfTopLeSpanOfCardEqFinrankₓ'. -/
 /-- A finset of `finrank K V` vectors forms a basis if they span the whole space. -/
-@[simps]
+@[simps repr_apply]
 noncomputable def finsetBasisOfTopLeSpanOfCardEqFinrank {s : Finset V}
     (le_span : ⊤ ≤ span K (s : Set V)) (card_eq : s.card = finrank K V) : Basis (s : Set V) K V :=
   basisOfTopLeSpanOfCardEqFinrank (coe : (s : Set V) → V)
@@ -681,7 +681,7 @@ but is expected to have type
   forall {K : Type.{u1}} {V : Type.{u2}} [_inst_1 : DivisionRing.{u1} K] [_inst_2 : AddCommGroup.{u2} V] [_inst_3 : Module.{u1, u2} K V (DivisionSemiring.toSemiring.{u1} K (DivisionRing.toDivisionSemiring.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2)] {s : Set.{u2} V} [_inst_4 : Fintype.{u2} (Set.Elem.{u2} V s)], (LE.le.{u2} (Submodule.{u1, u2} K V (DivisionSemiring.toSemiring.{u1} K (DivisionRing.toDivisionSemiring.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (Preorder.toLE.{u2} (Submodule.{u1, u2} K V (DivisionSemiring.toSemiring.{u1} K (DivisionRing.toDivisionSemiring.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (PartialOrder.toPreorder.{u2} (Submodule.{u1, u2} K V (DivisionSemiring.toSemiring.{u1} K (DivisionRing.toDivisionSemiring.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (OmegaCompletePartialOrder.toPartialOrder.{u2} (Submodule.{u1, u2} K V (DivisionSemiring.toSemiring.{u1} K (DivisionRing.toDivisionSemiring.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (CompleteLattice.instOmegaCompletePartialOrder.{u2} (Submodule.{u1, u2} K V (DivisionSemiring.toSemiring.{u1} K (DivisionRing.toDivisionSemiring.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (Submodule.completeLattice.{u1, u2} K V (DivisionSemiring.toSemiring.{u1} K (DivisionRing.toDivisionSemiring.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3))))) (Top.top.{u2} (Submodule.{u1, u2} K V (DivisionSemiring.toSemiring.{u1} K (DivisionRing.toDivisionSemiring.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (Submodule.instTopSubmodule.{u1, u2} K V (DivisionSemiring.toSemiring.{u1} K (DivisionRing.toDivisionSemiring.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3)) (Submodule.span.{u1, u2} K V (DivisionSemiring.toSemiring.{u1} K (DivisionRing.toDivisionSemiring.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3 s)) -> (Eq.{1} Nat (Finset.card.{u2} V (Set.toFinset.{u2} V s _inst_4)) (FiniteDimensional.finrank.{u1, u2} K V (DivisionSemiring.toSemiring.{u1} K (DivisionRing.toDivisionSemiring.{u1} K _inst_1)) _inst_2 _inst_3)) -> (Basis.{u2, u1, u2} (Set.Elem.{u2} V s) K V (DivisionSemiring.toSemiring.{u1} K (DivisionRing.toDivisionSemiring.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3)
 Case conversion may be inaccurate. Consider using '#align set_basis_of_top_le_span_of_card_eq_finrank setBasisOfTopLeSpanOfCardEqFinrankₓ'. -/
 /-- A set of `finrank K V` vectors forms a basis if they span the whole space. -/
-@[simps]
+@[simps repr_apply]
 noncomputable def setBasisOfTopLeSpanOfCardEqFinrank {s : Set V} [Fintype s]
     (le_span : ⊤ ≤ span K s) (card_eq : s.toFinset.card = finrank K V) : Basis s K V :=
   basisOfTopLeSpanOfCardEqFinrank (coe : s → V) ((@Subtype.range_coe_subtype _ s).symm ▸ le_span)
Diff
@@ -51,6 +51,7 @@ section Ring
 
 variable [Ring K] [AddCommGroup V] [Module K V] {V₂ : Type v'} [AddCommGroup V₂] [Module K V₂]
 
+#print FiniteDimensional.finrank /-
 /-- The rank of a module as a natural number.
 
 Defined by convention to be `0` if the space has infinite rank.
@@ -61,7 +62,14 @@ of `V` over `K`.
 noncomputable def finrank (R V : Type _) [Semiring R] [AddCommGroup V] [Module R V] : ℕ :=
   (Module.rank R V).toNat
 #align finite_dimensional.finrank FiniteDimensional.finrank
+-/
 
+/- warning: finite_dimensional.finrank_eq_of_rank_eq -> FiniteDimensional.finrank_eq_of_rank_eq is a dubious translation:
+lean 3 declaration is
+  forall {K : Type.{u1}} {V : Type.{u2}} [_inst_1 : Ring.{u1} K] [_inst_2 : AddCommGroup.{u2} V] [_inst_3 : Module.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2)] {n : Nat}, (Eq.{succ (succ u2)} Cardinal.{u2} (Module.rank.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) ((fun (a : Type) (b : Type.{succ u2}) [self : HasLiftT.{1, succ (succ u2)} a b] => self.0) Nat Cardinal.{u2} (HasLiftT.mk.{1, succ (succ u2)} Nat Cardinal.{u2} (CoeTCₓ.coe.{1, succ (succ u2)} Nat Cardinal.{u2} (Nat.castCoe.{succ u2} Cardinal.{u2} Cardinal.hasNatCast.{u2}))) n)) -> (Eq.{1} Nat (FiniteDimensional.finrank.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) _inst_2 _inst_3) n)
+but is expected to have type
+  forall {K : Type.{u1}} {V : Type.{u2}} [_inst_1 : Ring.{u1} K] [_inst_2 : AddCommGroup.{u2} V] [_inst_3 : Module.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2)] {n : Nat}, (Eq.{succ (succ u2)} Cardinal.{u2} (Module.rank.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (Nat.cast.{succ u2} Cardinal.{u2} Cardinal.instNatCastCardinal.{u2} n)) -> (Eq.{1} Nat (FiniteDimensional.finrank.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) _inst_2 _inst_3) n)
+Case conversion may be inaccurate. Consider using '#align finite_dimensional.finrank_eq_of_rank_eq FiniteDimensional.finrank_eq_of_rank_eqₓ'. -/
 theorem finrank_eq_of_rank_eq {n : ℕ} (h : Module.rank K V = ↑n) : finrank K V = n :=
   by
   apply_fun to_nat  at h
@@ -69,6 +77,12 @@ theorem finrank_eq_of_rank_eq {n : ℕ} (h : Module.rank K V = ↑n) : finrank K
   exact_mod_cast h
 #align finite_dimensional.finrank_eq_of_rank_eq FiniteDimensional.finrank_eq_of_rank_eq
 
+/- warning: finite_dimensional.finrank_le_of_rank_le -> FiniteDimensional.finrank_le_of_rank_le is a dubious translation:
+lean 3 declaration is
+  forall {K : Type.{u1}} {V : Type.{u2}} [_inst_1 : Ring.{u1} K] [_inst_2 : AddCommGroup.{u2} V] [_inst_3 : Module.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2)] {n : Nat}, (LE.le.{succ u2} Cardinal.{u2} Cardinal.hasLe.{u2} (Module.rank.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) ((fun (a : Type) (b : Type.{succ u2}) [self : HasLiftT.{1, succ (succ u2)} a b] => self.0) Nat Cardinal.{u2} (HasLiftT.mk.{1, succ (succ u2)} Nat Cardinal.{u2} (CoeTCₓ.coe.{1, succ (succ u2)} Nat Cardinal.{u2} (Nat.castCoe.{succ u2} Cardinal.{u2} Cardinal.hasNatCast.{u2}))) n)) -> (LE.le.{0} Nat Nat.hasLe (FiniteDimensional.finrank.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) _inst_2 _inst_3) n)
+but is expected to have type
+  forall {K : Type.{u1}} {V : Type.{u2}} [_inst_1 : Ring.{u1} K] [_inst_2 : AddCommGroup.{u2} V] [_inst_3 : Module.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2)] {n : Nat}, (LE.le.{succ u2} Cardinal.{u2} Cardinal.instLECardinal.{u2} (Module.rank.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (Nat.cast.{succ u2} Cardinal.{u2} Cardinal.instNatCastCardinal.{u2} n)) -> (LE.le.{0} Nat instLENat (FiniteDimensional.finrank.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) _inst_2 _inst_3) n)
+Case conversion may be inaccurate. Consider using '#align finite_dimensional.finrank_le_of_rank_le FiniteDimensional.finrank_le_of_rank_leₓ'. -/
 theorem finrank_le_of_rank_le {n : ℕ} (h : Module.rank K V ≤ ↑n) : finrank K V ≤ n :=
   by
   rwa [← Cardinal.toNat_le_iff_le_of_lt_aleph0, to_nat_cast] at h
@@ -76,6 +90,12 @@ theorem finrank_le_of_rank_le {n : ℕ} (h : Module.rank K V ≤ ↑n) : finrank
   · exact nat_lt_aleph_0 n
 #align finite_dimensional.finrank_le_of_rank_le FiniteDimensional.finrank_le_of_rank_le
 
+/- warning: finite_dimensional.finrank_lt_of_rank_lt -> FiniteDimensional.finrank_lt_of_rank_lt is a dubious translation:
+lean 3 declaration is
+  forall {K : Type.{u1}} {V : Type.{u2}} [_inst_1 : Ring.{u1} K] [_inst_2 : AddCommGroup.{u2} V] [_inst_3 : Module.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2)] {n : Nat}, (LT.lt.{succ u2} Cardinal.{u2} (Preorder.toLT.{succ u2} Cardinal.{u2} (PartialOrder.toPreorder.{succ u2} Cardinal.{u2} (OrderedAddCommMonoid.toPartialOrder.{succ u2} Cardinal.{u2} (OrderedSemiring.toOrderedAddCommMonoid.{succ u2} Cardinal.{u2} (OrderedCommSemiring.toOrderedSemiring.{succ u2} Cardinal.{u2} (CanonicallyOrderedCommSemiring.toOrderedCommSemiring.{succ u2} Cardinal.{u2} Cardinal.canonicallyOrderedCommSemiring.{u2})))))) (Module.rank.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) ((fun (a : Type) (b : Type.{succ u2}) [self : HasLiftT.{1, succ (succ u2)} a b] => self.0) Nat Cardinal.{u2} (HasLiftT.mk.{1, succ (succ u2)} Nat Cardinal.{u2} (CoeTCₓ.coe.{1, succ (succ u2)} Nat Cardinal.{u2} (Nat.castCoe.{succ u2} Cardinal.{u2} Cardinal.hasNatCast.{u2}))) n)) -> (LT.lt.{0} Nat Nat.hasLt (FiniteDimensional.finrank.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) _inst_2 _inst_3) n)
+but is expected to have type
+  forall {K : Type.{u1}} {V : Type.{u2}} [_inst_1 : Ring.{u1} K] [_inst_2 : AddCommGroup.{u2} V] [_inst_3 : Module.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2)] {n : Nat}, (LT.lt.{succ u2} Cardinal.{u2} (Preorder.toLT.{succ u2} Cardinal.{u2} (PartialOrder.toPreorder.{succ u2} Cardinal.{u2} Cardinal.partialOrder.{u2})) (Module.rank.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (Nat.cast.{succ u2} Cardinal.{u2} Cardinal.instNatCastCardinal.{u2} n)) -> (LT.lt.{0} Nat instLTNat (FiniteDimensional.finrank.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) _inst_2 _inst_3) n)
+Case conversion may be inaccurate. Consider using '#align finite_dimensional.finrank_lt_of_rank_lt FiniteDimensional.finrank_lt_of_rank_ltₓ'. -/
 theorem finrank_lt_of_rank_lt {n : ℕ} (h : Module.rank K V < ↑n) : finrank K V < n :=
   by
   rwa [← Cardinal.toNat_lt_iff_lt_of_lt_aleph0, to_nat_cast] at h
@@ -83,6 +103,12 @@ theorem finrank_lt_of_rank_lt {n : ℕ} (h : Module.rank K V < ↑n) : finrank K
   · exact nat_lt_aleph_0 n
 #align finite_dimensional.finrank_lt_of_rank_lt FiniteDimensional.finrank_lt_of_rank_lt
 
+/- warning: finite_dimensional.rank_lt_of_finrank_lt -> FiniteDimensional.rank_lt_of_finrank_lt is a dubious translation:
+lean 3 declaration is
+  forall {K : Type.{u1}} {V : Type.{u2}} [_inst_1 : Ring.{u1} K] [_inst_2 : AddCommGroup.{u2} V] [_inst_3 : Module.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2)] {n : Nat}, (LT.lt.{0} Nat Nat.hasLt n (FiniteDimensional.finrank.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) _inst_2 _inst_3)) -> (LT.lt.{succ u2} Cardinal.{u2} (Preorder.toLT.{succ u2} Cardinal.{u2} (PartialOrder.toPreorder.{succ u2} Cardinal.{u2} (OrderedAddCommMonoid.toPartialOrder.{succ u2} Cardinal.{u2} (OrderedSemiring.toOrderedAddCommMonoid.{succ u2} Cardinal.{u2} (OrderedCommSemiring.toOrderedSemiring.{succ u2} Cardinal.{u2} (CanonicallyOrderedCommSemiring.toOrderedCommSemiring.{succ u2} Cardinal.{u2} Cardinal.canonicallyOrderedCommSemiring.{u2})))))) ((fun (a : Type) (b : Type.{succ u2}) [self : HasLiftT.{1, succ (succ u2)} a b] => self.0) Nat Cardinal.{u2} (HasLiftT.mk.{1, succ (succ u2)} Nat Cardinal.{u2} (CoeTCₓ.coe.{1, succ (succ u2)} Nat Cardinal.{u2} (Nat.castCoe.{succ u2} Cardinal.{u2} Cardinal.hasNatCast.{u2}))) n) (Module.rank.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3))
+but is expected to have type
+  forall {K : Type.{u1}} {V : Type.{u2}} [_inst_1 : Ring.{u1} K] [_inst_2 : AddCommGroup.{u2} V] [_inst_3 : Module.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2)] {n : Nat}, (LT.lt.{0} Nat instLTNat n (FiniteDimensional.finrank.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) _inst_2 _inst_3)) -> (LT.lt.{succ u2} Cardinal.{u2} (Preorder.toLT.{succ u2} Cardinal.{u2} (PartialOrder.toPreorder.{succ u2} Cardinal.{u2} Cardinal.partialOrder.{u2})) (Nat.cast.{succ u2} Cardinal.{u2} Cardinal.instNatCastCardinal.{u2} n) (Module.rank.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3))
+Case conversion may be inaccurate. Consider using '#align finite_dimensional.rank_lt_of_finrank_lt FiniteDimensional.rank_lt_of_finrank_ltₓ'. -/
 theorem rank_lt_of_finrank_lt {n : ℕ} (h : n < finrank K V) : ↑n < Module.rank K V :=
   by
   rwa [← Cardinal.toNat_lt_iff_lt_of_lt_aleph0, to_nat_cast]
@@ -92,27 +118,47 @@ theorem rank_lt_of_finrank_lt {n : ℕ} (h : n < finrank K V) : ↑n < Module.ra
     exact n.zero_le
 #align finite_dimensional.rank_lt_of_finrank_lt FiniteDimensional.rank_lt_of_finrank_lt
 
+#print FiniteDimensional.finrank_le_finrank_of_rank_le_rank /-
 theorem finrank_le_finrank_of_rank_le_rank
     (h : lift.{v'} (Module.rank K V) ≤ Cardinal.lift.{v} (Module.rank K V₂))
     (h' : Module.rank K V₂ < ℵ₀) : finrank K V ≤ finrank K V₂ := by
   simpa only [to_nat_lift] using to_nat_le_of_le_of_lt_aleph_0 (lift_lt_aleph_0.mpr h') h
 #align finite_dimensional.finrank_le_finrank_of_rank_le_rank FiniteDimensional.finrank_le_finrank_of_rank_le_rank
+-/
 
 section
 
 variable [Nontrivial K] [NoZeroSMulDivisors K V]
 
+/- warning: finite_dimensional.nontrivial_of_finrank_pos -> FiniteDimensional.nontrivial_of_finrank_pos is a dubious translation:
+lean 3 declaration is
+  forall {K : Type.{u1}} {V : Type.{u2}} [_inst_1 : Ring.{u1} K] [_inst_2 : AddCommGroup.{u2} V] [_inst_3 : Module.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2)] [_inst_6 : Nontrivial.{u1} K] [_inst_7 : NoZeroSMulDivisors.{u1, u2} K V (MulZeroClass.toHasZero.{u1} K (NonUnitalNonAssocSemiring.toMulZeroClass.{u1} K (NonUnitalNonAssocRing.toNonUnitalNonAssocSemiring.{u1} K (NonAssocRing.toNonUnitalNonAssocRing.{u1} K (Ring.toNonAssocRing.{u1} K _inst_1))))) (AddZeroClass.toHasZero.{u2} V (AddMonoid.toAddZeroClass.{u2} V (SubNegMonoid.toAddMonoid.{u2} V (AddGroup.toSubNegMonoid.{u2} V (AddCommGroup.toAddGroup.{u2} V _inst_2))))) (SMulZeroClass.toHasSmul.{u1, u2} K V (AddZeroClass.toHasZero.{u2} V (AddMonoid.toAddZeroClass.{u2} V (AddCommMonoid.toAddMonoid.{u2} V (AddCommGroup.toAddCommMonoid.{u2} V _inst_2)))) (SMulWithZero.toSmulZeroClass.{u1, u2} K V (MulZeroClass.toHasZero.{u1} K (MulZeroOneClass.toMulZeroClass.{u1} K (MonoidWithZero.toMulZeroOneClass.{u1} K (Semiring.toMonoidWithZero.{u1} K (Ring.toSemiring.{u1} K _inst_1))))) (AddZeroClass.toHasZero.{u2} V (AddMonoid.toAddZeroClass.{u2} V (AddCommMonoid.toAddMonoid.{u2} V (AddCommGroup.toAddCommMonoid.{u2} V _inst_2)))) (MulActionWithZero.toSMulWithZero.{u1, u2} K V (Semiring.toMonoidWithZero.{u1} K (Ring.toSemiring.{u1} K _inst_1)) (AddZeroClass.toHasZero.{u2} V (AddMonoid.toAddZeroClass.{u2} V (AddCommMonoid.toAddMonoid.{u2} V (AddCommGroup.toAddCommMonoid.{u2} V _inst_2)))) (Module.toMulActionWithZero.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3))))], (LT.lt.{0} Nat Nat.hasLt (OfNat.ofNat.{0} Nat 0 (OfNat.mk.{0} Nat 0 (Zero.zero.{0} Nat Nat.hasZero))) (FiniteDimensional.finrank.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) _inst_2 _inst_3)) -> (Nontrivial.{u2} V)
+but is expected to have type
+  forall {K : Type.{u1}} {V : Type.{u2}} [_inst_1 : Ring.{u1} K] [_inst_2 : AddCommGroup.{u2} V] [_inst_3 : Module.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2)] [_inst_6 : Nontrivial.{u1} K] [_inst_7 : NoZeroSMulDivisors.{u1, u2} K V (MonoidWithZero.toZero.{u1} K (Semiring.toMonoidWithZero.{u1} K (Ring.toSemiring.{u1} K _inst_1))) (NegZeroClass.toZero.{u2} V (SubNegZeroMonoid.toNegZeroClass.{u2} V (SubtractionMonoid.toSubNegZeroMonoid.{u2} V (SubtractionCommMonoid.toSubtractionMonoid.{u2} V (AddCommGroup.toDivisionAddCommMonoid.{u2} V _inst_2))))) (SMulZeroClass.toSMul.{u1, u2} K V (NegZeroClass.toZero.{u2} V (SubNegZeroMonoid.toNegZeroClass.{u2} V (SubtractionMonoid.toSubNegZeroMonoid.{u2} V (SubtractionCommMonoid.toSubtractionMonoid.{u2} V (AddCommGroup.toDivisionAddCommMonoid.{u2} V _inst_2))))) (SMulWithZero.toSMulZeroClass.{u1, u2} K V (MonoidWithZero.toZero.{u1} K (Semiring.toMonoidWithZero.{u1} K (Ring.toSemiring.{u1} K _inst_1))) (NegZeroClass.toZero.{u2} V (SubNegZeroMonoid.toNegZeroClass.{u2} V (SubtractionMonoid.toSubNegZeroMonoid.{u2} V (SubtractionCommMonoid.toSubtractionMonoid.{u2} V (AddCommGroup.toDivisionAddCommMonoid.{u2} V _inst_2))))) (MulActionWithZero.toSMulWithZero.{u1, u2} K V (Semiring.toMonoidWithZero.{u1} K (Ring.toSemiring.{u1} K _inst_1)) (NegZeroClass.toZero.{u2} V (SubNegZeroMonoid.toNegZeroClass.{u2} V (SubtractionMonoid.toSubNegZeroMonoid.{u2} V (SubtractionCommMonoid.toSubtractionMonoid.{u2} V (AddCommGroup.toDivisionAddCommMonoid.{u2} V _inst_2))))) (Module.toMulActionWithZero.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3))))], (LT.lt.{0} Nat instLTNat (OfNat.ofNat.{0} Nat 0 (instOfNatNat 0)) (FiniteDimensional.finrank.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) _inst_2 _inst_3)) -> (Nontrivial.{u2} V)
+Case conversion may be inaccurate. Consider using '#align finite_dimensional.nontrivial_of_finrank_pos FiniteDimensional.nontrivial_of_finrank_posₓ'. -/
 /-- A finite dimensional space is nontrivial if it has positive `finrank`. -/
 theorem nontrivial_of_finrank_pos (h : 0 < finrank K V) : Nontrivial V :=
   rank_pos_iff_nontrivial.mp (rank_lt_of_finrank_lt h)
 #align finite_dimensional.nontrivial_of_finrank_pos FiniteDimensional.nontrivial_of_finrank_pos
 
+/- warning: finite_dimensional.nontrivial_of_finrank_eq_succ -> FiniteDimensional.nontrivial_of_finrank_eq_succ is a dubious translation:
+lean 3 declaration is
+  forall {K : Type.{u1}} {V : Type.{u2}} [_inst_1 : Ring.{u1} K] [_inst_2 : AddCommGroup.{u2} V] [_inst_3 : Module.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2)] [_inst_6 : Nontrivial.{u1} K] [_inst_7 : NoZeroSMulDivisors.{u1, u2} K V (MulZeroClass.toHasZero.{u1} K (NonUnitalNonAssocSemiring.toMulZeroClass.{u1} K (NonUnitalNonAssocRing.toNonUnitalNonAssocSemiring.{u1} K (NonAssocRing.toNonUnitalNonAssocRing.{u1} K (Ring.toNonAssocRing.{u1} K _inst_1))))) (AddZeroClass.toHasZero.{u2} V (AddMonoid.toAddZeroClass.{u2} V (SubNegMonoid.toAddMonoid.{u2} V (AddGroup.toSubNegMonoid.{u2} V (AddCommGroup.toAddGroup.{u2} V _inst_2))))) (SMulZeroClass.toHasSmul.{u1, u2} K V (AddZeroClass.toHasZero.{u2} V (AddMonoid.toAddZeroClass.{u2} V (AddCommMonoid.toAddMonoid.{u2} V (AddCommGroup.toAddCommMonoid.{u2} V _inst_2)))) (SMulWithZero.toSmulZeroClass.{u1, u2} K V (MulZeroClass.toHasZero.{u1} K (MulZeroOneClass.toMulZeroClass.{u1} K (MonoidWithZero.toMulZeroOneClass.{u1} K (Semiring.toMonoidWithZero.{u1} K (Ring.toSemiring.{u1} K _inst_1))))) (AddZeroClass.toHasZero.{u2} V (AddMonoid.toAddZeroClass.{u2} V (AddCommMonoid.toAddMonoid.{u2} V (AddCommGroup.toAddCommMonoid.{u2} V _inst_2)))) (MulActionWithZero.toSMulWithZero.{u1, u2} K V (Semiring.toMonoidWithZero.{u1} K (Ring.toSemiring.{u1} K _inst_1)) (AddZeroClass.toHasZero.{u2} V (AddMonoid.toAddZeroClass.{u2} V (AddCommMonoid.toAddMonoid.{u2} V (AddCommGroup.toAddCommMonoid.{u2} V _inst_2)))) (Module.toMulActionWithZero.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3))))] {n : Nat}, (Eq.{1} Nat (FiniteDimensional.finrank.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) _inst_2 _inst_3) (Nat.succ n)) -> (Nontrivial.{u2} V)
+but is expected to have type
+  forall {K : Type.{u1}} {V : Type.{u2}} [_inst_1 : Ring.{u1} K] [_inst_2 : AddCommGroup.{u2} V] [_inst_3 : Module.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2)] [_inst_6 : Nontrivial.{u1} K] [_inst_7 : NoZeroSMulDivisors.{u1, u2} K V (MonoidWithZero.toZero.{u1} K (Semiring.toMonoidWithZero.{u1} K (Ring.toSemiring.{u1} K _inst_1))) (NegZeroClass.toZero.{u2} V (SubNegZeroMonoid.toNegZeroClass.{u2} V (SubtractionMonoid.toSubNegZeroMonoid.{u2} V (SubtractionCommMonoid.toSubtractionMonoid.{u2} V (AddCommGroup.toDivisionAddCommMonoid.{u2} V _inst_2))))) (SMulZeroClass.toSMul.{u1, u2} K V (NegZeroClass.toZero.{u2} V (SubNegZeroMonoid.toNegZeroClass.{u2} V (SubtractionMonoid.toSubNegZeroMonoid.{u2} V (SubtractionCommMonoid.toSubtractionMonoid.{u2} V (AddCommGroup.toDivisionAddCommMonoid.{u2} V _inst_2))))) (SMulWithZero.toSMulZeroClass.{u1, u2} K V (MonoidWithZero.toZero.{u1} K (Semiring.toMonoidWithZero.{u1} K (Ring.toSemiring.{u1} K _inst_1))) (NegZeroClass.toZero.{u2} V (SubNegZeroMonoid.toNegZeroClass.{u2} V (SubtractionMonoid.toSubNegZeroMonoid.{u2} V (SubtractionCommMonoid.toSubtractionMonoid.{u2} V (AddCommGroup.toDivisionAddCommMonoid.{u2} V _inst_2))))) (MulActionWithZero.toSMulWithZero.{u1, u2} K V (Semiring.toMonoidWithZero.{u1} K (Ring.toSemiring.{u1} K _inst_1)) (NegZeroClass.toZero.{u2} V (SubNegZeroMonoid.toNegZeroClass.{u2} V (SubtractionMonoid.toSubNegZeroMonoid.{u2} V (SubtractionCommMonoid.toSubtractionMonoid.{u2} V (AddCommGroup.toDivisionAddCommMonoid.{u2} V _inst_2))))) (Module.toMulActionWithZero.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3))))] {n : Nat}, (Eq.{1} Nat (FiniteDimensional.finrank.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) _inst_2 _inst_3) (Nat.succ n)) -> (Nontrivial.{u2} V)
+Case conversion may be inaccurate. Consider using '#align finite_dimensional.nontrivial_of_finrank_eq_succ FiniteDimensional.nontrivial_of_finrank_eq_succₓ'. -/
 /-- A finite dimensional space is nontrivial if it has `finrank` equal to the successor of a
 natural number. -/
 theorem nontrivial_of_finrank_eq_succ {n : ℕ} (hn : finrank K V = n.succ) : Nontrivial V :=
   nontrivial_of_finrank_pos (by rw [hn] <;> exact n.succ_pos)
 #align finite_dimensional.nontrivial_of_finrank_eq_succ FiniteDimensional.nontrivial_of_finrank_eq_succ
 
+/- warning: finite_dimensional.finrank_zero_of_subsingleton -> FiniteDimensional.finrank_zero_of_subsingleton is a dubious translation:
+lean 3 declaration is
+  forall {K : Type.{u1}} {V : Type.{u2}} [_inst_1 : Ring.{u1} K] [_inst_2 : AddCommGroup.{u2} V] [_inst_3 : Module.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2)] [_inst_6 : Nontrivial.{u1} K] [_inst_7 : NoZeroSMulDivisors.{u1, u2} K V (MulZeroClass.toHasZero.{u1} K (NonUnitalNonAssocSemiring.toMulZeroClass.{u1} K (NonUnitalNonAssocRing.toNonUnitalNonAssocSemiring.{u1} K (NonAssocRing.toNonUnitalNonAssocRing.{u1} K (Ring.toNonAssocRing.{u1} K _inst_1))))) (AddZeroClass.toHasZero.{u2} V (AddMonoid.toAddZeroClass.{u2} V (SubNegMonoid.toAddMonoid.{u2} V (AddGroup.toSubNegMonoid.{u2} V (AddCommGroup.toAddGroup.{u2} V _inst_2))))) (SMulZeroClass.toHasSmul.{u1, u2} K V (AddZeroClass.toHasZero.{u2} V (AddMonoid.toAddZeroClass.{u2} V (AddCommMonoid.toAddMonoid.{u2} V (AddCommGroup.toAddCommMonoid.{u2} V _inst_2)))) (SMulWithZero.toSmulZeroClass.{u1, u2} K V (MulZeroClass.toHasZero.{u1} K (MulZeroOneClass.toMulZeroClass.{u1} K (MonoidWithZero.toMulZeroOneClass.{u1} K (Semiring.toMonoidWithZero.{u1} K (Ring.toSemiring.{u1} K _inst_1))))) (AddZeroClass.toHasZero.{u2} V (AddMonoid.toAddZeroClass.{u2} V (AddCommMonoid.toAddMonoid.{u2} V (AddCommGroup.toAddCommMonoid.{u2} V _inst_2)))) (MulActionWithZero.toSMulWithZero.{u1, u2} K V (Semiring.toMonoidWithZero.{u1} K (Ring.toSemiring.{u1} K _inst_1)) (AddZeroClass.toHasZero.{u2} V (AddMonoid.toAddZeroClass.{u2} V (AddCommMonoid.toAddMonoid.{u2} V (AddCommGroup.toAddCommMonoid.{u2} V _inst_2)))) (Module.toMulActionWithZero.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3))))] [h : Subsingleton.{succ u2} V], Eq.{1} Nat (FiniteDimensional.finrank.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) _inst_2 _inst_3) (OfNat.ofNat.{0} Nat 0 (OfNat.mk.{0} Nat 0 (Zero.zero.{0} Nat Nat.hasZero)))
+but is expected to have type
+  forall {K : Type.{u1}} {V : Type.{u2}} [_inst_1 : Ring.{u1} K] [_inst_2 : AddCommGroup.{u2} V] [_inst_3 : Module.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2)] [_inst_6 : Nontrivial.{u1} K] [_inst_7 : NoZeroSMulDivisors.{u1, u2} K V (MonoidWithZero.toZero.{u1} K (Semiring.toMonoidWithZero.{u1} K (Ring.toSemiring.{u1} K _inst_1))) (NegZeroClass.toZero.{u2} V (SubNegZeroMonoid.toNegZeroClass.{u2} V (SubtractionMonoid.toSubNegZeroMonoid.{u2} V (SubtractionCommMonoid.toSubtractionMonoid.{u2} V (AddCommGroup.toDivisionAddCommMonoid.{u2} V _inst_2))))) (SMulZeroClass.toSMul.{u1, u2} K V (NegZeroClass.toZero.{u2} V (SubNegZeroMonoid.toNegZeroClass.{u2} V (SubtractionMonoid.toSubNegZeroMonoid.{u2} V (SubtractionCommMonoid.toSubtractionMonoid.{u2} V (AddCommGroup.toDivisionAddCommMonoid.{u2} V _inst_2))))) (SMulWithZero.toSMulZeroClass.{u1, u2} K V (MonoidWithZero.toZero.{u1} K (Semiring.toMonoidWithZero.{u1} K (Ring.toSemiring.{u1} K _inst_1))) (NegZeroClass.toZero.{u2} V (SubNegZeroMonoid.toNegZeroClass.{u2} V (SubtractionMonoid.toSubNegZeroMonoid.{u2} V (SubtractionCommMonoid.toSubtractionMonoid.{u2} V (AddCommGroup.toDivisionAddCommMonoid.{u2} V _inst_2))))) (MulActionWithZero.toSMulWithZero.{u1, u2} K V (Semiring.toMonoidWithZero.{u1} K (Ring.toSemiring.{u1} K _inst_1)) (NegZeroClass.toZero.{u2} V (SubNegZeroMonoid.toNegZeroClass.{u2} V (SubtractionMonoid.toSubNegZeroMonoid.{u2} V (SubtractionCommMonoid.toSubtractionMonoid.{u2} V (AddCommGroup.toDivisionAddCommMonoid.{u2} V _inst_2))))) (Module.toMulActionWithZero.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3))))] [h : Subsingleton.{succ u2} V], Eq.{1} Nat (FiniteDimensional.finrank.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) _inst_2 _inst_3) (OfNat.ofNat.{0} Nat 0 (instOfNatNat 0))
+Case conversion may be inaccurate. Consider using '#align finite_dimensional.finrank_zero_of_subsingleton FiniteDimensional.finrank_zero_of_subsingletonₓ'. -/
 /-- A (finite dimensional) space that is a subsingleton has zero `finrank`. -/
 theorem finrank_zero_of_subsingleton [h : Subsingleton V] : finrank K V = 0 :=
   by
@@ -127,38 +173,48 @@ section
 
 variable [StrongRankCondition K]
 
+#print FiniteDimensional.finrank_eq_card_basis /-
 /-- If a vector space (or module) has a finite basis, then its dimension (or rank) is equal to the
 cardinality of the basis. -/
 theorem finrank_eq_card_basis {ι : Type w} [Fintype ι] (h : Basis ι K V) :
     finrank K V = Fintype.card ι :=
   finrank_eq_of_rank_eq (rank_eq_card_basis h)
 #align finite_dimensional.finrank_eq_card_basis FiniteDimensional.finrank_eq_card_basis
+-/
 
+#print FiniteDimensional.finrank_eq_card_finset_basis /-
 /-- If a vector space (or module) has a finite basis, then its dimension (or rank) is equal to the
 cardinality of the basis. This lemma uses a `finset` instead of indexed types. -/
 theorem finrank_eq_card_finset_basis {ι : Type w} {b : Finset ι} (h : Basis.{w} b K V) :
     finrank K V = Finset.card b := by rw [finrank_eq_card_basis h, Fintype.card_coe]
 #align finite_dimensional.finrank_eq_card_finset_basis FiniteDimensional.finrank_eq_card_finset_basis
+-/
 
 variable (K)
 
+#print FiniteDimensional.finrank_self /-
 /-- A ring satisfying `strong_rank_condition` (such as a `division_ring`) is one-dimensional as a
 module over itself. -/
 @[simp]
 theorem finrank_self : finrank K K = 1 :=
   finrank_eq_of_rank_eq (by simp)
 #align finite_dimensional.finrank_self FiniteDimensional.finrank_self
+-/
 
+#print FiniteDimensional.finrank_fintype_fun_eq_card /-
 /-- The vector space of functions on a fintype ι has finrank equal to the cardinality of ι. -/
 @[simp]
 theorem finrank_fintype_fun_eq_card {ι : Type v} [Fintype ι] : finrank K (ι → K) = Fintype.card ι :=
   finrank_eq_of_rank_eq rank_fun'
 #align finite_dimensional.finrank_fintype_fun_eq_card FiniteDimensional.finrank_fintype_fun_eq_card
+-/
 
+#print FiniteDimensional.finrank_fin_fun /-
 /-- The vector space of functions on `fin n` has finrank equal to `n`. -/
 @[simp]
 theorem finrank_fin_fun {n : ℕ} : finrank K (Fin n → K) = n := by simp
 #align finite_dimensional.finrank_fin_fun FiniteDimensional.finrank_fin_fun
+-/
 
 end
 
@@ -169,10 +225,12 @@ section DivisionRing
 variable [DivisionRing K] [AddCommGroup V] [Module K V] {V₂ : Type v'} [AddCommGroup V₂]
   [Module K V₂]
 
+#print FiniteDimensional.Basis.subset_extend /-
 theorem Basis.subset_extend {s : Set V} (hs : LinearIndependent K (coe : s → V)) :
     s ⊆ hs.extend (Set.subset_univ _) :=
   hs.subset_extend _
 #align finite_dimensional.basis.subset_extend FiniteDimensional.Basis.subset_extend
+-/
 
 end DivisionRing
 
@@ -186,13 +244,16 @@ variable [Ring K] [StrongRankCondition K] [AddCommGroup V] [Module K V] [Module.
 
 open FiniteDimensional
 
+#print finrank_eq_zero_of_basis_imp_not_finite /-
 theorem finrank_eq_zero_of_basis_imp_not_finite
     (h : ∀ s : Set V, Basis.{v} (s : Set V) K V → ¬s.Finite) : finrank K V = 0 :=
   by
   obtain ⟨_, ⟨b⟩⟩ := (Module.free_iff_set K V).mp ‹_›
   exact dif_neg fun rank_lt => h _ b (b.finite_index_of_rank_lt_aleph_0 rank_lt)
 #align finrank_eq_zero_of_basis_imp_not_finite finrank_eq_zero_of_basis_imp_not_finite
+-/
 
+#print finrank_eq_zero_of_basis_imp_false /-
 theorem finrank_eq_zero_of_basis_imp_false (h : ∀ s : Finset V, Basis.{v} (s : Set V) K V → False) :
     finrank K V = 0 :=
   finrank_eq_zero_of_basis_imp_not_finite fun s b hs =>
@@ -201,21 +262,28 @@ theorem finrank_eq_zero_of_basis_imp_false (h : ∀ s : Finset V, Basis.{v} (s :
         convert b
         simp)
 #align finrank_eq_zero_of_basis_imp_false finrank_eq_zero_of_basis_imp_false
+-/
 
+#print finrank_eq_zero_of_not_exists_basis /-
 theorem finrank_eq_zero_of_not_exists_basis
     (h : ¬∃ s : Finset V, Nonempty (Basis (s : Set V) K V)) : finrank K V = 0 :=
   finrank_eq_zero_of_basis_imp_false fun s b => h ⟨s, ⟨b⟩⟩
 #align finrank_eq_zero_of_not_exists_basis finrank_eq_zero_of_not_exists_basis
+-/
 
+#print finrank_eq_zero_of_not_exists_basis_finite /-
 theorem finrank_eq_zero_of_not_exists_basis_finite
     (h : ¬∃ (s : Set V)(b : Basis.{v} (s : Set V) K V), s.Finite) : finrank K V = 0 :=
   finrank_eq_zero_of_basis_imp_not_finite fun s b hs => h ⟨s, b, hs⟩
 #align finrank_eq_zero_of_not_exists_basis_finite finrank_eq_zero_of_not_exists_basis_finite
+-/
 
+#print finrank_eq_zero_of_not_exists_basis_finset /-
 theorem finrank_eq_zero_of_not_exists_basis_finset (h : ¬∃ s : Finset V, Nonempty (Basis s K V)) :
     finrank K V = 0 :=
   finrank_eq_zero_of_basis_imp_false fun s b => h ⟨s, ⟨b⟩⟩
 #align finrank_eq_zero_of_not_exists_basis_finset finrank_eq_zero_of_not_exists_basis_finset
+-/
 
 end ZeroRank
 
@@ -229,6 +297,12 @@ variable {R M M₂ : Type _} [Ring R] [AddCommGroup M] [AddCommGroup M₂]
 
 variable [Module R M] [Module R M₂]
 
+/- warning: linear_equiv.finrank_eq -> LinearEquiv.finrank_eq is a dubious translation:
+lean 3 declaration is
+  forall {R : Type.{u1}} {M : Type.{u2}} {M₂ : Type.{u3}} [_inst_6 : Ring.{u1} R] [_inst_7 : AddCommGroup.{u2} M] [_inst_8 : AddCommGroup.{u3} M₂] [_inst_9 : Module.{u1, u2} R M (Ring.toSemiring.{u1} R _inst_6) (AddCommGroup.toAddCommMonoid.{u2} M _inst_7)] [_inst_10 : Module.{u1, u3} R M₂ (Ring.toSemiring.{u1} R _inst_6) (AddCommGroup.toAddCommMonoid.{u3} M₂ _inst_8)], (LinearEquiv.{u1, u1, u2, u3} R R (Ring.toSemiring.{u1} R _inst_6) (Ring.toSemiring.{u1} R _inst_6) (RingHom.id.{u1} R (Semiring.toNonAssocSemiring.{u1} R (Ring.toSemiring.{u1} R _inst_6))) (RingHom.id.{u1} R (Semiring.toNonAssocSemiring.{u1} R (Ring.toSemiring.{u1} R _inst_6))) (RingHomInvPair.ids.{u1} R (Ring.toSemiring.{u1} R _inst_6)) (RingHomInvPair.ids.{u1} R (Ring.toSemiring.{u1} R _inst_6)) M M₂ (AddCommGroup.toAddCommMonoid.{u2} M _inst_7) (AddCommGroup.toAddCommMonoid.{u3} M₂ _inst_8) _inst_9 _inst_10) -> (Eq.{1} Nat (FiniteDimensional.finrank.{u1, u2} R M (Ring.toSemiring.{u1} R _inst_6) _inst_7 _inst_9) (FiniteDimensional.finrank.{u1, u3} R M₂ (Ring.toSemiring.{u1} R _inst_6) _inst_8 _inst_10))
+but is expected to have type
+  forall {R : Type.{u3}} {M : Type.{u2}} {M₂ : Type.{u1}} [_inst_6 : Ring.{u3} R] [_inst_7 : AddCommGroup.{u2} M] [_inst_8 : AddCommGroup.{u1} M₂] [_inst_9 : Module.{u3, u2} R M (Ring.toSemiring.{u3} R _inst_6) (AddCommGroup.toAddCommMonoid.{u2} M _inst_7)] [_inst_10 : Module.{u3, u1} R M₂ (Ring.toSemiring.{u3} R _inst_6) (AddCommGroup.toAddCommMonoid.{u1} M₂ _inst_8)], (LinearEquiv.{u3, u3, u2, u1} R R (Ring.toSemiring.{u3} R _inst_6) (Ring.toSemiring.{u3} R _inst_6) (RingHom.id.{u3} R (NonAssocRing.toNonAssocSemiring.{u3} R (Ring.toNonAssocRing.{u3} R _inst_6))) (RingHom.id.{u3} R (Semiring.toNonAssocSemiring.{u3} R (Ring.toSemiring.{u3} R _inst_6))) (RingHomInvPair.ids.{u3} R (Ring.toSemiring.{u3} R _inst_6)) (RingHomInvPair.ids.{u3} R (Ring.toSemiring.{u3} R _inst_6)) M M₂ (AddCommGroup.toAddCommMonoid.{u2} M _inst_7) (AddCommGroup.toAddCommMonoid.{u1} M₂ _inst_8) _inst_9 _inst_10) -> (Eq.{1} Nat (FiniteDimensional.finrank.{u3, u2} R M (Ring.toSemiring.{u3} R _inst_6) _inst_7 _inst_9) (FiniteDimensional.finrank.{u3, u1} R M₂ (Ring.toSemiring.{u3} R _inst_6) _inst_8 _inst_10))
+Case conversion may be inaccurate. Consider using '#align linear_equiv.finrank_eq LinearEquiv.finrank_eqₓ'. -/
 /-- The dimension of a finite dimensional space is preserved under linear equivalence. -/
 theorem finrank_eq (f : M ≃ₗ[R] M₂) : finrank R M = finrank R M₂ :=
   by
@@ -236,6 +310,12 @@ theorem finrank_eq (f : M ≃ₗ[R] M₂) : finrank R M = finrank R M₂ :=
   rw [← Cardinal.toNat_lift, f.lift_rank_eq, Cardinal.toNat_lift]
 #align linear_equiv.finrank_eq LinearEquiv.finrank_eq
 
+/- warning: linear_equiv.finrank_map_eq -> LinearEquiv.finrank_map_eq is a dubious translation:
+lean 3 declaration is
+  forall {R : Type.{u1}} {M : Type.{u2}} {M₂ : Type.{u3}} [_inst_6 : Ring.{u1} R] [_inst_7 : AddCommGroup.{u2} M] [_inst_8 : AddCommGroup.{u3} M₂] [_inst_9 : Module.{u1, u2} R M (Ring.toSemiring.{u1} R _inst_6) (AddCommGroup.toAddCommMonoid.{u2} M _inst_7)] [_inst_10 : Module.{u1, u3} R M₂ (Ring.toSemiring.{u1} R _inst_6) (AddCommGroup.toAddCommMonoid.{u3} M₂ _inst_8)] (f : LinearEquiv.{u1, u1, u2, u3} R R (Ring.toSemiring.{u1} R _inst_6) (Ring.toSemiring.{u1} R _inst_6) (RingHom.id.{u1} R (Semiring.toNonAssocSemiring.{u1} R (Ring.toSemiring.{u1} R _inst_6))) (RingHom.id.{u1} R (Semiring.toNonAssocSemiring.{u1} R (Ring.toSemiring.{u1} R _inst_6))) (RingHomInvPair.ids.{u1} R (Ring.toSemiring.{u1} R _inst_6)) (RingHomInvPair.ids.{u1} R (Ring.toSemiring.{u1} R _inst_6)) M M₂ (AddCommGroup.toAddCommMonoid.{u2} M _inst_7) (AddCommGroup.toAddCommMonoid.{u3} M₂ _inst_8) _inst_9 _inst_10) (p : Submodule.{u1, u2} R M (Ring.toSemiring.{u1} R _inst_6) (AddCommGroup.toAddCommMonoid.{u2} M _inst_7) _inst_9), Eq.{1} Nat (FiniteDimensional.finrank.{u1, u3} R (coeSort.{succ u3, succ (succ u3)} (Submodule.{u1, u3} R M₂ (Ring.toSemiring.{u1} R _inst_6) (AddCommGroup.toAddCommMonoid.{u3} M₂ _inst_8) _inst_10) Type.{u3} (SetLike.hasCoeToSort.{u3, u3} (Submodule.{u1, u3} R M₂ (Ring.toSemiring.{u1} R _inst_6) (AddCommGroup.toAddCommMonoid.{u3} M₂ _inst_8) _inst_10) M₂ (Submodule.setLike.{u1, u3} R M₂ (Ring.toSemiring.{u1} R _inst_6) (AddCommGroup.toAddCommMonoid.{u3} M₂ _inst_8) _inst_10)) (Submodule.map.{u1, u1, u2, u3, max u2 u3} R R M M₂ (Ring.toSemiring.{u1} R _inst_6) (Ring.toSemiring.{u1} R _inst_6) (AddCommGroup.toAddCommMonoid.{u2} M _inst_7) (AddCommGroup.toAddCommMonoid.{u3} M₂ _inst_8) _inst_9 _inst_10 (RingHom.id.{u1} R (Semiring.toNonAssocSemiring.{u1} R (Ring.toSemiring.{u1} R _inst_6))) (RingHomSurjective.ids.{u1} R (Ring.toSemiring.{u1} R _inst_6)) (LinearMap.{u1, u1, u2, u3} R R (Ring.toSemiring.{u1} R _inst_6) (Ring.toSemiring.{u1} R _inst_6) (RingHom.id.{u1} R (Semiring.toNonAssocSemiring.{u1} R (Ring.toSemiring.{u1} R _inst_6))) M M₂ (AddCommGroup.toAddCommMonoid.{u2} M _inst_7) (AddCommGroup.toAddCommMonoid.{u3} M₂ _inst_8) _inst_9 _inst_10) (LinearMap.semilinearMapClass.{u1, u1, u2, u3} R R M M₂ (Ring.toSemiring.{u1} R _inst_6) (Ring.toSemiring.{u1} R _inst_6) (AddCommGroup.toAddCommMonoid.{u2} M _inst_7) (AddCommGroup.toAddCommMonoid.{u3} M₂ _inst_8) _inst_9 _inst_10 (RingHom.id.{u1} R (Semiring.toNonAssocSemiring.{u1} R (Ring.toSemiring.{u1} R _inst_6)))) ((fun (a : Sort.{max (succ u2) (succ u3)}) (b : Sort.{max (succ u2) (succ u3)}) [self : HasLiftT.{max (succ u2) (succ u3), max (succ u2) (succ u3)} a b] => self.0) (LinearEquiv.{u1, u1, u2, u3} R R (Ring.toSemiring.{u1} R _inst_6) (Ring.toSemiring.{u1} R _inst_6) (RingHom.id.{u1} R (Semiring.toNonAssocSemiring.{u1} R (Ring.toSemiring.{u1} R _inst_6))) (RingHom.id.{u1} R (Semiring.toNonAssocSemiring.{u1} R (Ring.toSemiring.{u1} R _inst_6))) (RingHomInvPair.ids.{u1} R (Ring.toSemiring.{u1} R _inst_6)) (RingHomInvPair.ids.{u1} R (Ring.toSemiring.{u1} R _inst_6)) M M₂ (AddCommGroup.toAddCommMonoid.{u2} M _inst_7) (AddCommGroup.toAddCommMonoid.{u3} M₂ _inst_8) _inst_9 _inst_10) (LinearMap.{u1, u1, u2, u3} R R (Ring.toSemiring.{u1} R _inst_6) (Ring.toSemiring.{u1} R _inst_6) (RingHom.id.{u1} R (Semiring.toNonAssocSemiring.{u1} R (Ring.toSemiring.{u1} R _inst_6))) M M₂ (AddCommGroup.toAddCommMonoid.{u2} M _inst_7) (AddCommGroup.toAddCommMonoid.{u3} M₂ _inst_8) _inst_9 _inst_10) (HasLiftT.mk.{max (succ u2) (succ u3), max (succ u2) (succ u3)} (LinearEquiv.{u1, u1, u2, u3} R R (Ring.toSemiring.{u1} R _inst_6) (Ring.toSemiring.{u1} R _inst_6) (RingHom.id.{u1} R (Semiring.toNonAssocSemiring.{u1} R (Ring.toSemiring.{u1} R _inst_6))) (RingHom.id.{u1} R (Semiring.toNonAssocSemiring.{u1} R (Ring.toSemiring.{u1} R _inst_6))) (RingHomInvPair.ids.{u1} R (Ring.toSemiring.{u1} R _inst_6)) (RingHomInvPair.ids.{u1} R (Ring.toSemiring.{u1} R _inst_6)) M M₂ (AddCommGroup.toAddCommMonoid.{u2} M _inst_7) (AddCommGroup.toAddCommMonoid.{u3} M₂ _inst_8) _inst_9 _inst_10) (LinearMap.{u1, u1, u2, u3} R R (Ring.toSemiring.{u1} R _inst_6) (Ring.toSemiring.{u1} R _inst_6) (RingHom.id.{u1} R (Semiring.toNonAssocSemiring.{u1} R (Ring.toSemiring.{u1} R _inst_6))) M M₂ (AddCommGroup.toAddCommMonoid.{u2} M _inst_7) (AddCommGroup.toAddCommMonoid.{u3} M₂ _inst_8) _inst_9 _inst_10) (CoeTCₓ.coe.{max (succ u2) (succ u3), max (succ u2) (succ u3)} (LinearEquiv.{u1, u1, u2, u3} R R (Ring.toSemiring.{u1} R _inst_6) (Ring.toSemiring.{u1} R _inst_6) (RingHom.id.{u1} R (Semiring.toNonAssocSemiring.{u1} R (Ring.toSemiring.{u1} R _inst_6))) (RingHom.id.{u1} R (Semiring.toNonAssocSemiring.{u1} R (Ring.toSemiring.{u1} R _inst_6))) (RingHomInvPair.ids.{u1} R (Ring.toSemiring.{u1} R _inst_6)) (RingHomInvPair.ids.{u1} R (Ring.toSemiring.{u1} R _inst_6)) M M₂ (AddCommGroup.toAddCommMonoid.{u2} M _inst_7) (AddCommGroup.toAddCommMonoid.{u3} M₂ _inst_8) _inst_9 _inst_10) (LinearMap.{u1, u1, u2, u3} R R (Ring.toSemiring.{u1} R _inst_6) (Ring.toSemiring.{u1} R _inst_6) (RingHom.id.{u1} R (Semiring.toNonAssocSemiring.{u1} R (Ring.toSemiring.{u1} R _inst_6))) M M₂ (AddCommGroup.toAddCommMonoid.{u2} M _inst_7) (AddCommGroup.toAddCommMonoid.{u3} M₂ _inst_8) _inst_9 _inst_10) (coeBase.{max (succ u2) (succ u3), max (succ u2) (succ u3)} (LinearEquiv.{u1, u1, u2, u3} R R (Ring.toSemiring.{u1} R _inst_6) (Ring.toSemiring.{u1} R _inst_6) (RingHom.id.{u1} R (Semiring.toNonAssocSemiring.{u1} R (Ring.toSemiring.{u1} R _inst_6))) (RingHom.id.{u1} R (Semiring.toNonAssocSemiring.{u1} R (Ring.toSemiring.{u1} R _inst_6))) (RingHomInvPair.ids.{u1} R (Ring.toSemiring.{u1} R _inst_6)) (RingHomInvPair.ids.{u1} R (Ring.toSemiring.{u1} R _inst_6)) M M₂ (AddCommGroup.toAddCommMonoid.{u2} M _inst_7) (AddCommGroup.toAddCommMonoid.{u3} M₂ _inst_8) _inst_9 _inst_10) (LinearMap.{u1, u1, u2, u3} R R (Ring.toSemiring.{u1} R _inst_6) (Ring.toSemiring.{u1} R _inst_6) (RingHom.id.{u1} R (Semiring.toNonAssocSemiring.{u1} R (Ring.toSemiring.{u1} R _inst_6))) M M₂ (AddCommGroup.toAddCommMonoid.{u2} M _inst_7) (AddCommGroup.toAddCommMonoid.{u3} M₂ _inst_8) _inst_9 _inst_10) (LinearEquiv.LinearMap.hasCoe.{u1, u1, u2, u3} R R M M₂ (Ring.toSemiring.{u1} R _inst_6) (Ring.toSemiring.{u1} R _inst_6) (AddCommGroup.toAddCommMonoid.{u2} M _inst_7) (AddCommGroup.toAddCommMonoid.{u3} M₂ _inst_8) _inst_9 _inst_10 (RingHom.id.{u1} R (Semiring.toNonAssocSemiring.{u1} R (Ring.toSemiring.{u1} R _inst_6))) (RingHom.id.{u1} R (Semiring.toNonAssocSemiring.{u1} R (Ring.toSemiring.{u1} R _inst_6))) (RingHomInvPair.ids.{u1} R (Ring.toSemiring.{u1} R _inst_6)) (RingHomInvPair.ids.{u1} R (Ring.toSemiring.{u1} R _inst_6)))))) f) p)) (Ring.toSemiring.{u1} R _inst_6) (Submodule.addCommGroup.{u1, u3} R M₂ _inst_6 _inst_8 _inst_10 (Submodule.map.{u1, u1, u2, u3, max u2 u3} R R M M₂ (Ring.toSemiring.{u1} R _inst_6) (Ring.toSemiring.{u1} R _inst_6) (AddCommGroup.toAddCommMonoid.{u2} M _inst_7) (AddCommGroup.toAddCommMonoid.{u3} M₂ _inst_8) _inst_9 _inst_10 (RingHom.id.{u1} R (Semiring.toNonAssocSemiring.{u1} R (Ring.toSemiring.{u1} R _inst_6))) (RingHomSurjective.ids.{u1} R (Ring.toSemiring.{u1} R _inst_6)) (LinearMap.{u1, u1, u2, u3} R R (Ring.toSemiring.{u1} R _inst_6) (Ring.toSemiring.{u1} R _inst_6) (RingHom.id.{u1} R (Semiring.toNonAssocSemiring.{u1} R (Ring.toSemiring.{u1} R _inst_6))) M M₂ (AddCommGroup.toAddCommMonoid.{u2} M _inst_7) (AddCommGroup.toAddCommMonoid.{u3} M₂ _inst_8) _inst_9 _inst_10) (LinearMap.semilinearMapClass.{u1, u1, u2, u3} R R M M₂ (Ring.toSemiring.{u1} R _inst_6) (Ring.toSemiring.{u1} R _inst_6) (AddCommGroup.toAddCommMonoid.{u2} M _inst_7) (AddCommGroup.toAddCommMonoid.{u3} M₂ _inst_8) _inst_9 _inst_10 (RingHom.id.{u1} R (Semiring.toNonAssocSemiring.{u1} R (Ring.toSemiring.{u1} R _inst_6)))) ((fun (a : Sort.{max (succ u2) (succ u3)}) (b : Sort.{max (succ u2) (succ u3)}) [self : HasLiftT.{max (succ u2) (succ u3), max (succ u2) (succ u3)} a b] => self.0) (LinearEquiv.{u1, u1, u2, u3} R R (Ring.toSemiring.{u1} R _inst_6) (Ring.toSemiring.{u1} R _inst_6) (RingHom.id.{u1} R (Semiring.toNonAssocSemiring.{u1} R (Ring.toSemiring.{u1} R _inst_6))) (RingHom.id.{u1} R (Semiring.toNonAssocSemiring.{u1} R (Ring.toSemiring.{u1} R _inst_6))) (RingHomInvPair.ids.{u1} R (Ring.toSemiring.{u1} R _inst_6)) (RingHomInvPair.ids.{u1} R (Ring.toSemiring.{u1} R _inst_6)) M M₂ (AddCommGroup.toAddCommMonoid.{u2} M _inst_7) (AddCommGroup.toAddCommMonoid.{u3} M₂ _inst_8) _inst_9 _inst_10) (LinearMap.{u1, u1, u2, u3} R R (Ring.toSemiring.{u1} R _inst_6) (Ring.toSemiring.{u1} R _inst_6) (RingHom.id.{u1} R (Semiring.toNonAssocSemiring.{u1} R (Ring.toSemiring.{u1} R _inst_6))) M M₂ (AddCommGroup.toAddCommMonoid.{u2} M _inst_7) (AddCommGroup.toAddCommMonoid.{u3} M₂ _inst_8) _inst_9 _inst_10) (HasLiftT.mk.{max (succ u2) (succ u3), max (succ u2) (succ u3)} (LinearEquiv.{u1, u1, u2, u3} R R (Ring.toSemiring.{u1} R _inst_6) (Ring.toSemiring.{u1} R _inst_6) (RingHom.id.{u1} R (Semiring.toNonAssocSemiring.{u1} R (Ring.toSemiring.{u1} R _inst_6))) (RingHom.id.{u1} R (Semiring.toNonAssocSemiring.{u1} R (Ring.toSemiring.{u1} R _inst_6))) (RingHomInvPair.ids.{u1} R (Ring.toSemiring.{u1} R _inst_6)) (RingHomInvPair.ids.{u1} R (Ring.toSemiring.{u1} R _inst_6)) M M₂ (AddCommGroup.toAddCommMonoid.{u2} M _inst_7) (AddCommGroup.toAddCommMonoid.{u3} M₂ _inst_8) _inst_9 _inst_10) (LinearMap.{u1, u1, u2, u3} R R (Ring.toSemiring.{u1} R _inst_6) (Ring.toSemiring.{u1} R _inst_6) (RingHom.id.{u1} R (Semiring.toNonAssocSemiring.{u1} R (Ring.toSemiring.{u1} R _inst_6))) M M₂ (AddCommGroup.toAddCommMonoid.{u2} M _inst_7) (AddCommGroup.toAddCommMonoid.{u3} M₂ _inst_8) _inst_9 _inst_10) (CoeTCₓ.coe.{max (succ u2) (succ u3), max (succ u2) (succ u3)} (LinearEquiv.{u1, u1, u2, u3} R R (Ring.toSemiring.{u1} R _inst_6) (Ring.toSemiring.{u1} R _inst_6) (RingHom.id.{u1} R (Semiring.toNonAssocSemiring.{u1} R (Ring.toSemiring.{u1} R _inst_6))) (RingHom.id.{u1} R (Semiring.toNonAssocSemiring.{u1} R (Ring.toSemiring.{u1} R _inst_6))) (RingHomInvPair.ids.{u1} R (Ring.toSemiring.{u1} R _inst_6)) (RingHomInvPair.ids.{u1} R (Ring.toSemiring.{u1} R _inst_6)) M M₂ (AddCommGroup.toAddCommMonoid.{u2} M _inst_7) (AddCommGroup.toAddCommMonoid.{u3} M₂ _inst_8) _inst_9 _inst_10) (LinearMap.{u1, u1, u2, u3} R R (Ring.toSemiring.{u1} R _inst_6) (Ring.toSemiring.{u1} R _inst_6) (RingHom.id.{u1} R (Semiring.toNonAssocSemiring.{u1} R (Ring.toSemiring.{u1} R _inst_6))) M M₂ (AddCommGroup.toAddCommMonoid.{u2} M _inst_7) (AddCommGroup.toAddCommMonoid.{u3} M₂ _inst_8) _inst_9 _inst_10) (coeBase.{max (succ u2) (succ u3), max (succ u2) (succ u3)} (LinearEquiv.{u1, u1, u2, u3} R R (Ring.toSemiring.{u1} R _inst_6) (Ring.toSemiring.{u1} R _inst_6) (RingHom.id.{u1} R (Semiring.toNonAssocSemiring.{u1} R (Ring.toSemiring.{u1} R _inst_6))) (RingHom.id.{u1} R (Semiring.toNonAssocSemiring.{u1} R (Ring.toSemiring.{u1} R _inst_6))) (RingHomInvPair.ids.{u1} R (Ring.toSemiring.{u1} R _inst_6)) (RingHomInvPair.ids.{u1} R (Ring.toSemiring.{u1} R _inst_6)) M M₂ (AddCommGroup.toAddCommMonoid.{u2} M _inst_7) (AddCommGroup.toAddCommMonoid.{u3} M₂ _inst_8) _inst_9 _inst_10) (LinearMap.{u1, u1, u2, u3} R R (Ring.toSemiring.{u1} R _inst_6) (Ring.toSemiring.{u1} R _inst_6) (RingHom.id.{u1} R (Semiring.toNonAssocSemiring.{u1} R (Ring.toSemiring.{u1} R _inst_6))) M M₂ (AddCommGroup.toAddCommMonoid.{u2} M _inst_7) (AddCommGroup.toAddCommMonoid.{u3} M₂ _inst_8) _inst_9 _inst_10) (LinearEquiv.LinearMap.hasCoe.{u1, u1, u2, u3} R R M M₂ (Ring.toSemiring.{u1} R _inst_6) (Ring.toSemiring.{u1} R _inst_6) (AddCommGroup.toAddCommMonoid.{u2} M _inst_7) (AddCommGroup.toAddCommMonoid.{u3} M₂ _inst_8) _inst_9 _inst_10 (RingHom.id.{u1} R (Semiring.toNonAssocSemiring.{u1} R (Ring.toSemiring.{u1} R _inst_6))) (RingHom.id.{u1} R (Semiring.toNonAssocSemiring.{u1} R (Ring.toSemiring.{u1} R _inst_6))) (RingHomInvPair.ids.{u1} R (Ring.toSemiring.{u1} R _inst_6)) (RingHomInvPair.ids.{u1} R (Ring.toSemiring.{u1} R _inst_6)))))) f) p)) (Submodule.module.{u1, u3} R M₂ (Ring.toSemiring.{u1} R _inst_6) (AddCommGroup.toAddCommMonoid.{u3} M₂ _inst_8) _inst_10 (Submodule.map.{u1, u1, u2, u3, max u2 u3} R R M M₂ (Ring.toSemiring.{u1} R _inst_6) (Ring.toSemiring.{u1} R _inst_6) (AddCommGroup.toAddCommMonoid.{u2} M _inst_7) (AddCommGroup.toAddCommMonoid.{u3} M₂ _inst_8) _inst_9 _inst_10 (RingHom.id.{u1} R (Semiring.toNonAssocSemiring.{u1} R (Ring.toSemiring.{u1} R _inst_6))) (RingHomSurjective.ids.{u1} R (Ring.toSemiring.{u1} R _inst_6)) (LinearMap.{u1, u1, u2, u3} R R (Ring.toSemiring.{u1} R _inst_6) (Ring.toSemiring.{u1} R _inst_6) (RingHom.id.{u1} R (Semiring.toNonAssocSemiring.{u1} R (Ring.toSemiring.{u1} R _inst_6))) M M₂ (AddCommGroup.toAddCommMonoid.{u2} M _inst_7) (AddCommGroup.toAddCommMonoid.{u3} M₂ _inst_8) _inst_9 _inst_10) (LinearMap.semilinearMapClass.{u1, u1, u2, u3} R R M M₂ (Ring.toSemiring.{u1} R _inst_6) (Ring.toSemiring.{u1} R _inst_6) (AddCommGroup.toAddCommMonoid.{u2} M _inst_7) (AddCommGroup.toAddCommMonoid.{u3} M₂ _inst_8) _inst_9 _inst_10 (RingHom.id.{u1} R (Semiring.toNonAssocSemiring.{u1} R (Ring.toSemiring.{u1} R _inst_6)))) ((fun (a : Sort.{max (succ u2) (succ u3)}) (b : Sort.{max (succ u2) (succ u3)}) [self : HasLiftT.{max (succ u2) (succ u3), max (succ u2) (succ u3)} a b] => self.0) (LinearEquiv.{u1, u1, u2, u3} R R (Ring.toSemiring.{u1} R _inst_6) (Ring.toSemiring.{u1} R _inst_6) (RingHom.id.{u1} R (Semiring.toNonAssocSemiring.{u1} R (Ring.toSemiring.{u1} R _inst_6))) (RingHom.id.{u1} R (Semiring.toNonAssocSemiring.{u1} R (Ring.toSemiring.{u1} R _inst_6))) (RingHomInvPair.ids.{u1} R (Ring.toSemiring.{u1} R _inst_6)) (RingHomInvPair.ids.{u1} R (Ring.toSemiring.{u1} R _inst_6)) M M₂ (AddCommGroup.toAddCommMonoid.{u2} M _inst_7) (AddCommGroup.toAddCommMonoid.{u3} M₂ _inst_8) _inst_9 _inst_10) (LinearMap.{u1, u1, u2, u3} R R (Ring.toSemiring.{u1} R _inst_6) (Ring.toSemiring.{u1} R _inst_6) (RingHom.id.{u1} R (Semiring.toNonAssocSemiring.{u1} R (Ring.toSemiring.{u1} R _inst_6))) M M₂ (AddCommGroup.toAddCommMonoid.{u2} M _inst_7) (AddCommGroup.toAddCommMonoid.{u3} M₂ _inst_8) _inst_9 _inst_10) (HasLiftT.mk.{max (succ u2) (succ u3), max (succ u2) (succ u3)} (LinearEquiv.{u1, u1, u2, u3} R R (Ring.toSemiring.{u1} R _inst_6) (Ring.toSemiring.{u1} R _inst_6) (RingHom.id.{u1} R (Semiring.toNonAssocSemiring.{u1} R (Ring.toSemiring.{u1} R _inst_6))) (RingHom.id.{u1} R (Semiring.toNonAssocSemiring.{u1} R (Ring.toSemiring.{u1} R _inst_6))) (RingHomInvPair.ids.{u1} R (Ring.toSemiring.{u1} R _inst_6)) (RingHomInvPair.ids.{u1} R (Ring.toSemiring.{u1} R _inst_6)) M M₂ (AddCommGroup.toAddCommMonoid.{u2} M _inst_7) (AddCommGroup.toAddCommMonoid.{u3} M₂ _inst_8) _inst_9 _inst_10) (LinearMap.{u1, u1, u2, u3} R R (Ring.toSemiring.{u1} R _inst_6) (Ring.toSemiring.{u1} R _inst_6) (RingHom.id.{u1} R (Semiring.toNonAssocSemiring.{u1} R (Ring.toSemiring.{u1} R _inst_6))) M M₂ (AddCommGroup.toAddCommMonoid.{u2} M _inst_7) (AddCommGroup.toAddCommMonoid.{u3} M₂ _inst_8) _inst_9 _inst_10) (CoeTCₓ.coe.{max (succ u2) (succ u3), max (succ u2) (succ u3)} (LinearEquiv.{u1, u1, u2, u3} R R (Ring.toSemiring.{u1} R _inst_6) (Ring.toSemiring.{u1} R _inst_6) (RingHom.id.{u1} R (Semiring.toNonAssocSemiring.{u1} R (Ring.toSemiring.{u1} R _inst_6))) (RingHom.id.{u1} R (Semiring.toNonAssocSemiring.{u1} R (Ring.toSemiring.{u1} R _inst_6))) (RingHomInvPair.ids.{u1} R (Ring.toSemiring.{u1} R _inst_6)) (RingHomInvPair.ids.{u1} R (Ring.toSemiring.{u1} R _inst_6)) M M₂ (AddCommGroup.toAddCommMonoid.{u2} M _inst_7) (AddCommGroup.toAddCommMonoid.{u3} M₂ _inst_8) _inst_9 _inst_10) (LinearMap.{u1, u1, u2, u3} R R (Ring.toSemiring.{u1} R _inst_6) (Ring.toSemiring.{u1} R _inst_6) (RingHom.id.{u1} R (Semiring.toNonAssocSemiring.{u1} R (Ring.toSemiring.{u1} R _inst_6))) M M₂ (AddCommGroup.toAddCommMonoid.{u2} M _inst_7) (AddCommGroup.toAddCommMonoid.{u3} M₂ _inst_8) _inst_9 _inst_10) (coeBase.{max (succ u2) (succ u3), max (succ u2) (succ u3)} (LinearEquiv.{u1, u1, u2, u3} R R (Ring.toSemiring.{u1} R _inst_6) (Ring.toSemiring.{u1} R _inst_6) (RingHom.id.{u1} R (Semiring.toNonAssocSemiring.{u1} R (Ring.toSemiring.{u1} R _inst_6))) (RingHom.id.{u1} R (Semiring.toNonAssocSemiring.{u1} R (Ring.toSemiring.{u1} R _inst_6))) (RingHomInvPair.ids.{u1} R (Ring.toSemiring.{u1} R _inst_6)) (RingHomInvPair.ids.{u1} R (Ring.toSemiring.{u1} R _inst_6)) M M₂ (AddCommGroup.toAddCommMonoid.{u2} M _inst_7) (AddCommGroup.toAddCommMonoid.{u3} M₂ _inst_8) _inst_9 _inst_10) (LinearMap.{u1, u1, u2, u3} R R (Ring.toSemiring.{u1} R _inst_6) (Ring.toSemiring.{u1} R _inst_6) (RingHom.id.{u1} R (Semiring.toNonAssocSemiring.{u1} R (Ring.toSemiring.{u1} R _inst_6))) M M₂ (AddCommGroup.toAddCommMonoid.{u2} M _inst_7) (AddCommGroup.toAddCommMonoid.{u3} M₂ _inst_8) _inst_9 _inst_10) (LinearEquiv.LinearMap.hasCoe.{u1, u1, u2, u3} R R M M₂ (Ring.toSemiring.{u1} R _inst_6) (Ring.toSemiring.{u1} R _inst_6) (AddCommGroup.toAddCommMonoid.{u2} M _inst_7) (AddCommGroup.toAddCommMonoid.{u3} M₂ _inst_8) _inst_9 _inst_10 (RingHom.id.{u1} R (Semiring.toNonAssocSemiring.{u1} R (Ring.toSemiring.{u1} R _inst_6))) (RingHom.id.{u1} R (Semiring.toNonAssocSemiring.{u1} R (Ring.toSemiring.{u1} R _inst_6))) (RingHomInvPair.ids.{u1} R (Ring.toSemiring.{u1} R _inst_6)) (RingHomInvPair.ids.{u1} R (Ring.toSemiring.{u1} R _inst_6)))))) f) p))) (FiniteDimensional.finrank.{u1, u2} R (coeSort.{succ u2, succ (succ u2)} (Submodule.{u1, u2} R M (Ring.toSemiring.{u1} R _inst_6) (AddCommGroup.toAddCommMonoid.{u2} M _inst_7) _inst_9) Type.{u2} (SetLike.hasCoeToSort.{u2, u2} (Submodule.{u1, u2} R M (Ring.toSemiring.{u1} R _inst_6) (AddCommGroup.toAddCommMonoid.{u2} M _inst_7) _inst_9) M (Submodule.setLike.{u1, u2} R M (Ring.toSemiring.{u1} R _inst_6) (AddCommGroup.toAddCommMonoid.{u2} M _inst_7) _inst_9)) p) (Ring.toSemiring.{u1} R _inst_6) (Submodule.addCommGroup.{u1, u2} R M _inst_6 _inst_7 _inst_9 p) (Submodule.module.{u1, u2} R M (Ring.toSemiring.{u1} R _inst_6) (AddCommGroup.toAddCommMonoid.{u2} M _inst_7) _inst_9 p))
+but is expected to have type
+  forall {R : Type.{u3}} {M : Type.{u2}} {M₂ : Type.{u1}} [_inst_6 : Ring.{u3} R] [_inst_7 : AddCommGroup.{u2} M] [_inst_8 : AddCommGroup.{u1} M₂] [_inst_9 : Module.{u3, u2} R M (Ring.toSemiring.{u3} R _inst_6) (AddCommGroup.toAddCommMonoid.{u2} M _inst_7)] [_inst_10 : Module.{u3, u1} R M₂ (Ring.toSemiring.{u3} R _inst_6) (AddCommGroup.toAddCommMonoid.{u1} M₂ _inst_8)] (f : LinearEquiv.{u3, u3, u2, u1} R R (Ring.toSemiring.{u3} R _inst_6) (Ring.toSemiring.{u3} R _inst_6) (RingHom.id.{u3} R (NonAssocRing.toNonAssocSemiring.{u3} R (Ring.toNonAssocRing.{u3} R _inst_6))) (RingHom.id.{u3} R (Semiring.toNonAssocSemiring.{u3} R (Ring.toSemiring.{u3} R _inst_6))) (RingHomInvPair.ids.{u3} R (Ring.toSemiring.{u3} R _inst_6)) (RingHomInvPair.ids.{u3} R (Ring.toSemiring.{u3} R _inst_6)) M M₂ (AddCommGroup.toAddCommMonoid.{u2} M _inst_7) (AddCommGroup.toAddCommMonoid.{u1} M₂ _inst_8) _inst_9 _inst_10) (p : Submodule.{u3, u2} R M (Ring.toSemiring.{u3} R _inst_6) (AddCommGroup.toAddCommMonoid.{u2} M _inst_7) _inst_9), Eq.{1} Nat (FiniteDimensional.finrank.{u3, u1} R (Subtype.{succ u1} M₂ (fun (x : M₂) => Membership.mem.{u1, u1} M₂ (Submodule.{u3, u1} R M₂ (Ring.toSemiring.{u3} R _inst_6) (AddCommGroup.toAddCommMonoid.{u1} M₂ _inst_8) _inst_10) (SetLike.instMembership.{u1, u1} (Submodule.{u3, u1} R M₂ (Ring.toSemiring.{u3} R _inst_6) (AddCommGroup.toAddCommMonoid.{u1} M₂ _inst_8) _inst_10) M₂ (Submodule.setLike.{u3, u1} R M₂ (Ring.toSemiring.{u3} R _inst_6) (AddCommGroup.toAddCommMonoid.{u1} M₂ _inst_8) _inst_10)) x (Submodule.map.{u3, u3, u2, u1, max u2 u1} R R M M₂ (Ring.toSemiring.{u3} R _inst_6) (Ring.toSemiring.{u3} R _inst_6) (AddCommGroup.toAddCommMonoid.{u2} M _inst_7) (AddCommGroup.toAddCommMonoid.{u1} M₂ _inst_8) _inst_9 _inst_10 (RingHom.id.{u3} R (NonAssocRing.toNonAssocSemiring.{u3} R (Ring.toNonAssocRing.{u3} R _inst_6))) (RingHomSurjective.ids.{u3} R (Ring.toSemiring.{u3} R _inst_6)) (LinearMap.{u3, u3, u2, u1} R R (Ring.toSemiring.{u3} R _inst_6) (Ring.toSemiring.{u3} R _inst_6) (RingHom.id.{u3} R (NonAssocRing.toNonAssocSemiring.{u3} R (Ring.toNonAssocRing.{u3} R _inst_6))) M M₂ (AddCommGroup.toAddCommMonoid.{u2} M _inst_7) (AddCommGroup.toAddCommMonoid.{u1} M₂ _inst_8) _inst_9 _inst_10) (LinearMap.instSemilinearMapClassLinearMap.{u3, u3, u2, u1} R R M M₂ (Ring.toSemiring.{u3} R _inst_6) (Ring.toSemiring.{u3} R _inst_6) (AddCommGroup.toAddCommMonoid.{u2} M _inst_7) (AddCommGroup.toAddCommMonoid.{u1} M₂ _inst_8) _inst_9 _inst_10 (RingHom.id.{u3} R (NonAssocRing.toNonAssocSemiring.{u3} R (Ring.toNonAssocRing.{u3} R _inst_6)))) (LinearEquiv.toLinearMap.{u3, u3, u2, u1} R R (Ring.toSemiring.{u3} R _inst_6) (Ring.toSemiring.{u3} R _inst_6) (RingHom.id.{u3} R (NonAssocRing.toNonAssocSemiring.{u3} R (Ring.toNonAssocRing.{u3} R _inst_6))) (RingHom.id.{u3} R (Semiring.toNonAssocSemiring.{u3} R (Ring.toSemiring.{u3} R _inst_6))) (RingHomInvPair.ids.{u3} R (Ring.toSemiring.{u3} R _inst_6)) (RingHomInvPair.ids.{u3} R (Ring.toSemiring.{u3} R _inst_6)) M M₂ (AddCommGroup.toAddCommMonoid.{u2} M _inst_7) (AddCommGroup.toAddCommMonoid.{u1} M₂ _inst_8) _inst_9 _inst_10 f) p))) (Ring.toSemiring.{u3} R _inst_6) (Submodule.addCommGroup.{u3, u1} R M₂ _inst_6 _inst_8 _inst_10 (Submodule.map.{u3, u3, u2, u1, max u2 u1} R R M M₂ (Ring.toSemiring.{u3} R _inst_6) (Ring.toSemiring.{u3} R _inst_6) (AddCommGroup.toAddCommMonoid.{u2} M _inst_7) (AddCommGroup.toAddCommMonoid.{u1} M₂ _inst_8) _inst_9 _inst_10 (RingHom.id.{u3} R (NonAssocRing.toNonAssocSemiring.{u3} R (Ring.toNonAssocRing.{u3} R _inst_6))) (RingHomSurjective.ids.{u3} R (Ring.toSemiring.{u3} R _inst_6)) (LinearMap.{u3, u3, u2, u1} R R (Ring.toSemiring.{u3} R _inst_6) (Ring.toSemiring.{u3} R _inst_6) (RingHom.id.{u3} R (NonAssocRing.toNonAssocSemiring.{u3} R (Ring.toNonAssocRing.{u3} R _inst_6))) M M₂ (AddCommGroup.toAddCommMonoid.{u2} M _inst_7) (AddCommGroup.toAddCommMonoid.{u1} M₂ _inst_8) _inst_9 _inst_10) (LinearMap.instSemilinearMapClassLinearMap.{u3, u3, u2, u1} R R M M₂ (Ring.toSemiring.{u3} R _inst_6) (Ring.toSemiring.{u3} R _inst_6) (AddCommGroup.toAddCommMonoid.{u2} M _inst_7) (AddCommGroup.toAddCommMonoid.{u1} M₂ _inst_8) _inst_9 _inst_10 (RingHom.id.{u3} R (NonAssocRing.toNonAssocSemiring.{u3} R (Ring.toNonAssocRing.{u3} R _inst_6)))) (LinearEquiv.toLinearMap.{u3, u3, u2, u1} R R (Ring.toSemiring.{u3} R _inst_6) (Ring.toSemiring.{u3} R _inst_6) (RingHom.id.{u3} R (NonAssocRing.toNonAssocSemiring.{u3} R (Ring.toNonAssocRing.{u3} R _inst_6))) (RingHom.id.{u3} R (Semiring.toNonAssocSemiring.{u3} R (Ring.toSemiring.{u3} R _inst_6))) (RingHomInvPair.ids.{u3} R (Ring.toSemiring.{u3} R _inst_6)) (RingHomInvPair.ids.{u3} R (Ring.toSemiring.{u3} R _inst_6)) M M₂ (AddCommGroup.toAddCommMonoid.{u2} M _inst_7) (AddCommGroup.toAddCommMonoid.{u1} M₂ _inst_8) _inst_9 _inst_10 f) p)) (Submodule.module.{u3, u1} R M₂ (Ring.toSemiring.{u3} R _inst_6) (AddCommGroup.toAddCommMonoid.{u1} M₂ _inst_8) _inst_10 (Submodule.map.{u3, u3, u2, u1, max u2 u1} R R M M₂ (Ring.toSemiring.{u3} R _inst_6) (Ring.toSemiring.{u3} R _inst_6) (AddCommGroup.toAddCommMonoid.{u2} M _inst_7) (AddCommGroup.toAddCommMonoid.{u1} M₂ _inst_8) _inst_9 _inst_10 (RingHom.id.{u3} R (NonAssocRing.toNonAssocSemiring.{u3} R (Ring.toNonAssocRing.{u3} R _inst_6))) (RingHomSurjective.ids.{u3} R (Ring.toSemiring.{u3} R _inst_6)) (LinearMap.{u3, u3, u2, u1} R R (Ring.toSemiring.{u3} R _inst_6) (Ring.toSemiring.{u3} R _inst_6) (RingHom.id.{u3} R (NonAssocRing.toNonAssocSemiring.{u3} R (Ring.toNonAssocRing.{u3} R _inst_6))) M M₂ (AddCommGroup.toAddCommMonoid.{u2} M _inst_7) (AddCommGroup.toAddCommMonoid.{u1} M₂ _inst_8) _inst_9 _inst_10) (LinearMap.instSemilinearMapClassLinearMap.{u3, u3, u2, u1} R R M M₂ (Ring.toSemiring.{u3} R _inst_6) (Ring.toSemiring.{u3} R _inst_6) (AddCommGroup.toAddCommMonoid.{u2} M _inst_7) (AddCommGroup.toAddCommMonoid.{u1} M₂ _inst_8) _inst_9 _inst_10 (RingHom.id.{u3} R (NonAssocRing.toNonAssocSemiring.{u3} R (Ring.toNonAssocRing.{u3} R _inst_6)))) (LinearEquiv.toLinearMap.{u3, u3, u2, u1} R R (Ring.toSemiring.{u3} R _inst_6) (Ring.toSemiring.{u3} R _inst_6) (RingHom.id.{u3} R (NonAssocRing.toNonAssocSemiring.{u3} R (Ring.toNonAssocRing.{u3} R _inst_6))) (RingHom.id.{u3} R (Semiring.toNonAssocSemiring.{u3} R (Ring.toSemiring.{u3} R _inst_6))) (RingHomInvPair.ids.{u3} R (Ring.toSemiring.{u3} R _inst_6)) (RingHomInvPair.ids.{u3} R (Ring.toSemiring.{u3} R _inst_6)) M M₂ (AddCommGroup.toAddCommMonoid.{u2} M _inst_7) (AddCommGroup.toAddCommMonoid.{u1} M₂ _inst_8) _inst_9 _inst_10 f) p))) (FiniteDimensional.finrank.{u3, u2} R (Subtype.{succ u2} M (fun (x : M) => Membership.mem.{u2, u2} M (Submodule.{u3, u2} R M (Ring.toSemiring.{u3} R _inst_6) (AddCommGroup.toAddCommMonoid.{u2} M _inst_7) _inst_9) (SetLike.instMembership.{u2, u2} (Submodule.{u3, u2} R M (Ring.toSemiring.{u3} R _inst_6) (AddCommGroup.toAddCommMonoid.{u2} M _inst_7) _inst_9) M (Submodule.setLike.{u3, u2} R M (Ring.toSemiring.{u3} R _inst_6) (AddCommGroup.toAddCommMonoid.{u2} M _inst_7) _inst_9)) x p)) (Ring.toSemiring.{u3} R _inst_6) (Submodule.addCommGroup.{u3, u2} R M _inst_6 _inst_7 _inst_9 p) (Submodule.module.{u3, u2} R M (Ring.toSemiring.{u3} R _inst_6) (AddCommGroup.toAddCommMonoid.{u2} M _inst_7) _inst_9 p))
+Case conversion may be inaccurate. Consider using '#align linear_equiv.finrank_map_eq LinearEquiv.finrank_map_eqₓ'. -/
 /-- Pushforwards of finite-dimensional submodules along a `linear_equiv` have the same finrank. -/
 theorem finrank_map_eq (f : M ≃ₗ[R] M₂) (p : Submodule R M) :
     finrank R (p.map (f : M →ₗ[R] M₂)) = finrank R p :=
@@ -252,6 +332,12 @@ section Ring
 
 variable [Ring K] [AddCommGroup V] [Module K V] {V₂ : Type v'} [AddCommGroup V₂] [Module K V₂]
 
+/- warning: linear_map.finrank_range_of_inj -> LinearMap.finrank_range_of_inj is a dubious translation:
+lean 3 declaration is
+  forall {K : Type.{u1}} {V : Type.{u2}} [_inst_1 : Ring.{u1} K] [_inst_2 : AddCommGroup.{u2} V] [_inst_3 : Module.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2)] {V₂ : Type.{u3}} [_inst_4 : AddCommGroup.{u3} V₂] [_inst_5 : Module.{u1, u3} K V₂ (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u3} V₂ _inst_4)] {f : LinearMap.{u1, u1, u2, u3} K K (Ring.toSemiring.{u1} K _inst_1) (Ring.toSemiring.{u1} K _inst_1) (RingHom.id.{u1} K (Semiring.toNonAssocSemiring.{u1} K (Ring.toSemiring.{u1} K _inst_1))) V V₂ (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) (AddCommGroup.toAddCommMonoid.{u3} V₂ _inst_4) _inst_3 _inst_5}, (Function.Injective.{succ u2, succ u3} V V₂ (coeFn.{max (succ u2) (succ u3), max (succ u2) (succ u3)} (LinearMap.{u1, u1, u2, u3} K K (Ring.toSemiring.{u1} K _inst_1) (Ring.toSemiring.{u1} K _inst_1) (RingHom.id.{u1} K (Semiring.toNonAssocSemiring.{u1} K (Ring.toSemiring.{u1} K _inst_1))) V V₂ (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) (AddCommGroup.toAddCommMonoid.{u3} V₂ _inst_4) _inst_3 _inst_5) (fun (_x : LinearMap.{u1, u1, u2, u3} K K (Ring.toSemiring.{u1} K _inst_1) (Ring.toSemiring.{u1} K _inst_1) (RingHom.id.{u1} K (Semiring.toNonAssocSemiring.{u1} K (Ring.toSemiring.{u1} K _inst_1))) V V₂ (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) (AddCommGroup.toAddCommMonoid.{u3} V₂ _inst_4) _inst_3 _inst_5) => V -> V₂) (LinearMap.hasCoeToFun.{u1, u1, u2, u3} K K V V₂ (Ring.toSemiring.{u1} K _inst_1) (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) (AddCommGroup.toAddCommMonoid.{u3} V₂ _inst_4) _inst_3 _inst_5 (RingHom.id.{u1} K (Semiring.toNonAssocSemiring.{u1} K (Ring.toSemiring.{u1} K _inst_1)))) f)) -> (Eq.{1} Nat (FiniteDimensional.finrank.{u1, u3} K (coeSort.{succ u3, succ (succ u3)} (Submodule.{u1, u3} K V₂ (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u3} V₂ _inst_4) _inst_5) Type.{u3} (SetLike.hasCoeToSort.{u3, u3} (Submodule.{u1, u3} K V₂ (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u3} V₂ _inst_4) _inst_5) V₂ (Submodule.setLike.{u1, u3} K V₂ (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u3} V₂ _inst_4) _inst_5)) (LinearMap.range.{u1, u1, u2, u3, max u2 u3} K K V V₂ (Ring.toSemiring.{u1} K _inst_1) (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) (AddCommGroup.toAddCommMonoid.{u3} V₂ _inst_4) _inst_3 _inst_5 (RingHom.id.{u1} K (Semiring.toNonAssocSemiring.{u1} K (Ring.toSemiring.{u1} K _inst_1))) (LinearMap.{u1, u1, u2, u3} K K (Ring.toSemiring.{u1} K _inst_1) (Ring.toSemiring.{u1} K _inst_1) (RingHom.id.{u1} K (Semiring.toNonAssocSemiring.{u1} K (Ring.toSemiring.{u1} K _inst_1))) V V₂ (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) (AddCommGroup.toAddCommMonoid.{u3} V₂ _inst_4) _inst_3 _inst_5) (LinearMap.semilinearMapClass.{u1, u1, u2, u3} K K V V₂ (Ring.toSemiring.{u1} K _inst_1) (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) (AddCommGroup.toAddCommMonoid.{u3} V₂ _inst_4) _inst_3 _inst_5 (RingHom.id.{u1} K (Semiring.toNonAssocSemiring.{u1} K (Ring.toSemiring.{u1} K _inst_1)))) (RingHomSurjective.ids.{u1} K (Ring.toSemiring.{u1} K _inst_1)) f)) (Ring.toSemiring.{u1} K _inst_1) (Submodule.addCommGroup.{u1, u3} K V₂ _inst_1 _inst_4 _inst_5 (LinearMap.range.{u1, u1, u2, u3, max u2 u3} K K V V₂ (Ring.toSemiring.{u1} K _inst_1) (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) (AddCommGroup.toAddCommMonoid.{u3} V₂ _inst_4) _inst_3 _inst_5 (RingHom.id.{u1} K (Semiring.toNonAssocSemiring.{u1} K (Ring.toSemiring.{u1} K _inst_1))) (LinearMap.{u1, u1, u2, u3} K K (Ring.toSemiring.{u1} K _inst_1) (Ring.toSemiring.{u1} K _inst_1) (RingHom.id.{u1} K (Semiring.toNonAssocSemiring.{u1} K (Ring.toSemiring.{u1} K _inst_1))) V V₂ (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) (AddCommGroup.toAddCommMonoid.{u3} V₂ _inst_4) _inst_3 _inst_5) (LinearMap.semilinearMapClass.{u1, u1, u2, u3} K K V V₂ (Ring.toSemiring.{u1} K _inst_1) (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) (AddCommGroup.toAddCommMonoid.{u3} V₂ _inst_4) _inst_3 _inst_5 (RingHom.id.{u1} K (Semiring.toNonAssocSemiring.{u1} K (Ring.toSemiring.{u1} K _inst_1)))) (RingHomSurjective.ids.{u1} K (Ring.toSemiring.{u1} K _inst_1)) f)) (Submodule.module.{u1, u3} K V₂ (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u3} V₂ _inst_4) _inst_5 (LinearMap.range.{u1, u1, u2, u3, max u2 u3} K K V V₂ (Ring.toSemiring.{u1} K _inst_1) (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) (AddCommGroup.toAddCommMonoid.{u3} V₂ _inst_4) _inst_3 _inst_5 (RingHom.id.{u1} K (Semiring.toNonAssocSemiring.{u1} K (Ring.toSemiring.{u1} K _inst_1))) (LinearMap.{u1, u1, u2, u3} K K (Ring.toSemiring.{u1} K _inst_1) (Ring.toSemiring.{u1} K _inst_1) (RingHom.id.{u1} K (Semiring.toNonAssocSemiring.{u1} K (Ring.toSemiring.{u1} K _inst_1))) V V₂ (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) (AddCommGroup.toAddCommMonoid.{u3} V₂ _inst_4) _inst_3 _inst_5) (LinearMap.semilinearMapClass.{u1, u1, u2, u3} K K V V₂ (Ring.toSemiring.{u1} K _inst_1) (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) (AddCommGroup.toAddCommMonoid.{u3} V₂ _inst_4) _inst_3 _inst_5 (RingHom.id.{u1} K (Semiring.toNonAssocSemiring.{u1} K (Ring.toSemiring.{u1} K _inst_1)))) (RingHomSurjective.ids.{u1} K (Ring.toSemiring.{u1} K _inst_1)) f))) (FiniteDimensional.finrank.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) _inst_2 _inst_3))
+but is expected to have type
+  forall {K : Type.{u1}} {V : Type.{u2}} [_inst_1 : Ring.{u1} K] [_inst_2 : AddCommGroup.{u2} V] [_inst_3 : Module.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2)] {V₂ : Type.{u3}} [_inst_4 : AddCommGroup.{u3} V₂] [_inst_5 : Module.{u1, u3} K V₂ (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u3} V₂ _inst_4)] {f : LinearMap.{u1, u1, u2, u3} K K (Ring.toSemiring.{u1} K _inst_1) (Ring.toSemiring.{u1} K _inst_1) (RingHom.id.{u1} K (NonAssocRing.toNonAssocSemiring.{u1} K (Ring.toNonAssocRing.{u1} K _inst_1))) V V₂ (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) (AddCommGroup.toAddCommMonoid.{u3} V₂ _inst_4) _inst_3 _inst_5}, (Function.Injective.{succ u2, succ u3} V V₂ (FunLike.coe.{max (succ u2) (succ u3), succ u2, succ u3} (LinearMap.{u1, u1, u2, u3} K K (Ring.toSemiring.{u1} K _inst_1) (Ring.toSemiring.{u1} K _inst_1) (RingHom.id.{u1} K (NonAssocRing.toNonAssocSemiring.{u1} K (Ring.toNonAssocRing.{u1} K _inst_1))) V V₂ (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) (AddCommGroup.toAddCommMonoid.{u3} V₂ _inst_4) _inst_3 _inst_5) V (fun (_x : V) => (fun (x._@.Mathlib.Algebra.Module.LinearMap._hyg.6190 : V) => V₂) _x) (LinearMap.instFunLikeLinearMap.{u1, u1, u2, u3} K K V V₂ (Ring.toSemiring.{u1} K _inst_1) (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) (AddCommGroup.toAddCommMonoid.{u3} V₂ _inst_4) _inst_3 _inst_5 (RingHom.id.{u1} K (NonAssocRing.toNonAssocSemiring.{u1} K (Ring.toNonAssocRing.{u1} K _inst_1)))) f)) -> (Eq.{1} Nat (FiniteDimensional.finrank.{u1, u3} K (Subtype.{succ u3} V₂ (fun (x : V₂) => Membership.mem.{u3, u3} V₂ (Submodule.{u1, u3} K V₂ (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u3} V₂ _inst_4) _inst_5) (SetLike.instMembership.{u3, u3} (Submodule.{u1, u3} K V₂ (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u3} V₂ _inst_4) _inst_5) V₂ (Submodule.setLike.{u1, u3} K V₂ (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u3} V₂ _inst_4) _inst_5)) x (LinearMap.range.{u1, u1, u2, u3, max u2 u3} K K V V₂ (Ring.toSemiring.{u1} K _inst_1) (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) (AddCommGroup.toAddCommMonoid.{u3} V₂ _inst_4) _inst_3 _inst_5 (RingHom.id.{u1} K (NonAssocRing.toNonAssocSemiring.{u1} K (Ring.toNonAssocRing.{u1} K _inst_1))) (LinearMap.{u1, u1, u2, u3} K K (Ring.toSemiring.{u1} K _inst_1) (Ring.toSemiring.{u1} K _inst_1) (RingHom.id.{u1} K (NonAssocRing.toNonAssocSemiring.{u1} K (Ring.toNonAssocRing.{u1} K _inst_1))) V V₂ (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) (AddCommGroup.toAddCommMonoid.{u3} V₂ _inst_4) _inst_3 _inst_5) (LinearMap.instSemilinearMapClassLinearMap.{u1, u1, u2, u3} K K V V₂ (Ring.toSemiring.{u1} K _inst_1) (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) (AddCommGroup.toAddCommMonoid.{u3} V₂ _inst_4) _inst_3 _inst_5 (RingHom.id.{u1} K (NonAssocRing.toNonAssocSemiring.{u1} K (Ring.toNonAssocRing.{u1} K _inst_1)))) (RingHomSurjective.ids.{u1} K (Ring.toSemiring.{u1} K _inst_1)) f))) (Ring.toSemiring.{u1} K _inst_1) (Submodule.addCommGroup.{u1, u3} K V₂ _inst_1 _inst_4 _inst_5 (LinearMap.range.{u1, u1, u2, u3, max u2 u3} K K V V₂ (Ring.toSemiring.{u1} K _inst_1) (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) (AddCommGroup.toAddCommMonoid.{u3} V₂ _inst_4) _inst_3 _inst_5 (RingHom.id.{u1} K (NonAssocRing.toNonAssocSemiring.{u1} K (Ring.toNonAssocRing.{u1} K _inst_1))) (LinearMap.{u1, u1, u2, u3} K K (Ring.toSemiring.{u1} K _inst_1) (Ring.toSemiring.{u1} K _inst_1) (RingHom.id.{u1} K (NonAssocRing.toNonAssocSemiring.{u1} K (Ring.toNonAssocRing.{u1} K _inst_1))) V V₂ (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) (AddCommGroup.toAddCommMonoid.{u3} V₂ _inst_4) _inst_3 _inst_5) (LinearMap.instSemilinearMapClassLinearMap.{u1, u1, u2, u3} K K V V₂ (Ring.toSemiring.{u1} K _inst_1) (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) (AddCommGroup.toAddCommMonoid.{u3} V₂ _inst_4) _inst_3 _inst_5 (RingHom.id.{u1} K (NonAssocRing.toNonAssocSemiring.{u1} K (Ring.toNonAssocRing.{u1} K _inst_1)))) (RingHomSurjective.ids.{u1} K (Ring.toSemiring.{u1} K _inst_1)) f)) (Submodule.module.{u1, u3} K V₂ (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u3} V₂ _inst_4) _inst_5 (LinearMap.range.{u1, u1, u2, u3, max u2 u3} K K V V₂ (Ring.toSemiring.{u1} K _inst_1) (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) (AddCommGroup.toAddCommMonoid.{u3} V₂ _inst_4) _inst_3 _inst_5 (RingHom.id.{u1} K (NonAssocRing.toNonAssocSemiring.{u1} K (Ring.toNonAssocRing.{u1} K _inst_1))) (LinearMap.{u1, u1, u2, u3} K K (Ring.toSemiring.{u1} K _inst_1) (Ring.toSemiring.{u1} K _inst_1) (RingHom.id.{u1} K (NonAssocRing.toNonAssocSemiring.{u1} K (Ring.toNonAssocRing.{u1} K _inst_1))) V V₂ (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) (AddCommGroup.toAddCommMonoid.{u3} V₂ _inst_4) _inst_3 _inst_5) (LinearMap.instSemilinearMapClassLinearMap.{u1, u1, u2, u3} K K V V₂ (Ring.toSemiring.{u1} K _inst_1) (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) (AddCommGroup.toAddCommMonoid.{u3} V₂ _inst_4) _inst_3 _inst_5 (RingHom.id.{u1} K (NonAssocRing.toNonAssocSemiring.{u1} K (Ring.toNonAssocRing.{u1} K _inst_1)))) (RingHomSurjective.ids.{u1} K (Ring.toSemiring.{u1} K _inst_1)) f))) (FiniteDimensional.finrank.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) _inst_2 _inst_3))
+Case conversion may be inaccurate. Consider using '#align linear_map.finrank_range_of_inj LinearMap.finrank_range_of_injₓ'. -/
 /-- The dimensions of the domain and range of an injective linear map are equal. -/
 theorem finrank_range_of_inj {f : V →ₗ[K] V₂} (hf : Function.Injective f) :
     finrank K f.range = finrank K V := by rw [(LinearEquiv.ofInjective f hf).finrank_eq]
@@ -269,11 +355,23 @@ variable [Ring K] [AddCommGroup V] [Module K V]
 
 variable (K V)
 
+/- warning: finrank_bot -> finrank_bot is a dubious translation:
+lean 3 declaration is
+  forall (K : Type.{u1}) (V : Type.{u2}) [_inst_1 : Ring.{u1} K] [_inst_2 : AddCommGroup.{u2} V] [_inst_3 : Module.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2)] [_inst_4 : Nontrivial.{u1} K], Eq.{1} Nat (FiniteDimensional.finrank.{u1, u2} K (coeSort.{succ u2, succ (succ u2)} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) Type.{u2} (SetLike.hasCoeToSort.{u2, u2} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) V (Submodule.setLike.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3)) (Bot.bot.{u2} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (Submodule.hasBot.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3))) (Ring.toSemiring.{u1} K _inst_1) (Submodule.addCommGroup.{u1, u2} K V _inst_1 _inst_2 _inst_3 (Bot.bot.{u2} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (Submodule.hasBot.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3))) (Submodule.module.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3 (Bot.bot.{u2} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (Submodule.hasBot.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3)))) (OfNat.ofNat.{0} Nat 0 (OfNat.mk.{0} Nat 0 (Zero.zero.{0} Nat Nat.hasZero)))
+but is expected to have type
+  forall (K : Type.{u1}) (V : Type.{u2}) [_inst_1 : Ring.{u1} K] [_inst_2 : AddCommGroup.{u2} V] [_inst_3 : Module.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2)] [_inst_4 : Nontrivial.{u1} K], Eq.{1} Nat (FiniteDimensional.finrank.{u1, u2} K (Subtype.{succ u2} V (fun (x : V) => Membership.mem.{u2, u2} V (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (SetLike.instMembership.{u2, u2} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) V (Submodule.setLike.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3)) x (Bot.bot.{u2} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (Submodule.instBotSubmodule.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3)))) (Ring.toSemiring.{u1} K _inst_1) (Submodule.addCommGroup.{u1, u2} K V _inst_1 _inst_2 _inst_3 (Bot.bot.{u2} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (Submodule.instBotSubmodule.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3))) (Submodule.module.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3 (Bot.bot.{u2} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (Submodule.instBotSubmodule.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3)))) (OfNat.ofNat.{0} Nat 0 (instOfNatNat 0))
+Case conversion may be inaccurate. Consider using '#align finrank_bot finrank_botₓ'. -/
 @[simp]
 theorem finrank_bot [Nontrivial K] : finrank K (⊥ : Submodule K V) = 0 :=
   finrank_eq_of_rank_eq (rank_bot _ _)
 #align finrank_bot finrank_bot
 
+/- warning: finrank_top -> finrank_top is a dubious translation:
+lean 3 declaration is
+  forall (K : Type.{u1}) (V : Type.{u2}) [_inst_1 : Ring.{u1} K] [_inst_2 : AddCommGroup.{u2} V] [_inst_3 : Module.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2)], Eq.{1} Nat (FiniteDimensional.finrank.{u1, u2} K (coeSort.{succ u2, succ (succ u2)} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) Type.{u2} (SetLike.hasCoeToSort.{u2, u2} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) V (Submodule.setLike.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3)) (Top.top.{u2} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (Submodule.hasTop.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3))) (Ring.toSemiring.{u1} K _inst_1) (Submodule.addCommGroup.{u1, u2} K V _inst_1 _inst_2 _inst_3 (Top.top.{u2} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (Submodule.hasTop.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3))) (Submodule.module.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3 (Top.top.{u2} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (Submodule.hasTop.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3)))) (FiniteDimensional.finrank.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) _inst_2 _inst_3)
+but is expected to have type
+  forall (K : Type.{u1}) (V : Type.{u2}) [_inst_1 : Ring.{u1} K] [_inst_2 : AddCommGroup.{u2} V] [_inst_3 : Module.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2)], Eq.{1} Nat (FiniteDimensional.finrank.{u1, u2} K (Subtype.{succ u2} V (fun (x : V) => Membership.mem.{u2, u2} V (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (SetLike.instMembership.{u2, u2} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) V (Submodule.setLike.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3)) x (Top.top.{u2} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (Submodule.instTopSubmodule.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3)))) (Ring.toSemiring.{u1} K _inst_1) (Submodule.addCommGroup.{u1, u2} K V _inst_1 _inst_2 _inst_3 (Top.top.{u2} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (Submodule.instTopSubmodule.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3))) (Submodule.module.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3 (Top.top.{u2} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (Submodule.instTopSubmodule.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3)))) (FiniteDimensional.finrank.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) _inst_2 _inst_3)
+Case conversion may be inaccurate. Consider using '#align finrank_top finrank_topₓ'. -/
 @[simp]
 theorem finrank_top : finrank K (⊤ : Submodule K V) = finrank K V :=
   by
@@ -289,11 +387,23 @@ section Ring
 
 variable [Ring K] [AddCommGroup V] [Module K V] {V₂ : Type v'} [AddCommGroup V₂] [Module K V₂]
 
+/- warning: submodule.lt_of_le_of_finrank_lt_finrank -> Submodule.lt_of_le_of_finrank_lt_finrank is a dubious translation:
+lean 3 declaration is
+  forall {K : Type.{u1}} {V : Type.{u2}} [_inst_1 : Ring.{u1} K] [_inst_2 : AddCommGroup.{u2} V] [_inst_3 : Module.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2)] {s : Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3} {t : Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3}, (LE.le.{u2} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (Preorder.toLE.{u2} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (PartialOrder.toPreorder.{u2} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (SetLike.partialOrder.{u2, u2} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) V (Submodule.setLike.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3)))) s t) -> (LT.lt.{0} Nat Nat.hasLt (FiniteDimensional.finrank.{u1, u2} K (coeSort.{succ u2, succ (succ u2)} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) Type.{u2} (SetLike.hasCoeToSort.{u2, u2} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) V (Submodule.setLike.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3)) s) (Ring.toSemiring.{u1} K _inst_1) (Submodule.addCommGroup.{u1, u2} K V _inst_1 _inst_2 _inst_3 s) (Submodule.module.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3 s)) (FiniteDimensional.finrank.{u1, u2} K (coeSort.{succ u2, succ (succ u2)} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) Type.{u2} (SetLike.hasCoeToSort.{u2, u2} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) V (Submodule.setLike.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3)) t) (Ring.toSemiring.{u1} K _inst_1) (Submodule.addCommGroup.{u1, u2} K V _inst_1 _inst_2 _inst_3 t) (Submodule.module.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3 t))) -> (LT.lt.{u2} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (Preorder.toLT.{u2} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (PartialOrder.toPreorder.{u2} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (SetLike.partialOrder.{u2, u2} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) V (Submodule.setLike.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3)))) s t)
+but is expected to have type
+  forall {K : Type.{u1}} {V : Type.{u2}} [_inst_1 : Ring.{u1} K] [_inst_2 : AddCommGroup.{u2} V] [_inst_3 : Module.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2)] {s : Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3} {t : Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3}, (LE.le.{u2} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (Preorder.toLE.{u2} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (PartialOrder.toPreorder.{u2} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (OmegaCompletePartialOrder.toPartialOrder.{u2} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (CompleteLattice.instOmegaCompletePartialOrder.{u2} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (Submodule.completeLattice.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3))))) s t) -> (LT.lt.{0} Nat instLTNat (FiniteDimensional.finrank.{u1, u2} K (Subtype.{succ u2} V (fun (x : V) => Membership.mem.{u2, u2} V (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (SetLike.instMembership.{u2, u2} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) V (Submodule.setLike.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3)) x s)) (Ring.toSemiring.{u1} K _inst_1) (Submodule.addCommGroup.{u1, u2} K V _inst_1 _inst_2 _inst_3 s) (Submodule.module.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3 s)) (FiniteDimensional.finrank.{u1, u2} K (Subtype.{succ u2} V (fun (x : V) => Membership.mem.{u2, u2} V (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (SetLike.instMembership.{u2, u2} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) V (Submodule.setLike.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3)) x t)) (Ring.toSemiring.{u1} K _inst_1) (Submodule.addCommGroup.{u1, u2} K V _inst_1 _inst_2 _inst_3 t) (Submodule.module.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3 t))) -> (LT.lt.{u2} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (Preorder.toLT.{u2} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (PartialOrder.toPreorder.{u2} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (OmegaCompletePartialOrder.toPartialOrder.{u2} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (CompleteLattice.instOmegaCompletePartialOrder.{u2} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (Submodule.completeLattice.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3))))) s t)
+Case conversion may be inaccurate. Consider using '#align submodule.lt_of_le_of_finrank_lt_finrank Submodule.lt_of_le_of_finrank_lt_finrankₓ'. -/
 theorem lt_of_le_of_finrank_lt_finrank {s t : Submodule K V} (le : s ≤ t)
     (lt : finrank K s < finrank K t) : s < t :=
   lt_of_le_of_ne le fun h => ne_of_lt lt (by rw [h])
 #align submodule.lt_of_le_of_finrank_lt_finrank Submodule.lt_of_le_of_finrank_lt_finrank
 
+/- warning: submodule.lt_top_of_finrank_lt_finrank -> Submodule.lt_top_of_finrank_lt_finrank is a dubious translation:
+lean 3 declaration is
+  forall {K : Type.{u1}} {V : Type.{u2}} [_inst_1 : Ring.{u1} K] [_inst_2 : AddCommGroup.{u2} V] [_inst_3 : Module.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2)] {s : Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3}, (LT.lt.{0} Nat Nat.hasLt (FiniteDimensional.finrank.{u1, u2} K (coeSort.{succ u2, succ (succ u2)} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) Type.{u2} (SetLike.hasCoeToSort.{u2, u2} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) V (Submodule.setLike.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3)) s) (Ring.toSemiring.{u1} K _inst_1) (Submodule.addCommGroup.{u1, u2} K V _inst_1 _inst_2 _inst_3 s) (Submodule.module.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3 s)) (FiniteDimensional.finrank.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) _inst_2 _inst_3)) -> (LT.lt.{u2} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (Preorder.toLT.{u2} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (PartialOrder.toPreorder.{u2} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (SetLike.partialOrder.{u2, u2} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) V (Submodule.setLike.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3)))) s (Top.top.{u2} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (Submodule.hasTop.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3)))
+but is expected to have type
+  forall {K : Type.{u1}} {V : Type.{u2}} [_inst_1 : Ring.{u1} K] [_inst_2 : AddCommGroup.{u2} V] [_inst_3 : Module.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2)] {s : Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3}, (LT.lt.{0} Nat instLTNat (FiniteDimensional.finrank.{u1, u2} K (Subtype.{succ u2} V (fun (x : V) => Membership.mem.{u2, u2} V (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (SetLike.instMembership.{u2, u2} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) V (Submodule.setLike.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3)) x s)) (Ring.toSemiring.{u1} K _inst_1) (Submodule.addCommGroup.{u1, u2} K V _inst_1 _inst_2 _inst_3 s) (Submodule.module.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3 s)) (FiniteDimensional.finrank.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) _inst_2 _inst_3)) -> (LT.lt.{u2} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (Preorder.toLT.{u2} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (PartialOrder.toPreorder.{u2} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (OmegaCompletePartialOrder.toPartialOrder.{u2} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (CompleteLattice.instOmegaCompletePartialOrder.{u2} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (Submodule.completeLattice.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3))))) s (Top.top.{u2} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (Submodule.instTopSubmodule.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3)))
+Case conversion may be inaccurate. Consider using '#align submodule.lt_top_of_finrank_lt_finrank Submodule.lt_top_of_finrank_lt_finrankₓ'. -/
 theorem lt_top_of_finrank_lt_finrank {s : Submodule K V} (lt : finrank K s < finrank K V) : s < ⊤ :=
   by
   rw [← finrank_top K V] at lt
@@ -314,24 +424,36 @@ variable [DivisionRing K] [AddCommGroup V] [Module K V]
 
 variable (K)
 
+#print Set.finrank /-
 /-- The rank of a set of vectors as a natural number. -/
 protected noncomputable def Set.finrank (s : Set V) : ℕ :=
   finrank K (span K s)
 #align set.finrank Set.finrank
+-/
 
 variable {K}
 
+#print finrank_span_le_card /-
 theorem finrank_span_le_card (s : Set V) [Fintype s] : finrank K (span K s) ≤ s.toFinset.card :=
   finrank_le_of_rank_le (by simpa using rank_span_le s)
 #align finrank_span_le_card finrank_span_le_card
+-/
 
+#print finrank_span_finset_le_card /-
 theorem finrank_span_finset_le_card (s : Finset V) : (s : Set V).finrank K ≤ s.card :=
   calc
     (s : Set V).finrank K ≤ (s : Set V).toFinset.card := finrank_span_le_card s
     _ = s.card := by simp
     
 #align finrank_span_finset_le_card finrank_span_finset_le_card
+-/
 
+/- warning: finrank_range_le_card -> finrank_range_le_card is a dubious translation:
+lean 3 declaration is
+  forall {K : Type.{u1}} {V : Type.{u2}} [_inst_1 : DivisionRing.{u1} K] [_inst_2 : AddCommGroup.{u2} V] [_inst_3 : Module.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2)] {ι : Type.{u3}} [_inst_4 : Fintype.{u3} ι] {b : ι -> V}, LE.le.{0} Nat Nat.hasLe (Set.finrank.{u1, u2} K V _inst_1 _inst_2 _inst_3 (Set.range.{u2, succ u3} V ι b)) (Fintype.card.{u3} ι _inst_4)
+but is expected to have type
+  forall {K : Type.{u2}} {V : Type.{u3}} [_inst_1 : DivisionRing.{u2} K] [_inst_2 : AddCommGroup.{u3} V] [_inst_3 : Module.{u2, u3} K V (DivisionSemiring.toSemiring.{u2} K (DivisionRing.toDivisionSemiring.{u2} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u3} V _inst_2)] {ι : Type.{u1}} [_inst_4 : Fintype.{u1} ι] {b : ι -> V}, LE.le.{0} Nat instLENat (Set.finrank.{u2, u3} K V _inst_1 _inst_2 _inst_3 (Set.range.{u3, succ u1} V ι b)) (Fintype.card.{u1} ι _inst_4)
+Case conversion may be inaccurate. Consider using '#align finrank_range_le_card finrank_range_le_cardₓ'. -/
 theorem finrank_range_le_card {ι : Type _} [Fintype ι] {b : ι → V} :
     (Set.range b).finrank K ≤ Fintype.card ι :=
   (finrank_span_le_card _).trans <| by
@@ -339,6 +461,12 @@ theorem finrank_range_le_card {ι : Type _} [Fintype ι] {b : ι → V} :
     exact Finset.card_image_le
 #align finrank_range_le_card finrank_range_le_card
 
+/- warning: finrank_span_eq_card -> finrank_span_eq_card is a dubious translation:
+lean 3 declaration is
+  forall {K : Type.{u1}} {V : Type.{u2}} [_inst_1 : DivisionRing.{u1} K] [_inst_2 : AddCommGroup.{u2} V] [_inst_3 : Module.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2)] {ι : Type.{u3}} [_inst_4 : Fintype.{u3} ι] {b : ι -> V}, (LinearIndependent.{u3, u1, u2} ι K V b (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) -> (Eq.{1} Nat (FiniteDimensional.finrank.{u1, u2} K (coeSort.{succ u2, succ (succ u2)} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) Type.{u2} (SetLike.hasCoeToSort.{u2, u2} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) V (Submodule.setLike.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3)) (Submodule.span.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3 (Set.range.{u2, succ u3} V ι b))) (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (Submodule.addCommGroup.{u1, u2} K V (DivisionRing.toRing.{u1} K _inst_1) _inst_2 _inst_3 (Submodule.span.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3 (Set.range.{u2, succ u3} V ι b))) (Submodule.module.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3 (Submodule.span.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3 (Set.range.{u2, succ u3} V ι b)))) (Fintype.card.{u3} ι _inst_4))
+but is expected to have type
+  forall {K : Type.{u2}} {V : Type.{u3}} [_inst_1 : DivisionRing.{u2} K] [_inst_2 : AddCommGroup.{u3} V] [_inst_3 : Module.{u2, u3} K V (DivisionSemiring.toSemiring.{u2} K (DivisionRing.toDivisionSemiring.{u2} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u3} V _inst_2)] {ι : Type.{u1}} [_inst_4 : Fintype.{u1} ι] {b : ι -> V}, (LinearIndependent.{u1, u2, u3} ι K V b (DivisionSemiring.toSemiring.{u2} K (DivisionRing.toDivisionSemiring.{u2} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u3} V _inst_2) _inst_3) -> (Eq.{1} Nat (FiniteDimensional.finrank.{u2, u3} K (Subtype.{succ u3} V (fun (x : V) => Membership.mem.{u3, u3} V (Submodule.{u2, u3} K V (DivisionSemiring.toSemiring.{u2} K (DivisionRing.toDivisionSemiring.{u2} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u3} V _inst_2) _inst_3) (SetLike.instMembership.{u3, u3} (Submodule.{u2, u3} K V (DivisionSemiring.toSemiring.{u2} K (DivisionRing.toDivisionSemiring.{u2} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u3} V _inst_2) _inst_3) V (Submodule.setLike.{u2, u3} K V (DivisionSemiring.toSemiring.{u2} K (DivisionRing.toDivisionSemiring.{u2} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u3} V _inst_2) _inst_3)) x (Submodule.span.{u2, u3} K V (DivisionSemiring.toSemiring.{u2} K (DivisionRing.toDivisionSemiring.{u2} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u3} V _inst_2) _inst_3 (Set.range.{u3, succ u1} V ι b)))) (DivisionSemiring.toSemiring.{u2} K (DivisionRing.toDivisionSemiring.{u2} K _inst_1)) (Submodule.addCommGroup.{u2, u3} K V (DivisionRing.toRing.{u2} K _inst_1) _inst_2 _inst_3 (Submodule.span.{u2, u3} K V (DivisionSemiring.toSemiring.{u2} K (DivisionRing.toDivisionSemiring.{u2} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u3} V _inst_2) _inst_3 (Set.range.{u3, succ u1} V ι b))) (Submodule.module.{u2, u3} K V (DivisionSemiring.toSemiring.{u2} K (DivisionRing.toDivisionSemiring.{u2} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u3} V _inst_2) _inst_3 (Submodule.span.{u2, u3} K V (DivisionSemiring.toSemiring.{u2} K (DivisionRing.toDivisionSemiring.{u2} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u3} V _inst_2) _inst_3 (Set.range.{u3, succ u1} V ι b)))) (Fintype.card.{u1} ι _inst_4))
+Case conversion may be inaccurate. Consider using '#align finrank_span_eq_card finrank_span_eq_cardₓ'. -/
 theorem finrank_span_eq_card {ι : Type _} [Fintype ι] {b : ι → V} (hb : LinearIndependent K b) :
     finrank K (span K (Set.range b)) = Fintype.card ι :=
   finrank_eq_of_rank_eq
@@ -348,6 +476,7 @@ theorem finrank_span_eq_card {ι : Type _} [Fintype ι] {b : ι → V} (hb : Lin
         lift_eq_nat_iff] at this)
 #align finrank_span_eq_card finrank_span_eq_card
 
+#print finrank_span_set_eq_card /-
 theorem finrank_span_set_eq_card (s : Set V) [Fintype s] (hs : LinearIndependent K (coe : s → V)) :
     finrank K (span K s) = s.toFinset.card :=
   finrank_eq_of_rank_eq
@@ -355,7 +484,9 @@ theorem finrank_span_set_eq_card (s : Set V) [Fintype s] (hs : LinearIndependent
       have : Module.rank K (span K s) = (#s) := rank_span_set hs
       rwa [Cardinal.mk_fintype, ← Set.toFinset_card] at this)
 #align finrank_span_set_eq_card finrank_span_set_eq_card
+-/
 
+#print finrank_span_finset_eq_card /-
 theorem finrank_span_finset_eq_card (s : Finset V) (hs : LinearIndependent K (coe : s → V)) :
     finrank K (span K (s : Set V)) = s.card :=
   by
@@ -363,13 +494,26 @@ theorem finrank_span_finset_eq_card (s : Finset V) (hs : LinearIndependent K (co
   ext
   simp
 #align finrank_span_finset_eq_card finrank_span_finset_eq_card
+-/
 
+/- warning: span_lt_of_subset_of_card_lt_finrank -> span_lt_of_subset_of_card_lt_finrank is a dubious translation:
+lean 3 declaration is
+  forall {K : Type.{u1}} {V : Type.{u2}} [_inst_1 : DivisionRing.{u1} K] [_inst_2 : AddCommGroup.{u2} V] [_inst_3 : Module.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2)] {s : Set.{u2} V} [_inst_4 : Fintype.{u2} (coeSort.{succ u2, succ (succ u2)} (Set.{u2} V) Type.{u2} (Set.hasCoeToSort.{u2} V) s)] {t : Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3}, (HasSubset.Subset.{u2} (Set.{u2} V) (Set.hasSubset.{u2} V) s ((fun (a : Type.{u2}) (b : Type.{u2}) [self : HasLiftT.{succ u2, succ u2} a b] => self.0) (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (Set.{u2} V) (HasLiftT.mk.{succ u2, succ u2} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (Set.{u2} V) (CoeTCₓ.coe.{succ u2, succ u2} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (Set.{u2} V) (SetLike.Set.hasCoeT.{u2, u2} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) V (Submodule.setLike.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3)))) t)) -> (LT.lt.{0} Nat Nat.hasLt (Finset.card.{u2} V (Set.toFinset.{u2} V s _inst_4)) (FiniteDimensional.finrank.{u1, u2} K (coeSort.{succ u2, succ (succ u2)} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) Type.{u2} (SetLike.hasCoeToSort.{u2, u2} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) V (Submodule.setLike.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3)) t) (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (Submodule.addCommGroup.{u1, u2} K V (DivisionRing.toRing.{u1} K _inst_1) _inst_2 _inst_3 t) (Submodule.module.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3 t))) -> (LT.lt.{u2} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (Preorder.toLT.{u2} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (PartialOrder.toPreorder.{u2} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (SetLike.partialOrder.{u2, u2} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) V (Submodule.setLike.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3)))) (Submodule.span.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3 s) t)
+but is expected to have type
+  forall {K : Type.{u1}} {V : Type.{u2}} [_inst_1 : DivisionRing.{u1} K] [_inst_2 : AddCommGroup.{u2} V] [_inst_3 : Module.{u1, u2} K V (DivisionSemiring.toSemiring.{u1} K (DivisionRing.toDivisionSemiring.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2)] {s : Set.{u2} V} [_inst_4 : Fintype.{u2} (Set.Elem.{u2} V s)] {t : Submodule.{u1, u2} K V (DivisionSemiring.toSemiring.{u1} K (DivisionRing.toDivisionSemiring.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3}, (HasSubset.Subset.{u2} (Set.{u2} V) (Set.instHasSubsetSet.{u2} V) s (SetLike.coe.{u2, u2} (Submodule.{u1, u2} K V (DivisionSemiring.toSemiring.{u1} K (DivisionRing.toDivisionSemiring.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) V (Submodule.setLike.{u1, u2} K V (DivisionSemiring.toSemiring.{u1} K (DivisionRing.toDivisionSemiring.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) t)) -> (LT.lt.{0} Nat instLTNat (Finset.card.{u2} V (Set.toFinset.{u2} V s _inst_4)) (FiniteDimensional.finrank.{u1, u2} K (Subtype.{succ u2} V (fun (x : V) => Membership.mem.{u2, u2} V (Submodule.{u1, u2} K V (DivisionSemiring.toSemiring.{u1} K (DivisionRing.toDivisionSemiring.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (SetLike.instMembership.{u2, u2} (Submodule.{u1, u2} K V (DivisionSemiring.toSemiring.{u1} K (DivisionRing.toDivisionSemiring.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) V (Submodule.setLike.{u1, u2} K V (DivisionSemiring.toSemiring.{u1} K (DivisionRing.toDivisionSemiring.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3)) x t)) (DivisionSemiring.toSemiring.{u1} K (DivisionRing.toDivisionSemiring.{u1} K _inst_1)) (Submodule.addCommGroup.{u1, u2} K V (DivisionRing.toRing.{u1} K _inst_1) _inst_2 _inst_3 t) (Submodule.module.{u1, u2} K V (DivisionSemiring.toSemiring.{u1} K (DivisionRing.toDivisionSemiring.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3 t))) -> (LT.lt.{u2} (Submodule.{u1, u2} K V (DivisionSemiring.toSemiring.{u1} K (DivisionRing.toDivisionSemiring.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (Preorder.toLT.{u2} (Submodule.{u1, u2} K V (DivisionSemiring.toSemiring.{u1} K (DivisionRing.toDivisionSemiring.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (PartialOrder.toPreorder.{u2} (Submodule.{u1, u2} K V (DivisionSemiring.toSemiring.{u1} K (DivisionRing.toDivisionSemiring.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (OmegaCompletePartialOrder.toPartialOrder.{u2} (Submodule.{u1, u2} K V (DivisionSemiring.toSemiring.{u1} K (DivisionRing.toDivisionSemiring.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (CompleteLattice.instOmegaCompletePartialOrder.{u2} (Submodule.{u1, u2} K V (DivisionSemiring.toSemiring.{u1} K (DivisionRing.toDivisionSemiring.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (Submodule.completeLattice.{u1, u2} K V (DivisionSemiring.toSemiring.{u1} K (DivisionRing.toDivisionSemiring.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3))))) (Submodule.span.{u1, u2} K V (DivisionSemiring.toSemiring.{u1} K (DivisionRing.toDivisionSemiring.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3 s) t)
+Case conversion may be inaccurate. Consider using '#align span_lt_of_subset_of_card_lt_finrank span_lt_of_subset_of_card_lt_finrankₓ'. -/
 theorem span_lt_of_subset_of_card_lt_finrank {s : Set V} [Fintype s] {t : Submodule K V}
     (subset : s ⊆ t) (card_lt : s.toFinset.card < finrank K t) : span K s < t :=
   lt_of_le_of_finrank_lt_finrank (span_le.mpr subset)
     (lt_of_le_of_lt (finrank_span_le_card _) card_lt)
 #align span_lt_of_subset_of_card_lt_finrank span_lt_of_subset_of_card_lt_finrank
 
+/- warning: span_lt_top_of_card_lt_finrank -> span_lt_top_of_card_lt_finrank is a dubious translation:
+lean 3 declaration is
+  forall {K : Type.{u1}} {V : Type.{u2}} [_inst_1 : DivisionRing.{u1} K] [_inst_2 : AddCommGroup.{u2} V] [_inst_3 : Module.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2)] {s : Set.{u2} V} [_inst_4 : Fintype.{u2} (coeSort.{succ u2, succ (succ u2)} (Set.{u2} V) Type.{u2} (Set.hasCoeToSort.{u2} V) s)], (LT.lt.{0} Nat Nat.hasLt (Finset.card.{u2} V (Set.toFinset.{u2} V s _inst_4)) (FiniteDimensional.finrank.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) _inst_2 _inst_3)) -> (LT.lt.{u2} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (Preorder.toLT.{u2} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (PartialOrder.toPreorder.{u2} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (SetLike.partialOrder.{u2, u2} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) V (Submodule.setLike.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3)))) (Submodule.span.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3 s) (Top.top.{u2} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (Submodule.hasTop.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3)))
+but is expected to have type
+  forall {K : Type.{u1}} {V : Type.{u2}} [_inst_1 : DivisionRing.{u1} K] [_inst_2 : AddCommGroup.{u2} V] [_inst_3 : Module.{u1, u2} K V (DivisionSemiring.toSemiring.{u1} K (DivisionRing.toDivisionSemiring.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2)] {s : Set.{u2} V} [_inst_4 : Fintype.{u2} (Set.Elem.{u2} V s)], (LT.lt.{0} Nat instLTNat (Finset.card.{u2} V (Set.toFinset.{u2} V s _inst_4)) (FiniteDimensional.finrank.{u1, u2} K V (DivisionSemiring.toSemiring.{u1} K (DivisionRing.toDivisionSemiring.{u1} K _inst_1)) _inst_2 _inst_3)) -> (LT.lt.{u2} (Submodule.{u1, u2} K V (DivisionSemiring.toSemiring.{u1} K (DivisionRing.toDivisionSemiring.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (Preorder.toLT.{u2} (Submodule.{u1, u2} K V (DivisionSemiring.toSemiring.{u1} K (DivisionRing.toDivisionSemiring.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (PartialOrder.toPreorder.{u2} (Submodule.{u1, u2} K V (DivisionSemiring.toSemiring.{u1} K (DivisionRing.toDivisionSemiring.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (OmegaCompletePartialOrder.toPartialOrder.{u2} (Submodule.{u1, u2} K V (DivisionSemiring.toSemiring.{u1} K (DivisionRing.toDivisionSemiring.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (CompleteLattice.instOmegaCompletePartialOrder.{u2} (Submodule.{u1, u2} K V (DivisionSemiring.toSemiring.{u1} K (DivisionRing.toDivisionSemiring.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (Submodule.completeLattice.{u1, u2} K V (DivisionSemiring.toSemiring.{u1} K (DivisionRing.toDivisionSemiring.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3))))) (Submodule.span.{u1, u2} K V (DivisionSemiring.toSemiring.{u1} K (DivisionRing.toDivisionSemiring.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3 s) (Top.top.{u2} (Submodule.{u1, u2} K V (DivisionSemiring.toSemiring.{u1} K (DivisionRing.toDivisionSemiring.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (Submodule.instTopSubmodule.{u1, u2} K V (DivisionSemiring.toSemiring.{u1} K (DivisionRing.toDivisionSemiring.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3)))
+Case conversion may be inaccurate. Consider using '#align span_lt_top_of_card_lt_finrank span_lt_top_of_card_lt_finrankₓ'. -/
 theorem span_lt_top_of_card_lt_finrank {s : Set V} [Fintype s]
     (card_lt : s.toFinset.card < finrank K V) : span K s < ⊤ :=
   lt_top_of_finrank_lt_finrank (lt_of_le_of_lt (finrank_span_le_card _) card_lt)
@@ -385,6 +529,12 @@ section DivisionRing
 
 variable [DivisionRing K] [AddCommGroup V] [Module K V]
 
+/- warning: linear_independent_of_top_le_span_of_card_eq_finrank -> linearIndependent_of_top_le_span_of_card_eq_finrank is a dubious translation:
+lean 3 declaration is
+  forall {K : Type.{u1}} {V : Type.{u2}} [_inst_1 : DivisionRing.{u1} K] [_inst_2 : AddCommGroup.{u2} V] [_inst_3 : Module.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2)] {ι : Type.{u3}} [_inst_4 : Fintype.{u3} ι] {b : ι -> V}, (LE.le.{u2} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (Preorder.toLE.{u2} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (PartialOrder.toPreorder.{u2} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (SetLike.partialOrder.{u2, u2} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) V (Submodule.setLike.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3)))) (Top.top.{u2} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (Submodule.hasTop.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3)) (Submodule.span.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3 (Set.range.{u2, succ u3} V ι b))) -> (Eq.{1} Nat (Fintype.card.{u3} ι _inst_4) (FiniteDimensional.finrank.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) _inst_2 _inst_3)) -> (LinearIndependent.{u3, u1, u2} ι K V b (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3)
+but is expected to have type
+  forall {K : Type.{u2}} {V : Type.{u3}} [_inst_1 : DivisionRing.{u2} K] [_inst_2 : AddCommGroup.{u3} V] [_inst_3 : Module.{u2, u3} K V (DivisionSemiring.toSemiring.{u2} K (DivisionRing.toDivisionSemiring.{u2} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u3} V _inst_2)] {ι : Type.{u1}} [_inst_4 : Fintype.{u1} ι] {b : ι -> V}, (LE.le.{u3} (Submodule.{u2, u3} K V (DivisionSemiring.toSemiring.{u2} K (DivisionRing.toDivisionSemiring.{u2} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u3} V _inst_2) _inst_3) (Preorder.toLE.{u3} (Submodule.{u2, u3} K V (DivisionSemiring.toSemiring.{u2} K (DivisionRing.toDivisionSemiring.{u2} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u3} V _inst_2) _inst_3) (PartialOrder.toPreorder.{u3} (Submodule.{u2, u3} K V (DivisionSemiring.toSemiring.{u2} K (DivisionRing.toDivisionSemiring.{u2} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u3} V _inst_2) _inst_3) (OmegaCompletePartialOrder.toPartialOrder.{u3} (Submodule.{u2, u3} K V (DivisionSemiring.toSemiring.{u2} K (DivisionRing.toDivisionSemiring.{u2} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u3} V _inst_2) _inst_3) (CompleteLattice.instOmegaCompletePartialOrder.{u3} (Submodule.{u2, u3} K V (DivisionSemiring.toSemiring.{u2} K (DivisionRing.toDivisionSemiring.{u2} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u3} V _inst_2) _inst_3) (Submodule.completeLattice.{u2, u3} K V (DivisionSemiring.toSemiring.{u2} K (DivisionRing.toDivisionSemiring.{u2} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u3} V _inst_2) _inst_3))))) (Top.top.{u3} (Submodule.{u2, u3} K V (DivisionSemiring.toSemiring.{u2} K (DivisionRing.toDivisionSemiring.{u2} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u3} V _inst_2) _inst_3) (Submodule.instTopSubmodule.{u2, u3} K V (DivisionSemiring.toSemiring.{u2} K (DivisionRing.toDivisionSemiring.{u2} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u3} V _inst_2) _inst_3)) (Submodule.span.{u2, u3} K V (DivisionSemiring.toSemiring.{u2} K (DivisionRing.toDivisionSemiring.{u2} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u3} V _inst_2) _inst_3 (Set.range.{u3, succ u1} V ι b))) -> (Eq.{1} Nat (Fintype.card.{u1} ι _inst_4) (FiniteDimensional.finrank.{u2, u3} K V (DivisionSemiring.toSemiring.{u2} K (DivisionRing.toDivisionSemiring.{u2} K _inst_1)) _inst_2 _inst_3)) -> (LinearIndependent.{u1, u2, u3} ι K V b (DivisionSemiring.toSemiring.{u2} K (DivisionRing.toDivisionSemiring.{u2} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u3} V _inst_2) _inst_3)
+Case conversion may be inaccurate. Consider using '#align linear_independent_of_top_le_span_of_card_eq_finrank linearIndependent_of_top_le_span_of_card_eq_finrankₓ'. -/
 theorem linearIndependent_of_top_le_span_of_card_eq_finrank {ι : Type _} [Fintype ι] {b : ι → V}
     (spans : ⊤ ≤ span K (Set.range b)) (card_eq : Fintype.card ι = finrank K V) :
     LinearIndependent K b :=
@@ -437,6 +587,12 @@ theorem linearIndependent_of_top_le_span_of_card_eq_finrank {ι : Type _} [Finty
     rwa [← Finset.insert_erase i_mem_s, Finset.sum_insert (Finset.not_mem_erase _ _)] at dependent
 #align linear_independent_of_top_le_span_of_card_eq_finrank linearIndependent_of_top_le_span_of_card_eq_finrank
 
+/- warning: linear_independent_iff_card_eq_finrank_span -> linearIndependent_iff_card_eq_finrank_span is a dubious translation:
+lean 3 declaration is
+  forall {K : Type.{u1}} {V : Type.{u2}} [_inst_1 : DivisionRing.{u1} K] [_inst_2 : AddCommGroup.{u2} V] [_inst_3 : Module.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2)] {ι : Type.{u3}} [_inst_4 : Fintype.{u3} ι] {b : ι -> V}, Iff (LinearIndependent.{u3, u1, u2} ι K V b (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (Eq.{1} Nat (Fintype.card.{u3} ι _inst_4) (Set.finrank.{u1, u2} K V _inst_1 _inst_2 _inst_3 (Set.range.{u2, succ u3} V ι b)))
+but is expected to have type
+  forall {K : Type.{u2}} {V : Type.{u3}} [_inst_1 : DivisionRing.{u2} K] [_inst_2 : AddCommGroup.{u3} V] [_inst_3 : Module.{u2, u3} K V (DivisionSemiring.toSemiring.{u2} K (DivisionRing.toDivisionSemiring.{u2} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u3} V _inst_2)] {ι : Type.{u1}} [_inst_4 : Fintype.{u1} ι] {b : ι -> V}, Iff (LinearIndependent.{u1, u2, u3} ι K V b (DivisionSemiring.toSemiring.{u2} K (DivisionRing.toDivisionSemiring.{u2} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u3} V _inst_2) _inst_3) (Eq.{1} Nat (Fintype.card.{u1} ι _inst_4) (Set.finrank.{u2, u3} K V _inst_1 _inst_2 _inst_3 (Set.range.{u3, succ u1} V ι b)))
+Case conversion may be inaccurate. Consider using '#align linear_independent_iff_card_eq_finrank_span linearIndependent_iff_card_eq_finrank_spanₓ'. -/
 /-- A finite family of vectors is linearly independent if and only if
 its cardinality equals the dimension of its span. -/
 theorem linearIndependent_iff_card_eq_finrank_span {ι : Type _} [Fintype ι] {b : ι → V} :
@@ -467,17 +623,35 @@ theorem linearIndependent_iff_card_eq_finrank_span {ι : Type _} [Fintype ι] {b
     convert(linearIndependent_of_top_le_span_of_card_eq_finrank hs hc).map' _ hi
 #align linear_independent_iff_card_eq_finrank_span linearIndependent_iff_card_eq_finrank_span
 
+/- warning: linear_independent_iff_card_le_finrank_span -> linearIndependent_iff_card_le_finrank_span is a dubious translation:
+lean 3 declaration is
+  forall {K : Type.{u1}} {V : Type.{u2}} [_inst_1 : DivisionRing.{u1} K] [_inst_2 : AddCommGroup.{u2} V] [_inst_3 : Module.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2)] {ι : Type.{u3}} [_inst_4 : Fintype.{u3} ι] {b : ι -> V}, Iff (LinearIndependent.{u3, u1, u2} ι K V b (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (LE.le.{0} Nat Nat.hasLe (Fintype.card.{u3} ι _inst_4) (Set.finrank.{u1, u2} K V _inst_1 _inst_2 _inst_3 (Set.range.{u2, succ u3} V ι b)))
+but is expected to have type
+  forall {K : Type.{u2}} {V : Type.{u3}} [_inst_1 : DivisionRing.{u2} K] [_inst_2 : AddCommGroup.{u3} V] [_inst_3 : Module.{u2, u3} K V (DivisionSemiring.toSemiring.{u2} K (DivisionRing.toDivisionSemiring.{u2} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u3} V _inst_2)] {ι : Type.{u1}} [_inst_4 : Fintype.{u1} ι] {b : ι -> V}, Iff (LinearIndependent.{u1, u2, u3} ι K V b (DivisionSemiring.toSemiring.{u2} K (DivisionRing.toDivisionSemiring.{u2} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u3} V _inst_2) _inst_3) (LE.le.{0} Nat instLENat (Fintype.card.{u1} ι _inst_4) (Set.finrank.{u2, u3} K V _inst_1 _inst_2 _inst_3 (Set.range.{u3, succ u1} V ι b)))
+Case conversion may be inaccurate. Consider using '#align linear_independent_iff_card_le_finrank_span linearIndependent_iff_card_le_finrank_spanₓ'. -/
 theorem linearIndependent_iff_card_le_finrank_span {ι : Type _} [Fintype ι] {b : ι → V} :
     LinearIndependent K b ↔ Fintype.card ι ≤ (Set.range b).finrank K := by
   rw [linearIndependent_iff_card_eq_finrank_span, finrank_range_le_card.le_iff_eq]
 #align linear_independent_iff_card_le_finrank_span linearIndependent_iff_card_le_finrank_span
 
+/- warning: basis_of_top_le_span_of_card_eq_finrank -> basisOfTopLeSpanOfCardEqFinrank is a dubious translation:
+lean 3 declaration is
+  forall {K : Type.{u1}} {V : Type.{u2}} [_inst_1 : DivisionRing.{u1} K] [_inst_2 : AddCommGroup.{u2} V] [_inst_3 : Module.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2)] {ι : Type.{u3}} [_inst_4 : Fintype.{u3} ι] (b : ι -> V), (LE.le.{u2} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (Preorder.toLE.{u2} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (PartialOrder.toPreorder.{u2} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (SetLike.partialOrder.{u2, u2} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) V (Submodule.setLike.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3)))) (Top.top.{u2} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (Submodule.hasTop.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3)) (Submodule.span.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3 (Set.range.{u2, succ u3} V ι b))) -> (Eq.{1} Nat (Fintype.card.{u3} ι _inst_4) (FiniteDimensional.finrank.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) _inst_2 _inst_3)) -> (Basis.{u3, u1, u2} ι K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3)
+but is expected to have type
+  forall {K : Type.{u1}} {V : Type.{u2}} [_inst_1 : DivisionRing.{u1} K] [_inst_2 : AddCommGroup.{u2} V] [_inst_3 : Module.{u1, u2} K V (DivisionSemiring.toSemiring.{u1} K (DivisionRing.toDivisionSemiring.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2)] {ι : Type.{u3}} [_inst_4 : Fintype.{u3} ι] (b : ι -> V), (LE.le.{u2} (Submodule.{u1, u2} K V (DivisionSemiring.toSemiring.{u1} K (DivisionRing.toDivisionSemiring.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (Preorder.toLE.{u2} (Submodule.{u1, u2} K V (DivisionSemiring.toSemiring.{u1} K (DivisionRing.toDivisionSemiring.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (PartialOrder.toPreorder.{u2} (Submodule.{u1, u2} K V (DivisionSemiring.toSemiring.{u1} K (DivisionRing.toDivisionSemiring.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (OmegaCompletePartialOrder.toPartialOrder.{u2} (Submodule.{u1, u2} K V (DivisionSemiring.toSemiring.{u1} K (DivisionRing.toDivisionSemiring.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (CompleteLattice.instOmegaCompletePartialOrder.{u2} (Submodule.{u1, u2} K V (DivisionSemiring.toSemiring.{u1} K (DivisionRing.toDivisionSemiring.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (Submodule.completeLattice.{u1, u2} K V (DivisionSemiring.toSemiring.{u1} K (DivisionRing.toDivisionSemiring.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3))))) (Top.top.{u2} (Submodule.{u1, u2} K V (DivisionSemiring.toSemiring.{u1} K (DivisionRing.toDivisionSemiring.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (Submodule.instTopSubmodule.{u1, u2} K V (DivisionSemiring.toSemiring.{u1} K (DivisionRing.toDivisionSemiring.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3)) (Submodule.span.{u1, u2} K V (DivisionSemiring.toSemiring.{u1} K (DivisionRing.toDivisionSemiring.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3 (Set.range.{u2, succ u3} V ι b))) -> (Eq.{1} Nat (Fintype.card.{u3} ι _inst_4) (FiniteDimensional.finrank.{u1, u2} K V (DivisionSemiring.toSemiring.{u1} K (DivisionRing.toDivisionSemiring.{u1} K _inst_1)) _inst_2 _inst_3)) -> (Basis.{u3, u1, u2} ι K V (DivisionSemiring.toSemiring.{u1} K (DivisionRing.toDivisionSemiring.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3)
+Case conversion may be inaccurate. Consider using '#align basis_of_top_le_span_of_card_eq_finrank basisOfTopLeSpanOfCardEqFinrankₓ'. -/
 /-- A family of `finrank K V` vectors forms a basis if they span the whole space. -/
 noncomputable def basisOfTopLeSpanOfCardEqFinrank {ι : Type _} [Fintype ι] (b : ι → V)
     (le_span : ⊤ ≤ span K (Set.range b)) (card_eq : Fintype.card ι = finrank K V) : Basis ι K V :=
   Basis.mk (linearIndependent_of_top_le_span_of_card_eq_finrank le_span card_eq) le_span
 #align basis_of_top_le_span_of_card_eq_finrank basisOfTopLeSpanOfCardEqFinrank
 
+/- warning: coe_basis_of_top_le_span_of_card_eq_finrank -> coe_basisOfTopLeSpanOfCardEqFinrank is a dubious translation:
+lean 3 declaration is
+  forall {K : Type.{u1}} {V : Type.{u2}} [_inst_1 : DivisionRing.{u1} K] [_inst_2 : AddCommGroup.{u2} V] [_inst_3 : Module.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2)] {ι : Type.{u3}} [_inst_4 : Fintype.{u3} ι] (b : ι -> V) (le_span : LE.le.{u2} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (Preorder.toLE.{u2} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (PartialOrder.toPreorder.{u2} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (SetLike.partialOrder.{u2, u2} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) V (Submodule.setLike.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3)))) (Top.top.{u2} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (Submodule.hasTop.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3)) (Submodule.span.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3 (Set.range.{u2, succ u3} V ι b))) (card_eq : Eq.{1} Nat (Fintype.card.{u3} ι _inst_4) (FiniteDimensional.finrank.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) _inst_2 _inst_3)), Eq.{max (succ u3) (succ u2)} (ι -> V) (coeFn.{max (succ u3) (succ u1) (succ u2), max (succ u3) (succ u2)} (Basis.{u3, u1, u2} ι K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (fun (_x : Basis.{u3, u1, u2} ι K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) => ι -> V) (FunLike.hasCoeToFun.{max (succ u3) (succ u1) (succ u2), succ u3, succ u2} (Basis.{u3, u1, u2} ι K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) ι (fun (_x : ι) => V) (Basis.funLike.{u3, u1, u2} ι K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3)) (basisOfTopLeSpanOfCardEqFinrank.{u1, u2, u3} K V _inst_1 _inst_2 _inst_3 ι _inst_4 b le_span card_eq)) b
+but is expected to have type
+  forall {K : Type.{u2}} {V : Type.{u3}} [_inst_1 : DivisionRing.{u2} K] [_inst_2 : AddCommGroup.{u3} V] [_inst_3 : Module.{u2, u3} K V (DivisionSemiring.toSemiring.{u2} K (DivisionRing.toDivisionSemiring.{u2} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u3} V _inst_2)] {ι : Type.{u1}} [_inst_4 : Fintype.{u1} ι] (b : ι -> V) (le_span : LE.le.{u3} (Submodule.{u2, u3} K V (DivisionSemiring.toSemiring.{u2} K (DivisionRing.toDivisionSemiring.{u2} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u3} V _inst_2) _inst_3) (Preorder.toLE.{u3} (Submodule.{u2, u3} K V (DivisionSemiring.toSemiring.{u2} K (DivisionRing.toDivisionSemiring.{u2} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u3} V _inst_2) _inst_3) (PartialOrder.toPreorder.{u3} (Submodule.{u2, u3} K V (DivisionSemiring.toSemiring.{u2} K (DivisionRing.toDivisionSemiring.{u2} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u3} V _inst_2) _inst_3) (OmegaCompletePartialOrder.toPartialOrder.{u3} (Submodule.{u2, u3} K V (DivisionSemiring.toSemiring.{u2} K (DivisionRing.toDivisionSemiring.{u2} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u3} V _inst_2) _inst_3) (CompleteLattice.instOmegaCompletePartialOrder.{u3} (Submodule.{u2, u3} K V (DivisionSemiring.toSemiring.{u2} K (DivisionRing.toDivisionSemiring.{u2} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u3} V _inst_2) _inst_3) (Submodule.completeLattice.{u2, u3} K V (DivisionSemiring.toSemiring.{u2} K (DivisionRing.toDivisionSemiring.{u2} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u3} V _inst_2) _inst_3))))) (Top.top.{u3} (Submodule.{u2, u3} K V (DivisionSemiring.toSemiring.{u2} K (DivisionRing.toDivisionSemiring.{u2} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u3} V _inst_2) _inst_3) (Submodule.instTopSubmodule.{u2, u3} K V (DivisionSemiring.toSemiring.{u2} K (DivisionRing.toDivisionSemiring.{u2} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u3} V _inst_2) _inst_3)) (Submodule.span.{u2, u3} K V (DivisionSemiring.toSemiring.{u2} K (DivisionRing.toDivisionSemiring.{u2} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u3} V _inst_2) _inst_3 (Set.range.{u3, succ u1} V ι b))) (card_eq : Eq.{1} Nat (Fintype.card.{u1} ι _inst_4) (FiniteDimensional.finrank.{u2, u3} K V (DivisionSemiring.toSemiring.{u2} K (DivisionRing.toDivisionSemiring.{u2} K _inst_1)) _inst_2 _inst_3)), Eq.{max (succ u3) (succ u1)} (forall (a : ι), (fun (x._@.Mathlib.LinearAlgebra.Basis._hyg.548 : ι) => V) a) (FunLike.coe.{max (max (succ u2) (succ u3)) (succ u1), succ u1, succ u3} (Basis.{u1, u2, u3} ι K V (DivisionSemiring.toSemiring.{u2} K (DivisionRing.toDivisionSemiring.{u2} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u3} V _inst_2) _inst_3) ι (fun (_x : ι) => (fun (x._@.Mathlib.LinearAlgebra.Basis._hyg.548 : ι) => V) _x) (Basis.funLike.{u1, u2, u3} ι K V (DivisionSemiring.toSemiring.{u2} K (DivisionRing.toDivisionSemiring.{u2} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u3} V _inst_2) _inst_3) (basisOfTopLeSpanOfCardEqFinrank.{u2, u3, u1} K V _inst_1 _inst_2 _inst_3 ι _inst_4 b le_span card_eq)) b
+Case conversion may be inaccurate. Consider using '#align coe_basis_of_top_le_span_of_card_eq_finrank coe_basisOfTopLeSpanOfCardEqFinrankₓ'. -/
 @[simp]
 theorem coe_basisOfTopLeSpanOfCardEqFinrank {ι : Type _} [Fintype ι] (b : ι → V)
     (le_span : ⊤ ≤ span K (Set.range b)) (card_eq : Fintype.card ι = finrank K V) :
@@ -485,6 +659,12 @@ theorem coe_basisOfTopLeSpanOfCardEqFinrank {ι : Type _} [Fintype ι] (b : ι 
   Basis.coe_mk _ _
 #align coe_basis_of_top_le_span_of_card_eq_finrank coe_basisOfTopLeSpanOfCardEqFinrank
 
+/- warning: finset_basis_of_top_le_span_of_card_eq_finrank -> finsetBasisOfTopLeSpanOfCardEqFinrank is a dubious translation:
+lean 3 declaration is
+  forall {K : Type.{u1}} {V : Type.{u2}} [_inst_1 : DivisionRing.{u1} K] [_inst_2 : AddCommGroup.{u2} V] [_inst_3 : Module.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2)] {s : Finset.{u2} V}, (LE.le.{u2} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (Preorder.toLE.{u2} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (PartialOrder.toPreorder.{u2} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (SetLike.partialOrder.{u2, u2} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) V (Submodule.setLike.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3)))) (Top.top.{u2} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (Submodule.hasTop.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3)) (Submodule.span.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3 ((fun (a : Type.{u2}) (b : Type.{u2}) [self : HasLiftT.{succ u2, succ u2} a b] => self.0) (Finset.{u2} V) (Set.{u2} V) (HasLiftT.mk.{succ u2, succ u2} (Finset.{u2} V) (Set.{u2} V) (CoeTCₓ.coe.{succ u2, succ u2} (Finset.{u2} V) (Set.{u2} V) (Finset.Set.hasCoeT.{u2} V))) s))) -> (Eq.{1} Nat (Finset.card.{u2} V s) (FiniteDimensional.finrank.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) _inst_2 _inst_3)) -> (Basis.{u2, u1, u2} (coeSort.{succ u2, succ (succ u2)} (Set.{u2} V) Type.{u2} (Set.hasCoeToSort.{u2} V) ((fun (a : Type.{u2}) (b : Type.{u2}) [self : HasLiftT.{succ u2, succ u2} a b] => self.0) (Finset.{u2} V) (Set.{u2} V) (HasLiftT.mk.{succ u2, succ u2} (Finset.{u2} V) (Set.{u2} V) (CoeTCₓ.coe.{succ u2, succ u2} (Finset.{u2} V) (Set.{u2} V) (Finset.Set.hasCoeT.{u2} V))) s)) K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3)
+but is expected to have type
+  forall {K : Type.{u1}} {V : Type.{u2}} [_inst_1 : DivisionRing.{u1} K] [_inst_2 : AddCommGroup.{u2} V] [_inst_3 : Module.{u1, u2} K V (DivisionSemiring.toSemiring.{u1} K (DivisionRing.toDivisionSemiring.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2)] {s : Finset.{u2} V}, (LE.le.{u2} (Submodule.{u1, u2} K V (DivisionSemiring.toSemiring.{u1} K (DivisionRing.toDivisionSemiring.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (Preorder.toLE.{u2} (Submodule.{u1, u2} K V (DivisionSemiring.toSemiring.{u1} K (DivisionRing.toDivisionSemiring.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (PartialOrder.toPreorder.{u2} (Submodule.{u1, u2} K V (DivisionSemiring.toSemiring.{u1} K (DivisionRing.toDivisionSemiring.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (OmegaCompletePartialOrder.toPartialOrder.{u2} (Submodule.{u1, u2} K V (DivisionSemiring.toSemiring.{u1} K (DivisionRing.toDivisionSemiring.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (CompleteLattice.instOmegaCompletePartialOrder.{u2} (Submodule.{u1, u2} K V (DivisionSemiring.toSemiring.{u1} K (DivisionRing.toDivisionSemiring.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (Submodule.completeLattice.{u1, u2} K V (DivisionSemiring.toSemiring.{u1} K (DivisionRing.toDivisionSemiring.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3))))) (Top.top.{u2} (Submodule.{u1, u2} K V (DivisionSemiring.toSemiring.{u1} K (DivisionRing.toDivisionSemiring.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (Submodule.instTopSubmodule.{u1, u2} K V (DivisionSemiring.toSemiring.{u1} K (DivisionRing.toDivisionSemiring.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3)) (Submodule.span.{u1, u2} K V (DivisionSemiring.toSemiring.{u1} K (DivisionRing.toDivisionSemiring.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3 (Finset.toSet.{u2} V s))) -> (Eq.{1} Nat (Finset.card.{u2} V s) (FiniteDimensional.finrank.{u1, u2} K V (DivisionSemiring.toSemiring.{u1} K (DivisionRing.toDivisionSemiring.{u1} K _inst_1)) _inst_2 _inst_3)) -> (Basis.{u2, u1, u2} (Set.Elem.{u2} V (Finset.toSet.{u2} V s)) K V (DivisionSemiring.toSemiring.{u1} K (DivisionRing.toDivisionSemiring.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3)
+Case conversion may be inaccurate. Consider using '#align finset_basis_of_top_le_span_of_card_eq_finrank finsetBasisOfTopLeSpanOfCardEqFinrankₓ'. -/
 /-- A finset of `finrank K V` vectors forms a basis if they span the whole space. -/
 @[simps]
 noncomputable def finsetBasisOfTopLeSpanOfCardEqFinrank {s : Finset V}
@@ -494,6 +674,12 @@ noncomputable def finsetBasisOfTopLeSpanOfCardEqFinrank {s : Finset V}
     (trans (Fintype.card_coe _) card_eq)
 #align finset_basis_of_top_le_span_of_card_eq_finrank finsetBasisOfTopLeSpanOfCardEqFinrank
 
+/- warning: set_basis_of_top_le_span_of_card_eq_finrank -> setBasisOfTopLeSpanOfCardEqFinrank is a dubious translation:
+lean 3 declaration is
+  forall {K : Type.{u1}} {V : Type.{u2}} [_inst_1 : DivisionRing.{u1} K] [_inst_2 : AddCommGroup.{u2} V] [_inst_3 : Module.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2)] {s : Set.{u2} V} [_inst_4 : Fintype.{u2} (coeSort.{succ u2, succ (succ u2)} (Set.{u2} V) Type.{u2} (Set.hasCoeToSort.{u2} V) s)], (LE.le.{u2} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (Preorder.toLE.{u2} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (PartialOrder.toPreorder.{u2} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (SetLike.partialOrder.{u2, u2} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) V (Submodule.setLike.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3)))) (Top.top.{u2} (Submodule.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (Submodule.hasTop.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3)) (Submodule.span.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3 s)) -> (Eq.{1} Nat (Finset.card.{u2} V (Set.toFinset.{u2} V s _inst_4)) (FiniteDimensional.finrank.{u1, u2} K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) _inst_2 _inst_3)) -> (Basis.{u2, u1, u2} (coeSort.{succ u2, succ (succ u2)} (Set.{u2} V) Type.{u2} (Set.hasCoeToSort.{u2} V) s) K V (Ring.toSemiring.{u1} K (DivisionRing.toRing.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3)
+but is expected to have type
+  forall {K : Type.{u1}} {V : Type.{u2}} [_inst_1 : DivisionRing.{u1} K] [_inst_2 : AddCommGroup.{u2} V] [_inst_3 : Module.{u1, u2} K V (DivisionSemiring.toSemiring.{u1} K (DivisionRing.toDivisionSemiring.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2)] {s : Set.{u2} V} [_inst_4 : Fintype.{u2} (Set.Elem.{u2} V s)], (LE.le.{u2} (Submodule.{u1, u2} K V (DivisionSemiring.toSemiring.{u1} K (DivisionRing.toDivisionSemiring.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (Preorder.toLE.{u2} (Submodule.{u1, u2} K V (DivisionSemiring.toSemiring.{u1} K (DivisionRing.toDivisionSemiring.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (PartialOrder.toPreorder.{u2} (Submodule.{u1, u2} K V (DivisionSemiring.toSemiring.{u1} K (DivisionRing.toDivisionSemiring.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (OmegaCompletePartialOrder.toPartialOrder.{u2} (Submodule.{u1, u2} K V (DivisionSemiring.toSemiring.{u1} K (DivisionRing.toDivisionSemiring.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (CompleteLattice.instOmegaCompletePartialOrder.{u2} (Submodule.{u1, u2} K V (DivisionSemiring.toSemiring.{u1} K (DivisionRing.toDivisionSemiring.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (Submodule.completeLattice.{u1, u2} K V (DivisionSemiring.toSemiring.{u1} K (DivisionRing.toDivisionSemiring.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3))))) (Top.top.{u2} (Submodule.{u1, u2} K V (DivisionSemiring.toSemiring.{u1} K (DivisionRing.toDivisionSemiring.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3) (Submodule.instTopSubmodule.{u1, u2} K V (DivisionSemiring.toSemiring.{u1} K (DivisionRing.toDivisionSemiring.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3)) (Submodule.span.{u1, u2} K V (DivisionSemiring.toSemiring.{u1} K (DivisionRing.toDivisionSemiring.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3 s)) -> (Eq.{1} Nat (Finset.card.{u2} V (Set.toFinset.{u2} V s _inst_4)) (FiniteDimensional.finrank.{u1, u2} K V (DivisionSemiring.toSemiring.{u1} K (DivisionRing.toDivisionSemiring.{u1} K _inst_1)) _inst_2 _inst_3)) -> (Basis.{u2, u1, u2} (Set.Elem.{u2} V s) K V (DivisionSemiring.toSemiring.{u1} K (DivisionRing.toDivisionSemiring.{u1} K _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3)
+Case conversion may be inaccurate. Consider using '#align set_basis_of_top_le_span_of_card_eq_finrank setBasisOfTopLeSpanOfCardEqFinrankₓ'. -/
 /-- A set of `finrank K V` vectors forms a basis if they span the whole space. -/
 @[simps]
 noncomputable def setBasisOfTopLeSpanOfCardEqFinrank {s : Set V} [Fintype s]
@@ -517,6 +703,12 @@ variable [Ring K] [AddCommGroup V] [Module K V]
 
 variable [NoZeroSMulDivisors K V] [StrongRankCondition K]
 
+/- warning: finrank_eq_one -> finrank_eq_one is a dubious translation:
+lean 3 declaration is
+  forall {K : Type.{u1}} {V : Type.{u2}} [_inst_1 : Ring.{u1} K] [_inst_2 : AddCommGroup.{u2} V] [_inst_3 : Module.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2)] [_inst_4 : NoZeroSMulDivisors.{u1, u2} K V (MulZeroClass.toHasZero.{u1} K (NonUnitalNonAssocSemiring.toMulZeroClass.{u1} K (NonUnitalNonAssocRing.toNonUnitalNonAssocSemiring.{u1} K (NonAssocRing.toNonUnitalNonAssocRing.{u1} K (Ring.toNonAssocRing.{u1} K _inst_1))))) (AddZeroClass.toHasZero.{u2} V (AddMonoid.toAddZeroClass.{u2} V (SubNegMonoid.toAddMonoid.{u2} V (AddGroup.toSubNegMonoid.{u2} V (AddCommGroup.toAddGroup.{u2} V _inst_2))))) (SMulZeroClass.toHasSmul.{u1, u2} K V (AddZeroClass.toHasZero.{u2} V (AddMonoid.toAddZeroClass.{u2} V (AddCommMonoid.toAddMonoid.{u2} V (AddCommGroup.toAddCommMonoid.{u2} V _inst_2)))) (SMulWithZero.toSmulZeroClass.{u1, u2} K V (MulZeroClass.toHasZero.{u1} K (MulZeroOneClass.toMulZeroClass.{u1} K (MonoidWithZero.toMulZeroOneClass.{u1} K (Semiring.toMonoidWithZero.{u1} K (Ring.toSemiring.{u1} K _inst_1))))) (AddZeroClass.toHasZero.{u2} V (AddMonoid.toAddZeroClass.{u2} V (AddCommMonoid.toAddMonoid.{u2} V (AddCommGroup.toAddCommMonoid.{u2} V _inst_2)))) (MulActionWithZero.toSMulWithZero.{u1, u2} K V (Semiring.toMonoidWithZero.{u1} K (Ring.toSemiring.{u1} K _inst_1)) (AddZeroClass.toHasZero.{u2} V (AddMonoid.toAddZeroClass.{u2} V (AddCommMonoid.toAddMonoid.{u2} V (AddCommGroup.toAddCommMonoid.{u2} V _inst_2)))) (Module.toMulActionWithZero.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3))))] [_inst_5 : StrongRankCondition.{u1} K (Ring.toSemiring.{u1} K _inst_1)] (v : V), (Ne.{succ u2} V v (OfNat.ofNat.{u2} V 0 (OfNat.mk.{u2} V 0 (Zero.zero.{u2} V (AddZeroClass.toHasZero.{u2} V (AddMonoid.toAddZeroClass.{u2} V (SubNegMonoid.toAddMonoid.{u2} V (AddGroup.toSubNegMonoid.{u2} V (AddCommGroup.toAddGroup.{u2} V _inst_2))))))))) -> (forall (w : V), Exists.{succ u1} K (fun (c : K) => Eq.{succ u2} V (SMul.smul.{u1, u2} K V (SMulZeroClass.toHasSmul.{u1, u2} K V (AddZeroClass.toHasZero.{u2} V (AddMonoid.toAddZeroClass.{u2} V (AddCommMonoid.toAddMonoid.{u2} V (AddCommGroup.toAddCommMonoid.{u2} V _inst_2)))) (SMulWithZero.toSmulZeroClass.{u1, u2} K V (MulZeroClass.toHasZero.{u1} K (MulZeroOneClass.toMulZeroClass.{u1} K (MonoidWithZero.toMulZeroOneClass.{u1} K (Semiring.toMonoidWithZero.{u1} K (Ring.toSemiring.{u1} K _inst_1))))) (AddZeroClass.toHasZero.{u2} V (AddMonoid.toAddZeroClass.{u2} V (AddCommMonoid.toAddMonoid.{u2} V (AddCommGroup.toAddCommMonoid.{u2} V _inst_2)))) (MulActionWithZero.toSMulWithZero.{u1, u2} K V (Semiring.toMonoidWithZero.{u1} K (Ring.toSemiring.{u1} K _inst_1)) (AddZeroClass.toHasZero.{u2} V (AddMonoid.toAddZeroClass.{u2} V (AddCommMonoid.toAddMonoid.{u2} V (AddCommGroup.toAddCommMonoid.{u2} V _inst_2)))) (Module.toMulActionWithZero.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3)))) c v) w)) -> (Eq.{1} Nat (FiniteDimensional.finrank.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) _inst_2 _inst_3) (OfNat.ofNat.{0} Nat 1 (OfNat.mk.{0} Nat 1 (One.one.{0} Nat Nat.hasOne))))
+but is expected to have type
+  forall {K : Type.{u1}} {V : Type.{u2}} [_inst_1 : Ring.{u1} K] [_inst_2 : AddCommGroup.{u2} V] [_inst_3 : Module.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2)] [_inst_4 : NoZeroSMulDivisors.{u1, u2} K V (MonoidWithZero.toZero.{u1} K (Semiring.toMonoidWithZero.{u1} K (Ring.toSemiring.{u1} K _inst_1))) (NegZeroClass.toZero.{u2} V (SubNegZeroMonoid.toNegZeroClass.{u2} V (SubtractionMonoid.toSubNegZeroMonoid.{u2} V (SubtractionCommMonoid.toSubtractionMonoid.{u2} V (AddCommGroup.toDivisionAddCommMonoid.{u2} V _inst_2))))) (SMulZeroClass.toSMul.{u1, u2} K V (NegZeroClass.toZero.{u2} V (SubNegZeroMonoid.toNegZeroClass.{u2} V (SubtractionMonoid.toSubNegZeroMonoid.{u2} V (SubtractionCommMonoid.toSubtractionMonoid.{u2} V (AddCommGroup.toDivisionAddCommMonoid.{u2} V _inst_2))))) (SMulWithZero.toSMulZeroClass.{u1, u2} K V (MonoidWithZero.toZero.{u1} K (Semiring.toMonoidWithZero.{u1} K (Ring.toSemiring.{u1} K _inst_1))) (NegZeroClass.toZero.{u2} V (SubNegZeroMonoid.toNegZeroClass.{u2} V (SubtractionMonoid.toSubNegZeroMonoid.{u2} V (SubtractionCommMonoid.toSubtractionMonoid.{u2} V (AddCommGroup.toDivisionAddCommMonoid.{u2} V _inst_2))))) (MulActionWithZero.toSMulWithZero.{u1, u2} K V (Semiring.toMonoidWithZero.{u1} K (Ring.toSemiring.{u1} K _inst_1)) (NegZeroClass.toZero.{u2} V (SubNegZeroMonoid.toNegZeroClass.{u2} V (SubtractionMonoid.toSubNegZeroMonoid.{u2} V (SubtractionCommMonoid.toSubtractionMonoid.{u2} V (AddCommGroup.toDivisionAddCommMonoid.{u2} V _inst_2))))) (Module.toMulActionWithZero.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3))))] [_inst_5 : StrongRankCondition.{u1} K (Ring.toSemiring.{u1} K _inst_1)] (v : V), (Ne.{succ u2} V v (OfNat.ofNat.{u2} V 0 (Zero.toOfNat0.{u2} V (NegZeroClass.toZero.{u2} V (SubNegZeroMonoid.toNegZeroClass.{u2} V (SubtractionMonoid.toSubNegZeroMonoid.{u2} V (SubtractionCommMonoid.toSubtractionMonoid.{u2} V (AddCommGroup.toDivisionAddCommMonoid.{u2} V _inst_2)))))))) -> (forall (w : V), Exists.{succ u1} K (fun (c : K) => Eq.{succ u2} V (HSMul.hSMul.{u1, u2, u2} K V V (instHSMul.{u1, u2} K V (SMulZeroClass.toSMul.{u1, u2} K V (NegZeroClass.toZero.{u2} V (SubNegZeroMonoid.toNegZeroClass.{u2} V (SubtractionMonoid.toSubNegZeroMonoid.{u2} V (SubtractionCommMonoid.toSubtractionMonoid.{u2} V (AddCommGroup.toDivisionAddCommMonoid.{u2} V _inst_2))))) (SMulWithZero.toSMulZeroClass.{u1, u2} K V (MonoidWithZero.toZero.{u1} K (Semiring.toMonoidWithZero.{u1} K (Ring.toSemiring.{u1} K _inst_1))) (NegZeroClass.toZero.{u2} V (SubNegZeroMonoid.toNegZeroClass.{u2} V (SubtractionMonoid.toSubNegZeroMonoid.{u2} V (SubtractionCommMonoid.toSubtractionMonoid.{u2} V (AddCommGroup.toDivisionAddCommMonoid.{u2} V _inst_2))))) (MulActionWithZero.toSMulWithZero.{u1, u2} K V (Semiring.toMonoidWithZero.{u1} K (Ring.toSemiring.{u1} K _inst_1)) (NegZeroClass.toZero.{u2} V (SubNegZeroMonoid.toNegZeroClass.{u2} V (SubtractionMonoid.toSubNegZeroMonoid.{u2} V (SubtractionCommMonoid.toSubtractionMonoid.{u2} V (AddCommGroup.toDivisionAddCommMonoid.{u2} V _inst_2))))) (Module.toMulActionWithZero.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3))))) c v) w)) -> (Eq.{1} Nat (FiniteDimensional.finrank.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) _inst_2 _inst_3) (OfNat.ofNat.{0} Nat 1 (instOfNatNat 1)))
+Case conversion may be inaccurate. Consider using '#align finrank_eq_one finrank_eq_oneₓ'. -/
 /-- If there is a nonzero vector and every other vector is a multiple of it,
 then the module has dimension one. -/
 theorem finrank_eq_one (v : V) (n : v ≠ 0) (h : ∀ w : V, ∃ c : K, c • v = w) : finrank K V = 1 :=
@@ -526,6 +718,12 @@ theorem finrank_eq_one (v : V) (n : v ≠ 0) (h : ∀ w : V, ∃ c : K, c • v
   rw [finrank_eq_card_basis b, Fintype.card_punit]
 #align finrank_eq_one finrank_eq_one
 
+/- warning: finrank_le_one -> finrank_le_one is a dubious translation:
+lean 3 declaration is
+  forall {K : Type.{u1}} {V : Type.{u2}} [_inst_1 : Ring.{u1} K] [_inst_2 : AddCommGroup.{u2} V] [_inst_3 : Module.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2)] [_inst_4 : NoZeroSMulDivisors.{u1, u2} K V (MulZeroClass.toHasZero.{u1} K (NonUnitalNonAssocSemiring.toMulZeroClass.{u1} K (NonUnitalNonAssocRing.toNonUnitalNonAssocSemiring.{u1} K (NonAssocRing.toNonUnitalNonAssocRing.{u1} K (Ring.toNonAssocRing.{u1} K _inst_1))))) (AddZeroClass.toHasZero.{u2} V (AddMonoid.toAddZeroClass.{u2} V (SubNegMonoid.toAddMonoid.{u2} V (AddGroup.toSubNegMonoid.{u2} V (AddCommGroup.toAddGroup.{u2} V _inst_2))))) (SMulZeroClass.toHasSmul.{u1, u2} K V (AddZeroClass.toHasZero.{u2} V (AddMonoid.toAddZeroClass.{u2} V (AddCommMonoid.toAddMonoid.{u2} V (AddCommGroup.toAddCommMonoid.{u2} V _inst_2)))) (SMulWithZero.toSmulZeroClass.{u1, u2} K V (MulZeroClass.toHasZero.{u1} K (MulZeroOneClass.toMulZeroClass.{u1} K (MonoidWithZero.toMulZeroOneClass.{u1} K (Semiring.toMonoidWithZero.{u1} K (Ring.toSemiring.{u1} K _inst_1))))) (AddZeroClass.toHasZero.{u2} V (AddMonoid.toAddZeroClass.{u2} V (AddCommMonoid.toAddMonoid.{u2} V (AddCommGroup.toAddCommMonoid.{u2} V _inst_2)))) (MulActionWithZero.toSMulWithZero.{u1, u2} K V (Semiring.toMonoidWithZero.{u1} K (Ring.toSemiring.{u1} K _inst_1)) (AddZeroClass.toHasZero.{u2} V (AddMonoid.toAddZeroClass.{u2} V (AddCommMonoid.toAddMonoid.{u2} V (AddCommGroup.toAddCommMonoid.{u2} V _inst_2)))) (Module.toMulActionWithZero.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3))))] [_inst_5 : StrongRankCondition.{u1} K (Ring.toSemiring.{u1} K _inst_1)] (v : V), (forall (w : V), Exists.{succ u1} K (fun (c : K) => Eq.{succ u2} V (SMul.smul.{u1, u2} K V (SMulZeroClass.toHasSmul.{u1, u2} K V (AddZeroClass.toHasZero.{u2} V (AddMonoid.toAddZeroClass.{u2} V (AddCommMonoid.toAddMonoid.{u2} V (AddCommGroup.toAddCommMonoid.{u2} V _inst_2)))) (SMulWithZero.toSmulZeroClass.{u1, u2} K V (MulZeroClass.toHasZero.{u1} K (MulZeroOneClass.toMulZeroClass.{u1} K (MonoidWithZero.toMulZeroOneClass.{u1} K (Semiring.toMonoidWithZero.{u1} K (Ring.toSemiring.{u1} K _inst_1))))) (AddZeroClass.toHasZero.{u2} V (AddMonoid.toAddZeroClass.{u2} V (AddCommMonoid.toAddMonoid.{u2} V (AddCommGroup.toAddCommMonoid.{u2} V _inst_2)))) (MulActionWithZero.toSMulWithZero.{u1, u2} K V (Semiring.toMonoidWithZero.{u1} K (Ring.toSemiring.{u1} K _inst_1)) (AddZeroClass.toHasZero.{u2} V (AddMonoid.toAddZeroClass.{u2} V (AddCommMonoid.toAddMonoid.{u2} V (AddCommGroup.toAddCommMonoid.{u2} V _inst_2)))) (Module.toMulActionWithZero.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3)))) c v) w)) -> (LE.le.{0} Nat Nat.hasLe (FiniteDimensional.finrank.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) _inst_2 _inst_3) (OfNat.ofNat.{0} Nat 1 (OfNat.mk.{0} Nat 1 (One.one.{0} Nat Nat.hasOne))))
+but is expected to have type
+  forall {K : Type.{u1}} {V : Type.{u2}} [_inst_1 : Ring.{u1} K] [_inst_2 : AddCommGroup.{u2} V] [_inst_3 : Module.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2)] [_inst_4 : NoZeroSMulDivisors.{u1, u2} K V (MonoidWithZero.toZero.{u1} K (Semiring.toMonoidWithZero.{u1} K (Ring.toSemiring.{u1} K _inst_1))) (NegZeroClass.toZero.{u2} V (SubNegZeroMonoid.toNegZeroClass.{u2} V (SubtractionMonoid.toSubNegZeroMonoid.{u2} V (SubtractionCommMonoid.toSubtractionMonoid.{u2} V (AddCommGroup.toDivisionAddCommMonoid.{u2} V _inst_2))))) (SMulZeroClass.toSMul.{u1, u2} K V (NegZeroClass.toZero.{u2} V (SubNegZeroMonoid.toNegZeroClass.{u2} V (SubtractionMonoid.toSubNegZeroMonoid.{u2} V (SubtractionCommMonoid.toSubtractionMonoid.{u2} V (AddCommGroup.toDivisionAddCommMonoid.{u2} V _inst_2))))) (SMulWithZero.toSMulZeroClass.{u1, u2} K V (MonoidWithZero.toZero.{u1} K (Semiring.toMonoidWithZero.{u1} K (Ring.toSemiring.{u1} K _inst_1))) (NegZeroClass.toZero.{u2} V (SubNegZeroMonoid.toNegZeroClass.{u2} V (SubtractionMonoid.toSubNegZeroMonoid.{u2} V (SubtractionCommMonoid.toSubtractionMonoid.{u2} V (AddCommGroup.toDivisionAddCommMonoid.{u2} V _inst_2))))) (MulActionWithZero.toSMulWithZero.{u1, u2} K V (Semiring.toMonoidWithZero.{u1} K (Ring.toSemiring.{u1} K _inst_1)) (NegZeroClass.toZero.{u2} V (SubNegZeroMonoid.toNegZeroClass.{u2} V (SubtractionMonoid.toSubNegZeroMonoid.{u2} V (SubtractionCommMonoid.toSubtractionMonoid.{u2} V (AddCommGroup.toDivisionAddCommMonoid.{u2} V _inst_2))))) (Module.toMulActionWithZero.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3))))] [_inst_5 : StrongRankCondition.{u1} K (Ring.toSemiring.{u1} K _inst_1)] (v : V), (forall (w : V), Exists.{succ u1} K (fun (c : K) => Eq.{succ u2} V (HSMul.hSMul.{u1, u2, u2} K V V (instHSMul.{u1, u2} K V (SMulZeroClass.toSMul.{u1, u2} K V (NegZeroClass.toZero.{u2} V (SubNegZeroMonoid.toNegZeroClass.{u2} V (SubtractionMonoid.toSubNegZeroMonoid.{u2} V (SubtractionCommMonoid.toSubtractionMonoid.{u2} V (AddCommGroup.toDivisionAddCommMonoid.{u2} V _inst_2))))) (SMulWithZero.toSMulZeroClass.{u1, u2} K V (MonoidWithZero.toZero.{u1} K (Semiring.toMonoidWithZero.{u1} K (Ring.toSemiring.{u1} K _inst_1))) (NegZeroClass.toZero.{u2} V (SubNegZeroMonoid.toNegZeroClass.{u2} V (SubtractionMonoid.toSubNegZeroMonoid.{u2} V (SubtractionCommMonoid.toSubtractionMonoid.{u2} V (AddCommGroup.toDivisionAddCommMonoid.{u2} V _inst_2))))) (MulActionWithZero.toSMulWithZero.{u1, u2} K V (Semiring.toMonoidWithZero.{u1} K (Ring.toSemiring.{u1} K _inst_1)) (NegZeroClass.toZero.{u2} V (SubNegZeroMonoid.toNegZeroClass.{u2} V (SubtractionMonoid.toSubNegZeroMonoid.{u2} V (SubtractionCommMonoid.toSubtractionMonoid.{u2} V (AddCommGroup.toDivisionAddCommMonoid.{u2} V _inst_2))))) (Module.toMulActionWithZero.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) (AddCommGroup.toAddCommMonoid.{u2} V _inst_2) _inst_3))))) c v) w)) -> (LE.le.{0} Nat instLENat (FiniteDimensional.finrank.{u1, u2} K V (Ring.toSemiring.{u1} K _inst_1) _inst_2 _inst_3) (OfNat.ofNat.{0} Nat 1 (instOfNatNat 1)))
+Case conversion may be inaccurate. Consider using '#align finrank_le_one finrank_le_oneₓ'. -/
 /-- If every vector is a multiple of some `v : V`, then `V` has dimension at most one.
 -/
 theorem finrank_le_one (v : V) (h : ∀ w : V, ∃ c : K, c • v = w) : finrank K V ≤ 1 :=
@@ -550,25 +748,45 @@ open Module
 
 variable {F E : Type _} [CommRing F] [Ring E] [Algebra F E]
 
+/- warning: subalgebra.rank_to_submodule -> Subalgebra.rank_toSubmodule is a dubious translation:
+lean 3 declaration is
+  forall {F : Type.{u1}} {E : Type.{u2}} [_inst_1 : CommRing.{u1} F] [_inst_2 : Ring.{u2} E] [_inst_3 : Algebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2)] (S : Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3), Eq.{succ (succ u2)} Cardinal.{u2} (Module.rank.{u1, u2} F (coeSort.{succ u2, succ (succ u2)} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) Type.{u2} (SetLike.hasCoeToSort.{u2, u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) E (Submodule.setLike.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3))) (coeFn.{succ u2, succ u2} (OrderEmbedding.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (Preorder.toLE.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (PartialOrder.toPreorder.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (SetLike.partialOrder.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) E (Subalgebra.setLike.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)))) (Preorder.toLE.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (PartialOrder.toPreorder.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (CompleteSemilatticeInf.toPartialOrder.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (CompleteLattice.toCompleteSemilatticeInf.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (Submodule.completeLattice.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3))))))) (fun (_x : RelEmbedding.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (LE.le.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (Preorder.toLE.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (PartialOrder.toPreorder.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (SetLike.partialOrder.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) E (Subalgebra.setLike.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3))))) (LE.le.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (Preorder.toLE.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (PartialOrder.toPreorder.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (CompleteSemilatticeInf.toPartialOrder.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (CompleteLattice.toCompleteSemilatticeInf.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (Submodule.completeLattice.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)))))))) => (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) -> (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3))) (RelEmbedding.hasCoeToFun.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (LE.le.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (Preorder.toLE.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (PartialOrder.toPreorder.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (SetLike.partialOrder.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) E (Subalgebra.setLike.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3))))) (LE.le.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (Preorder.toLE.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (PartialOrder.toPreorder.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (CompleteSemilatticeInf.toPartialOrder.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (CompleteLattice.toCompleteSemilatticeInf.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (Submodule.completeLattice.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)))))))) (Subalgebra.toSubmodule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) S)) (Ring.toSemiring.{u1} F (CommRing.toRing.{u1} F _inst_1)) (Submodule.addCommMonoid.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (coeFn.{succ u2, succ u2} (OrderEmbedding.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (Preorder.toLE.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (PartialOrder.toPreorder.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (SetLike.partialOrder.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) E (Subalgebra.setLike.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)))) (Preorder.toLE.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (PartialOrder.toPreorder.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (CompleteSemilatticeInf.toPartialOrder.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (CompleteLattice.toCompleteSemilatticeInf.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (Submodule.completeLattice.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3))))))) (fun (_x : RelEmbedding.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (LE.le.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (Preorder.toLE.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (PartialOrder.toPreorder.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (SetLike.partialOrder.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) E (Subalgebra.setLike.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3))))) (LE.le.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (Preorder.toLE.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (PartialOrder.toPreorder.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (CompleteSemilatticeInf.toPartialOrder.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (CompleteLattice.toCompleteSemilatticeInf.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (Submodule.completeLattice.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)))))))) => (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) -> (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3))) (RelEmbedding.hasCoeToFun.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (LE.le.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (Preorder.toLE.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (PartialOrder.toPreorder.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (SetLike.partialOrder.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) E (Subalgebra.setLike.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3))))) (LE.le.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (Preorder.toLE.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (PartialOrder.toPreorder.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (CompleteSemilatticeInf.toPartialOrder.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (CompleteLattice.toCompleteSemilatticeInf.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (Submodule.completeLattice.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)))))))) (Subalgebra.toSubmodule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) S)) (Submodule.module.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (coeFn.{succ u2, succ u2} (OrderEmbedding.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (Preorder.toLE.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (PartialOrder.toPreorder.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (SetLike.partialOrder.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) E (Subalgebra.setLike.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)))) (Preorder.toLE.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (PartialOrder.toPreorder.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (CompleteSemilatticeInf.toPartialOrder.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (CompleteLattice.toCompleteSemilatticeInf.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (Submodule.completeLattice.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3))))))) (fun (_x : RelEmbedding.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (LE.le.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (Preorder.toLE.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (PartialOrder.toPreorder.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (SetLike.partialOrder.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) E (Subalgebra.setLike.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3))))) (LE.le.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (Preorder.toLE.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (PartialOrder.toPreorder.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (CompleteSemilatticeInf.toPartialOrder.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (CompleteLattice.toCompleteSemilatticeInf.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (Submodule.completeLattice.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)))))))) => (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) -> (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3))) (RelEmbedding.hasCoeToFun.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (LE.le.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (Preorder.toLE.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (PartialOrder.toPreorder.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (SetLike.partialOrder.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) E (Subalgebra.setLike.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3))))) (LE.le.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (Preorder.toLE.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (PartialOrder.toPreorder.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (CompleteSemilatticeInf.toPartialOrder.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (CompleteLattice.toCompleteSemilatticeInf.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (Submodule.completeLattice.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)))))))) (Subalgebra.toSubmodule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) S))) (Module.rank.{u1, u2} F (coeSort.{succ u2, succ (succ u2)} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) Type.{u2} (SetLike.hasCoeToSort.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) E (Subalgebra.setLike.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) S) (Ring.toSemiring.{u1} F (CommRing.toRing.{u1} F _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} (coeSort.{succ u2, succ (succ u2)} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) Type.{u2} (SetLike.hasCoeToSort.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) E (Subalgebra.setLike.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) S) (NonUnitalNonAssocRing.toAddCommGroup.{u2} (coeSort.{succ u2, succ (succ u2)} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) Type.{u2} (SetLike.hasCoeToSort.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) E (Subalgebra.setLike.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) S) (NonAssocRing.toNonUnitalNonAssocRing.{u2} (coeSort.{succ u2, succ (succ u2)} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) Type.{u2} (SetLike.hasCoeToSort.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) E (Subalgebra.setLike.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) S) (Ring.toNonAssocRing.{u2} (coeSort.{succ u2, succ (succ u2)} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) Type.{u2} (SetLike.hasCoeToSort.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) E (Subalgebra.setLike.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) S) (Subalgebra.toRing.{u1, u2} F E _inst_1 _inst_2 _inst_3 S))))) (Subalgebra.module.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3 S))
+but is expected to have type
+  forall {F : Type.{u2}} {E : Type.{u1}} [_inst_1 : CommRing.{u2} F] [_inst_2 : Ring.{u1} E] [_inst_3 : Algebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2)] (S : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3), Eq.{succ (succ u1)} Cardinal.{u1} (Module.rank.{u2, u1} F (Subtype.{succ u1} E (fun (x : E) => Membership.mem.{u1, u1} E ((fun (x._@.Mathlib.Data.FunLike.Embedding._hyg.19 : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) => Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) S) (SetLike.instMembership.{u1, u1} ((fun (x._@.Mathlib.Data.FunLike.Embedding._hyg.19 : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) => Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) S) E (Submodule.setLike.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3))) x (FunLike.coe.{succ u1, succ u1, succ u1} (Function.Embedding.{succ u1, succ u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3))) (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (fun (a : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) => (fun (x._@.Mathlib.Data.FunLike.Embedding._hyg.19 : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) => Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) a) (EmbeddingLike.toFunLike.{succ u1, succ u1, succ u1} (Function.Embedding.{succ u1, succ u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3))) (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Function.instEmbeddingLikeEmbedding.{succ u1, succ u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)))) (RelEmbedding.toEmbedding.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.680 : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (x._@.Mathlib.Order.Hom.Basic._hyg.682 : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) => LE.le.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Preorder.toLE.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (PartialOrder.toPreorder.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (SetLike.instPartialOrder.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) E (Subalgebra.instSetLikeSubalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)))) x._@.Mathlib.Order.Hom.Basic._hyg.680 x._@.Mathlib.Order.Hom.Basic._hyg.682) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.695 : Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (x._@.Mathlib.Order.Hom.Basic._hyg.697 : Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) => LE.le.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Preorder.toLE.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (PartialOrder.toPreorder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (OmegaCompletePartialOrder.toPartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (CompleteLattice.instOmegaCompletePartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Submodule.completeLattice.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)))))) x._@.Mathlib.Order.Hom.Basic._hyg.695 x._@.Mathlib.Order.Hom.Basic._hyg.697) (Subalgebra.toSubmodule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) S))) (Ring.toSemiring.{u2} F (CommRing.toRing.{u2} F _inst_1)) (Submodule.addCommMonoid.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (FunLike.coe.{succ u1, succ u1, succ u1} (Function.Embedding.{succ u1, succ u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3))) (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (fun (_x : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) => (fun (x._@.Mathlib.Data.FunLike.Embedding._hyg.19 : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) => Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) _x) (EmbeddingLike.toFunLike.{succ u1, succ u1, succ u1} (Function.Embedding.{succ u1, succ u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3))) (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Function.instEmbeddingLikeEmbedding.{succ u1, succ u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)))) (RelEmbedding.toEmbedding.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.680 : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (x._@.Mathlib.Order.Hom.Basic._hyg.682 : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) => LE.le.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Preorder.toLE.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (PartialOrder.toPreorder.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (SetLike.instPartialOrder.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) E (Subalgebra.instSetLikeSubalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)))) x._@.Mathlib.Order.Hom.Basic._hyg.680 x._@.Mathlib.Order.Hom.Basic._hyg.682) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.695 : Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (x._@.Mathlib.Order.Hom.Basic._hyg.697 : Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) => LE.le.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Preorder.toLE.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (PartialOrder.toPreorder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (OmegaCompletePartialOrder.toPartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (CompleteLattice.instOmegaCompletePartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Submodule.completeLattice.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)))))) x._@.Mathlib.Order.Hom.Basic._hyg.695 x._@.Mathlib.Order.Hom.Basic._hyg.697) (Subalgebra.toSubmodule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) S)) (Submodule.module.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (FunLike.coe.{succ u1, succ u1, succ u1} (Function.Embedding.{succ u1, succ u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3))) (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (fun (_x : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) => (fun (x._@.Mathlib.Data.FunLike.Embedding._hyg.19 : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) => Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) _x) (EmbeddingLike.toFunLike.{succ u1, succ u1, succ u1} (Function.Embedding.{succ u1, succ u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3))) (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Function.instEmbeddingLikeEmbedding.{succ u1, succ u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)))) (RelEmbedding.toEmbedding.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.680 : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (x._@.Mathlib.Order.Hom.Basic._hyg.682 : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) => LE.le.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Preorder.toLE.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (PartialOrder.toPreorder.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (SetLike.instPartialOrder.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) E (Subalgebra.instSetLikeSubalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)))) x._@.Mathlib.Order.Hom.Basic._hyg.680 x._@.Mathlib.Order.Hom.Basic._hyg.682) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.695 : Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (x._@.Mathlib.Order.Hom.Basic._hyg.697 : Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) => LE.le.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Preorder.toLE.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (PartialOrder.toPreorder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (OmegaCompletePartialOrder.toPartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (CompleteLattice.instOmegaCompletePartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Submodule.completeLattice.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)))))) x._@.Mathlib.Order.Hom.Basic._hyg.695 x._@.Mathlib.Order.Hom.Basic._hyg.697) (Subalgebra.toSubmodule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) S))) (Module.rank.{u2, u1} F (Subtype.{succ u1} E (fun (x : E) => Membership.mem.{u1, u1} E (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (SetLike.instMembership.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) E (Subalgebra.instSetLikeSubalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) x S)) (Ring.toSemiring.{u2} F (CommRing.toRing.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} (Subtype.{succ u1} E (fun (x : E) => Membership.mem.{u1, u1} E (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (SetLike.instMembership.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) E (Subalgebra.instSetLikeSubalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) x S)) (NonUnitalNonAssocRing.toNonUnitalNonAssocSemiring.{u1} (Subtype.{succ u1} E (fun (x : E) => Membership.mem.{u1, u1} E (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (SetLike.instMembership.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) E (Subalgebra.instSetLikeSubalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) x S)) (NonAssocRing.toNonUnitalNonAssocRing.{u1} (Subtype.{succ u1} E (fun (x : E) => Membership.mem.{u1, u1} E (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (SetLike.instMembership.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) E (Subalgebra.instSetLikeSubalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) x S)) (Ring.toNonAssocRing.{u1} (Subtype.{succ u1} E (fun (x : E) => Membership.mem.{u1, u1} E (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (SetLike.instMembership.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) E (Subalgebra.instSetLikeSubalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) x S)) (Subalgebra.toRing.{u2, u1} F E _inst_1 _inst_2 _inst_3 S))))) (Subalgebra.instModuleSubtypeMemSubalgebraInstMembershipInstSetLikeSubalgebraToSemiringToAddCommMonoidToNonUnitalNonAssocSemiringToNonAssocSemiringToNonAssocSemiringToSubsemiring.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3 S))
+Case conversion may be inaccurate. Consider using '#align subalgebra.rank_to_submodule Subalgebra.rank_toSubmoduleₓ'. -/
 @[simp]
 theorem Subalgebra.rank_toSubmodule (S : Subalgebra F E) :
     Module.rank F S.toSubmodule = Module.rank F S :=
   rfl
 #align subalgebra.rank_to_submodule Subalgebra.rank_toSubmodule
 
+/- warning: subalgebra.finrank_to_submodule -> Subalgebra.finrank_toSubmodule is a dubious translation:
+lean 3 declaration is
+  forall {F : Type.{u1}} {E : Type.{u2}} [_inst_1 : CommRing.{u1} F] [_inst_2 : Ring.{u2} E] [_inst_3 : Algebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2)] (S : Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3), Eq.{1} Nat (FiniteDimensional.finrank.{u1, u2} F (coeSort.{succ u2, succ (succ u2)} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) Type.{u2} (SetLike.hasCoeToSort.{u2, u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) E (Submodule.setLike.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3))) (coeFn.{succ u2, succ u2} (OrderEmbedding.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (Preorder.toLE.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (PartialOrder.toPreorder.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (SetLike.partialOrder.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) E (Subalgebra.setLike.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)))) (Preorder.toLE.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (PartialOrder.toPreorder.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (CompleteSemilatticeInf.toPartialOrder.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (CompleteLattice.toCompleteSemilatticeInf.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (Submodule.completeLattice.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3))))))) (fun (_x : RelEmbedding.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (LE.le.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (Preorder.toLE.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (PartialOrder.toPreorder.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (SetLike.partialOrder.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) E (Subalgebra.setLike.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3))))) (LE.le.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (Preorder.toLE.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (PartialOrder.toPreorder.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (CompleteSemilatticeInf.toPartialOrder.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (CompleteLattice.toCompleteSemilatticeInf.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (Submodule.completeLattice.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)))))))) => (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) -> (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3))) (RelEmbedding.hasCoeToFun.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (LE.le.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (Preorder.toLE.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (PartialOrder.toPreorder.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (SetLike.partialOrder.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) E (Subalgebra.setLike.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3))))) (LE.le.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (Preorder.toLE.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (PartialOrder.toPreorder.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (CompleteSemilatticeInf.toPartialOrder.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (CompleteLattice.toCompleteSemilatticeInf.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (Submodule.completeLattice.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)))))))) (Subalgebra.toSubmodule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) S)) (Ring.toSemiring.{u1} F (CommRing.toRing.{u1} F _inst_1)) (Submodule.addCommGroup.{u1, u2} F E (CommRing.toRing.{u1} F _inst_1) (NonUnitalNonAssocRing.toAddCommGroup.{u2} E (NonAssocRing.toNonUnitalNonAssocRing.{u2} E (Ring.toNonAssocRing.{u2} E _inst_2))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (coeFn.{succ u2, succ u2} (OrderEmbedding.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (Preorder.toLE.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (PartialOrder.toPreorder.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (SetLike.partialOrder.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) E (Subalgebra.setLike.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)))) (Preorder.toLE.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (PartialOrder.toPreorder.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (CompleteSemilatticeInf.toPartialOrder.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (CompleteLattice.toCompleteSemilatticeInf.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (Submodule.completeLattice.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3))))))) (fun (_x : RelEmbedding.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (LE.le.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (Preorder.toLE.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (PartialOrder.toPreorder.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (SetLike.partialOrder.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) E (Subalgebra.setLike.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3))))) (LE.le.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (Preorder.toLE.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (PartialOrder.toPreorder.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (CompleteSemilatticeInf.toPartialOrder.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (CompleteLattice.toCompleteSemilatticeInf.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (Submodule.completeLattice.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)))))))) => (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) -> (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3))) (RelEmbedding.hasCoeToFun.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (LE.le.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (Preorder.toLE.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (PartialOrder.toPreorder.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (SetLike.partialOrder.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) E (Subalgebra.setLike.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3))))) (LE.le.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (Preorder.toLE.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (PartialOrder.toPreorder.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (CompleteSemilatticeInf.toPartialOrder.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (CompleteLattice.toCompleteSemilatticeInf.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (Submodule.completeLattice.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)))))))) (Subalgebra.toSubmodule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) S)) (Submodule.module.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (coeFn.{succ u2, succ u2} (OrderEmbedding.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (Preorder.toLE.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (PartialOrder.toPreorder.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (SetLike.partialOrder.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) E (Subalgebra.setLike.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)))) (Preorder.toLE.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (PartialOrder.toPreorder.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (CompleteSemilatticeInf.toPartialOrder.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (CompleteLattice.toCompleteSemilatticeInf.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (Submodule.completeLattice.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3))))))) (fun (_x : RelEmbedding.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (LE.le.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (Preorder.toLE.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (PartialOrder.toPreorder.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (SetLike.partialOrder.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) E (Subalgebra.setLike.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3))))) (LE.le.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (Preorder.toLE.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (PartialOrder.toPreorder.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (CompleteSemilatticeInf.toPartialOrder.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (CompleteLattice.toCompleteSemilatticeInf.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (Submodule.completeLattice.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)))))))) => (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) -> (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3))) (RelEmbedding.hasCoeToFun.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (LE.le.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (Preorder.toLE.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (PartialOrder.toPreorder.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (SetLike.partialOrder.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) E (Subalgebra.setLike.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3))))) (LE.le.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (Preorder.toLE.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (PartialOrder.toPreorder.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (CompleteSemilatticeInf.toPartialOrder.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (CompleteLattice.toCompleteSemilatticeInf.{u2} (Submodule.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (Submodule.completeLattice.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)))))))) (Subalgebra.toSubmodule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) S))) (FiniteDimensional.finrank.{u1, u2} F (coeSort.{succ u2, succ (succ u2)} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) Type.{u2} (SetLike.hasCoeToSort.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) E (Subalgebra.setLike.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) S) (Ring.toSemiring.{u1} F (CommRing.toRing.{u1} F _inst_1)) (NonUnitalNonAssocRing.toAddCommGroup.{u2} (coeSort.{succ u2, succ (succ u2)} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) Type.{u2} (SetLike.hasCoeToSort.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) E (Subalgebra.setLike.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) S) (NonAssocRing.toNonUnitalNonAssocRing.{u2} (coeSort.{succ u2, succ (succ u2)} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) Type.{u2} (SetLike.hasCoeToSort.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) E (Subalgebra.setLike.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) S) (Ring.toNonAssocRing.{u2} (coeSort.{succ u2, succ (succ u2)} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) Type.{u2} (SetLike.hasCoeToSort.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) E (Subalgebra.setLike.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) S) (Subalgebra.toRing.{u1, u2} F E _inst_1 _inst_2 _inst_3 S)))) (Subalgebra.module.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3 S))
+but is expected to have type
+  forall {F : Type.{u2}} {E : Type.{u1}} [_inst_1 : CommRing.{u2} F] [_inst_2 : Ring.{u1} E] [_inst_3 : Algebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2)] (S : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3), Eq.{1} Nat (FiniteDimensional.finrank.{u2, u1} F (Subtype.{succ u1} E (fun (x : E) => Membership.mem.{u1, u1} E ((fun (x._@.Mathlib.Data.FunLike.Embedding._hyg.19 : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) => Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) S) (SetLike.instMembership.{u1, u1} ((fun (x._@.Mathlib.Data.FunLike.Embedding._hyg.19 : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) => Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) S) E (Submodule.setLike.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3))) x (FunLike.coe.{succ u1, succ u1, succ u1} (Function.Embedding.{succ u1, succ u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3))) (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (fun (a : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) => (fun (x._@.Mathlib.Data.FunLike.Embedding._hyg.19 : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) => Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) a) (EmbeddingLike.toFunLike.{succ u1, succ u1, succ u1} (Function.Embedding.{succ u1, succ u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3))) (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Function.instEmbeddingLikeEmbedding.{succ u1, succ u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)))) (RelEmbedding.toEmbedding.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.680 : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (x._@.Mathlib.Order.Hom.Basic._hyg.682 : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) => LE.le.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Preorder.toLE.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (PartialOrder.toPreorder.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (SetLike.instPartialOrder.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) E (Subalgebra.instSetLikeSubalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)))) x._@.Mathlib.Order.Hom.Basic._hyg.680 x._@.Mathlib.Order.Hom.Basic._hyg.682) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.695 : Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (x._@.Mathlib.Order.Hom.Basic._hyg.697 : Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) => LE.le.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Preorder.toLE.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (PartialOrder.toPreorder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (OmegaCompletePartialOrder.toPartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (CompleteLattice.instOmegaCompletePartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Submodule.completeLattice.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)))))) x._@.Mathlib.Order.Hom.Basic._hyg.695 x._@.Mathlib.Order.Hom.Basic._hyg.697) (Subalgebra.toSubmodule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) S))) (Ring.toSemiring.{u2} F (CommRing.toRing.{u2} F _inst_1)) (Submodule.addCommGroup.{u2, u1} F E (CommRing.toRing.{u2} F _inst_1) (Ring.toAddCommGroup.{u1} E _inst_2) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (FunLike.coe.{succ u1, succ u1, succ u1} (Function.Embedding.{succ u1, succ u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3))) (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (fun (_x : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) => (fun (x._@.Mathlib.Data.FunLike.Embedding._hyg.19 : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) => Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) _x) (EmbeddingLike.toFunLike.{succ u1, succ u1, succ u1} (Function.Embedding.{succ u1, succ u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3))) (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Function.instEmbeddingLikeEmbedding.{succ u1, succ u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)))) (RelEmbedding.toEmbedding.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.680 : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (x._@.Mathlib.Order.Hom.Basic._hyg.682 : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) => LE.le.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Preorder.toLE.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (PartialOrder.toPreorder.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (SetLike.instPartialOrder.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) E (Subalgebra.instSetLikeSubalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)))) x._@.Mathlib.Order.Hom.Basic._hyg.680 x._@.Mathlib.Order.Hom.Basic._hyg.682) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.695 : Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (x._@.Mathlib.Order.Hom.Basic._hyg.697 : Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) => LE.le.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Preorder.toLE.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (PartialOrder.toPreorder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (OmegaCompletePartialOrder.toPartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (CompleteLattice.instOmegaCompletePartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Submodule.completeLattice.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)))))) x._@.Mathlib.Order.Hom.Basic._hyg.695 x._@.Mathlib.Order.Hom.Basic._hyg.697) (Subalgebra.toSubmodule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) S)) (Submodule.module.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (FunLike.coe.{succ u1, succ u1, succ u1} (Function.Embedding.{succ u1, succ u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3))) (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (fun (_x : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) => (fun (x._@.Mathlib.Data.FunLike.Embedding._hyg.19 : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) => Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) _x) (EmbeddingLike.toFunLike.{succ u1, succ u1, succ u1} (Function.Embedding.{succ u1, succ u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3))) (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Function.instEmbeddingLikeEmbedding.{succ u1, succ u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)))) (RelEmbedding.toEmbedding.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.680 : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (x._@.Mathlib.Order.Hom.Basic._hyg.682 : Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) => LE.le.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Preorder.toLE.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (PartialOrder.toPreorder.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (SetLike.instPartialOrder.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) E (Subalgebra.instSetLikeSubalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)))) x._@.Mathlib.Order.Hom.Basic._hyg.680 x._@.Mathlib.Order.Hom.Basic._hyg.682) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.695 : Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (x._@.Mathlib.Order.Hom.Basic._hyg.697 : Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) => LE.le.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Preorder.toLE.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (PartialOrder.toPreorder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (OmegaCompletePartialOrder.toPartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (CompleteLattice.instOmegaCompletePartialOrder.{u1} (Submodule.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Submodule.completeLattice.{u2, u1} F E (CommSemiring.toSemiring.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u1} E (Semiring.toNonAssocSemiring.{u1} E (Ring.toSemiring.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)))))) x._@.Mathlib.Order.Hom.Basic._hyg.695 x._@.Mathlib.Order.Hom.Basic._hyg.697) (Subalgebra.toSubmodule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) S))) (FiniteDimensional.finrank.{u2, u1} F (Subtype.{succ u1} E (fun (x : E) => Membership.mem.{u1, u1} E (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (SetLike.instMembership.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) E (Subalgebra.instSetLikeSubalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) x S)) (Ring.toSemiring.{u2} F (CommRing.toRing.{u2} F _inst_1)) (Ring.toAddCommGroup.{u1} (Subtype.{succ u1} E (fun (x : E) => Membership.mem.{u1, u1} E (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (SetLike.instMembership.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) E (Subalgebra.instSetLikeSubalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) x S)) (Subalgebra.toRing.{u2, u1} F E _inst_1 _inst_2 _inst_3 S)) (Subalgebra.instModuleSubtypeMemSubalgebraInstMembershipInstSetLikeSubalgebraToSemiringToAddCommMonoidToNonUnitalNonAssocSemiringToNonAssocSemiringToNonAssocSemiringToSubsemiring.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3 S))
+Case conversion may be inaccurate. Consider using '#align subalgebra.finrank_to_submodule Subalgebra.finrank_toSubmoduleₓ'. -/
 @[simp]
 theorem Subalgebra.finrank_toSubmodule (S : Subalgebra F E) :
     finrank F S.toSubmodule = finrank F S :=
   rfl
 #align subalgebra.finrank_to_submodule Subalgebra.finrank_toSubmodule
 
+#print subalgebra_top_rank_eq_submodule_top_rank /-
 theorem subalgebra_top_rank_eq_submodule_top_rank :
     Module.rank F (⊤ : Subalgebra F E) = Module.rank F (⊤ : Submodule F E) :=
   by
   rw [← Algebra.top_toSubmodule]
   rfl
 #align subalgebra_top_rank_eq_submodule_top_rank subalgebra_top_rank_eq_submodule_top_rank
+-/
 
+/- warning: subalgebra_top_finrank_eq_submodule_top_finrank -> subalgebra_top_finrank_eq_submodule_top_finrank is a dubious translation:
+lean 3 declaration is
+  forall {F : Type.{u1}} {E : Type.{u2}} [_inst_1 : CommRing.{u1} F] [_inst_2 : Ring.{u2} E] [_inst_3 : Algebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2)], Eq.{1} Nat (FiniteDimensional.finrank.{u1, u2} F (coeSort.{succ u2, succ (succ u2)} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) Type.{u2} (SetLike.hasCoeToSort.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) E (Subalgebra.setLike.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (Top.top.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (CompleteLattice.toHasTop.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (Algebra.Subalgebra.completeLattice.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)))) (Ring.toSemiring.{u1} F (CommRing.toRing.{u1} F _inst_1)) (NonUnitalNonAssocRing.toAddCommGroup.{u2} (coeSort.{succ u2, succ (succ u2)} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) Type.{u2} (SetLike.hasCoeToSort.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) E (Subalgebra.setLike.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (Top.top.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (CompleteLattice.toHasTop.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (Algebra.Subalgebra.completeLattice.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)))) (NonAssocRing.toNonUnitalNonAssocRing.{u2} (coeSort.{succ u2, succ (succ u2)} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) Type.{u2} (SetLike.hasCoeToSort.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) E (Subalgebra.setLike.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (Top.top.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (CompleteLattice.toHasTop.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (Algebra.Subalgebra.completeLattice.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)))) (Ring.toNonAssocRing.{u2} (coeSort.{succ u2, succ (succ u2)} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) Type.{u2} (SetLike.hasCoeToSort.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) E (Subalgebra.setLike.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (Top.top.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (CompleteLattice.toHasTop.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (Algebra.Subalgebra.completeLattice.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)))) (Subalgebra.toRing.{u1, u2} F E _inst_1 _inst_2 _inst_3 (Top.top.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (CompleteLattice.toHasTop.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (Algebra.Subalgebra.completeLattice.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3))))))) (Subalgebra.module.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3 (Top.top.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (CompleteLattice.toHasTop.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (Algebra.Subalgebra.completeLattice.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3))))) (FiniteDimensional.finrank.{u1, u2} F (coeSort.{succ u2, succ (succ u2)} (Submodule.{u1, u2} F E (Ring.toSemiring.{u1} F (CommRing.toRing.{u1} F _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} E (NonUnitalNonAssocRing.toAddCommGroup.{u2} E (NonAssocRing.toNonUnitalNonAssocRing.{u2} E (Ring.toNonAssocRing.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) Type.{u2} (SetLike.hasCoeToSort.{u2, u2} (Submodule.{u1, u2} F E (Ring.toSemiring.{u1} F (CommRing.toRing.{u1} F _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} E (NonUnitalNonAssocRing.toAddCommGroup.{u2} E (NonAssocRing.toNonUnitalNonAssocRing.{u2} E (Ring.toNonAssocRing.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) E (Submodule.setLike.{u1, u2} F E (Ring.toSemiring.{u1} F (CommRing.toRing.{u1} F _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} E (NonUnitalNonAssocRing.toAddCommGroup.{u2} E (NonAssocRing.toNonUnitalNonAssocRing.{u2} E (Ring.toNonAssocRing.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3))) (Top.top.{u2} (Submodule.{u1, u2} F E (Ring.toSemiring.{u1} F (CommRing.toRing.{u1} F _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} E (NonUnitalNonAssocRing.toAddCommGroup.{u2} E (NonAssocRing.toNonUnitalNonAssocRing.{u2} E (Ring.toNonAssocRing.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (Submodule.hasTop.{u1, u2} F E (Ring.toSemiring.{u1} F (CommRing.toRing.{u1} F _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} E (NonUnitalNonAssocRing.toAddCommGroup.{u2} E (NonAssocRing.toNonUnitalNonAssocRing.{u2} E (Ring.toNonAssocRing.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)))) (Ring.toSemiring.{u1} F (CommRing.toRing.{u1} F _inst_1)) (Submodule.addCommGroup.{u1, u2} F E (CommRing.toRing.{u1} F _inst_1) (NonUnitalNonAssocRing.toAddCommGroup.{u2} E (NonAssocRing.toNonUnitalNonAssocRing.{u2} E (Ring.toNonAssocRing.{u2} E _inst_2))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (Top.top.{u2} (Submodule.{u1, u2} F E (Ring.toSemiring.{u1} F (CommRing.toRing.{u1} F _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} E (NonUnitalNonAssocRing.toAddCommGroup.{u2} E (NonAssocRing.toNonUnitalNonAssocRing.{u2} E (Ring.toNonAssocRing.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (Submodule.hasTop.{u1, u2} F E (Ring.toSemiring.{u1} F (CommRing.toRing.{u1} F _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} E (NonUnitalNonAssocRing.toAddCommGroup.{u2} E (NonAssocRing.toNonUnitalNonAssocRing.{u2} E (Ring.toNonAssocRing.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)))) (Submodule.module.{u1, u2} F E (Ring.toSemiring.{u1} F (CommRing.toRing.{u1} F _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} E (NonUnitalNonAssocRing.toAddCommGroup.{u2} E (NonAssocRing.toNonUnitalNonAssocRing.{u2} E (Ring.toNonAssocRing.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (Top.top.{u2} (Submodule.{u1, u2} F E (Ring.toSemiring.{u1} F (CommRing.toRing.{u1} F _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} E (NonUnitalNonAssocRing.toAddCommGroup.{u2} E (NonAssocRing.toNonUnitalNonAssocRing.{u2} E (Ring.toNonAssocRing.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (Submodule.hasTop.{u1, u2} F E (Ring.toSemiring.{u1} F (CommRing.toRing.{u1} F _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} E (NonUnitalNonAssocRing.toAddCommGroup.{u2} E (NonAssocRing.toNonUnitalNonAssocRing.{u2} E (Ring.toNonAssocRing.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)))))
+but is expected to have type
+  forall {F : Type.{u2}} {E : Type.{u1}} [_inst_1 : CommRing.{u2} F] [_inst_2 : Ring.{u1} E] [_inst_3 : Algebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2)], Eq.{1} Nat (FiniteDimensional.finrank.{u2, u1} F (Subtype.{succ u1} E (fun (x : E) => Membership.mem.{u1, u1} E (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (SetLike.instMembership.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) E (Subalgebra.instSetLikeSubalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) x (Top.top.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (CompleteLattice.toTop.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Algebra.instCompleteLatticeSubalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3))))) (Ring.toSemiring.{u2} F (CommRing.toRing.{u2} F _inst_1)) (Ring.toAddCommGroup.{u1} (Subtype.{succ u1} E (fun (x : E) => Membership.mem.{u1, u1} E (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (SetLike.instMembership.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) E (Subalgebra.instSetLikeSubalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) x (Top.top.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (CompleteLattice.toTop.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Algebra.instCompleteLatticeSubalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3))))) (Subalgebra.toRing.{u2, u1} F E _inst_1 _inst_2 _inst_3 (Top.top.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (CompleteLattice.toTop.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Algebra.instCompleteLatticeSubalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3))))) (Subalgebra.instModuleSubtypeMemSubalgebraInstMembershipInstSetLikeSubalgebraToSemiringToAddCommMonoidToNonUnitalNonAssocSemiringToNonAssocSemiringToNonAssocSemiringToSubsemiring.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3 (Top.top.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (CompleteLattice.toTop.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Algebra.instCompleteLatticeSubalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3))))) (FiniteDimensional.finrank.{u2, u1} F (Subtype.{succ u1} E (fun (x : E) => Membership.mem.{u1, u1} E (Submodule.{u2, u1} F E (Ring.toSemiring.{u2} F (CommRing.toRing.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonUnitalNonAssocRing.toNonUnitalNonAssocSemiring.{u1} E (NonAssocRing.toNonUnitalNonAssocRing.{u1} E (Ring.toNonAssocRing.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (SetLike.instMembership.{u1, u1} (Submodule.{u2, u1} F E (Ring.toSemiring.{u2} F (CommRing.toRing.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonUnitalNonAssocRing.toNonUnitalNonAssocSemiring.{u1} E (NonAssocRing.toNonUnitalNonAssocRing.{u1} E (Ring.toNonAssocRing.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) E (Submodule.setLike.{u2, u1} F E (Ring.toSemiring.{u2} F (CommRing.toRing.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonUnitalNonAssocRing.toNonUnitalNonAssocSemiring.{u1} E (NonAssocRing.toNonUnitalNonAssocRing.{u1} E (Ring.toNonAssocRing.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3))) x (Top.top.{u1} (Submodule.{u2, u1} F E (Ring.toSemiring.{u2} F (CommRing.toRing.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonUnitalNonAssocRing.toNonUnitalNonAssocSemiring.{u1} E (NonAssocRing.toNonUnitalNonAssocRing.{u1} E (Ring.toNonAssocRing.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Submodule.instTopSubmodule.{u2, u1} F E (Ring.toSemiring.{u2} F (CommRing.toRing.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonUnitalNonAssocRing.toNonUnitalNonAssocSemiring.{u1} E (NonAssocRing.toNonUnitalNonAssocRing.{u1} E (Ring.toNonAssocRing.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3))))) (Ring.toSemiring.{u2} F (CommRing.toRing.{u2} F _inst_1)) (Submodule.addCommGroup.{u2, u1} F E (CommRing.toRing.{u2} F _inst_1) (Ring.toAddCommGroup.{u1} E _inst_2) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Top.top.{u1} (Submodule.{u2, u1} F E (Ring.toSemiring.{u2} F (CommRing.toRing.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonUnitalNonAssocRing.toNonUnitalNonAssocSemiring.{u1} E (NonAssocRing.toNonUnitalNonAssocRing.{u1} E (Ring.toNonAssocRing.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Submodule.instTopSubmodule.{u2, u1} F E (Ring.toSemiring.{u2} F (CommRing.toRing.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonUnitalNonAssocRing.toNonUnitalNonAssocSemiring.{u1} E (NonAssocRing.toNonUnitalNonAssocRing.{u1} E (Ring.toNonAssocRing.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)))) (Submodule.module.{u2, u1} F E (Ring.toSemiring.{u2} F (CommRing.toRing.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonUnitalNonAssocRing.toNonUnitalNonAssocSemiring.{u1} E (NonAssocRing.toNonUnitalNonAssocRing.{u1} E (Ring.toNonAssocRing.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Top.top.{u1} (Submodule.{u2, u1} F E (Ring.toSemiring.{u2} F (CommRing.toRing.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonUnitalNonAssocRing.toNonUnitalNonAssocSemiring.{u1} E (NonAssocRing.toNonUnitalNonAssocRing.{u1} E (Ring.toNonAssocRing.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) (Submodule.instTopSubmodule.{u2, u1} F E (Ring.toSemiring.{u2} F (CommRing.toRing.{u2} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u1} E (NonUnitalNonAssocRing.toNonUnitalNonAssocSemiring.{u1} E (NonAssocRing.toNonUnitalNonAssocRing.{u1} E (Ring.toNonAssocRing.{u1} E _inst_2)))) (Algebra.toModule.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)))))
+Case conversion may be inaccurate. Consider using '#align subalgebra_top_finrank_eq_submodule_top_finrank subalgebra_top_finrank_eq_submodule_top_finrankₓ'. -/
 theorem subalgebra_top_finrank_eq_submodule_top_finrank :
     finrank F (⊤ : Subalgebra F E) = finrank F (⊤ : Submodule F E) :=
   by
@@ -576,16 +794,24 @@ theorem subalgebra_top_finrank_eq_submodule_top_finrank :
   rfl
 #align subalgebra_top_finrank_eq_submodule_top_finrank subalgebra_top_finrank_eq_submodule_top_finrank
 
+#print Subalgebra.rank_top /-
 theorem Subalgebra.rank_top : Module.rank F (⊤ : Subalgebra F E) = Module.rank F E :=
   by
   rw [subalgebra_top_rank_eq_submodule_top_rank]
   exact rank_top F E
 #align subalgebra.rank_top Subalgebra.rank_top
+-/
 
 section
 
 variable [StrongRankCondition F] [NoZeroSMulDivisors F E] [Nontrivial E]
 
+/- warning: subalgebra.rank_bot -> Subalgebra.rank_bot is a dubious translation:
+lean 3 declaration is
+  forall {F : Type.{u1}} {E : Type.{u2}} [_inst_1 : CommRing.{u1} F] [_inst_2 : Ring.{u2} E] [_inst_3 : Algebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2)] [_inst_4 : StrongRankCondition.{u1} F (Ring.toSemiring.{u1} F (CommRing.toRing.{u1} F _inst_1))] [_inst_5 : NoZeroSMulDivisors.{u1, u2} F E (MulZeroClass.toHasZero.{u1} F (NonUnitalNonAssocSemiring.toMulZeroClass.{u1} F (NonUnitalNonAssocRing.toNonUnitalNonAssocSemiring.{u1} F (NonAssocRing.toNonUnitalNonAssocRing.{u1} F (Ring.toNonAssocRing.{u1} F (CommRing.toRing.{u1} F _inst_1)))))) (MulZeroClass.toHasZero.{u2} E (NonUnitalNonAssocSemiring.toMulZeroClass.{u2} E (NonUnitalNonAssocRing.toNonUnitalNonAssocSemiring.{u2} E (NonAssocRing.toNonUnitalNonAssocRing.{u2} E (Ring.toNonAssocRing.{u2} E _inst_2))))) (SMulZeroClass.toHasSmul.{u1, u2} F E (AddZeroClass.toHasZero.{u2} E (AddMonoid.toAddZeroClass.{u2} E (AddCommMonoid.toAddMonoid.{u2} E (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2))))))) (SMulWithZero.toSmulZeroClass.{u1, u2} F E (MulZeroClass.toHasZero.{u1} F (MulZeroOneClass.toMulZeroClass.{u1} F (MonoidWithZero.toMulZeroOneClass.{u1} F (Semiring.toMonoidWithZero.{u1} F (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)))))) (AddZeroClass.toHasZero.{u2} E (AddMonoid.toAddZeroClass.{u2} E (AddCommMonoid.toAddMonoid.{u2} E (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2))))))) (MulActionWithZero.toSMulWithZero.{u1, u2} F E (Semiring.toMonoidWithZero.{u1} F (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1))) (AddZeroClass.toHasZero.{u2} E (AddMonoid.toAddZeroClass.{u2} E (AddCommMonoid.toAddMonoid.{u2} E (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2))))))) (Module.toMulActionWithZero.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)))))] [_inst_6 : Nontrivial.{u2} E], Eq.{succ (succ u2)} Cardinal.{u2} (Module.rank.{u1, u2} F (coeSort.{succ u2, succ (succ u2)} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) Type.{u2} (SetLike.hasCoeToSort.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) E (Subalgebra.setLike.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (Bot.bot.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (CompleteLattice.toHasBot.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (Algebra.Subalgebra.completeLattice.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)))) (Ring.toSemiring.{u1} F (CommRing.toRing.{u1} F _inst_1)) (AddCommGroup.toAddCommMonoid.{u2} (coeSort.{succ u2, succ (succ u2)} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) Type.{u2} (SetLike.hasCoeToSort.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) E (Subalgebra.setLike.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (Bot.bot.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (CompleteLattice.toHasBot.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (Algebra.Subalgebra.completeLattice.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)))) (NonUnitalNonAssocRing.toAddCommGroup.{u2} (coeSort.{succ u2, succ (succ u2)} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) Type.{u2} (SetLike.hasCoeToSort.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) E (Subalgebra.setLike.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (Bot.bot.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (CompleteLattice.toHasBot.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (Algebra.Subalgebra.completeLattice.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)))) (NonAssocRing.toNonUnitalNonAssocRing.{u2} (coeSort.{succ u2, succ (succ u2)} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) Type.{u2} (SetLike.hasCoeToSort.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) E (Subalgebra.setLike.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (Bot.bot.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (CompleteLattice.toHasBot.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (Algebra.Subalgebra.completeLattice.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)))) (Ring.toNonAssocRing.{u2} (coeSort.{succ u2, succ (succ u2)} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) Type.{u2} (SetLike.hasCoeToSort.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) E (Subalgebra.setLike.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (Bot.bot.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (CompleteLattice.toHasBot.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (Algebra.Subalgebra.completeLattice.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)))) (Subalgebra.toRing.{u1, u2} F E _inst_1 _inst_2 _inst_3 (Bot.bot.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (CompleteLattice.toHasBot.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (Algebra.Subalgebra.completeLattice.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)))))))) (Subalgebra.module.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3 (Bot.bot.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (CompleteLattice.toHasBot.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (Algebra.Subalgebra.completeLattice.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3))))) (OfNat.ofNat.{succ u2} Cardinal.{u2} 1 (OfNat.mk.{succ u2} Cardinal.{u2} 1 (One.one.{succ u2} Cardinal.{u2} Cardinal.hasOne.{u2})))
+but is expected to have type
+  forall {F : Type.{u1}} {E : Type.{u2}} [_inst_1 : CommRing.{u1} F] [_inst_2 : Ring.{u2} E] [_inst_3 : Algebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2)] [_inst_4 : StrongRankCondition.{u1} F (Ring.toSemiring.{u1} F (CommRing.toRing.{u1} F _inst_1))] [_inst_5 : NoZeroSMulDivisors.{u1, u2} F E (CommMonoidWithZero.toZero.{u1} F (CommSemiring.toCommMonoidWithZero.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1))) (MonoidWithZero.toZero.{u2} E (Semiring.toMonoidWithZero.{u2} E (Ring.toSemiring.{u2} E _inst_2))) (Algebra.toSMul.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)] [_inst_6 : Nontrivial.{u2} E], Eq.{succ (succ u2)} Cardinal.{u2} (Module.rank.{u1, u2} F (Subtype.{succ u2} E (fun (x : E) => Membership.mem.{u2, u2} E (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (SetLike.instMembership.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) E (Subalgebra.instSetLikeSubalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) x (Bot.bot.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (CompleteLattice.toBot.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (Algebra.instCompleteLatticeSubalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3))))) (Ring.toSemiring.{u1} F (CommRing.toRing.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} (Subtype.{succ u2} E (fun (x : E) => Membership.mem.{u2, u2} E (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (SetLike.instMembership.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) E (Subalgebra.instSetLikeSubalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) x (Bot.bot.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (CompleteLattice.toBot.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (Algebra.instCompleteLatticeSubalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3))))) (NonUnitalNonAssocRing.toNonUnitalNonAssocSemiring.{u2} (Subtype.{succ u2} E (fun (x : E) => Membership.mem.{u2, u2} E (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (SetLike.instMembership.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) E (Subalgebra.instSetLikeSubalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) x (Bot.bot.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (CompleteLattice.toBot.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (Algebra.instCompleteLatticeSubalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3))))) (NonAssocRing.toNonUnitalNonAssocRing.{u2} (Subtype.{succ u2} E (fun (x : E) => Membership.mem.{u2, u2} E (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (SetLike.instMembership.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) E (Subalgebra.instSetLikeSubalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) x (Bot.bot.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (CompleteLattice.toBot.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (Algebra.instCompleteLatticeSubalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3))))) (Ring.toNonAssocRing.{u2} (Subtype.{succ u2} E (fun (x : E) => Membership.mem.{u2, u2} E (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (SetLike.instMembership.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) E (Subalgebra.instSetLikeSubalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) x (Bot.bot.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (CompleteLattice.toBot.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (Algebra.instCompleteLatticeSubalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3))))) (Subalgebra.toRing.{u1, u2} F E _inst_1 _inst_2 _inst_3 (Bot.bot.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (CompleteLattice.toBot.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (Algebra.instCompleteLatticeSubalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)))))))) (Subalgebra.instModuleSubtypeMemSubalgebraInstMembershipInstSetLikeSubalgebraToSemiringToAddCommMonoidToNonUnitalNonAssocSemiringToNonAssocSemiringToNonAssocSemiringToSubsemiring.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3 (Bot.bot.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (CompleteLattice.toBot.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (Algebra.instCompleteLatticeSubalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3))))) (OfNat.ofNat.{succ u2} Cardinal.{u2} 1 (One.toOfNat1.{succ u2} Cardinal.{u2} Cardinal.instOneCardinal.{u2}))
+Case conversion may be inaccurate. Consider using '#align subalgebra.rank_bot Subalgebra.rank_botₓ'. -/
 @[simp]
 theorem Subalgebra.rank_bot : Module.rank F (⊥ : Subalgebra F E) = 1 :=
   ((Subalgebra.toSubmoduleEquiv (⊥ : Subalgebra F E)).symm.trans <|
@@ -596,6 +822,12 @@ theorem Subalgebra.rank_bot : Module.rank F (⊥ : Subalgebra F E) = 1 :=
     exacts[mk_singleton _, linearIndependent_singleton one_ne_zero]
 #align subalgebra.rank_bot Subalgebra.rank_bot
 
+/- warning: subalgebra.finrank_bot -> Subalgebra.finrank_bot is a dubious translation:
+lean 3 declaration is
+  forall {F : Type.{u1}} {E : Type.{u2}} [_inst_1 : CommRing.{u1} F] [_inst_2 : Ring.{u2} E] [_inst_3 : Algebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2)] [_inst_4 : StrongRankCondition.{u1} F (Ring.toSemiring.{u1} F (CommRing.toRing.{u1} F _inst_1))] [_inst_5 : NoZeroSMulDivisors.{u1, u2} F E (MulZeroClass.toHasZero.{u1} F (NonUnitalNonAssocSemiring.toMulZeroClass.{u1} F (NonUnitalNonAssocRing.toNonUnitalNonAssocSemiring.{u1} F (NonAssocRing.toNonUnitalNonAssocRing.{u1} F (Ring.toNonAssocRing.{u1} F (CommRing.toRing.{u1} F _inst_1)))))) (MulZeroClass.toHasZero.{u2} E (NonUnitalNonAssocSemiring.toMulZeroClass.{u2} E (NonUnitalNonAssocRing.toNonUnitalNonAssocSemiring.{u2} E (NonAssocRing.toNonUnitalNonAssocRing.{u2} E (Ring.toNonAssocRing.{u2} E _inst_2))))) (SMulZeroClass.toHasSmul.{u1, u2} F E (AddZeroClass.toHasZero.{u2} E (AddMonoid.toAddZeroClass.{u2} E (AddCommMonoid.toAddMonoid.{u2} E (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2))))))) (SMulWithZero.toSmulZeroClass.{u1, u2} F E (MulZeroClass.toHasZero.{u1} F (MulZeroOneClass.toMulZeroClass.{u1} F (MonoidWithZero.toMulZeroOneClass.{u1} F (Semiring.toMonoidWithZero.{u1} F (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)))))) (AddZeroClass.toHasZero.{u2} E (AddMonoid.toAddZeroClass.{u2} E (AddCommMonoid.toAddMonoid.{u2} E (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2))))))) (MulActionWithZero.toSMulWithZero.{u1, u2} F E (Semiring.toMonoidWithZero.{u1} F (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1))) (AddZeroClass.toHasZero.{u2} E (AddMonoid.toAddZeroClass.{u2} E (AddCommMonoid.toAddMonoid.{u2} E (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2))))))) (Module.toMulActionWithZero.{u1, u2} F E (CommSemiring.toSemiring.{u1} F (CommRing.toCommSemiring.{u1} F _inst_1)) (NonUnitalNonAssocSemiring.toAddCommMonoid.{u2} E (NonAssocSemiring.toNonUnitalNonAssocSemiring.{u2} E (Semiring.toNonAssocSemiring.{u2} E (Ring.toSemiring.{u2} E _inst_2)))) (Algebra.toModule.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)))))] [_inst_6 : Nontrivial.{u2} E], Eq.{1} Nat (FiniteDimensional.finrank.{u1, u2} F (coeSort.{succ u2, succ (succ u2)} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) Type.{u2} (SetLike.hasCoeToSort.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) E (Subalgebra.setLike.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (Bot.bot.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (CompleteLattice.toHasBot.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (Algebra.Subalgebra.completeLattice.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)))) (Ring.toSemiring.{u1} F (CommRing.toRing.{u1} F _inst_1)) (NonUnitalNonAssocRing.toAddCommGroup.{u2} (coeSort.{succ u2, succ (succ u2)} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) Type.{u2} (SetLike.hasCoeToSort.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) E (Subalgebra.setLike.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (Bot.bot.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (CompleteLattice.toHasBot.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (Algebra.Subalgebra.completeLattice.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)))) (NonAssocRing.toNonUnitalNonAssocRing.{u2} (coeSort.{succ u2, succ (succ u2)} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) Type.{u2} (SetLike.hasCoeToSort.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) E (Subalgebra.setLike.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (Bot.bot.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (CompleteLattice.toHasBot.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (Algebra.Subalgebra.completeLattice.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)))) (Ring.toNonAssocRing.{u2} (coeSort.{succ u2, succ (succ u2)} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) Type.{u2} (SetLike.hasCoeToSort.{u2, u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) E (Subalgebra.setLike.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)) (Bot.bot.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (CompleteLattice.toHasBot.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (Algebra.Subalgebra.completeLattice.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3)))) (Subalgebra.toRing.{u1, u2} F E _inst_1 _inst_2 _inst_3 (Bot.bot.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (CompleteLattice.toHasBot.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (Algebra.Subalgebra.completeLattice.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3))))))) (Subalgebra.module.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3 (Bot.bot.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (CompleteLattice.toHasBot.{u2} (Subalgebra.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3) (Algebra.Subalgebra.completeLattice.{u1, u2} F E (CommRing.toCommSemiring.{u1} F _inst_1) (Ring.toSemiring.{u2} E _inst_2) _inst_3))))) (OfNat.ofNat.{0} Nat 1 (OfNat.mk.{0} Nat 1 (One.one.{0} Nat Nat.hasOne)))
+but is expected to have type
+  forall {F : Type.{u2}} {E : Type.{u1}} [_inst_1 : CommRing.{u2} F] [_inst_2 : Ring.{u1} E] [_inst_3 : Algebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2)] [_inst_4 : StrongRankCondition.{u2} F (Ring.toSemiring.{u2} F (CommRing.toRing.{u2} F _inst_1))] [_inst_5 : NoZeroSMulDivisors.{u2, u1} F E (CommMonoidWithZero.toZero.{u2} F (CommSemiring.toCommMonoidWithZero.{u2} F (CommRing.toCommSemiring.{u2} F _inst_1))) (MonoidWithZero.toZero.{u1} E (Semiring.toMonoidWithZero.{u1} E (Ring.toSemiring.{u1} E _inst_2))) (Algebra.toSMul.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)] [_inst_6 : Nontrivial.{u1} E], Eq.{1} Nat (FiniteDimensional.finrank.{u2, u1} F (Subtype.{succ u1} E (fun (x : E) => Membership.mem.{u1, u1} E (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (SetLike.instMembership.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) E (Subalgebra.instSetLikeSubalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) x (Bot.bot.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (CompleteLattice.toBot.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Algebra.instCompleteLatticeSubalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3))))) (Ring.toSemiring.{u2} F (CommRing.toRing.{u2} F _inst_1)) (Ring.toAddCommGroup.{u1} (Subtype.{succ u1} E (fun (x : E) => Membership.mem.{u1, u1} E (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (SetLike.instMembership.{u1, u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) E (Subalgebra.instSetLikeSubalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3)) x (Bot.bot.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (CompleteLattice.toBot.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Algebra.instCompleteLatticeSubalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3))))) (Subalgebra.toRing.{u2, u1} F E _inst_1 _inst_2 _inst_3 (Bot.bot.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (CompleteLattice.toBot.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Algebra.instCompleteLatticeSubalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3))))) (Subalgebra.instModuleSubtypeMemSubalgebraInstMembershipInstSetLikeSubalgebraToSemiringToAddCommMonoidToNonUnitalNonAssocSemiringToNonAssocSemiringToNonAssocSemiringToSubsemiring.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3 (Bot.bot.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (CompleteLattice.toBot.{u1} (Subalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3) (Algebra.instCompleteLatticeSubalgebra.{u2, u1} F E (CommRing.toCommSemiring.{u2} F _inst_1) (Ring.toSemiring.{u1} E _inst_2) _inst_3))))) (OfNat.ofNat.{0} Nat 1 (instOfNatNat 1))
+Case conversion may be inaccurate. Consider using '#align subalgebra.finrank_bot Subalgebra.finrank_botₓ'. -/
 @[simp]
 theorem Subalgebra.finrank_bot : finrank F (⊥ : Subalgebra F E) = 1 :=
   finrank_eq_of_rank_eq (by simp)
Diff
@@ -4,7 +4,7 @@ Released under Apache 2.0 license as described in the file LICENSE.
 Authors: Chris Hughes, Anne Baanen
 
 ! This file was ported from Lean 3 source module linear_algebra.finrank
-! leanprover-community/mathlib commit 5ec62c8106221a3f9160e4e4fcc3eed79fe213e9
+! leanprover-community/mathlib commit 8535b76e601f11868af3e612fbecb730998a5631
 ! Please do not edit these lines, except to modify the commit id
 ! if you have ported upstream changes.
 -/
@@ -92,6 +92,12 @@ theorem rank_lt_of_finrank_lt {n : ℕ} (h : n < finrank K V) : ↑n < Module.ra
     exact n.zero_le
 #align finite_dimensional.rank_lt_of_finrank_lt FiniteDimensional.rank_lt_of_finrank_lt
 
+theorem finrank_le_finrank_of_rank_le_rank
+    (h : lift.{v'} (Module.rank K V) ≤ Cardinal.lift.{v} (Module.rank K V₂))
+    (h' : Module.rank K V₂ < ℵ₀) : finrank K V ≤ finrank K V₂ := by
+  simpa only [to_nat_lift] using to_nat_le_of_le_of_lt_aleph_0 (lift_lt_aleph_0.mpr h') h
+#align finite_dimensional.finrank_le_finrank_of_rank_le_rank FiniteDimensional.finrank_le_finrank_of_rank_le_rank
+
 section
 
 variable [Nontrivial K] [NoZeroSMulDivisors K V]
Diff
@@ -4,7 +4,7 @@ Released under Apache 2.0 license as described in the file LICENSE.
 Authors: Chris Hughes, Anne Baanen
 
 ! This file was ported from Lean 3 source module linear_algebra.finrank
-! leanprover-community/mathlib commit 039a089d2a4b93c761b234f3e5f5aeb752bac60f
+! leanprover-community/mathlib commit 5ec62c8106221a3f9160e4e4fcc3eed79fe213e9
 ! Please do not edit these lines, except to modify the commit id
 ! if you have ported upstream changes.
 -/
@@ -47,10 +47,9 @@ namespace FiniteDimensional
 
 open IsNoetherian
 
-section DivisionRing
+section Ring
 
-variable [DivisionRing K] [AddCommGroup V] [Module K V] {V₂ : Type v'} [AddCommGroup V₂]
-  [Module K V₂]
+variable [Ring K] [AddCommGroup V] [Module K V] {V₂ : Type v'} [AddCommGroup V₂] [Module K V₂]
 
 /-- The rank of a module as a natural number.
 
@@ -93,18 +92,9 @@ theorem rank_lt_of_finrank_lt {n : ℕ} (h : n < finrank K V) : ↑n < Module.ra
     exact n.zero_le
 #align finite_dimensional.rank_lt_of_finrank_lt FiniteDimensional.rank_lt_of_finrank_lt
 
-/-- If a vector space has a finite basis, then its dimension is equal to the cardinality of the
-basis. -/
-theorem finrank_eq_card_basis {ι : Type w} [Fintype ι] (h : Basis ι K V) :
-    finrank K V = Fintype.card ι :=
-  finrank_eq_of_rank_eq (rank_eq_card_basis h)
-#align finite_dimensional.finrank_eq_card_basis FiniteDimensional.finrank_eq_card_basis
+section
 
-/-- If a vector space has a finite basis, then its dimension is equal to the cardinality of the
-basis. This lemma uses a `finset` instead of indexed types. -/
-theorem finrank_eq_card_finset_basis {ι : Type w} {b : Finset ι} (h : Basis.{w} b K V) :
-    finrank K V = Finset.card b := by rw [finrank_eq_card_basis h, Fintype.card_coe]
-#align finite_dimensional.finrank_eq_card_finset_basis FiniteDimensional.finrank_eq_card_finset_basis
+variable [Nontrivial K] [NoZeroSMulDivisors K V]
 
 /-- A finite dimensional space is nontrivial if it has positive `finrank`. -/
 theorem nontrivial_of_finrank_pos (h : 0 < finrank K V) : Nontrivial V :=
@@ -125,14 +115,29 @@ theorem finrank_zero_of_subsingleton [h : Subsingleton V] : finrank K V = 0 :=
   exact hxy (Subsingleton.elim _ _)
 #align finite_dimensional.finrank_zero_of_subsingleton FiniteDimensional.finrank_zero_of_subsingleton
 
-theorem Basis.subset_extend {s : Set V} (hs : LinearIndependent K (coe : s → V)) :
-    s ⊆ hs.extend (Set.subset_univ _) :=
-  hs.subset_extend _
-#align finite_dimensional.basis.subset_extend FiniteDimensional.Basis.subset_extend
+end
+
+section
+
+variable [StrongRankCondition K]
+
+/-- If a vector space (or module) has a finite basis, then its dimension (or rank) is equal to the
+cardinality of the basis. -/
+theorem finrank_eq_card_basis {ι : Type w} [Fintype ι] (h : Basis ι K V) :
+    finrank K V = Fintype.card ι :=
+  finrank_eq_of_rank_eq (rank_eq_card_basis h)
+#align finite_dimensional.finrank_eq_card_basis FiniteDimensional.finrank_eq_card_basis
+
+/-- If a vector space (or module) has a finite basis, then its dimension (or rank) is equal to the
+cardinality of the basis. This lemma uses a `finset` instead of indexed types. -/
+theorem finrank_eq_card_finset_basis {ι : Type w} {b : Finset ι} (h : Basis.{w} b K V) :
+    finrank K V = Finset.card b := by rw [finrank_eq_card_basis h, Fintype.card_coe]
+#align finite_dimensional.finrank_eq_card_finset_basis FiniteDimensional.finrank_eq_card_finset_basis
 
 variable (K)
 
-/-- A division_ring is one-dimensional as a vector space over itself. -/
+/-- A ring satisfying `strong_rank_condition` (such as a `division_ring`) is one-dimensional as a
+module over itself. -/
 @[simp]
 theorem finrank_self : finrank K K = 1 :=
   finrank_eq_of_rank_eq (by simp)
@@ -149,6 +154,20 @@ theorem finrank_fintype_fun_eq_card {ι : Type v} [Fintype ι] : finrank K (ι 
 theorem finrank_fin_fun {n : ℕ} : finrank K (Fin n → K) = n := by simp
 #align finite_dimensional.finrank_fin_fun FiniteDimensional.finrank_fin_fun
 
+end
+
+end Ring
+
+section DivisionRing
+
+variable [DivisionRing K] [AddCommGroup V] [Module K V] {V₂ : Type v'} [AddCommGroup V₂]
+  [Module K V₂]
+
+theorem Basis.subset_extend {s : Set V} (hs : LinearIndependent K (coe : s → V)) :
+    s ⊆ hs.extend (Set.subset_univ _) :=
+  hs.subset_extend _
+#align finite_dimensional.basis.subset_extend FiniteDimensional.Basis.subset_extend
+
 end DivisionRing
 
 end FiniteDimensional
@@ -157,14 +176,15 @@ variable {K V}
 
 section ZeroRank
 
-variable [DivisionRing K] [AddCommGroup V] [Module K V]
+variable [Ring K] [StrongRankCondition K] [AddCommGroup V] [Module K V] [Module.Free K V]
 
 open FiniteDimensional
 
 theorem finrank_eq_zero_of_basis_imp_not_finite
     (h : ∀ s : Set V, Basis.{v} (s : Set V) K V → ¬s.Finite) : finrank K V = 0 :=
-  dif_neg fun rank_lt =>
-    h _ (Basis.ofVectorSpace K V) ((Basis.ofVectorSpace K V).finite_index_of_rank_lt_aleph0 rank_lt)
+  by
+  obtain ⟨_, ⟨b⟩⟩ := (Module.free_iff_set K V).mp ‹_›
+  exact dif_neg fun rank_lt => h _ b (b.finite_index_of_rank_lt_aleph_0 rank_lt)
 #align finrank_eq_zero_of_basis_imp_not_finite finrank_eq_zero_of_basis_imp_not_finite
 
 theorem finrank_eq_zero_of_basis_imp_false (h : ∀ s : Finset V, Basis.{v} (s : Set V) K V → False) :
@@ -191,21 +211,13 @@ theorem finrank_eq_zero_of_not_exists_basis_finset (h : ¬∃ s : Finset V, None
   finrank_eq_zero_of_basis_imp_false fun s b => h ⟨s, ⟨b⟩⟩
 #align finrank_eq_zero_of_not_exists_basis_finset finrank_eq_zero_of_not_exists_basis_finset
 
-variable (K V)
-
-@[simp]
-theorem finrank_bot : finrank K (⊥ : Submodule K V) = 0 :=
-  finrank_eq_of_rank_eq (rank_bot _ _)
-#align finrank_bot finrank_bot
-
 end ZeroRank
 
 namespace LinearEquiv
 
 open FiniteDimensional
 
-variable [DivisionRing K] [AddCommGroup V] [Module K V] {V₂ : Type v'} [AddCommGroup V₂]
-  [Module K V₂]
+variable [Ring K] [AddCommGroup V] [Module K V] {V₂ : Type v'} [AddCommGroup V₂] [Module K V₂]
 
 variable {R M M₂ : Type _} [Ring R] [AddCommGroup M] [AddCommGroup M₂]
 
@@ -230,17 +242,16 @@ namespace LinearMap
 
 open FiniteDimensional
 
-section DivisionRing
+section Ring
 
-variable [DivisionRing K] [AddCommGroup V] [Module K V] {V₂ : Type v'} [AddCommGroup V₂]
-  [Module K V₂]
+variable [Ring K] [AddCommGroup V] [Module K V] {V₂ : Type v'} [AddCommGroup V₂] [Module K V₂]
 
 /-- The dimensions of the domain and range of an injective linear map are equal. -/
 theorem finrank_range_of_inj {f : V →ₗ[K] V₂} (hf : Function.Injective f) :
     finrank K f.range = finrank K V := by rw [(LinearEquiv.ofInjective f hf).finrank_eq]
 #align linear_map.finrank_range_of_inj LinearMap.finrank_range_of_inj
 
-end DivisionRing
+end Ring
 
 end LinearMap
 
@@ -248,7 +259,14 @@ open Module FiniteDimensional
 
 section
 
-variable [DivisionRing K] [AddCommGroup V] [Module K V]
+variable [Ring K] [AddCommGroup V] [Module K V]
+
+variable (K V)
+
+@[simp]
+theorem finrank_bot [Nontrivial K] : finrank K (⊥ : Submodule K V) = 0 :=
+  finrank_eq_of_rank_eq (rank_bot _ _)
+#align finrank_bot finrank_bot
 
 @[simp]
 theorem finrank_top : finrank K (⊤ : Submodule K V) = finrank K V :=
@@ -261,10 +279,9 @@ end
 
 namespace Submodule
 
-section DivisionRing
+section Ring
 
-variable [DivisionRing K] [AddCommGroup V] [Module K V] {V₂ : Type v'} [AddCommGroup V₂]
-  [Module K V₂]
+variable [Ring K] [AddCommGroup V] [Module K V] {V₂ : Type v'} [AddCommGroup V₂] [Module K V₂]
 
 theorem lt_of_le_of_finrank_lt_finrank {s t : Submodule K V} (le : s ≤ t)
     (lt : finrank K s < finrank K t) : s < t :=
@@ -273,11 +290,11 @@ theorem lt_of_le_of_finrank_lt_finrank {s t : Submodule K V} (le : s ≤ t)
 
 theorem lt_top_of_finrank_lt_finrank {s : Submodule K V} (lt : finrank K s < finrank K V) : s < ⊤ :=
   by
-  rw [← @finrank_top K V] at lt
+  rw [← finrank_top K V] at lt
   exact lt_of_le_of_finrank_lt_finrank le_top lt
 #align submodule.lt_top_of_finrank_lt_finrank Submodule.lt_top_of_finrank_lt_finrank
 
-end DivisionRing
+end Ring
 
 end Submodule
 
@@ -490,12 +507,15 @@ We now give characterisations of `finrank K V = 1` and `finrank K V ≤ 1`.
 
 section finrank_eq_one
 
-variable [DivisionRing K] [AddCommGroup V] [Module K V]
+variable [Ring K] [AddCommGroup V] [Module K V]
+
+variable [NoZeroSMulDivisors K V] [StrongRankCondition K]
 
 /-- If there is a nonzero vector and every other vector is a multiple of it,
 then the module has dimension one. -/
 theorem finrank_eq_one (v : V) (n : v ≠ 0) (h : ∀ w : V, ∃ c : K, c • v = w) : finrank K V = 1 :=
   by
+  haveI := nontrivial_of_invariantBasisNumber K
   obtain ⟨b⟩ := (Basis.basis_singleton_iff PUnit).mpr ⟨v, n, h⟩
   rw [finrank_eq_card_basis b, Fintype.card_punit]
 #align finrank_eq_one finrank_eq_one
@@ -504,6 +524,7 @@ theorem finrank_eq_one (v : V) (n : v ≠ 0) (h : ∀ w : V, ∃ c : K, c • v
 -/
 theorem finrank_le_one (v : V) (h : ∀ w : V, ∃ c : K, c • v = w) : finrank K V ≤ 1 :=
   by
+  haveI := nontrivial_of_invariantBasisNumber K
   rcases eq_or_ne v 0 with (rfl | hn)
   · haveI :=
       subsingleton_of_forall_eq (0 : V) fun w =>
@@ -521,16 +542,7 @@ section SubalgebraRank
 
 open Module
 
-variable {F E : Type _} [Field F] [Ring E] [Algebra F E]
-
-@[simp]
-theorem Subalgebra.rank_bot [Nontrivial E] : Module.rank F (⊥ : Subalgebra F E) = 1 :=
-  ((Subalgebra.toSubmoduleEquiv (⊥ : Subalgebra F E)).symm.trans <|
-          LinearEquiv.ofEq _ _ Algebra.toSubmodule_bot).rank_eq.trans <|
-    by
-    rw [rank_span_set]
-    exacts[mk_singleton _, linearIndependent_singleton one_ne_zero]
-#align subalgebra.rank_bot Subalgebra.rank_bot
+variable {F E : Type _} [CommRing F] [Ring E] [Algebra F E]
 
 @[simp]
 theorem Subalgebra.rank_toSubmodule (S : Subalgebra F E) :
@@ -564,10 +576,26 @@ theorem Subalgebra.rank_top : Module.rank F (⊤ : Subalgebra F E) = Module.rank
   exact rank_top F E
 #align subalgebra.rank_top Subalgebra.rank_top
 
+section
+
+variable [StrongRankCondition F] [NoZeroSMulDivisors F E] [Nontrivial E]
+
 @[simp]
-theorem Subalgebra.finrank_bot [Nontrivial E] : finrank F (⊥ : Subalgebra F E) = 1 :=
+theorem Subalgebra.rank_bot : Module.rank F (⊥ : Subalgebra F E) = 1 :=
+  ((Subalgebra.toSubmoduleEquiv (⊥ : Subalgebra F E)).symm.trans <|
+          LinearEquiv.ofEq _ _ Algebra.toSubmodule_bot).rank_eq.trans <|
+    by
+    letI := Module.nontrivial F E
+    rw [rank_span_set]
+    exacts[mk_singleton _, linearIndependent_singleton one_ne_zero]
+#align subalgebra.rank_bot Subalgebra.rank_bot
+
+@[simp]
+theorem Subalgebra.finrank_bot : finrank F (⊥ : Subalgebra F E) = 1 :=
   finrank_eq_of_rank_eq (by simp)
 #align subalgebra.finrank_bot Subalgebra.finrank_bot
 
+end
+
 end SubalgebraRank
 
Diff
@@ -4,7 +4,7 @@ Released under Apache 2.0 license as described in the file LICENSE.
 Authors: Chris Hughes, Anne Baanen
 
 ! This file was ported from Lean 3 source module linear_algebra.finrank
-! leanprover-community/mathlib commit c4658a649d216f57e99621708b09dcb3dcccbd23
+! leanprover-community/mathlib commit 039a089d2a4b93c761b234f3e5f5aeb752bac60f
 ! Please do not edit these lines, except to modify the commit id
 ! if you have ported upstream changes.
 -/
@@ -63,41 +63,41 @@ noncomputable def finrank (R V : Type _) [Semiring R] [AddCommGroup V] [Module R
   (Module.rank R V).toNat
 #align finite_dimensional.finrank FiniteDimensional.finrank
 
-theorem finrank_eq_of_dim_eq {n : ℕ} (h : Module.rank K V = ↑n) : finrank K V = n :=
+theorem finrank_eq_of_rank_eq {n : ℕ} (h : Module.rank K V = ↑n) : finrank K V = n :=
   by
   apply_fun to_nat  at h
   rw [to_nat_cast] at h
   exact_mod_cast h
-#align finite_dimensional.finrank_eq_of_dim_eq FiniteDimensional.finrank_eq_of_dim_eq
+#align finite_dimensional.finrank_eq_of_rank_eq FiniteDimensional.finrank_eq_of_rank_eq
 
-theorem finrank_le_of_dim_le {n : ℕ} (h : Module.rank K V ≤ ↑n) : finrank K V ≤ n :=
+theorem finrank_le_of_rank_le {n : ℕ} (h : Module.rank K V ≤ ↑n) : finrank K V ≤ n :=
   by
   rwa [← Cardinal.toNat_le_iff_le_of_lt_aleph0, to_nat_cast] at h
   · exact h.trans_lt (nat_lt_aleph_0 n)
   · exact nat_lt_aleph_0 n
-#align finite_dimensional.finrank_le_of_dim_le FiniteDimensional.finrank_le_of_dim_le
+#align finite_dimensional.finrank_le_of_rank_le FiniteDimensional.finrank_le_of_rank_le
 
-theorem finrank_lt_of_dim_lt {n : ℕ} (h : Module.rank K V < ↑n) : finrank K V < n :=
+theorem finrank_lt_of_rank_lt {n : ℕ} (h : Module.rank K V < ↑n) : finrank K V < n :=
   by
   rwa [← Cardinal.toNat_lt_iff_lt_of_lt_aleph0, to_nat_cast] at h
   · exact h.trans (nat_lt_aleph_0 n)
   · exact nat_lt_aleph_0 n
-#align finite_dimensional.finrank_lt_of_dim_lt FiniteDimensional.finrank_lt_of_dim_lt
+#align finite_dimensional.finrank_lt_of_rank_lt FiniteDimensional.finrank_lt_of_rank_lt
 
-theorem dim_lt_of_finrank_lt {n : ℕ} (h : n < finrank K V) : ↑n < Module.rank K V :=
+theorem rank_lt_of_finrank_lt {n : ℕ} (h : n < finrank K V) : ↑n < Module.rank K V :=
   by
   rwa [← Cardinal.toNat_lt_iff_lt_of_lt_aleph0, to_nat_cast]
   · exact nat_lt_aleph_0 n
   · contrapose! h
     rw [finrank, Cardinal.toNat_apply_of_aleph0_le h]
     exact n.zero_le
-#align finite_dimensional.dim_lt_of_finrank_lt FiniteDimensional.dim_lt_of_finrank_lt
+#align finite_dimensional.rank_lt_of_finrank_lt FiniteDimensional.rank_lt_of_finrank_lt
 
 /-- If a vector space has a finite basis, then its dimension is equal to the cardinality of the
 basis. -/
 theorem finrank_eq_card_basis {ι : Type w} [Fintype ι] (h : Basis ι K V) :
     finrank K V = Fintype.card ι :=
-  finrank_eq_of_dim_eq (dim_eq_card_basis h)
+  finrank_eq_of_rank_eq (rank_eq_card_basis h)
 #align finite_dimensional.finrank_eq_card_basis FiniteDimensional.finrank_eq_card_basis
 
 /-- If a vector space has a finite basis, then its dimension is equal to the cardinality of the
@@ -108,7 +108,7 @@ theorem finrank_eq_card_finset_basis {ι : Type w} {b : Finset ι} (h : Basis.{w
 
 /-- A finite dimensional space is nontrivial if it has positive `finrank`. -/
 theorem nontrivial_of_finrank_pos (h : 0 < finrank K V) : Nontrivial V :=
-  dim_pos_iff_nontrivial.mp (dim_lt_of_finrank_lt h)
+  rank_pos_iff_nontrivial.mp (rank_lt_of_finrank_lt h)
 #align finite_dimensional.nontrivial_of_finrank_pos FiniteDimensional.nontrivial_of_finrank_pos
 
 /-- A finite dimensional space is nontrivial if it has `finrank` equal to the successor of a
@@ -135,13 +135,13 @@ variable (K)
 /-- A division_ring is one-dimensional as a vector space over itself. -/
 @[simp]
 theorem finrank_self : finrank K K = 1 :=
-  finrank_eq_of_dim_eq (by simp)
+  finrank_eq_of_rank_eq (by simp)
 #align finite_dimensional.finrank_self FiniteDimensional.finrank_self
 
 /-- The vector space of functions on a fintype ι has finrank equal to the cardinality of ι. -/
 @[simp]
 theorem finrank_fintype_fun_eq_card {ι : Type v} [Fintype ι] : finrank K (ι → K) = Fintype.card ι :=
-  finrank_eq_of_dim_eq dim_fun'
+  finrank_eq_of_rank_eq rank_fun'
 #align finite_dimensional.finrank_fintype_fun_eq_card FiniteDimensional.finrank_fintype_fun_eq_card
 
 /-- The vector space of functions on `fin n` has finrank equal to `n`. -/
@@ -155,7 +155,7 @@ end FiniteDimensional
 
 variable {K V}
 
-section ZeroDim
+section ZeroRank
 
 variable [DivisionRing K] [AddCommGroup V] [Module K V]
 
@@ -163,8 +163,8 @@ open FiniteDimensional
 
 theorem finrank_eq_zero_of_basis_imp_not_finite
     (h : ∀ s : Set V, Basis.{v} (s : Set V) K V → ¬s.Finite) : finrank K V = 0 :=
-  dif_neg fun dim_lt =>
-    h _ (Basis.ofVectorSpace K V) ((Basis.ofVectorSpace K V).finite_index_of_dim_lt_aleph0 dim_lt)
+  dif_neg fun rank_lt =>
+    h _ (Basis.ofVectorSpace K V) ((Basis.ofVectorSpace K V).finite_index_of_rank_lt_aleph0 rank_lt)
 #align finrank_eq_zero_of_basis_imp_not_finite finrank_eq_zero_of_basis_imp_not_finite
 
 theorem finrank_eq_zero_of_basis_imp_false (h : ∀ s : Finset V, Basis.{v} (s : Set V) K V → False) :
@@ -195,10 +195,10 @@ variable (K V)
 
 @[simp]
 theorem finrank_bot : finrank K (⊥ : Submodule K V) = 0 :=
-  finrank_eq_of_dim_eq (dim_bot _ _)
+  finrank_eq_of_rank_eq (rank_bot _ _)
 #align finrank_bot finrank_bot
 
-end ZeroDim
+end ZeroRank
 
 namespace LinearEquiv
 
@@ -215,7 +215,7 @@ variable [Module R M] [Module R M₂]
 theorem finrank_eq (f : M ≃ₗ[R] M₂) : finrank R M = finrank R M₂ :=
   by
   unfold finrank
-  rw [← Cardinal.toNat_lift, f.lift_dim_eq, Cardinal.toNat_lift]
+  rw [← Cardinal.toNat_lift, f.lift_rank_eq, Cardinal.toNat_lift]
 #align linear_equiv.finrank_eq LinearEquiv.finrank_eq
 
 /-- Pushforwards of finite-dimensional submodules along a `linear_equiv` have the same finrank. -/
@@ -254,7 +254,7 @@ variable [DivisionRing K] [AddCommGroup V] [Module K V]
 theorem finrank_top : finrank K (⊤ : Submodule K V) = finrank K V :=
   by
   unfold finrank
-  simp [dim_top]
+  simp [rank_top]
 #align finrank_top finrank_top
 
 end
@@ -299,7 +299,7 @@ protected noncomputable def Set.finrank (s : Set V) : ℕ :=
 variable {K}
 
 theorem finrank_span_le_card (s : Set V) [Fintype s] : finrank K (span K s) ≤ s.toFinset.card :=
-  finrank_le_of_dim_le (by simpa using dim_span_le s)
+  finrank_le_of_rank_le (by simpa using rank_span_le s)
 #align finrank_span_le_card finrank_span_le_card
 
 theorem finrank_span_finset_le_card (s : Finset V) : (s : Set V).finrank K ≤ s.card :=
@@ -318,18 +318,18 @@ theorem finrank_range_le_card {ι : Type _} [Fintype ι] {b : ι → V} :
 
 theorem finrank_span_eq_card {ι : Type _} [Fintype ι] {b : ι → V} (hb : LinearIndependent K b) :
     finrank K (span K (Set.range b)) = Fintype.card ι :=
-  finrank_eq_of_dim_eq
+  finrank_eq_of_rank_eq
     (by
-      have : Module.rank K (span K (Set.range b)) = (#Set.range b) := dim_span hb
+      have : Module.rank K (span K (Set.range b)) = (#Set.range b) := rank_span hb
       rwa [← lift_inj, mk_range_eq_of_injective hb.injective, Cardinal.mk_fintype, lift_nat_cast,
         lift_eq_nat_iff] at this)
 #align finrank_span_eq_card finrank_span_eq_card
 
 theorem finrank_span_set_eq_card (s : Set V) [Fintype s] (hs : LinearIndependent K (coe : s → V)) :
     finrank K (span K s) = s.toFinset.card :=
-  finrank_eq_of_dim_eq
+  finrank_eq_of_rank_eq
     (by
-      have : Module.rank K (span K s) = (#s) := dim_span_set hs
+      have : Module.rank K (span K s) = (#s) := rank_span_set hs
       rwa [Cardinal.mk_fintype, ← Set.toFinset_card] at this)
 #align finrank_span_set_eq_card finrank_span_set_eq_card
 
@@ -517,26 +517,26 @@ theorem finrank_le_one (v : V) (h : ∀ w : V, ∃ c : K, c • v = w) : finrank
 
 end finrank_eq_one
 
-section SubalgebraDim
+section SubalgebraRank
 
 open Module
 
 variable {F E : Type _} [Field F] [Ring E] [Algebra F E]
 
 @[simp]
-theorem Subalgebra.dim_bot [Nontrivial E] : Module.rank F (⊥ : Subalgebra F E) = 1 :=
+theorem Subalgebra.rank_bot [Nontrivial E] : Module.rank F (⊥ : Subalgebra F E) = 1 :=
   ((Subalgebra.toSubmoduleEquiv (⊥ : Subalgebra F E)).symm.trans <|
-          LinearEquiv.ofEq _ _ Algebra.toSubmodule_bot).dim_eq.trans <|
+          LinearEquiv.ofEq _ _ Algebra.toSubmodule_bot).rank_eq.trans <|
     by
-    rw [dim_span_set]
+    rw [rank_span_set]
     exacts[mk_singleton _, linearIndependent_singleton one_ne_zero]
-#align subalgebra.dim_bot Subalgebra.dim_bot
+#align subalgebra.rank_bot Subalgebra.rank_bot
 
 @[simp]
-theorem Subalgebra.dim_toSubmodule (S : Subalgebra F E) :
+theorem Subalgebra.rank_toSubmodule (S : Subalgebra F E) :
     Module.rank F S.toSubmodule = Module.rank F S :=
   rfl
-#align subalgebra.dim_to_submodule Subalgebra.dim_toSubmodule
+#align subalgebra.rank_to_submodule Subalgebra.rank_toSubmodule
 
 @[simp]
 theorem Subalgebra.finrank_toSubmodule (S : Subalgebra F E) :
@@ -544,12 +544,12 @@ theorem Subalgebra.finrank_toSubmodule (S : Subalgebra F E) :
   rfl
 #align subalgebra.finrank_to_submodule Subalgebra.finrank_toSubmodule
 
-theorem subalgebra_top_dim_eq_submodule_top_dim :
+theorem subalgebra_top_rank_eq_submodule_top_rank :
     Module.rank F (⊤ : Subalgebra F E) = Module.rank F (⊤ : Submodule F E) :=
   by
   rw [← Algebra.top_toSubmodule]
   rfl
-#align subalgebra_top_dim_eq_submodule_top_dim subalgebra_top_dim_eq_submodule_top_dim
+#align subalgebra_top_rank_eq_submodule_top_rank subalgebra_top_rank_eq_submodule_top_rank
 
 theorem subalgebra_top_finrank_eq_submodule_top_finrank :
     finrank F (⊤ : Subalgebra F E) = finrank F (⊤ : Submodule F E) :=
@@ -558,16 +558,16 @@ theorem subalgebra_top_finrank_eq_submodule_top_finrank :
   rfl
 #align subalgebra_top_finrank_eq_submodule_top_finrank subalgebra_top_finrank_eq_submodule_top_finrank
 
-theorem Subalgebra.dim_top : Module.rank F (⊤ : Subalgebra F E) = Module.rank F E :=
+theorem Subalgebra.rank_top : Module.rank F (⊤ : Subalgebra F E) = Module.rank F E :=
   by
-  rw [subalgebra_top_dim_eq_submodule_top_dim]
-  exact dim_top F E
-#align subalgebra.dim_top Subalgebra.dim_top
+  rw [subalgebra_top_rank_eq_submodule_top_rank]
+  exact rank_top F E
+#align subalgebra.rank_top Subalgebra.rank_top
 
 @[simp]
 theorem Subalgebra.finrank_bot [Nontrivial E] : finrank F (⊥ : Subalgebra F E) = 1 :=
-  finrank_eq_of_dim_eq (by simp)
+  finrank_eq_of_rank_eq (by simp)
 #align subalgebra.finrank_bot Subalgebra.finrank_bot
 
-end SubalgebraDim
+end SubalgebraRank
 
Diff
@@ -441,7 +441,7 @@ theorem linearIndependent_iff_card_eq_finrank_span {ι : Type _} [Fintype ι] {b
         rw [h]
       simpa [mem_map] using hx
     have hi : f.ker = ⊥ := ker_subtype _
-    convert (linearIndependent_of_top_le_span_of_card_eq_finrank hs hc).map' _ hi
+    convert(linearIndependent_of_top_le_span_of_card_eq_finrank hs hc).map' _ hi
 #align linear_independent_iff_card_eq_finrank_span linearIndependent_iff_card_eq_finrank_span
 
 theorem linearIndependent_iff_card_le_finrank_span {ι : Type _} [Fintype ι] {b : ι → V} :
Diff
@@ -380,8 +380,8 @@ theorem linearIndependent_of_top_le_span_of_card_eq_finrank {ι : Type _} [Finty
         (b '' (Set.univ \ {i})).toFinset.card = ((Set.univ \ {i}).toFinset.image b).card := by
           rw [Set.toFinset_card, Fintype.card_ofFinset]
         _ ≤ (Set.univ \ {i}).toFinset.card := Finset.card_image_le
-        _ = (finset.univ.erase i).card := congr_arg Finset.card (Finset.ext (by simp [and_comm']))
-        _ < finset.univ.card := Finset.card_erase_lt_of_mem (Finset.mem_univ i)
+        _ = (finset.univ.erase i).card := (congr_arg Finset.card (Finset.ext (by simp [and_comm'])))
+        _ < finset.univ.card := (Finset.card_erase_lt_of_mem (Finset.mem_univ i))
         _ = finrank K V := card_eq
         
     -- We already have that `b '' univ` spans the whole space,
@@ -407,7 +407,7 @@ theorem linearIndependent_of_top_le_span_of_card_eq_finrank {ι : Type _} [Finty
       (b i + (g i)⁻¹ • (s.erase i).Sum fun j => g j • b j) =
           (g i)⁻¹ • (g i • b i + (s.erase i).Sum fun j => g j • b j) :=
         by rw [smul_add, ← mul_smul, inv_mul_cancel gx_ne_zero, one_smul]
-      _ = (g i)⁻¹ • 0 := congr_arg _ _
+      _ = (g i)⁻¹ • 0 := (congr_arg _ _)
       _ = 0 := smul_zero _
       
     -- And then it's just a bit of manipulation with finite sums.

Changes in mathlib4

mathlib3
mathlib4
chore(*): remove empty lines between variable statements (#11418)

Empty lines were removed by executing the following Python script twice

import os
import re


# Loop through each file in the repository
for dir_path, dirs, files in os.walk('.'):
  for filename in files:
    if filename.endswith('.lean'):
      file_path = os.path.join(dir_path, filename)

      # Open the file and read its contents
      with open(file_path, 'r') as file:
        content = file.read()

      # Use a regular expression to replace sequences of "variable" lines separated by empty lines
      # with sequences without empty lines
      modified_content = re.sub(r'(variable.*\n)\n(variable(?! .* in))', r'\1\2', content)

      # Write the modified content back to the file
      with open(file_path, 'w') as file:
        file.write(modified_content)
Diff
@@ -38,7 +38,6 @@ universe u v w
 open Cardinal Submodule Module Function
 
 variable {R : Type u} {M : Type v} {N : Type w}
-
 variable [Ring R] [AddCommGroup M] [Module R M] [AddCommGroup N] [Module R N]
 
 namespace FiniteDimensional
@@ -108,7 +107,6 @@ open FiniteDimensional
 namespace LinearEquiv
 
 variable {R M M₂ : Type*} [Ring R] [AddCommGroup M] [AddCommGroup M₂]
-
 variable [Module R M] [Module R M₂]
 
 /-- The dimension of a finite dimensional space is preserved under linear equivalence. -/
refactor(Cardinal): redefine toNat and toPartENat (#10472)

Redefine these operations in terms of toENat.

Diff
@@ -58,7 +58,7 @@ noncomputable def finrank (R M : Type*) [Semiring R] [AddCommGroup M] [Module R
 
 theorem finrank_eq_of_rank_eq {n : ℕ} (h : Module.rank R M = ↑n) : finrank R M = n := by
   apply_fun toNat at h
-  rw [toNat_cast] at h
+  rw [toNat_natCast] at h
   exact mod_cast h
 #align finite_dimensional.finrank_eq_of_rank_eq FiniteDimensional.finrank_eq_of_rank_eq
 
@@ -71,19 +71,19 @@ lemma rank_eq_ofNat_iff_finrank_eq_ofNat (n : ℕ) [Nat.AtLeastTwo n] :
   Cardinal.toNat_eq_ofNat.symm
 
 theorem finrank_le_of_rank_le {n : ℕ} (h : Module.rank R M ≤ ↑n) : finrank R M ≤ n := by
-  rwa [← Cardinal.toNat_le_iff_le_of_lt_aleph0, toNat_cast] at h
+  rwa [← Cardinal.toNat_le_iff_le_of_lt_aleph0, toNat_natCast] at h
   · exact h.trans_lt (nat_lt_aleph0 n)
   · exact nat_lt_aleph0 n
 #align finite_dimensional.finrank_le_of_rank_le FiniteDimensional.finrank_le_of_rank_le
 
 theorem finrank_lt_of_rank_lt {n : ℕ} (h : Module.rank R M < ↑n) : finrank R M < n := by
-  rwa [← Cardinal.toNat_lt_iff_lt_of_lt_aleph0, toNat_cast] at h
+  rwa [← Cardinal.toNat_lt_iff_lt_of_lt_aleph0, toNat_natCast] at h
   · exact h.trans (nat_lt_aleph0 n)
   · exact nat_lt_aleph0 n
 #align finite_dimensional.finrank_lt_of_rank_lt FiniteDimensional.finrank_lt_of_rank_lt
 
 theorem lt_rank_of_lt_finrank {n : ℕ} (h : n < finrank R M) : ↑n < Module.rank R M := by
-  rwa [← Cardinal.toNat_lt_iff_lt_of_lt_aleph0, toNat_cast]
+  rwa [← Cardinal.toNat_lt_iff_lt_of_lt_aleph0, toNat_natCast]
   · exact nat_lt_aleph0 n
   · contrapose! h
     rw [finrank, Cardinal.toNat_apply_of_aleph0_le h]
@@ -96,7 +96,7 @@ theorem one_lt_rank_of_one_lt_finrank (h : 1 < finrank R M) : 1 < Module.rank R
 theorem finrank_le_finrank_of_rank_le_rank
     (h : lift.{w} (Module.rank R M) ≤ Cardinal.lift.{v} (Module.rank R N))
     (h' : Module.rank R N < ℵ₀) : finrank R M ≤ finrank R N := by
-  simpa only [toNat_lift] using toNat_le_of_le_of_lt_aleph0 (lift_lt_aleph0.mpr h') h
+  simpa only [toNat_lift] using toNat_le_toNat h (lift_lt_aleph0.mpr h')
 #align finite_dimensional.finrank_le_finrank_of_rank_le_rank FiniteDimensional.finrank_le_finrank_of_rank_le_rank
 
 end Ring
chore(Cardinal/Basic): split (#10466)

Move toNat and toPartENat to new files.

No changes in the code moved to the new files. One lemma remains in Basic but used toNat in the proof, so I changed the proof.

I'm going to redefine them in terms of toENat, so I need to move them out of Basic first.

Diff
@@ -4,6 +4,7 @@ Released under Apache 2.0 license as described in the file LICENSE.
 Authors: Chris Hughes, Anne Baanen
 -/
 import Mathlib.LinearAlgebra.Dimension.Basic
+import Mathlib.SetTheory.Cardinal.ToNat
 
 #align_import linear_algebra.finrank from "leanprover-community/mathlib"@"347636a7a80595d55bedf6e6fbd996a3c39da69a"
 
chore: Reorganize results about rank and finrank. (#9349)

The files Mathlib.LinearAlgebra.FreeModule.Rank, Mathlib.LinearAlgebra.FreeModule.Finite.Rank, Mathlib.LinearAlgebra.Dimension and Mathlib.LinearAlgebra.Finrank were reorganized into a folder Mathlib.LinearAlgebra.Dimension, containing the following files

  • Basic.lean: Contains the definition of Module.rank.
  • Finrank.lean: Contains the definition of FiniteDimensional.finrank.
  • StrongRankCondition.lean: Contains results about rank and finrank over rings satisfying strong rank condition
  • Free.lean: Contains results about rank and finrank of free modules
  • Finite.lean: Contains conditions or consequences for rank to be finite or zero
  • Constructions.lean: Contains the calculation of the rank of various constructions.
  • DivisionRing.lean: Contains results about rank and finrank of spaces over division rings.
  • LinearMap.lean: Contains results about LinearMap.rank

API changes: IsNoetherian.rank_lt_aleph0 and FiniteDimensional.rank_lt_aleph0 are replaced with rank_lt_aleph0. Module.Free.finite_basis was renamed to Module.Finite.finite_basis. FiniteDimensional.finrank_eq_rank was renamed to finrank_eq_rank. rank_eq_cardinal_basis and rank_eq_cardinal_basis' were removed in favour of Basis.mk_eq_mk and Basis.mk_eq_mk''.

Co-authored-by: Andrew Yang <36414270+erdOne@users.noreply.github.com>

chore(LinearAlgebra): rename to enable LinearIndependent dot notation (#9144)
  • Rename cardinal_lift_le_rank_of_linearIndependent, cardinal_le_rank_of_linearIndependent('), cardinal_mk/fintype_card/finset_card_le_finrank_of_linearIndependent, fintype_card_le_finrank_of_linearIndependent, finset_card_le_finrank_of_linearIndependent by removing trailing _of_linearIndependent in favor of namespace LinearIndependent.

  • Remove cardinal_lift_le_rank_of_linearIndependent', exact duplicate of the version without the prime

  • Rename FiniteDimensional/Module.Finite.lt_aleph0_of_linearIndependent to LinearIndependent.lt_aleph0_of_finiteDimensional/finite

  • Add one lemma LinearIndependent.aleph0_le_rank in LinearAlgebra/Dimension and two lemmas LinearIndependent.finrank_eq_zero_of_infinite and finrank_eq_nat_card_basis in LinearAlgebra/Finrank

  • Remove StrongRankCondition from finrank_eq_zero_of_basis_imp_not_finite and four subsequent lemmas

Co-authored-by: Junyan Xu <junyanxu.math@gmail.com> Co-authored-by: Andrew Yang <36414270+erdOne@users.noreply.github.com>

Diff
@@ -184,14 +184,27 @@ end FiniteDimensional
 
 section ZeroRank
 
-variable [Ring K] [StrongRankCondition K] [AddCommGroup V] [Module K V] [Module.Free K V]
+variable [Ring K] [AddCommGroup V] [Module K V]
 
 open FiniteDimensional
 
+lemma LinearIndependent.finrank_eq_zero_of_infinite {ι} [Nontrivial K] [Infinite ι] {v : ι → V}
+    (hv : LinearIndependent K v) : finrank K V = 0 := toNat_eq_zero.mpr <| .inr hv.aleph0_le_rank
+
+theorem finrank_eq_nat_card_basis {ι} [StrongRankCondition K]
+    (h : Basis ι K V) : finrank K V = Nat.card ι := by
+  rw [Nat.card, ← toNat_lift.{v}, h.mk_eq_rank, toNat_lift, finrank]
+
+variable [Module.Free K V]
+
 theorem finrank_eq_zero_of_basis_imp_not_finite
     (h : ∀ s : Set V, Basis.{v} (s : Set V) K V → ¬s.Finite) : finrank K V = 0 := by
+  cases subsingleton_or_nontrivial K
+  · have := Module.subsingleton K V
+    exact (h ∅ ⟨LinearEquiv.ofSubsingleton _ _⟩ Set.finite_empty).elim
   obtain ⟨_, ⟨b⟩⟩ := (Module.free_iff_set K V).mp ‹_›
-  exact dif_neg fun rank_lt => h _ b (b.finite_index_of_rank_lt_aleph0 rank_lt)
+  have := Set.Infinite.to_subtype (h _ b)
+  exact b.linearIndependent.finrank_eq_zero_of_infinite
 #align finrank_eq_zero_of_basis_imp_not_finite finrank_eq_zero_of_basis_imp_not_finite
 
 theorem finrank_eq_zero_of_basis_imp_false (h : ∀ s : Finset V, Basis.{v} (s : Set V) K V → False) :
chore: replace exact_mod_cast tactic with mod_cast elaborator where possible (#8404)

We still have the exact_mod_cast tactic, used in a few places, which somehow (?) works a little bit harder to prevent the expected type influencing the elaboration of the term. I would like to get to the bottom of this, and it will be easier once the only usages of exact_mod_cast are the ones that don't work using the term elaborator by itself.

Co-authored-by: Scott Morrison <scott.morrison@gmail.com>

Diff
@@ -62,7 +62,7 @@ noncomputable def finrank (R V : Type*) [Semiring R] [AddCommGroup V] [Module R
 theorem finrank_eq_of_rank_eq {n : ℕ} (h : Module.rank K V = ↑n) : finrank K V = n := by
   apply_fun toNat at h
   rw [toNat_cast] at h
-  exact_mod_cast h
+  exact mod_cast h
 #align finite_dimensional.finrank_eq_of_rank_eq FiniteDimensional.finrank_eq_of_rank_eq
 
 lemma rank_eq_one_iff_finrank_eq_one : Module.rank K V = 1 ↔ finrank K V = 1 :=
chore: bump to v4.3.0-rc2 (#8366)

PR contents

This is the supremum of

along with some minor fixes from failures on nightly-testing as Mathlib master is merged into it.

Note that some PRs for changes that are already compatible with the current toolchain and will be necessary have already been split out: #8380.

I am hopeful that in future we will be able to progressively merge adaptation PRs into a bump/v4.X.0 branch, so we never end up with a "big merge" like this. However one of these adaptation PRs (#8056) predates my new scheme for combined CI, and it wasn't possible to keep that PR viable in the meantime.

Lean PRs involved in this bump

In particular this includes adjustments for the Lean PRs

leanprover/lean4#2778

We can get rid of all the

local macro_rules | `($x ^ $y) => `(HPow.hPow $x $y) -- Porting note: See issue [lean4#2220](https://github.com/leanprover/lean4/pull/2220)

macros across Mathlib (and in any projects that want to write natural number powers of reals).

leanprover/lean4#2722

Changes the default behaviour of simp to (config := {decide := false}). This makes simp (and consequentially norm_num) less powerful, but also more consistent, and less likely to blow up in long failures. This requires a variety of changes: changing some previously by simp or norm_num to decide or rfl, or adding (config := {decide := true}).

leanprover/lean4#2783

This changed the behaviour of simp so that simp [f] will only unfold "fully applied" occurrences of f. The old behaviour can be recovered with simp (config := { unfoldPartialApp := true }). We may in future add a syntax for this, e.g. simp [!f]; please provide feedback! In the meantime, we have made the following changes:

  • switching to using explicit lemmas that have the intended level of application
  • (config := { unfoldPartialApp := true }) in some places, to recover the old behaviour
  • Using @[eqns] to manually adjust the equation lemmas for a particular definition, recovering the old behaviour just for that definition. See #8371, where we do this for Function.comp and Function.flip.

This change in Lean may require further changes down the line (e.g. adding the !f syntax, and/or upstreaming the special treatment for Function.comp and Function.flip, and/or removing this special treatment). Please keep an open and skeptical mind about these changes!

Co-authored-by: leanprover-community-mathlib4-bot <leanprover-community-mathlib4-bot@users.noreply.github.com> Co-authored-by: Scott Morrison <scott.morrison@gmail.com> Co-authored-by: Eric Wieser <wieser.eric@gmail.com> Co-authored-by: Mauricio Collares <mauricio@collares.org>

Diff
@@ -436,7 +436,7 @@ theorem linearIndependent_of_top_le_span_of_card_eq_finrank {ι : Type*} [Fintyp
     · refine' neg_mem (smul_mem _ _ (sum_mem fun k hk => _))
       obtain ⟨k_ne_i, _⟩ := Finset.mem_erase.mp hk
       refine' smul_mem _ _ (subset_span ⟨k, _, rfl⟩)
-      simp_all only [Set.mem_univ, Set.mem_diff, Set.mem_singleton_iff]
+      simp_all only [Set.mem_univ, Set.mem_diff, Set.mem_singleton_iff, and_self, not_false_eq_true]
     -- To show `b i` is a weighted sum of the other `b j`s, we'll rewrite this sum
     -- to have the form of the assumption `dependent`.
     apply eq_neg_of_add_eq_zero_left
feat: polar coords integral in a normed space (#7693)
Diff
@@ -118,6 +118,7 @@ theorem nontrivial_of_finrank_eq_succ {n : ℕ} (hn : finrank K V = n.succ) : No
 #align finite_dimensional.nontrivial_of_finrank_eq_succ FiniteDimensional.nontrivial_of_finrank_eq_succ
 
 /-- A (finite dimensional) space that is a subsingleton has zero `finrank`. -/
+@[nontriviality]
 theorem finrank_zero_of_subsingleton [h : Subsingleton V] : finrank K V = 0 := by
   by_contra h0
   obtain ⟨x, y, hxy⟩ := nontrivial_of_finrank_pos (Nat.pos_of_ne_zero h0)
refactor(Algebra/Algebra/Subalgebra/Basic): use a better defeq for ⊥ : Subalgebra R A (#8038)

And the same thing for StarSubalgebra R A. IntermediateField was already handled in #7957.

As a result, nine (obvious) lemmas are now true by definition.

This slightly adjusts the statement of Algebra.toSubmodule_bot to make it simpler and true by definition; the original statement can be recovered by rewriting by Submodule.one_eq_span, which I've had to add in some downstream proofs.

Diff
@@ -591,11 +591,10 @@ variable [StrongRankCondition F] [NoZeroSMulDivisors F E] [Nontrivial E]
 
 @[simp]
 theorem Subalgebra.rank_bot : Module.rank F (⊥ : Subalgebra F E) = 1 :=
-  ((Subalgebra.toSubmoduleEquiv (⊥ : Subalgebra F E)).symm.trans <|
-          LinearEquiv.ofEq _ _ Algebra.toSubmodule_bot).rank_eq.trans <| by
+  (Subalgebra.toSubmoduleEquiv (⊥ : Subalgebra F E)).symm.rank_eq.trans <| by
+    rw [Algebra.toSubmodule_bot, one_eq_span, rank_span_set, mk_singleton _]
     letI := Module.nontrivial F E
-    rw [rank_span_set]
-    exacts [mk_singleton _, linearIndependent_singleton one_ne_zero]
+    exact linearIndependent_singleton one_ne_zero
 #align subalgebra.rank_bot Subalgebra.rank_bot
 
 @[simp]
fix: resolve some nolint simpNF commands (#7929)
Diff
@@ -497,15 +497,12 @@ theorem coe_basisOfTopLeSpanOfCardEqFinrank {ι : Type*} [Fintype ι] (b : ι 
 /-- A finset of `finrank K V` vectors forms a basis if they span the whole space. -/
 @[simps! repr_apply]
 noncomputable def finsetBasisOfTopLeSpanOfCardEqFinrank {s : Finset V}
-    (le_span : ⊤ ≤ span K (s : Set V)) (card_eq : s.card = finrank K V) : Basis (s : Set V) K V :=
+    (le_span : ⊤ ≤ span K (s : Set V)) (card_eq : s.card = finrank K V) : Basis {x // x ∈ s} K V :=
   basisOfTopLeSpanOfCardEqFinrank ((↑) : ↥(s : Set V) → V)
     ((@Subtype.range_coe_subtype _ fun x => x ∈ s).symm ▸ le_span)
     (_root_.trans (Fintype.card_coe _) card_eq)
 #align finset_basis_of_top_le_span_of_card_eq_finrank finsetBasisOfTopLeSpanOfCardEqFinrank
 
--- These lemmas have always been bad (#7657), but lean4#2644 made `simp` start noticing
-attribute [nolint simpNF] finsetBasisOfTopLeSpanOfCardEqFinrank_repr_apply
-
 /-- A set of `finrank K V` vectors forms a basis if they span the whole space. -/
 @[simps! repr_apply]
 noncomputable def setBasisOfTopLeSpanOfCardEqFinrank {s : Set V} [Fintype s]
Revert "chore: revert #7703 (#7710)"

This reverts commit f3695eb2.

Diff
@@ -503,6 +503,9 @@ noncomputable def finsetBasisOfTopLeSpanOfCardEqFinrank {s : Finset V}
     (_root_.trans (Fintype.card_coe _) card_eq)
 #align finset_basis_of_top_le_span_of_card_eq_finrank finsetBasisOfTopLeSpanOfCardEqFinrank
 
+-- These lemmas have always been bad (#7657), but lean4#2644 made `simp` start noticing
+attribute [nolint simpNF] finsetBasisOfTopLeSpanOfCardEqFinrank_repr_apply
+
 /-- A set of `finrank K V` vectors forms a basis if they span the whole space. -/
 @[simps! repr_apply]
 noncomputable def setBasisOfTopLeSpanOfCardEqFinrank {s : Set V} [Fintype s]
chore: revert #7703 (#7710)

This reverts commit 26eb2b0a.

Diff
@@ -503,9 +503,6 @@ noncomputable def finsetBasisOfTopLeSpanOfCardEqFinrank {s : Finset V}
     (_root_.trans (Fintype.card_coe _) card_eq)
 #align finset_basis_of_top_le_span_of_card_eq_finrank finsetBasisOfTopLeSpanOfCardEqFinrank
 
--- These lemmas have always been bad (#7657), but lean4#2644 made `simp` start noticing
-attribute [nolint simpNF] finsetBasisOfTopLeSpanOfCardEqFinrank_repr_apply
-
 /-- A set of `finrank K V` vectors forms a basis if they span the whole space. -/
 @[simps! repr_apply]
 noncomputable def setBasisOfTopLeSpanOfCardEqFinrank {s : Set V} [Fintype s]
chore: bump toolchain to v4.2.0-rc2 (#7703)

This includes all the changes from #7606.

Co-authored-by: Scott Morrison <scott.morrison@gmail.com>

Diff
@@ -503,6 +503,9 @@ noncomputable def finsetBasisOfTopLeSpanOfCardEqFinrank {s : Finset V}
     (_root_.trans (Fintype.card_coe _) card_eq)
 #align finset_basis_of_top_le_span_of_card_eq_finrank finsetBasisOfTopLeSpanOfCardEqFinrank
 
+-- These lemmas have always been bad (#7657), but lean4#2644 made `simp` start noticing
+attribute [nolint simpNF] finsetBasisOfTopLeSpanOfCardEqFinrank_repr_apply
+
 /-- A set of `finrank K V` vectors forms a basis if they span the whole space. -/
 @[simps! repr_apply]
 noncomputable def setBasisOfTopLeSpanOfCardEqFinrank {s : Set V} [Fintype s]
chore: tidy various files (#7017)
Diff
@@ -374,24 +374,24 @@ theorem span_lt_top_of_card_lt_finrank {s : Set V} [Fintype s]
 
 /-- Given a family of `n` linearly independent vectors in a finite-dimensional space of
 dimension `> n`, one may extend the family by another vector while retaining linear independence. -/
-theorem exists_linear_independent_snoc_of_lt_finrank {n : ℕ} {v : Fin n → V}
+theorem exists_linearIndependent_snoc_of_lt_finrank {n : ℕ} {v : Fin n → V}
     (hv : LinearIndependent K v) (h : n < finrank K V) :
     ∃ (x : V), LinearIndependent K (Fin.snoc v x) :=
-  exists_linear_independent_snoc_of_lt_rank hv (lt_rank_of_lt_finrank h)
+  exists_linearIndependent_snoc_of_lt_rank hv (lt_rank_of_lt_finrank h)
 
 /-- Given a family of `n` linearly independent vectors in a finite-dimensional space of
 dimension `> n`, one may extend the family by another vector while retaining linear independence. -/
-theorem exists_linear_independent_cons_of_lt_finrank {n : ℕ} {v : Fin n → V}
+theorem exists_linearIndependent_cons_of_lt_finrank {n : ℕ} {v : Fin n → V}
     (hv : LinearIndependent K v) (h : n < finrank K V) :
     ∃ (x : V), LinearIndependent K (Fin.cons x v) :=
-  exists_linear_independent_cons_of_lt_rank hv (lt_rank_of_lt_finrank h)
+  exists_linearIndependent_cons_of_lt_rank hv (lt_rank_of_lt_finrank h)
 
 /-- Given a nonzero vector in a finite-dimensional space of dimension `> 1`, one may find another
 vector linearly independent of the first one. -/
-theorem exists_linear_independent_pair_of_one_lt_finrank
+theorem exists_linearIndependent_pair_of_one_lt_finrank
     (h : 1 < finrank K V) {x : V} (hx : x ≠ 0) :
     ∃ y, LinearIndependent K ![x, y] :=
-  exists_linear_independent_pair_of_one_lt_rank (one_lt_rank_of_one_lt_finrank h) hx
+  exists_linearIndependent_pair_of_one_lt_rank (one_lt_rank_of_one_lt_finrank h) hx
 
 end DivisionRing
 
feat(LinearAlgebra): complements on spaces of dimension >1 or >n (#6348)
Diff
@@ -85,13 +85,16 @@ theorem finrank_lt_of_rank_lt {n : ℕ} (h : Module.rank K V < ↑n) : finrank K
   · exact nat_lt_aleph0 n
 #align finite_dimensional.finrank_lt_of_rank_lt FiniteDimensional.finrank_lt_of_rank_lt
 
-theorem rank_lt_of_finrank_lt {n : ℕ} (h : n < finrank K V) : ↑n < Module.rank K V := by
+theorem lt_rank_of_lt_finrank {n : ℕ} (h : n < finrank K V) : ↑n < Module.rank K V := by
   rwa [← Cardinal.toNat_lt_iff_lt_of_lt_aleph0, toNat_cast]
   · exact nat_lt_aleph0 n
   · contrapose! h
     rw [finrank, Cardinal.toNat_apply_of_aleph0_le h]
     exact n.zero_le
-#align finite_dimensional.rank_lt_of_finrank_lt FiniteDimensional.rank_lt_of_finrank_lt
+#align finite_dimensional.rank_lt_of_finrank_lt FiniteDimensional.lt_rank_of_lt_finrank
+
+theorem one_lt_rank_of_one_lt_finrank (h : 1 < finrank K V) : 1 < Module.rank K V := by
+  simpa using lt_rank_of_lt_finrank h
 
 theorem finrank_le_finrank_of_rank_le_rank
     (h : lift.{v'} (Module.rank K V) ≤ Cardinal.lift.{v} (Module.rank K V₂))
@@ -105,7 +108,7 @@ variable [Nontrivial K] [NoZeroSMulDivisors K V]
 
 /-- A finite dimensional space is nontrivial if it has positive `finrank`. -/
 theorem nontrivial_of_finrank_pos (h : 0 < finrank K V) : Nontrivial V :=
-  rank_pos_iff_nontrivial.mp (rank_lt_of_finrank_lt h)
+  rank_pos_iff_nontrivial.mp (lt_rank_of_lt_finrank h)
 #align finite_dimensional.nontrivial_of_finrank_pos FiniteDimensional.nontrivial_of_finrank_pos
 
 /-- A finite dimensional space is nontrivial if it has `finrank` equal to the successor of a
@@ -369,6 +372,27 @@ theorem span_lt_top_of_card_lt_finrank {s : Set V} [Fintype s]
   lt_top_of_finrank_lt_finrank (lt_of_le_of_lt (finrank_span_le_card _) card_lt)
 #align span_lt_top_of_card_lt_finrank span_lt_top_of_card_lt_finrank
 
+/-- Given a family of `n` linearly independent vectors in a finite-dimensional space of
+dimension `> n`, one may extend the family by another vector while retaining linear independence. -/
+theorem exists_linear_independent_snoc_of_lt_finrank {n : ℕ} {v : Fin n → V}
+    (hv : LinearIndependent K v) (h : n < finrank K V) :
+    ∃ (x : V), LinearIndependent K (Fin.snoc v x) :=
+  exists_linear_independent_snoc_of_lt_rank hv (lt_rank_of_lt_finrank h)
+
+/-- Given a family of `n` linearly independent vectors in a finite-dimensional space of
+dimension `> n`, one may extend the family by another vector while retaining linear independence. -/
+theorem exists_linear_independent_cons_of_lt_finrank {n : ℕ} {v : Fin n → V}
+    (hv : LinearIndependent K v) (h : n < finrank K V) :
+    ∃ (x : V), LinearIndependent K (Fin.cons x v) :=
+  exists_linear_independent_cons_of_lt_rank hv (lt_rank_of_lt_finrank h)
+
+/-- Given a nonzero vector in a finite-dimensional space of dimension `> 1`, one may find another
+vector linearly independent of the first one. -/
+theorem exists_linear_independent_pair_of_one_lt_finrank
+    (h : 1 < finrank K V) {x : V} (hx : x ≠ 0) :
+    ∃ y, LinearIndependent K ![x, y] :=
+  exists_linear_independent_pair_of_one_lt_rank (one_lt_rank_of_one_lt_finrank h) hx
+
 end DivisionRing
 
 end Span
chore: banish Type _ and Sort _ (#6499)

We remove all possible occurences of Type _ and Sort _ in favor of Type* and Sort*.

This has nice performance benefits.

Diff
@@ -55,7 +55,7 @@ Defined by convention to be `0` if the space has infinite rank.
 For a vector space `V` over a field `K`, this is the same as the finite dimension
 of `V` over `K`.
 -/
-noncomputable def finrank (R V : Type _) [Semiring R] [AddCommGroup V] [Module R V] : ℕ :=
+noncomputable def finrank (R V : Type*) [Semiring R] [AddCommGroup V] [Module R V] : ℕ :=
   Cardinal.toNat (Module.rank R V)
 #align finite_dimensional.finrank FiniteDimensional.finrank
 
@@ -136,7 +136,7 @@ theorem finrank_eq_card_basis {ι : Type w} [Fintype ι] (h : Basis ι K V) :
 
 /-- If a vector space (or module) has a finite basis, then its dimension (or rank) is equal to the
 cardinality of the basis. This lemma uses a `Finset` instead of indexed types. -/
-theorem finrank_eq_card_finset_basis {ι : Type w} {b : Finset ι} (h : Basis.{w} b K V) :
+theorem finrank_eq_card_finset_basis {ι : Type w} {b : Finset ι} (h : Basis b K V) :
     finrank K V = Finset.card b := by rw [finrank_eq_card_basis h, Fintype.card_coe]
 #align finite_dimensional.finrank_eq_card_finset_basis FiniteDimensional.finrank_eq_card_finset_basis
 
@@ -222,7 +222,7 @@ open FiniteDimensional
 
 variable [Ring K] [AddCommGroup V] [Module K V] {V₂ : Type v'} [AddCommGroup V₂] [Module K V₂]
 
-variable {R M M₂ : Type _} [Ring R] [AddCommGroup M] [AddCommGroup M₂]
+variable {R M M₂ : Type*} [Ring R] [AddCommGroup M] [AddCommGroup M₂]
 
 variable [Module R M] [Module R M₂]
 
@@ -326,7 +326,7 @@ theorem finrank_span_finset_le_card (s : Finset V) : (s : Set V).finrank K ≤ s
     _ = s.card := by simp
 #align finrank_span_finset_le_card finrank_span_finset_le_card
 
-theorem finrank_range_le_card {ι : Type _} [Fintype ι] {b : ι → V} :
+theorem finrank_range_le_card {ι : Type*} [Fintype ι] {b : ι → V} :
     (Set.range b).finrank K ≤ Fintype.card ι := by
   classical
   refine (finrank_span_le_card _).trans ?_
@@ -334,7 +334,7 @@ theorem finrank_range_le_card {ι : Type _} [Fintype ι] {b : ι → V} :
   exact Finset.card_image_le
 #align finrank_range_le_card finrank_range_le_card
 
-theorem finrank_span_eq_card {ι : Type _} [Fintype ι] {b : ι → V} (hb : LinearIndependent K b) :
+theorem finrank_span_eq_card {ι : Type*} [Fintype ι] {b : ι → V} (hb : LinearIndependent K b) :
     finrank K (span K (Set.range b)) = Fintype.card ι :=
   finrank_eq_of_rank_eq
     (by
@@ -379,7 +379,7 @@ section DivisionRing
 
 variable [DivisionRing K] [AddCommGroup V] [Module K V]
 
-theorem linearIndependent_of_top_le_span_of_card_eq_finrank {ι : Type _} [Fintype ι] {b : ι → V}
+theorem linearIndependent_of_top_le_span_of_card_eq_finrank {ι : Type*} [Fintype ι] {b : ι → V}
     (spans : ⊤ ≤ span K (Set.range b)) (card_eq : Fintype.card ι = finrank K V) :
     LinearIndependent K b :=
   linearIndependent_iff'.mpr fun s g dependent i i_mem_s => by
@@ -427,7 +427,7 @@ theorem linearIndependent_of_top_le_span_of_card_eq_finrank {ι : Type _} [Finty
 
 /-- A finite family of vectors is linearly independent if and only if
 its cardinality equals the dimension of its span. -/
-theorem linearIndependent_iff_card_eq_finrank_span {ι : Type _} [Fintype ι] {b : ι → V} :
+theorem linearIndependent_iff_card_eq_finrank_span {ι : Type*} [Fintype ι] {b : ι → V} :
     LinearIndependent K b ↔ Fintype.card ι = (Set.range b).finrank K := by
   constructor
   · intro h
@@ -452,19 +452,19 @@ theorem linearIndependent_iff_card_eq_finrank_span {ι : Type _} [Fintype ι] {b
     convert (linearIndependent_of_top_le_span_of_card_eq_finrank hs hc).map' _ hi
 #align linear_independent_iff_card_eq_finrank_span linearIndependent_iff_card_eq_finrank_span
 
-theorem linearIndependent_iff_card_le_finrank_span {ι : Type _} [Fintype ι] {b : ι → V} :
+theorem linearIndependent_iff_card_le_finrank_span {ι : Type*} [Fintype ι] {b : ι → V} :
     LinearIndependent K b ↔ Fintype.card ι ≤ (Set.range b).finrank K := by
   rw [linearIndependent_iff_card_eq_finrank_span, finrank_range_le_card.le_iff_eq]
 #align linear_independent_iff_card_le_finrank_span linearIndependent_iff_card_le_finrank_span
 
 /-- A family of `finrank K V` vectors forms a basis if they span the whole space. -/
-noncomputable def basisOfTopLeSpanOfCardEqFinrank {ι : Type _} [Fintype ι] (b : ι → V)
+noncomputable def basisOfTopLeSpanOfCardEqFinrank {ι : Type*} [Fintype ι] (b : ι → V)
     (le_span : ⊤ ≤ span K (Set.range b)) (card_eq : Fintype.card ι = finrank K V) : Basis ι K V :=
   Basis.mk (linearIndependent_of_top_le_span_of_card_eq_finrank le_span card_eq) le_span
 #align basis_of_top_le_span_of_card_eq_finrank basisOfTopLeSpanOfCardEqFinrank
 
 @[simp]
-theorem coe_basisOfTopLeSpanOfCardEqFinrank {ι : Type _} [Fintype ι] (b : ι → V)
+theorem coe_basisOfTopLeSpanOfCardEqFinrank {ι : Type*} [Fintype ι] (b : ι → V)
     (le_span : ⊤ ≤ span K (Set.range b)) (card_eq : Fintype.card ι = finrank K V) :
     ⇑(basisOfTopLeSpanOfCardEqFinrank b le_span card_eq) = b :=
   Basis.coe_mk _ _
@@ -530,7 +530,7 @@ section SubalgebraRank
 
 open Module
 
-variable {F E : Type _} [CommRing F] [Ring E] [Algebra F E]
+variable {F E : Type*} [CommRing F] [Ring E] [Algebra F E]
 
 @[simp]
 theorem Subalgebra.rank_toSubmodule (S : Subalgebra F E) :
feat(SetTheory/Cardinal): add ofNat lemmas (#6362)
Diff
@@ -65,6 +65,14 @@ theorem finrank_eq_of_rank_eq {n : ℕ} (h : Module.rank K V = ↑n) : finrank K
   exact_mod_cast h
 #align finite_dimensional.finrank_eq_of_rank_eq FiniteDimensional.finrank_eq_of_rank_eq
 
+lemma rank_eq_one_iff_finrank_eq_one : Module.rank K V = 1 ↔ finrank K V = 1 :=
+  Cardinal.toNat_eq_one.symm
+
+/-- This is like `rank_eq_one_iff_finrank_eq_one` but works for `2`, `3`, `4`, ... -/
+lemma rank_eq_ofNat_iff_finrank_eq_ofNat (n : ℕ) [Nat.AtLeastTwo n] :
+    Module.rank K V = OfNat.ofNat n ↔ finrank K V = OfNat.ofNat n :=
+  Cardinal.toNat_eq_ofNat.symm
+
 theorem finrank_le_of_rank_le {n : ℕ} (h : Module.rank K V ≤ ↑n) : finrank K V ≤ n := by
   rwa [← Cardinal.toNat_le_iff_le_of_lt_aleph0, toNat_cast] at h
   · exact h.trans_lt (nat_lt_aleph0 n)
chore(LinearAlgebra): remove open Classical (#6320)

This uncovers a few situations where a lemma was stated with the wrong decidability assumption. The corrected lemmas are strictly more syntactically-general.

This is exhaustive in the LinearAlgebra folder.

Where removal is impractical, this switches to open Classical in to make the intent clear.

Diff
@@ -34,7 +34,7 @@ You should not assume that there has been any effort to state lemmas as generall
 
 universe u v v' w
 
-open Classical Cardinal
+open Cardinal
 
 open Cardinal Submodule Module Function
 
@@ -319,10 +319,11 @@ theorem finrank_span_finset_le_card (s : Finset V) : (s : Set V).finrank K ≤ s
 #align finrank_span_finset_le_card finrank_span_finset_le_card
 
 theorem finrank_range_le_card {ι : Type _} [Fintype ι] {b : ι → V} :
-    (Set.range b).finrank K ≤ Fintype.card ι :=
-  (finrank_span_le_card _).trans <| by
-    rw [Set.toFinset_range]
-    exact Finset.card_image_le
+    (Set.range b).finrank K ≤ Fintype.card ι := by
+  classical
+  refine (finrank_span_le_card _).trans ?_
+  rw [Set.toFinset_range]
+  exact Finset.card_image_le
 #align finrank_range_le_card finrank_range_le_card
 
 theorem finrank_span_eq_card {ι : Type _} [Fintype ι] {b : ι → V} (hb : LinearIndependent K b) :
@@ -374,6 +375,7 @@ theorem linearIndependent_of_top_le_span_of_card_eq_finrank {ι : Type _} [Finty
     (spans : ⊤ ≤ span K (Set.range b)) (card_eq : Fintype.card ι = finrank K V) :
     LinearIndependent K b :=
   linearIndependent_iff'.mpr fun s g dependent i i_mem_s => by
+    classical
     by_contra gx_ne_zero
     -- We'll derive a contradiction by showing `b '' (univ \ {i})` of cardinality `n - 1`
     -- spans a vector space of dimension `n`.
chore: script to replace headers with #align_import statements (#5979)

Open in Gitpod

Co-authored-by: Eric Wieser <wieser.eric@gmail.com> Co-authored-by: Scott Morrison <scott.morrison@gmail.com>

Diff
@@ -2,14 +2,11 @@
 Copyright (c) 2019 Chris Hughes. All rights reserved.
 Released under Apache 2.0 license as described in the file LICENSE.
 Authors: Chris Hughes, Anne Baanen
-
-! This file was ported from Lean 3 source module linear_algebra.finrank
-! leanprover-community/mathlib commit 347636a7a80595d55bedf6e6fbd996a3c39da69a
-! Please do not edit these lines, except to modify the commit id
-! if you have ported upstream changes.
 -/
 import Mathlib.LinearAlgebra.Dimension
 
+#align_import linear_algebra.finrank from "leanprover-community/mathlib"@"347636a7a80595d55bedf6e6fbd996a3c39da69a"
+
 /-!
 # Finite dimension of vector spaces
 
fix: precedence of # (#5623)
Diff
@@ -332,7 +332,7 @@ theorem finrank_span_eq_card {ι : Type _} [Fintype ι] {b : ι → V} (hb : Lin
     finrank K (span K (Set.range b)) = Fintype.card ι :=
   finrank_eq_of_rank_eq
     (by
-      have : Module.rank K (span K (Set.range b)) = (#Set.range b) := rank_span hb
+      have : Module.rank K (span K (Set.range b)) = #(Set.range b) := rank_span hb
       rwa [← lift_inj, mk_range_eq_of_injective hb.injective, Cardinal.mk_fintype, lift_natCast,
         lift_eq_nat_iff] at this)
 #align finrank_span_eq_card finrank_span_eq_card
@@ -341,7 +341,7 @@ theorem finrank_span_set_eq_card (s : Set V) [Fintype s] (hs : LinearIndependent
     finrank K (span K s) = s.toFinset.card :=
   finrank_eq_of_rank_eq
     (by
-      have : Module.rank K (span K s) = (#s) := rank_span_set hs
+      have : Module.rank K (span K s) = #s := rank_span_set hs
       rwa [Cardinal.mk_fintype, ← Set.toFinset_card] at this)
 #align finrank_span_set_eq_card finrank_span_set_eq_card
 
chore: reenable eta, bump to nightly 2023-05-16 (#3414)

Now that leanprover/lean4#2210 has been merged, this PR:

  • removes all the set_option synthInstance.etaExperiment true commands (and some etaExperiment% term elaborators)
  • removes many but not quite all set_option maxHeartbeats commands
  • makes various other changes required to cope with leanprover/lean4#2210.

Co-authored-by: Scott Morrison <scott.morrison@anu.edu.au> Co-authored-by: Scott Morrison <scott.morrison@gmail.com> Co-authored-by: Matthew Ballard <matt@mrb.email>

Diff
@@ -137,7 +137,6 @@ theorem finrank_eq_card_finset_basis {ι : Type w} {b : Finset ι} (h : Basis.{w
 
 variable (K)
 
-set_option synthInstance.etaExperiment true in
 /-- A ring satisfying `StrongRankCondition` (such as a `DivisionRing`) is one-dimensional as a
 module over itself. -/
 @[simp]
@@ -145,14 +144,12 @@ theorem finrank_self : finrank K K = 1 :=
   finrank_eq_of_rank_eq (by simp)
 #align finite_dimensional.finrank_self FiniteDimensional.finrank_self
 
-set_option synthInstance.etaExperiment true in
 /-- The vector space of functions on a `Fintype ι` has finrank equal to the cardinality of `ι`. -/
 @[simp]
 theorem finrank_fintype_fun_eq_card {ι : Type v} [Fintype ι] : finrank K (ι → K) = Fintype.card ι :=
   finrank_eq_of_rank_eq rank_fun'
 #align finite_dimensional.finrank_fintype_fun_eq_card FiniteDimensional.finrank_fintype_fun_eq_card
 
-set_option synthInstance.etaExperiment true in
 /-- The vector space of functions on `Fin n` has finrank equal to `n`. -/
 -- @[simp] -- Porting note: simp already proves this
 theorem finrank_fin_fun {n : ℕ} : finrank K (Fin n → K) = n := by simp
@@ -224,14 +221,12 @@ variable {R M M₂ : Type _} [Ring R] [AddCommGroup M] [AddCommGroup M₂]
 
 variable [Module R M] [Module R M₂]
 
-set_option synthInstance.etaExperiment true in -- Porting note: gets around lean4#2074
 /-- The dimension of a finite dimensional space is preserved under linear equivalence. -/
 theorem finrank_eq (f : M ≃ₗ[R] M₂) : finrank R M = finrank R M₂ := by
   unfold finrank
   rw [← Cardinal.toNat_lift, f.lift_rank_eq, Cardinal.toNat_lift]
 #align linear_equiv.finrank_eq LinearEquiv.finrank_eq
 
-set_option synthInstance.etaExperiment true in -- Porting note: gets around lean4#2074
 /-- Pushforwards of finite-dimensional submodules along a `LinearEquiv` have the same finrank. -/
 theorem finrank_map_eq (f : M ≃ₗ[R] M₂) (p : Submodule R M) :
     finrank R (p.map (f : M →ₗ[R] M₂)) = finrank R p :=
@@ -248,7 +243,6 @@ section Ring
 
 variable [Ring K] [AddCommGroup V] [Module K V] {V₂ : Type v'} [AddCommGroup V₂] [Module K V₂]
 
-set_option synthInstance.etaExperiment true in -- Porting note: gets around lean4#2074
 /-- The dimensions of the domain and range of an injective linear map are equal. -/
 theorem finrank_range_of_inj {f : V →ₗ[K] V₂} (hf : Function.Injective f) :
     finrank K (LinearMap.range f) = finrank K V := by rw [(LinearEquiv.ofInjective f hf).finrank_eq]
@@ -537,28 +531,24 @@ theorem Subalgebra.rank_toSubmodule (S : Subalgebra F E) :
   rfl
 #align subalgebra.rank_to_submodule Subalgebra.rank_toSubmodule
 
-set_option synthInstance.etaExperiment true in -- Porting note: gets around lean4#2074
 @[simp]
 theorem Subalgebra.finrank_toSubmodule (S : Subalgebra F E) :
     finrank F (Subalgebra.toSubmodule S) = finrank F S :=
   rfl
 #align subalgebra.finrank_to_submodule Subalgebra.finrank_toSubmodule
 
-set_option synthInstance.etaExperiment true in -- Porting note: gets around lean4#2074
 theorem subalgebra_top_rank_eq_submodule_top_rank :
     Module.rank F (⊤ : Subalgebra F E) = Module.rank F (⊤ : Submodule F E) := by
   rw [← Algebra.top_toSubmodule]
   rfl
 #align subalgebra_top_rank_eq_submodule_top_rank subalgebra_top_rank_eq_submodule_top_rank
 
-set_option synthInstance.etaExperiment true in -- Porting note: gets around lean4#2074
 theorem subalgebra_top_finrank_eq_submodule_top_finrank :
     finrank F (⊤ : Subalgebra F E) = finrank F (⊤ : Submodule F E) := by
   rw [← Algebra.top_toSubmodule]
   rfl
 #align subalgebra_top_finrank_eq_submodule_top_finrank subalgebra_top_finrank_eq_submodule_top_finrank
 
-set_option synthInstance.etaExperiment true in -- Porting note: gets around lean4#2074
 theorem Subalgebra.rank_top : Module.rank F (⊤ : Subalgebra F E) = Module.rank F E := by
   rw [subalgebra_top_rank_eq_submodule_top_rank]
   exact _root_.rank_top F E
@@ -568,7 +558,6 @@ section
 
 variable [StrongRankCondition F] [NoZeroSMulDivisors F E] [Nontrivial E]
 
-set_option synthInstance.etaExperiment true in -- Porting note: gets around lean4#2074
 @[simp]
 theorem Subalgebra.rank_bot : Module.rank F (⊥ : Subalgebra F E) = 1 :=
   ((Subalgebra.toSubmoduleEquiv (⊥ : Subalgebra F E)).symm.trans <|
chore: bye-bye, solo bys! (#3825)

This PR puts, with one exception, every single remaining by that lies all by itself on its own line to the previous line, thus matching the current behaviour of start-port.sh. The exception is when the by begins the second or later argument to a tuple or anonymous constructor; see https://github.com/leanprover-community/mathlib4/pull/3825#discussion_r1186702599.

Essentially this is s/\n *by$/ by/g, but with manual editing to satisfy the linter's max-100-char-line requirement. The Python style linter is also modified to catch these "isolated bys".

Diff
@@ -290,8 +290,8 @@ theorem lt_of_le_of_finrank_lt_finrank {s t : Submodule K V} (le : s ≤ t)
   lt_of_le_of_ne le fun h => ne_of_lt lt (by rw [h])
 #align submodule.lt_of_le_of_finrank_lt_finrank Submodule.lt_of_le_of_finrank_lt_finrank
 
-theorem lt_top_of_finrank_lt_finrank {s : Submodule K V} (lt : finrank K s < finrank K V) : s < ⊤ :=
-  by
+theorem lt_top_of_finrank_lt_finrank {s : Submodule K V} (lt : finrank K s < finrank K V) :
+    s < ⊤ := by
   rw [← finrank_top K V] at lt
   exact lt_of_le_of_finrank_lt_finrank le_top lt
 #align submodule.lt_top_of_finrank_lt_finrank Submodule.lt_top_of_finrank_lt_finrank
chore: use etaExperiment rather than hacking with instances (#3668)

This is to fix timeouts in https://github.com/leanprover-community/mathlib4/pull/3552.

See discussion at https://leanprover.zulipchat.com/#narrow/stream/287929-mathlib4/topic/!4.233552.20.28LinearAlgebra.2EMatrix.2EToLin.29.

Co-authored-by: Scott Morrison <scott.morrison@gmail.com>

Diff
@@ -137,6 +137,7 @@ theorem finrank_eq_card_finset_basis {ι : Type w} {b : Finset ι} (h : Basis.{w
 
 variable (K)
 
+set_option synthInstance.etaExperiment true in
 /-- A ring satisfying `StrongRankCondition` (such as a `DivisionRing`) is one-dimensional as a
 module over itself. -/
 @[simp]
@@ -144,12 +145,14 @@ theorem finrank_self : finrank K K = 1 :=
   finrank_eq_of_rank_eq (by simp)
 #align finite_dimensional.finrank_self FiniteDimensional.finrank_self
 
+set_option synthInstance.etaExperiment true in
 /-- The vector space of functions on a `Fintype ι` has finrank equal to the cardinality of `ι`. -/
 @[simp]
 theorem finrank_fintype_fun_eq_card {ι : Type v} [Fintype ι] : finrank K (ι → K) = Fintype.card ι :=
   finrank_eq_of_rank_eq rank_fun'
 #align finite_dimensional.finrank_fintype_fun_eq_card FiniteDimensional.finrank_fintype_fun_eq_card
 
+set_option synthInstance.etaExperiment true in
 /-- The vector space of functions on `Fin n` has finrank equal to `n`. -/
 -- @[simp] -- Porting note: simp already proves this
 theorem finrank_fin_fun {n : ℕ} : finrank K (Fin n → K) = n := by simp
chore: forward port mathlib#18668, 18781, 18783, 18792, 18794 (#3410)

Co-authored-by: Parcly Taxel <reddeloostw@gmail.com> Co-authored-by: Eric Wieser <wieser.eric@gmail.com>

Diff
@@ -4,7 +4,7 @@ Released under Apache 2.0 license as described in the file LICENSE.
 Authors: Chris Hughes, Anne Baanen
 
 ! This file was ported from Lean 3 source module linear_algebra.finrank
-! leanprover-community/mathlib commit 8535b76e601f11868af3e612fbecb730998a5631
+! leanprover-community/mathlib commit 347636a7a80595d55bedf6e6fbd996a3c39da69a
 ! Please do not edit these lines, except to modify the commit id
 ! if you have ported upstream changes.
 -/
feat: port LinearAlgebra.Finrank (#3378)

Co-authored-by: Parcly Taxel <reddeloostw@gmail.com> Co-authored-by: ChrisHughes24 <chrishughes24@gmail.com> Co-authored-by: Pol_tta <65514131+Ruben-VandeVelde@users.noreply.github.com> Co-authored-by: EmilieUthaiwat <emiliepathum@gmail.com> Co-authored-by: Eric Wieser <wieser.eric@gmail.com> Co-authored-by: Yaël Dillies <yael.dillies@gmail.com> Co-authored-by: Jireh Loreaux <loreaujy@gmail.com> Co-authored-by: Gabriel Ebner <gebner@gebner.org> Co-authored-by: Violeta Hernández <vi.hdz.p@gmail.com> Co-authored-by: Chris Hughes <chrishughes24@gmail.com> Co-authored-by: Floris van Doorn <fpvdoorn@gmail.com> Co-authored-by: Eric Rodriguez <ericrboidi@gmail.com> Co-authored-by: Ruben Van de Velde <65514131+Ruben-VandeVelde@users.noreply.github.com> Co-authored-by: Scott Morrison <scott.morrison@gmail.com>

Dependencies 8 + 509

510 files ported (98.5%)
212574 lines ported (98.6%)
Show graph

The unported dependencies are