babylon.engine.dialectics.transformation
TransformationDialectic — Value → Price of Production (V3 Ch9-10).
The transformation problem: values produced in individual capitals diverge from the prices at which commodities actually exchange. The average rate of profit equalizes across sectors, so that equal capitals yield equal profits regardless of their organic composition.
price_of_production = cost_price × (1 + average_profit_rate)
This dialectic computes the economy-wide average profit rate from upstream production data and makes it available as an observation frame for CommodityDialectic (observation-relativity).
See also
babylon.engine.dialectics.surplus_distribution.SurplusDistributionDialectic
babylon.engine.dialectics.base.Dialectic: Generic base class.
Classes
|
Value → Price of Production transformation (V3 Ch9-10). |
|
Average profit rate computed from aggregate production data. |
- class babylon.engine.dialectics.transformation.TransformationDialectic(**data)[source]
Bases:
Dialectic[TransformationPole, EmptyPole]Value → Price of Production transformation (V3 Ch9-10).
This dialectic mediates between the V1 world of labor-values and the V3 world of production prices. It reads upstream production dialectics to compute the economy-wide average profit rate, then makes that rate available as an observation frame.
- Weight semantics:
weight < 0 → values dominate prices (low equalization). weight > 0 → prices of production fully equalized.
- observe() emits:
average_profit_rate: r̄ = Σs / Σ(c+v)
- Parameters:
- type_tag: str
- step(inputs, world)[source]
Motion law T: recompute average profit rate from upstream.
Reads aggregate c, v, s from upstream production dialectics and computes r̄ = Σs / Σ(c+v).
- Parameters:
inputs (
TickInputs) – Upstream outputs withrate_of_exploitationandocc.world (
WorldView) – Read-only world context.
- Return type:
- Returns:
New TransformationDialectic with updated profit rate.
- model_config: ClassVar[ConfigDict] = {'frozen': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- id: UUID
- pole_a: A
- pole_b: B
- weight: float
- parent_id: UUID | None
- tick_created: int
- tick_updated: int
- class babylon.engine.dialectics.transformation.TransformationPole(**data)[source]
Bases:
BaseModelAverage profit rate computed from aggregate production data.
- average_profit_rate
Economy-wide average rate of profit r̄. Computed as: total_surplus / total_cost_price across all sectors.
- model_config: ClassVar[ConfigDict] = {'frozen': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- average_profit_rate: float