The Nominal Datatype Package in Isabelle/HOL

Similar documents
Nominal Techniques in Isabelle/HOL

solutions:, and it cannot be the case that a supersolution is always greater than or equal to a subsolution.

ishares Core Composite Bond ETF

Extensional Equality in Intensional Type Theory

Two-Way Equational Tree Automata for AC-like Theories: Decidability and Closure Properties

A Calculus for End-to-end Statistical Service Guarantees

Regression. Linear least squares. Support vector regression. increasing the dimensionality fitting polynomials to data over fitting regularization

Implementing Domain Specific Languages using Dependent Types and Partial Evaluation

Æ ÛØÓÒ³ Å Ø Ó ÐÓ Ì ÓÖÝ Ò ËÓÑ Ø Ò ÓÙ ÈÖÓ ÐÝ Ò³Ø ÃÒÓÛ ÓÙØ Ú º ÓÜ Ñ Ö Ø ÓÐÐ

É ÀÓÛ Ó Ý Ò ² Ö Ò ÁÒ Ö Ò «Ö ÓØ ÑÔ Ù ÔÖÓ Ð ØÝ ØÓ Ö ÙÒ ÖØ ÒØÝ ÙØ Ø Ý ÓÒ Ø ÓÒ ÓÒ «Ö ÒØ Ø Ò º Ü ÑÔÐ ÁÑ Ò Ð Ò Ð ØÖ Ð Û Ø Ò ½ Ñ Ø Ô Ö Ó Ù Ø º ÁÒ Ô Ö ÓÒ Ù Ø

Ì ÄÈ Ë ÈÖÓ Ð Ñ Ì ÄÈ Ë ÐÓÒ Ø Ô Ö Ñ Ø Ö Þ ÓÑÑÓÒ Ù ÕÙ Ò µ ÔÖÓ Ð Ñ Ò Ö Ð Þ Ø ÓÒ Ó Û ÐÐ ÒÓÛÒ Ä Ë ÔÖÓ Ð Ñ ÓÒØ Ò Ò Ô¹ÓÒ ØÖ ÒØ º Ò Ø ÓÒ ÁÒ ÄÈ Ë(,, Ã ½, Ã ¾, )

Ë ÁÌÇ ÌÓ Ó ÍÒ Ú Ö Øݵ Ç ¼ Ô Û Ö ÙÒÓ Ø Ò Ð Ä Ò ÙÖ ÖÝ ÓÒ ÒÓØ Ý ÛÓÖ Û Ø Ã ÞÙ ÖÓ Á Ö Ó ÒØ Ë Ò ÝÓ ÍÒ Ú Ö Øݵ Ç

½º»¾¼ º»¾¼ ¾º»¾¼ º»¾¼ º»¾¼ º»¾¼ º»¾¼ º»¾¼» ¼» ¼ ÌÓØ Ð»½ ¼

ËØÖÙØÙÖ ½ Î Ö ÐÙ Ø Ö ¹ Ò ÒØÖÓ ÙØ ÓÒ ¾ Ì Ø Ì ÈÙÞÞÐ Ì Á ÓÒÐÙ ÓÒ ÈÖÓ Ð Ñ Å Ö ¹ÄÙ ÈÓÔÔ ÍÒ Ä ÔÞ µ È Ö Ø È ÖØ ÔÐ ¾¼º¼ º½ ¾» ¾

Improved Boosting Algorithms Using Confidence-rated Predictions

ÇÙØÐ Ò È Ý Ð ÓÒ Ø ÓÒ Ò ÓÙ Æ ÙÐ ÄÓÛ¹ Ò ØÝ Ð Ñ Ø À ¹ Ò ØÝ Ð Ñ Ø Ü ÑÔÐ ÜØ ÒØ ÓÒ ØÓÛ Ö ÐÑ Ö Ö Ñ ÒØ Ò

Solutions of Implication Constraints yield Type Inference for More General Algebraic Data Types

ÈÖÓÚ Ò Ò ÁÑÔÐ Ø ÓÒ È É Ï Ö Ø ÐÓÓ Ø Û Ý ØÓ ÔÖÓÚ Ø Ø Ñ ÒØ Ó Ø ÓÖÑ Á È Ø Ò É ÓÖ È É Ì ÓÐÐÓÛ Ò ÔÖÓÓ ØÝÔ Ò Ð Ó Ù ØÓ ÔÖÓÚ Ø Ø Ñ ÒØ Ó Ø ÓÖÑ Ü È Üµ É Üµµ Ý ÔÔ

Decomposition and Complexity of Hereditary History Preserving Bisimulation on BPP

Ø Ñ Ò Ò ÙØÙÑÒ ¾¼¼¾ Ò Ò Ö ÕÙ ÒØ ÐÓ µ Ø Û Ø ØÖ ØÖÙØÙÖ ½ ȹØÖ È¹ ÖÓÛØ ÄÇË Ì È¹ØÖ Ø ØÖÙØÙÖ È¹ ÖÓÛØ Ð ÓÖ Ø Ñ ÓÖ Ò Ò ÐÐ Ö ÕÙ ÒØ Ø ÄÇË Ì Ð ÓÖ Ø Ñ ÓÖ Ò Ò Ö ÕÙ

½ Ê Ú Û Ó ÆÒ ÕÙÓØ ÒØ ¾ ÇÖØ Ó ÓÒ Ð ÒÚ Ö ÒØ ÓÙ Ð Ö Ø ÓÒ Ý ÕÙÓØ ÒØ Ñ Ô ÇÖ Ø ÓÖÖ ÔÓÒ Ò Ü ÑÔÐ Ó ÓÖ Ø ÓÖÖ ÔÓÒ Ò Ü ÑÔÐ Ø Ò ÓÖ ÔÖÓ ÙØ Ü ÑÔÐ ÓÒØÖ Ø ÓÒ Ñ Ô ÇÔ Ò

ÐÓ Û µ ÅÄ Ó Ò ººº Ð Ò Ö Ó Ü = (,..., Ü Ò ) ººº ÒØ Ó ÛÓÖ Ý = (Ý ½,..., Ý Ò ) ººº Ö Ú ÛÓÖ ¹ ÓÒ Ø ÒØ ÐÓ Û µ Å Ü ÑÙÑ Ä Ð ÓÓ Åĵ Ó Ö Ø Ø ÔÓ Ð Ó Ö Ñ Ò Ñ Þ Ø

