Details

Time bar (total: 2.0s)

analyze4.0ms (0.2%)

Algorithm
search
Search
TrueOtherFalseIter
0%99.7%0.3%0
99.7%0%0.3%1
Compiler

Compiled 18 to 12 computations (33.3% saved)

sample1.1s (54.2%)

Symmetry

(sort x y)

(sort z t)

(sort a b)

Results
1.0s8256×body128valid
Compiler

Compiled 53 to 35 computations (34% saved)

simplify12.0ms (0.6%)

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

Useful iterations: 1 (0.0ms)

IterNodesCost
01214
12012
23512
34312
44312

prune3.0ms (0.2%)

Pruning

1 alts after pruning (1 fresh and 0 done)

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

Compiled 56 to 31 computations (44.6% saved)

localize7.0ms (0.4%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.3b
(fma.f64 x y (*.f64 z t))
1.0b
(fma.f64 a b (fma.f64 x y (*.f64 z t)))

series38.0ms (1.9%)

Counts
2 → 120
Calls

2 calls:

19.0ms
(fma.f64 x y (*.f64 z t))
18.0ms
(fma.f64 a b (fma.f64 x y (*.f64 z t)))

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

2 calls:

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

simplify172.0ms (8.7%)

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 → 47
Iterations

Useful iterations: 1 (0.0ms)

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

prune37.0ms (1.9%)

Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New46147
Fresh000
Picked011
Done000
Total46248
Error
0.0b
Counts
48 → 2
Alt Table
StatusErrorProgram
1.3b
(fma.f64 a b (fma.f64 x y (*.f64 z t)))
17.8b
(fma.f64 y x (*.f64 a b))
Compiler

Compiled 646 to 140 computations (78.3% saved)

localize10.0ms (0.5%)

Local error

Found 1 expressions with local error:

NewErrorProgram
0.0b
(fma.f64 y x (*.f64 a b))

series15.0ms (0.8%)

Counts
1 → 48
Calls

1 calls:

15.0ms
(fma.f64 y x (*.f64 a b))

rewrite1.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
1 → 10
Calls

1 calls:

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

simplify174.0ms (8.8%)

Algorithm
egg-herbie
Rules
572×associate-/r/_binary64
527×fma-def_binary64
502×unswap-sqr_binary64
500×distribute-rgt-in_binary64
485×associate-+l+_binary64
Counts
58 → 21
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
019460
123443
247443
3128443
4401443
51504443
62934443
73199443
83454443
93982443
104805443
114988443
124867443

prune15.0ms (0.8%)

Pruning

2 alts after pruning (0 fresh and 2 done)

PrunedKeptTotal
New21021
Fresh000
Picked011
Done011
Total21223
Error
0.0b
Counts
23 → 2
Alt Table
StatusErrorProgram
1.3b
(fma.f64 a b (fma.f64 x y (*.f64 z t)))
17.8b
(fma.f64 y x (*.f64 a b))
Compiler

Compiled 245 to 65 computations (73.5% saved)

regimes278.0ms (14%)

Accuracy

Total 0.7b remaining (99.5%)

Threshold costs 0.7b (99.5%)

Counts
16 → 1
Compiler

Compiled 2715 to 1903 computations (29.9% saved)

simplify3.0ms (0.2%)

Algorithm
egg-herbie
Rules
*-commutative_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01012
11112
21112

end136.0ms (6.9%)

Remove

(sort a b)

(sort z t)

(sort x y)

Compiler

Compiled 147 to 89 computations (39.5% saved)

Profiling

Loading profile data...