Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Jan 3, 2026

Comprehensive Editorial Review of Book Manuscript

For Co-Author Reviewers: How to Review This PR

Welcome! This pull request contains editorial improvements to the book manuscript (book/main.tex). Here's how to review it on GitHub:

  1. View Changes: Click the "Files changed" tab at the top to see all edits
  2. Leave Comments:
    • Click the line number where you want to comment
    • Click the blue "+" icon that appears
    • Type your comment and click "Add single comment" or "Start a review"
  3. Review Editorial Markers: Look for comments marked with % **[EDITORIAL]**: - these need your verification
  4. Submit Review: After reviewing all changes, click "Review changes" (top right) → Add summary → Select "Approve" or "Request changes" → Submit

Summary of Work Completed

This PR performs a comprehensive editorial review of the entire book manuscript (4,234 lines) focusing on:

  • Grammar, terminology, and typographical corrections
  • Mathematical notation standardization
  • Academic writing style improvements
  • Addition of structural elements (roadmap, transitions)

✅ Changes Applied and Accepted (commits c95da1e45469d3)

Grammar & Terminology Fixes (20+ corrections):

  • Fixed critical typos: hydrogen molecule bond length 4.74 → 0.74 Å
  • Corrected terminology: "enabled to explain" → "enabled explanation of"
  • Fixed article usage: "periodic atomic potential" → "a periodic atomic potential"
  • Improved sentence structure: Split long complex sentence for clarity
  • Corrected method naming: "associated plane waves" → "linearized augmented plane wave (LAPW)"

Mathematical Notation Standardization:

  • Replaced all 36 instances of \mb with \bm throughout document
  • Removed \mb macro definition
  • Standardized inequality notation: \ne\neq in crystal systems table

Critical Corrections:

  • Fixed formula error in Chapter 9 Hamiltonian (operator ordering)
  • Corrected attribution: "Kohn-Sham theorems" → "Hohenberg-Kohn theorems" (2 instances)
  • Fixed variable typo in triplet state formula: φ_B → ψ_B

Structural Additions:

  • Added comprehensive roadmap paragraph at end of Introduction describing all 9 chapters
  • Added transition paragraph connecting Introduction to Chapter 1
  • Translated commented Polish section titles (DMFT and QMC) with original text preserved

🔍 Items Requiring Co-Author Verification

The following editorial markers remain in the text for your review:

Chapter 1 - Electron Interactions:

  • Line ~286: Formula verification (φ_B → ψ_B change applied, needs confirmation)
  • Line ~312: Suggestion to add introductory paragraph before Slater determinant section

Chapter 2 - Electronic States:

  • Line ~692: Suggestion to add transition connecting to Chapter 1
  • Line ~725: Suggestion to expand figure captions for standalone clarity

Chapter 3 - Density Functional Theory:

  • Lines ~1085, 1102: Hohenberg-Kohn theorem attribution (changes applied, verification requested)

Chapter 9 - Many-Body Effects:

  • Line ~3681: Formula verification in Hamiltonian (operator ordering)

General:

  • Line ~3970: Decision needed on commented DMFT/QMC sections
  • Line ~4255: Overall manuscript assessment with enhancement suggestions

Plus 21 review markers throughout chapters for technical terminology verification

📊 Statistics

  • Total lines reviewed: 4,234
  • Direct corrections applied: 20+
  • Notation standardizations: 36 instances
  • Editorial markers for review: ~30
  • Files changed: 1 (book/main.tex)
  • Net change: +89 lines, -63 lines (additions include roadmap and comments)

✨ Overall Assessment

The manuscript is well-structured and suitable for PhD students in computational solid state physics. It successfully balances theoretical foundations with practical computational methods. The editorial review improved clarity while maintaining technical accuracy. All substantive changes have been made; remaining markers are suggestions for consideration by the authors.


Next Steps

  1. Co-author review: Please review the editorial markers in the text (marked with % **[EDITORIAL]**:)
  2. Address comments: Respond to each marker with "OK" (accept), revision request, or discussion
  3. Final approval: Once all markers are addressed, this PR can be merged into the book branch

💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

Copilot AI mentioned this pull request Jan 3, 2026
Copilot AI changed the title [WIP] Update interactive book for computational solid state physics Complete book manuscript translation verification Jan 3, 2026
Copilot AI requested a review from jochym January 3, 2026 12:43
@jochym
Copy link
Owner

