jacopy.packages.generalized.DLeibnizDefinition¶
- class jacopy.packages.generalized.DLeibnizDefinition(alg, registry=None)¶
Bases:
Definition(L) — the ONLY assumed structure of
D:D(f·g) = f·D(g) + g·D(f)(both factors certainly scalar).Deliberately NOTHING else: no ℝ-linearity, no
D(c) = 0— the Uchino derivations use the bare (L) and this module tracks that assumption budget exactly.- Parameters:
alg (Algebroid)
registry (Optional[PropertyRegistry])
- __init__(alg, registry=None)¶
- Parameters:
alg (Algebroid)
registry (PropertyRegistry | None)
- Return type:
None
Methods
__init__(alg[, registry])matches(expr)True when
expris 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
identityStructural IDENTITY of the rule:
Noneby default — the rule is never deduplicated by identity and itskeyfalls back to(class name, display name).is_theoremTrue when this definition carries a sub-proof builder.
keyidentitywhen given, else(class name, display name).nameownerthe algebroid of a declared axiom, the theorem's owner for a cited theorem, …
Nonefor structure-free rules."definition"— a definitional unfolding or a structural law (no assumption);"assumption"— a DECLARED axiom of a structure (the*Declarationrules), i.e. a hypothesis the proof depends on;"theorem"— a cited proven result.a
jacopy.bibliography.Citation— or a tuple of them — built withjacopy.bibliography.cite(), e.g.cite("Uchino2002", "Section 1, axiom [C5]").unverifiedExplicitly-unverified citation (a TheoremBook record marked
unverified): its steps are classified as legacy assumptions.- role = 'assumption'¶
"definition"— a definitional unfolding or a structural law (no assumption);"assumption"— a DECLARED axiom of a structure (the*Declarationrules), i.e. a hypothesis the proof depends on;"theorem"— a cited proven result.ProofResult.from_chainreads it from the fired steps; a step whose rule recorded no role is kept as a LEGACY assumption, never dropped.- Type:
What the rule IS, logically
- source = Citation(key='Uchino2002', locator='Section 2, Leibniz rule (L)', note='')¶
a
jacopy.bibliography.Citation— or a tuple of them — built withjacopy.bibliography.cite(), e.g.cite("Uchino2002", "Section 1, axiom [C5]"). The engine copies it onto everyProofStepthe 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)
- matches(expr)¶
True when
expris an instance of this definition’s LHS.