Documentation

Miri.Memory.InitMask

Checked Lean model of the pinned rustc allocation initialization mask.

Equations
Instances For
    Equations
    • One or more equations did not get rendered due to their size.
    Instances For
      Instances For
        Equations
        • One or more equations did not get rendered due to their size.
        Instances For
          Instances For
            Equations
            Instances For
              Equations
              • One or more equations did not get rendered due to their size.
              Instances For
                Instances For
                  Equations
                  Instances For
                    Equations
                    • One or more equations did not get rendered due to their size.
                    Instances For
                      Instances For
                        Instances For
                          Equations
                          Instances For
                            Equations
                            • One or more equations did not get rendered due to their size.
                            Instances For
                              Equations
                              • One or more equations did not get rendered due to their size.
                              Instances For
                                Equations
                                Instances For
                                  Equations
                                  Instances For
                                    Equations
                                    • One or more equations did not get rendered due to their size.
                                    Instances For
                                      Equations
                                      • One or more equations did not get rendered due to their size.
                                      Instances For
                                        Equations
                                        • One or more equations did not get rendered due to their size.
                                        Instances For
                                          Equations
                                          • One or more equations did not get rendered due to their size.
                                          Instances For
                                            Equations
                                            • One or more equations did not get rendered due to their size.
                                            Instances For
                                              Equations
                                              • One or more equations did not get rendered due to their size.
                                              Instances For
                                                theorem Miri.Memory.InitMask.lazy_get (size index : ABI.Size) (state : Bool) :
                                                (new size state).get index = Except.ok state
                                                theorem Miri.Memory.InitMask.lazy_initialized_query (size : ABI.Size) (range : AllocRange) (finish : ABI.Size) (hEnd : range.endExclusive = Except.ok finish) (hInBounds : finish.bytes ≤ size.bytes) :
                                                theorem Miri.Memory.InitMask.lazy_uninitialized_query (size : ABI.Size) (range : AllocRange) (finish : ABI.Size) (hEnd : range.endExclusive = Except.ok finish) (hInBounds : finish.bytes ≤ size.bytes) :
                                                theorem Miri.Memory.InitMask.full_overwrite_stays_lazy (size finish : ABI.Size) (oldState newState : Bool) (range : AllocRange) (hEnd : range.endExclusive = Except.ok finish) (hStart : range.start.bytes = 0) (hFull : size.bytes ≤ finish.bytes) :
                                                (new size oldState).setRange range newState = Except.ok (new finish newState)
                                                Equations
                                                • One or more equations did not get rendered due to their size.
                                                Instances For
                                                  theorem Miri.Memory.InitMask.WriteProof.set_range_exists (mask : InitMask) (range : AllocRange) (finish : ABI.Size) (state : Bool) (valid : WellFormed mask) (endpoint : range.endExclusive = Except.ok finish) (nonempty : range.start.bytes.toNat < finish.bytes.toNat) (inBounds : finish.bytes.toNat ≤ mask.len.bytes.toNat) :
                                                  ∃ (updated : InitMask), mask.setRange range state = Except.ok updated ∧ updated.len = mask.len ∧ WellFormed updated