Details

Time bar (total: 2.8s)

analyze4.0ms

Algorithm
search
Search
TrueOtherFalseIter
0%100%0%0
0%100%0%1
0%100%0%2
0%100%0%3
75%25%0%4
87.5%12.5%0%5
93.7%6.2%0%6
96.8%3.1%0%7
98.4%1.6%0%8
99.2%0.8%0%9
99.6%0.4%0%10
99.8%0.2%0%11
99.9%0.1%0%12
99.9%0%0%13
99.9%0%0%14

sample26.0ms

Algorithm
intervals
Results
8.0ms51×body1280valid
6.0ms47×body640valid
4.0ms129×body80valid
2.0ms18×body320valid
1.0ms11×body160valid

simplify59.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (56.0ms)

IterNodesCost
068013
168013

prune2.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 30.1b

Counts
2 → 1

localize6.0ms

Local error

Found 3 expressions with local error:

0.0b
(/.f64 (+.f64 x 1) (-.f64 x 1))
0.0b
(/.f64 x (+.f64 x 1))
2.8b
(-.f64 (/.f64 x (+.f64 x 1)) (/.f64 (+.f64 x 1) (-.f64 x 1)))

rewrite57.0ms

Algorithm
rewrite-expression-head
Rules
110×*-un-lft-identity_binary64
60×times-frac_binary64
57×add-sqr-sqrt_binary64
25×add-cube-cbrt_binary64
20×distribute-lft-out_binary64
18×distribute-lft-out--_binary64
14×difference-of-squares_binary64
11×associate-/r*_binary64
add-exp-log_binary64 add-cbrt-cube_binary64 associate-/l*_binary64
add-log-exp_binary64 difference-of-sqr-1_binary64
associate-/r/_binary64
pow1_binary64
flip3-+_binary64 associate-/l/_binary64 flip3--_binary64 cbrt-undiv_binary64 clear-num_binary64 frac-2neg_binary64 div-inv_binary64 div-exp_binary64 flip--_binary64 flip-+_binary64
sub-neg_binary64 diff-log_binary64 frac-sub_binary64
Counts
3 → 113
Calls
3 calls:
9.0ms
(/.f64 (+.f64 x 1) (-.f64 x 1))
6.0ms
(/.f64 x (+.f64 x 1))
38.0ms
(-.f64 (/.f64 x (+.f64 x 1)) (/.f64 (+.f64 x 1) (-.f64 x 1)))

series13.0ms

Counts
3 → 9
Calls
3 calls:
3.0ms
(/.f64 (+.f64 x 1) (-.f64 x 1))
3.0ms
(/.f64 x (+.f64 x 1))
7.0ms
(-.f64 (/.f64 x (+.f64 x 1)) (/.f64 (+.f64 x 1) (-.f64 x 1)))

simplify77.0ms

Algorithm
egg-herbie
Counts
122 → 122
Iterations

Useful iterations: 0 (64.0ms)

IterNodesCost
049111531
149111531

prune142.0ms

Filtered
77 candidates to 122 candidates (-58.4%)
Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New1193122
Fresh000
Picked101
Done000
Total1203123

Merged error: 0.0b

Counts
123 → 3

localize15.0ms

Local error

Found 4 expressions with local error:

0.0b
(/.f64 (+.f64 x 1) (-.f64 x 1))
6.4b
(/.f64 x (+.f64 1 (pow.f64 x 3)))
7.9b
(-.f64 (*.f64 (/.f64 x (+.f64 1 (pow.f64 x 3))) (+.f64 (*.f64 x x) (-.f64 (*.f64 1 1) (*.f64 x 1)))) (/.f64 (+.f64 x 1) (-.f64 x 1)))
15.7b
(*.f64 (/.f64 x (+.f64 1 (pow.f64 x 3))) (+.f64 (*.f64 x x) (-.f64 (*.f64 1 1) (*.f64 x 1))))

rewrite69.0ms

