[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M793C2C266W5YQJHK21J3YXK":3,"skill-same:01M793C2C266W5YQJHK21J3YXK":67},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":18,"linkOnly":19,"markdownContent":20,"markdownBody":21,"frontMatter":22,"refName":27,"commitSha":28,"skillDirectory":29,"forksCount":30,"repositoryHtmlUrl":31,"repositoryHomepageUrl":6,"ownerHtmlUrl":32,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":33,"install":34,"resources":46},"01M793C2C266W5YQJHK21J3YXK","lie-tensor",null,"Use for PyPose LieTensor and manifold computation: choose SO3, SE3, Sim3, or RxSO3 group\u002Falgebra representations; construct, batch, convert, compose, act, retract, differentiate, and diagnose their operations.","VectorSpaceLab\u002FAREX-Skill","VectorSpaceLab","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F180637102?v=4","01M7538C5WPSJGWF7KHR4EFZ9F","01M7538C6R2GFP53NPXTCZNBRT",351,"Apache-2.0","https:\u002F\u002Fgithub.com\u002FVectorSpaceLab\u002FAREX-Skill\u002Fblob\u002Fmain\u002Fskills\u002Frepositories\u002Frepo-skills\u002Fpypose\u002Fsub-skills\u002Flie-tensor\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: lie-tensor\ndescription: \"Use for PyPose LieTensor and manifold computation: choose SO3,\n  SE3, Sim3, or RxSO3 group\u002Falgebra representations; construct, batch, convert,\n  compose, act, retract, differentiate, and diagnose their operations.\"\ndisable-model-invocation: true\nmetadata:\n  disco-role: operating\nlicense: Apache 2.0\n---\n\n# PyPose LieTensor\n\nUse this skill when a task needs differentiable 3D transformation or tangent-space\nmath with PyPose: rotations, rigid poses, similarity transforms, scaled rotations,\nLie algebra perturbations, coordinate conversions, manifold batching, or gradients.\nStart by deciding whether each value is a **group** element (a transform that can\ncompose and act on points) or an **algebra** element (a local\u002Ftangent vector that\ncan be exponentiated).\n\nThis skill is intentionally limited to the LieTensor surface. Route second-order\noptimizer orchestration, GN\u002FLM\u002Fsolver\u002Fscheduler\u002Fkernel workflows to\n`optimization`; route EKF\u002FUKF\u002FPF, dynamics, controls, IMU, EPnP, and ICP to\n`robotics-modules`; route projection, splines, filtering\u002Fdownsampling, trajectory\nmetrics, and evaluation to `geometry-evaluation`.\n\n## Operating contract\n\n- Import with `import torch` and `import pypose as pp`.\n- Keep the final dimension as the representation embedding dimension and use\n  `lshape` for the batch\u002Fitem shape.\n- Use the matching group and algebra type; do not infer an algebra from an\n  ordinary tensor after `.tensor()` has removed its `ltype`.\n- Keep inputs on one device and in one floating dtype before calling manifold\n  operations. Use the bundled `scripts\u002Flietensor_smoke.py` for a small, deterministic\n  sanity check before a larger experiment.\n- Treat a raw constructor as a typed view of supplied data, not as a validation\n  or optimization recipe. Prefer `identity_*`, `randn_*`, or `Exp` for values with\n  known manifold semantics.\n\n## Representation and shape rules\n\nA LieTensor has ordinary `shape == lshape + (embedding_dimension,)`. Its\n`ltype` carries the embedding dimension (storage), the manifold dimension (local\ncoordinates), and whether it is a group or algebra. For example, a batch of\n`N x M` SE(3) items has `lshape == (N, M)` and `shape == (N, M, 7)`.\n`lview(*new_lshape)` changes only the hidden batch shape and retains the type;\nordinary `view` exposes the final representation dimension.\n\n| Object | Kind | Stored final coordinates | Embedding | Manifold\u002Falgebra dimension |\n|---|---|---|---:|---:|\n| `SO3` \u002F `SO3_type` | group | `[qx, qy, qz, qw]` unit quaternion | 4 | 3 |\n| `so3` \u002F `so3_type` | algebra | axis-angle `[phi_x, phi_y, phi_z]` | 3 | 3 |\n| `SE3` \u002F `SE3_type` | group | `[tx, ty, tz, qx, qy, qz, qw]` | 7 | 6 |\n| `se3` \u002F `se3_type` | algebra | `[tau_x, tau_y, tau_z, phi_x, phi_y, phi_z]` | 6 | 6 |\n| `Sim3` \u002F `Sim3_type` | group | `[tx, ty, tz, qx, qy, qz, qw, s]` | 8 | 7 |\n| `sim3` \u002F `sim3_type` | algebra | `[tau_x, tau_y, tau_z, phi_x, phi_y, phi_z, sigma]` | 7 | 7 |\n| `RxSO3` \u002F `RxSO3_type` | group | `[qx, qy, qz, qw, s]` | 5 | 4 |\n| `rxso3` \u002F `rxso3_type` | algebra | `[phi_x, phi_y, phi_z, sigma]` | 4 | 4 |\n\nFor group types, quaternions are stored in `xyzw` order. `se3` and `sim3`\ntranslation coordinates are Lie-algebra coordinates: `Exp` applies the relevant\nleft Jacobian (or Sim(3) W matrix) before producing group translation. For\n`rxso3` and `sim3`, the final algebra scale coordinate is log-scale and the group\nscale is positive after `Exp` (`s = exp(sigma)`). Sim(3) matrices follow\n`[s R, t; 0, 1]`, not the alternate convention with `1\u002Fs` in the last entry.\n\n## Core API\n\n### Construct, identify, and sample\n\nUse either the explicit constructor or the aliases:\n\n```python\nx = pp.LieTensor(data, ltype=pp.se3_type)  # exact typed construction\nx = pp.se3(data)                            # preferred algebra alias\nX = pp.SE3(data)                            # preferred group alias\nI = pp.identity_SE3(2, 3, dtype=torch.float64, device=device)\nz = pp.randn_so3(4, requires_grad=True, dtype=dtype, device=device)\nZ = pp.randn_SE3(4, dtype=dtype, device=device)\nI_like = pp.identity_like(Z)\nZ_like = pp.randn_like(Z)\n```\n\nThe `*lsize` arguments describe `lshape`, not the final embedding. Thus\n`pp.identity_SE3(2, 3)` has shape `(2, 3, 7)`, while a single identity has\nshape `(7,)`. Explicit `SO3`\u002F`SE3`\u002F`Sim3`\u002F`RxSO3` data should already have a\nfinal dimension of 4\u002F7\u002F8\u002F5. Explicit algebra data should have 3\u002F6\u002F7\u002F4.\n\n### Maps and group operations\n\n- `a.Exp()` or `pp.Exp(a)` maps algebra to the corresponding group and changes\n  final dimension (3→4, 6→7, 7→8, 4→5).\n- `X.Log()` or `pp.Log(X)` maps group to algebra and reverses that dimension.\n  The operation is differentiable and uses stable small-angle branches.\n- `X.Inv()` or `pp.Inv(X)` computes a group inverse. `a.Inv()` is the convenient\n  algebra negation, not a group-theoretic inverse.\n- `X @ Y` or `pp.Mul(X, Y)` composes two matching group types. `X * Y` is also\n  supported for matching group LieTensors. Algebra `a * scalar` is elementwise\n  tangent scaling; do not use group `*` as a substitute for a scalar update.\n- `X @ p`, `X.Act(p)`, or `pp.Act(X, p)` acts on a tensor whose final coordinate\n  dimension is 3 (Euclidean point) or 4 (homogeneous point). A 4-vector keeps\n  its homogeneous final coordinate. Batch dimensions broadcast, so one transform\n  can act on many points or many transforms can act on one point.\n- `X.Retr(a)` \u002F `pp.Retr(X, a)` returns `a.Exp() @ X` and requires a group `X`\n  with its corresponding algebra direction `a`.\n- `X.Adj(a)` transports a matching tangent vector and satisfies\n  `X @ a.Exp() == X.Adj(a).Exp() @ X` (up to numerical tolerance).\n  `X.AdjT(a)` satisfies `a.Exp() @ X == X @ X.AdjT(a).Exp()`.\n- `X.Jinvp(a)` applies the inverse left Jacobian to a matching algebra vector.\n  It is useful for local\u002FBCH-style tangent calculations; it is not a generic\n  matrix inverse. In the inspected release, `Jr()` is implemented for `so3` and\n  `SO3` and returns their right-Jacobian matrix; verify availability before\n  requesting it on the other Lie types.\n- `pp.add(X, delta)` \u002F `X + delta` is a left tangent perturbation for a group;\n  for an algebra it is ordinary addition. The group's embedded storage is wider\n  than its tangent dimension, so the unused tail of a group perturbation is\n  ignored by the manifold update.\n\nUse `@` for group composition and point action when the operand type makes the\nintent clear; use `.Act()` when an explicit point-action call improves readability.\nGroup-group composition requires matching Lie types; convert explicitly rather\nthan relying on a raw tensor or an accidental quaternion\u002Fscale layout.\n\n### Conversions and views\n\n- `.tensor()` \u002F `pp.tensor(X)` returns the underlying ordinary tensor and removes\n  LieTensor semantics. Re-wrap it with the correct alias or `LieTensor(...,\n  ltype=...)` before calling manifold methods.\n- `.matrix()` \u002F `pp.matrix(X)` returns a batched matrix. SO3\u002Fso3 use `(*, 3, 3)`;\n  SE3\u002Fse3, Sim3\u002Fsim3, and RxSO3\u002Frxso3 use `(*, 4, 4)`. For algebra inputs,\n  `matrix()` exponentiates first.\n- `.translation()`, `.rotation()`, and `.scale()` return the corresponding\n  parts while preserving batch shape. Translation has final size 3, rotation is\n  an SO3 LieTensor with final size 4, and scale has final size 1. Types without\n  a part return a documented neutral value: zero translation for SO3\u002FRxSO3 and\n  unit scale for SO3\u002FSE3.\n- `.euler()` returns roll, pitch, yaw in radians using x-y-z order. Euler angles\n  are not unique and are singular near gimbal lock; use the rotation\u002Fgroup\n  representation for stable storage.\n- `pp.euler2SO3(euler)` maps `(*, 3)` roll\u002Fpitch\u002Fyaw to `(*, 4)` SO3. `pp.quat2unit`\n  normalizes a group quaternion and rejects an all-zero quaternion.\n- `pp.mat2SE3(mat, check=True, rtol=1e-5, atol=1e-5)` accepts `(*,3,3)`,\n  `(*,3,4)`, or `(*,4,4)`, takes the top-left rotation and the translation\n  column when present, and returns `(*,7)` SE3. The related `mat2SO3`,\n  `mat2Sim3`, `mat2RxSO3`, and `from_matrix(mat, ltype=...)` select other group\n  types. Keep `check=True` for untrusted matrices; `check=False` only when the\n  upstream invariant has already been established. A noncanonical last row in\n  a 4x4 input is warned about, not used to compute the pose.\n- `pp.vec2skew(v)` maps `(*,3)` to `(*,3,3)`. `pp.is_lietensor` and\n  `pp.is_SE3` are checks for typed objects; call them only after establishing\n  that the value is a LieTensor.\n\n## Autograd, parameters, dtype, and device\n\nAll ordinary PyTorch tensor attributes and autograd operations are supported.\nCreate differentiable leaves with `requires_grad=True` in a factory or typed\nalgebra tensor, then call `backward()` on a scalar loss. The gradient of a group\nis represented in its embedding storage; tangent updates use the corresponding\nmanifold coordinates rather than treating quaternion storage as four independent\nrotation degrees of freedom.\n\n`pp.Parameter(data=None, requires_grad=True, sjac=False)` is a PyTorch parameter\nwrapper. If `data` is a LieTensor, it retains its `ltype`; if `data` is a regular\nTensor, it is an ordinary `nn.Parameter`. `sjac=True` is only for sparse Jacobian\ntracing and requires the optional backend; route sparse GN\u002FLM construction to\n`optimization` instead of implementing optimizer orchestration here. A LieTensor\nparameter can still be used in a normal differentiable module without `sjac`.\n\nSelect one floating dtype and device for all related values:\n\n```python\ndevice = torch.device(\"cuda\" if torch.cuda.is_available() else \"cpu\")\ndtype = torch.float64\nxi_data = torch.tensor([0.1, -0.2, 0.05, 0.02, 0.03, -0.01],\n                       device=device, dtype=dtype, requires_grad=True)\nxi = pp.se3(xi_data)\nX = xi.Exp()\npoints = torch.randn(8, 3, device=device, dtype=dtype)\nloss = X.Act(points).square().mean()\nloss.backward()  # xi_data is the differentiable leaf\n```\n\nFactories accept PyTorch `dtype`, `device`, `requires_grad`, and generator-like\narguments. CUDA LieTensor operations are supported when the installed PyTorch\nbuild and device support them; the bundled smoke defaults to CPU and exits with\na clear error if an explicitly requested device is unavailable. Avoid mixing CPU\nand CUDA operands or float32 and float64 operands in one operation. Float16 on\nCPU and near-singular conversions are not general-purpose validation targets.\n\nAvoid in-place writes on leaves or tensors needed by autograd. For identity\nupdates use `identity_()` only on a safe mutable buffer. For repeated or batched\noperations prefer non-in-place `cumprod`, `cummul`, or `cumops`; their `_`\nvariants mutate the input. `torch.cat`, `stack`, `split`, indexing, `to`, `view`,\n`reshape`, and `lview` preserve LieTensor type where PyPose supports the operation,\nbut inspect `isinstance(out, pp.LieTensor)` and `out.ltype` after unfamiliar\nPyTorch transforms.\n\n## Verification checklist\n\nBefore handing a LieTensor workflow to a downstream task:\n\n1. Assert the selected final representation dimension and `lshape`; check that\n   group\u002Falgebra types are paired (`SE3` with `se3`, etc.).\n2. Run `Log(Exp(a))` or `Exp(Log(X))` on a small, non-singular, deterministic\n   fixture. Compare typed tensor values with a tolerance appropriate to dtype.\n3. Check composition\u002Finverse with the identity and, when relevant, check the\n   adjoint identity stated above.\n4. Check point action with both a broadcast Euclidean point and a homogeneous\n   point if the workflow uses both. Verify the output's final dimension.\n5. Check matrix conversion with `mat2SE3(..., check=True)` or the matching\n   converter and verify rotation orthogonality\u002Fdeterminant and translation.\n6. Backpropagate a scalar point-action or map loss and assert finite, expected\n   gradient shapes. If using `Parameter`, assert it remains a typed LieTensor.\n7. Repeat the smallest check on the requested dtype\u002Fdevice; do not claim CUDA\n   or optional sparse support from a CPU-only run.\n\nRun the bundled `scripts\u002Flietensor_smoke.py --help` through the resolved skill\npath from the skill root or any other working directory. The helper has no\nnetwork, file-write, random-data, or optimizer dependency.\n\n## Evidence boundary and routing\n\nThis skill captures the public PyPose LieTensor API, typed representations,\nconversion rules, differentiable operations, and safe synthetic checks. It does\nnot prescribe optimizer loops, sparse backend setup, robot-state module\ncomposition, projection\u002Ftrajectory metrics, spline fitting, or evaluation\nprotocols. Those tasks belong to the sibling ids named at the top of this file.\n","# PyPose LieTensor\n\nUse this skill when a task needs differentiable 3D transformation or tangent-space\nmath with PyPose: rotations, rigid poses, similarity transforms, scaled rotations,\nLie algebra perturbations, coordinate conversions, manifold batching, or gradients.\nStart by deciding whether each value is a **group** element (a transform that can\ncompose and act on points) or an **algebra** element (a local\u002Ftangent vector that\ncan be exponentiated).\n\nThis skill is intentionally limited to the LieTensor surface. Route second-order\noptimizer orchestration, GN\u002FLM\u002Fsolver\u002Fscheduler\u002Fkernel workflows to\n`optimization`; route EKF\u002FUKF\u002FPF, dynamics, controls, IMU, EPnP, and ICP to\n`robotics-modules`; route projection, splines, filtering\u002Fdownsampling, trajectory\nmetrics, and evaluation to `geometry-evaluation`.\n\n## Operating contract\n\n- Import with `import torch` and `import pypose as pp`.\n- Keep the final dimension as the representation embedding dimension and use\n  `lshape` for the batch\u002Fitem shape.\n- Use the matching group and algebra type; do not infer an algebra from an\n  ordinary tensor after `.tensor()` has removed its `ltype`.\n- Keep inputs on one device and in one floating dtype before calling manifold\n  operations. Use the bundled `scripts\u002Flietensor_smoke.py` for a small, deterministic\n  sanity check before a larger experiment.\n- Treat a raw constructor as a typed view of supplied data, not as a validation\n  or optimization recipe. Prefer `identity_*`, `randn_*`, or `Exp` for values with\n  known manifold semantics.\n\n## Representation and shape rules\n\nA LieTensor has ordinary `shape == lshape + (embedding_dimension,)`. Its\n`ltype` carries the embedding dimension (storage), the manifold dimension (local\ncoordinates), and whether it is a group or algebra. For example, a batch of\n`N x M` SE(3) items has `lshape == (N, M)` and `shape == (N, M, 7)`.\n`lview(*new_lshape)` changes only the hidden batch shape and retains the type;\nordinary `view` exposes the final representation dimension.\n\n| Object | Kind | Stored final coordinates | Embedding | Manifold\u002Falgebra dimension |\n|---|---|---|---:|---:|\n| `SO3` \u002F `SO3_type` | group | `[qx, qy, qz, qw]` unit quaternion | 4 | 3 |\n| `so3` \u002F `so3_type` | algebra | axis-angle `[phi_x, phi_y, phi_z]` | 3 | 3 |\n| `SE3` \u002F `SE3_type` | group | `[tx, ty, tz, qx, qy, qz, qw]` | 7 | 6 |\n| `se3` \u002F `se3_type` | algebra | `[tau_x, tau_y, tau_z, phi_x, phi_y, phi_z]` | 6 | 6 |\n| `Sim3` \u002F `Sim3_type` | group | `[tx, ty, tz, qx, qy, qz, qw, s]` | 8 | 7 |\n| `sim3` \u002F `sim3_type` | algebra | `[tau_x, tau_y, tau_z, phi_x, phi_y, phi_z, sigma]` | 7 | 7 |\n| `RxSO3` \u002F `RxSO3_type` | group | `[qx, qy, qz, qw, s]` | 5 | 4 |\n| `rxso3` \u002F `rxso3_type` | algebra | `[phi_x, phi_y, phi_z, sigma]` | 4 | 4 |\n\nFor group types, quaternions are stored in `xyzw` order. `se3` and `sim3`\ntranslation coordinates are Lie-algebra coordinates: `Exp` applies the relevant\nleft Jacobian (or Sim(3) W matrix) before producing group translation. For\n`rxso3` and `sim3`, the final algebra scale coordinate is log-scale and the group\nscale is positive after `Exp` (`s = exp(sigma)`). Sim(3) matrices follow\n`[s R, t; 0, 1]`, not the alternate convention with `1\u002Fs` in the last entry.\n\n## Core API\n\n### Construct, identify, and sample\n\nUse either the explicit constructor or the aliases:\n\n```python\nx = pp.LieTensor(data, ltype=pp.se3_type)  # exact typed construction\nx = pp.se3(data)                            # preferred algebra alias\nX = pp.SE3(data)                            # preferred group alias\nI = pp.identity_SE3(2, 3, dtype=torch.float64, device=device)\nz = pp.randn_so3(4, requires_grad=True, dtype=dtype, device=device)\nZ = pp.randn_SE3(4, dtype=dtype, device=device)\nI_like = pp.identity_like(Z)\nZ_like = pp.randn_like(Z)\n```\n\nThe `*lsize` arguments describe `lshape`, not the final embedding. Thus\n`pp.identity_SE3(2, 3)` has shape `(2, 3, 7)`, while a single identity has\nshape `(7,)`. Explicit `SO3`\u002F`SE3`\u002F`Sim3`\u002F`RxSO3` data should already have a\nfinal dimension of 4\u002F7\u002F8\u002F5. Explicit algebra data should have 3\u002F6\u002F7\u002F4.\n\n### Maps and group operations\n\n- `a.Exp()` or `pp.Exp(a)` maps algebra to the corresponding group and changes\n  final dimension (3→4, 6→7, 7→8, 4→5).\n- `X.Log()` or `pp.Log(X)` maps group to algebra and reverses that dimension.\n  The operation is differentiable and uses stable small-angle branches.\n- `X.Inv()` or `pp.Inv(X)` computes a group inverse. `a.Inv()` is the convenient\n  algebra negation, not a group-theoretic inverse.\n- `X @ Y` or `pp.Mul(X, Y)` composes two matching group types. `X * Y` is also\n  supported for matching group LieTensors. Algebra `a * scalar` is elementwise\n  tangent scaling; do not use group `*` as a substitute for a scalar update.\n- `X @ p`, `X.Act(p)`, or `pp.Act(X, p)` acts on a tensor whose final coordinate\n  dimension is 3 (Euclidean point) or 4 (homogeneous point). A 4-vector keeps\n  its homogeneous final coordinate. Batch dimensions broadcast, so one transform\n  can act on many points or many transforms can act on one point.\n- `X.Retr(a)` \u002F `pp.Retr(X, a)` returns `a.Exp() @ X` and requires a group `X`\n  with its corresponding algebra direction `a`.\n- `X.Adj(a)` transports a matching tangent vector and satisfies\n  `X @ a.Exp() == X.Adj(a).Exp() @ X` (up to numerical tolerance).\n  `X.AdjT(a)` satisfies `a.Exp() @ X == X @ X.AdjT(a).Exp()`.\n- `X.Jinvp(a)` applies the inverse left Jacobian to a matching algebra vector.\n  It is useful for local\u002FBCH-style tangent calculations; it is not a generic\n  matrix inverse. In the inspected release, `Jr()` is implemented for `so3` and\n  `SO3` and returns their right-Jacobian matrix; verify availability before\n  requesting it on the other Lie types.\n- `pp.add(X, delta)` \u002F `X + delta` is a left tangent perturbation for a group;\n  for an algebra it is ordinary addition. The group's embedded storage is wider\n  than its tangent dimension, so the unused tail of a group perturbation is\n  ignored by the manifold update.\n\nUse `@` for group composition and point action when the operand type makes the\nintent clear; use `.Act()` when an explicit point-action call improves readability.\nGroup-group composition requires matching Lie types; convert explicitly rather\nthan relying on a raw tensor or an accidental quaternion\u002Fscale layout.\n\n### Conversions and views\n\n- `.tensor()` \u002F `pp.tensor(X)` returns the underlying ordinary tensor and removes\n  LieTensor semantics. Re-wrap it with the correct alias or `LieTensor(...,\n  ltype=...)` before calling manifold methods.\n- `.matrix()` \u002F `pp.matrix(X)` returns a batched matrix. SO3\u002Fso3 use `(*, 3, 3)`;\n  SE3\u002Fse3, Sim3\u002Fsim3, and RxSO3\u002Frxso3 use `(*, 4, 4)`. For algebra inputs,\n  `matrix()` exponentiates first.\n- `.translation()`, `.rotation()`, and `.scale()` return the corresponding\n  parts while preserving batch shape. Translation has final size 3, rotation is\n  an SO3 LieTensor with final size 4, and scale has final size 1. Types without\n  a part return a documented neutral value: zero translation for SO3\u002FRxSO3 and\n  unit scale for SO3\u002FSE3.\n- `.euler()` returns roll, pitch, yaw in radians using x-y-z order. Euler angles\n  are not unique and are singular near gimbal lock; use the rotation\u002Fgroup\n  representation for stable storage.\n- `pp.euler2SO3(euler)` maps `(*, 3)` roll\u002Fpitch\u002Fyaw to `(*, 4)` SO3. `pp.quat2unit`\n  normalizes a group quaternion and rejects an all-zero quaternion.\n- `pp.mat2SE3(mat, check=True, rtol=1e-5, atol=1e-5)` accepts `(*,3,3)`,\n  `(*,3,4)`, or `(*,4,4)`, takes the top-left rotation and the translation\n  column when present, and returns `(*,7)` SE3. The related `mat2SO3`,\n  `mat2Sim3`, `mat2RxSO3`, and `from_matrix(mat, ltype=...)` select other group\n  types. Keep `check=True` for untrusted matrices; `check=False` only when the\n  upstream invariant has already been established. A noncanonical last row in\n  a 4x4 input is warned about, not used to compute the pose.\n- `pp.vec2skew(v)` maps `(*,3)` to `(*,3,3)`. `pp.is_lietensor` and\n  `pp.is_SE3` are checks for typed objects; call them only after establishing\n  that the value is a LieTensor.\n\n## Autograd, parameters, dtype, and device\n\nAll ordinary PyTorch tensor attributes and autograd operations are supported.\nCreate differentiable leaves with `requires_grad=True` in a factory or typed\nalgebra tensor, then call `backward()` on a scalar loss. The gradient of a group\nis represented in its embedding storage; tangent updates use the corresponding\nmanifold coordinates rather than treating quaternion storage as four independent\nrotation degrees of freedom.\n\n`pp.Parameter(data=None, requires_grad=True, sjac=False)` is a PyTorch parameter\nwrapper. If `data` is a LieTensor, it retains its `ltype`; if `data` is a regular\nTensor, it is an ordinary `nn.Parameter`. `sjac=True` is only for sparse Jacobian\ntracing and requires the optional backend; route sparse GN\u002FLM construction to\n`optimization` instead of implementing optimizer orchestration here. A LieTensor\nparameter can still be used in a normal differentiable module without `sjac`.\n\nSelect one floating dtype and device for all related values:\n\n```python\ndevice = torch.device(\"cuda\" if torch.cuda.is_available() else \"cpu\")\ndtype = torch.float64\nxi_data = torch.tensor([0.1, -0.2, 0.05, 0.02, 0.03, -0.01],\n                       device=device, dtype=dtype, requires_grad=True)\nxi = pp.se3(xi_data)\nX = xi.Exp()\npoints = torch.randn(8, 3, device=device, dtype=dtype)\nloss = X.Act(points).square().mean()\nloss.backward()  # xi_data is the differentiable leaf\n```\n\nFactories accept PyTorch `dtype`, `device`, `requires_grad`, and generator-like\narguments. CUDA LieTensor operations are supported when the installed PyTorch\nbuild and device support them; the bundled smoke defaults to CPU and exits with\na clear error if an explicitly requested device is unavailable. Avoid mixing CPU\nand CUDA operands or float32 and float64 operands in one operation. Float16 on\nCPU and near-singular conversions are not general-purpose validation targets.\n\nAvoid in-place writes on leaves or tensors needed by autograd. For identity\nupdates use `identity_()` only on a safe mutable buffer. For repeated or batched\noperations prefer non-in-place `cumprod`, `cummul`, or `cumops`; their `_`\nvariants mutate the input. `torch.cat`, `stack`, `split`, indexing, `to`, `view`,\n`reshape`, and `lview` preserve LieTensor type where PyPose supports the operation,\nbut inspect `isinstance(out, pp.LieTensor)` and `out.ltype` after unfamiliar\nPyTorch transforms.\n\n## Verification checklist\n\nBefore handing a LieTensor workflow to a downstream task:\n\n1. Assert the selected final representation dimension and `lshape`; check that\n   group\u002Falgebra types are paired (`SE3` with `se3`, etc.).\n2. Run `Log(Exp(a))` or `Exp(Log(X))` on a small, non-singular, deterministic\n   fixture. Compare typed tensor values with a tolerance appropriate to dtype.\n3. Check composition\u002Finverse with the identity and, when relevant, check the\n   adjoint identity stated above.\n4. Check point action with both a broadcast Euclidean point and a homogeneous\n   point if the workflow uses both. Verify the output's final dimension.\n5. Check matrix conversion with `mat2SE3(..., check=True)` or the matching\n   converter and verify rotation orthogonality\u002Fdeterminant and translation.\n6. Backpropagate a scalar point-action or map loss and assert finite, expected\n   gradient shapes. If using `Parameter`, assert it remains a typed LieTensor.\n7. Repeat the smallest check on the requested dtype\u002Fdevice; do not claim CUDA\n   or optional sparse support from a CPU-only run.\n\nRun the bundled `scripts\u002Flietensor_smoke.py --help` through the resolved skill\npath from the skill root or any other working directory. The helper has no\nnetwork, file-write, random-data, or optimizer dependency.\n\n## Evidence boundary and routing\n\nThis skill captures the public PyPose LieTensor API, typed representations,\nconversion rules, differentiable operations, and safe synthetic checks. It does\nnot prescribe optimizer loops, sparse backend setup, robot-state module\ncomposition, projection\u002Ftrajectory metrics, spline fitting, or evaluation\nprotocols. Those tasks belong to the sibling ids named at the top of this file.\n",{"name":5,"license":23,"metadata":24,"description":7,"disable-model-invocation":26},"Apache 2.0",{"disco-role":25},"operating",true,"main","ac3fe1afa80fb9a09775ecfb2b6cc3ba850a2db6","skills\u002Frepositories\u002Frepo-skills\u002Fpypose\u002Fsub-skills\u002Flie-tensor",27,"https:\u002F\u002Fgithub.com\u002FVectorSpaceLab\u002FAREX-Skill","https:\u002F\u002Fgithub.com\u002FVectorSpaceLab","2026-09-03 10:25:21",{"source":8,"skillName":5,"commands":35,"prompt":45,"zipAvailable":26},[36,39,42],{"tool":37,"command":38},"npx","npx skills add VectorSpaceLab\u002FAREX-Skill --skill lie-tensor",{"tool":40,"command":41},"bunx","bunx skills add VectorSpaceLab\u002FAREX-Skill --skill lie-tensor",{"tool":43,"command":44},"pnpm","pnpm dlx skills add VectorSpaceLab\u002FAREX-Skill --skill lie-tensor","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FVectorSpaceLab\u002FAREX-Skill\u002Fblob\u002Fmain\u002Fskills\u002Frepositories\u002Frepo-skills\u002Fpypose\u002Fsub-skills\u002Flie-tensor\u002FSKILL.md",[47,53,57,61],{"path":48,"resourceType":49,"resourceTypeDesc":50,"sizeBytes":51,"sourceHtmlUrl":52},"references\u002Fapi-reference.md","REFERENCE","参考文档",7229,"https:\u002F\u002Fgithub.com\u002FVectorSpaceLab\u002FAREX-Skill\u002Fblob\u002Fmain\u002Fskills\u002Frepositories\u002Frepo-skills\u002Fpypose\u002Fsub-skills\u002Flie-tensor\u002Freferences\u002Fapi-reference.md",{"path":54,"resourceType":49,"resourceTypeDesc":50,"sizeBytes":55,"sourceHtmlUrl":56},"references\u002Ftroubleshooting.md",7956,"https:\u002F\u002Fgithub.com\u002FVectorSpaceLab\u002FAREX-Skill\u002Fblob\u002Fmain\u002Fskills\u002Frepositories\u002Frepo-skills\u002Fpypose\u002Fsub-skills\u002Flie-tensor\u002Freferences\u002Ftroubleshooting.md",{"path":58,"resourceType":49,"resourceTypeDesc":50,"sizeBytes":59,"sourceHtmlUrl":60},"references\u002Fworkflows.md",6478,"https:\u002F\u002Fgithub.com\u002FVectorSpaceLab\u002FAREX-Skill\u002Fblob\u002Fmain\u002Fskills\u002Frepositories\u002Frepo-skills\u002Fpypose\u002Fsub-skills\u002Flie-tensor\u002Freferences\u002Fworkflows.md",{"path":62,"resourceType":63,"resourceTypeDesc":64,"sizeBytes":65,"sourceHtmlUrl":66},"scripts\u002Flietensor_smoke.py","SCRIPT","脚本",6927,"https:\u002F\u002Fgithub.com\u002FVectorSpaceLab\u002FAREX-Skill\u002Fblob\u002Fmain\u002Fskills\u002Frepositories\u002Frepo-skills\u002Fpypose\u002Fsub-skills\u002Flie-tensor\u002Fscripts\u002Flietensor_smoke.py",[68,75,82,89,96,103],{"skillNo":69,"name":70,"nameZh":6,"description":71,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":72,"categories":73,"keywords":74,"publishedAt":18},"01M799NYSH1R3RVAHSM2D88Y84","passnet-triton-opt","Make a single PassNet Triton kernel fast AND numerically faithful: performance model (when a replacement can win at all), block\u002Fgrid\u002Fwarp tuning, autotune policy, launch overhead, and per-op numeric recipes to pass the dtype baseline tolerances. Use when a pass matches and is correct but speedup below expected, or when correctness fails by small numeric margins.","https:\u002F\u002Fgithub.com\u002FVectorSpaceLab\u002FAREX-Skill\u002Fblob\u002Fmain\u002Fskills\u002Ftask-oriented\u002FPassNet\u002Fskills\u002Fpassnet-triton-opt\u002FSKILL.md",[],[],{"skillNo":76,"name":77,"nameZh":6,"description":78,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":79,"categories":80,"keywords":81,"publishedAt":18},"01M799NS5APEC0N1FZ7XZVW6BN","passnet-solve","END-TO-END playbook for solving one PassNet sample: analyze the computation graphs, decide the optimization strategy (what to fuse, what to replace, what to leave alone), drive the iteration loop, and maximize the sample score. This is the ENTRY skill — invoke it first for any PassNet optimization task; it tells you when to use passnet-pattern-fusion, passnet-triton-opt and passnet-feedback.","https:\u002F\u002Fgithub.com\u002FVectorSpaceLab\u002FAREX-Skill\u002Fblob\u002Fmain\u002Fskills\u002Ftask-oriented\u002FPassNet\u002Fskills\u002Fpassnet-solve\u002FSKILL.md",[],[],{"skillNo":83,"name":84,"nameZh":6,"description":85,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":86,"categories":87,"keywords":88,"publishedAt":18},"01M799NNY9BKSM21V5R7QVTBJX","passnet-skill","PassNet GPU kernel optimization via compiler passes. Design and implement Triton-based optimization passes, create pass files under .\u002Fpass_dir\u002F, self-evaluate with pass_evaluator, and iterate to maximize GPU speedup.","https:\u002F\u002Fgithub.com\u002FVectorSpaceLab\u002FAREX-Skill\u002Fblob\u002Fmain\u002Fskills\u002Ftask-oriented\u002FPassNet\u002Fskills\u002Fpassnet-skill\u002FSKILL.md",[],[],{"skillNo":90,"name":91,"nameZh":6,"description":92,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":93,"categories":94,"keywords":95,"publishedAt":18},"01M799NHH6NP7Z1RK77KGXAN6S","passnet-pattern-fusion","Author PassNet pass files: write patterns that actually MATCH the FX graph, pick fusion regions (which ops to absorb into one Triton kernel), and structure multi-pass submissions with the mandatory shared-dispatch architecture. Use when creating or fixing pattern()\u002Freplacement_args()\u002Freplacement_func() files, when a pass \"failed to match\", or when deciding how to fuse multiple kernels\u002Fops.","https:\u002F\u002Fgithub.com\u002FVectorSpaceLab\u002FAREX-Skill\u002Fblob\u002Fmain\u002Fskills\u002Ftask-oriented\u002FPassNet\u002Fskills\u002Fpassnet-pattern-fusion\u002FSKILL.md",[],[],{"skillNo":97,"name":98,"nameZh":6,"description":99,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":100,"categories":101,"keywords":102,"publishedAt":18},"01M799ND2J4WNC2PGAZ0A06NDF","passnet-orchestrate","Round\u002Fbatch planning and decision support for PassNet graph optimization. Use for multi-sample triage, worker allocation, eval-budget policy, and post-eval keep\u002Frevert decisions. For solving one concrete sample end to end, use passnet-solve as the entry skill; consult this skill only when you need broader planning or a specific decision gate.","https:\u002F\u002Fgithub.com\u002FVectorSpaceLab\u002FAREX-Skill\u002Fblob\u002Fmain\u002Fskills\u002Ftask-oriented\u002FPassNet\u002Fskills\u002Fpassnet-orchestrate\u002FSKILL.md",[],[],{"skillNo":104,"name":105,"nameZh":6,"description":106,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":107,"categories":108,"keywords":109,"publishedAt":18},"01M799N8SBTMY02ZDG2AZF5ZWE","passnet-feedback","Fast, deterministic feedback for PassNet work: pre-flight pattern\u002Fmatch verification WITHOUT burning a GPU evaluation, per-node bottleneck analysis of a sample's graphs, and eval-log parsing into per-variant status + estimated score + failure classification. Use BEFORE every GPU evaluation (check_pattern), at the START of a sample (analyze_graph), and AFTER every evaluation (parse_eval_log).","https:\u002F\u002Fgithub.com\u002FVectorSpaceLab\u002FAREX-Skill\u002Fblob\u002Fmain\u002Fskills\u002Ftask-oriented\u002FPassNet\u002Fskills\u002Fpassnet-feedback\u002FSKILL.md",[],[]]