Details

Time bar (total: 9.6s)

sample10.0ms

Algorithm
intervals
Results
4.0ms256×body80valid

simplify5.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
083
193
293

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: 0.0b

Counts
2 → 1

localize4.0ms

Local error

Found 1 expressions with local error:

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

rewrite10.0ms

Algorithm
rewrite-expression-head
Rules
34×*-un-lft-identity
22×add-sqr-sqrt
20×times-frac
12×add-cube-cbrt
distribute-lft-out
associate-/r* distribute-lft-out-- difference-of-squares
associate-/l*
add-exp-log add-cbrt-cube
associate-/r/ associate-/l/
pow1 cbrt-undiv flip3-- frac-2neg flip3-+ div-exp clear-num flip-- flip-+ div-inv add-log-exp
Counts
1 → 45
Calls
1 calls:
8.0ms
(/ (+ x 1.0) (- 1.0 x))

series37.0ms

Counts
1 → 3
Calls
1 calls:
37.0ms
(/ (+ x 1.0) (- 1.0 x))

simplify85.0ms

Algorithm
egg-herbie
Counts
48 → 48
Iterations

Useful iterations: 2 (18.0ms)

IterNodesCost
0205309
1681292
22801286
35002286

prune73.0ms

Filtered
48 candidates to 32 candidates (66.7%)
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New46248
Fresh000
Picked011
Done000
Total46349

Merged error: 0.0b

Counts
49 → 3

localize5.0ms

Local error

Found 2 expressions with local error:

0.0b
(/ 1 (- 1.0 x))
0.1b
(* (+ x 1.0) (/ 1 (- 1.0 x)))

rewrite31.0ms

Algorithm
rewrite-expression-head
Rules
55×add-sqr-sqrt
52×*-un-lft-identity
32×times-frac
28×add-cube-cbrt
22×frac-times
21×associate-*r*
20×associate-/r*
15×add-exp-log
13×associate-/l*
12×flip3-+ flip-+
11×associate-*r/
10×distribute-lft-out-- difference-of-squares
add-cbrt-cube
pow1 clear-num
frac-2neg div-exp associate-*l* prod-exp associate-/r/
un-div-inv unswap-sqr
cbrt-undiv rec-exp flip3-- 1-exp associate-*l/ flip-- cbrt-unprod div-inv add-log-exp
pow-flip pow-prod-down *-commutative distribute-lft-out inv-pow
Counts
2 → 122
Calls
2 calls:
6.0ms
(/ 1 (- 1.0 x))
19.0ms
(* (+ x 1.0) (/ 1 (- 1.0 x)))

series54.0ms

Counts
2 → 6
Calls
2 calls:
23.0ms
(/ 1 (- 1.0 x))
32.0ms
(* (+ x 1.0) (/ 1 (- 1.0 x)))

simplify60.0ms

Algorithm
egg-herbie
Counts
128 → 128
Iterations

Useful iterations: 2 (48.0ms)

IterNodesCost
0440764
12278686
25003623

prune162.0ms

Filtered
128 candidates to 70 candidates (54.7%)
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New1262128
Fresh101
Picked101
Done011
Total1283131

Merged error: 0b

Counts
131 → 3

localize10.0ms

Local error

Found 3 expressions with local error:

0.1b
(* (+ x 1.0) (* (/ 1 (- (* 1.0 1.0) (* x x))) (+ 1.0 x)))
0.6b
(/ 1 (- (* 1.0 1.0) (* x x)))
11.7b
(* (/ 1 (- (* 1.0 1.0) (* x x))) (+ 1.0 x))

rewrite283.0ms

Algorithm
rewrite-expression-head
Rules
1269×add-sqr-sqrt
550×frac-times difference-of-squares
429×associate-/r*
416×*-un-lft-identity
303×times-frac
302×associate-*l*
280×flip3-+ flip-+
264×swap-sqr
233×unswap-sqr
223×*-commutative
158×associate-*l/
143×add-cube-cbrt
127×associate-*r/
125×associate-*r*
110×distribute-lft-out--
39×associate-/l*
31×add-exp-log
19×add-cbrt-cube
13×frac-2neg prod-exp clear-num
11×pow1
10×distribute-rgt-in distribute-lft-in
cbrt-unprod
+-commutative div-exp associate-/r/
pow-prod-down
cbrt-undiv rec-exp flip3-- 1-exp flip-- div-inv distribute-lft-out add-log-exp
pow-flip inv-pow
Counts
3 → 913
Calls
3 calls:
104.0ms
(* (+ x 1.0) (* (/ 1 (- (* 1.0 1.0) (* x x))) (+ 1.0 x)))
23.0ms
(/ 1 (- (* 1.0 1.0) (* x x)))
51.0ms
(* (/ 1 (- (* 1.0 1.0) (* x x))) (+ 1.0 x))

