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

Intersection theory: fix issue #4512 and more #4526

Merged
merged 10 commits into from
Feb 3, 2025
Merged

Intersection theory: fix issue #4512 and more #4526

merged 10 commits into from
Feb 3, 2025

Conversation

wdecker
Copy link
Collaborator

@wdecker wdecker commented Jan 31, 2025

Intersection theory:

  • blowup --> blow_up
  • add more text and examples to docu
  • in particular, start documenting code connected to Bott's formula

ping @pbelmans, @thofma

@joschmitt joschmitt linked an issue Jan 31, 2025 that may be closed by this pull request
Copy link

codecov bot commented Jan 31, 2025

Codecov Report

Attention: Patch coverage is 88.23529% with 2 lines in your changes missing coverage. Please review.

Project coverage is 84.40%. Comparing base (eb35e0e) to head (8ddc947).
Report is 5 commits behind head on master.

Files with missing lines Patch % Lines
experimental/IntersectionTheory/src/Bott.jl 83.33% 2 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##           master    #4526   +/-   ##
=======================================
  Coverage   84.40%   84.40%           
=======================================
  Files         672      672           
  Lines       89126    89143   +17     
=======================================
+ Hits        75225    75242   +17     
  Misses      13901    13901           
Files with missing lines Coverage Δ
...ental/IntersectionTheory/src/IntersectionTheory.jl 100.00% <ø> (ø)
experimental/IntersectionTheory/src/Main.jl 93.27% <ø> (ø)
experimental/IntersectionTheory/src/blowup.jl 98.85% <100.00%> (ø)
experimental/IntersectionTheory/src/Bott.jl 74.01% <83.33%> (+6.78%) ⬆️

... and 9 files with indirect coverage changes

@lgoettgens lgoettgens changed the title fix issue #4512 and more Intersection theory: fix issue #4512 and more Jan 31, 2025
@lgoettgens lgoettgens added the experimental Only changes experimental parts of the code label Jan 31, 2025
Products and blowups are described elsewhere.
Products and blow_ups are described elsewhere.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for renaming the method blowup(...) to blow_up(...).
It seems that in some places such as here, the word blowup was changed as well, where it is not a function name but a just mathematical terminology. Maybe these changes were unintended?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@simonbrandhorst thanks; reversed with 1d22cc0

Comment on lines 107 to 109
fix_points(X::TnVariety)

Return the fix points representing `X`.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please double check the spelling of "fix points" I believe it is 'fixed points'.

experimental/IntersectionTheory/src/Bott.jl Show resolved Hide resolved
@@ -5,6 +5,10 @@ DocTestSetup = Oscar.doctestsetup()

# Abstract Variety Maps

## Types

The OSCAR type for abstract varieties is `AbstractVarietyMap`.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe this?

Suggested change
The OSCAR type for abstract varieties is `AbstractVarietyMap`.
The OSCAR type for abstract variety maps is `AbstractVarietyMap`.

@@ -3,12 +3,12 @@ CurrentModule = Oscar
DocTestSetup = Oscar.doctestsetup()
```

# Blowups
# Blow_Ups
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
# Blow_Ups
# Blow Ups

@@ -177,6 +177,8 @@ Given an element `x` of the Chow ring of an abstract variety `X`, say, return th

###### Examples

Lines on a General Cubic Hypersurface in $\mathbb P^3$
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shouldn't the capitalization here and elsewhere be like this?

Suggested change
Lines on a General Cubic Hypersurface in $\mathbb P^3$
Lines on a general cubic hypersurface in $\mathbb P^3$

Or maybe this is meant to be like a headline -- but then I'd also expect it to be boldface, or maybe an actual sub^N-section:

Suggested change
Lines on a General Cubic Hypersurface in $\mathbb P^3$
##### Lines on a General Cubic Hypersurface in $\mathbb P^3$


Return an abstract_variety with a torus action, represented by the fixed points.
"""
tn_variety(n::Int, points::Vector{Pair{P, Int}}) where P = TnVariety(n::Int, points::Vector{Pair{P, Int}}) where P
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
tn_variety(n::Int, points::Vector{Pair{P, Int}}) where P = TnVariety(n::Int, points::Vector{Pair{P, Int}}) where P
tn_variety(n::Int, points::Vector{Pair{P, Int}}) where P = TnVariety(n::Int, points::Vector{Pair{P, Int}})

@wdecker wdecker enabled auto-merge (squash) February 3, 2025 16:36
@wdecker wdecker merged commit 50032df into master Feb 3, 2025
26 of 29 checks passed
@wdecker wdecker deleted the Wolfram branch February 3, 2025 16:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
experimental Only changes experimental parts of the code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

blow_up vs blowup
4 participants