# `ExGAM.Evidence.Derivation`
[🔗](https://github.com/elchemista/ex_gam/blob/0.1.0/lib/ex_gam/evidence/derivation.ex#L1)

Conservative lineage rules for derived or generated Evidence.

ExGAM cannot know which individual source influenced an output.  A value
produced from a context therefore inherits the union of every label in that
context.  This module only computes and verifies that lower bound; removing
a label remains a separately governed declassification Act.

# `conservative_labels`

```elixir
@spec conservative_labels([ExGAM.Evidence.t()], [ExGAM.Label.t() | map() | keyword()]) ::
  {:ok, [ExGAM.Label.t()]} | {:error, term()}
```

Adds optional stricter labels without permitting inherited labels to disappear.

# `inherited_labels`

```elixir
@spec inherited_labels([ExGAM.Evidence.t()]) ::
  {:ok, [ExGAM.Label.t()]} | {:error, term()}
```

Returns the stable union of labels carried by all supplied Evidence.

# `validate`

```elixir
@spec validate(ExGAM.Evidence.t(), [ExGAM.Evidence.t()]) :: :ok | {:error, term()}
```

Verifies exact parents and conservative labels for a derived/generated record.

---

*Consult [api-reference.md](api-reference.md) for complete listing*
