Details

Time bar (total: 3.3s)

analyze191.0ms (5.8%)

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
25%74.9%0.1%5
25%68.7%6.3%6
25%56.2%18.8%7
25%48.4%26.6%8
25%35.1%39.9%9
28.1%18.3%53.6%10
31.6%12.3%56.1%11
33.4%5.9%60.8%12
35.2%3.8%61%13
36.1%2.9%61%14
Compiler

Compiled 34 to 22 computations (35.3% saved)

sample1.4s (41.4%)

Results
1.3s8256×body128valid
1.0msbody128invalid
Compiler

Compiled 101 to 65 computations (35.6% saved)

prune2.0ms (0.1%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022
Error
0.2b
Counts
2 → 1
Alt Table
StatusErrorProgram
0.2b
(-.f64 (+.f64 (pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 2) (*.f64 4 (+.f64 (*.f64 (*.f64 a a) (+.f64 1 a)) (*.f64 (*.f64 b b) (-.f64 1 (*.f64 3 a)))))) 1)
Compiler

Compiled 99 to 63 computations (36.4% saved)

localize17.0ms (0.5%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(-.f64 1 (*.f64 3 a))
0.1b
(*.f64 (*.f64 a a) (+.f64 1 a))
0.3b
(pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 2)
0.6b
(*.f64 (*.f64 b b) (-.f64 1 (*.f64 3 a)))

series25.0ms (0.8%)

Counts
4 → 63
Calls

4 calls:

13.0ms
(pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 2)
8.0ms
(*.f64 (*.f64 b b) (-.f64 1 (*.f64 3 a)))
2.0ms
(*.f64 (*.f64 a a) (+.f64 1 a))
1.0ms
(-.f64 1 (*.f64 3 a))

rewrite86.0ms (2.6%)

Algorithm
batch-egg-rewrite
Rules
564×fma-def_binary64
266×expm1-udef_binary64
265×log1p-udef_binary64
245×fma-neg_binary64
175×egg-rr
Counts
4 → 175
Calls

4 calls:

83.0ms
(-.f64 1 (*.f64 3 a))
83.0ms
(*.f64 (*.f64 a a) (+.f64 1 a))
83.0ms
(pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 2)
83.0ms
(*.f64 (*.f64 b b) (-.f64 1 (*.f64 3 a)))
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01541
133438
2383034
3531934

prune249.0ms (7.6%)

Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New2362238
Fresh000
Picked011
Done000
Total2363239
Error
0.0b
Counts
239 → 3
Alt Table
StatusErrorProgram
0.2b
(-.f64 (+.f64 (pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 2) (*.f64 4 (+.f64 (*.f64 (*.f64 a a) (+.f64 1 a)) (*.f64 (*.f64 b b) (-.f64 1 (*.f64 3 a)))))) 1)
0.0b
(-.f64 (+.f64 (+.f64 (pow.f64 a 4) (+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (pow.f64 b 4))) (*.f64 4 (+.f64 (*.f64 (*.f64 a a) (+.f64 1 a)) (*.f64 (*.f64 b b) (-.f64 1 (*.f64 3 a)))))) 1)
41.3b
(-.f64 (+.f64 (/.f64 (*.f64 (+.f64 (pow.f64 b 6) (pow.f64 a 6)) (-.f64 (pow.f64 a 4) (pow.f64 b 4))) (*.f64 (+.f64 (pow.f64 a 4) (-.f64 (pow.f64 b 4) (pow.f64 (*.f64 a b) 2))) (-.f64 (*.f64 a a) (*.f64 b b)))) (*.f64 4 (+.f64 (*.f64 (*.f64 a a) (+.f64 1 a)) (*.f64 (*.f64 b b) (-.f64 1 (*.f64 3 a)))))) 1)
Compiler

Compiled 8599 to 4862 computations (43.5% saved)

localize27.0ms (0.8%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(+.f64 (+.f64 (pow.f64 a 4) (+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (pow.f64 b 4))) (*.f64 4 (+.f64 (*.f64 (*.f64 a a) (+.f64 1 a)) (*.f64 (*.f64 b b) (-.f64 1 (*.f64 3 a))))))
0.1b
(*.f64 (*.f64 a a) (+.f64 1 a))
0.6b
(*.f64 (*.f64 b b) (-.f64 1 (*.f64 3 a)))
2.3b
(*.f64 (pow.f64 a 2) (pow.f64 b 2))

series46.0ms (1.4%)

Counts
4 → 60
Calls

4 calls:

23.0ms
(+.f64 (+.f64 (pow.f64 a 4) (+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (pow.f64 b 4))) (*.f64 4 (+.f64 (*.f64 (*.f64 a a) (+.f64 1 a)) (*.f64 (*.f64 b b) (-.f64 1 (*.f64 3 a))))))
12.0ms
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
8.0ms
(*.f64 (*.f64 b b) (-.f64 1 (*.f64 3 a)))
2.0ms
(*.f64 (*.f64 a a) (+.f64 1 a))

rewrite75.0ms (2.3%)

Algorithm
batch-egg-rewrite
Rules
465×log1p-udef_binary64
261×log1p-expm1-u_binary64
261×expm1-log1p-u_binary64
244×add-log-exp_binary64
243×add-exp-log_binary64
Counts
4 → 75
Calls

4 calls:

73.0ms
(+.f64 (+.f64 (pow.f64 a 4) (+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (pow.f64 b 4))) (*.f64 4 (+.f64 (*.f64 (*.f64 a a) (+.f64 1 a)) (*.f64 (*.f64 b b) (-.f64 1 (*.f64 3 a))))))
73.0ms
(*.f64 (*.f64 a a) (+.f64 1 a))
73.0ms
(*.f64 (*.f64 b b) (-.f64 1 (*.f64 3 a)))
73.0ms
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
02578
154472
2482072
3564972

prune188.0ms (5.7%)

Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New1350135
Fresh011
Picked011
Done011
Total1353138
Error
0.0b
Counts
138 → 3
Alt Table
StatusErrorProgram
0.2b
(-.f64 (+.f64 (pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 2) (*.f64 4 (+.f64 (*.f64 (*.f64 a a) (+.f64 1 a)) (*.f64 (*.f64 b b) (-.f64 1 (*.f64 3 a)))))) 1)
0.0b
(-.f64 (+.f64 (+.f64 (pow.f64 a 4) (+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (pow.f64 b 4))) (*.f64 4 (+.f64 (*.f64 (*.f64 a a) (+.f64 1 a)) (*.f64 (*.f64 b b) (-.f64 1 (*.f64 3 a)))))) 1)
41.3b
(-.f64 (+.f64 (/.f64 (*.f64 (+.f64 (pow.f64 b 6) (pow.f64 a 6)) (-.f64 (pow.f64 a 4) (pow.f64 b 4))) (*.f64 (+.f64 (pow.f64 a 4) (-.f64 (pow.f64 b 4) (pow.f64 (*.f64 a b) 2))) (-.f64 (*.f64 a a) (*.f64 b b)))) (*.f64 4 (+.f64 (*.f64 (*.f64 a a) (+.f64 1 a)) (*.f64 (*.f64 b b) (-.f64 1 (*.f64 3 a)))))) 1)
Compiler

Compiled 5407 to 3891 computations (28% saved)

localize29.0ms (0.9%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.2b
(pow.f64 (*.f64 a b) 2)
0.2b
(*.f64 (+.f64 (pow.f64 a 4) (-.f64 (pow.f64 b 4) (pow.f64 (*.f64 a b) 2))) (-.f64 (*.f64 a a) (*.f64 b b)))
0.6b
(*.f64 (*.f64 b b) (-.f64 1 (*.f64 3 a)))
45.2b
(/.f64 (*.f64 (+.f64 (pow.f64 b 6) (pow.f64 a 6)) (-.f64 (pow.f64 a 4) (pow.f64 b 4))) (*.f64 (+.f64 (pow.f64 a 4) (-.f64 (pow.f64 b 4) (pow.f64 (*.f64 a b) 2))) (-.f64 (*.f64 a a) (*.f64 b b))))

series80.0ms (2.4%)

Counts
4 → 96
Calls

4 calls:

47.0ms
(/.f64 (*.f64 (+.f64 (pow.f64 b 6) (pow.f64 a 6)) (-.f64 (pow.f64 a 4) (pow.f64 b 4))) (*.f64 (+.f64 (pow.f64 a 4) (-.f64 (pow.f64 b 4) (pow.f64 (*.f64 a b) 2))) (-.f64 (*.f64 a a) (*.f64 b b))))
16.0ms
(*.f64 (+.f64 (pow.f64 a 4) (-.f64 (pow.f64 b 4) (pow.f64 (*.f64 a b) 2))) (-.f64 (*.f64 a a) (*.f64 b b)))
10.0ms
(*.f64 (*.f64 b b) (-.f64 1 (*.f64 3 a)))
7.0ms
(pow.f64 (*.f64 a b) 2)

rewrite81.0ms (2.5%)

Algorithm
batch-egg-rewrite
Rules
377×prod-diff_binary64
299×log1p-expm1-u_binary64
299×expm1-log1p-u_binary64
278×add-cbrt-cube_binary64
277×add-log-exp_binary64
Counts
4 → 57
Calls

4 calls:

79.0ms
(pow.f64 (*.f64 a b) 2)
79.0ms
(*.f64 (+.f64 (pow.f64 a 4) (-.f64 (pow.f64 b 4) (pow.f64 (*.f64 a b) 2))) (-.f64 (*.f64 a a) (*.f64 b b)))
79.0ms
(*.f64 (*.f64 b b) (-.f64 1 (*.f64 3 a)))
79.0ms
(/.f64 (*.f64 (+.f64 (pow.f64 b 6) (pow.f64 a 6)) (-.f64 (pow.f64 a 4) (pow.f64 b 4))) (*.f64 (+.f64 (pow.f64 a 4) (-.f64 (pow.f64 b 4) (pow.f64 (*.f64 a b) 2))) (-.f64 (*.f64 a a) (*.f64 b b))))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
027106
1631106
24651106
35071106

prune222.0ms (6.8%)

Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New1530153
Fresh000
Picked011
Done022
Total1533156
Error
0.0b
Counts
156 → 3
Alt Table
StatusErrorProgram
0.2b
(-.f64 (+.f64 (pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 2) (*.f64 4 (+.f64 (*.f64 (*.f64 a a) (+.f64 1 a)) (*.f64 (*.f64 b b) (-.f64 1 (*.f64 3 a)))))) 1)
0.0b
(-.f64 (+.f64 (+.f64 (pow.f64 a 4) (+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (pow.f64 b 4))) (*.f64 4 (+.f64 (*.f64 (*.f64 a a) (+.f64 1 a)) (*.f64 (*.f64 b b) (-.f64 1 (*.f64 3 a)))))) 1)
41.3b
(-.f64 (+.f64 (/.f64 (*.f64 (+.f64 (pow.f64 b 6) (pow.f64 a 6)) (-.f64 (pow.f64 a 4) (pow.f64 b 4))) (*.f64 (+.f64 (pow.f64 a 4) (-.f64 (pow.f64 b 4) (pow.f64 (*.f64 a b) 2))) (-.f64 (*.f64 a a) (*.f64 b b)))) (*.f64 4 (+.f64 (*.f64 (*.f64 a a) (+.f64 1 a)) (*.f64 (*.f64 b b) (-.f64 1 (*.f64 3 a)))))) 1)
Compiler

Compiled 8778 to 5595 computations (36.3% saved)

regimes462.0ms (14%)

Accuracy

Total 0.0b remaining (59.7%)

Threshold costs 0.0b (59.7%)

Counts
62 → 1
Compiler

Compiled 11543 to 8357 computations (27.6% saved)

simplify4.0ms (0.1%)

Algorithm
egg-herbie
Rules
*-commutative_binary64
+-commutative_binary64
sub-neg_binary64
distribute-rgt-neg-in_binary64
cancel-sign-sub-inv_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02480
13980
24980
35380
45580
55280

end143.0ms (4.3%)

Compiler

Compiled 249 to 175 computations (29.7% saved)

Profiling

Loading profile data...