diff --git a/Cubical/Algebra/CommAlgebra/FPAlgebra/Base.agda b/Cubical/Algebra/CommAlgebra/FPAlgebra/Base.agda index 229c8cb20a..322e06a5f9 100644 --- a/Cubical/Algebra/CommAlgebra/FPAlgebra/Base.agda +++ b/Cubical/Algebra/CommAlgebra/FPAlgebra/Base.agda @@ -51,7 +51,7 @@ module _ {R : CommRing ℓ} where evPolyHomomorphic A B f P values = (fst f) (evPoly A P values) ≡⟨ refl ⟩ (fst f) (fst (freeInducedHom A values) P) ≡⟨ refl ⟩ - fst (f ∘a freeInducedHom A values) P ≡⟨ cong (λ u → fst u P) (natIndHomR f values) ⟩ + fst (f ∘a freeInducedHom A values) P ≡⟨ cong (λ u → fst u P) (natIndHomR {A = A} {B = B} f values) ⟩ fst (freeInducedHom B (fst f ∘ values)) P ≡⟨ refl ⟩ evPoly B P (fst f ∘ values) ∎ where open AlgebraHoms diff --git a/Cubical/Algebra/CommAlgebra/FPAlgebra/Instances.agda b/Cubical/Algebra/CommAlgebra/FPAlgebra/Instances.agda index 26e21cad66..24319606d8 100644 --- a/Cubical/Algebra/CommAlgebra/FPAlgebra/Instances.agda +++ b/Cubical/Algebra/CommAlgebra/FPAlgebra/Instances.agda @@ -78,13 +78,13 @@ module _ (R : CommRing ℓ) where inverse1 : fromA ∘a toA ≡ idAlgebraHom _ inverse1 = fromA ∘a toA - ≡⟨ sym (unique _ _ _ _ _ _ (λ i → cong (fst fromA) ( + ≡⟨ sym (unique _ _ B _ _ _ (λ i → cong (fst fromA) ( fst toA (generator n emptyGen i) ≡⟨ inducedHomOnGenerators _ _ _ _ _ _ ⟩ Construction.var i ∎))) ⟩ inducedHom n emptyGen B (generator _ _) (relationsHold _ _) - ≡⟨ unique _ _ _ _ _ _ (λ i → refl) ⟩ + ≡⟨ unique _ _ B _ _ _ (λ i → refl) ⟩ idAlgebraHom _ ∎ inverse2 : toA ∘a fromA ≡ idAlgebraHom _