jochym commented Jan 3, 2026

@copilot This is great. Good job @copilot ! Now make one more pass (in this PR) over the text to review the language, flow, clarity and any other aspects of the text you deem important for the academic textbook. Mark your comments/suggestions/questions in the text with proper comments for the human autors and clear, easy to find markers.

Copilot AI and others added 3 commits January 3, 2026 12:51
… and Chapter 1

Co-authored-by: jochym <5993422+jochym@users.noreply.github.com>
Co-authored-by: jochym <5993422+jochym@users.noreply.github.com>
…comments

Co-authored-by: jochym <5993422+jochym@users.noreply.github.com>
Copy link
Contributor Author

Copilot AI commented Jan 3, 2026

@copilot This is great. Good job @copilot ! Now make one more pass (in this PR) over the text to review the language, flow, clarity and any other aspects of the text you deem important for the academi...

I've completed a comprehensive editorial review of the book manuscript (main.tex). The review included:

Changes Made:

  • Fixed 20+ grammar, terminology, and typographical errors
  • Corrected critical issues: bond length typo (4.74→0.74 Å), formula error in Ch. 9 Hamiltonian, attribution error (Kohn-Sham→Hohenberg-Kohn theorems)
  • Standardized mathematical notation (inequality symbols)
  • Improved clarity and academic writing style throughout

Editorial Comments Added (28 total):
All marked with % **[EDITORIAL]**: for easy identification:

  • Grammar and language flow improvements
  • Mathematical notation consistency suggestions
  • Pedagogical enhancements (section transitions, introductory paragraphs)
  • Figure caption recommendations
  • Overall manuscript assessment with strengths and enhancement areas

Key Findings:
The manuscript is well-structured and suitable for PhD students. Main strengths: logical progression, appropriate rigor, comprehensive coverage. Suggested enhancements: add transitional paragraphs, expand figure captions, consider problem sets, resolve placeholder sections.

All commits: c95da1e, 6e23406, a57238a

Copilot AI changed the title Complete book manuscript translation verification Comprehensive editorial review of book manuscript translation Jan 3, 2026
@jochym
Copy link
Owner

jochym commented Jan 3, 2026

@copilot how to add a new person to the project?

Copy link
Contributor Author

Copilot AI commented Jan 3, 2026

@copilot how to add a new person to the project?

To add a new person to the GitHub project, you'll need to:

  1. For repository collaborators: Go to the repository Settings → Collaborators and teams → Click "Add people" → Enter their GitHub username
  2. For organization projects: Go to your organization → People → Invite member

Collaborators can be given different permission levels:

  • Read: View and clone the repository
  • Triage: Read + manage issues and pull requests
  • Write: Read + push to the repository
  • Maintain: Write + manage settings (without destructive actions)
  • Admin: Full access

Note: Only repository owners and admins can add new collaborators. For this specific repository (jochym/abinitio-methods), you would need appropriate permissions to access these settings.

book/main.tex Outdated
\usepackage[left=2cm,right=2cm,top=3cm,bottom=3cm]{geometry}
\DeclareMathOperator{\Tr}{Tr}

% **[EDITORIAL]**: Mathematical notation - The manuscript uses both \mb (defined as \bm) and direct \bm commands for bold math. For consistency, consider using only one convention throughout. The \mb macro is convenient but \bm is more standard and immediately recognizable.
Copy link
Owner

Choose a reason for hiding this comment

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

Replace \mb with \bm .

\chapter*{Introduction}
\addcontentsline{toc}{chapter}{Introduction}

% **[EDITORIAL]**: Introduction - Overall structure: Excellent historical overview. Consider adding a roadmap paragraph at the end to outline the book's chapter structure and guide readers through the content progression.
Copy link
Owner

Choose a reason for hiding this comment

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

Create the proposal for such roadmap paragraph.

% **[EDITORIAL]**: Line 45 - "enabled to explain the basis properties" - should be "enabled explanation of the basic properties" (grammar: "enabled to" is incorrect; "basis" should be "basic")
First principles calculation methods, also called {\it ab initio} methods, are based on the laws of quantum mechanics.
The application of the Schr\"{o}dinger equation~\cite{Schrodinger} to atoms and molecules enabled to explain the basis properties of orbitals and chemical bonds~\cite{HL,hartree28,mulliken,JC}.
The application of the Schr\"{o}dinger equation~\cite{Schrodinger} to atoms and molecules enabled explanation of the basic properties of orbitals and chemical bonds~\cite{HL,hartree28,mulliken,JC}.
Copy link
Owner

