jacopy.packages.metric_affine.MetricInverseContractionDefinition¶
- class jacopy.packages.metric_affine.MetricInverseContractionDefinition¶
Bases:
DefinitionΣ_s g^{as}·g(e_s, e_c)·rest → δ^a_c·rest— the defining contraction of the inverse metric (rest must be free of the bound index).- __init__()¶
- Return type:
None
Methods
__init__()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
anchorthe 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.sourcea
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.- matches(expr)¶
True when
expris an instance of this definition’s LHS.