You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 3f38408
Browse filesBrowse the repository at this point in the historyBrowse files
PP is the set of primes, and min(S) the least member of a set (#1452)
* PP is the set of primes, and min(S) the least member of a set
PP beside ZZ+: the primes {2, 3, 5, 7, ...}, \mathbb{P}, S.Primes, Domain.Prime as a codomain, at
the bottom of the chain PP ⊂ ZZ+ ⊂ ZZ* ⊂ ZZ. Membership is decided for a whole number by trial
division and left open past the machine word; PP /\ [a; b] lists its members where there are few
enough, so card(PP /\ [1; n]) is the prime-counting function; the quantifiers meet an interval
with PP at the next prime. min(S) with one argument that is a set is the least member of the
set, and min(x, x in S and P) the least member of { x in S : P }, both decided for PP, ZZ+, ZZ*
and their cuts by an interval or a bound: min(PP) is 2 and min(x, x in PP and x > 14) is 17.
Neither prints with a name it was not written with.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012sonx8iAspMiwRwokT1Ura
* max(x, x in PP and x < 14) is the previous prime, and a range takes any conjunction of bounds
The greatest member of a set of whole numbers cut from above, the twin of the least: 13 for the
primes below 14, 97 for PP /\ (-oo; 100], 4 for ZZ /\ (-oo; 5); max(PP) stays, there being no
largest prime. The range of min and max is read from any conjunction with one membership among
its conjuncts, so x in PP and x > 14 and x < 20 is { x in PP : x > 14 and x < 20 }, and the bounds
on the name are read together as the interval they cut.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012sonx8iAspMiwRwokT1Ura
---------
Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
| 'argmax(' args = function_arguments ')' { Assert("argmax", 2, $args.list.Count); $value = $args.list[1] is Entity.Set.Inf { Element: Variable } argmaxRange ? MathS.Argmax($args.list[0], argmaxRange.Element, argmaxRange.SupSet) : throw new InvalidArgumentParseException("argmax expects its second argument to say which variable ranges over which set, as in argmax(f(t), t in S)"); }
591
593
| 'argmin(' args = function_arguments ')' { Assert("argmin", 2, $args.list.Count); $value = $args.list[1] is Entity.Set.Inf { Element: Variable } argminRange ? MathS.Argmin($args.list[0], argminRange.Element, argminRange.SupSet) : throw new InvalidArgumentParseException("argmin expects its second argument to say which variable ranges over which set, as in argmin(f(t), t in S)"); }
0 commit comments