ÁÒØÖÓ ÙØ ÓÒ Ì Ñ Ñ Ö Ó Ú Ò Ô ÓÖ Ù Ô µ Ú Ø Ñ Ò Ö Ð ØÙÖ ÓÒ Ø Ö Ó Ø Ô ØØ ÖÒº ÀÓÛ Ú Ö Ò Ú Ù Ð Ò Ñ Ð Ø ÓÛÒ Ø ÒØ Ñ Ö Ò º Ì Ô ØØ ÖÒ Ö ÒÓØ Ø ÖÑ Ò Ò Ø ÐÐݺ Ì Ý

Tensor. Field. Vector 2D Length. SI BG cgs. Tensor. Units. Template. DOFs u v. Distribution Functions. Domain

38050 Povo (Trento), Italy Tel.: Fax: e mail: url:

Ë Ò ÓÖ Æ ØÛÓÖ Å ÈÖÓØÓÓÐ ÂÙ Î Ð ÓÒ Ò Ä ÓÖ ØÓÖÝ ÓÖ Ì ÓÖ Ø Ð ÓÑÔÙØ Ö Ë Ò À Ð Ò ÍÒ Ú Ö ØÝ Ó Ì ÒÓÐÓ Ý ¾ º º¾¼¼ ÂÙ Î Ð ÓÒ Ò Ë Ò ÓÖ Æ ØÛÓÖ Å ÈÖÓØÓÓÐ

ÖÙÔØ Ú ÝÓÙÒ Ø Ö ÓÖ ÍÓÖ ÄÓÛ Ñ ÔÖ ¹Ñ Ò ÕÙ Ò Ó Ø ËØ Ö Ð Ö ÑÓÙÒØ Ó ÖÙÑ Ø ÐÐ Ö Ñ Ø Ö Ð ÍÓÖ ÇÙØ ÙÖ Ø Ó Ñ ÓÖ ÑÓÖ Ò ÓÔØ Ð Ð Ø Ä Ø Ò ÓÖ Ú Ö Ð Ê Ô Ø Ø Ú ÓÖ ÍÓÖ

Contact 3-Manifolds, Holomorphic Curves and Intersection Theory

MODELLING OF GAS-SOLID TURBULENT CHANNEL FLOW WITH NON-SPHERICAL PARTICLES WITH LARGE STOKES NUMBERS

Refinement in Requirements Specification and Analysis: a Case Study

Strong normalization of lambda-bar-mu-mu-tilde-calculus with explicit substitutions

arxiv: v25 [math.ca] 21 Nov 2008

ÖÖ Ý ÒÑ ÒØ Ø Ø Ñ ÒØ Ö Ö ÓÖ ÒÝ Ð Ø¹ Ò Ð Ñ ÒØ Ö ØÓÖ º ÖÖ Ý ÓÖ Ù Ø ÓÒ Ó ÖÖ Ý Ò Ô Ý Ù Ò ØÖ ÔÐ Ø Ù Ö ÔØ º ØÖ ÔÐ Ø Ô Ö Ò Ò Ø ÓÖÑ ÐÓÛ Ö ÓÙÒ ÙÔÔ Ö ÓÙÒ ØÖ º Á

Ì Ø ÓÖ Ø ÓØÓÖ Ó È ÐÓ ÓÔ Ý Ö Ý Å Ö Ò Ö ÓÒ Å ÐÐ Ö Ò ÔÔÖÓÚ Ý ËØ ÒÐ Ý º È ÝÒ Ï ÐÐ Ñ º ÖÓÛ ØÞÓ ËÝÐÚ º ÀÓ ÖØ Âº Ê Ö ÄÙÒ Ö Ò Ï ÐÐ Ñ Âº ÏÓÐ Ø

Domain, Range, Inverse

Ò ÓÛ Æ ØÛÓÖ Ð ÓÖ Ø Ñ ÓÖ ¹ ÙÐ Ö ÓÒ

½º ÌÖ ÙØÓÑØ

COMPARATIVE EVALUATION OF WEATHER FORECASTS FROM THE COSMO, ALARO AND ECMWF NUMERICAL MODELS FOR ROMANIAN TERRITORY

Chapter 9. Trapezoidal Maps. 9.1 The Trapezoidal Map

ÓÖØÖ Ò ÓÖØÖ Ò = ÜØ Ò ÓÒ ØÓ Ø ÆËÁ ÇÊÌÊ Æ Ø Ò Ö º Ê ÔÓÒ Ð ØÝ Ñ Ö Ò Æ Ø ÓÒ Ð ËØ Ò Ö ÁÒ Ø ØÙØ ÆËÁ  µ ÁÒØ ÖÒ Ø ÓÒ Ð ÇÖ Ò Þ Ø ÓÒ ÓÖ ËØ Ò Ö Þ Ø ÓÒ ÁËÇ»Á ÂÌ

A = A (0) + (4πF π) 2A(1) + (4πF π) 2 A (3) +... L N+π. ÈÌ = L(0) (F π,m π,g A )+L (1) (c 1,..,c 4 )+L (2) (l 1,..,l 10,d 1,..,d 23 )+...

ÅÓØ Ú Ø ÓÒ Å ÕÙ Ð ØÝ Ó Ø Ó ØÖ Ò Ô Ö ÒØ ÁÒ Ø ÓÒ Ú ÐÓÔÑ ÒØ ØÖ Ò ÖÖ Û ÓÖ Ò Ð ÙØ ÓÖ Ö Ñ Ò ÐÓÒ Ú ÐÓÔÑ ÒØ ØÓÖÝ Å ÒÝ Ù ØÓÑ Ö»Ù ØÓÑ Ö Ù ÓÑÔÓÒ ÒØ Ó Ñ ÒÝ ÔÖÓ Ø

