Simplify

• To: mathgroup at smc.vnet.net
• Subject: [mg98659] Simplify
• From: dh <dh at metrohm.com>
• Date: Wed, 15 Apr 2009 05:02:06 -0400 (EDT)

```
Hi,

can somebody explain, why

Simplify[x^2/y^2,ComplexityFunction->LeafCount]

does not simplify to (x/y)^2, although the LeafCount is:

LeafCount[Hold[x^2/y^2]] gives 10

and

LeafCount[Hold[(x/y)^2]] gives 8

Daniel

```

• Follow-Ups:
{"ft_lang_label":"__label__en","ft_lang_prob":0.664142,"math_prob":0.9092783,"size":507,"snap":"2023-40-2023-50","text_gpt3_token_len":185,"char_repetition_ratio":0.16898608,"word_repetition_ratio":0.03076923,"special_character_ratio":0.3392505,"punctuation_ratio":0.21621622,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.97937685,"pos_list":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14],"im_url_duplicate_count":[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2023-12-08T00:49:06Z\",\"WARC-Record-ID\":\"<urn:uuid:8c540c56-bad7-4e6b-96ba-d9b249c1c4bb>\",\"Content-Length\":\"44017\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:a581d815-52fd-4c7e-9c2c-01b56b653ce6>\",\"WARC-Concurrent-To\":\"<urn:uuid:88cbcd74-a1c5-4512-8ff6-b2eadfd27b08>\",\"WARC-IP-Address\":\"140.177.9.73\",\"WARC-Target-URI\":\"http://forums.wolfram.com/mathgroup/archive/2009/Apr/msg00509.html\",\"WARC-Payload-Digest\":\"sha1:NQNMNKZIEDIVN7UKC53WVDEOTHVSYAFS\",\"WARC-Block-Digest\":\"sha1:FXXCQITXDHI2ARFV3CEEJ3BSWEDCC4XZ\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2023/CC-MAIN-2023-50/CC-MAIN-2023-50_segments_1700679100705.19_warc_CC-MAIN-20231207221604-20231208011604-00368.warc.gz\"}"}