Goal duplication #192

Closed
opened 2025-04-18 00:24:43 -07:00 by aniva · 1 comment
Owner

In Mathlib

frontend.process {"file": "open BigOperators Real Nat Topology\n\ntheorem amc12a_2019_p21 (z : ℂ) (h₀ : z = (1 + Complex.I) / Real.sqrt 2) :\n  ((∑ k : ℤ in Finset.Icc 1 12, z ^ k ^ 2) * (∑ k : ℤ in Finset.Icc 1 12, 1 / z ^ k ^ 2)) = 36 := sorry", "invocations": false, "sorrys": true, "newConstants": false, "readHeader": false, "inheritEnv": false, "typeErrorsAsGoals": false}
goal.tactic {"stateId": 0, "goalId": 0, "tactic": "ring_nf"}
goal.tactic {"stateId": 1, "goalId": 0, "tactic": "ring_nf"}

State 2 has two identical goals.

Vide: https://github.com/stanford-centaur/PyPantograph/issues/97

In Mathlib ``` frontend.process {"file": "open BigOperators Real Nat Topology\n\ntheorem amc12a_2019_p21 (z : ℂ) (h₀ : z = (1 + Complex.I) / Real.sqrt 2) :\n ((∑ k : ℤ in Finset.Icc 1 12, z ^ k ^ 2) * (∑ k : ℤ in Finset.Icc 1 12, 1 / z ^ k ^ 2)) = 36 := sorry", "invocations": false, "sorrys": true, "newConstants": false, "readHeader": false, "inheritEnv": false, "typeErrorsAsGoals": false} goal.tactic {"stateId": 0, "goalId": 0, "tactic": "ring_nf"} goal.tactic {"stateId": 1, "goalId": 0, "tactic": "ring_nf"} ``` State 2 has two identical goals. Vide: https://github.com/stanford-centaur/PyPantograph/issues/97
aniva added this to the 0.3.1 milestone 2025-04-18 00:24:43 -07:00
aniva added the
category
bug
priority
high
part/Goal
labels 2025-04-18 00:24:43 -07:00
aniva self-assigned this 2025-04-18 00:24:43 -07:00
Author
Owner

This is a pathological behaviour from Mathlib's ring_nf tactic. We could add a guard for it.

This is a pathological behaviour from Mathlib's `ring_nf` tactic. We could add a guard for it.
aniva removed the
priority
high
label 2025-04-18 21:32:23 -07:00
aniva closed this issue 2025-05-01 08:59:37 -07:00
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: aniva/Pantograph#192
No description provided.