Wednesday, November 18, 2020

Counting Intuitions

 This post is an exercise in thinking about vague things.

I think everyone can agree that there are infinity more ways for things to be bad, to not work, as there are for them to work. For things to work, you need a big conjunction of things, you need to be healthy, you need a decent house,  you need good food, you need friends, you need amusements, you need purpose, you need things to be good for your friends, etc...you know the list just keeps growing. While for things to not work, only one of them must be missing. So clearly it's much easier for things to not work, then for them to work, regardless of whichever priority order you put on your personal list.

Even people like me, who do not like probabilities and that have difficulties with them can see that the bad scenarios are much more probable in the big scheme of things than the good ones.

But there is some help to be had. By and large it seems that verifying that something is true is much easier than discovering when something is true. This (possibly very large) gap between the easiness of checking a given answer versus the hardness of coming up with a possible answer is one of the mathematicians most used tools. Note that we do not have a proof for it, it is just obvious for, say, equations of second degree or systems of linear equations. But we extrapolate, we reckon it might happen in all branches of mathematics.

Another helping tool is symmetry: we believe it is everywhere and we love it. It does help to half the work in many situations and the Universe does seem to have a penchant for it. or maybe it's just us, humans, that see it everywhere, when it's only there in some very special places. I don't know of any attempt to measure the amount of symmetry of the Universe, but I know that mathematicians, if they can,  will make things symmetric: symmetric things are prettier.

