Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Notation of cvg can be broken #1195

Open
IshiguroYoshihiro opened this issue Mar 28, 2024 · 0 comments
Open

Notation of cvg can be broken #1195

IshiguroYoshihiro opened this issue Mar 28, 2024 · 0 comments
Labels
"bug" 🐛 This issue (resp. PR) describes (resp. fixes) a "bug"

Comments

@IshiguroYoshihiro
Copy link
Contributor

Sometimes notation _ @ _ --> _ is broken after under eq_cvg or under eq_fun.

Here is my example.

From HB Require Import structures.
From mathcomp Require Import all_ssreflect ssralg ssrnum ssrint interval finmap.
From mathcomp Require Import mathcomp_extra boolp classical_sets functions.
From mathcomp Require Import cardinality fsbigop.
Require Import signed reals ereal topology normedtype sequences real_interval.
Require Import esum measure lebesgue_measure .

Set Implicit Arguments.
Unset Strict Implicit.
Unset Printing Implicit Defensive.
Import Order.TTheory GRing.Theory Num.Def Num.Theory.
Import numFieldTopology.Exports.

Local Open Scope classical_set_scope.
Local Open Scope ring_scope.

Example hoge (R : realType) (f : nat -> R) : f x @[x --> \oo] --> 0.
Proof.
under eq_cvg do idtac.
Restart.
under eq_fun do idtac.
Abort.

At first, the goal is

  R : realType
  f : nat -> R
  ============================
  f x @[x --> \oo] --> 0

but the notation is broken by under eq_cvg do idtac :

  R : realType
  f : nat -> R
  ============================
  forall t : set R,
  nbhs
    [set P | (exists2 i : R, [set e | 0 < e] i & ball_ [eta normr] 0 i `<=` P)]
    t -> nbhs (f x @[x --> \oo]) t

there is a similar case for under eq_fun do idtac:

  R : realType
  f : nat -> R
  ============================
  forall t : set R, nbhs 0 t -> nbhs (f x @[x --> \oo]) t
@affeldt-aist affeldt-aist added the "bug" 🐛 This issue (resp. PR) describes (resp. fixes) a "bug" label Mar 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
"bug" 🐛 This issue (resp. PR) describes (resp. fixes) a "bug"
Projects
None yet
Development

No branches or pull requests

2 participants