Ä ÖÒ Ò ÖÓÑ Ø Ö Ëº Ù¹ÅÓ Ø Ð ÓÖÒ ÁÒ Ø ØÙØ Ó Ì ÒÓÐÓ Ý Ä ØÙÖ ½ Ì Ä ÖÒ Ò ÈÖÓ Ð Ñ ËÔÓÒ ÓÖ Ý ÐØ ³ ÈÖÓÚÓ Ø Ç ² Ë Ú ÓÒ Ò ÁËÌ ÌÙ Ý ÔÖ Ð ¾¼½¾

function GENERAL-SEARCH( problem, strategy) returns a solution, or failure initialize the search tree using the initial state of problem loop do if

An Algebraic Semantics for Duration Calculus. August 2005 ß ½ ß ESSLLI 2005 Student Session

ÇÙØÐ Ò ½º Ê Ú Û Ó ËÔ Ò¹ Ü Ò ÇÔØ Ð ÈÙÑÔ Ò ¾º Ê Ú Û Ó Ô Ø ÜÔ Ö Ñ ÒØ º Ì Æ Û Ö Ø ÓÒ Ô ÖØ ÓÑ Ò Ö ² ÀÓÑÓ Ò Þ Ö ÀÝ Ö Ð Ð Ë ÇÈ ÒÓ Ø ØÓÓÐ ÂÙÒ ¾¼¼ º Ë Ò È ¾

Verification. Lecture 3. Bernd Finkbeiner

ß ¾ ß ËÌÊ Ì ÌÓ Ò Ò Ø ØÓ Ø Ù Ó Ð Ñ ÒØ ÖÙÔØ ÓÒ Ò Ö ÓÒ Ø ÙÒ Û Ó ÖÚ Ð Ñ ÒØ Ø Ø ÖÙÔØ Ò Ø Ú Ö ÓÒ ÆÇ º Ì Ó ÖÚ Ø ÓÒ ÓÒ Ø Ó À«ÐØ Ö Ö Ñ Ø Ø Ö Û Ú Ð Ò Ø Ð Ò ÒØ Ö

ÌÖ Ò Ò ÆÙÑ Ö ÓÖ È ÔÓ Ø Ö ÓÖ ÖÖÓÖ ÓÒØÖÓл ÔØ Ú Ñ Ò ³ ÁØ Ö Ø Ú Ô Ö ÐРе ÓÐÙØ ÓÒ ØÖ Ø ³ ÇÔ Ö ØÓÖ¹ ÔÐ ØØ Ò ÓÖ ÓÙÔÐ ÔÖÓ Ð Ñ ³ Ê ÙØ ÓÒ Ó ÒÙÑ Ö Ð ÓÑÔÐ Ü ØÝ

MSR, Access Control, and the Most Powerful Attacker

t 2 3t + 2 lim xln x x x x2 + 1 x + 1

ν = fraction of red marbles

¾ ÍÆ ÌÁÇÆ Ä ËÈ Á Á ÌÁÇÆ ÒÚ ÖÓÒÑ ÒØ ½ º½ ÓÖÑ Ø Ò º º º º º º º º º º º º º º º º º º º º º º º º ½ º½º½ Ö ØÓÖÝ ÒØÖ º º º º º º º º º º º º º º º º º º

Ø Ð ÙÒØÓÖ Ý Ð ÑÓÒ Á ÓÒ Ä Ö Ù Ø Ø Ø ÓÖ Ò Ð ÔÔÖÓÜ Ñ Ð Ñ Ô Ó Ò Û Ø Ø ÃÐ Ð ÑÓÖÔ Ñ º Ì Ù Ø Ø ÓÖÝ Ó Ò ÓÖÑ Ø ÓÒ Ý Ø Ñ ÓÑ Ø ÃÐ Ð Ø ÓÖÝ Ä Ö Á Ò Ø Ð ÙÒØÓÖ Ý Ð Ö

How hard is it to control sequential elections via the agenda?

È Ö Ø ² ÑÔ Ö Ø Ò ÓÖÑ Ø ÓÒ ÓÖ Ñ È Ö Ø Ò ÓÖÑ Ø ÓÒ ÈÐ Ý Ö ÒÓÛ ÓÙØ Ø ÔÖ Ú ÓÙ ÑÓÚ Ó ÓÔÔÓÒ ÒØ º º º Ð ¹ËØ Û ÖØ Ñ º ÁÑÔ Ö Ø Ò ÓÖÑ Ø ÓÒ ÈÐ Ý Ö Ó ÒÓØ ÒÓÛ ÓÙØ Û

A = Y E B = W Y = 1 4

ÙÒØ ÓÒ Ò Ø ÓÒ ÙÒØ ÓÒ ÖÓÑ ØÓ ÒÓØ Ö Ð Ø ÓÒ ÖÓÑ ØÓ Ù Ø Ø ÓÖ Ú ÖÝ Ü ¾ Ø Ö ÓÑ Ý ¾ Ù Ø Ø Ü Ýµ Ò Ø Ö Ð Ø ÓÒ Ò Ü Ýµ Ò Ü Þµ Ö Ò Ø Ö Ð Ø ÓÒ Ø Ò Ý Þº ÆÓØ Ø ÓÒ Á

¾ Ü Ò Ü ¾ ¾ Ü À Ò Üµ À Ò ½ ܵ ¾ ½º ÁÒØÖÓÙØÓÒ ÀÖÑØ ÔÓÐÝÒÓÑÐ ÀÖÑØ ÔÓÐÝÒÓÑÐ Ö Ò Ý Ò ¼ ½ À Ò Üµ ½µÒ ܾ ¾ Ò Ò Ì Ö ÒÙÒØÓÒ Ó Ø ÇÖÒ ØÒ¹ÍÐÒ ÓÔÖØÓÖ Ü ¾ Ü Ü Ï Ú

ÇÙØÐ Ò Ó Ø Ø Ð ÅÓØ Ú Ø ÓÒ = ¾ ÙÔ Ö ÝÑÑ ØÖ Ò ¹Å ÐÐ ÕÙ ÒØÙÑ Ñ Ò ÆÙÑ Ö Ð Ð ÓÖ Ø Ñ Ò ÒÙÑ Ö Ð Ö ÙÐØ Ü Ø ÓÐÙØ ÓÒ ÙÖØ Ö Ô Ö Ô Ø Ú

Study Guide: Sunshine State Standards

