Skip to content

prove C_conseq: monotonicity of jointCondition modality - #265

Closed
pirapira wants to merge 2 commits into
masterfrom
fix/C_conseq-proof
Closed

prove C_conseq: monotonicity of jointCondition modality#265
pirapira wants to merge 2 commits into
masterfrom
fix/C_conseq-proof

Conversation

@pirapira

@pirapira pirapira commented Feb 17, 2026

Copy link
Copy Markdown
Collaborator

Summary

Closes #183

🤖 Generated with Claude Code

Reuse the same witnesses (P, p, κ) and apply the entailment hypothesis
to convert K₁ v to K₂ v for each v in the support.

Closes #183

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@github-actions

github-actions Bot commented Feb 17, 2026

Copy link
Copy Markdown

🤖 Gemini PR Summary

This PR formalizes a key property of the 𝑪_ (joint condition) modality within the Bluebell logic framework. It specifically addresses the monotonicity rule, allowing for the substitution of weaker conditions within the modality.

Features

  • Formal Proof of C_conseq: Successfully implemented the consequence/monotonicity rule for the joint condition operator.
  • Logic Formalization: Leverages existential witnesses ($P$, $p$, $\kappa$) to demonstrate that if an entailment holds between two predicates $K_1 \implies K_2$, the joint condition modality preserves this relationship across the PMF (Probability Mass Function) support.

Fixes


File-level changes

  • src/Bluebell/Logic/JointCondition.lean: Contains the formal Lean proof for the C_conseq theorem.

Analysis of Changes

Metric Count
📝 Files Changed 1
Lines Added 3
Lines Removed 1

sorry Tracking

✅ **Removed:** 1 `sorry`(s)
  • theorem C_conseq (h : ∀ v, K₁ v ⊢ K₂ v) : 𝑪_ μ K₁ ⊢ 𝑪_ μ K₂ in src/Bluebell/Logic/JointCondition.lean

🎨 **Style Guide Adherence**

All changes adhere to the style guide.


📄 **Per-File Summaries**
  • src/Bluebell/Logic/JointCondition.lean: Formalizes the proof of the C_conseq theorem, establishing monotonicity for the joint condition operator.

Last updated: 2026-02-17 16:54 UTC.

@pirapira
pirapira marked this pull request as ready for review February 17, 2026 16:50
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@pirapira

Copy link
Copy Markdown
Collaborator Author

This should be held back till the foundation changes.

@pirapira pirapira closed this Feb 18, 2026
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.

Proof obligation for C_conseq in src/Bluebell/Logic/JointCondition.lean

1 participant