jacopy.packages.generalized.DPairingUnfoldDefinition

class jacopy.packages.generalized.DPairingUnfoldDefinition(alg)

Bases: CitedTheoremMixin, Definition

THEOREM-classified rule citing the proven Prop 2.2: (Df, u) → ½ρ(u)(f) (unfold direction). Registered only in engines that do NOT carry [C5], so the rewrite terminates (the produced action has no pairing argument left).

A CITATION, not a definition: Prop 2.2 holds only under [C5] + (L) on the LWX (skew) data. The rule fires only on a context that declares antisymmetric and on which prove_d_pairing_formula() succeeds; every step cites that theorem, so its declared requirements ([C5], (L), skew) flow into the result instead of it reading assumption-free.

Parameters:

alg (Algebroid)

__init__(alg)
Parameters:

alg (Algebroid)

Return type:

None

Methods

__init__(alg)

matches(expr)

True when expr is an instance of this definition's LHS.

rewrite(expr)

Return the RHS.

theorem_proof_builder()

Return a callable producing this definition's sub-proof, or None.

Attributes

identity

Structural IDENTITY of the rule: None by default — the rule is never deduplicated by identity and its key falls back to (class name, display name).

is_theorem

True when this definition carries a sub-proof builder.

key

identity when given, else (class name, display name).

name

owner

the algebroid of a declared axiom, the theorem's owner for a cited theorem, … None for structure-free rules.

role

"definition" — a definitional unfolding or a structural law (no assumption); "assumption" — a DECLARED axiom of a structure (the *Declaration rules), i.e. a hypothesis the proof depends on; "theorem" — a cited proven result.

source

a jacopy.bibliography.Citation — or a tuple of them — built with jacopy.bibliography.cite(), e.g. cite("Uchino2002", "Section 1, axiom [C5]").

theorem

The cited Theorem (None when it could not be proved on this structure — the rule then never matches).

unverified

Explicitly-unverified citation (a TheoremBook record marked unverified): its steps are classified as legacy assumptions.

source = Citation(key='Uchino2002', locator='Proposition 2.2', note='')

a jacopy.bibliography.Citation — or a tuple of them — built with jacopy.bibliography.cite(), e.g. cite("Uchino2002", "Section 1, axiom [C5]"). The engine copies it onto every ProofStep the rule produces and the display layer prints it; no matching, rewriting or classification reads it. None: the rule names no source.

Type:

Literature source of the rule (metadata only)

anchor

alias of EMetric

matches(expr)

True when expr is an instance of this definition’s LHS.

Parameters:

expr (Expr)

Return type:

bool

rewrite(expr)

Return the RHS. Caller guarantees matches(expr) is True.

Parameters:

expr (Expr)

Return type:

Expr