Algorithm
rewrite-expression-head
Rules
80×*-un-lft-identity_binary64
60×add-sqr-sqrt_binary64
53×times-frac_binary64
35×add-cube-cbrt_binary64
18×associate-*l*_binary64
15×distribute-lft-out_binary64
13×add-exp-log_binary64 add-cbrt-cube_binary64
11×associate-/r*_binary64
10×difference-of-squares_binary64
flip3-+_binary64 associate-/l*_binary64 flip-+_binary64
add-log-exp_binary64 pow1_binary64 associate-/r/_binary64
difference-of-sqr-1_binary64 distribute-lft-out--_binary64 frac-sub_binary64
associate-*r/_binary64 frac-times_binary64
associate-*r*_binary64 cbrt-undiv_binary64 div-inv_binary64 div-exp_binary64
associate-/l/_binary64 flip3--_binary64 cbrt-unprod_binary64 distribute-lft-in_binary64 distribute-rgt-in_binary64 unswap-sqr_binary64 clear-num_binary64 prod-exp_binary64 frac-2neg_binary64 flip--_binary64 associate--l+_binary64 associate-*l/_binary64
pow-prod-down_binary64 sub-neg_binary64 diff-log_binary64 *-commutative_binary64
Counts
4 → 149
Calls
4 calls:
9.0ms
(/.f64 (+.f64 x 1) (-.f64 x 1))
8.0ms
(/.f64 x (+.f64 1 (pow.f64 x 3)))
27.0ms
(-.f64 (*.f64 (/.f64 x (+.f64 1 (pow.f64 x 3))) (+.f64 (*.f64 x x) (-.f64 (*.f64 1 1) (*.f64 x 1)))) (/.f64 (+.f64 x 1) (-.f64 x 1)))
20.0ms
(*.f64 (/.f64 x (+.f64 1 (pow.f64 x 3))) (+.f64 (*.f64 x x) (-.f64 (*.f64 1 1) (*.f64 x 1))))

series29.0ms

Counts
4 → 12
Calls
4 calls:
3.0ms
(/.f64 (+.f64 x 1) (-.f64 x 1))
7.0ms
(/.f64 x (+.f64 1 (pow.f64 x 3)))
13.0ms
(-.f64 (*.f64 (/.f64 x (+.f64 1 (pow.f64 x 3))) (+.f64 (*.f64 x x) (-.f64 (*.f64 1 1) (*.f64 x 1)))) (/.f64 (+.f64 x 1) (-.f64 x 1)))
6.0ms
(*.f64 (/.f64 x (+.f64 1 (pow.f64 x 3))) (+.f64 (*.f64 x x) (-.f64 (*.f64 1 1) (*.f64 x 1))))

simplify49.0ms

Algorithm
egg-herbie
Counts
161 → 161
Iterations

Useful iterations: 0 (27.0ms)

IterNodesCost
049592597
149592597

prune203.0ms

