Skip to content

Problems in Geometry by P. S. Modenov #2131

Open
12 of 22 issues completed
Open

Description

@Happypig375

https://archive.org/details/ModenovProblemsInGeometryMir1981

It's a secondary school level book in elementary geometry. Read it as a reference book; how would each problem, proof, computation, definition, notation... apply to AngouriMath? Note that we are unlikely to directly write (a,b) or [a,b] as the book does since we want them to indicate intervals and point/vectors (if this is correct). Some notations nay need reconciliation or, in the worst case, require a let definition or a function call (would still want disambiguation LaTeX-side though). The delta may be more unambiguously expressed with the Iverson bracket?

Some work may be scheduled for 2.8 if exploratory (redesign later), or 3.0 if needs to be redesigned together with v3, or 3.2+ for details that can work within the architecture of v3. You need to triage work appropriately.

Activity

  1. added this to the 3.2 milestone on Oct 27, 2026
  2. 3 remaining items

  3. Rafael-SOWNet commented on Oct 27, 2026

    @Rafael-SOWNet
    Member

    I read the whole book: all five chapters, the list of symbols and the appendix. Nine readers worked in parallel, one range each. They read every OCR line against the page images, because the OCR drops the conjugate bars and most fraction bars. Every computation the book relies on was run through AngouriMath on master (725481c), and checked independently at exact or 40-digit points.

    That gives 631 rows: each definition, notation, theorem, solved problem and exercise, or each part of one where the parts need different things. Each row records what AngouriMath does with it today, with the input and its answer, and the gap.

    What works. Polynomial identities and determinants are reliable:

    • Chapter II's incidence theorems (Desargues, Brianchon, the Brocard lines) close in about a second once written in homogeneous or barycentric coordinates.
    • The heptagon constants of Chapter III are decided exactly.
    • All eleven vector identities of p. 346 reduce to 0 in components.
    • About half of Chapter V's formulas work as written.

    What stops the rest is the sub-issues below, in this order of weight:

    1. No conjugate. Chapter III, 200 pages, writes every statement in z and z̄.
    2. Rational identities Simplify does not prove. Most of the book's proofs end in "this rational function is 0".
    3. No points, pairs or maps as values.

    Triage

    Milestone Sub-issue What
    2.7.0 (defects, taken up now) #2132 applying a lambda to a vector treats it as a number (wrong answer)
    #2141 A / A for a matrix is elementwise, and so is the undefined product of two columns (wrong answer)
    #2144 1/(1 + x^(-2)) = 1/2 is answered { } (wrong answer)
    #2138 two circles with an irrational centre give an extra decimal copy of a solution
    #2135 no shift of cos or tan by a multiple of π/2 is reduced
    #2136 conj, arg, re, im, bar, det and (M)T are read as products; they should be refused, as conjugate is
    2.8 (exploratory) #2145 conjugate, re, im, arg
    #2146 together, cancel and a zero test for rational functions, as explicit operations
    #2147 det, dot, cross, transpose, resultant in expressions, over components
    #2153 the book's computations as a corpus, with its errata as rows that must be refused
    #2133, #2134, #2137, #2139, #2140, #2142, #2143 Simplify and solve defects that block identities (idempotence, conditions, fractions, decimals through abs, an unfactored quadratic, trig twins, sin(π/7))
    3.0 (designed with v3) #2148 facts about a symbol that rewrite it: abs(z) = 1 so z̄ = 1/z, a real parameter, α^7 = 1
    #2149 a pair and a point as values, distinct from a vector; (a, b) does not parse today, so it is free
    #2150 maps as objects: inversion, homothety, Möbius maps, composition, inverse, the image of a set
    3.2 (within v3) #2151 Goal: geometry on points, lines and circles: constructions, measures, predicates, named centres, loci
    #2152 elementary symmetric polynomials

    Already open and touched by this: #105 and #1237 (vector-typed symbols, 3.0); #330, #217 and #352 (3.0); #495; #1251; #1503 (b i parses as b ^ i); #1648 (the same question as #2134's first row).

    Notation, for you to decide

    The book's notations, against what the parser already gives meaning to:

    The book Means AngouriMath today Proposal
    (a, b) scalar product, and also the plane's pseudo-scalar product (both appear in one line) parse error dot(a, b) → a \cdot b; wedge(a, b) → a \wedge b (#2147)
    [a, b], [a] cross product; rotation through +π/2 [a, b] is a column vector cross(a, b) → a \times b; perp(a) → a^{\perp}
    (x, y), A(z) a point by coordinates or affix parse error; A(z) is A * z a pair, if (a, b) becomes one (#2149)
    (ABC), (O, r) a circle (ABC) is a variable circle(A, B, C), circle(O, r) (#2151)
    [O, k] inversion with centre O and power k a vector inversion(O, k) (#2150)
    z̄ conjugate refused conjugate(z) → \overline{z} (#2145)
    δ_jk Kronecker delta — iverson(j = k) works, but not with i as an index: iverson(i = 1) is 0, since i is the imaginary unit
    z₁, a₀ subscripts z1 is z^1 write z_1; the book transcribed carelessly is wrong silently (a0 + b0 + c0 is 3)
    [a; b] (ours) an interval rendered in LaTeX as \left[a, b\right], i.e. as the book's pair render intervals with ; in LaTeX too? A breaking change, so #1019

    Questions:

    1. Should (a, b) become a pair, or stay free?
    2. Should the intervals' LaTeX change?
    3. Are the names dot, cross, perp, wedge and inversion right?

    The book's own errors

    The readers confirmed about 80 errors by computing, besides OCR damage. Some examples:

    • Chapter III Problem 10 gives the arc as arccos(9/16); it is 2·arccos(−1/(2√2)).
    • Problem 43 is false as stated: its proof uses a formula that holds only for the incircle.
    • Problem 45 has A = 2π/7 where π/7 is meant.
    • Chapter IV's Apollonius construction swaps its two circles.
    • Chapter V's general-coordinate angle formulas use the wrong metric.
    • Chapter I's circumcentre formula is missing a factor ½.

    A corpus built from the book (#2153) must refuse each printed form.

  4. Happypig375 commented on Oct 27, 2026

    @Happypig375
    MemberAuthor

    You should consult additional sources like Wikipedia and Wolfram MathWorld etc for how to approach these mathematical decisions, before presenting the decision. Do you need to write these into your instructions?

  5. Happypig375 commented on Oct 27, 2026

    @Happypig375
    MemberAuthor

    Note that we'd also want a design for plotting and interacting with geometry as shapes instead of equations too...

  6. Rafael-SOWNet commented on Oct 27, 2026

    @Rafael-SOWNet
    Member

    You're right: I asked you to choose between the notations before checking what the references say. I've now checked them, and below is the notation part again, each proposal with the convention it follows. My earlier questions are answered here. I am also adding the rule to the instructions; see the end.

    Pairs and intervals

    • Tuple: tuples are "usually written by listing the elements within parentheses", and "square brackets are used for matrices, including row vectors".
    • Ordered pair: (a, b) "may be used for other purposes, most notably as denoting open intervals", and "the context will usually make it clear". ⟨a, b⟩ is a variant, "but this notation also has other uses".
    • Interval: both (a, b) and [a, b] "may overlap with other uses". Bourbaki introduced ]a, b[ because of the clash with the pair, and ISO 31-11 describes both forms. "In countries where numbers are written with a decimal comma, a semicolon may be used as a separator to avoid ambiguity." MathWorld calls ]a, b[ non-standard.

    AngouriMath already reads an interval only with a semicolon ([a; b], (a; b)), prints it that way, and does not parse (a, b) at all. So:

    Products of vectors

    • Dot product: the dot operator a · b, with ⟨a, b⟩ for inner products in general. dot(a, b) → a \cdot b (det, dot, cross, transpose and resultant as functions in an expression #2147). The book's (a, b) is not adopted, since it is the pair.

    • Cross product (Definition, History): a × b is Gibbs's notation. a ∧ b is Burali-Forti and Marcolongo's, "used in France", and "in pure mathematics such notation is usually reserved for just the exterior product". Grassmann wrote [uv], which is where the book's [a, b] comes from. MathWorld uses A × B, and Wolfram has Cross[a, b]. cross(a, b) → a \times b.

    • The plane's pseudo-scalar product, the book's (a, b) with a rotated a:

      • MathWorld calls it the perp dot product a^⊥ · b. Its a^⊥ is a rotated 90° to the left (Hill, 1994), which is the book's [a].
      • MathWorld's cross product page gives the two-dimensional analog u × v = det(u v).
      • Exterior algebra shows it as the coefficient of v ∧ w, the determinant and the signed area. But there ∧ gives a bivector, not a number.

      So: perp(a) → a^{\perp}, and cross(a, b) of two plane vectors is that number, as MathWorld's analog is. I am withdrawing wedge, since ∧ is the exterior product's.

    The conjugate and its relatives

    δ

    Kronecker delta: δ_ij = [i = j], and the Iverson bracket article says the same, with Knuth's square brackets and ⟦·⟧ noted as used.

    • iverson(j = k) is δ. It renders as ⟦j = k⟧ today, one of the two forms the article gives.
    • The one trap is ours: i is the imaginary unit, so iverson(i = 1) is 0. An index has to be named something else, and that belongs in the documentation.

    Circles and inversion

    The instructions

    AGENTS.md already asks for this, in A reference is read for everything it says: "Cross-check every convention against a second and third source … Wolfram MathWorld, Wikipedia's notation tables … and say which was chosen and why." I didn't apply it to a question, only to a decision, and that distinction was wrong. #2159 adds that a question about a notation, a name, a convention or a definition comes with what those sources say and a recommendation. I've also put it in my own notes, so it carries over to sessions that don't open the file.

    Two corrections from the same check

  7. Happypig375 commented on Oct 27, 2026

    @Happypig375
    MemberAuthor

    It's already decided that the semicolon in the interval is to be dropped for v3 as the meaning of the semicolon changes to the line separator instead. We'll use commas in the interval for v3.

  8. Rafael-SOWNet commented on Oct 27, 2026

    @Rafael-SOWNet
    Member

    Thank you, and I should have found that before proposing anything: it is your comment on #1019 (2026-09-21), "For v3 we will change [a; b] intervals to [a, b] (interpreted as intervals where sets are expected and vectors otherwise)", with ; becoming the line separator, as #352 set out for let/suppose. So:

    Everything else in the notation section stands. I have also added #1019 and #352 to my own notes, as the places to search for a decided design before proposing one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions