Details

Time bar (total: 6.6s)

sample26.0ms

Algorithm
intervals
Results
7.0ms50×body1280valid
6.0ms142×body80valid
4.0ms39×body640valid
1.0ms15×body320valid
1.0ms10×body160valid

simplify24.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

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

prune2.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.9b

Counts
2 → 1

localize6.0ms

Local error

Found 2 expressions with local error:

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

rewrite99.0ms

Algorithm
rewrite-expression-head
Rules
963×*-un-lft-identity
724×times-frac
575×add-sqr-sqrt
468×prod-diff
409×add-cube-cbrt
185×distribute-lft-out
92×associate-/r/
90×distribute-lft-out--
81×difference-of-squares
46×div-inv
28×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 associate-/l/
cbrt-undiv sub-neg frac-2neg diff-log div-exp clear-num frac-sub
Counts
2 → 561
Calls
2 calls:
7.0ms
(/ (+ x 1.0) (- x 1.0))
38.0ms
(- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0)))

series176.0ms

Counts
2 → 6
Calls
2 calls:
38.0ms
(/ (+ x 1.0) (- x 1.0))
138.0ms
(- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0)))

simplify206.0ms

Algorithm
egg-herbie
Counts
567 → 567
Iterations

Useful iterations: 2 (77.0ms)

IterNodesCost
0116118191
1335013265
2500213161

prune641.0ms

Filtered
567 candidates to 199 candidates (35.1%)
Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New5643567
Fresh000
Picked101
Done000
Total5653568

Merged error: 0.1b

Counts
568 → 3

localize8.0ms

Local error

Found 3 expressions with local error:

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

rewrite16.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:
7.0ms
(/ (+ x 1.0) (- x 1.0))
5.0ms
(/ 1 (+ x 1.0))
1.0ms
(fma x (/ 1 (+ x 1.0)) (- (/ (+ x 1.0) (- x 1.0))))

series209.0ms

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

simplify45.0ms

Algorithm
egg-herbie
Counts
105 → 105
Iterations

Useful iterations: 2 (37.0ms)

IterNodesCost
0352622
11229566
25001540

prune142.0ms

Filtered
105 candidates to 67 candidates (63.8%)
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New1050105
Fresh022
Picked011
Done000
Total1053108

Merged error: 0.1b

Counts
108 → 3

localize8.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)))))
2.5b
(- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0)))
2.5b
(- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0)))

rewrite301.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))
71.0ms
(* (sqrt (- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0)))) (sqrt (- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0)))))
39.0ms
(- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0)))
44.0ms
(- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0)))

series640.0ms

Counts
4 → 12
Calls
4 calls:
39.0ms
(/ (+ x 1.0) (- x 1.0))
331.0ms
(* (sqrt (- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0)))) (sqrt (- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0)))))
131.0ms
(- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0)))
138.0ms
(- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0)))

simplify407.0ms

Algorithm
egg-herbie
Counts
1250 → 1250
Iterations

Useful iterations: 2 (118.0ms)

IterNodesCost
0130337794
1426427854
2500127738

prune1.6s

Filtered
1250 candidates to 410 candidates (32.8%)
Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New125001250
Fresh011
Picked011
Done011
Total125031253

Merged error: 0.1b

Counts
1253 → 3

localize13.0ms

Local error

Found 4 expressions with local error:

0.1b
(* 3.0 (/ 1 (pow x 3)))
0.1b
(fma 3.0 (/ 1 x) (* 3.0 (/ 1 (pow x 3))))
0.5b
(/ (- 1.0) (pow x 2))
7.4b
(- (/ (- 1.0) (pow x 2)) (fma 3.0 (/ 1 x) (* 3.0 (/ 1 (pow x 3)))))

rewrite96.0ms

Algorithm
rewrite-expression-head
Rules
448×times-frac
372×add-sqr-sqrt
346×*-un-lft-identity
340×add-cube-cbrt
252×prod-diff
165×unpow-prod-down
123×distribute-lft-neg-in distribute-rgt-neg-in
84×fma-neg
57×sqr-pow
52×unpow2
41×neg-mul-1
40×associate-*r*
29×add-exp-log
11×cube-prod add-cbrt-cube
10×prod-exp associate-/l*
div-exp unswap-sqr
associate-/r*
pow1 div-inv add-log-exp
difference-of-squares
expm1-log1p-u pow-to-exp pow-exp log1p-expm1-u
cube-mult rec-exp 1-exp unpow3 associate-*l*
cbrt-undiv neg-sub0 div-sub cbrt-unprod fma-udef
associate--l- sub-neg flip3-- frac-2neg diff-log associate-*r/ distribute-frac-neg pow-prod-down clear-num un-div-inv *-commutative flip-- associate--r+ distribute-lft-out--
Counts
4 → 561
Calls
4 calls:
14.0ms
(* 3.0 (/ 1 (pow x 3)))
1.0ms
(fma 3.0 (/ 1 x) (* 3.0 (/ 1 (pow x 3))))
10.0ms
(/ (- 1.0) (pow x 2))
36.0ms
(- (/ (- 1.0) (pow x 2)) (fma 3.0 (/ 1 x) (* 3.0 (/ 1 (pow x 3)))))

series200.0ms

Counts
4 → 12
Calls
4 calls:
43.0ms
(* 3.0 (/ 1 (pow x 3)))
86.0ms
(fma 3.0 (/ 1 x) (* 3.0 (/ 1 (pow x 3))))
26.0ms
(/ (- 1.0) (pow x 2))
45.0ms
(- (/ (- 1.0) (pow x 2)) (fma 3.0 (/ 1 x) (* 3.0 (/ 1 (pow x 3)))))

simplify199.0ms

Algorithm
egg-herbie
Counts
573 → 573
Iterations

Useful iterations: 1 (31.0ms)

IterNodesCost
0131412850
147146734
250016734

prune819.0ms

Filtered
573 candidates to 251 candidates (43.8%)
Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New5721573
Fresh000
Picked011
Done022
Total5724576

Merged error: 0b

Counts
576 → 4

regimes47.0ms

Accuracy

98.7% (0.4b remaining)

Error of 0.4b against oracle of 0.0b and baseline of 29.9b

bsearch1.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03330
13830
23830

end0.0ms

sample657.0ms

Algorithm
intervals
Results
243.0ms1766×body1280valid
132.0ms1237×body640valid
116.0ms4082×body80valid
51.0ms614×body320valid
16.0ms301×body160valid