½½ º º À Æ Æ º º Í Æ ÒÓØ ÔÓ Ø Ú Ñ ¹ Ò Ø ÙÒÐ Ø ÓÐÐÓÛ Ò ØÖÙ Ø Ö ÓÒ Ù ÔÖÓ Ð Ñ È ½ Û Ø Ò Ð ÐÐ ÓÒ ØÖ ÒØ Û Ó ÓÖÑ Ù Ø ØÓ Ñ Ò ¾Ê Ò µ ½ ¾ Ì Ì Ø Ì Ù ÔÖÓ Ð Ñ Ø Ð

The Enigma machine. 1 Expert teams 25 mins. 2 Mixing the teams 30 mins. 3 Coding and decoding messages 1 period

Ä Á»Ä Á Ä ÖÙ ÖÝ ¾¼¼ ½ ÙÒØ ÓÒ Ð Ô Ø ÓÒ Ä Ó ÓÒ Ø Ó ÓÙÖ Ô ÖØ ÐÙÐ Ø ÓÒ ÓÖ Ô Ö ØÝ ÙÔ Ø Ò Ò Ø Ö ÓÒ ØÖÙØ Ò º ËØÖ Ô Ñ Ò Öº ÁØ ÓÒØ Ò Ø ÓÔ Ö Ø ÓÒ Ù» Ö ÑÓÚ» ÐÓÓ

ÝØ Ð Ö Ø ÓÒ Ó ÝÒ Ñ ØÖ ÑÙÐ Ø ÓÒ Ó Ø Ú Ñ Ò Ð Ö Ø ÓÒ ÖÓÑ ØÖ ÓÙÒØ Ð Ð Ô Ö Ô Ø Ú Ø Ñ Ø ÓÒ Ó Ô Ø ÓÛ Ø ÛÓÖ Ø Ñ Ø ÓÒ Ó Ñ ÖÓ¹ ÑÙÐ Ø Ú ÓÖ ¾» ¾¾

Ö Ò ÁÅ ÔØ Ö Ê ÕÙ Ö ÔØ Ö ½¼ ½ Ò ½ º ÄÏÀ ØÓ ÖØ Ð ÁÒØ ÐÐ Ò ÁÒØÖÓ ÙØ ÓÒ ¹ ËÔÖ Ò ¾¼½ Ë º ÓÙ ÖÝ Ë Ù¹Û ¹Ö µ ÖØ ¼¾µ ¾¹ º º ÓÙ ÖÝ ½ ÁÒ ØÖÙØÓÖ³ ÒÓØ ÖÙ ÖÝ ½ ¾¼½

1. The augmented matrix for this system is " " " # (remember, I can't draw the V Ç V ß #V V Ä V ß $V V Ä V

ÓÒØ ÒØ ½º Ë ÓÖØ Ø Ô Ø Ò ØÖ ½º½º Ë ÓÖØ Ø Ô Ø Û Ø ÒÓÒÒ Ø Ú Ð Ò Ø ½º¾º ËÔ Ò ÙÔ ØÖ ³ Ð ÓÖ Ø Ñ Û Ø Ô ½º º Ë ÓÖØ Ø Ô Ø Û Ø Ö ØÖ ÖÝ Ð Ò Ø ½¾ ½º º Å Ò ÑÙÑ Ô Ò

ÇÚ ÖÚ Û ½ ÁÒØÖÓ ÙØ ÓÒ ¾ Ý ¾¼½¾ Ò Ö Ð Þ Ö ÐØÝ ÅÓ Ð ÓÖ ÓÑ Ø Ý ¾

ÌÖ Ò Ò ÆÙÑ Ö ÓÖ È ÔÓ Ø Ö ÓÖ ÖÖÓÖ ÓÒØÖÓл ÔØ Ú Ñ Ò ³ ÁØ Ö Ø Ú Ô Ö ÐРе ÓÐÙØ ÓÒ ØÖ Ø ³ ÇÔ Ö ØÓÖ¹ ÔÐ ØØ Ò ÓÖ ÓÙÔÐ ÔÖÓ Ð Ñ ³ Ñ ÁÑÔÖÓÚ Ñ ÒØ Ó Æ ÒÝ Ú ½º ÇÔ

M 1 M 2 M 3 M 1 M 1 M 1 M 2 M 3 M 3

Lazy Semiring Neighbours

ÙÖ ¾ Ë Ð Ø ÔÔÐ Ø ÓÒ ¾ ¾

ÇÍÌ ÁËÌ Æ Æ ÆÇƹ ÁËÌ Æ Ç Ä ÌÌÁ Ë ÁÆ ËÇÅ ËÇÄÎ Ä ÄÁ ÊÇÍÈË Îº ÓÖ Ø Ú Ì ÖØ Ð ÚÓØ ØÓ ÔÖÓ Ð Ñ Ó Ü Ø Ò Ò ÒÓÒ Ü Ø Ò Ó Ð ØØ Ò ÓÐÚ Ð Ä ÖÓÙÔ º ÁÒ Ô ÖØ ÙÐ Ö Û ÔÖÓ

"unphysical region" pp e + e : FF modulus

λ max β λ P λ [cos(θ)] λ=0 max 232 Th V LD [MeV] LSD β 2

Significant sample +... Synthetic Population. IPFP + Random Draws. Set of consistent margins

¾ ÓÖÔÙ Ôк ÓÖÔÓÖ µ ÓÖÔÙ ÓÐÐ Ø ÓÒ Ó Ø ÜØ µ ÓÖ ÙØØ Ö Ò ½¼ Ø ÒÝ ½¼ Ö ÓÒ Ð ½¼ ½¾ ÙÖÖ ÒØ Ð Ð Ñ Ø ÓÖ ÙÒ ÒÒÓØ Ø Ø Ì ÑÓ Ø Ú ÐÙ Ð ÓÖÔÓÖ Ö Ø Ó Ø Ø ÓÙÖ Ò ØÙÖ ÐÐÝ