And a third helping tool is `adversarial thinking', in whichever way you may want to think about it. So this might be games, where there are proponents and opponents and they battle their wits over the truth or falsity of propositions (the mathematician thinking about it might play both sides and hence, perhaps see more clearly the weaknesses of arguments of the other side). Or it might be adversarial training in machine learning, which I don't really enough about to pass judgement on.

In any case, these generic tools are about trying to make the problem easier, about simplifying problems by trying to see what would happen, if they were indeed simpler and easier. 

But of course we know that many times things that are simpler, that look intuitive and clear are just plainly  wrong. The Sun does not move around the Earth; heavier things do not fall faster; things that do seem to stop if not subject to forces non-stop,  actually would keep going non-stop if the attrition of other forces did not stop them. Similarly, lovely graphs in Geometry prove wrong things, because you cannot trust graphs (Escher pictures anyone?)


So one of main points of the apprenticeship in Mathematics is learning to distrust your intuitions. A bit like philosophers who start asking "why" about any and everything, mathematicians have to learn to read the books of they favorite authors doubting every word and trying to prove or disprove every sentence. Being a mathematician is about verifying always; trusting only in special occasions, if at all.



Saturday, November 14, 2020

Partiality Insights

 No, I don't mean political nepotism nor do I mean favoritism within families. 

By partiality, I just mean the prosaic fact that, sometimes, functions are not defined everywhere. 

From humdrum 'step functions' 


to the beautiful poetry of '1/x':
Anyone, mathematician or not, can see the beautiful poetry of missing a zero, but gaining two infinities!

However, Category Theory has only total functions and we need to deal, with grace, as point out Cockett and Garner, with partial functions. What can we do?

It turns out that several partial solutions are available and here are some of the ones I know about:

1. We can use some 3-valued logic, where the third truth-value is some sort of undefined (and there are a few extra choices to be made here);

2. We can use the exceptions monad T(A)= A+1, where A stand for the normal values and 1 is the error of type A;

3. We can talk, like Fourman and Scott do, of "existentials that are uniquely defined";

4. We can try to choose between de Paola and Heller's 'dominical categories', Rosolini's 'P-categories' or Cockett's restriction categories.

Now, if we were to do dialectica constructions, paying attention to partiality, which of these alternatives would be easiest for us? Are there other constructions that are better?

Logic: a quote or two



Confirming once again that nothing is black or white, but an infinitude of greyness, TU - Wien is celebrating World Logic Day 2021. As they wrote:

To enhance public understanding of logic and its implications for science, technology and innovation, in 2019 UNESCO proclaimed the 14 of January the"World Logic Day". The date was selected in honour of Alfred Tarski (born on January 14th) and Kurt Gödel (who died on this date).  We, as the Vienna Center for Logic and Algorithms (VCLA at TU Wien), would like to celebrate World Logic Day 2021.

[...]

We would be honoured if you would be an Ambassador and Supporter of World Logic Day 2021. In the affirmative case, please send us a quote about logic not exceeding 50 words. 

I do want to be an Ambassador and Supporter of Logic, not of Logic Day, so I have been thinking about it on and off for some days. 

I'm not good with epigrams and such-like. I wish I could make slogans like some of my friends. Maybe I should crowdsource this task on Twitter. 

But I do feel that one of the best things ever said about logic is the cartoon from the New Yorker above. This cartoon used to hang from Martin Hyland's door in the old DPMMS building in Mill Lane, when I was doing my phd.

Monday, October 26, 2020

Perils and tribulations of fake Publishing

 


I really must be doing my real work, instead of worrying about the misdeeds in the publishing world.

But given that finding old things in the internet is so difficult and that remembering fraudster's names is so hard, here goes a quick post with a collection of links that hopefully won't disappear too quickly.

First my favourite fraud, from 2010

[PDF] Ike Antkare one of the great stars in the scientific firmament

to the new version in the book

Gaming the Metrics: Misconduct and Manipulation in Academic Research

https://escholarship.org/uc/item/6096m1sp

ISBN

9780262356565

Publication Date

2020-01-28

Then the Japanese health science scandal, which is more serious as the science our doctors practice comes from these faulty clinical trials and meta-studies.

Researcher at the center of an epic fraud remains an enigma to those who exposed him

A little note (from 2014) in the Atlantic:

More Computer-Generated Nonsense Papers Pulled From Science Journals



 

Tuesday, October 13, 2020

Ada Lovelace Day 2020: Andrea Loparic


This year I want to celebrate a female logician from Brazil that I admire a lot. There are many female logicians from Brazil that I admire and I am always worried that choosing any one of them to start from might cause difficulties with the others. This is a reasonable worry, methinks.

But I am taking a leaf from Tim Gowers' book.  Gowers was the person who initiated the boycotting of Elsevier in 2011. When people asked him why he was singling out Elsevier as a bad  player and boycotting them instead of, say, Springer, he replied that the boycott had to start somewhere and that Elsevier were really egregious in the behavior. Dualizing all these bad things, it seems clear that, if I am going to celebrate several female logicians from Brazil, I might as well start with Andrea Loparic, as she is definitely and clearly very good.

Phil Papers has only four of her papers, so far:

  1. Semantical Analysis of Arruda da Costap Systems and Adjacent Non-Replacement Relevant Systems.Richard Routley & Andréa Loparić - 1978 - Studia Logica 37 (4):301 - 320.

  2.  12
    Two Systems of Deontic Logic.Andréa Loparic & L. Puga - 1986 - Bulletin of the Section of Logic 15 (4):137-141.
      
  3.  17
    Valuation Semantics for Intuitionic Propositional Calculus and Some of its Subcalculi.Andréa Loparić - 2010 - Principia: An International Journal of Epistemology 14 (1):125-33.
    In this paper, we present valuation semantics for the Propositional Intuitionistic Calculus (also called Heyting Calculus) and three important subcalculi: the Implicative, the Positive and the Minimal Calculus (also known as Kolmogoroff or Johansson Calculus). Algorithms based in our definitions yields decision methods for these calculi. DOI:10.5007/1808-1711.2010v14n1p125.
     
  4.  15
    The Method of Valuations in Modal Logic.Andréa Loparic - 1978 - Bulletin of the Section of Logic 7 (2):91-91.

    (Google Scholar has more, but it's difficult to know which ones are hers)

    I really would like to do some logic work with her and we kind of started something. We were checking out the Kleene constructive propositional theorems. For me this was the basis of the project to benchmark linear logic, described in 

    Carlos Olarte, Valeria de Paiva, Elaine Pimentel, Giselle Reis. The ILLTP Library for Intuitionistic Linear Logic. arXiv preprint arXiv:1904.06850, 01 February 2019. after Linearity 2018. [PDF
     
    She told me that she had taught these exercises in Kleene's book so many times that it would be easy to reproduce their proofs. I still want those proofs, but I'd prefer them in ND or sequent calculus, instead of axiomatic proofs. 

    I am told that Andrea will not like this celebration, as she apparently does not approve of feminist claims and demands and Ada Lovelace is about demanding that attention be paid to our  achievements. I hope this is not so, or that at least, she's amused, instead of irritated by the celebration!

Friday, October 9, 2020

Mathematistan for All

I do love this map from the Zoog video https://www.youtube.com/watch?v=XqpvBaiJRHo.

Yes, Proof Theory does not show up, neither do Recursion or Set Theory, but the Axiom of Choice is a bright lighthouse in the Ocean of Logic, which at least has a long coast (beach, anyone?) of Category Theory. 

But I hope we can get a nice map of Logic along similar principles and with a similar aesthetics, one of these days. Andres Villaveces tells me he and his students are building one. Meanwhile here's the announcement of my talk at his seminar. The video of me talking pure CT to Andres Villaveces students about Dialectica constructions seems to have disappeared, the link he sent me goes nowhere now. Sad.
 

Thursday, October 8, 2020

Everyone needs a YouTube channel

But mine is not working quite yet. 

Somehow simply copying videos doesn't seem to work. 

Everything that I have tried ends up missing audio or only recording a few seconds or some other disaster. 

 So here is a YouTube list: 

Benchmarking Linear Logic Theorems (Oct2020), talk at the Augusta Colloquium


 Natal and Modal Type Theory (2015)

At the MIT Seminar talking about

relevance logic (July 2020)

Talking at FGV about


semantic parsing in Portuguese.

Talking in the SuperGroup about Lambek Dialectica categories


Talk at Logicos em Quarentena (February 2020) on Structural and Distributional Representations




Talking at IMPA on the First Meeting of Brazilian Mathematics Women (2019)


  Sharing the


TUTORIA with Jaqueline

 


PARC Forum invited by Craig Eldershaw, 2009