Documentation

Core.Go.Semantics.Defs

Go-specific semantics, built on the domain theory of Domains.lean/Operations.lean.

Some helpers #

noncomputable def boolean {ฮฑ : Sort u_1} (v : (Value.๐• Store.type Channel Address Go.Typ).type) (default : ฮฑ) (f : Bool โ†’ ฮฑ) :
ฮฑ
Equations
  • One or more equations did not get rendered due to their size.
Instances For
    noncomputable def integer {ฮฑ : Sort u_1} (v : (Value.๐• Store.type Channel Address Go.Typ).type) (default : ฮฑ) (f : โ„ค โ†’ ฮฑ) :
    ฮฑ
    Equations
    • One or more equations did not get rendered due to their size.
    Instances For
      noncomputable def string {ฮฑ : Sort u_1} (v : (Value.๐• Store.type Channel Address Go.Typ).type) (default : ฮฑ) (f : String โ†’ ฮฑ) :
      ฮฑ
      Equations
      • One or more equations did not get rendered due to their size.
      Instances For
        noncomputable def array {ฮฑ : Sort u_1} (v : (Value.๐• Store.type Channel Address Go.Typ).type) (default : ฮฑ) (f : (n : โ„•) โ†’ UniformFun (Fin n) (Value.๐• Store.type Channel Address Go.Typ).type โ†’ ฮฑ) :
        ฮฑ
        Equations
        • One or more equations did not get rendered due to their size.
        Instances For
          noncomputable def channel {ฮฑ : Sort u_1} (v : (Value.๐• Store.type Channel Address Go.Typ).type) (default : ฮฑ) (async : Address โ†’ Go.Typ โ†’ Address โ†’ Address โ†’ ฮฑ) :
          ฮฑ
          Equations
          • One or more equations did not get rendered due to their size.
          Instances For
            noncomputable def tuple {ฮฑ : Sort u_1} (v : (Value.๐• Store.type Channel Address Go.Typ).type) (default : ฮฑ) (tup : List (Value.๐• Store.type Channel Address Go.Typ).type โ†’ ฮฑ) :
            ฮฑ
            Equations
            • One or more equations did not get rendered due to their size.
            Instances For
              noncomputable def struct {ฮฑ : Sort u_1} (v : (Value.๐• Store.type Channel Address Go.Typ).type) (default : ฮฑ) (struct : UniformFun String (Option (Value.๐• Store.type Channel Address Go.Typ).type) โ†’ ฮฑ) :
              ฮฑ
              Equations
              • One or more equations did not get rendered due to their size.
              Instances For
                noncomputable def func {ฮฑ : Sort u_1} (v : (Value.๐• Store.type Channel Address Go.Typ).type) (default : ฮฑ) (fn : (List Address ร— List Channel โ†’ Domain Store.type Channel (Value.Send๐• Address Go.Typ) PUnit.{1}) โ†’ ฮฑ) :
                ฮฑ
                Equations
                • One or more equations did not get rendered due to their size.
                Instances For
                  noncomputable def Domain.branches {ฮฑ : Type u_1} {ฮฒ : Type u_2} {ฮ“ : Type u_3} {ยซฮฃยป : Type u_4} [IMetricSpace ฮฒ] [IMetricSpace ยซฮฃยป] [IMetricSpace ฮ“] [IMetricSpace ฮฑ] [CompleteSpace ยซฮฃยป] [CompleteSpace ฮ“] [CompleteSpace ฮฑ] [CompleteSpace ฮฒ] (p : Domain ยซฮฃยป ฮ“ ฮฑ ฮฒ) (ฯƒ : ยซฮฃยป) :
                  Option (Set (Branch ยซฮฃยป ฮ“ ฮฑ (Domain ยซฮฃยป ฮ“ ฮฑ ฮฒ)))
                  Equations
                  Instances For

                    The main semantics #

                    @[irreducible]
                    Equations
                    Instances For

                      Value equality, for comparable values.

                      Instances For

                        Value disequality, for comparable values.

                        Instances For
                          Equations
                          • One or more equations did not get rendered due to their size.
                          Instances For
                            Equations
                            Instances For
                              Equations
                              • One or more equations did not get rendered due to their size.
                              Instances For
                                @[irreducible]
                                Equations
                                Instances For
                                  @[irreducible]
                                  Equations
                                  Instances For
                                    @[irreducible]
                                    Equations
                                    Instances For
                                      @[irreducible]
                                      Equations
                                      Instances For
                                        @[irreducible]
                                        Equations
                                        Instances For