Details

Time bar (total: 7.1s)

sample22.0ms

Algorithm
intervals
Results
6.0ms51×body1280valid
4.0ms44×body640valid
4.0ms145×body80valid
1.0ms11×body320valid
0.0msbody160valid

simplify21.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0126
1166
2196
3216
4276
5396
6586
7796
81076
91606
102776
113036
123036

prune1.0ms

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 26.5b

Counts
2 → 1

localize6.0ms

Local error

Found 3 expressions with local error:

0.0b
(/ x (+ x 1.0))
0.0b
(/ (+ x 1.0) (- x 1.0))
1.5b
(- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0)))

rewrite110.0ms

Algorithm
rewrite-expression-head
Rules
981×*-un-lft-identity
736×times-frac
585×add-sqr-sqrt
468×prod-diff
419×add-cube-cbrt
189×distribute-lft-out
94×associate-/r/
90×distribute-lft-out--
81×difference-of-squares
47×div-inv
29×flip3-+ flip-+
20×flip3-- flip--
18×fma-neg
associate-/r*
add-exp-log add-cbrt-cube associate-/l*
add-log-exp
pow1 expm1-log1p-u log1p-expm1-u
cbrt-undiv frac-2neg div-exp clear-num associate-/l/
sub-neg diff-log frac-sub
Counts
3 → 596
Calls
3 calls:
5.0ms
(/ x (+ x 1.0))
7.0ms
(/ (+ x 1.0) (- x 1.0))
42.0ms
(- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0)))

series207.0ms

Counts
3 → 9
Calls
3 calls:
37.0ms
(/ x (+ x 1.0))
36.0ms
(/ (+ x 1.0) (- x 1.0))
134.0ms
(- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0)))

simplify210.0ms

Algorithm
egg-herbie
Counts
605 → 605
Iterations

Useful iterations: 2 (80.0ms)

IterNodesCost
0120818366
1368713388
2500113292

prune869.0ms

Filtered
605 candidates to 217 candidates (35.9%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New6014605
Fresh000
Picked101
Done000
Total6024606

Merged error: 0.2b

Counts
606 → 4

localize9.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ (+ x 1.0) (- x 1.0))
0.0b
(cbrt (pow (- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0))) 3))
0.0b
(pow (- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0))) 3)
1.5b
(- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0)))

rewrite181.0ms

Algorithm
rewrite-expression-head
Rules
1155×*-un-lft-identity
804×times-frac
631×add-sqr-sqrt
468×prod-diff
417×add-cube-cbrt
217×distribute-lft-out
142×distribute-lft-out--
97×difference-of-squares
92×associate-/r/
46×div-inv
38×cbrt-prod
32×unpow-prod-down cube-prod
28×flip3-+ flip-+
22×flip3-- flip--
18×fma-neg
add-exp-log add-cbrt-cube
cube-div add-log-exp
pow1 associate-/r*
expm1-log1p-u log1p-expm1-u associate-/l*
pow-unpow cbrt-div frac-sub
cube-mult unpow3 associate-/l/ sqr-pow
cbrt-undiv pow-to-exp sub-neg pow-pow frac-2neg pow1/3 diff-log div-exp pow-exp clear-num rem-cbrt-cube rem-cube-cbrt
Counts
4 → 667
Calls
4 calls:
8.0ms
(/ (+ x 1.0) (- x 1.0))
34.0ms
(cbrt (pow (- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0))) 3))
30.0ms
(pow (- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0))) 3)
44.0ms
(- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0)))

series480.0ms

Counts
4 → 12
Calls
4 calls:
42.0ms
(/ (+ x 1.0) (- x 1.0))
126.0ms
(cbrt (pow (- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0))) 3))
177.0ms
(pow (- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0))) 3)
135.0ms
(- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0)))

simplify254.0ms

Algorithm
egg-herbie
Counts
679 → 679
Iterations

Useful iterations: 2 (103.0ms)

IterNodesCost
0139919382
1462114418
2500114397

prune816.0ms