series135.0ms

Counts
3 → 9
Calls
3 calls:
49.0ms
(* (+ x 1.0) (* (/ 1 (- (* 1.0 1.0) (* x x))) (+ 1.0 x)))
50.0ms
(/ 1 (- (* 1.0 1.0) (* x x)))
35.0ms
(* (/ 1 (- (* 1.0 1.0) (* x x))) (+ 1.0 x))

simplify145.0ms

Algorithm
egg-herbie
Counts
922 → 922
Iterations

Useful iterations: 1 (44.0ms)

IterNodesCost
024578453
150018058

prune923.0ms

Filtered
922 candidates to 314 candidates (34.1%)
Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New9211922
Fresh101
Picked011
Done011
Total9223925

Merged error: 0b

Counts
925 → 3

localize13.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (/ x (- (* 1.0 1.0) (* x x))) (/ 1.0 (- (* 1.0 1.0) (* x x))))
0.1b
(* (+ x 1.0) (+ (/ x (- (* 1.0 1.0) (* x x))) (/ 1.0 (- (* 1.0 1.0) (* x x)))))
0.6b
(/ 1.0 (- (* 1.0 1.0) (* x x)))
12.4b
(/ x (- (* 1.0 1.0) (* x x)))

rewrite2.6s

Algorithm
rewrite-expression-head
Rules
17360×add-sqr-sqrt
10362×associate-/r*
8324×difference-of-squares
6084×frac-add
5184×*-un-lft-identity
3992×swap-sqr
3345×*-commutative unswap-sqr
3046×frac-times
1684×distribute-lft-out--
1528×flip3-+ flip-+
1523×associate-*r/
1364×associate-*l*
942×associate-/l*
710×add-cube-cbrt
634×times-frac
314×frac-2neg clear-num
221×distribute-lft-out
116×associate-*r*
12×associate-/r/
10×add-exp-log add-cbrt-cube
pow1 distribute-rgt-out flip3-- flip-- div-inv add-log-exp
+-commutative
cbrt-undiv distribute-rgt-in distribute-lft-in div-exp associate-*l/
pow-prod-down prod-exp sum-log cbrt-unprod
Counts
4 → 6650
Calls
4 calls:
446.0ms
(+ (/ x (- (* 1.0 1.0) (* x x))) (/ 1.0 (- (* 1.0 1.0) (* x x))))
775.0ms
(* (+ x 1.0) (+ (/ x (- (* 1.0 1.0) (* x x))) (/ 1.0 (- (* 1.0 1.0) (* x x)))))
23.0ms
(/ 1.0 (- (* 1.0 1.0) (* x x)))
23.0ms
(/ x (- (* 1.0 1.0) (* x x)))

series245.0ms

Counts
4 → 12
Calls
4 calls:
59.0ms
(+ (/ x (- (* 1.0 1.0) (* x x))) (/ 1.0 (- (* 1.0 1.0) (* x x))))
75.0ms
(* (+ x 1.0) (+ (/ x (- (* 1.0 1.0) (* x x))) (/ 1.0 (- (* 1.0 1.0) (* x x)))))
45.0ms
(/ 1.0 (- (* 1.0 1.0) (* x x)))
66.0ms
(/ x (- (* 1.0 1.0) (* x x)))

simplify1.7s

Algorithm
egg-herbie
Counts
6662 → 6662
Iterations

Useful iterations: 0 (40.0ms)

IterNodesCost
05001134625

prune2.7s

Filtered
6662 candidates to 782 candidates (11.7%)
Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New666206662
Fresh000
Picked011
Done022
Total666236665

Merged error: 0b

Counts
6665 → 3

regimes24.0ms

Accuracy

0% (0.0b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
063
163

end0.0ms

sample217.0ms

Algorithm
intervals
Results
130.0ms8000×body80valid