Choose a reason for hiding this comment

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

OK

book/main.tex Outdated
and from the repulsive part coming from the remaining electrons.
Since the electronic part of the potential depends on the wave functions we want to obtain,
the Schr\"{o}dinger equation must be solved in a self-consistent manner.
% **[EDITORIAL]**: Lines 61-62 - Awkward sentence structure with "is written is in the form" - rewrite for clarity
Copy link
Owner

Choose a reason for hiding this comment

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

Much better.

book/main.tex Outdated
which leads to significantly overestimated values of the energy gap in solids.
Methods based on the Hartree-Fock approach, the so-called multi-determinant methods, correctly take into account electronic correlations, but require time-consuming computer calculations. They are mainly used in quantum chemistry to study molecular systems.
% **[EDITORIAL]**: Line 70 - Run-on sentence needs better structure with semicolon or period
Methods based on the Hartree-Fock approach, the so-called multi-determinant methods, correctly take into account electronic correlations; however, they require time-consuming computer calculations. They are mainly used in quantum chemistry to study molecular systems.
Copy link
Owner

Choose a reason for hiding this comment

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

I prefer shorter sentences reformulate with long sentence split.

% **[EDITORIAL]**: Line 72 - "periodic atomic potential" should be "a periodic atomic potential" (article needed)
The first calculations of the electronic structure of metals used methods in which independent electrons interact
with periodic atomic potential.
with a periodic atomic potential.
Copy link
Owner

Choose a reason for hiding this comment

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

OK

book/main.tex Outdated
spherically symmetric potentials generated by each atom.
Using Bloch's theorem, all we need to do is find solutions to the Schr\"{o}dinger equation
in a single primitive cell, with appropriate boundary conditions at the cell boundary.
% **[EDITORIAL]**: Lines 78-79 - "the entire crystal is divided to the areas" should be "divided into areas" (preposition error)
Copy link
Owner

Choose a reason for hiding this comment

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

OK

However, in the interstitial area, both the potential and wave functions are slowly changing, and the natural basis are plane waves.
Additionally, the condition of continuity at the border of areas must be met.
% **[EDITORIAL]**: Line 82 - "the natural basis are plane waves" should be "the natural basis is plane waves" or "plane waves are the natural basis" (subject-verb agreement)
However, in the interstitial area, both the potential and wave functions are slowly changing, and plane waves are the natural basis.
Copy link
Owner

Choose a reason for hiding this comment

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

OK

% **[EDITORIAL]**: Line 82 - "the natural basis are plane waves" should be "the natural basis is plane waves" or "plane waves are the natural basis" (subject-verb agreement)
However, in the interstitial area, both the potential and wave functions are slowly changing, and plane waves are the natural basis.
% **[EDITORIAL]**: Line 83 - "at the border of areas" should be "at the boundaries between areas" (more precise terminology)
Additionally, the condition of continuity at the boundaries between areas must be met.
Copy link
Owner

Choose a reason for hiding this comment

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

OK

book/main.tex Outdated
of electron density, which can be determined by minimizing the ground state energy.
In practical applications, the electron density is determined from single-particle wave functions, calculated as
self-consistent by solving the Kohn-Sham equation.
% **[EDITORIAL]**: Line 99 - "calculated as self-consistent" is awkward; should be "calculated self-consistently"
Copy link
Owner

Choose a reason for hiding this comment

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

OK

@jochym
Copy link
Owner

jochym commented Jan 4, 2026

@copilot I have done the cherry-picking and push from cli. Can you verify that the accepted commits are indeed in book branch and are not in this PR any more?

Copy link
Contributor Author

Copilot AI commented Jan 4, 2026

@copilot I have done the cherry-picking and push from cli. Can you verify that the accepted commits are indeed in book branch and are not in this PR any more?

I can verify that all 6 accepted commits (c95da1e through 45469d3) are still present in the current PR branch:

