Details

Time bar (total: 5.5s)

analyze4.0ms (0.1%)

Algorithm
search
Search
TrueOtherFalseIter
0%99.6%0.4%0
99.6%0%0.4%1
Compiler

Compiled 24 to 16 computations (33.3% saved)

sample1.6s (29%)

Symmetry

(sort x y)

(sort z t)

(sort a b)

(sort c i)

Results
1.5s8256×body128valid
Compiler

Compiled 71 to 47 computations (33.8% saved)

simplify16.0ms (0.3%)

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

Useful iterations: 1 (0.0ms)

IterNodesCost
01620
12816
26116
310516
412116
512316
612316

prune15.0ms (0.3%)

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New112
Fresh101
Picked000
Done000
Total213
Error
1.5b
Counts
3 → 1
Alt Table
StatusErrorProgram
1.5b
(fma.f64 c i (fma.f64 a b (fma.f64 x y (*.f64 z t))))
Compiler

Compiled 75 to 42 computations (44% saved)

localize10.0ms (0.2%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.3b
(fma.f64 x y (*.f64 z t))
0.5b
(fma.f64 a b (fma.f64 x y (*.f64 z t)))
0.8b
(fma.f64 c i (fma.f64 a b (fma.f64 x y (*.f64 z t))))

series96.0ms (1.7%)

Counts
3 → 216
Calls

3 calls:

62.0ms
(fma.f64 c i (fma.f64 a b (fma.f64 x y (*.f64 z t))))
18.0ms
(fma.f64 a b (fma.f64 x y (*.f64 z t)))
16.0ms
(fma.f64 x y (*.f64 z t))

rewrite2.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
3 → 30
Calls

3 calls:

1.0ms
(fma.f64 a b (fma.f64 x y (*.f64 z t)))
0.0ms
(fma.f64 x y (*.f64 z t))
0.0ms
(fma.f64 c i (fma.f64 a b (fma.f64 x y (*.f64 z t))))

simplify186.0ms (3.4%)

Algorithm
egg-herbie
Rules
864×unswap-sqr_binary64
587×fma-def_binary64
579×associate-+r+_binary64
555×associate-+l+_binary64
395×associate-*l*_binary64
Counts
246 → 75
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
0612908
1952833
22242833
39252833
433182833
534632833
649722833

prune95.0ms (1.7%)

Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New73275
Fresh000
Picked011
Done000
Total73376
Error
0.0b
Counts
76 → 3
Alt Table
StatusErrorProgram
15.7b
(fma.f64 c i (fma.f64 a b (*.f64 y x)))
1.3b
(fma.f64 y x (fma.f64 a b (fma.f64 t z (*.f64 c i))))
1.5b
(fma.f64 c i (fma.f64 a b (fma.f64 x y (*.f64 z t))))
Compiler

Compiled 1292 to 273 computations (78.9% saved)

localize18.0ms (0.3%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.2b
(fma.f64 a b (fma.f64 t z (*.f64 c i)))
0.5b
(fma.f64 t z (*.f64 c i))
0.5b
(fma.f64 y x (fma.f64 a b (fma.f64 t z (*.f64 c i))))

series92.0ms (1.7%)

Counts
3 → 216
Calls

3 calls:

50.0ms
(fma.f64 y x (fma.f64 a b (fma.f64 t z (*.f64 c i))))
30.0ms
(fma.f64 a b (fma.f64 t z (*.f64 c i)))
12.0ms
(fma.f64 t z (*.f64 c i))

rewrite4.0ms (0.1%)

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
3 → 30
Calls

3 calls:

1.0ms
(fma.f64 y x (fma.f64 a b (fma.f64 t z (*.f64 c i))))
1.0ms
(fma.f64 t z (*.f64 c i))
1.0ms
(fma.f64 a b (fma.f64 t z (*.f64 c i)))

simplify108.0ms (2%)

Algorithm
egg-herbie
Rules
814×associate-+r+_binary64
749×associate-+l+_binary64
681×fma-def_binary64
440×associate-*l*_binary64
356×associate-*r*_binary64
Counts
246 → 57
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
0572908
1872833
22312833
310552833
455062833

prune65.0ms (1.2%)

Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New55257
Fresh101
Picked011
Done011
Total56460
Error
0b
Counts
60 → 4
Alt Table
StatusErrorProgram
1.3b
(fma.f64 y x (fma.f64 a b (fma.f64 t z (*.f64 c i))))
1.6b
(fma.f64 y x (fma.f64 a b (*.f64 (*.f64 (cbrt.f64 (fma.f64 t z (*.f64 c i))) (cbrt.f64 (fma.f64 t z (*.f64 c i)))) (cbrt.f64 (fma.f64 t z (*.f64 c i))))))
15.0b
(fma.f64 y x (fma.f64 a b (*.f64 c i)))
1.5b
(fma.f64 c i (fma.f64 a b (fma.f64 x y (*.f64 z t))))
Compiler

Compiled 1009 to 219 computations (78.3% saved)

localize25.0ms (0.5%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.5b
(*.f64 (cbrt.f64 (fma.f64 t z (*.f64 c i))) (cbrt.f64 (fma.f64 t z (*.f64 c i))))
0.5b
(fma.f64 t z (*.f64 c i))
0.5b
(fma.f64 y x (fma.f64 a b (*.f64 (*.f64 (cbrt.f64 (fma.f64 t z (*.f64 c i))) (cbrt.f64 (fma.f64 t z (*.f64 c i)))) (cbrt.f64 (fma.f64 t z (*.f64 c i))))))
15.5b
(cbrt.f64 (fma.f64 t z (*.f64 c i)))

series318.0ms (5.8%)

Counts
3 → 192
Calls

3 calls:

183.0ms
(*.f64 (cbrt.f64 (fma.f64 t z (*.f64 c i))) (cbrt.f64 (fma.f64 t z (*.f64 c i))))
72.0ms
(cbrt.f64 (fma.f64 t z (*.f64 c i)))
62.0ms
(fma.f64 y x (fma.f64 a b (*.f64 (*.f64 (cbrt.f64 (fma.f64 t z (*.f64 c i))) (cbrt.f64 (fma.f64 t z (*.f64 c i)))) (cbrt.f64 (fma.f64 t z (*.f64 c i))))))

rewrite19.0ms (0.3%)

Algorithm
rewrite-expression-head
Rules
20×add-sqr-sqrt_binary64
19×cbrt-prod_binary64
12×*-un-lft-identity_binary64
12×add-cube-cbrt_binary64
10×pow1_binary64
Counts
3 → 65
Calls

3 calls:

9.0ms
(*.f64 (cbrt.f64 (fma.f64 t z (*.f64 c i))) (cbrt.f64 (fma.f64 t z (*.f64 c i))))
1.0ms
(cbrt.f64 (fma.f64 t z (*.f64 c i)))
1.0ms
(fma.f64 y x (fma.f64 a b (*.f64 (*.f64 (cbrt.f64 (fma.f64 t z (*.f64 c i))) (cbrt.f64 (fma.f64 t z (*.f64 c i)))) (cbrt.f64 (fma.f64 t z (*.f64 c i))))))

simplify272.0ms (4.9%)

Algorithm
egg-herbie
Rules
614×associate-/l*_binary64
569×associate-/r*_binary64
270×fma-def_binary64
224×associate-*l/_binary64
221×*-commutative_binary64
Counts
257 → 276
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
05739504
119838923
250978923

prune922.0ms (16.7%)

Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New5121513
Fresh101
Picked011
Done022
Total5134517
Error
0b
Counts
517 → 4
Alt Table
StatusErrorProgram
15.0b
(fma.f64 y x (fma.f64 c i (*.f64 a b)))
1.6b
(fma.f64 y x (fma.f64 a b (*.f64 (*.f64 (cbrt.f64 (fma.f64 t z (*.f64 c i))) (cbrt.f64 (fma.f64 t z (*.f64 c i)))) (cbrt.f64 (fma.f64 t z (*.f64 c i))))))
1.3b
(fma.f64 y x (fma.f64 a b (fma.f64 t z (*.f64 c i))))
1.5b
(fma.f64 c i (fma.f64 a b (fma.f64 x y (*.f64 z t))))
Compiler

Compiled 27652 to 10853 computations (60.8% saved)

localize11.0ms (0.2%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.2b
(fma.f64 c i (*.f64 a b))
0.3b
(fma.f64 y x (fma.f64 c i (*.f64 a b)))

series29.0ms (0.5%)

Counts
2 → 120
Calls

2 calls:

20.0ms
(fma.f64 y x (fma.f64 c i (*.f64 a b)))
9.0ms
(fma.f64 c i (*.f64 a b))

rewrite3.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
2 → 20
Calls

2 calls:

1.0ms
(fma.f64 y x (fma.f64 c i (*.f64 a b)))
1.0ms
(fma.f64 c i (*.f64 a b))

simplify173.0ms (3.1%)

Algorithm
egg-herbie
Rules
914×distribute-lft-in_binary64
914×distribute-rgt-in_binary64
738×unswap-sqr_binary64
682×distribute-rgt-out_binary64
377×fma-def_binary64
Counts
140 → 46
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
0351376
1501334
21361334
35451334
430411334
531311334
634681334
738411334
843191334
944351334
1056411334

prune45.0ms (0.8%)

Pruning

4 alts after pruning (0 fresh and 4 done)

PrunedKeptTotal
New46046
Fresh000
Picked011
Done033
Total46450
Error
0b
Counts
50 → 4
Alt Table
StatusErrorProgram
15.0b
(fma.f64 y x (fma.f64 c i (*.f64 a b)))
1.6b
(fma.f64 y x (fma.f64 a b (*.f64 (*.f64 (cbrt.f64 (fma.f64 t z (*.f64 c i))) (cbrt.f64 (fma.f64 t z (*.f64 c i)))) (cbrt.f64 (fma.f64 t z (*.f64 c i))))))
1.3b
(fma.f64 y x (fma.f64 a b (fma.f64 t z (*.f64 c i))))
1.5b
(fma.f64 c i (fma.f64 a b (fma.f64 x y (*.f64 z t))))
Compiler

Compiled 693 to 163 computations (76.5% saved)

regimes1.1s (19.7%)

Accuracy

Total 1.2b remaining (99.2%)

Threshold costs 0b (0%)

Counts
51 → 1
Compiler

Compiled 16489 to 10631 computations (35.5% saved)

simplify3.0ms (0.1%)

Algorithm
egg-herbie
Rules
*-commutative_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01316
11416
21416

end299.0ms (5.4%)

Remove

(sort c i)

(sort a b)

(sort z t)

(sort x y)

Compiler

Compiled 294 to 170 computations (42.2% saved)

Profiling

Loading profile data...