Filtered
113 candidates to 161 candidates (-42.5%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New1592161
Fresh022
Picked101
Done000
Total1604164

Merged error: 0.0b

Counts
164 → 4

localize16.0ms

Local error

Found 4 expressions with local error:

0.1b
(cbrt.f64 (pow.f64 (-.f64 (*.f64 (/.f64 x (+.f64 1 (pow.f64 x 3))) (+.f64 (*.f64 x x) (-.f64 1 x))) (/.f64 (+.f64 x 1) (-.f64 x 1))) 3))
6.4b
(/.f64 x (+.f64 1 (pow.f64 x 3)))
7.9b
(-.f64 (*.f64 (/.f64 x (+.f64 1 (pow.f64 x 3))) (+.f64 (*.f64 x x) (-.f64 1 x))) (/.f64 (+.f64 x 1) (-.f64 x 1)))
15.7b
(*.f64 (/.f64 x (+.f64 1 (pow.f64 x 3))) (+.f64 (*.f64 x x) (-.f64 1 x)))

rewrite84.0ms

Algorithm
rewrite-expression-head
Rules
39×*-un-lft-identity_binary64
30×add-sqr-sqrt_binary64
25×add-cube-cbrt_binary64 times-frac_binary64
18×associate-*l*_binary64
12×cbrt-prod_binary64
11×add-exp-log_binary64 add-cbrt-cube_binary64
10×frac-sub_binary64
flip3-+_binary64 flip-+_binary64
cbrt-div_binary64 distribute-lft-out_binary64 cube-div_binary64
add-log-exp_binary64 pow1_binary64 associate-*r/_binary64 frac-times_binary64
associate-/r*_binary64 associate-/r/_binary64
associate-*r*_binary64 unpow-prod-down_binary64 cube-prod_binary64 associate-/l*_binary64 associate-*l/_binary64
flip3--_binary64 cbrt-unprod_binary64 cbrt-undiv_binary64 distribute-lft-in_binary64 distribute-rgt-in_binary64 unswap-sqr_binary64 prod-exp_binary64 div-inv_binary64 div-exp_binary64 flip--_binary64 associate--l+_binary64
pow-prod-down_binary64 sub-neg_binary64 rem-cbrt-cube_binary64 diff-log_binary64 pow1/3_binary64 sqr-pow_binary64 clear-num_binary64 frac-2neg_binary64 unpow3_binary64 *-commutative_binary64 cube-mult_binary64
Counts
4 → 122
Calls
4 calls:
29.0ms
(cbrt.f64 (pow.f64 (-.f64 (*.f64 (/.f64 x (+.f64 1 (pow.f64 x 3))) (+.f64 (*.f64 x x) (-.f64 1 x))) (/.f64 (+.f64 x 1) (-.f64 x 1))) 3))
8.0ms
(/.f64 x (+.f64 1 (pow.f64 x 3)))
25.0ms
(-.f64 (*.f64 (/.f64 x (+.f64 1 (pow.f64 x 3))) (+.f64 (*.f64 x x) (-.f64 1 x))) (/.f64 (+.f64 x 1) (-.f64 x 1)))
18.0ms
(*.f64 (/.f64 x (+.f64 1 (pow.f64 x 3))) (+.f64 (*.f64 x x) (-.f64 1 x)))

series37.0ms

Counts
4 → 12
Calls
4 calls:
12.0ms
(cbrt.f64 (pow.f64 (-.f64 (*.f64 (/.f64 x (+.f64 1 (pow.f64 x 3))) (+.f64 (*.f64 x x) (-.f64 1 x))) (/.f64 (+.f64 x 1) (-.f64 x 1))) 3))
7.0ms
(/.f64 x (+.f64 1 (pow.f64 x 3)))
12.0ms
(-.f64 (*.f64 (/.f64 x (+.f64 1 (pow.f64 x 3))) (+.f64 (*.f64 x x) (-.f64 1 x))) (/.f64 (+.f64 x 1) (-.f64 x 1)))
6.0ms
(*.f64 (/.f64 x (+.f64 1 (pow.f64 x 3))) (+.f64 (*.f64 x x) (-.f64 1 x)))

simplify62.0ms

Algorithm
egg-herbie
Counts
134 → 134
Iterations

Useful iterations: 0 (43.0ms)

IterNodesCost
049423024
149423024

prune183.0ms

Filtered
98 candidates to 134 candidates (-36.7%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New1340134
Fresh033
Picked011
Done000
Total1344138

Merged error: 0.0b

Counts
138 → 4

localize23.0ms

Local error

Found 4 expressions with local error:

7.9b
(-.f64 (pow.f64 (*.f64 (/.f64 x (+.f64 1 (pow.f64 x 3))) (+.f64 (*.f64 x x) (-.f64 1 x))) 3) (pow.f64 (/.f64 (+.f64 x 1) (-.f64 x 1)) 3))
15.7b
(*.f64 (/.f64 x (+.f64 1 (pow.f64 x 3))) (+.f64 (*.f64 x x) (-.f64 1 x)))
15.7b
(*.f64 (/.f64 x (+.f64 1 (pow.f64 x 3))) (+.f64 (*.f64 x x) (-.f64 1 x)))
15.7b
(*.f64 (/.f64 x (+.f64 1 (pow.f64 x 3))) (+.f64 (*.f64 x x) (-.f64 1 x)))

rewrite106.0ms

Algorithm
rewrite-expression-head
Rules
66×add-sqr-sqrt_binary64
54×associate-*l*_binary64
51×*-un-lft-identity_binary64
43×times-frac_binary64
31×add-cube-cbrt_binary64
19×add-exp-log_binary64 add-cbrt-cube_binary64
12×difference-of-squares_binary64
11×flip3-+_binary64 flip-+_binary64
10×pow1_binary64 cube-div_binary64
distribute-lft-out_binary64 associate-*r*_binary64
associate-*r/_binary64 sqr-pow_binary64 frac-times_binary64
add-log-exp_binary64 cbrt-unprod_binary64 associate-/r/_binary64 unswap-sqr_binary64 prod-exp_binary64
frac-sub_binary64
unpow-prod-down_binary64 cube-prod_binary64 associate-*l/_binary64
pow-prod-down_binary64 cbrt-undiv_binary64 distribute-lft-in_binary64 distribute-rgt-in_binary64 div-inv_binary64 div-exp_binary64 *-commutative_binary64
difference-cubes_binary64 sub-neg_binary64 flip3--_binary64 diff-log_binary64 distribute-lft-out--_binary64 flip--_binary64
Counts
4 → 159
Calls
4 calls:
44.0ms
(-.f64 (pow.f64 (*.f64 (/.f64 x (+.f64 1 (pow.f64 x 3))) (+.f64 (*.f64 x x) (-.f64 1 x))) 3) (pow.f64 (/.f64 (+.f64 x 1) (-.f64 x 1)) 3))
18.0ms
(*.f64 (/.f64 x (+.f64 1 (pow.f64 x 3))) (+.f64 (*.f64 x x) (-.f64 1 x)))
18.0ms
(*.f64 (/.f64 x (+.f64 1 (pow.f64 x 3))) (+.f64 (*.f64 x x) (-.f64 1 x)))
20.0ms
(*.f64 (/.f64 x (+.f64 1 (pow.f64 x 3))) (+.f64 (*.f64 x x) (-.f64 1 x)))

series47.0ms

Counts
4 → 12
Calls
4 calls:
30.0ms
(-.f64 (pow.f64 (*.f64 (/.f64 x (+.f64 1 (pow.f64 x 3))) (+.f64 (*.f64 x x) (-.f64 1 x))) 3) (pow.f64 (/.f64 (+.f64 x 1) (-.f64 x 1)) 3))
5.0ms
(*.f64 (/.f64 x (+.f64 1 (pow.f64 x 3))) (+.f64 (*.f64 x x) (-.f64 1 x)))
5.0ms
(*.f64 (/.f64 x (+.f64 1 (pow.f64 x 3))) (+.f64 (*.f64 x x) (-.f64 1 x)))
6.0ms
(*.f64 (/.f64 x (+.f64 1 (pow.f64 x 3))) (+.f64 (*.f64 x x) (-.f64 1 x)))

simplify53.0ms

Algorithm
egg-herbie
Counts
171 → 171
Iterations

Useful iterations: 0 (27.0ms)

IterNodesCost
053273923

prune677.0ms

Filtered
128 candidates to 171 candidates (-33.6%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New1692171
Fresh022
Picked101
Done011
Total1705175

Merged error: 0.0b

Counts
175 → 5

regimes49.0ms

Accuracy

99.9% (0.0b remaining)

Error of 0.1b against oracle of 0.0b and baseline of 30.1b

bsearch24.0ms

Steps
ItersRangePoint
8
63.474764878248116
106410.96103200753
9787.463873477589
10
-15803896510245.844
-1.8993785803446641
-9786.608325632764

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
08150
18150

end0.0ms

sample724.0ms

Algorithm
intervals
Results
264.0ms1709×body1280valid
144.0ms1197×body640valid
136.0ms4147×body80valid
57.0ms629×body320valid
20.0ms318×body160valid

Profiling

Loading profile data...