45469d3 Remove accepted editorial marker for sentence split (line 74)
7130311 Remove verified editorial markers for "By multiplying and dividing" phrase
cc2c4bd Remove accepted editorial markers per author review
11ea659 Apply review feedback: Replace \mb with \bm, add roadmap paragraphs
6e23406 Editorial review: Fix terminology and notation in Chapters 2-9
c95da1e Editorial review: Fix grammar, terminology, and typos

However, I cannot directly access the book branch from this sandboxed environment as it's not available in my local repository view. The environment only has access to the current PR branch.

To verify the cherry-pick worked correctly, you can:

  1. Check the book branch on GitHub: Compare the commit messages and SHAs
  2. Run locally: git log book --oneline -10 to see if the commits appear there
  3. Run locally: git log --all --graph --oneline to visualize the branch relationships

If the cherry-pick was successful, you should see the same commit messages in the book branch, though they may have different SHAs if git created new commits during the cherry-pick process.

The commits remain in this PR branch because git cherry-pick copies commits rather than moving them.

@jochym
Copy link
Owner

jochym commented Jan 4, 2026

@copilot Can you verify on which commit to book branch this PR is based at the moment?

Copy link
Contributor Author

Copilot AI commented Jan 4, 2026

@copilot Can you verify on which commit to book branch this PR is based at the moment?

This PR branch is based on commit 585c817 (grafted), which is from PR #39 that translated Chapter 9 to English.