ÓÙÖ ËØ ÁÒ ØÖÙØÓÖ ÓÒØ Ø ËÐ Ñ Ø ÙÐÐ Ö ÐÓÙ Ð Ø ÓÒ ÓÙÖ Û Ø ÇÒ ÍÏ¹Ä ÖÒ Ò ÓÒ ÓÙÖ Û Ø Î ÖÝ Ø Ö ÓÑ ØÓ Ð Ø ÒÓØ Ë ÁÒØÖÓ ØÓ Å Ñص ÇÚ ÖÚ Û Ó Ë ÄÄ ¾¼½ ¾» ¾


Ó Ú ÐÙ Ö ÒÚÓÐÚ Ò ÖØ Ò Ô ÖØ Ó Ø ÔÖÓ Ö Ñµ Ò ØÓ ÐÔ Ø Ø ÔÖÓ Ö ÑÑ Ö Ñ Ø º ÁÒ Ø Ø ÐÐÝ ØÝÔ Ð Ò Ù Ø ØÝÔ Ö ÒÓØ Ò ÓÑ Ø Ò Ø Ø Ø Ô ÖØ Ò ÓÑÔÙØ Ø ÓÒ ÙØ Ö Ø Ö ÓÑ Ø Ò

ÇÙØÐ Ò

Ã Ô ÐÐ Ø ÙÒ Ð ÕÙ Ô Ò ÙÖ ÓÑ Ú ÒØ Ö Ø ÓÒ Ò ÓÑÔ Ø Ø ÓÒ Ä ÙÖ Å ËËÁÇ ÄÈÌÅ ÍÒ Ú Ö Ø È Ö ÎÁ ¾½ ÒÓÚ Ñ Ö ¾¼½

ÁÒØÖÓ ÙØ ÓÒ ØÓ ÓÑÔÙØ Ö ÈÖÓ Ö ÑÑ Ò Ò Ü Ñ ÂÙÒ ½ ¾¼¼ È ½ Ü Ö ½ ¾ ½ Å Ö µ µ ÓÒ Ö Ø ÓÓÛ Ò Ñ Ø Ó ÔÙ ÚÓ ÒØ ÒØ µ ß ¼ ¼µ ß Ö ØÙÖÒ ÒØ ¼µ ß ËÝ Ø ÑºÓÙغÔÖ ÒØÒ Ò Ø

XOR KEYS S BOXES KEY ADDITION MODULO 2^{256} DIFFUSION LAYER

Density Data

ßÒ Ò Ø ÒØ Ö ÒØ Ý ÒØ Ú Ò µ ß Ú Ö ÒØ ÓÛ Ñ Ü ÓÛ ÖÖ Ý Þ Ú µ ¹ ½ ÒÚ Ö ÒØ ÒØ ÒØ Ò ½ Ò ÓÛ ÒØ µ ÒØ µµ Û ÓÛ µ ß Ñ ÓÛ µ» ¾ Ü Ú Ñ Ý Üµ ß Ö ØÙÖÒ Ñ Ý Üµ ß Ñ ¹ ½ ß

Dagstuhl Seminar Proceedings 05451Dagstuhl Seminar Proceedings Beyond Program Slicing

ÚÓ Ù ØÖ Ó Ø Ö ÓÙÒØ Øµ ØÖÙØ Ø ÒÓ Ø Ñµ» Ø ÚÓ Ù ØÖ Ó Ø Ö ÓÙÒØ ÔÙص ØÖÙØ Ø ÒÓ Ø Ñµ» Ø ØÖÙØ Ù ØÖ Ó Ý Ö Ò Ñ ½¼ Ô ÒÓ Ø Ó» Ó Ý Ó» ØÖÙØ Ù ØÖ Ù Ø Ø ¾ Ñ Ü Þ» Ò Ø

Problem. Program. Architecture/ISA. Logic. Electrons

Jochen Einbeck Department of Mathematical Sciences, Durham University

Randomized Pursuit-Evasion in Graphs

ÅÓØ Ú Ø ÓÒ Ñ ØÙ Ý ÜØ Ò ÓÒ Ó Û Ðй ÒÓÛÒ ÈÌ Ñ Ý Ø Ñ Ä ÈÄ Ò ØÓ ÒÖ ÒØ Ò ÓÒ Ð ÜÔÖ Ú Ò Ý Ö Ð Ü Ò Ð Ò Ö ØÝ Ý ÓÑ Ò Ò Ö ÒØ Ö ÙÖ ÓÒ Ñ ÒØÓ ÓÒ Ý Ø Ñ Ý ÝÒØ Ø Ð Ñ Ø

ÓÑÔÙØ Ð ÙÒØ ÓÒ Ò Ë Ñ ÓÑÔÙØ Ð Ë Ø ÓÒ Å Òݹ ÓÖØ Ð Ö Âº κ ÌÙ Ö Ò Âº Áº Ù Ö ÓÒØ ÒØ ½ ÁÒØÖÓ ÙØ ÓÒ º º º º º º º º º º º º º º º º º º º º º º º º º º º º

Event Based Sequential Program Development: Application to Constructing a Pointer Program

ÁÒ ÙØ Ú ¹ ÙØ Ú ËÝ Ø Ñ Ñ Ø Ñ Ø Ð ÐÓ Ò Ø Ø Ø Ð Ð ÖÒ Ò Ô Ö Ô Ø Ú Æ ÓÐ ÓØ Å Ð Ë Ø ÇÐ Ú Ö Ì ÝØ Ù ÍÒ Ú Ö Ø È Ö ¹ËÙ ÆÊË ÁÆÊÁ ÈÖÓ ¾¼¼

Outflow plane U=V=W=0. 2.5m. 1.95m U=V=W= m (0,0,H) 0.1m. 0.1m y. 0.41m 0.15m. 0.45m U=V=W= m Inflow plane

ÓÒØ ÒØ ½ ÁÒØÖÓ ÙØ ÓÒ ½ ¾ ÈÖ Ð Ñ Ò Ö ¾ ¾º½ Ö Ø ÇÖ Ö ÅÓ Ð ÄÓ º º º º º º º º º º º º º º º º º º º º º º º º º º º º º º º º º ¾ ¾º¾ ÇÖ Ö Ò ÃÖ Ô ÅÓ Ð º

