Check

Validation helpers for tensor computations.

gravica.check.zero(tensor, simplify_fn)

Check if all components of a rank-2 tensor are zero after simplification.

gravica.check.antisymmetry(tensor, simplify_fn)

Check \(T^a_{\ bcd} + T^a_{\ bdc} = 0\) for all index combinations of a rank-4 tensor.