ArticleslgStudy

computer science

Extended ML

Extended ML is a computer science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Extended ML rather than just read about it. In short: Extended ML is a general-purpose, high-level, wide-spectrum programming language based on the languages ML and Standard ML, covering both program specification and implementation. It extends the syntax of ML to include axioms, which do not need to be executable but can rigorously specify the behavior of a program.

Key takeaways

  • Extended ML belongs to computer science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Extended ML to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Extended ML from memory before moving on to harder problems.

Reference excerpt

Extended ML is a general-purpose, high-level, wide-spectrum programming language based on the languages ML and Standard ML, covering both program specification and implementation. It extends the syntax of ML to include axioms, which do not need to be executable but can rigorously specify the behavior of a program. With this addition, the language can be used for stepwise refinement, proceeding gradually from an initial formal specification to eventually yield an executable Standard ML program. Correctness of the final executable with respect to the original specification can then be established by proving the correctness of each of the refinement steps. Extended ML is used for research into and teaching of formal methods in program development and specification, and research into automatic program verification. Extended ML is neither related to the programming language Extensible ML (other than being similarly derived from ML), nor to the specification language Extensible Markup Language (XML).

References

Sannella, D.; Tarlecki, A. (1986). "Extended ML: an institution-independent framework for formal program development". Proceedings of the Workshop on Category Theory and Computer Programming: ETAPS'98. Vol. 173. Lisbon, Portugal: Springer LNCS 240. pp. 364–389. Workshop in Guildford, England; 1985. Sannella, D.; Tarlecki, A. (1989). Toward formal development of ML programs: foundations and methodology; ECS-LFCS-89-71 (Report). Edinburgh, Scotland: Laboratory for Foundations of Computer Science, University of Edinburgh. Extended abstract in Proceedings of the Joint Conference on Theory and Practice of Software Development, Barcelona, Spain, Springer LNCS, pp. 352, 375–389 (1989). Kahrs, S.; Sannella, D.; Tarlecki, A. (1994). "Interfaces and Extended ML". Proceedings of the ACM Workshop on Interface Definition Languages. SIGPLAN Notices. Vol. 29. Portland, Oregon. pp. 111–118.{{cite book}}: CS1 maint: location missing publisher (link) Kahrs, S.; Sannella, D.; Tarlecki, A. (28 February 1997). "The definition of extended ML: A gentle introduction". Theoretical Computer Science. 173 (2): 445–484. doi:10.1016/S0304-3975(96)00163-6. Kahrs, S.; Sannella, D. (1998). "Reflections on the design of a specification language". Proceedings of the International Colloquium on Fundamental Approaches to Software Engineering: ETAPS'98. Vol. 173. Lisbon, Portugal: Springer LNCS 1382. pp. 154–170. Sannella, D.; Tarlecki, A. (1999). "Algebraic methods for specification and formal development of programs". ACM Computing Surveys. 31 (3es): 10. doi:10.1145/333580.333589.

External links Official website, Don Sannella

Worked examples

Example 1 — a first encounter with Extended ML

Start with the simplest possible case. Write down what Extended ML claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In computer science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Extended ML before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Extended ML ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Extended ML

In research
Extended ML appears in computer science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Extended ML in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Extended ML is common in secondary-school and first-year university syllabi. It links to neighbouring topics 1985 software, Formal specification languages, High-level programming languages, so understanding it makes those chapters shorter.
In everyday life
Look for Extended ML outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Extended ML” →

How to study Extended ML in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Extended ML means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Extended ML out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Extended ML in simple terms?

Extended ML is a general-purpose, high-level, wide-spectrum programming language based on the languages ML and Standard ML, covering both program specification and implementation. It extends the syntax of ML to include axioms, which do not need to be executable but can rigorously specify the behavi…

Why does Extended ML matter?

Because it connects several computer science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Extended ML?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Extended ML.

Tags

  • 1985 software
  • Formal specification languages
  • High-level programming languages
  • ML programming language family
  • Programming language topic stubs
  • Programming languages created in 1985

Keep exploring