{"ok":true,"data":{"commit":"c0ea08d220800adfb55af275ee0ccf51d137b0da","path":"statements/InscribedSquare.lean","oid":"4e72c421ede37bef59e6fff4d5adda56e9249896","size":1910,"range_start":0,"range_end":1910,"truncated":false,"binary":false,"encoding":"utf8","content":"/-\nPorted from google-deepmind/formal-conjectures at commit a61ab09632df039ef8381b6ac8accc5ce4d954d7,\nfile FormalConjectures/Wikipedia/InscribedSquare.lean, declaration\nInscribedSquare.inscribed_square_problem.\nCopyright 2025 The Formal Conjectures Authors. Licensed under the Apache License, Version 2.0\n(https://www.apache.org/licenses/LICENSE-2.0).\nPort: `public import FormalConjecturesUtil` replaced by specific Mathlib imports and the family's\n`Defs.Geometry2d` (upstream's notation `ℝ²`); the `@[category …, AMS …]` attribute and the doc\ncomments dropped; only `IsRectangle` and the target kept (not the rectangle and smooth variants).\n`open ContDiff Manifold` dropped with the smooth variants, the only ones that used it. The\nstructure and the proposition are unchanged.\n-/\nmodule\n\npublic import statements.Defs.Geometry2d\npublic import Mathlib.Analysis.Complex.Circle\npublic import Mathlib.Topology.Defs.Induced\n\n@[expose] public section\n\nopen Topology\nopen scoped EuclideanGeometry\n\nnamespace InscribedSquare\n\n/-- `a b c d` form a nondegenerate rectangle (diagonals `a c`, `b d`) of aspect ratio `ratio`. -/\nstructure IsRectangle (a b c d : ℝ²) (ratio : ℝ) : Prop where\n  diagonal_midpoints_eq : a + c = b + d\n  diagonal_lengths_eq : dist a c = dist b d\n  a_ne_b : a ≠ b\n  b_ne_c : b ≠ c\n  has_ratio : (dist a b) / (dist b c) = ratio\n\ntheorem inscribed_square_problem :\n    ∀ (γ : Circle → ℝ²) (hγ : IsEmbedding γ),\n      ∃ t₁ t₂ t₃ t₄, IsRectangle (γ t₁) (γ t₂) (γ t₃) (γ t₄) 1 := by\n  sorry\n\nend InscribedSquare\n\n/-- The family's target (decision 0100), under the family's name: its type is taken from upstream's\n`InscribedSquare.inscribed_square_problem` above, so the two cannot differ. Upstream's declaration is kept for provenance; it is not a\ntarget. -/\ntheorem InscribedSquare : type_of% @InscribedSquare.inscribed_square_problem := by\n  sorry\n"},"meta":{"request_id":"08f64e33-882","took_us":97,"limits":{"limit":600,"remaining":36,"window_ms":60000,"reset_ms":56320,"cost":1,"streams":{"limit":16,"open":0}}}}