NeSy developer path

NESY DEVELOPER PATH

Understand and extend DeepLog internals

Trace symbols, shapes, predicates, and formula compilation to see how DeepLog assembles neurosymbolic systems. This flow emphasizes structure and extensibility for custom engines.

Want a faster integration route? Try the ML practitioner path instead.

Who it’s for

  • Developers designing or extending neurosymbolic stacks.

  • Readers interested in how DeepLog composes symbols, predicates, and modules.

Prerequisites

  • PyTorch experience and comfort with symbolic reasoning concepts.

Estimated time

  • ⏱️ 60–90 minutes start to finish.

Guided notebook flow

  1. Symbols and shapes (⏱️ 10 min)

    Name terms, atoms and their algebras with symbols, and the entries of a tensor with a SymTensor.

  2. DeepLog Predicates (⏱️ 15–20 min)

    Connect symbolic atoms to executable tensor operations.

  3. Aggregation basics (⏱️ 10 min)

    Learn the core aggregation syntax, domain enumeration, and expectations under a distribution.

  4. Free variables and batching (⏱️ 10 min)

    Free variables become module inputs.

  5. From Formulas to Modules (⏱️ 10–20 min)

    Compile formulas into DeepLogModule objects ready for composition.

  6. ProbLog programs (⏱️ 10–15 min)

    Probabilistic facts, rules, queries, and conditioning on evidence.

  7. MNIST Addition with DeepProbLog (⏱️ 20–30 min)

    Integrate perception, arithmetic, and logic in a full workflow.

Keep going

  • Hop back to the tutorial overview to revisit the ML practitioner flow or explore other examples.