"use strict";Object.defineProperty(exports, "__esModule", {value: true});

var _chunkSQA7G4TEjs = require('./chunk-SQA7G4TE.js');


var _chunk6C3VEZWHjs = require('./chunk-6C3VEZWH.js');

// src/Ring.ts
var Ring_exports = {};
_chunk6C3VEZWHjs.__export.call(void 0, Ring_exports, {
  getFunctionRing: () => getFunctionRing,
  getTupleRing: () => getTupleRing,
  negate: () => negate,
  tuple: () => tuple
});
var tuple = (...rings) => ({
  add: (x, y) => rings.map((R, i) => R.add(x[i], y[i])),
  zero: rings.map((R) => R.zero),
  mul: (x, y) => rings.map((R, i) => R.mul(x[i], y[i])),
  one: rings.map((R) => R.one),
  sub: (x, y) => rings.map((R, i) => R.sub(x[i], y[i]))
});
var negate = (R) => (a) => R.sub(R.zero, a);
var getTupleRing = tuple;
var getFunctionRing = _chunkSQA7G4TEjs.getRing;







exports.tuple = tuple; exports.negate = negate; exports.getTupleRing = getTupleRing; exports.getFunctionRing = getFunctionRing; exports.Ring_exports = Ring_exports;
