11 | %hide Data.Container.Base.Morphism.Definition.DependentLenses.(=%>)
12 | %hide Syntax.WithProof.prefix.(@@)
14 | -- This is here and not in Container.Additive because it uses `Tensor`
89 | ||| Produces a parametric map that produces `n` copies of the output, instead
90 | ||| of one, by using `n` different parameters
127 | ||| Produces a parametric map that produces `n` copies of the output, instead
128 | ||| of one, by using `n` different parameters
212 | -- ||| N-ary probability intro and elimination
213 | -- NProbIntro : {ef : EffectType} ->
214 | -- {i : Nat} -> IsSucc i =>
215 | -- {ts : Vect i Ty} ->
216 | -- All (\t => Term ef ctx t) ts -> -- for now all the components need to run with the same effect
217 | -- -- Treating probability as logits
218 | -- Vect i (Term ef ctx Number) ->
219 | -- Term Prob ctx (NProb ts)
220 | -- NProbElim : {ef : EffectType} ->
221 | -- {i : Nat} -> IsSucc i =>
222 | -- {ts : Vect i Ty} ->
223 | -- Term ef ctx (NProb ts) ->
224 | -- All (\e => Term ef (e :: ctx) c) ts -> Term Prob ctx c