Filtered
679 candidates to 244 candidates (35.9%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New6781679
Fresh033
Picked011
Done000
Total6785683

Merged error: 0.2b

Counts
683 → 5

localize8.0ms

Local error

Found 3 expressions with local error:

0.0b
(/ 1 (+ x 1.0))
0.0b
(/ (+ x 1.0) (- x 1.0))
27.0b
(fma x (/ 1 (+ x 1.0)) (- (/ (+ x 1.0) (- x 1.0))))

rewrite20.0ms

Algorithm
rewrite-expression-head
Rules
53×*-un-lft-identity
33×add-sqr-sqrt
32×times-frac
23×add-cube-cbrt
10×distribute-lft-out
add-exp-log associate-/r*
add-cbrt-cube associate-/l*
distribute-lft-out-- difference-of-squares
pow1 associate-/r/
expm1-log1p-u div-exp log1p-expm1-u add-log-exp
cbrt-undiv frac-2neg flip3-+ clear-num flip-+ div-inv associate-/l/
rec-exp flip3-- pow-flip 1-exp flip-- fma-udef inv-pow
Counts
3 → 96
Calls
3 calls:
9.0ms
(/ 1 (+ x 1.0))
7.0ms
(/ (+ x 1.0) (- x 1.0))
1.0ms
(fma x (/ 1 (+ x 1.0)) (- (/ (+ x 1.0) (- x 1.0))))

series199.0ms

Counts
3 → 9
Calls
3 calls:
23.0ms
(/ 1 (+ x 1.0))
41.0ms
(/ (+ x 1.0) (- x 1.0))
135.0ms
(fma x (/ 1 (+ x 1.0)) (- (/ (+ x 1.0) (- x 1.0))))

simplify42.0ms

Algorithm
egg-herbie
Counts
105 → 105
Iterations

Useful iterations: 2 (32.0ms)

IterNodesCost
0352622
11229566
25001540

prune147.0ms

Filtered
105 candidates to 66 candidates (62.9%)
Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New1050105
Fresh033
Picked011
Done011
Total1055110

Merged error: 0.2b

Counts
110 → 5

localize9.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ (+ x 1.0) (- x 1.0))
0.0b
(* (sqrt (- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0)))) (sqrt (- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0)))))
1.5b
(- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0)))
1.5b
(- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0)))

rewrite303.0ms

Algorithm
rewrite-expression-head
Rules
2707×*-un-lft-identity
1732×times-frac
1197×add-sqr-sqrt
936×prod-diff
815×add-cube-cbrt
508×distribute-lft-out
397×distribute-lft-out--
186×sqrt-prod
182×associate-/r/
173×difference-of-squares
91×div-inv
79×swap-sqr
55×flip3-+ flip-+
47×flip3-- flip--
36×fma-neg
24×sqrt-div
19×pow1 associate-*r* associate-*l*
10×frac-sub
frac-times
add-exp-log sqrt-pow1 pow1/2 add-cbrt-cube add-log-exp
associate-/r* pow-prod-up
expm1-log1p-u log1p-expm1-u associate-/l* unswap-sqr
associate-*r/ pow-prod-down associate-*l/ pow-sqr
sub-neg diff-log associate-/l/
cbrt-undiv pow2 frac-2neg pow-plus sqrt-unprod div-exp prod-exp clear-num rem-square-sqrt *-commutative cbrt-unprod
Counts
4 → 1238
Calls
4 calls:
8.0ms
(/ (+ x 1.0) (- x 1.0))
70.0ms
(* (sqrt (- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0)))) (sqrt (- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0)))))
44.0ms
(- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0)))
44.0ms
(- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0)))

series437.0ms

Counts
4 → 12
Calls
4 calls:
42.0ms
(/ (+ x 1.0) (- x 1.0))
133.0ms
(* (sqrt (- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0)))) (sqrt (- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0)))))
127.0ms
(- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0)))
135.0ms
(- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0)))

simplify404.0ms

Algorithm
egg-herbie
Counts
1250 → 1250
Iterations

Useful iterations: 2 (118.0ms)

IterNodesCost
0130337798
1450927854
2500127798

prune1.6s

Filtered
1250 candidates to 409 candidates (32.7%)
Pruning

5 alts after pruning (2 fresh and 3 done)

PrunedKeptTotal
New125001250
Fresh022
Picked011
Done022
Total125051255

Merged error: 0.2b

Counts
1255 → 5

regimes62.0ms

Accuracy

99.9% (0.0b remaining)

Error of 0.2b against oracle of 0.2b and baseline of 29.7b

bsearch78.0ms

Steps
ItersRangePoint
8
1.3894494120209264
29774.780359327975
12691.331728809522
9
-3141188.981794727
-6.238959787773506
-12810.725084609585

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03816
14116
24116

end0.0ms

sample628.0ms

Algorithm
intervals
Results
222.0ms1739×body1280valid
131.0ms1289×body640valid
115.0ms4045×body80valid
51.0ms600×body320valid
17.0ms327×body160valid

Profiling

Loading profile data...