Details

Time bar (total: 5.1s)

analyze115.0ms (2.3%)

Algorithm
search
Search
TrueOtherFalseIter
0%99.9%0.1%0
0%99.9%0.1%1
0%99.9%0.1%2
0%99.9%0.1%3
0%99.9%0.1%4
12.5%87.4%0.1%5
46.8%53.1%0.1%6
70.2%29.7%0.1%7
76.5%23.4%0.1%8
83.5%16.4%0.1%9
87%12.9%0.1%10
91.1%8.8%0.1%11
93.2%6.7%0.1%12
95.4%4.5%0.1%13
96.5%3.4%0.1%14
Compiler

Compiled 20 to 10 computations (50% saved)

sample1.1s (21%)

Symmetry

(sort x y)

Results
954.0ms8256×body128valid
Compiler

Compiled 59 to 29 computations (50.8% saved)

simplify143.0ms (2.8%)

Algorithm
egg-herbie
Rules
985×associate-/l*_binary64
659×distribute-lft-out_binary64
601×*-commutative_binary64
469×distribute-rgt-out_binary64
356×fma-def_binary64
Counts
1 → 2
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01025
13925
213523
347423
4153623
5212223
6258923
7256723
8262023
9267723
10277023
11395623
12408823
13445423
14498323
15496823
16496123

