jacopy.packages.metric_affine.ConnectionForm¶
- class jacopy.packages.metric_affine.ConnectionForm(connection_name, frame_name, upper, lower)¶
Bases:
Atomω^a_b— the connection 1-form on a frame (degree 1), defined by its evaluationω^a_b(X) := ⟨e^a, ∇_X e_b⟩.- __init__(connection_name, frame_name, upper, lower)¶
Methods
__init__(connection_name, frame_name, upper, ...)clone()Return
self.find(predicate)Yield descendants (including self) satisfying
predicate.replace_at(path, new)Return a new tree with
newspliced atpath.substitute_atom(dummy, target)Return
selfwith every occurrence ofdummyreplaced bytarget.walk()Pre-order traversal yielding
selffollowed by descendants throughchildrenonly.Attributes
ω^a_b is a 1-form — one slot, so trivially alternating; its tensoriality (∇_{hX} = h∇_X) is certified separately in
modified.py.childrenTuple of immediate children.
connection_namedegreeframe_nameindex_namesis_atomlowerupper- alternating_values = True¶
ω^a_b is a 1-form — one slot, so trivially alternating; its tensoriality (∇_{hX} = h∇_X) is certified separately in
modified.py. Without it wedges of connection forms evaluated plain- multilinearly (completeness).- Type:
Alternation certificate (
admits_alternation)
- substitute_atom(dummy, target)¶
Return
selfwith every occurrence ofdummyreplaced bytarget.dummymust be anAtom. The default implementation does the obvious top-level match, then recurses throughchildren(). Atoms that hide a sub-atom inside a private slot (e.g. a frame vector field carrying aFrameIndex) override this method to expose that hidden state for substitution. Binders that introduce their own dummy (notablyIndexedSum) override to respect shadowing.