¾ Å Ö ÒÓÚ Ò Ã ÙÖ ÁÒ Â Ú Ø ÕÙ Ñ Ø Ó Û ÓÛ ÓÑÔ Ö Ò Ó Ø Ú Ù ÓÔ¹ ÔÓ ØÓ Ù Ò Ø ³ ÓÔ Ö ØÓÖ Û ÓÑÔ Ö Ó Ø ÒØ Ø ÓÚ ÖÖ Ò Ò Ñ ÓÖ ØÝ Ó º ÓÓ ÔÖÓ Ö ÑÑ Ò Ñ Ø Ó ÓÓ Ý Ù Ø

CMD MDS Recovery DLD

Transcription:

The Nominal Datatype Package in Isabelle/HOL Christian Urban University of Munich joint work with Stefan Berghofer, Markus Wenzel, Alexander Krauss... Notingham, 18. April 2006 p.1 (1/1)

The POPLmark-Challenge How close are we to a world where programming language papers are routinely supported by machine-checked metatheory proofs, where full-scale language definitions are expressed in machine-processed mathematics...? Obviously we aren t there yet: for binders reasonable powerful tools are available: de-bruijn indices (in Coq, Isabelle,...) or HOAS (mainly in Twelf) but apart from some theorem-proving experts, nobody seems to use them; non-experts are still routinely do their proofs on paper, only Notingham, 18. April 2006 p.2 (1/2)

The POPLmark-Challenge How close are we to a world where programming The language aim of papers the nominal are routinely datatypesupported by machine-checked package is to support metatheory the kind proofs, of where full-scale reasoning language thatdefinitions is employed areon expressed paper. in machine-processed The hope is: ifmathematics...? you can do formal proofs on paper, then you can implement them in Isabelle/HOL with ease. Obviously we aren t there yet: for binders reasonable powerful tools are available: That isde-bruijn not a trivial indices task. (in Coq, Isabelle,...) or HOAS (mainly in Twelf) but apart from some theorem-proving experts, nobody seems to use them; non-experts are still routinely do their proofs on paper, only Notingham, 18. April 2006 p.2 (2/2)

Substitution Lemma: If Ü Ý and Ü ¾ Πĵ, then ÅÜ Æ Ý Ä ÅÝ Ä Ü ÆÝ Ä. Proof: By induction on the structure of Å. This is a simple example illustrating Case 1.1. Å Ü. Then both sides equal ÆÝ Ä since Ü Ý. Case 1: Å is a variable. Case Å 1.2. Ý. Then both sides equal Ä, Ü ¾ Πĵ for a point. We have already implies ÄÜ Ä. implemented much more complicated Case 1.3. Å Þ Ü Ý. Then both sides equal Þ. proofs, e.g. Church-Rosser, SN, transitivity of subtyping in Case 2: Å ÞŽ. By the variable convention we may assume Þ Ü Ý that Þ and Æ isnotfreein Ä. Thenbyinductionhypothesis POPLmark, etc. ÞŽµÜ Æ Ý Ä Þ Å½Ü Æ Ý Ä µ Þ Å½Ý Ä Ü ÆÝ Ä µ ÞŽµÝ Ä Ü ÆÝ Ä. Case 3: ŠŽž. The statement follows again from the induc- tion hypothesis. Notingham, 18. April 2006 p.3 (1/8)

Substitution Lemma: If Ü Ý and Ü ¾ Πĵ, then ÅÜ Æ Ý Ä ÅÝ Ä Ü ÆÝ Ä. Proof: By induction on the structure of Å. Case 1: Å is a variable. Case Å 1.1. Ü. Then both sides ÆÝ Ä equal Ü since Ý. Case 1.2. Å Ý. Then both sides equal Ä, for Ü ¾ Πĵ implies ÄÜ Ä. Case 1.3. Å Þ Ü Ý. Then both sides equal Þ. ÞŽ. By the variable convention we may assume Þ Ü Ý that Þ and Æ isnotfreein Ä. Thenbyinductionhypothesis Case 2: Å ÞŽµÜ Æ Ý Ä Þ Å½Ü Æ Ý Ä µ Þ Å½Ý Ä Ü ÆÝ Ä µ ÞŽµÝ Ä Ü ÆÝ Ä. Case 3: ŠŽž. The statement follows again from the induc- tion hypothesis. Notingham, 18. April 2006 p.3 (2/8)

Substitution Lemma: If Ü Ý and Ü ¾ Πĵ, then ÅÜ Æ Ý Ä ÅÝ Ä Ü ÆÝ Ä. Proof: By induction on the structure of Å. Case 1: Å is a variable. Case Å 1.1. Ü. Then both sides ÆÝ Ä equal Ü since Ý. Case 1.2. Å Ý. Then both sides equal Ä, for Ü ¾ Πĵ implies ÄÜ Ä. Case 1.3. Å Þ Ü Ý. Then both sides equal Þ. ÞŽ. By the variable convention we may assume Þ Ü Ý that Þ and Æ isnotfreein Ä. Thenbyinductionhypothesis Case 2: Å ÞŽµÜ Æ Ý Ä Þ Å½Ü Æ Ý Ä µ Þ Å½Ý Ä Ü ÆÝ Ä µ ÞŽµÝ Ä Ü ÆÝ Ä. Case 3: ŠŽž. The statement follows again from the induc- tion hypothesis. Notingham, 18. April 2006 p.3 (3/8)

Substitution Lemma: If Ü Ý and Ü ¾ Πĵ, then ÅÜ Æ Ý Ä ÅÝ Ä Ü ÆÝ Ä. Proof: By induction on the structure of Å. Case 1: Å is a variable. Case Å 1.1. Ü. Then both sides ÆÝ Ä equal Ü since Ý. Case 1.2. Å Ý. Then both sides equal Ä, for Ü ¾ Πĵ implies ÄÜ Ä. Case 1.3. Å Þ Ü Ý. Then both sides equal Þ. ÞŽ. By the variable convention we may assume Þ Ü Ý that Þ and Æ isnotfreein Ä. Thenbyinductionhypothesis Case 2: Å ÞŽµÜ Æ Ý Ä Þ Å½Ü Æ Ý Ä µ Þ Å½Ý Ä Ü ÆÝ Ä µ ÞŽµÝ Ä Ü ÆÝ Ä. Case 3: ŠŽž. The statement follows again from the induc- tion hypothesis. Notingham, 18. April 2006 p.3 (4/8)

