Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated CCS example #1248

Merged
merged 1 commit into from
Jun 6, 2024
Merged

Updated CCS example #1248

merged 1 commit into from
Jun 6, 2024

Conversation

binghe
Copy link
Member

@binghe binghe commented Jun 3, 2024

Hi,

This PR contains some updates to the CCS example, after the underlying datatype was converted to nominal types, shared with the lambda example. (These updates, however, are big not enough for new publications on the CCS example.)

In the formalization of multivariate unique solution of equations, the previous home-craft simultaneous substitution (called fromList) has been replaced with the ssub (in form of fromPairs) inherited from the lambda examples. This name change has caused many modifications in MultivariateScript.sml while the actual proof changes are minor.

In addition, the concept of multivariate context has slightly changed, with a parameter changed from list to set (as the order is irrelevant):

context_def
⊢ ∀Xs E. context Xs E ⇔ ∀X. X ∈ Xs ⇒ CONTEXT (λt. CCS_Subst E t X)

On the other hand, the univariate version of strong unique solution of equations has the following "extended" version:

STRONG_UNIQUE_SOLUTION_EXT
⊢ ∀C1 C2 P Q. WG C1 ∧ WG C2 ∧ (∀t. C1 t ∼ C2 t) ∧ P ∼ C1 P ∧ Q ∼ C2 Q ⇒ P ∼ Q

which easily leads to the original version:

STRONG_UNIQUE_SOLUTION
⊢ ∀E P Q. WG E ∧ P ∼ E P ∧ Q ∼ E Q ⇒ P ∼ Q

The above "extended" version may have some other applications (in the future).

P.S. These work has been pending in my personal branch for several months.

--Chun

@mn200
Copy link
Member

mn200 commented Jun 6, 2024

It's nice to see this continue to develop!

@mn200 mn200 merged commit 2d2cddf into HOL-Theorem-Prover:develop Jun 6, 2024
4 checks passed
@binghe binghe deleted the CCS.updates branch June 7, 2024 01:07
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.

2 participants