← Back to PMAI Lab Courses Artificial Intelligence

Discrete Structures for AI

This course introduces the core ideas of discrete mathematics that support reasoning in computing and intelligent systems. Students learn through real scenarios, mathematical representations, proof techniques, combinatorics, graph theory, and selected Python activities. The emphasis is on understanding, problem solving, and connecting mathematical thinking with practical system design.

Academic Year 2026
Semester 1st
Credit Hours 3(3-0)
Course Code

Course Description

This course develops essential discrete mathematics concepts for students of Artificial Intelligence and computing. It covers logic, proof reasoning, sets, relations, functions, counting, graphs, trees, and related structures through applied examples and problem solving. Selected Python activities are used to reinforce mathematical ideas and connect them with computational thinking.

Course Learning Outcomes

01

Apply principles of mathematical logic, sets, relations, and functions to solve discrete problems.

02

Construct and evaluate mathematical proofs using appropriate proof techniques.

03

Analyze combinatorial structures and apply counting principles to computational problems.

04

Model and solve problems using graphs, trees, and other discrete structures.

Faculty

Dr. Hira Benish
>

Dr. Hira Benish

Associate Professor, Head of Mathematics Department

Riphah International University Sahiwal

Course Outline

PDF

Course Outline

Official course outline and syllabus.

View PDF

Lecture Notes

01

Introduction

Mathematical reasoning and propositional logic.

HTML
02

logic and rules of inference:

Logics, statements, operators

HTML
03

Mathematical reasoning

Methods and proof techniques

HTML
04

Mathematical induction

Method of reasoning

HTML
05

Set Theory

Set theory; functions and mappings.

HTML
06

Relations

This lecture includes relations , types and its excercise with python.

HTML
07

Number Theory

Divisibility, primes, greatest common divisor, Euclidean algorithm

HTML
08

Sequences and series

Arithmetic and geometric patterns

HTML
09

Recurrence relations and recursive functions

Recursion versus iteration; simple growth models

HTML
10

Counting foundations and permutations

Addition/product rules; inclusion–exclusion for two sets; Pigeonhole principle

HTML
11

Counting foundations

Permutations II and combinations

HTML
12

Graph Theory

Elements of graph theory and Euler graphs: vertices/edges, degree, walk/trail/path/cycle, adjacency representations.

HTML
13

Graph Coloring

Elementary planar graphs, graph coloring, and Hamiltonian paths/cycles

HTML
14

Trees and Traversals

Rooted trees and traversals: root, parent/child

HTML

Assignments

A1

Assignment 01

Rules, Conclusions and Proofs

HTML
A2

Assignment 02

Sets, Mappings and Relations

HTML
A3

Assignment 03

Sequences, Recurrences and Counting Choices

HTML
A4

Assignment 04

Graph Routes and Tree Traversals

HTML

Quizzes

Q1

Quiz 01

Quiz will be shared soon.

PDF
Q2

Quiz 02

Quiz will be shared soon.

PDF
Q3

Quiz 03

Quiz will be shared soon.

PDF
Q4

Quiz 04

Quiz will be shared soon.

PDF

Case Studies

CS

Case Study-1

Discrete_Mathematics_Case_Study_01_Student_Support_Reasoning

HTML
CS

Case Study-02

Discrete_Mathematics_Case_Study_02_Campus_Graph_Routes

HTML

Additional Resources

R1

Reference Material

Supplementary mathematical learning material.

PDF

Want to Collaborate or Share Resources?

Faculty members can contribute course materials, research resources, lectures, assignments and academic content to the PMAI Lab network.