Revise the theory of the monotone CMRA
In reference to #414 (closed): I just used monotone
, and I have some relevant suggestions with a concrete implementation.
I've also simplifies some proofs using set_solver
.
- Type inference sometimes prefers
principal_injN
overprincipal_inj_instance
(as shown by the included test), which hinders some proofs — that's easily fixed, butprincipal_injN
might warrant more revisions (see below). - Because of
CmraDiscrete (mraR R)
, maybe the theory aboutdist (A := mra R)
should be removed.- This MR removes almost all of this theory.
- I used the
mra_over_ofe
theory over aleibnizO
OFE, but that theory holds for an arbitrary relationS
overA
, as long asR
"respectsS
" in the right way — tying it to ofes seems potentially artificial.- Here I make such instances opt-in via
#[export]
; by default, I only export the theory relevant toS := (=)
, which is onlyprincipal_inj
.
- Here I make such instances opt-in via