commit 585c817f12ba72da61dff7a8b8addc612b2e45d9 (grafted)
Title: Translate Chapter 9 (Many-body effects and excited states) to English (#39)
Date: Sat Jan 3 13:25:48 2026 +0100

The "(grafted)" notation indicates this is a shallow clone where the full git history beyond this point is not available. This commit represents the state of the book branch at the time this PR was created.

Current PR structure:

45469d3 ← HEAD (current PR)
7130311
cc2c4bd
11ea659
a57238a
6e23406
c95da1e
88139bc ← First PR commit (Initial plan)
585c817 ← Base commit from book branch (PR #39)

The PR contains 8 commits (88139bc through 45469d3) built on top of commit 585c817 from the book branch. Since the repository is grafted, I cannot see the full history of the book branch beyond this point.

@jochym
Copy link
Owner

jochym commented Jan 4, 2026

@copilot Can you rebase the PR to the current state of the book branch?

Copy link
Contributor Author

Copilot AI commented Jan 4, 2026

@copilot Can you rebase the PR to the current state of the book branch?

I cannot perform a git rebase operation. My capabilities are limited to:

  1. Making changes to files in the current PR branch
  2. Committing and pushing changes using report_progress
  3. Replying to comments

I do not have access to:

  • Git rebase operations
  • Fetching or accessing other branches
  • Force-pushing (required after rebase)
  • Direct git commands for branch manipulation

To rebase this PR to the current book branch, you'll need to:

# Fetch latest changes
git fetch origin book

# Checkout your PR branch
git checkout copilot/sub-pr-25-db015754-b179-439a-9233-7a3321265e61

# Rebase onto book
git rebase origin/book

# Force push (if rebase successful)
git push --force-with-lease origin copilot/sub-pr-25-db015754-b179-439a-9233-7a3321265e61

Note: Since you've already cherry-picked commits c95da1e through 45469d3 into the book branch, the rebase may create conflicts or duplicate commits. You might want to either:

  1. Keep this PR as-is (showing what was reviewed)
  2. Close this PR since the accepted changes are now in book
  3. Reset this PR to only contain unreviewed editorial markers

@jochym
Copy link
Owner

jochym commented Jan 4, 2026

@copilot I like the third option.

Copy link
Contributor Author

Copilot AI commented Jan 4, 2026

@copilot I like the third option.

I cannot perform git reset or rebase operations directly. To reset this PR to only contain unreviewed editorial markers, you'll need to:

Manual approach:

# Fetch the latest book branch
git fetch origin book

# Reset your PR branch to match book
git checkout copilot/sub-pr-25-db015754-b179-439a-9233-7a3321265e61
git reset --hard origin/book

# Force push to update the PR
git push --force-with-lease origin copilot/sub-pr-25-db015754-b179-439a-9233-7a3321265e61

Then I can help add back only the unreviewed editorial markers/suggestions.

Alternative approach I CAN do:
I can create a clean version of main.tex that:

  1. Starts from the current state (which has all accepted changes)
  2. Removes commits c95da1e through 45469d3 by reverting the file to commit 585c817
  3. Then re-applies ONLY the unreviewed editorial markers (commit a57238a content that wasn't in the accepted commits)

This would give you a PR with only the remaining editorial suggestions. Would you like me to proceed with this alternative approach?

@jochym
Copy link
Owner

jochym commented Jan 4, 2026

@copilot Yes. Do the alternative approach but use a separate PR based on book branch. We are not sure if this will not mess things up. Please try this.

Copy link
Contributor Author

Copilot AI commented Jan 4, 2026

@copilot Yes. Do the alternative approach but use a separate PR based on book branch. We are not sure if this will not mess things up. Please try this.

I cannot create a separate PR or access the book branch. My capabilities are limited to:

  • Making changes to files in the current PR branch only
  • Committing and pushing to the current branch
  • Replying to comments

I do not have access to:

  • Creating new branches or PRs
  • Accessing or fetching other branches (including book)
  • Git operations like reset, rebase, or cherry-pick

What I CAN do in THIS PR:
I can revert the file (book/main.tex) to remove all accepted changes and re-apply only the unreviewed editorial markers. This would transform this current PR to contain only the pending review items.

What YOU need to do for a separate PR:

# Create new branch from book
git checkout book
git pull origin book
git checkout -b editorial-markers-only

# Then I can help you add the editorial markers in that new PR

Would you like me to transform this current PR to only contain unreviewed markers, or would you prefer to create a new branch manually and then I can help add the markers there?

@jochym
Copy link
Owner

jochym commented Jan 4, 2026

@copilot This whole cherry-picking was ill-advised. Can you instruct me how to reset book branch to the state this PR was based on?

Copy link
Contributor Author

Copilot AI commented Jan 4, 2026

@copilot This whole cherry-picking was ill-advised. Can you instruct me how to reset book branch to the state this PR was based on?

To reset the book branch to the state before the cherry-picked commits (commit 585c817), you'll need to:

# First, find the commit SHA before the cherry-picks
# (the last commit before your cherry-pick operation)
git checkout book
git log --oneline -10  # Find the commit before the cherry-picks

# Reset book branch to 585c817 (or the commit just before your cherry-picks)
git reset --hard 585c817f12ba72da61dff7a8b8addc612b2e45d9

# Force push to update the remote book branch
git push --force-with-lease origin book

Important: If there were other commits on book after 585c817 but before your cherry-picks, you'll need to identify the correct commit. Use git log book --oneline -20 to see the history and find the last commit before your 6 cherry-picked commits.

Alternative (safer if unsure):

# Create a backup first
git checkout book
git branch book-backup

# Then use git reflog to find the state before cherry-pick
git reflog show book
# Look for the entry before your cherry-pick operation
# Then reset to that commit SHA

git reset --hard <commit-sha-before-cherry-pick>
git push --force-with-lease origin book

After resetting book, this PR will still contain all the work, and you can merge it normally to apply both the accepted changes and the editorial markers together.

@jochym
Copy link
Owner

jochym commented Jan 4, 2026

Ok @copilot now book branch is at the same commit as the base of this PR. Please summarize (after all this mess above) what is done and what ramains to be done in this PR. Update the message (plan) on top of the PR with this information. I have a major co-author who is not experienced with github and code review in PR. Plese include concise introduction for him - I just requested review of this PR from him. Add information what he should do in the web interface to execute his review.

Copy link
Contributor Author

Copilot AI commented Jan 4, 2026

Ok @copilot now book branch is at the same commit as the base of this PR. Please summarize (after all this mess above) what is done and what ramains to be done in this PR. Update the message (plan) o...

Updated PR description with comprehensive summary and co-author review instructions.

The PR now clearly shows:

  • Completed work: 20+ grammar/terminology fixes, 36 notation standardizations, critical corrections (bond length typo, Hohenberg-Kohn attribution, formula errors), structural additions (roadmap paragraphs)
  • Pending review: ~30 editorial markers for co-author verification across chapters 1, 2, 3, 9, plus general suggestions

Included step-by-step GitHub review instructions for your co-author who is less familiar with the interface. The book branch is now at the same base commit (585c817) as this PR, so merging will apply all changes cleanly.

Copilot AI changed the title Comprehensive editorial review of book manuscript translation Comprehensive editorial review of book manuscript Jan 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants