AlgebraicCurves.Foundations.CommutativeAlgebra.Proofs.IsFractionRing_exists_pow_mul_mem_colon_and_surjective_restrict_of_branchData.H3fColon.cond
The ideal of base-ring elements whose product with the specified element returns to the base ring.
Source context 5 commands
Surrounding namespaces, section variables, and local commands at this declaration.
section ProofImplementation
namespace AlgebraicCurves.Foundations.CommutativeAlgebra.Proofs
namespace IsFractionRing_exists_pow_mul_mem_colon_and_surjective_restrict_of_branchData
universe u v
namespace H3fColonLean source · full declaration
def cond {B : Type u} [CommRing B] {F : Type v} [CommRing F] [Algebra B F] (y : F) : Ideal B where
carrier := {b | ∃ c : B, algebraMap B F b * y = algebraMap B F c}
add_mem' := by
rintro a b ⟨c, hc⟩ ⟨d, hd⟩
exact ⟨c + d, by rw [map_add, add_mul, hc, hd, map_add]⟩
zero_mem' := ⟨0, by simp⟩
smul_mem' := by
rintro r a ⟨c, hc⟩
exact ⟨r * c, by rw [smul_eq_mul, map_mul, mul_assoc, hc, map_mul]⟩