jacopy.packages.generalized.DDZeroDefinition¶
- class jacopy.packages.generalized.DDZeroDefinition(alg)¶
Bases:
CitedTheoremMixin,DefinitionTHEOREM-classified rule citing the proven Prop 2.1(ii) + Prop 2.2:
ρ∘D = 0, hence(Da, Db) → 0andρ(D(a))(h) → 0.A CITATION, not a definition:
ρ∘D = 0is Uchino’s theorem under [C2] + [C5] + (L) (a gradientDon a bare anchored bundle violates it). The rule fires only on a context declaringanchor-morphism([C2]) andantisymmetricon which both propositions are proved; each step cites the combined record (_dd_zero_theorem()), whose requirements flow into the result.- Parameters:
alg (Algebroid)
Methods
__init__(alg)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
the Expr class (or tuple of classes) this definition's LHS is rooted at.
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.role"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]").theoremThe cited
Theorem(Nonewhen it could not be proved on this structure — the rule then never matches).unverifiedExplicitly-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 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)
- 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.
Nonekeeps the rule in the always-consulted fallback list.- Type:
Optional dispatch anchor
- matches(expr)¶
True when
expris an instance of this definition’s LHS.