Media Summary: Structural induction can be used to prove the correctness of functions on lists Textbook: Drilling down into the parts of a function specification: preconditions, postconditions, Developing an implementation of a data abstraction, as an ongoing

Example Proof Preorder And Length Ocaml Programming Chapter 6 Video 31 - Detailed Analysis & Overview

Structural induction can be used to prove the correctness of functions on lists Textbook: Drilling down into the parts of a function specification: preconditions, postconditions, Developing an implementation of a data abstraction, as an ongoing Abstraction functions are...abstract. So how could you implement them? Conversion to strings is an Structural induction can be used to prove the correctness of functions on trees Textbook: A notion of "behavioral equality" is at the heart of reasoning about the correctness of functional programs Textbook: ...

Defining a persistent stack data structure as an Representation invariants can be implemented and used to Developing a second implementation of a data abstraction, as an ongoing A template for function specifications Textbook: How to implement a function that counts up with every invocation, using references Textbook: The abstraction function is the key piece of documentation an implementer needs to write; it relates the implementer's view of the ...

Photo Gallery

Example Proof: Preorder and Length | OCaml Programming | Chapter 6 Video 31
Induction on Lists | OCaml Programming | Chapter 6 Video 28
Parts of a Function Specification | OCaml Programming | Chapter 6 Video 3
Implementing Sets as Lists | OCaml Programming | Chapter 6 Video 5
Induction on an ADT for Natural Numbers | OCaml Programming | Chapter 6 Video 27
Implementing Abstraction Functions | OCaml Programming | Chapter 6 Video 8
Example Proof: Summation | OCaml Programming | Chapter 6 Video 25
Induction on Trees | OCaml Programming | Chapter 6 Video 30
Equality of Expressions | OCaml Programming | Chapter 6 Video 22
Functional Stacks | OCaml Programming | Chapter 5 Video 3
Implementing Representation Invariants | OCaml Programming | Chapter 6 Video 10
Another Implementation of Sets | OCaml Programming | Chapter 6 Video 6
View Detailed Profile
Example Proof: Preorder and Length | OCaml Programming | Chapter 6 Video 31

Example Proof: Preorder and Length | OCaml Programming | Chapter 6 Video 31

A

Induction on Lists | OCaml Programming | Chapter 6 Video 28

Induction on Lists | OCaml Programming | Chapter 6 Video 28

Structural induction can be used to prove the correctness of functions on lists Textbook: https://cs3110.github.io/textbook.

Parts of a Function Specification | OCaml Programming | Chapter 6 Video 3

Parts of a Function Specification | OCaml Programming | Chapter 6 Video 3

Drilling down into the parts of a function specification: preconditions, postconditions,

Implementing Sets as Lists | OCaml Programming | Chapter 6 Video 5

Implementing Sets as Lists | OCaml Programming | Chapter 6 Video 5

Developing an implementation of a data abstraction, as an ongoing

Induction on an ADT for Natural Numbers | OCaml Programming | Chapter 6 Video 27

Induction on an ADT for Natural Numbers | OCaml Programming | Chapter 6 Video 27

Natural numbers can be represented as an

Implementing Abstraction Functions | OCaml Programming | Chapter 6 Video 8

Implementing Abstraction Functions | OCaml Programming | Chapter 6 Video 8

Abstraction functions are...abstract. So how could you implement them? Conversion to strings is an

Example Proof: Summation | OCaml Programming | Chapter 6 Video 25

Example Proof: Summation | OCaml Programming | Chapter 6 Video 25

Proof

Induction on Trees | OCaml Programming | Chapter 6 Video 30

Induction on Trees | OCaml Programming | Chapter 6 Video 30

Structural induction can be used to prove the correctness of functions on trees Textbook: https://cs3110.github.io/textbook.

Equality of Expressions | OCaml Programming | Chapter 6 Video 22

Equality of Expressions | OCaml Programming | Chapter 6 Video 22

A notion of "behavioral equality" is at the heart of reasoning about the correctness of functional programs Textbook: ...

Functional Stacks | OCaml Programming | Chapter 5 Video 3

Functional Stacks | OCaml Programming | Chapter 5 Video 3

Defining a persistent stack data structure as an

Implementing Representation Invariants | OCaml Programming | Chapter 6 Video 10

Implementing Representation Invariants | OCaml Programming | Chapter 6 Video 10

Representation invariants can be implemented and used to

Another Implementation of Sets | OCaml Programming | Chapter 6 Video 6

Another Implementation of Sets | OCaml Programming | Chapter 6 Video 6

Developing a second implementation of a data abstraction, as an ongoing

Function Specifications | OCaml Programming | Chapter 6 Video 2

Function Specifications | OCaml Programming | Chapter 6 Video 2

A template for function specifications Textbook: https://cs3110.github.io/textbook.

Example Proof: List Length and Append | OCaml Programming | Chapter 6 Video 29

Example Proof: List Length and Append | OCaml Programming | Chapter 6 Video 29

A

Equational Reasoning | OCaml Programming | Chapter 6 Video 23

Equational Reasoning | OCaml Programming | Chapter 6 Video 23

Equational reasoning provides a basic

Implementing a Counter | OCaml Programming | Chapter 7 Video 5

Implementing a Counter | OCaml Programming | Chapter 7 Video 5

How to implement a function that counts up with every invocation, using references Textbook: https://cs3110.github.io/textbook.

Abstraction Functions | OCaml Programming | Chapter 6 Video 7

Abstraction Functions | OCaml Programming | Chapter 6 Video 7

The abstraction function is the key piece of documentation an implementer needs to write; it relates the implementer's view of the ...