Skip to content

Fix definition of space#161

Open
crei wants to merge 19 commits intomainfrom
fix_space
Open

Fix definition of space#161
crei wants to merge 19 commits intomainfrom
fix_space

Conversation

@crei
Copy link
Copy Markdown
Owner

@crei crei commented Apr 20, 2026

No description provided.

fmontesi and others added 19 commits March 30, 2026 10:33
Generalises current behavioural equivalences (bisimulation and weak
variants, simulation, and trace equivalence) to states in different
LTSs, rather than assuming that the states being compared are in the
same LTS. The convenience of homogeneous relations is retained via
abbreviations (e.g., `HomBisimilarity`) and backwards-compatible
notation.

The aim of this PR is to facilitate proving the correctness of
compilers, where states usually are in different languages.
Co-authored-by: Chris Henson <chrishenson.net@gmail.com>
…#466)

Add the implementation of `DecidableEq` for `FinFun`
[This
commit](leanprover-community/mathlib4@ed4fde1#diff-54ef6c59abdddf67950b1ee785a0c22c7e03d04f9ad8cdb7cf1d336a72f4d850)
in mathlib4 moves `foldl_eq_foldr` to another module, so we need to
import it or the build fails with

```lean
error: Cslib/Computability/URM/Basic.lean:178:27: Unknown constant `List.foldl_eq_foldr`
```

This PR updates the lake manifest past this commit with `lake update
mathlib` and fixes the issue
Co-authored-by: mathlib4-bot <github-mathlib4-bot@leanprover.zulipchat.com>
Co-authored-by: leanprover-community-mathlib4-bot <129911861+leanprover-community-mathlib4-bot@users.noreply.github.com>
Co-authored-by: Kim Morrison <kim@tqft.net>
Co-authored-by: leanprover-community-mathlib4-bot <leanprover-community-mathlib4-bot@users.noreply.github.com>
Co-authored-by: Chris Henson <chrishenson.net@gmail.com>
Co-authored-by: Chris Henson <46805207+chenson2018@users.noreply.github.com>
Co-authored-by: Kim Morrison <477956+kim-em@users.noreply.github.com>
Co-authored-by: Ching-Tsun Chou <chingtsun.chou@gmail.com>
Co-authored-by: Alexandre Rademaker <arademaker@gmail.com>
Co-authored-by: mathlib-nightly-testing[bot] <mathlib-nightly-testing[bot]@users.noreply.github.com>
Co-authored-by: mathlib-nightly-testing[bot] <258991302+mathlib-nightly-testing[bot]@users.noreply.github.com>
This PR defines propositions for propositional logic, including notation
for the logical connectives. A `Theory` is a set of `Proposition`. Also
defines minimal, intuitionistic and classical theories, and extensions
of maps `Atom → Atom'` to maps `Proposition Atom → Proposition Atom'`
and `Theory Atom → Theory Atom'`.

---------

Co-authored-by: twwar <tom.waring@unimelb.edu.au>
This PR resolves leanprover#387.

---------

Co-authored-by: Chris Henson <chrishenson.net@gmail.com>
Co-authored-by: Chris Henson <46805207+chenson2018@users.noreply.github.com>
This PR updates the weekly linting job to use the full
`linter.weeklyLintSet` and the same reporting script as Mathlib for
consistency. The manifest update is intentional to bring in new linting
added in leanprover-community/mathlib4#37916.
This fixes some statements that were type incorrect; their LHS was `Id
X` and their RHS `X`. The latter can be cast to the former with `pure`.
…eanprover#464)

Adds `Cslib.Cryptography.PerfectSecrecy` with information-theoretic
private-key encryption schemes and perfect secrecy following
Katz-Lindell, Chapter 2:

- `EncScheme`: private-key encryption (Definition 2.1)
- `PerfectlySecret`: perfect secrecy (Definition 2.3)
- `perfectlySecret_iff_ciphertextIndist`: ciphertext
indistinguishability characterization (Lemma 2.5)
- `otp`: the one-time pad construction (Construction 2.9)
- `otp_perfectlySecret`: the OTP is perfectly secret (Theorem 2.10)
- `perfectlySecret_keySpace_ge`: Shannon's theorem, |K| ≥ |M| (Theorem
2.12)

For some context, Katz reviewed this in its original home:
SamuelSchlesinger/introduction-to-modern-cryptography#1.
Co-authored-by: Chris Henson <chrishenson.net@gmail.com>
Co-authored-by: Chris Henson <46805207+chenson2018@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

10 participants