prune4.0ms (0.1%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New022
Fresh011
Picked000
Done000
Total033
Error
17.4b
Counts
3 → 2
Alt Table
StatusErrorProgram
17.4b
(/.f64 (*.f64 x y) (fma.f64 (+.f64 x y) (+.f64 x y) (pow.f64 (+.f64 x y) 3)))
17.4b
(/.f64 (*.f64 x y) (*.f64 (*.f64 (+.f64 x y) (+.f64 x y)) (+.f64 (+.f64 x y) 1)))
Compiler

Compiled 109 to 47 computations (56.9% saved)

localize8.0ms (0.2%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(*.f64 (+.f64 x y) (+.f64 x y))
0.0b
(*.f64 (*.f64 (+.f64 x y) (+.f64 x y)) (+.f64 (+.f64 x y) 1))
17.2b
(/.f64 (*.f64 x y) (*.f64 (*.f64 (+.f64 x y) (+.f64 x y)) (+.f64 (+.f64 x y) 1)))

series51.0ms (1%)

Counts
3 → 72
Calls

3 calls:

34.0ms
(/.f64 (*.f64 x y) (*.f64 (*.f64 (+.f64 x y) (+.f64 x y)) (+.f64 (+.f64 x y) 1)))
12.0ms
(*.f64 (*.f64 (+.f64 x y) (+.f64 x y)) (+.f64 (+.f64 x y) 1))
5.0ms
(*.f64 (+.f64 x y) (+.f64 x y))

rewrite57.0ms (1.1%)

Algorithm
rewrite-expression-head
Rules
60×flip-+_binary64
60×frac-times_binary64
60×flip3-+_binary64
31×add-cbrt-cube_binary64
31×add-exp-log_binary64
Counts
3 → 146
Calls

3 calls:

16.0ms
(/.f64 (*.f64 x y) (*.f64 (*.f64 (+.f64 x y) (+.f64 x y)) (+.f64 (+.f64 x y) 1)))
13.0ms
(*.f64 (+.f64 x y) (+.f64 x y))
12.0ms
(*.f64 (*.f64 (+.f64 x y) (+.f64 x y)) (+.f64 (+.f64 x y) 1))

simplify136.0ms (2.7%)

Algorithm
egg-herbie
Rules
650×times-frac_binary64
389×fma-def_binary64
369×distribute-rgt-in_binary64
363×associate-/l*_binary64
348×distribute-lft-in_binary64
Counts
218 → 276
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
04487281
114726637
251626637

prune250.0ms (4.9%)

Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New2679276
Fresh101
Picked101
Done000
Total2699278
Error
3.3b
Counts
278 → 9
Alt Table
StatusErrorProgram
51.3b
(/.f64 (*.f64 x y) (/.f64 (*.f64 (*.f64 (+.f64 (pow.f64 x 3) (pow.f64 y 3)) (+.f64 (pow.f64 x 3) (pow.f64 y 3))) (+.f64 (+.f64 x y) 1)) (*.f64 (+.f64 (*.f64 x x) (-.f64 (*.f64 y y) (*.f64 x y))) (+.f64 (*.f64 x x) (-.f64 (*.f64 y y) (*.f64 x y))))))
34.6b
(/.f64 x (*.f64 y (+.f64 1 y)))
5.7b
(*.f64 (/.f64 x (*.f64 (+.f64 x y) (+.f64 x y))) (/.f64 y (+.f64 (+.f64 x y) 1)))
25.2b
(/.f64 (*.f64 x y) (cbrt.f64 (pow.f64 (*.f64 (*.f64 (+.f64 x y) (+.f64 x y)) (+.f64 x (+.f64 y 1))) 3)))
51.6b
(exp.f64 (-.f64 (+.f64 (log.f64 x) (log.f64 y)) (+.f64 (+.f64 (log.f64 (+.f64 x y)) (log.f64 (+.f64 x y))) (log.f64 (+.f64 (+.f64 x y) 1)))))
5.7b
(/.f64 (*.f64 (/.f64 x (*.f64 (+.f64 x y) (+.f64 x y))) y) (+.f64 (+.f64 x y) 1))
9.5b
(*.f64 (*.f64 (/.f64 x (+.f64 x y)) (/.f64 y (+.f64 (pow.f64 (+.f64 x y) 3) (neg.f64 (+.f64 x y))))) (-.f64 (+.f64 x y) 1))
30.4b
(/.f64 y (*.f64 (+.f64 1 x) x))
19.7b
(/.f64 (*.f64 x y) (/.f64 (*.f64 (*.f64 (-.f64 (*.f64 x x) (*.f64 y y)) (+.f64 x y)) (+.f64 (+.f64 x y) 1)) (-.f64 x y)))
Compiler

Compiled 10418 to 4384 computations (57.9% saved)

localize7.0ms (0.1%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(*.f64 (+.f64 x y) (+.f64 x y))
0.0b
(/.f64 y (+.f64 (+.f64 x y) 1))
0.1b
(*.f64 (/.f64 x (*.f64 (+.f64 x y) (+.f64 x y))) (/.f64 y (+.f64 (+.f64 x y) 1)))
16.3b
(/.f64 x (*.f64 (+.f64 x y) (+.f64 x y)))

series56.0ms (1.1%)

Counts
3 → 72
Calls

3 calls:

34.0ms
(*.f64 (/.f64 x (*.f64 (+.f64 x y) (+.f64 x y))) (/.f64 y (+.f64 (+.f64 x y) 1)))
11.0ms
(/.f64 y (+.f64 (+.f64 x y) 1))
10.0ms
(/.f64 x (*.f64 (+.f64 x y) (+.f64 x y)))

rewrite42.0ms (0.8%)

Algorithm
rewrite-expression-head
Rules
61×*-un-lft-identity_binary64
40×times-frac_binary64
36×add-sqr-sqrt_binary64
31×add-cbrt-cube_binary64
31×add-exp-log_binary64
Counts
3 → 136
Calls

3 calls:

18.0ms
(*.f64 (/.f64 x (*.f64 (+.f64 x y) (+.f64 x y))) (/.f64 y (+.f64 (+.f64 x y) 1)))
6.0ms
(/.f64 x (*.f64 (+.f64 x y) (+.f64 x y)))
5.0ms
(/.f64 y (+.f64 (+.f64 x y) 1))

simplify118.0ms (2.3%)

Algorithm
egg-herbie
Rules
364×times-frac_binary64
346×associate-/r*_binary64
278×fma-def_binary64
267×associate-/l*_binary64
240×associate-*r/_binary64
Counts
208 → 271
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
04816928
114676405
250146405

prune349.0ms (6.8%)

Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New3166322
Fresh628
Picked101
Done000
Total3238331
Error
0.0b
Counts
331 → 8
Alt Table
StatusErrorProgram
9.5b
(*.f64 (*.f64 (/.f64 x (+.f64 x y)) (/.f64 y (+.f64 (pow.f64 (+.f64 x y) 3) (neg.f64 (+.f64 x y))))) (-.f64 (+.f64 x y) 1))
0.7b
(*.f64 (*.f64 (/.f64 (*.f64 (cbrt.f64 x) (cbrt.f64 x)) (+.f64 x y)) (/.f64 (cbrt.f64 x) (+.f64 x y))) (/.f64 y (+.f64 (+.f64 x y) 1)))
19.7b
(/.f64 (*.f64 x y) (/.f64 (*.f64 (*.f64 (-.f64 (*.f64 x x) (*.f64 y y)) (+.f64 x y)) (+.f64 (+.f64 x y) 1)) (-.f64 x y)))
0.2b
(*.f64 (/.f64 1 (+.f64 x y)) (*.f64 (/.f64 x (+.f64 x y)) (/.f64 y (+.f64 (+.f64 x y) 1))))
5.7b
(*.f64 (/.f64 x (*.f64 (+.f64 x y) (+.f64 x y))) (/.f64 1 (/.f64 (+.f64 (+.f64 x y) 1) y)))
15.6b
(*.f64 (*.f64 (/.f64 x (*.f64 (-.f64 (*.f64 x x) (*.f64 y y)) (+.f64 x y))) (-.f64 x y)) (/.f64 y (+.f64 (+.f64 x y) 1)))
5.7b
(*.f64 (*.f64 x (/.f64 1 (*.f64 (+.f64 x y) (+.f64 x y)))) (/.f64 y (+.f64 (+.f64 x y) 1)))
6.1b
(*.f64 (/.f64 x (*.f64 (*.f64 (cbrt.f64 (+.f64 x y)) (cbrt.f64 (+.f64 x y))) (*.f64 (+.f64 x y) (cbrt.f64 (+.f64 x y))))) (/.f64 y (+.f64 (+.f64 x y) 1)))
Compiler

Compiled 10792 to 4716 computations (56.3% saved)

localize8.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(/.f64 1 (+.f64 x y))
0.0b
(/.f64 y (+.f64 (+.f64 x y) 1))
0.0b
(*.f64 (/.f64 x (+.f64 x y)) (/.f64 y (+.f64 (+.f64 x y) 1)))
0.2b
(*.f64 (/.f64 1 (+.f64 x y)) (*.f64 (/.f64 x (+.f64 x y)) (/.f64 y (+.f64 (+.f64 x y) 1))))

series65.0ms (1.3%)

Counts
3 → 72
Calls

3 calls:

33.0ms
(*.f64 (/.f64 1 (+.f64 x y)) (*.f64 (/.f64 x (+.f64 x y)) (/.f64 y (+.f64 (+.f64 x y) 1))))
25.0ms
(*.f64 (/.f64 x (+.f64 x y)) (/.f64 y (+.f64 (+.f64 x y) 1)))
7.0ms
(/.f64 1 (+.f64 x y))

rewrite57.0ms (1.1%)

Algorithm
rewrite-expression-head
Rules
96×add-exp-log_binary64
72×*-un-lft-identity_binary64
58×add-cbrt-cube_binary64
55×times-frac_binary64
49×add-sqr-sqrt_binary64
Counts
3 → 172
Calls

3 calls:

17.0ms
(*.f64 (/.f64 x (+.f64 x y)) (/.f64 y (+.f64 (+.f64 x y) 1)))
17.0ms
(*.f64 (/.f64 1 (+.f64 x y)) (*.f64 (/.f64 x (+.f64 x y)) (/.f64 y (+.f64 (+.f64 x y) 1))))
4.0ms
(/.f64 1 (+.f64 x y))

simplify164.0ms (3.2%)

Algorithm
egg-herbie
Rules
969×fma-def_binary64
368×times-frac_binary64
339×associate-/r*_binary64
336×associate-/l*_binary64
293×associate-*r/_binary64
Counts
244 → 305
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
05448533
116717661
249067625
355417625

prune531.0ms (10.4%)

Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New3837390
Fresh617
Picked101
Done000
Total3908398
Error
0.0b
Counts
398 → 8
Alt Table
StatusErrorProgram
0.5b
(*.f64 (/.f64 1 (+.f64 x y)) (*.f64 (/.f64 x (+.f64 x y)) (/.f64 (/.f64 y (*.f64 (cbrt.f64 (+.f64 x (+.f64 y 1))) (cbrt.f64 (+.f64 x (+.f64 y 1))))) (cbrt.f64 (+.f64 (+.f64 x y) 1)))))
0.2b
(*.f64 (/.f64 1 (+.f64 x y)) (*.f64 x (/.f64 (/.f64 y (+.f64 x (+.f64 y 1))) (+.f64 x y))))
35.6b
(*.f64 (sqrt.f64 (/.f64 1 (+.f64 x y))) (*.f64 (sqrt.f64 (/.f64 1 (+.f64 x y))) (*.f64 (/.f64 x (+.f64 x y)) (/.f64 y (+.f64 (+.f64 x y) 1)))))
0.7b
(*.f64 (*.f64 (/.f64 (*.f64 (cbrt.f64 x) (cbrt.f64 x)) (+.f64 x y)) (/.f64 (cbrt.f64 x) (+.f64 x y))) (/.f64 y (+.f64 (+.f64 x y) 1)))
13.8b
(*.f64 (/.f64 1 (+.f64 x y)) (/.f64 (*.f64 x y) (*.f64 (+.f64 x y) (+.f64 (+.f64 x y) 1))))
0.7b
(*.f64 (*.f64 (cbrt.f64 (/.f64 (*.f64 (/.f64 x (+.f64 x y)) (/.f64 y (+.f64 x (+.f64 y 1)))) (+.f64 x y))) (cbrt.f64 (/.f64 (*.f64 (/.f64 x (+.f64 x y)) (/.f64 y (+.f64 x (+.f64 y 1)))) (+.f64 x y)))) (cbrt.f64 (/.f64 (*.f64 (/.f64 x (+.f64 x y)) (/.f64 y (+.f64 x (+.f64 y 1)))) (+.f64 x y))))
0.2b
(*.f64 (/.f64 1 (+.f64 x y)) (*.f64 (/.f64 x (+.f64 x y)) (/.f64 1 (/.f64 (+.f64 x (+.f64 y 1)) y))))
0.1b
(/.f64 (*.f64 (/.f64 x (+.f64 x y)) (/.f64 y (+.f64 x (+.f64 y 1)))) (+.f64 x y))
Compiler

Compiled 14126 to 7079 computations (49.9% saved)

localize8.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(/.f64 x (+.f64 x y))
0.0b
(/.f64 y (+.f64 x (+.f64 y 1)))
0.0b
(*.f64 (/.f64 x (+.f64 x y)) (/.f64 y (+.f64 x (+.f64 y 1))))
0.1b
(/.f64 (*.f64 (/.f64 x (+.f64 x y)) (/.f64 y (+.f64 x (+.f64 y 1)))) (+.f64 x y))

series79.0ms (1.5%)

Counts
4 → 96
Calls

4 calls:

34.0ms
(/.f64 (*.f64 (/.f64 x (+.f64 x y)) (/.f64 y (+.f64 x (+.f64 y 1)))) (+.f64 x y))
26.0ms
(*.f64 (/.f64 x (+.f64 x y)) (/.f64 y (+.f64 x (+.f64 y 1))))
11.0ms
(/.f64 y (+.f64 x (+.f64 y 1)))
8.0ms
(/.f64 x (+.f64 x y))

rewrite54.0ms (1.1%)

Algorithm
rewrite-expression-head
Rules
95×*-un-lft-identity_binary64
62×times-frac_binary64
54×add-sqr-sqrt_binary64
42×add-cube-cbrt_binary64
38×add-cbrt-cube_binary64
Counts
4 → 175
Calls

4 calls:

19.0ms
(*.f64 (/.f64 x (+.f64 x y)) (/.f64 y (+.f64 x (+.f64 y 1))))
12.0ms
(/.f64 (*.f64 (/.f64 x (+.f64 x y)) (/.f64 y (+.f64 x (+.f64 y 1)))) (+.f64 x y))
5.0ms
(/.f64 y (+.f64 x (+.f64 y 1)))
3.0ms
(/.f64 x (+.f64 x y))

simplify131.0ms (2.6%)

Algorithm
egg-herbie
Rules
438×times-frac_binary64
387×associate-/l*_binary64
377×associate-/r*_binary64
354×fma-def_binary64
293×associate-*l/_binary64
Counts
271 → 289
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
05948980
118448389
251458389

prune361.0ms (7.1%)

Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New2863289
Fresh347
Picked101
Done000
Total2907297
Error
0.0b
Counts
297 → 7
Alt Table
StatusErrorProgram
35.6b
(*.f64 (sqrt.f64 (/.f64 1 (+.f64 x y))) (*.f64 (sqrt.f64 (/.f64 1 (+.f64 x y))) (*.f64 (/.f64 x (+.f64 x y)) (/.f64 y (+.f64 (+.f64 x y) 1)))))
0.4b
(/.f64 (/.f64 x (+.f64 x y)) (/.f64 (+.f64 x y) (/.f64 y (+.f64 x (+.f64 y 1)))))
0.7b
(*.f64 (*.f64 (/.f64 (*.f64 (cbrt.f64 x) (cbrt.f64 x)) (+.f64 x y)) (/.f64 (cbrt.f64 x) (+.f64 x y))) (/.f64 y (+.f64 (+.f64 x y) 1)))
13.8b
(*.f64 (/.f64 1 (+.f64 x y)) (/.f64 (*.f64 x y) (*.f64 (+.f64 x y) (+.f64 (+.f64 x y) 1))))
0.7b
(*.f64 (*.f64 (cbrt.f64 (/.f64 (*.f64 (/.f64 x (+.f64 x y)) (/.f64 y (+.f64 x (+.f64 y 1)))) (+.f64 x y))) (cbrt.f64 (/.f64 (*.f64 (/.f64 x (+.f64 x y)) (/.f64 y (+.f64 x (+.f64 y 1)))) (+.f64 x y)))) (cbrt.f64 (/.f64 (*.f64 (/.f64 x (+.f64 x y)) (/.f64 y (+.f64 x (+.f64 y 1)))) (+.f64 x y))))
0.5b
(/.f64 (*.f64 (/.f64 x (+.f64 x y)) (/.f64 (/.f64 y (*.f64 (cbrt.f64 (+.f64 x (+.f64 y 1))) (cbrt.f64 (+.f64 x (+.f64 y 1))))) (cbrt.f64 (+.f64 x (+.f64 y 1))))) (+.f64 x y))
0.1b
(*.f64 (/.f64 x (+.f64 x y)) (/.f64 (/.f64 y (+.f64 x (+.f64 y 1))) (+.f64 x y)))
Compiler

Compiled 10556 to 5461 computations (48.3% saved)

regimes1.1s (22.3%)

Accuracy

Total 0.1b remaining (73.6%)

Threshold costs 0.1b (73.6%)

Counts
346 → 1
Compiler

Compiled 25502 to 13911 computations (45.5% saved)

simplify2.0ms (0%)

Algorithm
egg-herbie
Rules
+-commutative_binary64
*-commutative_binary64
1-exp_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01329
11929
21829

end109.0ms (2.1%)

Remove

(sort x y)

Compiler

Compiled 290 to 155 computations (46.6% saved)

Profiling

Loading profile data...