Details

Time bar (total: 2.4s)

analyze420.0ms (17.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
0%99.9%0.1%5
0%99.9%0.1%6
12.5%87.4%0.1%7
25%74.9%0.1%8
31.2%64%4.8%9
31.2%42.1%26.7%10
35.9%37.1%27.1%11
38.2%32.2%29.6%12
47.8%21.6%30.6%13
50.2%19%30.8%14
Compiler

Compiled 19 to 9 computations (52.6% saved)

sample938.0ms (38.6%)

Symmetry

(sort x y)

Results
847.0ms8256×body128valid
58.0ms489×body128invalid
Compiler

Compiled 56 to 26 computations (53.6% saved)

simplify15.0ms (0.6%)

Algorithm
egg-herbie
Rules
32×fma-def_binary64
*-commutative_binary64
associate-+l+_binary64
associate-*r*_binary64
+-commutative_binary64
Counts
1 → 2
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
0920
11715
23411
35411
46811
57211
67011

prune3.0ms (0.1%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New022
Fresh011
Picked000
Done000
Total033
Error
0.0b
Counts
3 → 2
Alt Table
StatusErrorProgram
0.1b
(fma.f64 z (*.f64 z 3) (*.f64 x y))
0.1b
(+.f64 (+.f64 (+.f64 (*.f64 x y) (*.f64 z z)) (*.f64 z z)) (*.f64 z z))
Compiler

Compiled 84 to 41 computations (51.2% saved)

localize5.0ms (0.2%)

Local error

Found 1 expressions with local error:

NewErrorProgram
0.1b
(fma.f64 z (*.f64 z 3) (*.f64 x y))

series19.0ms (0.8%)

Counts
1 → 36
Calls

1 calls:

19.0ms
(fma.f64 z (*.f64 z 3) (*.f64 x y))

rewrite1.0ms (0%)

Algorithm
rewrite-expression-head
Rules
*-un-lft-identity_binary64
add-sqr-sqrt_binary64
add-cube-cbrt_binary64
add-cbrt-cube_binary64
add-exp-log_binary64
Counts
1 → 10
Calls

1 calls:

0.0ms
(fma.f64 z (*.f64 z 3) (*.f64 x y))

simplify63.0ms (2.6%)

Algorithm
egg-herbie
Rules
893×fma-def_binary64
483×distribute-rgt-out_binary64
466×distribute-rgt-in_binary64
458×distribute-lft-in_binary64
301×*-commutative_binary64
Counts
46 → 23
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
023508
134485
265485
3184485
4750485
52905485
63790485
74921485

prune19.0ms (0.8%)

Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New20323
Fresh011
Picked011
Done000
Total20525
Error
0.0b
Counts
25 → 5
Alt Table
StatusErrorProgram
0.1b
(fma.f64 z (*.f64 z 3) (*.f64 x y))
0.1b
(+.f64 (+.f64 (+.f64 (*.f64 x y) (*.f64 z z)) (*.f64 z z)) (*.f64 z z))
17.1b
(*.f64 (sqrt.f64 (fma.f64 z (*.f64 z 3) (*.f64 x y))) (sqrt.f64 (fma.f64 z (*.f64 z 3) (*.f64 x y))))
1.3b
(*.f64 (*.f64 (cbrt.f64 (fma.f64 z (*.f64 z 3) (*.f64 x y))) (cbrt.f64 (fma.f64 z (*.f64 z 3) (*.f64 x y)))) (cbrt.f64 (fma.f64 z (*.f64 z 3) (*.f64 x y))))
0.1b
(fma.f64 y x (*.f64 3 (*.f64 z z)))
Compiler

Compiled 462 to 240 computations (48.1% saved)

localize6.0ms (0.3%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.0b
(fma.f64 y x (*.f64 3 (*.f64 z z)))
0.2b
(*.f64 3 (*.f64 z z))

series15.0ms (0.6%)

Counts
2 → 48
Calls

2 calls:

12.0ms
(fma.f64 y x (*.f64 3 (*.f64 z z)))
3.0ms
(*.f64 3 (*.f64 z z))

rewrite8.0ms (0.3%)

Algorithm
rewrite-expression-head
Rules
add-cbrt-cube_binary64
add-exp-log_binary64
pow1_binary64
add-sqr-sqrt_binary64
associate-*l*_binary64
Counts
2 → 31
Calls

2 calls:

7.0ms
(*.f64 3 (*.f64 z z))
0.0ms
(fma.f64 y x (*.f64 3 (*.f64 z z)))

simplify73.0ms (3%)

Algorithm
egg-herbie
Rules
744×distribute-rgt-in_binary64
732×distribute-lft-in_binary64
709×associate-/l/_binary64
476×fma-def_binary64
374×*-commutative_binary64
Counts
79 → 44
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
053811
193752
2216743
3554743
41006743
52364743
63846743
75210743

prune39.0ms (1.6%)

Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New41344
Fresh303
Picked101
Done011
Total45449
Error
0.0b
Counts
49 → 4
Alt Table
StatusErrorProgram
0.1b
(fma.f64 z (*.f64 z 3) (*.f64 x y))
0.1b
(fma.f64 y x (*.f64 (*.f64 (cbrt.f64 3) (cbrt.f64 3)) (*.f64 (cbrt.f64 3) (*.f64 z z))))
0.2b
(fma.f64 y x (*.f64 (sqrt.f64 (*.f64 3 (*.f64 z z))) (sqrt.f64 (*.f64 3 (*.f64 z z)))))
0.1b
(fma.f64 3 (*.f64 z z) (*.f64 y x))
Compiler

Compiled 677 to 357 computations (47.3% saved)

localize5.0ms (0.2%)

Local error

Found 1 expressions with local error:

NewErrorProgram
0.1b
(fma.f64 3 (*.f64 z z) (*.f64 y x))

series15.0ms (0.6%)

Counts
1 → 36
Calls

1 calls:

15.0ms
(fma.f64 3 (*.f64 z z) (*.f64 y x))

rewrite1.0ms (0%)

Algorithm
rewrite-expression-head
Rules
*-un-lft-identity_binary64
add-sqr-sqrt_binary64
add-cube-cbrt_binary64
add-cbrt-cube_binary64
add-exp-log_binary64
Counts
1 → 10
Calls

1 calls:

0.0ms
(fma.f64 3 (*.f64 z z) (*.f64 y x))

simplify64.0ms (2.6%)

Algorithm
egg-herbie
Rules
893×fma-def_binary64
483×distribute-rgt-out_binary64
466×distribute-rgt-in_binary64
458×distribute-lft-in_binary64
302×*-commutative_binary64
Counts
46 → 22
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
022508
132485
264485
3184485
4750485
52905485
63790485
74921485

prune14.0ms (0.6%)

Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New22022
Fresh022
Picked011
Done011
Total22426
Error
0.0b
Counts
26 → 4
Alt Table
StatusErrorProgram
0.1b
(fma.f64 z (*.f64 z 3) (*.f64 x y))
0.1b
(fma.f64 y x (*.f64 (*.f64 (cbrt.f64 3) (cbrt.f64 3)) (*.f64 (cbrt.f64 3) (*.f64 z z))))
0.2b
(fma.f64 y x (*.f64 (sqrt.f64 (*.f64 3 (*.f64 z z))) (sqrt.f64 (*.f64 3 (*.f64 z z)))))
0.1b
(fma.f64 3 (*.f64 z z) (*.f64 y x))
Compiler

Compiled 372 to 188 computations (49.5% saved)

localize9.0ms (0.4%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(fma.f64 y x (*.f64 (*.f64 (cbrt.f64 3) (cbrt.f64 3)) (*.f64 (cbrt.f64 3) (*.f64 z z))))
0.1b
(*.f64 (*.f64 (cbrt.f64 3) (cbrt.f64 3)) (*.f64 (cbrt.f64 3) (*.f64 z z)))
0.3b
(*.f64 (cbrt.f64 3) (*.f64 z z))

series56.0ms (2.3%)

Counts
3 → 60
Calls

3 calls:

36.0ms
(fma.f64 y x (*.f64 (*.f64 (cbrt.f64 3) (cbrt.f64 3)) (*.f64 (cbrt.f64 3) (*.f64 z z))))
14.0ms
(*.f64 (*.f64 (cbrt.f64 3) (cbrt.f64 3)) (*.f64 (cbrt.f64 3) (*.f64 z z)))
6.0ms
(*.f64 (cbrt.f64 3) (*.f64 z z))

rewrite21.0ms (0.9%)

Algorithm
rewrite-expression-head
Rules
29×add-exp-log_binary64
29×pow1_binary64
18×cbrt-unprod_binary64
18×prod-exp_binary64
18×pow-prod-down_binary64
Counts
3 → 65
Calls

3 calls:

10.0ms
(*.f64 (*.f64 (cbrt.f64 3) (cbrt.f64 3)) (*.f64 (cbrt.f64 3) (*.f64 z z)))
6.0ms
(*.f64 (cbrt.f64 3) (*.f64 z z))
0.0ms
(fma.f64 y x (*.f64 (*.f64 (cbrt.f64 3) (cbrt.f64 3)) (*.f64 (cbrt.f64 3) (*.f64 z z))))

simplify113.0ms (4.6%)

Algorithm
egg-herbie
Rules
489×fma-def_binary64
409×times-frac_binary64
328×sqr-pow_binary64
280×*-commutative_binary64
267×associate-/l*_binary64
Counts
125 → 96
Iterations

Useful iterations: 6 (0.0ms)

IterNodesCost
0861400
11571209
24741179
38311179
412751179
526951179
640631174
746831174
848621174

prune98.0ms (4%)

Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New95196
Fresh011
Picked101
Done022
Total964100
Error
0b
Counts
100 → 4
Alt Table
StatusErrorProgram
0.1b
(fma.f64 z (*.f64 z 3) (*.f64 x y))
0.2b
(fma.f64 y x (*.f64 (*.f64 (cbrt.f64 3) (cbrt.f64 3)) (*.f64 (*.f64 (cbrt.f64 (sqrt.f64 3)) z) (*.f64 (cbrt.f64 (sqrt.f64 3)) z))))
0.2b
(fma.f64 y x (*.f64 (sqrt.f64 (*.f64 3 (*.f64 z z))) (sqrt.f64 (*.f64 3 (*.f64 z z)))))
0.1b
(fma.f64 3 (*.f64 z z) (*.f64 y x))
Compiler

Compiled 1925 to 1287 computations (33.1% saved)

regimes333.0ms (13.7%)

Accuracy

Total 0.1b remaining (86.4%)

Threshold costs 0.1b (86.4%)

Counts
52 → 1
Compiler

Compiled 5733 to 4115 computations (28.2% saved)

simplify2.0ms (0.1%)

Algorithm
egg-herbie
Rules
*-commutative_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0811
11011
21011

end75.0ms (3.1%)

Remove

(sort x y)

Compiler

Compiled 108 to 73 computations (32.4% saved)

Profiling

Loading profile data...