Substitution Lemma: If Ü Ý and Ü ¾ Πĵ, then ÅÜ Æ Ý Ä ÅÝ Ä Ü ÆÝ Ä. Proof: By induction on the structure of Å. Case 1: Å is a variable. Case Å 1.1. Ü. Then both sides ÆÝ Ä equal Ü since Ý. Case 1.2. Å Ý. Then both sides equal Ä, for Ü ¾ Πĵ implies ÄÜ Ä. Case 1.3. Å Þ Ü Ý. Then both sides equal Þ. ÞŽ. By the variable convention we may assume Þ Ü Ý that Þ and Æ isnotfreein Ä. Thenbyinductionhypothesis Case 2: Å ÞŽµÜ Æ Ý Ä Þ Å½Ü Æ Ý Ä µ Þ Å½Ý Ä Ü ÆÝ Ä µ ÞŽµÝ Ä Ü ÆÝ Ä. Case 3: ŠŽž. The statement follows again from the induc- tion hypothesis. Notingham, 18. April 2006 p.3 (5/8)

Substitution Lemma: If Ü Ý and Ü ¾ Πĵ, then ÅÜ Æ Ý Ä ÅÝ Ä Ü ÆÝ Ä. Proof: By induction on the structure of Å. Case 1: Å is a variable. Case Å 1.1. Ü. Then both sides ÆÝ Ä equal Ü since Ý. Case 1.2. Å Ý. Then both sides equal Ä, for Ü ¾ Πĵ implies ÄÜ Ä. Case 1.3. Å Þ Ü Ý. Then both sides equal Þ. ÞŽ. By the variable convention we may assume Þ Ü Ý that Þ and Æ isnotfreein Ä. Thenbyinductionhypothesis Case 2: Å ÞŽµÜ Æ Ý Ä Þ Å½Ü Æ Ý Ä µ Þ Å½Ý Ä Ü ÆÝ Ä µ ÞŽµÝ Ä Ü ÆÝ Ä. Case 3: ŠŽž. The statement follows again from the induc- tion hypothesis. Notingham, 18. April 2006 p.3 (6/8)

Remember: only if Ý Ü and Ü ¾ ΠƵ then Substitution Lemma: If Ü Ý and Ü ¾ Πĵ, then Æ Ý Ä ÅÝ Ä Ü ÆÝ Ä. ÝÅµÜ Æ Ý ÅÜ Æ µ ÅÜ Proof: By induction on the structure of ÞŽµÜ Æ Ý Ä Å. Å Case 1.1. Ü. Then both ÆÝ Ä sides Ü equal since Ý. Case 1: Å is a variable. Þ Å½Ü Æ µµý Ä Case Å 1.2. Ý. Then both sides equal Ä, Ü ¾ Πĵ Þ Å½Ü Æ Ý Ä µ for ÄÜ implies Þ Å½Ý Ä Ü ÆÝ Ä µ Ä. Case 1.3. Å Þ Ü Ý. Then both sides equal Þ. ¾ Þ Å½Ý Ä µµü ÆÝ Ä µ! Case 2: ÞŽ. Å By the variable convention we may ½ assume Ä Ü ÆÝ Ä. ÞŽµÝ that and Æ isnotfreein Þ Ä. Ý Ü Þ Thenbyinductionhypothesis ½ ¾ IH ÞŽµÜ Æ Ý Ä Þ Å½Ü Æ Ý Ä µ Þ Å½Ý Ä Ü ÆÝ Ä µ ÞŽµÝ Ä Ü ÆÝ Ä. Case 3: ŠŽž. The statement follows again from the induc- tion hypothesis. Notingham, 18. April 2006 p.3 (7/8)

Substitution Lemma: If Ü Ý and Ü ¾ Πĵ, then ÅÜ Æ Ý Ä ÅÝ Ä Ü ÆÝ Ä. Proof: By induction on the structure of Å. Case 1: Å is a variable. Case Å 1.1. Ü. Then both sides ÆÝ Ä equal Ü since Ý. Case 1.2. Å Ý. Then both sides equal Ä, for Ü ¾ Πĵ implies ÄÜ Ä. Case 1.3. Å Þ Ü Ý. Then both sides equal Þ. ÞŽ. By the variable convention we may assume Þ Ü Ý that Þ and Æ isnotfreein Ä. Thenbyinductionhypothesis Case 2: Å ÞŽµÜ Æ Ý Ä Þ Å½Ü Æ Ý Ä µ Þ Å½Ý Ä Ü ÆÝ Ä µ ÞŽµÝ Ä Ü ÆÝ Ä. Case 3: ŠŽž. The statement follows again from the induc- tion hypothesis. Notingham, 18. April 2006 p.3 (8/8)

Formal Proof in Isabelle lemma forget: assumes a: Ü Ä shows ÄÜ È Ä using a by (nominal induct Ä avoiding: Ü È rule: lam.induct) (auto simp add: abs fresh fresh atm) lemma fresh fact: fixes Þ:: name assumes a: Þ Æ and b: Þ Ä shows Þ ÆÝ Ä using a b by (nominal induct Æ avoiding: Þ Ý Ä rule: lam.induct) (auto simp add: abs fresh fresh atm) lemma subst lemma: assumes a: Ü Ý and b: Ü Ä shows ÅÜ Æ Ý Ä ÅÝ Ä Ü ÆÝ Ä using a b by (nominal induct Å avoiding: Ü Ý Æ Ä rule: lam.induct) (auto simp add: forget fresh fact) Notingham, 18. April 2006 p.4 (1/3)

Formal Proof in Isabelle lemma forget: assumes Ü a: Ä ÄÜ È shows Ä using a by (nominal Ä induct Ü È avoiding: rule: lam.induct) (auto simp add: abs fresh fresh atm) lemma fresh fact: fixes Þ:: name assumes a: Þ Æ and b: Þ Ä shows Þ ÆÝ Ä stands Ü ¾ Πĵ for as Ü reads fresh for Ä is a polymorphic construction from the Nominal Logic Work by Pitts using a b by (nominal induct Æ avoiding: Þ Ý Ä rule: lam.induct) (auto simp add: abs fresh fresh atm) lemma subst lemma: assumes Ü a: Ý and Ü b: Ä ÅÜ Æ Ý Ä ÅÝ Ä Ü ÆÝ shows Ä using a b by (nominal Å induct Ü Ý Æ Ä avoiding: rule: lam.induct) (auto simp add: forget fresh fact) Notingham, 18. April 2006 p.4 (2/3)

