Details

Time bar (total: 5.8s)

analyze1.3s (22.7%)

Algorithm
search
Search
TrueOtherFalseIter
0%99.8%0.2%0
0%99.8%0.2%1
0%99.8%0.2%2
0%99.8%0.2%3
0%99.8%0.2%4
0%99.8%0.2%5
0%99.8%0.2%6
0%99.8%0.2%7
0%99.8%0.2%8
0%99.8%0.2%9
0%99.8%0.2%10
0%99.8%0.2%11
0.8%98.9%0.3%12
1.9%97.5%0.5%13
3.9%95.1%1%14
Compiler

Compiled 12 to 8 computations (33.3% saved)

sample1.8s (31%)

Symmetry

(sort a1 a2)

(sort b1 b2)

Results
1.0s8256×body128valid
640.0ms1068×body8192exit
118.0ms925×body128invalid
Compiler

Compiled 23 to 15 computations (34.8% saved)

simplify8.0ms (0.1%)

Algorithm
egg-herbie
Rules
14×associate-/l*_binary64
associate-*r/_binary64
associate-/r/_binary64
*-commutative_binary64
associate-/r*_binary64
Counts
1 → 1
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0810
11710
23810
36310
46910
56810
66810

prune2.0ms (0%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022
Error
11.2b
Counts
2 → 1
Alt Table
StatusErrorProgram
11.2b
(/.f64 (*.f64 a1 a2) (*.f64 b1 b2))
Compiler

Compiled 33 to 21 computations (36.4% saved)

localize6.0ms (0.1%)

Local error

Found 1 expressions with local error:

NewErrorProgram
10.9b
(/.f64 (*.f64 a1 a2) (*.f64 b1 b2))

series30.0ms (0.5%)

Counts
1 → 48
Calls

1 calls:

30.0ms
(/.f64 (*.f64 a1 a2) (*.f64 b1 b2))

rewrite7.0ms (0.1%)

Algorithm
rewrite-expression-head
Rules
13×add-cbrt-cube_binary64
13×add-exp-log_binary64
cbrt-unprod_binary64
cbrt-undiv_binary64
div-exp_binary64
Counts
1 → 23
Calls

1 calls:

5.0ms
(/.f64 (*.f64 a1 a2) (*.f64 b1 b2))

simplify89.0ms (1.5%)

Algorithm
egg-herbie
Rules
579×associate-/r*_binary64
476×associate-*l*_binary64
457×associate-*l/_binary64
355×associate-*r/_binary64
344×associate-*r*_binary64
Counts
71 → 36
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
058859
1161754
2820754
33799754
44127754
54478754
64861754
75308754

prune32.0ms (0.5%)

Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New29736
Fresh000
Picked011
Done000
Total29837
Error
0.0b
Counts
37 → 8
Alt Table
StatusErrorProgram
12.4b
(*.f64 (/.f64 a1 b1) (/.f64 a2 b2))
11.8b
(*.f64 (*.f64 (cbrt.f64 (/.f64 (*.f64 a1 a2) (*.f64 b1 b2))) (cbrt.f64 (/.f64 (*.f64 a1 a2) (*.f64 b1 b2)))) (cbrt.f64 (/.f64 (*.f64 a1 a2) (*.f64 b1 b2))))
11.2b
(/.f64 (*.f64 a1 a2) (*.f64 b1 b2))
12.4b
(/.f64 (*.f64 a2 (/.f64 a1 b1)) b2)
10.6b
(/.f64 (/.f64 (*.f64 a1 a2) b1) b2)
15.4b
(/.f64 a1 (/.f64 b1 (/.f64 a2 b2)))
13.1b
(/.f64 a1 (/.f64 (*.f64 b1 b2) a2))
11.7b
(/.f64 1 (/.f64 (*.f64 b1 b2) (*.f64 a1 a2)))
Compiler

Compiled 657 to 226 computations (65.6% saved)

localize6.0ms (0.1%)

Local error

Found 2 expressions with local error:

NewErrorProgram
4.2b
(/.f64 (*.f64 a1 a2) b1)
7.1b
(/.f64 (/.f64 (*.f64 a1 a2) b1) b2)

series47.0ms (0.8%)

Counts
2 → 48
Calls

2 calls:

33.0ms
(/.f64 (/.f64 (*.f64 a1 a2) b1) b2)
13.0ms
(/.f64 (*.f64 a1 a2) b1)

rewrite13.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
36×times-frac_binary64
20×*-un-lft-identity_binary64
20×add-sqr-sqrt_binary64
20×add-cube-cbrt_binary64
16×add-cbrt-cube_binary64
Counts
2 → 73
Calls

2 calls:

5.0ms
(/.f64 (/.f64 (*.f64 a1 a2) b1) b2)
3.0ms
(/.f64 (*.f64 a1 a2) b1)

simplify103.0ms (1.8%)

Algorithm
egg-herbie
Rules
821×associate-/l*_binary64
608×associate-/l/_binary64
389×associate-*l/_binary64
362×associate-/r*_binary64
291×associate-*r/_binary64
Counts
121 → 100
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01271639
13041510
29671510
340381510
444101510
548421510
650181510

prune82.0ms (1.4%)

Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New946100
Fresh426
Picked101
Done101
Total1008108
Error
0.0b
Counts
108 → 8
Alt Table
StatusErrorProgram
12.8b
(/.f64 (/.f64 a1 (/.f64 b1 a2)) b2)
13.9b
(*.f64 (/.f64 (/.f64 a1 1) 1) (/.f64 (/.f64 a2 b1) b2))
13.1b
(/.f64 a1 (/.f64 (*.f64 b1 b2) a2))
11.3b
(*.f64 (/.f64 (*.f64 a1 a2) 1) (/.f64 (/.f64 1 b1) b2))
13.1b
(/.f64 (*.f64 a1 (/.f64 a2 b1)) b2)
22.2b
(*.f64 (*.f64 (/.f64 a1 (sqrt.f64 b2)) a2) (/.f64 (/.f64 1 (sqrt.f64 b2)) b1))
12.4b
(*.f64 (/.f64 a1 b1) (/.f64 a2 b2))
10.7b
(*.f64 (/.f64 (*.f64 a1 a2) b1) (/.f64 1 b2))
Compiler

Compiled 1558 to 461 computations (70.4% saved)

localize6.0ms (0.1%)

Local error

Found 2 expressions with local error:

NewErrorProgram
4.2b
(/.f64 (*.f64 a1 a2) b1)
7.2b
(*.f64 (/.f64 (*.f64 a1 a2) b1) (/.f64 1 b2))

series32.0ms (0.5%)

Counts
1 → 48
Calls

1 calls:

32.0ms
(*.f64 (/.f64 (*.f64 a1 a2) b1) (/.f64 1 b2))

rewrite14.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
40×add-exp-log_binary64
22×add-cbrt-cube_binary64
17×add-sqr-sqrt_binary64
16×prod-exp_binary64
14×times-frac_binary64
Counts
1 → 56
Calls

1 calls:

10.0ms
(*.f64 (/.f64 (*.f64 a1 a2) b1) (/.f64 1 b2))

simplify103.0ms (1.8%)

Algorithm
egg-herbie
Rules
687×times-frac_binary64
668×associate-/l*_binary64
255×fma-neg_binary64
241×sqr-pow_binary64
238×unswap-sqr_binary64
Counts
104 → 80
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01041350
12571173
28921173
330591173
435441173
541921173
648911173
749691173

prune69.0ms (1.2%)

Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New1080108
Fresh077
Picked011
Done000
Total1088116
Error
0.0b
Counts
116 → 8
Alt Table
StatusErrorProgram
12.8b
(/.f64 (/.f64 a1 (/.f64 b1 a2)) b2)
13.9b
(*.f64 (/.f64 (/.f64 a1 1) 1) (/.f64 (/.f64 a2 b1) b2))
13.1b
(/.f64 a1 (/.f64 (*.f64 b1 b2) a2))
11.3b
(*.f64 (/.f64 (*.f64 a1 a2) 1) (/.f64 (/.f64 1 b1) b2))
13.1b
(/.f64 (*.f64 a1 (/.f64 a2 b1)) b2)
22.2b
(*.f64 (*.f64 (/.f64 a1 (sqrt.f64 b2)) a2) (/.f64 (/.f64 1 (sqrt.f64 b2)) b1))
12.4b
(*.f64 (/.f64 a1 b1) (/.f64 a2 b2))
10.7b
(*.f64 (/.f64 (*.f64 a1 a2) b1) (/.f64 1 b2))
Compiler

Compiled 1814 to 723 computations (60.1% saved)

localize8.0ms (0.1%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.2b
(/.f64 (/.f64 1 b1) b2)
10.9b
(*.f64 (/.f64 (*.f64 a1 a2) 1) (/.f64 (/.f64 1 b1) b2))

series44.0ms (0.8%)

Counts
2 → 72
Calls

2 calls:

33.0ms
(*.f64 (/.f64 (*.f64 a1 a2) 1) (/.f64 (/.f64 1 b1) b2))
11.0ms
(/.f64 (/.f64 1 b1) b2)

rewrite41.0ms (0.7%)

Algorithm
rewrite-expression-head
Rules
149×times-frac_binary64
106×add-exp-log_binary64
93×add-sqr-sqrt_binary64
82×*-un-lft-identity_binary64
81×add-cube-cbrt_binary64
Counts
2 → 176
Calls

2 calls:

17.0ms
(*.f64 (/.f64 (*.f64 a1 a2) 1) (/.f64 (/.f64 1 b1) b2))
5.0ms
(/.f64 (/.f64 1 b1) b2)

simplify160.0ms (2.7%)

Algorithm
egg-herbie
Rules
413×unswap-sqr_binary64
407×associate-/r/_binary64
404×*-commutative_binary64
368×associate-/r*_binary64
319×sqr-pow_binary64
Counts
248 → 247
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01733471
13993103
215883091
326133091
431843091
539603091
650723091

prune151.0ms (2.6%)

Pruning

8 alts after pruning (6 fresh and 2 done)

PrunedKeptTotal
New2470247
Fresh066
Picked011
Done011
Total2478255
Error
0.0b
Counts
255 → 8
Alt Table
StatusErrorProgram
12.8b
(/.f64 (/.f64 a1 (/.f64 b1 a2)) b2)
13.9b
(*.f64 (/.f64 (/.f64 a1 1) 1) (/.f64 (/.f64 a2 b1) b2))
13.1b
(/.f64 a1 (/.f64 (*.f64 b1 b2) a2))
11.3b
(*.f64 (/.f64 (*.f64 a1 a2) 1) (/.f64 (/.f64 1 b1) b2))
13.1b
(/.f64 (*.f64 a1 (/.f64 a2 b1)) b2)
22.2b
(*.f64 (*.f64 (/.f64 a1 (sqrt.f64 b2)) a2) (/.f64 (/.f64 1 (sqrt.f64 b2)) b1))
12.4b
(*.f64 (/.f64 a1 b1) (/.f64 a2 b2))
10.7b
(*.f64 (/.f64 (*.f64 a1 a2) b1) (/.f64 1 b2))
Compiler

Compiled 4895 to 2535 computations (48.2% saved)

regimes1.4s (23.4%)

Accuracy

Total 3.2b remaining (99.3%)

Threshold costs 0b (0%)

Counts
72 → 5
Compiler

Compiled 9479 to 5541 computations (41.5% saved)

bsearch3.0ms (0.1%)

Compiler

Compiled 11 to 7 computations (36.4% saved)

simplify4.0ms (0.1%)

Algorithm
egg-herbie
Rules
*-commutative_binary64
*-rgt-identity_binary64
1-exp_binary64
if-if-or-not_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
033105
140105
239105

end279.0ms (4.8%)

Remove

(sort b1 b2)

Compiler

Compiled 704 to 310 computations (56% saved)

Profiling

Loading profile data...