Online Dec22
Meeting Information
This short online meeting was organised by the chair and secretary for members and observers to get in touch during the corona pandemic.
Date & Zoom Link
Wednesday 2022-12-14. 1pm-4pm UTC
Zoom: https://anu.zoom.us/j/83340367084?pwd=bk9rZFhLd1dOWTAvSzE0aFFLVVh5UT09
Participants
Individual participation is not recorded.
We had 18 participants in Zoom.
Technical presentations in scheduled order
Please volunteer to present your research!
Patrik Jansson: Level-p-complexity of Boolean Functions: Using thinning, memoization, and polynomials_ (joint work with Julia Jansson)
This talk presents a function for computing level-$p$-complexity of Boolean functions, and applies it to two-level iterated majority.
The function is specified as a classical optimisation problem: first generate all candidates, then pick the best one. To make this function efficient we we use use thinning and memoization and for seperation of concerns we use type classes.
The complexity is represented using polynomials, and the order relation used for thinning is implemented using polynomial factorisation and root-counting.
Oleg Kiselyov: Mutable Variables and Reference Types - or, L-values Demystified_
In Fortran/Algol tradition, a mutable variable is a variable that can
be directly mutated as such -- by assignment, increment, etc. In contrast, ML tradition uses variables of reference types, bound to `boxed values', or reference cells. These are ordinary, lambda-calculus variables that can be substituted for but not mutated. What is mutated is their value, the `box'. The two models seem equivalent and easily relatable. When we actually try to relate them, we discover many subtleties, which make the problem nearly intractable. Not surprisingly, aliasing is the culprit.
Upon systematic investigation we discover a way to formally relate the two traditions. Practically, we can write (or generate) OCaml code using reference-type variables, and straightforwardly map it to the idiomatic C and be certain of its meaning (in C). We may hence write in (a subset of) OCaml as if it were C, obtaining all the performance guarantees of the C code (and benefiting from vectorization, etc. of modern C compilers).
In the Fortran/Algol tradition, the semantics of assignment is complicated and to understand it, L-values were introduced decades ago. L-values simplify assignment by taking all the complexity upon themselves. Our relation of two traditions showed L-values are not needed: they are mere complication of syntactic sugar. Upon straightforward desugaring, mutable variables are no more mysterious than reference cells.
-- Main.PeterHoefner - 14 Dec 2022