| 1 |
------------------------------------------------------------------------ |
| 2 |
-- The Agda standard library |
| 3 |
-- |
| 4 |
-- Homomorphism proofs for constants over polynomials |
| 5 |
------------------------------------------------------------------------ |
| 6 |
|
| 7 |
{-# OPTIONS --cubical-compatible --safe #-} |
| 8 |
|
| 9 |
open import Tactic.RingSolver.Core.Polynomial.Parameters |
| 10 |
|
| 11 |
module Tactic.RingSolver.Core.Polynomial.Homomorphism.Constants |
| 12 |
{r₁ r₂ r₃ r₄} |
| 13 |
(homo : Homomorphism r₁ r₂ r₃ r₄) |
| 14 |
where |
| 15 |
|
| 16 |
open Homomorphism homo |
| 17 |
|
| 18 |
open import Data.Vec.Base using (Vec) |
| 19 |
|
| 20 |
open import Tactic.RingSolver.Core.Polynomial.Base (Homomorphism.from homo) |
| 21 |
open import Tactic.RingSolver.Core.Polynomial.Semantics homo |
| 22 |
|
| 23 |
κ-hom : ∀ {n} (x : Raw.Carrier) (Ρ : Vec Carrier n) → ⟦ κ x ⟧ Ρ ≈ ⟦ x ⟧ᵣ |
| 24 |
κ-hom x _ = refl |