Formal Proof in Isabelle lemma forget: assumes a: Ü Ä shows ÄÜ È Ä using a by (nominal induct Ä avoiding: Ü È rule: lam.induct) (auto simp add: abs fresh fresh atm) lemma fresh fact: fixes Þ:: name assumes a: Þ Æ and b: Þ Ä shows Þ ÆÝ Ä using a b by (nominal induct Æ avoiding: Þ Ý Ä rule: lam.induct) (auto simp add: abs fresh fresh atm) lemma subst lemma: assumes a: Ü Ý and b: Ü Ä shows ÅÜ Æ Ý Ä ÅÝ Ä Ü ÆÝ Ä using a b by (nominal induct Å avoiding: Ü Ý Æ Ä rule: lam.induct) (auto simp add: forget fresh fact) Notingham, 18. April 2006 p.4 (3/3)

Crucial Points The nominal datatype package generates the «-equivalence classes as a type in Isabelle/HOL. atom decl name nominal datatype lam = Var name App lam lam Lam name lam ( Lam. 100,100 100) The type lam is defined so that we have equations Lam µ Var Lam µ Var which do not hold for normal datatypes. Notingham, 18. April 2006 p.5 (1/1)

Structural Induction Then automatically generated is a structural induction principle that has Barendregt s convention already build in: Ü È Ü Var µ Ø ½ Ø ¾ Ü Þ È Þ Ø ½ µ Þ È Þ Ø ¾ µ µ È Ü App Ø ½ Ø ¾ µ Ø Ü Ü Þ È Þ Øµ µ È Ü Lam ص È Ü Ø Notingham, 18. April 2006 p.6 (1/7)

Structural Induction Then automatically generated is a structural induction principle that has Barendregt s convention already build in: Ü È Ü Var µ Ø ½ Ø ¾ Ü Þ È Þ Ø ½ µ Þ È Þ Ø ¾ µ µ È Ü App Ø ½ Ø ¾ µ Ø Ü Ü Þ È Þ Øµ µ È Ü Lam ص È Ü Ø the variable over which the induction proceeds:...by induction over the structure of Å... Notingham, 18. April 2006 p.6 (2/7)

Structural Induction Then automatically generated is a structural induction principle that has Barendregt s convention already build in: Ü È Ü Var µ Ø ½ Ø ¾ Ü Þ È Þ Ø ½ µ Þ È Þ Ø ¾ µ µ È Ü App Ø ½ Ø ¾ µ Ø Ü Ü Þ È Þ Øµ µ È Ü Lam ص È Ü Ø the context of the induction; for which the binder should be fresh µ Ü Ý Æ Äµ:...By the variable convention we can assume Þ Ü Ý and Þ not free in Æ, Ä... Notingham, 18. April 2006 p.6 (3/7)

Å Ü Ý Ü Ä µ ÜÝÆĵ Æ Ý Ä ÅÝ Ä Ü ÆÝ Ä ÅÜ Structural Induction Then automatically generated is a structural induction principle that has Barendregt s convention already build in: Ü È Ü Var µ Ø ½ Ø ¾ Ü Þ È Þ Ø ½ µ Þ È Þ Ø ¾ µ µ È Ü App Ø ½ Ø ¾ µ Ø Ü Ü Þ È Þ Øµ µ È Ü Lam ص È Ü Ø the property to be proved by induction: Notingham, 18. April 2006 p.6 (4/7)

Structural Induction Then automatically generated is a structural induction principle that has Barendregt s convention already build in: Ü È Ü Var µ Ø ½ Ø ¾ Ü Þ È Þ Ø ½ µ Þ È Þ Ø ¾ µ µ È Ü App Ø ½ Ø ¾ µ Ø Ü Ü Þ È Þ Øµ µ È Ü Lam ص È Ü Ø One only has to write (more in the talk of Markus Wenzel): by (nominal induct Å avoiding: Ü Ý Æ Ä rule: lam.induct) Notingham, 18. April 2006 p.6 (5/7)

Structural Induction Then automatically generated is a structural induction principle that has Barendregt s convention already build in: Ü È Ü Var µ Ø ½ Ø ¾ Ü Þ È Þ Ø ½ µ Þ È Þ Ø ¾ µ µ È Ü App Ø ½ Ø ¾ µ Ø Ü Ü Þ È Þ Øµ µ È Ü Lam ص Ü Ø È The lambda-case amounts to: Þ Ü Ý Æ Äµ Ä Ü Ý Ü Ä µ ÜÝÆ Æ Ý Ä ÅÝ Ä Ü ÆÝ Ä ÅÜ Ü Ý Ü Ä Lam Þ ÅµÜ Æ Ý Ä Þ ÅµÝ Ä Ü ÆÝ Ä Lam Notingham, 18. April 2006 p.6 (6/7)

Structural Induction Then automatically generated is a structural induction principle that has Barendregt s convention already build in: Ü È Ü Var µ Ø ½ Ø ¾ Ü Þ È Þ Ø ½ µ Þ È Þ Ø ¾ µ µ È Ü App Ø ½ Ø ¾ µ Ø Ü Ü Þ È Þ Øµ µ È Ü Lam ص È Ü Ø By the way: There is a condition for when Barendregt s variable convention is applicable it is almost always satisfied, but not always: needs to be finitely supported (is not allowed to mention Ü all names as free) Notingham, 18. April 2006 p.6 (7/7)

Conclusion the nominal datatype package is still work in progress already quite usable for the lambda-calculus Church-Rosser strong normalisation using candidates weakening (transitivity of subtyping, -calc.) mailing list and download nominal-isabelle@mailbroy.informatik.tu-muenchen.de http://isabelle.in.tum.de/nominal/ Notingham, 18. April 2006 p.7 (1/1)