pyphi.models.distinctions#

Distinctions — a collection of distinctions.

In the terminology of Albantakis et al. (2023), the cause-effect structure of any candidate system is distinctions + relations — that compound object is CauseEffectStructure. This module holds just the bag-of-distinctions side.

The collection comes in two concrete subtypes that encode whether ties on the per-distinction specified states have been disambiguated:

  • UnresolvedDistinctions — the default form returned by raw computation. Per-distinction specified states may still be tied, and no SIA-level system_state has been used to pick among them.

  • ResolvedDistinctions — the form after UnresolvedDistinctions.resolve_congruence() has filtered each distinction’s tied states down to the ones congruent with a SIA system_state. Functions like pyphi.relations.relations() and CauseEffectStructure accept only this subtype, so passing unresolved distinctions is a static type error.

The base Distinctions class is abstract — instantiation must choose a subtype. The distinctions computation emits UnresolvedDistinctions and resolves them via the SIA’s system_state later in the pipeline.

Notes

For results computed under an earlier version of IIT (see Reproduce results from earlier versions of IIT): IIT 3.0 calls distinctions concepts and has no per-distinction ties, so its computation emits ResolvedDistinctions directly (vacuously resolved).

Functions

defaultdict_set()

distinction_table_row(d)

Display-table row for a distinction: mechanism, φ_d, cause/effect purviews.

Classes

Distinctions([distinctions])

Base class for a collection of distinctions.

ResolvedDistinctions([distinctions])

Distinctions whose tied states have been disambiguated.

UnresolvedDistinctions([distinctions])

Distinctions whose per-distinction tied states have not been disambiguated.