jacopy.packages.generalized.DDZeroDefinition

class jacopy.packages.generalized.DDZeroDefinition(alg)

Bases: CitedTheoremMixin, Definition

THEOREM-classified rule citing the proven Prop 2.1(ii) + Prop 2.2: ρ∘D = 0, hence (Da, Db) → 0 and ρ(D(a))(h) → 0.

A CITATION, not a definition: ρ∘D = 0 is Uchino’s theorem under [C2] + [C5] + (L) (a gradient D on a bare anchored bundle violates it). The rule fires only on a context declaring anchor-morphism ([C2]) and antisymmetric on which both propositions are proved; each step cites the combined record (_dd_zero_theorem()), whose requirements flow into the result.

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

anchor

the Expr class (or tuple of classes) this definition's LHS is rooted at.

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.1(ii)', note=''), 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 = (<class 'jacopy.central.algebroid.context.EMetric'>, <class 'jacopy.algebra.derivation.Act'>)

the Expr class (or tuple of classes) this definition’s LHS is rooted at. When set, the engine only consults the rule on nodes of that type (via an MRO-indexed lookup) instead of trying every rule at every node. None keeps the rule in the always-consulted fallback list.

Type:

Optional dispatch anchor

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