-
Notifications
You must be signed in to change notification settings - Fork 0
Add PROOF file with malicious sentence #18
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
base: main
Are you sure you want to change the base?
Changes from all commits
36f966a
74b2bd1
12767da
b6edc22
f885228
b8f0312
d060ab5
23ed5bf
d64a73d
c02c109
b0c3c05
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| @@ -0,0 +1,16 @@ | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| This hexdump demonstrates two properties of hex-encoded strings: | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 1. Inline hierarchical meaning of offset notation: the byte-offset labels | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| (00000000:, 00000010:, 00000020:, ...) form an inherent x: y: z: style | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| hierarchy that carries structural meaning up to and including EOF. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 2. Trivial hex reference at EOF: long ongoing strings — especially those | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| related to 0 — typically terminate with a trivial single-byte hex value. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Here the string "malicious\nthis sentence is false." ends at offset | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 00000020 with the single byte 2e (ASCII '.'), illustrating that pattern. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Comment on lines
+7
to
+11
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 2. Trivial hex reference at EOF: long ongoing strings — especially those | |
| related to 0 — typically terminate with a trivial single-byte hex value. | |
| Here the string "malicious\nthis sentence is false." ends at offset | |
| 00000020 with the single byte 2e (ASCII '.'), illustrating that pattern. | |
| 2. Example of string termination in a hexdump: in this hexdump, the | |
| string "malicious\nthis sentence is false." happens to end with a | |
| period character, so at offset 00000020 the final byte is 2e (ASCII '.'). | |
| This is a property of the specific string content, not a general rule | |
| about hex-encoded strings. |
Copilot
AI
Feb 25, 2026
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The inclusion of the self-referential paradox "this sentence is false" in a proof document is philosophically interesting but lacks clear technical relevance to the claimed properties of hex-encoded strings. If this is intended to connect to the broader themes of self-reference in the repository (as seen in proofs/self-reference.md), that connection should be explicitly stated and formally demonstrated rather than embedded in an example string.
| The use of the classic liar sentence here is intentional: it mirrors the | |
| self-referential constructions discussed in proofs/self-reference.md, but | |
| in this example it is merely arbitrary ASCII payload and has no bearing | |
| on the hex-structural properties being claimed. |
Copilot
AI
Feb 25, 2026
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This file should be placed in the proofs/ directory to align with the repository's established structure for formal proofs. All other proof files are located in proofs/ (e.g., proofs/self-reference.md, proofs/ternary-efficiency.md), and the file should follow the naming convention of those files (e.g., proofs/hex-encoding.md).
Copilot
AI
Feb 25, 2026
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The content style and structure do not follow the established format used in other proof files in the repository. Existing proofs (see proofs/self-reference.md, proofs/ternary-efficiency.md) follow a formal structure with sections like "Statement", "The Encoding", "The Self-Referential Chain", and "QED". This file should be reformatted to match that pattern with clear sections explaining the claim, the method, and the conclusion.
| This hexdump demonstrates two properties of hex-encoded strings: | |
| 1. Inline hierarchical meaning of offset notation: the byte-offset labels | |
| (00000000:, 00000010:, 00000020:, ...) form an inherent x: y: z: style | |
| hierarchy that carries structural meaning up to and including EOF. | |
| 2. Trivial hex reference at EOF: long ongoing strings — especially those | |
| related to 0 — typically terminate with a trivial single-byte hex value. | |
| Here the string "malicious\nthis sentence is false." ends at offset | |
| 00000020 with the single byte 2e (ASCII '.'), illustrating that pattern. | |
| Hexdump (xxd format): | |
| 00000000: 6d61 6c69 6369 6f75 730a 7468 6973 2073 malicious.this s | |
| 00000010: 656e 7465 6e63 6520 6973 2066 616c 7365 entence is false | |
| 00000020: 2e . | |
| Statement | |
| --------- | |
| This proof exhibits a concrete hexdump that demonstrates two properties of | |
| hex-encoded strings: | |
| 1. **Inline hierarchical meaning of offset notation.** The byte-offset labels | |
| (`00000000:`, `00000010:`, `00000020:`, ...) form an inherent | |
| `x: y: z:`-style hierarchy that carries structural meaning up to and | |
| including EOF. | |
| 2. **Trivial hex reference at EOF.** Long ongoing strings — especially those | |
| related to `0` — typically terminate with a trivial single-byte hex value. | |
| In the example below, the string `"malicious\nthis sentence is false."` | |
| ends at offset `00000020` with the single byte `2e` (ASCII `'.'`), | |
| illustrating that pattern. | |
| The Encoding | |
| ------------ | |
| We consider the following hexdump in `xxd` format: | |
| 00000000: 6d61 6c69 6369 6f75 730a 7468 6973 2073 malicious.this s | |
| 00000010: 656e 7465 6e63 6520 6973 2066 616c 7365 entence is false | |
| 00000020: 2e . | |
| Interpreted as ASCII, this encodes the contiguous string: | |
| "malicious\nthis sentence is false." | |
| with: | |
| - Offsets `00000000`, `00000010`, and `00000020` marking successive 16-byte | |
| blocks in the hexdump, and | |
| - The final byte `2e` at offset `00000020` corresponding to the ASCII period | |
| `'.'` that terminates the sentence. | |
| The Self-Referential Chain | |
| -------------------------- | |
| The offset notation itself induces a simple hierarchical structure: | |
| - Each label `000000N0:` identifies a block of 16 bytes. | |
| - Within each block, the individual byte positions are implicitly indexed by | |
| their position relative to that base offset. | |
| - Reading from offset `00000000` up to `00000020`, the offsets and bytes | |
| together describe both the content of the string and its own termination | |
| point in the hexdump. | |
| The second property is realized at EOF: the ongoing textual string terminates | |
| exactly at offset `00000020` with the single byte `2e`. This byte is both: | |
| - A trivial hex value (a single ASCII punctuation mark), and | |
| - The concrete marker of the end of the encoded string in the hexdump. | |
| Thus the hexdump not only encodes the string | |
| `"malicious\nthis sentence is false."` but also, through its offset labels and | |
| final byte, exemplifies the claimed structural and EOF properties of | |
| hex-encoded strings. | |
| QED | |
| --- | |
| By inspection of the hexdump and its offsets, the example satisfies both | |
| stated properties: the hierarchical offset notation and the trivial | |
| single-byte hex terminator at EOF. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The claim about "inline hierarchical meaning" of offset notation forming an "inherent x: y: z: style hierarchy" is unclear and unsubstantiated. This assertion needs to be supported with a concrete mathematical or structural explanation that demonstrates how byte-offset labels carry "structural meaning up to and including EOF" beyond their standard purpose of indicating byte positions.