Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
167 commits
Select commit Hold shift + click to select a range
724664e
Defining MeasureOnSpace as the new notion of resource
shinghinho Feb 4, 2026
969deaf
bump the manifest
Ferinko Feb 5, 2026
9f22758
do not rely on autoImplicit = true
Ferinko Feb 5, 2026
91b7e85
- Put stuff into appropriate namespaces.
Ferinko Feb 5, 2026
5bdc92d
- Define PSpace to be a Subtype rather than a Sub_SET_. This allows u…
Ferinko Feb 5, 2026
5673c5b
Merge pull request #261 from Verified-zkEVM/Ferinko/measureMySpaceR
shinghinho Feb 6, 2026
ebc2142
Proved identity and commutativity law for independent product
shinghinho Feb 6, 2026
8bb6d36
Proved identity and commutativity law for independentProduct
shinghinho Feb 6, 2026
d704946
Unfinished proof of associativity
shinghinho Feb 6, 2026
14a0e8d
Associativity proof
shinghinho Feb 9, 2026
4a11d3d
Associativity proof
shinghinho Feb 9, 2026
8a51c59
PSp as a discrete camera
shinghinho Feb 20, 2026
ac2290e
Discrete CMRA: product space and subspace
shinghinho Feb 24, 2026
00a6319
measurable
shinghinho Feb 25, 2026
30b0daa
prove 'le_preserves_measure'
Ferinko Feb 25, 2026
0f46a64
PSp as an RA
shinghinho Feb 26, 2026
f8df189
Compatibility
shinghinho Mar 2, 2026
9eaeb56
PSpace map
shinghinho Mar 3, 2026
10f78db
Lemmas for MeasurableSpace.map
shinghinho Mar 4, 2026
5a58b14
hone proof
shinghinho Mar 6, 2026
5d57263
Introduced independent product notation + cleanup
Julek Mar 9, 2026
d3fb0e1
Lemma for PSpace.compatiblePerm
shinghinho Mar 9, 2026
53c70ae
Merged and added MeasurableSpace.map_preserves_sum
shinghinho Mar 9, 2026
0b85cc9
Bluebell RA
shinghinho Mar 13, 2026
822420f
Generalizing Var and Val
shinghinho Mar 17, 2026
a2e7ca5
Partial implementation of quotient DiscreteCMRA
shinghinho Apr 1, 2026
5807ece
Complete proof for OrderedUnitalResourceAlgebrar.quotient
shinghinho Apr 2, 2026
78a8bcb
Complete proof for OrderedUnitalResourceAlgebrar.quotient
shinghinho Apr 2, 2026
5248eac
Assertion
shinghinho Apr 8, 2026
338523b
Merge branch 'measureMySpace' of https://github.com/Verified-zkEVM/ir…
shinghinho Apr 8, 2026
a706f9f
Restructure
shinghinho Apr 8, 2026
62391cf
UCMRA instance from OrderedUnitalResourceAlgebra
shinghinho Apr 8, 2026
1cac5f7
Assertion
shinghinho Apr 9, 2026
110e77f
Using new definitions
shinghinho Apr 13, 2026
3e80553
Implement PSp.le_of_mul_left
shinghinho Apr 13, 2026
5fb1cc1
Counterexample for DistInj
shinghinho Apr 14, 2026
1dfcffa
Create subtype for valid elements
shinghinho Apr 15, 2026
6851791
Joint conditioning modality and BI instance
shinghinho Apr 17, 2026
0990c98
Refactor to use BI notations
shinghinho Apr 20, 2026
18bc52a
Refined JC def + started proof of C-TRUE
Julek Apr 21, 2026
7a782eb
Partial proof of C_true
shinghinho Apr 21, 2026
7d9a596
C_True attempt
shinghinho Apr 23, 2026
2988946
Proved C_True
shinghinho Apr 23, 2026
1c60159
Proof of sep_affine
shinghinho Apr 23, 2026
1490763
MeasureOnSpace refactor
shinghinho Apr 24, 2026
9b6f318
PSp.top
shinghinho Apr 24, 2026
31eae38
Added Affine instance for bProp
Julek Apr 24, 2026
7fd37cb
Merge branch 'master' into measureMySpace
Julek Apr 24, 2026
9ad3938
Introduced all classes for bProp
Julek Apr 24, 2026
d6a2380
Reorganizing sections
shinghinho Apr 27, 2026
6434b1d
Hoare triples
shinghinho Apr 27, 2026
26f936d
C_False and C_Transf rule statements formalised
Julek May 15, 2026
52a8728
Merge branch 'measureMySpace' of github.com:Verified-zkEVM/iris-lean …
Julek May 15, 2026
ccb8c5b
Proof of `C_Transf`
Coda-Coda May 22, 2026
e56d262
Sure_Str_Convex statement formalised
Coda-Coda May 19, 2026
cae3fb6
Begin to formalise C-WP-SWAP statement
Coda-Coda May 19, 2026
dbb0d38
Formalise statement of alternate new variant of C-WP-SWAP statement
Coda-Coda May 22, 2026
d30ce7c
Revert to the previous definition of `jointConditioning`
Coda-Coda May 27, 2026
bf820ad
Fix `C_True` lemma
Coda-Coda May 27, 2026
5660bdb
Fix `C_Transf` lemma
Coda-Coda May 27, 2026
548cb96
Prove `C_False`
Coda-Coda May 27, 2026
6bec09b
`And_To_Star` statement formalised, as well as `irrel` and `idx`
Coda-Coda May 27, 2026
c643ac1
Prove `And_To_Star`
Coda-Coda May 28, 2026
9e0fee1
Improve definition of `wp`
Coda-Coda May 29, 2026
eab4f71
`WP_Conj` statement formalised
Coda-Coda May 29, 2026
9124058
Simplify `WP_Conj` statement
Coda-Coda Jun 3, 2026
0c3f509
Fix error in `WP_Conj` statement
Coda-Coda Jun 3, 2026
8c6da78
Revert "Improve definition of `wp`"
Coda-Coda Jun 3, 2026
13f484e
Improve definition of `wp` (second attempt)
Coda-Coda Jun 3, 2026
e8d3fe1
Rewrite `t₁_plus_t₂` in `WP_Conj` due to improved `wp`
Coda-Coda Jun 3, 2026
a467b16
FIx `WP_Swap` draft, due to changes to `wp`
Coda-Coda Jun 3, 2026
1a07f37
Fix statement of `WP_Conj`
Coda-Coda Jun 3, 2026
47bacaf
Fix typo-related mistake
Coda-Coda Jun 3, 2026
ff0a383
Add `dom` as abbreviation for `hyperTermReferences`
Coda-Coda Jun 3, 2026
f4697c7
Define product between PMFs with `sorry` for the required proof
Coda-Coda Jun 4, 2026
5071dae
Finish defining product between PMFs (add required proof)
Coda-Coda Jun 4, 2026
bc622ae
Formalise statement of PROD-SPLIT
Coda-Coda Jun 4, 2026
192c24e
Begin to formalise SURE-AND-STAR statement
Coda-Coda Jun 4, 2026
5a2a870
Formalise statements of some derived rules
Coda-Coda Jun 4, 2026
1d52e2c
Move `Dist_Fun` below Sure_Sub
Coda-Coda Jun 4, 2026
8a33469
Add side-condition for WP_Conj rule
Coda-Coda Jun 10, 2026
f877ac3
Remove comment
Coda-Coda Jun 10, 2026
5142a5b
Add headings for all Bluebell rules
Coda-Coda Jun 10, 2026
aba28bb
Move And_To_Star lemmas+spec+proof under heading
Coda-Coda Jun 10, 2026
4fd1a97
Move Dist_Inj spec+proof under heading
Coda-Coda Jun 10, 2026
21700c9
Move Sure_Merge spec under heading
Coda-Coda Jun 10, 2026
4278ade
Move Sure_And_Star spec under heading
Coda-Coda Jun 10, 2026
7d48414
Move Prod_Split spec under heading
Coda-Coda Jun 10, 2026
dbf0af3
Move C_True spec+proof under heading
Coda-Coda Jun 10, 2026
78116b4
Move C_False spec+proof under heading
Coda-Coda Jun 10, 2026
376b432
Add TODO comments
Coda-Coda Jun 10, 2026
768284f
Add TODO comments
Coda-Coda Jun 10, 2026
470e677
Move C_Transf spec+proof under heading
Coda-Coda Jun 10, 2026
489a8c2
Move Sure_Str_Convex spec under heading
Coda-Coda Jun 10, 2026
94dd805
Add TODO comments
Coda-Coda Jun 10, 2026
0a1fe6e
Move WP_Cons spec+proof under heading
Coda-Coda Jun 10, 2026
12619ea
Move WP_Frame spec+proof under heading
Coda-Coda Jun 10, 2026
9f07704
Add TODO comment
Coda-Coda Jun 10, 2026
49a8e38
Move WP_Conj spec under heading
Coda-Coda Jun 10, 2026
15bd88d
Move C_WP_Swap spec under heading
Coda-Coda Jun 10, 2026
30b1af6
Add TODO comments
Coda-Coda Jun 10, 2026
b7a2265
Move Sure_Dirac spec+proof under heading
Coda-Coda Jun 10, 2026
0e7e1b4
Move Sure_Eq_Inj spec under heading
Coda-Coda Jun 10, 2026
0343a56
Move Sure_Sub spec under heading
Coda-Coda Jun 10, 2026
1d94ebd
Move Dist_Fun spec under heading
Coda-Coda Jun 10, 2026
6acb066
Move Dist_Dup spec under heading
Coda-Coda Jun 10, 2026
641153b
Move Dist_Supp spec under heading
Coda-Coda Jun 10, 2026
8cba470
Move Prod_Unsplit spec under heading
Coda-Coda Jun 10, 2026
cb746d1
Move Sure_Convex spec under heading
Coda-Coda Jun 10, 2026
614f1d3
Move Dist_Convex spec under heading
Coda-Coda Jun 10, 2026
b22e078
Add TODO comments
Coda-Coda Jun 10, 2026
e65175f
Move C_Extract spec under heading
Coda-Coda Jun 10, 2026
ec8c0c9
Add TODO comments
Coda-Coda Jun 10, 2026
d7f4aba
Move Properties section above BluebellRules section
Coda-Coda Jun 10, 2026
da9f6e5
Delete leftover comments from before restructure
Coda-Coda Jun 10, 2026
898de9b
Add DONE comments
Coda-Coda Jun 10, 2026
985521c
Copy in the already done specs from previous Bluebell formalisation (…
Coda-Coda Jun 10, 2026
8c22c2b
Improve comment
Coda-Coda Jun 10, 2026
7049783
Name all rules `theorem` rather than `lemma`
Coda-Coda Jun 10, 2026
9d52667
Definition of relational lifting
Julek Jun 11, 2026
d781202
formalised RL-Cons, RL-Conver, RL-Merge, fix to DIST-Fun and SURE-Sbu
Julek Jun 11, 2026
84ab0c1
Typeclass instances clean up
Coda-Coda Jun 11, 2026
d3aabc5
Improve heading
Coda-Coda Jun 11, 2026
a9fdf64
Remove completed TODO
Coda-Coda Jun 11, 2026
196c90b
Prove C-CONS and RL-CONS rules
Coda-Coda Jun 11, 2026
108c59f
Update comments indicating formalisation progress
Coda-Coda Jun 11, 2026
aaec996
Formalise statement of C-FRAME, C-UNIT-L, C-UNIT-R, C-AND, C-FOR-ALL,…
Coda-Coda Jun 12, 2026
e450e9d
Formalise PMF bind and return as `PMF.bind` and `PMF.pure` by importi…
Coda-Coda Jun 12, 2026
aa4899c
Formalise statement of C-ASSOC and C-UNASSOC
Coda-Coda Jun 12, 2026
6441799
Include a `LawfulMonad PMF` instance by importing ProbabilityMassFunc…
Coda-Coda Jun 12, 2026
4306d31
Show PMF satisfyies monadic laws as written in the paper
Coda-Coda Jun 12, 2026
b1b746f
Fix issue with `⌈E⟨i⟩⌉` notation for `almostSurely`
Coda-Coda Jun 12, 2026
31450c5
Improve precedence for `𝒞⟨μ⟩v; K` notation
Coda-Coda Jun 12, 2026
fbdad29
Fix `C_WP_Swap'`
Coda-Coda Jun 12, 2026
1868f91
Fix unused variable warning
Coda-Coda Jun 12, 2026
fdbb9bd
Prove SURE-EQ-INJ and SURE-CONVEX
Coda-Coda Jun 12, 2026
d232818
Comment out `#check`
Coda-Coda Jun 12, 2026
c797dc0
Fill `sorry` in `t₁_plus_t₂` by showing that the case is unreachable
Coda-Coda Jun 15, 2026
48f2269
Formalise the statement of C-SKOLEM
Coda-Coda Jun 15, 2026
163404e
Formalise the statement of WP-NEST
Coda-Coda Jun 15, 2026
9210182
Use if/then/else instead of matches in WP-NEST
Coda-Coda Jun 15, 2026
44ee3b2
Tweak variable name to match order in the type `I × Var`
Coda-Coda Jun 15, 2026
bb7813c
Formalise statements of C-SWAP and RL-EQ-DIST
Coda-Coda Jun 15, 2026
59683b5
Formalise statement of C-FUSE and define `fusion`
Coda-Coda Jun 16, 2026
80c5809
Fill `sorry` in `fusion` definition showing `HasSum f 1`
Coda-Coda Jun 16, 2026
5691f19
Formalise statement of C-SURE-PROJ, except proof of `HasSum (fun a =>…
Coda-Coda Jun 16, 2026
f51c39f
Add proof of `HasSum ... 1` to C-SURE-PROJ spec
Coda-Coda Jun 16, 2026
db56e0a
Update TODO to reflect that `prf` is done
Coda-Coda Jun 16, 2026
3f1e6ce
Fill `sorry`s in statements of SURE-SUB and DIST-FUN showing `HasSum …
Coda-Coda Jun 16, 2026
1967521
Replace inline proofs of `HasSum ... 1` with `prf` and `let prf : Has…
Coda-Coda Jun 16, 2026
57b871b
Remove unnecessary comments
Coda-Coda Jun 17, 2026
0aaa6e1
Formalise statement of C-SURE-PROJ-MANY
Coda-Coda Jun 17, 2026
b389fe1
Formalise statement of C-DIST-PROJ
Coda-Coda Jun 18, 2026
37af47a
Added definition of pabs and fixed Sure_And_Star accordingly
Julek Jun 24, 2026
3fbf774
WIP on formalising statement of RL-SURE-MERGE
Coda-Coda Jun 25, 2026
7d5811a
Formalised the RL-Unary and Coupling rules + refined RL-Sure-Merge
Julek Jun 25, 2026
8bbf49a
Update comments to indicate what was finished in the previous commit
Coda-Coda Jun 25, 2026
136c9a3
Make TODO comments consistent
Coda-Coda Jun 25, 2026
21b2889
Minor cleanup
Coda-Coda Jun 26, 2026
309e5b4
Prove C-UNIT-L, C-UNASSOC, C-SKOLEM, C-FOR-ALL, C-PURE, SURE-SUB, DIS…
Coda-Coda Jul 3, 2026
d7975ef
Add note on the use of generative AI in the `BluebellRules` section
Coda-Coda Jul 3, 2026
1926d5c
Add "🤖:" to comments that were added by generative AI in the `Bluebel…
Coda-Coda Jul 3, 2026
965589e
Add TODO comment
Coda-Coda Jul 3, 2026
dc3420f
Fix incorrect names of rules in TODO comments (found by Alex's AI)
Coda-Coda Jul 21, 2026
c2fe4dc
Fix mistake in formalisation of statement of RL-EQ-DIST rule (found b…
Coda-Coda Jul 22, 2026
b6dbf4a
Remove requirement for `A` and `X` to be `Inhabited` in RL-EQ-DIST
Coda-Coda Jul 22, 2026
556153c
Remove unnecessary parameters in RL-EQ-DIST (found by Alex's AI)
Coda-Coda Jul 22, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 3 additions & 11 deletions src/Bluebell.lean
Original file line number Diff line number Diff line change
@@ -1,11 +1,3 @@
import Bluebell.Algebra.CMRA
import Bluebell.Algebra.HyperAssertion
import Bluebell.Algebra.PSpPm
import Bluebell.Algebra.Permission
import Bluebell.Algebra.Probability
import Bluebell.Core.Indexed
import Bluebell.Logic.JointCondition
import Bluebell.Logic.Ownership
import Bluebell.Logic.WeakestPre
import Bluebell.ProbabilityTheory.Coupling
import Bluebell.ProbabilityTheory.IndepProduct
import Bluebell.Assertion
Comment thread
alexanderlhicks marked this conversation as resolved.
import Bluebell.OURA
import Bluebell.MeasureOnSpace
211 changes: 0 additions & 211 deletions src/Bluebell/Algebra/CMRA.lean

This file was deleted.

Loading
Loading