Skip to content

Infix proofs #2549

Open
Open
@JacquesCarette

Description

@JacquesCarette

In #2545 @jamesmckinna mentions

most recent (knock-on) commit exposes a slight wrinkle in the parameterization: use here of the lemma, instantiated to Setoid S arises there as (S Membershipₚ.∉[]) _ which looks... not quite right

and proceeds to abandon infix proof names because of that, and @MatthewDaggitt concurs.

I think we should separate two things:

  1. the awful mess Agda makes of printing mixfix names of under-parametrized module-quantified names
  2. stdlib's naming conventions

We could easily consider part 1 to be a temporary (ahem) wart that will, in time, get fixed. It sure is a pain.

But should our naming conventions be robust wrt to under-parametrization at all? It might make sense to have naming conventions that are only 'nice' when module arguments are fully applied, and no guarantees otherwise. I think we're robbing ourselves of some rather elegant syntax if things need to be always even when the number of parameters is "wrong" !!

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions